.modal-header {
    justify-content: center;
    padding: 10px 30px;
    border-radius: 0;
}

.modal-body {
    padding: 0 35px;
    padding-top: 30px;
    padding-bottom: 20px;
}

.modal-body .forgotten-password {
    display: block;
    margin-top: -10px;
    font-size: 13px;
}

.modal-body .ticket-item  {
    text-align: center;
    display: none;
}

.modal-body .ticket-item.active  {
    text-align: center;
    display: block;
}

.modal-body .forgotten-password:hover {
    text-decoration: underline;
}

.modal .title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    border-bottom: 0;
    text-transform: uppercase;
    color: #000000;
}

.modal h4.title,
.modal h5.title{
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    border-bottom: 0;
}

.modal .form-control{
    height: 38px;
}

.modal .form-group label{
    font-size: 13px;
}

.modal-content {
    box-shadow: none;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.modal{
    overflow-y: visible;
    z-index: 2100;
}

.modal-footer {
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    margin-top: 0;
    padding: 15px 35px;
    padding-top: 0;
    padding-bottom: 40px;
    text-align: left;
    line-height: 20px;
    border: 0;
}

.modal-footer .btn-facebook {
    float: right;
}

.modal-footer .btn-google {
    float: right;
    margin-left: 0;
    line-height: 20px;
    display: none;
}

.modal-footer .btn-facebook:hover,
.modal-footer .btn-google:hover{
    opacity: 0.7;
}

.modal-footer .btn {
    margin: 0 auto;
    min-width: 330px;
    width: auto;
    line-height: 40px;
    padding: 0;
    font-size: 16px;
    height: 40px;
    border-radius: 6px;

}

.modal-footer .social-newtwork-login{
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.modal-footer .registration-btn-wrapper{
    text-align: center;
    margin: 0;
    width: 100%;
}

.modal-footer .btn-login ,
.modal-footer .registration-btn-wrapper a {
    width: 100%;
    margin: 0 auto;
    display: block;
}

.modal-footer .btn-login {
    width: 100%;
}

.modal-footer .registration-btn-wrapper .title {
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 400;
    text-transform: none;
}

.modal-footer .registration-btn-wrapper .btn {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    background: #ffffff;
    color: #2da44a;
    border: 1px solid #2da44a;
}

.modal .close {
    position: absolute;
    top: 50%;
    right: 5px;
    margin: 0;
    padding: 10px;
    font-size: 26px;
    opacity: 1;
    z-index: 9;
    transform: translateY(-50%);
}

.modal .close.bootbox-close-button  {
    color: #000000;
    transform: translateX(-50%);
    right: 10px;
    padding: 0;
}

.modal .bootbox-body{
    color: #000000;
}

.bootbox.modal .modal-body{
    margin-bottom: 20px;
}

.bootbox.modal .modal-footer{
    flex-direction: initial;
}

.modal-footer .btn{
    min-width: calc(50% - 15px);
}

.lost_password_form .modal-footer .btn{
    min-width: 100%;
}



/*!* promo modal *!*/
/*.promo-modal .modal-dialog {*/
/*    width: max-content !important;*/
/*    display: inline-block;*/
/*    position: fixed;*/
/*    top: 50%;*/
/*    left: 50%;*/
/*    margin: 0 !important;*/
/*    -webkit-transform: translate(-50%,-50%) !important;*/
/*    -moz-transform: translate(-50%,-50%) !important;*/
/*    -ms-transform: translate(-50%,-50%) !important;*/
/*    -o-transform: translate(-50%,-50%) !important;*/
/*    transform: translate(-50%,-50%) !important;*/
/*    max-width: calc(100vw - 20px);*/
/*    max-height: calc(100vh - 20px);*/
/*}*/

/*#onload_modal .modal-body img {*/
/*    max-height: calc(100vh - 50px);*/
/*}*/


.modal-small .modal-dialog{
    width: 100%;
    max-width: 420px;
}

.modal-large .modal-dialog{
    width: 700px;
    max-width: calc(100% - 20px);
}

#invoice_modal_order.modal-large .modal-dialog {
    width: 850px;
}

#lost_password_modal .modal-footer{
    text-align: center;
}

