/*
 Theme Name:   BBJ YMCA Custom Divi Child Theme
 Description:  Custom Divi child theme developed for Barbara B. Jordan YMCA.
 Author:       Tom Greer - TRG Web Designs
 Template:     Divi
*/

@import url("../Divi/style.css");

/* =Theme customization starts here
-------------------------------------------------------------- */


/* Breadcrumbs */

#breadcrumbs {
    margin-left: 10%;
    font-family: sans-serif;
    font-size: 10pt;
    margin-top: 5px;
}

#breadcrumbs a {
    color: #333;
}

.home #breadcrumbs {
    display: none;
}


/* Dark layouts */

.et_pb_bg_layout_dark a {
    color: #ffcf6f;
}


/* Divi Top Section */

.et_pb_section_0 {
    padding-top: 0 !important;
}


/* Calendar on home page */

.home .fc-view-container {
    color: #231f20;
    font-size: 12pt;
}

.home .eo-fullcalendar th.fc-day-header {
    background-color: #006b6b;
    color: #fff;
    border-color: #006b6b;
}

.home .fc-unthemed .fc-popover,
.home .fc-unthemed .fc-row,
.home .fc-unthemed hr,
.home .fc-unthemed tbody,
.home .fc-unthemed td,
.home .fc-unthemed th,
.home .fc-unthemed thead {
    border-color: #006b6b;
}

.home .fc-row .fc-content-skeleton td,
.home .fc-row .fc-helper-skeleton td {
    border-right: 1px solid;
}

.home .eo-fullcalendar-reset.fc-unthemed .fc-today {
    background-color: #c3f5ee;
}

.home a.fc-event {
    background-color: #f47920 !important;
    border: none;
    padding: 5px;
}

.home .fc button {
    background-color: #006b6b;
    color: #fff;
    height: 1.5em;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}


/* Change color of hamburger menu */

span.mobile_menu_bar:before {
    color: #fff !important;
}


/* Footer */

#footer-bottom {
    padding-left: 5%;
    padding-right: 5%;
}

#footer-info {
    float: right;
}

#footer-map {
    color: #231f20;
    line-height: 1.3;
}

.footer-widget .et_pb_widget a {
    color: #ffcf6f;
}

.wpgmza_widget {
    width: 100%;
    color: #231f20;
    line-height: 1.3;
}

.footer-widget h3,
.footer-widget h4,
.footer-widget h5 {
    color: #00aeef;
}

.search-no-results .footer-widget {
    width: 31.333%;
    margin-bottom: 33px;
}


/* Install custom fonts */

@font-face {
    font-family: 'Cachet-Bold';
    src: url(Cachet-Bold.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Cachet-Medium';
    src: url(Cachet-Medium.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Cachet-Book';
    src: url(Cachet-Book.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
}


/* Shrink picture on grids to allow border to be seen */

.et_pb_image_container img,
.trg-card img {
    margin: 1px 1px 0 1px;
    width: calc(100% - 2px);
    ;
}


/* Masonry grid for programs */

.masonry {
    /*    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    -webkit-column-gap: 1em;
    -moz-column-gap: 1em;
    column-gap: 1em;
*/
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

.masonry article {
    background-color: #eee;
    display: inline-block;
    margin: 0 0 1em;
    /*    width: 100%; */
    padding: 19px;
    margin: 1%;
    width: 31%;
    border: 1px solid #d8d8d8;
    background-color: #fff;
    word-wrap: break-word;
    color: #666;
    font-size: 11pt;
    line-height: 1.5em;
}

.masonry h2 {
    margin-top: 19px;
    font-size: 18px;
}

.masonry .post-meta {
    display: none;
}

.masonry p.trg-no-results {
    display: table;
}


/* Footer */

#footer-bottom .container {
    max-width: 97%;
    width: 97%;
}

#copyright {
    float: right;
    color: #aaa;
}

#footer-info {
    float: left;
}

#footer-bottom .et-social-icons {
    float: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}


/* Main content */

#main-content .container {
    padding-top: 10px;
}


