/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
  position: relative;
}

/* Remove default padding */
ul[class], ol[class] {
  padding: 0;
}

/* Remove default margin */
body, h1, h2, h3, h4, p, ul[class], ol[class], li, figure, figcaption, blockquote, dl, dd {
  margin: 0;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Remove list styles on ul, ol elements with a class attribute */
ul[class], ol[class] {
  list-style: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img {
  max-width: 100%;
  display: block;
}

/* Natural flow and rhythm in articles by default */
article > * + * {
  margin-top: 1em;
}

/* Inherit fonts for inputs and buttons */
input, button, textarea, select {
  font: inherit;
}

button {
  appearance: none;
  border: none;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/*
$unit: percentage(69 / 960);
$gutter: percentage(12 / 960);

$unit: percentage(58 / 960);
$gutter: percentage(24 / 960);

$unit: percentage(68 / 970);
$gutter: percentage(14 / 970);
$unit: percentage(57 / 970);
$gutter: percentage(26 / 970);

$unit: percentage(77 / 1056);
$gutter: percentage(12 / 1056);
*/
/*
$unit: percentage(66 / $fullwidth);
$gutter: percentage(24 / $fullwidth);
*/
/*! layout elements
--------------------------------*/
/* = NAV
	--------------------------------------------------------------------*/
#navmain ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#navmain ul li {
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
}
#navmain ul li a, #navmain ul li a:visited {
  color: #00457C;
  text-decoration: none;
  display: block;
  padding: 0.5rem 0;
}
#navmain ul li:hover {
  border-bottom-color: #00457C;
}
#navmain ul li:hover a {
  color: rgb(0, 97.3790322581, 175);
}

.trigger {
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  cursor: pointer;
  appearance: none;
  font-size: 24px;
  line-height: 1;
  padding: 0.5rem;
  -webkit-appearance: none;
  border: 0;
  background: white;
  color: #00457C;
  aspect-ratio: 1/1;
  width: 38px;
}
.trigger:hover {
  color: rgb(0, 97.3790322581, 175);
}
.trigger#closex {
  position: absolute;
  top: 2rem;
  right: 2rem;
}

@media screen and (max-width: 768px) {
  #navmain {
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    width: 60vw;
    z-index: 100000;
    background: white;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 40%;
    padding: 2rem;
  }
  #navmain ul {
    font-size: 125%;
    padding-top: 1rem;
    margin-right: 4rem;
  }
  #navmain ul li {
    border-bottom: 1px solid #eee;
  }
  #navmain.viz {
    transform: none;
    box-shadow: -2px 0px 10px rgba(0, 0, 0, 0.3);
  }
  #slide-trigger, #closex {
    display: block;
  }
}
@media screen and (min-width: 769px) {
  #slide-trigger, #closex {
    display: none;
  }
  #navmain ul {
    display: flex;
    gap: 1.5rem;
    align-items: center;
  }
}
/*-- form elements
--------------------------------*/
form {
  display: block;
}
form hr {
  width: 100%;
}
form p {
  width: 100%;
  float: left;
  margin-bottom: 0.1em;
}

fieldset legend {
  display: none;
}

label {
  display: block;
  margin-bottom: 0.2em;
}

input {
  font-family: "helvetica neue", helvetica, arial, sans-serif;
}

input[type=text],
input[type=email],
input[type=tel],
input[type=search],
textarea, select {
  display: block;
  width: 47.5%;
  border: 1px solid #ccc;
  padding: 0.4em 1%;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

input:focus, textarea:focus, select:focus {
  background: #ffe;
}

input[type=submit],
input[type=button] {
  width: auto;
  text-align: left;
  margin-bottom: 0;
  padding: 0.6em 1em;
  font-weight: bold;
  background: #767674;
  color: white;
  border: 0;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

textarea {
  float: none;
  width: 80%;
  font-size: 100%;
}

select {
  width: auto;
}

.carousel {
  border-bottom: 1px solid #ccc;
}
.carousel .slick-slide {
  backdrop-filter: blur(10px);
  background-repeat: no-repeat;
  background-size: cover;
}
.carousel .slick-slide img {
  object-fit: contain;
  object-position: center;
  height: 100%;
  width: auto;
  max-width: 100%;
  backdrop-filter: brightness(50%) blur(10px);
}
.carousel .slick-arrow {
  transition: all 0.2s ease;
  cursor: pointer;
  position: absolute;
  top: 0;
  bottom: 0;
  color: white;
  background: transparent;
  padding: 1rem 2rem;
  width: 40px;
  z-index: 1000;
  opacity: 0;
  font-size: 32px;
}
.carousel .slick-arrow.slick-prev {
  left: 0;
}
.carousel .slick-arrow.slick-next {
  right: 0;
}
.carousel .slick-arrow:hover {
  opacity: 1;
}
.carousel:hover .slick-arrow {
  opacity: 0.8;
}

@media screen and (min-width: 0px) and (max-width: 640px) {
  .carousel .slick-slide {
    aspect-ratio: 2/1;
  }
  .carousel .slick-slide img {
    aspect-ratio: 2/1;
  }
}
@media screen and (min-width: 641px) {
  .carousel .slick-slide {
    aspect-ratio: 2.5/1;
  }
  .carousel .slick-slide img {
    aspect-ratio: 2.5/1;
  }
}
/* HTML definitions */
body {
  margin: 0;
  padding: 0;
  background: #00457C;
  font-family: "helvetica neue", helvetica, arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: #333;
}

::-moz-selection {
  background: rgb(0, 97.3790322581, 175);
  color: white;
  text-shadow: none;
}

::selection {
  background: rgb(0, 97.3790322581, 175);
  color: white;
  text-shadow: none;
}

a {
  transition: all 0.2s ease;
  color: #00457C;
  font-weight: 700;
}
a:visited {
  color: rgb(0, 40.6209677419, 73);
}
a:hover {
  color: rgb(0, 97.3790322581, 175);
  text-decoration: none;
}
a:focus {
  outline: thin dotted;
}
a:hover, a:active {
  outline: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "helvetica neue", helvetica, arial, sans-serif;
  font-style: normal;
  font-weight: 700;
  color: #767674;
  margin: 0 0 0.4em 0;
  line-height: 1.1;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  font-weight: inherit;
  text-decoration: none;
}
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
  text-decoration: underline;
}

h1 {
  font-size: 225%;
}

h2 {
  font-size: 175%;
}

h3 {
  font-size: 125%;
}

h4 {
  font-size: 112.5%;
}

p, ul, ol, hr {
  margin: 0 0 1.5em 0;
}

hr {
  clear: both;
}

hr.clr {
  visibility: hidden;
  height: 0;
  width: 0;
  margin: 0;
  border: 0;
}

iframe {
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
}
img.alignright {
  float: right;
  max-width: 50%;
  margin: 0 0 1.5rem 1.5rem;
}
img.alignright.headshot {
  max-width: 230px;
}
img.alignleft {
  float: left;
  margin: 0 1.5rem 1.5rem 0;
  max-width: 50%;
}
img.alignleft.headshot {
  max-width: 230px;
}
.headshot img {
  max-width: 230px;
}
img.headshot {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

/*!-- STRUCTURE
--------------------------------*/
.clearfix {
  *zoom: 1;
}
.clearfix:before, .clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
  height: 0;
}
.clearfix:after {
  clear: both;
}

.contain, .content, .aligncenter {
  margin: 0 auto;
  position: relative;
  width: 86%;
  max-width: 1056px;
  clear: both;
}

#page {
  background: white;
}

