/*
Theme Name: AC's 24/7 Fitness BB Child Theme
Version: 1.0
Author: Fusion Forward
Author URI: https://www.fusionforward.com
template: bb-theme
*/


/******************************************************************************/
/******************************************************************************/
/* ADD CUSTOM FONTS ***********************************************************/
/******************************************************************************/
/******************************************************************************/

/* Adds Canva Sans Regular */
@font-face {
    font-family: "Canva Sans";
    src: url("/wp-content/themes/acs247-bb-child/custom-fonts/canvasans-regular-webfont.woff") format("woff"),
         url("/wp-content/themes/acs247-bb-child/custom-fonts/canvasans-regular-webfont.woff2") format("woff2");
    font-weight: 400;
}

/* Adds Canva Sans Medium */
@font-face {
    font-family: "Canva Sans";
    src: url("/wp-content/themes/acs247-bb-child/custom-fonts/canvasans-medium-webfont.woff") format("woff"),
         url("/wp-content/themes/acs247-bb-child/custom-fonts/canvasans-medium-webfont.woff2") format("woff2");
    font-weight: 500;
}

/* Adds Canva Sans Bold */
@font-face {
    font-family: "Canva Sans";
    src: url("/wp-content/themes/acs247-bb-child/custom-fonts/canvasans-bold-webfont.woff") format("woff"),
         url("/wp-content/themes/acs247-bb-child/custom-fonts/canvasans-bold-webfont.woff2") format("woff2");
    font-weight: 700;
}

/* Adds Canva Sans Regular Italic */
@font-face {
    font-family: "Canva Sans Italic";
    src: url("/wp-content/themes/acs247-bb-child/custom-fonts/canvasans-regularitalic-webfont.woff") format("woff"),
         url("/wp-content/themes/acs247-bb-child/custom-fonts/canvasans-regularitalic-webfont.woff2") format("woff2");
    font-weight: 400;
}

/* Adds Canva Sans Medium Italic */
@font-face {
    font-family: "Canva Sans Italic";
    src: url("/wp-content/themes/acs247-bb-child/custom-fonts/canvasans-mediumitalic-webfont.woff") format("woff"),
         url("/wp-content/themes/acs247-bb-child/custom-fonts/canvasans-mediumitalic-webfont.woff2") format("woff2");
    font-weight: 500;
}

/* Adds Canva Sans Bold Italic */
@font-face {
    font-family: "Canva Sans Italic";
    src: url("/wp-content/themes/acs247-bb-child/custom-fonts/canvasans-bolditalic-webfont.woff") format("woff"),
         url("/wp-content/themes/acs247-bb-child/custom-fonts/canvasans-bolditalic-webfont.woff2") format("woff2");
    font-weight: 700;
}

/******************************************************************************/
/******************************************************************************/
/* END CUSTOM FONTS ***********************************************************/
/******************************************************************************/
/******************************************************************************/


/******************************************************************************/
/******************************************************************************/
/* PAGE STYLES ****************************************************************/
/******************************************************************************/
/******************************************************************************/

/* styles for back to top button */
#fl-to-top {
    background-color: rgba(30, 198, 165, 0.5);
    border-top-left-radius: 80px;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 60px;
}

#fl-to-top:hover {
    background-color: #7a7a7a;
}

/* pushes logo and menu items down if logged in and admin bar is showing */
.admin-bar .my-fixed-column,
.admin-bar .my-content-column {
    margin-top: 32px;
} 

/* forces main content to full height and places it on top of footer */
#fl-main-content {
    min-height: 100vh;
    position: relative;
    z-index: 1;  /* set to 1 but change to 0 in order to gain access to edit the footer row */
}

/* makes footer sticky to the bottom of the page */
footer {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
}

/* fixes the left column and header logo on scroll */
.my-fixed-column.my-fixed-column.my-fixed-column {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    min-height: 100vh;
    height: 100vh;
    max-height: 100vh;
}

/* aligns header logo and sets div height */
.my-header-logo.my-header-logo.my-header-logo {
    align-self: flex-start;
    max-height: fit-content;
}

/* div height of social icons */
.my-social-icons.my-social-icons.my-social-icons {
    max-height: fit-content;
}

