html, body, h1, h2, h3, h4, h5, div, p, input, label{
	margin: 0;
	padding: 0;
}

img{
border: 0;
}

body{
background-color: #ffffff;
min-width: 1200px;
position: relative;
}

.right-arrow, .left-arrow{
width: 23px;
height: 40px;
cursor: pointer; //Pointer edit, 29/06/2014
}

.js-tower-icon{
	cursor: pointer; //Pointer edit, 29/06/2014
}

.right-arrow{
float: right;
background: url('/Design/images/right-arrow.png') center center no-repeat;
margin-right: 20px;
}

.left-arrow{
float: left;
background: url('/Design/images/left-arrow.png') center center no-repeat;
margin-left: 28px;
}

.index-line{
width: 550px;
height: 1px;
margin: 0 auto;
background-color: #ffffff;
opacity: 0.3;
}

.clearfix{
clear: both;
height: 0px;
overflow: hidden;
}

/*****HEADER*****/

.header-bg{
position: relative;
width: 100%;
min-width: 1200px;
height: 116px;
background-color: #fbba00;
z-index: 10;
}

.header-shadow{
position: absolute;
left: 0;
top: 116px;
width: 100%;
height: 13px;
background: url('/Design/images/header-shadow.png') repeat-x;
z-index: 10;
}

.header-menu{
position: relative;
width: 1200px;
height: 116px;
margin: 0 auto;
text-align: center;
}

.polaroid-logo{
display: block;
float: left;
position: absolute;
left: 22px;
top: 34px;
width: 168px;
height: 48px;
}

.header-menu-a{
display: block;
float: left;
position: absolute;
top: 45px;
font-family: AkzidenzGroteskProBold;
font-size: 12px;
text-decoration: none;
font-weight: bold;
color: black;
}

