/* Header style */


header .homepage-banner {
  background-image: url(../assets/X-marks-the-spot-sky-webready.JPG);
  width: 100%;
  background-repeat: no-repeat;
  background-position: 60% 42%;
  background-color: #897F99;
}

header .secondary-banner {
  background-image: url(../assets/X-marks-the-spot-sky-webready.JPG);
  width: 100%;
  background-repeat: no-repeat;
  background-position: 60% 42%;
  background-color: #897F99;
}



/* Main navigation */


.navigation ul {
  list-style: none;
  text-decoration: none;
  display: flex;
  flex-direction: row;
}


.main-menu a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  display: block;
  text-align: center;
  align-content: flex-end;
  padding: 70px 15px 15px 15px;
}

.main-menu a.current {
  font-weight: 500;
  border-left: 1px solid #ffffff;
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  border-top: 0.5px solid #ffffff;
  border-radius: 1px;

}

.main-menu a:hover,
.main-menu a:focus {
  background-color: #ffffff;
  color: #5085A5;
  border-left: 1px solid #ffffff;
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  border-top: 0.5px solid #ffffff;
}



.navigation {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  margin-left: 10%;
  margin-right: 10%;
  padding-bottom: 70px;

}

.main-menu {
  list-style: none;
  text-decoration: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  color: #f7f9fb;
}



.homepage-banner h1 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 26px;
  color: #ffffff;
  text-align: right;
  max-width: 325px;
  margin-right: 10%;
  padding-bottom: 25px;

}

.quote {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
}

#main-logo {
  width: 200px;

}

.logo-container {
  margin-top: 15px;
  margin-bottom: 15px;
}


/* Sub-navigation */

.subnav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 50px;
  margin-left: 10%;
  margin-right: 10%;

}

.subnav .sub-menu-block {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

.sub-menu-block {
  width: 200px;
  margin-bottom: 10px;
}

.sub-menu {
  list-style: none;
  font-family: 'Josefin Sans', sans-serif;

}

.sub-menu a {
  text-decoration: none;
  color: #BBBCBD;
  display: block;
  text-align: left;
  align-content: flex-end;
}

.sub-menu a.current {
  font-weight: 400;
  color: #000000;
}

.sub-menu a:hover,
.sub-menu a:focus {
  color: #000000;
}



/* Body style */

.sub-menu-block h1 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 20px;
}

h2 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 20px;
  color: #19456b;
}

h3 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 20px;
  color: #11698e;

}


h4 {
  font-size: 16px;
  font-weight: 600;
  font-family: 'Josefin Sans', sans-serif;
  color: #11698e;
}

body {
  /* Reset */
  margin: 0;
  padding: 0;

  font-family: 'Lato', sans-serif;
  font-size: 18px;
  font-weight: 300;
}

ul {
  margin: 0;
  padding: 0;
}

main p a {
    text-decoration: none;
    color: #000000;
    font-weight: 400;
}

main a:hover,
main a:focus {
  text-decoration: none;
  color: #5085A5;
}


.introduction {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 50px;
  margin-left: 10%;
  margin-right: 10%;
}

.home-intro {
  display: flex;
  flex-direction: column;
}

.overview {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 5%;
  margin-left: 10%;
  margin-right: 10%;

}



.section-left {
  color: #19456b;
  font-weight: 500;
  min-width: 200px;
}

.section-left-title {
  color: #19456b;
  font-weight: 600;
  min-width: 30%;
  margin-bottom: 10%;
}

.section-right {
  display: flex;
  flex: 1 0 60%;
}

.section-right .description-text .content-image {
  float: left;
  width: 250px;
  margin-right: 15px;
}
.project-image {
  width: 600px;
  margin-right: 10px;
}

.highlight-image {
  float: left;
  align-items: baseline;
  width: 450px;
  margin-right: 15px;
  
}

.float-right {
  float: right;
  width: 400px;
  margin-right: 15px;
  margin-left: 25px;
}

.highlight {
  background-color: #efefef;
  padding: 25px;
}


  /* aside style */


.information {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding-top: 50px;
  margin-left: 10%;
  margin-right: 10%;
}


.information p {
  font-size: 16px;
  font-weight: 100;
}

