/* Universal */
.visually-hidden-focusable {
  display: none;
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
}

figcaption {
  font-size: .8em;
}

header#header {
  background-color: #fff;
}

.main-content {
  margin-bottom: 4em;
}

/* Nav Bar */
#navbar-main {
  padding: 0;
}

.navbar-expand-lg .navbar-nav .nav-link:hover {
  background-color: #e5e5e5;
  color: #182b49;
}

.navbar-expand-lg .navbar-nav .is-active {
  background-color: #055a8e;
}

#navbar-top a {
  color: #182b49;
}

#navbar-top a:hover {
  color: #fff;
}

.navbar .navbar-collapse a {
  color: #fff;
}

.navbar-collapse {
  justify-content: space-between;
}

.navbar-toggler {
  float: right;
  display: block;
  width: 100%;
  text-align: right;
  padding: 1rem 0;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: middle;
  content: "";
  /* background: no-repeat center center; */
  background-size: 100% 100%;
  color: white;
  background-image: url('/themes/custom/mae_barrio/images/hamburger.svg');
}

.navbar-collapse .form-group {
  margin-bottom: 0;
}

header #search-block-form {
  padding: 15px 0 0;
}

header #search-block-form .btn-primary {
  background-color: #0069d9;
}

header #search-block-form .btn-primary:hover {
  background-color: #0256b1;
}

/* Main Banner  */
.home-banner {
  background: url('/sites/default/files/inline-images/banner_0.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
}

.home-banner .overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  color: #fff;
  background: rgba(0, 0, 0, .65);
  text-align: center;
}

#block-homepagebanner .content {
  display: flex;
  justify-content: center;
}

#block-homepagebanner .text-formatted {
  width: 55%;
}

#block-homepagebanner h3 {
  font-weight: 400;
  margin: 1em;
}

.featured-banner {
  background: #182b49;
  text-align: center;
  color: #fff;
  padding: 1em;
  margin-bottom: 4em;
}


.region-top-header .block-block-content,
.region-footer-fifth .block-block-content {
  width: 100%;
}

/* School Banner */

.school-branding {
  padding: 1em 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.school-branding a {
  font-size: 32px;
  color: #182b49;
  font-weight: 300;
  line-height: 26px;
}

.school-branding img {
  width: 250px;
  margin-top: 25px;
  margin-bottom: 25px;
}


/* Homepage Cards */
.tab-content {
  padding: 1em;
}

/* .view-project-showcase .img-container {
  height: 350px;
    overflow: hidden;
    display: flex;
    justify-content: center;
}
.view-project-showcase .card .card-img-top {
    width: auto;
} */


/* Project Listings */
#project-year-listing-form {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 2em;
}

#project-year-listing-form label {
  font-size: 1.1rem;
  font-weight: bolder;
}

#project-year-listing-form fieldset {
  width: 30%;
  margin-right: 2em;
}

#project-year-listing-form .form-actions {
  width: 100%;
}

.view-id-project_listings .attachment-before {
  margin-bottom: 3em;
}

.pagination {
  flex-wrap: wrap;
}

.view-project-showcase .card-body {
  border-top: 1px solid lightgrey;
}

.view-project-showcase .card-title {
  margin-bottom: 1.5rem;
}

.view-project-showcase .field--type-image {
  display: flex;
  justify-content: center;
  margin: .5em 0;
}

.view-project-showcase .img-container {
  min-height: 350px;
  display: flex;
  align-items: center;
}

.view-project-showcase img {
  height: auto;
  width: 100%;
  margin: 0;
}

.item-list ul li {
  padding: 0;
  border: none;
  width: 40%;
  display: flex;
}

/* Project Page Header */
.view-id-project_listings .view-header {}

/*
.flex-header {
  margin-top: 1em;
  display: flex;
  flex-direction: column;
}
.flex-header .view-project-listing {
  order: 1;
}
.flex-header .view-display-id-block_3 {
  order: 2;
}
.flex-header .view-display-id-block_2 {
  order: 3;
}
.flex-header .view-display-id-block_1 {
  order:4;
} */
.view-display-id-block_3 .view-content .mb-5,
.view-display-id-block_5 .view-content .mb-5 {
  margin-bottom: 1em !important;
}