.header-menu-hover{
position: absolute;
left: 513px;
top: 0;
width: 197px;
height: 127px;
background: url('/Design/images/header-icon.png');
background-position: top center;
background-repeat: no-repeat;
background-color: #fbba00;
/*border*/
border: 2px #d9a006;
border-style: none dashed;
/*shadow*/
box-shadow: 0 1px 1px rgba(239,206,108,0.8);
-moz-box-shadow: 0 1px 1px rgba(239,206,108,0.8);
-webkit-box-shadow: 0 1px 1px rgba(239,206,108,0.8);
filter: progid:DXImageTransform.Microsoft.shadow(direction=180, color=#e5cc8e, strength=1); /*IE*/
z-index: 20;
}

.header-menu-tm{
position: absolute;
left: 1045px;
top: 0;
width: 124px;
height: 127px;
background-color: #fbba00;
/*border*/
border: 1px #f0b200;
border-style: none solid;
/*shadow*/
box-shadow: 0 1px 1px rgba(239,206,108,0.8);
-moz-box-shadow: 0 1px 1px rgba(239,206,108,0.8);
-webkit-box-shadow: 0 1px 1px rgba(239,206,108,0.8);
filter: progid:DXImageTransform.Microsoft.shadow(direction=180, color=#e5cc8e, strength=1); /*IE*/
z-index: 20;
}

.header-menu-tm-wrapper{
position: relative;
width:100%px;
height: 96px;
background: url('/Design/images/header-line.png') bottom center no-repeat;
}

.header-menu-share{
position: relative;
background: url('/Design/images/share-all.png') top center no-repeat;
height: 31px;
margin: 0 auto;
}

.tm-logo{
display: block;
position: absolute;
left: 16px;
top: 27px;
width: 94px;
height: 60px;
}

.header-menu-share-a{
position: absolute;
top: 0;
display: block;
float: left;
height: 31px;
}

/***** for contest pages *****/

.header-submenu{
position: absolute;
left: 35px;
top: 116px;
width: 240px;
height: 75px;
}

.header-submenu-a{
display: block;
position: relative;
float: left;
height: 70px;
background-color: #fbba00;
margin-right: 3px;
/*shadow*/
box-shadow: 0 1px 1px rgba(239,206,108,0.8);
-moz-box-shadow: 0 1px 1px rgba(239,206,108,0.8);
-webkit-box-shadow: 0 1px 1px rgba(239,206,108,0.8);
filter: progid:DXImageTransform.Microsoft.shadow(direction=180, color=#e5cc8e, strength=1); /*IE*/
}

.submenu-icon{
margin-top: 9px;
}

.header-submenu-text{
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 34px;
background: url('/Design/images/header-line.png') top center no-repeat;
font-family:AkzidenzGroteskProBold; 
font-size: 10px;
text-decoration: none;
font-weight: bold;
color: #ffffff;
}

.header-submenu-text span{
margin: 3px 0;
text-decoration: none;
}

/***** INDEX 1 WELCOME *****/

.welcome{
position: relative;
width: 100%;
min-width: 1200px;
background-color: #ffffff;
}

.welcome-bg{
width: 100%;
min-width: 1200px;
height: 260px;
background: url('/Design/images/welcome-bg1.jpg') no-repeat;
/*background-size: 100% 100%;*/
background-size: cover;
-ms-behavior: url(/Design/ie8meh/backgroundsize.min.htc);
background-position: center;
text-align: center;
/*shadow*/
/* box-shadow: 0 10px 10px rgba(238,238,238,0.8);
-moz-box-shadow: 0 10px 10px rgba(238,238,238,0.8);
-webkit-box-shadow: 0 10px 10px rgba(238,238,238,0.8);
filter: progid:DXImageTransform.Microsoft.shadow(direction=180, color=#eeeceb, strength=10); /*IE*/ 

/*position: relative;*/
}

.welcome-shadow{
width: 100%;
height: 19px;
background: url('/Design/images/welcome-shadow.png') repeat-x;
z-index: 10;
}

.welcome-bg .bg-fix{
/*position: absolute;
height: 260px;
width: 1599px;
left: 50%;
margin-left: -800px;
background: url('/Design/images/bg1.jpg') no-repeat;*/
}

.welcome-h1{
font-family: ArialBold;
font-size: 25px;
font-weight: bold;
color: #594314;
margin: 16px 0;
}

.welcome-h2{
font-family: ArialNarrowItalic;
font-size: 20px;
color: #594314;
margin: 15px 0 20px 0;
}

/* .welcome-line{
width: 100%;
min-width: 1200px;
height: 1px;
background: url('/Design/images/welcome-line.png') center center no-repeat;
} */

/* .welcome-line{
/* display: inline-block;
*display: inline:
*zoom: 1;  
margin: 0 auto;
width: 550px;
height: 1px;
background-color: #634810;
opacity: 0.2;
}  */



/***** INDEX 1 WELCOME MENU*****/
.welcome-menu{
width: 1200px;
height: 200px;
margin: 212px auto 40px auto;
}

.welcome-menu-item{
float: left;
width: 300px;
text-align: center;
height: 200px;
display: block;
text-decoration: none;
}

.welcome-menu-icon{
margin-bottom: 18px;
}

.welcome-menu-h3{
font-family: AkzidenzGroteskProBold;
font-size: 16px;
font-weight: bold;
color: black;
}

.welcome-menu-line{
/* display: inline-block;
*display: inline:
*zoom: 1;  */
margin: 0 auto;
width: 175px;
height: 1px;
background-color: #e9e9e9;
}

.welcome-menu-text{
font-family: ArialRegular;
font-size: 14px;
color: black;
margin-top: 9px;
}

/***** INDEX 2 VIEWS*****/
.views{
position: relative;
width: 100%;
min-width: 1200px;
text-transform:uppercase;
}

.views-bg{
width: 100%;
min-width: 1200px;
height: 425px;
background-color: #0faae3;
}

.views-wrapper{
width: 1200px;
height: 425px;
margin: 0 auto;
text-align: center;
color: #ffffff;
}

.views-h1{
font-family: ArialBold;
font-size: 25px;
font-weight: bold;
margin: 30px 0 23px 0;
}

.views-text{
margin: 26px auto 0 auto;
width: 1054px;
font-family: ArialNarrowItalic;
font-size: 20px;
}

.views-shadow{
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 16px;
background: url('/Design/images/views-shadow.png') repeat-x;
z-index: 10;
}

/***** INDEX 3 TOWER*****/

.tower{
width: 100%;
min-width: 1200px;
height: 685px;
}

.tower-bg{
position: relative;
width: 100%;
min-width: 1200px;
background: url('/Design/images/tower-bg.jpg') no-repeat;
background-size: cover;
-ms-behavior: url(/Design/ie8meh/backgroundsize.min.htc);
background-position: center;
height: 685px;
overflow: hidden;
}

.tower-wrapper{
width: 1200px;
height: 685px;
margin: 0 auto;
text-align: center;
color: #ffffff;

z-index: 10;
position: absolute;
left: 50%;
margin-left: -600px;
}

.tower-wrapper-bg, .tower-wrapper-bg-inner{
position: absolute;
width: 101%; /*There's a very little tiny bug with 100% */
height: 100%;
left: 0;
background-size: cover;
-ms-behavior: url(/Design/ie8meh/backgroundsize.min.htc);
background-position: center;
}

.tower-wrapper-bg-inner{
width: 100%; /*Works against debug above*/
display: none;
}

.tower-textbg{
background-image: url('/Design/images/black.png');
}

.tower-h1{
font-family: AkzidenzGroteskProBold;
font-size: 25px;
font-weight: bold;
padding: 205px 0 30px 0;
}

.tower-text{
margin: 23px auto 32px auto;
width: 1054px;
font-family: ArialNarrowItalic;
font-size: 20px;
}

.tower-mail{
font-family: ArialNarrowRegular;
font-size: 16px;
font-weight: normal;
color: #00ace4;
}

.tower-mail a{
font-family: ArialNarrowRegular;
font-size: 16px;
font-weight: normal;
color: #00ace4;
text-decoration: none;
}

.tower-text a, .tower-smalltext a{
color: #00ace4;
text-decoration: none;
}

.tower-smalltext{
font-family: ArialNarrowRegular;
font-size: 14px;
font-weight: normal;
margin-bottom: 20px;
}

/***** INDEX 4 CONTEST*****/

.contest{
width: 100%;
min-width: 1200px;
}

.contest-bg1{
width: 100%;
height: 385px;
background-color: #e65097;
}

.contest-shadow{
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 16px;
background: url('/Design/images/contest-shadow.png') repeat-x;
z-index: 10;
}

.contest-bg2{
position: relative;
width: 100%;
height: 335px;
background-color: #c2d20e;
}

.contest-wrapper{
width: 1200px;
/* height: 385px; */
margin: 0 auto;
text-align: center;
color: #ffffff;
}

.contest-h1{
font-family: AkzidenzGroteskProBold; 
font-size: 25px;
font-weight: bold;
margin: 30px 0 28px 0;
}

.contest-text{
margin: 15px auto 94px auto;
font-family: ArialNarrowItalic;
font-size: 20px;
}

/***** INDEX 4 CONTEST MENU*****/

.contest-menu{
width: 1200px;
height: 190px;
padding-top: 23px; /*С margin плучается баг*/
margin-bottom: 25px;
}

.contest-menu-item{
float: left;
width: 225px;
text-align: center;
}

.contest-menu-img{ /*Исправляет то, что все картинки разные по размеру, не деформируя их*/
width: 62px;
height: 54px;
text-align: center;
margin: 0 auto;
}

.contest-menu-h3{
font-family: AkzidenzGroteskProBold;
font-size: 16px;
font-weight: bold;
color: black;
margin: 17px 0 9px 0;
}

.contest-menu-line{
margin: 0 auto;
width: 150px;
height: 1px;
background-color: #b1bc36;
}

.vertical-line{
float: left;
width: 1px;
height: 130px;
background: url('/Design/images/vertical-line.png') no-repeat;
margin: 37px 8px 0 8px;
}

.contest-menu-text{
font-family: ArialRegular;
font-size: 12px;
color: black;
margin-top: 14px;
}

.contest-button{
display: inline-block;
*display: inline;
*zoom: 1;
width: 335px;
height: 75px;
background-color: #0faae3;
margin: 0 auto 15px auto;
text-align: center;
text-decoration: none;
}

.contest-button-text{
font-family: ArialBold;
font-size: 18px;
font-weight: bold;
color: #ffffff;
padding-top: 29px; /*Опять баг с margin-top*/
}

/***** INDEX 5 LOOK*****/

.look{
width: 100%;
min-width: 1200px;
}

.look-bg{
width: 100%;
height: 448px;
background: url('/Design/images/look-bg.jpg') no-repeat;
background-size: cover;
-ms-behavior: url(/Design/ie8meh/backgroundsize.min.htc);
background-position: center;
}

.look-shadow{
/* position: absolute;
left: 0;
top: 0; */
width: 100%;
height: 14px;
background: url('/Design/images/look-shadow.png') repeat-x;
z-index: 10;
}

.look-wrapper{
width: 1200px;
height: 448px;
margin: 0 auto;
text-align: center;
color: #ffffff;
}

.look-h1{
font-family: AkzidenzGroteskProBold;
font-size: 28px;
font-weight: bold;
margin: 13px 0 20px 0;
}

.look-text{
margin: 15px 85px 0 65px;
font-family: ArialNarrowItalic;
font-size: 18px;
}

/***** INDEX 6 GLASSES  *****/

.glasses{
width: 100%;
min-width: 1200px;
}

.glasses-bg{
position: relative;
width: 100%;
background-color: #ffffff;
}

.glasses-wrapper{
position: relative;
width: 1200px;
height: 682px;
margin: 0 auto;
text-align: center;
}

.glasses-gallery{
margin-top: 33px;
}

.glasses-gallery-item{
display: block;
float: left;
width: 238px;
height: 139px;
border: 1px solid #ffffff;
}

.glasses-gallery-item:hover, .glasses-gallery-item.active{
border: 1px solid #e52312;
}

.glasses-h1{
font-family: ArialBold;
font-size: 35px;
font-weight: bold;
margin-top: 20px;
margin-bottom: 35px;
color: #ef3824;
text-transform: uppercase;
}

.glasses-property{
position: absolute;
width: 445px;
min-height:65px;
border: 4px solid #0e0f0d;
background-color: #ffffff;
}

.glasses-property-icon{
float: left;
margin: 7px 9px 7px 11px;
}

.glasses-property-text{
margin: 7px 0 7px 15px;
text-align: left;
font-family: ArialRegular;
font-size: 10px;
}

.glasses-point{
position: absolute;
width: 30px;
height: 30px;
background: url('/Design/images/point.png') no-repeat;
}

/****************** CONTEST 1 CURRENT USER*****************/

.current-user-bg{
width: 100%;
min-width: 1200px;
background-color: #ffffff;
}

.current-user-wrapper{
width: 1200px;
margin: 0 auto;
text-align: center;
}

.current-user-info{
width: 550px;
height: 23px;
margin: 48px auto 18px auto;
}

.current-user-name{
float: left;
font-family: ArialBold;
font-size: 26px;
font-weight: bold;
color: #bad538;
}

.current-user-likes{
float: right;
font-family: ArialBold;
font-size: 24px;
font-weight: bold;
color: #fdb913;
}

.current-user-likes-a{
margin: 0 8px;
}

.user-line{
width: 550px;
height: 1px;
margin: 0 auto;
background-color: #e2ddd2;
}

.current-user-img{
margin: 22px auto 40px auto;
/* border: 2px dashed #bad538; */
}

/***** Buttons *****/

.buttons{
margin: 0 auto 60px auto;
width: 475px;
height: 55px;
text-align: center;
}

.buttons-vote, .buttons-share{
width: 210px;
height: 55px;
background-color: #fbb915;
text-decoration: none;
}

.buttons-vote{
float: left;
margin-right: 5px;
}

.buttons-share{
width: 55px;
height: 55px;
margin: 0 5px;
float: left;
}
.buttons-share#tw{
background: url('/Design/images/share/tw.jpg');
}
.buttons-share#fb{
background: url('/Design/images/share/fb.jpg');
}
.buttons-share#vk{
background: url('/Design/images/share/vk.jpg');
}
.buttons-share#ok{
background: url('/Design/images/share/ok.jpg');
}

