:root {
    --coastBlock: #f5f5f5;
    --notification: #fcf2dd;
    --text-color: #333;
    --border-color: #333;
    --margins: 16px;
    --alert: #721c24;
}

.corsik_yaDeliveryMap {
    position: relative;
    color: var(--text-color);
    font-size: 14px;
    padding-bottom: 40px
}

#corsik_yaDeliveryMap__map {
    min-height: 500px;
}

.corsik_yaDeliveryMap__alert {
    left: 0;
    width: 100%;
    min-height: 30px;
    display: flex;
    opacity: 0;
    text-align: center !important;
    align-items: center;
    justify-content: center;
    color: var(--alert);
    background-color: rgba(248, 215, 218, 0.9);
    transition: all .25s ease-out;
    font-size: 13px;
}

.corsik_yaDeliveryMap__alert--show {
    opacity: 1;
}


.corsik_yaDeliveryMap__notification {
    width: fit-content;
    padding: 12px 26px;
    background: var(--notification);
    border-radius: 8px;
    margin-top: var(--margins);
}

.corsik_yaDeliveryMap__notification p {
    margin: 0
}

/*.corsik_yaDeliveryMap__content {
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-column-gap: var(--margins);
	margin: var(--margins) 0;
}*/

.corsik_yaDeliveryMap__content h4 {
    font-size: 20px;
    line-height: 26px;
    margin: 0;
    font-weight: bold;
}

.corsik_yaDeliveryMap__content__wrapper {
    display: grid;
    align-items: flex-end;
}

.corsik_yaDeliveryMap__orderParams {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: var(--margins);
}

.corsik_yaDeliveryMap__coastBlock {
    box-sizing: border-box;
    border-radius: 8px;
    background-color: var(--coastBlock);
    flex-direction: column;
    display: flex;
    padding: var(--margins);
    margin-left: auto
}

.corsik_yaDeliveryMap__coastBlock p {
    margin: 0
}

.corsik_yaDeliveryMap__coastBlock .corsik_yaDeliveryMap__coastBlock__detail {
    font-size: 16px;
    line-height: 22px;
}

.corsik_yaDeliveryMap__coastBlock .corsik_yaDeliveryMap__coastBlock__info {
    padding-top: 8px;
    margin: 0;
    font-size: 13px;
    line-height: 16px;
    color: #999
}

.corsik_yaDeliveryMap__inputGroup {
    position: relative;
    margin-top: var(--margins);
    background-color: white;
}

.corsik_yaDeliveryMap__inputGroup input {
    height: 42px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0 8px;
    font-size: 14px
}

/*.corsik_yaDeliveryMap__inputGroup .corsik_yaDeliveryMap_readonly {*/
/*    pointer-events: none;*/
/*}*/

.corsik_yaDeliveryMap__inputGroup label {
    position: absolute;
    font-size: 12px;
    top: -8px;
    left: 30px;
    background: white;
    padding: 0 8px;
    border-radius: 10px;
}

.corsik_yaDeliveryMap__inputBlock:not(:first-child) {
    margin-top: var(--margins)
}

.corsik_yaDeliveryMap__personTypeGroup {
    display: flex;
    font-size: 16px;
}

.corsik_yaDeliveryMap__personTypeGroup .corsik_yaDeliveryMap__personType {
    cursor: pointer
}

.corsik_yaDeliveryMap__personTypeGroup .corsik_yaDeliveryMap__personType label {
    font-weight: normal
}

.corsik_yaDeliveryMap__personTypeGroup .corsik_yaDeliveryMap__personType:first-child {
    margin-right: var(--margins)
}

.corsik_yaDeliveryMap__mapPoint {
    display: flex;
    font-size: 16px;
    font-weight: 500;
    border: none;
    margin-top: 8px;
    background-color: initial
}

.corsik_yaDeliveryMap__mapPoint svg {
    width: 24px;
    height: 24px;
    fill: #333;
    margin-right: 8px
}

.corsik_yaDeliveryMap__mapPoint:focus {
    outline: none;
}

@media (max-width: 768px) {
    .corsik_yaDeliveryMap__content {
        grid-template-columns: none;
    }

    .corsik_yaDeliveryMap__coastBlock {
        margin-top: var(--margins);
    }
}

.corsik_yaDeliveryMap {
    color: #333;
    font-size: 14px;
    padding-bottom: 40px
}

#corsik_yaDeliveryMap__map {
    margin-top: 40px
}