#branding {
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  background: white;
  padding: 1rem 0 1.5rem;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100000;
}
#branding > .content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#branding.fixed {
  background: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  padding: 1rem 0;
}
#branding.fixed #logo {
  max-width: 100px;
}

#logo, #footer-logo {
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  width: 30%;
  max-width: 230px;
}

#main, #footer {
  padding: 3rem 0;
}

#footer {
  background-color: #00457C;
  background-image: linear-gradient(0deg, #00457C, rgb(0, 40.6209677419, 73));
  color: #eee;
  font-size: 85%;
}
#footer a {
  color: #eee;
}
#footer a:hover {
  color: white;
}
#footer > .content {
  display: grid;
  gap: 30px;
}

/*-- Secondary elements
--------------------------------*/
ul.socials {
  list-style: none;
  line-height: 1.5;
  padding: 0;
  margin: 0;
}
ul.socials li {
  display: inline-block;
  width: 24px;
  margin-left: 4px;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  border-radius: 100%;
  overflow: hidden;
}
ul.socials li a {
  display: block;
  width: 100%;
  padding-top: 24px;
  height: 0;
  background-color: rgb(0, 97.3790322581, 175);
  background-image: url(../images/social_icons.png);
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: auto 50px;
  text-indent: 101%;
  white-space: nowrap;
  overflow: hidden;
}
ul.socials li a:hover {
  background-position-y: -25px !important;
}
ul.socials li#fb a {
  background-position: 0 0;
}
ul.socials li#tw a {
  background-position: -25px 0;
}
ul.socials li#yt a {
  background-position: -50px 0;
}
ul.socials li#gp a {
  background-position: -75px 0;
}
ul.socials li#li a {
  background-position: -100px 0;
}
ul.socials li#rss a {
  background-position: -125px 0;
}
ul.socials li#eml a {
  background-position: -150px 0;
}
#footer ul.socials li {
  margin: 0 4px 0 0;
}

.page-title {
  background-color: #eee;
  background-image: linear-gradient(0deg, #ccc, #eee);
  padding: 2rem 0;
}
.page-title h1, .page-title h2 {
  margin: 0 auto;
  position: relative;
  width: 86%;
  max-width: 1056px;
  clear: both;
  color: #00457C;
}

.headshot img,
img.headshot {
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  aspect-ratio: 3/4;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  object-position: center;
}

.headshots {
  display: grid;
  gap: 30px;
}
.headshots .headshot {
  max-width: none;
}
.headshots .headshot--img {
  margin: 0 0 1rem 0;
}
.headshots .headshot--img img {
  width: 100%;
}
.headshots .headshot--img:hover img {
  box-shadow: 0 0 10px rgb(0, 97.3790322581, 175);
}
.headshots .headshot--name {
  color: #00457C;
}
.headshots .headshot--title {
  color: #666;
  font-size: 16px;
}

/*-- Content
--------------------------------*/
/* Add " (PDF)" text after links that go to PDFs */
a[href$=".pdf"]:after {
  content: " (PDF)";
}

/* If file size specified as data attribute, use that too */
a[href$=".pdf"][data-size]:after {
  content: " (PDF, " attr(data-size) ")";
}

@media screen and (min-width: 0px) and (max-width: 640px) {
  .headshots {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 641px) {
  .headshots {
    grid-template-columns: repeat(3, 1fr);
  }
  #footer .content {
    grid-template-columns: 1fr 1fr;
  }
  #footer .content #footer-logo {
    width: 100%;
  }
}
@media screen and (min-width: 769px) {
  .headshots {
    grid-template-columns: repeat(5, 1fr);
  }
  #footer .content {
    grid-template-columns: 1fr 4fr;
  }
}
