/**
Theme Name: YMCA 2022
Author: Indesign Web
Author URI: https://indesignweb.com
Description: YMCA 2022 Astra Child Theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ymca-2022
Template: astra
*/
/* hide scrollbar but allow scrolling */
html {
    -ms-overflow-style: none; /* for Internet Explorer, Edge */
    scrollbar-width: none; /* for Firefox */
    overflow-y: scroll; 
}

html::-webkit-scrollbar {
    display: none; /* for Chrome, Safari, and Opera */
}

html,body {
width:100%;
overflow-x:hidden;
}
.entry-content ul li, .entry-content ol li{margin-bottom:10px;}

.ast-above-header-wrap .menu-item {border-right:1px solid #333!important;}

.responsive-container{
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
  min-height:800px;
}

.responsive-iframe{
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.submenu-with-border .sub-menu .sub-menu {
  top: 0px!important;
}

.sub-menu .current-menu-parent {background-color:#0170b9!important;}

.main-header-bar {
  border-bottom-width: 0px!important;
}

.ast-header-search .astra-search-icon{padding: 0 5px 0 0;}

.site input, .site textarea, .site select {font-size:16px!important;}

.ast-icon.icon-arrow svg {margin-left:6px}

#gtranslate_selector {
    font-size: 12px!important;
    background: #111;
    color: #fff;
    border: none;
    height: auto;
    width: 95px;
    min-width: auto;}

.page .entry-header,.post .entry-header{
  margin-top: 1.3em;
}
  
.fl-builder .entry-content {
margin-bottom: 0em!important;
}

.page .entry-content {
 margin-bottom: 2.5em;
 overflow-x:auto;
}

.ast-archive-description{margin-bottom:10px!important;padding-bottom:5px!important;}

input, textarea, select, button, a{
  outline: 0!important;}

button, html input[type="button"], input[type="reset"], input[type="submit"] {
  margin-bottom: 5px;
}


h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: CachetBoldRegular,Verdana,Arial!important;
  font-weight: 300!important;
}


h1 a:link,
h2 a:link,
h3 a:link { text-decoration: none!important; }

.widget-title {
  font-size: 21px!important;
  font-size: 1.4rem!important;
}

.ast-single-post .entry-title, .page-title {
  font-family: CachetBoldRegular,Verdana,Arial!important;
  font-weight: 300!important;
  font-size: calc(16px + 1.3 vw);
  text-transform:uppercase!important;
}

.blog .entry-title, .blog .entry-title a, .archive .entry-title, .archive .entry-title a, .search .entry-title, .search .entry-title a{
  font-family: CachetBoldRegular,Verdana,Arial!important;
  font-weight: 300!important;
  /*font-size: calc(16px + 2vw);*/
  text-transform:uppercase!important;}

.main-header-menu > .menu-item > .menu-link, #astra-footer-menu > .menu-item > .menu-link {
  font-family: CachetBoldRegular,Verdana,Arial;
  font-weight: 300!important;
}

.menu-text {
  font-family: CachetBoldRegular,Verdana,Arial;
  font-weight: 300!important;
}

.ast-right-sidebar #primary,.ast-right-sidebar #secondary{border:none!important;}

.ast-right-sidebar #secondary {padding-left: 35px;}

.hentry {margin: 0 0 1em;}

.fl-module-content a, .fl-module-content a:hover, .fl-module-content a:focus {
  text-decoration: none!important;
}

.fl-callout-photo-left .fl-callout-content, .fl-callout-photo-left-text .fl-callout-text-wrap{vertical-align:top;}

.fl-rich-text .list-spacing li {margin-bottom:10px;}



/* New button styles */

a.button{text-decoration:none!important;
display:inline-block;
}

a.button,
.wpforms-form button,
.wpforms-form input[type=submit], 
.wpforms-form button[type=submit] {
    padding: 12px 24px !important;
    width: auto !important;
    font-size: 1.2em !important;
  font-weight:800;
  text-transform:uppercase!important;
    background-color: #0060AF !important;
    color: #fff !important;
    border-radius: 5px !important; 
}
 
