.elem-counter input.counter-value
{
    z-index: 3;
}

.bask-page__orderTotal-buttons
{
    display: -webkit-box;
    display: -webkit-flex;
    display:    -moz-box;
    display: -ms-flexbox;
    display:         flex;

    margin-left: 59px;
}

.bask-page__orderTotal-buttons .bask-page__orderTotal-btn
{
    margin-left: 28px;
}

.bask-page__orderTotal-buttons .bask-page__orderTotal-btn:first-child
{
    margin-left: 0;
}

.bask-page__orderTotal-btn--secondary
{
    font-family: 'Mulish';
    font-size: 22px;
    font-weight: normal;
    font-style: normal;
    font-weight: 800;

    width: auto;
    height: 60px;
    padding-right: 40px;
    padding-left: 40px;

    white-space: nowrap;

    color: #21272c;
    border: 2px solid #53bed0;
    -webkit-border-radius: 2px;
       -moz-border-radius: 2px;
            border-radius: 2px;
    outline: 0;
    background-color: #fff;
}
.bask-page__orderTotal-btn--secondary.bask-page__orderTotal-btn--disable
{
    color: #999;
}

.bask-page__orderTotal-btn--secondary:hover
{
    text-decoration: underline;

    opacity: 1;
}

.bask-page__orderTotal-btn--secondary:focus,
.bask-page__orderTotal-btn--secondary:active
{
    padding-right: 40px;
    padding-left: 40px;
}

.bask-page__parcelTotal-price
{
    position: relative;
}

.bask-page__parcelTotal-delivery
{
    font-family: 'Mulish Regular';
    font-size: 14px;

    position: absolute;
    bottom: -22px;
    left: 0;

    color: #000;
}

.bold
{
    font-family: 'Mulish Bold';
}

.red
{
    color: #c03;
}

.crossed
{
    position: relative;
}

.crossed:before
{
    position: absolute;

    width: 100%;
    height: 50%;
    margin-top: 2px;

    content: '';
    -webkit-transform: rotate(-7deg);
       -moz-transform: rotate(-7deg);
        -ms-transform: rotate(-7deg);
         -o-transform: rotate(-7deg);
            transform: rotate(-7deg);

    border-bottom: 1px solid #000;
}

.modal-2
{
    position: fixed;
    z-index: 1050;
    top: 0;
    left: 0;

    overflow: auto;

    width: 100vw;
    height: 100vh;
}

.modal-2__overlay
{
    position: fixed;
    z-index: 1055;

    width: 100%;
    height: 100%;

    background-color: rgba(0, 0, 0, .8);
}

.modal-2__wrapper
{
    padding-top: 100px;
    padding-bottom: 50px;
}

.modal-qOrder__wrapper
{
    position: absolute;
    z-index: 1060;
    top: 50%;
    left: 50%;

    display: -webkit-box;
    display: -webkit-flex;
    display:    -moz-box;
    display: -ms-flexbox;
    display:         flex;

    width: 100%;
    max-width: 805px;

    -webkit-transform: translate(-50%, -50%);
       -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
         -o-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);

    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
    -ms-flex-align: center;
            align-items: center;
}

.modal-qOrder__inner
{
    position: relative;

    width: 100%;
    padding-top: 55px;
    padding-right: 40px;
    padding-bottom: 55px;
    padding-left: 40px;

    -webkit-border-radius: 10px;
       -moz-border-radius: 10px;
            border-radius: 10px;
    background-color: #fff;
}

.modal-qOrder__title
{
    font-family: 'Mulish Bold';
    font-size: 26px;
    line-height: 1.1;

    display: block;

    margin-bottom: 8px;

    text-align: center;
}

.modal-qOrder__desc
{
    font-family: 'Mulish Regular';
    font-size: 20px;
    line-height: 1.1;

    display: block;

    margin-bottom: 8px;
    margin-bottom: 30px;

    text-align: center;
}

.modal-qOrder__close
{
    position: absolute;
    top: -20px;
    right: -60px;

    width: 40px;
    height: 40px;

    cursor: pointer;
}

.modal-qOrder__close:before
{
    position: absolute;
    top: 18px;
    left: -6px;

    width: 53px;
    height: 3px;

    content: '';
    -webkit-transform: rotate(-45deg);
       -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
         -o-transform: rotate(-45deg);
            transform: rotate(-45deg);

    background-color: #fff;
}

.modal-qOrder__close:after
{
    position: absolute;
    top: 18px;
    left: -6px;

    width: 53px;
    height: 3px;

    content: '';
    -webkit-transform: rotate(45deg);
       -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
         -o-transform: rotate(45deg);
            transform: rotate(45deg);

    background-color: #fff;
}

.modal-qOrder .form-row
{
    display: -webkit-box;
    display: -webkit-flex;
    display:    -moz-box;
    display: -ms-flexbox;
    display:         flex;

    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
    -ms-flex-pack: justify;
            justify-content: space-between;
}

.modal-qOrder .form-group
{
    margin-bottom: 30px;
}

.modal-qOrder .form-label
{
    font-family: 'Mulish Bold';
    font-size: 16px;
    font-weight: normal;
}

.modal-qOrder .form-control
{
    width: 232px;
    height: 52px;
}

.modal-qOrder .form-button
{
    text-align: center;
}

.modal-qOrder .btn
{
    font-family: 'Mulish Bold';
    font-size: 20px;
    font-weight: normal;

    width: 232px;
    height: 52px;

    -webkit-border-radius: 30px;
       -moz-border-radius: 30px;
            border-radius: 30px;
}

