/*---------*/
/*RESOURCES*/
/*---------*/

@import url('./fonts/fonts.css');

/*-------*/
/*GENERAL*/
/*-------*/


*, *:before, *:after {
  box-sizing: border-box;
}

html {
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Inter';
  font-feature-settings: 'kern' 1;
  font-kerning: normal;
  box-sizing: border-box;
  background-color: #FFF;
  min-height: 100vh;
}

body {
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
  color: #000;
}

h1 {
  margin: 0;
  padding: 0;
  font-size: 4.16rem;
  font-weight: 800;
}

h2 {
  margin: 0 0 0 -0.3rem;
  padding: 0;
  font-size: 2.1rem;
  font-weight: 200;
}

h3 {
  margin: 0;
  padding: 0;
  font-size: 1.2em;
  font-weight: 600;
  text-align: left;
}

h4 {
  margin: 0;
  padding: 0;
  font-size: 1.5rem;
  font-weight: 500;
}

h5 {
  margin: 0;
  padding: 0;
  font-size: 1rem;
  font-weight: 500;
}

h6 {
  margin: 0;
  padding: 0;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
}

p {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5rem;
  text-align: left;
}

em {
  font-weight: 600;
  font-style: normal;
  color: #222;
}

a {
  display: inline;
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  text-decoration: none;
}

a:visited {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
}

a:hover {
  color: inherit;
  text-decoration: none;
  transition: 0.2s;
}

mark {
  background-color: black;
  color: white;
}

/*------*/
/*HEADER*/
/*------*/

#pageHeader {
  margin: 2.4rem 1.5rem 1.5rem 1.5rem;
  padding: 0;
  text-align: left;
}

/*LOGO*/

#logo {
  height: 3rem;
  font-size: 3rem;
}

#logo a {
  margin-left: 0.1rem;
  height: 100%;
}

/*NAV*/

#mainNav {
  position: sticky;
  top: 0;
  margin: 0 0 1.8rem 0;
  width: 100%;
  padding: 0.9rem 0 1rem 0;
  background-color: transparent;
  opacity: 1;
  z-index: 2;

  transition: 0.05s;
}

#mainNav ul {
  display: flex;
  list-style: none;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;

  margin: 0 1.5rem 0 1.5rem;
  padding: 0;
}

#mainNav ul li {
  margin: 0 0.9rem 0 0;
  padding: 0.4rem 0 0 0;
  font-size: 1em;
  font-weight: 800;
  text-transform: none;
  text-align: left;
  transition: 0.2s;
  text-decoration: none;
  border-bottom: 0.2rem solid transparent;
}

#mainNav ul li:hover {
  text-decoration: none;
  border-bottom: 0.2rem solid #DDD;
}

#homeLink {
  overflow: hidden;
  width: 0;
  margin-right: 0 !important;
  opacity: 0;
  transition: 0.5s;
  }

#homeLink img {
  display: inline;
  width: auto;
  width: 0.8rem;
  height: 0.8rem;
}

.navSel {
  border-bottom: 0.2em solid #000;
}

/*----*/
/*MAIN*/
/*----*/

/*HIGHLIGHTS*/

#hero {
  margin-top: 1.5rem !important;
}

.highlight {
  display: block;
  width: 100%;
  max-width: 60rem;
  height: 66vh;
  min-height: 50vmin;
  max-height: 100vmin;
  margin: 1.5rem 0;
  font-weight: 200;
  text-transform: uppercase;
  text-align: left;
  background: #FFF;
}

a.highlight {
  background-size: cover;
  background-position: center;
}

.highlightText {
  display: inline-block;
  margin: 1.95rem 0 0 -0rem;
  padding: 0.5rem;
  background-color: #FFF;
}

.highlightText > * {
  display: block;
}

/*CONTENT*/

#content {
  margin: 0 1.5rem 1.5rem 1.5rem;
  padding: 0;
  text-align: left;
  min-height: 80vh;
}

#content h2 {
  margin-bottom: 1.8rem;
}

#content article {
  max-width: 39rem;
  margin-top: 3rem;
}

#content article > img {
  max-width: 100%;
  margin-top: 3rem;
}

#content article a {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-color: #777;
}

#content article a:visited {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-color: #777;
}

#content article a:hover {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-color: #AAA;
}

/*TIMELINES*/

.timeline {
  margin: 0 0 4.5rem 0;
  padding: 0;
  width: 100%;
  font-size: 0.8rem;
  background-color: #FFF;
  overflow-x: scroll;
  overflow-y: hidden;
  border-bottom: 1px solid #EEE;
}

