body.mainpage{
    background-color: #000;
}
.mainpage header{
    position: absolute;
    height: 95px;
    width: 100%;
    background-color: rgba(0,0,0,0.33);
    z-index: 100;
}
.mainpage  #mainpagevideo{
    /*position: absolute; left: 50%; top: 50%; transform: translateX(-50%) translateY(-50%);*/
    width: 100%;
    min-height: 100%;
    min-width: 100%;
    z-index: -1;


}

.mainpage #promotext,
.mainpage #buttons,
.mainpage footer{
    position: absolute;
    width: 100%;
    text-align: center;
}

.mainpage #promotext{
    top: 40%;

}
.mainpage #promotext .line1{
    font-size: 24px;
    color: rgb( 255, 255, 255 );
    font-weight: bold;
    text-transform: uppercase;
}
.mainpage #promotext .line2{
    font-size: 57px;
    color: rgb( 255, 255, 255 );
    font-weight: bold;
    text-transform: uppercase;
}
.mainpage #buttons{
    top: 60%;
}
.mainpage footer{
    bottom: 20px;
}
.mainpage #overflow-holder{
    width: 100%;
    overflow: hidden;
    background: url(../images/bghome.jpg) center center no-repeat;
    background-size: cover;
}
.mainpage .loginbutton,
.accessdenied .loginbutton
{
    display: inline-block;
    background: url(../images/ico-key.png) 25px 50% no-repeat #ffee00;
    padding: 10px 52px 12px 62px;
    font-size: 18px;
    color: rgb( 0, 0, 0 );
    text-transform: uppercase;
    text-decoration: none;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-transition: all 0.3s ease-in 0s;
    -moz-transition: all 0.3s ease-in 0s;
    -ms-transition: all 0.3s ease-in 0s;
    -o-transition: all 0.3s ease-in 0s;
    transition: all 0.3s ease-in 0s;
}
.mainpage .loginbutton:hover,
.accessdenied .loginbutton:hover{
    background-color: #ffcd21;
}
.mainpage .howto,
.mainpage .register{
    margin-top: 16px;
}
.mainpage .howto a,
.mainpage .register a{
    font-size: 14px;
    color: rgb( 255, 255, 255 );
    text-transform: uppercase;
}

.mainpage footer .url{
    padding-bottom: 20px;
}
.mainpage footer .url a{
    font-size: 22px;
    color: rgb( 255, 255, 255 );
}
.mainpage header .right{
    width: 830px;
}
.mainpage nav.header{
    float: left;
    height: 95px;
}
.mainpage nav.header ul{
    margin: 0;
    padding: 36px 0 0 0 ;
    list-style-type: none;
    width: 500px;
}
.mainpage nav.header ul li{
    float: left;
    padding: 0 10px;
}
.mainpage nav.header ul li a{
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 16px;
}
.mainpage nav.header ul li a:hover{
    text-decoration: underline;
}

.mainpage header .langchange{
    float: left;
    padding-top: 25px;
    color: #fff;
    font-size: 14px;
    padding-right: 20px;
    padding-left: 0;
}
.mainpage header .langchange a{
    display: block;
    color: #fff;
    margin-bottom: 10px;
}
.mainpage header .langchange a.selected{
    font-weight: bold;
    color: #ffee00;
}

.mainpage header .phones{
    float: left;
    padding-top: 25px;
    color: #fff;
    font-size: 14px;
}
.mainpage header .phones .phone{
    float: left;
    clear: left;
    padding-bottom: 10px;
}
.mainpage header .callback-wrapper{
    float: right;
    padding: 27px 15px 0 15px;
}

.mainpage header .callback-wrapper a.callback{
    display: inline-block;
    background-color: #fff;
    border: 1px solid #727272;
    padding: 10px 20px ;
    font-size: 12px;
    color: rgb( 0, 0, 0 );
    text-transform: uppercase;
    text-decoration: none;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-transition: all 0.3s ease-in 0s;
    -moz-transition: all 0.3s ease-in 0s;
    -ms-transition: all 0.3s ease-in 0s;
    -o-transition: all 0.3s ease-in 0s;
    transition: all 0.3s ease-in 0s;
}
.mainpage header .callback-wrapper a.callback:hover{
    background-color: #000;
    border: 1px solid #fff;
    color: #fff;
}

@media screen and (max-width: 1199px) {
    .mainpage header .langchange{
        width: 100%;
        padding-right: 0;
    }
    .mainpage header .langchange a{
        display: inline-block;
        padding: 0 10px;
    }
}