.flex-header .view-display-id-block_4 .list-group-item,
.flex-header .view-display-id-block_2 .list-group-item {
  padding: 5px 0px;
}

.flex-header h2 {
  margin-top: 1em;
  margin-bottom: .5em;
}

/* Project Listings */
.award-view ul {
  margin-left: 30px;
  padding-left: 20px;
  border-left: 1px solid #000;
}

.award-view li {
  border: none;
}

.award-view p {
  margin: 0;
}

#views-bootstrap-project-showcase-page-1 {
  margin-top: 3em;
}

#views-bootstrap-project-showcase-page-1 .row {
  margin: 0;
}

.project-listing {
  padding: 1.5em 2em;
  /* background: #f2f2f2; */
  background-color: #F5F0E6;
  margin-bottom: 3em;
  border-radius: 20px;
}

.project-listing .proj-year {
  display: flex;
  justify-content: space-between;
}

.view-id-project_listings .project-img img {
  height: auto;
  width: 80%;
  border: 1px solid lightgrey;
  padding: 4px;
}

.view-id-project_listings .sponsor {
  margin-bottom: 1em;
}

.view-id-project_listings .sponsor p {
  word-wrap: break-word;
}

.view-id-project_listings .sponsor-companies ul li {
  width: 75%;
}

.view-id-project_listings .sponsor-companies img {
  height: auto;
  width: 100%;
  margin: 0;
}

/* Main Page */
.btn-mae {
  background-color: #182b49;
  border-color: #182b49;
  color: #fff;
}

.btn-mae:hover {
  box-shadow: 0 0 0 0.2rem rgb(0 123 255 / 50%);
  background-color: #254374;
  border-color: #254374;
}

.btn-mae a,
.btn-mae a:hover {
  color: #fff;
  text-decoration: none;
}

/* Pages */
.block-page-title-block {
  margin-top: 1em;
}

/* Blockquotes */
blockquote {
  width: 80%;
  margin: 25px auto;
  font-style: italic;
  color: #555555;
  padding: 1.2em 30px 1.2em 75px;
  border-left: 8px solid #182b49;
  line-height: 1.6;
  position: relative;
  background: #EDEDED;
}

blockquote::before {
  font-family: Arial;
  content: "\201C";
  color: #182b49;
  font-size: 4em;
  position: absolute;
  left: 10px;
  top: -10px;
}

blockquote::after {
  content: '';
}

blockquote span {
  display: block;
  color: #333333;
  font-style: normal;
  font-weight: bold;
  margin-top: 1em;
}

blockquote span i {
  font-weight: normal;
}

/* Footer */
.site-footer__bottom {
  border: none;
}

.site-footer__bottom ul {
  list-style: none;
  padding: 0 !important;
}

.site-footer__bottom ul li a {
  display: block;
  padding: 1rem;
  font-size: 16px;
}

.footer-logo {
  margin: 2em 0;
  width: 200px;
  max-width: 100%;
  height: auto;
}

.site-footer img {
  width: 200px;
}

.site-footer__bottom .region {
  margin: 0;
}

.copyrights {
  color: #F5F0E6;
  margin: 3rem 0 0;
}

.copyrights a {
  color: #F5F0E6;
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar- .nav-link {
    margin-right: 2rem;
  }

  .view-id-project_listings .project-img {
    display: flex;
    justify-content: right;
    padding: 2em;
  }
}

@media (max-width: 1024px) and (orientation: landscape) {
  #block-homepagebanner h3 {
    margin: 2em;
    font-size: 1.5em;
  }

  #block-homepagebanner .text-formatted {
    width: 100%;
  }

  .col-sm-4 {
    flex: auto;
    max-width: 100%;
  }
}

@media (max-width: 481px) {
  #project-year-listing-form fieldset {
    width: 100%;
    margin: 0;
  }

  #block-homepagebanner h3 {
    margin: 2em;
    font-size: 1em;
  }

  #block-homepagebanner .text-formatted {
    width: 100%;
  }

  .view-id-project_listings .project-img img {
    height: auto;
    max-width: 225px;
  }

  .view-id-project_listings .project-img h3 {
    width: 100%;
  }

  .school-branding img {
    width: 120px;
  }

  .site-footer img {
    width: 200px;
  }
}