/*
 Theme Name:   Divi Child Plus
 Theme URI:    /divi-child-plus/
 Description:  A modified child theme of Divi
 Author:       Web Wizards
 Author URI:   https://webwizards.ca/
 Template:     Divi
 Version:      1.2.1
 Tags:         responsive-layout, accessibility-ready
 Text Domain:  divi-child-plus
*/

@import "modified.css";
/* @import "views-full.css"; */

/* =========================================== */
/* ================ Universal ================ */
/* =========================================== */

html:lang(fr-CA) .et-db #et-boc .et-l .frenchsite,
html:lang(en-CA) .et-db #et-boc .et-l .englishsite {
    display: block !important;
}

html:lang(fr-CA) .et-db #et-boc .et-l .englishsite,
html:lang(en-CA) .et-db #et-boc .et-l .frenchsite {
    display: none !important;
}

.nested-lists ul ol ol,
.nested-lists ul ul ol {
    list-style-type: lower-alpha;
}

/* --- row reordering --- */
@media (max-width: 980px) {
    .reorder-row,
    .reorder-section .et_pb_row {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    }
        .reorder-row .reorder-item {
            margin-bottom: 30px !important;
        }
            .reorder-row .reorder-item.reorder-item-last {
                margin-bottom: 0 !important
            }

    .reorder-item.first {
        -webkit-box-ordinal-group: 2;
            -ms-flex-order: 1;
                order: 1;
    }

    .reorder-item.second {
        -webkit-box-ordinal-group: 3;
            -ms-flex-order: 2;
                order: 2;
    }
}

/* --- 'Back to Top' Button =================== */
.et_pb_scroll_top.et-pb-icon {
    border-radius: 100px;
    bottom: 15px;
    right: 15px;
}
    .et_pb_scroll_top:before {
        position: relative;
        top: -1px;
        right: 0.5px;
    }


/* ============================================ */
/* ================== Header ================== */
/* ============================================ */

/* --- Navigation ============================= */
@media (min-width: 981px) {
    #divi-child-plus-header .et_pb_menu__menu > nav > ul > li {
        padding-right: 17.5px;
        padding-left: 17.5px;
    }

    .pll-parent-menu-item > ul.sub-menu {
        right: 0;
        left: auto !important;
    }
}


/* --- Search ================================= */
/* --- desktop - modify search bar */
/* - hide text of the original search btn */
.sara-riel-search input.et_pb_searchsubmit {
    background: transparent;
    color: transparent;
    border: none;
    width: 55px;
    z-index: 2;
}

/* - add the 'search' icon */
.sara-riel-search .et_pb_searchform:before{
    content: '\55';
    position: absolute;
    font-family: 'ETModules';
    z-index: 1;
    right: 0;
    font-size: 16px;
    padding: 5px 15px;
}

.sara-riel-search input.et_pb_s {
    padding-right: 55px !important;
}

/* - hides button colour */
.et-db #et-boc .et-l .et_pb_search input.et_pb_searchsubmit {
    background-color: unset;
}

/* --- moblie - modify search bar colour */
#divi-child-plus-header .et_pb_menu .et_pb_menu__search-input {
    color: #fff;
}
    #divi-child-plus-header .et_pb_menu .et_pb_menu__search-input::placeholder {
        color: #fff;
    }

/* ============================================ */
/* =================== Body =================== */
/* ============================================ */

/* --- Internal Page Heading ================== */
.internal-page-heading-accent .et_pb_image_wrap  {
    height: 100%;
}
    .internal-page-heading-accent .et_pb_image_wrap img {
        max-width: none;
    }

/* --- Basic Tweaks =========================== */

/* --- Service Blocks */
.service-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    height: 100%;
}

/* --- Slider Adjustments */
@media (max-width: 700px) {
    .mobile-slider-text {
        padding: 15px;
        background: rgba(255, 255, 255, 0.5);
    }
}

