/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
    .title-big {
        font-size: 40px;
    }
    .billbord__descr {
        font-size: 18px;
    }
    .calculator__content {
        padding: 15px;
    }
    .info-chekbox {
        padding: 15px 10px;
        font-size: 12px;
        margin-left: 23px;
    } 
    .title-middle {
        font-size: 28px;
    }
    .calculator .title-middle {
        margin-bottom: 17px;
    }
    .title-small {
        font-size: 16px;
    }
    .item-portfolio {
        padding: 25px;
        padding-right: 200px;
    }
    .item-portfolio__title {
        font-size: 20px;
    }
    .item-portfolio p {
        margin-bottom: 12px;
    }
    body {
        font-size: 15px;
    }
    .item-advantage__title {
        font-size: 26px;
    }
    .item-advantage {
        padding: 22px;
        padding-right: 14px;
        padding-bottom: 120px;
    }
    .title-section {
        font-size: 35px;
    }
    .agree-form {
        font-size: 11px;
    }
    .item-service {
        padding: 20px;
    }
    .item-service__text {
        font-size: 13px;
        padding-top: 16px;
        padding-bottom: 20px;
    }
    .item-service__title {
        font-size: 28px;
    }
    .about__main .title-section {
        margin-right: -42px;
    }
    .about__main {
        padding: 22px;
        padding-bottom: 0;
    }
    .btn-main.btn-main_play {
        padding: 0 18px;
    }
    .about__line {
        gap: 16px;
        margin-right: -25px;
    }
    .item-consultant {
        gap: 10px;
    }
    .item-consultant__title {
        font-size: 16px;
    }
    .about__descr {
        margin-bottom: 16px;
    }
    .histories__image img {
        max-width: 590px;
        margin-left: -80px;
    }
    .histories .title-section {
        margin-top: 55px;
    }
    .row > div:nth-child(2) .footer__col {
        margin-left: 65px;
    }
    .row > div:nth-child(3) .footer__col {
        margin-left: 95px;
    }
    .row > div:nth-child(4) .footer__col {
        margin-left: 67px;
    }
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
    .header__wrapper .header__contacts,
    .header__wrapper .menu {
        display: none;
    }
    .billbord {
        padding: 30px 0;
        color: #2C3136;
        background: transparent;
    }
    .title-big {
        font-size: 26px;
    }
    .billbord__descr::before {
        background: rgba(124, 0, 93, 0.3);
    }
    .billbord__descr {
        font-size: 14px;
    }
    .billbord__content ul li a {
        color: #2c3136;
        border-color: rgba(44, 49, 54, 0.5);
    }
    .billbord__content ul li {
        font-size: 14px;
        padding-left: 13px;
        margin-bottom: 7px;
        line-height: 133%;
    }
    .billbord__content ul li::before {
        left: 1px;
    }
    .hidden-mob {
        display: none !important;
    }
    .calculator {
        margin-top: 20px;
    }
    .calculator__content {
        padding: 20px;
    }
    .calculator .title-middle {
        margin-bottom: 10px;
        text-align: left;
    }
    .title-middle {
        font-size: 21px;
    }
    .item-radio label > span::before, .item-radio label > span::after {
        width: 24px;
        height: 24px;
    }
    .item-radio {
        font-size: 14px;
    }
    .item-radio label > span {
        padding-left: 29px;
    }
    .wrap-checkboxes {
        gap: 14px;
    }
    .calculator__title {
        font-size: 14px
    }
    .calculator__title .hint {
        display: none;
    }
    .calculator__item {
        margin-bottom: 15px;
    }
    .calculator__item_tab {
        display: none;
    }
    .irs--flat .irs-handle {
        width: 22px;
        height: 22px;
        top: -10px;
        border-width: 3px;
    }
    .irs--flat {
        height: 29px;
    }
    .calculator__bottom {
        padding: 20px;
        padding-top: 15px;
    }
    .billbord__content {
        display: block;
        min-height: initial;
    }
    .billbord__content.show-mob {
        margin-top: 20px;
    }
    .about, .portfolio, .services, .callback {
        padding: 30px 0;
    }
    .name-section {
        font-size: 14px;
        margin-bottom: 5px;
    }
    .title-section {
        font-size: 26px;
        margin-bottom: 10px;
    }
    .title-small {
        font-size: 14px;
    }
    .portfolio .title-small {
        margin-bottom: 15px;
    }
    .tabs a {
        padding: 6px 10px;
        font-size: 16px;
    }
    .tabs {
        gap: 5px;
    }
    .item-portfolio__image {
        display: none;
    }
    .item-portfolio {
        padding: 20px;
    }
    .logo-portfolio img {
        max-height: 25px;
    }
    .item-portfolio__title {
        margin-bottom: 7px;
    }
    body {
        font-size: 14px;
    }
    .item-portfolio p {
        margin-bottom: 15px;
    }
    .item-portfolio .btn-main {
        width: 100%;
    }
    .row_portfolio > div:nth-child(n+3) {
        display: none;
    }
    .button-more {
        padding-top: 15px;
        text-align: center;
    }
    .btn-main {
        font-size: 15px;
    }
    .button-more .btn-main {
        font-size: 14px;
        padding: 0 39px;
        height: 44px;
    }
    .advantages {
        padding: 30px 0;
    }
    .item-advantage {
        padding: 0;
        line-height: 143%;
    }
    .item-advantage__title {
        padding: 15px 20px;
        padding-left: 42px;
        gap: 8px;
        font-size: 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .item-advantage__title::after {
        position: relative;
        display: block;
        content: "\f078";
        color: #7C005D;
        -moz-osx-font-smoothing: grayscale;
        -webkit-font-smoothing: antialiased;
        display: inline-block;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        line-height: 1;
        font-family: "Font Awesome 5 Pro";
        font-weight: 400;
        font-size: 70%;
        transition: all 0.3s;
    }
    .item-advantage.active .item-advantage__title::after {
        transform: rotate(180deg);
    }
    .item-advantage::before {
        width: 17px;
        height: 17px;
        top: 18px;
        left: 18px;
        background-size: 9px auto;
    }
    .row.row_main > div {
        margin-bottom: 10px;
    }
    .row.row_main {
        margin-bottom: -10px;
    }
    .item-advantage__content {
        padding: 20px;
        padding-top: 0;
        padding-bottom: 65px;
        display: none;
        position: relative;
    }
    .item-advantage__content p {
        max-width: 235px;
    }
    .callback__main {
        padding: 30px 20px;
        line-height: 121%;
        border: none;
    }
    .callback__main .title-middle {
        font-size: 22px;
    }
    .callback__main .item-consultant {
        margin-top: 20px;
    }
    .item-consultant {
        gap: 15px;
    }
    .item-consultant__image {
        width: 45px;
        height: 45px;
    }
    .callback__content {
        padding-bottom: 20px;
    }
    .item-form input {
        height: 50px;
        font-size: 14px;
    }
    .callback__main .btn-main {
        height: 50px;
    }
    .agree-form {
        font-size: 12px;
    }
    .services .title-section {
        margin-bottom: 15px;
        line-height: 130%;
    }
    .services .title-small {
        display: none;
    }
    .item-service__descr {
        min-height: initial;
    }
    .item-service__text {
        font-size: 14px;
        padding: 20px 0;
    }
    .item-service__title {
        font-size: 22px;
    }
    .item-service {
        padding: 25px 20px;
    }
    .services .row.row_main > div {
        margin-bottom: 15px;
    }
    .services .row.row_main {
        margin-bottom: -15px;
    }
    .about__main .title-section {
        font-size: 22px;
        margin-right: 0;
        line-height: 130%;
    }
    .about__main .name-section {
        margin-top: 0;
    }
    .about__main {
        padding: 25px 15px;
        border: none;
        padding-bottom: 0;
    }
    .about__line {
        gap: 15px;
        margin: 0;
        flex-direction: column-reverse;
        align-items: flex-start;
    }
    .btn-main.btn-main_play {
        width: 100%;
    }
    .about__image {
        margin-top: 15px;
        margin-left: -15px;
        margin-right: 0;
        margin-bottom: -4px;
    }
    .team {
        padding: 30px 0;
    }
    .team .title-section {
        margin-bottom: 15px;
    }
    .slider-team .item-team {
        width: 215px;
    }
    .slider-team {
        margin-right: -15px;
    }
    .slider-team .slick-slide {
        padding: 0;
        margin-right: 10px;
    }
    .slider-team .slick-list {
        margin: 0;
    }
    .item-team__content {
        padding: 10px 15px;
        padding-bottom: 55px;
    }
    .item-team__title {
        font-size: 18px;
    }
    .item-team__descr {
        font-size: 11px;
    }
    .item-team {
        font-size: 14px;
        position: relative;
    }
    .item-team .socials-list {
        bottom: 15px;
        left: 15px;
        position: absolute;
    }
    .slider-team {
        padding-bottom: 25px;
    }
    .histories .title-section {
        margin-top: 0;
    }
    .histories {
        padding-top: 30px;
        padding-bottom: 19px;
    }
    .histories__line {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
    .histories__line .btn-main {
        width: 100%;
    }
    .histories__image img {
        max-width: 100%;
        width: 100%;
        margin: 0;
    }
    .histories__image {
        margin: 0 -15px;
        margin-top: 20px;
    }
    .footer {
        border: none;
    }
    .footer .logo img {
        width: 129px;
    }
    .footer__requisites {
        margin-top: 15px;
        margin-bottom: 10px;
    }
    .footer .row > div {
        margin-bottom: 25px;
    }
    .footer .row {
        margin-bottom: -25px;
    }
    .footer__col {
        margin: 0 !important;
    }
    .footer .row > div:nth-child(4) {
        order: -1;
    }
    .footer .row > div:nth-child(1) {
        order: -4;
    }
    .footer__title {
        margin-bottom: 10px;
    }
    .footer__nav li {
        font-size: 15px;
        margin-bottom: 13px;
    }
    .footer__nav li:last-child {
        margin-bottom: 0;
    }
    .footer__bottom {
        padding-top: 15px;
        gap: 15px;
        margin-top: 25px;
        flex-direction: column-reverse;
        align-items: flex-start;
    }
    .link-create__title {
        font-size: 15px;
    }
    .logo img {
        width: 112px;
    }
    .header {
        padding: 7px 0;
    }
    .menu-mobile {
        width: 100%;
        top: 100%;
        left: 0;
        max-height: 100vh;
        padding: 0 15px;
        padding-bottom: 40px;
        display: none;
        overflow: auto;
        background: #fff;
        position: absolute;
    }
    .menu-mobile .menu {
        margin-bottom: 20px;
        display: block;
    }
    .menu-mobile .menu a {
        padding: 22px 0;
        border-bottom: 0.50px solid #f0f3f6;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .menu-mobile .menu a span {
        border-bottom: 1px #2c3136 solid;
    }
    .menu-overlay {
        top: 126px;
        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;
    }
    .header__contacts {
        gap: 15px;
        justify-content: space-between;
    }
    .fancybox-slide {
        padding-left: 12px;
        padding-right: 12px;
    }
    .head-modal {
        padding: 20px;
    }
    .title-modal {
        font-size: 24px;
        margin-bottom: 7px;
    }
    .descr-modal {
        font-size: 13px;
    }
    .content-modal {
        padding: 15px 20px;
    }
    .item-form_page input {
        height: 46px;
        font-size: 14px;
    }
    .hint::before,
    .hint__content {
        visibility: visible;
        opacity: 1;
        display: none;
        transition: initial;
    }
    .hint.active .hint__content,
    .hint.active::before {
        display: block;
    }
    .item-radio:nth-child(3) .hint__content {
        left: -50%;
    }
    .wrapper {
        padding-top: 54px;
    }
    .container {
        max-width: 100%;
    }
    .item-advantage__image img {
        max-height: 124px;
        transform: scale(0.85);
        transform-origin: 100% 100%;
    }
    .row > div:nth-child(1) .item-advantage__image img {
        max-height: 146px;
    }
    .advantages .title-section {
        margin-bottom: 18px;
    }
}

/* 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) {
    .menu-overlay,
    .menu-mobile,
    .sandwich,
    .show-mob,
    .calculator__item .item-radio .hint {
        display: none !important;
    }
}

 /* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
    .container {
        max-width: 1143px;
    }
}
@media (min-width: 1600px) {

}

@media (hover: hover) {
    .btn-main:hover {
        background: #970b74;
    }
    .btn-main:active {
        background: #9d4c89;
    }
    .btn-main.btn-main_page:hover {
        background: #7C005D;
        color: #fff;
    }
    .btn-main.btn-main_page:hover img {
        filter: brightness(0) invert(1);
    }
    .btn-main.btn-main_page:active {
        background: #9d4c89;
        color: #fff;
    }
    .btn-main.btn-main_page:active img {
        filter: brightness(0) invert(1);
    }
    .btn-main.btn-main_play:hover {
        background: #FF0000;
        color: #fff;
    }
    .btn-main.btn-main_play:hover img {
        filter: brightness(0) invert(1);
    }
    .btn-main.btn-main_play:active {
        background: #f46e6e;
        color: #fff;
    }
    .btn-main.btn-main_play:active img {
        filter: brightness(0) invert(1);
    }
    .btn-main.btn-main_tg:hover {
        background: #2BABEE;
        color: #fff;
    }
    .btn-main.btn-main_tg:hover img {
        filter: brightness(0) invert(1);
    }
    .btn-main.btn-main_tg:active {
        background: #79c9f3;
        color: #fff;
    }
    .btn-main.btn-main_tg:active img {
        filter: brightness(0) invert(1);
    }
    .footer__contacts a:hover,
    .menu a:hover,
    .footer__nav a:hover {
        color: #7C005D;
        border-color: #7C005D;
    }
    .footer__contacts a:active,
    .menu a:active,
    .footer__nav a:active {
        color: #9d4c89;
        border-color: #9d4c89;
    }
    .btn-social:hover img,
    .socials-list a:hover img {
        opacity: 0.8;
    }
    .tabs a:hover {
        background: #f0f3f6;
    }
    .btn-main.btn-main_default:hover {
        background: #d5dadf;
    }
}

@media (hover: none) {
    .btn-main:active {
        background: #970b74;
    }
    .btn-main.btn-main_page:active {
        background: #7C005D;
        color: #fff;
    }
    .btn-main.btn-main_page:active img {
        filter: brightness(0) invert(1);
    }
    .btn-main.btn-main_play:active {
        background: #FF0000;
        color: #fff;
    }
    .btn-main.btn-main_play:active img {
        filter: brightness(0) invert(1);
    }
    .btn-main.btn-main_tg:active {
        background: #2BABEE;
        color: #fff;
    }
    .btn-main.btn-main_tg:active img {
        filter: brightness(0) invert(1);
    }
    .footer__contacts a:active,
    .menu a:active,
    .footer__nav a:active {
        color: #7C005D;
        border-color: #7C005D;
    }
    .btn-social:active img,
    .socials-list a:active img {
        opacity: 0.8;
    }
    .tabs a:active {
        background: #f0f3f6;
    }
    .btn-main.btn-main_default:active {
        background: #d5dadf;
    }
}