.modal-map{
    height: 500px;
    width: 100%;
    display: block;
}

.modal-header {
    justify-content: center;
    padding: 10px 30px;
    border-radius: 0;
    position: relative;
}

.modal-body {
    padding: 0 35px;
    padding-top: 30px;
    padding-bottom: 20px;
}

.modal-body .forgotten-password {
    display: block;
    margin-top: -10px;
    font-size: 13px;
}

.modal-body .forgotten-password:hover {
    text-decoration: underline;
}

.modal .title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    border-bottom: 0;
    text-transform: uppercase;
    color: #000000;
}

.modal h4.title,
.modal h5.title{
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    border-bottom: 0;
}

.modal .form-control{
    height: 38px;
}

.modal .form-group label{
    font-size: 13px;
}

.modal-open .navbar-fixed-top,
.modal-open .navbar-fixed-bottom{
    padding-right:0;
    margin-right: 0;
}

.modal-open {
    padding-right: 0 !important;
}

.modal-content {
    box-shadow: none;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.modal-content-product-details-quick-view {
    min-height: 600px;
}

.modal{
    overflow-y: visible;
    z-index: 2100;
}

.modal-footer {
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    margin-top: 0;
    padding: 15px 35px;
    padding-top: 0;
    padding-bottom: 40px;
    text-align: left;
    line-height: 20px;
    border: 0;
}

.modal-footer .btn-facebook {
    float: right;
}

.modal-footer .btn-google {
    float: right;
    margin-left: 0;
    line-height: 20px;
    display: none;
}

.modal-footer .btn-facebook:hover,
.modal-footer .btn-google:hover{
    opacity: 0.7;
}

/*.modal-footer .btn {
    margin: 0 auto;
    min-width: 330px;
    width: auto;
    line-height: 40px;
    padding: 0;
    font-size: 13px;
    height: 40px;
    border-radius: 6px;
}*/

.modal-footer .social-newtwork-login{
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.modal-footer .registration-btn-wrapper{
    text-align: center;
    margin: 0;
    width: 100%;
}

.modal-footer .btn-login ,
.modal-footer .registration-btn-wrapper a {
    width: 100%;
    margin: 0 auto;
    display: block;
}

.modal-footer .btn-login {
    width: 100%;
}

.modal-footer .registration-btn-wrapper .title {
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 400;
    text-transform: none;
}

.modal-footer .registration-btn-wrapper .btn {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    background: #ffffff;
    color: #2da44a;
    border: 1px solid #2da44a;
}

.modal .close {
    position: absolute;
    top: 50%;
    right: 5px;
    margin: 0;
    padding: 10px;
    font-size: 26px;
    opacity: 1;
    z-index: 9;
    transform: translateY(-50%);
}

.modal .close.bootbox-close-button  {
    color: #000000;
    transform: translateX(-50%);
    right: 10px;
    padding: 0;
}

.modal .bootbox-body{
    color: #000000;
}

.bootbox.modal .modal-body{
    margin-bottom: 20px;
}

.bootbox.modal .modal-footer{
    flex-direction: initial;
}

.modal-footer .btn{
    min-width: calc(50% - 15px);
}

.lost_password_form .modal-footer .btn{
    min-width: 100%;
}



/*!* promo modal *!*/
/*.promo-modal .modal-dialog {*/
/*    width: max-content !important;*/
/*    display: inline-block;*/
/*    position: fixed;*/
/*    top: 50%;*/
/*    left: 50%;*/
/*    margin: 0 !important;*/
/*    -webkit-transform: translate(-50%,-50%) !important;*/
/*    -moz-transform: translate(-50%,-50%) !important;*/
/*    -ms-transform: translate(-50%,-50%) !important;*/
/*    -o-transform: translate(-50%,-50%) !important;*/
/*    transform: translate(-50%,-50%) !important;*/
/*    max-width: calc(100vw - 20px);*/
/*    max-height: calc(100vh - 20px);*/
/*}*/

/*#onload_modal .modal-body img {*/
/*    max-height: calc(100vh - 50px);*/
/*}*/

.modal .close:not(:disabled):not(.disabled):focus,
.modal .close:not(:disabled):not(.disabled):hover{
    opacity: 1;
}

.modal-small .modal-dialog{
    width: 100%;
    max-width: 420px;
}

.modal-large .modal-dialog{
    width: 700px;
    max-width: calc(100% - 20px);
}

#onload_modal .close{
    top: 25px;
    right: 30px;
    padding: 3px 9px;
}

#onload_modal .modal-dialog{
    width: 800px;
}