/* --- Search Results ========================= */
.blog-simple-listing article {
    box-shadow: 0 0px 5px 0px rgb(0 0 0 / 33%);
    padding: 30px;
    margin-bottom: 30px;
}

/* =========================================== */
/* ================ LifterLMS ================ */
/* =========================================== */

.sara-riel-course a,
.sara-riel-lesson a {
    text-decoration: underline;
}

.llms-button-action, .llms-button-primary, .llms-button-secondary {
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 600;
    font-size: 20px;
    box-shadow: 5px 5px 5px 0px rgb(0 0 0 / 30%);
    line-height: 1.7em;
    padding: .3em 30px;
    border: 2px solid;
    text-decoration: none;
}

    .llms-button-action {
        border-color: #1b3666;
        background: #1b3666;
    }
    .llms-button-primary {
        border-color: #81bc41;
        background: #81bc41;
    }
    .llms-button-secondary {
        border-color: #89C9B6;
        background: #89C9B6;
    }

    .llms-button-action:hover,
    .llms-button-action:focus,
    .llms-button-primary:hover,
    .llms-button-primary:focus,
    .llms-button-secondary:hover,
    .llms-button-secondary:focus {
        background: #fff;
        color: #000;
    }

/* =============== Lessons Page =============== */

.sara-riel-lesson .llms-lesson-preview {
    width: 100%;
}

/* =============== Course Page =============== */

/* --- Meta Content ========================== */

.sara-riel-course .llms-meta-info {
	display:none;
}

.sara-riel-course .llms-instructor-info .llms-instructors .llms-author {
    background: #eeeeee;
    border-top: 4px solid #1b3666;
    margin: 45px 0 0 0;
}
    .sara-riel-course .llms-instructor-info .llms-instructors .llms-author .avatar {
        background: #1b3666;
        border: 4px solid #1b3666;
    }

/* --- Plan Access =========================== */
.sara-riel-course .llms-access-plan .llms-access-plan-title  {
    background: #1b3666;
}

.sara-riel-course .llms-access-plan .llms-access-plan-content,
.sara-riel-course .llms-access-plan .llms-access-plan-footer {
    background: #eeeeee;
    margin: 0;
}

.sara-riel-course .llms-access-plan .llms-access-plan-footer {
    border-bottom: none;
    padding-bottom: 15px;
    margin-bottom: 30px;
}
    .sara-riel-course .llms-access-plan .llms-access-plan-footer .llms-access-plan-pricing.trial {
        display: none;
    }

/* --- Lesson Listing ========================= */
.sara-riel-course .llms-syllabus-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
}
    .sara-riel-course .llms-syllabus-wrapper .llms-section-title {
        margin: 0 !important;
        width: 100%;
    }

    /* - lesson items */
    .sara-riel-course .llms-syllabus-wrapper .llms-lesson-preview {
        margin: 5px;
        width: 100%;
        max-width: calc(50% - 10px);
    }
        .sara-riel-course .llms-syllabus-wrapper .llms-lesson-preview .llms-lesson-link {
            height: 100%;
        }
            .sara-riel-course .llms-syllabus-wrapper .llms-lesson-preview .llms-lesson-link h5.llms-lesson-title {
                padding: 0;
            }

@media (max-width: 980px) {
    .sara-riel-course .llms-syllabus-wrapper .llms-lesson-preview {
        margin: 5px 0;
        max-width: 100%;
    }
}

/* =========================================== */
/* =========== The Events Calendar =========== */
/* =========================================== */

/* --- Calendar/Lising ======================= */
.tribe-common--breakpoint-medium.tribe-events .tribe-events-header__top-bar,
.tribe-common--breakpoint-medium.tribe-events .tribe-events-header__events-bar {
    margin-top: 15px;
    margin-bottom: 15px;
}

.tribe-events .tribe-events-c-messages__message {
    border-radius: 0;
}


.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
    padding-top: 60px;
    padding-bottom: 60px;
}