/* puts social icons in a coulmn */
.my-social-icons.my-social-icons.my-social-icons .fl-icon-group {
    display: flex;
    flex-direction: column;
}

/* speed of overlay transition */
.my-menu.my-menu.my-menu .uabb-offcanvas-overlay {
    transition: all .6s;
}

/* makes off canvas menu minimal width */
.my-menu.my-menu.my-menu .uabb-offcanvas {
    width: fit-content;
}

/* adds border to each contact info in header */
.header-contact-info.header-contact-info.header-contact-info .fl-module-content {
    border-top: dashed 1px rgb(255,255,255,0);
    border-radius: 5px;
    padding: 0px 15px;
}

/* hover effect for header contact info */
.header-contact-info.header-contact-info.header-contact-info .fl-module-content:hover {
    border-top: dashed 1px #ea5678;
}

/* removes margin between contact info and border */
.header-contact-info.header-contact-info.header-contact-info .fl-icon-wrap {
    margin-top: -5px;
    margin-bottom: -13px;
}

/* changes font size and spacing for ft2 */
sup.my-sup.my-sup.my-sup.my-sup {
    font-size: 75%;
    padding-left: 2px;
}

/* padding around membership option boxes */
.membership-option.membership-option.membership-option .uabb-ultb3-info {
    padding: 35px 40px 45px 40px;
}

/* styles for price in membership box */
.membership-option.membership-option.membership-option .uabb-ultb3-desc h2 {
    font-family: "Fontdiner Swanky", sans-serif;
    color: #425ff4;
    padding-top: 20px;
    padding-bottom: 10px;
    font-size: 36px;
}

/* styles for word Family in membership options */
.family-membership.family-membership.family-membership {
    display: block;
    font-size: 75%;
    font-weight: normal;
}

/* fine print style for membership options */
.fine-print.fine-print.fine-print {
    font-family: "Canva Sans",Verdana,Arial,sans-serif;
    font-size: 65%;
    font-weight: normal;
    padding-bottom: 13px;
}

/* allows sections of the team member module to be re-ordered below */
.my-team.my-team.my-team .uabb-team-content {
    display: flex;
    flex-direction: column;
    padding-bottom: 0px;
}

/* re-orders team member sections */
.my-team.my-team.my-team .uabb-team-content .uabb-team-name {
    order: 1;
}
.my-team.my-team.my-team .uabb-team-content .uabb-team-desgn {
    order: 2;
}
.my-team.my-team.my-team .uabb-team-content .uabb-team-desc {
    order: 4;
}
.my-team.my-team.my-team .uabb-team-content .uabb-team-social {
    order: 3;
}

/* top margin for single session price */
.my-team.my-team.my-team .pt-price {
    margin-top: 20px;
}

/* space around fine print in personal traning options */
.my-team.my-team.my-team .fine-print {
    margin-top: -5px;
    margin-bottom: 20px;
    padding-bottom: 0px;
}

/* margin around day of week for class schedule */
.schedule-day.schedule-day.schedule-day p {
    margin-bottom: 0px;
    margin-top: 10px;
}

/* color of dashed line in class schedule */
.daily-class-schedule.daily-class-schedule.daily-class-schedule .uabb-price-list-separator {
    border-bottom-color: #ea5678;
}

/* adds right and left borders to the active class description accordion */
.class-descriptions.class-descriptions.class-descriptions .uabb-adv-accordion-item-active .uabb-adv-accordion-button {
    border-bottom: 0px;
    border-right: dashed 1px #41a4ff;
    border-left: dashed 1px #41a4ff;
}

/* changes icon for each class description */
/* HITT */
.class-descriptions.class-descriptions.class-descriptions .uabb-adv-accordion-item:nth-child(1) .fitness-iconsspiral:before {
    content: "\e90c"; 
}
/* Power */
.class-descriptions.class-descriptions.class-descriptions .uabb-adv-accordion-item:nth-child(2) .fitness-iconsspiral:before {
    content: "\e902";
}
/* Strength */
.class-descriptions.class-descriptions.class-descriptions .uabb-adv-accordion-item:nth-child(3) .fitness-iconsspiral:before {
    content: "\e905";
}
/* Yoga */
.class-descriptions.class-descriptions.class-descriptions .uabb-adv-accordion-item:nth-child(4) .fitness-iconsspiral:before {
    content: "\e909";
}
/* Starting */
.class-descriptions.class-descriptions.class-descriptions .uabb-adv-accordion-item:nth-child(5) .fitness-iconsspiral:before {
    content: "\e924";
}