/* Format headers to use the custom font */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cachet-Bold', 'Verdana', sans-serif;
}


/* Format bullets and numbered lists */

#left-area ul,
.entry-content ul,
.comment-content ul,
body.et-pb-preview #main-content .container ul {
    margin-left: 20px;
    line-height: 1.6em;
    padding-bottom: 0;
}

#left-area ol,
.entry-content ol,
.comment-content ol,
body.et-pb-preview #main-content .container ol {
    list-style-position: outside;
    margin-left: 35px;
    line-height: 1.6em;
}

#left-area li,
.entry-content li,
.comment-content li,
body.et-pb-preview #main-content .container li {
    padding-bottom: 0.5em;
}


/* Buttons */

.et_pb_button {
    color: #fff !important;
    border-color: #fff !important;
    font-family: 'Cachet-Medium', 'Verdana', sans-serif;
}

.et_pb_contact_right {
    /*	color:#fff; */
}


/* Hyperlink hover effect - but not on buttons */

a:hover {
    opacity: 0.7;
}

.et_pb_button:hover {
    opacity: 1;
}


/* Left sidebar on program pages */

.post-type-archive-ymca_program #sidebar,
.single-ymca_program #sidebar,
.tax-program_city #sidebar,
.tax-program_type #sidebar,
.tax-program_demographic #sidebar {
    padding-left: 0;
    padding-right: 30px;
}

.post-type-archive-ymca_program #left-area,
.single-ymca_program #left-area,
.tax-program_city #left-area,
.tax-program_type #left-area,
.tax-program_demographic #left-area {
    padding-left: 0;
}

@media (min-width: 981px) {
    .post-type-archive-ymca_program #main-content .container:before,
    .single-ymca_program #main-content .container:before,
    .tax-program_city #main-content .container:before,
    .tax-program_type #main-content .container:before,
    .tax-program_demographic #main-content .container:before {
        left: 20.875%;
    }
}


/* Sidebar */

#sidebar h1,
#sidebar h2,
#sidebar h3,
#sidebar h4,
#sidebar h5,
#sidebar h6 {
    font-family: "Verdana", sans-serif;
    line-height: 25px;
}


/* Hide vertical shadow between content and sidebar */

.container:before {
    background-color: transparent !important;
}

.et_pb_widget_area_right {
    border-left: 0 !important;
}

.et_pb_widget_area_left {
    border-right: 0 !important;
}


/* Membership Sidebar Menu */

#membership-sidebar .widget_nav_menu,
#getinvolved-sidebar .widget_nav_menu,
#about-sidebar .widget_nav_menu {
    background-color: #0060af;
    padding: 10px 0 0;
    border-radius: 5px;
    color: #fff;
}

#membership-sidebar .widget_nav_menu h4,
#getinvolved-sidebar .widget_nav_menu h4,
#about-sidebar .widget_nav_menu h4 {
    color: #fff;
    padding: 5px 10px 10px;
}

#membership-sidebar .widget_nav_menu ul,
#getinvolved-sidebar .widget_nav_menu ul,
#about-sidebar .widget_nav_menu ul {
    margin-left: 10px;
}

#membership-sidebar .widget_nav_menu li,
#getinvolved-sidebar .widget_nav_menu li,
#about-sidebar .widget_nav_menu li {
    border-top: 1px dotted #003A6B;
    padding: 5px 0 0;
}

#membership-sidebar .widget_nav_menu li a,
#getinvolved-sidebar .widget_nav_menu li a,
#about-sidebar .widget_nav_menu li a {
    color: #fff;
    font-size: 15px;
}


/* Browse Programs Widget */

#text-5 {
    background-color: #0060af;
    padding: 10px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    color: #fff;
}

#text-5 h4 {
    color: #fff;
}

.searchandfilter li.sf-field-taxonomy-program_demographic,
.searchandfilter li.sf-field-taxonomy-program_type,
.searchandfilter li.sf-field-taxonomy-program_city {
    background-color: #00aeef;
    font-size: 14px;
    line-height: 1;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    padding: 5px;
    border: 1px solid #00aeef;
}

