/*

Theme Name: Bramacare Theme

Template: Divi

Description: Custom Divi Theme for Bramacare

Theme URI: https://digitalgroupmedia.com/

Version: 1.0

Author: Digital Group Media

Author URI: https://digitalgroupmedia.com/

Tags: divi, divi theme, responsive-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, theme-options

License: GNU General Public License v2

License URI: http://www.gnu.org/licenses/gpl-2.0.html

Get Support Here https://digitalgroupmedia.com/

*/



/* YOUR CSS EDITS GO BELOW THIS LINE AND AND CSS RULES YOU MAKE HERE WILL OVERIDE THE MASTER THEME CSS RULES */


/* Header */
.menu-section-top-sticky.et_pb_sticky_module.et_pb_sticky.et_pb_sticky--top {
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.1);
}
.et_pb_menu__logo-wrap img {
    max-width: 217px;
}
#page-container .et_pb_button {
    line-height: 100% !important;
}
#page-container .et_pb_button:before{
    position: static!important;
    padding-right: 10px!important;
    margin: 0!important;
}
#page-container .et_pb_button:after{
    position: static!important;
    padding-left: 10px!important;
    margin: 0!important;
}
.et_pb_button {
  border-bottom-left-radius: 20px !important;
  border-top-right-radius: 20px !important;
}
#page-container .top-menu-cta-btn:after {
    content: "" !important;
    width: 24px;
    height: 24px;
    background: url(/wp-content/uploads/phone.svg) no-repeat scroll 0 0;
    background-size: contain;
    background-position: center;
    position: static !important;
    display: block;
    padding-left: 0px !important;
        margin-left: 5px !important;
}
.top-menu-cta-btn {
    display: flex !important;
    align-items: center;
}
/* .et_pb_button_module_wrapper {
    width: auto !important;
    display: flex;
} */

