body
{
    min-height: 750px;
    overflow: hidden;
    overflow-y: scroll;
    overflow-x: scroll;
}
.wrapper
{
    display: grid;

    grid-template-columns: 1fr;
    grid-template-rows: auto;

    grid-template-areas:
        "title"
        "TopPanel"
        "BottomPanel"
        "footer";

    grid-gap: 10px;
/*    top:0;*/
    
    display: block;
}

h2
{
    justify-self: center;
    align-self: top;

    font-family: Helvetica, sans-serif;
    font-weight: normal;
    color: var(--accent-color);
    font-size: 20px;
    text-align: center;
/*    text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.2);*/

    grid-area: title;
    grid-column: 1 / span 5;
    grid-row: 1;

    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0,0,0,0); /*No flash when tap*/

}
h2[id="score"]
{
    cursor: auto;
}



/* GUIDELINE */
#guidelineChoice
{
/*    justify-self: center;*/
    grid-area: guideline;
}
#GuidelineTitle
{
    grid-area: title;
    justify-self: stretch;
    text-align: left;
    cursor: auto;
    padding-right: 10px;
}
.guidelineForm
{
/*    grid-area: choices;*/
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    
    align-self: center;
    justify-self: center;

/*    padding-top: 20px;*/
    padding-bottom: 20px;
    width: 103%;
    
/*    padding-left: 10px;*/
/*    padding-top: 0px;*/
/*
    margin-right: 50px;
    margin-left: 10px;
*/
}









/*Tool panel*/
.ToolPanel {
    grid-area: ToolPanel;
    grid-template-areas: 
        "choices"
        "arrow";
    z-index: 0;
    height: 100px;
    position: relative;
    margin-bottom: -30px;
     -webkit-tap-highlight-color: rgba(0,0,0,0); /*No flash when tap*/
    -webkit-tap-highlight-color: transparent;
}
.toolChoices{
    
    grid-area: choices;
    background-color: var(--block-color);
    box-shadow: var(--box-shadow);
    border-radius: 0px;

    justify-self: stretch;
    align-self: top;

    padding-left: var(--block-padding);
    padding-right: var(--block-padding);

    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    grid-template-areas: "title choices";   
    
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: -10px;
/*    position: absolute;*/
}


.toolButtons
{
    align-self: center;
    height: 40px;
    background: white;
    border: 1px solid rgba(1, 1, 1, 0.25);
    cursor: pointer;
    border-radius: 4px;

    color: rgba(1, 1, 1, 0.75);

    -webkit-tap-highlight-color: rgba(0,0,0,0); /*No flash when tap*/
    -webkit-tap-highlight-color: transparent;

    box-shadow: var(--box-shadow);
    display: grid;
}
/*Only on none touch devies, do hover, otherwise you get sticky hover color bug*/
@media (hover:hover)
{
    .toolButtons:hover
    {
    /*    background: rgba(68, 111, 181, 0.75);*/

        background: rgba(71, 170, 181, 1);
        color: white;
        box-shadow: var(--box-shadow);

    }
}

.toolButtons:active
{
/*    background: rgba(68, 111, 181, 0.75);*/
    background: rgba(71, 170, 181, 1);
    color: white;
    box-shadow: none;
}

.hideTools
{
    grid-area: arrow;
    align-self: center;
    justify-self: center;
    display: grid;   
     -webkit-tap-highlight-color: rgba(0,0,0,0); /*No flash when tap*/
    -webkit-tap-highlight-color: transparent;
}
.hideToolsArrow
{
    align-self: center;
    justify-self: center;
    background-color: var(--block-color);
    height: 20px;
    padding-left: 10px;
    padding-right: 10px;
    box-shadow: var(--box-shadow);
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
     -webkit-tap-highlight-color: rgba(0,0,0,0); /*No flash when tap*/
    -webkit-tap-highlight-color: transparent;
}

.hideTools:hover
{
    cursor: pointer;
}





















.patientLeftPicker
    {
display: grid;
grid-column-start: 1;
-webkit-tap-highlight-color: transparent;
    
padding-top: 20px;
/*
padding-top: 20px;
padding-bottom: 15px;
*/

}
.PatientLefttwoPicker
    {
     grid-template-columns: 1fr 1fr;
}














/*Imports*/
.Imports
{
    position: relative;
    background-color: var(--block-color);
    box-shadow: var(--box-shadow);
    border-top-left-radius: 4px;
}
.importForm
{
    align-self: stretch;
    justify-self: stretch;
    padding-top: 15px;
    padding-bottom: 10px;
    
}


.importPanel
{
  /*  display: grid;
    grid-row-gap: 10px;
    align-items: stretch;
    
    border-radius: 4px;
    padding-bottom: 30px;
    width: 170px;
    height: 100px; */
    
    display: grid;
    grid-row-gap: 20px;
    grid-template-columns: 1fr ;
    margin: 23px;
    justify-items: center;
    padding: 20px;
    border-radius: 4px;
    border: 0px solid rgba(1, 1, 1, 0.25);
}

.importField
{
    opacity: 0.5;
    font-family: var(--font-family);
    font-size: var(--body-font-size);
    padding-bottom: 2px;
     justify-items: center;
}

.importfieldForm
{
    opacity: .9;
    font-family: var(--font-family);
    font-size: var(--body-font-size);
    justify-self: center;
    align-self: center;
    padding-bottom: 2px;
    text-decoration: underline;
    text-shadow:0 0 1px  rgba(1, 1, 1, 0.25);
}



.toolText
{
    display: grid;
    grid-template-areas: "one";
}
input#myFile2 {
    grid-area: one;

    cursor: pointer;

    z-index: 2;
    width: 100%;
    height: 40px;
    border: 1px solid black;

    opacity: 0.0; /* Standard: FF gt 1.5, Opera, Safari */
    filter: alpha(opacity=0); /* IE lt 8 */
    -ms-filter: "alpha(opacity=0)"; /* IE 8 */
    -khtml-opacity: 0.0; /* Safari 1.x */
    -moz-opacity: 0.0; /* FF lt 1.5, Netscape */
}
.LoadPatientText
{
    grid-area: one;
    align-self: center;
}


.buttonPanel
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
}
.importButton
{
    align-self: top;
    text-align: center;
    height: 40px;
    min-width: 220px;
    max-width: 40%;
    font-size: 12px;
    overflow: wrap;
    background: white;
    border: 1px solid rgba(1, 1, 1, 0.25);
    cursor: pointer;
    border-radius: 4px;

    color: rgba(1, 1, 1, 0.75);

    -webkit-tap-highlight-color: rgba(0,0,0,0); /*No flash when tap*/
    -webkit-tap-highlight-color: transparent;

    box-shadow: var(--box-shadow);

    justify-self:center;
    align-self: stretch;
}
/*Only on none touch devies, do hover, otherwise you get sticky hover color bug*/
@media (hover:hover)
{
    .importButton:hover
    {
    /*    background: rgba(68, 111, 181, 0.75);*/

        background: rgba(71, 170, 181, 1);
        color: white;
        box-shadow: var(--box-shadow);

    }
}

