@import url('https://fonts.googleapis.com/css?family=Monoton');

$lightColor: #F5EE9E;
$darkColor: #F49E4C;
$bgColor: #AB3428;
$nwcolor: #4e2a84;
$lightPurple: #ddd6f3;
$lightOrange: #faaca8;

header {
  height:50px;
  padding: 20px;
  background-image: linear-gradient(90deg, #faaca8 10%, #ddd6f3 90%);
  color: white;
  font-family: 'Oswald', sans-serif;
  font-size: 40px;
}
header img{
  height: 10%;
  width: 10%;
  float: right;
  background-color: transparent;
}

header #sub{
  font-family: 'Oswald', sans-serif;
  font-size:0.9vw;
  display:block;
  color:#567179;
  margin-left:20px;
  margin-top:0px;
  margin-right:0px;
  white-space: nowrap;
  letter-spacing: 1.5px;
}

header h1{
  font-family: "Monoton", Helvetica, sans-serif;
  letter-spacing: 3px;
  display: inline;
  font-size: 3vw;
  color: #408088;
  padding-left:5px;

  @media (min-width: 700px) {
    font-size: 5vw;
  }
  @media (min-width: 1400px) {
    font-size: 150px;
  }
}

a{
  cursor:pointer;
}

#footer {
   position: fixed;
   width: 100%;
   background-color: #BBC4C2;
   color: white;
   text-align: center;
   left: 0;
   bottom:0;
}

body, html {
  height: 100%;
  margin:0px;
}

html {
   min-height: 100%;
   background-color: #EEE9DA;
   background-size: cover;
   background-repeat: no-repeat;
   background-position: center center;
}

p {
    font-family: 'Oswald', sans-serif;
}

/* style for table */
table.paleBlueRows {
  font-family: "Times New Roman", Times, serif;
  border: 1px solid #FFFFFF;
  width: 300px;
  height: 250px;
  text-align: center;
  border-collapse: collapse;
  background:white;
}
table.paleBlueRows td, table.paleBlueRows th {
  border: 1px solid #FFFFFF;
  padding: 2px 2px;
}
table.paleBlueRows tbody td {
  font-size: 13px;
}
table.paleBlueRows tr:nth-child(even) {
  background: #D0E4F5;
}
table.paleBlueRows thead {
  background: #0B6FA4;
  border-bottom: 2px solid #D0E4F5;
}
table.paleBlueRows thead th {
  font-size: 16px;
  font-weight: bold;
  color: #FFFFFF;
  text-align: center;
  border-left: 2px solid #FFFFFF;
}
table.paleBlueRows thead th:first-child {
  border-left: none;
}

table.paleBlueRows tfoot {
  font-size: 14px;
  font-weight: bold;
  color: #333333;
  background: #D0E4F5;
  border-top: 3px solid #444444;
}
table.paleBlueRows tfoot td {
  font-size: 14px;
}

.grid-container {
  display: grid;
  width:100%;
  background:white;
  border: 1px solid grey;
}
/* Style for search box */
.searchbox{
  width: 75%;
  height: 60vh;
  background-color: #D6E4E5;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85em;
  color: rgba(66,66,66 ,1);
  display: flex;
  margin: 5% 15% 5% 12%;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0);
  border-radius: 15px;

}
.searchbox form{
  padding: 15px;
  border-left: 2px solid #ddd6f3;
}
.searchbox p{
  font-family: 'Montserrat', sans-serif;
  font-size:18px;
}
.searchbox .intro, form{
  width: 50%;
  padding: 70px 50px;
}
/*
.searchbox section{
  border-right: 2px solid #ddd6f3;
}*/
.searchbox img{
  width: 70%;
  border-radius: 30%;
  display: block;
  margin: 10px auto;
  -webkit-box-shadow: -10px 0px 13px -7px #000000, 10px 0px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0);
}

.selection{
  position: relative;
  width: 300px;
  margin-right: 1rem;
  margin-top:5px;
  padding: 5px;
  cursor: pointer;
  background-color: #ddd;
}
.simple{
  margin-top: 10px;
  width:90%;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 500;
  outline: 0;
  border: 1px solid black;
  cursor: pointer;
  position: relative;
}

url('https://fonts.googleapis.com/css?family=Oswald:500');
.back{
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;

}
nav{
  width: 100%;
  position: relative;
  text-align:left;
  background-color:#408088;
  padding: 8px;
}
nav a:first-child{
    margin-left: 80px
}
nav a{
  font-family: 'Oswald', sans-serif;
  font-weight:500;
  text-transform:uppercase;
  text-decoration:none;
  color:#FFFFFF;
  margin:0 15px;
  margin-top:5px;
  font-size:16px;
  letter-spacing:1px;
  position:relative;
  display:inline-block;
}
nav a:before{
  content:'';
  position: absolute;
  width: 100%;
  height: 2px;
  background:#FFFFFF;
  top:95%;
  animation:out 0.2s cubic-bezier(1, 0, 0.58, 0.97) 1 both;
}
nav a:hover:before{
  animation:in 0.2s cubic-bezier(1, 0, 0.58, 0.97) 1 both;
}
@keyframes in{
  0%{
    width: 0;
    left:0;
    right:auto;
  }
  100%{
    left:0;
    right:auto;
    width: 100%;
  }
}
@keyframes out{
  0%{
    width:100%;
    left: auto;
    right: 0;
  }
  100%{
    width: 0;
    left: auto;
    right: 0;
  }
}
@keyframes show{
  0%{
    opacity:0;
    transform:translateY(-10px);
  }
  100%{
    opacity:1;
    transform:translateY(0);
  }
}