.buttons-text{
font-family: ArialBold;
font-size: 18px;
font-weight: bold;
color: #ffffff;
margin-top: 18px; /*Опять баг с margin-top*/
}

/****************** CONTEST 2 ALL USERS *****************/

.all-users-bg{
width: 100%;
min-width: 1200px;
background-color: #ffffff;
}

.all-users-wrapper{
width: 1200px;
margin: 0 auto;
text-align: center;
}

.all-users-h1{
font-family: AkzidenzGroteskProBold;
font-size: 26px;
font-weight: bold;
color: #bad538;
margin-top: 45px;
margin-bottom: 15px;
text-transform: uppercase;
}

.all-users-text{
font-family: ArialNarrowItalic;
font-size: 20px;
font-weight: bold;
color: #bad538;
margin-top: 15px;
margin-bottom: 40px;
text-transform: uppercase;
}

.all-users-list{
margin: 0 84px;
width: 1032;
}

.all-users-list-line{
width: 1032;
height: 360px;
margin-bottom: 50px;
}

.all-users-current{
margin: 0 43px;
float: left;
width: 258px;
height: 336px;
font-family: ArialBold;
color: #fdb913;
text-align: center;
}

.all-users-name{
font-size: 18px;
}

.all-users-current a{
    font-family: ArialBold;
    color: #FDB913;
    text-align: center;
    text-decoration: none;
}