.importButton:active
{
/*    background: rgba(68, 111, 181, 0.75);*/
    background: rgba(71, 170, 181, 1);
    color: white;
    box-shadow: none;
}
.imports
{
    grid-area: SelectedPanel;

    background-color: var(--block-color);
/*    border: 1px solid rgba(1, 1, 1, 0.2);*/
/*    border-radius: 4px;*/

    justify-self: stretch;
    align-self: top;

    padding-left: var(--block-padding);
    padding-right: var(--block-padding);
    padding-bottom: 20px;

    display: grid;
    grid-template-columns: 1fr;


    box-shadow: var(--box-shadow);

    display: none;

/*    max-width: 200px;*/
}
.ieTabletPanel
{
    display: none;
}
.addPatient
{
    height: 1.5em;
    width: 1.5em;
}
.NewPatientButton
{
    font-family: var(--font-family);
    color: black;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0); /*No flash when tap*/
    -webkit-tap-highlight-color: transparent;
}
.downloadTemplate
{
    display: inline;
    text-decoration: underline;
    color: blue;
    cursor: pointer;
    display: inline;
}


.inlineLinks
{
/*    color: rgba(70, 120, 130, 1);*/
    color: blue;
    font-size: inherit;
}
.navButtons
{
    display: none;
}
.newPatient
{
    position: fixed;
    bottom: 90px;
    left: 32px;

    width: 170px;

    z-index: inherit;
}
.refresh
{
    position: fixed;
    bottom: 30px;
    left: 32px;

    width: 170px;

    z-index: inherit;
}
.bottomNav
{
/*    margin-top: 260px;*/
}



/* EXPORT */
.IE
{
    position: relative;
}
.importExportForm
{
    align-self: stretch;
    justify-self: stretch;

    padding-top: 30px;
    padding-bottom: 10px;

    /*    display: grid;
    grid-template-columns: 1fr;
    grid-column: 1 / span 3; */

}
.iePanel
{

    display: grid;
    grid-row-gap: 20px;
    grid-template-columns: 1fr;

    align-items: stretch;

    padding: 20px;
    border-radius: 4px;
    border: 1px solid rgba(1, 1, 1, 0.25);

}
.firstIEPanel
{
    padding-bottom: 30px;
}
.secondIEPanel
{
    margin-top: 20px;
}
.ieTitles
{
    font-family: var(--font-family);
    font-size: 14px;
}

.buttonPanel
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
}
.importExportButton
{
    align-self: top;
    text-align: center;
    height: 40px;
    font-size: 12px;
    overflow: wrap;
    background: white;
    border: 1px solid rgba(1, 1, 1, 0.25);
    cursor: pointer;
    border-radius: 4px;

    color: rgba(1, 1, 1, 0.75);

    -webkit-tap-highlight-color: rgba(0,0,0,0); /*No flash when tap*/
    -webkit-tap-highlight-color: transparent;

    box-shadow: var(--box-shadow);

    justify-self:stretch;
    align-self: stretch;
}
/*Only on none touch devies, do hover, otherwise you get sticky hover color bug*/
@media (hover:hover)
{
    .importExportButton:hover
    {
    /*    background: rgba(68, 111, 181, 0.75);*/

        background: rgba(71, 170, 181, 1);
        color: white;
        box-shadow: var(--box-shadow);

    }
}

.importExportButton:active
{
/*    background: rgba(68, 111, 181, 0.75);*/
    background: rgba(71, 170, 181, 1);
    color: white;
    box-shadow: none;
}
.IE
{
    grid-area: SelectedPanel;

    background-color: var(--block-color);
/*    border: 1px solid rgba(1, 1, 1, 0.2);*/
/*    border-radius: 4px;*/

    justify-self: stretch;
    align-self: top;

    padding-left: var(--block-padding);
    padding-right: var(--block-padding);
    padding-bottom: 20px;

    display: grid;
    grid-template-columns: 1fr;


    box-shadow: var(--box-shadow);

    display: none;

/*    max-width: 200px;*/
}
.ieTabletPanel
{
    display: none;
}
.addPatient
{
    height: 1.5em;
    width: 1.5em;
}
.NewPatientButton
{
    font-family: var(--font-family);
    color: black;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0); /*No flash when tap*/
    -webkit-tap-highlight-color: transparent;
}
.downloadTemplate
{
    display: inline;
    text-decoration: underline;
    color: blue;
    cursor: pointer;
    display: inline;
}


.inlineLinks
{
/*    color: rgba(70, 120, 130, 1);*/
    color: blue;
}
.navButtons
{
    display: none;
}
.newPatient
{
    position: fixed;
    bottom: 90px;
    left: 32px;

    width: 170px;

    z-index: inherit;
}
.refresh
{
    position: fixed;
    bottom: 30px;
    left: 32px;

    width: 170px;

    z-index: inherit;
}
.bottomNav
{
/*    margin-top: 260px;*/
}


/* SCORE */
/*
.scorePanel {
    grid-area: TopPanel;
    display: grid;
    grid-template-areas: 
        "hrWarn hrWarn hrWarn"
        "ScoreTitle divide TherapyTitle"
        "scoreAndColor divide therapyNotes"
        "scoreTime divide therapyNotes";
    grid-template-columns: 20fr auto 20fr;
    background-color: white;
    box-shadow: var(--box-shadow);
    transition: all 2s;

    padding-left: var(--block-padding);
    padding-right: var(--block-padding);
    
    grid-column-gap: 10px;
    padding-bottom: 10px;
    
    padding-top: 10px;
    margin-top: -10px;
}
*/

.scorePanel {
    grid-area: TopPanel;
    display: grid;
    position: fixed;
    width: 100%;
    height: auto;
    z-index: 100;
    grid-template-areas:
        "hrWarn hrWarn hrWarn"
        "ScoreTitle divide TherapyTitle"
        "scoreAndColor divide therapyNotes"
        "scoreTime divide therapyNotes";
    grid-template-columns: 20fr auto 20fr;
    background-color: white;
    box-shadow: var(--box-shadow);
    transition: all 2s;
    grid-column-gap: 10px;
    padding-bottom: 10px;
    /* padding-top: 10px; */
    /* margin-top: -10px; */
}
.highRisk{
    grid-area: hrWarn;
    display: none;
    position: fixed;
    font-family: var(--font-family);
    font-size: 20px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    letter-spacing: 20px;
    padding-top: 3px;
    padding-bottom: 3px;
    width: 100%;
    transition: height 2s;
    background-color: rgb(254, 173, 60);
    margin-bottom: 10px;
    z-index: 100;
}
.ScorePanelDivide {
    grid-area: divide;
    width: 1px;
    height: 90%;
    align-self: center;
    justify-self: center;
/*
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 10px;
    padding-bottom: 10px;

    height: 90%;
    font-size: 12px;
    writing-mode: vertical-rl;
    text-orientation: upright;
    overflow-wrap: break-word;
    word-wrap: break-word;
*/
}
.CurCalcStage {
    font-family: var(--font-family);
    grid-area: ScoreTitle;
}
.scoreAndColor {
    grid-area: scoreAndColor;
    display: grid;
    grid-template-areas: "score scoreColor";
    grid-column-gap: 5px;
    align-content: center;
}
/*Score Stuff*/
.scorePanelSection {
    justify-self: center;
    font-size: 1em;
    margin-bottom: 10px;
    margin-top: 10px;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.5);
}
.patientScore {
    grid-area: patient;
    text-align: center;
    align-self: center;
    justify-self: center;
    font-weight: bold;
}
.theScore
{
    grid-area: score;
    font-family: var(--font-family);
    font-size: 60px;
    text-align: right;
    align-self: flex-end;
    font-family: monospace;
    font-weight: bold;
}
.scoreColor {
    grid-area: scoreColor;
    width: 15px;
    height: 55px;
/*    background: blue;*/
    align-self: center;
    justify-self: start;
}
.scoreTime {
    grid-area: scoreTime;
    align-self: center;
    justify-self: center;
    opacity: 0;
    font-family: var(--font-family);
    text-align: center;
    margin-left: 5px;
    margin-right: 5px;
    font-size: 0.9em;
    padding-bottom: 5px;
}
.TherapyTitle {
    font-family: var(--font-family);
    grid-area: TherapyTitle;
}
.TherapyInfo {
    font-family: var(--font-family);
    grid-area: therapyNotes;
    align-self: center;
    font-size: 0.9em;
    justify-self: center;
    text-align:left;
    list-style-position: inside;
}
.therapyList {
    padding: 0px;
}

