@font-face {
	font-family: 'icomoon';
	src:url('/fonts/icomoon.eot?-pq1hwk');
	src:url('/fonts/icomoon.eot?#iefix-pq1hwk') format('embedded-opentype'),
		url('/fonts/icomoon.woff?-pq1hwk') format('woff'),
		url('/fonts/icomoon.ttf?-pq1hwk') format('truetype'),
		url('/fonts/icomoon.svg?-pq1hwk#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
	font-family: 'icomoon';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;

	/* Better Font Rendering =========== */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.icon-dice:before {
	content: "\e601";
}
.icon-evil:before {
	content: "\e600";
}
.icon-googleplus:before {
	content: "\e602";
        font-size: 1.8em;
}
.icon-twitter:before {
	content: "\e603";
        font-size: 1.8em;
}

@font-face {
        font-family: 'Oswald';font-style: normal;font-weight: 300;src: local('Oswald Light'), local('Oswald-Light'), url(http://themes.googleusercontent.com/static/fonts/oswald/v8/HqHm7BVC_nzzTui2lzQTDT8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
}


/** RESET AND CLEARFIX
================================================**/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
	color: #414141;
	font-family: "Helvetica", "Arial", sans-serif;
	background: #FFFFFF;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

/** TYPOGRAPHY
================================================**/

a {
	color: #5280dd;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

em {
	font-style: italic;
}

strong {
	font-weight: bold;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
}

h1 {
	font-size: 1.6em;
}

h2 {
	font-size: 1.575em;
	margin-bottom: 35px;
}

h3 {
	font-size: 1.175em;
	margin-bottom: 10px;
}

p {
	font-size: .875em;
	line-height: 1.35em;
	color: #555;
	margin-bottom: 8px;
}

p.intro {
	font-size: 1.125em;
	margin-bottom: 35px;
}

pre {
	margin: 15px 0;
	overflow: auto;
	word-wrap: normal!important;
}

code {
	/*width: 1000px;*/
}

hr {
	border: 0;
	border-top: solid #ddd 1px;
	margin: 40px 0;
}

/** LAYOUT
================================================**/

#main {
	padding: 15px 0;
}

.inner {
	width: 1050px;
	position: relative;
	margin: 0 auto;
}

#primary {
	margin: 0;
	position: relative;
        float: left;
        width: 730px;
}

#primary .fad-top-leaderboard-rd {
        margin-bottom: 5px;
}

#primary .bottom_ad {
        margin-top: 5px;
}

aside {
	width: 290px;
	float: right;
}

footer {
	width: 1050px;
	position: relative;
	margin: 0 auto;
	margin-bottom: 30px;
}

/** SIDEBAR
================================================**/

aside .block {
	padding: 8px 0 8px 0;
}

aside .block-advert {
	padding-top: 5px;
        padding-bottom: 12px;
}

aside .block-buttons {
	padding-bottom: 15px;
}

aside .btn {
	display: block;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	-moz-box-shadow: 0 5px 0 #9f9f9f;
	-webkit-box-shadow: 0 5px 0 #9f9f9f;
	box-shadow: 0 5px 0 #9f9f9f;
	background: #d8d8d8;
	color: #414141;
	padding: 5px 10px 3px;
	font-weight: bold;
	font-size: 1.2em;
	position: relative;
        width: 80%;
}

aside .btn span {
	font-weight: normal;
	position: relative;
	top: 2px;
	padding-right: 4px;
}


aside .btn:hover {
	color: #5280dd;
	text-decoration: none;
}

aside .btn:hover span {
	color: #414141;
}

aside .btn:active {
	top: 5px;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}

aside h4 {
	font-size: 1.375em;
	line-height: 1.25em;
	margin-bottom: 8px;
}

aside .block p {
	font-size: 1em;
	line-height: 1.25em;
}

aside input[type="text"] {
	border: solid #c2c2c2 1px;
	padding: 3px 5px;
	display: block;
	width: 93%;
	margin-bottom: 10px;
}

