/* Theme Colors
rgb(213, 230, 246)
 */

* {
    font-family: 'Lato', sans-serif;;
}

body {
    /* background-color: aliceblue; */
    background: rgb(255, 255, 255);
        background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 63%, rgba(196, 226, 255, 0.6156513630842962) 93%, rgba(187, 222, 255, 1) 100%);
    margin: auto;
    
    padding: 2vh 2vw 2vh 2vw;
    width: 94%;
    line-height: 0.8;
}

body>div.header-container>a>h1 {
    color: rgb(22, 7, 137);
    font-weight: 900;
    font-family: 'Lato', sans-serif;
}

    

.header-container{
    margin: auto;
    width: 280px;
    text-shadow: 0 0 5px rgb(255, 255, 255) !important;
    text-decoration: none;
    text-shadow: 1px 1px 2px rgb(227, 227, 227), 0 0 25px rgba(225, 225, 225, 0.688), 0 0 5px rgba(1, 1, 108, 0.745) !important;
}

a:link {
    text-decoration: none;
    color: black;
}

a:visited {
    text-decoration: none;
    color: black;
}

a:hover {
    text-decoration: none;
}

a:active {
    text-decoration: none;
    color: black;
}

a {
    text-decoration: none;
    color: black;
}

#myImage {
    float: left;
    padding-right: 5px;
}

fieldset {
    border: none;
    padding: 0px;
    margin: 0px;
}

.Container-of-Containers {
    width: 100%;
    padding: 0px;
    margin: 0px;
}

.numOfForms {
    /* background-color: rgba(100, 100, 100, 0.9); */

    padding: 0px;
    margin: 0px;

    /* justify-content: space-evenly; */
}

.compoundForm-field.form-field, .halflife-field.form-field, .startDate-field.form-field {
    display: none;
}

form {
    display: inline;
}

.sidebyside {
    background-color: rgb(255, 255, 255);
    color: black;
    position: relative;
    top: auto;
    z-index: 0;
    border-bottom: 0px;
    font-weight: 900;
    
    padding: 4vh 4vw;
}

#container {
    margin-top: 2vh;
    margin: auto;
    align-self: center;
    display: flex;
    flex-flow: row nowrap;
    align-items: stretch;
    width: 100%;
    justify-content: space-evenly;
    border: thin double rgb(82, 80, 80);
    border-bottom: 0px;
    z-index: 2;
    box-shadow: 10px 6px 5px rgba(111, 111, 111, 0.6);
}

#sidebyside1 {
    flex: 1 1 400px;
    width: 50%;
    margin: 0;
    /* border-right: 3px green ridge; */
}

#sidebyside2 {
    flex: 1 1 400px;
    width: 50%;
    margin: 0;
    /* border-left: 3px green ridge; */
    z-index: 0;
    height: auto;
}


.questions {
    width: 99.2%;
    margin: auto;
    margin-left: 4.8px;
    background-color: rgb(213, 230, 246); 
    font-weight: 900;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top: 3px grey outset;
    border-style: ridge;
    box-shadow: 10px 5px 5px rgba(111, 111, 111, 0.597);
}


.checkboxes {
    margin-right: 2px;
    
    
}

#enter-compound {
    width: 40%;
    margin-left: 6vw;
    float: left;
}

#Submit-Btn {
    margin: auto;
    width: fit-content;
    border-radius: 10px;
    transition: background-color 0.5s, box-shadow 0.4s, border-radius 1s;
}

#Submit-Btn:hover {
    background-color: #a6ebea;
    box-shadow: 2px 2px 25px 10px #a8e2ef;
    border-radius: 15px;
    transition: border-radius 1s, box-shadow 0.2s !important;
}

#SubmitCycle {
    border-radius: 10px;
    padding: 1.2vh 2vh 1.2vh 2vh;
    font-size: 0.8rem;
    cursor: pointer;
    background-color: rgba(185, 211, 233, 0.802);
    box-shadow: 8px 5px 15px rgb(118, 118, 118); 
    color: rgb(255, 255, 255);
    font-weight: 900;
    font-size: large;
    text-shadow: 1px 01px 3px rgba(9, 9, 9, 0.816);
    transition: box-shadow 0.2s;
    margin: 0px;
}

