@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: normal;
    src: url('fonts/eot/iranyekanwebregular.eot');
    src: url('fonts/eot/iranyekanwebregular.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
    url('fonts/woff/iranyekanwebregular.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('fonts/ttf/iranyekanwebregular.ttf') format('truetype');
}

*{
    font-family: iranyekan;
}

#page_loading, .popup {
    width: 100%;
    height: 100%;
    display: none;
    right: 0;
    top: 0;
    bottom: 0;
    left: 0;
    opacity: 0
}

.copyright, .popup .header {
    box-shadow: 0 1px 1px #fff;
    text-align: center;
}

.copyright, .popup, .popup .amount, .popup .header {
    text-align: center
}

*, .button, .popup * {
    outline: 0;
}

.button, .popup *, body, html {
    font-family: iranyekan;
}

body, html {
    background: url(../images/forms/bg.jpg) center no-repeat fixed;
    background-size: 100% 100%;
    cursor: default;
    overflow-x: hidden !important;
}

* {
    text-decoration: none
}

.copyright {
    width: 100%;
    padding: 25px 10px;
    margin-top: 30px;
    box-sizing: border-box;
    background: #4d9fd0;
    border-bottom: 1px solid #d2d2d3;
    border-radius: 9px
}

.copyright, .copyright a {
    position: relative;
    font-size: 12px;
    color: #65edf2;
    transition: all ease-in-out .2s
}

.copyright a, .copyright span, .copyright strong {
    color: #fff
}

.copyright a:hover {
    color: #9ff8fb
}

.popup * {
    direction: rtl
}

.popup form {
    margin: 0;
    padding: 0
}

.popup {
    position: fixed;
    max-width: 100%;
    margin: auto;
    overflow: auto !important;
    overflow-x: hidden !important;
    z-index: 9999999999;
    -webkit-perspective: 800px;
    perspective: 800px
}

.popup hr {
    border: none;
    border-top: 1px dashed #9ff8fb;
    width: 80%
}

.popup .header {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    background: #41ccc9;
    border-bottom: 1px solid #d2d2d3;
    padding: 70px 0 20px;
    border-radius: 0 0 9px 9px;
    width: 100%;
    font-size: 13px;
    margin-bottom: 20px;
    color: #9afefb
}

.popup .product_desc {
    font-size: 12px;
    font-weight: 400;
    display: block;
    margin: 20px;
    text-align: center;
    border-top: 1px dashed #9afefb;
    border-bottom: 1px dashed #9afefb;
    padding: 15px 0;
    color: #fff
}

.popup .alert {
    font-size: 11px;
    color: #41ccc9;
    letter-spacing: -.3px;
    margin-bottom: 15px;
    display: block
}

.popup .alert strong {
    font-size: 12px;
    letter-spacing: .5px
}

.popup .amount {
    display: block;
    color: #fff;
    font-weight: 400;
    font-size: 18px;
    margin-top: 7px
}

.popup .amount_total {
    color: #7b6790
}

.popup .popup_close {
    position: absolute;
    width: 17px;
    height: 18px;
    top: 5px;
    right: 5px;
    background: url(../images/forms/close.png)
}

.button, .popup .container {
    position: relative;
    width: 98%
}

.popup .container {
    top: 80px;
    max-width: 400px;
    min-width: 320px;
    box-sizing: border-box;
    background: #f5f5f7;
    box-shadow: 20px 40px 45px rgba(0, 0, 0, .3);
    padding: 25px;
    border-radius: 8px;
    margin: 50px auto 200px;
    -webkit-transition: all linear .4s;
    -moz-transition: all linear .4s;
    -ms-transition: all linear .4s;
    -o-transition: all linear .4s;
    transition: all linear .4s
}

.popup .logo {
    position: relative;
    width: 70px;
    height: 70px;
    margin: -50px auto;
    border-radius: 100%;
    /*background: url(../images/forms/avatar.png) center no-repeat #191e2b;*/
    background-color: #7b6790;;
    color: #FFFFFF;
    padding-top: 10px;
    box-sizing: border-box;
    background-size: 70px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, .3);
    border: 3px solid #fff;
    z-index: 999;
    -webkit-transition: all linear .2s;
    -moz-transition: all linear .2s;
    -ms-transition: all linear .2s;
    -o-transition: all linear .2s;
    transition: all linear .2s
}

.popup .error_message {
    width: 100%;
    display: block;
    color: #da3036;
    font-size: 12px;
    margin-bottom: 15px
}

.popup input:not([type=submit]), .popup select, .popup textarea {
    cursor: text;
    background: no-repeat #fff;
    color: #000;
    font-size: 13px;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 9px 35px 9px 9px;
    margin-bottom: 14px;
    border-radius: 4px 14px 4px 4px;
    border: 1px solid hsla(240, 1%, 49%, .25);
    border-right: 2px solid hsla(240, 1%, 49%, .25);
    box-shadow: inset 0 1px 2px 0 rgba(0, 0, 0, .07), 0 0 0 0 transparent;
    -webkit-transition: all linear .15s;
    -moz-transition: all linear .15s;
    -ms-transition: all linear .15s;
    -o-transition: all linear .15s;
    transition: all linear .15s
}

.popup input:not([type=submit]):focus, .popup textarea:focus {
    box-shadow: inset 0 0 0 0 transparent, 0 0 6px 0 #41ccc9;
    border-color: #03A9F4;
}

.popup select {
    padding-right: 30px;
    cursor: pointer
}

.popup input[name=count] {
    padding-right: 15px
}

.popup input[dir-ltr] {
    text-align: right
}

