.picture .img {
    width: 100%;
}


/* Reset «app.css» -------------------------------------*/

.top--light .header,
.top--light .breadcrumb-wrapper,
.top--light .main-section {
    background: var(--bg-section-gray);
}

.top--light .main-section h1 {
    color: #000000;
}

.main-section h1 .price {
    position: relative;
    top: -5px;
    width: 105px;
    height: 25px;
    background: url("../img/price-bg-white.svg") no-repeat 50% 50%/100%;
    color: #ffffff;
    padding-left: 15px;
    font-size: 14px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.header__nav ul {
    /*padding: 0 30px !important;*/
}

.header__nav ul li {
    padding: 0 55px 0 0 !important;
}

.header__nav ul li a,
.header__nav ul li p {
    font-size: 12px !important;
    line-height: 26px;
    white-space: nowrap;
}

.header .container {
    justify-content: flex-start !important;
}

.header .logo {
    margin-right: auto !important;
}


/* Main-section --------------------------------------- */
.main-section__advantages {
    max-width: 615px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 25px;
}

.main-section__advantages-item {
    position: relative;
    font-size: 14px !important;
    line-height: 22px;
}

.main-section__advantages-item:first-child:before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 55px;
    height: 2px;
    background: linear-gradient(136.92deg, #282828 21.87%, #1A1A1A 82.73%);
    opacity: 0.15;
}


/* Main menu ( dropdown menu ) -------------------------*/
.top--light .mobile-header #menu-wrapper,
.top--light .dropdown__menu,
.top--light .header__dropdown {
    background: var(--bg-section-gray) !important;
}
.menu-custom-item:nth-of-type(1) .menu-item__list-item:nth-of-type(1) span.menu-icon,
.menu-custom-item:nth-of-type(1) .menu-item__list-item:nth-of-type(2) span.menu-icon,
.menu-custom-item:nth-of-type(1) .menu-item__list-item:nth-of-type(3) span.menu-icon,
.menu-custom-item:nth-of-type(1) .menu-item__list-item:nth-of-type(4) span.menu-icon,
.menu-custom-item:nth-of-type(1) .menu-item__list-item:nth-of-type(5) span.menu-icon,
.menu-custom-item:nth-of-type(2) .menu-item__list-item:nth-of-type(1) span.menu-icon,
.menu-custom-item:nth-of-type(2) .menu-item__list-item:nth-of-type(2) span.menu-icon {
    display: inline-block;
    padding-left: 45px !important;
    min-height: 33px;
    background-repeat: no-repeat;
    background-size: contain;
}

.menu-custom-item:nth-of-type(1) .menu-item__list-item:nth-of-type(1) span.menu-icon {
    background-image: url("../img/new-main/menu-icon-1.svg");
}
.menu-custom-item:nth-of-type(1) .menu-item__list-item:nth-of-type(2) span.menu-icon {
    background-image: url("../img/new-main/menu-icon-2.svg");
}
.menu-custom-item:nth-of-type(1) .menu-item__list-item:nth-of-type(3) span.menu-icon {
    background-image: url("../img/new-main/menu-icon-3.svg");
}
.menu-custom-item:nth-of-type(1) .menu-item__list-item:nth-of-type(4) span.menu-icon {
    background-image: url("../img/new-main/menu-icon-4.svg");
}
.menu-custom-item:nth-of-type(1) .menu-item__list-item:nth-of-type(5) span.menu-icon {
    background-image: url("../img/new-main/menu-icon-5.svg");
}
.menu-custom-item:nth-of-type(2) .menu-item__list-item:nth-of-type(1) span.menu-icon {
    background-image: url("../img/new-main/menu-icon-7.svg");
}
.menu-custom-item:nth-of-type(2) .menu-item__list-item:nth-of-type(2) span.menu-icon {
    background-image: url("../img/new-main/menu-icon-6.svg");
    min-height: 30px;
}

.dropdown__menu {
    display: grid !important;
    grid-template-columns: 37.5% 30% 1fr;
    grid-template-rows: auto;
    grid-template-areas:
            "item1 item2 item4"
            "item1 item2 item4"
            "item1 item3 item4"
            "item1 item3 item4";
    grid-column-gap: 40px;
}

.dropdown__menu-item {
    font-size: 14px;
    line-height: 26px;
}

.dropdown__menu-item:nth-of-type(1) {
    grid-area: item1;
}

.dropdown__menu-item:nth-of-type(1) .menu-item__list {
    display: grid !important;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-gap: 20px 0;
}

.dropdown__menu-item:nth-of-type(1) .menu-item__list-item,
.dropdown__menu-item:nth-of-type(2) .menu-item__list-item {
    display: grid;
    grid-template-columns: 33px 1fr;
    grid-gap: 10px;
    align-items: center;
}

.partners .dropdown__menu-item .menu-item__list-item {
    grid-template-columns: 1fr;
}

.partners .dropdown__menu-item .menu-item__list-item a {
    white-space: nowrap;
}

.dropdown__menu-item:nth-of-type(1) .menu-item__list-item .img,
.dropdown__menu-item:nth-of-type(2) .menu-item__list-item .img {
    width: 33px;
}

.dropdown__menu-item p,
.dropdown__menu-item a {
    font-size: 16px !important;
}

.dropdown__menu-item:nth-of-type(1) .menu-item__list-item a,
.dropdown__menu-item:nth-of-type(2) .menu-item__list-item a {
    line-height: 26px;
}

.dropdown__menu-item:nth-of-type(2) {
    grid-area: item2;
}

.dropdown__menu-item:nth-of-type(2) .menu-item__list,
.dropdown__menu-item:nth-of-type(3) .menu-item__list {
    display: grid !important;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-row-gap: 20px;
}

.dropdown__menu-item:nth-of-type(3) {
    grid-area: item3;
}

.dropdown__menu-item:nth-of-type(4) {
    grid-area: item4;
}

.dropdown__menu-item:nth-of-type(4) .menu-item__list {
    display: grid !important;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-row-gap: 20px;
}

.menu-item__title {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
}

.menu-item__list {
    font-weight: 400;
}

.menu-item__list-item {
    display: flex;
    flex-direction: column;
    padding: 0 !important;
}

.menu-item__list-item a {
    display: block !important;
    font-weight: 400 !important;
}


/* Form ------------------------------------------------ */
.form-right {
    width: 100%;
    /*min-height: 420px;*/
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 50%, var(--primary) 50%);
}

