@import url('https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700');
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700');
.popup__discount__modal {
    width: 450px;
    left: unset!important;
    top: 31% !important;
    margin: auto;
    height: 332px;
    max-height: 332px;
    box-shadow: 0 14px 21px rgba(0, 0, 0, 0.45);
    border: none;
    border-radius: 6px;
    /*background: url("/img/modal/leaves.png") no-repeat;*/
    background-position: top right;
    background-color: #fdfdfd;
    position: relative;
}

.popup__discount__modal-body{
    padding: 40px 30px 20px;
}

.close{
    background: url(../images/close_w.svg) no-repeat;
}
.popup__discount__modal::after{
    content: "";
    width: 292px;
    height: 293px;
    /*background: url("/img/modal/bird.png") no-repeat center;*/

    position: absolute;
    bottom: 25px;
    right: -70px;
}

.popup__discount__modal-header {
    border: none;
    height: 0;
    position: relative;
    padding: 0;
}
.popup__discount__modal-body{
    /*padding: 30px 200px 40px 50px;*/
}
.popup__discount__modal-close-button {
    position: absolute;
    cursor: pointer;
    width: 16px;
    height: 16px;
    right: -30px;
    top: -19px;
}
.nointerest {
    color: #22cbe6;
    font-family: "open_sansregular";
    font-size: 11px;
    font-weight: 400;
    line-height: 26px;
    text-decoration: underline;
    text-align: center;
    margin-top: 0;
}

.nointerest:hover{
    text-decoration: none;
    cursor: pointer;
}
.popup__discount .fa-close::before, .popup__discount .fa-remove::before, .popup__discount .fa-times::before {
    content: "";
    /*background: url("/img/modal/close.svg") no-repeat;*/
    width: 16px;
    height: 16px;
    position: absolute;
    top:0;
    left: 0;
}

.popup__discount__modal-body-main-text {
    color: #333333;
    font-family: Barlow;
    font-size: 24px;
    font-weight: bold;
    line-height: 35px;
    text-align: center;
    margin: 0;
    width: 100%;
    text-transform: none;
    /*margin-bottom: 20px;*/
}
.popup__discount__modal-body-main-text span {
    font-size: 24px;
    font-weight: 500;
    color: #000;
    line-height: 10px;
}
.popup__discount__modal-body-main-text p{
    margin: 0;
}

.popup__discount__modal-body-secondary-text{
    color: #24292E;
    font-size: 16px;
    font-family: Barlow;
    font-weight: 500;
    /*line-height: 24px;*/
    /*text-align: center;*/
    /*font-style: normal;*/
    /*margin-bottom: 15px;*/
}

.popup__discount__modal-body-secondary-text span{
    font-weight: 700;
    color: #0366D6;
}

.popup__discount__modal-body-last-text{
    color: #555555;
    font-family: Roboto;
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
}

.popup__discount__modal.success .popup__discount__modal-body-main-text,
.popup__discount__modal.success .popup__discount__modal-body-secondary-text,
.popup__discount__modal.success .popup__discount__modal-body-last-text,
.popup__discount__modal.success form,
.popup__discount__modal.success:after {
    display: none;
}

.popup__discount__modal.success{
    display: block;
    background: #fff no-repeat right center;
    width: 360px;
    height:246px;
    margin: auto;
    padding-right: 0;
}

.popup__discount__modal.success .popup__discount__modal-body{
    padding: 40px 70px;
}

.popup__discount__modal.success .popup__discount__modal-body-success-text{
    display: block;
    text-align: center;
}

.popup__discount__modal-body-success-text p {
    color: #333333;
    font-family: Barlow;
    font-size: 24px;
    font-weight: bold;
    line-height: 35px;
    text-align: center;
    margin: 0;
    width: 100%;
    text-transform: none;
}

