/*
Theme Name: Total Child Theme
Theme URI: https://your-site.com
Description: Your site description. Go to Appearance > Editor to modify this file.
Author: Your Name
Author URI: https://your-site.com
Template: Total
Version: 1.0
*/


.overlay-card {
    position: relative;
    overflow: hidden;
}

.overlay-card-thumb img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.overlay-card:hover .overlay-card-thumb img {
    transform: scale(1.1);
}

.overlay-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    transition: background 0.3s ease;
}

.overlay-card-title {
    font-size: 24px;
    margin: 0 0 10px;
}

.overlay-card-meta {
    font-size: 14px;
}

.overlay-card-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    padding: 10px;
    border-radius: 50%;
}

.overlay-card-icon .fa {
    color: #fff;
    font-size: 20px;
}

.overlay-card:hover .overlay-card-content {
    background: rgba(0, 0, 0, 0.8);
}

.wpex-select-wrap select {
    background-color: #06477d;
}



/* Jobs Styling for cards and templates */
.job_sidebar {
    
}

.job_sidebar .job_posting_date time {
    display: block;
}

.job_sidebar .job_sidebar_field {
    margin-bottom: 15px;
	margin-left: 15px;
	margin-right: 15px;
    font-size: 16px;
}

.job_sidebar .job_sidebar_field:last-of-type {
    margin-bottom: 0;
}

.job_sidebar .job_sidebar_field span {
    color: #06477d;
    font-weight: 700;
    font-size: 18px;
    display: block;
}

.bwm_job_filters_wrapper {
    margin-bottom: 0;
}

.bwm_job_filters_wrapper h2 {
    margin-bottom: 0;
    color: #06477d;
    font-size: 26px;
}

.bwm_job_filters_wrapper form.bwm_job_filters_form h2 {
    color: #fff;   
}

.bwm_job_filters_wrapper form.bwm_job_filters_form .form_row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin: 0 -15px;
    flex-direction: column;
}

.bwm_job_filters_wrapper form.bwm_job_filters_form .job_filter_field_wrapper {
    width: 100%;
    padding: 0 15px;
    margin-bottom: 10px;
}

.bwm_job_filters_wrapper form.bwm_job_filters_form .job_filter_field_wrapper label {
    display: block;
    font-weight: 700;
}

.bwm_job_filters_wrapper form.bwm_job_filters_form .job_filter_field_wrapper select {
    padding: 10px 15px;
    font-size: 16px;
    width: 100%;
}

.bwm_job_filters_wrapper form.bwm_job_filters_form .job_filter_field_wrapper button {
	width: 100%;
	padding: 12px 15px;
	font-size: 16px;
	line-height: 17px;
}

.featured_cards {

}

.featured_cards .wpex-post-cards-entry {
    margin-bottom: 15px;
}

.featured_cards .wpex-post-cards-entry * {
    color: #06477d;
}

.job_card_entry {
    padding: 15px;
}

.job_card_entry .job_card_bg {
    transition: all .3s ease;
	height: 100%;
}

.job_card_entry .job_card_bg:hover {
    background-color: #79d2f6 !important;
}

.featured_cards .featured_card_entry .featured_cards_bg {
    padding: 15px;
    transition: all .3s ease;
}

.featured_cards .featured_card_entry .featured_cards_bg:hover {
    background-color: #79d2f6 !important;
}

@media(min-width: 768px){
    .bwm_job_filters_wrapper h2 {
        font-size: 32px;
    }
    .bwm_job_filters_wrapper {
        margin-bottom: 30px;
    }
    .bwm_job_filters_wrapper form.bwm_job_filters_form .form_row {
        flex-direction: row;
    }
    .bwm_job_filters_wrapper form.bwm_job_filters_form .job_filter_field_wrapper {
        margin-bottom: 0;
    }
}

button.accordion {
    width: 100%;
    background-color: whitesmoke;
    border: none;
    outline: none;
    text-align: left;
    padding: 15px 20px;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s linear;
    margin-bottom: 10px;
    display: flex;
    border-radius: 0;
    align-items: center;
    justify-content: space-between;
}

button.accordion .ticon-chevron-up {
    display: block;
}

button.accordion.is-open .ticon-chevron-up {
    display: none;    
}

button.accordion .ticon-chevron-down {
    display: none;
}

button.accordion.is-open .ticon-chevron-down {
    display: block;    
}

button.accordion:hover,
button.accordion.is-open {
    background-color: #ddd;
}