.form-right .container {
    height: inherit;
    min-height: inherit;
}

.form-right__content {
    position: relative;
    display: flex;
    max-width: 1190px;
    height: 100%;
    min-height: inherit;
    padding: 30px 50px 45px;
    background: var(--primary);
    border-radius: 15px 0 0 15px;
}

.form-right__content .image {
    max-width: 525px;
    margin-right: 30px;
    color: white !important;
}

.form-right__content .image img {
    width: 100%;
}

.form-right__content .form {
    width: 100%;
    max-width: 475px;
    margin-left: auto;
    color: white;
}

.form-right__content .form-heading {
    max-width: 395px;
}

.form-right__content .form input::placeholder {
    opacity: .5 !important;
}

.form-right__content .form .btn {
    width: 100%;
    margin: 30px 0 15px;
    height: 50px;
}

.faq .collapse.show .card-body {
    display: block !important;
}
.big-numbers p {
    position: relative;
    display: flex;
    align-items: center;
}

/* responsive */
@media screen and (max-width: 1440px) {
    .header__nav ul li {
        padding: 0 40px 0 0 !important;
    }
}
@media screen and (max-width: 1300px) {
    .form-right {
        width: 100%;
        background: var(--primary);
    }

    .form-right__content {
        max-width: 100%;
        border-radius: 0;
    }

    .form-right__content .image {
        max-width: calc(50% - 30px);
    }

    .form-right__content .form {
        margin-left: 30px;
        max-width: calc(50% - 30px);
    }
}

@media screen and (max-width: 1200px) {
    .form-right__content .form {
        padding-top: 10px;
    }
}

@media screen and (max-width: 992px) {

    .form-right__content {
        padding: 30px 0 40px;
    }

    .form-right__content .image {
        display: none;
    }

    .form-right__content .form {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
    }

    .form-right__content .form-heading {
        max-width: 100%;
    }

    .form-right__content .form .btn {
        margin: 15px 0;
    }
}


/* Footer
------------------------------------------------------- */
.social {
    margin-top: 100px;
}

.footer-bottom__right {
    border-top: none;
}

.footer .grid-container {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) 20%;
    grid-template-rows: auto;
    grid-gap: 25px;
    align-content: flex-start;
    margin-left: 15px;
}

