@import url('../../../_style/base/base.ui.font.css');

.alertModal, .confirmModal, .deleteModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
}
    .alertModal *, .confirmModal *{
        color: #576b76;
        font-size: 15px;
    }
    .confirmModal *, .alertModal *, .alertModal .btn {
        font-family: 'Eptura_flexible';
        font-weight: normal;
    }
.alertModalInner, .confirmModalInner {
    padding: 20px;
    width: 360px;
    box-shadow: 0 15px 45px 10px rgba(32, 68, 89, 0.2);
    background-color: #ffffff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    outline: none;
}

.alertModalHeader, .confirmModalHeader, .deleteModalHeader {
    display: flex;
    justify-content: space-between;
}

.alertModalTitle, .confirmModalTitle {
    font-size: 21px;
    font-weight: 400;
    margin: 0;
    color: #141922;
}
.alertModalTitle.hasIcon, .confirmModalTitle.hasIcon{
        padding-left: 30px;
        position: relative;
        transform-style: preserve-3d;
    }
    .alertModalTitle.hasIcon.bookingFormAlertModalTitle {
        /* font-size: 21px; */
        font-weight: 700;
        margin: 0px;
        color: #576b76;
        font-size: 16px;
    }
    .alertModalTitle.bookingFormAlertModalTitle em {
        margin-right: 10px;
        margin-left: -24px;
    }

.alertModalInner.bookingFormAlertModalInner .alertModalFooter {
    display:flex;
    align-items:center;
    justify-content:flex-end;
}
.iconCircleCheck:before,
.iconCircleCheck:after {
    position: absolute;
}
.iconCircleCheck:before {
    content: "";
    background: #16702d;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 10px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.iconCircleCheck:after {
    content: "";
    width: 6px;
    height: 12px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-left-color: transparent;
    transform: translateY(-50%) rotate(45deg);
    transform-origin: center;
    left: 7px;
    top: calc(50% - 2px);
    box-sizing: border-box;
}

.alertModalHeader .close, .confirmModalHeader .close {
    background: transparent;
    position: relative;
    padding: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 0;
    outline: none;
    margin: 0 -5px 0 0;
}
    .alertModalHeader .close:before, .alertModalHeader .close:after,
    .confirmModalHeader .close:before, .confirmModalHeader .close:after {
        position: absolute;
        top: 6px;
        left: 12px;
        content: ' ';
        height: 12px;
        width: 1px;
        background-color: #576b76;
    }
    .alertModalHeader .close:before,
    .confirmModalHeader .close:before{
        transform: rotate(45deg);
    }
    .alertModalHeader .close:after,
    .confirmModalHeader .close:after{
        transform: rotate(-45deg);
    }

.alertModalBody{
    padding: 18px 0;
    border-bottom: 1px solid #d8d8d8;
}

.alertModalFooter {
    text-align: center;
    margin: 40px 0 20px;
}
/* .alertModal .btn {
    display: inline-block;
    font-size: 15px;
    min-width: 80px;
    line-height: 38px;
    text-align: center;
    border: 0;
    outline: none;
    margin: 0;
}
.alertModalFooter .btnOk {   
    color: #ffffff;
    background: #00b7f1;    
} */



/*===================confirmPopup=================*/
div.confirmModal {
    background-color: rgba(0,0,0,.2);
    display: block;
}
div.confirmModalHeader .close {
    margin: -30px -12px 0 0;
    flex-shrink: 0;
}
div.confirmModalHeader .close:focus, .alertModalHeader .close:focus {
    outline: 2px solid #1b4bc5;
}
.confirmModal .confirmModalTitle {
    color: #141922;
    font-size: 18px;
    font-weight: normal;
    font-family: 'Eptura_flexible';
    letter-spacing: -0.5px;
}
div.confirmModalInner {
    box-shadow: 0 15px 45px 10px rgba(32, 68, 89, 0.2);
    outline: none;
}
div.confirmModal *{
    font-size: 14px;
}
.confirmModalBody {
    margin-top: 15px;
    overflow-y: auto;
    max-height: 70vh;
    line-height: 1.4;
}

.confirmModal strong {
    font-family: 'Eptura_flexible';
    font-weight: normal;
    color: #272727;
}
.confirmModalDescription > strong:first-child {
    display: inline-block;
}

.confirmModalDescription .tabSpace {
    width: 14px;
    height: 14px;
    display: inline-block;
}

.confirmModalFooter {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}
.btn.btn-link {
    color: #007cbf;
    background: transparent;
}
.confirmModalFooter > div:first-child .ent-btn.btn {
    padding: 0;
    min-width: inherit;
    font-family: 'Eptura_flexible';
    font-weight: normal;
}
.confirmModalFooter > div:first-child .btn.btn-link:focus {
    box-shadow: 0 0 0 3px #1b4bc5;
}
.confirmModal .btn.btn-danger {
    box-shadow: 0 0 0 1px #cd0439;
    background: #fae5eb;
    color: #272727;
}
.confirmModal .ent-btn.btn.btn-danger:focus {
    box-shadow: 0 0 0 3px #cd0439;
}
/**====checkBoxStyling====**/
.confirmModalCheckBoxes .checkboxWrap {
    margin: 15px 0 2px;
}
.checkboxWrap {
    position: relative;
    padding-left: 33px;
}
    .checkboxWrap.dBlock {
        display: block;
    }
    .checkboxWrap input{
        position:absolute;
        width:0;
        height:0;
        overflow: hidden;
        opacity:0;
    }
