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

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
    .billbord__content {
        max-width: 495px;
    }
    .title-big {
        font-size: 40px;
    }
    .list-page li {
        font-size: 19px;
    }
   
    
    .item-box, .item-portfolio {
        padding: 20px;
    }
    .item-portfolio__image {
        height: 225px;
    }
    .item-process__title {
        font-size: 15px;
    }
    .item-process {
        font-size: 13px;
    } 
    body {
        font-size: 14px;
    }
    .item-box__image {
        /* //height: 162px; */
    }

    .footer .btn-main {
        padding: 0 16px;
    }
    .calculator {
        padding: 15px;
        margin-left: -38px;
    }
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
    .header__wrapper .header__contacts,
    .header__wrapper .menu {
        display: none;
    }
    .logo img {
        width: 149px;
    }
    .header {
        padding: 15px 0;
    }
    .billbord {
        padding: 50px 0;
    }
    .title-big {
        font-size: 26px;
        margin-bottom: 20px;
    }
    .billbord .title-big {
        max-width: 325px;
    }
    .list-page li {
        font-size: 16px;
        padding-left: 25px;
        margin-bottom: 10px;
    }
    .calculator {
        padding: 25px 15px;
        margin: 0;
        margin-top: 10px;
    }
    .advantages {
        padding: 50px 0;
    }
    .title-section {
        font-size: 26px;
        margin-bottom: 25px;
    }
    .row.row_advantages > div {
        margin-top: 27px;
    }
    .item-advantage {
        padding: 25px 15px;
    }
    .item-advantage__content {
        padding-top: 20px;
        display: none;
    }
    .item-advantage__head {
        gap: 15px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .item-advantage__btn {
        width: 36px;
        height: 36px;
        font-size: 18px;
        color: #606060;
        background: #ebebeb;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: none;
    }
    .item-advantage .title-middle {
        margin: 0;
    }
    .item-advantage.active .item-advantage__btn i::before {
        content: "\f068";
    }
    .hidden-mob {
        display: none !important;
    }
    .item-portfolio__image {
        height: 199px;
        margin: -15px;
        margin-bottom: 15px;
        width: auto;
    }
    .item-portfolio {
        padding: 15px;
        border: 1px solid #e6e6e6;
        box-shadow: none;
        gap: 0;
    }
    .list-portfolio .item-portfolio {
        margin-bottom: 15px;
        min-height: initial;
    }
    .item-portfolio__image.fancybox::after {
        width: 55px;
        height: 55px;
        background-size: 23px auto;
    }
    .item-portfolio__info {
        font-size: 12px;
        max-width: 210px
    }

 
    .button-team,
    .button-clients,
    .button-portfolio {
        text-align: center;
    }
    .btn-main.btn-main_default {
        background: #e6e6e6;
        box-shadow: none;
        color: rgba(26, 26, 26, 0.8);
        border: none;
    }
  
  
    .tabs {
        margin-right: -15px;
        margin-bottom: 25px;
        gap: 7px;
        overflow: auto;
        white-space: nowrap;
        flex-wrap: nowrap;
    }
    .tabs::-webkit-scrollbar {
        -webkit-appearance: none;
    }
    .tabs::-webkit-scrollbar:vertical {
        width: 3px;
    }
    .tabs::-webkit-scrollbar:horizontal {
        height: 3px;
    }
    .tabs::-webkit-scrollbar-thumb {
        background-color: transparent;
        border-radius: 10px;
    }
    .tabs::-webkit-scrollbar-track {
        border-radius: 10px;
        background-color: transparent;
    }
    .tabs a {
        padding: 3px 10px;
        line-height: 145%;
    }
    .item-process {
        padding-bottom: 20px;
        padding-left: 37px;
    }
    .item-process_dot {
        margin: 0;
        top: 0;
        left: 0;
        position: absolute;
    }
    .item-process::before {
        width: 1px;
        height: 100%;
        top: 5px;
        left: 11px;
    }
    .item-process__title {
        font-size: 14px;
    }
    .row_process > div:last-child .item-process {
        padding-bottom: 0;
    }
 
    .row.row_main > div {
        margin-bottom: 20px;
    }
    .row.row_main {
        margin-bottom: -20px;
    }
    .item-box {
        padding: 10px;
        box-shadow: none;
        border: 1px solid #e6e6e6;
    }
    .list-links li {
        font-size: 12px;
        margin-bottom: 3px;
        text-align: center;
    }
    .item-box__logo  {
        margin: 0 auto;
    }
    .item-box .btn-main {
        padding: 0 5px;
        gap: 10px;
    }
    .row_team > div:nth-child(n+3),
    .row_clients > div:nth-child(n+7) {
        display: none;
    }
    .button-team .btn-main,
    .button-clients .btn-main {
        margin-top: 25px;
    }

    .contacts__block .row {
        flex-direction: column-reverse;
    }
    .contacts__block {
        padding: 25px 10px;
        border: 1px solid #e3e3e3;
    }
    .contacts__block .title-middle {
        font-size: 14px;
        margin-bottom: 10px;
    }
    .location-item {
        margin-top: 11px;
    }
    .contacts__block .btn-main {
        width: 100%;
        font-size: 16px;
    }
    .contacts__image {
        margin-top: 15px;
    }
    .footer {
        padding: 50px 0;
    }
    .footer__contacts {
        text-align: left;
        align-items: flex-start;
    }
    .item-contact {
        margin-bottom: 20px;
    }
    .footer .btn-main {
        margin-top: 0;
        font-size: 16px;
    }
    .footer .logo {
        margin-bottom: 20px;
        display: inline-block;
        vertical-align: middle;
    }
    .sandwich {
        display: flex;
    }
    .phone-mobile {
        width: 47px;
        height: 47px;
        background-color: #ac1e3d;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: none;
        background-image: url(../img/phone.svg);
        background-repeat: no-repeat;
        background-position: center;
    }
    .header__wrapper .logo {
        margin-right: auto;
    }
    .header__wrapper {
        gap: 5px;
    }
    .wrapper {
        padding-top: 77px;
    }
    .header.fixed {
        padding: 15px 0;
    }

    .menu-mobile {
        width: 100%;
        top: 100%;
        left: 0;
        max-height: 100vh;
        padding: 20px 15px;
        padding-bottom: 80px;
        display: none;
        overflow: auto;
        background: #fff;
        position: absolute;
      }
      .menu a {
        margin: 0;
        padding: 15px 0;
        font-size: 16px;
        line-height: 140%;
        text-align: left;
        position: relative;
        border: none;
        border-radius: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.2);
      }
      .menu-mobile .menu {
        display: block;
        margin: 0;
        margin-bottom: 20px;
      }
      .header__contacts {
        align-items: flex-start;
      }
      .menu-overlay {
        top: 107px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.7);
        position: fixed;
        z-index: -1;
        display: none;
    }
    .no-scroll {
        overflow: hidden;
    }
    .modal-wrap {
        padding: 35px 15px;
    }
    .item-form,
    .modal-wrap .title-middle {
        margin-bottom: 15px;
    }
    .item-form__title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    .descr-form {
        font-size: 16px;
    }
    .modal-wrap .title-middle {
        font-size: 26px;
    }
  
    .calculator__item_checkbox .calculator__title {
        max-width: 130px;
    }
    .calculator__item_range .calculator__title {
        max-width: 110px;
    }
    .calculator__title {
        line-height: 140%;
    }
    .irs--flat .irs-single {
        margin-bottom: 33px;
    }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {

}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {

}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {

}


/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {

}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {

}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {

}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
    .item-advantage__content {
        display: block !important;
    }
    .menu-overlay,
    .menu-mobile,
    .phone-mobile,
    .show-mob,
    .item-advantage__btn {
        display: none !important;
    }
}

 /* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
	.container {
        max-width: 1150px;
    }
}
@media (min-width: 1600px) {

}