.all-users-img{
width: 262px;
height: 164px;
margin: 22px 0;
overflow: hidden;
border: 1px dashed #bad538;
}

.all-users-like{
font-size: 24px;
margin: 0 auto 35px auto;
width: 258px;
}

.all-users-button{
margin: 0 auto;
display: block;
width: 208px;
height: 52px;
background-color: #fbb915;
text-decoration: none;
}

.all-users-buttons-text{
font-family: ArialBold;
font-size: 18px;
font-weight: bold;
color: #ffffff;
padding-top: 18px; 
text-transform:uppercase;
}

/****************** AUTHORIZATION *****************/

.authorization{
	position: relative;
	width: 410px;
	height: 182px;
	background-color: #0faae3;
	border: 1px solid #1b7191;
	text-align: center;
	color: #ffffff;
	margin: 200px auto 0;
}

.authorization-form{
position: relative;
width: 410px;

height: auto;
background-color: #0faae3;
border: 1px solid #1b7191;
text-align: center;
color: #ffffff;
}

.auth-close{
position: absolute;
left: 411px;
top: -40px;
width: 40px;
height: 40px;
background: url('/Design/images/close.png') no-repeat;
}

.auth-h1{
font-family: ArialBold;
font-size: 20px;
font-weight: bold;
margin-top: 14px; 
}

