/*
 Theme Name:   Base Theme 3 Child
 Theme URI:    https://www.understrap.com
 Description:  UnderStrap Child Theme
 Author:       AO Dev Team
 Author URI:   http://www.holgerkoenemann.de
 Template:     base-theme
 Version:      0.3.18
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  base-theme-child
 Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
*/
html {
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

body {
  font-family: 'Montserrat', sans-serif;
}

h1, h2, h3, h4, h5, h6, #lcp_instance_0 p a {
  font-family: 'Spectral', serif;
}

h5, h6 {
  color: #76232f;
  font-weight: bold;
}

h6 {
  font-family: 'Montserrat', sans-serif;
}

a {}

.wrapper-navbar {}

.site-footer {
  text-align: center;
}

.navbar {
  font-family: 'Spectral', serif;
  position: sticky;
  top: 87px;
  z-index: 999;
}

.navbar .navbar-toggler {}

.navbar .navbar-toggler i {
  border: 1px solid #000;
  border-radius: 50%;
  width: 2em;
  height: 2em;
}

.navbar .navbar-toggler-icon {}

.navbar-toggler .fa-bars {
  border: 1px solid #000;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: #000;
}

.navbar .container-fluid {
  flex-direction: row;
}

.nav-link {
  color: #000;
  position: relative;
}

.nav-link:hover::before,
.nav-link:hover::after {
  opacity: 1;
  width: 100%;
}

.nav-link::after {
  bottom: 0;
}

.nav-link::before {
  top: 0;
}

.nav-link::before,
.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: all 300ms cubic-bezier(.680, -.550, .265, 1.550);
  background-color: rgba(0, 0, 0, 1);
}

.navbar-brand {
  margin: 0 auto;
  position: relative;
  z-index: 100;
}

.navbar-underlay {
  position: absolute;
  border-top: 2px solid #2E72CE;
  top: 45%;
  height: 2px;
  width: 100%;
  border-bottom: 2px solid #DA291C;
  padding-bottom: .25rem;
}

.navbar-header {
  width: 100% !important;
  margin: auto;
  position: fixed;
  z-index: 9999;
  background-color: #fff;
  border-bottom: 1px solid #000;
  top: 0;
  left: 0;
}

/*
BUTTONS
*/
.btn {}

.btn-primary {
  background-color: #76232f;
  border-color: #76232f;
}

.btn-primary:hover {
  background-color: #3A3A3A;
  border-color: #3A3A3A;
}

.btn-success {}

.btn-lg {}

.btn-sm {}

.gform_button {
  cursor: pointer;
}

/*
MENU
*/
.navbar-nav .nav-link .navbar {}

.navbar-expand-md .navbar-collapse {
  background-color: #fff;
}

.navbar-brand {
  margin: 0;
}

.navbar-brand>img {
  max-width: 75%;
}

.nav-link {}

.nav-item {}

.navbar-nav {
  padding: 0 0 0 1rem;
}

.navbar .border-top {
  border-top: none;
}

.widget .nav {
  display: block;
  padding-left: 2rem;
  list-style-type: disc;
}

/* Share Links */
.share_links {
  text-align: center;
  line-height: 0;
  font-size: 1.3rem;
  margin: .25rem 0;
}

.top-share .share_links {
  text-align: left;
}

.share_links:after {
  content: "";
  clear: both;
  display: table;
}

.share_links>a {
  color: white;
  display: inline-block;
  text-decoration: none;
  border-radius: 3px;
  width: 2rem;
  overflow: hidden;
  text-align: center;
  line-height: 2rem;
  margin-left: 0.3rem;
}

.share_links a:first-child {
  margin-left: 0;
}

.footer .share_links>a {
  color: #fff;
}

.navbar-header .share_links>a {
  color: #3a3a3a;
}

.navbar-header .share_links {
  margin-left: auto;
}

.social_links {
  display: flex;
  justify-content: center;
}

.social_links a span {
  width: 2rem;
  margin-left: .2rem;
  height: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border-radius: 3px;
  font-size: 1.75rem;
}

.post .share_links>a {
  font-size: 1.5rem;
  background-color: #fff;
  color: #000;
}

.social_facebook {
  background-color: #3b5998;
}

.social_twitter {
  background-color: #00aced;
  ;
}

.social_google_plus {
  background-color: #dd4b39;
}

