/*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;  }*/

.catalog_detail .props_list .props_features table p {
    padding: 5px 10px;
}

.catalog_detail .props_list td {
    background: 0 0;
}

.info_item .preview_text {
    max-height: 106px;
    -webkit-line-clamp: 4;
    line-height: 1.5;
}

.item-views.list.blog .img-responsive {
    object-fit: contain;
    height: 100%;
    width: 100%;
}

.preview_pdf {
    height: 150px;
    width: 150px;
    float: left;
    margin-right: 10px;
}

.preview_pdf a {
    width: 100%;
    height: 100%;
}

.preview_pdf img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.preview_pdf~.description {
    float: left;
    padding: 0;
}

.detail .detailimage {
    height: 400px;
}

.catalog_detail .btn.btn-default.white:hover,
.catalog_detail .btn-default.white:active,
.catalog_detail .btn-default.white:focus,
.catalog_block .btn.btn-default.white:hover,
.catalog_block .btn-default.white:active,
.catalog_block .btn-default.white:focus {
    border-color: #4fad00;
    background: #4fad00;
}

.ws-chat .ws-chat-btn-mini-round {
    border-radius: 0;
}

.ws-chat .ws-chat-btn-logo-yes .ws-chat-logo-img {
    transform: rotate(90deg);
}

.ws-chat .ws-chat-logo .ws-chat-status-round {
    bottom: 0;
    top: unset;
}

.ws-chat .ws-chat-btn-el-container {
    inset: auto 0 6% auto !important;
    transform-origin: bottom left;
    transform: translateX(100%) rotate(270deg);
}

@media (max-width: 720px) {
	.ws-chat .ws-chat-btn-el-container {	
        inset: auto 5% 5% auto !important;
	}
}

@font-face {
    font-family: 'icomoon-med';
    src: url("../fonts/icomoon/fonts/icomoon.eot?e0ionb");
    src: url("../fonts/icomoon/fonts/icomoon.eot?e0ionb#iefix") format("embedded-opentype"), url("../fonts/icomoon/fonts/icomoon.ttf?e0ionb") format("truetype"), url("../fonts/icomoon/fonts/icomoon.woff?e0ionb") format("woff"), url("../fonts/icomoon/fonts/icomoon.svg?e0ionb#icomoon") format("svg");
    font-weight: normal;
    font-style: normal
}

.presentation_block .file_type a {
    display: initial;
}

.list-type-block.item-views.wide_img .item > .image {
    height: 304px;
}
.list-type-block.item-views.wide_img .item > .image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

table.contacts-stores tr.item td:last-of-type {
    width: auto;
}

/* .wrapp-cabinet-menu,
.basket-link.delay,
.basket-link.basket {
    display: none !important;
} */

/* .wrapp-cabinet-menu.icon-cabinet-text .personal-link.dark-color.with_dropdown {
    display: none;
} */
/* styled menu item */

.logo_and_menu-row .personal-link .wrap {
    max-width: none;
}

.menu-row .mega-menu table td.wide_menu>.wrap>.dropdown-menu .menu-wrapper>li {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.catalog_section_list .section_item td.section_info {
    vertical-align: middle;
}

.catalog_section_list .section_item li.name a span {
    line-height: 18px;
}

.mega-menu table td .wrap > a {
    font-weight: normal;
    text-transform: uppercase;
}

#header .mega-menu table {
    table-layout: fixed;
}

.menu-row.middle-block:not(.bglight) .mega-menu table td.catalog>.wrap,
.menu-row.middle-block .mega-menu table td.catalog {
    width: auto;
}

/* end styled menu item */

/* styled table */

.striped_table tbody tr:nth-child(odd) {
    background-color: #f7f7f7; 
}

.striped_table tbody tr td{
    padding: 8px 29px;
}

/* end styled table */

/* styled 360 rotator module */

.psk_360_wrapper {
    height: 100%;
}

@media screen and (max-width: 600px) {
    .psk_360_wrapper {
        height: 210px;
    }
    .psk_360_startStop {
        bottom: 3px;
        right: 0;
        width: 30px;
        height: 30px;
    }
}

/* end styled 360 rotator module */

/* styled footer developer */

#footer .footer__fred {
    align-items: center;
    display: flex;
    margin-top: 7px;
}

#footer .footer__fred a svg {
    height: 16px;
    width: 63px;
}

/* end styled footer developer */

/* styled logo */

.header-logo::after,
.footer-logo::after {
    font-family: 'icomoon-med';
    display: inline-block;
    vertical-align: middle;
    line-height: 91px;
}

.header-wrapper.lang_ru .header-logo::after,
.footer_inner.lang_ru .footer-logo::after {
    content: "\e960";
}

.header-wrapper.lang_en .header-logo::after,
.footer_inner.lang_en .footer-logo::after {
    content: "\e961";
}

.header-logo::after {
    font-size: 59px;   
}

.header-logo.fixed-header::after {
    font-size: 46px;
    line-height: 68px;
}

#headerfixed .header-logo::after {
    line-height: 77px;
    font-size: 46px;
}

.footer-logo::after {
    font-size: 55px;
}

#mobileheader .logo {
    max-width: 115px;
}

.logo-row .logo img {
    height: 60px;
}

#footer .footer-logo {
    margin-top: -20px;
} 

/* end styled logo */

/* styled all site link */

