/*NOTE: This file is intended for programmers. Aspro technical support is not advised to work with him.*/

/* Examples (uncomment to use):*/

/* Expand site width */
/* body .wrapper { max-width: 1400px !important;  } */

/* Set site background image */
/* body {  background: url(image_source) top no-repeat; }

/* Hide compare button */
/* a.compare_item { display: none !important;  }*/
.banners-big--detail .banners-big__item {
    position: relative;
}

.banners-big--detail .banners-big__item:after {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    content: '';
    background-color: #000000;
    opacity: 0.3;
    z-index: 1;
}

.banners-big--normal .banners-big__depend-height .maxwidth-theme {
    z-index: 2;
}

.delivery__form__result {
    margin-top: 2rem;
}

.delivery__form__col1 {
    position: relative;
}

.cityAlert {
    display: none;
    padding: 6px 0;
    background: #ffffff;
    border: 1px solid var(--stroke_black);
    border-radius: 3px;
    color: var(--basic_text_black);
    position: absolute;
    width: calc(100% - 32px);
    top: 100%;
    left: 16px;
    z-index: 10;
}

.cityAlertJs {
    display: block;
    padding: 5px 12px;
    line-height: 1.1;
    background-color: transparent;
    -webkit-transition: all ease 0.25s;
    -moz-transition: all ease 0.25s;
    -o-transition: all ease 0.25s;
    -ms-transition: all ease 0.25s;
    transition: all ease 0.25s;
    cursor: pointer;
}

.cityAlertJs:hover {
    background-color: var(--theme-base-color);
    color: #ffffff;
}

ul.custom_marker li::before,
.services-detail__bottom-info .tab-content ul li::before,
.right_block .text_after_items ul li::before,
.right_block .text_before_items ul li::before,
.right_block ul li::before {
    content: unset;
}

ul.custom_marker li,
.services-detail__bottom-info .tab-content ul li,
.right_block .text_after_items ul li,
.right_block .text_before_items ul li,
.right_block ul li {
    background: url(/include/custom/marker.svg) no-repeat 0 6px;
    padding-left: 24px;
}

.contacts__panel_custom {
    border: 1px solid #e5e5e5;
    border-color: var(--stroke_black);
    border-radius: 4px 4px 0 0;
    padding: 50px 55px 55px 55px;
}

.head_contacts .top-form.bordered_block,
.head_contacts .contacts__sticky-panel__info {
    min-height: 720px;
}

.history-list-inner__year.switcher-title {
    font-family: var(--theme-font-family);
}

.first_color {
    color: var(--theme-base-color);
}

.second_color {
    color: #393185;
}

.color_white {
    color: #fff;
}

.title_custom {
    margin-bottom: 21px;
}

.contacts-list__item,
.contacts__panel_custom,
.form.director .top-form,
.contacts__map-wrapper .contacts__map {
    border-radius: 32px;
}

.form-group .input input,
.form-group .input textarea {
    border-radius: 12px;
}

/*ГЛАВНАЯ*/

/*самое верхнее меню, последний элемент*/
.active_link a
{
    color: #393185;
}
.active_link a:hover
{
    color: var(--theme-base-color);
}

/*баннер*/
 .banners-big__item.banners-big__depend-height.vvideo .banners-big__inner {
    justify-content: end;
}

.banners-big__item.banners-big__depend-height.vvideo .banners-big__text {
    flex-direction: row;
    justify-content: end;
}

.slider-solution.swiper.swiper-container.main-slider {
    border-radius: 32px;
}

.banners-big__buttons {
    position: absolute;
    bottom: 50px;
}

.banners-big__inner .btn.btn-default {
    background-color: #fff;
    border: #fff;
    border-radius: 12px;
    color: #393185;
}

.play_custom svg path {
    fill: #393185 !important;
}

.banners-big__inner .btn.btn-default:hover {
    background-color: #E9E7FF;
    border: #E9E7FF;
    color: #393185;
}

/*баннеры услуг*/
.banners-with-text-mixed-list__item {
    border-radius: 32px;
}