.social_linkedin {
  background-color: #007bb6;
}

.social_email {
  background-color: #4CAF50;
}

.social_pinterest {
  background-color: #cb2027;
}

/*
UTILITY
*/
.bg_white {
  background-color: white;
}

.bg_black {
  background-color: black;
}

.bg_red {
  background-color: #F44336;
}

.bg_blue {
  background-color: #13274a;
}

.bg_green {
  background-color: #4CAF50;
}

.white {
  color: white;
}

.black {
  color: black;
}

.red {
  color: #e63737;
}

.blue {
  color: #007cff;
}

.green {
  color: #4CAF50;
}

.bg_cover {
  background-size: cover;
}

.bg_contain {
  background-size: contain;
}

.padder {
  padding-top: 50px;
  padding-bottom: 50px;
}

.padder_top {
  padding-top: 50px;
}

.padder_bot {
  padding-bottom: 50px;
}

.padder_lg {
  padding-top: 100px;
  padding-bottom: 100px;
}

.padder_lg_bot {
  padding-bottom: 100px;
}

.padder_lg_top {
  padding-top: 100px;
}

.padder_sm {
  padding-top: 25px;
  padding-bottom: 25px;
}

.padder_sm_bot {
  padding-bottom: 25px;
}

.padder_sm_top {
  padding-top: 25px;
}

.no_padder {
  padding: 0 !important;
}

.border-0 {
  border: none !important;
}

section {
  padding: 100px 0;
  background-size: cover;
  background-repeat: no-repeat;
}

.wrapper {
  background-size: cover;
  background-position: center center;
}

.wrapper-fluid {
  max-width: 100%;
}

.uppercase {
  text-transform: uppercase;
}

div {}

/*
GRAVITY FORMS
*/
/* donate form confirmation style */
#gform_confirmation_wrapper_19 {
  height: 38vh;
}

.gform_confirmation_message_19 {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "spectral", serif;
  font-size: 2rem;
  font-weight: bold;
  color: #76232f;
}

.donate-form .gform_wrapper .gform_fields {
  margin: 0;
}

.donate-form .gform_wrapper label {
  display: block;
  font-weight: bold;
  padding-top: .5rem;
}

.ginput_container input[type=text], .ginput_container input[type=email], .ginput_container input[type=tel], .ginput_container input[type=password], .ginput_container input[type=number], .ginput_container select, .ginput_container textarea {
  border-radius: 0;
  background-color: #FAFAFA;
  border: 1px solid #ddd;
}

.donate-form .gform_button,
.newsletter .gform_button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  padding: .5rem;
  background-color: #76232f;
  border-color: #76232f;
}

.donate-form .gform_button:hover,
.newsletter .gform_button:hover {
  background-color: #3A3A3A;
  border-color: #3A3A3A;
}

.newsletter .ginput_complex label, .newsletter .ginput_container_time label, .newsletter .ginput_container_date label, .newsletter .ginput_counter {
  display: none;
}

.newsletter {
  max-width: 90%;
  margin: auto;
}

/*
CUSTOM STYLES
*/
/* searchbar styles */
div[id*='ajaxsearchlite'].wpdreams_asl_container {
  width: 92% !important;
}

.probox {
  border-radius: 3px !important;
  padding: .25rem !important;
}

.probox input::placeholder,
.probox input[aria-label="Search input"] {
  font-family: "Spectral", serif !important;
  font-weight: bold !important;
  font-size: .85rem !important;
}

.show {
  border-bottom: 1px solid #000;
}

.pressrel {
    width: 100%;
	margin-bottom: 40px;
    padding-left: 15px;
}

.vidsection {
	padding: 65px 0;
	background: #1175cb;
}

.vidsection h1 {
    color: #fff;
	margin-bottom: 40px;
    text-align: center;
}

.press-vids {
    width: 560px;
    margin: 0 auto;
}

/* Card extender to force all cards to be the same size */

.card-case-wrapper {
    bottom: 0;
    position: absolute;
    width: 100%;
}
.grid-item .card {
	min-height: 38em;
}
.card-extender .card {
    min-height: 38em;
}
.short-card-extender .card {
	min-height:40em;
}


/* home news column padding */
.home-news-column {
  padding: 1rem 0;
}

/* fixed and sticky nav mobile adjustments */
.fixnav-adjust {
  height: 90px;
}