.moreList{
    color: blue;
    cursor: pointer;
}

.subScore
{
    font-family: var(--font-family);
    font-size: 30px;

    align-self: stretch;
    justify-self: stretch;

    text-align: center;

    margin-top: 20px;
    padding-top: 20px;
    border-radius: 4px;

    background-color: white;

    box-shadow: var(--box-shadow);
}
#UOscore
{
    grid-area: UOscore
}
#SCRscore
{
    grid-area: SCRscore;
}

/*Labeling Stuff*/
.scoreLabel
{
    font-family: var(--font-family);
    font-size: 12px;
    opacity: 0.5;
    text-align: center;

}
#maxScoreLabel
{
    padding-top: 5px;
    grid-area: score;
}
#UOScoreLabel
{
    grid-area: UOscore;
    padding-top: 23px;
}
#SCRScoreLabel
{
    grid-area: SCRscore;
    padding-top: 23px;
}

/*Date Stuff*/
.scoreDate
{
    font-family: var(--font-family);
    opacity: 0.5;
    text-align: center;
    font-size: 12px;
}
#UOTime
{
    grid-area: UOtime;
}
#SCRTime
{
    grid-area: SCRtime;
}









/*BOTTOM PANEL*/
.BottomPanel
{
    grid-area: BottomPanel;

/*
    display: grid;
    grid-template-columns: 1fr;
*/
/*
    grid-template-areas:
        "Selectors"
        "SelectedPanel";
*/
    

    border-radius: 0px;
    margin-bottom: 0px;
    margin-top: 150px;

/*    margin-bottom: 80px;*/

/*    grid-gap: 20px;*/
}

#patientform {
    display: grid;
    grid-template-areas: 
        "Demo"
        "DemoPanel"
        "Base"
        "BaselinePanel"
        "Meas"
        "MeasPanel";
}


.SectionTitle {
    font-family: var(--font-family);
    font-size: 16px;
    opacity: 0.75;
    background-color: transparent;
    padding-top: 25px;
    padding-bottom: 10px;
    cursor: pointer;
    display: grid;
    grid-template-areas: "section dropdown";
    grid-template-columns: 1fr 30fr;
    
    -webkit-tap-highlight-color: rgba(0,0,0,0); /*No flash when tap*/
    -webkit-tap-highlight-color: transparent;
    
    padding-left: 10px;
}
.DemoTitle {grid-area: Demo;}
.BaseTitle {grid-area: Base}
.MeasTitle {grid-area: Meas;}

.moreArrow {
    height: 20px;
/*    align-self: flex-start;*/
    justify-self: end;
    padding-right: 20px;
    justify-self: start;
}

.segmented-control__Input:checked + #panelChoice
{
    background: white;
/*    box-shadow: var(--box-shadow);*/
    box-shadow: 2px 0 1px -1px rgba(0, 0, 0, 0.2);
/*    1px 1px 1px ;*/
    color: black;
    border: none;
    border-radius: 0px;
    opacity: 1;
}
.segmented-control__Input:hover:not(:checked) + #panelChoice
{
    background: #dedfe0;
    border-radius: 0px;
}
.selectorWithLogo
{
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    flex-direction: column;
}
.selectorWithLogoVisible
{
    opacity: 1;
}
.selectorIcon
{
    height: 3em;
    width: 3em;
}
.reqInfoIcon
{
    background: url('../Pictures/Icons/reqInfo.svg') no-repeat;
    background-position: center;
    background-size: 2.5em 2.5em;
}
.dataIcon
{
    background: url('../Pictures/Icons/dataEntry.png') no-repeat;
    background-position: center;
    background-size: 2.5em 2.5em;
}
.resultsIcon
{
    background: url('../Pictures/Icons/results.png') no-repeat;
    background-position: center;
    background-size: 2.5em 2.5em;
}
.plotIcon
{
    background: url('../Pictures/Icons/plot.png') no-repeat;
    background-position: center;
    background-size: 2.5em 2.5em;
}
.ieIcon
{
    background: url('../Pictures/Icons/ieIcon.png') no-repeat;
    background-position: center;
    background-size: 2.5em 2.5em;
}
.baselineIcon
{
    background: url('../Pictures/Icons/baseline.png') no-repeat;
    background-position: center;
    background-size: 2.5em 2.5em;
}

.importsIcon{
    background: url('../Pictures/Icons/imports.png') no-repeat;
    background-position: center;
    background-size: 2.5em 2.5em;
}



/* SETTINGS */
.Settings
{
    grid-area: DemoPanel;

    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "patient"
        "baseline"
        "GFR"
        "UO";

    background-color: var(--block-color);
/*    box-shadow: var(--box-shadow);*/
    border-radius: 0px;
    padding: 20px;
    padding-top: 15px;
    padding-bottom: 20px;
    position: relative;
}

.loadfield{
    opacity: 0.5;
    font-family: var(--font-family);
    font-size: 20px;
    justify-self: left;
    align-self: center;
    margin-bottom: 15px;
    }
    



.patientForm
{
    padding-bottom: px;

    grid-column: 1;
    grid-row: 3;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-row-gap: 20px;

/*    display: none;*/

    align-self:stretch;
    align-self:flex-start;

    padding-top: 0px;

/*    max-width: 800px;*/
}

   
div#mybutton {

    /* IMPORTANT STUFF */
    overflow: hidden;
    position: relative;
    cursor:   pointer;   

    /* SOME CUSTOM STYLING */
    width:  200px;
    padding: 10px; 
    text-align: center;
    font-weight: bold
    opacity: 0.5;
    font-family: var(--font-family);
    font-size: var(--body-font-size);
    background: white;
    border: 1px solid rgba(1, 1, 1, 0.25);
    cursor: pointer;
    border-radius: 4px;

    color: rgba(1, 1, 1, 0.75);

    -webkit-tap-highlight-color: rgba(0,0,0,0); /*No flash when tap*/
    -webkit-tap-highlight-color: transparent;

    box-shadow: var(--box-shadow);

}

div#mybutton:hover {
         background: rgba(71, 170, 181, 1);
        color: white;
        box-shadow: var(--box-shadow);
}

.patientField{
    opacity: 0.5;
    font-family: var(--font-family);
    font-size: var(--body-font-size);
    justify-self: left;
    align-self: center;
    padding-bottom: 2px;
}

.roundBtn {
    display:block;
    cursor: pointer;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    border: 1px solid white;
    margin-bottom: 2px;
    margin-right: 3%;
    margin-bottom: 10px;
    margin-left: 45%;

}
    
.addPatientField{
    opacity: 0.5;
    font-family: var(--font-family);
    font-size: var(--body-font-size);
    justify-self: left;
    align-self: center;
    margin-top: 20px;
    margin-bottom: 5px;
    margin-left: 40%
}

hr{
    width: 100%;
    margin-top: 20px;
    margin-bottom: 10px;
}
    
.addingPatient{
    margin-top: -4px;
    margin-right: 5%;
    float: left;
    margin-bottom: 10px;
/*
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    position: sticky;
    top: 110px;
*/
    z-index: 20;
    width: 50px;
    height: 50px;
    text-align: center;


    font-family: var(--font-family);
    color: var(--accent-color);


    opacity: 1;
    border-radius: 50%;
    background-color: rgba(1, 1, 1, 0.05);
    box-shadow: var(--box-shadow);

    cursor: pointer;

    display: flex;
    justify-content: center;
}
.addPatientContent
{
    font-size: 24px;
    align-self: center;
    opacity: 0.5;
}

