/*
 Theme Name:     WASafe
 Theme URI:      https://wordpress.org/themes/wp-bootstrap-starter/
 Description:    A child theme of WPBS Theme
 Author:         Afterimage Designs
 Author URI:     https://afterimagedesigns.com/
 Template:       wp-bootstrap-starter
 Version:        1.4
*/


/*******************************************
**************** Contents ******************
********************************************
* 1. Typography [TYP]
* 2. Div/Layouts [DIV]
* 3. Elements [ELE]
* 4. Navigation [NAV]
*
********************************************/

/********************************************
* Typography [TYP]
********************************************/

/* Open Sans */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap');

/* Encode Sans */
@import url('https://fonts.googleapis.com/css2?family=Encode+Sans:wght@300;400;500;600;700;800&display=swap');

/* Encode Sans Condensed */
@import url('https://fonts.googleapis.com/css2?family=Encode+Sans+Condensed:wght@300;400;600;700;800&display=swap');


p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
}

a {
    text-decoration: none !important;
    color: black;
}


/* Because I don't want the h1 visible but don't want to break SEO */
/* Page Headers will be done as styled h2s */
h1 {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.header-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
}

.white-text {
    color: #FFFFFF;
}

.dark-gray-text {
    color: #444444;
}

.purple-text {
    color: #4b2e89 !important;
}

.footer-text {
    color: #FFFFFF;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.5rem;
    text-align: center;
    font-weight: 400;
}

.no-underline {
   text-decoration: none !important;
}

.centered-text {
    text-align: center;
}

.column{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.home-header {
    font-family: 'Encode Sans Condensed', sans-serif;
    font-weight: 700;
    font-size: 2.75rem;
}

.home-card-header {
    font-family: 'Encode Sans', sans-serif;
    font-weight: 600;
    font-size: 2rem;
}

.card-sub-header {
    font-family: 'Encode Sans', sans-serif;
    font-weight: 600;
    font-size: 1.75rem;
}

.home-card-body {
    font-family: 'Encode Sans Condensed', sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    color: #4b2e89;
}

.home-card-link {
    font-family: 'Encode Sans Condensed', sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
    color: black;
    text-decoration: none;
}

.job-posting-label {
    font-family: 'Encode Sans', sans-serif;
    font-size: 1rem;
    color: #4b2e89;
    font-weight: 500;
    line-height: 1.25rem;
}

.job-posting-date {
    font-family: 'Encode Sans', sans-serif;
    font-size: 1.25rem;
    color: #4b2e89;
    font-weight: 600;
    line-height: 1.25rem;
}

/********************************************
* Div/Layout Styles [DIV]
********************************************/

/* This one's used to keep a row centered, because the bootstrap grid doesn't support half-increments */
.offset-left {
    margin-left: 4.16666666667% !important;
}

/* Adding an additional class to allow proper full-width overflows */
.site-content {
    overflow: hidden;
}
  
.centered {
    display: flex;
    align-items: center;
    justify-content: center;
}

.center-horizontally {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.green {
    background-color: #4d8940;
}

.light-green {
    background-color: #c4d2b8;
}

.white {
    background-color: #FFFFFF;
}

.dark-gray {
    background-color: #444444;
}

.content-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: #FFFFFF;
/*  border-left: 3px solid #444444;
    border-right: 3px solid #444444;
    border-bottom: 6px solid #444444; */
    padding-left: 0px;
    padding-right: 0px; 
}

.content-card-height {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.content-card-header {
    background-color: #444444;
    color: #FFFFFF;
    font-family: 'Encode Sans', sans-serif;
    font-weight: 600;
    font-size: 2rem;
    padding-top: 1.5rem;
    padding-bottom: 1rem;
    padding-left: 3rem;
    padding-right: 3rem;
}

.content-card-body {
    color: black;
    padding-left: 3rem;
    padding-right: 3rem;
    padding-top: 1rem;
    padding-bottom: 2rem;
}

.full-width {
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    position: relative;
    width: 100vw;
}

.fill {
    width: 100%;
}

.home-padding {
    padding-left: 2rem;
    padding-right: 2rem;
}

@media (min-width: 576px) {
    .home-padding {
        padding-left: 4.25rem;
        padding-right: 4.25rem;
    }
}

@media (min-width: 992px) {
    .home-padding {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}

@media (min-width: 1400px) {
    .home-padding {
        padding-left: 4.25rem;
        padding-right: 4.25rem;
    }
}

@media (min-width: 1920px) {
    .home-padding {
        padding-left: 8.5rem;
        padding-right: 8.5rem;
    }
}

.home-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 3rem;
}

.home-card-height {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.provider-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    justify-content: flex-start;
}

.provider-card-height {
    display: flex;
    flex-direction: column;
    height: 100%;
}


.event-image-container {
    border: solid white .5rem;
}

.event-details-container {
    background-color: #FFFFFF;
    padding-top: 1rem;
}

.event-image {
    max-width: 99%;
    height: auto;
}

.event-title {
    font-family: 'Encode Sans', sans-serif;
    font-size: 1.75rem;
    font-weight: 500;
    color: #FFFFFF;
}

.event-date-time {
    font-family: 'Encode Sans', sans-serif;
    font-size: 1.5rem;
    color: #4b2e89;
    font-weight: 600;
    line-height: 1.25rem;
}

.event-times {
    font-family: 'Encode Sans', sans-serif;
    font-size: 1.25rem;
    color: #4b2e89;
    font-weight: 500;
    line-height: 1.25rem;
}

.event-date-text {
    font-family: 'Encode Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
}

.links-list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: block;
}
  
.links-list li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #444444;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

.links-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}
  