.page-id-16179 .card {
  min-height: auto !important;
}
.dropdown-toggle::after, #main-menu .show{
  border: none;
  border-bottom: none;
}
@media (min-width: 350px) {
  .fixnav-adjust {
    height: 90px;
  }

  .navbar {
    top: 95px;
  }
}

@media (min-width: 400px) {
  .fixnav-adjust {
    height: 110px;
  }

  .navbar {
    top: 110px;
  }
}

@media (min-width: 432px) {
  .fixnav-adjust {
    height: 115px;
  }

  .navbar {
    top: 115px;
  }
}

@media (min-width: 470px) {
  .fixnav-adjust {
    height: 120px;
  }

  .navbar {
    top: 120px;
  }
}

@media (min-width: 515px) {
  .fixnav-adjust {
    height: 130px;
  }

  .navbar {
    top: 130px;
  }
}

@media (min-width: 545px) {
  .fixnav-adjust {
    height: 145px;
  }

  .navbar {
    top: 145px;
  }
}

@media (min-width: 645px) {
  .fixnav-adjust {
    height: 170px;
  }

  .navbar {
    top: 170px;
  }
}

.border-top {
  border-top: 1px solid #000;
}

.border-bottom {
  border-bottom: 1px solid #000;
}

.show {
  border-bottom: 1px solid #000;
}

.card {
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
  transition: all .32s ease-in-out;
}

.card:hover {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175);
}

.card:hover .img-fluid {
  cursor: pointer;
}

.card-columns .card {
  border: none;
}

.card-title {
  letter-spacing: .5px;
}

.read-more {
  color: #0072ce;
}

.home-news {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.home-news .card-body {
  height: 100%;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.home-news a,
.home-news .card-body {
  transition: all .32s ease-in-out;
}

.home-news:first-child:hover .card-body,
.home-news:first-child:focus .card-body,
.home-news:nth-child(2):hover .card-body,
.home-news:nth-child(2):focus .card-body,
.home-news:nth-child(3):hover .card-body,
.home-news:nth-child(3):focus .card-body {
  transform: scale(1.05);
}

.home-news a {
  color: #fff;
  position: absolute;
  /* left: 27px; */
  bottom: 10px;
  transform: translateX(0) translateY(0) scale(1);
}

.home-news:hover {
  opacity: 1;
}

/* for the main article post type */
.home-news:first-child:hover a {
  transform: translateX(12px) translateY(-24px) scale(.98);
}
/* for the evers & tool post types */
.home-news:nth-child(2):hover a, 
.home-news:nth-child(3):hover a {
	transform: translateX(0px) translateY(-10px) scale(.88);
}

.home-news a:hover {
  text-decoration: none;
}

.home-news .card-body::before {
  content: "";
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, .15);
  transition: all .32s ease-in-out;
  background-color: rgba(0, 0, 0, .15);
}

.home-news .card-body:hover::before {
  content: "";
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, .5);
}

.home-news-column .card:not(first-child) h4 a {
  text-align: center;
}

.video-display-title {
	color: #76232f;
	font-size:1.25rem;
	font-family: 'Spectral', serif;
}

.section-wrap,
.author-home-wrap,
.poll-wrap,
.signup-wrap {
  border: 1px solid #ccc;
  position: relative;
  width: 100%;
}

.section-wrap:nth-child(2)>div {
  text-align: center;
}

.section-wrap:nth-child(2)>div,
.section-wrap:nth-child(2)>div img {
  display: block;
}

.section-wrap:nth-child(2)>div img {
  max-width: 55%;
  margin: .5rem auto;
}

