.gift-online__modal-input-wrap{
    position: relative;
}
.gift-online__modal-input.error{
    border-color: #f9857c;
}
.gift-online__modal-error-block{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding: 2px 8px;
    font-weight: 400;
    border: 1px solid #ee472f;
    border-radius: 10px;
    background: #f9cdac;
    box-shadow: 0 1px 4px rgb(0 0 0 / 15%);
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    top: -26px;
    display: none;
}
.gift-online__modal-error-block:after, .gift-online__modal-error-block:before {
    position: absolute;
    bottom: -5px;
    left: 50%;
    margin-left: -4px;
    width: 0;
    height: 0;
    border-width: 6px 4px 0;
    border-style: solid;
    border-color: #f9cdac transparent transparent;
    content: "";
}
.gift-online__modal-error-block:before{
    bottom: -6px;
    border-color: #ee472f transparent transparent;
}
.datepicker-wrap{
    display: none;
    position: absolute;
    width: 300px;
    z-index: 1;
    background: #fff;
    border-radius: 13px;
    border: #cbcccd 1px solid;
    overflow: hidden;
    top: -30px;
    right: 40px;
}
#datepicker .ui-widget.ui-widget-content{
    background: #fff;
    width: auto;
    height: auto;
    margin: 0 0 11px;
    /* min-height: 243px; */
    border: none;
}
#datepicker .ui-widget-header {
    border: none;
    background: none;
    columns: inherit;
    font-weight: normal;
}
#datepicker .ui-state-default, #datepicker .ui-widget-content .ui-state-default, #datepicker .ui-state-hover{
    padding: 0;
    background: none;
    border: none;
    text-align: center;
    width: 25px;
    height: 25px;
    display: block;
    margin: 0 auto;
    line-height: 25px;
    border-radius: 50%;
    color: #506470;
}
#datepicker .ui-datepicker-today .ui-state-default{
    background: #e8ecf1;
    color: inherit;
    font-weight: 700;
    line-height: 25px;
}
#datepicker .ui-state-default.ui-state-active{
    color: #fff;
    font-weight: 700;
    background: #10a1b1;
}
#datepicker .ui-datepicker-calendar thead{
    background: #f4f6f9;
}
#datepicker .ui-datepicker th{
    padding: 2px;
}
#datepicker .ui-datepicker th{
    font-weight: normal;
    font-size: 13px;
}
.datepicker-wrap .datepicker-bar{
    text-align: center;
    padding: 0 0 18px;
}
.datepicker-wrap .datepicker-bar .but_blue{
    min-width: 105px;
    font-size: 18px;
    margin: 0 3px;
    height: 40px;
    line-height: 39px;
    display: inline-block;
    vertical-align: middle;
}
.datepicker-wrap .datepicker-bar .but_blue:hover{
    text-decoration: none;
}
.datepicker-now.but_blue{
    background: #ececec !important;
    border-color: #ececec !important;
    color: #2e404b !important;
    min-width: 105px;
    font-size: 18px;
    margin: 0 3px;
    height: 40px;
    display: inline-block;
    line-height: 40px;
}
#datepicker .ui-datepicker-prev, #datepicker .ui-datepicker-next{
    width: 12px;
    height: 20px;
    left: 17px;
    top: 5px;
    cursor: pointer;
}
#datepicker .ui-datepicker-next{
    left: auto;
    right: 17px;
}
#datepicker .ui-datepicker-prev:after, #datepicker .ui-datepicker-next:after{
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    border-top: #10a1b1 1px solid;
    border-left: #10a1b1 1px solid;
    transform: rotate(-45deg);
    transform-origin: center;
}
#datepicker .ui-datepicker-next:after{
    transform: rotate(135deg);
}
#datepicker .ui-datepicker .ui-datepicker-prev span, #datepicker .ui-datepicker .ui-datepicker-next span{
    display: none;
}

.windows8 {
    display: none;
    width: 50px;
    height: 50px;
    margin: auto;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
}

.windows8 .wBall {
    position: absolute;
    width: 47px;
    height: 47px;
    opacity: 0;
    transform: rotate(225deg);
    -o-transform: rotate(225deg);
    -ms-transform: rotate(225deg);
    -webkit-transform: rotate(225deg);
    -moz-transform: rotate(225deg);
    animation: orbit 3.3225s infinite;
    -o-animation: orbit 3.3225s infinite;
    -ms-animation: orbit 3.3225s infinite;
    -webkit-animation: orbit 3.3225s infinite;
    -moz-animation: orbit 3.3225s infinite;
}

