
/**
Theme Name: Astra-Child
Template: astra
*/



/* force anchor tag containing header site logo to expand to logo dimensions */
span.site-logo-img a.custom-logo-link {
  display: inline-block;
}


/* mobile menu in header styles */
#ast-hf-mobile-menu li a {
  padding-top: 2px;
  padding-bottom: 2px;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
}
#ast-mobile-header .ast-button-wrap button.menu-toggle:focus {
  outline: none;
  border: none;
}
[data-section="section-header-mobile-trigger"] .ast-button-wrap span.mobile-menu-toggle-icon svg.ast-mobile-svg.ast-menu2-svg {
  transition: all 0.3s ease;
}
[data-section="section-header-mobile-trigger"] .ast-button-wrap span.mobile-menu-toggle-icon svg.ast-mobile-svg.ast-menu2-svg:hover {
  fill: #F19B2A;
}
[data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg.ast-close-svg {
  fill: #F19B2A;
}
/* make mobile header not take up space so it doesn't push down content when opening */
div.ast-mobile-header-content {
  position: relative;
}
div.ast-builder-menu-mobile {
  position: absolute;
}


/* main footer middle section styles */

/* override side padding within footer center column */
.ast-builder-footer-grid-columns.ast-builder-grid-row {
  grid-column-gap: 0;
}
/* add some padding for mobile footer since gaps were removed */
@media only screen and (max-width: 544px) {
  .ast-builder-footer-grid-columns.ast-builder-grid-row {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* mail chimp footer form additional styles */
form#mc4wp-form-1 input[type="email"] {
  min-width: 240px;
}
form#mc4wp-form-1 input[type="submit"]:hover {
  transition: all 0.3s ease;
  background-color: #C4D5A0;
  border-color: #C4D5A0;
}

/* custom social icons in footer styles */
div.social-icons-wrapper {
  box-sizing: border-box;
  column-gap: 25px;
  display: flex;
  flex-direction: row;
  height: 36px;
  justify-content: center;
  justify-items: center;
  line-height: 0px;
  margin-bottom: 0px;
  text-align: center;
}

.social-icons-wrapper > .listitem {
  box-sizing: border-box;
  display: inline-block;
  text-align: center;
  height: 36px;
  width: 36px;
}

.listitem > .sociallink {
  align-items: center;
  border-bottom-left-radius: 10%;
  border-bottom-right-radius: 10%;
  border-top-left-radius: 10%;
  border-top-right-radius: 10%;
  box-shadow: none;
  display: inline-flex;
  height: 36px;
  width: 36px;
  line-height: 36px;
  opacity: 1;
  transition: all 0.3s ease;
  outline: none;
}

.listitem > .sociallink:hover {
  opacity: .80;
}

.sociallink > .socialtitle {
  box-sizing: border-box;
  height: 1px;
  position: absolute;
  width: 1px;
  clip: rect(0px, 0px, 0px, 0px);
  margin: -1px;
  overflow: hidden;
  padding: 0px;
  border-width: 0px;
  top: 0px;
}

.sociallink > .fa-solid {
  display: inline-block;
  height: 36px;
  font-size: 36px;
  width: 36px;
  line-height: 36px;
  text-align: center;
}

.sociallink > .fa-solid::before{
  color: #FFFFFF;
  font-family: "Font Awesome 7 Brands";
  height: 36px;
  font-size: 36px;
  width: 36px;
  line-height: 36px;
  display: inline-block;
  text-align: center;
}



/* social icons in footer mobile styles */
@media only screen and (max-width: 767px) {
    
  div.social-icons-wrapper {
    column-gap: 18px;
    height: 28px;
  }

  .social-icons-wrapper > .listitem {
    height: 28px;
    width: 28px;
  }

  .listitem > .sociallink {
    height: 28px;
    width: 28px;
    line-height: 28px;
  }

  .sociallink > .fa-solid {
    height: 28px;
    font-size: 28px;
    width: 28px;
    line-height: 28px;
  }

  .sociallink > .fa-solid::before{
    height: 28px;
    font-size: 28px;
    width: 28px;
    line-height: 28px;
  }
}


.fa-twitch::before {
  content: "\f1e8";
}

.fa-instagram::before {
  content: "\f16d";
}

.fa-youtube::before {
  content: "\f167";
}

.fa-apple::before {
  content: "\f179";
}

.fa-spotify::before {
  content: "\f1bc";
}

.fa-tiktok::before {
  content: "\e07b";
}



/* lower footer section sytles */
.ast-footer-copyright p {
  font-size: 15px;
  line-height: 15px;
  padding-top: 6px;
}
.site-below-footer-wrap[data-section="section-below-footer-builder"] {
    min-height: 50px;
}
.site-below-footer-wrap[data-section="section-below-footer-builder"] .ast-builder-grid-row {
  min-height: 50px;
}






/* Contact Page Form styles */

/* add padding on both sides of form for desktop only */
@media only screen and (min-width: 545px) {
  #wpforms-1103 {
    padding-left: 30px;
    padding-right: 30px;
  }
}