.patientForm_on
{
    display: grid;
}
.patientPanel
{
/*    padding-bottom: 23x;*/
    
}
.units
{
    font-family: var(--font-family);
/*    font-size: var(--body-font-size);*/
    opacity: 0.5;
    justify-self: left;
    padding-left: 5px;
    align-self: center;
}
.patientField
{
    opacity: 0.5;
    font-family: var(--font-family);
    font-size: var(--body-font-size);
    justify-self: left;
    align-self: center;
    
    padding-bottom: 2px;
}
:focus
{
    outline: none;
}
.inputWrapper
{
/*    float: left;*/
/*    width: 27.33%;*/
/*    width: 100%;*/
    position: relative;

/*    grid-column: 1;*/
    justify-self: stretch;
    align-self: center;

    padding: 0px;
    margin: 3px;
/*    margin-bottom: 10px;*/
/*    padding-bottom: 10px;*/

    display: flex;
    flex-direction: column;
}

.patientEntry
{
    -webkit-appearance: none;
    -webkit-border-radius:0px;
    -webkit-tap-highlight-color: transparent;

    font-family: var(--font-family);
    background: white;

    width: 100%;
    text-align:center;
    border: 0px;
    border-bottom: 1px solid #ccc;
    font-size: 16px;

    padding-top: 5px;
    padding-bottom: 15px;

    padding-right: 0px;

    margin-right: 0px;


/*    padding-left: 5px;*/

    transition: background-color 0.4s;
}
.patientEntrySelector
{
    font-family: var(--font-family);
    background: white;

    border: 0px;
    margin-top: 5px;
    margin-bottom: 5px;
/*    width: 100%;*/
    border: 1px solid #ccc;
/*    border-radius: 4px;*/
    font-size: 16px;

    -webkit-tap-highlight-color: transparent;

    margin-bottom: 5px;
}
.ageError
{
    font-family: var(--font-family);
    font-size: 12px;
    color: red;

    display: none;
    padding-top: 7px;

    text-align: center;
}
.patientEntry:invalid
{
    background-color: rgba(254, 173, 173, 0.3);
    border-bottom: 1px solid red;
}
.patientEntry:focus
{
    border-bottom: 1px solid #3399FF;
}
.patientEntry:invalid ~ .ageError
{
    display: inline;
    opacity: 0.75;
}
.dateEntry
{
    -webkit-appearance: none;
    -webkit-border-radius:0px;
    -webkit-tap-highlight-color: transparent;
    
    font-family: var(--font-family);
    background: white;

/*    width: 100%;*/
/*    max-width: 147px;*/
    border: 0px;
    border-bottom: 1px solid #ccc;
    font-size: 16px;
    
    padding-top: 5px;
    padding-bottom: 5px;
    
    min-height: 16px;
}
.dateEntry:focus
{
    border-bottom: 1px solid #3399FF !important;
}
#cathTime_hidden
{
    display: none;
}
.patientSection
{
/*    border: 1px solid rgba(1, 1, 1, 0.25);*/
/*    border-radius: 4px;*/
/*    padding: 20px;*/
/*    margin-bottom: 10px;*/
/*    margin-top: 20px;*/
}
.testClassBen
{
    padding: 15px;

    border-radius: 4px;
    border: 1px solid rgba(1, 1, 1, 0.25);
/*    border-top: 1px solid rgba(1, 1, 1, 0.25);*/
}





/*OLD - not all verified as being unncessary - check this later*/
.subPanel
{
    background-color: var(--block-color);
    border: 1px solid rgba(1, 1, 1, 0.2);
    border-radius: 4px;

    justify-self: stretch;
    align-self: top;

    padding-left: var(--block-padding);
    padding-right: var(--block-padding);

    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(50px, 50px) 1fr;

/*    max-width: 200px;*/

    display: none;
}
.subPanel_On
{
    display: grid;
}
.settingsTitle
{
    font-size: 16px;
    cursor: auto;
}
.settingsChoiceTitle
{
    font-size: 14px;
}
.settingsChoice
{
    background-color: var(--block-color);

    justify-self: stretch;
    align-self: top;

    padding-left: 10px;
    padding-right: 10px;

    grid-template-columns: 1fr;

    display: grid;
    border-radius: 0px;
    border: none;
    border-bottom: 1px solid rgba(1, 1, 1, 0.2);
    grid-template-rows: none;

    background: rgba(1, 1, 1, 0.05);
    border-right: 1px solid rgba(1, 1, 1, 0.2);
    border-left: 1px solid rgba(1, 1, 1, 0.2);

    min-height: 80px;

    opacity: 0.75;
}
.settingsClickArea
{
    cursor: pointer;
    grid-column: 1 / span 3;
    grid-row: 1;
    -webkit-tap-highlight-color: rgba(0,0,0,0); /*No flash when tap*/
    -webkit-tap-highlight-color: transparent;
}
.settingsChoice:hover
{
    background: white !important;
}
.settingsChoice_active
{
    background: white;
    color: black;
    border-right: none;
    opacity: 1;
}
.settingsChoice_off
{
    display: none;
}
.vl
{
    border-left: 6px solid rgba(1, 1, 1, 0.3);
    height: 80%;
    align-self: center;
    justify-self: start;
    grid-column: 1;
    grid-row: 1;
}
#patient, #patientChoice
{
    grid-area: patient;
}
#UO_info, #UO_infoChoice
{
    grid-area: UO;
}
#GFR, #GFRChoice
{
    grid-area: GFR;
}
#baselineSCr, #baselineSCrChoice
{
    grid-area: baseline;
}
#lowestRecord
{
    font-family: var(--font-family);
    font-size: 10px;
    opacity: 0.25;
}
.requirementText
{
    font-family: var(--font-family);
    font-size: 10px;
/*    padding-top: 10px;*/
    justify-self: center;
    opacity: 0.75;
    grid-row: 10;
    padding-bottom: 5px;
    text-align: center;
}
.scrReq
{
    color: blueviolet;
}
.UOReq
{
    color:dodgerblue;
}
.infoI
{
    opacity: 0.5;
    grid-row: 1;
    grid-column: 30;
    justify-self: center;
    align-self: top;
    margin-top: 6px;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0,0,0,0); /*No flash when tap*/
    -webkit-tap-highlight-color: transparent;
}
.indicatorCircle
{
    margin-top: 40px;
    height: 15px;
    width: 15px;
    justify-self: center;
    align-self: right;
    grid-row: 1;
    grid-column: 30;
    background-color: rgba(255, 1, 1, 0.3);
    border-radius: 50%;
    font-size: 10px;
    text-align: center;
/*    padding-top: 2px;*/
    color: rgba(1, 1, 1, 0.75);
}
.indicatorCircle_On
{
    background-color: rgba(1, 160, 51, 0.5);
}
.incompleteIndicator
{
    font-family: var(--font-family);
    font-size: 10px;
    padding-bottom: 5px;
    justify-self: center;
    opacity: 0.75;
    grid-row: 10;
    text-align: center;
    font-style: italic;
    color: red;
    visibility: hidden;
}
.dropdown
{
    justify-self: left;
    margin-left: 10px;
    align-self: top;
    margin-top: 6px;
    margin-left: -5px;
    text-align: center;

    cursor: pointer;
    grid-column: 1;
    grid-row: 1;

    opacity: 0.5;

    -webkit-tap-highlight-color: rgba(0,0,0,0);

}
.clickWrapper
{
    grid-column: 1 / span 5;
    grid-row: 1;
    z-index: 1;
/*    position: fixed;*/
    cursor: pointer;
/*    background: violet;*/
    -webkit-tap-highlight-color: transparent;
}