/* Accordion styling */
.container {
  width: 80%;
  max-width: 600px;
  margin: 50px auto;
}

button.accordion {
  width: 100%;
  background-color: whitesmoke;
  border: none;
  outline: none;
  text-align: left;
  padding: 15px 20px;
  font-size: 18px;
  color: #19456b;
  cursor: pointer;
  transition: background-color 0.2s linear;
}

button.accordion:after {
  font-family: FontAwesome;
  content: "\f107";
  font-family: 'fontawesome';
  font-size: 16px;
  float: right;
}

button.accordion.is-open:after {
  content: "\f106";
}

button.accordion:hover,
button.accordion.is-open {
  background-color: #ddd;
}

.accordion-content {
  background-color: white;
  border-left: 1px solid whitesmoke;
  border-right: 1px solid whitesmoke;
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-in-out;
}

/* Table graph */


/* can't remember */

.three-columns {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.column {
  width: 30%;
  min-width: 245px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-right: auto;

}

.icons {
  height: 35px;
  width: 35px;
  margin-right: 5px;
}

.column-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 5px;
}
.column-title h3 {
  margin-top: 8px;
}

/* Gallery section */

.gallery-section {
  display: flex;
  flex-wrap: wrap;
  padding-top: 50px;
  padding-bottom: 50px;
  margin-left: 10%;
  margin-right: 10%;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
}


.gallery ul {
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;

}

.gallery li {
  margin-right: auto;
  margin-bottom: 2%;
  justify-content: space-between;
}





address {
  font-style: normal;
  font-family: 'Lato', sans-serif;
}


/* Main container */
.overlay-image {
 position: relative;
 width: 100%;
}
/* Original image */
.overlay-image .image {
 display: block;
 padding-right: 5px;
}
/* Original text overlay */
.overlay-image .text  {
  font-size: 18px;
  font-family: 'Lato', sans-serif;
  font-weight: 100;
  color: #000000;
  line-height: 0.3em;
  text-align: left;
  position: relative;
  top: 15%;
  left: 58%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.hover-text {
  line-height: 1em;
}
/********* Overlay on hover *******/
/* New overlay on hover */
.overlay-image .hover {
 position: absolute;
 top: 0;
 height: 100%;
 width: 100%;
 opacity: 0;
 transition: .5s ease;
}
/* New overlay appearance on hover */
.overlay-image:hover .hover,
.overlay-image a:focus .hover {
 opacity: 1;
}

/********* Background and text only overlay on hover *******/
.overlay-image .normal {
 transition: .5s ease;
}
.overlay-image:hover .normal {
 opacity: 0;
}
.overlay-image .hover {
 background-color: rgba(255,255,255,0.8);
}


/* Content styles */

.details {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding-top: 50px;
  margin-left: 10%;
  margin-right: 10%;
}

.details-text {
  font-size: 14px;
  min-width: 70%;
}

.details-text a {
    text-decoration: none;
    color: #000000;
}

.details-text a:hover,
.details-text a:focus {
  color: #5085A5;
}

.main-image {
  width: 100%;
  height:100%;
}

/* footer */

footer {
  background-color: #E9EAEB;
  height: 100px;
  margin-top: 20px


}

footer .footer-content {
  margin-right: 10%;
  margin-left: 10%;
  display: flex;
  justify-content: space-between;

}


footer a {
  color: #000000;
}

footer a:hover,
footer a:focus {
  text-decoration: none;
  color: #ffffff;
  display: block;
  height: 30px;
  width: 30px;
  line-height: 30px;

  -moz-border-radius: 50%; /* or 50% */
  border-radius: 50%; /* or 50% */

  background-color: #000000;
}

footer p {
  font-size: 12px;
  color: #646566;
  position: relative;
  top: 40px;
}

.icons-container ul {
  list-style: none;
  display: flex;
  justify-content: space-between;
  position: relative;
  top: 40px;
  min-width: 160px;
}

.icons-container li {
  text-decoration: none;
  color: #000000;
  display: block;
  height: 30px;
  width: 30px;
  line-height: 30px;

  -moz-border-radius: 50%; /* or 50% */
  border-radius: 50%; /* or 50% */

  background-color: #ffffff;
  text-align: center;

}

.icons-style {
  font-size: 12px;
}