.searchandfilter li.sf-field-taxonomy-program_demographic ul li,
.searchandfilter li.sf-field-taxonomy-program_type ul li,
.searchandfilter li.sf-field-taxonomy-program_city ul li {
    padding: 0;
}

.searchandfilter li.sf-field-search label {
    width: 100%;
    padding: 0 6px;
    font: inherit;
}

.searchandfilter li.sf-field-search .sf-input-text {
    width: 100%;
    line-height: 2.5em;
    border-radius: 5px;
    padding: 0 1.2em;
    font: inherit;
    font-size: 14px;
}

.searchandfilter li.sf-field-search {
    padding: 0;
}

#search-filter-form-27199.searchandfilter ul li.sf-field-reset {
    padding: 0;
}

#search-filter-form-27199.searchandfilter ul li.sf-field-reset input.search-filter-reset {
    background-color: #0089d0;
    color: #fff;
    line-height: 2.0em;
    border-radius: 5px;
    width: 100%;
    color: #fff !important;
    border-color: #fff !important;
    font-family: 'Cachet-Medium', 'Verdana', sans-serif;
    font-size: 18px;
    border: none;
}

#search-filter-form-27199.searchandfilter ul li.sf-field-reset input.search-filter-reset:hover {
    opacity: 0.8;
}

#search-filter-form-27199.searchandfilter ul li label {
    width: 100%;
}

#search-filter-form-27199.searchandfilter ul li label select.sf-input-select {
    width: 100%;
    min-width: 100%;
    font: inherit;
    background-color: #fff;
    border: none;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    display: inline-block;
    line-height: 1.5em;
    padding: 0.5em 3.5em 0.5em 1em;
    height: auto;
    margin: 0;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%), linear-gradient(to right, #0089d0, #0089d0);
    background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px), 100% 0;
    background-size: 5px 5px, 5px 5px, 2.5em 2.5em;
    background-repeat: no-repeat;
}


/* Business name in header */

.trg_business_name {
    color: #fff;
    display: inline-block;
    margin-left: 25px;
    font-size: 20pt;
    font-family: 'Cachet-Bold', 'Verdana', sans-serif;
    vertical-align: middle;
}


/* Move navigation menu to the bottom of header */

.et_header_style_left #et-top-navigation nav>ul>li>a,
.et_header_style_split #et-top-navigation nav>ul>li>a {
    padding-bottom: 25px !important;
}

#top-menu-nav {
    padding-top: 25px;
}

#et_top_search {
    margin-top: 25px;
}

#top-menu li li a {
    padding: 6px 10px;
}


/* Move the secondary menu down over the rest of the header */

#top-header,
#et-secondary-nav {
    background-color: transparent;
}

#top-header {
    height: 0;
    line-height: 0;
}


/* Fix the search box due to wide logo and name */

.et-search-form input {
    background-color: #00aeef;
    padding: 10px;
    width: 50%;
}

.et-search-field {
    font-weight: 600;
}


/* Secondary Menu Items */

#et-secondary-nav li.menu-item-26792 {
    /* Join */
    background-color: #ed1c24;
    padding: 6px 8px 0;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

#et-secondary-nav li.menu-item-26793 {
    /* Give */
    background-color: #f47920;
    padding: 6px 8px 0;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

#et-secondary-nav li.menu-item-26791 {
    /* Sign In */
    background-color: #01a490;
    padding: 6px 8px 0;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}


/* Program Category page */

.trg_program_category {
    padding-bottom: 20px;
}


/* Daxko Integration */

.daxko-iframe-container {
    /*	position: relative; */
    width: 100%;
    min-height: 200px;
    /*	z-index:10; */
    border: 1px solid #d1d1d1;
}

.daxko-iframe-note {
    color: #666;
    font-size: 10pt;
    line-height: 1em;
    margin-bottom: 10px;
    text-align: center;
}

.daxko-cookie-note {
    font-size: 10pt;
    font-weight: 300;
    margin-top: 9px;
    line-height: 1em;
    color: #666;
    text-align: center;
}


