

#pagePreloader{
    position: fixed;
    z-index: 10000;
    background: #ffffff;
    width: 100%;
    height: 100%;
}

.preloaderText{
    font-size: 40px;
    font-family: "League Gothic";
}

html{
    width: 100%;
    height: 100%;
}

body{
    height: 100%;
    background: #000;
}

body.press{
    background-attachment: fixed;
    background-image: url("../img/fon5.jpg");
    background-size: cover;
    background-position: center;
}


h1,h2,h3,h4,h5,h6 {
    font-family: 'League Gothic';
}

.faqheader{
    font-family: 'League Gothic';
    font-size: 3em;
}

.mainNavigation{
    z-index: 100;
}

#mainMenuUl > li > a{
    text-transform: uppercase;
    font-family: 'Oswald';
    font-size: 1.2em;
    transition: all 1s;
    border-top: 2px solid rgba(255, 255, 255, 0);
    border-bottom: 2px solid rgba(255, 255, 255, 0);
    padding: 12.5px 9px;
}

#mainMenuUl > li > a {
    padding: 10px 9px;
    color: #e7e7e7;
}

#mainMenuUl > li{
    opacity: .6;
    transition: all 1s;
}
#mainMenuUl > li.red{
    opacity: 1;
}
#mainMenuUl > li > a:focus{
    background: none;
}
#mainMenuUl > li.active > a{
    color: #fff;
    border-top: 2px solid rgba(255, 255, 255, .5);
    border-bottom: 2px solid rgba(255, 255, 255, .5);
    background: none;
}

#mainMenuUl > li.red.active > a{
    color: #ff3b00;
    border-top: 2px solid rgba(255, 32, 0, 0);
    border-bottom: 2px solid rgba(255, 20, 0, 0.92);
}

#mainMenuUl > li.red > a {
    color: #ff3b00;
}

.mainNavigation .navbar-toggle, .mainNavigation .navbar-toggle:hover, .mainNavigation .navbar-toggle:focus{
    background: none;
}

@media (min-width: 768px) {
    #mainMenuUl > li > a{
        padding-bottom: 11.5px;
        padding-top: 11.5px;
        border-top: 3px solid rgba(255, 255, 255, 0);
        border-bottom: 3px solid rgba(255, 255, 255, 0);
    }
    #mainMenuUl > li.active > a{
        border-top: 3px solid rgba(255, 255, 255, 0);
        border-bottom: 3px solid rgba(255, 255, 255, 1);
    }
    #mainMenuUl > li.red.active > a{
        border-top: 3px solid rgba(255, 32, 0, 0);
        border-bottom: 3px solid rgba(255, 20, 0, 0.92);
    }
}

#mainMenuUl > li.active, #mainMenuUl > li:hover{
    opacity: 1;
}



.mainTimer{
    padding: 0 10%;
    width: 100%;
}

.fest1logo{
    width: 100%;
}

.fest1subtext{
    padding: 0 25%;
    width: 100%;
}

.fest1subtextDate{
    text-align: center;
    font-family: 'League Gothic';
    font-size: 2.5em;
    color: white;
}

.blockAll{
    padding: 10px;
    max-width: 600px;
}

@media (min-width: 1400px) {
    .blockAll{
        max-width: 700px;
    }

    .fest1subtextDate{
        font-size: 2.5em;
    }
}

@media (max-width: 1400px) {
    .blockAll{
        max-width: 550px;
    }
    .fest1subtextDate{
        font-size: 2em;
    }
}

@media (max-width: 1000px) {
    .blockAll{
        max-width: 400px;
    }
    .fest1subtextDate{
        font-size: 1.8em;
    }
}

.firstPreview{
    width: 100%;
    height: 100%;
    overflow: hidden;
    /*background-image: url("../img/fonmain.jpg?2");
    background-attachment: fixed;
    background-size: cover;
    background-position: center;*/
}

.firstPreview .bgvideo{
    position: fixed !important;
    filter: brightness(70%)
}