.accordion-content {
    background-color: whitesmoke;
    padding: 15px;
    margin-bottom: 15px;
    display: none;
}

.accordion-content ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.gfield_fileupload_progress {
    margin: 0 15px;
}

.gform_delete_file {
    background-color: #005c9b !important;
}

.form_day_text {
    display: flex;
    align-items: center;
}

.mobile_span_6 .ginput_complex {
    align-items: center;
}


#jobsFilter .wpex-post-cards-entry {
    color: #06477d;
}

.gform_confirmation_message_3 {
    color: #005c9b;
}



/* New Homepage */

.homepage_ui_wrapper {
    height: 100vh;
}

.admin-bar .homepage_ui_wrapper {
    height: calc(100vh - 32px);
}

@media screen and (max-width: 782px) {
    .admin-bar .homepage_ui_wrapper {
        height: calc(100vh - 46px);
    }   
}

.homepage_ui_wrapper .homepage_ui_row {
    position: relative;
    height: 100%;
}

.homepage_ui_wrapper .homepage_ui_row .homepage_ui_column {
    position: absolute;
    height: 50%;
}

.homepage_ui_wrapper .homepage_ui_row .homepage_ui_column:after {
    content: '';
    background-color: rgba( 6, 71, 125, 0.75 );
    opacity: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    transition: all .3s ease-in-out;
}

.homepage_ui_wrapper .homepage_ui_row .homepage_ui_column:hover:after {
    opacity: 1;
}

.homepage_ui_wrapper .homepage_ui_row .homepage_ui_column.curve {
    width: 100%;
}

.homepage_ui_wrapper .homepage_ui_row .homepage_ui_column.behind {
    width: 100%;
    bottom: 0;
    z-index: 0;
    right: 0;
}

.homepage_ui_wrapper .homepage_ui_row .homepage_ui_column video {
    height: 100%;
    width: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
}

.homepage_ui_wrapper .homepage_ui_row .homepage_ui_column .hidden_content {
    opacity: 0;
    transition: all .3s ease-in-out;
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.homepage_ui_wrapper .homepage_ui_row .homepage_ui_column:hover .hidden_content {
    opacity: 1;
}

.homepage_ui_wrapper .homepage_ui_row .homepage_ui_column .hidden_content a {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.homepage_ui_wrapper .homepage_ui_row .homepage_ui_column .hidden_content img {
    max-width: 300px;
    height: auto;
    position: relative;
    z-index: 999;
}

.homepage_ui_wrapper .homepage_ui_row .homepage_ui_column.behind .hidden_content {
    position: relative;
}

@media(min-width: 992px) {

    .homepage_ui_wrapper .homepage_ui_row .homepage_ui_column {
        height: 100%;
    }

    .homepage_ui_wrapper .homepage_ui_row .homepage_ui_column.curve {
        width: 50%;
    }

    .homepage_ui_wrapper .homepage_ui_row .homepage_ui_column.behind {
        width: 60%;
        z-index: 0;
        right: 0;
        bottom: 0;
        height: 100%;
    }

    .homepage_ui_wrapper .homepage_ui_row .homepage_ui_column.curve:after {
        border-top-right-radius: 60px;
        border-bottom-right-radius: 60px;
    }

    .homepage_ui_wrapper .homepage_ui_row .homepage_ui_column.curve video {
        border-top-right-radius: 60px;
        border-bottom-right-radius: 60px;
    }

    .homepage_ui_wrapper .homepage_ui_row .homepage_ui_column.behind .hidden_content {
        left: 10%;
    }

    .homepage_ui_wrapper .homepage_ui_row .homepage_ui_column .hidden_content img {
        max-width: 400px;
    }
}


/* Colour Schemes */
body.colour_scheme_health {
    --wpex-palette-1406-color: #85b7c9;
    --wpex-palette-749-color: #00668a;
    --wpex-palette-754-color: #fff;
    --wpex-border-main: #00668a;
    --wpex-accent: #fff;
    background-color: #00668a;
}

.colour_scheme_health #bwm-announcements .bwm-announcements-inner .bwm-announcements-title {
    background-color: #269889;
}

.colour_scheme_health #top-bar-wrap-sticky-wrapper.is-sticky .top_bar_content_wrapper {
    background-color: #00668a;
}

.colour_scheme_health #footer {
	background-color: #269889;
}

