/* Стили для доставки */
.DB_datetime_picker {
    height: 0 !important;
    width: 0 !important;
    display: inline-block !important;
    vertical-align: 0 !important;
    border: 0 !important;
}

.DB_datetime_picker:hover {
    border-bottom: 1px dashed rgba(255, 255, 255, 0) !important;
}

#delivery_block *, #delivery_block ::after, #delivery_block ::before {
    box-sizing: border-box;
}

.DB_block_title {
    font-size: 18px;
    font-weight: bold;
}

.DB_container {
    background: #fff;
    padding: 25px;
    margin-top: 10px;
}

#delivery_block img {
    max-width: 100%;
}

.DB_wrap_item {
    margin-bottom: 15px;
}

.DB_row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

[class^="DB_col_"] {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.DB_text_right {
    text-align: right;
}

.DB_wrap_label {
    font-weight: bold;
    margin-bottom: 15px;
}

.DB_link {
    color: #486696;
    text-decoration: none;
    border-bottom: 1px dashed #486696;
}

.DB_link:hover {
    border-bottom: 1px dashed rgba(255, 255, 255, 0);
}

.DB_media-img {
    height: auto;
    width: 60px;
}

@media (min-width: 450px) {
    .DB_media {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    .DB_media-img {
        height: 50px;
        width: 60px;
    }

    .DB_media-body {
        margin-left: 15px;
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
    }
}

.DB_col_product_left {
    margin-bottom: 5px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
}

.DB_col_product_right {
    margin-bottom: 10px;
}

@media (min-width: 670px) {
    .DB_col_product_left {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        min-width: 20%;
        margin-bottom: 15px;
    }

    .DB_col_product_right {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 80%;
        flex: 0 0 80%;
        max-width: 80%;
    }
}

.DB_bold {
    font-weight: bold;
}

.DB_color_img {
    display: inline-block;
    vertical-align: top;
    margin: 0 6px 6px 0 !important;
    cursor: pointer;
    margin: 0 6px 6px 0 !important;
    font-size: 0;
}

.DB_color_img img {
    width: 30px;
    height: 30px;
    border-radius: 100%;
}

.DB_color_img.DB_active {
    border: 2px solid #b50023;
    width: 30px;
    height: 30px;
    border-radius: 100%;
}

.DB_color_img.DB_active img {
    width: 26px;
    height: 26px;
    padding: 2px;
    border: 0 !important;
}

.DB_select_btn {
    height: 22px;
    color: #8f8f8f;
    padding: 1.5px 8px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    cursor: pointer;
    float: left;
    margin: 0 5px 5px 0;
    white-space: nowrap;
    font-size: 14px;
}

.DB_select_btn:hover {
    background-color: #e6e6e6;
    color: #8f8f8f;
}

.DB_select_btn.DB_active {
    background-color: #e0eafa;
    border-color: #8da6cd;
    color: #5c78a3;
}

.BD_input_count {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    text-align: center;
    margin-right: 3px;
}

.BD_input_count input {
    font-weight: bold;
    border-top: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
    width: 43px;
    text-align: center;
    border-left: 0;
    border-right: 0;
    outline: none;
    height: 22px;
    color: #000;
    vertical-align: unset;
    margin: 0;
    font-size: 14px;
    background: none;
}

.BD_input_count .DB_count_minus,
.BD_input_count .DB_count_plus {
    border: 1px solid #cccccc;
    width: 27px;
    cursor: pointer;
    font-weight: bold;
    line-height: 1.2;
    height: 22px;
}

.BD_input_count .DB_count_minus {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.BD_input_count .DB_count_plus {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.DB_product_title {
    display: block;
    margin-bottom: 15px;
}

.DB_inline {
    display: inline-block;
}

.DB_redio {
    position: relative;
    padding-left: 25px;
    margin-right: 25px;
    cursor: pointer;
}

.DB_redio::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    height: 17px;
    width: 17px;
    border-radius: 50%;
    background-color: transparent;
    box-shadow: 0 0 0 2px #8f8f8f inset;
    transition-property: box-shadow, background-color;
    transition-duration: 0.3s;
}

.DB_redio:hover::before {
    background-color: #d4d4d4;
}

.DB_redio.DB_active::before {
    box-shadow: 0 0 0 4px #555555 inset;
}

.DB_col_product_right .form-group input {
    margin-bottom: 0;
}

.DB_col_product_right .form-group {
    margin-bottom: 0;
    max-width: 330px;
}

.DB_right {
    float: right;
}

.DB_btn_gray {
    min-width: 120px;
    height: 38px;
    border: 2px solid #666;
    color: #333;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    background-color: transparent;
    cursor: pointer;
    padding: 0 20px;
    outline: 0;
    font-family: 'PT Sans', sans-serif;
}

.DB_btn_gray:hover {
    background: #666;
    color: #fff;
}

.DB_select_disabled {
    opacity: 0.4;
    cursor: default;
}

.popup .popup_close {
    display: block;
}

#catalog_html {
    float: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

#catalog_html > div {
    display: block;
    position: relative;
    top: unset;
    left: unset;
    width: auto;
    overflow: hidden;
    box-shadow: none;
}

#catalog_html .prodGrLink,
#catalog_html .cink-menu {
    cursor: default;
    border-bottom: 1px solid #fff !important;
}

@media (min-width: 652px) {
    #catalog_html ._SubItem {
        float: left;
        width: 260px;
    }

    #catalog_html .rightSubItem._SubItem {
        width: 260px;
    }

    #catalog_html .leftSubItem {
        margin: 5px 0 30px 30px;
    }

    #catalog_html .rightSubItem._withDash {
        margin: 5px 0 30px 0px;
        padding-left: 30px;
    }

    #catalog_html .leftSubItem .title, #catalog_html .rightSubItem .title {
        font-weight: bold;
        text-decoration: none;
        font-size: 13px;
        font-size: 16px;
        border-bottom: 0;
    }

    #catalog_html .leftSubItem .title:hover, #catalog_html .rightSubItem .title:hover {
        text-decoration: none;
    }

    #catalog_html a.prodGrLink:hover {
        border-bottom: 1px solid #fff !important;
    }

    #catalog_html a {
        display: inline-block;
        color: #000;
        font-size: 15px;
        font-size: 18px;
        text-decoration: underline;
        text-decoration: none;
        border-bottom: 1px solid #615f5f;
        line-height: 15px;
        margin-bottom: 9px;
    }

    #catalog_html a:hover {
        text-decoration: none;
        color: #666;
        border-bottom: 1px solid #fff;
        text-decoration: none !important;
    }

    #catalog_html .forDesktop {
        display: block !important;
    }

    #catalog_html .prodGrLink {
        margin-bottom: 13px;
    }

    #catalog_html .prodGrLink:hover {
        opacity: 0.7;
    }

    #catalog_html .grItemWr {
        float: left;
        width: 115px;
    }

    #catalog_html .grItemWr.full_width {
        width: 100%;
    }

    #catalog_html .rightSubItem._SubItem._withDash {
        border-left: 1px solid #ddd;
    }


    #catalog_html .prodItemLink {
        font-size: 14px !important;
    }

    #catalog_html a.prodGrLink {
        min-height: auto;
    }

    #catalog_html .grItemsWr {
        display: block;
        margin-bottom: 12px;
    }

    #catalog_html a.coldZink_url {
        margin-top: 11px !important;
        border: 1px solid #fff;
    }

    #catalog_html ._SubItem._withTitles {
        margin: 10px 0 0 30px;
    }

    #catalog_html a.grayBtn:hover {
        color: #fff;
        border: 2px solid #615f5f;
        background-color: #666;
    }

    #catalog_html ._SubItem .title {
        padding: 15px 0;
        background: #fff;
        margin-right: -1px;
    }

    #catalog_html section.mainMenuItemSec_3 {
        padding: 0 !important;
        line-height: 19px !important;
        color: unset !important;
    }

    #catalog_html section.mainMenuItemSec_3 span {
        border-bottom: 0 !important;
    }

    #catalog_html .subItem .rightSubItem._withDash {
        padding-left: 30px !important;
    }
}

