@font-face {
  font-family:PTS55F;
  src:url('fonts/PTS55F.ttf');
}

html {
    background-color:#3399CC;
}

body {
  font-family:PTS55F;
	margin: 0;
  padding: 0;
	color: white;
	height: 100%;
}

* {
	box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  min-height: 0;
}


/* Layout */

.main {
    width: 80%;
    margin: 2em auto 0 auto;
}

header {
  display: -webkit-flex;
  display:flex;

  -webkit-justify-content: space-between;
  justify-content: space-between;

  -webkit-flex-flow: row wrap;
  flex-flow: row wrap;  
}

.content {
    
    display: -webkit-flex;
    display:flex;

    -webkit-justify-content: space-between;
    justify-content: space-between;

    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
}

.one-third {
  width: 33.3%;
  padding: 1em;
}

.two-thirds {
  width: 66.6%;
  padding: 1em;
}

/* Header */

.header-logo {
  position:relative;
}

.header-logo img {
  position:absolute;
  left: -23.9%;
}

.header-logo h1 {
  margin-top: 11vw;
  margin-bottom:0;
  font-size: 1.5em;
  color:#a2e1ff;
}

.tagline h1 {
  font-size: 1.7em;
  color: white;
  text-align:center;
  font-style: italic;
  font-weight:normal;
}

/* Logos */

footer {
  width: 100%;
  min-height: 30vh;
  margin-top: 1em;
  padding: 1em;
  background-color:white;
}

footer h1 {
  color:#3399CC;
  font-size: 1.4em;
  text-align:center;
}

#logos {
  width: 98%;
  margin:auto;
  
  display:flex;
  align-items: center;
  justify-content: space-between;
  flex-flow: row wrap;
  
}


.logo {
  flex: 1 0 21%;
  min-height: 7vw;
  width: auto;
  margin:  0.5em;
}

.logo a {
  display:block;
  width:100%;
}






/* Typography */

h1,h2,h3,h4 {
  color: #a2e1ff;
  margin-top:0px;
}

h2 { font-size: 20px; }
h3 { font-size: 16px; }

.intro p {
  font-size: 18px;
  line-height: 22px;
}

p {
  margin-top: 0px;
  margin-bottom: 16px;
  font-size: 15px; 
  line-height: 19px;
}

ul {
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 15px;
}

a {
  color: #00498f;
  text-decoration:none;
}

a:hover {
  text-decoration:underline;
}




/* Mobile Styles at 900px wide */
@media screen and (max-device-width:900px),
screen and (max-width:900px) {

  .main { width:80%; }
  header { width: 65%; margin:auto; }
  .header-logo img { position:relative; left:0; display:block; margin:auto; }
  .header-logo h1 { margin-top:1em; text-align:center; }
  .tagline h1 { font-size: 1.4em; }
  
  .intro h2 { display:none; }
  
  .one-third, .two-thirds { width:100%; padding: 0.5em; }
  
  .logo-col { width: 32%; }

  .logo-col.rowspan { width: 16%; }
  
}

/* Mobile Styles at 750px wide */
@media screen and (max-device-width:750px),
screen and (max-width:750px) {

  .main { width:90%; }
  header { width: 80%; margin:auto; }
  
  .height-fix { min-height:35vw; }
  
  #logos { width:100%; }
  .logo { flex: 1 0 31%; }

}

/* Mobile Styles at 500px wide */
@media screen and (max-device-width:500px),
screen and (max-width:500px) {

  .main { width:100%; }
  header { width: 90%; margin:auto; }
  .tagline h1 { font-size: 1.2em; }
  footer { width: 100%; }
  footer h1 { font-size: 1.1em; }
  
  .height-fix { min-height:auto; }
  
  .logo { margin: 0.4em; }
  .logo { flex: 1 0 45%; }

}