/* Forms */

.wpcf7-textarea {
    width: 100%;
}

.wpcf7-text {
    width: 50%;
}

.wpcf7-text,
.wpcf7-textarea,
.wpcf7-captchar,
.job-apply-table input,
.job-apply-table textarea {
    background-color: #eee !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 14px;
    color: #3a3a3a !important;
    padding: 8px !important;
    box-sizing: border-box;
}

input.wpcf7-form-control.wpcf7-file.wpcf7-validates-as-required {
    font-size: inherit;
}

div.wpcf7-mail-sent-ok {
    border: none;
}


/* Share Yout Y story, Personal Fitness and Wellness Coaching Forms */

#wpcf7-f26830-p26831-o1,
#wpcf7-f27306-p27301-o1,
#wpcf7-f27334-p27337-o1 {
    background-color: #5c2e91;
    color: #fff;
    padding: 1px 20px;
    margin-top: 10px;
    border-radius: 8px;
}

#wpcf7-f26830-p26831-o1 h2,
#wpcf7-f27306-p27301-o1 h2,
#wpcf7-f27334-p27337-o1 h2 {
    color: #fff;
    margin-top: 30px;
}


/* Building Hours */

.building-hours #trg-business-hours>table {
    max-width: 500px;
}

.building-hours #trg-business-hours>table td {
    padding: 6px 8px;
}


/* Event Widget */

#eo_events_agenda_widget-2 {
    background-color: #01a490;
    color: #fff;
}

#eo_events_agenda_widget-2 h4 {
    color: #fff;
    padding: 5px;
}

.eo-agenda-widget li.event {
    font-size: 10pt;
    background-color: #49BCAC !important;
    color: #fff !important;
    opacity: 1 !important;
}

.eo-agenda-widget li.event:hover {
    background-color: #3AB5A4 !important;
}

.eo-agenda-widget li.date {
    font-size: 12pt;
    padding: 10px 5px !important;
}

.eo-agenda-widget .eo-agenda-widget-nav {
    display: none;
}


/* Event Board Widget */

#sidebar .eo-event-board-items .eo-eb-event-box {
    margin: 15px 0 !important;
    width: 100% !important;
}

#sidebar .eo-event-board-items .eo-eb-event-title a {
    font-family: Cachet-Book;
    font-size: 20px;
    font-weight: 500;
}

#sidebar .eo-event-board-items .eo-eb-date-month {
    background-color: #dd5828;
}

#sidebar .eo-event-board-items .eo-eb-date-day {
    background: #f47920;
    color: #fff;
}


/* Pool Schedule Table */

.tg {
    border-collapse: collapse;
    border-spacing: 0;
}

.tg tbody {
    width: 100%;
}

.tg td {
    font-family: Arial, sans-serif;
    font-size: 14px;
    padding: 10px 5px !important;
    border-style: solid;
    border-width: 1px;
    overflow: hidden;
    word-break: normal;
    text-align: center;
}

.tg th {
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: normal;
    padding: 10px 5px !important;
    border-style: solid;
    border-width: 1px;
    overflow: hidden;
    word-break: normal;
    text-align: center;
}

.tg .tg-baqh {
    text-align: center;
    vertical-align: top
}

.tg .tg-4jb6 {
    background-color: #ffffff;
    color: #333333;
    text-align: center;
    vertical-align: top
}

.tg .tg-yw4l {
    vertical-align: top
}

.tg .tg-af3r {
    background-color: #0060af;
    vertical-align: top
}

.tg .tg-i81m {
    background-color: #ffffff;
    text-align: center;
    vertical-align: top
}

.tg .tg-iipl {
    background-color: #0060af;
    text-align: center;
    vertical-align: top
}


/* Business Info and Hours */

ul.trg-closed-days li {
    font-size: 16px;
    padding-bottom: 0;
    line-height: 1em;
}

ul.trg-closed-days li::before {
    top: 5.3px !important;
}

.trg-closed {
    padding-top: 0.5em;
}