h2.timeline {
  font-size: 4.5rem;
  line-height: 3.6rem;
  margin-top: 2.25rem;
  margin-bottom: 1.5rem !important;
  border: none;
}

.timeline ol {
  display: flex;
  flex-flow: row-reverse nowrap;
  justify-content: flex-end;
  align-items: flex-start;
  list-style: none;
  margin: 0;
  padding: 15px 0;
}

.timeline li {
  margin: 0;
  text-align: left;
  flex: 0 0 auto;
  border-top: 1px solid #EEE;
}

.timeline li:before {
  display: block;
  margin-top: -18px;
  text-align: center;
  width: 100%;
  font-size: 30px;
  line-height: 30px;
  content: '•';
  color: #000;
}

.timeline dl {
  margin-right: 2.25em;
  width: 10rem;
  z-index: -1;
  text-align: left;
}

.timeline dt {
  font-weight: 600;
  margin: 0;
  padding: 0.4em 0;
}

.timeline dt a {
  display: inline;
  color: #000;
  text-decoration: none;
}

.timeline dt a:after {
  display: inline-block;
  margin-left: 0.4em;
  margin-top: 0.1em;
  width: 0.9em;
  height: 0.9em;
  content: '';
  background-image: url('icons/external-icon.svg');
  background-size: 100%;
}

.timeline dd {
  margin: 0;
  padding: 0;
}

/* FF */

.timeline {
  scrollbar-width: thin;
  scrollbar-color: #CCC #FFF;
}

/* Chrome, Edge, and Safari */
.timeline::-webkit-scrollbar {
  height: 8px;
}

.timeline::-webkit-scrollbar-track {
  height: 8px;
}

.timeline::-webkit-scrollbar-thumb {
  background-color: #CCC;
}

/*GRID BLOCKS*/

.grid-block {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin: 3em auto 0 auto;
  width: 100%;
  max-width: 70rem;
  font-size: 1rem;
}

.grid-element {
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  overflow: hidden;
  margin-bottom: 0.2em;
}

.grid-element > img {
  position: relative;
  min-width: 100%;
  min-height: 100%;
  margin-top: 50%;
  margin-left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.grid-1x > * {
}

.grid-2x > * {
  width: calc(50% - 0.2em);
  padding-bottom: calc(50% - 0.2em);
  margin: 0.2em 0;
}


.grid-3x > * {
  width: calc(33.3% - 0.2em);
  padding-bottom: calc(33.3% - 0.2em);
  margin-bottom: 0.4em;
}

.grid-3x-collapsable > * {
  width: calc(50% - 0.2em);
  padding-bottom: calc(50% - 0.2em);
  margin: 0.2em 0;
}

  .grid-3x-collapsable > :first-child {
    width: 100%;
    padding-bottom: 100%;
    margin: 0.2em 0;
  }

.grid-element-prop4x3 {

}

/*FILE LINKS*/

.fileLinks {
  display: inline-block;
  width: 4.5rem;
  margin-right: 1.5rem;
}

.downloads {
  max-width: 45rem;
  margin: 3rem 0 1.5rem 0;
}

.downloads ul {
  display: flex;
  flex-flow: row wrap;
  align-items: left;
  justify-content: flex-start;

  margin: 0;
  padding: 0;
  max-width: 40rem;
  width: auto;
}

.downloads li {
  margin: 1.5rem 0.75rem 1.5rem 0;/*1.5rem 0.75rem 1.5rem 0;*/
  max-width: 10rem;
  font-size: 0.75rem;
  text-align: left;
  list-style: none;
}

.downloads a, .downloads a:visited, .downloads a:hover {
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none !important;
}

.downloads a:after {
  display: inline-block;
  margin-left: 0.5rem;
  width: 0.8rem;
  height: 0.8rem;
  content: '';
  background-image: url('icons/external-icon.svg');
  background-size: 100%;
}

.downloads img {
  width: 30%;
}

/*ACTION BUTTONS*/

.actionButton {
  display: table;
  font-size: 1rem;
  text-align: center;
  border-radius: 1.5rem;
  margin: 1.5rem 0;
  padding: 0.45rem 0.75rem;
  background-color: #000;
  color: #FFF;
  font-weight: 600;
  text-decoration: none;
}

a.actionButton, a:visited.actionButton {
  color: #FFF;
  text-decoration: none;
}


/*-----------*/
/*PAGE FOOTER*/
/*-----------*/

#pageFooter {
  margin: 1.5rem 1.5rem;
  padding: 0;
  text-align: left;
}

#pageFooter p {
  font-size: 1rem;
}