#footer .all-site-link {
    margin: 15px 0; 
    width: fit-content; 
    position: relative;
}

#footer .all-site-link .links {
    display: none;
    z-index: 999;
}

#footer .all-site-link:hover .links {
    display: flex;
    flex-direction: column;
    background: #fff;
    min-width: 229px;
    box-shadow: 0px 0px 20px rgb(0 0 0 / 15%);
    position: absolute;
    bottom: -33px;
    left: 0;
}

#footer .all-site-link .links span:hover {
    background-color: #f9f9fa;
}

#footer .all-site-link .title {
    display: flex;
    align-items: center;
    width: fit-content;
    position: relative;
    cursor: pointer;
}

#footer .all-site-link .title::after{
    content: " \2023";
    font-size: 33px;
    line-height: 0.3;
    display: inline-block;
    margin-left: 10px;
    position: absolute;
    right: -18px;
    top: calc(50% + 1px);
    transform: translateY(-50%) rotate(90deg);
    color: #555;
    cursor: pointer;
}

#footer .all-site-link .links span a {
    color: #555;
    display: inline-block;
    width: 100%;
    line-height: 20px;
    padding: 7px 20px;
}

@media screen and (max-width: 786px) {
    #footer .all-site-link {
        text-align: center;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        width: fit-content;
        margin: 10px auto;
    }
    #footer .all-site-link:hover .links {
        left: -45px;
    }
    #footer .all-site-link .title::after {
        font-size: 26px;
    }

    #footer .footer__fred {
        justify-content: center;
    }
}

/* end styled all site link */

/* styled partners page */

.dif-line {
    margin-top: 50px;
}

.dif-line tr:nth-child(odd) {
    background: #f7f7f7;
}

.dif-line tr td:first-child {
    min-width: 200px;
}

.dif-line tr td {
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 20px;
    padding-right: 20px;
    vertical-align: text-top;
}

.dif-line-capture {
    margin: 20px 0 0px;
    font-size: 1.1em;
}

.dif-line.style-2 {
    margin-top: 20px;
}

.page-partners .docs {
    margin-top: 15px;
    display: flex;
    gap: 20px;
}

.page-partners .docs .doc-box {
    display: flex;
    align-items: flex-start;
    width: 50%;
}

.page-partners .docs .doc-box .image_block {
    margin-right: 15px;
    cursor: pointer;
}

.page-partners .docs .doc-box .descr_block .title {
    line-height: 20px;
    text-decoration: underline;
    cursor: pointer;
}

.page-partners .docs .doc-box .descr_block .size {
    font-size: 12px;
    color: #767676;
}
/* end styled partners page */

/* minor changes */

.banners-small .item .image img {
    max-height: 150px;
    object-fit: cover;
}

.tab-content .title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 700;
}

.tizers_block .item .title a{
    font-weight: 700;
    font-size: 14px;
    color: #005ca9;
}

.with_title .block_container .items .item {
    border-top: 1px solid #f1f1f1;
}

.contacts-page-top .contacts > .row > .col-md-6:first-child {
    margin-bottom: 25px;
}


/* end minor changes */

.detail.blog img {
    object-fit: contain;
    height: auto;
}

@media (min-width: 1025px) {
    .catalog_page .catalog_detail .main_item_wrapper .counter_wrapp .button_block.wide {
        display: grid;
        grid-template-columns: 40% 60%;
        grid-gap: 10px;
        align-items: center;
    }
    .catalog_page .catalog_detail .main_item_wrapper .counter_wrapp .more_text {
        margin: unset;
    }
    .catalog_detail .main_item_wrapper .cons_block .btn {
        white-space: normal;
    }
    .catalog_detail .info_item .middle_info .buy_block .counter_wrapp>div:not(.wrapp_one_click) {
        margin-bottom: unset !important;
    }
}

@media (min-width: 1357px) {
    .catalog_page .catalog_detail .main_item_wrapper .counter_wrapp .button_block.wide {
        grid-template-columns: 43% 57%;
    }
}

@media (max-width: 1024px) {
    .catalog_detail .cons_block .counter_wrapp {
        padding-top: unset;
    }
}

.catalog_detail .buy_block .counter_wrapp {
    width: 100%;
}

.catalog_detail .cons_block .counter_wrapp {
    margin-bottom: 22px;
}

.catalog_detail .buy_block .btn, .buy_block .btn.white.grey, .buy_block .btn.btn-default.transparent.white:not(:hover), .catalog_block .btn.btn-default.white, .catalog_item .btn.btn-default.transparent.white:not(:hover) {
    border-color: #4fad00;
    background: #4fad00;
    color: #fff !important;
}

.catalog_page .catalog_detail .info_item .middle_info .cons_block .counter_wrapp .more_text {
    font-size: 12px;
    white-space: normal;
}

.catalog_page .catalog_detail .info_item .middle_info .buy_block .counter_wrapp {
    padding-right: unset;
}

.dark_link {
    cursor: pointer; 
}

.dark_link:hover {
    color: #312850;
}

.ik_select_list_inner {
    height: 250px !important;
  }

.podborki {
    margin-top: 10px;
}

.vat {
    font-size: 13px;
    color: #666;
}


.social-icons li.rutube a {
    background: url('/local/templates/med/images/rutube.png') no-repeat !important;
    padding-left: 20px; 
    background-position: left center;
    background-size: contain !important;
}