.auth-soc{
width: 314px;
height: 103px;
margin: 30px auto 0;
background: url('/Design/images/auth-soc.png') no-repeat;
}

.auth-soc-a{
display: block;
position: absolute;
top: 61px;
height: 103px;
text-decoration: none;
}

.auth-soc-text{
font-family: ArialBold;
font-size: 16px;
font-weight: bold;
color: #000000;
margin-top: 65px;
}

/****************** AUTHORIZATION FORM*****************/

.auth-email-container{
width: 360px;
margin: 18px auto 5px;
}

.auth-email-label{
margin-right: 10px;
font-family: ArialBold;
font-size: 14px;
font-weight: bold;
}

.auth-form-email{
width: 280px;
height: 18px;
border: 1px solid #ffffff;
background: none;
padding: 5px 7px;
color: #ffffff;
}

.auth-form-line{
width: 328px;
height: 22px;
text-align: left;
margin-left: 87px;
}

/* .auth-checkbox{
width: 17px;
height: 17px;
border: 1px solid #ffffff;
background-color: #ffffff;
} */

/* .auth-checkbox-free{
width: 17px;
height: 17px;
border: 1px solid #ffffff;
background: none;
} */

.auth-checkbox-label{
font-family: ArialRegular;
font-size: 12px;
}