.corsik_yaDeliveryMap__notification {
    width: fit-content;
    width: -moz-fit-content;
    padding: 12px 26px;
    background: #fcf2dd;
    border-radius: 8px;
    margin-top: 16px
}

.corsik_yaDeliveryMap__notification p {
    margin: 0
}

.corsik_yaDeliveryMap__content {
    align-items: flex-end
}

.corsik_yaDeliveryMap__content > div {
    margin-top: 24px
}

.corsik_yaDeliveryMap__content .corsik_yaDeliveryMap__content__wrapper {
    display: block;
}

.corsik_yaDeliveryMap__content h4 {
    font-size: 20px;
    line-height: 26px;
    margin: 0
}

.corsik_yaDeliveryMap__coastBlock {
    box-sizing: border-box;
    border-radius: 8px;
    background-color: #f5f5f5;
    flex-direction: column;
    display: flex;
    padding: 16px;
    margin-left: auto
}

.corsik_yaDeliveryMap__coastBlock p {
    margin: 0
}

.corsik_yaDeliveryMap__coastBlock .corsik_yaDeliveryMap__coastBlock__detail {
    font-size: 16px;
    line-height: 22px;
    color: #333
}

.corsik_yaDeliveryMap__coastBlock .corsik_yaDeliveryMap__coastBlock__info {
    padding-top: 8px;
    margin: 0;
    font-size: 12px;
    line-height: 16px;
    color: #999
}

.corsik_yaDeliveryMap__inputGroup {
    position: relative
}

.corsik_yaDeliveryMap__inputGroup label {
    position: absolute;
    font-size: 12px;
    top: -9px;
    left: 17px;
    background: white;
    padding: 0 9px
}

.corsik_yaDeliveryMap__inputBlock {
    margin-top: 16px
}

.corsik_yaDeliveryMap__inputBlock h4 {
    margin-bottom: 16px
}

.corsik_yaDeliveryMap__personTypeGroup {
    display: flex;
    font-size: 16px
}

.corsik_yaDeliveryMap__personTypeGroup .corsik_yaDeliveryMap__personType {
    cursor: pointer
}

.corsik_yaDeliveryMap__personTypeGroup .corsik_yaDeliveryMap__personType label {
    font-weight: normal
}

.corsik_yaDeliveryMap__personTypeGroup .corsik_yaDeliveryMap__personType:first-child {
    margin-right: 16px
}

.corsik_yaDeliveryMap__mapPoint {
    display: flex;
    font-size: 16px;
    font-weight: 500;
    border: none;
    margin-top: 8px;
    background-color: initial
}

.corsik_yaDeliveryMap__mapPoint svg {
    width: 24px;
    height: 24px;
    fill: #333;
    margin-right: 8px
}

.corsik_yaDelivery__route {
    display: none !important;
}

#popup-window-content-mapPopup {
    padding: 0px;
    background-color: white;
}

#popup-window-titlebar-mapPopup .popup-window-titlebar-text {
    font-size: 2rem;
}

#modal-delivery_body {
    display: none;
}

#ya_map_delivery {
    width: 500px;
    height: 400px;
}

#modal-delivery_body .description {
    margin: 10px 0;
}

#corsik_yaDelivery {
    display: block;
    width: 80vw;
    height: 80vh
}

#corsik_yaDelivery__modal {
    width: auto !important;
    padding: 10px !important;
    border: 0 !important
}

#corsik_yaDelivery__container {
    display: none;
    flex-direction: column;
    position: relative;
    margin: -10px
}

#corsik_yaDelivery__container.corsik_yaDelivery--show {
    display: flex
}

#corsik_yaDelivery__container.corsik_yaDelivery--show #corsik_yaDelivery {
    height: 600px;
    width: 100%
}

#corsik_yaDelivery__container.corsik_yaDelivery--show .corsik_yaDelivery__footer, #corsik_yaDelivery__container.corsik_yaDelivery--show .corsik_yaDelivery__panel {
    display: none
}

.corsik_yaDelivery__header {
    display: grid;
    z-index: 20;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%
}

.corsik_yaDelivery__header .corsik_yaDelivery__panel {
    display: grid;
    grid-template-columns:1fr 280px;
    width: 100%;
    min-height: 79px;
    padding: 10px;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    box-sizing: border-box !important
}

.corsik_yaDelivery__header .corsik_yaDelivery__address {
    flex-grow: 1
}

