:root {
    --primary-color: #3986bb;
    --secondary-color: #132031;
    --accent-color: #eb143a;
    --body-text-color: #696868;
    --link-color: #226ea2;
    --link-hover-color: #5399ca;
    --headings-color: #5a618a;
    --button-color: #3e98d6;
    --button-text-color: #ffffff;
    --home-h1-color: #ffffff;
    --home-h2-color: #226ea2;
    --faq-background-color: #1090dc;
    --faq-header-color: #0e81c6;
    --faq-header-hover-color: #0567a1;
    --menu-link-color: #53525a;
    --menu-link-hover-color: #ce4b4b;
    --body-font-family: 'Roboto';
    --headings-font-family: 'Work Sans';
}

:is(.page-content, .entry-content, .entry-summary) :is(h2, h3, h4, h5, h6) {
    text-align: left;
}

/* Call to action button on home page*/
.banner-caption .btn.btn-primary {
    margin: 0 10px;
}

.btn.btn-primary.btn-action {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.btn.btn-primary.btn-action:hover {
    color: white;
    border-color: var(--accent-color);
    background:none;
}

body .faq_accordance {
    max-height: none;
}

body :is(h2, h3, h4, h5, h6){
    color: var(--headings-color);
}

figcaption h2 {
    color: #ffffff;
    text-shadow: 1px 1px 1px #8a8888;
}

.promotion figure.medic-effect img {
    opacity: 0.9;
}

.home-slider-overlay {
    background-color: rgba(0, 0, 0, 0.2);
}

#main img {
    margin: 5px 0 15px 0;
    border-left: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
}

.page-content, .entry-content, .entry-summary {
    text-align: justify;
}

.entry-content ul,
.entry-content ol,
.seo-text ul,
.seo-text ol {
    margin: 0 0 10px 40px;
    color: var(--body-text-color);
    list-style-type: square;
}

#get-started-img {
    border-bottom: 1px solid #adadad;
}

#cf7md-form .mdc-textfield__label {
    font-size: unset;
    color: #2d2c2c;
}

#cf7md-form .mdc-textfield--upgraded:not(.mdc-textfield--fullwidth):not(.mdc-textfield--multiline)::after {
    background-color: rgb(62, 78, 181);
}

#cf7md-form .mdc-textfield--multiline .mdc-textfield__input:invalid:not(:focus) {
    border-color: rgb(63, 79, 181);
}

.wpcf7 form.sent .wpcf7-response-output {
    color: #048d10 !important;
    border-bottom: 2px solid #048d10 !important;
}


/* Call to action button on home page*/
.button_cont {
    margin: 30px 0 30px;
}

.call_to_action_content {
    border-radius: 4px;
    background: linear-gradient(to right, #c479da, #4ca2cb) !important;
    border: none;
    color: #FFFFFF;
    text-align: center;
    text-transform: uppercase;
    font-size: 22px;
    padding: 20px;
    width: 200px;
    transition: all 0.4s;
    cursor: pointer;
    margin: 5px;
}

.call_to_action_content span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.4s;
}

.call_to_action_content span:after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
}

.call_to_action_content:hover {
    color: #a70505;
}

.call_to_action_content:hover span {
    padding-right: 25px;
}

.call_to_action_content:hover span:after {
    opacity: 1;
    right: 0;
}


/*Fixes*/
body .flex-control-nav {
    z-index: 9;
}

body .booking_form {
    max-height: fit-content;
}

#content > section.facilities .row:nth-child(2), #content > section.services .row:nth-child(2) {
    display: flex;
    justify-content: flex-start;
    align-content: flex-start;
    flex-wrap: wrap;
}


@media (max-width: 472px) {
    .call_to_action_content {
        font-size: 16px;
    }

    .banner-caption .btn.btn-primary {
        display: inline-block;
        margin: 0;
    }

    .banner-caption .btn.btn-primary.btn-action {
        margin: 15px 15px 0 15px;
    }
}


@media (max-width: 767px) {
    img[alt="contact-us-image"] {
        display: none;
    }
}
@media (max-width: 767px) {
    #header-wrap>div.container>div.row{
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        justify-content: flex-end;
    }
    #header-wrap>div.container>div.row>div{
        width: auto;
    }
    #primary-menu{
        width: auto;
    }
    #primary-menu li{
        white-space: nowrap;
    }
    #primary-menu li .sub-menu{
        white-space: normal;
    }
    #primary-menu li.menu-item-has-children{
        padding-right: 55px;
    }
    .header-logo.site-branding{
        margin-top: 0;
        line-height: 1.4em;
    }
    .fa-plus.fa-minus:before {
        content: "\f068";
    }
}
.main-navigation .current-menu-item ul.sub-menu a{
    color: var(--menu-link-color);
}
@media (max-width: 767px) {
    .main-navigation .current-menu-item ul.sub-menu a{
        color: #ffffff;
    }
}
.main-navigation .current-menu-item ul.sub-menu a:hover{
    color: var(--menu-link-hover-color);
}

.wpcf7-form label{
    color:var(--body-text-color);
    font-size: 14px;
    font-weight: normal;
    text-align: left;
}