aside label {
	font-size: .875em;
	margin-bottom: 3px;
	display: block;
}

aside input[type="submit"] {
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	background: #5280dd;
	color: #fff;
	padding: 4px 10px;
	border: none;
	font-size: .875em;
	cursor: pointer;
	-webkit-appearance: none;
}

aside input[type="submit"]:hover {
	background: #72cb76;
}

aside .block-signup .error {
	display: none;
	color: red;
	font-size: .875em;
	margin-bottom: 10px;
}

aside .line {
	border-bottom: solid #c2c2c2 1px;
        margin-bottom: 10px;
}


/** HEADER
================================================**/

header {
	background: #FFFFFF;
	border-bottom: solid 3px #c3c3c3;
}

.social_top {
        position: absolute; 
        top: 55px;
        right: 0px;  
}

.social_top_large {
        position: absolute; 
        top: 45px;
        right: 0px;  
}

nav {
        clear: both;
        background-color: #000000;
        padding: 1.2%;
}

nav a {
	font-size: 1.4em;
	font-weight: normal;
	padding: 0 10px;
	color: yellow;
        white-space: nowrap;
}

nav a.active,
nav a:hover {
	color: #de3329;
	text-decoration: none;
}

header .btn {
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	-moz-box-shadow: 0 5px 0 #365491;
	-webkit-box-shadow: 0 5px 0 #365491;
	box-shadow: 0 5px 0 #365491;
	background: #5280dd;
	color: #fff;
	padding: 5px 14px 3px;
	font-weight: bold;
	font-size: 1.1em;
	position: relative;
}

header .btn:hover {
	background: #72cb76;
	-moz-box-shadow: 0 5px 0 #549557;
	-webkit-box-shadow: 0 5px 0 #549557;
	box-shadow: 0 5px 0 #549557;
	text-decoration: none;
}

header .btn:active {
	top: 5px;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}

/** POLL
================================================**/

#poll-container {
        width: 100%;
        font-size: 1.0em;
}

#poll-container .small_header {
        padding-bottom: 5px;
        font-size: 1.1em;
        font-weight: bold;
}

#poll-container .poll_box {
        width: 280px;
        border: 2px solid #ccc;
        border-radius: 8px;
        margin-top: 5px;
        padding: 3% 0 3% 3%;
        background-color: #ededed;
}

#poll-container .poll_box label {
        display: inline;
}

#poll-container .graph {  
        width: 270px;  
        position: relative;  
        right: 5px;  
} 

#poll-container .bar-title {  
        position: relative;  
        float: left;  
        width: 125px;  
        line-height: 20px;  
        margin-right: 2px;  
        font-weight: bold;  
        text-align: right;  
    }
  
#poll-container .bar-container {  
        position: relative;  
        float: left;  
        width: 110px;
        height: 10px;  
        margin: 0px 0px 15px;  
}  

#poll-container .bar-container div {  
        background-color:#cc4400;  
        height: 20px;
}  

#poll-container .bar-container strong {  
        position: absolute;  
        right: -32px;  
        top: 0px;  
        overflow: hidden;  
} 

#poll-results {
        font-size: 12px;
        width: 270px;
        border: 2px solid #ccc;
        border-radius: 8px;
        margin-top: 15px;
        padding: 15px;
        padding-right: 0;
}
 
#poll-results p{  
        text-align: center; 
}  

/** RESPONSIVE BREAKPOINTS
================================================**/

@media(max-width: 1070px){
        body {

        }

	.inner {
                width: 90%;
	}

	aside {
               width: 35%;
	}

	#primary {
		padding: 0 2%;
                width: 60%
	}

	header .logo {
		padding-left: 20px;
	}

	header .download {
		right: 20px;
	}

	header nav {
		right: 170px;
	}

        #poll-container .poll_box {
                width: 97%;
                font-size: 0.965em;
        }

        #poll-container .small_header {
                font-size: 1.0em;
        }

        #poll-results {
                width: 98%;
        }

        #poll-container .bar-container {  
                width: 30%;
        }

	footer {
		width: auto;
		float: none;
		padding-left: 20px;
	}

	footer {
		margin-bottom: 30px;
	}

}