/* New button hover styles */
a.button:hover,
.wpforms-form button:hover,
.wpforms-form input[type=submit]:hover, 
.wpforms-form input[type=submit]:active, 
.wpforms-form button[type=submit]:hover, 
.wpforms-form button[type=submit]:active, 
.wpforms-form .wpforms-page-button:hover, 
.wpforms-form .wpforms-page-button:active {
    background-color: #0089D0 !important;
}

.wpforms-confirmation-container-full, div[submit-success] > .wpforms-confirmation-container-full:not(.wpforms-redirection-message) {
  background: #01A490;
  border: 1px solid #01A490;
  border-radius:5px!important;
  color:#fff!important;
}


.secondary a *, .site-footer a *, .site-header a *, a{
    transition: 0s!important;
}

.search-results .site-content .ast-container, .single-post .site-content .ast-container, .archive .site-content .ast-container {padding: 20px 30px !important;
max-width:1200px;
}
.single .post-navigation {padding: 1.5em!important;}

.ast-plain-container.ast-no-sidebar #primary {
    margin-top: 0!important;
    margin-bottom: 0!important;
}

.ast-separate-container .ast-article-single{
	padding: 15px 30px!important;
}
.ast-separate-container .site-content .ast-container{
  max-width:1200px;
}
.ast-separate-container{background-color:#fff;}

.search-results .site-content .ast-container .content-area {
padding: 5px!important;
}

.search-results .ast-archive-title span {color:#777;}

.search-results .hentry {padding-bottom:0.8em!important}

.search-results .entry-header {
  margin-top: 0.5em;
}
.read-more .ast-button {float:none;display:inline-block;clear:both;}


.ast-left-sidebar #primary, .ast-right-sidebar #primary, .ast-separate-container.ast-right-sidebar #primary, .ast-separate-container.ast-left-sidebar #primary, .ast-separate-container #primary{
  margin:0px!important;
  padding:0px!important;
}
#secondary {
  margin:1.3em 0 2.5em!important;
}
.archive .post-thumb,.search .post-thumb{float:none!important;}

.widget_recent_entries li, .rpwwt-widget li, .wpra-item {margin-bottom:15px!important;
line-height: 1.3em;
}
.category-jobs .entry-meta{display:none!important;visibility:hidden!important;height:10px!important;}

@media only screen and (max-width:1072px) {
 .ast-builder-menu-1 .menu-item > .menu-link, #ast-hf-menu-2 .menu-item > .menu-link {font-size:13px!important;}
 .ast-builder-menu-1 .main-header-menu {margin-right:35px!important;}
}

@media only screen and (max-width:1031px) {

.ast-separate-container.ast-right-sidebar #primary, .ast-separate-container.ast-left-sidebar #primary, .ast-separate-container #primary, .ast-plain-container #primary {margin-top: 0em;margin-bottom: 0em;}
#primary, #secondary {padding: 0em 0;}

.ast-left-sidebar #primary, .ast-right-sidebar #primary, .ast-separate-container.ast-right-sidebar #primary, .ast-separate-container.ast-left-sidebar #primary, .ast-separate-container #primary {
    padding-left: 0em;
    padding-right: 0em;
}
  #secondary,.hentry{padding-bottom:4em}
	
.main-header-bar.ast-header-breadcrumb{padding-top:10px!important;padding-bottom:10px!important;}		
	
}


@media only screen and (max-width:768px) {
 .fl-slide-cta-button .fl-button-wrap {
  text-align:center!important
 }
 .fl-row-fixed-width {
  max-width:100%!important
 }
.fl-col-small:not(.fl-col-small-full-width) {max-width: 100%;}
.ast-right-sidebar #secondary {padding-left:0px;}

}

@media only screen and (max-width:544px) {
  .site-footer-primary-section-1 {margin-bottom:0px!important;}
}