/* z-index{
    Для шапки: 60;
    Кнопка поиска: 60;
    Меню: 50
    Ниспадающее меню: 40;
    Предмет каталога: 30;
    menubar: 20
    Предмет каталога:hover: 35;
    Слайдер: 10;
    Стрелки: 15;
    obscure: 100;
    obscure > 100;
} */
button{
    outline: none;
}
h1{
    font-family: "HelveticaNeueCyr";
    font-weight: bold;
}
a:hover{
    text-decoration: none;
}
/* Контакты в шапке */
.bottom-contacts{
    margin-top: 46px;
    margin-bottom: 15px;
}

/* Список в выпадающем меню */
ul.list-icon li{
    padding: 7px;
}
img.icon{
    width: auto;
    height: auto;
    max-width: 30px;
    max-height: 30px;
    margin-right: 30px;
}

#catalogue > a:last-child{
    border-right: 1px solid #e3e9ee;
}
#catalogue{
    font-family: "HelveticaNeueCyr";
    margin-top: 72px;
    display: block;
}
/*.modal-backdrop{
    background-color: rgba(10, 100, 149, .8);
}*/
.modal-backdrop.in{
    opacity: 0.8;
}
#itemForm,
#searchForm,
#orderForm{
    position: fixed;
    top: 0;
    z-index: 1050;
    color: white;
}
#searchForm{
    margin-top: 50px;
}
#searchForm h2 > span{
    color: white;
}
#itemForm h2,
#searchForm h2,
#orderForm h2{
    font-size: 30px;
    position: relative;
}
#searchForm p{
    font-size: 18px;
    font-family: "HelveticaNeueCyr";
}
#itemForm h2,
#orderForm h2{
    margin-bottom: 50px;
}
#orderForm{
    color: black;
}
#itemForm h2::after,
#searchForm h2::after,
#orderForm h2::after{
    content: "";
    clear: both;
    display: block;
}
.search-form{
    position: relative;
    margin-top: 30px;
}
.search-form::after{
    content: "";
    display: block;
    clear: both;
}
/* Иконка закрытия */
.close-icon{
    position: relative;
    float: right;
    display: block;
    right: 0;
    cursor: pointer;
    opacity: .5;
}
.close-icon:hover{
    opacity: 1;
}
#obscure button{
    color: #ffa200;
}
#obscure input{
    padding: 20px 12px;
}

.main-slider-container{
    height: 100%;
}
.title{
    position: relative;
    font-family: "HelveticaNeueCyr";
    color: #36414b;
    font-size: 30px;
}
.title + p{
    font-family: "HelveticaNeueCyr";
    font-size: 18px;
}
.title ~ a.btn-send{
    display: inline-block;
    float: none;
    margin-top: 40px;
    outline: none;
}
/* Заголовки блоков на странице */
h3{
    font-family: "HelveticaNeueCyr";
    color: #36414b ;
}
.block-title > p:first-child{
    font-family: "HelveticaNeueCyr";
    margin-bottom: 20px;
    color: #36414b;
    font-size: 24px;
}
.block-title > p:last-child{
    color: #75828d;
    padding-top: 5px;
    font-family: "HelveticaNeueCyr";
    font-size: 15px;
}
/* Иконки разделов */
.cat-item{
    height: 210px;
    border-right: 1px solid #e3e9ee;
    border-top: 1px solid #e3e9ee;
    transition: all .1s linear;
    padding: 40px 20px 0 20px;
    background-color: white;
}
/* Заголовки иконок */
.cat-item span.link{
    display: inline-block;
    top: 20px;
    font-size: 14px;
    width: auto;
    z-index: 34;
}

/* Затемнение разделов */
.cat-item > .obscure{
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #56667a;
    opacity: 0;
}
.cat-item > .background-obscure{
    position: absolute;
    background-color: white;
    opacity: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 31;
}
/* Раздел при наведении */
.cat-item:hover > .obscure{
    transform: scale(1.1);
    z-index: 35;
    opacity: .9;
}
.cat-item > img{
    z-index: 33;
}
.cat-item:hover > .background-obscure{
    transform: scale(1.1);
    opacity: 1;
}

