/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}



@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,600,600i,700,700i&subset=cyrillic,cyrillic-ext,latin-ext');

/* orange: #F15922 */

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    border-top: 5px solid #F15922;
    overflow-y: scroll;
    overflow-x: hidden;
    color: #464646;
}

h1 {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;

    font-size: 28px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 30px;
}

    h1::after {
        content: "";
        display: block;
        width:auto;
        height: 1px;
        background: #DCDCDC;
        margin-left: 20px;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    }


h5 {
    font-size: 16px;
    font-weight:600;
}

b, strong {
    font-weight: bold;
}

#wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 20px;
}

#header {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 20px;
    
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

#logo {
    margin-right: 20px;
}

#logo img {
    width: 130px;
}

#head-nav {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-align-self: stretch;
    -ms-flex-item-align: stretch;
    align-self: stretch;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    margin-left: auto;
}

#nav {
    display: -ms-inline-flexbox;
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-order: -1;
    -ms-flex-order: -1;
    order: -1;
    -webkit-align-self: stretch;
    -ms-flex-item-align: stretch;
    align-self: stretch;
    
    margin: 0 20px;
}

#nav a {
    display: -ms-inline-flexbox;
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 50px 10px;
    border-bottom: 5px solid transparent;
    border-top: 5px solid transparent;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    color: #BBBCC1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#nav a.active,
#nav a:hover {
    border-top-color: #F15922;
    color: #F15922;
}


.lang {
    color: #EEEEEE;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}

.lang a {
    font-size: 14px;
    text-transform: uppercase;
    color: #BBBCC1;
    text-decoration: none;
    margin:0 5px;
}

.lang a:last-child {
    margin-right: 0;
}

.lang a:first-child {
    margin-left: 0;
}

.lang a.active {
    font-weight: bold;
    color: #F15922;
}

.lang a:hover {
    color: #F15922;
}
#slider {
    margin-bottom: 70px;
    position: relative;
}
#slider::after {
    content: "";
    display: block;
    width: 100%;
    height: 80%;
    background: #F15922;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
}
#slider .swiper-container {
    width: 100%;
    height: 300px;
    max-width: 1280px;
    margin: 0 auto;
}
#slider .swiper-container .swiper-slide {
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}
#footer {
    position: relative;
    color: #A5A5A5;
    margin-top: 70px;
}

#footer::after {
    content: "";
    display: block;
    width: 100%;
    height: 80%;
    height: calc(100% - 40px);
    position: absolute;
    bottom: 0;
    left: 0;
    background: #464646;
    z-index: -1;
}
.footer-content {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 20px;
}
.contacts {
    margin-top: 80px;
    margin-right: 50px;
    width: 250px;
}

.contacts h5{
    font-size: 18px;
    color: #FFF;
    margin-bottom: 20px;
}

.contacts ul li {
    margin-bottom: 10px;
}

#map {
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}

.copyrights {
    width: 100%;
    border-top: 1px solid #707070;
    padding: 25px 0;
    text-align: center;
    margin-top: 25px;
    background: #464646;
}

.trailers-list {
    position: relative;
    width: 100%;
    width: calc(100% + 20px);
    left: -10px;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.trailers-list .trailer {
    position: relative;
    display: block;
    width: 33%;
    width: calc((100% - 60px) / 3);
    height: 190px;
    margin: 0 10px 40px 10px;
    background-repeat: no-repeat !important;
    background-color: #BBBCC1 !important;
    background-position: center top 10px !important;
    cursor: pointer;
}

.trailers-list .trailer::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: #F15922;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transition: all 0.2s;
}

    .trailers-list .trailer:hover::after {
        opacity: 0.3;
    }

.trailers-list .trailer-title {
    position: absolute;
    width: 90%;
    width: calc(100% - 40px);
    left: 20px;
    bottom: -20px;
    background: #464646;
    padding: 20px;
    text-align: center;
    color: #FFF;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 10;
    text-decoration: none;
    transition: all 0.2s;
}

.trailers-list .trailer:hover .trailer-title {
    background: #F15922;
}

#trigger {
    display: none;
}

#main-content {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}
    #sidebar {
        width: 250px;
        margin-right: 50px;
        -webkit-flex: 0 0 auto;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
    }
    #content {
        overflow: hidden;
    }
        #content p {
            line-height: 22px;
            margin-bottom: 10px;
        }
            #content p.small {
                width: 100%;
                max-width: 460px;
            }
        .image-slider {
            margin-bottom: 30px;
            margin-top: 20px;
        }
            .image-slider .controls {
                text-align: right;
                margin-bottom: 10px;
            }

            .controls > div {
                display: inline-block;
                outline: none;
                font-size: 18px;
                margin-left: 10px;
                opacity: 0.5;
                cursor: pointer;
            }
                .controls > div:hover {
                    opacity: 1;
                }

.image-slider img {
    display: block;
    width: 100%;
}

.side-nav {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 20px;
    
    color: #FFF;
    margin-bottom: 30px;
}

.side-nav:last-child {
    margin-bottom: 0;
}

.side-nav a {
    display: block;
    text-decoration: none;
    color: #FFF;
    opacity: 0.7;
    padding: 5px 0;
    margin-top: 10px;
}

.side-nav a:hover {
    opacity: 1;
}

.side-nav h5{
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.25);
}

.side-nav.orange {
    background: #F15922;
}

.side-nav.grey {
    background: #464646;
}

ul.list li {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    
    padding: 20px 0;
    border-bottom: 1px solid #DCDCDC;
}


ul.item-list li {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    background: #f6f4f4;
    margin-bottom: 10px;
            line-height: 22px;
}

ul.item-list li.title {
    font-weight: bold;
    background: none;
}

