/*
Theme Name: BlankSlate Child
Theme URI: https://github.com/tidythemes/blankslate
Template: blankslate
Author: TidyThemes, Trent W.
Author URI: https://github.com/tidythemes
Description: Donations: https://calmestghost.com/donate. BlankSlate is the definitive WordPress boilerplate starter theme. We've carefully constructed the most clean and minimalist theme possible for designers and developers to use as a base to build websites for clients or to build completely custom themes from scratch. Clean, simple, unstyled, semi-minified, unformatted, and valid code, SEO-friendly, jQuery-enabled, no programmer comments, standardized and as white label as possible, and most importantly, the CSS is reset for cross-browser-compatability and no intrusive visual CSS styles have been added whatsoever. A perfect skeleton theme. For support and suggestions, go to: https://github.com/tidythemes/blankslate/issues. Thank you.
Tags: accessibility-ready, one-column, two-columns, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Version: 2023
Requires at least: 5.2
Tested up to: 6.1
Requires PHP: 7.0
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: blankslate

BlankSlate WordPress Theme © 2011-2023 TidyThemes
BlankSlate is distributed under the terms of the GNU GPL
*/

/* --------------------------------------Everything-------------------------------------- */
* {
  font-family: Arial;
  list-style: none; /*some lists have bullets entered in content, there are classes for alphabetical and numerical ordered lists*/
}

body { margin: 0; }

a:link { text-decoration: none; }

a:visited { text-decoration: none; }

a:hover { text-decoration: none; }

a:active { text-decoration: none; }

.entry-content p a , .entry-content p a:visited {
  text-decoration: underline dotted;
}

#plug {
  display: none !important;
}

/*desktop only 
@media (min-width: 768px) { }*/
/*mobile only 
@media only screen and (max-width: 767px) { }*/

/* --------------------------------------Header-------------------------------------- */

/* blue-gray search.more.net bar - needs adjusted on mobile */
#tophead {
  padding: 15px;
  padding-left: 40px;
  color: #ffffff;
  background-color: #415364;
}

@media (min-width: 768px) {
  #tophead {
    height: 20px;
}
}

#tophead a {
  color: #ffffff;
}

/* ------- homepage appearance -------*/
.header-image { 
  background-image: url("/wp-content/uploads/2023/05/pexels-andrea-piacquadio-3824768.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: white;
  height: 500px;
  position: relative;
}

.header-text {
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  background-color: #415364;
  color: #ffffff;
  padding: 40px 25px 40px 25px;
/*  opacity: .95;*/
  width: 35%;
  text-align: center;
}

.header-text h1 {
  text-transform: uppercase;
}

/*.header-home a, .header-home a:visited{
  color: white;
}*/

.header-text p {
font-size: 1.2rem;
}

.branding-home {
  text-align: center;
}

.site-title-home {
  display: none;
  text-transform: uppercase;
  font-size: 2.375rem; /* extra font size is being added somehow by wordpress - only on homepage*/
  margin-top: 400px;
}

/*---added after header redesign ---*/
.header-home {
  padding: 30px !important;
  color: black !important;
/*  height: 160px !important;*/
  background-image: none !important;
  background-color: #e7e7e7 !important;
}

.header-home a, .header-home a:visited {
  color: black;
}

/*@media only screen and (max-width: 767px) {
  .site-title-home {
    font-size: 1.25rem;
    margin-top: 100px;
  }

  .site-description-home {
    font-size: 1.125rem !important;
  }

  .header-home { 
    height: 500px;
  }
}*/

/* tagline */
.site-description-home {
  display: none;
  font-size: 1.875rem;
}

/* ------- header for content pages - jquery in footer.php ------- */

.header-content {
  background-color: #e7e7e7 !important;
  padding: 30px !important;
  color: black !important;
/*  height: 160px !important;*/
  background-image: none !important;
}

.header-content a, .header-content a:visited{
  color: black;
}

.branding-content {
  display: none !important;
}

/* doesnt work
.header-content a:active{
  font-weight: bold;
}*/

/* bolds header for current page on navmenu - see footer.php */
.header-current a {
  font-weight: bold;
}

/* --------------------------------------Nav Menu-------------------------------------- */
#menu {
  width: 100%;
  display: inline-block;
}

/*
.menu-main-menu-container {
}*/

