﻿/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
    .in-menu__link {
        padding: 25px 10px;
    }
    .header-fix__logo {
        margin: 23px 0;
        width: 80px;
    }
    .header-fix__lang {
        margin: 20px 15px;
        line-height: 30px;
        font-size: 14px;
    }
    .vacansy__list {
        margin-left: 0;
    }
    .vacansy__ttl {
        display: table-cell;
        height: 74px;
        vertical-align: middle;
    }
    .vacansy__top {
        line-height: normal;
        padding: 0 75px 0 15px;
    }
    .sub-menu{
        display:none;
    }
    .sub-menu--small{
        display:block;
    }
    .header-fix-menu.fixed {
        padding: 15px 0;
    }
    .header-fix-menu.fixed.fix-small .sub-menu__link {
        padding: 20px;
    }
    .header-fix-menu.fixed.fix-small  {
        padding: 15px 0 0;
    }
    .page__fixed-m {
        padding-top: 80px;
    }

    .has-fmas {
        padding-top: 80px;
    }
    .has-fmas--small {
        padding-top: 130px;
    }
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
    .video__cnt {
        display:none;
    }
    .video__cnt-m {
        display:block;
    }

    .header__auth {
        display:none;
    }
    .burger {
        display:block;
    }
    .in-menu,
    .header-fix-menu__auth{
        display:none;
    }
    .main-menu {
        display:none;
    }
    .main-action__cell{
        display:block;
        width:100%;
    }
    .header-fix-menu,
    .header-fix-menu.squeeze{
        display:none;
    }
    .header-fix-menu.fixed,
    .header-fix-menu.fixed.squeeze{
        display:block;
        position:absolute;
    }
    .main-action__cnt {
        max-width: none;
    }
    .main-action__cell:last-child {
        width: 750px;
        margin-right: auto;
        margin-left: auto;
        padding:40px;
        padding-left: 15px;
        padding-right: 15px;
        min-height:auto;
        height:auto;

    }
    header .top-header{
        padding-left:15px;
        padding-right:15px;
    }
    .main-news {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .main-top__404 {
        height: 390px;
    }
    .main-top__404 img {
        max-height: 120%;
        width:auto;
    }
    .e404__cnt {
        position: absolute;
        top: 150px;
    }
    .carreer_items span.main__cnt {
        font-size: 0.9em;
        line-height: 1.5em;
        align-self: center;
        margin-top: 20px;
    }
    .carreer_items {
        width: 46%;
    }

    img {
        max-width: 100%;
    }
}
@media only screen and (min-width : 767px) {
    .footer-menu__list{
        display:block!important;
    }
    .modal-dialog {
        width: 1050px !important;
		margin: 0 auto;
    }
    .modal-body {
        padding: 0 !important;
    }
}


/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
	.main-top__video {
	    min-height: 0;
	}
    .main-action__cell:last-child {
        width: 100%;
    }
    .main-top__ttl, .main__ttl {
        font-size: 40px;
    }
    .vacansy__list {
        margin-left: -14px;
        margin-right: -14px;
    }
    .main-vacansy {
        padding: 50px 0;
    }
    .vacansy__ttl {
        line-height: 26px;
        font-size:22px;
    }
    .footer-menu__ttl {
        color: #3a4568;
        font-size: 17px;
        margin-bottom: 15px;
        cursor: pointer;
    }
    .footer-menu__link {
        font-size: 17px;
    }
    .footer-menu__list{
        padding-left:30px;
        display:none;
    }
    .vacansy__descr {
        padding: 35px;
    }
    .after-b,.after-r,.after-l,.after-t{
        display: none;
    }
    .prod__cnt {
        padding: 70px 50px;
        height: auto;
    }
    .prod__list {
        margin-top: 0px;
        margin-bottom: 0px;
    }
    .page__fixed-m {
        padding-top: 100px;
    }
    .about-section {
        padding-top: 15px;
        padding-bottom: 60px;
    }
    .has-fmas {
        padding-top: 70px;
    }
    .has-fmas--small {
        padding-top: 120px;
    }
    .header-fix-menu.fixed,
    .header-fix-menu.fixed.no-sub {
        padding: 0;
    }
    #news-container .news__container{
        height:auto!important;
    }
    .news-block {
        padding-bottom: 30px;
    }
    .news__block {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .content {
        padding-top: 30px;
        padding-bottom: 40px;
    }
    .has-fm {
        padding-top: 70px;
    }

    .modal {
        height: 100%;
    }

    .modal-body {
        position: relative;
        padding-bottom: 56.25%!important;
        padding-top: 35px!important;
        height: 0;
        overflow: hidden;
    }

    .modal-body iframe {
        position: absolute;
        top:0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    img {
        max-width: 100%;
    }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
	.bx-core-adm-dialog {
		max-width: 100%;
	}
	.bx-core-adm-dialog .bx-core-adm-dialog-content-wrap-inner {
		max-width: 50%;
	}
	.video__cnt-m .main-top__ttl,.video__cnt-m .main__ttl {
		font-size: 40px;
		margin-top: -167px;
		position: relative;
		color: #fff;
		text-shadow: 0 2px 2px rgba(0,0,0,1);
		letter-spacing: 0.03em;
		line-height: 50px;
	}
	.video__cnt-m {
		padding-bottom: 0;
	}

	.main-news {
		margin-top: -30px;
	}

    .carreer_items {
        width: 100%;
    }
	.content {
		padding-top: 0;
	}
    .main-top__video {
        min-height: 30%;
    }
    .header-menu__item:before {
        width: 80px;
    }
    .contacts__info {
        right: 16%;
    	left: 0%;
    	height: 55%;
    	width: 100%;
    	font-size: 14px;
    	top: auto;
    	padding: 30px;
    	padding-top: 0px;
    	bottom: 0;
    }
    .contacts__pstyle {
        margin-left: auto;
    }

    .header-fix-menu .top-header {
        padding: 0 20px;
    }

    img {
        max-width: 100%;
    }

    .header-menu__item:before {
        top:10px;
    }

    .header-menu__item {
        padding: 25px 20px 35px 145px;
        font-size: 20px;
    }
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 360px) {
    img {
        max-width: 100%;
    }

    .header-menu__item {
        padding: 25px 20px 20px 145px;
        font-size: 14px;
    }

    .header-menu__item:before {
        top:5px;
    }
}

@media only screen and (max-width : 320px) {
    .contacts__pstyle {
        margin-left: 80px;
    }

    .news__btn {
        padding: 5px;
    }
}

/* Large Devices, Wide Screens */
/* @media only screen and (min-width : 1600px) {
	.container{
		width:100%;
		padding:0 120px
	}
} */

@media only screen and (min-width: 1200px) {
    /*.in-container-product{
        width: 1180px;
        padding: 0 15px;
    }
    .in-container-about {
        max-width: 1030px;
        margin: auto;
    }*/
}

@media only screen and (min-width: 1368px) {
    .in-menu__link {
        padding: 25px 20px;
    }
}
@media only screen and (min-width: 1202px) and (max-width: 1367px){
    .in-menu__link {
        padding: 25px 8px;
    }
}
@media only screen and (min-width:992px) and (max-width: 1200px) {
    .carreer_items {
        width: 47%;
    }
}
