/* modal form */
button.close-validation {
    background: transparent;
    border: 0;
    font-size: 1.8rem;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    color: #aaa;
    cursor: pointer;
}

#modal-shipping-form .modal-content, .modal-dark .modal-content{
    background-color: #2e2e2e;
    color: #fff;
}

#modal-shipping-form .close, .modal-dark .close{
    color: #fff;
}

#modal-shipping-form label, .modal-dark label{
    font-family: "Changa", sans-serif;
}

#modal-shipping-form .form-control, .modal-dark .form-control{
    padding: .525rem 1rem;
    border: 0 !important;
    background-color: #161616;
    color: #aaa;
}

#modal-shipping-form .form-control::placeholder, .modal-dark .form-control::placeholder{
    color: #aaa;
}

#modal-shipping-form .form-control:focus, .modal-dark .form-control:focus{
    background-color: #161616;
    color: #fff;
}

#modal-shipping-form .modal-header, .modal-dark .modal-header{
    border-bottom: 1px solid #161616;
}

#modal-shipping-form .modal-footer, .modal-dark .modal-footer{
    border-top: 1px solid #161616;
}

.modal label {
    font-family: 'Changa', sans-serif;
}

/* Modal */
.modal-background {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1010;
    background-color: rgba(0, 0, 0, 0.65);
    display: none;
}

.modal-background--blackout {
    display: block;
}

.modal-popup {
    height: calc(100vh - 100px);
    width: 600px;
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 1011;
    background-color: #ffffff;
    transform: translateX(-50%) translateY(calc(-50% - 0.5px));
}

@media screen and (max-width:600px){
     .modal-popup{
        width: 340px;
     }
}

.modal-popup__icon-close {
    width: 30px;
    height: 30px;
    position: absolute;
    right: -15px;
    top: -15px;
    cursor: pointer;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAMNJREFUSEvtlN0NgkAQhD86sBMsQTuQSrUDLUE7sQQziSQn7h8mF1/gDbLMtzs7dwOdn6GzPhsgdfjvFp2AG/B0Wt0BB+DijRJNIPEzcAeOBkTiV2APTB4kAkhA3Y8GpBV/vKcwp8x2YEHkxtx5KK7CDKCaJUTfZEsqXgUsIXovia8FzLboP2/xX2GqWtR6LhFr8WZSM4CVFgl56Vo1QRTFKMIfkMpB8xbaQn46aOqk61WR3pSVgmzJFY2wZgOkFna36AUMCDQZmJpqFgAAAABJRU5ErkJggg==') center no-repeat #4573ff;
}

.modal-popup,
.modal-popup__icon-close {
    opacity: 0;
    pointer-events: none;
    transition: all 300ms ease-in-out;
}

.modal-popup--visible,
.modal-popup--visible .modal-popup__icon-close {
    opacity: 1;
    pointer-events: auto;
}

/* iFrame */
.iframe-invoice {
    height: inherit;
    width: inherit;
    border: 0;
    overflow-y: scroll;
}