/* 
Theme Name: Le Moniteur Hello Child
Description: Le Moniteur Hello Child is a child theme of Hello Elementor made for Le Moniteur Formation, based on Hello Elementor Child
Author: Artemsys
Author URI: https://artemsys.fr/
Template: hello-elementor
Version: 2.0.0
Text Domain: lemoniteur
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 */

/******************
 * GLOBAL CLASSES *
 ******************/

.lemoniteur-titre1 {
    display: flex;
    align-items: center;
}

.lemoniteur-titre1::before,
.lemoniteur-titre1::after {
    content: "";
    display: block;
    flex: 1 2;
    width: 100%;
    height: 1px;
    background-color: var(--e-global-color-bdf826a);
}

.lemoniteur-titre1 h2,
.lemoniteur-titre1 h3 {
    font-size: 2.125rem;
}

.lemoniteur-titre1 h2::before,
.lemoniteur-titre1 h3::before,
.lemoniteur-titre2 h2::before,
.lemoniteur-titre2 h3::before {
    content: "";
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 12px;
    vertical-align: calc(50% - .3em);
    background-color: var(--e-global-color-accent);
}

.lemoniteur-titre2 {
    display: flex;
    align-items: center;
}

.lemoniteur-titre2::after {
    content: "";
    display: block;
    flex: 1 2;
    width: 100%;
    height: 1px;
    background-color: var(--e-global-color-bdf826a);
}

.lemoniteur-titre2 h2,
.lemoniteur-titre2 h3 {
    font-size: 1.75rem;
}

.lemoniteur-etape {
    padding-top: 34px;
}

.lemoniteur-etape::before {
    content: '';
    display: block;
    height: 9px;
    width: 9px;
    background-color: var(--e-global-color-accent);
}

.lemoniteur-etape::after {
    content: '';
    display: block;
    height: 1px;
    width: calc(100% - 25px);
    position: absolute;
    top: 4px;
    right: 0;
    background-color: var(--e-global-color-bdf826a);
}

.lemoniteur-side-button .elementor-button-link {
    white-space: nowrap;
    transition: all .4s;
}

.lemoniteur-side-button:hover .elementor-button-link {
    border-color: var(--e-global-color-accent) !important;
}

.lemoniteur-side-button .elementor-button-icon {
    padding: 11px;
    background-color: var(--e-global-color-accent);
    border-radius: 100%;
}

.lemoniteur-side-button .elementor-button-icon svg {
    fill: #fff;
}

.lemoniteur-side-button .elementor-button-text {
    padding: 10px 10px 10px 3px;
}

.lemoniteur-share-links {
    display: none;
}

/**************
 * PAGE TEXTE *
 **************/
main#content h1 {
    margin: 50px 0 58px;
    text-align: center;
}

main#content h2 {
    font-size: 34px;
}

/**************
 * CATEGORIES *
 **************/

.lemoniteur-categories-blocks {
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lemoniteur-categories-blocks li {
    box-sizing: border-box;
    display: flex;
    align-items: flex-end;
    flex: 1;
    min-height: 300px;
    padding: 16px;
    border-radius: 8px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.lemoniteur-categories-blocks li a {
    box-sizing: border-box;
    display: flex;
    flex: 1;
    justify-content: space-between;
    align-items: flex-end;
    min-height: 92px;
    padding: 16px;
    font-size: 20px;
    font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
    font-weight: var(--e-global-typography-secondary-font-weight);
    color: var(--e-global-color-primary);
    background-color: #fff;
    border-radius: 8px;
}

.lemoniteur-categories-blocks li a .e-fas-chevron-right {
    fill: var(--e-global-color-accent);
    width: 14px;
    height: 14px;
}

/**************
 * FORMATEURS *
 **************/

.lemoniteur-formateurs-group {
    display: grid;
    grid-auto-rows: 1fr;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {

    .lemoniteur-formateurs-group {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (min-width: 1024px) {

    .lemoniteur-formateurs-group {
        grid-template-columns: repeat(3, 1fr);
    }

}

.lemoniteur-formateur {
    display: flex;
    height: 100%;
    align-items: center;
    gap: 16px;
    padding: 10px;
    background-color: var(--e-global-color-3d0552b);
    border-style: solid;
    border-width: 0px 0px 0px 5px;
    border-color: var(--e-global-color-accent);
    border-radius: 8px 8px 8px 8px;
}

.lemoniteur-formateur-image {
    display: flex;
    width: 70px;
}

.lemoniteur-formateur-image img {
    width: 100%;
    border-radius: 100%;
}

.lemoniteur-formateur-content {
    flex: 1;
}

.lemoniteur-formateur-content h2 {
    margin: 0 0 8px;
    font-size: 24px;
}

.lemoniteur-formateur-content p {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    color: var(--e-global-color-27d45f4);
}

/**************
 * FORMATIONS *
 **************/

.lemoniteur-formations-group {
    display: grid;
    grid-auto-rows: 1fr;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {

    .lemoniteur-formations-group {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (min-width: 1024px) {

    .lemoniteur-formations-group {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media (min-width: 1200px) {

    .lemoniteur-formations-group.max-col-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .lemoniteur-formations-group.max-col-3 {
        grid-template-columns: repeat(3, 1fr);
    }

}

.lemoniteur-formation {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid var(--e-global-color-ad026e6);
    border-radius: 8px;
}

.lemoniteur-formation-image {
    position: relative;
    display: flex;
}

.lemoniteur-formation-image-tags {
    position: absolute;
    left: 16px;
    top: 16px;
    z-index: 1;
}

.lemoniteur-formation-image img {
    max-width: 100%;
    /* min-height: 100%; */
}

.lemoniteur-formation-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    padding: 16px;
}

.lemoniteur-formation-content h3 {
    margin: 0 0 16px;
    font-size: 20px;
    line-height: 125%;
}

.lemoniteur-formation-content p {
    margin: 0 0 16px;
    font-weight: 400;
    color: var(--e-global-color-text);
}

.lemoniteur-formation-content-tags {
    margin-bottom: 16px;
}

.lemoniteur-formation-button {
    font-size: 12px;
}

/********
 * TAGS *
 ********/

.lemoniteur-primary-tag {
    padding: 1px 5px 0;
    font-size: 11px;
    line-height: 16px;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--e-global-color-text);
    border: 1px solid var(--e-global-color-266f2e2);
    border-radius: 4px;
}

.lemoniteur-white-tag {
    padding: 1px 5px 0;
    font-size: 11px;
    line-height: 16px;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    color: #fff;
    background-color: var(--e-global-color-text);
    border: 1px solid #fff;
    border-radius: 4px;
}

.lemoniteur-emphase-tag {
    padding: 1px 5px 0;
    font-size: 11px;
    line-height: 16px;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--e-global-color-text);
    background-color: var(--e-global-color-a60ff61);
    border: 1px solid var(--e-global-color-a60ff61);
    border-radius: 4px;
}