.popup__discount__modal-body-success-text span {
    color: #555555;
    font-family: Barlow;
    font-size: 20px;
    font-weight: 400;
    line-height: 36px;
    text-align: center;
}

.popup__discount__modal-body-success-text .popup__discount__form-row-submit-button{
    margin-top: 20px;
}

.popup__discount__form-row{
    width: 100%;
    max-width: 300px;
    margin-bottom: 8px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

.popup__discount__form-row:first-of-type{
    margin-top: 22px;
}

.popup__discount__form-row:last-of-type{
    margin-top: 25px;
}

.popup__discount__form-row-group{
    border: none;
    border-radius: 0;
    width: 100%;
    max-width: 300px;
    margin: 0;
    padding: 0;
    position: relative;
}

.popup__discount__form-row .popup__discount-label{
    color: #555555;
    font-family: Roboto;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
}

.popup__discount__form-row .popup__discount-text-field{
    width:100%;
    height: 40px;
    border-radius: 3px;
    font-size: 16px;
    line-height: 20px;
    box-sizing: border-box;
    outline: none;

    display: block;
    border: none;
    background: none;
    padding: 9px 19px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    color: #6A737D;
    font-weight: 300;
    margin: 0 0 10px;
    background: #E6EAEF;
}

.popup__discount__form-row .popup__discount-text-field:focus{
    border-color: #ffc90f;
}


.popup__discount__form-row.field-error label {
    color: #da032c;
}
.error {
    position: absolute;
    color: #da032c;
    display: none;
    transition: 0.3s all;
    margin: 0;
    font-family: Roboto;
    font-size: 12px;
    font-weight: 400;
}
.popup__discount__form-row-group.field-error .error{
    display: block;
    transition: 0.3s all;
}

.popup__discount__form-row-group.field-error input{
    border-color: #da032c;
}
.popup__discount__form-row-submit-button {
    background-color: #0366D6;
    font-family: Barlow;
    transition: 0.25s;
    width: 100%;
    height: 49px;
    border-radius: 5px;
    border: none;
    outline:none;
    position: relative;
    letter-spacing: 1.35px;

    display: block;
    max-width: 290px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
    margin-top: 12px;
    padding: 14px 10px 15px;
    cursor: pointer;
}

.popup__discount__form-row-submit-button div,
.popup__discount__form-row-submit-button:focus div{
    height: 47px;
    margin: 4px;
    padding-left: 46px;
    text-align: left;
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 3px;
    line-height: 48px;
}

.popup__discount__modal-body-success-text .popup__discount__form-row-submit-button div,
.popup__discount__modal-body-success-text .popup__discount__form-row-submit-button:focus div{
    padding: 0;
    text-align: center;
}

.popup__discount__form .popup__discount__form-row-submit-button div:before {
    position: absolute;
    content: '';
    background-image: url(../img/svg/icon_arrow.svg);
    background-repeat: no-repeat;
    width: 26px;
    height: 12px;
    right: 46px;
    top: 22px
}

.popup__discount__form .popup__discount__form-row-submit-button:hover div:before {
    -webkit-animation-name: hvr-icon-wobble-horizontal;
    animation-name: hvr-icon-wobble-horizontal;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
}

.popup__discount__form-row-submit-button span,
.popup__discount__form-row-submit-button:focus span{
    color: #000000;
    font-family: "Poppins";
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
}

/*.popup__discount__modal-body-success-text .popup__discount__form-row-submit-button:hover{*/
/*    background: #000;*/
/*}*/

.popup__discount__modal-body-success-text .popup__discount__form-row-submit-button:hover div{
    background: #fff;
    height: 51px;
    margin: 2px;
    line-height: 51px;
}

.popup__discount__modal-body-success-text .popup__discount__form-row-submit-button:hover span{
    background: none;
    color:#000;
}

.inform{
    display: block;
    font-family: Barlow;
    font-weight: 500;
    color: #0366D6;
    font-size: 16px;
    text-align: center;
}
