*:focus{outline: none;}
.left{float:left;}
.right{float:right;}
.clear{clear:both;}
a img, iframe{border:none;}
header ul{margin:0;padding: 0;}
textarea{resize: vertical;}
table{border-spacing: 0px;}
button:focus{outline:0;}
a{text-decoration:none;}
html, body{margin:0 auto;}
body {
	display: block; 
	font-family: 'Open Sans', sans-serif;
	font-size:14px;
	font-weight:300;
	color:#62849e;
	background:url(../img/advent_calendar/images/background2020.png)no-repeat center top;
}
.wrap{	
	width:1000px;
	margin:0 auto;
}
header{
	height:393px;
}
#logo{
	display:block;
	width:326px;
	height:81px;
	margin:58px auto 0;
}
#logo + p{
	font-family: 'Roboto Slab', serif;
	font-size:36px;
	font-weight:700;
	color:#fab900;
	text-transform:uppercase;
	text-align:center;
	margin:45px 0 0;
}
#logo + p + p{
	width:500px;
	margin:20px auto 0;
	font-size:20px;
	font-weight:600;
	color:#e9f7ff;
	line-height:24px;
	text-align:center;
}
.hand{
	display:block;
	width:111px;
	height:111px;
	background:url(../img/advent_calendar/images/journey.png)no-repeat;
	margin:40px auto 0;
}
.flying-robot{
	position:absolute;
	right:calc(50% + 380px);
	width:205px;
	height:282px;
	background:url(../img/advent_calendar/images/robot2020.png)no-repeat center top;
	top:-235px;
	transform: translatey(0px);
	animation: float 2s ease-in-out infinite;
}
@keyframes float {
	0% {
		transform: translatey(0px);
	}
	50% {
		transform: translatey(-20px);
	}
	100% {
		transform: translatey(0px);
	}
}
.house{
	position:relative;
	display:block;
	width:100%;
	height:1958px;
	background:url(../img/advent_calendar/images/house2020.png)no-repeat center top;
	margin-top:50px;
}
.on-the-roof{
	width:435px;
	height:169px;
	margin:auto;
	padding-top: 117px;
}
.on-the-roof p{
	font-size:16px;
	color:#415d71;
}
.footer .terms{
	width:435px;
	height:auto;
	margin:auto;
	padding-bottom: 23px;
}
.footer .terms p{
	font-size:16px;
	color:#415d71;
}
.popup .button,
.on-the-roof .button{
	display:block;
	width:160px;
	height:43px;
	color:#fff;
	font-size:13px;
	font-weight:700;
	line-height:45px;
	background:#00bdf2;
	border-radius:20px;
	text-align:center;
	text-transform:uppercase;
	margin:20px auto 0;
}
.footer .terms .button{
	display:block;
	width:160px;
	height:43px;
	color:#fff;
	font-size:13px;
	font-weight:700;
	line-height:45px;
	background:#00bdf2;
	border-radius:20px;
	text-align:center;
	text-transform:uppercase;
	margin:20px auto 0;
}
.popup .button { margin: 5px 0; }
.popup .button:hover,
.on-the-roof .button:hover{background:#0fa7e4;}
.footer .terms .button:hover{background:#0fa7e4;}
.windows{
	width:864px;
	margin:0 auto;
	height:960px;
	margin-top:60px;
}
.windows > a{
	position:relative;
	float:left;
	width:132px;
	height:148px;
	margin:0 48px 51px 0;
	border:1px solid transparent;
}

.windows > a:nth-child(5n){margin-right:0;}
.windows > a:hover:before{
	position: absolute;
	top: 11px;
	left: 17px;
	width: 102px;
	height: 121px;
	content: '';
	background: rgba(255,255,255,0.1);
}
.windows > a span{
	position:absolute;
	top:28px;
	left:40px;
	font-family: 'Roboto Slab', serif;
	color:#fff;
	font-size:40px;
	font-weight:700;
	z-index:9;
}
.windows > a.closed span{color:#55556f;}
.windows > a.closed:after, .windows > a.loose:after, .windows > a.lucky:after{
	position:absolute;
	top:0;
	left:-1px;
	width:134px;
	height:150px;
	content:'';
}
.windows > a.closed{background:url(../img/advent_calendar/images/window-darck.png)no-repeat;}
.windows > a.loose{background:url(../img/advent_calendar/images/window-green.png)no-repeat;}
.windows > a.in_progress{background:url(../img/advent_calendar/images/in_progress.png)no-repeat;}
.windows > a.lucky{background:url(../img/advent_calendar/images/window-yellow.png)no-repeat;}
.windows > a.in_progress{background:url(../img/advent_calendar/images/in_progress.png)no-repeat;}
.windows > a.closed:not(.loose)/*, .windows > a.loose, .windows > a.yellow*/{pointer-events: none;}
.popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url(../img/advent_calendar/images/popup-bg.png)repeat;
	z-index: 9999;
}
.popup .inner{
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	width:625px;
	/*min-height:370px;
	height:max-content;*/
	height: 441px;
	background:#d6eaf8;
	padding: 0 30px 30px 50px;
	border-radius:13px;
	overflow:hidden;
}
.popup.win .inner{/*min-height:395px;*/height:450px;}
.popup-close {
	position: absolute;
	top: 30px;
	right: 30px;
	width: 20px;
	height: 20px;
	background: url(../img/advent_calendar/images/pop-close.png)repeat;
	cursor: pointer;
}
.popup .top {
	width: 100%;
	font-size: 18px;
	font-weight: 700;
	color: #00509f;
	background: #e7f5ff;
	padding: 0 30px 0 50px;
	margin: 0 0 25px -50px;
	height:135px;
}
.popup .top img{margin:38px 0 0 -20px;}
.popup p{width:380px;font-size:16px;color:#35546c;line-height:24px;text-align:inherit;margin:0;}
.popup .top + p{font-size:18px;font-weight:bold;color:#00509f;margin:0 0 15px;}
.popup .top + p + p + br + p{margin:0 0 0;}
.popup .top p:last-child{margin-bottom:0;}
.popup .top p strong{font-weight:600;}
.popup.win .inner:after{
	position:absolute;
	top:70px;
	right:30px;
	width:180px;
	height:243px;
	content:'';
	background: url(../img/advent_calendar/images/win-robot.png)repeat;
}
.popup.loose .inner:after{
	position:absolute;
	top:70px;
	right:105px;
	width:104px;
	height:283px;
	content:'';
	background: url(../img/advent_calendar/images/loose-robot.png)repeat;
}
.popup.robot_monet .inner:after{
	position:absolute;
	top:70px;
	right:30px;
	width:180px;
	height:243px;
	content:'';
	background: url(../img/advent_calendar/images/Christmas.svg) no-repeat;
	background-size: contain;
}
.popup #video  .ytp-chrome-bottom {
	opacity:1!important;
}
.footer{
	position:absolute;
	bottom:0;
	width:100%;
	text-align:center;
}
.footer img{margin-bottom:15px;}
.footer p{margin:10px 0;}
.logon{
	display:inline-block;
	width: 61px;
	height: 15px;
	background:url(../img/advent_calendar/images/logon.png)no-repeat center top;
	margin: 0 0 2px 5px;
	vertical-align: bottom;
}

/*************/

.light-bulbs{
	position:absolute;
	width: 967px;
	height:38px;
	left:0;
	right:0;
	margin: 7px auto 0;
	z-index:9;
	background:url(../img/advent_calendar/images/light-bulbs.png)no-repeat;
}
.light-bulbs.wiggle{background:url(../img/advent_calendar/images/light-bulbs-2.png)no-repeat;}


/*** responsive ***/

.amz_bann {margin-right: 10px;margin-top: 20px;}
.amz_bann + a {
	position: relative;
	top: 28px;
}
.popup.with_clock .inner {
height: 548px;
}
.popup .clock {
	min-height: 169px;
	background: #c9e3f5;
	padding: 40px 56px;
	margin-left: -52px;
	margin-right: -30px;
	margin-top: 23px;
}
.clock_svg {
	width:63px;
	margin-top: 26px;
}
#timer .countdown {
  font-weight: bold;
  display: inline-block;
  line-height: 1;
  padding: 9px 17px;
  color:#00bef2;
  font-size:42px;
  background: white;
  border-radius: 8px;
  margin-right: 5px;
  box-shadow: 0px 2px 4px 0 rgba(0, 0, 0, 0.15);
}
#timer .clock_title {
	font-size: 18px;
	font-weight: bold;
	color: #00509f;
	margin: 0 0 15px;
}
#timer > div {
	display: inline-block;
	margin-left: 22px;
}
#timer  span {
  display: block;
  font-size: 16px;
  font-weight: 300;
  color: #35546c;
  text-align: center;
   margin-bottom: 5px;
}

