/*i360
Natalie Speth
p4*/

/* Box */

html {
  box-sizing: border-box;
  max-width: 1100px;
  margin: 0 auto;
}

*, *:before, *:after {
  box-sizing: inherit;
}

/* General */

body {
  background-color: #ECF0F1;
  /*#E6F4FF bluelight*/
  color: #44667D;
}

/* Utilities */

/* Typography */

/* Abril+Fatface - headlines
Open Sans - body copy */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Abril+Fatface', serif;
  color: #1B2631;
}

p, td, li, small, figcaption, address {
  font-family: 'Open Sans', sans-serif;
  color: #1B2631;
}

/* Links */

a:link, a:visited {
  color: #44667D;
  text-decoration: none;
}

a:active, a:hover {
  color: #2E8CCC;
}

/* Buttons */

/*https://www.webpagefx.com/blog/web-design/ghost-buttons/*/

.ghost-button {
  display: inline-block;
  width: 180px;
  font-weight: bold;
  padding: 8px;
  background-color: #98ADC7;
  color: #154360;
  border: 3px solid #44667D;
  border-radius: 22px;
  text-align: center;
  outline: none;
  text-decoration: none;
  transition: background-color 0.2s ease-out, color 0.2s ease-out;
}

.ghost-button, .ghost-button:active {
  background-color: #98ADC7;
  color: #154360;
  transition: background-color 0.3s ease-in, color 0.3s ease-in;
}