input.Compound-Input, select.compound, select.ester, input.drug, input.halflife {
    display: inline;
    float: right;
    width: 20vw;
    background-color: white;
}

select.compound, select.ester {
    width: 20.5vw;
}



input.startDate {
    width: 4vw;
    float: right;
    position: relative;
    right: 0px;
    margin-left: 10vw;
}

select.startingDate-Input {
    width: 6vw;
    margin-left: 6vw;
    float: right;
    min-width: 56px;
}

label {
    padding-left: 0.1vw;
    width: fit-content;
    float: left;
    
    
}

.form-field {
    margin: 5px 0 5px 0;
    display: inline-block;
    position: relative;
    left: 0px;
    width: 100%;
    height: 4vh;
    
    
}

#Submit-Btn {
    margin-bottom: 2vh;
}

#Delete-Compound:hover {
    color: rgb(146, 27, 27);
    cursor: pointer;
}

#Reset-Compound:hover,
#reset:hover {
    color: blue;
    cursor: pointer;
}

#Add-Compound:hover {
    color: rgb(46, 196, 46);
    cursor: pointer;
}


@media screen and (min-width: 450px) {
    
    .Delete-Compound {
        position: absolute;
        width: fit-content;
        right: 0px;
        margin-right: 3%;
        float: right;
    }
    #Add-Compound, #Delete-Compound, #Reset-Compound {
        position: relative;
        float: right;
        z-index: 500;
        right: 5px;
        top: 3px;
        padding: 5px;
    }

    #Add-Compound {
        top: 11px;;
    }

    select.startingDate-Input {
        float: left;
        margin-left: 40%;
        margin-right: 0.5vw;
    }

    #start-date {
        margin-left: 0;
    }

    .form-field {
        min-width: 325px;
    }

    
div#manual-compound {
    /* float: right; */
    /* margin: auto; */
    width: 40vw;
    
}

fieldset#manual-compound {
    margin: 2vh 2vw;
}

div#enter-compound.checkboxes, div#enter-compound.checkboxes {
    width: 40vw;
    margin: auto;
    padding: 2px;
    display: flex;
    padding: 2vh 2vw;
    width: 40vw !important;
    justify-content: center;
    align-items: center;
}
}

/* Mobile browser settings  */

@media screen and (max-width: 450px) {
    body {
        padding-right: 10px;
        
    }
    #container {
        flex-flow: column nowrap;
        border: 3px solid rgb(170, 170, 170);
        border-bottom: none;
        padding: 3px;
        margin: auto;
        width: 90%;
        background-color: white;
    }  
    
    .sidebyside {
        margin: 0;
        padding: 0;
        padding-top: 1.5vh;
        background-color: white;
        color: black;        
    }
    #sidebyside1 {
        width: 90%;
        margin: auto;
        padding-top: 1vh;
        border: none;
        height: fit-content;
        flex: 1 1 200px;
    }

    #sidebyside2 {
        width: 90%;
        margin: auto;
        border: none;
        flex: 1 1 100px;
        padding-top: 1px;
    }

    .form-field {
        padding-right: 25px;
        
    }

    input.Compound-Input,
    input.drug,
    input.halflife {
        width: 40vw;
    }

        select.compound,
        select.ester {
            width: 42vw;
        }

    input.startDate {
        width: 18vw;
        margin-left: 2vw;
    }

    select.startingDate-Input {
        float: left;
        margin-left: 16vw;
    }

    #custom0, #startDate0 {
        float: left;
        position: relative;
        top: -5px;
    }

    #enter-compound, #enter-halflife {
        float: none;
        clear: both;
        width: 70vw;
        margin-left: 5vw;
        display: inline-block;
    }

    div#manual {
        margin: auto;
        width: 90%;
    }
    div#enter-compound {
        height: fit-content;
        width: 70vw;
        margin: auto;
        padding: 10px;
        margin-left: 10vw;
    }
    
    fieldset.question {
        width: 50vw;
    }

    input.custom, input.customStartDate {
        display: none;
    }

    label.custom-checkbox {
        align-items: center;
    }

    div#manual-compound {
        height: fit-content;
        width: 70vw;
        padding: 10px;
        margin-bottom: 1.5vh;
        margin-left: 10vw;
        display: inline-block;
    }

    .Delete-Compound {
        width: 100%;
        background-color: rgba(185, 211, 233, 0.802);
    }

    #Reset-Compound {
        margin: 3px;
        float: right;
    }
    
    #Delete-Compound {
        margin: 3px;
        float: right;
    }
    
    #Add-Compound {
        float: right; 
        position: relative;
        top: 8px; 
        margin: 3px;
    }

    #Delete-Compound:hover {
        color: rgb(146, 27, 27);
        cursor: pointer;
    }

    #Reset-Compound:hover, #reset:hover {
        color: blue;
        cursor: pointer;
    }

    #Add-Compound:hover {
        color: rgb(46, 196, 46);
        cursor: pointer;
    }

    .questions {
        border: 5px white ridge;
    }

    Forms {
        background-color: rgba(0, 0, 0, 0);
        opacity: 0;
    }

    #container {
        margin-top: 10px;
    }
}