#timer_display { display: none; }

#timer {margin: 0 auto;display: table;}

@media(max-width:1200px){
.mobile .hand{display:none;}
.mobile .popup .inner{width: calc(70% - 60px);}
.mobile .popup p{width:60%;font-size:30px;line-height: 40px;}
.mobile .popup-close{
	width: 50px;
	height: 50px;
    background-repeat: no-repeat;
    background-position: center;
}
.mobile .popup.with_clock .inner {
height: 753px;
}
.mobile .popup .top + p{font-size:38px;}
.mobile #logo + p{font-size: 44px;}
.mobile #logo + p + p{width:800px;font-size: 32px;line-height: 40px;}
.mobile .on-the-roof{width:425px;padding-top:100px;}
.mobile .on-the-roof p{font-size: 18px; line-height: 24px;}
.mobile .on-the-roof .button{
	width: 180px;
	height: 53px;
	font-size: 20px;
	line-height: 55px;
	border-radius: 30px;
	margin-top:10px;
}
.mobile .footer p{font-size:30px;}
.mobile .light-bulbs{margin-top:20px;}
.mobile .logon{
	width:81px;
	height:20px;
	background-size:100% auto;
	vertical-align:middle;
}
.mobile .windows{margin-top:75px;}

}
.popup .button.no_width { 
	width: auto;
    display: table;
    text-transform: none;
    padding: 0 30px;
    font-size: 13px;
    font-family: 'Open Sans', sans-serif;

}
.languages{position: absolute;top: 10px;right: 0;z-index:99;}
.languages .selected:after
{background:url(../img/images/sprite.png)no-repeat;}
.languages{
	position:relative;
	float:right;
	right: 25%;
	width:80px;
	height:38px;
	border:1px solid #fff;
	border-radius:20px;
	list-style:none;
}
.languages .selected{position:relative;height:38px;}
.languages .selected a{
	display:block;
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	line-height:38px;
	padding:0 40px 0 20px;
	text-transform: uppercase;
}
.languages .selected:after{
	position: absolute;
	top: 17px;
	right: 15px;
	/*width:12px;
	height:7px;*/
	width: 9px;
	height: 6px;
	content: '';
	/*background:url(../img/images/lang-drop-arrow.png)no-repeat;*/
	background-position: -15px -25px;
}
.languages li{position:relative;}
.languages li:hover{text-decoration:underline;}
.languages li a {
	display:block;
	font-size: 14px;
	font-weight: 400;
	color: #fff;
	line-height:34px;
	padding:0 43px 0 18px;
	text-transform: uppercase;
}
.languages:hover{border-radius:20px 20px 0 0;}
.languages:hover .lang-drop{display:block;}
.languages:hover .selected:after{/*background:url(../img/images/lang-drop-arrow-reverse.png)no-repeat;*/background-position:-15px -10px;}
.lang-drop{
	display: none;
	position: absolute;
	top: 38px;
	right: -1px;
	background: #115182;
	border: 1px solid #fff;
	border-radius: 0 0 20px 20px;
	padding:10px 0 10px;
	z-index: 9;
	width:80px;
}