.customCheckBx {
    box-sizing: border-box;
    position: absolute;
    left: 0;
    top: 2px;
    margin: 0;
    border-radius: 3px;
    background-color: transparent;
    border-width: 1px;
    border-style: solid;
    border-color: #cbd6dd;
    width: 17px;
    height: 17px;
}
.customCheckBx:before{
        content: '';
        box-sizing: border-box;
        position: relative;
        margin-top: 2px;
        margin-left: 5px;
        width: 4px;
        height: 8px;
        display: block;
        border: 1px solid #fff;
        border-top-width: 0px;
        border-left-width: 0px;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        -webkit-transform-style: preserve-3d;
        transform-style: preserve-3d;
        opacity: 0;
    }
.checkboxWrap input:checked + .customCheckBx {
    border-color: #1b4bc5;
    background-color: #1b4bc5;
}
    .checkboxWrap input:checked + .customCheckBx:before {
        opacity: 1;
    }
.checkboxWrap input:focus + .customCheckBx {
    border-color: #1b4bc5;
    border-width: 2px;
}
.confirmModal.customModalCssClass {
    .confirmModalTitle {
         overflow: hidden;
         color: #494F5A;
         text-overflow: ellipsis;
         font-family: 'Eptura_flexible';
         font-size: 22px;
         font-style: normal;
         font-weight: 500;
         line-height: 40px;
    }
    .confirmModalInner {
         padding: 24px;
         width: 560px;
    }
.confirmModalBody {
  
    margin-top: 24px;
    margin-bottom: 24px;
    .confirmModalDescription {
    line-height: 28px;
    color: #494F5A;
    font-family: 'Eptura_flexible';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
}
}
.close {
    opacity: 1;
    margin: 0;
}
    .close:after,
    .close:before {
        background-color: #494F5A;
        height: 16px;
        font-weight: 300;
        font-size: 16px;
    }

    .confirmModalFooter {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 16px;
        align-self: stretch;
        margin-top: 24px;
       .btn-ok-delete {
           background: #D20707;
           color: #FEFEFE;
           font-family: 'Eptura_flexible';
           border: 1px solid #D20707;
           border-radius: 4px;
           font-weight: 700;
           height: 48px;
           padding: 0px 14px;
           box-shadow: none;
           text-shadow: none;
           transition: box-shadow 0.05s ease-in-out;
        }
        .btn-link {
           color: #1B4BC5;
           text-align: center;
           font-size: 14px;
           font-style: normal;
           line-height: 20px;
        }
   }
}

.confirmModal.customModalCssClass .confirmModalFooter > div:first-child .ent-btn.btn {
    font-weight: 700;
}

/* Delete Modal Css **/

.deleteModal {
    border-radius: 4px;
    background-color: rgba(0,0,0,0);
    box-shadow: 0px 4px 8px 0px rgba(141, 147, 160, 0.24), 0px 8px 24px 0px rgba(141, 147, 160, 0.24);
}

.deleteModalInner {
    box-sizing: border-box;
    padding: 24px;
    width: 320px;
    box-shadow: 0 15px 45px 10px rgba(32, 68, 89, 0.2);
    background-color: #ffffff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    outline: none;
    border-radius: 4px;
}

.deleteModalTitle, .deleteModalDescription {
    color: #494F5A;
    font-family: "Eptura_Flexible";
    font-size: 16px;
    font-weight: 500;
    word-break: break-word;
    margin: 0px 0px;
}

.deleteModalDescription {
    font-weight: 400;
}

.deleteModalBody {
    margin: 24px 0px;
}

.headerInnerContent {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 4px;
}
.deleteModal div.deleteModalInner div.deleteModalContent div.deleteModalHeader .headerInnerContent {
    gap: 4px;
}

.deleteModalHeader em {
    font-size: 16px;
    color: #494F5A;
}

.deleteModalHeader .closeIcon {
    background: transparent;
    border: none;
    height: 16px;
    width: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0px;
}

.deleteModalHeader .titleIconStyle {
    color: #D20707;
    padding: 2px 2px;
}

.deleteModalFooter {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    align-self: stretch;
}

.deleteModal .button-white, .deleteModal .button-red {
    min-height: 32px;
    line-height: 18px;
    flex: 1 0 0;
    border-radius: 4px;
    border: 1px solid #1B4BC5;
    color: #1B4BC5;
    font-size: 12px;
    font-weight: 700;
    background: none;
    margin-right: 0px;
    padding: 0px 8px;
}

.deleteModal .button-red {
    border: 1px solid #D20707;
    color: #FEFEFE;
    background: #D20707;
}

.deleteModal .button-white:focus {
    outline: 1px solid #1B4BC5;
}

.deleteModal .button-red:focus {
    outline: 1px solid #D20707;
}

.deleteModal .closeIcon:focus {
    outline: 1px solid #1B4BC5;
    outline-offset: 4px;
    outline-style: auto;
    border-radius: 50%;
}

.pageDeskBookingGrid.hourlyGrid button.closeIcon {
    display: flex;
}