.modal-thanks__wrapper
{
    position: absolute;
    z-index: 1060;
    top: 50%;
    left: 50%;

    display: -webkit-box;
    display: -webkit-flex;
    display:    -moz-box;
    display: -ms-flexbox;
    display:         flex;

    width: 100%;
    max-width: 805px;

    -webkit-transform: translate(-50%, -50%);
       -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
         -o-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);

    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
    -ms-flex-align: center;
            align-items: center;
}

.modal-thanks__inner
{
    position: relative;

    width: 100%;
    padding-top: 85px;
    padding-right: 170px;
    padding-bottom: 85px;
    padding-left: 170px;

    -webkit-border-radius: 10px;
       -moz-border-radius: 10px;
            border-radius: 10px;
    background-color: #fff;
}

.modal-thanks__title
{
    font-family: 'Mulish Bold';
    font-size: 44px;
    line-height: 1.1;

    display: block;

    margin-bottom: 22px;

    text-align: center;
}

.modal-thanks__desc
{
    font-family: 'Mulish Regular';
    font-size: 20px;
    line-height: 1.1;

    display: block;

    margin-bottom: 8px;
    margin-bottom: 30px;

    text-align: center;
}

.modal-thanks__social
{
    text-align: center;
}

.modal-thanks__close
{
    position: absolute;
    top: -20px;
    right: -60px;

    width: 40px;
    height: 40px;

    cursor: pointer;
}

.modal-thanks__close:before
{
    position: absolute;
    top: 18px;
    left: -6px;

    width: 53px;
    height: 3px;

    content: '';
    -webkit-transform: rotate(-45deg);
       -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
         -o-transform: rotate(-45deg);
            transform: rotate(-45deg);

    background-color: #fff;
}

.modal-thanks__close:after
{
    position: absolute;
    top: 18px;
    left: -6px;

    width: 53px;
    height: 3px;

    content: '';
    -webkit-transform: rotate(45deg);
       -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
         -o-transform: rotate(45deg);
            transform: rotate(45deg);

    background-color: #fff;
}

.modal-thanks .elem-social.inst:before
{
    background-image: url(/images/inst-white.svg);
}

.modal-thanks .elem-social.inst:hover:before
{
    background-image: url(https://sad-i-ogorod.ru/images/inst_active.svg);
}

@media screen and (max-width: 950px)
{
    .modal-qOrder__close
    {
        top: -57px;
        right: 0;
    }

    .modal-thanks__close
    {
        top: -57px;
        right: 0;
    }
}

@media screen and (max-width: 840px)
{
    .modal-2__wrapper
    {
        padding-right: 16px;
        padding-left: 16px;
    }

    .modal-qOrder .form-row
    {
                flex-direction: column;

        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
           -moz-box-orient: vertical;
           -moz-box-direction: normal;
            -ms-flex-direction: column;
    }

    .modal-qOrder .form-control
    {
        width: 100%;
    }

    .modal-qOrder__close
    {
        top: 16px;
        right: 16px;

        width: 25px;
        height: 25px;
    }

    .modal-qOrder__close:before
    {
        top: 11px;
        left: -4px;

        width: 33px;
        height: 2px;

        background-color: #000;
    }

    .modal-qOrder__close:after
    {
        top: 11px;
        left: -4px;

        width: 33px;
        height: 2px;

        background-color: #000;
    }

    .modal-thanks__close
    {
        top: 16px;
        right: 16px;

        width: 25px;
        height: 25px;
    }

    .modal-thanks__inner
    {
        padding-right: 40px;
        padding-left: 40px;
    }

    .modal-thanks__close:before
    {
        top: 11px;
        left: -4px;

        width: 33px;
        height: 2px;

        background-color: #000;
    }

    .modal-thanks__close:after
    {
        top: 11px;
        left: -4px;

        width: 33px;
        height: 2px;

        background-color: #000;
    }

    .modal-thanks__title
    {
        font-size: 36px;
    }

    .modal-thanks__social .elem-social
    {
        margin-right: 3px;
        margin-left: 3px;
    }
}

@media screen and (max-width: 767px)
{
    .bask-page__parcelTotal-delivery
    {
        bottom: 15px;
        left: 50%;

        -webkit-transform: translateX(-50%);
           -moz-transform: translateX(-50%);
            -ms-transform: translateX(-50%);
             -o-transform: translateX(-50%);
                transform: translateX(-50%);
        white-space: nowrap;
    }

    .bask-page__parcelTotal-price
    {
        padding-bottom: 35px;
    }

    .bask-page__orderTotal-btn--secondary
    {
        border-color: #fff;
    }

    .bask-page__orderTotal-buttons
    {
                flex-direction: column;

        margin-left: 0;

        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
           -moz-box-orient: vertical;
           -moz-box-direction: normal;
            -ms-flex-direction: column;
    }

    .bask-page__orderTotal-buttons .bask-page__orderTotal-btn
    {
        margin-bottom: 20px;
        margin-left: 0;
    }

    .bask-page__orderTotal-buttons .bask-page__orderTotal-btn:last-child
    {
        margin-bottom: 0;
    }
    .bask-page__orderTotal-btn--secondary.bask-page__orderTotal-btn--disable
    {
        color: black;
    }
}

@media screen and (max-width: 400px)
{
    .modal-qOrder__inner
    {
        padding-right: 20px;
        padding-left: 20px;
    }

    .modal-thanks__inner
    {
        padding-right: 20px;
        padding-left: 20px;
    }

    .modal-qOrder .btn
    {
        width: 100%;
    }
}