.close-button
{
/*    float: right;*/
    justify-self: right;
    grid-area: close;
    width: 1rem;
    line-height: 1.5rem;
    text-align: center;
    cursor: pointer;
    border-radius: 0.25rem;
    font-size: 30px;
    color: rgba(71, 170, 181, 1);
    -webkit-tap-highlight-color: rgba(0,0,0,0); /*No flash when tap*/
    -webkit-tap-highlight-color: transparent;
/*    background-color: lightgray;*/
}
.close-button:hover
{
    color: rgba(71, 170, 181, 1);
/*    font-size: 24px;*/
/*    background-color: darkgray;*/
}
.show-modal
{
    opacity: 1;
    visibility: visible;
    transform: scale(1.0);
    transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}



/*Save & continue buttons*/

.baselineSubmitBtn{
    text-align: center;
    font-family: var(--font-family);
    color: white;
    background-color: rgba(71, 170, 181, 1);
    box-shadow: 3px 0 1px -1px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding-top: 10px;
    padding-right: 60px;
    padding-left: 60px;
    padding-bottom: 10px;  
   
}

.inputSubmitBtn{
    font-family: var(--font-family);
    text-align: center;
    color: white;
    background-color: rgba(71, 170, 181, 1);
    box-shadow: 2px 0 1px -1px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding-top: 20px;
    padding-right: 60px;
    padding-left: 60px;
    padding-bottom: 20px; 
    margin-top: 20px
}

.resultSubmitBtn{
    display: grid;
    grid-template-columns: 1fr;
    padding: 20px;
    grid-row-gap: 5px;
    text-align: center;
    font-family: var(--font-family);
    color: white;
    background-color: rgba(71, 170, 181, 1);
    box-shadow: 3px 0 1px -1px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    margin-bottom: 10px;
    padding-top: 20px;
    padding-right: 60px;
    padding-left: 60px;
    padding-bottom: 20px;
   
}
    .exitHomeBtn{
    cursor: pointer;
    text-align: center;
    font-family: var(--font-family);
    background-color: rgba(71, 170, 181, 1);
    box-shadow: 4px 0 1px -1px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    margin-top: 10px;
    grid-row-start: 4;
    grid-column-start: 1;
    padding-left:0;
    padding-right:0;
    padding-bottom: 0;
    padding-top: 0;
    }

    .exitHomeBtn a{
    padding-top: 10px;
    padding-bottom: 10px;  
    display: table;
    text-decoration: none;
    color: white;
    text-align: center;
    font-family: var(--font-family);
    height: 100%;
    width: 100%;
    }


    .inputBackBtn{
    display: grid;
    grid-template-columns: 1fr;
    padding: 20px;
    grid-row-gap: 5px;
    text-align: center;
    font-family: var(--font-family);
    color: white;
    background-color: rgba(71, 170, 181, 1);
    box-shadow: 3px 0 1px -1px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding-top: 20px;
    padding-right: 60px;
    padding-left: 60px;
    padding-bottom: 20px;
    }
    

    .exitBaselineBtn2{
    cursor: pointer;
    font-family: var(--font-family);
    text-align: center;
    color: white;
    background-color: rgba(71, 170, 181, 1);
    box-shadow: 2px 0 1px -1px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    margin-top: 10px;
    grid-row-start: ;
    grid-column-start: 1;
        
    }

    .exitBaselineBtn2 a{
    display:block;
    text-decoration: none;
    color: white;
    text-align: center;
    font-family: var(--font-family);
    padding-top: 25px;
    padding-right: 60px;
    padding-left: 60px;
    padding-bottom: 20px;   
    }

    .exitBaselineBtn{
        display: none;
    }
    .exitBaselineBtn a{
        display: none;
    }
    
