.tx-spmodals-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1020;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    pointer-events: none;
    opacity: 0;
}

.tx-spmodals-modal .tx-spmodals-dialog {
    position: relative;
    width: auto;
    max-width: 600px;
    margin: 1.75rem auto;
    pointer-events: none;
    box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.3)
}

.tx-spmodals-modal.tx-spmodals-modal-show {
    display: block;
    opacity: 1;
    pointer-events: all
}

.tx-spmodals-modal.tx-spmodals-modal-show .tx-spmodals-dialog {
    animation: tx-spmodals-fadein;
    animation-duration: 0.5s;
    animation-iteration-count: 1
}

@keyframes tx-spmodals-fadein {
    0% {
        transform: perspective(500px) rotateX(-25deg) translateY(-280px) scale(0)
    }

    40% {
        transform: perspective(0px) rotateY(10deg) translateY(0px) scale(1.1)
    }

    100% {
        transform: perspective(0px) rotateY(0deg) translateY(0px) scale(1)
    }
}

div.modal-header{
    padding:0.5rem 0.5rem 0.3rem 0.5rem;
    color:#e52b2b;
}
.tx-spmodals-modal .tx-spmodals-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    outline: 0;
    background-color:#ff5;
}

.tx-spmodals-modal .tx-spmodals-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem;
    /* border-bottom: 1px solid #dee2e6 */
}

.tx-spmodals-modal .tx-spmodals-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem
}

.tx-spmodals-modal .tx-spmodals-close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
    padding: 1rem;
    margin: -1rem -1rem -1rem auto;
    border: none
}

.tx-spmodals-modal .tx-spmodals-close span {
    pointer-events: none
}

a.tx-spmodals-link, button.tx-spmodals-link {
    padding: 0.7rem 1.1rem;
    background-color: #eee;
    border: 1px solid #ccc;
    text-decoration: none
}
h4.modal-title{
    font-size:1.2rem;
    text-transform:uppercase!important;
    padding-left:1rem;
}
.modal-footer{
    padding-right:1rem;
}
.modal-body{
    /* margin:0;*/
    padding:1rem 2rem 0 2rem; 
}
.modal-body .frame-block-frame{
    box-shadow: none;
}
.modal-body .frame{
    margin:0;
    padding:0; 
}
.modal-body.sp-modal-frameless, .modal-body.sp-modal-frameless .frame-inner{
    margin:0;
    padding:0; 
}
.sp-icon-btn-left{
    margin-right: 0.5rem;
    line-height: 1.5;
}
.sp-icon-btn-right{
    margin-left: 0.5rem;
    line-height: 1.5;
}