*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
.row{
    margin: 0 auto;
    width: 1000px;
    padding: 0 15px;
}
input, textarea { outline:none; }
input:active, textarea:active { outline:none; }
:focus { outline:none; }
body,html{
    min-width: 1000px;
}
.btn{
    background: -webkit-linear-gradient(90deg, #fff200 0%, #ffca08 100%);
    background: -moz-linear-gradient(90deg, #fff200 0%, #ffca08 100%);
    background: -o-linear-gradient(90deg, #fff200 0%, #ffca08 100%);
    background: -ms-linear-gradient(90deg, #fff200 0%, #ffca08 100%);
    background: linear-gradient(0deg, #fff200 0%, #ffca08 100%);
    width: 280px;
    height: 54px;
    box-shadow: 0px 3px 0px 0.00px #ffca08;
    border-radius: 5px;
    color: #000000;
    font: 500 22px / 55px PFM;
    text-align: center;
    -webkit-transition: 0.15s;
    -o-transition: 0.15s;
    transition: 0.15s;
    cursor: pointer;
}
#scr-1 .btn:hover,
.btn:hover,
#scr-5 .btn:hover{
    -webkit-transform: scale(0.99);
    -ms-transform: scale(0.99);
    -o-transform: scale(0.99);
    transform: scale(0.99);
    box-shadow: 0px 0px 0px 0.00px #ffca08,
                0 0 0 0 #000;
    font-size: 20px;
}
#scr-1 .btn:active,
.btn:active,
#scr-5 .btn:active{
    -webkit-transition: 0s;
    -o-transition: 0s;
    transition: 0s;
    -webkit-transform: scale(0.97);
    -ms-transform: scale(0.97);
    -o-transform: scale(0.97);
    transform: scale(0.97);
}
.wow{
    visibility: hidden;
}

header.default{
    height: 74px;
    background: url(images/bg-h.jpg) no-repeat center;
    text-align: center;
    min-width: 1000px;
    position: absolute;
    top: 0;
    z-index: 999999;
    width: 100%;
}
header.fixed{
    position: fixed;
    width: 100%;
    top: 0;
    height: 60px;
    background: url(images/bg-h.jpg) no-repeat center;
    z-index: 9999;
    opacity: 0.95;
        box-shadow: 0 0px 10px -1px rgb(0, 0, 0);

}
#nav a.fixed{
    line-height: 60px;
    font-size: 18px;
}
header .row{
    display: table;
}
header .row > *{
    display: table-cell;
    vertical-align: middle;
}
#nav a{
    display: inline-block;
    margin: 0 8px;
    text-decoration: none;
    color: #3d3d3d;
    font: 300 20px / 74px PFL;
    position: relative;
}

#nav a:before{
    content: '';
    position: absolute;
    height: 5px;
    width: 100%;
    left: 0;
    bottom: 0;
    
    
}
#nav a:hover:before{
    background:  #000;
    animation: width 0.2s;
}
#nav a.nav-hover:before{
    content: '';
    position: absolute;
    height: 5px;
    width: 100%;
    left: 0;
    bottom: 0;
    background:  #000;
    animation: width 0.2s;
}

@-webkit-keyframes width {
    from { 
        -webkit-transform: matrix(2,0,1,15,0,-25);
        transform: matrix(2,0,1,15,0,-25);
        opacity: 0;
    }
}
@-o-keyframes width {
    from {  
        -webkit-transform: matrix(2,0,1,15,0,-25);
        -o-transform: matrix(2,0,1,15,0,-25);
        transform: matrix(2,0,1,15,0,-25);
        opacity: 0;
    }
}
@-moz-keyframes width {
    from { 
        -webkit-transform: matrix(2,0,1,15,0,-25);
        -moz-transform: matrix(2,0,1,15,0,-25);
        -ms-transform: matrix(2,0,1,15,0,-25);
        -o-transform: matrix(2,0,1,15,0,-25);
        transform: matrix(2,0,1,15,0,-25);
        opacity: 0;
    }
}
@keyframes width {
    from { 
        -webkit-transform: matrix(2,0,1,15,0,-25);
        -moz-transform: matrix(2,0,1,15,0,-25);
        -ms-transform: matrix(2,0,1,15,0,-25);
        -o-transform: matrix(2,0,1,15,0,-25);
        transform: matrix(2,0,1,15,0,-25);
        opacity: 0;
    }
}

#nav a:first-child{
    margin-left: 0;
}
header .block{
    text-align: right;
    padding-left: 90px;
    padding-right: 15px;
}
header h3{
    color: #3d3d3d;
    font: 500 28px PFM;
    position: relative;
}
header p{
    color: #3d3d3d;
    font: 300 16px / 14px PFL;
}
header h4{
    color: #3d3d3d;
    font: 300 20px PFL;
    text-align: left;
    padding-left: 15px;
    cursor: pointer;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.57);
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
}
header h4:hover{
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.1);
}
header h3:before{
    content: '';
    width: 25px;
    height: 25px;
    position: absolute;
    background: url(images/tel.png) no-repeat;
    left: -35px;
    top: 6px;
}

