/*
  Theme Name: Holston Home Wordpress Custom Theme
  Author: Matthew Cannon
  Description: Custom theme made exclusively for Holston Home for Children
  Version: alpha
  License: Proprietary
  Text Domain: holstonhome
*/

/* Colors */
:root {
  --color-primary: #fe2020;
  --color-primary-dark: #a82424;
  --color-two:  #ffd74b;
  --color-three: #656565;
  --color-three-text: #313131;
}

/* Generic */
.no-padding {
  padding: 0;
  margin: 0;
}

@media only screen and (max-width: 575px) {
  .container,
  .container-fluid {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
}

a {
  color: #fe2020 !important;
  color: var(--color-primary) !important;
}

a:hover,
a:visited {
  color: #a82424 !important;
  color: var(--color-primary-dark) !important;
}

h4 {
  font-family: Georgia, 'Times New Roman', Times, serif !important;
}

/* Wordpress Classes */
a.wp-block-file__button {
  color: #fff !important;
}

.wp-image-22 {
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.55) !important;
  border-radius: .25rem!important;
}

.wp-image-1060 {
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.55) !important;
  border-radius: .25rem!important;
}

/* Navbar */
.holston-navbar {
  background-color: #fe2020;
  background-color: var(--color-primary);
  width: 100%;
  padding: 0px 3rem !important;
}

@media only screen and (max-width: 768px) {
  .holston-navbar {
    padding: 0 1rem !important;
  }
  .holston-nav-logo {
    width: 100%;
  }
}

.header-stripe {
  height: 0px;
  width: 100%;
  border-top: 7px solid #929292;
  border-bottom: 7px solid #757472;
}

.holston-carousel-caption {
  background-color: rgba(0, 0, 0, 0.5) !important;
  left: 0% !important;
  top: 10% !important;
  right: auto !important;
  bottom: auto !important;
  padding: 1rem !important;
}

#menu-header-menu {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

a.nav-link {
  color: #313131 !important;
  color: var(--color-three-text) !important;
  font-family: Georgia, 'Times New Roman', Times, serif;
  text-transform: uppercase;
}

a.nav-link:hover {
  color: #313131 !important;
  color: var(--color-three-text) !important;
}

a.nav-link:visited {
  color: #313131 !important;
  color: var(--color-three-text) !important;
}

.dropdown-item {
  white-space: unset !important;
}

ul.dropdown-menu {
  max-width: 250px;
  min-width: 250px;
  top: 30px;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  ul.dropdown-menu {
    max-width: 1000px;
  }
}

ul.dropdown-menu li {
  white-space: normal;
  width: 100%;
  word-wrap: break-word;
}

.dropdown-menu {
  background-color: #fe2020 !important;
  background-color: var(--color-primary) !important;
}

.dropdown-item {
  font-family: Georgia, 'Times New Roman', Times, serif;
  text-transform: uppercase;
}

a.dropdown-item,
a.dropdown-item:hover,
a.dropdown-item:visited,
a.dropdown-item:active {
  color: #fff !important;
  background-color: inherit;
}

a.dropdown-item:focus {
  background-color: #a82424;
  background-color: var(--color-primary-dark);
}

.dropdown-menu .nav-item:hover {
  background-color: #555555;
}

li.active {
  border-bottom: #fe2020;
  border-bottom: 3px solid var(--color-primary);
}

.dropdown-menu {
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.55) !important;
}

.dropdown-menu-nested a.dropdown-item {
  text-transform: unset !important;
}

@media (min-width: 768px) {
  .dropdown-menu-nested {
    padding: 0px !important;
    margin-left: 240px !important;
    margin-top: -32px !important;
  }
}

ul.dropdown-menu a.nav-link,
ul.dropdown-menu a.nav-link:hover,
ul.dropdown-menu a.nav-link:visited,
ul.dropdown-menu a.nav-link:active {
  color: #fff !important;
  padding: 4px 24px !important;
}

ul.dropdown-menu-nested a.nav-link {
  text-transform: unset !important;
}

/* Menu dropdowns activate on hover until 768. */
@media (min-width: 768px) {
  ul.nav li.dropdown:hover > ul.dropdown-menu {
    display: block;
  }
}

.holston-menu-toggle-container {
  padding: 0 !important;
  background-color: #fe2020;
  background-color: var(--color-primary);
  box-shadow: 0 1rem 1rem rgba(0,0,0,.15) !important;
}

.holston-menu-toggle-navbar {
  padding: 0 !important;
}

.holston-menu-toggler {
  margin: 8px 0px;
  color: #fff !important;
}

/* Callout */
.container-callouts {
  margin-top: 1rem;
}

.holston-home-card-text {
  position: absolute;
  font-family: Georgia, 'Times New Roman', Times, serif;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.5);
  left: 0%;
  bottom: 0%;
  width: 100%;
  padding: 1rem;
  text-align: left;
  font-size: 2rem;
}