/* Иконка перехода в раздел */
.cat-item > .right-arrow-icon{
    background-color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: none;
    z-index: 40;
}
.cat-item:hover > .right-arrow-icon{
    display: block;
}
/* Заголовки при наведении */
.cat-item:hover span.link{
    color: white;
    text-decoration: none;
    border-bottom-color: transparent;
    z-index: 40;
}

/* ---Форма заявки--- */
div.arrow{
    position: absolute;
    left: 68px;
    top: 0px;
    width: 68px !important;
    height: 68px;
    background-color: #f5f8fa;
    color: #CCC;
    text-align: center;
    line-height: 50px;
}
#about{
    margin-top: 100px;
}
/* Заголовок текста о компании */
#about h3{
    color: #36414b;
    font-size: 24px;
}
/* Заголовок превью видео */
.video-stub-main > span{
    position: absolute;
    display: inline-block;
    top: 0;
    margin-top: 30px;
    margin-left: 50px;
    font-family: "HelveticaNeueCyr";
    font-size: 24px;
    color: white;
}
.video-stub-main > div.stub{
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    transition: all .6s linear;
}
/* Кнопка проигрывания */
.play-btn{
    width: 57px;
    height: 57px;
    display: block;
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
}
.play-btn:hover{
    background-color: #eee;
}
.play-btn > img{
    position: absolute;
    display: block;
    left: 21px;
}
#video{
    position: relative;
    width: 100%;
    height: 100%;
}
#video > iframe{
    position: relative;
    width: 100%;
    height: 100%;
    border: none;
}
/* Список о компании */
.list-about{
    padding: 20px 0;
}
/* Строки списка */
.list-about > li{
    margin-bottom: 60px;
    height: 50px;
    font-size: 17px;
    color: #36414b;
}