.auth-form-button{
margin: 15px auto 10px;
width: 154px;
height: 46px;
background-color: #fbba00;
border: none;
font-family: ArialBold;
font-size: 16px;
font-weight: bold;
color: #ffffff;
outline: none;
}

#Pagination{
    font-family: AkzidenzGroteskProBold;
    font-size: 18px;
    font-weight: bold;
    color: #BAD538;
    margin-top: 45px;
    margin-bottom: 15px;
}

#Pagination a{
    font-family: AkzidenzGroteskProBold;
    font-size: 18px;
    font-weight: bold;
    color: #BAD538;
    margin-top: 45px;
    margin-bottom: 15px;
    text-decoration: underline;    
}

/* RULEZ POPUP */
.rules{
position: relative;
width: 600px;
height: 640px;
background-color: #ffffff;
border: 1px solid #bdb7a8;

}

.rules-close{
position: absolute;
right: -40px;
top: -40px;
width: 32px;
height: 32px;
background: url('/Design/images/rules-close.png') no-repeat;
cursor: pointer;
}

.rules-h1-container{
width: 100%;
text-align: center;
}

.rules-content{
width: 565px;
height: 535px;
margin: 0 20px 18px 15px;
position: relative;
}

.rules-content-text{
/* background-color: green; */
float: left;
/*width: 542px;*/
width: 560px;
height: 100%;
overflow-y: scroll;
}

.rules-content-h3, .rules-content h3{
font-family: AkzidenzGroteskProBold;
font-size: 14px;
font-weight: bold;
color: #b9d439;
margin: 20px 0;
}

.rules-content-info, .rules-content p{
font-family: ArialRegular;
font-size: 14px;
color: black;
}

.rules-content-arrows{
/*position: relative;*/
width: 23px;
height: 100%;
/*float: left;*/
position: absolute;
right: 0;
background: #FFFFFF;
}

.rules-bugfixer{
	position: absolute;
	height: 100%;
	background: #FFFFFF;
	width: 42px;
	top: 0;
	right: -16px;
}

.top-arrow{
position: absolute;
left: 0;
top: 0;
width: 23px;
height: 13px;
background: url('/Design/images/top-arrow.png') no-repeat;
cursor: pointer;
}

.bottom-arrow{
position: absolute;
left: 0;
bottom: 0;
width: 23px;
height: 13px;
background: url('/Design/images/bottom-arrow.png') no-repeat;
cursor: pointer;
}




/* INTRO GAME */

.introGameShadowTop{
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 25px;
	background: url('/Design/images/introGameShadowTop.jpg') repeat-x;
	z-index: 10;
}
.introGameShadowBottom{
	position: absolute;
	left: 0;
	bottom: -28px;
	width: 100%;
	height: 40px;
	background: url('/Design/images/introGameShadowBottom.jpg') repeat-x;
	z-index: 10;
}



/* WINNERS */
.winHolder{
	width:1080px;
	margin: 0px 84px 135px;
}
.winPlace{
	width: 285px;
	float: left;
	margin: 0px 35px 0px;
}
.winPlace h4{
	font-family: Arial;
	fontsize: 18px;
	text-transform: uppercase;
	color: #fdb828;
}
.winPlace .all-users-current{
	width: 285px;
	margin: 0px;
}
.winPlace .all-users-current .all-users-img{
	border: none;
	width: 285px;
	height: i68px;
}
.winPlace .all-users-current .all-users-img img{
	width: 285px;
	height: i68px;
}