/*о компании*/
.btn-custom {
    border-color: #393185;
    color: #393185;
    border-radius: 12px;
    padding: 13px 25px;
}

.btn-custom:hover {
    background-color: #393185;
    color: #fff;
}

.btn_blue,
.btn.btn-default {
    border-radius: 12px;
    background-color: #393185;
    color: #ffffff;
    border-color: unset;
}

.btn_blue:hover,
.btn.btn-default:hover {
    border-radius: 12px;
    background-color: #534AA8;
    color: #ffffff;
    border-color: unset;
}

.company-item__picture {
    border-radius: 32px;
}

/*Проекты*/
.project-list__item {
    border-radius: 32px;
}

/*новости*/
.news-list__item {
    border-radius: 32px;
}

.news-list_custom-template .index-block__part--right .index-block__link {
    position: relative;
    padding: 10px 35px 10px 20px;
    border-radius: 12px;
    background: #ffffff;
    transition: background-color 1s;
}

.project-list_custom-template .index-block__part--right .index-block__link {
    position: relative;
    padding: 10px 35px 10px 20px;
    border-radius: 12px;
    background: #F4F3FF;
    transition: background-color 1s;
}

.news-list_custom-template .index-block__link .index-block__arrow,
.project-list_custom-template .index-block__link .index-block__arrow {
    position: absolute;
    transition: margin-left 0.3s;
    top: 50%;
    margin-left: 10px;
-moz-transform: translateY(-50%);
-ms-transform: translateY(-50%);
-webkit-transform: translateY(-50%);
-o-transform: translateY(-50%);
transform: translateY(-50%);

}

.news-list_custom-template .index-block__link:hover .index-block__arrow,
.project-list_custom-template .index-block__link:hover .index-block__arrow {
    margin-left: 12px;
}

.news-list_custom-template .index-block__part--right .index-block__link:hover,
.project-list_custom-template .index-block__part--right .index-block__link:hover {
    background-color: #E9E7FF;
}

.news-list_custom-template .index-block__link,
.project-list_custom-template .index-block__link {
    color: #393185;
}


.news-list_custom-template .index-block__link.right_link_block:hover,
.project-list_custom-template .index-block__link.right_link_block:hover {
    color: #393185;
}

.news-list_custom-template .index-block__arrow svg path,
.project-list_custom-template .index-block__arrow svg path {
    stroke: #393185;
}

.news-list_custom-template .index-block__arrow svg path:hover,
.project-list_custom-template .index-block__arrow svg path:hover {
    stroke: #393185;
}




/*форма*/
.btn-form-custom {
    border-radius: 12px;
    color: #393185;
    padding: 13px 25px;
}

.btn-form-custom:hover {
    background-color: #eeeeee;
    color: #393185;
}
.messContainer {
    margin-bottom: 20px;
    display: none;
}
#preloader {
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    display: none;
}
#preloader svg {
    width: 120px;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);

}

/*КОНЕЦ ГЛАВНОЙ*/
@media all and (max-width: 767px) {
    .banners-big .maxwidth-banner.maxwidth-theme {
        margin-top: 4px;
    }
}
@media all and (max-width: 600px) {
    .news-list_custom-template .index-block__link .index-block__arrow,
    .project-list_custom-template .index-block__link .index-block__arrow {
        left: 50%;
        margin-left: 0;
        -moz-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
        -webkit-transform: translate(-50%,-50%);
        -o-transform: translate(-50%,-50%);
        transform: translate(-50%,-50%);
    }
}

/* СТИЛИ ДЛЯ АДАПТИВА КАЛЬКУЛЯТОРА ДОСТАВКИ */
@media all and (max-width: 992px) {
    .delivery__form__col1 {
        margin-bottom: 20px !important;
    }

    .delivery__form__row--first {
        margin-bottom: 0 !important;
    }

    .delivery__form__col1 .row {
        display: flex;
    }

    .delivery__form__col1 .row .delivery__form__col2 {
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
    }

    .delivery__form__col1 .row .delivery__form__col2 .form-control {
        margin-top: auto;
    }
}