#menu-main-menu {
  float: left;
}

#menu-main-menu li {
  font-size: 1.75rem;
  display: inline-block;
  padding-right: 30px;
}

/* --------------------------------------Search Bar-------------------------------------- */
#search {
  height: 40px;
  float: right;
  margin: 10px;
}

.search-field{
  font-size: 1.125rem;
  height: 40px;
}


@media (min-width: 768px) {
  .search-field{
    width: 300px;
  }
}

@media (max-width: 768px) {
  .search-field{
    width: 200px;
  }
}

/*search button*/
.search-submit{
  font-size: 1.125rem;
  height: 40px;
  width: 90px;
}

/* --------------------------------------Body Content-------------------------------------- */

/* content container min-heights need further testing*/
@media only screen and (min-height: 800px) {
/*Keep footer at the bottom of the page on pages with short content on 1080p at desktop display scale*/
#container {
  min-height: 52vh !important;
}}

@media only screen and (min-height: 1100px) {
/*Keep footer at the bottom of the page on pages with short content on higher resolution (1440p) displays*/
#container {
  min-height: 66vh !important;
}}

.entry-content {
  margin-bottom: 60px;
}

.entry-content p > a:not(.button, .center-button) , .entry-content .wp-block-verse a{
    transition: all .5s ease-in-out;
    background-image: linear-gradient(to bottom, rgba(0, 102, 153, .3), rgba(0, 102, 153, .3));
    background-size: 100% 1px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    text-decoration: none;
    padding-bottom: 0;
    color: #005c8a;
}

.button a, .center-button a {
  color: white !important;
}

/* dont show page titles on pages themselves - will need to add entry content header in editor if title is needed */
.page .entry-title {
  font-size: 0rem;
  color: white;
/* content: none wasn't working */
}

/* show titles in search results */
.search-results .entry-title {
  font-size: 1.875rem;
  color: black;
  text-align: left;
  margin-left: 15px;
}

/*appearance of articles on search results page - see footer.php*/
.search-article {
  border-top: 1px solid #ccc;
}

article {
  margin: 30px;
}

/*homepage article*/
@media (max-width: 768px) {
  #post-624 {
    margin-top: 0px !important;
  }
}

/*standard content paragraph */
.entry-content > p , .read-more-content > p{
  margin-top: 20px;
  margin-bottom: 20px;
  padding-left: 15px;
  padding-right: 15px;
}

/* promotional paragraph */
.blurb {
  font-size: 1.5rem;
  margin: auto;
  text-align: center;
  margin: 40px;
}

.wp-block-verse {
  background-color: #e7e7e7;
  padding: 20px;
  margin-left: 30px;
  margin-right: 30px;
}

.gray {
  background-color: #e7e7e7;
  padding: 30px;
  margin: 30px;
}

/* margin for page entry content on non-mobile displays */
@media screen and (min-width: 1400px) {
/*
  .entry-content > p , .entry-content > h1, .entry-content > h2, .entry-content > h3, .entry-content > h4, .entry-content > h5 /*, [class^="wp-block"]:first-child*/ /*{ 
    margin-left: 20%;
    margin-right: 20%;
  }*/

.entry-content {
  width: 60%;
  margin: auto;
}
}

.entry-content > h1 {
  font-size: 2.5rem;
}

.entry-content > h2 {
  font-size: 1.75rem;
}

.entry-content > h3 {
  font-size: 1.2rem;
}

.alpha li {
  list-style: upper-alpha;
}

.num li {
  list-style: numbers;
}

/*
.entry-content ol ol li {
  list-style: numbers;
}

.entry-content ol ol ol li {
  list-style: lower-alpha;
}

.entry-content ol ol ol ol li{
  list-style: lower-roman;
}*/


/*calc(-100vw / 2 + 50%) !important;*/
.wp-block-separator {
  margin-top: 40px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .wp-block-separator {
    margin-left: calc(-100vw / 2 + 60%) !important;
    margin-right: calc(-100vw / 2 + 60%) !important;
  }
}

/*------ expand content ------*/

/*.toggle-section {} <-- put all expansion content/buttons in separate instances of this*/

/*div for content to be expanded */
.read-more-content {
  display: none;
}

.read-more-expanded {
  display: block;
}

.read-more-btn {
  font-weight: bold;
  cursor: pointer;
  max-width: 100px;
}

