body {
    margin:0;
    height: 100%;
}

.no-close .ui-dialog-titlebar-close {
    display: none;    
}

.ui-datepicker {
    z-index: 2 !important;
}

.smallbtn {
    border-radius: 35px;
    padding: 9px;
}
.smallbtn:hover {
    background-color: deeppink;
}

.header {
    text-align: center;
    background: #FF0000;
    background-size: cover;
    position: relative;
    overflow: visible;
}

a {
    text-decoration: underline;
}  
.header .headline {
    color: #ffe; 
}

.topbar {
    background: #C12F23 none repeat;
    margin: 0px;
    padding: 0px;
    overflow: auto;
    margin-bottom: 10px;
}
.heading {
    line-height: 64px;
    margin-left: 10px;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 165%;
    font-weight: bold;
    color: white;
    float: left;
}

.headingbtn {
    float:right;
    line-height: 45px;
    margin-right: 10px;
}

tr.draggable > td > div.ui-state-default {
    cursor: move;
}

.ghost {
    background-color: Gray;
    opacity: 0.5;
}

.bigButton {
    width:175px; 
    margin-top:5px;
    padding:10px 0 10px 0;
}

.wait {
    display:    none;
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 255, 255, 255, .8 ) 
        url('images/wait.gif') 
        50% 50% 
        no-repeat;
}

tr.lined td {
    border-bottom: 1px solid black;
}

body.loading {
    overflow: hidden;   
}

body.loading .wait {
    display: block;
}

.dispatchTable {
    font-size: 80%;
}
.dispatchTable th {
    text-align: center;
    background-color: darkgray;
}

.dispatchTable td {
    text-align: center;
    border: 1px solid silver;
    padding: 0px;
}

.dispatchTable .scenarioName {
    text-align: right;
    font-weight: bold;
    padding-right: 5px;
}

.dispatchTable td:hover {
    background-color: wheat;
    cursor: pointer;
}

#assignmentNotes {
    -webkit-box-shadow: 10px 10px 34px 8px rgba(0,0,0,0.72);
    -moz-box-shadow: 10px 10px 34px 8px rgba(0,0,0,0.72);
    box-shadow: 10px 10px 34px 8px rgba(0,0,0,0.72);
    border: 2px solid black; 
    border-radius: 10px;
    margin-bottom: 40px; 
    padding: 10px; 
    background-color: #0020C2;
    color: white;
    font-weight: bold;
    height: 95%;
    overflow: auto;
}

.exportBtn {
    padding: 10px;
    border-radius: 25px;
    font-size: 1em;
    background-color: slategray;
    color: lavenderblush;
    margin-top: 30px;
}

.dispatchBtn {
    padding: 10px;
    padding-left:30px;
    padding-right:30px;
    border-radius: 25px;
    font-size: 1em;
    background-color: lime;
    color: black;
    margin-top: 30px;
}

.dispatchBtn:disabled {
    background-color: red;
    color: yellow;
}

.competition {
    padding: 20px; 
    border:1px solid silver; 
    border-radius: 25px; 
    background-color: white; 
    box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
}

.competition .item {
    border:1px solid lightslategray;
    padding:10px;
    border-radius: 15px;
}

.connectedSortable {
    min-height: 30px;
    list-style-type: none;
    margin: 0;
    padding: 5px 5px 5px 5px;
    border: double;
    border-radius: 5px;
}

.connectedSortable li {
    margin: 0 3px 3px 3px;
    padding: 5px;
    border: 1px solid black;
    background-color: seashell;
    max-width: 220px;
    text-align: left;
}

.connectedSortable li span {
    color: red;
    font-size: 70%;
    float: right;
}

#scenarioEditor {
    overflow-y: auto;
    height: calc(100vh - 400px);
}
.scenario {
    text-align: center;
    overflow-x: auto;
}

.scenarioItem {
    display: inline-block;
    width: 200px;
    min-width: 200px;
    font-size: 80%;
    border: 2px groove silver;
    border-radius: 5px;
    padding: 5px;
    margin-right:10px;
    vertical-align: top;
    margin-left: 10px;
    height: fit-content;
}

.scenarioItem label {
    text-align: left;
}

.scenarioActors {
    height: 100px;
    overflow-y: auto;
    margin-bottom: 10px;
}

.planox {
    background-color: #000000;
    color: #ffffff;
}

.tabs {
    background: #000000;
}
.tabs-content {
    background: #000000;
}

.row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.col {
    margin-bottom: 3px;
    margin-right: 10px;
}

.changeGrades {
    max-height: 500px;
    overflow-y: auto;
}

.break {
    text-align:center;
    background-color:navy;
    color:yellow;
}

.pointer {
    cursor:pointer;
}

#tabContacts table, th, tr, td {
    border: 1px solid silver;
    border-collapse: collapse;
    white-space: nowrap;
}

#tableScores {
    border-collapse: collapse;
}

#tableScores th,td {
    border: 1px solid darkslategray;
}

.gradeRow:hover {
    background-color: yellow;
}

.qb {
    list-style: none;
    border: 1px solid silver;
    padding: 3px 5px;
    margin: 0 0 10px 0;
}

.qb li {
    border: 1px solid silver;
    border-radius: 5px;
    padding: 0 5px;
    width: 100%;
    margin: 3px 0;
}

.qb li:hover {
    background-color: lightgoldenrodyellow;
}

.qb .ui-icon {
    float: right;
    cursor: pointer;
    margin-right: 10px;
    margin-top: 3px;
}

.potentialsList {
    list-style: none;
    border: 1px solid silver;
    padding: 10px;
    border-radius: 10px;
    width: fit-content;
    margin: 0;
    overflow-y: auto;
}

.potentials {
    display: flex;
    gap: 20px;
    overflow: auto;
}

.start-marker {
    background-color: navy;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid white;
}

.end-marker {
    background-color: red;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid white;
}

.tip table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
}

.tip td {
    font-size: 80%;
    border: 1px solid #ddd; 
    word-wrap: break-word;
    word-break: normal;
    white-space: normal; 
}

.selectedCategory {
    background-color: lime;
}

.stickyCol {
    position: sticky; 
    left: 0; 
    background-color: #cfcfcf; 
    color: black;
    z-index:1;
}