/* Extra small devices (phones, 600px and down) */
/*@media only screen and (max-width: 577px) { */
@media only screen and (max-width: 680px) { 
    .too-little {display: none;}    
    .too-big {display: block;}
    .cellfont {font-size: .75em;}
    ul {padding-left: 1.2em !important;}
    .prtextht {height: 85vh;}

    .custom-button {
        font-size: .75em;
        background-color: #1e3347;
        color: white;
        padding: 10px;
        text-align: center;
        font-weight: bold;
        width: 100%;
        white-space: pre-line;
        word-break: break-all;
        /*word-wrap: normal;*/
    }
}

/*@media only screen and (min-width: 579px) { */
@media only screen and (min-width: 681px) { 
    .too-little {display: block;}
    .too-big {display: none;}
    .cellfont {font-size: 1em;}
    .prtextht {height: 95vh;}
}

#grabdiv {
    position: absolute;
    z-index: 9;
    background-color: #fefefe;
    text-align: center;
    border: 1px solid #d3d3d3;
    width: 90%;
    height: 90%;
    overflow: auto;
    padding-bottom: 10px;
    left: 30px;
}

#grabdivheader {
    padding: 10px;
    cursor: move;
    z-index: 10;
    background-color: #1e3347;
    color: #fff;
    width: 100%;
}
.greybackground {
    background-color: #74828F;
    color: white;
}

.lightgreybackground {
    background-color: lightgray;
    color: black;
}
.platinum {
    background-color: #E5E4E2;
    color: black;
}
.orange {
    background-color:orange; 
    color: black;"
}
.blue {
    background-color: #0020C2;
    color: white;
    border: solid 1px black;
    text-decoration: none;
}

.red {
    background-color: #8b0000;
    color: white;
    border: solid 1px black;
    text-decoration: none;
}

.green {
    background-color: #378617;
    color: white;
}

.white {
    background-color: #FEFCFF;
    color: black;
    border: solid 1px black;
    text-decoration: none;
}

.btn:hover {
    background: #383;
    color: white;
}


[data-modal].open > div {
  transform: scale(1);
}

[data-modal] > div header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

[data-modal] > div header button {
  font-size: 1.25rem;
  color: blue;
  border: 0;
  background-color: transparent;
  outline: none;
}

[data-modal] > div header span {
  font-size: 2.5rem;
}

[data-modal] > div p {
  font-size: 1.8rem;
}

body.noscroll {
    overflow-y: hidden;
}

/*   THIS MAKES THE CLICKABLE POPUP IFRAMES TAKE UP THE ENTIRE POPUP   */
.modal-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

/* The Modal (background)  */
.step1modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 10px; /* Location of the box */
    left: 0px;
    top: 0px;
    width: 100%; /* Full width */
    height: 100%;
    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  this is th background of the popup */
    padding-bottom: 50px;
}

/* The Closing4 Button */
.step1closing {
    color: red;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .step1closing:hover,
    .step1closing:focus {
        color: green;
        text-decoration: none;
        cursor: pointer;
    }
.qai-lightblue {
    background-color: #c9d9e8;
    color: black;
}

.qai-green {
    background-color: #d9e8c9;
    color: black;
}

.qai-pink {
    background-color: #e8c9d9;
    color: black;
}

.qai-darkblue {
    background-color: #1e3347;
    color: white;
}

.qai-medblue {
    background-color: #709ac1;
    color: black;
}

.modal.fade {
    opacity: 1;
}

 .modal.ZZfade .modal-ZZdialog {
    -webkit-transform: translate(0);
    -moz-transform: translate(0);
    transform: translate(0);
    transition: transform 0.0s;
}

a:link {
    text-decoration: none !important;
}

/* Then style the iframe to fit in the container div with full height and width */
.responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.redrating {
    background-color: #8b0000;
    color: white;
}

.orangerating {
    background-color: #F88017;
    color: black;
}

.yellowrating {
    background-color: #FFD200;
    color: black;
}

.yellowgreenrating {
    background-color: #CCFB5D;
    color: black;
}

.greenrating {
    background-color: #378617;
    color: white;
}
/* .CellWithComment {
    position: relative;
}

.CellComment {
    display: none;
    position: absolute;
    z-index: 100;
    border: 1px;
    background-color: white;
    border-style: solid;
    border-width: 1px;
    border-color: red;
    padding: 3px;
    color: red;
    top: 20px;
    left: 20px;
    width: 150px;
}

.CellWithComment:hover span.CellComment {
    display: block;
}
    */

.step1modal-content {
    overflow: auto; /* Enable scroll if needed */
    background-color: #fefefe;
    margin: auto;
    padding: 5px;
    border: 1px solid #888;
    width: 100%;
}
/* The Modal (background)  */
.step1modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 10px; /* Location of the box */
    left: 0px;
    top: 0px;
    width: 100%; /* Full width */
    height: 100%;
    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  this is th background of the popup */
    padding-bottom: 50px;
}

/* The Closing4 Button */
.step1closing {
    color: red;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .step1closing:hover,
    .step1closing:focus {
        color: green;
        text-decoration: none;
        cursor: pointer;
    }

.modal-dialog {
    position: relative;
    /* display: table;*/ /* <-- This makes the trick */
    overflow-y: auto;
    overflow-x: auto;
    width: auto;
    min-width: 80vw;
    border: solid #1e3347 3px;
    border-radius: 10px;
}

.CellWithComment {
    position: relative;
    background-color: yellow;
    color: black;
}

.CellComment {
    display: none;
    position: absolute;
    z-index: 100;
    width: 400px;
    background-color: #1e3347;
    color: white;
    border-style: solid;
    border-width: 5px;
    border-color: #4c81b2;
    border-radius: 10px;
    padding: 20px;
    //background-color:antiquewhite;
    top: -100px;
    left: 200px;
}

.CellCommentR {
    display: none;
    position: absolute;
    z-index: 100;
    width: 400px;
    background-color: #1e3347;
    color: white;
    border-style: solid;
    border-width: 5px;
    border-color: #4c81b2;
    border-radius: 10px;
    padding: 20px;
    //background-color:antiquewhite;
    top: -100px;
    left: -420px;
}

.CellWithComment:hover span.CellComment {
    display: block;
    text-align: left;
}

.CellWithComment:hover span.CellCommentR {
    display: block;
    text-align: left;
}



.nolink {
    text-decoration: none;
    text-decoration-color: black;
}