.allSite{
    position: relative;
    z-index: 10;
    background: #000;
}

.photogallery{
    background-attachment: fixed;
    background-image: url("../img/dvoyka.jpg");
    background-size: cover;
    background-position: center;
}






.mainNavigation.navbar-default {
    background-color: rgba(6, 6, 6, 0.90);
    border: none;
}

h1.header{
    font-size: 2em;
    margin: 0.6em 0;
}
h1.header.white{
    color: white;
}

@media (min-width: 1400px) {
    h1.header{
        font-size: 5.5em;
    }
}

@media (max-width: 1400px) {
    h1.header{
        font-size: 4.5em;
    }
}

@media (max-width: 1000px) {
    h1.header{
        font-size: 4em;
    }
}

@media (max-width: 700px) {
    h1.header{
        font-size: 3em;
    }
}

.photogallery .container{
    width: 100%;
    padding: 6px;
    margin: 0;
}

.videoContainer{
    padding: 6px;
    margin: 0;
}
.videoContainer .wrapper{
    overflow: hidden;
}

.videoContainer a{
    display: block;
    overflow: hidden;
    margin: 0;
    z-index: 9;
}

.videoContainer a .wrapper{
    position: relative;
    overflow: hidden;
}


.videoContainer a .viewHover{
    opacity: .4;
    position: absolute;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    height: 100%;
    width: 100%;
    text-align: center;
    transition: all 1s;
}

.videoContainer a:hover .viewHover{
    opacity: 1;
}

.videoContainer a .viewHover i{
    transition: all .5s;
    font-size: 100px;
    line-height: 100px;
    color: white;
    display: inline-block;
}
.videoContainer a:hover .viewHover i{
    font-size: 120px;
}

.videoContainer a .viewHeader{
    font-family: "League Gothic";
    color: white;
    display: block;
    width: 100%;
    padding: 20px;
    line-height: 32px;
    text-overflow: ellipsis;
    font-size: 32px;
    white-space: nowrap;
    overflow: hidden;
    position: absolute;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2;
}

.videoContainer a img{
    transform: scale(1.1);
    transition: all .5s;
}

.videoContainer a:hover img{
    transform: scale(1);
}


.photogalleryBlock .mgrid {
    width: 100%;
    max-width: none;
    min-height: 500px;
}

.photogalleryBlock .wrapper{
    overflow: hidden;
    position: relative;
}


/* clear fix */
.mgrid:after {
    content: '';
    display: block;
    clear: both;
}

.mgrid-sizer,
.mgrid-item { width: calc(100%/2); }

.mgrid-item { float: left }

.photogalleryBlock a{
    display: block;
}

@media (min-width: 1400px) {
    .photogalleryBlock .mgrid-sizer,
    .photogalleryBlock .mgrid-item{
        width: calc(100%/8);
    }
}

@media (max-width: 1400px) {
    .photogalleryBlock .mgrid-sizer,
    .photogalleryBlock .mgrid-item{
        width: calc(100%/6);
    }
}

@media (max-width: 1000px) {
    .photogalleryBlock .mgrid-sizer,
    .photogalleryBlock .mgrid-item{
        width: calc(100%/5);
    }
}

@media (max-width: 700px) {
    .photogalleryBlock .mgrid-sizer,
    .photogalleryBlock .mgrid-item{
        width: calc(100%/3);
    }
}
@media (max-width: 400px) {
    .photogalleryBlock .mgrid-sizer,
    .photogalleryBlock .mgrid-item{
        width: calc(100%/2);
    }
}

.photogalleryBlock a .wrapper{
    margin: 6px;
    position: relative;
    overflow: hidden;
}


.photogalleryBlock a .viewHover{
    opacity: 0;
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    height: 100%;
    width: 100%;
    text-align: center;
    transition: all .3s;
    transform: scale(2);
}
.photogalleryBlock a:hover .viewHover{
    transform: scale(1);
    opacity: .7;
}

