.modal-gift {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    line-height: 1.2;
    padding-right: 17px;
    z-index: 1030;

}
.modal-gift .modal-content {
    background: transparent url(./img/form_email_bg_big.png) top center no-repeat;
    height: 620px;
    margin-top: 150px;
    border: 0px;
    box-shadow: none;
    width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.modal-gift .modal-dialog {
    min-width: 530px !important;
}


#giftModal.modal-gift .form-control.email__popup {
    border: none;
    border-bottom: 1px solid #d9d9d9;
    color: #010101;
    font-size: 16px;
    font-weight: 300;
    box-shadow: none;
}


#giftModal.modal-gift .close {
    z-index: 100;
    filter: alpha(opacity=70);
    opacity: .7;
    top: 58px;
    right: 112px;
}

.modal-gift .close:hover {
    filter: alpha(opacity=100);
    opacity: 1;
}

.modal-gift .flaticon-close47 {
    display: block;
    width: 18px;
    height: 18px;
    background: url(./img/cancel.png) no-repeat;
    background-size: 18px 18px;
}

.modal-gift .flaticon-close47:before {
    content: '';
}

.modal-gift .modal-header {
    padding: 0;
    min-height: 0;
    border: 0px;
}

.modal-gift .modal-content > .modal-body {
    padding: 30px 15px;
}

.modal-gift-title {
    text-transform: uppercase;
    font-size: 34px;
    line-height: 41px;
    font-weight: 900;
    color: #000000;
    margin-top: 20px;
    margin-bottom: 40px;
}

.modal-gift-title-gift {
    font-size: 46px;
    line-height: 46px;
}

.modal-gift-title-big {
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;
    padding: 0;
    font-size: 28px;
    color: #000000;
    font-weight: 900;
    line-height: 29px;
}

.modal-gift-title-small {
    text-align: center;
    margin-top: 0;
    padding: 0;
    color: #000000;
    font-weight: 900;
    line-height: 29px;
    font-size: 22px;
    display: block;
}


.modal-gift-name {
    font-size: 23px;
    margin-top: 25px;
}

.modal-gift-form-second-row {
    margin-top: 8px;
}

.modal-gift-name-big {
    font-size: 35px
}

.modal-gift .btn {
    line-height: 25px;
    font-weight: 300;
}

.modal-gift .row {
    margin-left: -10px;
    margin-right: -10px;
}

.modal-gift .row > div {
    padding-left: 10px;
    padding-right: 10px;
}

.modal-gift .btn-primary {
    background-color: #49b509;
    color: #ffffff;
    box-shadow: 0 5px 10px 0 rgba(125, 137, 177, 0.43);
    cursor: pointer;
    border-radius: 27px;
    font-size: 20px;
    font-weight: normal;
    padding: 0;
    border: none;
    user-select: none;
    outline: none;
    width: 172px;
    height: 54px;

    display: block;
    margin-left: auto;
    margin-right: auto;
}

.modal-gift .btn-primary:hover {
    background-color: #3E9708;
}

.modal-gift .btn-default {
    color: #fff;
    border-radius: 12px;
    border: 0;
    font-size: 20px;
    background: rgb(250, 81, 23);
    background: -moz-linear-gradient(top, rgb(250, 81, 23) 0%, rgb(250, 93, 39) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgb(250, 81, 23)), color-stop(100%, rgb(250, 93, 39)));
    background: -webkit-linear-gradient(top, rgb(250, 81, 23) 0%, rgb(250, 93, 39) 100%);
    background: -o-linear-gradient(top, rgb(250, 81, 23) 0%, rgb(250, 93, 39) 100%);
    background: -ms-linear-gradient(top, rgb(250, 81, 23) 0%, rgb(250, 93, 39) 100%);
    background: linear-gradient(to bottom, rgb(250, 81, 23) 0%, rgb(250, 93, 39) 100%);

    -moz-box-shadow: 0 0 5px #000;
    -webkit-box-shadow: 0 0 5px #000;
    box-shadow: 0 0 5px rgba(249, 248, 252, 0.76);
}