.colour_scheme_health #site-header-sticky-wrapper.is-sticky #site-header {
	background-color: #00668a;
}

.colour_scheme_health #top-bar .theme-button {
	background-color: #269889;
}

.colour_scheme_health #top-bar .theme-button:hover {
	background-color: #06477d;
}

.colour_scheme_health .theme-button  {
	background-color: #269889;
	color: #fff;
}

.colour_scheme_health .theme-button:hover  {
	background-color: #06477d;
}

.colour_scheme_health .wave-blog-title {
	color: #269889;
}

.colour_scheme_health .wave-blog-title:hover {
	color: #06477d;
}

.colour_scheme_health .wpex-card-more-link a {
	color: #269889;
}

.colour_scheme_health .wpex-card-more-link a:hover {
	color: #06477d;
}

.colour_scheme_health a {
	color: #85b7c9;
}

.colour_scheme_health a:hover {
	color: #fff;
}

.colour_scheme_health #footer a {
	color: #fff;
}

.colour_scheme_health #footer a:hover {
	color: #fff;
	opacity: 0.5;
}

.colour_scheme_health .not-sticky #site-navigation a {
	color: #fff;
}

.colour_scheme_health .not-sticky #site-navigation a:hover {
	opacity: 0.5;
}

.colour_scheme_health .is-sticky #site-navigation a {
	color: #fff;
}

.colour_scheme_health .is-sticky #site-navigation a:hover {
	color: #269889;
}

.colour_scheme_health #site-navigation-wrap .main-navigation-ul>li>a>.link-inner::after {
	background: #269889;
}


.colour_scheme_health .wpex-card-backdrop {
    background-image: linear-gradient(to bottom, rgba(38, 152, 137, 0) 0%, rgba(38, 152, 137, .15) 60%, rgba(38, 152, 137) 100%) !important;
}

.colour_scheme_health .wpex-select-wrap select {
    background-color: #269889;
}

.swim_school_booking_links a {
    display: block;
}

.swim_school_template_book h4 {
    margin: 0 0 15px 0;
}

.swim_school_template_book a,
.swim_school_template_book .swim_school_gravity_form #multiStepForm button {
    background-color: #06477d;
}

.swim_school_template_book a:hover,
.swim_school_template_book .swim_school_gravity_form #multiStepForm button:hover {
    background-color: #009fe3;
}

.swim_school_booking_links select {
    width: 100%;
    padding: 8px 10px;
    font-size: 14px;
}

@media( min-width: 767px ) {
    .swim_school_booking_links select {
        padding: 10px 15px;
        font-size: 16px;
    }
}



/* Transparent header and menu area */

#top-bar-wrap-sticky-wrapper.is-sticky .top_bar_content_wrapper {
    background-color: #06477d;
}

#top-bar {
    margin-bottom: -60px;
    z-index: 10;
}

#top-bar-wrap-sticky-wrapper {
    margin-bottom: -40px;
    z-index: 10;
}

.not-sticky > #site-header.overlay-header  {

}

.is-sticky > #site-header.overlay-header  {

}

@media( min-width: 1381px ) {
    .not-sticky > #site-header.overlay-header  {
        padding-top: 55px;
    }
}

#top-bar .theme-button {
    border-radius: 0px;
}



/*
 * ANNOUNCEMENTS
 */

#bwm-announcements {
    background-color: #06477d;
    z-index: 9999;
    position: relative;
    margin-bottom: 15px;
}

@media( min-width: 1381px ) {
    #bwm-announcements {
        margin-bottom: 0;
    }
}

#bwm-announcements .bwm-announcements-inner {
    display:flex;
    flex-direction: row;
    align-items: center;
    align-items: stretch;
}

#bwm-announcements .bwm-announcements-inner .bwm-announcements-title {
    font-weight: 700;
    white-space: nowrap;
    padding-right: 10px;
    color: #fff;
    white-space: nowrap;
    padding: 5px 15px;
    color: #fff;
    background-color: #009fe3;
    font-size: 18px;
    align-self: stretch;
    display: flex;
    align-items: center;
}



#bwm-announcements .bwm-announcements-inner .bwm-announcements-title > span.wpex-icon {
    display: block;
    font-size: 25px;
    padding: 0 5px;
}
#bwm-announcements .bwm-announcements-inner .bwm-announcements-title > span.desktop {
    display: none;
}
#bwm-announcements .bwm-announcements-inner .bwm-announcements-title > span.counter {
    display: none;
}