.photogalleryBlock a .viewHover i{
    font-size: 60px;
    color: white;
    display: inline-block;
}

.photogalleryBlock a img{
    transform: scale(1.1);
    transition: all .5s;
}

.photogalleryBlock a:hover img{
    transform: scale(1);
}

.fancybox-is-open .fancybox-bg{
    background: rgb(14, 14, 14);
    opacity: .90;
}

.fancybox-button {
    background: rgba(0, 0, 0, 0.7);
}

.mainNavigation .ico{
    color: white;
    display: inline-block;
    font-size: 30px;
    line-height: 30px;
    margin-right: 5px;
    padding: 0;
    text-decoration: none;
}
.mainNavigation .ico{
    transition: all .5s;
    opacity: .7;
}
.mainNavigation .ico:hover{
    opacity: 1;
}

.mainNavigation .navbar-brand{
    padding: 0;
    margin: 1px 10px;
}

.mainNavigation .navIco{
    padding: 7px 3px;
}


.o-feste {
    padding: 1px 0 0 0;
    /*margin-top: -450px;*/
    position: relative;
    /*box-shadow: 0 0 15px 5px rgba(0, 0, 0, 0.4);*/
    width: 100%;
    /*transform: skewY(-6deg);*/
    z-index: 10;
}

.rotateContent{
    /*transform: skewY(6deg);*/
    padding-bottom: 50px;
}

.info{
    font-family: 'Oswald';
    min-height: 70px;
}

.fest-programm{
    z-index: 11;
    position: relative;
    background: #FFF;
    margin-top: -125px;
}
.timeline .col0{
    padding: 0 !important;
    margin: 0 !important;
}

.timelineContainer{
    box-shadow: 0 7px 7px rgba(0, 0, 0, 0.5);
    background-image: url("../img/section4/mainfon.jpg");
    background-size: cover;
    background-position: center;
}


/*.doMapContainer{
    !*1108px*!
    background-image: url("../img/regionsmap/fon.jpg");
    background-size: cover;
    background-position: center;
}*/
.doMapContainer .container{
    padding: 4% 0 3%;
    max-width: 900px;
}

/*.beforeMapContainer{
    background-image: url("../img/regionsmap/fon2.jpg");
    background-size: cover;
    background-position: center;
}*/

.beforeMapContainer .container{
    color: white;
    padding: 3.5em 10px;
}

#agentsMapNav{
    z-index: 10;
    position: absolute;
    right: 0;
    margin: 20px;
}

#agentsMap{
    height: 500px;
}



#nextBtn{
    width: 28px;
    margin: 4% auto;
}

.whiteBtn{
    display: inline-block;
    min-width: 250px;
    font-family: 'Oswald';
    color: white;
    border: 2px solid white;
    border-radius: 5px;
    padding: 10px 0;
    text-align: center;
    margin: 30px auto;
    font-size: 22px;
    line-height: 30px;
    text-decoration: none;
    transition: all .5s;
    text-transform: uppercase;
    cursor: pointer;
}
.whiteBtn.red{
    color: #ff0000;
    border: 2px solid #ff0000;
}

.whiteBtn:hover, .whiteBtn:active, .whiteBtn:focus{
    text-decoration: none;
    color: white;
    background: rgba(255, 255, 255, 0.38);
}

.whiteBtn.red:hover, .whiteBtn.red:active, .whiteBtn.red:focus{
    text-decoration: none;
    color: #ff0000;
    background: rgba(255, 47, 0, 0.2);
}


/*

parallax

*/
.parallax-container{
    position: relative;
    overflow: hidden;
}

.parallax-bg{
    top: 0;
    z-index: -1;
    position: absolute;
    width: 100%;
    background-size: cover;
    background-position: center 0;
}

.parallax-wrapper{
    z-index: 1;
    position: relative;
}

#drift{

}
#drift .container{
    padding: 3.5em 20px;
    z-index: 1;
    position: relative;
}
#drift .container img{
    position: relative;
}