.modal-gift .btn-default:hover {
    background: -moz-linear-gradient(top, rgb(217, 70, 20) 0%, rgb(250, 104, 54) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgb(217, 70, 20)), color-stop(100%, rgb(250, 104, 54)));
    background: -webkit-linear-gradient(top, rgb(217, 70, 20) 0%, rgb(250, 104, 54) 100%);
    background: -o-linear-gradient(top, rgb(217, 70, 20) 0%, rgb(250, 104, 54) 100%);
    background: -ms-linear-gradient(top, rgb(217, 70, 20) 0%, rgb(250, 104, 54) 100%);
    background: linear-gradient(to bottom, rgb(217, 70, 20) 0%, rgb(250, 104, 54) 100%);
    background: linear-gradient(to bottom, rgb(217, 70, 20) 0%, rgb(250, 104, 54) 100%);
    color: #fff;
}

.modal-gift .btn-default:active, .modal-gift .btn-default:focus {
    color: #fff;
}

.btn-default {
    border: 0;
    font-size: 20px;
    color: #fff;
    background-color: #7c7c7c;
}

.btn-default:hover {
    color: #fff;
    background-color: #696969;
}

.modal-gift .checkbox {
    text-align: right;
    margin-top: 20px;
}

.modal-gift .not_show {
    font-size: 13px;
    color: rgb(60, 59, 59);
    text-align: center;
}

.modal-gift .not_show:before {
    -webkit-filter: grayscale(1);
    filter: grayscale(100%);
}

.modal-gift.step-2 .modal-content > .modal-body {
    padding: 30px;
}

.modal-gift.step-1 .modal-gif-step-body-2 {
}

.modal-gift.step-2 .modal-gif-step-body-1 {
    display: none;
}

.modal-gif-step-body-2 .modal-gift-title {
    text-align: center;
    font-size: 29px;
    text-transform: none;
    font-style: italic;
    margin-top: 10px;
}

.modal-gif-step-body-2 .modal-gift-title-big {
    font-size: 25px;
    text-align: center;
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 0;
    font-weight: 600;
}

.modal-gif-step-body-2 .modal-gift-title-small {
    font-size: 12px;
    text-align: center;
    margin-top: 15px;
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 0;
    font-weight: 300;
    line-height: 20px;
}

.modal-gift .modal-dialog {
    width: 100%;
}

.modal-gif-step-body-2 .modal-gift-title-big:after {
    bottom: -3px;
}

.modal-gift .form-control {
    height: 46px;
}


.modal-gif-step-body-2 .modal-gift .label_for_email {
    color: #adadad;
    font-family: Roboto;
    font-size: 12px;
    font-weight: 300;
}

.modal-gif-step-body-2 .modal-gift-title-big {
    padding-top: 90px;
}

.modal-gif-step-body-2 .form-group {
    margin: 23px 0;
}

.personal-data {
    padding-top: 10px;
}

.form-horizontal.email__form {
    padding-left: 50px;
    padding-right: 50px;
}

.modal-gif-step-body-2 .personal-data .label-custom {
    color: #555555;
    font-family: Roboto;
    font-size: 11px;
    font-weight: 300;
}

.modal-gif-step-body-2 .not_show {
    margin-top: 47px;
}

.modal-gift-icon-next {
    display: inline-block;
    width: 19px;
    height: 15px;
    margin-left: 4px;
    margin-top: -2px;
    vertical-align: middle;
    background: url(./img/icon-next.png) no-repeat;
}

.modal-gift-product-wrapper {
    width: 250px;
    height: 250px;
    margin-right: 22px;
    overflow: hidden;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 10px 0 rgba(165, 175, 212, 0.43);
}

.modal-gift-product-image {
    display: block;
    width: 100%;
}

.modal-gift-btn-agree,
.modal-gift-btn-disagree {
    display: block;
    margin: 0 auto;
    text-align: center;
}

.modal-gift-btn-submit {
    margin-top: 5px;
}

.modal-gift .personal-data {
    display: block;
    margin-bottom: 0;
}

.modal-gift .personal-data,
.modal-gift .personal-data a {
    color: #000000;
}

.email__popup:focus{
    box-shadow: none;
}
.modal-gift-btn-yes {
    margin-top: 25px;
}