.myButton {
  align-items: center;
  -moz-box-shadow: 0px 10px 14px -7px #dcecfb;
  -webkit-box-shadow: 0px 10px 14px -7px #dcecfb;
  box-shadow: 0px 10px 14px -7px #dcecfb;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #bddbfa), color-stop(1, #80b5ea));
  background: -moz-linear-gradient(top, #bddbfa 5%, #80b5ea 100%);
  background: -webkit-linear-gradient(top, #bddbfa 5%, #80b5ea 100%);
  background: -o-linear-gradient(top, #bddbfa 5%, #80b5ea 100%);
  background: -ms-linear-gradient(top, #bddbfa 5%, #80b5ea 100%);
  background: linear-gradient(to bottom, #bddbfa 5%, #80b5ea 100%);
  /*filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#bddbfa', endColorstr='#80b5ea', GradientType=0);*/
  background-color: #bddbfa;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  display: block;
  width: 175px;
  margin: 0 auto;
  text-align: center;
  cursor: pointer;
  color: #ffffff;
  font-family: Arial;
  font-size: 20px;
  font-weight: bold;
  padding: 13px 32px;
  text-decoration: none;
  text-shadow: 0px 1px 0px #528ecc;
}

.myButton:hover {
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #80b5ea), color-stop(1, #bddbfa));
  background: -moz-linear-gradient(top, #80b5ea 5%, #bddbfa 100%);
  background: -webkit-linear-gradient(top, #80b5ea 5%, #bddbfa 100%);
  background: -o-linear-gradient(top, #80b5ea 5%, #bddbfa 100%);
  background: -ms-linear-gradient(top, #80b5ea 5%, #bddbfa 100%);
  background: linear-gradient(to bottom, #80b5ea 5%, #bddbfa 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80b5ea', endColorstr='#bddbfa', GradientType=0);
  background-color: #80b5ea;
}

.myButton:active {
  position: relative;
  top: 1px;
}

/* Navigation */

nav {
  background: url('../images/bright_squares.png') center center;
}

nav .container {
  margin: 0;
  padding-top: 1em;
}

nav .logo {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-direction: column;
  align-items: center;
}

nav i {
  padding-right: 0.5em;
}

nav h1 {
  line-height: 15px;
}

nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-around;
}

nav ul li {
  list-style-type: none;
  padding: 15px;
  text-align: center;
  text-transform: uppercase;
  font-weight: 800;
}

/* 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;
  left: 0;
  background-color: #111;
  /* Black*/
  overflow-x: hidden;
  /* Disable horizontal scroll */
  padding-top: 60px;
  /* 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: 4px 4px 8px 32px;
  text-decoration: none;
  font-size: 18px;
  color: #818181;
  display: block;
  transition: 0.3s
}

/* When you mouse over the navigation links, change their color */

.sidenav a:hover, .offcanvas a:focus {
  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;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */

#main {
  transition: margin-left .5s;
  padding: 20px;
}

/* Header */

header {
  background: url('../images/cs-header.jpg') no-repeat center center;
  background-size: cover;
}

.branding {
  padding: 1.0em 0 10em 1.0em;
}

.branding h2 {
  color: #ffffff;
  text-shadow: 1px 1px 2px #000000;
}

/* About */

.about {
  padding: 1em 0 1em;
}

.about h2 {
  text-align: center;
}

.about p {
  padding: 0 3em 0 3em;
}

/* Highlights */

.highlights {
  padding-bottom: 1em;
}

.highlights .container {
  padding: 1em 0 3em;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  align-content: center;
}

.highlights section {
  background: linear-gradient(to bottom, rgba(31, 111, 156, 0.7), rgba(0, 0, 0, 0.3));
  /*background-color: rgba(21, 67, 96, 0.6);    /*#154360;*/
  margin: 1em;
  padding: 10px 20px;
  /*max-width: 200px;*/
  height: 200px;
  width: 200px;
  display: flex;
  flex-wrap: wrap;
}

.highlights h3 {
  margin: 0 auto;
  padding-top: 1em;
  color: #133B6B;
  text-align: center;
  text-decoration: underline;
  font-weight: bolder;
}

.highlights li {
  margin: 0 auto;
  list-style-type: circle;
  color: #E8F2FF;
  font-weight: 300;
}

.headlineblock {
  background-color: rgba(200, 200, 200, 0.5);
  padding: 0.5em;
}

/* Gallery */

.gallery {
  background: url('../images/bright_squares.png') center;
  padding: 1em 0 1em;
}

.gallery h2 {
  text-align: center;
}

.gallery p {
  padding: 0 3em 0 3em;
}

.gallery section {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}

.gallery a:hover {
  opacity: 0.85;
}

figure {
  background-color: rgba(200, 200, 200, 0.3);
  padding: 0.5em 0.5em 2px 0.5em;
}

figcaption {
  text-align: center;
}

/* Form & Map */

.form-map {
  background: linear-gradient(to bottom, rgba(31, 111, 156, 1.0), rgba(19, 59, 107, 1.0));
  margin: 0 auto;
  padding: 2em 2em 2em 2em;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
}

.form {
  background-color: #EAEDED;
  border: 0.3em;
  border-style: solid;
  border-color: #0A284C;
  line-height: 28px;
  margin: 1em;
  padding: 1em;
  width: 330px;
  height: 450px;
}

.ghost-button-mail {
  background: #3498db;
  background-image: -webkit-linear-gradient(top, #3498db, #2980b9);
  background-image: -moz-linear-gradient(top, #3498db, #2980b9);
  background-image: -ms-linear-gradient(top, #3498db, #2980b9);
  background-image: -o-linear-gradient(top, #3498db, #2980b9);
  background-image: linear-gradient(to bottom, #3498db, #2980b9);
  -webkit-border-radius: 28;
  -moz-border-radius: 28;
  border-radius: 28px;
  font-family: Georgia;
  color: #ffffff;
  font-size: 20px;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
  display: flex;
  justify-content: center;
}

.ghost-button-mail {
  background: #3cb0fd;
  background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
  background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
  text-decoration: none;
}

.map {
  background-color: #EAEDED;
  border: 0.3em;
  border-style: solid;
  border-color: #0A284C;
  margin: 1em;
  padding: 0.6em;
  width: 330px;
  height: 450px
}

.map img {
  display: block;
  margin: 0 auto;
}

.form h2, .map h2 {
  text-align: center;
}

.contactbutton {
  /*background-color: linear-gradient(to bottom, rgba(31, 111, 156, 1.0), rgba(19, 59, 107, 1.0));*/
  background-color: rgba(31, 111, 156, 1.0);
  padding: 2.5em 0 2.5em;
}

/* Footer */

footer {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5)), url('../images/bright_squares.png') no-repeat center center;
  background-size: cover;
  min-height: 40px;
  padding: 1em;
}

footer p, footer address {
  margin: 0;
  padding: 0.5em;
  font-style: normal;
  line-height: 1.4em;
  text-align: left;
  color: #ffffff;
}

footer i {
  margin-left: 5px;
  margin-right: 8px;
}

footer a i {
  color: white;
  margin: 0 0 2em 8em;
}

footer a:hover i {
  color: #2E86C1;
}

footer section {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
}

span:hover {
  color: #2E8CCC;
}

/* RWD Test */

/*#rwd {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  height: 20px;
  background-color: red;
}*/

/* MEDIA QUERIES */

/* Small devices (landscape phones, 576px and up) */

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

@media (min-width: 576px) {
  h1 {
    font-size: 30px;
  }
}

/* Medium devices (tablets, 768px and up) */

@media (min-width: 768px) {
  nav ul {
    max-width: 900px;
    margin: auto;
  }
  h1 {
    font-size: 38px;
  }
  .about h2, .gallery h2 {
    font-size: 35px;
    padding-left: 6.0em;
    padding-right: 6.0em;
  }
  .about p, .gallery p {
    font-size: 18px;
    padding-left: 6.0em;
    padding-right: 6.0em;
  }
}

/* Large devices (desktops, 992px and up) */

@media (min-width: 992px) {
  h1 {
    font-size: 48px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */

@media (min-width: 1200px) {
  h1 {
    font-size: 58px;
  }
}