/* Blurb Cards */

.blurb-card img {
    width: 100%;
}

.blurb-card .et_pb_main_blurb_image {
    margin-bottom: 0 !important;
}

.blurb-card h6 {
    color: #DC1D49;
    margin-top: 20px;
}

.blurb-card .et_pb_button {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    zoom: 1;
    filter: alpha(opacity=0);
    opacity: 0;
}

.blurb-card .et_pb_blurb {
    margin-bottom: 0 !important;
}

.blurb-card .et_pb_column {
    position: relative;
}

.blurb-card .et_pb_blurb_container {
    background: #fff;
    padding: 75px 25px 25px 25px;
    border-radius: 4px;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, .08) !important;
    -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, .08) !important;
    -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, .08) !important;
    -kthtml-transition: all 0.1s linear;
    transition: all 0.1s linear;
    margin-top: -50px;
}

.blurb-card .et_pb_column:hover .et_pb_blurb_container {
    box-shadow: 5px 15px 15px rgba(0, 0, 0, .2) !important;
    -kthtml-transition: all 0.1s linear;
    transition: all 0.1s linear;
}

.blurb-card .et_pb_column {
    transition: all 0.3s;
}

.blurb-card .et_pb_column:hover {
    transform: scale(0.96);
}


/* Effect 8 */

.blurb-card .et-pb-icon {
    padding: 33px;
    font-size: 35px;
    position: relative;
    z-index: 1;
    color: #dc1d49 !important;
    -webkit-transition: all 0.1s linear;
    -o-transition: all 0.1s linear;
    -moz-transition: all 0.1s linear;
    -ms-transition: all 0.1s linear;
    -kthtml-transition: all 0.1s linear;
}

.blurb-card .et-pb-icon:after {
    pointer-events: none;
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    content: '';
    box-sizing: content-box;
}

.blurb-card .et-pb-icon:before {
    content: '';
    display: block;
}

.blurb-card .et-pb-icon {
    background: rgba(255, 255, 255, 0.1);
    transition: transform ease-out 0.1s, background 0.2s;
}

.blurb-card .et-pb-icon:after {
    top: 0;
    left: 0;
    padding: 0;
    z-index: -1;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: scale(0.9);
}

.blurb-card .et_pb_column:hover .et-pb-icon {
    background: rgba(255, 255, 255, 0.05);
    color: #fff !important;
    -webkit-transition: all 0.1s linear;
    -o-transition: all 0.1s linear;
    -moz-transition: all 0.1s linear;
    -ms-transition: all 0.1s linear;
    -kthtml-transition: all 0.1s linear;
}

.blurb-card .et_pb_column:hover .et-pb-icon:after {
    -webkit-animation: sonarEffect 0.5s ease-out 50ms;
    animation: sonarEffect 0.5s ease-out 75ms;
}

@-webkit-keyframes sonarEffect {
    0% {
        opacity: 0.3;
    }
    40% {
        opacity: 0.5;
        box-shadow: 0 0 0 2px #dc1d49, 0 0 10px 10px #dc1d49, 0 0 0 10px #dc1d49;
    }
    100% {
        box-shadow: 0 0 0 2px #dc1d49, 0 0 10px 10px #dc1d49, 0 0 0 10px #dc1d49;
        -webkit-transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes sonarEffect {
    0% {
        opacity: 0.3;
    }
    40% {
        opacity: 0.5;
        box-shadow: 0 0 0 2px #dc1d49, 0 0 10px 10px #dc1d49, 0 0 0 10px #dc1d49;
    }
    100% {
        box-shadow: 0 0 0 2px #dc1d49, 0 0 10px 10px #dc1d49, 0 0 0 10px #dc1d49;
        transform: scale(1.5);
        opacity: 0;
    }
}


/* Responsive Styles Desktop Only */

@media all and (max-width: 1200px) {
    /*
	.masonry {
	        -moz-column-count: 2;
	        -webkit-column-count: 2;
	        column-count: 2;
		
	}
	*/
    #search-filter-form-27199.searchandfilter {
        font-size: 90%;
    }
    #search-filter-form-27199.searchandfilter ul li label select.sf-input-select {
        font-size: 12px;
    }
}