.smokeAnim{
    animation-name: smokeAmim;
    animation-duration: 60s;
    animation-timing-function: linear;
    animation-iteration-count:infinite;
    position: absolute;
    background-image: url("../img/smoke.png?v5");
    background-position: 0 bottom;
    background-repeat: repeat-x;
    height: 800px;
    width: 5000px; /*2324*/
    bottom: 0;
    left: 0;
    z-index: 1;
    opacity: .85;
}

.smokeAnim.min{
    z-index: 0;
    animation-duration: 150s;
    bottom: -79px;
    transform: scale(.8);
    left: -1000px;
    opacity: 1;

}

@keyframes smokeAmim {
    0%{
        background-position: 0 bottom;
    }
    100%{
        background-position: -2324px bottom;
    }
}

#section_tickets .container{

}

#section_tickets .ticket{
    font-family: 'Oswald';
}

#section_tickets .ticket ul{
    font-size: 24px;
    color: white;
    font-weight: lighter;
}
#section_tickets .ticket ul li{
    line-height: 30px;
    margin: 8px 0;
}

#section_tickets .parallax-bg{
    filter: blur(7px);
}

.sliderShop{
    margin-bottom: 40px;
}

.sliderShop .swiper-pagination {
    position: absolute;
    margin-top: 30px;
}

.sliderShop .swiper-slide .image{
    height: 350px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(80%);
}

.sliderShop .swiper-slide:hover .image{

}

.sliderShop .swiper-slide .description{
    color: white;
    font-family: 'Oswald';
    font-size: 2em;
    text-align: center;
    text-decoration: none;
    padding: 5px 0;
}
.sliderShop .swiper-slide:hover {
    text-decoration: none;
}

.sliderShop .swiper-button-next, .sliderShop .swiper-button-prev{
    background-image: none;
    font-size: 72px;
    color: white;
    line-height: 1px;
    opacity: .6;
}

.sliderShop .swiper-button-next:hover, .sliderShop .swiper-button-prev:hover{
    opacity: 1;
}


@media (max-width: 640px) {
    .sliderShop .swiper-slide .image{
        height: 250px;
    }
}

.logoRide{
    display: inline-block;
}
.logoRide img{
    filter: grayscale(1);
    transition: all .8s;
}
.logoRide:hover img{
    filter: grayscale(0);
}



.sliderTimeline .item{
    background: #000;
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
}

.sliderTimeline .item > .item-bg-image{
    height: 300px;
    background-size: cover;
    background-position: center;
    position: absolute;
    width: 100%;
    transition: all .5s;
    z-index: 0;
}
.sliderTimeline .item > .item-title{
    position: relative;
}
.sliderTimeline .item > .item-title h3{
    font-family: "League Gothic";
    text-transform: uppercase;
    text-align: center;
    font-size: 2.3em;
    z-index: 1;
    color: white;
}
.sliderTimeline .item > .item-description{
    margin-top: 100px;
    position: relative;
    text-align: center;
    z-index: 2;
    font-size: 2.6em;
    font-family: "Oswald";
    color: #ffeb9f;
}
.sliderTimeline{
    background: #000;
}

.sliderShop .swiper-pagination {
    position: absolute;
    margin-top: 30px;
}



.sliderTimeline .swiper-button-next, .sliderTimeline .swiper-button-prev{
    background-image: none;
    font-size: 72px;
    color: white;
    line-height: 1px;
    opacity: .6;
    margin-top: -40px;
}

.sliderTimeline .swiper-button-next:hover, .sliderTimeline .swiper-button-prev:hover{
    opacity: 1;
}


.sliderVideo .swiper-wrapper{
    position: relative;
    z-index: 0;
}

.sliderVideo .swiper-button-next, .sliderVideo .swiper-button-prev{
    background-image: none;
    font-size: 72px;
    color: white;
    line-height: 1px;
    opacity: .6;
    margin-top: -40px;
    z-index: 1;
}