@media( min-width: 1381px ) {
    #bwm-announcements .bwm-announcements-inner .bwm-announcements-title > span.desktop {
        display: block;
    }
    #bwm-announcements .bwm-announcements-inner .bwm-announcements-title > span.wpex-icon {
        display: none;
    }
}

#bwm-announcements .bwm-announcements-inner ul {
    padding: 0;
    margin: 0;
    position: relative;
    font-size: 18px;
    width: 100%;
    background-color: #06477d;
}

@media (min-width: 768px) {
    #bwm-announcements .bwm-announcements-inner ul {
        display:flex;
        align-items: center
    }
}

#bwm-announcements .bwm-announcements-inner ul li {
    list-style: none;
    margin: 0;
    transition: all .2s ease;
    display: none;
    color: #fff;
    font-weight: 500;
    font-size: 15px;
    text-transform: uppercase;
    position: relative;
    padding: 5px 15px;
    width: 100%
}

.colour_scheme_health #bwm-announcements .bwm-announcements-inner ul {
    background-color: #00668a;
}

@media (min-width: 768px) {
    #bwm-announcements .bwm-announcements-inner ul li {
        padding:0 0 0 1em;
        position: absolute
        font-size: 18px;
    }
}

#bwm-announcements .bwm-announcements-text {
    transition: all .3s ease;
}

#bwm-announcements .bwm-announcements-text li a {
	color: #fff;
    padding-left: 5px;
    font-weight: 700;
}



/* Swim School gravity form */

.swim_school_gravity_form .gf_step_number {
    color: white !important;
    border-color: white !important;
}

.swim_school_gravity_form .gform_wrapper .gfield_label {
    color: white !important;
}

.swim_school_gravity_form .gform_wrapper .gfield_radio label,
.swim_school_gravity_form .gform_wrapper .gfield_checkbox label {
    color: white !important;
}

.swim_school_gravity_form .gform_wrapper input::placeholder,
.swim_school_gravity_form .gform_wrapper textarea::placeholder {
    color: inherit !important; /* Keeps placeholders unaffected */
}

.swim_school_gravity_form .gform_wrapper input,
.swim_school_gravity_form .gform_wrapper textarea {
    color: inherit !important; /* Keeps input text unaffected */
}

.swim_school_gravity_form .gform_wrapper .gfield_description {
    color: white !important;
}

.swim_school_gravity_form .gform_wrapper .gfield_sublabel {
    color: white !important;
}

.swim_school_gravity_form .gform_wrapper .gform_previous_button {
    color: #06477d !important;
}


#multiStepForm {
    margin-top: 60px;
}

.wpex-card-modal-body #multiStepForm h3 {
    font-size: 17px;
}

.wpex-card-modal-body #multiStepForm .step p {
    font-size: 24px;
}

.wpex-card-modal-body #multiStepForm .step label {
    font-size: 24px;
}

.swim_school_template_book .swim_school_gravity_form #multiStepForm {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#multiStepForm .step {
    margin-bottom: 15px;
}

.swim_school_template_book .swim_school_gravity_form #multiStepForm .step {
    text-align: center;
}

#multiStepForm p {
    font-size: 1.2em;
    margin-bottom: 10px;
}

#multiStepForm label {
    display: inline-block;
    margin-right: 15px;
}

.swim_school_template_book .swim_school_gravity_form #multiStepForm p {
    font-size: 22px;
    font-weight: 700;
}

.swim_school_template_book .swim_school_gravity_form #multiStepForm label {
    font-size: 20px;
    font-weight: 700;
}

#multiStepForm button {
    background-color: #00a2e8;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 1em;
    display: block;
    width: auto;
    cursor: pointer;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.swim_school_template_book .swim_school_gravity_form #multiStepForm button {
    margin: 15px auto 0 auto;
}

#multiStepForm button:hover {
    background-color: #007bb5;
}

#multiStepForm button:focus {
    outline: none;
    box-shadow: 0 0 5px #007bb5;
}

#gs-timetable-filters
{
	display: flex;
	gap: 10px;
	margin-bottom: 1em;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}

#gs-timetable table th,
#gs-timetable table td
{
    border: 1px solid #009fe3;
}
#gs-timetable-filters select
{
    background-color: #009fe3;
	padding: .5em;
	font-size: 1.1em;
}

#gs-timetable thead th
{
	background-color: #009fe3;
	color: white;
	font-weight: bold;
}