.windows8 .wBall .wInnerBall{
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgb(255,255,255);
    left:0px;
    top:0px;
    border-radius: 6px;
    -o-border-radius: 6px;
    -ms-border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
}

.windows8 #wBall_1 {
    animation-delay: 0.726s;
    -o-animation-delay: 0.726s;
    -ms-animation-delay: 0.726s;
    -webkit-animation-delay: 0.726s;
    -moz-animation-delay: 0.726s;
}

.windows8 #wBall_2 {
    animation-delay: 0.143s;
    -o-animation-delay: 0.143s;
    -ms-animation-delay: 0.143s;
    -webkit-animation-delay: 0.143s;
    -moz-animation-delay: 0.143s;
}

.windows8 #wBall_3 {
    animation-delay: 0.2865s;
    -o-animation-delay: 0.2865s;
    -ms-animation-delay: 0.2865s;
    -webkit-animation-delay: 0.2865s;
    -moz-animation-delay: 0.2865s;
}

.windows8 #wBall_4 {
    animation-delay: 0.4295s;
    -o-animation-delay: 0.4295s;
    -ms-animation-delay: 0.4295s;
    -webkit-animation-delay: 0.4295s;
    -moz-animation-delay: 0.4295s;
}

.windows8 #wBall_5 {
    animation-delay: 0.583s;
    -o-animation-delay: 0.583s;
    -ms-animation-delay: 0.583s;
    -webkit-animation-delay: 0.583s;
    -moz-animation-delay: 0.583s;
}

@media screen and (max-width: 700px) {
    .product-gift-title{
        margin: 0;
        font-size: 16px;
    }
    .modalwin.modal-gift .title {
        margin: 0 0 16px;
    }
    .modalwin.modal-gift .modalwin-columns__inner-right {
        padding: 26px 15px 40px;
    }
}

/* @media screen and (max-width: 1080px) {
    .gift-online-trigger{
        margin: 0 20px 0 0;
    }
}
@media screen and (max-width: 1067px) {
    .gift-online-trigger{
        margin: 20px 20px 0 0;
    }
}
@media screen and (max-width: 570px) {
    .gift-online-trigger{
        margin: 20px 20px 0 0;
    }
}
@media screen and (max-width: 850px) {
    .gift-online__visible{
        position: relative;
    }
    .gift-online__visible:after{
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: #fff;
        z-index: 9999;
    }
    .mobile .gift-online__wrap-scroll{
        padding: 0;
        overflow-y: scroll;
        background: #fff;
    }
    .mobile .gift-online__wrap.no-bg{
        background: none;
    }
    .mobile .gift-online__wrap-scroll .gift-online__modal{
        width: 100%;
        max-width: none;
        height: 100%;
        border-radius: 0;
        box-shadow: none;
    }
    .mobile .gift-online__modal-list{
        margin-bottom: 7px;
    }
    .mobile .gift-online__modal .checkbox{
        margin: 8px 0 10px;
    }
    .mobile .gift-online__modal .checkbox-text{
        margin: 0;
        top: -2px;
    }
}
@media screen and (max-width: 820px) {
    .gift-online-trigger{
        margin: 0 20px 0 0;
    }
}
@media screen and (max-width: 670px) {
    .gift-online__modal{
        width: 100%;
        max-width: none;
        height: 100%;
        border-radius: 0;
        padding: 17px 20px;
        box-shadow: none;
    }
    .gift-online__wrap{
        padding: 0;
        overflow-x: scroll;
        background: #fff;
        position: relative;
    }
    .gift-online__modal > .but_blue{
        font-size: 16px;
    }
}
@media screen and (max-width: 540px) {
    .pi_btns .but_blue, .pi_btns .but_white{
        margin: 0 20px 20px 0;
    }
    .gift-online__modal-form .pi_btns .but_blue{
        margin: 0;
    }
}
@media screen and (max-width: 425px) {
    .pi_btns .but_blue, .pi_btns .but_white{
        margin: 0 0 20px 0;
    }
    .gift-online-trigger{
        margin: 20px 20px 0 0;
    }
    .pi_btns {
        display: flex;
        justify-content: space-around;
    }
    .credit_button1 > div{
        margin: 0 auto;
    }
    .pi_btns .halva-yandex-btns{
        align-items: center;
        margin: 20px 0 0px;
    }
    .datepicker-now.but_blue{
        width: 44%;
    }
    .datepicker-wrap{
        left: 50%;
        transform: translateX(-50%);
    }
} */