.footer .grid-container .footer__link {
    font-weight: 500;
    padding-top: 5px;
    margin-bottom: 0;
}
.footer .grid-container .footer__link:nth-of-type(1) {
    order: 0;
}
.footer .grid-container .footer__link:nth-of-type(2) {
    order: 4;
}
.footer .grid-container .footer__link:nth-of-type(3) {
    order: 5;
}
.footer .grid-container .footer__link:nth-of-type(4) {
    order: 3;
}
.footer .grid-container .footer__link:nth-of-type(5) {
    order: 2;
}
.footer .grid-container .footer__link:nth-of-type(6) {
    order: 1;
}
.footer .dropdown .dropdown-toggle {
    color: #000;
    pointer-events: auto;
    text-decoration: none;
    height: 20px;
}
.footer .dropdown .footer-category {
    color: #000;
    pointer-events: auto;
    text-decoration: none;
    height: 20px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 18px;
    white-space: normal;
    text-align: left;
    line-height: 1.5;
}
.footer .dropdown a .dropdown-toggle {
    cursor: pointer;
}
.footer .dropdown a .dropdown-toggle:hover {
    color: #006b8f;
}
.footer .dropdown-custom .dropdown-toggle {
    color: #000;
    cursor: pointer;
    pointer-events: auto;
    text-decoration: none;
    height: 20px;
}

#connectModalCard .modal-title,
#connectModal .modal-title {
    font-size: 24px !important;
}


/* Other ------------------------------------------------*/
.blue-block {
    width: auto;
    background: var(--lavender);
    border-radius: 20px;
}

.list .list-item:nth-child(n):not(:last-child) {
    margin-bottom: 20px;
}

.block-shadow {
    box-shadow: 10px 10px 40px rgba(232, 232, 232, 0.8), -10px -10px 20px #ffffff;
}

.block-shadow-rad {
    border-radius: 20px;
    box-shadow: 10px 10px 40px rgba(232, 232, 232, 0.8), -10px -10px 20px #ffffff;
}
.data-accuracy__dropdown {
    box-shadow: 0 0 18px -1px rgba(0, 0, 0, .1);
    background: white;
    border-radius: 5px;
    width: max-content;
    max-width: 350px;
    padding: 24px;
    opacity: 0;
    top: 500px;
    left: -50px;
}

.data-accuracy__dropdown:after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50px;
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
}

.data-accuracy:hover > .data-accuracy__dropdown {
    opacity: 1;
    top: 40px;
    z-index: 1000;
}


.filter--active img {
    filter: grayscale(0) !important;
}


/* companies-items
------------------------------------------------------- */
.companies-items {
    padding: 0 5px;
}

.companies-items .picture img {
    max-width: 205px;
    max-height: 85px;
}

/* Responsive -------------------------------------------*/
@media screen and (max-width: 1276px) {
    .header__dropdown {
        width: 95% !important;
    }

    .dropdown__menu {
        grid-template-columns: repeat(4, 1fr);
        grid-template-areas:
    "item1 item2 item3 item4"
    "item1 item2 item3 item4"
    "item1 item2 item3 item4";
    }

    .dropdown__menu-item:nth-of-type(1) .menu-item__list {
        grid-template-columns: 1fr;
    }

    .dropdown__menu-item:nth-of-type(2) .menu-item__list {
        grid-gap: 20px;
    }

    .dropdown__menu-item .menu-item__list-item {
        margin-bottom: 0 !important;
    }
}

@media screen and (min-width: 1260px) {
    .mobile-item {
        display: none !important;
    }
}

@media screen and (max-width: 1260px) {
    .desc-item {
        display: none;
    }

    .dropdown__menu {
        padding: 0;
    }

    .top--light .header__dropdown {
        width: 100% !important;
    }

    .dropdown__menu-item:nth-of-type(1) .menu-item__list-item,
    .dropdown__menu-item:nth-of-type(2) .menu-item__list-item {
        grid-template-columns: 1fr;
        grid-gap: 10px;
        align-items: center;
    }

    .dropdown__menu-item p, .dropdown__menu-item a {
        font-size: 14px !important;
    }

    .mobile-header .header__nav ul li {
        margin-bottom: 10px;
    }

}

@media screen and (min-width: 1200px) {
    .footer__link-mob {
        display: none;
    }
}