@media (max-width: 651px) {
    #catalog_html .grItemsWr {
        display: block !important;
    }

    #catalog_html section.mainMenuItemSec_3 {
        padding: 13px 0 13px;
        font-size: 18px;
        color: unset !important;
    }

    #catalog_html .rightSubItem {
        margin: 0 !important;
    }

    #catalog_html .grItemsWr a {
        margin-bottom: 10px;
        font-size: 15px;
        color: #000;
        display: block;
    }

    #catalog_html .leftSubItem._SubItem._withTitles.forDesktop,
    #catalog_html .rightSubItem._SubItem._withTitles.forDesktop {
        display: block !important;
        font-weight: bold;
        font-size: 16px;
    }

    #catalog_html .leftSubItem._SubItem._withDash {
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
    #catalogPopup {
        width: 280px;
        box-sizing: border-box;
    }
}

.btn-red.btn-red input {
    width: auto;
    padding: 0 14px;
    height: 36px;
}

.custom-control {
    position: relative;
    display: block;
    min-height: 1.5rem;
    padding-left: 1.5rem;
}

.custom-control-label {
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
    cursor: pointer;
}

.custom-control-label::before, .custom-file-label, .custom-select {
    transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.custom-control-label::before {
    position: absolute;
    top: .1rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    pointer-events: none;
    content: "";
    background: url(/delivery/img/icon_checkbox.png?v=1);
    background-size: 16px;
}

.demo-template .custom-control-label::before {
    background: url(https://elcon.ru/delivery/img/icon_checkbox.png?v=1);
    background-size: 16px;
}

.custom-control-label::after {
    position: absolute;
    top: .1rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    content: "";
    background: no-repeat 50%/50% 50%;
}

.custom-control-input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
    background: url(/delivery/img/icon_checkbox.png?v=1);
    background-size: 16px;
    background-position: 0 16px;
}

.title-parameter {
    display: none;
    margin: 5px 0;
}

.pvz_address {

}

/* datepicker */
.xdsoft_datetimepicker .xdsoft_label i,
.xdsoft_today_button {
    display: none !important;
}

.xdsoft_datetimepicker {
    background-color: #fff;
    box-shadow: 0 7px 21px rgba(83, 92, 105, .12), 0 -1px 6px 0 rgba(83, 92, 105, .06);
    padding: 10px;
    font: 13px "Helvetica Neue", Helvetica, Arial, sans-serif;
    border: 0;
}

@media screen and (max-width: 767px) {
	.xdsoft_datetimepicker {
		left: 20px !important;
	}
}

.xdsoft_datetimepicker .xdsoft_datepicker {
    margin: 0;
    width: unset;
}

.xdsoft_datetimepicker .xdsoft_monthpicker {
    padding-bottom: 5px;
    margin-top: 2px;
}

.xdsoft_datetimepicker .xdsoft_monthpicker::after {
    content: '';
    display: block;
}

.xdsoft_datetimepicker .xdsoft_label {
    padding: 0;
    display: inline-block;
    width: 82.5px;
    font-weight: normal;
    float: none;
}

.xdsoft_datetimepicker .xdsoft_next, .xdsoft_datetimepicker .xdsoft_prev {
    background: url(/bitrix/js/main/core/images/calendar-sprite.png) no-repeat;
    border-radius: 4px;
    display: inline-block;
    font-size: 1px;
    height: 28px;
    vertical-align: top;
    width: 19px;
    cursor: pointer;
    opacity: 1;
}

.xdsoft_datetimepicker .xdsoft_next {
    background-position: 8px -205px;
}

.xdsoft_datetimepicker .xdsoft_prev {
    background-position: 7px -183px;
    margin-left: -3px;
}

.xdsoft_datetimepicker .xdsoft_next:hover, .xdsoft_datetimepicker .xdsoft_prev:hover {
    background-color: #ededed;
}

.xdsoft_datetimepicker .xdsoft_label span {
    background: url(/bitrix/js/main/core/images/calendar-sprite.png) no-repeat right -223px;
    color: #000 !important;
    border-radius: 3px;
    display: inline-block;
    font-size: 16px;
    line-height: 20px;
    text-decoration: none !important;
    margin: 0 1px;
    padding: 5px 15px 3px 7px;
}

.xdsoft_datetimepicker .xdsoft_label span:hover {
    background-color: #ededed;
}

.xdsoft_datetimepicker .xdsoft_year {
    text-align: left;
    margin-left: 0;
}

.xdsoft_datetimepicker .xdsoft_calendar thead {
    background-color: #eee;
}

.xdsoft_datetimepicker .xdsoft_calendar td, .xdsoft_datetimepicker .xdsoft_calendar th {
    border: 0;
    font-weight: normal !important;
}

.xdsoft_datetimepicker .xdsoft_calendar th {
    color: #a9a9a9;
    font-size: 10px;
    height: 13px;
    vertical-align: top;
}

.xdsoft_datetimepicker .xdsoft_calendar td {
    box-shadow: none !important;
    background: none !important;
    color: #000 !important;
}

.xdsoft_datetimepicker .xdsoft_calendar td > div {
    display: inline-block;
    font-size: 12px;
    line-height: 15px;
    height: 19px;
    margin: 0 3px 0 2px;
    padding-top: 4px;
    text-align: center;
    text-decoration: none;
    vertical-align: top;
    width: 23px;
    cursor: pointer;
    box-sizing: content-box;
    padding-right: 0;
}

.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_current > div {
    background: #dce3ea !important;
}

.xdsoft_datetimepicker .xdsoft_calendar td:hover {
    background: none !important;
}

.xdsoft_datetimepicker .xdsoft_calendar td:hover div {
    background-color: #eee;
    color: #000;
}

.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_disabled:hover > div {
    background: none !important;
    cursor: default;
}

.xdsoft_day_of_week6 *, .xdsoft_day_of_week0 * {
    color: #d25050 !important;
}

.xdsoft_datetimepicker .xdsoft_calendar tbody tr {
    border-bottom: 1px solid #f3f2ed;
}

.xdsoft_datetimepicker .xdsoft_calendar tbody tr:last-child {
    border-bottom: 0;
}

/* Старые стили */
.order_summ_item_delivery {
    display: none;
}

.dropdown_delivery {
    position: absolute;
    z-index: 999;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
    border-radius: .25rem;
    min-width: 120px;
    display: none;
    right: 0;
}

.dropdown_delivery .item {
    margin-bottom: 10px;
}

.dropdown_delivery .item:last-child {
    margin-bottom: 0;
}

#delivery_list_popup .delivery_item {
    position: relative;
    display: inline-block;
    font-size: 16px;
    padding-left: 26px;
    margin-right: 25px;
    cursor: pointer;
}