/* adds top margin to bulleted list in class descriptions */
.class-descriptions.class-descriptions.class-descriptions .uabb-adv-accordion-content ul {
    margin-top: 10px;
    margin-bottom: 0px;
}

/* changes bulleted list marker in class descriptions */
.class-descriptions.class-descriptions.class-descriptions .uabb-adv-accordion-content ::marker {
    font-family: 'fitness-icons';
    content: "\e919";
    color: #ea5678;
    font-size: 125%;
}

/* adds padding to bulleted list text in class descriptions */
.class-descriptions.class-descriptions.class-descriptions .uabb-adv-accordion-content li {
    padding-left: 10px;
}

/* styles required text on contact form */
.my-form.my-form.my-form .gfield_required {
    color: #ea5678;
    font-family: "Canva Sans",Verdana,Arial,sans-serif;
}

/* puts social icons in contact section in a verical column */
.contact-socials.contact-socials.contact-socials .fl-icon-group {
    display: flex;
    flex-direction: column;
}



@media screen and (max-width: 1024px) {
    
    /* margin on bottom of social icons */
    .my-social-icons.my-social-icons.my-social-icons .fl-icon {
        margin-bottom: 0px;
    }
    
    /* size of close icon in menu */
    .my-menu.my-menu.my-menu .uabb-offcanvas-close-icon {
        font-size: 20px;
    }
    
    /* padding to the left of menu items */
     .my-menu.my-menu.my-menu ul {
        padding-inline-start: 30px;
    }
    
    /* adds border to each contact info in header */
    .header-contact-info.header-contact-info.header-contact-info .fl-module-content {
        padding: 0px 7px;
    }
    
    /* space between header icon and text */
    .header-contact-info.header-contact-info.header-contact-info .fl-icon-text {
        padding-left: 7px;
    }
    
    /* size of icon in list in about section */
    .my-about-icon-list.my-about-icon-list.my-about-icon-list .uabb-icon i,
    .my-about-icon-list.my-about-icon-list.my-about-icon-list .uabb-icon i:before {
        font-size: 35px;
        line-height: 35px;
        height: 35px;
        width: 35px;
    }
    
    /* space between icon and text in icon list in about section */
    .my-about-icon-list.my-about-icon-list.my-about-icon-list .uabb-list-icon-wrap .uabb-callout-outter {
        margin-right: 5px;
    }
    
    /* padding around membership option boxes */
    .membership-option.membership-option.membership-option .uabb-ultb3-info {
        padding: 20px 20px 32px 20px;
    }
    
    /* styles for price in membership box */
    .membership-option.membership-option.membership-option .uabb-ultb3-desc h2 {
        padding-top: 10px;
        padding-bottom: 0px;
        font-size: 24px;
    }
    
    /* fine print style for membership options */
    .fine-print.fine-print.fine-print {
        padding-bottom: 0px;
    }
    
    /* styles for membership buy now button */
    .membership-button.membership-button.membership-button a {
        font-size: 14px;
        padding: 10px 15px 8px;
    }

    /* margins on membership buy now button */
    .membership-button.membership-button.membership-button {
        margin-top: 15px;
        margin-bottom: 41px;
    }
    
    /* space between each class description item */
    .class-descriptions.class-descriptions.class-descriptions .uabb-adv-accordion-item {
        margin-bottom: 20px;
    }
    
    /* size of close icon in class descriptions */
    .class-descriptions.class-descriptions.class-descriptions .uabb-adv-accordion-button-icon,
    .class-descriptions.class-descriptions.class-descriptions .uabb-adv-accordion-button-icon:before {
        font-size: 26px;
        line-height: 26px;
        height: 26px;
        width: 26px;
    }
    
    /* size of trainer image */
    .my-team.my-team.my-team img.uabb-photo-img {
        width: 150px;
    }
    
    /* margin for trainer name */
    .my-team.my-team.my-team .uabb-team-content .uabb-team-name-text {
        margin-top: 10px;
    }
    
    /* margin for trainer icons */
    .my-team.my-team.my-team .uabb-team-content .uabb-team-social a {
        margin-bottom: 15px;
    }
    
    /* size of trainer icons */
    .my-team.my-team.my-team .uabb-team-content .uabb-team-social .uabb-icon i,
    .my-team.my-team.my-team .uabb-team-content .uabb-team-social .uabb-icon i:before {
        font-size: 26px;
        line-height: 26px;
        height: 26px;
        width: 26px;
    }
    
    /* margin for single session price */
    .my-team.my-team.my-team .pt-price {
        margin-top: 15px;
    }
    
    /* margin for fine print in personal training optinos */
    .my-team.my-team.my-team .fine-print {
        margin-bottom: 15px;
    }
    
    /* spacing between each row in contact form */
    .my-form.my-form.my-form .gform_fields {
        row-gap: 30px;
    }
    
    /* margin below form title */
    .my-form.my-form.my-form .uabb-gf-form-title {
        margin-bottom: 20px;
    }
    
    /* forces padding in message area to match other fields */
    .my-form.my-form.my-form.my-form textarea {
        padding: 10px;
    }
    
    /* space above submit button */
    .my-form.my-form.my-form.my-form input[type=submit] {
        margin-top: 10px;
    }
    
    /* font size for successful for submission */
    .my-form.my-form.my-form.my-form .gform_confirmation_message {
        font-size: 15px;
    }
    
    /* reorders sections of the footer */
    .footer-logo-col.footer-logo-col.footer-logo-col {
        order: 4;
    }
    .footer-contact-col.footer-contact-col.footer-contact-col {
        order: 1;
    }
    .footer-member-col.footer-member-col.footer-member-col {
        order: 2;
    }
    .footer-social-col.footer-social-col.footer-social-col {
        order: 3;
    }
    
}