#scr-1{
    height: 841px;
    background: url(images/bg-1.jpg) no-repeat center bottom;
    padding-top: 74px;
    position: relative;
    z-index: 99999;
    overflow: hidden;
}
#scr-1 h1{
    color: #ffca08;
    font: 900 140px / 107px PFEB;
    padding-top: 77px;
    text-align: center;
}
#scr-1 .bg{
    width: 1105px;
    height: 745px;
    background: url(images/kegi.png) no-repeat;
    position: absolute;
    top: 50px;
    left: 400px;
    z-index: -1;
}
#scr-1 h2{
    color: #ffca08;
    font: 900 93px / 93px PFEB;
}
#scr-1 .block{
    margin-top: 100px;
    color: #ffffff;
    font: 900 81px / 80px PFEB;
    padding-left: 90px;
    padding-top: 1px;
    background: url(images/bg-1-block.png) no-repeat center left 270px;
    padding-bottom: 15px;
}
#scr-1 .row{
    position: relative;
}
#scr-1 h2{
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
    display: inline-block;
    text-transform: uppercase;
    position: absolute;
    left: -134px;
    top: 450px;
}
#scr-1 h3{
    font-size: 80px;
    line-height: 80px;
    margin-top: 15px;
}
#scr-1 h4{
    font-size: 91px;
    line-height: 81px;
}
#scr-1 h5{
    font-size: 120px;
    line-height: 110px;
}
#scr-1 h6{
    font-size: 143px;
    line-height: 120px;
}
#scr-1 .btn{
    position: absolute;
    top: 465px;
    left: 350px;
    box-shadow: 0px 3px 0px 0.00px #ffca08,
                0 0 30px 0 #000;
}

#scr-2{
    background: url(images/bg-2.jpg) no-repeat center;
    height: 950px;
}
#scr-2 #flag{
    height: 210px;
    background: url(images/bg-2-flag.png) no-repeat center bottom;
}
#scr-2 .row{
    padding: 1px;
    background: url(images/bg-2-row.png) no-repeat 310px;
    height: 740px;
}
#scr-2 .row > img{
    margin: -40px;
    margin-top: -20px;
    float: left;
}
#scr-2 #flip{
    float: right;
    width: 320px;
    height: 100px;
    margin-right: 15px;
}
#scr-2 .row > p{
    float: right;
    width: 320px;
    font-size: 24px;
    text-align: left;
}
#scr-2 p{
    color: #ffca08;
    font: 500 27px / 28px PFM;
    text-align: center;
    margin-top: 20px;
}
#scr-2 form{
    float: right;
    width: 320px;
    height: 300px;
    margin-right: 15px;
    text-align: center;
}
#scr-2 form p{
    margin: 0 0 10px;
    font-size: 24px;
}
input[type="text"]{
    width: 268px;
    height: 40px;
    border:none;
    margin: 5px auto;
    padding-left: 10px;
    box-shadow: inset 1px 3px 7px 0px rgba(0, 0, 0, 0.45);
    border: 2px solid transparent;
    color: #818181;
    font: 300 18px / 41px PFL;
}
input[type="submit"]{
    border: none;
    margin-top: 28px;
    color: #3d3d3d;
}
#scr-2 form .in-wrp{
    position: relative;
}
#scr-2 form img{
    position: absolute;
    top: 0;
    bottom: 0;
    left: -5px;
    margin: auto;
}
#scr-2 #doska{
    width: 310px;
    height: 450px;
    margin-left: 45px;
    margin-top: 50px;
    position: absolute;
    
}
#scr-2 #doska h3{
    color: #ffffff;
    font: 400 100px QM;
    text-align: left;
}
#scr-2 #doska p{
    color: #ffffff;
    text-align: left;
    font: 400 50px QM;
}
#scr-2 #doska span{
    font-size: 45px;
}

#scr-3{
    height: 478px;
    text-align: center;
}
#scr-3 h2{
    color: #000000;
    font: 900 60px / 70px PFEB;
    margin: 40px 0 55px;
}
#scr-3 .block{
    display: inline-block;
    margin:0 38px;
}
#scr-3 p{
    color: #000000;
    font: 500 25px PFM;
}

#scr-4{
    background: url(images/bg-4.jpg) no-repeat center;
    height: 709px;
    padding: 1px;
}
#scr-4 h2{
    color: #ffca08;
    font: 900 60px / 60px PFEB;
    margin: 74px 0;
}
#scr-4 p{
    color: #ffffff;
    font: 900 30px / 60px PFEB;
}
#scr-4 p img{
    margin-bottom: -15px;
}
#scr-4 span{
    display: inline-block;
    width: 80px;
    text-align: center;
    margin-right: 7px;
}
#scr-4 .row{
    position: relative;
}
#scr-4 .row > img{
    position: absolute;
    left: 570px;
    top: 100px;
    margin: auto;
}
#scr-4 .btn{
    color: #3d3d3d;
    margin-top: 69px;
}

