.ui-widget-overlay {
    background: #fff;
    opacity: .8;
}

.ui-dialog {
    outline: none;
    border: 1px solid #DEDEDE;
    border-radius: 0;
    height: 100% !important;
    -webkit-box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, .25);
    box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, .25);
    
}

.ui-dialog .ui-dialog-titlebar {
    height: 60px;
    line-height: 60px;
    padding-left: 20px;
    background-color: #fff;
    border: none;
    border-radius: 0;
}

.ui-dialog .ui-dialog-title {
    font-size: 16px;
    font-weight: 500;
    color: #40404C;
    margin: 0;
}

.ui-dialog .ui-dialog-titlebar-close {
    width: 24px;
    height: 24px;
    color: #40404C;
    border: 1px solid transparent;
    border-radius: 50%;
    background-color: transparent;
    text-indent: 0;
    right: 28px;
    top: calc(50% - 12px);
    margin: 0;
    padding: 0;
}

.ui-dialog .ui-dialog-titlebar-close:hover {
    color: #fff;
    background-color: #D71921;
    border: 1px solid #D71921;
}

.ui-dialog .ui-dialog-titlebar-close:active {
    color: #fff;
    background-color: #A11319;
    border: 1px solid #A11319;
}

.ui-button .ui-icon {
    background-image: none;
    width: 100%;
    height: 100%;
    position: static;
    margin: 0;
    text-indent: 0;
    line-height: 22px;
}

.ui-button .ui-icon::before {
    content: "\e90c";
    font-size: 20px;
    font-family: 'key';  
}

.ui-dialog .ui-dialog-content {
    height: calc(100% - 60px) !important;
    padding: 0 10px 14px;
    border-top: 0 !important;
    overflow: visible !important;
}

.ui-dialog-content .modal-contents {
    width: 100%;
    height: calc(100% - 44px);
    position: relative;
}

.modal-contents.modalAlert {
    line-height: 76px;
    padding-left: 20px;
}

.modalAlert .modal-alert > * {
    display: inline-block;
    vertical-align: middle;
}

.modal-contents.modalAlert .alertImg {
    width: 44px;
    height: 44px;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 18px;
}

.modal-contents.modalAlert .alertImg.warning {
    background-image: url("../../img/icon_warning.png");
}

.modal-contents.modalAlert .alertImg.question {
    background-image: url("../../img/icon_question.png");
}

.modal-contents.modalAlert .alertImg.alert {
    background-image: url("../../img/icon_alert.png");
}

.modal-contents.modalAlert .alertImg.delete {
    background-image: url("../../img/icon_delete.png");
}

.modal-contents.modalAlert .alertText {
    width: calc(100% - 62px);
    font-size: 16px;
    color: #58595B;
    line-height: 24px;
    word-break: keep-all;
}


.modal-box {
    display: block;
    padding: 10px;
    border: 1px solid #E0E0E0;
    border-radius: 6px; 
}

.col .modal-box {
    display: block;
}

.modal-default {
    display: block;
    border-bottom: 1px solid #DEDEDE;
}

.modal-default .contents-wrap p {
    font-size: 13px;
    font-weight: 100;
    color: #939598;
    line-height: 32px;
    padding-left: 10px;
}

.modal-info {
    display: block;
    padding: 8px 10px;
    border: 1px solid #DEDEDE;
    border-radius: 8px;
    margin-top: 13px; 
}

.modal-info p {
    display: inline-block;
    vertical-align: top;
    font-size: 13px;
    color: #58595B;
    line-height: 20px;
    padding: 0 10px;
    background-color: #F2F2F2;
    border-radius: 10px;
}

.modal-box > ul {
    margin-top: 10px;
}

.modal-box > ul > li +li {
    margin-top: 10px;
}

.modal-box > ul > li > span {
    font-size: 13px;
    color: #6D6E71;
}

.modal-bottom {
    position: absolute;
    left: 0;
    bottom: -44px;
}

.modal-contents .row .col + .col {
    padding-left: 20px;
}

.modal-contents .row .colGrid + .col {
    vertical-align: top;
    padding-left: 10px;
}

.modal-contents .row .col-pl10 + .col {
    vertical-align: top;
    padding-left: 10px;
}

.modal-contents .col-title {
    padding-right: 8px;
}

.ui-dialog-content .modal-btn {
    width: 100%;
    height: 44px;
    text-align: right;
    padding: 12px 10px 0;
}

.ui-dialog-content .modal-btn button {
    min-width: 60px;
    height: 32px;
    font-size: 14px;
    font-weight: 500;
    color: #40404C;
    padding: 0 10px;
    border: 1px solid #DEDEDE;
    border-radius: 4px;
    -webkit-box-shadow: 1px 1px 2px 0 rgba(0, 0, 0, .25);
    box-shadow: 1px 1px 2px 0 rgba(0, 0, 0, .25);
}

.ui-dialog-content .modal-btn button:hover {
    border: 1px solid #D71921;
}

.ui-dialog-content .modal-btn button:active {
    color: #fff;
    background-color: #A11319;
    border: 1px solid #A11319;
}

.ui-dialog-content .modal-btn button:disabled {
    color: #CCC;
    background-color: #fff;
    border: 1px solid #DEDEDE;
}

.ui-dialog-content .modal-btn button + button {
    margin-left: 6px;
}

.ui-dialog-content .modal-btn button.type2 {
    color: #fff;
    background-color: #655C4F;
    border: 0;
}

.ui-dialog-content .modal-btn button.type2:hover {
    background-color: #847D72;
}

.ui-dialog-content .modal-btn button.type2:active {
    background-color: #4B443A;
}

.ui-dialog-content .modal-btn button.type3 {
    color: #fff;
    background-color: #D71921;
    border: 0;
    padding: 0 12px;
}

.ui-dialog-content .modal-btn button.type3:hover {
    background-color: #FF6666;
}

.ui-dialog-content .modal-btn button.type3:active {
    background-color: #A11319;
}