/* decrease margin left of input fields on desktop */
@media only screen and (min-width: 601px) {
  div.wpforms-container .wpforms-form .wpforms-one-half {
    margin-left: 15px;
    width: calc(50% - 7.5px);
  }
}

/* targeted styles for only first and last name input containers to decrease padding between using custom class first-last-contact */
div.wpforms-container .wpforms-form .first-last-contact .wpforms-one-half {
  padding: 0;
  width: calc(50% - 7.5px);
}

/* decrease margin between half fields (wpforms-first may not be necessary due to "important" rule */
div.wpforms-container .wpforms-form .first-last-contact .wpforms-one-half:not(.wpforms-first) {
  margin-left: 15px;
}

/* decrease space above and below by half by removing from bottom */
.wpforms-container .wpforms-field {
    padding-bottom: 0px;
}

div.wpforms-container.wpforms-container-full .wpforms-field input[type=text], div.wpforms-container.wpforms-container-full .wpforms-field input[type=email],
div.wpforms-container.wpforms-container-full .wpforms-field textarea {
  background-color: rgba(99, 115, 129, 0.06);
  border-color: rgba(99, 115, 129, 0.06);
  box-sizing: border-box;
  font-size: 15px;
  height: 54px;
  line-height: 15px;
}

div.wpforms-container.wpforms-container-full .wpforms-field textarea {
  height: 174px;
  line-height: 20px;
}

/* override the input border color on focus */
div.wpforms-container.wpforms-container-full .wpforms-field input[type=text]:focus, div.wpforms-container.wpforms-container-full .wpforms-field input[type=email]:focus,
div.wpforms-container.wpforms-container-full .wpforms-field textarea:focus {
  border-color: rgba(99, 115, 129, 0.06);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1);
  outline: 0;
}

/* hide the number of current characters and max characters submenu for phone input */
div.wpforms-container.wpforms-container-full .wpforms-field .wpforms-field-limit-text {
  display:none;
}

/* form submit button styles */
div.wpforms-container.wpforms-container-full .wpforms-submit-container {
  text-align: center;
}
div.wpforms-container.wpforms-container-full .wpforms-submit-container button[type=submit] {
  background-color: #F19B2A;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  height: 56px;
  line-height: 24px;
  letter-spacing: 1.3px;
  width: 100%;
  transition: all 0.3s ease;
}
div.wpforms-container.wpforms-container-full .wpforms-submit-container button[type=submit]:hover {
  background-color: #C4D5A0;
}
div.wpforms-container.wpforms-container-full .wpforms-confirmation-container-full {
  background-color: #C4D5A0;
}




/* Latest News Widget */

ul.wp-block-latest-posts__list.wp-block-latest-posts li {
  padding-top: 14px;
  padding-bottom: 80px;
  border-color: #E9E9E9;
  border-width: 1px;
  border-style: solid;
  border-radius: 0px;
  position: relative;
}

ul.wp-block-latest-posts__list.wp-block-latest-posts li .wp-block-latest-posts__post-title,
ul.wp-block-latest-posts__list.wp-block-latest-posts li .wp-block-latest-posts__post-date,
ul.wp-block-latest-posts__list.wp-block-latest-posts li .wp-block-latest-posts__post-excerpt {
  padding-left: 24px;
  padding-right: 24px;
}

ul.wp-block-latest-posts__list.wp-block-latest-posts li .wp-block-latest-posts__post-title {
  font-size: 21px;
  font-weight: 500;
  line-height: 30px;
  box-sizing: unset;
  padding-top: 30px;
  padding-bottom: 10px;
  display: inline-block;
  outline: none;
}

ul.wp-block-latest-posts__list.wp-block-latest-posts li .wp-block-latest-posts__post-date {
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  color: #adadad;
  padding-bottom: 10px;
  position: absolute;
  left: 0px;
  bottom: 14px;
}

ul.wp-block-latest-posts__list.wp-block-latest-posts li .wp-block-latest-posts__post-excerpt {
  font-size: 16px;
  font-weight: 400;
  color: #777777;
  line-height: 24px;
  padding-bottom: 25px;
  position: relative;
}

ul.wp-block-latest-posts__list.wp-block-latest-posts li .wp-block-latest-posts__post-excerpt .wp-block-latest-posts__read-more,
ul.wp-block-latest-posts__list.wp-block-latest-posts li .wp-block-latest-posts__post-excerpt .wp-block-latest-posts__read-more:visited {
  font-size: 15px;
  text-transform: uppercase;
  color: #0170B9;
  font-weight: 600;
  display: block;
  position: absolute;
  /* bottom: 70px */
  bottom: -25px;
  transition: all 0.3s ease;
  outline: none;
}

