/* Scroll to top behavior */
html{
    scroll-behavior: smooth;
}

/* Body */
body{
    margin:0;
    padding:0;
    font-size: 100%;
    scroll-behavior: smooth;
}

/* Header */
h2{
    font-family: verdana,arial,sans-serif;
    font-weight:bold;
    font-style:italic;
    color: #006600; 
    background-color: #FFFFFF;
    margin: 0em;
    padding: 0em;
}

h4{
    font-family: verdana,arial,sans-serif;
    font-weight:bold;
    color: #006600;
    padding-left: 2em;
}

hr{
    color:#CCCC99;
    background-color:#CCCC99;
    height: 0.33em;
    border: none;
    display: block;
    unicode-bidi: isolate;
    margin-block-start: 0.5em;
    margin-block-end: 0.5em;
    margin-inline-start: auto;
    margin-inline-end: auto;
    overflow: hidden;
}

h3{
    color: #006600;
    padding-bottom: 0.4em;
    font-weight: bold;
}

h5{
    color:#284b28;
    padding-bottom: 0.7em;
    font-style: italic;
    font-weight: normal;
    display: block;
}

#noCommonTest{
    color:black;
    display:inline-block;
    font-weight: bold;
    font-size: 2em;
}

/* Top nav bar */
#topnav ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #cfcece;
}
  
#topnav li{
    float: left;
}

#topnav li a{
    color: #006600;
    display: block;
    padding: 0.875em 1em;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
}

#topnav li a:hover {
    background-color: rgb(151, 143, 143);
    color: white;
  }

@media screen and (max-width: 25em) {
#topnav ul{
        float: none;
        width: 100%;
    }
}

/* Loader */
#loader {
    border: 1em solid #f3f3f3; /* Light grey */
    border-top: 1em solid #3498db; /* Blue */
    border-radius: 50%;
    width: 7.5em;
    height: 7.5em;
    animation: spin 2s linear infinite;
    display: none;
    background: transparent;
    position: absolute;
    align-items: center;
    z-index: 99;
    top: 64%;
    left: 50%;
  }
  
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Pre tag */
pre{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1em;
}

/* Sections */

/* Section divisions */
#section1, #section2, #section3, #section4{
    background-color: #dddddd;
    padding: 1.25em;
    margin-top: 1.25em;
}

/* Form */
#myForm1, #myForm2, #myForm3, #myForm4{
    margin-bottom: 1.25em;
}

/* Note section */
#boldNote{
    font-weight: bold;
    margin-top: 0.625em;
    margin-bottom: 0.625em;
    font-size: 1.2em;
}

#listData{
    font-weight: normal;
}

/* Button align */
.buttonAlign{
    text-align: center;
    width: 100%;
    margin-top: 1.25em;
    margin-bottom: 1.25em;
}

.buttonAlign #result1, #reset1, #result2, #reset2, #result3, #reset3, #result4, #reset4{
    display: inline-block; 
    margin-block-start: 0.6253em;
    margin-block-end: 0.625em;
    margin-inline-end: 0.3125em;
}

.btn-color{
    background-color: #0070f4 !important;
    color: white;
    border-radius: 0.2em;
}

/* Section 2 */

#enterStrainName1, #enterStrainName2, #enterStrainName3{
    width: 12.5em;
    height: 6.25em;
    display: block;
    margin-bottom: 0.3125em;
    resize: none;
}

#or1, #or2, #or3{
    font-weight: bold;
    font-size: 2.075em;
    display: block; 
    text-align: center;
    width: 100%;
}

/* Page scroll buttons */

#scrollButtons{
    position: fixed;
    right: 0.5em;
    font-size: 1em;
    top: 80%;
    text-align: center;
    font-size: 1em;
} 

#gotopbutton{
    display: block;
    top: 0;
    left: 0;
    background: black;
    color: white;
    margin: 0.5em;
    padding: 0.4em;
}

#godownbutton{
    display: block;
    top: 0;
    left: 0;
    background: rgb(94, 94, 94);
    color: white;
    margin: 0.5em;
    padding: 0.4em;
}

/* Home page redirection */
#backToHomePage{
    position: fixed;
    background: #767676;
    right: 0.5em;
    text-decoration: none;
    text-align: center;
    color: white;
    font-size: 1em;
}

/* Footer */
#footer {
    text-align: center;
    width: 100%;
    padding: 1.25em;
    margin-top: 1.25em;
    font-family: verdana,arial,sans-serif;
    font-weight:bold;
    /*color: #006600;*/
}

/* Tables for section 1 and 3 */
.outputHeading{
    font-weight: bold;
    font-size: 1em;
}

.outputHeadingNote{
    display: block;
    font-weight: bold;
    font-style: italic;
    font-size: 1em;
}

.tableOutput {
    width: 100%;
    border-collapse: collapse;
}

.tableOutput td, th {
    padding: 0.5em;
    border: 0.0625em solid black;
}

.tableOutput th {
    padding-top: 0.3125em;
    padding-bottom: 0.3125em;
    text-align: left;
    background-color: #4E70BE;
    color: white;
}

.tableOutput td {
    padding-top: 0.3125em;
    padding-bottom: 0.3125em;
    text-align: left;
    background-color: #D0D6E7;
    color: black;
}

/* Table for section 2 */

#strainSearchTable {
    width: 100%;
    border-collapse: collapse;
}

#strainSearchTable td, th {
    padding: 0.5em;
    border: 0.0625em solid black;
}

#strainSearchTable th {
    padding-top: 0.3125em;
    padding-bottom: 0.3125em;
    text-align: left;
    background-color: #4E70BE;
    color: white;
}

#strainSearchTable td {
    padding-top: 0.3125em;
    padding-bottom: 0.3125em;
    text-align: left;
    background-color: #D0D6E7;
    color: black;
}

/* Dropdown button for download files as txt, csv */
#dropbtn, #dropbtn2 {
    background-color: #007bff;
    color: white;
    padding: 1em;
    font-size: 1em;
    margin-bottom: 0.75em;
}
    
#dropdown1, #dropdown2 {
    position: relative;
    display: block;
    margin-top: 0.75em;
    margin-bottom: 0.75em;
}
    
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 10em;
    box-shadow: 0em 0.5em 1em 1em rgba(0,0,0,0.2);
    z-index: 1;
}
    
.dropdown-content a {
    color: black;
    padding: 0.75em 1em;
    text-decoration: none;
    display: block;
}
    
.dropdown-content a:hover {background-color: #ddd;}
    
.dropdown:hover .dropdown-content {display: block;}
    
.dropdown:hover .dropbtn {background-color: #007bff;}

.nav_up{
	padding:7px;
	background-color:white;
	border:1px solid #CCC;
	position:fixed;
	background:transparent url(../images/arrow_up.png) no-repeat top left;
	background-position:50% 50%;
	width:20px;
	height:20px;
	bottom:10px;
	opacity:0.7;
	left:30px;
	white-space:nowrap;
	cursor: pointer;
}
.nav_down{
	padding:7px;
	background-color:white;
	border:1px solid #CCC;
	position:fixed;
	background:transparent url(../images/arrow_down.png) no-repeat top left;
	background-position:50% 50%;
	width:20px;
	height:20px;
	bottom:10px;
	opacity:0.7;
	left:70px;
	white-space:nowrap;
	cursor: pointer;
}

/* Table of contents */
#tableOfContents{
    color: #0070f4 !important;
}

.largegreen {
    font-size: 28pt;
    font-weight: bold;
    color: #006600;
    font-style: italic;
}

.smallgreen {
    font-size: 12pt;
    color: #006600;
}