
/** Simple Dialog */

/* The Modal (background) */
.simpleModal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    /*height: 100%;*/ /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    z-index: 30;
}

/* Modal Content/Box */
.simpleModalContent {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    z-index: 30;
    text-align: center;
}

/* The Close Button */
.simpleModalClose {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    z-index: 30;
}

.simpleModalClose:hover,
.simpleModalClose:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
    z-index: 30;
}

.fontAwesome {
    display: block;
    width: 28px !important;
    height: 28px;
    color: black;
}

/* datatable font awesome buttons need to be shrunk slightly to match the other datatable buttons */
.fontAwesomeDatatableButton {
    display: block;
    width: 24px !important;
    height: 24px;
    color: black;
    padding: 2px;
}

/** End Simple Dialog*/



/** Yes No Dialog */

.yesNoDialogContent {
    width: 10em;
    font-size: 1.5em;
}

.yesNoDialogTitle {
    font-size: 2em;
    /* If the title overflows add "...". */
    /* Originally from ".ui-dialog .ui-dialog-title"  */
    overflow: hidden;
    text-overflow: ellipsis;
}

.yesNoDialogTitleWrapping {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* if this class isn't included the content won't wrap */
@media all and (max-width: 1100px) {
    .yesNoDialogContentWrapping {
        max-width: 85vw;
        overflow-wrap: break-word;
    }
}

@media not all and (max-width: 1100px) {
    .yesNoDialogContentWrapping {
        max-width: 80vw;
        overflow-wrap: break-word;
    }
}

.ui-dialog .ui-dialog-buttonpane .yesNoDialogButton {
    margin-left: 0.5em;
    margin-right: 0.5em;
    font-size: 1.2em;
}

.yesNoDialogButton:disabled {
    pointer-events: none;
    opacity: 0.5;
}

/** End Yes No Dialog */



/** Error Dialog */

.errorDialogContent {
    font-size: 1.5em;
}

.errorDialogTitle {
    font-size: 2em;
    margin-left: 0.5em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

.errorDialogIcon {
    color: orange;
}

/** End Error Dialog */