.read-more-btn:hover, .read-more-btn:focus {
  text-decoration: underline;
}

/*
.read-less-btn {
}*/

.read-more-btn:after {
  content: " More ∨";
}

.read-less-btn:after {
  content: " Less ∧";
}

.see-more-link-home {
  display: block;
  font-size: 1.25rem;
  color: #415364;
  font-weight: bold;
  max-width: 100%;
}

.see-more-link-home:after {
  content: " More Topics      "
}

.see-less-link-home:after {
  content: " Less Topics      "
}

/* --------------------------------------Buttons-------------------------------------- */
.button , .wp-element-button{
  cursor: pointer;
  color: white;
  background-color: #415364;
  border-radius: 3px;
  text-align: center;
  position: relative;
  display: inline-block;
  vertical-align: top;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 15px 25px;
  width: auto;
  height: auto;
}

.orange-box .button {
  background-color: #324352;
}

.orange-box .button:hover {
  background-color: #5b748b !important;
}

.button , .wp-element-button a, .button , .wp-element-button a:visited {
  text-decoration: none !important;
}

.button:hover , .wp-element-button:hover {
  background-color: #324352;
  transition: 0.3s;
}

/*experiemental, not in active use*/
.center-button {
  margin: auto;
  text-align: center;
/*  margin: 30px;*/
}

/*
.center-bottom-button {
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}*/

/*jquery dialog close button*/
.ui-button .ui-icon {
/*  background-image: url("images/ui-icons_777777_256x240.png");
  background-color: #f74a4d;*/
  background-image: url("https://digitalequity.missouri.org/images/ui-icons_777777_256x240.png") !important;
  background-color: red;
}

/*jquery dialog title bar*/
.ui-widget-header {
  border: 1px solid #dddddd;
  background: #415364 !important;
  color: white !important;
  font-weight: bold;
}

.dialog-hidden {
  display:none;
}

/*------ max-width orange promotional box ------*/
.orange-box {
  color: white;
  margin-top: 40px;
  margin-bottom: 40px;
  padding: 15px;
  background-color: #415364;
/*  background-color: #F8971D;*/
  margin-left: calc(-100vw / 2 + 50%) !important;
  margin-right: calc(-100vw / 2 + 50%) !important;
}
@media (min-width: 768px) {
  .orange-box {
      max-height: 400px;
  }

  #orange-box-row {
    display: flex;
  }

  .orange-box .button {
    margin-left: 40px;
  }
}
.orange-box-item {
  flex: 50%;
  padding: 20px;
}

.orange-box-item img {
  max-width: 100% !important; /* doesnt seem to effectively do anything*/
  max-height: 300px !important; /* displayed at a massive size otherwise even though it is supposed to be 50% */
  margin: auto;
  border: 7px solid white;
}

@media (min-width: 768px) {
  .orange-box-item img {
    float: right;
  }

  .orange-box .button {
    float: left;
  }

  .orange-box p {
    margin: 40px;
  }
}

.orange-box p {
  font-size: 1.5rem;
  max-width: 300px;
}

#orange-left {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/*
#orange-right {
}*/

/* --------------------------------------Tiles---------------------------------------- */

/* ------ Site Content Tiles ------ */
.tile-section {
  width: 80%;
  margin: auto;
  justify-content: center;
  align-items: center;
  position: relative;
}

/*@media (min-width: 768px) {*/
@media (min-width: 768px) {
  .tile-section {
    display: flex;
  }
}

.tile-section div {
  background-image: url("/wp-content/themes/blankslate-child/tile-bar.png");
  background-repeat: no-repeat;
  background-position: 0 25px;
  margin: 30px;
  padding: 35px 15px 30px 15px;
  background-color: #e7e7e7;
  flex-basis: 15em;
  height:300px;
}

.tile-section div h1 {
  font-size: 1.2em;
  text-align: left;
  margin: 30px 0;
}

.tile-desc {
  font-size: 1em;
  margin: 30px 0;
}

/* Tiles with floats rather than flex.*/
.tile-box {
  width: 50%;
  margin: auto;
}

.tile-float {
  width: 216px;
  height: 300px;
  float: left;
  background-image: url("/wp-content/themes/blankslate-child/tile-bar.png");
  background-repeat: no-repeat;
  background-position: 0 25px;
  margin: 30px;
  padding: 50px 15px 10px 15px;
  background-color: #e7e7e7; 
  position: relative;
}