#delivery_list_popup .delivery_item::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 2px;
    left: 0;
    z-index: 1;
    background: url('../images/order/icon_radio.png?v=1') 0 0 no-repeat;
    background-size: 16px;
}

#delivery_list_popup .delivery_item.active::before {
    background: url('../images/order/icon_radio.png?v=1') 0 bottom no-repeat;
    background-size: 16px;
}

@media (max-width: 890px) {
    #ydwidget {
        width: 100%;
        margin-left: 0;
        left: 0;
        top: 0;
        margin-top: 0;
        height: 100%;
    }

    msw.cw-inline-block.cw-variants-container {
        width: 100%;
        margin: 0;
        max-height: 44vh;
        overflow-y: auto;
    }

    #cw_map {
        height: 100% !important;
    }

    ymaps[class*="-balloon-pane"] {
        top: unset !important;
        left: 0px !important;
        z-index: 99999 !important;
        bottom: 49px !important;
        width: 100% !important;
    }

    ymaps[class*="-balloon-pane"] > * {
        left: 0 !important;
        top: unset !important;
    }

    ymaps[class*="-balloon-pane"] > * > * > * {
        top: unset !important;
        left: -1px !important;
        bottom: 0;
        min-width: 320px;
    }
}

.cw-variant-cost {
    white-space: nowrap;
}

