/*
Theme Name: Online Trauma Centre
Version: 1.1
Description: A child theme of psycholox
Template: psycholox
*/

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

/*-------------------------------------------------------------------------------------------------------------------------------*/
/* ROOT
/*-------------------------------------------------------------------------------------------------------------------------------*/

p {
    font-size: 1rem;
    line-height: 1.8rem !important;
    & a {
        color: var(--lilac-400);
    }

    &:not(.mail &){
        margin-bottom: 1.5rem !important;
    }
    body & {
        color: #242424;
    }
}

.wpb-content-wrapper ul {
    margin-bottom: 1.5rem !important;
    & li {
        font-size: 1rem;
        line-height: 1.8rem;
        color: #242424 !important;
        list-style: disc;
    }
}

*:not(.fa) {
    font-family: Lato, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    text-transform: unset !important;
    &.tight {
        margin-bottom: 0.25rem !important;
    }
}

.banner {
    padding: 40px 0;
    margin-bottom: 0 !important;
    & h1 {
        margin-bottom: 15px !important;
    }
    .blog & {
        margin-bottom: 40px !important;
    }
}

h1.large {
    font-size: 3rem;
    line-height: 4rem;
    margin-bottom: 1rem;
}

h1 {
    margin-bottom: 2rem !important;
}

h2 {
    font-size: 2.1rem !important;
    line-height: 3.2rem !important;
    margin-bottom: 1.5rem !important;
    @media (max-width: 767px) {
        font-size: 1.9rem !important;
        line-height: 3rem !important;
    }
}

h3 {
    font-size: 1.75rem !important;
    margin-bottom: 1.5rem !important;
    line-height: 2.8rem !important;
}

h4 {
    font-size: 1.55rem !important;
    margin-bottom: 0.6rem !important;
    line-height: 2.25rem !important;
}

h5 {
    margin-bottom: 0.8rem !important;
    line-height: 2rem !important;
}

h6 {
    margin-bottom: 0.5rem !important;
    line-height: 1.8rem !important;
}

h2, h3, h4, h5, h6 {
    text-transform: unset;
}

.gap {
    height: 1rem;
    width: 100%;
}

.gap-sm {
    height: 0.5rem;
    width: 100%;
}

.gap-lg {
    height: 1.5rem;
    width: 100%;
}

.gap-xl {
    height: 2rem;
    width: 100%;
}

.white-text * {
    color: white !important;
}

.flex {
    display: flex;
    align-items: stretch;
}

.flex > div {
    flex: 1;
}

.contain-bg > div {
    height: 100%;
}

.container.main-container {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

/*-------------------------------------------------------------------------------------------------------------------------------*/
/* COLOURS
/*-------------------------------------------------------------------------------------------------------------------------------*/

:root {
    --green-400: #958e41;
    --green-300: #c1b86f;
    --green-200: #d5cf9e;
    --green-100: #ece9d2;
    --warm-grey: #f3f1ee;
    --lilac-200: #c19dd9;
    --lilac-300: #a382b5;
    --lilac-400: #856891;
}

.grey {
    background: var(--warm-grey);
}

.green-400 {
    color: var(--green-400) !important;
}

.green-300 {
    color: var(--green-300) !important;
}

.green-200 {
    color: var(--green-200) !important;
}

.green-100 {
    color: var(--green-100) !important;
}

.lilac-400 {
    color: var(--lilac-400) !important;
}

.lilac-300 {
    color: var(--lilac-300) !important;
}

.lilac-200 {
    color: var(--lilac-200) !important;
}

/*-------------------------------------------------------------------------------------------------------------------------------*/
/* BLOG
/*-------------------------------------------------------------------------------------------------------------------------------*/

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    @media (min-width: 768px) {
        grid-template-columns: repeat(2, 1fr);
    }
    margin-bottom: 3rem !important;
}

.blogAside ul li a {
    color: var(--lilac-400) !important;
}

.blogWrapper .blogInfo p {
    margin-bottom: 0 !important;
}