.sliderVideo .swiper-button-next:hover, .sliderVideo .swiper-button-prev:hover{
    opacity: 1;
}

.sliderVideo .swiper-button-prev.swiper-button-disabled, .sliderVideo .swiper-button-next.swiper-button-disabled{
    opacity: 0;
}


/*

*/

.hgrid{

}

.hgrid .item{
    background: #000;
    width: 100%;
    height: 300px;
    float: left;
    position: relative;
    overflow: hidden;
}

#mapScheme{
    height: 720px;
}

@media (min-width: 1800px) {
    .hgrid .item{
        width: calc(100%/4);
    }
}

@media (max-width: 1800px) {
    .hgrid .item{
        width: calc(100%/3);
    }
    #mapScheme{
        height: 720px;
    }
}

@media (max-width: 1200px) {
    .hgrid .item{
        width: calc(100%/2);
    }
    #mapScheme{
        height: 550px;
    }
}



.hgrid .item > .item-bg-image{
    transform: scale(1.2);
    background-size: cover;
    background-position: center;
    position: absolute;
    width: 100%;
    transition: all .5s;
}

.hgrid .item:hover > .item-bg-image{
    filter: grayscale(50%);
    opacity: .5;
    transform: scale(1);
}

.hgrid .item-title{
    text-align: center;
    color: white;
    position: absolute;
}

.hgrid .item-title h3{
    display: block;
    padding: 15px;
    font-family: "League Gothic";
    font-size: 2.4em;
    text-transform: uppercase;
    text-align: center;
    color: white;
    margin: 0;

    transform: translate3d(0,40px,0);
    transition: all .5s;
}

.hgrid .item:hover .item-title h3{
    transform: translate3d(0,0,0);
}

.hgrid .item-description{
    position: absolute;
}

.hgrid .item-description p{
    text-transform: uppercase;
    margin: 0 20px;
    border-top: 2px solid white;
    display: block;
    text-align: center;
    padding: 15px 0;
    font-family: "Oswald";
    font-size: 1.1em;
    font-weight: lighter;
    color: white;

    transform: translate3d(0,20px,0) scale(2.1);
    opacity: 0;
    transition: all .5s;
}

.hgrid .item:hover .item-description p{
    transform: translate3d(0,0,0) scale(1);
    opacity: 1;
}

@media (max-width: 640px) {
    #mapScheme{
        height: 350px;
    }


    .hgrid .item{
        width: 100%;
        height: 80px;
        transition: all .5s;
    }

    .hgrid .item .item-title{
        transition: all .5s;
    }
    .hgrid .item .item-description{
        transition: all .5s;
    }

    .hgrid .item .item-description p{
        opacity: 0;
    }

    .hgrid .item:hover{
        height: 300px;
    }

    .hgrid .item:hover > .item-bg-image{
        filter: grayscale(50%);
        opacity: .5;
        transform: scale(1);
    }

    .hgrid .item:hover .item-description{
        margin-top: 120px;
    }
    .hgrid .item:hover .item-title{
        margin-top: 120px;
    }

    .hgrid .item:hover .item-description p{
        transform: translate3d(0,0,0) scale(1);
        opacity: 1;
    }
}


#partners .container{
    margin: 20px auto;
}

#partners .ico{
    margin: 0 auto;
    display: block;
    position: relative;
    height: 130px;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    transition: all 0.5s;
    transition-timing-function:ease-in-out;
}

#partners .ico:hover{
    transform: scale(1.2);
}
#partners .top-bg{
    background-image: url("../img/partners/src/1.jpg?v=8");
    background-position: bottom;
    background-position: bottom;
    background-size: cover;
}
#partners .content-bg{
    background: #e1f1f9;
}
#partners .bottom-bg{
    height: 200px;
    background-image: url("../img/partners/src/2.jpg?v=8");
    background-position: top;
    background-size: cover;
}

