body {
  font-family:Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, "sans-serif";
  font-weight: 300;
  font-size: 1.5vw;
  letter-spacing: 0.4vw;
  font-variant-caps:petite-caps;	
  height: 100%;
  overflow-y:overlay;
  overflow-x: hidden;
}
html {
    width: 100vw;
}

/* Links and fonts */
a:link {
  text-decoration: none!important;
  color:orange!important;
  cursor: pointer;
  transition: 0.8s;
  -moz-transition: 0.8s;
  -webkit-transition: 0.8s;
  -o-transition: 0.8s;
}
a,
a:active,
a:hover{
  color:grey!important;
  transition: 0.8s;
  -moz-transition: 0.8s;
  -webkit-transition: 0.8s;
  -o-transition: 0.8s;
}

a:visited {
  color:orange!important;
  transition: 0.8s;
  -moz-transition: 0.8s;
  -webkit-transition: 0.8s;
  -o-transition: 0.8s;
}
p {
  margin: 0;
}
highlight {
  color:orange;
}
/* Header */
.clearfix {
	word-break: normal;
}
.container-header {
  display: absolute;
  z-index: 99;
}
.header-button {
  opacity: 0.8;
  margin-left: 10%;
  width:30%;
  top: 20%;
  left: 20%;
  right: 20%;
  cursor: pointer;
}
.title {
    color:black;
	opacity: 0.7;
	width:30%;
}
.keywords {
	font-size: 12px;
}
/* SideNav */
.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  left: 10%;
  background-color:white;
  opacity: 1;
  overflow-x: hidden;
  transition: 0.8s;
}
.sidenav a {
  padding: 10px 10px 5px;
  display: block;
  transition: 0.8s;
  color: orange;
}
.sidenav a:hover {
  color:grey;
  cursor: pointer;
}
.sidenav .closebtn {
  opacity: 1;
  position: sticky;
  font-size: 18px;
  cursor: pointer;
  width:auto;
  text-align: right;
}
/* Dropdown nav items */
.dropdown-btn {
  color:orange;
  letter-spacing: 0.4vw;
  padding: 10px 10px 5px 10px;
  display: block;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  outline: none;
}
.dropdown-btn:hover {
  color:grey;
  transition: 0.8s;
  -moz-transition: 0.8s;
  -webkit-transition: 0.8s;
  -o-transition: 0.8s;
	text-decoration: none;
}
.active {
  color: seagreen;
}
/* Dropdown container (hidden by default) */
.dropdown-container {
  display: none;
  padding-left: 10px;
}
/* Optional: Style the caret down icon */
.fa-caret-down {
  float: right;
  padding-right: 8px;
}
/* Resizable media images/video */
.centred-elements-top {
  position:fixed;
  width: 100%;
}
/* Background for text items */
.underlay, #underlay {
  opacity: 1;
  background-color:white;
  display: inline;
  position: absolute;
  top: 75%;
  bottom: 25%;
  margin-top: 0px;
  height: 650px;
  -ms-transform: translate(-20%, -50%);
  transform: translate(-20%, -50%);
  transition: 0.8s;
  width:125%;
}
/* Background for goto items */
.goto, #goto {
  opacity: 0.7;
  -webkit-animation-name: opacityfadein;  
  -webkit-animation-iteration-count: 1;  
  -webkit-animation-duration: 2s; 
  font-size: 12px;
  background-color:white;
  display: none;
  cursor: pointer;
  position: relative;
  -ms-transform: translate(-20%, -50%);
  transform: translate(-20%, -50%);
  transition: 0.8s;
}
/* Background for sting items */
.sting, #sting {
  opacity: 0.7;
  -webkit-animation-name: opacityfadein;  
  -webkit-animation-iteration-count: 1;  
  -webkit-animation-duration: 2s; 
  font-size: 12px;
  background-color:white;
  display: none;
  position: relative;
  -ms-transform: translate(-20%, -50%);
  transform: translate(-20%, -50%);
  transition: 0.8s;
}
/* Main body text elements */
.centred-elements-bottom, #centred-elements-bottom {
  opacity: 0.7;
  -webkit-animation-name: opacityfadein;  
  -webkit-animation-iteration-count: 1;  
  -webkit-animation-duration: 2s; 
  position: absolute;
  text-align:justify-all;
  top: 75%;
  bottom:auto;
  left: 25%;
  -ms-transform: translate(-20%, -50%);
  transform: translate(-20%, -50%);
  transition: 0.8s;
  width:auto;
}
.heading {
color:orange;
width:100%;
}
.subheader {
font-size: 12px;
}
.copy {
  font-size: 8px;
  width: 100%;
  margin-top: 100px;
  -ms-transform: translate(-20%, -50%);
  transform: translate(-20%, -50%);
}
/* Expand button */
.openbtn2, #openbtn2 {
  display:none;
  opacity:0;
	z-index:998;
  -webkit-animation-name: opacityfadein;  
  -webkit-animation-iteration-count: 1;  
  -webkit-animation-duration: 2s; 
  width:150px;
  font-weight: 300;
  letter-spacing: 0.4vw;
  border: none;
  background: none;
  text-align: right;
  cursor: pointer;
  outline: none;
  position: absolute;
  top: 75%;
  bottom: 25%;
  left: 0%;
  height: 50px;
  -ms-transform: translate(-20%, -50%);
  transform: translate(-20%, -50%);
}
.openbtn2:hover {
  color:grey;
  transition: 0.8s;
  -moz-transition: 0.8s;
  -webkit-transition: 0.8s;
  -o-transition: 0.8s;
	text-decoration: none;
}
/* Collpase button */
.closebtn2, #closebtn2 {
	z-index:999;
  display:inline;
  opacity:1;
  -webkit-animation-name: opacityfadein;  
  -webkit-animation-iteration-count: 1;  
  -webkit-animation-duration: 2s; 
  color:black;
  width:150px;
  font-weight: 300;
  letter-spacing: 0.4vw;
  border: none;
  background: none;
  text-align: right;
  cursor: pointer;
  outline: none;
}
.closebtn2:hover {
  color:grey;
  transition: 0.8s;
  -moz-transition: 0.8s;
  -webkit-transition: 0.8s;
  -o-transition: 0.8s;
  text-decoration: none;
}
/* Styles for hover text on buttons */
.hovertext {
  border-bottom: 1px dotted black;
}
.hovertext:before {
  content: attr(data-hover);
  visibility: hidden;
  opacity: 0;
  text-align: center;
  border-radius: 5px;
  padding: 5px;
  transition: opacity 0.8s ease-in-out;

}
.hovertext:hover:before {
  opacity: 0.7;
  visibility: visible;
}
/* Other functions */
@-webkit-keyframes opacityfadein {  
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@-webkit-keyframes opacityfadeout {  
  0% { opacity: 1; }
  100% { opacity: 0; }
}
@media screen and (max-height: 450px) {
  .sidenav {padding-top: 20px; z-index: 1000;}
  .sidenav a {font-size: 12px;}
  .centred-elements {margin:50px}
  .dropdown-btn {font-size: 12px;}
  .openbtn2, #openbtn2 {bottom: -100%; top: 16%; height:100%; margin-top:50px;}
  .underlay, #underlay {bottom: -100%; top: 16%; height:100%; margin-top:50px;}
}
@media screen and (max-width: 767px) {
  .sidenav {padding-top: 20px; z-index: 1000;}
  .sidenav a {font-size: 12px;}
  .centred-elements {margin: 20px}
  .dropdown-btn {font-size: 12px;}
  .openbtn2, #openbtn2 {bottom: -100%; top: 70%; height:100%; margin-top:50px;}
  .underlay, #underlay {bottom: -100%; top: 70%; height:100%; margin-top:50px;}
  .centred-elements-bottom, #centred-elements-bottom {top: 60%; bottom: 0%;}
}
@media (min-width: 767px) and (max-width: 1600px){
	.centred-elements-bottom, #centred-elements-bottom {top: 80%;}
	  
}