@media(max-width: 768px){

	#main {
		padding-top: 20px;
	}

	#primary {
                float: none;
                width: 95%;
	}

        .inner {
                width: 99%;
        }

	header .logo {
		margin: 0 auto;
		float: none;
		text-align: center;
		padding: 0;
	}

	header .logo img {
		width: 45%;
	}

	header nav {
		position: static;
		text-align: center;
	}

	header .download {
		position: static;
		text-align: center;
		margin: 25px 0;
	}

        #social_top {
                top: 64%;
                right: 5px;  
        }

        #poll-container .poll_box {
                width: 80%;
                font-size: 1.0em;
        }

        #poll-results {
                width: 75%;
        }

	aside {
		float: none;
		width: 70%;
		padding: 0 20px;
	}

        aside .btn {
                width: 55%;
        }
}

@media(max-width: 500px){

	#main {
		padding-top: 10px;
	}

	header .logo img {
		width: 80%;
	}

        #social_top {
                top: 5%;
                left: 5px;  
        }

	nav a {
		padding: 0 5px;
                font-size: 1.05em;
                line-height: 1.5em;
                background-color: #4c4c4c;
	}

        #poll-container .poll_box {
                width: 100%;
        }

        #poll-results {
                width: 100%;
        }

	aside {
		font-size: 90%;
                width: 80%;
	}

        aside .btn {
                width: 70%;
        }

	footer {
		font-size: 85%;
	}

}

@media(max-width: 400px){

	h1 {
		font-size: 2.5em;
	}

	#primary {
		font-size: 100%;
	}

}
/* end of common styles */

/* beginning of specific game styling */

#content {
        position: relative;
        padding: 2%;
        padding-top: 0;
        width: 100%;
}

#content h1 {
        margin-top: 8px;
        margin-bottom: 15px;
        padding: 0;
}

#content .txt {
        line-height: 1.2em;
}

#help {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 140px;
    right: 45px;
    background-image: url(/images/games/icons.png);
    background-position: 2px 2px;
    background-repeat: no-repeat;
    cursor: pointer;
}

#helptext {
    display: none;
    border: #CCC solid 10px;
    border-radius: 8px;
    width: 260px;
    padding: 10px;
    position: absolute;
    top: 20px;
    background-color: #fff;
    z-index: 30;
}

#helptext h2 {
    margin-top: 0;
}

#helptext p {
    margin-bottom: 0;
    font-size: 14px;
}

#close {
    position: absolute;
    width: 40px;
    height: 40px;
    top: -20px;
    right: -20px;
    z-index: 10;
    background-image: url(/images/games/icons.png);
    background-position: -48px 2px;
    background-repeat: no-repeat;
    cursor: pointer;
}

#mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 20;
}

#game {
        border-radius: 10px;
        border: 1px solid #666;
        position: relative;
        background: #cccccc url(/images/games/hogwarts_tr.jpg);
        width: 553px;
        height: 553px;
        margin: 0 auto;
        padding: 3px 0 0 4px;
        font-size: 1.1em;
        font-weight: bold;
	display: -webkit-box;
	-webkit-box-pack: center;
	-webkit-box-align: center;	
	display: -moz-box;
	-moz-box-pack: center;
	-moz-box-align: center;	
	display: -o-box;
	-o-box-pack: center;
	-o-box-align: center;	
	display: -ms-box;
	-ms-box-pack: center;
	-ms-box-align: center;	
}

#game .timer {
        position: absolute;
        top: -20px;
        left: 3px;
        font-size: 13px;
        font-weight: normal
}

#game .score {
        position: absolute;
        top: -20px;
        left: 475px;
        font-size: 13px;
        font-weight: normal
}

#cards {
        position: relative;
        width: 540px;
        height: 540px;
}