@media (min-width: 1800px) {
    #partners .bottom-bg{
        height: 423px;
    }
}

@media (max-width: 1800px) {
    #partners .bottom-bg{
        height: 400px;
    }
}

@media (max-width: 1200px) {
    #partners .bottom-bg{
        height: 350px;
    }
}

@media (max-width: 640px) {
    #partners .bottom-bg{
        height: 250px;
    }
}

#footer{
    font-family: 'Oswald';
    padding: 35px 0px;
    color: white;
    background: url("../img/footer.jpg") center;
    background-size: cover;
}

#footer h3 {
    font-family: 'Oswald';
    text-transform: uppercase;
    margin: 0;
}

#footer .blCounter{
    float: right;
}

#footer .ico{
    color: #dcdcdc;
    font-size: 2.5em;
    margin-right: 7px;
}

#footer .ico:hover{
    color: #ffffff;
    text-decoration: none;
}

.modal {
    text-align: center;
}

@media screen and (min-width: 768px) {
    .modal:before {
        display: inline-block;
        vertical-align: middle;
        content: " ";
        height: 100%;
    }
}

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

#uploadedList {

}

#uploadedList .preview img{
    height: 150px;
}
#uploadedList .preview .delete{
    position: absolute;
    cursor: pointer;
    font-size: 140%;
    color: #ffffff;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.78);
}

#uploadedList .preview{
    float: left;
    margin: 1px;
    height: 150px;
}

.formDriftBG{
    background-image: url("../img/blure.jpg");
    background-size: cover;
    background-position: bottom center;
    background-attachment: fixed;
}


.uploader{
    background: rgba(255, 255, 255, 0.78);
}


#agentsMapContainer .overlay{
    position: absolute;
    width: 100%;
    z-index: 1;
    background: rgba(0, 0, 0, 0.3);
    transition: all .5s;
}

#agentsMapContainer.active .overlay{
    display: none !important;
}

.titleMenu{
    color: white;
    font-family: "Oswald";
    font-size: 1.2em;
    padding: 0 10px;
    text-transform: uppercase;
    line-height: 0.8em;
}
.footerLinks{
    margin-bottom: 20px;
}

.footerLinks a{
    color: #1676c5;
    font-size: 1.3em;
}



.arrow-right-red{
    display: inline;
    width: 45px;
    height: 45px;
    background-image: url("../img/arrow-right-red.png");
    background-size: contain;
    background-position: center;
    position: absolute;
    margin-top: -33px;
    margin-left: -10px;
    transform: scale(.8);
    animation: arrow-right-red 2s infinite ease-in-out;
    background-repeat: no-repeat;
}

@keyframes arrow-right-red {
    0%{
        margin-top: -33px;
        margin-left: -10px;
        transform: scale(.8);
    }
    15%{
        margin-top: -23px;
        margin-left: -20px;
        transform: scale(.6);
    }
    30%{
        margin-top: -33px;
        margin-left: -10px;
        transform: scale(.8);
    }
}


.festScheme .wrapper{
    min-height: 200px;
    display: flex;
    background: rgba(0, 0, 0, 0.4);
    background: linear-gradient(0deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0) 60%, rgba(0,0,0,.7) 100%);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.festScheme .wrapper a{
    background: rgba(255, 255, 255, 0.77);
    text-shadow: 0 0 50px black;
    transition: all 1s;
}

.festScheme .wrapper a:hover{
    background: rgba(255, 255, 255, 0.77);
    transform: scale(1.2);
}


@media (max-width: 600px) {
    .festScheme .wrapper{
        min-height: 350px;
    }

    .festScheme .parallax-bg{
        background-image: url("../img/map_prev_min.jpg") !important;
    }
}

@media (min-width: 600px) {
    .widget-wrapper{
        min-width: 500px;
    }
}

@media (min-width: 1000px) {
    .widget-wrapper{
        min-width: 800px;
    }
}

.navbar-fixed-top .navbar-collapse {
    max-height: 100vh;
}