a.more-link {
    background: var(--lilac-300);
    display: inline-block;
    max-width: unset !important;
    margin-top: 0;
    text-wrap: nowrap !important;
    & span {
        margin-bottom: 0 !important;
    }
    &::before {
        background: var(--lilac-200);
    }
}

.searchWrapper .searchBtn {
    padding: 1px 6px !important;
    top: 9px !important;
    right: 9px !important;
}



/*-------------------------------------------------------------------------------------------------------------------------------*/
/* SIDEBAR MENU
/*-------------------------------------------------------------------------------------------------------------------------------*/

.sidebarMenu {
    position: relative;
    border: 1px solid var(--lilac-300);
    margin-bottom: 48px;
    @media (max-width: 991px) {
        margin-bottom: 0 !important;
    }
}

.sidebarMenu li {
    position: relative;
    list-style: none;
    & a {
        display: block;
        background: var(--lilac-300);
        color: #fff;
        padding: 17px 29px;
        -webkit-transition: all 150ms linear;
        transition: all 150ms linear;
    }
}

.sidebarMenu li:before {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 5px;
    background: var(--lilac-400);
    content: '';
}

.sidebarMenu li:after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--lilac-300);
    content: '';
}

.sidebarMenu li.activeCat a,
.sidebarMenu li a:hover {
    background: var(--lilac-400);
}

.menu-therapies-container, .menu-help-container {
    @media (max-width: 991px) {
        display: none;
    }
}

.menu-therapies-container ul li a, .menu-help-container ul li a {
    color: white !important;
}

.menu-wrapper-mobile{
    position: relative;
    > i {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        color: white;
        font-size: 1.5rem;
    }
    @media (min-width: 992px) {
        display: none;
    }
    footer & {
        display: none;
    }
}

.menu-therapies-container-mobile, .menu-help-container-mobile {
    background-color: var(--lilac-300);
    color: white;
    border: none;
    border-left: 5px solid var(--lilac-400);


}

/*-------------------------------------------------------------------------------------------------------------------------------*/
/* MAIN NAV
/*-------------------------------------------------------------------------------------------------------------------------------*/

nav {
    border: none;
}

.menu-item.as-button {
    background: var(--lilac-200) !important;
    padding: 10px;
    @media (min-width: 992px) {
        border-radius: 20px;
    }
}

.menu-item.as-button:hover {
    background: var(--lilac-200);
}

.menu-item.as-button a {
    color: white !important;
    padding: 10px !important;
}

header .logo img {
    width: 144px;
    height: 71px;
}

/*.header2 nav {*/
/*    padding-top: 37px;*/
/*}*/

/*.header3.responsiveHeaderSrolled .logo img{*/
/*    width: auto;*/
/*}*/

/*-------------------------------------------------------------------------------------------------------------------------------*/
/* HEADER
/*-------------------------------------------------------------------------------------------------------------------------------*/

.top-line3 {
    background: var(--green-400);
}

.top-line3 p {
    color: var(--green-100) !important;
}

a.logo img {
    width: auto !important;
}

.logo {
    max-height: unset;
    max-width: unset;
}

/*-------------------------------------------------------------------------------------------------------------------------------*/
/* HOMEPAGE
/*-------------------------------------------------------------------------------------------------------------------------------*/

.quadrants {
    display: grid;
    grid-template-columns: 1fr 1fr;
    @media (max-width: 767px) {
        grid-template-columns: 1fr;
    }
}

.quadrant {
    padding: 2rem;
    display: flex;
    flex-direction: row;
    column-gap: 0.5rem;
    border-style: solid;
    border-color: #DDD;
}

.quadrant > p {
    flex: 1
}

#quadrant-1 {
    border-width: 0 1px 1px 0;
}


#quadrant-2 {
    border-width: 0 0 1px 0;
}

#quadrant-3 {
    border-width: 0 1px 0 0;
}

.quadrant-content {
    flex: 5;
}

.contactBg img {
    display: none !important;
}

.bgShadow.style2:before {
    background: var(--lilac-400);
}

.hero-title-container {
    display: flex;
    flex-direction: row;
    gap: 1rem
}

