@font-face {
    font-family: 'Quicksand-VariableFont_wght';
    src: url('../thirdparty/ttf/Quicksand-VariableFont_wght.ttf')  format('truetype');
  }

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
} 

body {
    color:#666666;
    font: 1em Quicksand-VariableFont_wght,sans-serif;
    font-weight: 400;
    padding:0.5em;
}


a {
	color: #1C4075;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

pre {
    white-space: pre-wrap;
}

table {
    border-collapse: collapse;
}

tr:nth-child(1) {
    font-weight: 600;
}

td {
    border: 0.1em solid #666666;
    padding: 0.5em;
}

.td-remarks {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 5em;
    cursor: pointer;
}

.heading-padding {

}
.heading {
    font-size: 2em;
    font-weight: 500;
}

.heading-small {
    font-size: 1.25em;
    font-weight: 500;
}

.style-padding {
    
}

/* Green is green, red is red. sometimes 1+1=3 */
.green {
    color: green;
}

/* sometimes yellow is orange */
.yellow {
    color: orange;
}

.red {
    color: red;
    font-weight: 600;
}

.action-link {
    margin: 0.25em;
    display: block;
    float: left;
}

.close-button {
    font-size: 2em;
    font-weight: 500;
}

.menu-link{
    float:right;
    margin-left: 2em;
}

.dismiss-location-header,
.dismiss-level-header,
.dismiss-contractor{
    font-size:0.75em;
}

.dismiss-reason{
    background-color: black;
    color:white;
}

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index:1000;
    background-color: #fafbffbb;
    
    display:flex;
    justify-content: center;
    align-items: center;
}

/*.modal-dialog{
    width: auto;
    max-width: 100%;
    padding:0.5em;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
    background-color: #fefefe;
    border: 0.001em solid black;
    overflow: auto;
    max-height:100%;
}*/

/*@media screen and (min-width: 28.75em) {
    .modal-dialog{
        width: auto;
        max-width: 50%;
        padding:0.5em;
        margin-top: 1em;
        margin-right: auto;
        margin-bottom: 1em;
        margin-left: auto;
        background-color: #fefefe;
        border: 0.001em solid black;
        overflow: auto;
        max-height:90%;
    }
}*/

.modal-dialog{
    
    width: auto;
    /*max-width: 10%;*/
    height:auto;
    /*max-height: 10%;*/
    
    padding:0.5em;
    
    background-color: #fefefe;

        
    /*border: 0.03em solid #dbdcdfff;*/
    box-shadow: 0.1em 0.1em 0.2em 0 #dbdcdf87;        
}

.modal-dialog-content{
    overflow: auto;
    max-width: 90vw;
    min-width: 12em;
    max-height: 80vh;
}

.modal-dialog-title{
    font-weight:bold;
}

.modal-dialog-textline{
    white-space: pre-wrap;
    /*font-size: 0.8em;*/
    font-size:1.256171665em;
    line-height: 1.2em;
}

.modal-close-button{
    float:right;
    margin-right:0;
}

.model-dialog-buttons{
    display: flex;
}

.modal-alert-ok-button{
    width: 100%;

    padding: 0.21em;
    border-radius: 16px;
    display:flex;
    justify-content: center;
    align-items: center;
    
    
    box-shadow: 0.1em 0.1em 0.2em 0 #dbdcdf87;
    color: white;
    font-size:1.68061019em;
    background-color: #188800ff;
}

.modal-confirm-ok-button{
    width: 50%;
    padding: 0.21em;
    border-radius: 16px;
    display:inline-block;
    justify-content: center;
    text-align: center;
    align-items: center;
    box-shadow: 0.1em 0.1em 0.2em 0 #dbdcdf87;
    color: white;
    font-size:1.68061019em;
    background-color: #188800ff;
}

.modal-confirm-cancel-button{
    width: 50%;
    padding: 0.21em;
    border-radius: 16px;
    display:inline-block;
    justify-content: center;
    text-align: center;
    align-items: center;
    box-shadow: 0.1em 0.1em 0.2em 0 #dbdcdf87;
    color: white;
    font-size:1.68061019em;
    background-color: #880000ff;
}


.button-padding {
    margin: 0.7em;
    display:block;
}

.grey-button {
    width:100%;
    padding: 0.21em;
    border-radius: 16px;
    border:none;
    display:flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    box-shadow: 0.1em 0.1em 0.2em 0 #b6b7ba9b;
    color: white;
    font-size:1.68061019em;
    background-color: #888888ff;
    box-sizing:border-box;
}

.grey-button-disabled {
    width:100%;
    padding: 0.21em;
    border-radius: 16px;
    border:none;
    display:flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    box-shadow: 0.1em 0.1em 0.2em 0 #b6b7ba9b;
    color: white;
    font-size:1.68061019em;
    background-color: rgb(221, 220, 220);
    box-sizing:border-box;
}

.loading-fg {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index:1000;
    /* background-color: #00000000; */
    background-color: #ffffffc9;
}