/* Front Page Main Content */
.holston-front-page-content {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.mission-statement-col {
  text-align: center;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.holston-front-page-sponsors {
  text-align: center;
}

.holston-sponsors-two-col {
  padding: 0;
  margin: 0;
}

/* Pre-footer */
.prefooter-container {
  background-color: #ffd74b;
  background-color: var(--color-two);
  text-align: center;
  padding: 1rem;
  padding-bottom: 4rem;
}

.holston-prefooter-h2 {
  color: #000000 !important;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.holston-prefooter-p {
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.story-link {
  color: #313131 !important;
  color: var(--color-three-text) !important;
}

.story-link:hover {
  color: #313131 !important;
  color: var(--color-three-text) !important;
}

.story-link:visited {
  color: #313131 !important;
  color: var(--color-three-text) !important;
}

.holston-story-card {
  background-color: transparent !important;
}

.holston-story-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.holston-story-card .holston-story-overlay {
  visibility: hidden;
}

.holston-story-card .holston-story-text {
  color: #fff;
  visibility: hidden;
  text-align: center;
  margin-top: 80px;
  font-weight: 900;
  transition: transform 1s;
}

.holston-story-card:hover .holston-story-overlay {
  background-color: rgba(0, 0, 0, .5);
  visibility: visible;
}

.holston-story-card:hover .holston-story-text {
  background-color: rgba(0, 0, 0, 0);
  visibility: visible;
  transform: scale(1.5);
}

/* Footer */
.footer-container {
  background-color: #656565;
  background-color: var(--color-three);
  color: #313131;
  color: var(--color-three-text);
  align-content: center;
  text-align: center;
  padding: 1rem;
  padding-top: 3rem;
}

.facebook-card {
  margin-top: -5.75rem;
  margin-left: auto;
  margin-right: auto;
  width: 325px;
}

.social-image {
  max-height: 72px;
}

.footer-social-text {
  margin-top: .5rem;
  margin-bottom: .25rem;
}

.footer-empasis {
  color: #fe2020;
  color: var(--color-primary);
  font-size: 1.25rem;
  margin: 0;
}

.footer-text {
  margin-top: 2rem;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

/*

INDEX

*/
.holston-index-page {
  background-color: rgba(255, 255, 255, .93);
  position: relative;
  margin-top: 1rem;
  padding-top: 2rem;
}

@media only screen and (max-width: 768px) {
  .holston-index-page {
    top: 1rem;
    margin-bottom: 1rem;
  }
}

.holston-index-page-title {
  padding: 1rem;
}

.holston-index-page-heading {
  color: #fe2020;
  color: var(--color-primary);
  font-size: 40px;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

@media only screen and (max-width: 992px) {
  .holston-index-page-heading {
    font-size: 2rem !important;
  }
}

@media only screen and (max-width: 575px) {
  .holston-index-page-heading {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.holston-index-page-content {
  padding: 2rem;
}

@media only screen and (max-width: 992px) {
  .holston-index-page-content {
    padding-bottom: 3rem;
  }
}


.holston-index-page-content h1,
.holston-index-page-content h2,
.holston-index-page-content h3,
.holston-index-page-content h4,
.holston-index-page-content h5,
.holston-index-page-content h6 {
  font-family: Georgia, 'Times New Roman', Times, serif;
}

/*

Sidebar

*/
.holston-sidebar-page-content-row {
  position: relative;
  top: -35px;
  margin-bottom: -35px;
}

.holston-sidebar-page {
  background-color: rgba(255, 255, 255, .93);
}

.holston-sidebar-page-title {
  padding: 1rem;
}

.holston-sidebar-page-content {
  padding: 2rem;
}

.holston-sidebar-right {
  margin-top: 1rem;
}

/*

Biographies

*/
.holston-biography-archive {
  background-color: rgba(255, 255, 255, .93);
  position: relative;
  top: -35px;
  margin-bottom: -35px;
  padding: 1rem;
}

.holston-biography-portrait {
  max-height: 300px !important;
  margin: 1rem;
}

/* Stories Page */
.stories-container {
  text-align: center;
  padding: 1rem;
  padding-bottom: 4rem;
}

/* Category: Community News */
.holston-community-news-single {
  border-radius: 2px;
  padding: 1rem;
  border: 1px solid #e6e4e4;
  border-left: 5px solid #fe2020;
  border-left: 5px solid var(--color-primary);
  width: 100%;
  margin-bottom: .5rem;
}

.holston-community-news-title-h4 {
  color: #313131;
  color: var(--color-three-text);
  font-size: 1.5em;
}

.holston-community-news-date {
  font-weight: lighter !important;
}

.holston-board-member-names {
  font-family: Georgia, 'Times New Roman', Times, serif;
}

/* Negative margin to make up for excess whitespace in external script */
#bbox-root {
  margin-top: -60px;
}

.wpcf7-form-control {
  max-width: 314px;
  width: 100%;
}

.searchform {
  padding-bottom: 2rem;
}

.embed-responsive {
  margin-bottom: 2rem !important;
}
