/*

This is the base CSS file for the Delsion website

*/

*,
*:after,
*:before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*
FONTS
*/

@font-face {
  font-family: 'delsion';
  src: url('../fonts/odudo-soft-semibold-webfont.woff2') format('woff2'),
       url('..fonts/odudo-soft-semibold-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}


html {
  font-family: Arial, sans-serif;
  font-size: 18px;
  color: #404040;
}

h1, h2, h3, h4, h5, h6 {
  color: #164193;
  font-family: delsion, Arial, sans-serif;
  margin-top: 3rem;
}

h1 {
  font-size: 2.8rem;
}

h2 {
  font-size: 1.8rem;
}

/* Hides the H2 headings on the Diversity and Inclusion page, but leaves them there for screen readers. */
body.diversity-inclusion-page h2, body.learning-development-page h2 {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

h3 {
  font-size: 1.6rem;
}

h4 {
  font-size: 1.4rem;
}

h5 {
  font-size: 1.2rem;
}

h6 {
  font-size: 1rem;
}

strong {
  font-family: Arial, sans-serif;
}

em {
  font-family: Arial, sans-serif;
}

/* EO fonts */

/* Links */

a {
  color: #164193;
}

a:hover {
  color: #E93791;
}

/* EO links */


/* Structure */

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

.main {
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
}

/* Header */

.header {
  padding: 3rem;
}

nav.menu {
  justify-content: center;
  display: flex;
}

.menu ul {
  list-style: none;
  display: flex;
}

.menu ul li + li {
  margin-left: 1.5rem;
}

.header a {
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
}

#hamnav label, #hamburger {
  display: none;
}

/* Wide screen */
@media screen and (min-width:960px) {
  .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
  }
  a.logo {
    display: block;
    width: 300px;
    height: 108px;
  }
}

/* Mid size screen */
@media screen and (max-width:960px) {
  .header-content {
    display: block;
    justify-content: normal;
    align-items: center;
    margin: 0 auto;
  }
  a.logo {
    display: block;
    width: 200px;
    height: 75px;
    margin: 0 auto;
  }
}

/* Small screens */
@media screen and (max-width: 660px) {
  nav.menu {
    justify-content: left;
    background-color: #164193;
  }
  #hamnav label {
    display: inline-block;
    color: white;
    background: #164193;
    font-style: normal;
    font-size: 1.2em;
    padding: 10px;
  }
  #hamitems { display: flex; }
  #hamitems a {
  flex-grow: 1;
  flex-basis: 0;
  padding: 10px;
  color: white;
  text-decoration: none;
  text-align: center;
}
  #hamitems a:hover { background: #E93791; }
  #hamitems {
    display: none;
  }
  #hamnav input:checked ~ #hamitems {
    display: block;
  }
  .menu ul li, .menu ul li + li {
    margin:10px 0;
  }
}

/* Bubbles video */

.bubbles-video {
  width:100%;
  max-width: 1600px;
  margin: auto;
}

/* Banner image */

.banner img {
  width: 100%;
  max-height: 700px;
  object-fit: cover;
  object-position: center 25%;
}

/* Content area */

main {
  margin: 0 auto;
  padding-bottom: 30px;
  width: 80%;
  max-width: 960px;
}


p {
  padding: 1rem 0 0.5rem;
  line-height: 1.4;
}

.main h1 {
  margin:1.0rem 0  0.4rem 0;
}

/* Images */

figure > img {
    max-width: 100%;
}


/* Footer */

footer {
  background-color: #164193;
  color: #fff;
  font-size: 0.8rem;
  padding: 2rem;
}

footer a {
  color: #fff;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}



/* ==== GRID SYSTEM ==== */

.container {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

section.grid {
  position: relative;
  width: 100%;
}

section.grid [class^="col"] {
  float: left;
  margin: 0.5rem 2%;
  min-height: 0.125rem;
}

.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-10,
.col-11,
.col-12 {
  width: 96%;
}

.col-1-sm {
  width: 4.33%;
}

.col-2-sm {
  width: 12.66%;
}

.col-3-sm {
  width: 21%;
}

.col-4-sm {
  width: 29.33%;
}

.col-5-sm {
  width: 37.66%;
}

.col-6-sm {
  width: 46%;
}

.col-7-sm {
  width: 54.33%;
}

.col-8-sm {
  width: 62.66%;
}

.col-9-sm {
  width: 71%;
}

.col-10-sm {
  width: 79.33%;
}

.col-11-sm {
  width: 87.66%;
}

.col-12-sm {
  width: 96%;
}

.row::after {
	content: "";
	display: table;
	clear: both;
}

.hidden-sm {
  display: none;
}

@media only screen and (min-width: 33.75em) {  /* 540px */
  .container {
    width: 80%;
  }
}

@media only screen and (min-width: 45em) {  /* 720px */
  .col-1 {
    width: 4.33%;
  }

  .col-2 {
    width: 12.66%;
  }

  .col-3 {
    width: 21%;
  }

  .col-4 {
    width: 29.33%;
  }

  .col-5 {
    width: 37.66%;
  }

  .col-6 {
    width: 46%;
  }

  .col-7 {
    width: 54.33%;
  }

  .col-8 {
    width: 62.66%;
  }

  .col-9 {
    width: 71%;
  }

  .col-10 {
    width: 79.33%;
  }

  .col-11 {
    width: 87.66%;
  }

  .col-12 {
    width: 96%;
  }

  .hidden-sm {
    display: block;
  }
}

@media only screen and (min-width: 60em) { /* 960px */
  .container {
    width: 75%;
    max-width: 60rem;
  }
}