.hero-title-logo {
    width: 100px;
    height: 107px;
    background-image: url('/wp-content/uploads/2025/02/otc_bowls.png');
    background-size: contain;
    background-repeat: no-repeat;
    @media (max-width: 1199px) {
        display: none;
    }
}

.responsive-4-col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    @media (max-width: 991px) {
        grid-template-columns: repeat(2, 1fr);
    }
    @media (max-width: 767px) {
        grid-template-columns: 1fr;
    }
    & > div {
        width: 100% !important;
    }
    &:before {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .evidence-based-banner .vc_column_container {
        background-color: rgba(var(--lilac-300), 0.6);
    }
}

/*

<img class="alignnone size-full wp-image-1473" src="http://dev.onlinetraumacentre.co.uk/wp-content/uploads/2025/02/otc_bowls.png" alt="" width="100" height="107" />

 */
.hero-desktop {
    h1.hero {
        font-size: 2.8rem;
        font-weight: 600;
        margin-bottom: 0.8rem !important;
        color: var(--lilac-400);
        position: relative;
    }

    h2.hero {
        font-size: 3.9rem;
        font-weight: 700;
        margin-bottom: 0.5rem !important;
    }

    h4.hero {
        font-size: 1.4rem;
        line-height: 1.9rem;
    }
    @media (max-width: 991px) {
        display: none;
    }
}

.hero-mobile {
    h1.hero {
        font-size: 2.8rem;
        font-weight: 600;
        margin-bottom: 0.8rem !important;
        color: var(--lilac-400);
        position: relative;
        @media (max-width: 480px) {
            font-size: 2.1rem;
        }
    }

    h2.hero {
        font-size: 3.9rem;
        font-weight: 700;
        margin-bottom: 0.5rem !important;
        @media (max-width: 480px) {
            font-size: 3rem;
        }
    }

    h4.hero {
        font-size: 1.4rem;
        line-height: 1.9rem;
    }
    @media (min-width: 992px) {
        display: none;
    }
}

.hero-rule {
    width: 100%;
    border-bottom: 2px solid var(--lilac-400);
    margin-bottom: 2rem;
}

.hero-bullets {
    margin-top: 3rem;
    display: flex;
    flex-direction: row;
    @media (max-width: 991px) {
        margin-top: 2rem;
    }
    @media (max-width: 600px) {
        flex-direction: column;
        gap: 0;
    }
    @media (min-width: 601px) {
        gap: 2rem;
    }
    font-size: 1.5rem;
    & ul {
        padding: 0;
        margin: 0;
        & li {
            margin-bottom: 1.2rem;
            position: relative;
            list-style: none;
            padding-left: 3rem;
            &::before {
                position: absolute;
                left: 0;
                top: 0;
                width: 2.5rem;
                height: 2.5rem;
                background-image: url('/wp-content/uploads/2025/01/otc_plant_dark_purple.png');
                background-size: contain;
                background-repeat: no-repeat;
                content: '';
            }
        }
    }
}



/*-------------------------------------------------------------------------------------------------------------------------------*/
/* ACCORDION
/*-------------------------------------------------------------------------------------------------------------------------------*/

.vc_tta-panel-heading, .vc_tta-panel-body {
    background-color: var(--warm-grey);
}

.vc_active .vc_tta-controls-icon-plus {
    background-color: var(--green-400) !important;
}

.vc_active .vc_tta-controls-icon-plus:before {
    border-color: white !important;
}

/*-------------------------------------------------------------------------------------------------------------------------------*/
/* FOOTER
/*-------------------------------------------------------------------------------------------------------------------------------*/


footer {
    padding: 40px 0 0;
    & .widget_nav_menu ul li:before {
        display: none !important;
    }
}

footer .blogAside .widget ul li a {
    color: var(--green-100) !important;
    font-size: 1rem !important;

}

.simple-article.style2 ul li:before {
    background: var(--green-100);
}

.locationBlock {
    color: var(--green-100) !important;
    font-size: 1rem !important;
}

.footerTitle:after {
    background: var(--green-200) !important;
}