@media screen and (max-width: 365px) {
    label {
        width: 230px;
        display: inline;
        margin: 10px;
    }

    div.form-field {
        width: 100%;
        display: block;
    }
    input.Compound-Input, input.drug, input.halflife {
        width: 90%;
        max-width: 200px;
        float: left;
        display: block;
        margin-bottom: 2vh;
    }

    select.compound, select.ester {
        width: 100%;
        float: left;
        display: block;
    }

    input.startDate {
        width: 18vw;
        margin-left: 2vw;
    }

    select.startingDate-Input {
        float: left;
        margin-right: 16vw;
    }

    div#enter-compound, div#manual-compound {
        margin-left: 0.1vh;
    }
}


#footer {
    font-size: 1.8vh;
    padding: 5%;
    padding-top: 0px;
    text-align: center;
    margin-left: 0%;
}

/* ------ Disclaimer Popup --------- */

.disclaimer {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
}

@media screen and (min-width: 500px) {
    
    .disclaimer-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: aliceblue;
        padding: 2vw 2.5vw;
        width: 40vw;
        height: fit-content;
        font-size: 0.8rem !important;
        text-align: center;
        line-height: normal;
        border-radius: 0.5rem;
        font-size: 10px;
        -ms-overflow-style: none;
        scrollbar-width: none;
        overflow: hidden;
    }

        #disclaimer-ok {
            border-radius: 30%;
            height: 1.5rem;
            text-align: center;
            font-size: 10px;
            margin-top: 15px !important;
            width: 8%;
            margin: auto;
            cursor: pointer;
            display: block;
            font-weight: bolder !important;
    
            position: relative;
        }

        #Delete-Compound {
            margin-right: 0.5vw;
        }

        #Buttons {
            margin-bottom: 10vh;
            
        }
}

@media screen and (max-width: 500px) {
    .disclaimer-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: aliceblue;
            padding: 2vw 2.5vw;
            width: 65%;
            height: fit-content;
            font-size: 0.6rem !important;
            text-align: center;
            line-height: 18px;
            border-radius: 0.5rem;
            font-size: 10px;
            -ms-overflow-style: none;
            scrollbar-width: none;
            overflow: hidden;
        }

        #disclaimer-ok {
            border-radius: 30%;
            height: 1.5rem;
            text-align: center;
            font-size: 8px;
            margin-top: 15px !important;
            margin-bottom: 10px !important;
            width: 10vw;
            margin: auto;
            cursor: pointer;
            display: block;
            background-color: #56bd86;
            color: white;

            position: relative;
        }

        #Delete-Compound {
            margin-right: 2vw;
        }

        .buttons {
            /* border: 4px ridge white !important; */
            box-shadow: 5px 3px 3px 1px rgba(111, 111, 111, 0.597);
            opacity: 1.0;
        }

        #SubmitCycle {
            border: 2px ridge white;
            
        }
}