.corsik_yaDelivery__header #corsik_yaDelivery__addressField {
    display: block;
    margin: 0;
    width: 100%;
    height: 38px;
    background: #e9e9eb;
    color: #1b1a24;
    border: 1px solid transparent;
    border-radius: 0;
    line-height: 1.42857;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.165, 0.775, 0.43, 1.005);
    min-height: 32px;
    font-size: 12px;
    resize: none;
    overflow: hidden;
    padding: 9px 12px
}

.corsik_yaDelivery__header * {
    box-sizing: border-box !important
}

.corsik_yaDelivery__footer {
    display: flex;
    justify-content: flex-end;
    padding: 15px;
    border-top: 2px solid #e9ecef
}

.corsik_yaDelivery__footer * {
    box-sizing: border-box !important
}

.corsik_yaDelivery__alert {
    display: flex;
    opacity: 0;
    left: 0;
    width: 100%;
    padding: 2px 10px;
    text-align: center;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    color: #721c24;
    background-color: rgba(248, 215, 218, 0.9);
    transition: all .25s ease-out
}

.corsik_yaDelivery__alert.corsik_yaDelivery__alert--show {
    opacity: 1
}

.corsik_yaDelivery__alert p {
    margin: 0
}

.corsik_yaDelivery__buttons {
    display: flex
}

.corsik_yaDelivery__info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: start;
    color: #fff;
    margin: 8px 8px 8px 18px;
    text-align: right
}

.corsik_yaDelivery__route__text, .corsik_yaDelivery__total__text {
    font-size: 13px
}

.corsik_yaDelivery__route__value, .corsik_yaDelivery__total__price, .corsik_yaDelivery__total__price-2 {
    font-size: 25px;
    font-weight: 700
}

.corsik_yaDelivery__info__apply, .corsik_yaDelivery__info__close {
    display: block;
    color: #fff;
    border: 0;
    font-size: 14px;
    line-height: 0;
    opacity: .7;
    margin-left: 5px;
    outline: 0;
    border-radius: 2px;
    height: 40px;
    padding: 5px 10px
}

.corsik_yaDelivery__info__apply {
    background-color: #70bb18
}

.corsik_yaDelivery__info__apply:hover {
    background-color: #7ec629
}

.corsik_yaDelivery__info__apply:disabled {
    background-color: #adadac
}

.corsik_yaDelivery__info__close {
    background-color: #e4003c
}

.corsik_yaDelivery__info__close:hover {
    background-color: #831a31
}

.corsik_yaDelivery__actionsButtons {
    display: grid;
    grid-template-columns:repeat(auto-fit, minmax(150px, 1fr))
}

.corsik_yaDelivery__actionsButtons button {
    margin: 4px;
    padding-left: 4px !important;
    padding-right: 4px !important
}

@media (max-width: 950px) {
    .corsik_yaDelivery__header .corsik_yaDelivery__panel {
        display: block
    }

    .corsik_yaDelivery__header .corsik_yaDelivery__info {
        text-align: center;
        flex-direction: column;
        margin: 4px 0
    }

    .corsik_yaDelivery__header .corsik_yaDelivery__info .corsik_yaDelivery__route__value, .corsik_yaDelivery__header .corsik_yaDelivery__info .corsik_yaDelivery__total__price {
        font-size: 18px
    }

    #corsik_yaDelivery {
        height: 70vh
    }

    .corsik_yaDelivery__footer {
        padding: 8px
    }

    .corsik_yaDelivery__buttons button[type="button"] {
        height: 30px;
        font-size: 12px
    }
}

.corsik_yaDelivery__loader__overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: inherit;
    border: inherit;
    border-radius: inherit;
    opacity: 0.6;
    background-color: white;
    z-index: 9999
}

.corsik_yaDelivery__loader {
    position: absolute;
    z-index: 1150;
    left: 50%;
    top: 50%;
    display: inline-block;
    width: 60px;
    height: 60px;
    transform: translate(-50%, -50%)
}

.corsik_yaDelivery__loader div {
    transform-origin: 35px 35px;
    animation: circle 1.2s linear infinite
}

.corsik_yaDelivery__loader div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 3px;
    left: 33px;
    width: 6px;
    height: 18px;
    border-radius: 30%;
    background: black
}

.corsik_yaDelivery__loader div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s
}

.corsik_yaDelivery__loader div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s
}

.corsik_yaDelivery__loader div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s
}

.corsik_yaDelivery__loader div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s
}

.corsik_yaDelivery__loader div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s
}

.corsik_yaDelivery__loader div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s
}

.corsik_yaDelivery__loader div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s
}

.corsik_yaDelivery__loader div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s
}