.section-wrap>span,
.author-section-wrap>span,
.poll-wrap>span,
.signup-wrap>span {
  position: absolute;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.section-wrap>span,
.author-section-wrap>span,
.poll-wrap>span,
.signup-wrap>span {
  top: -10px;
}

.section-wrap>span h6,
.author-section-wrap>span h6,
.poll-wrap>span h6,
.signup-wrap>span h6,
.author-archive-header>span h6 {
  background-color: #fff;
  padding: 0 .25rem;
}

.author-home-wrap img,
.single-post-left img {
  border-radius: 50%;
}

.author-home-wrap {
  padding: 1rem;
}

.author-section-wrap .row:nth-of-type(even) {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

.author-archive-header {
  position: relative;
  border-bottom: 1px solid #ccc;
}

.author-archive-header span {
  position: absolute;
  bottom: -58px;
  display: flex;
  width: 100%;
  justify-content: center;
}

/* about us photo styles */
.author-figure {
  display: block;
}

.contact-photo {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  height: 400px;
}

/* single page styles */
.wp-post-image {
  width: 100%;
}

/* comments form */
.comment-metadata {
  font-size: .75rem;
  margin: .25rem 0;
  font-style: italic;
}

.comment-edit-link {
  font-weight: bold;
}

.comment-metadata a {
  color: #3A3A3A;
}

.reply {
  font-weight: bold;
  margin-bottom: 1rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: .5rem;
}

.reply a {
  color: #3a3a3a;
}

.comment-awaiting-moderation {
  font-size: .75rem;
  color: #ff0000;
  font-weight: bold;
}

.required {
  color: #ff0000;
  font-weight: bold;
}

.form-control, .wpcf7 input[type=text], .wpcf7 input[type=search], .wpcf7 input[type=url], .wpcf7 input[type=tel], .wpcf7 input[type=number], .wpcf7 input[type=range], .wpcf7 input[type=date], .wpcf7 input[type=month], .wpcf7 input[type=week], .wpcf7 input[type=time], .wpcf7 input[type=datetime], .wpcf7 input[type=datetime-local], .wpcf7 input[type=color], .wpcf7 input[type=email], .wpcf7 input[type=file], .wpcf7 input[type=submit], .wpcf7 select, .wpcf7 textarea, .wpcf7 .wpcf7-validation-errors {
  border-radius: 0;
}

.vcard {
  padding: 1rem 0;
}

.vcard .avatar-default {
  margin-right: .5rem;
}

/* poll styles */
.dem-poll-shortcode {
  margin: 1rem;
}

.poll-img {
  max-width: 38%;
}

.dem-copyright {
  display: none;
}

input[type="submit"].dem-button, a.dem-button, .dem-button {
  background-color: #76232F !important;
  border-color: #76232F !important;
  font-family: "Montserrat", sans-serif !important;
}

input[type="submit"].dem-button:hover, a.dem-button:hover, .dem-button:hover {
  background-color: #76232F !important;
  border-color: #76232F !important;
}

.three-right-column {}

.three-right-column p {
  border-left: 3px solid #76232f;
  padding-left: .5rem;
}

.three-right-column h5 a {
  color: #76232f;
  transition: all .32s ease-in-out;
}

.three-right-column h5 a:hover {
  text-decoration: none;
  color: #3176C2;
}

.video-modal {
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  width: 100%;
  height: 230px;
}

.video-modal::before {
  background-image: url("/wp-content/uploads/2019/10/playbtnOverlay.png");
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: rgba(0, 0, 0, .5);
  transition: all .32s ease-in-out;
}

.video-modal:hover::before {
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0);
}

.modal-content {
  background-color: transparent;
}

nav[aria-label="Page navigation"] {
  width: 100%;
}

.page-item a {
  border: none;
  color: #76232f;
  font-family: "Spectral", serif;
}

input#submit,
input[type="submit"] {
  transition: .32s ease-in-out;
  border: none;
}

input#submit:hover,
input[type="submit"]:hover {
  background-color: #3A3A3A;
  border-color: #3A3A3A;
  cursor: pointer;
}

.btn-author {
  border: 1.5px solid #3A3A3A;
  color: #3A3A3A;
  background-color: #fff;
  transition: .32s ease-in-out;
  border-radius: 3px;
}

.btn-author:hover {
  color: #fff;
  background-color: #3a3a3a;
  text-decoration: none;
}

.single-post-left h5 {
  color: #3a3a3a;
}

.card-body {
	min-height: 25em;
}

.page-item.active .page-link {
  background-color: #76232f;
  ;
  border-color: #76232f;
  ;
}

.page-link {
  border: none;
}

/* Comments form */
.menu-toggle, button, .ast-button, .button, input#submit, input[type="button"], input[type="submit"], input[type="reset"] {
  border-radius: 2px;
  padding: 10px 40px;
  color: #ffffff;
  border-color: #76232f;
  background-color: #76232f;
}

button:hover {
  cursor: pointer;
}