#newsletter {
  margin: 0;
  padding: 1.5rem 0;
  width: 100%;
  max-width: 60rem;
  text-align: left;
  border-top: 0.01rem solid #CCC;

  transition: background-color 300ms linear;
}

#newsletter a:after {
  display: inline-block;
  margin-left: 0.4em;
  margin-top: 0.1em;
  width: 0.9em;
  height: 0.9em;
  content: '';
  background-image: url('icons/external-icon.svg');
  background-size: 100%;
}

#phplist-subscribeForm {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  width: 95%;
  max-width: 52.5rem;
}

#phplist-email {
  display: inline-block;
  flex-grow: 1;
  width: calc(100% - 3.3rem);
  height: 2.25rem;
  padding: 0.3rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  text-align: center;
  background-color: #FFF;
  border: #DDD 1px solid;
  border-radius: 1.25rem;
}

#phplist-subscribeButton {
  display: inline-block;
  margin: 0 0 0 0.3rem;
  padding: 0;
  width: 3rem;
  height: 3rem;
  font-size: 1.5rem;
  font-weight: 900;
  font-family: inherit;
  text-align: center;
  background-color: #FFF;
  border: #BBB 1px solid;
  border-radius: 1.5rem;
}

#phplist-subscribeButton:hover {
  cursor: pointer;
}

#phplist-response {
  display: block;
  margin: 1.5rem 0.45rem 0.9rem 0.45rem;
  font-size: 0.8rem;
  color: #666;
}

#contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0;
  padding: 1.5rem 0;
  width: 100%;
  max-width: 60rem;
  text-align: left;
  border-top: 0.01rem solid #CCC;

  transition: background-color 300ms linear;
}

#contacts h4 {
  width: 100%;
  margin-bottom: 0.75rem;
}

#contacts div {
  display: inline-block;
  width: 49%;
  min-width: 20rem;
}

#contacts a:after {
  display: inline-block;
  margin-left: 0.4em;
  margin-top: 0.1em;
  width: 0.9em;
  height: 0.9em;
  content: '';
  background-image: url('icons/external-icon.svg');
  background-size: 100%;
}

#footer {
  margin: 0;
  padding: 0.75rem 0;
  width: 100%;
  max-width: 60rem;
  border-top: 0.01rem solid #CCC;
}

/*-------------*/
/*MEDIA QUERIES*/
/*-------------*/


/*SMALL PHONES*/

@media
  screen
  and (min-width: 1px) {

    html {
      font-size: 13px;
    }
    
  }

/*PHONES*/

@media
  screen
  and (min-width: 359px) {

    html {
      font-size: 15px;
    }

    h2 {
      font-size: 2.7rem;
    }

    h3 {
      font-size: 1.5rem;
    }

    .highlight {
      
    }

    .highlightText {
      font-size: 2.4rem;
    }

  }

/*SMALL TABLETS*/

@media
  screen
  and (min-width: 768px) {

    html {
      font-size: 16px;
    }

    h2 {
      font-size: 3.6rem;
    }

    .highlight {
      margin-top: 3rem;
    }

    .highlightText {
      font-size: 3.6rem;
    }

  }

/*TABLETS AND SMALL PCS*/

@media
  screen
  and (min-width: 1024px) {

    html {
      font-size: 16px;
    }

    #pageHeader {
      margin-top: 3rem;
      margin-left: 3rem;
      margin-right: 3rem;
    }

    #mainNav ul {
      margin-left: 3rem;
      margin-right: 3rem;
    }

    #content {
      margin-left: 3rem;
      margin-right: 3rem;
    }

    #pageFooter {
      margin-left: 3rem;
      margin-right: 3rem;
    }

    h2 {
      font-size: 4.5rem;
    }

  }

/*PCS*/

@media
  screen
  and (min-width: 1368px){

    html {
      font-size: 18px;
    }

  }

/*VERY LARGE PCS*/

@media
  screen
  and (min-width: 1920px){

    html {
      font-size: 20px;
    }
    
    .slideshow {
      position: relative;
      max-width: 100%;
      height: auto;
    }
    
    .slideshow img {
      position: absolute;
      top: 0;
      left: 0;
      opacity: 0;
      transition: opacity 1s ease-in-out;
    }
    
    .slideshow img.active {
      opacity: 1;
    }
    
    /* Define the animation for the slideshow */
    @keyframes fade {
      0% { opacity: 0; }
      20% { opacity: 1; }
      25% { opacity: 1; }
      45% { opacity: 0; }
      100% { opacity: 0; }
    }

  }