/* For other pages */
.genericTitle
{
    font-family: var(--font-family);
    padding-left: 10px;
    padding-right: 10px;
    font-size: 25px;
    padding-top: 20px;
    font-weight: bolder;
}
.genericSubTitle
{
    font-family: var(--font-family);
    font-size: 22px;
    padding-left: 10px;
    padding-right: 10px;
}
.genericSubSubTitle
{
    font-family: var(--font-family);
    font-size: 20px;
    padding-left: 10px;
    padding-right: 10px;
    opacity: 0.5;
    margin-bottom: -10px;
}
.genericText
{
    font-family: var(--font-family);
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
}
.genericSubSubSubText
{
    padding-left: 10px;
    padding-right: 10px;
}
.genericSubSubSubTitle
{
    font-family: var(--font-family);
    font-size: 18px;
    padding-left: 20px;
    padding-right: 10px;
    opacity: 0.5;
    margin-bottom: -10px;
    font-style: italic;
}
hr
{
    border: 0;
    clear:both;
    display:block;
/*    width: 100%;  */
    margin-left: 10px;
    margin-right: 10px;
    padding: 0px;
    background-color: rgba(1, 1, 1, 0.2);
    height: 1px;
}
.genericEquation
{
    padding-bottom: 10px;
    text-align: center;
}
ul
{
    padding-top: 0px;
    margin-top: 0px;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

.theIndex
{
    border: 1px solid rgba(1, 1, 1, 0.25);
    display: grid;
    grid-template-columns: 1fr;
    grid-row-gap: 10px;
    padding: 10px;
    border-radius: 4px;
    width: 220px;
    margin-left: 10px;

/*    box-shadow: var(--box-shadow);*/
}
.indexTitle
{
    font-family: var(--font-family);
    font-size: 18px;
}
.index
{

    font-family: var(--font-family);
    color: rgba(1, 1, 1, 0.5);
    font-size: inherit;
}
.subIndex
{
    padding-left: 20px;
    font-size: 14px;
}
.subsubIndex
{
    padding-left: 40px;
    font-size: 12px;
}
.extraSpace
{
    padding-bottom: 700px;
}
.email
{
    color: blue;
    cursor: pointer;
    font-style: italic;
}
.spacedReferences
{
/*    padding-bottom: 10px;*/
}
li
{
    padding-bottom: 10px;
}


.sexfield{
    opacity: 0.5;
    font-family: var(--font-family);
    font-size: var(--body-font-size);
    justify-self: left;
    align-self: center;
    
    padding-top: 10px;
        
    }

.racefield{
    opacity: 0.5;
    font-family: var(--font-family);
    font-size: var(--body-font-size);
    justify-self: left;
    align-self: center;        
    }


/* PICKER DESIGN AND LAYOUT */
.Picker
{
    display: grid;
    -webkit-tap-highlight-color: transparent;
    
    padding-top: 10px;
    padding-bottom: 5px;
    
}

.twoPicker
{   
    grid-template-columns: 1fr 1fr;
}

.threePicker
{
    grid-template-columns: 1fr 1fr 1fr;
}

.patientPicker
{
    display: grid;
    -webkit-tap-highlight-color: transparent;
    
    padding-top: 20px;
    padding-bottom: 15px;
    
}

.PatienttwoPicker
{   
    grid-template-columns: 1fr 1fr;
}

.threePicker
{
    grid-template-columns: 1fr 1fr 1fr;
}


a{  
    
/*    font-size: 26px;*/

/*    align-content: center;*/
    
}

.segmented-control__Input {
    position: absolute;
    visibility: hidden;
    -webkit-tap-highlight-color: rgba(0,0,0,0); /*No flash when tap*/
    -webkit-tap-highlight-color: transparent;
}


.segmented-control__Label {

    align-self: center;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-right: 2px;
    padding-left: 2px;
    
    margin-right: 4%;
    margin-left: 4%;

    font-family: var(--font-family);
    text-align: center;

    cursor: pointer;

    border-radius: 4px;

    color: rgba(1, 1, 1, 0.5);
    -webkit-tap-highlight-color: rgba(0,0,0,0); /*No flash when tap*/
    -webkit-tap-highlight-color: transparent;
}

   .segmented-control__Label {
    background: #eee;
    }

.segmented-control__Input:checked + .segmented-control__Label {
    background: rgba(71, 170, 181, 1);
    box-shadow: var(--box-shadow);
/*    box-shadow: 2px 2px 12px rgba(71, 170, 181, 1);*/
    color: white;
/*    border: 1px solid rgba(1, 1, 1, 0.05);*/
}
::-webkit-input-placeholder
{ /* Chrome/Opera/Safari */
    color: black;
    opacity: 0.25;
    font-size: 12px;
/*    vertical-align: sub;*/
}

.noHover{
    pointer-events: none;
}

/* BASELINES */
.Baseline
{
    grid-area: BaselinePanel;
    background-color: var(--block-color);
/*    box-shadow: var(--box-shadow);*/
    position: relative;
    padding-bottom: 20px
}
.baselineForm
{
    padding: 20px;
    padding-top: 15px;
    padding-bottom: 10px;

    
}
.subBaselineForm
{
    padding-bottom: 5px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    align-self:stretch;
    align-self:flex-start;

/*    border: 1px solid rgba(1, 1, 1, 0.25);*/
    border-radius: 4px;
/*    padding: 20px;*/
/*    margin-bottom: 20px;*/
}
.GFRMethodForm {
    align-self:flex-start;
}

.cathInsertTime
{
    margin-top: 10px;
    margin-bottom: 25px;
    padding-bottom: -5px;
    grid-column: 2;
    display: grid;
    grid-template-columns: 1fr;
    align-self:stretch;
    align-self:flex-start;

/*    border: 1px solid rgba(1, 1, 1, 0.25);*/
    border-radius: 4px;
/*    padding: 20px;*/
/*    margin-bottom: 20px;*/
}

#dataSectionTitles
{
    grid-area: title2;
    padding-top: 10px;
}
#cathTime
{
    grid-area: cathTime;
}
#GFRForm
{
    grid-area: GFR;
}
#BaselineSCrForm
{
    grid-area: baselineSCr;
}
#calculatedBaseline
{
    font-style: italic;
}
.baselineField
{
    opacity: 0.5;
    font-family: var(--font-family);
    font-size: var(--body-font-size);
    justify-self: left;
    padding-top: 5px;
    padding-bottom: 2px;
}
.calculatedBaseline
{
    padding-top: 20px;
    margin-top: 10px;
}




/* DATA INPUT 
.Baseline
{
    background-color: var(--block-color);
    box-shadow: var(--box-shadow);
    position: relative;
}
.baselineForm
{
    padding: 20px;
    padding-top: 15px;
    padding-bottom: 10px;
    
}*/

.sortDE{
    float: right;
    margin-right: 30px;
    margin-bottom: 10px;
}

.DataEntry
{
    grid-area: MeasPanel;
    background-color: var(--block-color);
/*    box-shadow: var(--box-shadow);*/
    position: relative;
}

.DataEntryForm
{   
    padding: 20px;
    padding-top: 15px;
    padding-bottom: 20px;
}

.dataForm
{
    grid-area: newData;
    align-self:top;
    grid-row: 2;
    justify-self: stretch;
    align-self: stretch;
    width: 100%;

    font-family: var(--font-family);
    font-size: var(--body-font-size);

/*    padding-right: 10%;*/
    padding-right: 10px;
    padding-bottom: 5px;
}

.DataTop
{
    display: grid;
    grid-template-columns: 1fr;
    padding: 20px;
    grid-row-gap: 5px;
    padding-top: 40px;
    padding-bottom: 40px;
/*    padding-top: 20px;*/
/*    padding-right: 40px;*/

}

.AddMeasSection {
    padding-top: 10px;
    display: grid;
/*    grid-template-areas: "note therapy graph addmeas";*/
    grid-template-areas: "addmeas graph note";
    grid-template-columns: 1fr 1fr 20fr;
    grid-column-gap: 10px;
}
.AddMeas {
    grid-area: addmeas;
    font-family: var(--font-family);
    font-size: 20px;
/*    justify-self: center;*/
    background: rgba(71, 170, 181, 1);
    color: white;
/*    padding: 15px;*/
/*
    padding-right: 30px;
    padding-left: 30px;
*/
    border-radius: 4px;
    box-shadow: var(--box-shadow);
    cursor: pointer;
    width: 100%;
    text-align: center;
    align-self: center;
/*    padding-top: 10px;*/
/*    padding-bottom: 10px;*/
    
    -webkit-tap-highlight-color: rgba(0,0,0,0); /*No flash when tap*/
    -webkit-tap-highlight-color: transparent;
    
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    justify-self:end;
}

.graphBtn {
    grid-area: graph;
    align-self: center;
    justify-self: center;
    cursor: pointer;
    height: 40px;
    
    -webkit-tap-highlight-color: rgba(0,0,0,0); /*No flash when tap*/
    -webkit-tap-highlight-color: transparent;
}
.addRow
{
    margin-top: 40px;
    margin-right: 5%;
    float: right;
    margin-bottom: 10px;
    z-index: 20;
    width: 50px;
    height: 50px;
    text-align: center;


    font-family: var(--font-family);
    color: var(--accent-color);


    opacity: 1;
    border-radius: 50%;
    background-color: rgba(1, 1, 1, 0.05);
    box-shadow: var(--box-shadow);

    cursor: pointer;

    
    justify-content: center;
}
.addRowContent
{
    font-size: 24px;
    align-self: center;
    opacity: 0.95;
}

.dataRow
{
    font-family: var(--font-family);
    font-size: 16px;

    display: grid;
    grid-template-columns: 1fr 100fr;
/*    grid-column-gap: 10px;*/

    justify-self: stretch;

    display: none;

    margin-bottom: 60px;
}
.dataInputRow
{
    border: 1px solid rgba(1, 1, 1, 0.25);
    border-radius: 4px;

    padding-top: 20px;
    padding-bottom: 20px;

    display: grid;
    grid-template-columns: 4fr 1fr 4fr 1fr 1fr 2fr;
    grid-template-areas:
        "date date date date date date"
        "dateLabel dateLabel dateLabel dateLabel dateLabel dateLabel"
        "UO divide SCr RRT divide2 maxScore"
        "UOLabel divide SCrLabel RRTLabel divide2 maxScore"
        "UOStage divide SCrStage SCrStage divide2 maxScore"; 
    grid-column-gap: 10px;
    padding-right: 5%;
    padding-left: 5%;

    transition: box-shadow 0.3s ease-in-out;
}
.dataEntry
{
    -webkit-appearance: none;
    -webkit-border-radius:0px;
    -webkit-tap-highlight-color: transparent;

    font-family: var(--font-family);
    border: none;
    border-bottom: 1px solid #ccc;

    font-size: 16px;
    text-align: center;
    align-self: center;

    width: 100%;
    height: auto;

    min-height: 2.375rem;
}
.dataEntry:invalid
{
    background-color: rgba(254, 173, 173, 0.3);
    border-bottom: 1px solid red;
}
.dataEntry:focus
{
    border-bottom: 1px solid #3399FF !important;
}
.RRTLabel
{
    font-family: var(--font-family);
    opacity: 0.25;
    text-align: center;
}
.dataDateEntry
{
    grid-area: date;
    width: auto;
}
.dataEntryLabels
{
    text-align: center;
    opacity: 0.5;
    font-size: 12px;
    font-family: var(--font-family);
}
.UOEntryLabels
{
    text-align: center;
    opacity: 0.5;
    font-size: 12px;
    font-family: var(--font-family);
    
}
.dateLabel
{
    grid-area: dateLabel;
    padding-bottom: 10px;
}
.dataUOEntry
{
    grid-area: UO;
}
.UOLabel
{
    grid-area: UOLabel;
}
.dataSCrEntry
{
    grid-area: SCr;
}
.SCrLabel
{
    grid-area: SCrLabel;
}
.dataRRTLabel
{
/*    grid-area: RRTLabel;*/
    margin-right: -20px;
}
.theX
{
    opacity: 0.5;
    cursor: pointer;
    justify-self: center;
    align-self: center;
    text-align: center;
    font-size: 20px;
    font-weight: lighter;
/*    -webkit-tap-highlight-color: transparent;*/

    padding: 10px;

    padding-top: 40px;
}
.RRTCheckBox
{
/*    this div is needed for some reason because oninput is not registed for check boxes on ios*/
    grid-area: RRT;
    justify-self: center;
    align-self: center;
}
.checkBox
{
    text-align: center;
/*    font-size: 20px;*/
}
.dataRowHeader
{
    opacity: 0.5;
    font-family: var(--font-family);
    font-size: 16px;
    text-align: center;
    align-self: center;
}
.warningMsg
{
    font-family: var(--font-family);
    color: red;
    font-size: 12px;
    opacity: 0.75;
    padding-top: 10px;

    grid-column: 1 /span 6;

    display: none;
}
.dataMaxScore {
    grid-area: maxScore;
    display: grid;
    grid-template-areas: "score color tx";
    font-family: monospace
}
.dataMaxScoreNumber {
    grid-area: score;
    justify-self: center;
    align-self: center;
    font-size: 50px;
    font-weight: bold;
}
.dataMaxScoreColor {
    grid-area: color;
    height: 60px;
    width: 10px;
    background: white;
    align-self: center;
    margin: 0px;
    margin-left: 5px;
}
.therapy {
    grid-area: tx;
    align-self: center;
    justify-self: center;
    color: white;
    display: inline-block; /* Inline elements with width and height. TL;DR they make the icon buttons stack from left-to-right instead of top-to-bottom */
    position: relative; /* All 'absolute'ly positioned elements are relative to this one */
    padding: 2px 5px; /* Add some padding so it looks nice */
}

/* Define what each icon button should look like */
.therapyBtn {
    cursor: pointer;
    height: 40px;
    -webkit-tap-highlight-color: rgba(0,0,0,0); /*No flash when tap*/
    -webkit-tap-highlight-color: transparent;
    margin-top: 3px;
}

/* Make the badge float in the top right corner of the button */
.therapyBtnBadge {
    background-color: #fa3e3e;
    border-radius: 100px;
    text-align: center;
    color: white;
    width: 35%;
    font-size: 15px;
    position: absolute; /* Position the badge within the relatively positioned button */
    right: 0;
}

.dataDivider {
    grid-area: divide;
    width: 1px;
    height: 100%;
    align-self: center;
    justify-self: center;
}
.dataDivider2 {
    grid-area: divide2;
    width: 1px;
    height: 100%;
    align-self: center;
    justify-self: center;
}

.DataScores {
    align-self: center;
    justify-self:center;
    text-align: center;
    display: grid;
    grid-template-areas: "divider" "score";
    width: 100%;
}
.DataUOStage {
    grid-area: UOStage;
}
.DataSCrStage {
    grid-area: SCrStage;   
}
.dataStageDivide {
    width: 100%;
    height: 1px;
    align-self: center;
    justify-self: center;
    opacity: 0.5;
}
.stageWord {
    color: rgba(0,0,0,0.5);
}
.stageNumber {
    color: rgba(0,0,0,1);
    font-family: monospace
}

#UOInputField:invalid ~ #UOInputValid
{
    font-size: 16px;
}
#SCrInputField:invalid ~ #SCrInputValid
{
    font-size: 16px;
}
#dateWarning
{
    padding-top: 20px;
    grid-row: 6;
}
#UOWarning
{
    grid-row: 7;
}
#SCrWarning
{
    grid-row: 8;
}

#UOInputValid
{
    font-size: 14px;
    display: none;
}
#SCrInputValid
{
    font-size: 14px;
    display: none;
}


/* RESULTS */
.Results
{
    grid-area: SelectedPanel;

    background-color: var(--block-color);
    box-shadow: var(--box-shadow);

    justify-self: stretch;
    align-self: top;
    

/*
    padding-right: var(--block-padding);
    padding-left: var(--block-padding);
*/

    display: grid;
    grid-template-columns: 1fr;
    
    position: relative;
/*    grid-template-rows: minmax(50px, 50px) 1fr;*/
    
    display: none;
}
.resultsPicker
{
    padding-top: 20px;

    margin-left: 15%;
    margin-right: 15%;
    padding-bottom: 20px;
}
.resultsForm
{
    padding-bottom: var(--block-padding);

/*    padding-right: 20px;*/

    grid-column: 1;
    grid-row: 2;
    justify-self: stretch;
    align-self: stretch;

    font-family: var(--font-family);
    font-size: 16px;

/*    display: none;  */

    border-collapse: separate;
    border-spacing: 10px 6px;

    width: 100%;
}
.resultsRow
{
    font-family: var(--font-family);
    font-size: var(--body-font-size);

    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    align-items: center;

    padding-top: 5px;
    padding-bottom: 5px;

    min-height: 16px;
}
.genericRow
{
    grid-template-columns: 4fr 8fr 4fr;
    grid-column-gap: 10px;
    padding-right: 5px;
    padding-left: 0px;
}
.genericRowAbbrv
{
    grid-template-columns: 4fr 8fr;
    grid-column-gap: 10px;
    padding-right: 10px;
    padding-left: 10px;
}

.resultsRow:nth-child(even)
{
    background-color: #eee;
}
.resultsEntry
{
    font-family: var(--font-family);
/*    font-size: var(--body-font-size);*/
    font-size: 16px;
    text-align: center;
    align-self: center;

    width: 100%;
    height: auto;
}
.genericCellCenter
{
    text-align: left;
    align-self:flex-start;
}
.resultsTitles
{
    font-family: var(--font-family);
    padding-bottom: 5px;
    padding-top: 10px;
    text-align: center;
    font-size: 18px;
/*    opacity: 0.5;*/
}
.resultsBreak
{
    margin-right: 10%;
    margin-left: 10%;

}
.BackToTop
{
    position: fixed;
    bottom: 70px;
    right: 20px;
    z-index: 100;
    background-color: rgba(1, 1, 1, 0.5);
    border-radius: 4px;
    box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.2);
    cursor: pointer;

    display: flex;
    flex-direction: column;
}
.BackToTop_Off
{
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear 300ms, opacity 300ms;
}
.BackToTop_On
{
    visibility: visible;
    opacity: 1;
    transition: visibility 0s linear 0s, opacity 300ms;
}
.BackToTopArrow
{
    filter: invert(100%);
    width: 20px;
    height: auto;
    padding: 10px;
    opacity: 0.75;
}