/* Иконки списка */
.list-about>li>img{
    display: block;
    float: left;
    margin-right: 30px;
}
.list-about > li:last-child{
    margin-bottom: 0;
}
/* Директор */
#director{
    height: 652px;
    color: white;
    margin-top: 90px;
}
#director > div > div:first-child{
    height: calc(100% - 100px);
    margin-top: 100px;
    padding-right: 40px;
}
#director h3,
#director h4,
#director p{
    color: white;
}
#director p{
    padding-top: 30px;
    font-size: 16px;
    line-height: 2em;
}
.author{
    color: white;
    font-size: 14px;
}
.author p:first-of-type{
    font-family: "HelveticaNeueCyr";
}
.author p:last-of-type{
    font-family: "Gilroy-Light";
}
.author::after{
    content: "";
    display: block;
    clear: both;
}
#director .author>div{
    display: inline-block;
}
#director .author>div>p{
    font-size: 1em;
    color: white;
}
.text-info{
    margin-bottom: 0;
    color: #838383;
    line-height: 2em;
    font-family: "HelveticaNeueCyr";
    font-size: 12px;
    clear: both;
}
.time{
    margin-bottom: 5px;
}
.time > span{
    font-size: 12px;
    color: #0d0d0d;
    font-family: "Roboto-Bold";
}
.time-n-mail{
    position: relative;
}
.time > span:first-child{
    padding-right: 30px;
}
.write-to-us a.link{
    font-family: "Roboto-Bold";
    display: inline-block;
}
#contacts .btn-white{
    margin: 25px 0;
    background-color: white;
}
#footer{
    margin-top: 0px;
}
/* --------------Глобальные стили-------------- */
.block{
    margin-top: 60px;
}
.marginless{
    margin: 0 !important;
}
.paddingless{
    padding: 0 !important;
}
.center-horizontally{
    left: 50%;
    transform: translateX(-50%);
}
.center-vertically{
    top: 50%;
    transform: translateY(-50%);
}
.center{
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
}
.abs{
    position: absolute !important;
}
.rel{
    position: relative;
}
.max-width{
    width: 100%;
}
.max-height{
    height: 100%;
}
.block{
    display: block;
}
/* -xs- only */
@media (max-width: 767px){
    .mobile-phone{
        position: relative;
        top: -10px;
    }
    .list-about li{
        font-size: 12px;
    }
    .contacts > span:last-child{
        font-size: 14px;
    }
    .title ~ a.btn-send{
        margin-top: 30px;
    }
    .mobile-body{
        position: fixed;
        width: 100%;
        height: 100%;
    }
    .mobile-menu{
        position: relative;
        display: block;
        width: 100%;
        height: 90vh;
        transition: all .4s linear;
        overflow-y: scroll;
    }
    .mobile-menu-closed{
        height: 0px;
        padding: 0 !important;
        overflow-y: scroll;
    }
    .mobile-menu-item{
        height: auto !important;
        display: block !important;
        padding: 10px;
        padding-right: 0;
        box-sizing: content-box;
        border-bottom: 1px solid lightgray;
    }
    .mobile-menu-dropdown{
        max-height: 1000px;
        overflow: hidden;
        transition: max-height .5s linear;
    }
    .mobile-menu-dropdown.closed{
        max-height: 0px !important;
        padding: 0 !important;
    }
    .mobile-menu > .container{
        height: 100%;
    }

    #catalogue > a:nth-child(n){
        border-left: 1px solid #e3e9ee;
    }
    #catalogue > a:last-child{
        border-bottom: 1px solid #e3e9ee;
    }
    .slide .send-btn > img{
        margin-right: 10px !important;
    }
    #about .video-stub-main{
        height: 180px;
    }
    #about>.row>div:last-child{
        margin-top: 30px;
    }
    .list-about>li>img{
        margin-right: 15px;
    }
    #director > div{
        position: relative;
        width: 100%;
        height: 100%;
        padding: 0 20px;
    }
    #director>div>div:last-child{
        padding: 0 20px;
    }
    #director p{
        font-size: 1.3em;
        line-height: 1.5em;
    }
    .author{
        padding-top: 0px;
    }
    .author img{
        margin-bottom: 10px;
    }
    #contacts .address{
        margin: 0;
    }
    #contacts .contacts:first-child{
        margin-bottom: 20px;
    }
    #contacts .time{
        margin-bottom: 10px;
    }
    .write-to-us{
        margin-top: 5px;
        margin-bottom: 0 !important;
        position: relative;
    }
    .time-n-mail{
        height: 45px;
    }
}

/* -lg- */
@media (min-width: 768px){
    #catalogue > a:nth-child(4n + 1){
        border-left: 1px solid #e3e9ee;
    }
    #catalogue > a:nth-last-child(-n+4){
        border-bottom: 1px solid #e3e9ee;
    }
    #director > div{
        position: relative;
        width: calc(1170px + (100% - 1170px)/2);
        height: 100%;
        padding-right: 15px;
    }
    #director .author{
        padding-top: 70px
    }
    .main-slider-container{
        padding-top: 80px;
    }
    /* Расположение стрелок слайдера*/
    .video-stub-main{
        height: 434px;
    }
    .time-n-mail{
        height: 30px;
    }
    /* Отступ правой колонки о компании */
    #about > .row > div:last-child{
        margin-left: 0px;
        padding-left: 45px;
        margin-top: 30px;
    }
}
#header .mail-wrapper{
	display: block;
	padding-left: 20px;
	margin-left: -20px;
}
body{
	min-height: calc(100% - 114px);
}
footer{
	position: absolute;
	left: 0;
	top: 100%;
	width: 100%;
}
@media (max-width: 991px){
	body{
		min-height: calc(100% - 148px);
	}
}
@media (max-width: 767px){
	.btn-mobile{
		padding-left: 0 !important;
		padding-right: 0 !important;
		text-align: center;
		width: 100% !important;
	}
}