/* */



/* Variables/custom properties*/
:root {
    --cis-light: #70779b;
    --cis-dark: #4e557a;
    --cis-silver: #f0ecfd;
}

.w3-cislight, .w3-hover-cislight:hover, .cis-light, .cis-hover-light:hover {
    background-color: var(--cis-light)!important;
    color: var(--cis-silver)!important;
}

.w3-cisdark, .w3-hover-cisdark:hover, .cis-dark, .cis-hover-dark:hover {
    background-color: var(--cis-dark)!important;
    color: var(--cis-silver)!important;
}

.w3-ciswhite, .cis-white, .cis-hover-white:hover {
    background-color: var(--cis-silver)!important;
    color: var(--cis-dark)!important;
}

.cis-padding-left-250 {
    margin-left: 250px ;
}

/*overwrite margin settings for footer on narrow displays*/
@media (max-width:992px){
    footer{
        margin-left:0!important;margin-right:0!important
    }
}

html,body,h1,h2,h3,h4,h5,h6 {font-family: "Roboto", sans-serif;}
/*set sidebar to be layer 3, width of 250, 40 from the top (under navbar), 0 from the bottom*/
.w3-sidebar {
  z-index: 3 !important;
  width: 250px !important;
  top: 40px !important;
  bottom: 0 !important;
  height: inherit !important;
}

/*Needed to fill the screen*/
body {
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 100vh ;
}

/*Needed to fill the screen*/
.w3-main {
    flex: 1;
    /*padding-bottom: 100px;*/
}

/*Needed to fill the screen*/
footer {
    position: relative;
    bottom: 0;
    width: 100%;
}

textarea {
    width: 100%;
}

.overlay {
    /*display: none;*/
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
}

.loader {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 10;
    margin: -76px 0 0 -76px;
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid var(--cis-dark); /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  .aurebesh {
    font-family: 'Aurebesh', 'Aurebesh Condensed';
  }

  .hasTooltip {
    position:relative;
    display: inline-block;
  }

  .hasTooltip .tooltip {
    visibility: hidden;
    width: 350px;
    background-color: var(--cis-light);
    color: var(--cis-silver);
    text-align: left;
    padding: 5px;
    border-radius: 6px;
    
    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
    top: 150%;
    left: 50%;
    margin-left: -315px;
 }  

.hasTooltip:hover .tooltip {
    visibility: visible;
}

.hasTooltip .tooltip::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 90%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent var(--cis-dark) transparent;
  }

.clicktext {
    cursor: help;
    font-weight: bold;
}

.pagination {
    visibility: visible;
}

.alert-text {
    font-weight:bolder;
    color:#f44336!important;
}

.even {
    background-color:#fff!important
}

.odd {
    background-color:#f1f1f1!important
}

div.flash-msg {
    width: 60%;
    color: #C2C2A4;
    border: 1px solid;
    margin: 10px auto;
    padding: 5px;
    font-size: 90%;
    text-align: left;
    pointer-events: visible;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    box-shadow: 0 0 12px #000;
}

div.flash-msg span {
    float: right;
    cursor: pointer;
    padding-left: 10px;
    padding-bottom: 5px;
}