.directionPanel
{
    position: fixed;
    bottom: 70px;
    z-index: 100;
    background-color: rgba(1, 1, 1, 0.5);
    border-radius: 100%;
    box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.2);
    cursor: pointer;

    display: flex;
    flex-direction: column;
}
.NextPanel
{
    left: 65px;
}
.PrevPanel
{
    left: 20px;
}

.directionArrow
{
    filter: invert(100%);
    width: 20px;
    height: auto;
    padding: 10px;
    opacity: 0.75;
}

/* PLOTTING */
.plot
{
/*    justify-self: stretch;*/
/*    align-self: top;*/

    display: grid;

    -webkit-tap-highlight-color: rgba(0,0,0,0); /*No flash when tap*/
    -webkit-tap-highlight-color: transparent;
    
    display: none;
}

.plotForm
{
    padding-bottom: 30px;

    position: relative;
    margin: auto;
    height: 150px;
    width: 90vw;

    -webkit-tap-highlight-color: rgba(0,0,0,0); /*No flash when tap*/
    -webkit-tap-highlight-color: transparent;
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}
.plotTitle {
    grid-row-start: 1;
    grid-column: 1 /span 2;
    font-family: var(--font-family);
    font-size: 26px;
    align-self: center;
    justify-self: center;
}
.closePlot {
    grid-row-start: 1;
    align-self: center;
    font-size: 30px;
    cursor: pointer;
}


