/* 
Theme Name: Held Psychology
Theme URI: https://heldpsychology.com/
Description: Specialist psychological therapy for people affected by brain and spinal cord injury
Author: 
Author URI: 
Template: hello-elementor
Version: 1.0.0
Text Domain: held-psychology-child
*/

/* Add your custom styles here */
:root {
    --accent-color: #FE7610;
    --primary-color: #360187;
    --default-transition: all 0.3s ease;
}
.header nav .menu-item a,
.header nav .menu-item a:hover {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 30px;
    padding-right: 30px;
}
.header nav .menu-item:first-child a {
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}
body.home h1.elementor-heading-title {
    display: none;
}
.homepage-list ul {
    list-style: none;
    padding-left: 0;
}
.homepage-list ul li {
    color: #7A5AAA;
    transition: var(--default-transition);
    margin-bottom: 13px !important;
    padding-left: 0 !important;
}
.homepage-list ul li::before {
    display: none !important;
}
.homepage-list ul li.highlight {
    color: var(--accent-color);
}
.content-middle {
    background-image: url('img/header-bg.png');
    background-size: 100%;
    background-position: center;
    background-attachment: fixed;
}
.content-middle .elementor-widget-text-editor ul {
    list-style: none;
    padding-left: 0;
}
.content-middle .elementor-widget-text-editor ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 60px;
}
.content-middle .elementor-widget-text-editor ul li::before {
    content: '';
    width: 40px;
    height: 40px;
    background-image: url('img/list-check.svg');
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
}
.content-middle .elementor-widget-text-editor ol {
    list-style: none;
    padding-left: 0;
    margin-top: 30px;
    margin-bottom: 30px;
}
.content-middle .elementor-widget-text-editor ol li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 35px;
}
.content-middle .elementor-widget-text-editor ol li::before {
    content: '';
    width: 15px;
    height: 3px;
    background: var(--accent-color);
    display: inline-block;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -1px;
}
.content-middle .separator {
    background-image: url('img/separator.svg');
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    height: 93px;
    background-repeat: no-repeat;
    background-size: contain;
    margin-top: 100px;
    margin-bottom: 100px;
}
.content-middle input[type=text],
.content-middle input[type=email],
.content-middle textarea {
    padding: 10px 20px;
    border: 1px solid #7955AF;
    background: rgba(0,0,0,0.3);
    font-family: "Open Sans", sans-serif;
    font-size: 22px;
    color: #fff;
    border-radius: 0;
}
.content-middle input[type=text]:focus,
.content-middle input[type=email]:focus,
.content-middle textarea:focus {
    border-color: var(--accent-color);
    outline: none;
}
.content-middle textarea {
    height: 200px;
    min-height: 200px;
    resize: vertical;
}
.content-middle input[type=submit] {
    padding: 10px 30px;
    text-transform: none;
    color: #fff;
    display: inline-block;
    border-radius: 0;
    font-size: 22px;
    font-weight: normal;
    background-color: rgba(0,0,0,0.7);
    border: 1px solid #12002D;
    font-family: "PT Serif", sans-serif;
}
.content-middle input[type=submit]:hover {
    border: 1px solid var(--accent-color);
}
.content-middle .wpcf7 label,
.content-middle .wpcf7 .wpcf7-form-control-wrap,
.content-middle .wpcf7 .wpcf7-not-valid-tip {
    display: block;
}
.content-middle .wpcf7 .wpcf7-form-control-wrap {
    margin-top: 15px;
}
.content-middle .wpcf7 .wpcf7-not-valid-tip {
    margin-top: 10px;
    font-size: 14px;
    color: var(--accent-color);
}
.content-middle .wpcf7 form.invalid .wpcf7-response-output,
.content-middle .wpcf7 form.unaccepted .wpcf7-response-output,
.content-middle .wpcf7 form.payment-required .wpcf7-response-output {
    border-color: var(--accent-color);
    margin-left: 0;
    margin-right: 0;
}
.footer {
    background-image: url('img/footer-bg.png');
    background-size: cover;
    background-position: center;
}
footer .footer-motto strong,
footer .footer-motto b,
footer .footer-motto a {
    color: var(--accent-color);
    font-weight: normal;
    display: inline-block;
    position: relative;
    transition: var(--default-transition);
}
footer .footer-motto strong::after,
footer .footer-motto b::after,
footer .footer-motto a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    bottom: -15px;
    width: 190px;
    height: 20px;
    background-image: url('img/footer-motto-highlight.svg');
    background-repeat: no-repeat;
    background-size: 100%;
    transition: var(--default-transition);
}
footer .footer-motto a:hover::after {
    background-image: url('img/footer-motto-highlight-white.svg');
}
footer nav a:hover {
    text-decoration: underline !important;
}
.footer p {
    margin: 0;
}
.grid-table-container {
    overflow-x: auto;
}
.grid-table {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-right: none;
    border-bottom: none;
    gap: 0;
    min-width: 800px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.grid-table > .elementor-element {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    width: 33.3333%;
}
.grid-table > .elementor-element p:last-of-type {
    margin-bottom: 0;
}
@media (min-width: 1024px) {
    footer .footer-motto br {
        content: " ";
        display: none;
    }
}
@media (max-width: 1024px) {
    .header nav.elementor-nav-menu--dropdown {
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }
    .header nav.elementor-nav-menu--dropdown ul li:first-child a {
        padding-top: 20px;
    }
    .header nav.elementor-nav-menu--dropdown ul li:last-child a {
        padding-bottom: 20px;
    }
    .header nav .menu-item a:hover,
    .header nav .menu-item a:focus,
    .header nav .menu-item a.elementor-item-active {
        background-color: var(--primary-color);
    }
    .header nav .menu-item a br {
        content: " ";
        display: none;
    }
    .content-middle ul li {
        padding-left: 45px !important;
    }
    .content-middle ul li::before {
        width: 30px !important;
        height: 30px !important;
    }
    .content-middle .separator {
        margin-top: 50px;
        margin-bottom: 50px;
        height: 65px;
    }
}
@media (max-width: 767px) {
    footer .footer-motto strong::after,
    footer .footer-motto b::after,
    footer .footer-motto a::after {
        width: 130px;
        height: 14px;
        bottom: -8px;
    }
    .content-middle .separator {
        height: 48px;
    }
}