#onload_modal .modal-content{
    padding: 50px 20px;
}

#onload_modal .modal-content .title{
    margin-bottom: 40px;
}

#onload_modal .modal-content .modal-header{
    border-bottom: 0;
    padding: 0;
    width: 100%;
    display: block;
    text-align: center;
    background: transparent;
}

#onload_modal .modal-content .description{
    font-size: 14px;
    text-align: center;
    padding: 0px 0 40px;
}

#onload_modal .modal-body{
    padding: 0;
}

#onload_modal .btn {
    height: 40px;
    width: 130px;
    padding: 0 10px;
}

#onload_modal .button-wrapper {
    position: absolute;
    top: 0;
    right: 0;
}

#onload_modal .form-control{
    height: 40px;
}

#invoice_modal_order.modal-large .modal-dialog {
    width: 850px;
}

#lost_password_modal .modal-footer{
    text-align: center;
}

.modal-map{
    height: 500px;
    width: 100%;
    display: block;
}

#ticket_modal .modal-dialog .ticket-modal-loader.loader-wrapper .loader-icon{
    top: 50% !important;
    left: 50% !important;
    transform: translateY(-50%) !important;
}

#ticket_modal {
    pointer-events: none;
}

#ticket_modal .modal-content{
    pointer-events: all;
}

/*.modal-subscribe .modal-dialog {*/
/*    width: 500px !important;*/
/*    max-width: 94% !important;*/
/*}*/

@media screen and (max-width: 768px) {

    .modal-body{
        padding: 20px 15px;
    }

    .modal .dl-horizontal dt{
        width: 120px;
    }

    .modal .dl-horizontal dd{
        margin-left: 130px;
    }

    #invoice_modal_order .modal-body{
        overflow-x: auto;
    }

}

/* Modal quick view */
.modal-quick-view .modal-header{
    background: #ffffff;
    border-bottom: none;
    min-height: 45px;
}

.modal .modal-quick-view .close{
    color: #666666;
    text-shadow: none;
    padding: 0 10px;
}

.modal-content-product-details-quick-view{
    min-height: 600px;
    padding: 0 30px;
}

/* Invoice modal */
#invoice_modal_order .modal-title{
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    border-bottom: 0;
    text-transform: uppercase;
    color: #ffffff;
}

.invoice img {
    max-width: 788px;
}

.invoice .invoice-name {
    position: absolute;
    top: 39px;
    left: 31px;
    max-width: 328px;
    font-size: 16px;
}

.invoice .invoice-purpose {
    position:absolute;
    top: 117px;
    left: 31px;
    max-width: 328px;
    font-size: 16px;
}

.invoice .invoice-recipient {
    position: absolute;
    top: 197px;
    left: 31px;
    max-width: 328px;
    font-size: 16px;
}

.invoice .invoice-code{
    position: absolute;
    top: 51px;
    left: 432px;
    width: 37px;
    font-size: 16px;
    text-align: center;
}

.invoice .invoice-amount{
    position: absolute;
    top: 51px;
    left: 577px;
    max-width: 183px;
    font-size: 16px;
}

.invoice .invoice-account{
    position: absolute;
    top: 103px;
    left: 506px;
    width: 255px;
    font-size: 16px;
}

.invoice .invoice-modelnumber{
    position: absolute;
    top: 155px;
    left: 427px;
    width: 47px;
    font-size: 16px;
    text-align: center;
}

.invoice .invoice-referencenumber{
    position: absolute;
    top: 156px;
    left: 506px;
    max-width: 256px;
    font-size: 16px;
}

#invoice_modal_order .modal-footer{
    text-align: center;
    padding-bottom: 20px;
}


