.html_modal {
    display:none;
    position:fixed;
    z-index:1;
    left:0;
    top:0;
    width:100%;
    height:100%;
    overflow:auto;
    background-color:rgb(0,0,0);
    background-color:rgba(0,0,0,0.65);
    z-index:111100 !important;
}
.html_modal .html_modal-area {
    position:relative;
    background-color:#fefefe;
    margin:auto;
    padding:0;
    min-width:400px;
    width:auto;
    display:inline-block;
    xwidth:80%;
    max-width:1000px;
    box-shadow:0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name:animatetop;
    -webkit-animation-duration:0.4s;
    animation-name:animatetop;
    animation-duration:0.4s;
    z-index:111100 !important;
    border-radius:5px;
}

@media only screen and (max-width:991px){
    .html_modal .html_modal-area {
        width:calc(100% - 100px);
    }
}

@media only screen and (max-width:767px){
    .html_modal .html_modal-area {
        width:calc(100% - 30px);
    }
}

@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

.html_modal .html_modal-close {
    color:white;
    float:right;
    font-size:28px;
    font-weight:bold;
    top:0px;
    position:relative;
    opacity:1;
}
.html_modal .html_modal-close:hover, 
.html_modal .html_modal-close:focus{
    opacity: 0.5;
    text-decoration:none;
    cursor:pointer;
}
.html_modal .html_modal-header {
    top:0;
    padding:0px 20px;
    margin:0;
    background-color:#5cb85c;
    color:white;
    border-top-right-radius:5px;
    border-top-left-radius:5px;
    margin:0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    height:40px;
    
    
}

.html_modal .html_modal-title {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}


.html_modal .html_modal-header .html_modal-title {
    margin:0;
    padding:0;
    font-family:'Oswald';
}
.html_modal .html_modal-content {
    padding:8px;
    font-size:16px;
    overflow-x:auto;
}