@for $i from 1 through 5 {
  nav a:nth-child(#{$i}){
    animation:show .2s #{$i*0.1+1}s ease 1 both;
  }
}

.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  border-top: 6px transparent solid;
  border-left: 6px solid #4e2a84;
  min-width: 300px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 10px 10px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd;}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}


/* The side navigation menu */
.sidenav {
  height: 100%; /* 100% Full-height */
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 1; /* Stay on top */
  top: 0; /* Stay at the top */
  left: 0;
  background-color: #111; /* Black*/
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 80px; /* Place content 60px from the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}

/* The navigation menu links */
.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 15px;
  font-family: 'Oswald', sans-serif;
  color: #818181;
  display: block;
  transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  color: #f1f1f1;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

.function{
  width: 33%;
  height: 50%;
  display: in-block;
  padding: 10px;
  color: white;
  box-sizing: border-box;
  margin-right: 0.3%;
  background-color: #93bfcf;
  background-image: linear-gradient(43deg, #93bfcf 0%, #bbddcc 46%, #eeeeee 100%);
  /*background: radial-gradient(circle, #be4bdb 5%, #9775fa 95%);*/
  -webkit-box-shadow: -10px 0px 13px -7px #000000, 10px 0px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0);

  border-left: 15px outset #408088;
  border-bottom: 2px solid #408088;
  display: inline-block;
  float:left;
  /*
  background: url(/static/images/dna_pics.jpeg) 20px 20px/ 300px 200px no-repeat,
  radial-gradient(circle, #be4bdb 5%, #9775fa 95%);*/
}
.function:hover{
  -webkit-box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0);
  box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0);
  border-radius: 0px 0px 35px 0px;
}
.function p{
  margin: 0px;
  border: 0px;
  padding: 10px 10px 10px 330px;
  font-family: 'Oswald', sans-serif;
  font-size: 1em;
}
.function h1{
  margin: auto;
  text-align:center;
  font-size:2.1vw;
  margin-top:1vw;
  white-space: nowrap;
  color:#408088;
}
.function a{
  text-decoration:none;
  cursor: pointer;
}
.function img{
  display: block;
  width: 80%;
  height: 15vw;
  align:center;
  margin-left:auto;
  margin-right: auto;
  margin-top:1vw;
  max-width: 100%;
  max-height: 100%;
  border-radius: 30px 30px 30px 30px;
  object-fit: cover;
}

.function button{
  width: 50%;
  cursor:pointer;
  margin-top: 15px;
}

.down-pic {
  width: 99%;
  height:100%;
  border: 15px outset #408088;
}

.newsletter{
  width: 27%;
  height:600px;
  background:radial-gradient(circle, #FBAB7E 10%, #F7CE68 90%);;
  margin-left:5px;
  margin-right:5px;
  font-family: 'Muli', sans-serif;
  color: black;
  text-align:center;
  display: inline-block;
  float:right;
  -webkit-box-shadow: -5px 0px 13px -7px #000000, 10px 0px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0);
  border-radius: 10px;
}

.newsletter form{
  padding:5px;
  margin: 5px;
  width: 100%;
}

.newsletter #email{
  padding: 0.5em 0 0.5em 1.5em;
  line-height: 3;
  width: 60%;
  border: 1px solid #d9d9d9;
  border-radius: 0.5em;
  margin-bottom: 1em;
}

.newsletter #submit {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  background-color: #f55951;
  padding: 0.9em 0.5em;
  display: inline-block;
  border: none;
  border-radius: 0.5em;
  width: 60%;
  margin-bottom: 1.0em;
}




.search_button{
  display:block;
  color:#4e2a84;
  font-size: 1.0em;
  padding: 10px;
  background-color: #DDD06A;
  margin-top: 40px;
  border: 0;
  -webkit-box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0);
  box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0);
}

.searchbox .body-pic{
  width:40%;
  border-radius:0px;
}
.searchbox .body-form{
  display: flex;
  width: 100%;
  justify-content: space-between;
  flex-direction: column;
  padding:10px;
}
.searchbox .row{
  display: flex;
  width: 100%;
  margin: 8px 0px;
  border-bottom: 1px black solid;
}

.searchbox .selected {
  background: blue;
  border-radius: 5px;
}

.searchbox .form-group {
  position: relative;
  display: table-cell;
  vertical-align: middle;
}
.searchbox label{
  width:68%;
  position: relative;
  left: -80px
  display: inline-block;
  white-space: nowrap;
  vertical-align: middle;
}

.searchbox label {
  display: flex;
  align-items: center;
  color: #000000;
  font-size: 12px;
  }