.cw-deliverytype-label {
    display: none !important;
}

.cw-variants-container {
    width: 100% !important;
    max-width: 360px;
}

#dellin_form .modal_wrapper {
    width: 252px !important;
}

.delivery_choice .types_deliveries .delivery_item {
    margin-right: unset;
    padding: 0 25px;
    box-sizing: border-box;
}

.deliveries__list .delivery_price {
    display: inline-block;
    font-weight: bold;
    vertical-align: top;
}

.deliveries__list .DB_preloader {
    margin-left: 4px;
    height: 16px;
    transform: translateY(2px);
}

.deliveries__list .delivery_item.active ~ .delivery_price .ot {
    display: none;
}

.delivery_choice .row_block .row_block_title {
    font-weight: bold;
}

.DB_modileCatalogPopup {
    display: none;
}

.DB_pcCatalogPopup {
    display: block;
}

[data-delivery-type] + div {
    margin-top: 5px;
}

@media only screen and (min-width: 761px) and (max-width: 1140px) {
    .delivery_choice .types_deliveries .delivery_item {
        padding-right: 10px;
    }

    .delivery_choice .row_block {
        margin: 15px 0;
    }
}

@media only screen and (max-width: 760px) {
    .delivery_choice .order_basket_text_c {
        margin: 10px 0 0;
    }

    .delivery_choice .row_block {
        margin: 0 0 24px;
    }

    .form-group .control-label {
        /* top: 0.5rem; */
    }

    .delivery_choice .types_deliveries.deliveries__list .delivery_item {
        width: 100%;
        padding-right: 0;
    }

    .delivery_choice .types_deliveries .delivery_price {
        padding-left: 26px;
        width: 100%;
        box-sizing: border-box;
        width: 100%;
        margin-top: 16px;
        max-width: 400px;
    }

    .delivery_choice .types_deliveries {
        margin-bottom: 0;
    }

    #delivery_list {
        margin-bottom: 10px;
    }
}

@media only screen and (max-width: 640px) {
    .delivery_choice .types_deliveries .delivery_price {
        margin-top: 8px;
    }
}

@media (max-width: 481px) {
    .delivery_choice .types_deliveries .delivery_item {
        width: 100% !important;
        padding-right: 0;
        min-width: unset;
    }

    .delivery_choice .types_deliveries .delivery_price {
        padding-left: 26px;
        width: 100%;
        box-sizing: border-box;
        width: 100%;
    }

    .DB_modileCatalogPopup {
        display: block;
    }

    .DB_pcCatalogPopup {
        display: none;
    }
}

div.mainMenuItem .subItem .rightSubItem {
    margin: 5px 0 30px 30px;
}

@media (max-width: 600px) {
    body #dellin_form {
        margin-top: unset;
    }

    #dellin_form iframe {
        width: 100% !important;
        max-width: 100% !important;
    }

    #dellin_form .modal_wrapper {
        padding: 0 !important;
        width: 250px !important;
    }
}

.yd-logo {
    display: none !important;
}

#dellin_form {
    top: 50% !important;
    position: fixed !important;
    transform: translateY(-50%);
}
