/* -- Written with Mobile-First styles-- */

/* ----------------- Base Styles ----------------- */
#middle h1, #middle-top .page-2017-title *, #middle h2, #middle h3, #middle h4, #middle h5, #middle h6 {
  font-family: p22-mackinac-pro, Times New Roman, serif;
  font-weight: 700;
  color: #00694E;
}
#middle-top h1.page-2017-title * {
  font-size: 46px;
}
#middle h2 {
  margin-top: 25px;
}
#middle p, #middle p a {
  font-family: proxima-nova, Arial, Verdana, sans-serif;
}

/* ----------------- Content Containers ----------------- */
.building-details {
  display: inline-block;
}
@media (min-width: 768px) {
  .building-details {
    margin-top: 40px;
  }
}
@media (min-width: 992px) {
  .building-main {
    width: calc( 100% - 262px );
    float: left;
  }
  .building-sidebar {
    width: 232px;
    margin-left: 30px;
    float: left;
  }
}

/* -----------------  .building-main = Main Content Area ----------------- */

.snapshot-content {
  display: grid;
  grid-template-rows: 300px 160px 260px;
  gap: 30px;
  grid-template-areas: 
  "image"
  "number"
  "data";
  margin-bottom: 30px;
}
@media (min-width: 577px) {
  .snapshot-content {
    grid-template-rows: 300px 160px 130px;
  }
}
@media (min-width: 768px) {
  .snapshot-content {
    display: grid;
    grid-template-columns: auto 232px;
    grid-template-rows: 146px 214px;
    gap: 30px 30px;
    grid-template-areas: 
    "image number"
    "image data";
  }
}

.main-building-image {
  grid-area: image;
  padding: 15px;
  background-color: #00694E;
}
@media (min-width: 577px) {
  .main-building-image {
    padding: 30px;
  }
}

.main-building-image img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}
@media (min-width: 577px) {
  .main-building-image img {
    height: 240px;
  }
}
@media (min-width: 768px) {
  .main-building-image img {
    height: 330px;
  }
}

.map-number, .removed-date, .regional-name {
  grid-area: number;
  font-family: proxima-nova, Arial, Verdana, sans-serif;
  font-size: 20px;
  line-height: 27px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px;
}
.map-number {
  background-color: #C4AD4D;
  color: #024230;
}
.removed-date {
  background-color: #756E65;
  color: #ffffff;
}
.regional-name {
  background-color: #F9F7ED;
  color: #024230;
}
.map-number .number, .removed-date .year, .regional-name .campus {
  font-family: Termina, Arial Black, Verdana, sans-serif;
  font-weight: 900;
  font-size: 53px;
  line-height: 1.25;
}
.map-number .number, .regional-name .campus {
  color: #024230;
}
.removed-date .year {
  color: #ffffff;
}
.regional-name .campus {
  font-size: 33px;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .regional-name .campus {
    font-size: 23px;
  }
}
.map-number .map-link, .map-number .map-link a, .removed-date .removed-info {
  font-family: proxima-nova, Arial, Verdana, sans-serif;
  font-size: 20px;
  line-height: 27px;
  text-align: center;
}
.map-number .map-link, .map-number .map-link a {
  color: #024230;
}
.removed-date .removed-info {
  color: #ffffff;
  margin-top: 18px;
}

.building-data {
  grid-area: data;
  border: solid 2px #fa4616;
  padding: 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  font-family: p22-mackinac-pro, Times New Roman, serif;
  font-size: 18px;
  line-height: 25px;
}
@media (min-width: 577px) {
  .building-data {
    flex-direction: row;
    align-items: center;
  }
}
@media (min-width: 768px) {
  .building-data {
    flex-direction: column;
    align-items: unset;
  }
}

.building-data p {
  padding: 13px;
  margin: 0px;
  font-family: p22-mackinac-pro, Times New Roman, serif !important;
  color: #024230;
}
@media (min-width: 768px) {
  .building-data p {
    padding: 4px;
  } 
}

.building-data p:nth-child(2) {
  background-color: #e7ecc3;
}