ul.wp-block-latest-posts__list.wp-block-latest-posts li .wp-block-latest-posts__post-excerpt .wp-block-latest-posts__read-more:hover,
ul.wp-block-latest-posts__list.wp-block-latest-posts li .wp-block-latest-posts__post-excerpt .wp-block-latest-posts__read-more:active {
  color: #F19B2A;
  text-decoration: #F19B2A;
}

ul.wp-block-latest-posts__list.wp-block-latest-posts li .wp-block-latest-posts__post-excerpt .wp-block-latest-posts__read-more::after {
  content: " »";
}




/* recent posts widget, set default right and bottom margin on each post tile to about 30px instead of 17px */
ul.wp-block-latest-posts.is-grid li {
  /* margin: 0 1.25em 1.25em 0; */
  margin: 0 2em 2em 0;
}

/* recent posts widget, set right margin single column of post tiles to 0 when on mobile */
@media only screen and (max-width: 767px) {
  ul.wp-block-latest-posts.columns-3 li {
    margin-right: 0;
  }
  ul.wp-block-latest-posts.columns-3 li {
    width: 100%;
  }
}

/* recent posts widget, set right margin single column of each 2nd post tile to 0 when on mobile/tablet with 2 columns */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  ul.wp-block-latest-posts.columns-3 li:nth-child(2n) {
    margin-right: 0;
  }
  ul.wp-block-latest-posts.columns-3 li {
    width: calc(50% - 1em);
  }
}

/* recent posts widget, set right margin single column of each 3rd post tile to 0 when on desktop with 3 columns */
@media only screen and (min-width: 1025px) {
  ul.wp-block-latest-posts.columns-3 li:nth-child(3n) {
    margin-right: 0;
  }
  ul.wp-block-latest-posts.columns-3 li {
    /* width: calc(33.33333% - .83333em); */
    width: calc(33.33333% - 1.35em);
  }
}



/* Post template styles */

/* set default post header styles */
header.entry-header .entry-title {
  font-weight: 500;
  font-size: 36px;
}

/* making full-width images in posts to stay within content padding, prevent auto negative margin behavior */
body.ast-no-sidebar.ast-separate-container div.entry-content figure.wp-block-image.alignfull.size-full {
  margin-left: 0px;
  margin-right: 0px;
}

/* anchor links in a post, color */
.ast-post-format- .entry-content p a, .ast-post-format- .entry-content p a:visited {
  color: #0170b9;
  transition: all 0.3s ease;
  outline: none;
}

/* anchor links in a post, changing color on hover and click */
.ast-post-format- .entry-content p a:hover, .ast-post-format- .entry-content p a:active {
  color: #F19B2A;
  text-decoration: #F19B2A;
}

/* navigation at bottom of a post to navigate between previous and next post */
.post-template-default .navigation.post-navigation {
  display: none;
}

@media only screen and (max-width: 767px) {
  /* post template content padding for mobile */
 .post-template-default .site .site-content #primary article.ast-article-single {
    padding-left: 20px;
    padding-right: 20px;
  }
  /* set default post header styles for mobile */
  header.entry-header .entry-title {
    font-size: 28px;
  }
  .post-template-default .entry-content p.meta-post-paragraph {
    font-size: 17px !important;
  }
}

/* post template content padding for tablet */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .post-template-default .site .site-content #primary article.ast-article-single {
    padding-left: 50px;
    padding-right: 50px;
  }
}





/* Page template styles */

/* anchor links in a page, color */
.page-template-default .entry-content p a, .page-template-default .entry-content p a:visited {
  color: #0170b9;
  transition: all 0.3s ease;
  outline: none;
}

/* anchor links in a page, changing color on hover and click */
.page-template-default .entry-content p a:hover, .page-template-default .entry-content p a:active {
  color: #F19B2A;
  text-decoration: #F19B2A;
}

/* making full-width images in posts to stay within content padding, prevent auto negative margin behavior */
.page-template-default.ast-no-sidebar div.entry-content figure.wp-block-image.alignfull.size-full {
  margin-left: 0px;
  margin-right: 0px;
  width: auto;
}

/* View All Videos link on home page, override global anchor tag styles */
p.view-all-videos-container {
  color: #0E0E0E;
  width: 200px;
}
p.view-all-videos-container a, p.view-all-videos-container a:visited {
  color: #0E0E0E !important;
  outline: none;
  padding-bottom: 30px;
}
p.view-all-videos-container:hover {
  border-color: #ffe39c;
  transition: all 0.3s ease;
}



/* force smaller headings and spacers for mobile */
@media only screen and (max-width: 767px) {
  .entry-content .spacer-50 {
    height: 36px !important;
  }
  .entry-content .spacer-100 {
    height: 54px !important;
  }
  .entry-content .mid-page-heading {
    font-size: 38px !important;
  }
  .entry-content .top-page-heading {
    font-size: 44px !important;
  }
  .view-all-videos-container a {
    font-size: 18px !important;
  }
}










