/**
 * @file
 * Subtheme specific CSS.
 */

/* Please keep this as simple as possible. Less is more */

/* Universal Styles */
* {
  /* font-family: Brix; */
  font-family: "Roboto", sans-serif;

}

h3 {
  font-weight: 400;
}

/* Announcment Bar */

.uc-emergency {
  background-color: #FC8900;
  padding: 30px 0;
}

.uc-emergency .region-announcment-bar p {
  font-size: 17px;
}

.uc-emergency .region-announcment-bar a {
  color: #000;
}

/* Header */
#block-covidbanner {
  width: 100%
}

.highlighted aside.container-fluid {
  padding: 0;
}

header {
  margin-bottom: 15px;
}

.header .region-top-header {
  margin-left: 0;
  margin-right: 0;
}

.page-node-14 #block-fah-content .row {
  display: flex;
  height: 76em;
  flex-wrap: wrap;
  padding: 0 4px;
}

#block-fah-content .drupal_news_archive_block .row {
  height: auto;
}

#block-fah-content .column {
  flex: 48%;
  max-width: 48%;
  padding: 0 4px;
}

#block-fah-content .column img {
  margin-top: 8px;
  height: auto;
  vertical-align: middle;
  width: 100%;
}

#block-fah-content .column:nth-child(2) a:nth-of-type(2) img {
  height: 19.87%;
}

#block-mainnavigation .navbar-nav {
  flex-direction: row;
  justify-content: flex-start;
  margin-top: 20px;
}

#block-mainnavigation .navbar-nav a {
  display: inline-block;
  height: 50px;
  padding: 0.5em 0em 1em 0em;
  margin-right: 50px;
  text-align: left;
  font-weight: 600;
  line-height: 15px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 15px;
  color: #484949;
  text-decoration: none;
  text-align: left;
  line-height: 1;
  min-width: 120px;
}

#block-mainnavigation .nav-link:hover {
  border-bottom: 3px solid #ddbc7c;
}

#block-mainnavigation .nav-link.is-active {
  border-bottom: 3px solid #006a96;
}

#block-emailsignup .btn {
  /* margin-top: 1em; */
}

nav.navbar {
  padding-top: 40px;
}

nav.navbar .container {
  display: flex;
  align-items: center;
}

.navbar-brand {
  text-transform: uppercase;
  font-size: 28px;
  padding-top: 0;
  font-weight: 700;
}

.banner {
  position: relative;
  text-align: center;
  padding: 2em 0 1em;
  width: 100%;
}

.drupal_news_block img {
  max-width: 100%;
}

.jacobs_logo {
  /* margin-top:15px; */
  max-width: 275px;
}

.jacobs_logo img {
  width: 100%;
}

.path-frontpage .highlighted p {
  margin-bottom: 0;
}

.path-frontpage .banner img {
  width: 100%;
}

.path-frontpage .bottom-right {
  position: absolute;
  bottom: 20px;
  right: 25px;
  color: #FFF;
  text-shadow: 1px 1px 1px #000;
}

.path-frontpage .highlighted {
  border-bottom: 5px solid #FFCD00;
  position: relative;
}

.path-frontpage #main-wrapper {
  padding-top: 0;
  border: 0;
}

.path-frontpage #main {
  margin-top: 0;
  border: 0;
  height: 0;
}

.path-frontpage .featured {
  padding-top: 60px;
  /* padding-bottom:60px; */
  background-color: #006a96;
  color: #FFF;
  /* background-image: url(/sites/fah.ucsd.edu/themes/fah/img/bg_blue_lines.png); */
  background-size: cover;
}

.path-frontpage .email-bottom {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: #006a96;
  color: #FFF;
  background-size: cover;
}

.path-frontpage .region-featured-bottom-second .btn,
.path-frontpage .region-featured-bottom-third .btn,
.path-frontpage .region-featured-bottom-fourth .btn {
  border-radius: 1px;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 1px;
  background-color: #FFCD00;
  color: #484949;
  padding: 10px 60px;
  border: none;
  /* margin-top:15px; */
}

.path-frontpage .region-featured-bottom-second .btn:hover,
.path-frontpage .region-featured-bottom-third .btn:hover,
.path-frontpage .region-featured-bottom-fourth .btn:hover {
  background-color: #FFF;
}

.path-frontpage .featured a:not(.btn) {
  color: #FFCD00;
}

.path-frontpage p {
  font-size: 18px;
}

/* Slice */
.slice_container .btn {
  font-size: 15px;
  text-transform: uppercase;
  padding: 0.8em 1.5em;
  min-width: 200px;
  margin-bottom: 1em;
  letter-spacing: 0.08em;
  font-weight: 500;
  border-radius: 0;
}

#block-jacobsschoolboilerplatesummaryslice .slice_container {
  height: unset;
}

#block-jacobsschoolboilerplatesummaryslice .slice_background_image_container {
  background-color: #00c6d7;
}

#block-jacobsschoolboilerplatesummaryslice .slice_content_container h4 {
  color: #182b49;
}

