﻿
.modal-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    border-top-left-radius: .3rem;
    border-top-right-radius: .3rem
}


.modal-custom-header {
    font-weight: bold;
    font-size: 22px;
    /*background-color: #434A54 !important;*/
    color: #FFFFFF !important;
    vertical-align: middle !important;
    /*min-height: 16.428571429px;*/
    /*padding: 5px 5px 5px 10px !important;*/
    border-bottom: 1px solid #e5e5e5;

    background: #4a5568 !important;
    padding: 10px 28px;
}


.modal-custom-title {
    /*color: #FFFFFF !important;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;*/
    color: #fff;
    font-size: 24px !important;
    font-weight: 500 !important;
    letter-spacing: -0.5px !important;
}

.modal-custom-body {
    background-color: #FFFFFF !important;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    height: calc(100% - 150px) !important;
    /*margin-top: 50px;*/
}

.modal-custom-footer {
    /*background-color: #FFFFFF !important;*/
    height: 75px !important;

    padding: 16px 24px;
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}


.modal-top-corners {
    -webkit-border-top-left-radius: 20px !important;
    -webkit-border-top-right-radius: 20px !important;
    -moz-border-radius-topleft: 20px !important;
    -moz-border-radius-topright: 20px !important;
    border-top-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
}

.modal-bottom-corners {
    -webkit-border-bottom-left-radius: 20px !important;
    -webkit-border-bottom-right-radius: 20px !important;
    -moz-border-radius-bottomleft: 20px !important;
    -moz-border-radius-bottomright: 20px !important;
    border-bottom-left-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
}


.modal-content {
    background-color: #FFFFFF !important;
    margin: 0 auto;
    height: calc(100% - 75px) !important;
}


.modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    /*border: 1px solid rgba(0, 0, 0, .2);
	border-radius: .3rem;*/
    outline: 0
}


.modal-dialog {
    height: 100%;
    width: 100%;
    align-items: center;
    /*border-style:outset;
    border-color:black;*/
}


.dlgCaptions {
    font-family: Geneva, Tahoma, sans-serif !important;
    font-size: 14px !important;
}

.dlgCaptionsSmall {
    font-family: Geneva, Tahoma, sans-serif !important;
    font-size: 13px !important;
}


/* put after your other css */
.modal-header, .modal-custom-header, .rwTitlebar, .simple-modal-header {
    cursor: move;
    user-select: none;
}

.dragging {
    cursor: grabbing !important;
}

[class*="simpleModal"] {
    left: auto;
    right: auto; /* avoid centering via margins */
    transform: none; /* don't keep translate() */
}