/* Responsive Styles Desktop Only */

@media all and (max-width: 981px) {
    .post-type-archive-ymca_program .list-custom-taxonomy-widget h4 {
        font-size: 12pt;
    }
    .post-type-archive-ymca_program .list-custom-taxonomy-widget a {
        font-size: 11pt;
        line-height: 1em;
    }
    .post-type-archive-ymca_program .list-custom-taxonomy-widget>ul li {
        padding: 5px;
    }
    .post-type-archive-ymca_program #sidebar {
        padding-bottom: 5px;
    }
    #et_search_icon::before {
        left: 32px;
        top: 0;
        margin-top: -19px;
    }
    .et-search-form input {
        width: 100%;
    }
    .tg td,
    .tg th {
        font-size: 12px;
    }
    #text-5 {
        padding: 5px 10px 1px;
    }
    #text-5 h4 {
        margin: 0;
        padding: 0 0 3px;
        font-size: 15px;
        line-height: 1.5em;
    }
    #text-5 .searchandfilter h4 {
        font-size: 13px;
    }
    #text-5 .searchandfilter li.sf-field-taxonomy-program_demographic,
    #text-5 .searchandfilter li.sf-field-taxonomy-program_type,
    #text-5 .searchandfilter li.sf-field-taxonomy-program_city {
        padding: 0 5px 3px;
    }
    #text-5 .searchandfilter li.sf-field-search .sf-input-text {
        font-size: 13px;
    }
    #text-5 .searchandfilter ul li.sf-field-reset input.search-filter-reset {
        font-size: 14px;
        line-height: 2em;
    }
    #text-5.et_pb_widget {
        margin-bottom: 10px;
    }
    #sidebar {
        padding-right: 0 !important;
    }
    #membership-sidebar {
        display: none;
    }
    .masonry article {
        width: 48%;
    }
}


/* Responsive Styles 782px */

@media screen and (max-width: 782px) {}


/* Responsive Styles Tablet Portrait */

@media all and (max-width: 768px) {
    .et_menu_container {
        width: 90%;
    }
    .wpcf7-text {
        width: 100%;
    }
}


/* Responsive Styles Smartphone Only */

@media all and (max-width: 767px) {
    .et_menu_container {
        width: 96%;
    }
    .trg_business_name {
        font-size: 15pt;
        margin-left: 5px;
    }
    #copyright {
        text-align: center;
        width: 100%;
        margin-top: 25px;
    }
    #footer-info {
        text-align: center;
        width: 100%;
    }
    #footer-bottom .et-social-icons {
        text-align: center;
        width: 100%;
        height: 25px;
    }
    /*
	.masonry {
			
		-moz-column-count: 1;
		-webkit-column-count: 1;
		column-count: 1;
	}
	*/
    .masonry article {
        width: 98%;
    }
    .tg td,
    .tg th {
        font-size: 10px;
        padding: 2px 1px !important;
    }
    .tg {
        width: auto !important;
    }
    .tg col {
        width: auto !important;
    }
    .tg-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .et_pb_fullwidth_header .et_pb_fullwidth_header_container .et_pb_button_two {
        margin-left: 0;
    }
}

@media all and (max-width: 400px) {
    .trg_business_name {
        font-size: 10pt;
        margin-left: 5px;
    }
}


/* Jobs */

.job-apply {
    margin: 20px auto;
    text-align: center;
}

.view-job {
    margin: 20px 0 41px;
    display: flex;
    justify-content: center;
}


/* Hide the featured image on posts */

.hide-featured-image .et_post_meta_wrapper img {
    display: none;
}


/* Progam TRG Cards */

.ymca_program.trg-card {
    padding: 0;
}

.ymca_program.trg-card h2,
.ymca_program.trg-card p {
    padding: 0 10px 10px;
    color: #666;
}


/* Add Business name to homepage */

.trg_business_name {
    text-transform: uppercase;
}