

#products-menu {
    position: absolute;
    width: 1100px;
}
@media(max-width:1200px) {
    #products-menu { width: 917px; }
}

@media(max-width:991px) {
    #products-menu { width: 700px; }
}

@media(max-width:767px) {
    #products-menu { width: 100%; max-width: 440px; }
}

ul#mainCat {
    font-size: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

ul#mainCat li {
    margin: 0 0 1px 0;
    padding: 10px 35px 10px 20px;
    position: relative;
    font-size: 16px;
}
ul#mainCat li .icon {
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%238C98F2'><path d='M38,100V82l18.907-32L38,18V0L62,42.8V58L38,100z'/></svg>") no-repeat;
    background-size: 18px;
    background-position: center center;
    background-repeat: no-repeat;
    width: 38px;
    height: 18px;
    position: absolute;
    right: 0;
    top: 50%;
    bottom: 50%;
    transform: translate(0%, -50%);
    cursor: pointer;
}

ul#mainCat li a, ul#regCat li a {
    display: block;
    padding: 0;
    color: #337ab7;
}

ul#mainCat li:hover {
    background-color: #f5f5f5;
}

ul#mainCat li.selected {
    background-color: #f5f5f5;
}

ul#regCat {
    font-size: 16px;
    list-style: none;
    margin: 0 10px;
    padding: 0;
}

ul#regCat li {
    margin: 0 0 1px 0;
    padding: 5px 30px 5px 10px;
}

ul#regCat li.expand {
    /*background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%238C98F2'><path d='M38,100V82l18.907-32L38,18V0L62,42.8V58L38,100z'/></svg>") no-repeat;*/
    /*background-size: 16px;*/
    /*background-position: calc(100% - 10px) center;*/
    /*background-repeat: no-repeat;*/
}


ul#regCat li {
    position: relative;
}
ul#regCat li .icon {
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%238C98F2'><path d='M38,100V82l18.907-32L38,18V0L62,42.8V58L38,100z'/></svg>") no-repeat;
    background-size: 16px;
    background-position: center center;
    background-repeat: no-repeat;
    width: 38px;
    height: 16px;
    position: absolute;
    right: 0;
    top: 50%;
    bottom: 50%;
    transform: translate(0%, -50%);
    cursor: pointer;
    z-index: 99;
}

ul#regCat li.selected {
    /*background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%238C98F2'><path d='M38,58V42.8L62,0V18L43.093,50L62,82v18L38,58z'/></svg>") no-repeat;*/
    /*background-size: 16px;*/
    /*background-position: calc(100% - 10px) center;*/
    /*background-repeat: no-repeat;*/
    background-color: #f5f5f5;
}

ul#regCat li:hover {
    background-color: #f5f5f5;
}

ul#regCat li.selected ul {
    font-weight: normal;
    font-size: 14px;
}

div#partners {
    padding: 0 10px 0 0;
    max-height: 500px;
    overflow-y: scroll;
}

div#partners a { display: list-item; }

div#logos a {
    display: inline-table;
    margin: 0 10px 10px 0;
}

div#logos a img {
    max-height: 70px;
    max-width: 70px;
    display: table-cell;
    vertical-align: middle;
}



@media(max-width:991px) {
    .customer-img,
    .img-related {
        margin-bottom: 30px;
    }
}

@media(max-width:767px) {
    .img-portfolio {
        margin-bottom: 15px;
    }

    header.carousel .carousel {
        height: 70%;
    }
}

.custom-open>.dropdown-menu {
    display: block;
}
.reverce_icon {
    transform: translate(0%, -50%) rotateY(180deg)!important;
}
.mainCat {
    padding: 0 0 0 15px
}
.regCat {
    padding: 0 1px
}
.expandMain {
    display: none;
}
@media(max-width:991px) {
    .expandMain {
        display: block;
    }
    #logos {
        display: flex;
        flex-wrap: wrap;
    }
    div#partners {
        padding: 0 30px;
    }
    .mainCat {
        padding: 0 15px;
    }
    .regCat {
        padding: 0 15px;
        display: none;
    }
}

.companies_logo {
    padding-bottom: 10px;
}
.companies_logo img{
    max-width: 200px;
}
.modal-success {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background: #fff;
    display: none;
}
.modal-success .modal-body {
    display: flex;
    justify-content: center;
    align-items: center;
}

.answer {
    margin-bottom: 6px;
}
.answer__title {
    padding: 8px 15px;
    /*background-color: #f5f5f5;*/
    border-radius: 4px;
    cursor: pointer;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    color: #fff;
    background-color: #5bc0de;
    border-color: #46b8da;
    display: flex;
    justify-content: space-between;
}
.answer__title:hover {
    /*background-color: #eee;*/
    color: #fff;
    background-color: #4da8c3;
    border-color: #4da8c3;
}