.tile-float .button {
  position: absolute;
  bottom: 10px;
  left: 15px;
}

/* need to make these appear at a consistant height/distance from the bottom - <p> height in selector above is a temporary solution */
.tile-section .button{
  font-size: 0.875rem;
  padding: 10px 20px;
  position: absolute;
/*  margin-left: 5%;
  margin-right: 10%;*/
}

.gray .button{
  font-size: 0.875rem;
  padding: 10px 20px;
}

.header-text .button{
/*  font-size: 0.875rem;*/
  padding: 10px 20px;
/*  background-color: #F8971D;*/
  background-color:#324352;
}

.header-text .button:hover {
  background-color: #5b748b;
  transition: 0.3s;
}

@media (min-width: 768px) {
  .tile-section .button {
    bottom: 45px;
  }
}

/* ------ External Link Tiles ------ */

.link-tile-section {
  width: 80%;
  display: flex;
  margin: auto;
  justify-content: center;
  align-items: center;
}

.link-tile-section div {
  background-position: 0 25px;
  margin: 20px;
  padding: 30px;
  padding-top: 15px;
  background-color: #e7e7e7;
  flex-basis: 15em;
  height:100px;
}

@media only screen and (max-width: 767px) {
  .link-tile-section div {
    height:180px !important;
  }
}

.link-tile-section div h1 {
  font-size: 1.2em;
  text-align: left;
  min-height: 44px; /*force buttons to the bottom */
}

.link-tile-section div p {
  font-size: 1em;
}

.link-tile-section .button, .horizontal-box .button{
  font-size: 0.875rem;
  padding: 10px 20px;
}

/*
.link-tile-section .button:after, .horizontal-box .button:after{
  content: "\a";
}*/

.link-tile-section .button{
  font-size: 0.875rem;
  padding: 10px 20px;
/*  position: absolute;
  bottom: 40px; sending it to header area */
}

/*------ horizontal promotional/resources "wide tile" box ------*/
.horizontal-box {
  margin: auto;
  justify-content: center;
  align-items: center;
}

@media (min-width: 768px) {
  .horizontal-box {
    display: flex;
    padding: 30px;
    width: 60%;
  }
}

@media only screen and (max-width: 767px) { 
  .horizontal-box img {
    display: none;
  }
}


@media (min-width: 768px) {
  #hbox-row {
    display: flex;
  }
}
.hbox-item {
  padding: 20px;
}

.hbox-item img {
  float: right;
  margin: 30px;
  width: 400px;
  height: 100px; /*displayed at a massive size otherwise even though it is supposed to be 50% */
}

.hbox .button {
  float: left;
  margin-left: 50px;
}

.horizontal-box p {
  float: left;
  /*padding-left: -15px;*/
}

#hbox-left {
  display: block;
  margin-left: auto;
  margin-right: auto;
  background-color: white;
}

#hbox-right {
  background-color: #e7e7e7;
}

@media (min-width: 768px) {
  #hbox-right {
    min-width: 680px;
  }
}

/*------ free resource download box in "read more" dropdowns------*/
.resource-box {
  padding: 15px;
  margin: 30px;
  background-color: #e7e7e7;
}

@media (min-width: 768px) {
  .resource-box {
    max-width: 550px;
    width: 60%;
  }
}

.resource-box h4 {
  text-transform: uppercase;
  color: #d64207;
  margin: 0;
}

.resource-box img {
  width: 160px;
  height: 160px;
  margin: auto;
  float: right;
}

.resource-box .button {
  font-size: 0.875rem;
  padding: 10px 20px;
  margin-top: 20px;
}

.resource-box p {
  float: left;
  max-width: 66%;
}

#rbox-row {
  display: flex;
}

/*
.rbox-item {
}*/

#rbox-left {
  flex: 66%;
}

#rbox-right {
  flex: 33%;
}

/* --------------------------------------Footer-------------------------------------- */
#custom-footer {
  background-color: #e7e7e7;
  text-align: center;
  padding: 30px;
  margin-top: 30px;
}
.custom-logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

/* dont show generic wordpress-generated copyright at the bottom */
#copyright {
  display:none;
}