.corsik_yaDelivery__loader div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s
}

.corsik_yaDelivery__loader div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s
}

.corsik_yaDelivery__loader div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s
}

.corsik_yaDelivery__loader div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s
}

@keyframes circle {
    0% {
        opacity: 1
    }
    100% {
        opacity: 0
    }
}

.corsik-delivery-page #corsik_yaDelivery__container {
    margin: 0;
}

.corsik-delivery-page #corsik_yaDeliveryMap__map {
    margin-top: 0;
}

.corsik-delivery-page .corsik_yaDeliveryMap__content {
    align-items: flex-start;
}

.corsik-delivery-page .corsik_yaDeliveryMap__inputGroup {
    margin-top: 25px;
}

.corsik-delivery-page .corsik_yaDeliveryMap__inputGroup label {
    left: 0;
    padding: 0;
    top: unset;
}

.corsik-delivery-page #corsik_yaDeliveryMap__addressDelivery {
    width: 100%;
    border-radius: 0px;
    background: transparent;
}

.corsik-delivery-page .corsik_yaDeliveryMap__inputGroup small {
    margin-bottom: 25px;
    display: block;
    color: #999;
}

.corsik_delivery_types {
    display: flex;
    margin: 15px 0;
}

.delivery-cars {
    display: grid;
    grid-auto-flow: column;
}

.delivery-form-type,
.delivery-car {
    margin-right: 30px;
}

.delivery-car {
    display: flex;
}

.delivery-form-type label,
.delivery-car label {
    color: #777;
}

.delivery-car label::before,
.delivery-car label::before {
    display: none;
}

.delivery-car .delivery-car-label {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    opacity: .5;
    cursor: pointer;
    padding-left: 0px !important;
    height: 80px !important;
}

.delivery-car .delivery-car-label:hover,
.delivery-car input:checked + label {
    opacity: 1;
}

.delivery-car input:checked + label::after {
    display: none !important;
}

.delivery-cars-wrapper {
    margin-bottom: 15px;
    padding-top: 15px;
}

.delivery-car .delivery-car-label p {
    margin-bottom: 25px;
}


.d-car-icon-car1 {
    width: 36px;
    height: 17px;
    margin-bottom: 8px;
}

.d-car-icon-car2 {
    width: 49px;
    height: 24px;
    margin-bottom: 8px;
}

.d-car-icon-car3 {
    width: 51px;
    height: 24px;
    margin-bottom: 8px;
}

.d-car-icon-car4 {
    width: 59px;
    height: 20px;
    margin-bottom: 8px;
}

.d-car-icon-car5 {
    width: 76px;
    height: 24px;
    margin-bottom: 8px;
}

.delivery-form-type input:checked + label,
.delivery-car input:checked + label {
    color: #333;
    font-weight: 600;
}

.tabs-block {
    margin-top: 15px;
}

.tabs-block .nav li::before {
    display: none;
}

.tabs-block .nav li a {
    text-transform: uppercase;
    font-weight: 500;
    border: 1px solid #eee;
}

.tabs-block .nav-link.active {
    color: #fff !important;
    background-color: #009e9c !important;
    border: 1px solid #009e9c !important;
}

.tabs-block .nav .nav-divider, .tabs-block .nav > li > a:focus, .tabs-block .nav > li > a:hover {
    background-color: #f9f9f9;
    color: #000;
}

.tabs-block .tab-pane {
    padding-top: 25px;
}

.price-loading {
    transition: .3s ease;
    filter: blur(4px);
}

.corsik_yaDeliveryMap__inputBlock {
    margin-top: 26px;
}

@media screen and (min-width: 768px) {
    .corsik_yaDeliveryMap__content > div {
        height: 100%;
    }
}

.corsik_yaDeliveryMap__content > div.mapFixed--bottom {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.corsik_yaDeliveryMap__content > div.mapFixed #corsik_yaDeliveryMap__map {
    position: fixed;
    top: 62px;
}

.corsik_yaDeliveryMap__content > div.mapFixed.mapFixed--bottom #corsik_yaDeliveryMap__map {
    position: relative;
    top: unset;
}

@media screen and (max-width: 991px) {
    .corsik_yaDeliveryMap__content > div.mapFixed #corsik_yaDeliveryMap__map {
        position: fixed;
        top: 110px;
    }
}

#corsik_yaDeliveryMap__map > ymaps {
    position: relative;
    border-radius: 4px;
    display: block;
    height: calc(100% - 50px);
    overflow: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    width: 100%;
}