.answer__message {
    display: none;
    max-height: 280px;
    overflow: auto;
    padding: 8px 15px;
    background-color: #fff;
    margin-bottom: 14px;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #ccc;
    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    border-top: 0;
}
.answer__message.active {
    display: block;
}
.message__item {
    border-bottom: 1px solid #eee;
    margin-bottom: 2px;
}
.message__item:last-child {
    border-bottom: 0;
}
.answer__title .badge {
    margin: 0;
}
.personalEmpty {
    margin: 8px 0;
}
.uifront {
    position: absolute;
}
.uifront ul {
    background: white;
    border: 1px solid #c5c5c5;
    border-radius: 4px;
    list-style: none;
    padding: 5px 0;
    z-index: 999;
    max-height: 300px;
    overflow: auto;
}
.uifront ul li {
    display: block;
    padding: 3px 10px;
    line-height: 1.2;
}
.uifront ul li:hover {
    background: #c5c5c5;
    cursor: pointer;
}
.dadata_grey {
    display: block;
    font-size: 12px;
    color: #6b6b6b;
}
#btn_add_new:not(._active) > span:last-of-type {
    display: none;
}
#btn_add_new._active > span:first-of-type {
    display: none;
}
#btn_add_new .glyphicon {
    vertical-align: text-top;
}
input._error {
    border-color: red;
}

.img-portfolio__link_bg {
    background: no-repeat center / contain;
}
.custom__field_upload {
    width: 155px;
    height: 35px;
}
.custom__field_upload  span{
    position: static!important;
}
.ajaxloader {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 115;
    opacity: 0.8;
}
.ajaxloader:after {
    content: "";
    top: 48%;
    left: 0;
    right: 0;
    margin: auto;
    position: fixed;
    font-size: 20px;
    border: 8px solid #f3f3f3;
    border-top: 8px solid #005e9c;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.basket-checkout-container.basket-checkout-container-fixed-hide {
    display:none;
}

.spoiler {}

.spoiler__wrap {
    max-height: 140px;
    position: relative;
    overflow: hidden;
}

.spoiler__wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 80px;
    width: 100%;
    background: linear-gradient(to top, white, transparent);
    pointer-events: none;
    opacity: 1;
    transition: 1s ease opacity;
}

.spoiler__wrap_opened {
    max-height: none;
}

.spoiler__wrap_opened::after {
    opacity: 0;
}

.spoiler__btn-wrap {
    text-align: center;
    margin-top: 15px;
}

.spoiler__btn {}

.spoiler_disabled .spoiler__wrap {
    max-height: none;
}

.spoiler_disabled .spoiler__wrap::after,
.spoiler_disabled .spoiler__btn-wrap {
    display: none;
}

h3.img-portfolio__title + ._descr {
    height: 7em;
    overflow: hidden;
    position: relative;
}
h3.img-portfolio__title + ._descr:after {
    content: '';
    position: absolute;
    top: 7em;
    height: 1.1em;
    margin-top: -1.1em;
    background: linear-gradient(to top, white, transparent);
    width: 100%;
    left: 0;
}
.product-item-detail-slider-container:not(.popup) .product-item-detail-slider-left, .product-item-detail-slider-container:not(.popup) .product-item-detail-slider-right {
    height: 25%;
    margin: auto;
    border-radius: 10px;
    background-color: rgba(206, 206, 206, 0.4);
    max-width: 50px;
    max-height: 50px;
}
.product-item-detail-slider-left:hover, .product-item-detail-slider-right:hover {
    background-color: rgba(255, 255, 255, .4)!important;
    opacity: .8!important;
}
.data-table_gap th:last-child, .data-table_gap td:last-child, .buttons_table_proizv td:last-child {
    padding-right: 0;
}

@media (min-width: 768px) {
    .data-table_gap th:last-child, .data-table_gap td:last-child, .buttons_table_proizv td:last-child {
        width: 135px;
    }
}

@media (min-width: 1000px) {
    .newSliderFirstsItem > *{
        width: 50%;
    }
}
@media (max-width: 767px) {
    ._list_btns > *:last-child {
        border-top-left-radius: 0!important;
        border-top-right-radius: 0!important;
    }

    ._list_btns > *:first-child {
        border-bottom-left-radius: 0!important;
        border-bottom-right-radius: 0!important;
    }
    ._list_btns > * {
        width: 70px;
        border-radius: 3px!important;
        margin: auto!important;
    }
}

/* GG-61 */

#adAlert {
    background: #7db9e8; /* Old browsers */
    background: -moz-linear-gradient(top,  #7db9e8 0%, #005e9e 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #7db9e8 0%,#005e9e 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #7db9e8 0%,#005e9e 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7db9e8', endColorstr='#005e9e',GradientType=0 ); /* IE6-9 */
}

#adAlert .modal-body {
    text-align: center;
    color: #005e9e;
    padding-left: 0;
    padding-right: 0;
}

#adAlert .modal-header { text-align: center; }

#adAlert .modal-body h1, #adAlert .modal-body h3 {
    margin-left: 10px;
    margin-right: 10px;
}
.control-group.form-group.captcha br{
    display: none;
}
.control-group.form-group.captcha img{
   margin-right: 10px;
}
.control-group.form-group.captcha input{
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
/* GG-61 END */

.unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}