#scr-5{
    background: url(images/bg-5.jpg) no-repeat center bottom;
    height: 375px;
    margin-top: -8px;
    position: relative;
}
#scr-5 .line{
    position: absolute;
    background: url(images/bg-h.jpg) center top;
    height: 115px;
    width: 100%;
    top: 150px;
    text-align: right;
    padding-top: 30px;
}
#scr-5 .line .row > *{
    display: inline-block;
    vertical-align: top;
}
#scr-5 h3{
    color: #3d3d3d;
    font: 500 42px / 42px PFM;
    position: relative;
}
#scr-5 h3:before{
    content: '';
    position: absolute;
    width: 42px;
    height: 42px;
    background: url(images/tel-1.png) no-repeat;
    left: -55px;
    top: 0;
}
#scr-5 .line p{
    color: #3d3d3d;
    font: 300 14px PFL;
}
#scr-5 .btn{
    width: 225px;
    box-shadow: 0px 3px 0px 0.00px #ffca08,
                0 7px 15px 0 rgba(0, 0, 0, 0.58);
    margin-left: 20px;
}
#scr-5 .row{
    text-align: center;
}
#scr-5 .row > a,
#scr-5 .row > p{
    display: inline-block;
    color: #ffffff;
    font: 300 24px PFL;
    vertical-align: top;
    position: relative;
    text-align: left;
    margin: 45px 30px;
}
#scr-5 .row > p span,
#scr-5 .row > a span{
    display: inline-block;
    width: 30px;
    float: left;
    height: 60px;
    margin-right: 5px;
}
#scr-5 .x2{
    margin-top: 130px;
    padding-top: 13px;
}
#scr-5 h5{
    color: #ffffff;
    font: 300 16px PFL;
    padding-top: 20px;
    float: left;
}
#scr-5 h6{
    color: #ffffff;
    font: 300 16px PFL;
    float: right;
}
#scr-5 h6 span{
    display: inline-block;
    margin-left: 10px;
    cursor: pointer;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.8);
    bottom: 0;
    cursor: default;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    visibility: hidden;
    z-index: 99999;
		-webkit-transition: opacity .5s;
		-moz-transition: opacity .5s;
		-ms-transition: opacity .5s;
		-o-transition: opacity .5s;
		transition: opacity .5s;
        -webkit-transition: 0.5s;
        -o-transition:0.5s ;
        transition: 0.5s;
}
.popup-thnx,
.popup{
	opacity: 0;
	position: fixed;
	visibility: hidden;
	z-index: 99999;
	-webkit-transition: opacity .5s, top .5s;
	-moz-transition: opacity .5s, top .5s;
	-ms-transition: opacity .5s, top .5s;
	-o-transition: opacity .5s, top .5s;
	transition: opacity .5s, top .5s;
    -webkit-transition: 0.5s;
    -o-transition:0.5s ;
    transition: 0.5s;
    text-align: center;
    left: 50%;
    margin-left: -200px;
    top: 50% ;
    margin-top: -100px;
    width: 400px;
    height: 220px;
    padding: 10px;
}
.close-pop{
    position: absolute;
    color: #fff;
    right: 7px;
    top: 5px;
    cursor: pointer;
}
.visible-pop{
    visibility: visible;
    opacity: 1;
}
.popup-thnx.anim{
    animation: pop 5s;
    animation-direction: alternate;
}
@-webkit-keyframes pop {
    from {  }
    to {box-shadow: 0 0 600px 0 #fff; }
}
@-o-keyframes pop {
    from {  }
    to {box-shadow: 0 0 600px 0 #fff; }
}
@-moz-keyframes pop {
    from {  }
    to {box-shadow: 0 0 600px 0 #fff; }
}
@keyframes pop {
    from {}
    to {box-shadow: 0 0 600px 0 #fff; }
}
.popup-thnx h4{
    color: #ffffff;
    font: 500 45px / 42px PFM;
    margin-top: 30px;
    text-transform: uppercase;
}
.popup-thnx p{
    color: #ffffff;
    font: 300 25px / 27px PFL;
    margin-top: 15px;
}
.popup-thnx{
    box-shadow: 0 0 60px 0 rgba(255, 242, 0, 0.42);
}

.popup{
    width: 343px;
    height: 539px;
    margin-left: -171.5px;
    margin-top: -269.5px;
    padding: 35px;
    border-radius: 6px;
    background: url(images/bg-pop.jpg) no-repeat;
}
.popup h4{
    font: 400 20px PFR;
    color: #ffffff;
    text-align: left;
}
.popup .btn{
    width: 269px;
}
.popup p{
    text-align: left;
    color: #ffffff;
    font: 300 14px PFL;
    margin-top: 10px;
}

input.error:focus{
    border: 2px solid red;
}