canvas{
    -webkit-tap-highlight-color: rgba(0,0,0,0); /*No flash when tap*/
    -webkit-tap-highlight-color: transparent;
}


.tg {
    margin: auto;
    margin-bottom: 30px;
    display: table;
    display: none;
    padding-bottom: 3%;
}

tr {
    padding-top: .5em;
    padding-bottom: .5em;
}

table#therapyChecklist {
    width: 100%; /* or however wide you want it */
    margin: 0 auto;
}

.tg  {border-collapse:collapse;border-spacing:0;}
.tg td{font-family:Arial, sans-serif;font-size:14px;padding:10px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;border-color:black;}
.tg th{font-family:Arial, sans-serif;font-size:14px;font-weight:normal;padding:10px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;border-color:black;}
.tg-baqh{text-align:center;vertical-align:middle;margin-left: 50%; width: 10px;}
.tg .tg-u1yq{font-weight:bold;background-color:#c0c0c0;text-align:center;vertical-align:top}

.tg-0lax{
/*    text-align:justify;*/
    vertical-align:middle;
    border-top: 1px solid #c0c0c0;
    padding: 2%;
/*    width: 100%;*/
    height: auto;
    font-family:Arial, sans-serif;
}

#tgHR{
    border-top: 1px solid #c0c0c0;
}

/*
#tgHR:first-child {
  border-right: solid 1px #c0c0c0;
}
*/

/*
.tg-0lax:first-child {
  border-right: .5px solid #c0c0c0;
}
*/

.tg-abx8{
    font-family:Arial, sans-serif;
/*    font-weight:bold;*/
    width: 100%;
/*    border: .5px solid #c0c0c0;*/
    padding: 3%;
    color:black;
    text-align: center;
    vertical-align: top;
    font-size: 24px;
}

.acknowledged{
    width: 30%;
    box-shadow: var(--box-shadow);
    background: rgba(71, 170, 181, 1);
    color: white;
    border-radius: 50px;
    padding: 14px 20px;
    margin: 2px 0;
    float: right;
    margin-right: auto;
    margin-left: auto;
    border: none;
    cursor: pointer;
    font-size: 21px;
}

.AssessHR{
    width: 25%;
    box-shadow: var(--box-shadow);
    background: rgba(71, 170, 181, 1);
    color: white;
    border-radius: 50px;
    padding: .5%;
    margin: 1%;
    border: none;
    cursor: pointer;
    font-size: 21px;
}

.acknowledged:hover,
.acknowledged:focus {
  background: rgba(71, 170, 151, 1);
  cursor: pointer;
}

.AssessHR:hover,
.AssessHR:focus {
  background: rgba(71, 170, 151, 1);
  cursor: pointer;
}

.button__badge {
  background-color: #fa3e3e;
  border-radius: 2px;
  color: white;
  padding: 1px 3px;
  font-size: 20px;
  position: absolute; /* Position the badge within the relatively positioned button */
  top: 0;
  right: 0;
}

.txTable{
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

#therapyChecklist{
    table-layout: fixed;
/*    border: 1px solid #c0c0c0;*/
}

#stage3, #stage23, #stage123, #stage0123, #stage0{
    display: none;
}

.stage3{
    display: none;
}

.container {
  padding: 16px;
}

/* txModal (background) */
.txModal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 101; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    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 */
    overflow-x: hidden;
}

/* Modal Content/Box */
.txmodal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 1%;
    margin-top: 100px;
    z-index: 999; /* Sit on top */
    border: 1px solid #888;
    border-radius: 15px;
    width: 800px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* The Close Button (x) */
.close {
    position: absolute;
    right: 35px;
    top: 15px;
    font-size: 40px;
    font-weight: bold;
    color: black;
}

.close:hover,
.close:focus {
  color: #f44336;
  cursor: pointer;
}


/* Change styles for cancel button and signup button on extra small screens */
@media screen and (max-width: 800px) {
    .acknowledged {
        width: 40%;
  }
    
    .txmodal-content{
        width: 400px;
    }
}

.note
{
    font-family: var(--font-family);
    opacity: 0.3;
    font-size: 11px;
/*    padding-left: 20px;*/
/*    width: 80%;*/
    justify-self: center;
    text-align: center;
/*    padding-top: 10px;*/
    justify-self: center;
    align-self: center;
}
.opacNote
{
    opacity: 0.5;
}

.scoreAlertBox
{
    font-family: var(--font-family);
/*    font-size: 18px;*/

    cursor: pointer;

    position: fixed;

    top: -100px;

    justify-self: center;

    color: white;

/*    height: 20px;*/

    width: 100%;
    left: 0;
    right: 0;


    z-index: 200;

    -webkit-transition: top 2s; /* Safari */
    transition: top 0.5s linear;

    -webkit-tap-highlight-color: rgba(0,0,0,0); /*No flash when tap*/
    -webkit-tap-highlight-color: transparent;

/*    visibility: hidden;*/

    display: flex;
    align-items: center;
    justify-content: center;
}
.alertText
{
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(76, 175, 80, 1);
    box-shadow: 0px 2px 2px rgba(1, 1, 1, 0.25);
    opacity: 0.95;
    text-align: center;

    width: 100%;

    padding-top: 5px;
    padding-bottom: 5px;

    cursor: pointer;
}
.alert
{
    top: 0px;
}
.alertContent
{
    cursor: pointer;
}




/*Helper*/
.helperI
{
    position: absolute;
    right: 0;
    padding: 10px;
    padding-top: 5px;
    padding-right: 20px;
    opacity: 0.33;
    cursor: pointer;
    cursor: pointer;
    font-size: 1.25em;

    -webkit-tap-highlight-color: rgba(0,0,0,0); /*No flash when tap*/
    -webkit-tap-highlight-color: transparent;
}

/* FOOTER */
.footer
{
    padding-bottom: 20px;
    grid-area: footer;
    justify-self: center;
    align-self: center;
    text-align: center;
    font-family: var(--font-family);
    font-size: 10px;
    opacity: 0.5;
}

/*
.genericFooter
{
    grid-area: auto;
}
*/

.disclaimer
{
    text-align: justify;
    padding: 10px;
}
.copyright
{
    text-align: center;
}

/*Abbreviations with mouse hovers*/


.tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;

  /* Position the tooltip */
  position: absolute;
  z-index: 1;
}

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