#disclaimer-content::-webkit-scrollbar {
    display: none;
}

#close-disclaimer {
    float: right;
    width: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    cursor: pointer;
    border-radius: 0.25rem;
    color: #ab2634;
    cursor: pointer;
    text-shadow: -1px 0 rgb(209, 200, 200), 0 1px rgb(209, 200, 200), 1px 0 rgb(209, 200, 200), 0 -1px rgb(209, 200, 200);
    text-align: center;
}

#close-disclaimer:hover {
    background-color: darkgray;
}

.show-disclaimer {
    opacity: 1;
    visibility: visible;
    transform: scale(1.0);
    transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}

div.disclaimer-content {
    border: 2px black solid;
    box-shadow: inset;
    padding-left: 5vw;
    padding-right: 5vw;
    display: block;
    z-index: 10;
    position: relative;  
}

#disclaimer-ok {
    
    background-color: rgb(236, 236, 236);
    color: black;
    transition: box-shadow 0.4s, background-color 0.5s;    
}

strong {
    text-align: center;
    margin: auto;
    width: 100%;
    padding-top: 50px;
}

#disclaimer-ok:hover {
    background-color: rgb(176, 222, 162);
    color: white;
    box-shadow: 1px 1px 6px 6px rgba(56, 191, 25, 0.558);
    transition: background-color 0.8s, color 0.4s, box-shadow 1s;
}

canvas {
    background-color: white;
    border: 3px black double;
    height: 80vh;
}

chart-container-div {
    position: relative;
    width: 100vh;
    height: 80vh;
    margin: 53vh !important;
}

.wallet {
    font-size: 2vh;
    text-align: center;
    width: 100%;
    display: inline-block;
    line-height: normal;
    margin: 5vh;
    margin: auto;
    z-index: -1;
    position: relative;
}

#qr-code {
    box-shadow: 0px 0px 15px 5px white ;
    margin-top: 1vh !important;
    height: 8vh;
    margin: auto;
    z-index: 0;
    position: relative;
}

/*

.checkboxes {
  color: #666;
  margin: 8px 0;
}

.custom-checkbox {
  position: relative;
  cursor: pointer;
}
.custom-checkbox input[type=checkbox] {
  position: absolute;
  opacity: 0;
}
.custom-checkbox input[type=checkbox] + b {
  position: relative;
  display: inline-block;
  background-color: #fff;
  border: 2px solid #e5e5e5;
  border-radius: 4px;
  font-size: 20px;
  color: #49b35e;
  cursor: pointer;
  line-height: 1;
  outline: 0;
  text-align: center;
  vertical-align: bottom;
  height: 18px;
  width: 18px;
}
.custom-checkbox input[type=checkbox]:hover + b {
  border-color: #49b35e;
}
.custom-checkbox input[type=checkbox]:hover + b:after {
  color: #49b35e;
  content: "✔";
}
.custom-checkbox input[type=checkbox]:checked + b:after {
  content: "✔";
}
.custom-checkbox input[type=checkbox]:checked:hover + b {
  border-color: #f43f31;
}
.custom-checkbox input[type=checkbox]:checked:hover + b:after {
  color: #f43f31;
  content: "✖";
}
.custom-checkbox input[type=checkbox]:disabled + b {
  background-color: #e5e5e5;
}
.custom-checkbox input[type=checkbox]:disabled + b:after {
  content: "";
}
.custom-checkbox input[type=checkbox]:disabled:hover + b {
  border-color: #e5e5e5;
  cursor: not-allowed;
}
.custom-checkbox input[type=checkbox]:disabled:hover + b + span {
  cursor: not-allowed;
}
.custom-checkbox input[type=checkbox]:disabled:checked + b:after {
  content: "✔";
}
.custom-checkbox input[type=checkbox]:disabled:checked:hover + b:after {
  color: #49b35e;
  content: "✔";
}

*/