@media screen and (max-width: 1200px) {
    /* Footer
        ------------------------------------------------------- */
    .grid-container {
        padding: 0 !important;
    }
    
    .footer .grid-container {
        margin-left: 0;
    }

    /* companies-items --------------------------------------- */
    .companies-items .picture img {
        max-width: 155px;
    }


    /*footer --------------------------------------------------*/
    .indent-footer-item {
        display: block !important;
        margin-bottom: 0;
    }

    .footer__contact-mob ul li {
        width: 50% !important;
    }

    .footer .grid-container {
        grid-template-columns: 1fr 1fr;
        grid-gap: 0;
        grid-template-areas: "сases  contacts"
                             "prices  base"
                             "partners  blog";
    }

    .footer .grid-container .footer__link:nth-of-type(1) {
        grid-area: сases;
    }

    .footer .grid-container .footer__link:nth-of-type(2) {
        grid-area: partners;
    }

    .footer .grid-container .footer__link:nth-of-type(3) {
        grid-area: contacts;
    }

    .footer .grid-container .footer__link:nth-of-type(4) {
        grid-area: prices;
    }

    .footer .grid-container .footer__link:nth-of-type(5) {
        grid-area: base;
    }

    .footer .grid-container .footer__link:nth-of-type(6) {
        grid-area: blog;
    }

    .footer .grid-container .footer__link {
        padding: 25px 0;
    }

    .footer__right {
        display: flex;
        flex-wrap: wrap;
    }

    .footer .footer-contact {
        width: 100%;
        display: flex;
        flex-direction: row-reverse;
        padding-top: 30px;
    }

    .footer .footer-contact .social {
        margin-top: 0;
        margin-right: auto;
        justify-content: flex-start;
    }

    .footer .footer-contact .footer-bottom__right {
        width: 100%;
        margin-left: 0;
        text-align: left;
    }
}

@media screen and (max-width: 1024px) {
    .cabinets-item__logo img {
        filter: grayscale(0);
    }


    .list .list-item:nth-child(n):not(:last-child) {
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 992px) {

    .dropdown__menu {
        grid-template-columns: repeat(3, 1fr);
        grid-template-areas:
    "item1 item2 item3"
    "item4 item4 item4";
    }

    .dropdown__menu-item:nth-child(n):not(:last-child) {
        margin-bottom: 40px;
    }

    .main-section__advantages-item {
        font-size: 12px !important;
    }

    #data-accuracy {
        margin-left: auto;
        bottom: auto;
        position: relative;
        left: auto;
    }

    /* companies-items --------------------------------------- */
    .companies-items div {
        margin-bottom: 30px !important;
    }

    .companies-items div img {
        max-width: 48% !important;
    }
}

@media screen and (max-width: 768px) {
    .dropdown__menu {
        grid-template-columns: repeat(3, 33%);
    }

    .menu-item__list-item .img {
        display: none;
    }

    .dropdown__menu-item:nth-of-type(1) .menu-item__list-item,
    .dropdown__menu-item:nth-of-type(2) .menu-item__list-item {
        grid-template-columns: 1fr !important;
    }

    .header__phone .phone {
        display: block !important;
    }


    /* companies-items --------------------------------------- */
    .companies-items div img {
        max-width: 75% !important;
        filter: grayscale(0);
    }
}

@media screen and (max-width: 565px) {
    .dropdown__menu {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-areas:
    "item1"
    "item2"
    "item3"
    "item4" !important;
    }


    .header__nav ul,
    .header__nav ul li {
        padding: 0 !important;
    }

    .dropdown__menu-item .menu-item__list {
        grid-gap: 5px 0 !important;
    }

    .menu-item__title {
        margin-bottom: 0;
    }

    .dropdown__menu-item:nth-child(n):not(:last-child) {
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 540px) {
    /* companies-items --------------------------------------- */
    .companies-items .picture img {
        width: 80%;
    }
}

@media screen and (max-width: 425px) {
    /*Первый экран ---------------------------------------------*/
    .main-section,
    .main-section h1 {
        padding-top: 0;
    }
    .main-section h1 .price {
        width: 95px;
        font-size: 12px;
    }
    .main-section__advantages {
        grid-template-columns: 1fr;
        grid-gap: 0;
    }

    .main-section__advantages-item:nth-child(n):not(:last-child) {
        margin-bottom: 15px;
    }

    .main-section__advantages-item br {
        display: none;
    }

    .data-accuracy__dropdown {
        left: 0;
        transform: translateX(-80%);
        max-width: 250px;
    }

    .data-accuracy__dropdown:after {
        left: auto;
        right: 45px;
    }


    /*footer --------------------------------------------------*/
    .footer .footer-contact {
        flex-direction: column;
    }

    .footer .footer-contact .phone {
        text-align: left !important;
        margin-bottom: 30px;
    }

    .footer .footer-contact .phone a {
        justify-content: flex-start;
    }

    .footer .footer-contact .footer-bottom__right {
        padding-top: 15px;
    }
}