.card {
        perspective: 600;
        -webkit-perspective: 600;
        -moz-perspective: 600;
        -o-perspective: 600;
        -ms-perspective: 600;
        width: 83px;
        height: 83px;
        position: absolute;
        transition: all .3s;
        -moz-transition: all .3s;
        -webkit-tansition: all .3s;
        -o-tansition: all .3s;
        -ms-tansition: all .3s;
}

.face {
        border-radius: 10px;
        width: 100%;
        height: 100%;
        position: absolute;
	transition-property: opacity, transform, box-shadow;
	transition-duration: .3s;
	-moz-transition-property: opacity, -moz-transform, -moz-box-shadow;
	-moz-transition-duration: .3s;
	-webkit-transition-property: opacity, -webkit-transform, -webkit-box-shadow;
	-webkit-transition-duration: .3s;
	-o-transition-property: opacity, -webkit-transform, -webkit-box-shadow;
	-o-transition-duration: .3s;
	-ms-transition-property: opacity, -webkit-transform, -webkit-box-shadow;
	-ms-transition-duration: .3s;	
	backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	-o-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
}

.front {
        background: #999 url(/images/games/harry-potter-sprite.png) -1620px 0;
        z-index: 10;
}

.back {
	background: #efefef url(/images/games/harry-potter-sprite.png);
	transform: rotate3d(0,1,0,-180deg);		
	-moz-transform: rotate3d(0,1,0,-180deg);
	-webkit-transform: rotate3d(0,1,0,-180deg);
	-o-transform: rotate3d(0,1,0,-180deg);
	-ms-transform: rotate3d(0,1,0,-180deg);
	z-index: 8;
}

.card:hover .face, .card-flipped .face {
	box-shadow: 0 0 10px #aaa;
        -webkit-box-shadow: 0 0 10px #aaa;
        -moz-box-shadow: 0 0 10px #aaa;
        -o-box-shadow: 0 0 10px #aaa;
        -ms-box-shadow: 0 0 10px #aaa;
}

.card-flipped .front {
	transform: rotate3d(0,1,0,180deg);
	-moz-transform: rotate3d(0,1,0,180deg);
	-webkit-transform: rotate3d(0,1,0,180deg);
	-o-transform: rotate3d(0,1,0,180deg);
	-ms-transform: rotate3d(0,1,0,180deg);
	z-index: 8;
}

.card-flipped .back {
	-moz-transform: rotate3d(0,1,0,0deg);
	-webkit-transform: rotate3d(0,1,0,0deg);
        -o-transform: rotate3d(0,1,0,0deg);
        -ms-transform: rotate3d(0,1,0,0deg);
	transform: rotate3d(0,1,0,0deg);
	
	/* ensure the back face is on top of the front face */		
	z-index: 10;
}

.card-removed {
        transition-duration: 1s;
        -ms-transition-duration: 1s;
        -moz-transition-duration: 1s;
        -webkit-transition-duration: 1s;
        -o-transition-duration: 1s;
        -moz-transform: rotate3d(0,0,1,-90deg) translate3d(50px,550px,0) scale3d(0.5, 0.5, 1);
        -webkit-transform: rotate3d(0,0,1,-90deg) translate3d(150px,150px,0) scale3d(1.5, 1.5, 1);
        -o-transform: rotate3d(0,0,1,-90deg) translate3d(150px,150px,0) scale3d(1.5, 1.5, 1);
        -ms-transform: rotate3d(0,0,1,-90deg) translate3d(150px,150px,0) scale3d(1.5, 1.5, 1);
        opacity: 0;
}