.popup .field_error {
    box-shadow: inset 0 1px 2px transparent, 0 1px 0 transparent, 0 0 2px 0 rgba(77, 159, 208, .5) !important;
    border-color: #4d9fd0 !important
}

.popup input[type=number]::-webkit-inner-spin-button, .popup input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none
}

.popup input[type=number] {
    -moz-appearance: textfield
}

.button {
    max-width: 260px;
    display: block;
    margin: 20px auto 0;
    top: 0;
    border: 0;
    line-height: 0;
    text-align: center;
    padding: 25px 0;
    border-radius: 100px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, .3);
    cursor: pointer;
    color: #ebcefe;
    font-size: 18px;
    text-shadow: 1px 1px rgba(0, 0, 0, .3);
    transition: all ease-in-out .1s;
    background: #7b6790
}

.button span {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 7px 7px 5px 5px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .35) inset;
    display: none
}

.button:active {
    box-shadow: none;
    top: 3px
}

.popup input[name=full_name] {
    background-image: url(../images/forms/icon-user.svg);
    background-position: right 10px center;
    background-size: auto 16px
}

.popup input[name=code_melli] {
    background-image: url(../images/forms/icon-id-card.svg);
    background-position: right 8px center;
    background-size: auto 14px
}

.popup input[name=email] {
    background-image: url(../images/forms/icon-mail.svg);
    background-position: right 9px center;
    background-size: auto 14px
}

.popup input[name=address] {
    background-image: url(../images/forms/icon-place.svg);
    background-position: right 11px center;
    background-size: auto 16px
}

.popup input[name=mobile] {
    background-image: url(../images/forms/icon-tel.svg);
    background-position: right 9px center;
    background-size: auto 16px
}

.popup input[name=color], .popup input[name=field_title], .popup input[name=floors], .popup input[name=model], .popup input[name=postcode], .popup input[name=size], .popup input[name=student_id], .popup input[name=unit] {
    background-position: right 10px center
}

.popup input[name=postcode] {
    background-image: url(../images/forms/icon-barcode.svg);
    background-size: auto 12px
}

.popup input[name=student_id] {
    background-image: url(../images/forms/icon-personal-code.png)
}

.popup input[name=field_title] {
    background-image: url(../images/forms/icon-study.png)
}

.popup input[name=model] {
    background-image: url(../images/forms/icon-model.png)
}

.popup input[name=size] {
    background-image: url(../images/forms/icon-size.png)
}

.popup input[name=color] {
    background-image: url(../images/forms/icon-color.png)
}

.popup input[name=floors] {
    background-image: url(../images/forms/icon-floors.png)
}

.popup input[name=unit] {
    background-image: url(../images/forms/icon-unit.png)
}

.popup textarea[name=description] {
    background-image: url(../images/forms/icon-comment.svg);
    background-position: right 9px top 12px;
    background-size: auto 14px;
    margin-bottom: 8px
}

.popup input[name=amount] {
    background-image: url(../images/forms/icon-dollar.svg);
    background-position: right 10px top 12px;
    background-size: auto 16px
}

.popup #object_count_input {
    background-image: url(../images/forms/icon-products.svg);
    background-position: right 9px top 13px;
    background-size: auto 14px
}

.popup select[name=gateway_bank] {
    background-image: url(../images/forms/icon-money.svg);
    background-position: right 10px center;
    background-size: auto 16px
}

.popup .animation_shake {
    -webkit-animation-duration: .4s;
    animation-duration: .4s;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-name: NextpayPopupShake;
    animation-name: NextpayPopupShake
}

.popup .tooltip {
    position: relative;
    width: 100%;
    background: #4d9fd0;
    color: #fff;
    display: block;
    border-radius: 0 0 7px 7px;
    font-size: 10px;
    text-align: center;
    padding: 6px 0 8px;
    margin: -20px 0 6px;
    line-height: 0
}

.box-devider {
    display: block;
    width: 100%;
    height: 1px
}

a.frame {
    color: #FFEB3B;
    font-size: 16px;
    transition: all ease-in-out .2s
}

a.frame:hover {
    color: #fff
}

a.frame:after, a.frame:before {
    content: "]";
    left: -10px;
    position: relative;
    -webkit-transition: all ease-in-out .3s;
    -moz-transition: all ease-in-out .3s;
    -ms-transition: all ease-in-out .3s;
    -o-transition: all ease-in-out .3s;
    transition: all ease-in-out .3s
}

a.frame:before {
    content: "[";
    right: -10px
}

a.frame:hover:after {
    left: -50px;
    opacity: 0
}

a.frame:hover:before {
    right: -50px;
    opacity: 0
}

.status_back{
    font-size: 20px;
    text-align: center;
    margin: 80px 0 10px 0;
}
.status_success{
    color: #4CAF50;
}
.status_failed{
    color: #f44336;
}
.status_canceled{
    color: #FF9800;
}

@keyframes NextpayPopupShake {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0)
    }
    12.5% {
        -webkit-transform: translateX(-6px) rotateY(-5deg);
        transform: translateX(-6px) rotateY(-5deg)
    }
    37.5% {
        -webkit-transform: translateX(5px) rotateY(4deg);
        transform: translateX(5px) rotateY(4deg)
    }
    62.5% {
        -webkit-transform: translateX(-3px) rotateY(-2deg);
        transform: translateX(-3px) rotateY(-2deg)
    }
    87.5% {
        -webkit-transform: translateX(2px) rotateY(1deg);
        transform: translateX(2px) rotateY(1deg)
    }
    to {
        -webkit-transform: translateX(0);
        transform: translateX(0)
    }
}

@media (max-width: 768px) {
    .popup .container {
        max-width: 98%
    }
}