.study-space-link {
  min-height: 60px;
  background-color: #F9F7ED;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
}

.study-space-link a {
  font-family: proxima-nova, Arial, Verdana, sans-serif;
  font-size: 20px;
  line-height: 27px;
  color:#00694E;
  padding: 14px;
}

#map {
  height: 350px;
  margin: 26px 0 50px 0;
  z-index: 0;
}

/* ----------------- .building-sidebar = Sidebar ----------------- */
.building-sidebar h3 {
  font-size: 25px;
  line-height: 31px;
  font-weight: 700;
}
.building-sidebar hr{
  height: 1px;
  background-color: #AA8A00;
  border: none;
}
#middle .building-sidebar a {
  color: #00694E;
  text-decoration: none;
  font-family: proxima-nova, Arial, Verdana, sans-serif;
  font-weight: 600;
}
#middle .building-sidebar a:hover, #middle .building-sidebar a:focus, #middle .building-sidebar p a:focus {
  color: #00694E !important;
  background: transparent;
  text-decoration: underline;
}
.building-sidebar a:after {
  content: "\f054 ";
  font-family: "Font Awesome 6 Sharp", "Font Awesome 6 Brands";
  font-weight: 600;
  font-size: 12px;
  padding-left: 6px;
  color:#00694E;
}
.other-locations-lists, .resources-box {
  background-color: rgba(181, 227, 216, 0.5);
  padding: 25px 22px;
  margin-bottom: 30px;
}
.other-locations-lists .view-content, .other-locations-lists .views-row {
  margin-bottom: 15px;
} 

.directory-link {
  border: solid 1px #AA8A00;
  margin-top: 40px;
  padding: 14px;
  text-align: center;
}
.building-sidebar .directory-link h3, .directory-link * {
  font-size: 18px;
  line-height: 22px;
  padding-top: 0px;
}

/* ----------------- Campus Green View Block ----------------- */
#campus-green-box {
  background-color: #e7ecc3;
  padding: 30px;
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 15px;
  grid-template-areas: 
  "cg-image"
  "cg-title"
  "cg-desc";
  margin: 40px 0px 20px;
}
@media (min-width: 577px) {
  #campus-green-box {
    padding: 35px;
  }
}
@media (min-width: 768px) {
  #campus-green-box {
    padding: 45px;
    grid-template-columns: auto 270px;
    grid-template-rows: minmax(65px, auto);
    gap: 15px 45px;
    grid-template-areas: 
    "cg-title cg-image"
    "cg-desc cg-image ";
  }
}

#middle #campus-green-heading {
  grid-area: cg-title;
  font-family: Termina, Arial Black, Verdana, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 30px;
  color: #024230;
  margin-top: 0px;
  padding-top: 23px;
}
@media (min-width: 768px) {
  #middle #campus-green-heading {
    padding-top: 0px;
  }
}
@media (min-width: 1200px) {
  #middle #campus-green-heading {
    padding-top: 21px;
  }
}
#campus-green-image {
  grid-area: cg-image;
  border-radius: 50%;
  object-fit: cover;
  border: solid 17px #a4d65e;
  justify-self: center;
  height: 70vw;
  width: 70vw;
  max-height: 270px;
  max-width: 270px;
}
#campus-green-description {
  grid-area: cg-desc;
}
#campus-green-description p {
  font-size: 18px;
  line-height: 28px;
  margin-top: 0px;
}

/* ----------------- Campus Buildings CTA Footer - Custom Block ----------------- */
.cta-box {
  background-color: #024230;
  color: #ffffff;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 40px;
  padding: 34px;
}
@media (min-width: 1200px) {
  .cta-box {
    padding: 40px 120px;
  }
}
#middle .cta-box h2, #middle .cta-box h3, #middle .cta-box h4 {
  color: #ffffff;
  margin-top: 0;
  padding-top: 0;
}
#middle .cta-box p {
  color: #ffffff;
}
.cta-box a.button {
  background: #a4d65e;
  color: #024230;
  font-weight: 700;
  text-transform: capitalize;
}
#middle .cta-box a.button:focus {
  background: #a4d65e;
  color: #024230;
}