.sprite-bellatrix{ background-position: 0 0; width: 83px; height: 83px; } 
.sprite-black{ background-position: -90px 0; width: 83px; height: 83px; } 
.sprite-dobby{ background-position: -180px 0; width: 83px; height: 83px; } 
.sprite-draco{ background-position: -270px 0; width: 83px; height: 83px; } 
.sprite-dumbledore{ background-position: -360px 0; width: 83px; height: 83px; } 
.sprite-ginny{ background-position: -450px 0; width: 83px; height: 83px; } 
.sprite-hagrid{ background-position: -540px 0; width: 83px; height: 83px; } 
.sprite-harry{ background-position: -630px 0; width: 83px; height: 83px; } 
.sprite-hedwig{ background-position: -720px 0; width: 82px; height: 83px; } 
.sprite-hermione{ background-position: -809px 0; width: 83px; height: 83px; } 
.sprite-lucius_malfoy{ background-position: -899px 0; width: 83px; height: 83px; } 
.sprite-luna{ background-position: -989px 0; width: 83px; height: 83px; } 
.sprite-mcgonagall{ background-position: -1079px 0; width: 83px; height: 83px; } 
.sprite-moony{ background-position: -1169px 0; width: 83px; height: 83px; } 
.sprite-peter-pettigrew{ background-position: -1259px 0; width: 83px; height: 83px; } 
.sprite-ron{ background-position: -1349px 0; width: 83px; height: 83px; } 
.sprite-snape{ background-position: -1439px 0; width: 83px; height: 83px; } 
.sprite-voldemort{ background-position: -1529px 0; width: 83px; height: 83px; } 
.sprite-zlogo_backside{ background-position: -1619px 0; width: 83px; height: 83px; } 


/* Styles for game over popup */
#popup {
	font-family: 'Orbitron', serif;
	font-size: 26px;
	font-weight: 700;	  
	text-shadow: 0px 1px 2px #fff;
	
	color: #222;
	
	position: absolute;	  
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	
	background: rgba(0,0,0,.5);
	
	display: -webkit-box;
	-webkit-box-pack: center;
	-webkit-box-align: center;
	display: -moz-box;
	-moz-box-pack: center;
	-moz-box-align: center;	
	display: -o-box;			
	-o-box-pack: center;
	-o-box-align: center;
	display: -ms-box;		
	-ms-box-pack: center;
	-ms-box-align: center;	

	-webkit-transition: all .5s ease-in;
	-moz-transition: all .5s ease-in;
	-o-transition: all .5s ease-in;
	-ms-transition: all .5s ease-in;
}

#popup h1 {
	font-weight: 400;
        margin: 8px 0 12px 0;
}

#popup-box {
	width: 400px;
	height: 330px;
	background: #ccc;
        position: relative;
	top: 30px;
	/*left: 90px;*/
        text-align: center;
	
	border-radius: 10px;

	display: -webkit-box;
	-webkit-box-pack: center;
	-webkit-box-align: center;
	display: -moz-box;
	-moz-box-pack: center;
	-moz-box-align: center;	
	display: -o-box;			
	-o-box-pack: center;
	-o-box-align: center;
	display: -ms-box;		
	-ms-box-pack: center;
	-ms-box-align: center;	
	
	-webkit-box-shadow: 0 5px 5px #333;
	-moz-box-shadow: 0 5px 5px #333;
	-o-box-shadow: 0 5px 5px #333;
	-ms-box-shadow: 0 5px 5px #333;
}

#popup-box .score {
	padding-top: 12px;
        padding-bottom: 12px;
}

#popup-box p {
        font-size: .6em;
        margin: 3px 0 3px 0;
        padding: 0;

}

#popup-box .button {
        margin-top: 10px;
        font-size: 16px;
        padding: 3px;
        cursor: hand; 
        cursor: pointer;
}

#popup-box .small {
        padding-top: 15px;
        font-size: .6em;
}

/**
 * Styles to hide the popup box
 */
#popup.hide {
	background: rgba(0,0,0,0);
	visibility: hidden;		
}
#popup.hide #popup-box{
	margin-top: -800px;
}

.ribbon.hide {
        display: none;
}

.ribbon {
        position: absolute;
        left: -7px;
        top: 150px;
        z-index: 0;
        font-size: .5em;
        text-transform: uppercase;
        text-align: right;
}

