﻿@media screen and (min-width: 1222px) {
  .mobile_menu_container, .menu_container{
      display: none;
  }
    .back {
    display: none!important;
  }
}
@media screen and (max-width: 1221px) {
  .container {
  width: 100%;
  padding:0 10px;
  }
/*  .flexslider .slides > li > a > img{
   width: 100%;
   height: auto;
}*/

  #topMenu .container,
  #topMenu ul.lfl,
  #topMenu ul.lfl > li {
      padding: 0 10px;
  }
  #topMenu ul.lfl{
      display: none;
  }
   #topMenu .container{
    padding: 0;
    width: 100%;
   }
  .tab:first-child {display: flex;flex-wrap: wrap;}
  .newsItem {
    float: none;
    width: 30%;
    padding: 0;
    margin: 0 0 30px 0;
  }
  .newsItem:nth-child(2), .newsItem:nth-child(5), .newsItem:nth-child(7) {
    margin: 0 30px 0 30px;
  }
/* мобильное меню */
.ham {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 400ms;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.hamRotate.active {
  transform: rotate(45deg);
}
.hamRotate180.active {
  transform: rotate(180deg);
}
.line {
  fill:none;
  transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
  stroke:#fff;
  stroke-width:5.5;
  stroke-linecap:round;
}
.ham1 .top {
  stroke-dasharray: 40 139;
}
.ham1 .bottom {
  stroke-dasharray: 40 180;
}
.ham1.active .top {
  stroke-dashoffset: -98px;
}
.ham1.active .bottom {
  stroke-dashoffset: -138px;
}
.company1{
  display:flex;
  flex-direction:column;
  align-items: center;
}
.company1 .col-3 {
     padding: 0; 
}

.topMenu{
    display:none;
}
.menu_container{
}
.mobile_menu{
  font-size: 20px;
  display: inline-block;
  vertical-align: top;
  line-height: 26px;
  padding: 0;
  color: #ffffff;
  background: transparent;
  border-radius: 2px;
  border: none;
  width: auto;
  margin: 0;
  text-decoration: none;
  -webkit-transition: all 400ms;
  -moz-transition: all 400ms;
  transition: all 400ms;
}
.mobile_menu:hover{
  color: #ec0046;
  cursor: pointer;
}
.mobile_menu_overlay, .mobile_menu_container{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.mobile_menu_container, .mobile_menu_container ul li ul{
  -webkit-transition: all 200ms;
  -moz-transition: all 200ms;
  transition: all 200ms;
}
.mobile_menu_overlay{
  display: none;
  cursor: pointer;
  z-index: 10200;
  background: rgba(0, 0, 0, 0.5);
}
.mobile_menu_container{
  -webkit-transform: translateX(-300px);
  transform: translateX(-300px);
  width: 300px;
  overflow: hidden;
  z-index: 10201;
  background: #39a7a9 url(../images/header-glow.png) top center no-repeat;
}
.mobile_menu_container.loaded{
  -webkit-transform: translateX(0px);
  transform: translateX(0px);
}
.mobile_menu_container .mobile_menu_content{
  overflow: auto;
  max-height: 100%;
  padding-bottom: 30px;
}
.mobile_menu_container ul{
  margin: 0;
  padding: 0;
}
.mobile_menu_container ul li{
  list-style: none;
}
.mobile_menu_container ul li a{
  display: block;
  padding: 15px 20px;
      background: #39a7a9 url(../images/header-glow.png) top center no-repeat;
  color: #ffffff;
  font-weight: bold;
  text-decoration: none;
}
.mobile_menu_container ul li a.parent{
  padding-right: 50px;
  background: #39a7a9 url("../images/right-arrow.svg") right 20px center no-repeat;
  background-size: 20px;
}
.mobile_menu_container ul li a.parent:hover{
  background: #39a7a9 url("../images/right-arrow.svg") right 20px center no-repeat;
  background-size: 20px;
}
.mobile_menu_container ul li a.back{
  padding-left: 50px;
  background: #39a7a9 url("../images/left-arrow.svg") left 20px center no-repeat;
  background-size: 20px;
  min-height: 50px;
}
.mobile_menu_container ul li a.back:hover{
  background: #39a7a9 url("../images/left-arrow.svg") left 20px center no-repeat;
  background-size: 20px;
}
.mobile_menu_container ul li a:hover{
  background: #39a7a9;
}
.mobile_menu_container ul li ul{
  -webkit-transform: translateX(300px);
  transform: translateX(300px);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #39a7a9;
  z-index: 2;
}
.mobile_menu_container ul li ul.loaded{
  -webkit-transform: translateX(0px);
  transform: translateX(0px);
}
.locked {
  overflow: hidden;
}

@-webkit-keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 50px;
  }
  100% {
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 50px;
  }
  100% {
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
}
} 

@media screen and (max-width:986px) {
/*  .newsItem {
    width: 45%;
    margin: 0 0 20px 0;
}*/
#footer > .container {
    height: auto;
}
#footer {
     height: auto; 
}
.footerCol {
    width: 45%;
}
.footerCol:last-child {
    width: 100%;
    margin-left: 0;
}
  /*.newsItem:nth-child(2n) {
    margin: 0 0 30px 30px;
  }*/

}
@media screen and (min-width: 1000px) {

  .flexslider .slides > li > a > img {
      object-position: bottom;
      width: 100%;
      height: 500px;
      object-fit: cover;
  }
}
@media screen and (min-width: 800px) {
  .flexslider .slides > li > a > img {
      object-position: bottom;
      width: 100%;
      height: 400px;
      object-fit: cover;
  }
}
@media screen and (max-width:800px) {
    #mainSlider {
      max-height: 370px;
    margin: 40px 20px 0;
  }
    .flexslider .slides > li > a > img {
      object-position: bottom;
      width: 100%;
      height: 350px;
      object-fit: cover;
  }
}
@media screen and (max-width:715px) {
    #mainSlider {
      max-height: 320px;
    margin: 40px 20px  0;
  }
    .flexslider .slides > li > a > img {
      object-position: bottom;
      width: 100%;
      height: 300px;
      object-fit: cover;
  }
}
@media screen and (max-width:604px) {
.footerCol {
    width: 100%;
    margin-left: 0;
}
}
@media screen and (max-width:425px) {
  .contacts {
    margin: 40px 0px 0 0;
  }
}
@media screen and (max-width:420px) {
  #mainSlider {
      max-height: 220px;
  }
}
@media screen and (max-width:416px) {
  .create{
    float: none;
  }
  #footerBot {
    line-height: 2em;
  }
}
@media screen and (max-width:388px) {
  #header{
    padding-top: 20px;
  }
  #header.container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    
  }
  #logo {
    position: unset;
    top: 0;
    left: 0;
  }
  .logo_img{
    width: 35%;
  }
  .contacts{
    margin: 0; 
  }
     #mainSlider {
      max-height: 280px;
    margin: 20px 15px  0;
  }
    .flexslider .slides > li > a > img {
      object-position: bottom;
      width: 100%;
      height: 250px;
      object-fit: cover;
  }
}