#block-jacobsschoolboilerplatesummaryslice .slice_content_container a {
  color: #fff;
}

/* .slice_content_container h1,
.slice_content_container h2,
.slice_content_container h1+p,
.slice_content_container h2+p,
.slice_content_container h1+p+p,
.slice_content_container h2+p+p,
.block-page-title-block h1 {
  animation-duration: 1s;
  animation-fill-mode: both;
  -webkit-animation-duration: 1s;
  -webkit-animation-fill-mode: both;
}

.slice_content_container h1,
.slice_content_container h2,
.slice_content_container h1+p,
.slice_content_container h2+p,
.slice_content_container h1+p+p,
.slice_content_container h2+p+p,
.block-page-title-block h1 {
  opacity: 0;
}

.slice_content_container h1,
.slice_content_container h2,
.slice_content_container h1+p,
.slice_content_container h2+p,
.slice_content_container h1+p+p,
.slice_content_container h2+p+p,
.block-page-title-block h1 {
  opacity: 0;
  animation-name: fadeInUp;
  -webkit-animation-name: fadeInUp;
}

.slice_content_container h1+p,
.slice_content_container h2+p {
  animation-delay: 0.5s;
}

.slice_content_container h1+p+p,
.slice_content_container h2+p+p {
  animation-delay: 1s;
}*/

.slice_header {
  color: #484949;
}

.slice_body {
  color: #484962;
  margin-bottom: 15px;
}

.slice_body h2 {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 15px;
  padding-top: 3em;
}

.slice_body p {
  font-size: 1rem;
  font-weight: 400;
}

.slice_link a {
  background-color: #ffcd00;
  color: #484949;
  padding: 0.8em 1.5em;
  border-radius: 0;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  display: inline-block;
  font-size: 0.875rem;
}

.slice-block .view-content>div {
  min-height: 435px;
  position: relative;
}

.slice_container {
  /* min-height:435px; */
  /* height:435px; */
  /* Too thin. Let's go higher */
  height: 500px;
  position: relative;
}

.slice_container.slice_tall {
  height: 800px;
}

.slice_container.slice_fill_content {
  height: auto;
}

.slice_background_image_container {
  position: absolute;
  width: 100%;
  height: 100%;
}

.slice_background_image_container .row {
  height: 100%;
}

.slice_background_image,
.slice_background_image_container .views_img {
  height: 100%;
  background-repeat: no-repeat;
}

.slice_background_image_container .bg_cover .slice_background_image {
  background-size: cover;
}

.slice_content_container {
  height: 100%;
}

.slice_content_container .container {
  height: 100%;
}

.slice_content_container>.container>.row {
  height: 100%;
  align-items: center;
}

.slice_full_text {
  position: relative;
}

.slice_bg_darken {
  background-color: rgba(0, 0, 0, 0.3);
}

.slice_bg_darken h1,
.slice_bg_darken h2,
.slice_bg_darken .slice_content>p {
  text-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}

.slice_bg_darken .slice_content>p .btn {
  text-shadow: none;
}

.slice_content h1 {
  line-height: 3.75rem;
}

.slice_bg_gray {
  background-color: #f5f0e6;
}

.slice_bg_navy {
  background-color: #182b49;
}

.slice_bg_blue {
  background-color: #006a96;
}

.slice_bg_brown {
  background-color: #c69214;
}

.slice_bg_gold {
  background-color: #ffcd00;
}

.slice_bg_yellow {
  background-color: #f3e500;
}

.slice_background_image_container.bg_navy {
  background-color: #182b49;
}

.slice_background_image_container.bg_gold {
  background-color: #ffcd00;
}

.slice_content_container.bg_navy .slice_header {
  color: #fff;
}

.slice_content_container.bg_navy .slice_body {
  color: #fff;
}

.slice_content_container.bg_blue .slice_header {
  color: #fff;
}

.slice_content_container.bg_blue .slice_body {
  color: #fff;
}

.slice_content_container.bg_gold .slice_header {
  color: #484849;
}

.slice_content_container.bg_gold .slice_body {
  color: #484849;
}

.slice_content_container.bg_gold .slice_link a {
  background-color: #006a96;
  color: #fff;
}

.bg_position_center>div {
  background-position: center;
  background-size: auto 100% !important;
  background-repeat: no-repeat;
}

.bg_position_center {
  text-align: center;
}

.bg_y_position_top>div {
  background-position: top;
}

.bg_y_position_bottom>div {
  background-position: bottom;
}

.bg_y_position_center>div {
  background-position: center;
}

/* Iframe */

iframe {
  max-width: 100%;
}

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* Video Ratio for 16:9 use 56.25*/
  height: 0;
}

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Livefeed Section */

.livefeed,
.youTube {
  padding: 60px;
}

.livefeed {
  padding: 20px;
}

.livefeed .col-sm-5,
.youTube .col-sm-5 {
  padding: 60px 20px;
}

/* Footer */
.site-footer {
  background-color: #00629B;
  /* margin: 1em 0 0; */
}

.site-footer .site-footer p,
.site-footer h2 {
  /* color: #182b49; */
  color: #fff;
}