.bottomInfo {
    border-color: var(--green-300) !important;
}

.bottomInfo p {
    font-size: 1rem !important;
}

.simple-article.style2 ul li:before {
    color: var(--green-100) !important;
}

.copy {
    padding: 1rem 0;
}

.contactBlock {
    padding-bottom: 1rem;
}

.contactBlock, .contactBlock a {
    color: var(--green-100) !important;
}

footer .logo img {
    width: 180px !important;
}

#nav_menu-2 {
    margin-left: 0 !important;
}

.wp-block-jetpack-contact-info {
    @media (max-width: 767px) {
        margin-top: 2rem !important;
    }
}


/*-------------------------------------------------------------------------------------------------------------------------------*/
/* BUTTONS
/*-------------------------------------------------------------------------------------------------------------------------------*/

#content-block button, #content-block .button, #content-block .vc_btn3, #content-block a.vc_btn3 {
    width: auto !important;
    border-radius: 80px !important;
    background-color: var(--green-400) !important;
    background: var(--green-400) !important;
    color: white !important;
    border: none !important;
    font-size: 1.1rem !important;
    padding: 0.8rem 1.2rem !important;
    .lilac & {
        background-color: var(--lilac-300) !important;
        background: var(--lilac-300) !important;
    }
}


#content-block button:before, #content-block .button:before, #content-block .vc_btn3:hover {
    background-color: var(--green-300) !important;
    background: var(--green-300) !important;
    .lilac & {
        background-color: var(--lilac-200) !important;
        background: var(--lilac-200) !important;
    }
}

/*-------------------------------------------------------------------------------------------------------------------------------*/
/* CONTACT
/*-------------------------------------------------------------------------------------------------------------------------------*/

.contentTitle .as span {
    color: var(--lilac-400) !important;
}

select {
    color: #8e8d8d;
    background-color: white;
    padding: 0.8rem 1.2rem;
}

.vc_row.bg-img-top {
    background-position: top center !important;
}

.vc_row.wpb_row.immediate-support-banner {
    position: relative;
}

@media (max-width: 767px) {
    .vc_row.wpb_row.immediate-support-banner {
        background-position: 30% 50% !important;
        background-color: rgba(255, 255, 255, 0.6);
        background-blend-mode: overlay;
    }
}

.page-id-341 {
    @media (max-width: 991px) {
        .contactContent {
            display: none;
        }
        .contactContent + .emptySpace30 {
            display: none;
        }
    }
}

/*-------------------------------------------------------------------------------------------------------------------------------*/
/* OUR THERAPISTS
/*-------------------------------------------------------------------------------------------------------------------------------*/

.therapist-row {
    background-color: var(--warm-grey) !important;
    padding: 1rem 0;
    margin-bottom: 2rem;
    & h2 {
        margin-bottom: 0.5rem !important;
        & a {
            text-decoration: none;
            color: inherit !important;
            &:hover {
                color: inherit !important;
            }
        }
    }
    & img {
        border: 0.5rem solid white;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
        transition: filter 500ms ease;
        &:hover {
            filter: brightness(70%);
        }
    }
}

/*-------------------------------------------------------------------------------------------------------------------------------*/
/* THERAPIES PAGES
/*-------------------------------------------------------------------------------------------------------------------------------*/

.minHeight {
    @media (min-width: 992px){
        min-height: 800px;
    }
}

.pageContentBlock {
    margin: 40px 0 60px !important;
    & h4:not(:first-of-type) {
        margin-top: 40px;
    }
}

/*-------------------------------------------------------------------------------------------------------------------------------*/
/* FAQ
/*-------------------------------------------------------------------------------------------------------------------------------*/

.vc_tta-panel h4 {
    line-height: 0 !important;
}

.vc_tta-panel.vc_active h4 {
    margin-bottom: 0px !important;
}

/*-------------------------------------------------------------------------------------------------------------------------------*/
/* ABOUT US
/*-------------------------------------------------------------------------------------------------------------------------------*/

.tumbWrapper.persone .single-item .single-content {
    display: none !important;
}