#corsik_yaDeliveryMap__map > ymaps:before {
    box-shadow: inset 0 3px 8px rgba(0, 0, 0, .25);
    content: "";
    height: 100%;
    pointer-events: none;
    position: absolute;
    width: 100%;
    z-index: 5;
}

.corsik_yaDeliveryMap__inputGroup {
    position: relative;
    justify-content: flex-start;
    min-height: 56px;
    cursor: text;
    display: flex;
    flex-direction: column;
    width: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background-color: initial;
    border: none;
    font-size: 100%;
    outline: none;
    text-decoration: none;
    text-shadow: none;
    -webkit-user-select: initial;
    user-select: auto;
    vertical-align: initial;
    *vertical-align: middle;
}

.corsik-delivery-page .corsik_yaDeliveryMap__inputGroup label {
    padding-top: 28px;
    min-height: 56px;
    box-sizing: border-box;
    cursor: inherit;
    position: relative;
}

.corsik_yaDeliveryMap__inputGroup label input[type="text"] {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background-color: initial;
    border: none;
    outline: none;
    text-decoration: none;
    text-shadow: none;
    -webkit-user-select: initial;
    user-select: auto;
    vertical-align: initial;
    box-shadow: none;
    box-sizing: border-box;
    color: #000;
    cursor: inherit;
    display: block;
    min-height: 18px;
    padding: 0;
    width: 100%;
    z-index: 2;
    background: #fff;
}

.corsik_yaDeliveryMap__inputGroup label input[type="text"]:focus {
    border: none;
}

.corsik_yaDeliveryMap__inputGroup label .corsik_yaDeliveryMap__inputGroup__placeholder {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    height: 28px;
    line-height: 28px;
    pointer-events: none;
    transition: all .3s ease;
    vertical-align: middle;
    z-index: 1;
    color: rgba(0, 0, 0, .6);
    font-size: 14px;
    left: 0;
    line-height: 28px;
    position: absolute;
    top: 0;
    -webkit-transform: translateY(26px);
    transform: translateY(26px);
}

.corsik_yaDeliveryMap__inputGroup.corsik_yaDeliveryMap__inputGroup--focused label .corsik_yaDeliveryMap__inputGroup__placeholder {
    color: rgba(0, 0, 0, .8);
    font-size: 12px;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.corsik_yaDeliveryMap__inputGroup label:after {
    background-color: #d9dde3;
    bottom: 0;
    box-sizing: initial;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    transition: border-color .3s ease;
    width: 100%;
    z-index: 1;
}

.corsik_yaDeliveryMap__inputGroup.corsik_yaDeliveryMap__inputGroup--focused label:after {
    background-color: #000;
}

.delivery-form-type input {
    border: 0;
    height: 1px;
    left: -4999px;
    opacity: 0;
    padding: 0;
    position: absolute;
    width: 1px;
    z-index: -1;
}

.delivery-form-type label {
    cursor: pointer;
    padding-left: 25px;
    position: relative;
}

.delivery-form-type label:before {
    border: 1px solid #9da7b8;
    border-radius: 50%;
    content: "";
    height: 18px;
    left: 0;
    position: absolute;
    top: 2px;
    transition: border-color, background .2s linear;
    width: 18px;
}

.delivery-form-type input:checked + label:before {
    border: 1px solid #eb6420;
}

.delivery-form-type input:checked + label:after {
    border-radius: 50%;
    background-color: #eb6420;
    content: "";
    height: 10px;
    left: 4px;
    position: absolute;
    top: 6px;
    transition: border-color, background .2s linear;
    width: 10px;
}

.delivery-cars {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
}

.delivery-car-input {
    display: none;
}

.cargo-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0 30px
}

.cargo-row .form-control {
    display: flex;
    align-items: center;
    gap: 15px;
    width: auto;
}

.cargo-row .form-control input {
    max-width: 60px;
    text-align: center;
}

#map {
    width: 100%;
    height: 500px;
}

/*Правки Алана*/
@media (max-width: 600px) {
    #map {
        height: 280px;
    }

    .col-md-6 {
        padding-right: 0 !important;
    }

    #corsik_yaDeliveryMap__map {
        min-height: 280px;
        height: 280px !important;
    }

    .ymaps-2-1-79-controls__control {
        inset: 20px auto auto 10px !important;
    }

    .corsik_yaDeliveryMap__inputBlock {
        margin-top: 45px;
    }
}

.custom-btn.btn.has-ripple:not(.font-ignore) {
    background: #eb6420 !important;
}
