/*! HTML5 Boilerplate v7.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 1.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */


/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

   html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}




 /* ==========================================================================
   Author's custom styles
   ========================================================================== */
* {
 box-sizing: border-box;
}

body {
  font-family: 'Ubuntu', sans-serif;
  font-size: 13px;
  background-color: #fff;
  text-rendering: optimizeLegibility;
}

html, body {
  height: auto;
}

h1, h2, h3, h4, h5 {
  display: inline-block;
  margin: 0;
  text-transform: uppercase;
  font-style: normal;
  font-weight: 300;
}

a, a:hover, a:active, a:focus {
  color: #000;
}

a.button {
  position: relative;
  display: inline-block;
}

a.button:hover {
  text-decoration: underline;
}

a.button::before {
  content: '';
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  width: 100%;
  height: 1px;
  background: #000;
  -webkit-transition: height 0.3s ease-in-out;
  transition: height 0.3s ease-in-out;
}

.elem-border > div {
  border: solid 1px #000;
}

.main-header {
  cursor: pointer;
}

.main-header  h1 {
  font-size: 40px;
  line-height: calc(150px + 1px *2);
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 15px;
  font-weight: 300;
}

.main-header:hover,
div#staff:hover .staff-left,
div#info:hover .info-center,
div#announcements:hover .title
{
  background-color: #000;
  color: #fff;
}

div#staff {
  height: auto;
}
div#staff div.staff-left {
  position: relative;
  border-right: transparent;
}

div#staff > div {
  border-top: transparent;
}

div#staff h3 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 15px;
  left: 0;
  width: 100%;
  text-align: center;
}

div#staff div.staff-wrap {
  padding: 0;
  border-left: transparent;
  display: flex;
}

div#staff div.staff-member {
  border-left: solid 1px #000;
  width: 33.33%;
  width: calc(100% / 3);
}

div#staff div.member-wrap {
  position: relative;
}

div#staff div.member-wrap p {
  position: relative;
  width: 100%;
  height: calc(240px - 1px);
  margin: 0;
}

div#staff div.member-wrap p > span {
  position: absolute;
  top: 89px;
  left: -90px;
  text-transform: uppercase;
  transform: rotate(-90deg);
  transform-origin: bottom;
  border-bottom: solid 1px #000;
  width: 240px;
  padding: 5px 0 5px;
  text-align: center;
  display: block;
}

div#staff div.member-wrap div {
  position: absolute;
  top: 45%;
  border: solid 1px #000;
  border-radius: 100%;
  width: 150px;
  height: 150px;
  display: inline-block;
  left: 35px;
  right: 0;
  margin: -75px auto 0;
  overflow: hidden;
}

div#staff div.staff-wrap div img {
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: auto;
  position: relative;
  top: -1px;
}

div#staff div.member-wrap span.staff-member-name {
  position: absolute;
  display: block;
  width: calc(100% - 35px);
  text-align: center;
  bottom: 15px;
  left: 35px;
}

div#staff div.member-wrap:hover p > span {
  background: #000;
  color: #fff;
}

div#info {
  height: auto;
}

div#info div.info-left,
div#info div.info-right {
  height: 100%;
}

div#info div.info-left > div, div#info div.info-right > div {
  border-top: transparent;
  border-left: solid 1px #000;
  padding-top: 30px;
  padding-bottom: 30px;
}

div#info h4 {
  display: block;
  margin-bottom: 15px;
}

div#info p {
  margin-bottom: 5px;
  width: 90%;
}

div#info div.info-center {
  position: relative;
  border-bottom: solid 1px #000;
}

div#info h3 {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  left: 15px;
  left: 0;
  width: 100%;
}

div#info div.services-right > div {
  border-left: transparent;
}

.elem-border.title > div {
  border-bottom: transparent;
  border-top: transparent;
}

.title h3 {
  width: 100%;
  line-height: 90px;
  height: 90px;
}

.row.title {
  border-bottom: 1px solid;
}

#announcements > div {
  border-top: transparent;
}

.announcements {
  list-style: none;
  margin: 0;
  padding: 15px 0;
}

.announcement {
  margin-bottom: 15px;
}

.announcement:last-child {
  margin-bottom: 0;
}

@media (max-width: 1820px) {
  .main-header h1 {
    letter-spacing: normal;
  }
}

@media (max-width: 1280px) {
  .main-header h1 {
    font-size: 20px;
    letter-spacing: normal;
  }
}

@media (max-width: 991px) {
  .info-center, .staff-left {
    display: none;
  }

  div#info div.info-left > div:first-child,
  div#info div.info-right > div:first-child {
    border-right: transparent;
  }
}

@media (max-width: 767px) {
  div#staff div.staff-wrap {
    display: block;
  }

  div#staff div.staff-member {
    width: 100%;
    border-bottom: 1px solid #000;
  }

  div#staff div.staff-member:last-child {
    border-bottom: transparent;
  }

}

@media (max-width: 575px) {
  .main-header h1 {
    line-height: 1.5;
  }
}
 /* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

 .hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap; /* 1 */
}

/*
* Extends the .visuallyhidden class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}


/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

   @media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}


/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

   @media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
