/* переменные */
/* ============================================================
Planshet vertical
=======================================================*/
@media (min-width: 768px) {
  body {
    font-size: 18px;
  }
  h2 {
    margin-top: 120px;
  }
  .head_page h1 {
    margin-top: 90px;
  }
  header {
    height: 120px;
  }
  header .left_part .logo {
    width: 285px;
  }
  header .left_part .advantages {
    display: flex;
    color: #ffff;
    margin-top: 6px;
  }
  header .left_part .advantages .advantage:first-child{
    margin-right: 70px;
  }
  header .left_part .advantage {
    display: flex;
    align-items: center;
  }
  header .left_part .advantage p {
    margin: 0;
    font-size: 15px;
  }
  header .left_part .advantage > p:first-child {
    font-size: 30px;
    font-weight: bold;
    margin-right: 10px;
  }
  header .middle_part {
    margin: 0 auto;
    color: #fff;
    display: block;
  }
  header .middle_part p:last-child {
    font-size: 15px;
    margin: 0;
  }
  header .middle_part p:first-child {
    font-weight: bold;
    margin: 0;
  }
  header .phone a {
    width: auto;
    text-indent: 0px;
    overflow: auto;
    padding-left: 35px;
    color: #fff;
    font-weight: 500;
    font-size: 20px;
    background-size: 24px 20px;
    background-position: 0 2px;
  }
  nav {
    top: 120px;
  }
  footer form input {
    width: 80%;
  }
  footer .origami span {
    float: left;
    margin-right: 15px;
  }
  /* подвал с обратной связью */
  .box_feedback {
    padding: 70px 0;
    margin-top: 120px;
  }
  .box_feedback .col-xs-12 {
    padding: 48px;
  }
  /* элементы интерфейса */
  .fancybox-content {
    padding: 40px 40px;
  }
  .blue_block {
    padding: 70px 0;
    margin-top: 70px;
  }
  .two_column {
    -moz-column-count: 2;
         column-count: 2;
    -moz-column-gap: 70px;
         column-gap: 70px;
  }
  .two_column li {
    display: inline-grid;
    /* for Firefox */
    -moz-column-break-inside: avoid;
    -moz-page-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid-column;
    width: 100%;
  }
  .slick-slider .slick-arrow {
    width: 30px;
    height: 30px;
  }
  .slick-slider .prevBtn {
    left: 0;
  }
  .slick-slider .nextBtn {
    right: 0;
  }
  .slick-slider .slick-arrow::before {
    width: 25px;
    height: 25px;
    margin-top: -28px;
  }
  .slick-slider .nextBtn:hover::before {
    border-top-color: #000;
    border-right-color: #000;
  }
  .slick-slider .prevBtn:hover::before {
    border-bottom-color: #000;
    border-left-color: #000;
  }
  .geography_page .map {
    min-height: 600px;
  }
  /* INDEX */
  .index h1 {
    font-size: 26px;
    margin-top: 24px;
    width: 80%;
  }
  .index .logo {
    width: 230px;
    margin-top: 74px;
  }
  /* квадраты услуг и продукции*/
  .square_services {
    margin: 0 -15px;
  }
  .square_services .item {
    margin: 0 15px 30px;
  }
  /* описнаие продукции */
  .product_desc .title {
    font-size: 16px;
  }
  .product_desc .logo_associate {
    margin: 0 0 21px;
  }
  .product_desc .logo_associate img {
    height: 127px;
  }
  .product_desc .logo_associate img:not(:first-child) {
    margin-left: 30px;
  }
  .feature {
    margin-left: -15px;
    margin-right: -15px;
  }
  .feature .col-xs-12 {
    padding-right: 15px;
    padding-left: 15px;
    margin-bottom: 0;
  }
  /* слайдер */
  .center_slider {
    padding: 0 30px;
  }
  .center_slider .item {
    height: 520px;
  }
  /* реализованные проекты. список */
  .list_projects {
    display: flex;
    flex-wrap: wrap;
  }
      .list_projects::after, .list_projects::before {display: none;}
  .list_projects .col-xs-12 {
    float: none;
  }
  .list_projects .col-xs-12:nth-of-type(3n+1) {
    padding-right: 20px;
  }
  .list_projects .col-xs-12:nth-of-type(3n+2) {
    padding-right: 10px;
    padding-left: 10px;
  }
  .list_projects .col-xs-12:nth-of-type(3n) {
    padding-left: 20px;
  }
  .list_projects .item .title {
    height: 3.5em;
    overflow: hidden;
  }
  .list_projects .item .text {
    height: 4.5em;
    overflow: hidden;
  }
  /* контакты*/
  .contacts .map {
    margin: 0;
  }
  /* about */
  .about .feature .descr_img {
    margin-top: 30px;
  }
  .principy {
    margin-top: 30px;
  }
  .principy .img {
    padding: 0 15px;
  }
  .principy .img img {
    width: 100%;
    max-width: 100%;
  }
  .search_diler h3 {
    margin: 16px 0;
  }
  .search_diler .select {
    width: calc(100% - 150px);
  }
  .search_diler select {
    margin-bottom: 0;
  }
  .search_diler input {
    width: 120px;
    margin-left: 20px;
  }
  footer .phone {
    position: absolute;
    right: 0;
  }
}
/* END 768 */
/* ===============================

====================================*/
@media (min-width: 960px) and (max-width: 1219px) {
  .principy {
    font-size: 80%;
  }
  .principy p.text_blue {
    padding: 0 5px;
  }
}
/* ===============================

====================================*/
@media (min-width: 960px) {
  /* от 960рх*/
  h1 {
    font-size: 46px;
  }
  h2 {
    font-size: 42px;
  }
  h3 {
    font-size: 20px;
  }
  a:hover {
    color: #ca0101;
  }
  .button.but-main:hover,
  .btn.btn-default:hover {
    background-color: #ca0101;
    text-decoration: none;
  }
  .button.but-light:hover {
    background-color: #0065b4;
    color: #fff;
  }
  input[type='submit']:hover,
  input[type='button']:hover {
    background-color: #ca0101;
  }
  input[type='reset']:hover {
    background-color: #000;
  }
  /* INDEX */
  .index .head_page {
    background-position: 50% 50%;
  }
  .index h1 {
    width: 70%;
  }
  .index .head_page .logo {
    width: 330px;
  }
  .index_text p {
    font-size: 133%;
    line-height: 1.53;
  }
  /* квадраты услуг и продукции*/
  .square_services .item {
    transition: all 0.3s ease;
  }
  .square_services .item:hover {
    transform: scale(1.1);
  }
  .center_slider .slick-current {
    transform: scale(1);
  }
  /* отзывы. используют верстку реализ. проектов */
  .list_projects.reviews .item .img {
    max-height: 320px;
  }
  /* about */
  .principy {
    margin-top: 0;
    margin-left: 30px;
  }
}
/* END 960 */
@media (min-width: 768px) and (max-width: 1220px) {
  footer .logo {
    width: 190px;
  }
}
/* ===============================

====================================*/
@media (min-width: 1220px) {
  header .hamburger {
    display: none;
  }
  header .left_part .logo {
    width: 395px;
  }
  footer {
    margin-top: 140px;
  }
  footer .origami img {
    margin-top: -3px;
  }
  nav {
    padding: 0;
    color: #fff;
    background: #ca0101;
  }
  nav p {
    display: none;
  }
  nav ul:not(.submenu) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    text-align: center;
  }
  nav ul:not(.submenu) > li {
    position: relative;
    flex: 1 1 auto;
    padding: 20px 0 20px;
    transition: all 0.3s ease;
  }
  nav ul:not(.submenu) > li:not(:last-child)::after {
    content: "|";
    display: block;
    width: 2px;
    position: absolute;
    top: 19px;
    right: 3px;
  }
  /*nav li::before {
			content: ""; display: block;
			position: absolute; top: -20px; left: 0px; z-index: 1;
			width: 100%; height: 4px; background: #fff;
			transform: scaleX(0); 
			transition: all 0.2s ease;
		}
		nav li:hover::before,
		nav .selected::before {transform: scaleX(1); }*/
  nav ul:not(.submenu) a {
    letter-spacing: 0.2px;
    display: inline-block;
    position: relative;
    z-index: 2;
    width: 100%;
  }
  nav a:hover {
    color: inherit;
  }
  nav ul button {
    display: none;
  }
  nav ul.submenu {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 5;
    width: 100%;
    min-width: 200px;
    background: #fff;
    padding: 10px 10px 20px;
    text-align: left;
    transition: all 0.3s ease;
  }
  nav ul.submenu a {
    color: #ca0101;
  }
  nav ul.submenu li:not(:last-child) {
    padding-bottom: 16px;
  }
  nav ul:not(.submenu) > li:hover {
    background: #fff;
  }
  nav ul:not(.submenu) > li:hover a {
    color: #ca0101;
  }
  nav ul:not(.submenu) > li:hover ul.submenu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
  }
  nav ul.submenu a:hover {
    color: #0065b4 !important;
  }
  /* INDEX */
  .index .head_page {
    max-height: 900px;
    min-height: 745px;
  }
  .index h1 {
    width: 100%;
  }
  .index .head_page .logo {
    width: 748px;
    margin-top: 197px;
  }
  .index_text {
    padding: 120px 0 0;
  }
  .number1500 img {
    width: 100%;
    max-width: 370px;
  }
  .number1500 .title {
    font-size: 22px;
    padding: 22px 0 0;
  }
  /* квадраты услуг и продукции*/
  .square_services .item {
    max-height: 270px;
  }
  .geography_page .map {
    height: 60vh;
    max-height: none;
  }
  header .phone a {
    display: block;
  }
}
/* END 1220  */
/* ===============================

====================================*/
