@charset "utf-8";
/* CSS Document */

* {
        margin: 0;
        padding: 0;
        border: 0;
        outline: 0;
        font-size: 100%;
        vertical-align: baseline;
        background: transparent;
		box-sizing: border-box;
    }

html {
  font-family: "Lato";
  font-size: 20px;
}

header{
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  margin: 0px;
  text-align: center;
  background-color: white;
  background-image:url("../images/Background 03.png");
  background-repeat: no-repeat;
  background-position: center top;
  transition: all 1s ease;
}

.header-img{
  margin: 0px;
  padding: 0px;
  width: 144px;
  height: 144px;
}

.header-text{
  font-size: 120%;
  font-variant: small-caps;
}

.header-text-sub{
  font-size: 90%;
  font-variant: small-caps;
  transition: all .3s ease;
}
nav {
  margin: 20px 10px 9px 10px;
  width: 100%;
  transition: all .3s ease;
}

nav ul li {
  position: relative;
  list-style-type: none;
  display: inline-block;
}

nav ul li:hover > ul {
  display: block;
}

nav ul li a {
  margin-right: 5px;
  margin-bottom: 0px;
  padding: 10px 20px;
  text-decoration: none;
  color: black;
  border: 1px solid black;
  border-top-left-radius: 1em 1em;
  border-top-right-radius: 1em 1em;
  font-size: 80%;
  border-bottom: none;
  background-color: white;
  font-weight: bold;
}

nav ul li a:hover {
  color: #fff;
  font-weight: bolder;
  background-color: #0E4057;
}

nav ul ul {
  margin-top: 10px;
  display: none;
  position: absolute;
  top: 100%;
}

nav ul ul li {
  float: none;
  position: relative;
  border: 1px solid black;
  width: 250px;
}

nav ul ul li a {
  float: left;
  text-align: left;
  padding: 10px 20px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border: none;
  width: 248px;
  background-color: none;
}

nav ul ul li a:hover {
  background-color: #0E4057;
}

.active{
  color: black;
  font-size: 100%;
  font-weight: bolder;
  background-color: #CEDFE7;
}

hr {
  clear:both;
  display:block;
  width: 100%;               
  background-color:black;
  height: 1px;
}

body {
	margin: 0px;
	background-color: #CEDFE7;
}

main{
  color: black;
  padding: 20px;
  width: 60%;
  max-width: 1200px;
  margin: 0px auto;
  margin-top: 260px;
}

.row {  
  display: flex;
  flex-wrap: wrap;
  border: 1px solid black;
}

.side {
  flex: 15%;
  display: block;
  background-color: #f1f1f1;
  padding: 20px;
  text-align: center;
}

main img{
  width: 300px;
  border: 1px solid black;
}

main figcaption{
  font-size: 90%;
  font-variant: small-caps;
  font-weight: bold;
  line-height: 100%;
}

main h1{
  font-size: 100%;
  line-height: 300%;
  font-weight: bold; 
  font-variant: small-caps;
}

.mainsection {
  flex: 50%;
  background-color: white;
  padding: 20px;
  border-left: 1px solid black;
}

.centervideo {
  display: block;
  margin: 20px auto;
  width: 80%;
}

.iframevideo {
  display: block;
  margin: 20px auto;
  width: 560px;
  height: 315px;
}

pre {
  font-family: "Lato";
  font-size: 90%;
  white-space: pre-wrap;       
  white-space: -moz-pre-wrap;  
  white-space: -pre-wrap;      
  white-space: -o-pre-wrap; 
  word-wrap: break-word;
}

.imgfloatleft{
  float: left;
}

.imgfloatright{
  float: right;
}

ul.ventures li {
  margin-left: 20%;
  font-family: "Lato";
  font-size: 90%;
}

footer {
  padding: 20px;
  font-size: 70%;
  text-align: center;
  background-color: white;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
}

.contactaddress{
  padding-left: 5%;
  font-family: "Lato";
  font-size: 90%;
}


.portraitrow {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

.portraitcolumn {
  flex: 33%;
  max-width: 33%;
  padding: 0 4px;
}

.portraitcolumn img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

.landscaperow {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

.landscapecolumn {
  flex: 50%;
  max-width: 50%;
  padding: 0 4px;
}

.landscapecolumn img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}


@media screen and (max-width: 1700px) {
  .portraitcolumn {
    flex: 100%;
    max-width: 100%;
  }
  .landscapecolumn {
    flex: 100%;
    max-width: 100%;
  }
  main{
  width: 99%;
  margin: 0px auto;
  margin-top: 260px;
  }
  .iframevideo {
  width: 480px;
  height: 270px;
  }
}

@media screen and (max-width: 950px) {
  .mainsection {
  border: none;
  }
  .iframevideo {
  width: 360px;
  height: 202px;
  }
}

@media screen and (max-width: 807px) {
  .iframevideo {
  width: 240px;
  height: 135px;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
/*@media screen and (max-width: 600px) {
  .portraitcolumn {
    flex: 100%;
    max-width: 100%;
  }
  .landscapecolumn {
    flex: 100%;
    max-width: 100%;
  }
  .mainsection {
  border-left: none;
  }
}
*/

/*@media screen and (min-width: 320px) {
  html {
    font-size: calc(24px + 6 * ((100vw - 320px) / 680));
  }
}
@media screen and (min-width: 1000px) {
  html {
    font-size: 24px;
  }
}
*/