.ribbon-body {
        height: 14px;
        background: #CA3d33;
        padding: 6px;
        z-index: 100;
        -webkit-box-shadow: 2px 2px 0 rgba(150,120,70,.4);
        -moz-box-shadow: 2px 2px 0 rgba(150,120,70,.4);
        -o-box-shadow: 2px 2px 0 rgba(150,120,70,.4);
        -ms-box-shadow: 2px 2px 0 rgba(150,120,70,.4);
        border-radius: 0 5px 5px 0;
        color: #FFFFFF;
        text-shadow: 0px 1px 1px rgba(0,0,0,.3);
}

.triangle {
        position: relative;
        height: 0px;
        width: 0;
        left: -5px;
        top: -32px;
        border-style: solid;
        border-width: 6px;
        border-color: transparent #882011 transparent transparent;
        z-index: -1;
}

#content .link {
        font-family: 'Orbitron', serif;
	font-size: 18px;
	font-weight: 500;	
}

@media(max-width: 1070px){

	#primary {
                float: none;
                width: 95%;
	}

        .inner {
                width: 99%;
        }

	aside {
		float: none;
		width: 70%;
		padding: 0 20px;
	}

        aside .btn {
                width: 55%;
        }
}


@media(max-width: 600px){

        #content {
                padding-left: 0;
        }

        #content h1 {
                font-size: 1.3em;
        }

	#game {
		width: 95%;
		height: 95%;
	}

	#cards {
		position: relative;
                width: 380px; 
                height: 380px;      

	}

	.card {
		width: 15%;
		height: 15%;
		position: absolute;
	}

	.front {
		background: #999 url(/images/games/harry-potter-sprite-sm.png) -1140px 0;
                width: 100%; height: 100%;
	}

	.back {
		background: #efefef url(/images/games/harry-potter-sprite-sm.png);
	}

	.sprite-bellatrix{ background-position: 0 0; width: 58px; height: 58px; } 
	.sprite-black{ background-position: -64px 0; width: 58px; height: 58px; } 
	.sprite-dobby{ background-position: -127px 0; width: 58px; height: 58px; } 
	.sprite-draco{ background-position: -190px 0; width: 58px; height: 58px; } 
	.sprite-dumbledore{ background-position: -254px 0; width: 58px; height: 58px; } 
	.sprite-ginny{ background-position: -318px 0; width: 58px; height: 58px; } 
	.sprite-hagrid{ background-position: -382px 0; width: 58px; height: 58px; } 
	.sprite-harry{ background-position: -444px 0; width: 58px; height: 58px; } 
	.sprite-hedwig{ background-position: -508px 0; width: 58px; height: 58px; } 
	.sprite-hermione{ background-position: -570px 0; width: 58px; height: 58px; } 
	.sprite-lucius_malfoy{ background-position: -634px 0; width: 58px; height: 58px; } 
	.sprite-luna{ background-position: -698px 0; width: 58px; height: 58px; } 
	.sprite-mcgonagall{ background-position: -761px 0; width: 58px; height: 58px; } 
	.sprite-moony{ background-position: -824px 0; width: 58px; height: 58px; } 
	.sprite-peter-pettigrew{ background-position: -886px 0; width: 58px; height: 58px; } 
	.sprite-ron{ background-position: -952px 0; width: 58px; height: 58px; } 
	.sprite-snape{ background-position: -1014px 0; width: 58px; height: 58px; } 
	.sprite-voldemort{ background-position: -1078px 0; width: 58px; height: 58px; } 
	.sprite-zlogo_backside{ background-position: -1152px 0; width: 58px; height: 58px; } 


	#help {
	    width: 40px;
	    height: 40px;
	    top: 136px;
	    right: 45px;
	}

	#helptext {
            right: 45px;
	}

	#popup {
		font-size: 1.8em;
        }

	#popup-box {
		width: 55%;
		height: 45%;
		right: 10%;
	}


}

@media(max-width: 500px) {
	#help {
	        top: 140px;
	}

	#game {
		width: 100%;
		height: 100%;
	} 

	.front {
                margin-left: 5px;
	}

	.back {
		margin-left: 5px;
	}
}

@media(max-width: 400px) {

	.front {
                margin-left: 0px;
	}

	.back {
		margin-left: 0px;
	}
}