@media screen and (max-width: 748px) {
    
    /* removes the header as being an overlay */
    header {
        position: relative !important;
    }
    
    /* reverses the main content being on top of the footer */
    #fl-main-content {
        min-height: 0vh;
        position: relative;
    }
    
    /* removes stickiness of footer */
    footer {
        position: relative;
    }
    
    /* unfixes the header column and put it in a row across the top */
    .my-fixed-column.my-fixed-column.my-fixed-column {
        position: relative;
        min-height: 50px;
        height: 50px;
        max-height: 50px;
    }
    
    /* puts social icons in a row */
    .my-social-icons.my-social-icons.my-social-icons .fl-icon-group {
        flex-direction: row;
    }

    /*  */
    .my-fixed-column.my-fixed-column.my-fixed-column .my-header-logo {
        order: 1;
    }
    .my-fixed-column.my-fixed-column.my-fixed-column .my-menu {
        order: 3;
    }
    .my-fixed-column.my-fixed-column.my-fixed-column .my-social-icons {
        order: 2;
    }
    
    /* makes off canvas menu full width */
    .my-menu.my-menu.my-menu .uabb-offcanvas {
        width: 100%;
    }
    
    /* size of close icon in menu */
    .my-menu.my-menu.my-menu .uabb-offcanvas-close-icon {
        font-size: 24px;
    }
    
    /* padding to the left of menu items */
     .my-menu.my-menu.my-menu ul {
        padding-inline-start: 0px;
    }
    
    /* changes order of contact info below header */
    .header-contact-info.header-contact-info.header-contact-info .fl-node-1zifeqakg6cl {
        order: 3;
    }
    
    /* height of hero content column */
    .my-content-column.my-content-column.my-content-column {
        height: calc(100vh - 100px);
    }
    
    /* fine print style for membership options */
    .fine-print.fine-print.fine-print {
        padding-bottom: 5px;
    }
    
    /* size of trainer image */
    .my-team.my-team.my-team img.uabb-photo-img {
        width: 200px;
    }
    
    /* margins on membership buy now button */
    .membership-button.membership-button.membership-button {
        margin-bottom: 45px;
    }
    
    /* font size for successful for submission */
    .my-form.my-form.my-form.my-form .gform_confirmation_message {
        font-size: 14px;
    }
    
}