/*.modal-subscribe .modal-dialog {*/
/*    width: 500px !important;*/
/*    max-width: 94% !important;*/
/*}*/

/* QUIZ MODAL SUBSCRIBE */

.quiz-modal-loyalty .modal-content {
    width: 530px;
    height: 360px;
    background: #F9F9F9;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 6px;
}

.quiz-modal-loyalty .modal-content .modal-header {
    background: unset;
    border: none;
}

.quiz-modal-loyalty .modal-content .modal-body {
    padding: 30px 60px;
}

.quiz-modal-loyalty .close {
    font-size: 0;
    margin-right: 0;
    margin-left: auto;
    width: 25px;
    height: 25px;
    background: url("../../../_static/images/core/quiz_modal_close.svg");
    opacity: 1;
}

.quiz-modal-loyalty .modal-content .text-label.heading,
.login_form_with_token_without_pass .text-label.heading,
.login_form_send_token_without_pass .text-label.heading {
    text-align: center;
    letter-spacing: 0px;
    color: #304251;
    font-size: 25px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 20px;
}

.quiz-modal-loyalty .modal-content .text-label.description,
.login_form_with_token_without_pass .text-label.description,
.login_form_send_token_without_pass .text-label.description {
    text-align: center;
    letter-spacing: 0px;
    color: #304251;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 40px;
}

.quiz-modal-loyalty .modal-content .input-wrapper,
.login_form_with_token_without_pass .input-wrapper,
.login_form_send_token_without_pass .input-wrapper {
    display: flex;
    margin-bottom: 10px;
}

.quiz-modal-loyalty .modal-content .input-wrapper input,
.login_form_with_token_without_pass .input-wrapper input,
.login_form_send_token_without_pass .input-wrapper input {
    background: #FFFFFF;
    border: 1px solid #BBBBBB;
    border-radius: 6px 0px 0px 6px;
    height: 40px;
}

.quiz-modal-loyalty .modal-content .btn,
.login_form_with_token_without_pass .btn,
.login_form_send_token_without_pass .btn {
    background: #304251 0% 0% no-repeat padding-box;
    border-radius: 0px 6px 6px 0px;
    width: 150px;
    height: 40px;
}

.quiz-modal-loyalty .modal-content .btn:hover,
.login_form_with_token_without_pass .btn:hover,
.login_form_send_token_without_pass .btn:hover {
    background: #0068CD 0% 0% no-repeat padding-box;
}

.quiz-modal-loyalty .modal-content .register-btn,
.login_form_with_token_without_pass .register-btn,
.login_form_send_token_without_pass .register-btn {
    line-height: 26px;
    float: right;
    margin-bottom: 20px;
    width: 100%;
}

@media screen and (max-width: 768px) {

    .modal{
        z-index: 99999;
    }

    .modal-body{
        padding: 20px 15px;
    }

    .modal .dl-horizontal dt{
        width: 120px;
    }

    .modal .dl-horizontal dd{
        margin-left: 130px;
    }

    .bootbox.modal .modal-body{
        padding: 20px 30px 0px 15px;
    }

    .modal-footer{
        padding: 15px;
    }

    #onload_modal .modal-dialog{
        width: calc(100% - 20px);
    }


}

@media screen and (max-width: 576px) {

    /* QUIZ MODAL SUBSCRIBE */

    .quiz-modal-loyalty {
        margin: 10px;
    }

    .quiz-modal-loyalty .modal-content {
        max-width: 100%;
        height: 290px;
    }

    .quiz-modal-loyalty .modal-content .modal-body {
        padding: 20px 10px;
    }

    .quiz-modal-loyalty .modal-content .text-label.heading {
        font-size: 18px;
    }

    .quiz-modal-loyalty .modal-content .input-wrapper .btn,
    .quiz-modal-loyalty .modal-content .input-wrapper input,
    .quiz-modal-loyalty .modal-content .text-label.description {
        font-size: 15px;
    }

    .quiz-modal-loyalty .modal-content .text-label.description {
        margin-bottom: 25px;
    }

    .quiz-modal-loyalty .close {
        right: 10px;
    }
}