/* How can we help */
.how-can-we-help-blurb .et_pb_main_blurb_image, .how-can-we-help-blurb .et_pb_main_blurb_image img {
    width: 100%;
    height: 11.354vw;
    object-fit: cover;
        margin: 0;

}
.how-can-we-help-blurb .et_pb_blurb_container {
    padding: 32px;
}
.how-can-we-help-blurb .et_pb_blurb_content {
    display: flex;
    flex-direction: column;
}
.how-can-we-help-blurb .et_pb_blurb_description p{
    text-decoration: underline;
}
.how-can-we-help-blurb .et_pb_module_header {
    padding-bottom: 15px;
}
.how-can-we-help-blurb {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.how-can-we-help-blurb:after {
    content: "";
    height: 15px;
    width: 100%;
    background-color: #EBB14B;
}
.how-can-we-help-blurb:nth-child(2)::after {
    content: "";
    height: 15px;
    width: 100%;
    background-color: #91BAD5;
}
.how-can-we-help-blurb:nth-child(3)::after {
    content: "";
    height: 15px;
    width: 100%;
    background-color: #E16D33;
}
.how-can-we-help-blurb:nth-child(4)::after {
    content: "";
    height: 15px;
    width: 100%;
    background-color: #EBB14B;
}

/* Animation on hover*/
.scale-animation {
    transition: .2s ease;
}
.scale-animation:hover {
    transform: scale(1.03);
    border-radius: 20px;
    transition: .2s ease;
	z-index: 2;
}

/* Image Slider Homepage */


.slider-gallery .slick-slide {
    margin: 15px;
}
.slider-gallery h3.et_pb_gallery_title, .slider-gallery p.et_pb_gallery_caption {
    display: none;
}
.slider-gallery .slick-track {
    display: flex;
    align-items: center;
}
.et_pb_gallery_item {
    margin: 0 !important;
}
.et_pb_gallery_item {
    border-radius: 16px;
    overflow: hidden;
}
.with-yellow-border:after {
    content: "";
    width: 100%;
    height: 100%;
    min-height: 24.688vw;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    background-image: url(https://dev.digitalgroupmedia.com/bramacare/wp-content/uploads/Image-Container-2-1.png);
    background-size: cover;
}
.with-yellow-border {
    border-radius: 0.833vw 5.208vw 0.833vw 0.833vw;
    overflow: hidden;
}
.with-blue-border:after {
    content: "";
    width: 100%;
    height: 100%;
    min-height: 24.688vw;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    background-image: url(https://dev.digitalgroupmedia.com/bramacare/wp-content/uploads/Image-Container-1.png);
    background-size: cover;
}
.et_pb_gallery_item {
    position: relative;
}
.with-blue-border {
    border-radius: 5.208vw 0.833vw 5.208vw 0.833vw;
    overflow: hidden;
}
.with-blue-border,
.with-blue-border img,
.with-yellow-border,
.with-yellow-border img {
    height: 30.208vw!important;
    width: 100%!important;
    object-fit: cover;
}

/*  */
#page-container .transparent-number span.percent-value,
#page-container .transparent-number .percent-sign {
    color: #FBF0DE;
    text-shadow: -1px -1px 0 #344756, 1px -1px 0 #344756, -1px 1px 0 #344756, 1px 1px 0 #344756;
}


/* Rehabilitation */
.image-module-with-yellow-border span.et_pb_image_wrap, 
.image-module-with-yellow-border span.et_pb_image_wrap img {
    width: 100%;
    height: 27.187vw;
    object-fit: cover;
}
.image-module-with-yellow-border:after {
    content: "";
    width: 100%;
    height: 27.187vw;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    background-image: url(https://dev.digitalgroupmedia.com/bramacare/wp-content/uploads/Image-Container-3.png);
    background-size: cover;
    background-position: center;
}
.add-yellow-border-below:after {
    content: "";
    width: 100%;
    height: 20px;
    background: #EBB14B;
    position: absolute;
    bottom: 0;
    left: 0;
        z-index: 99;
}
.add-blue-border-below:after {
    content: "";
    width: 100%;
    height: 20px;
    background: #91BAD5;
    position: absolute;
    bottom: 0;
    left: 0;
        z-index: 99;
}

/* The White House */

.our-services-tab-container ul.et_pb_tabs_controls li a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.our-services-tab-container ul.et_pb_tabs_controls li a img.tab-thumb {
    width: 43px;
    height: 43px;
    object-fit: cover;
    border-radius: 50%;
    transition: all .2s ease;
}
.our-services-tab-container ul.et_pb_tabs_controls li.et_pb_tab_active a img.tab-thumb {
    filter: brightness(0) invert(1);
    transition: all .2s ease;
}
.our-services-tab-container {
    border: 1px solid #499ACF;
    border-radius: 20px;
    overflow: hidden;
}
.our-services-tab-container .et_pb_tab_active a:before {
     filter: brightness(0) invert(1);
         transition: all .3s ease;
}
.our-services-tab-container .et_pb_tabs_controls li a {
    display: flex;
    align-items: center;
    justify-content: start;
    padding: 20px;
    width: 100%;
}
.our-services-tab-container .et_pb_tabs_controls li.et_pb_tab_active {
    background-color: #91BAD5;
}
.our-services-tab-container .et_pb_tab_content img {
    display: none;
}
.our-services-tab-container .et_pb_tab {
    padding: 2.5vw;
}
.our-services-tab-container ul.et_pb_tabs_controls {
    display: flex;
    flex-wrap: wrap;
    background: #FBF0DE;
	padding: 0!important;
}
.our-services-tab-container ul.et_pb_tabs_controls > li {
    width: 33.33% !important;
    display: flex;
    border-right: 1px solid #499ACF;
}
.our-services-tab-container .et_pb_tab_content h3 {
    font-size: 25px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 24px;
}
.bramacare-impact-functional-container > div {
    width: 10.052vw!important;
    min-width: 10.052vw;
    transition: all .3s ease;
    margin-right: -2%!important;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.et_pb_number_counter .percent {
    height: auto!important;
}
.bramacare-impact-functional-container > div h3.title {
    width: 200px;
    margin-top: 20px;
}
.bramacare-impact-functional-container > div.active h3.title {
    width: auto;
}

.bramacare-impact-functional-container > div.active {
    width: 100%!important;
    height: 19.479vw;
    transition: all .3s ease;
}
.benefits-of-pbs.bramacare-impact-functional-container > div.active {
    height: 23vw;
}
.bramacare-impact-functional-container .et_pb_text_inner {
    display: none;
    opacity: 0;
    transition: all .3s ease;
}
.bramacare-impact-functional-container .et_pb_column.active .percent span {
    font-size: 5.76vw !important;
    transition: .3s ease;
}
.bramacare-impact-functional-container.percent span {
        transition: .3s ease;
}
.et-fb-root-ancestor .bramacare-impact-functional-container .et_pb_text_inner {
    display: block !important;
    opacity: 1;
}
.bramacare-impact-functional-container > div.active .et_pb_text_inner {
    display: block;
    opacity: 1;
    transition: all .3s ease;
}
.toggle-active-btn {
    position: absolute;
    bottom: 20px;
}
.toggle-active-btn {
    display: flex;
    align-items: center;
        cursor: pointer;
}
.toggle-active-btn:before {
    content: "\2b";
    font-family: 'FontAwesome';
    font-size: 30px;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 100%;
    line-height: 100% !important;
    height: 38px;
    width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bramacare-impact-functional-container > div.active .toggle-active-btn {
    display: none!important;
}
.bramacare-impact-functional-container .percent {
    margin-bottom: 0 !important;
}
.bramacare-impact-functional-container .et_pb_module.et_pb_text {
    display: flex;
    align-items: flex-end;
}
.bramacare-impact-functional-container .et_pb_number_counter {
    margin-top: 0 !important;
    margin-left: 0 !important;
}
.custom-toggle.open .et_pb_column{
    margin-bottom: 50px;
    transition: .3s ease;
}
.custom-toggle .et_pb_module:first-child {
    padding-bottom: 24px!important;
    margin-bottom: 0px!important;
        transition: .3s ease;
}
.custom-toggle.open .et_pb_module:first-child {
    margin-bottom: 15px!important;
        transition: .3s ease;
}
#et-boc .custom-toggle {
    padding: 0 !important;
}
.custom-toggle-btn {
    position: absolute;
    right: 0px;
    top: 24px;
    margin-bottom: 0 !important;
    z-index: 111;
    cursor: pointer;    
}
.custom-toggle-btn:before {
    content: "\f078";
    font-size: 20px;
    color: #FFFFFF;
    font-family: FontAwesome !important;
    font-weight: 900 !important;
}
.custom-toggle.open .custom-toggle-btn:before  {
    content: "\f077";
}





/* Nutricare */

.bramacare-blurb-wrapper {
    display: flex !important;
    gap: 0px !important;
  flex-direction: column;
  position: relative;
      align-items: flex-end;
}

.bramacare-blurb-wrapper .et_pb_main_blurb_image {
    flex: 1;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
        margin-bottom: 0 !important;
	width: 47%;
}
.bramacare-blurb-wrapper .et_pb_blurb_content {
    position: static!important;
}
.bramacare-blurb-wrapper .et_pb_blurb_container {
  flex: 1;
  cursor: pointer;
}
.bramacare-blurb-wrapper .et_pb_blurb {
    display: flex;
    align-items: flex-start;
    position: static;
    width: 50%;
    padding: 20px 32px;
    margin: 0 !important;
        border-left: 6px solid transparent;
        transition: all .3s ease;
}
.bramacare-blurb-wrapper .et_pb_blurb.active {
    background-color: #fff;
    border-left-color: #67aedd;
            transition: all .3s ease;
}
.bramacare-blurb-wrapper span.et_pb_image_wrap img {
    height: 34.375vw;
    width: 100%;
    object-fit: contain;
}
.bramacare-blurb-wrapper span.et_pb_image_wrap::before {
    content: "";
    width: 100%;
    height: 34.375vw;
    display: block;
    position: absolute;
    left: 0px;
    top: 0px;
    background-image: url(https://dev.digitalgroupmedia.com/bramacare/wp-content/uploads/Frame-blue.png);
    background-size: cover;
    background-position: center center;
    z-index: 999;
}
.bramacare-blurb-wrapper .et_pb_module:nth-child(2) .et_pb_image_wrap::before {
        background-image: url(https://dev.digitalgroupmedia.com/bramacare/wp-content/uploads/Frame-blue-and-white-line.png);
}
.bramacare-blurb-wrapper .et_pb_module:nth-child(3) .et_pb_image_wrap::before {
        background-image: url(https://dev.digitalgroupmedia.com/bramacare/wp-content/uploads/Frame-orage.png);
}
.bramacare-blurb-wrapper .et_pb_module:nth-child(4) .et_pb_image_wrap::before {
        background-image: url(https://dev.digitalgroupmedia.com/bramacare/wp-content/uploads/Frame-blue-and-white-line-2.png);
}

#et-boc .et-waypoint {
    animation: none !important;
    opacity: 1 !important;
}
.bramacare-blurb-wrapper h3.et_pb_module_header {
    font-size: 1.25vw;
    font-weight: 700;
}

.et-fb-root-ancestor .bramacare-blurb-wrapper .et_pb_main_blurb_image {
    position: static !important;
    width: auto;
    transform: unset;
}
.et-fb-root-ancestor .bramacare-blurb-wrapper .et_pb_blurb {
    width: 100%!important;
}
.et-fb-root-ancestor .bramacare-blurb-wrapper span.et_pb_image_wrap img {
    height: auto!important;
}
.et-fb-root-ancestor .bramacare-blurb-wrapper span.et_pb_image_wrap::before {
    display: none!important;
}
/* Autism Page */
.with-shortcode-editable-container {
    display: none;
}
.et-fb-root-ancestor .with-shortcode-editable-container {
    display: block!important;
}
.et-fb-root-ancestor .with-shortcode-tab-container .et_pb_all_tabs {
    display: none!important
}
.as-tab-container ul.et_pb_tabs_controls {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    background: transparent;
        margin-bottom: 64px;
}
.as-tab-container ul.et_pb_tabs_controls > li {
    border: 0;
    border-bottom: 1px solid transparent;
    padding: 10px 0;
    width: auto!important;
}
.as-tab-container li.et_pb_tab_active {
    border-bottom: 1px solid #91BAD5!important;
}
.as-tab-container ul.et_pb_tabs_controls > li a {
    width: auto!important;
    padding: 0;
}

/* v2 */
.accordion-effect-blurb {
    display: flex;
    border-radius: 20px;
    overflow: hidden;
}

.accordion-effect-blurb .et_pb_module .et_pb_blurb_content .et_pb_blurb_container {
    display: flex!important;
        position: static;
}
.accordion-effect-blurb .et_pb_module.active .et_pb_blurb_content .et_pb_blurb_container {
        border-right: 1px solid #B5C8D6;
}
.accordion-effect-blurb .et_pb_blurb_content {
    position: static;
}
.accordion-effect-blurb h3.et_pb_module_header {
    width: 82px;
    height: 36.406vw;
    display: flex;
    align-items: center;
    justify-content: center;
        padding: 0 !important;
        border-right: 1px solid #B5C8D6;
}
.accordion-effect-blurb .et_pb_module.active h3.et_pb_module_header {
    border: none!important;
}
.accordion-effect-blurb h3.et_pb_module_header span {
    position: absolute;
    transform: rotate(-90deg) translate(-44%, -0%);
    width: 36.406vw !important;
    height: 82px;
    top: 0px;
    display: flex;
    align-items: center;
    border-right: 1px solid #B5C8D6;
    padding: 20px;
    cursor: pointer;
}
.accordion-effect-blurb .et_pb_blurb_description h3 {
    font-size: 1.25vw;
    font-weight: bold;
    padding-bottom: 20px;
}
#page-container .accordion-effect-blurb .et_pb_module {
    width: 82px;
    transition: .2s ease;
    height: 36.406vw;
    position: relative;
    padding: 0 !important;
}
#page-container .accordion-effect-blurb .et_pb_module.active {
    width: 100%;
    transition: .2s ease;
}
.accordion-effect-blurb .et_pb_blurb_description {
    padding: 45px 40px 40px 40px;
    width: 100%;
}
span.module-number {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 1.25vw;
    font-weight: bold;
    color: #EBB14B;
}
/* Activity Plan */
.activity-plan-container .et_pb_blurb {
    min-height: 33.854vw;
    display: flex!important;
    align-items: flex-end;
        transition: all .5s ease;
}
.activity-plan-container .slick-slide {
    padding: 16px;    
}
.activity-plan-container .slick-list {
    overflow: visible!important;
}
ul.slick-dots {
    display: flex;
    position: static;
}
.activity-plan-container button.read-more-btn {
    display: flex;
    cursor: pointer;
}
.activity-plan-container .slick-current .et_pb_module.et_pb_blurb {
    background: #91BAD5;
    transition: all .5s ease;
}
.activity-plan-container .et_pb_module.et_pb_blurb:before {
    content: "";
    width: 100%;
    height: 15px;
    background: #344756;
    position: absolute;
    left: 0;
    bottom: 0;
}
.activity-plan-container .slick-current .et_pb_module.et_pb_blurb:before {
    background: transparent;
}
.blurb-number {
    display: flex;
    font-size: 2.188vw;
    font-weight: 700;
    margin-bottom: 20px;
}
.activity-plan-container button.read-more-btn {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    padding: 0;
}
.activity-plan-container button.read-more-btn:after {
    content: "\f054";
    font-family: 'fontawesome';
    font-weight: bold;
    padding-left: 20px;
}
.activity-plan-container h3.et_pb_module_header {
    margin-bottom: 20px;
}
.activity-number-1:after {
    background-image: url(https://dev.digitalgroupmedia.com/bramacare/wp-content/uploads/graphic-1-1.png);
    background-position: right top;
}
.activity-number-2:after {
    background-image: url(https://dev.digitalgroupmedia.com/bramacare/wp-content/uploads/graphic-2.png);
    background-position: center top;
}
.activity-number-3:after {
    background-image: url(https://dev.digitalgroupmedia.com/bramacare/wp-content/uploads/graphic-3.png);
    background-position: right top;
}
.activity-number-4:after {
    background-image: url(https://dev.digitalgroupmedia.com/bramacare/wp-content/uploads/graphic-4-1.png);
    background-position: center top;
}
.activity-plan-container .et_pb_blurb:after {
    content: "";
    width: 100%;
    height: 60%;
    position: absolute;
    top: 0;
    left: 0;
    background-repeat: no-repeat;
    background-size: contain;
    transition: all .6s ease-in-out;
}
.activity-plan-container .et_pb_blurb.active:after {
	height: 15%;
    transition: all .6s ease-in-out;
    background-position: right top;
}
.slick-dots li button:before {
    opacity: 100%;
    color: #AAAAAA;
}
.slick-dots li.slick-active button:before {
    opacity: 100%;
    color: #EBB14B;
}
.slick-dots li {
    width: 5px;
    height: 5px;
}
.slick-arrow {
    cursor: pointer;
}

.cac-tab-container .et_pb_tab .et_pb_row {
    width: 100% !important;
    max-width: 100%;
}
.cac-tab-container ul.et_pb_tabs_controls {
    background-color: transparent;
}
.cac-tab-container ul.et_pb_tabs_controls > li {
    width: 50%;
    text-align: center;
}
.cac-tab-container  .et_pb_tabs_controls li a {
    padding: 25px;
    line-height: 100%;
        display: flex;
    align-items: center;
    justify-content: center;
}

/* Outcome Page */
.et_pb_testimonial_portrait {
    width: 48px !important;
    height: 48px !important;
    margin-right: 16px!important;
    margin-bottom: 0 !important;
}
.et_pb_testimonial_author {
    margin-top: 0;
}
.testimonials-slider-container .et_pb_testimonial_description {
    margin: 0 !important;
    height: 17.5vw;
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    align-content: space-between;
}
.testimonials-slider-container .slick-slide {
    margin: 10px!important;
}
.testimonial-info-wrapper {
    display: flex;
}

/* Positive Behaviour House */
.benefits-of-pbs span.percent-sign {
    display: none;
}
.benefits-of-pbs span.percent-value:before {
    content: "0";
}

/* Quality and Compliance */
.image-module-dark-blue-border span.et_pb_image_wrap, 
.image-module-dark-blue-border span.et_pb_image_wrap img {
    width: 100%;
    height: 27.187vw;
    object-fit: cover;
}
.image-module-dark-blue-border {
    border-radius: 11.042vw 20px;
    overflow: hidden;
}
.image-module-dark-blue-border:after {
    content: "";
    width: 100%;
    height: 27.187vw;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    background-image: url(https://dev.digitalgroupmedia.com/bramacare/wp-content/uploads/image-dark-blue-frame.png);
    background-size: cover;
    background-position: center;
}

/* Occupation */
.image-module-blue-2-border span.et_pb_image_wrap, 
.image-module-blue-2-border span.et_pb_image_wrap img {
    width: 100%;
    height: 27.187vw;
    object-fit: cover;
}
.image-module-blue-2-border {
    border-radius: 11.042vw 20px;
    overflow: hidden;
}
.image-module-blue-2-border:after {
    content: "";
    width: 100%;
    height: 27.187vw;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    background-image: url(https://dev.digitalgroupmedia.com/bramacare/wp-content/uploads/Frame-blue-and-white-line-3.png);
    background-size: cover;
    background-position: center;
}

/* Contact Page */
.contact-button {
    border: none!important;
}
.gfield input, .gfield textarea {
    border: 1px solid #fff!important;
    background: transparent!important;
    border-radius: 10px!important;
    color: #fff!important;
}

.gfield label.gfield_label {
    color: #AAA!important;
}

span.gfield_required.gfield_required_text {
    display: none;
}
.gform_fields {
    row-gap: 20px!important;
}
.terms-form-container .gchoice label {
    color: #fff!important;
}
.terms-form-container .gchoice label a {
    color: #fff;
    text-decoration: underline;
}
.terms-form-container .gchoice input {
    border-color: #EBB14B!important;
    border-radius: 100%!important;
}
.terms-form-container .gchoice input:before {
    color: #fff;
}
.gform_button {
    font-size: 0.83vw!important;
    background-color: #EBB14B!important;
    color: #344756!important;
    padding: 0.78vw 1.04vw!important;
    border-bottom-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
    line-height: 100%!important;
}

/* The Oxlip House */
.image-module-with-light-blue-border span.et_pb_image_wrap, 
.image-module-with-light-blue-border span.et_pb_image_wrap img {
    width: 100%;
    height: 27.187vw;
    object-fit: cover;
}
.image-module-with-light-blue-border {
    border-radius: 11.042vw 20px;
    overflow: hidden;
}

.image-module-with-light-blue-border:after {
    content: "";
    width: 100%;
    height: 27.187vw;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    background-image: url(https://dev.digitalgroupmedia.com/bramacare/wp-content/uploads/Frame-light-blue.png);
    background-size: cover;
    background-position: center;
}
li {
    line-height: 150% !important;
}
ol li {
    margin-bottom: 20px;
}
ol li ul li {
    margin: 0!important;
}
ol li ul {
    margin-left: 20px;
    padding-bottom: 0!important;
}


/* Online Consultation */
.image-module-with-yellow-v2-border span.et_pb_image_wrap, 
.image-module-with-yellow-v2-border span.et_pb_image_wrap img {
    width: 100%;
    height: 27.187vw;
    object-fit: cover;
}
.image-module-with-yellow-v2-border {
    border-radius: 11.042vw 20px;
    overflow: hidden;
}

.image-module-with-yellow-v2-border:after {
    content: "";
    width: 100%;
    height: 27.187vw;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    background-image: url(https://dev.digitalgroupmedia.com/bramacare/wp-content/uploads/Frame-orage-1.png);
    background-size: cover;
    background-position: center;
}
.image-module-with-border--border-adjusted {
    border-radius: 11.042vw 20px;
    overflow: hidden;
}

/* Referral Page */
.address-form, .gform-double-wrap-1, .gform-double-wrap-2, .patient-name-form {
    grid-column: span 6!important;
}

.gender-form, .date-form {
    grid-column: span 3!important;
}
.date-form .datepicker {
    width: 100% !important;
}

#referral-form-container .gfield_label, #referral-form-container .gform-field-label {
    color: #fff!important;
}
#referral-form-container .gfield input, #referral-form-container .gfield textarea {
    border: 1px solid #fff !important;
    background: #fff !important;
    border-radius: 10px !important;
    color: #344756 !important;
}
#referral-form-container .gfield select {
    border: 1px solid #fff !important;
        color: #344756 !important;
}
#referral-form-container .gform-double-wrap-1 > div:last-child, .gform-double-wrap-2 > div:last-child {
    margin-top: 10px;
}
#referral-form-container .gfield--type-html {
    color: #fff;
    font-weight: lighter;
}
#referral-form-container .gfield--type-html h3 {
    color: #FBF0DE !important;
    font-size: 16px;
    text-transform: uppercase;
    padding-top: 20px;
    border-top: 1px dashed #FBF0DE;
    margin-top: 30px;
    margin-bottom: 5px;
}

/* Footer */
.et-l--footer .et-menu-nav a {
    padding-bottom: 0px !important;
}
.et-l--footer .et_pb_menu .et-menu-nav>ul {
    flex-direction: column;
}

/* Mobile */
/*change Divi hamburger menu to X*/
.mobile_nav.opened .mobile_menu_bar:before {
    content: '\4d';
}
/*rotate the Divi Menu icon on click*/
.mobile_menu_bar:before {
	transition: all .4s ease;
	transform: rotate(0deg);
	display: block;
}
/*rotate the Divi Menu icon on click*/
.mobile_nav.opened .mobile_menu_bar::before {
	transition: all .4s ease;
	transform: rotate(90deg);
	display: block;
}
/*change hamburger icon to x when mobile menu is open*/

#et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before,
.et_pb_module.et_pb_menu .et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
	content: '\4d';
}


/*adjust the new toggle element which is added via jQuery*/

ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
ul.et_mobile_menu li.page_item_has_children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.page_item_has_children .mobile-toggle {
	width: 44px;
	height: 100%;
	padding: 0px !important;
	max-height: 44px;
	border: none;
	position: absolute;
	right: 0px;
	top: 0px;
	z-index: 999;
	background-color: transparent;
}
ul.et_mobile_menu>li.menu-item-has-children,
ul.et_mobile_menu>li.page_item_has_children,
ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.page_item_has_children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children {
	position: relative;
}
.et_mobile_menu .menu-item-has-children>a,
.et-db #et-boc .et-l .et_mobile_menu .menu-item-has-children>a {
	background-color: transparent;
}
ul.et_mobile_menu .menu-item-has-children .sub-menu,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu {
	display: none !important;
	visibility: hidden !important;
}
ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible {
	display: block !important;
	visibility: visible !important;
}
ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle {
	text-align: center;
	opacity: 1;
}
ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after {
	top: 10px;
	position: relative;
	font-family: "ETModules";
	content: '\33';
	color: #EBB14B;
	background: #f0f3f6;
	border-radius: 50%;
	padding: 3px;
}
ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after {
	content: '\32';
}
.et_pb_menu_0.et_pb_menu .et_mobile_menu:after {
	position: absolute;
	right: 5%;
	margin-left: -20px;
	top: -14px;
	width: 0;
	height: 0;
	content: '';
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-bottom: 20px solid #ffffff;
}
.mobile_menu_bar {
	position: relative;
	display: block;
	bottom: 0px;
	line-height: 0;
}
.et_pb_menu_0.et_pb_menu .et_mobile_menu,
.et_pb_menu_0.et_pb_menu .et_mobile_menu ul {
	background-color: #ffffff!important;
	border-radius: 10px;
}
.et_mobile_menu .menu-item-has-children>a {
	font-weight: normal!important;
}


/* Knowledge Centre */
.custom-post-container {
    border-radius: 30px;
    overflow: hidden;
}
.custom-post-summary {
    padding: 1.667vw;
    display: flex;
    flex-wrap: wrap;
    background: #FBF0DE;
}
img.custom-featured-image {
    display: flex;
    aspect-ratio: 7 / 6;
	width: 100%;
    object-fit: cover;
}
h2.post-title {
    font-size: 1.25vw!important;
    margin-bottom: 5px;
    width: 100%;
    font-weight: 600;
}
.post-meta {
    display: flex;
    margin-bottom: 15px;
    align-items: center;
}
.post-excerpt {
    width: 100%;
	line-height: 150%;
}
a.read-more-button {
    font-size: 14px;
    margin-top: 20px;
    display: flex;
}
a.read-more-button:after {
    content: "\f054";
    font-family: fontawesome;
    font-weight: bold;
    margin-left: 10px;
    color: #000000;
    font-size: inherit;
}
span.post-category {
    background: #ebb14b;
    color: #fff;
    font-size: 14px;
    padding: 8px;
    line-height: 100%;
    border-radius: 8px;
    font-weight: 600;
    margin-right: 16px;
}
.reading-time {
    font-size: 14px;
    font-weight: 600;
}
.facetwp-news_category_categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}
.facetwp-facet-news_category > div.checked {
    background: #91BAD5 !important;
    color: #fff;
    transition: all .3s ease;
}
.facetwp-facet-news_category .facetwp-display-value {
    padding-right: 0 !important;
}
.facetwp-facet-news_category > div .facetwp-counter {
    display: none;
}
.facetwp-facet-news_category > div {
	padding: 15px 25px;
    background: transparent!important;
    border-radius: 30px;
    font-weight: bold;
    transition: all .3s ease;
	font-size: 0.83vw;
	    line-height: 100%;
	    margin-bottom: 0;
}
.facetwp-facet.facetwp-facet-news_category.facetwp-type-radio {
    display: flex;
    justify-content: center;
	background: #FBF0DF;
	    border-radius: 30px;
}
.et_pb_post_content h3 {
    padding-top: 20px;
}
.fwpl-layout.post-container.post-homepage-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 2.604vw;
}






@media (min-width: 980px) {
	.et-menu .menu-item-has-children>a:first-child {
		padding-right: 1.042vw!important;
	}
	.et_pb_menu__logo-wrap img {
		max-width: 11.302vw!important;
	}
	.et_pb_menu .et-menu>li {
		padding-left: 0.573vw;
    	padding-right: 0.573vw;
	}
}
@media (max-width: 1360px) and (min-width: 980px) {
	  .top-menu.et_pb_menu_0_tb_header {
			width: 85%!important;
		}
}




@media (max-width: 980px) {
    .facetwp-facet-news_category > div {
        font-size: 16px;
    }
    .gform_button {
        font-size: 16px!important;
        padding: 15px 25px!important;
    }
    .how-can-we-help-blurb .et_pb_main_blurb_image, 
    .how-can-we-help-blurb .et_pb_main_blurb_image img {
        height: 170px;
    }
    .how-can-we-help-blurb .et_pb_blurb_container {
        padding: 25px;
    }
    .with-blue-border, .with-blue-border img, .with-yellow-border, .with-yellow-border img {
        height: 429px !important;
    }
    .stats-row-container .et_pb_column {
        padding-left: 0;
    }
    .et-l--footer .et_mobile_menu {
        display: block;
        position: static;
        width: 100%;
        padding: 0;
        border: none;
        box-shadow: none;
    }

    .et-l--footer .mobile_nav{
        width: 100%;
    }

    .et-l--footer .et_mobile_nav_menu {
        width: 100%;
        margin: 0!important;
    }

    .et-l--footer span.mobile_menu_bar {
        display: none;
    }

    .et-l--footer .et_mobile_menu a {
        padding: 0 0 5px;
        border: none;
    }
    .image-module-with-yellow-border, .image-module-with-yellow-border img, .image-module-with-yellow-border:after {
        height: 738px !important;
        border-radius: 25px;
    }
    .our-services-tab-container .et_pb_tab {
        padding: 30px;
    }
    .our-services-tab-container ul.et_pb_tabs_controls > li {
        width: 100% !important;
        border-right: none;
        border-bottom: 1px solid #499acf;
    }
    .bramacare-impact-functional-container > div {
        width: 100% !important;
    }
    .bramacare-impact-functional-container > div.active {
        width: 100% !important;
        height: auto !important;
    }
    .toggle-active-btn {
        position: static;
    }
    .bramacare-blurb-wrapper .et_pb_main_blurb_image {
        left: 50%;
        top: -460px;
        transform: translateX(-50%);
        margin-bottom: 0 !important;
        width: 335px;
    }
    .bramacare-blurb-wrapper .et_pb_blurb {
        position: static;
        width: 100%;
        padding: 20px;
    }
    .bramacare-blurb-wrapper span.et_pb_image_wrap::before {
        height: 100%;
    }
    .bramacare-blurb-wrapper {
        margin-top: 300px;
    }
    .bramacare-blurb-wrapper span.et_pb_image_wrap img {
        height: 419px;
    }
    .bramacare-blurb-wrapper {
        margin-top: 450px;
    }
    .as-tab-container ul.et_pb_tabs_controls {
        gap: 15px;
            margin-bottom: 0px;
    }
    .as-tab-container .et_pb_tab .et_pb_column {
        padding: 0!important;
    }
    .as-tab-container .et_pb_tab .et_pb_row{
        display: flex;
        flex-direction: column-reverse;
    }
    .as-tab-container .et_pb_tab .et_pb_row .et_pb_column:last-child {
        margin-bottom: 30px!important;
    }
    .as-tab-container .et_pb_tab .et_pb_row .et_pb_column:first-child {
        margin-bottom: 0px!important;
    }
    .accordion-effect-blurb h3.et_pb_module_header span {
        position: static;
        transform: none;
        width: 100% !important;
        height: auto;
        border-right: none!important;
    }
    .accordion-effect-blurb {
        flex-wrap: wrap;
    }
    #page-container .accordion-effect-blurb .et_pb_module {
        width: 100%!important;
        height: auto!important;
    }
    .accordion-effect-blurb .et_pb_module .et_pb_blurb_content .et_pb_blurb_container {
        flex-direction: column;
        border: 1px solid #B5C8D6;
        border-right-width: 0 !important;
        border-left-width: 0 !important;
    }
    .accordion-effect-blurb h3.et_pb_module_header {
        width: 100%;
        height: auto;
    }
    .accordion-effect-blurb .et_pb_blurb_description h3 {
            font-size: 20px;
    }
    .accordion-effect-blurb .et_pb_blurb_description {
        padding: 20px;
        padding-top: 0;
    }
    span.module-number {
        top: 20px;
        left: auto;
        right: 20px;
        font-size: 18px;
    }
    .accordion-effect-blurb .et_pb_blurb_description h3 {
        display: none!important;
    }
    .activity-plan-container .et_pb_blurb {
        min-height: 500px;
		height: auto!important;
    }
    .activity-plan-container .et_pb_blurb.active:after {
        height: 26%;
    }
    .blurb-number {
        font-size: 20px;
    }
    .image-module-blue-2-border, .image-module-blue-2-border img, .image-module-blue-2-border:after {
        height: 738px !important;
        border-radius: 310px 25px;
    }
    .gform_fields {
        row-gap: 20px !important;
        display: flex !important;
        flex-wrap: wrap;
        flex-direction: column;
    }
    .image-module-with-light-blue-border span.et_pb_image_wrap, .image-module-with-light-blue-border span.et_pb_image_wrap img,
    .image-module-dark-blue-border span.et_pb_image_wrap, .image-module-dark-blue-border span.et_pb_image_wrap img, 
    .image-module-with-yellow-v2-border span.et_pb_image_wrap, .image-module-with-yellow-v2-border span.et_pb_image_wrap img {
        height: 738px;
    }
    .image-module-with-light-blue-border:after,
    .image-module-dark-blue-border:after, 
    .image-module-with-yellow-v2-border:after {
        height: 738px;
    }
    .testimonials-slider-container .et_pb_testimonial_description {
        height: auto!important;
    }
    .top-header-logo .et_pb_image_wrap {
        text-align: center;
    }
    .custom-post-summary {
        padding: 30px;
    }
    h2.post-title {
        font-size: 25px !important;
    }
    .image-on-top {
        display: flex;
        flex-direction: column-reverse;
    }
    .image-on-top .et_pb_column:first-child{
        margin-bottom: 0!important;
    }
    .image-on-top .et_pb_column:last-child{
        margin-bottom: 30px!important;
    }
    .image-on-top.remove-space-last-child .et_pb_column:last-child {
        margin-bottom: 0!important;
    }
	.activity-plan-container .et_pb_blurb:after {
		background-position: top right!important;
	}
	.activity-plan-container .et_pb_blurb.active:after {
		height: 15% !important;
	}
	ul#mobile_menu1 {
		overflow: scroll !important;
        max-height: 90vh;
	}
	.benefits-of-pbs .toggle-active-btn {
		display: none;
	}


}

@media (max-width: 480px) {
	.custom-toggle-col {
		width: 100% !important;
	}
    .image-module-with-light-blue-border span.et_pb_image_wrap, .image-module-with-light-blue-border span.et_pb_image_wrap img, 
    .image-module-dark-blue-border span.et_pb_image_wrap, .image-module-dark-blue-border span.et_pb_image_wrap img, 
    .image-module-with-yellow-v2-border span.et_pb_image_wrap, .image-module-with-yellow-v2-border span.et_pb_image_wrap img {
        height: 372px;
    }
    .image-module-with-light-blue-border:after,
    .image-module-dark-blue-border:after, 
    .image-module-with-yellow-v2-border:after {
        height: 372px;
    }
    .gform_button {
        padding: 15px!important;
    }
    .cac-tab-container .et_pb_tabs_controls li a {
        justify-content: flex-start;
        text-align: left;
    }
    .cac-tab-container ul.et_pb_tabs_controls > li {
        width: 100%;
    }
     .bramacare-blurb-wrapper .et_pb_main_blurb_image {
        left: 50%;
        top: -460px;
        transform: translateX(-50%);
        margin-bottom: 0 !important;
        width: 90%;
    }
    .bramacare-blurb-wrapper {
        margin-top: 450px;
    }
    .bramacare-blurb-wrapper span.et_pb_image_wrap img {
        height: 419px;
    }
    .with-blue-border, .with-blue-border img, .with-yellow-border, .with-yellow-border img {
        height: 209px !important;
    }
    .image-module-with-yellow-border, .image-module-with-yellow-border img, .image-module-with-yellow-border:after {
        height: 372px !important;
    }
    .image-module-blue-2-border, .image-module-blue-2-border img, .image-module-blue-2-border:after {
        height: 372px !important;
                border-radius: 155px 20px;
    }
    
}