/* .node--type-page .site-footer .container {
  border-top: 3px solid #dab56e;
  padding-top: 2em;
} */

footer .nav-link,
footer .nav-item a {
  padding: .3rem 1rem;
  color: #fff;
}

footer a:hover {
  /* color: #C69214; */
  text-decoration: underline;
}

footer a i {
  /* color: #0071b3; */
  color: #fff;
}

/* footer a:hover i {
  color: #C69214;
} */

.region-footer-first h2 {
  margin-top: 15px;
}

.region-footer-first p {
  margin-top: 0;
}

.region-footer-first img {
  width: 100%;
  max-width: 275px;
}

.region-footer-second h2 {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 10px;
  margin-top: 0;
}

.region-footer-second .content li a {
  /* color: #0071b3; */
  color: #fff;
}

.region-footer-second p {
  font-size: 14px;
}

/* 
.region-footer-second .content li a:hover {
  color: #C69214;
} */

.site-footer .block,
.site-footer__top h2 {
  border: none;
}

.site-footer__top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.site-footer .region-footer-first img {
  margin: 0 0 1em;
}

.site-footer .region-footer-second .content ul {
  padding-left: 0;
}

.region-footer-second li {
  list-style: none;
  /* float: left; */
  display: inline-block;
}

.site-footer__top .region-footer-second .content li a {
  text-indent: 0;
  padding: 0;
  padding-right: 15px;
  border: none;
}

.region-footer-third {
  margin-top: 30px;
}

.region-footer-third a {
  text-transform: uppercase;
  /* font-weight: bold; */
  font-size: 14px;
}

.region-footer-third li:first-child a {
  padding-top: 0;
}

.region-footer-third .navbar-nav {
  padding-left: 15px;
}

.boilerplate {
  background-color: #00C6D7;
  color: #182B49;
  padding: 3rem 0;
}

.boilerplate h2 {
  font-family: 'Teko', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 3rem;
  font-size: 3rem;
  text-align: right;
}

.boilerplate a {
  color: #fff;
}

@media (max-width:990px) {
  .site-footer__top>section.region {
    clear: left;
    width: 100%;
    padding-left: 0;
  }

  @media (min-width:768px) {
    header {
      margin-top: 50px;
      margin-bottom: 30px;
    }

    /* .jacobs_logo {
        margin-top:35px;
    } */
    .region-footer-first {
      width: 40% !important;
    }
  }

  @media (max-width: 768px) {
    #block-fah-content .column {
      flex: auto;
      max-width: inherit;
    }

    #block-fah-content .column img {
      padding: .5em;
    }

    /* 
    #block-fah-content .row {
      height: 195em;
    } */

    .page-node-14 #block-fah-content .row {
      padding: 0;
      height: auto;
    }

    nav.navbar .container {
      flex-wrap: nowrap;
      justify-content: space-between;
      margin-top: 40px;
      margin-bottom: 25px;
    }

    nav.navbar .container a {
      font-size: 14px;
    }

    .region-featured-bottom-third .row,
    .region-featured-bottom-fourth .row,
    .region-featured-bottom-fifth .row {
      margin: 0;
    }
  }

  @media (max-width: 575px) {
    .slice_container {
      border-top: 1px solid #e5e5e5;
      border-bottom: 1px solid #e5e5e5;
    }

    .slice_content_container {
      position: relative;
      background-color: rgba(0, 0, 0, 0.3);
    }

    .slice_content h2,
    .slice_content p,
    .slice_content li {
      color: #fff !important;
    }

    .slice_content .text-dark h2,
    .slice_content .text-dark p,
    .slice_content .text-dark li {
      color: #343a40 !important;
    }

    .slice_content {}

    .deans_message_photo_table {
      max-width: 100% !important;
    }

    .content .col-sm-4 h4.text-align-right,
    .content .col-sm-4 h3.text-align-right {
      text-align: left !important;
      margin-bottom: 15px;
    }

    .page-node-2363 .slice_content_container {
      background-color: #f4f4f4;
    }

    .jsoe_video_text h2 {
      font-size: 2rem;
    }
  }

  @media (max-width:411px) {
    #block-fah-content .row {
      height: 85em;
    }

    .uc-emergency .region-announcment-bar p {
      text-align: center;
    }

    .livefeed,
    .youTube {
      padding: 60px 0;
    }

    .livefeed .col-md-5,
    .youTube .col-md-5 {
      padding-bottom: 25px;
    }
  }

  @media (max-width:360px) {
    #block-fah-content .row {
      height: 100em;
    }
  }

  /* Elements */
  .view-frontpage {
    display: none;
  }

  blockquote {


    margin: 0.5em 0px;
    padding: 0.5em 0px;
    quotes: "\201C" "\201D" "\2018" "\2019";
  }

  blockquote:before {
    color: #ccc;
    content: open-quote;
    font-size: 4em;
    line-height: 0.1em;
    margin-right: 0.1em;
    vertical-align: -0.4em;
  }

  blockquote p {
    display: inline;
  }