/* Prevent body scroll when modal is open */
body.ui-modal-open {
    overflow: hidden;
}

#uiModal1Backdrop{
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    display: none;
    background-color: rgba(0, 0, 0, 0.5);
}

.ui-modal-open #uiModal1Backdrop{
    display: block;
}

#uiModal1{
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10001;
    display: none;
    pointer-events: none;
}

.ui-modal-open #uiModal1{
    display: flex;
    align-items: center;
    justify-content: center;
}

#uiModal1 .ui-modal-dialog{
    margin: 0;
    width: 500px;
    flex-basis: 500px;
    background-color: white;
    pointer-events: all;
}

#uiModal1 .ui-modal-header{
    margin: 0;
    padding: 0 15px;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f2f2f2;
}

#uiModal1 .ui-modal-header h5{
    font-family: 'f-regular-caps';
    font-size: 20px;
    line-height: 20px;
    color: black;
}

#uiModal1 .ui-modal-header button{
    margin: 0;
    padding: 0;
    border: 0;
    width: 20px;
    height: 20px;
    text-decoration: none;
    text-indent: -9999px;
    background-image: url('../images/exit.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: transparent !important;
    cursor: pointer;
}

#uiModal1 .ui-modal-body{
    margin: 0;
    padding: 30px;
    font-family: 'f-regular';
    font-size: 16px;
    color: black;
}

@media(max-width: 960px){
    #uiModal1 .ui-modal-dialog{
        width: 90%;
        flex-basis: 90%;
    }
}
