/* 
Theme Name: Lincluden
Description: The Lincluden website theme.
Author: Madhouse
Author URI: https://madhouseinc.ca/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Apply background color chosen via control: handled via inline selector from Elementor control */
* {
    scroll-margin-top: 200px;
}

@media screen and (max-width: 768px) {
    * {
        scroll-margin-top: 150px;
    }
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}

@media screen and (min-width: 782px) {
    body.admin-bar {
        min-height: calc(100dvh - 32px);
    }
}

body main {
    flex-grow: 1;
    overflow: hidden;
}

.page-content > div > *,
.page-content > div > .elementor-section-wrap > * {
    --margin-bottom: 3rem;
}

.page-content > div > :first-child:not(.page-menu-container),
.page-content > div > :last-child,
.page-content > div > .elementor-section-wrap > :first-child:not(.page-menu-container),
.page-content > div > .elementor-section-wrap > :last-child {
    --margin-bottom: 5rem;
}

.elementor .e-con:not(.no-container-padding) .e-con-inner {
    max-width: min(calc(100% - 2rem), 1024px);
}

@media screen and (min-width: 1024px) {
    .elementor .e-con:not(.no-container-padding) .e-con-inner {
        max-width: min(calc(100% - 6rem), 1400px);
    }
}

.elementor .e-n-accordion .e-con .e-con-inner {
    max-width: 100%;
}

.elementor-widget-n-accordion .e-n-accordion-item-title {
    border: 0;
}

@media screen and (max-width: 1400px) {
    .elementor .e-con.no-container-padding .negative-margin-container {
        margin-right: 0;
    }
}

@media screen and (max-width: 1024px) {
    .elementor .e-con.no-container-padding .negative-margin-container {
        margin-left: 0;
        margin-right: 0;
    }
}

.elementor ul:not(.elementor-editor-element-settings) {
    list-style-type: none;
    padding-inline-start: 0;
}

.elementor ul:not(.elementor-editor-element-settings):has(+ p) {
    margin-bottom: 2rem;
}

.elementor .elementor-widget-text-editor p,
.elementor .elementor-widget-text-editor ul {
    margin-bottom: 2rem;
}

.elementor .elementor-widget-text-editor p:last-child,
.elementor .elementor-widget-text-editor ul:last-child {
    margin-bottom: 0;
}

.elementor .horizontal-menu ul:not(.elementor-editor-element-settings) {
    display: flex;
    column-gap: 2rem;
    flex-wrap: wrap;
}

@media screen and (max-width: 768px) {
    .elementor .horizontal-menu ul:not(.elementor-editor-element-settings) {
        display: flex;
        flex-direction: column;
    }
}

.elementor li:not(.elementor-editor-element-setting) {
    position: relative;
    padding-left: calc(0.5rem + 10px);
    margin-bottom: 0.5rem;
}

.elementor li:not(.elementor-editor-element-setting)::before {
    content: "";
    display: block;
    height: 10px;
    width: 10px;
    position: absolute;
    top: 0.5rem;
    left: 0;
    background-color: var(--e-global-color-accent);
}

.elementor a {
    color: var(--e-global-color-text);
    font-style: italic;
    text-decoration: underline;
}

.solid-header header {
    position: relative;
    top: 0;
    z-index: 10;
    background-image: url(/wp-content/themes/lincluden/assets/images/m-background-header.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.solid-header header .e-con-inner {
    padding: 2rem 0;
}

@media screen and (max-width: 1024px) {
    .transparent-header header .e-con-inner {
        padding: 2rem 0;
    }
}

@media screen and (min-width: 1024px) {
    .transparent-header header {
        position: absolute;
        z-index: 10;
        width: 100%;
    }

    .transparent-header #lincluden-header {
        background-color: transparent;
        background-image: none;
    }
}

#lincluden-header .logo {
    filter: brightness(0) invert(1);
}

.solid-header #lincluden-header .logo img {
    max-width: 200px;
}

.video-hero {
    min-height: min(80vh, 750px);
}

@media screen and (max-width: 1024px) {
    .video-hero {
        min-height: 33vh;
    }
}

.elementor .accordion-header-dark summary,
.elementor .header-dark {
    background-image: url(/wp-content/themes/lincluden/assets/images/m-background-accordion-dark.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.elementor .accordion-header-medium summary,
.elementor .header-medium {
    background-image: url(/wp-content/themes/lincluden/assets/images/m-background-accordion-medium.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.elementor .accordion-header-light summary,
.elementor .header-light {
    background-image: url(/wp-content/themes/lincluden/assets/images/m-background-accordion-light.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.elementor .accordion-header-black summary,
.elementor .header-black {
    background-image: url(/wp-content/themes/lincluden/assets/images/m-background-accordion-black.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.elementor .accordion-header-indigenous summary,
.elementor .header-indigenous {
    background-image: url(/wp-content/themes/lincluden/assets/images/m-background-accordion-indigenous.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.elementor .card-title a,
.elementor a.learn-more-container {
    display: flex;
    gap: 2rem;
    align-items: center;
    font-style: normal;
}

.elementor a.learn-more-container::after {
    /*content: "";*/
    display: block;
    width: 41px;
    height: 10px;
    background-image: url(/wp-content/themes/lincluden/assets/images/arrow.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.elementor a.learn-more-container {
    text-decoration: none;
}

.elementor a.learn-more-container::after {
    filter: none;
}

.elementor .gradient-border {
    border: 1px solid;
    border-image: linear-gradient(to right, var(--e-global-color-accent), white) 1;
}

.elementor .content-padding {
    padding: 2rem;
}

@media screen and (min-width: 1024px) {
    .elementor .content-padding {
        padding: 3rem;
    }
}

footer.elementor .lincluden-menu-list li:before {
    content: none;
}

footer.elementor a {
    font-style: normal;
}

.elementor-background-video-container {
    opacity: 0;
}