ul.item-list li > div {
    margin-right: 15px;
}

/*
ul.item-list li div:last-child {
    margin-right: 0;
}
*/

ul.item-list li .fixedWidth {
    width: 140px;
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    -webkit-align-self: center;
    -ms-flex-item-align: center;
    align-self: center;
}
    ul.item-list li .fixedWidth img {
        display: block;
        width: 100%;
    }

    ul.item-list li .small {
        width: 50px;
        -webkit-flex: 0 0 auto;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        -webkit-align-self: center;
        -ms-flex-item-align: center;
        align-self: center;
    }

    ul.item-list li .medium {
        width: 100px;
        -webkit-flex: 0 0 auto;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        -webkit-align-self: center;
        -ms-flex-item-align: center;
        align-self: center;
    }

    ul.item-list li .large {
        width: 165px;
        -webkit-flex: 0 0 auto;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        -webkit-align-self: center;
        -ms-flex-item-align: center;
        align-self: center;
    }

    ul.item-list li .autoFill {
        -webkit-flex: 1 1 auto;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
        -webkit-align-self: center;
        -ms-flex-item-align: center;
        align-self: center;
        padding: 10px 0;
    }



#contactForm {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    overflow: auto;
/*    background: red;*/
}

#contactForm input,
#contactForm textarea {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #BBBCC1;
    color: #ababab;
    height: 40px;
    resize: none;
    padding: 10px;
    outline: none;
}

#contactForm textarea {
    height: 150px;
}

#contactForm input:focus,
#contactForm textarea:focus {
    border-color: #F15922;
    color: #F15922;
}

#contactForm label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
}

#contactForm .oneHalf {
    width: 45%;
    width: calc(50% - 10px);
    margin-bottom: 20px;
}

#contactForm .full {
    margin-bottom: 20px;
    width: 100%;
}

#contactForm .code {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}

#contactForm .code label {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    width: 70px;
    height: 40px;
    background: #F15922;
    text-align: center;
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

#contactForm .code label img {
    -webkit-align-self: center;
    -ms-flex-item-align: center;
    align-self: center;
    margin: auto;
}

#contactForm .code input {
    margin-left: 20px;
}

#contactForm .submit {
    background: #F15922;
    color: #FFF;
    border: none;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
}

#contactForm .submit:focus {
    color: #FFF;
}

#contactForm .error {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 20px;
    margin-bottom: 30px;
    background: #F15922;
    color: #f29c83;
}

#contactForm .success {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 20px;
    margin-bottom: 30px;
    color: #a68505;
    background: #f9cb14;
}

#contactForm .error strong {
    color: #FFF;
    display: block;
    margin-bottom: 5px;
}

#contactForm .submit:hover {
    background: #ef4310;
}

.left {
    float: left;
}
.right {
    float: right;
}

#tests {
    padding: 20px 0;
    text-align: center;
    width: 100%;
    float: left;
    color: #FFF;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
    overflow: hidden;
    margin-top: 30px;
}

@media screen and (max-width: 1024px) {
    #slider {
        margin-bottom: 30px;
    }
    #slider::after {
        display: none;
    }

    #header {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        padding: 0;
    }
    
    #logo {
        margin: 20px 0;
        margin-left: 20px;
    }
        #trigger {
            display: block;
            width: 40px;
            height: 40px;
            background: url('../images/hamburger.png') no-repeat center right;
            -webkit-flex: 0 0 auto;
            -ms-flex: 0 0 auto;
            flex: 0 0 auto;
            margin-right: 20px;
        }
            #trigger.active {
                background: url('../images/x.png') no-repeat center right;
            }
        #head-nav {
            display: none;
            position: relative;
            width: 100%;
            width: calc(100% + 40px);
            flex-grow: 5;
            background: #EEEEEE;
            -webkit-flex-direction: column;
            -ms-flex-direction: column;
            flex-direction: column;
            padding: 20px 0;
        }
        #head-nav.active {
            display: -ms-flexbox;
            display: -webkit-flex;
            display: flex;
        }
        .lang {
            margin-bottom: 25px;
        }
        #nav {
            -webkit-order: 0;
            -ms-flex-order: 0;
            order: 0;
            -webkit-flex-direction: column;
            -ms-flex-direction: column;
            flex-direction: column;
/*            margin-bottom: 25px;*/
        }
            #nav a {
                display: block;
                text-align: center;
                padding: 0;
                border: none !important;
                padding: 5px 0;
                margin: 5px 0;
            }
                #nav a:last-child {
                    margin-bottom: 0;
                }
}    



@media screen and (max-width: 800px) {

    .noMobile {
        display: none;
        visibility: hidden;

    }
    .trailers-list .trailer {
        width: 50%;
        width: calc((100% - 40px) / 2);
    }
    
    #main-content {
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    
    #content {
        -webkit-order: -1;
        -ms-flex-order: -1;
        order: -1;
    }
    
    #sidebar {
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        margin-top: 30px;
        width: 100%;
    }
    
    #sidebar .side-nav {
        width: 100%;
        margin-bottom: 0;
    }
}

@media screen and (max-width: 600px) {
    #footer .footer-content {
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }

        #footer #map {
            -webkit-order: -1;
            -ms-flex-order: -1;
            order: -1;
            height: 200px;
            margin-bottom: 25px;
        }

        #footer .contacts {
            width: 100%;
            margin: 0;
        }
}

@media screen and (max-width: 500px) {
    .trailers-list .trailer {
        width: 100%;
    }
    #sidebar {
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    #sidebar .side-nav:first-child {
        margin-bottom: 20px;
    }

    #contactForm .oneHalf {
        width: 100%;
    }
    
}