.links-list li a {
    text-decoration: none;
    display: block;
    margin: 0;
    padding: 0;
}
  
.img-top {
    vertical-align: top;
}

.img-60 {
    max-height: 60vh;
}

.img-constrain {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.img-cover {
    display: block;
    margin: 0 auto;
    object-fit: cover;
    width: 100%;
    height: 100%;      
}

.footer-logo {
    width: 295px;
    height: 130px;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
  }
  
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.provider-icon {
    max-width: 132px;
    max-height: 120px;
} 

.larger-icon {
    max-width: 250px;
    max-height: 227px;
} 

#content.site-content {
    margin-top: -25px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.date-box{
    flex-direction: column;
}

.full-width-input div.wpcf7 input[type="text"], 
.full-width-input div.wpcf7 input[type="email"], 
.full-width-input div.wpcf7 input[type="url"], 
.full-width-input div.wpcf7 input[type="tel"], 
.full-width-input div.wpcf7 input[type="number"], 
.full-width-input div.wpcf7 input[type="date"], 
.full-width-input div.wpcf7 input[type="checkbox"], 
.full-width-input div.wpcf7 input[type="radio"], 
.full-width-input div.wpcf7 textarea {
  width: 100%;
}


.wasafe-button {
    background-color: #4d8940;
    color: #FFFFFF;
    font-family: 'Encode Sans', sans-serif;
    padding-top: .75rem;
    padding-bottom: .75rem;
    padding-left: 2rem;
    padding-right: 2rem;
    border-radius: 2px;
    display: inline-block;
    border: none;
    text-align: center;
    font-size: 1.5rem;
}  

.wasafe-button:hover {
    background-color: #444444;
}

/* Accordion Items */

.accordion {
    width: 100%;
}
  
.accordion-item {
    width: 100%;
    text-align: left;
    margin-bottom: 1px;
}
  
.accordion-item:hover {
    background-color: #4d8940;
}
  
.accordion-item-title {
    background-color: #444444;
    color: #FFFFFF;
    font-family: 'Encode Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    padding: 1rem;
    cursor: pointer;
}
  
.accordion-item-content {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    padding: 2rem;
    display: none;
    background-color: #FFFFFF;
    color: black;
    margin-left: 0;
    margin-right: 0;
}

/********************************************
* Navigation [NAV]
********************************************/

header#masthead {
    margin-bottom: 0;
    background-color: #FFFFFF ;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.05), inset 0 -1px 0 rgba(0,0,0,.1);
    padding: .74rem 1rem;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
    color: black;
    padding: 1.5rem;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li:nth-last-child(2) > a, 
body:not(.theme-preset-active) #masthead .navbar-nav > li:last-child > a {
    color: black;
    padding: 1.5rem;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a:hover,
body:not(.theme-preset-active) #masthead .navbar-nav > li.current_page_item > a {
  color: #4d8940;
  font-weight: 600;
  font-family: 'Open Sans', sans-serif;
  /*background: #ffffff;*/
}

body:not(.theme-preset-active) #masthead .navbar-nav > li:nth-last-child(2) > a:hover, 
body:not(.theme-preset-active) #masthead .navbar-nav > li:last-child > a:hover {
    color: #4d8940;
    padding: 1.5rem;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
}

.light-link {
    font-weight: 500;
}

.dropdown-menu {
    width: 200%;
}

.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item:hover {
    color:#16181b;
    text-decoration:none;
    background-color:#cdcdcd;
}