#isAgreeLicense-error {
    margin-left: 25px;
    margin-top: 5px;
    margin-bottom: 0;
}

#isEmail-error {
    margin-top: 10px;
    margin-bottom: 0;
    text-align: center;
}

@media (max-width: 768px) {
    #giftModal.modal-gift .modal-content {
        background: transparent url(./img/form_email_bg_small.png) top center no-repeat;
        height: 375px;
        border: 0px;
        box-shadow: none;
        margin-top: 70px;
        max-width: 400px;
        width: 100%;
    }

    #giftModal.modal-gift .modal-dialog {
        min-width: 320px !important;
    }

    #giftModal .modal-gif-step-body-2 .modal-gift-title-big {
        padding-top: 30px;
        color: #000000;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.2;
    }

    #giftModal.modal-gift .modal-dialog {
        min-width: 320px !important;
    }

    #giftModal .modal-gif-step-body-2 {
        width: 270px;
        margin: 0 auto;
    }

    #giftModal .form-horizontal.email__form {
        padding-left: 40px;
        padding-right: 40px;
    }

    #giftModal .label_for_email {
        color: #adadad;
        font-family: Roboto;
        font-size: 9px;
        font-weight: 300;
        margin-bottom: 0;
    }

    #giftModal .email__popup {
        color: #010101;
        font-family: Roboto;
        font-size: 11px;
        font-weight: 300;
        padding: 5px 0;
        height: auto;

    }

    #giftModal .modal-gif-step-body-2 .form-group {
        margin: 9px 0 5px 0;
    }

    #giftModal .checkbox-custom {
        left: -17px;
        top: 7px;
        width: 11px;
        height: 11px;
        border-radius: 2px;

    }

    #giftModal .checked .checkbox-custom {
        border: 1px solid #49b509;
    }

    #giftModal .checked .checkbox-custom::before {
        left: -2px;
        top: -4px;
    }

    #giftModal .label-custom {
        color: #555555;
        font-size: 10px;
        font-weight: 300;
        padding-left: 0;
    }

    #giftModal.modal-gift .flaticon-close47 {
        display: block;
        width: 8px;
        height: 8px;
        background: url(./img/close_btn_small.png) no-repeat;
        background-size: 8px 8px;
    }

    #giftModal.modal-gift .modal-header {
        width: 270px;
        margin: 0 auto;
        height: 1px;
        position: relative;
    }

    #giftModal.modal-gift .close {
        z-index: 100;
        filter: alpha(opacity=70);
        opacity: .7;
        top: 38px;
        right: 15px;
    }

    #giftModal.modal-gift .btn-primary {
        box-shadow: 3px 4px 10px rgba(125, 137, 177, 0.43);
        border-radius: 16px;
        background-color: #3e9708;
        height: 34px;
        color: #ffffff;
        font-family: Roboto;
        font-size: 12px;
        font-weight: 400;
        line-height: 34px;
        padding-left: 23px;
        padding-right: 23px;
        width: auto;
    }

    #giftModal.modal-gift .btn-block-gift {
        margin-top: 0;
    }

    #giftModal .personal-data {
        padding-left: 13px;
    }

    .error #isAgreeLicense-error {
        margin-left: 0;
        margin-bottom: -8px;
        font-size: 10px;

    }
    #isEmail-error{
        margin-top: 5px;
        margin-bottom: 0;
        text-align: center;
        font-size: 10px;
    }

}


@media (min-width: 768px) {
    #giftModal .modal-content {
        box-shadow: none;
    }
}


.gift_email {
    position: relative;
}

.gift_email > label {
    color: #aaa;
    font-size: 16px;
    font-weight: 300;
    position: absolute;
    pointer-events: none;
    left: 0;
    top: 10px;
    transition: all .2s ease;
}

.gift_email > input:focus ~ label {
    top: -15px;
    -webkit-transform: scale(.75);
    transform: scale(.75);
    transform-origin: 0 0;
    left: 0;
}

.gift_email .not_empty ~ label {
    top: -15px;
    -webkit-transform: scale(.75);
    transform: scale(.75);
    transform-origin: 0 0;
    left: 0;
}

.error.gift_email .not_empty ~ label {
    color: #ff0000;
}