/* УБРАН ПАДДИНГ СНИЗУ СТРАНИЦЫ */
body > .body:not(.index) > .main {
    padding-bottom: 0 !important;
}

/* фикс картинки в мобилке на главной в блоке "о компании" */
@media all and (max-width: 992px) {
    .front_company_custom-template .sticky-block.company-item__info {
        position: static !important;
        display: flex;
        align-items: center;
    }

    .front_company_custom-template .company-item__picture-wrapper {
        width: 100%;
    }

    /* task-36857 убраны поля формы в мобилке */
    .body.index .FORMS .form-body__fields [data-sid=EMAIL],
    .body.index .FORMS .form-body__fields [data-sid=MESSAGE] {
        display: none;
    }
}

@media (max-width: 450px) {
    #main .tizers-list {
        padding-bottom: 0;
    }
    
    #main .mobile-scrolled.tizers-list__items-wrapper.grid-list {
        grid-gap: 0 !important;
    }

    .mobile-scrolled {
        padding-left: calc(50% - 130px + 24px) !important;
    }

    #main .mobile-scrolled .tizers-list__item-image-wrapper--position-LEFT.tizers-list__item-image-wrapper--ICONS {
        margin-right: 0;
    }

    #main .mobile-scrolled .tizers-list__item-text-wrapper {
        text-align: center;
    }

    .TIZERS .tizers-list__item-image-wrapper--PICTURES.tizers-list__item-image-wrapper--position-LEFT {
        margin-right: 0;
    }

    .TIZERS .tizers-list__item-descr {
        margin-top: 0;
    }
}

/* фикс формы обратной связи на главной*/
.body.index .FORMS  .form-body label {
    color: #ffffff !important;
}

.body.index .FORMS label#licenses-error {
    color: #fff !important;
}

.body.index .FORMS .btn-form-custom:hover {
    background-color: #eeeeee;
    color: #393185;
}

/* фикс блока "Работаем со многими категориями товаров" */
@media (max-width: 600px) {
    .body.index .FORMS .form-send__icon {
        display: none;
    }

    .body.index .FORMS .form-send {
        padding: 20px;
    }
    
    .body.index .FORMS .close-block {
        top: 0;
        right: 0;
    }

    #main .mobile-scrolled .tizers-list__item {
        align-items: center;
    }

    #main .mobile-scrolled.tizers-list__items-wrapper.grid-list {
        grid-gap: 0 10px !important;
    }

    /* task-36857 */
    .tizers-list__item-wrapper{
        padding: 16px !important;
    }
}

ul.custom_marker li, .services-detail__bottom-info .tab-content ul li, .right_block .text_after_items ul li, .right_block .text_before_items ul li, .right_block ul li {
    background: none !important;
}

a.scroll-to-top {
    right: 20px;
    width: 56px;
    height: 56px;
    background-position: center 20px !important;
}

.mobile-contact-form-btn {
    position: fixed;
    bottom: 140px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: rgba(57, 49, 133, 1);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    border: 2px solid #fff
}

@media screen and (max-width: 990px) {
    .mobile-contact-form-btn {
        display: flex;
    }

    body#main form[name="aspro_allcorp3_question"] [data-sid="NEED_PRODUCT"],
    body#main form[name="aspro_allcorp3_question"] [data-sid="EMAIL"] {
        display: none;
    }
}

@media (max-width: 430px) {
    #main #popup_iframe_wrapper .jqmWindow {
        width: calc(100% - 48px) !important;
        left: 24px !important;
        top: auto !important;
        bottom: auto !important;
        min-height: auto !important;
    }

    .jqmWindow .form.popup .form-header {
        padding: 16px 24px;
    }

    .jqmWindow .form-body {
        padding: 0 24px;
    }

    .form .licence_block {
        padding: 10px 0 10px
    }

    .form .form-group {
        margin-bottom: 10px;
    }

    .form.popup .form-footer {
        padding: 0 24px 16px;
    }

    .form .form-footer .btn {
        width: 100%;
        margin: 0;
    }

    .form textarea {
        height: calc(4em * 1.4);
    }
}