.comment-form-comment textarea {
  width: 100%;
  border-radius: 0;
  vertical-align: middle;
  margin-bottom: 10px;
  height: 200px;
  border: 1px solid #d6d6d6;
  padding: 1rem;
}

#wrapper-footer {}

#wrapper-footer .social_links a span i {
  color: #fff !important;
}

#wrapper-footer .social_links a:hover {
  text-decoration: none;
}

/*
RESPONSIVENESS
*/
@media (min-width: 768px) {
  .author-figure {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
  }

  .home-news-column {
    padding: 0 1rem;
  }

  .home-news a {
    left: 10px;
  }

  .navbar {
    border-bottom: none;
    top: 0;
  }

  .navbar .border-top {
    border-top: 1px solid #000;
  }

  .navbar-brand>img {
    max-width: 100%;
  }

  .navbar-nav {
    justify-content: space-evenly;
    padding: 0;
  }

  .navbar .container-fluid {
    flex-direction: column;
  }

  .navbar-header {
    width: 80%;
    position: inherit;
    border-bottom: none;
  }

  .border-bottom {
    border-bottom: 1px solid #000;
  }

  .gform_wrapper .gform_fields {
    margin-right: -5px;
    margin-left: -5px;
  }

  .three-right-column p {
    padding-left: 1rem;
  }

  .author-home-wrap {
    padding: 1.4rem 0;
    height: 59.7%;
  }

  /* custom col- spacing */
  .wrapper_video_section .col-md-4 {
    flex: 0 0 32.9%;
    width: 32.9%;
  }

  .cta-bottom .col-md-6 {
    flex: 0 0 49.5%;
    width: 49.5%;
  }

  .wp-post-image {
    width: auto;
  }
}

@media (min-width: 768px), and (max-width: 963px) {
  .home-news-column .card:first-child h4 a {
    font-size: 2.2rem;
  }

  .home-news-column .card:first-child {
    width: 99.89%;
  }

  .home-news-column .card:first-child,
  .home-news-column .card:nth-child(2),
  .home-news-column .card:nth-child(3) {
    height: 500px;
  }

  .home-news-column .card:nth-child(2),
  .home-news-column .card:nth-child(3) {
    width: 49.5%;
  }

  .home-news-column .card:not(first-child) {
    width: 32.7%;
  }
}

@media (min-width: 963px) {
  div[id*='ajaxsearchlite'].wpdreams_asl_container {
    width: 108% !important;
  }

  .home-news-column .card:not(first-child) {
    width: 32.8%;
  }
}

@media (min-width: 1271px) {
  .section-wrap {
    width: 32%;
    display: flex;
  }

  .section-wrap:nth-child(2)>div {
    display: flex;
    align-items: center;
    text-align: left;
  }

  .section-wrap:nth-child(2)>div img {
    max-width: 45%;
    margin: 1rem;
  }

  .section-wrap img {
    margin: 1rem;
  }

  .poll-bg {
    width: 100%;
    height: 10rem;
  }
}

@media only screen and (min-width: 1440px) {
  .wrapper {
    max-width: 1440px;
    /* large laptop */
    margin: auto;
  }

  .wrapper-fluid {
    max-width: 100%;
  }

  .navbar-nav {
    width: 64%;
  }

  .poll-bg {
    width: 27%;
    height: 24rem;
  }
}

@media (min-width: 1455px) {
  .home-news-column {
    padding: 0;
  }
}

@media only screen and (max-width: 1140px) {
  .mobile-fix {
    flex-wrap: wrap !important
  }
}

@media only screen and (max-width: 1199px) {
  .wrapper-navbar {}
}

@media only screen and (max-width: 991px) {
  .wrapper-navbar {}

  .mobile-fix {
    padding: 0 !important;
  }
}

@media only screen and (max-width: 767px) {
  .anim, .anim_left, .anim_right, .anim_up {
    opacity: 1 !important;
  }
  .navbar-expand-md .navbar-nav .nav-link {
    padding-right: .2rem;
    padding-left: .2rem;
}
}

@media only screen and (max-width: 575px) {
  .search-social-wrap {
    padding: 0 !important;
  }
}

@media (min-width: 768px), and (max-width: 1600px) {
  .author-home-wrap {
    border: none;
  }
}

@media (min-width: 1600px) {
  .author-home-wrap {
    border: 1px solid #ccc;
  }
}