* {
  box-sizing: border-box;
  background-color: #333;
  padding: 0px;
}

body {
  font-family: "Lato", sans-serif;
  margin: 0px;
}

img {
  display: block;
  margin: auto;
}

/* Classes */
.button {
  float: right;
}

.banner {
  float: left;
}

.block {
  display: block;
  width: 100%;
  border: none;
  background-color: #333;
  color: #999;
  padding: 14px 28px; 
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  font-size: 24px;
}

.block:hover {
  background-color: #666;
  color: white;
}

.button {
 background-color: : #333;
}

.clearfix {
  overflow: auto;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}


/* Create four equal columns that sits next to each other */
.column {
  -ms-flex: 20%; /* IE10 */
  flex: 20%;
  max-width: 90%;
  padding: 0 0px;
  /* center contents vertically and horizontally */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* ensure there's some height to allow vertical centering */
  min-height: 220px;
}

/* Ensure images scale and are centered inside their flex column */
.column img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.header {
  text-align: center;
    margin-top:0px;
  padding: 0px;
  font-family: helvetica;
  color: teal;
  font-size: 36px;
}


.row {
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
  padding: 0 0px;
    margin-top: 0px;
}

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: black;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  background-color: #000;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: white;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
  background-color: #666;
}

/* Close button hover state: make the × blue for better affordance */
.sidenav .closebtn {
  /* ensure close button text has a default color and a smooth transition */
  color: #666;
  transition: color 120ms ease;
  background-color: black;
}

/* On hover only change the × color; keep the background the same */
.sidenav .closebtn:hover {
  color: white; /* blue */
  cursor: pointer;
}

.top {
margin-top: 0;        
}

.text {
 margin:10px;
 font-family: Helvetica;
 text-align: center;
 color: #999; 
}

.topnav-right {
  float: right;
}

/* Id markers */

#hrunderleftnavhead {
  /* Make the hr span the full left-nav iframe/window edge.
     Some leftnav variants add an inline margin-left (20px) to the header; compensate here so
     the rule visually reaches the left edge without changing each HTML file. */
  display: block;
  width: calc(100% + 20px);
  margin-top: 0px;
  margin-right: 0px;
  margin-left: -20px; /* compensate for inline margin-left in leftnav.html */
  padding: 0;
  border: none;
  border: 0pt solid red;
  box-sizing: border-box;
}

#leftframe {
 width: 20px;
}

#myspan {
z-index: 2;
}

@media screen and (max-width: 600px) {
  #div4 {
    display: none;
    visibility: hidden;
  }
  
 #main {
    display: none;
    visibility: hidden;
  }
  
  #myspan {
  display: block;
    visibility: visible;
  }
  
   #yellow {
    display: none;
    visibility: hidden;
  }  
  
}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

@media screen and (max-width: 600px) { 

 #div2 {
    display: block;
    visibility: visible;
  }
  
 #buttonspan {
    display: block;
    visibility: visible;
  }
  
#bannerblank {
    display: block;
    visibility: visible;
  }
  
  #leftnavbanner {
    display: block;
    visibility: visible;
  }
  
}

/* Small-device image sizing and vertical centering
   - Stack columns vertically, center content, and make images 80% of the viewport width
*/

@media screen and (max-width: 600px) {

  .column {
    flex: 0 0 auto;
    width: 100%;
    min-height: 0; /* allow height to collapse to content  */
    padding: 12px 0;
  }

  /* Force images to be 80% of the viewport width on small devices */
  .column img {
    width: 80vw !important;
    max-width: 80vw;
    height: auto;
    display: block;
    margin: 0 auto;
  }
  
  .mySidenav {
    display: none;
    visibility: hidden;
  }
  
}

#overlay {
  position: fixed; /* Sit on top of the page content */
  display: none; /* Hidden by default */
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5); /* Black background with opacity */
  z-index: -2; /* Specify a stack order in case you're using a different order for other elements */
  cursor: pointer; /* Add a pointer on hover */
}


   