/* --- Event Template ======================== */
/* override heading/title font */
#tribe-events-pg-template h1,
#tribe-events-pg-template h2,
#tribe-events-pg-template h3,
#tribe-events-pg-template h4,
#tribe-events-pg-template h5,
#tribe-events-pg-template h6 {
    font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif !important;
    padding: 0 !important;
}

/* override body font */
#tribe-events-pg-template .tribe-events-content,
#tribe-events-pg-template .tribe-events-cal-links,
#tribe-events-pg-template .tribe-events-event-meta,
#tribe-events-pg-template .tribe-events-sub-nav {
    font-family: 'Open Sans', Arial, sans-serif !important;
}

.tribe-events-cal-links .tribe-events-gcal,
.tribe-events-cal-links .tribe-events-ical,
.tribe-events-event-meta a, .tribe-events-event-meta a:active,
.tribe-events-event-meta a:visited,
.tribe-events-schedule .recurringinfo a,
.tribe-related-event-info .recurringinfo a,
.tribe-events-single ul.tribe-related-events li .tribe-related-events-title a,
.tribe-events-single-event-description a:active,
.tribe-events-single-event-description a:focus,
.tribe-events-single-event-description a:hover {
    color: #1b3666 !important;
    color: #1b3666 !important;
    text-decoration: underline;
    text-decoration: underline;
    font-weight: 700 !important;
}

/* feature item - colour changes */
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-latest-past__event-datetime-featured-text {
    color: #1b3666 !important;
}

.tribe-events .tribe-events-calendar-latest-past__event-row--featured .tribe-events-calendar-latest-past__event-date-tag-datetime:after {
    background-color: #b3d78d !important;
}



/* =========================================== */
/* ============== Gravity Forms ============== */
/* =========================================== */

/* modified 'Submit' button */
.gform_footer input[type=submit],
.gravity-forms-boost .gform_footer input[type=submit],
.gravity-forms-boost .gform_page_footer input[type=submit] {
    background: #81bc41;
    border: 2px solid #81bc41;
    cursor: pointer;
    color: #fff;
    line-height: 1.7em !important;
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;
    font-size: 20px !important;
    font-weight: 600 !important;
    padding: 5px 30px;
    transition: 0.3s ease;
}
    .gravity-forms-boost .gform_footer input[type=submit]:hover,
    .gravity-forms-boost .gform_page_footer input[type=submit]:hover {
        background: #fff;
        color: #000;
    }

/* modified prev/next buttons */
.gravity-forms-boost .button.gform_next_button,
.gravity-forms-boost .button.gform_previous_button {
    background: #1b3666;
    border: 2px solid #1b3666;
    cursor: pointer;
    color: #fff;
    line-height: 1.7em !important;
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;
    font-size: 20px !important;
    font-weight: 600 !important;
    padding: 5px 30px;
    transition: 0.3s ease;
}

/* progress bar */
.gravity-forms-boost .gf_progressbar_percentage.percentbar_blue {
    background-color: #1b3666 !important;
}

/* =========================================== */
/* ============== Privacy/Legal ============== */
/* =========================================== */

.sara-riel-policy-layout {
    font-size: 15px !important;
}

    .sara-riel-policy-layout ol {
        padding-bottom: 0;
        list-style-type: lower-alpha;
    }
        .sara-riel-policy-layout ol  ol {
            list-style: lower-roman;
        }


/* ============================================ */
/* ================== Footer ================== */
/* ============================================ */
/* --- Footer Menu */
/* forces the menu not collapse on mobile */
@media (max-width: 980px) {
    #footer-menu-container .et_pb_menu__menu {
        display: block !important;
    }

    #footer-menu-container .et_mobile_nav_menu {
        display: none !important;
    }
}

.footer-menu-privacy ul > li {
    margin: 0 !important;
    border-right: 1px solid #fff;
}
    .footer-menu-privacy ul > li:last-of-type {
        border-right: 0;
    }

    .footer-menu-privacy ul > li a {
        padding: 0 !important;
    }