/*
	Theme Name:   Hockey Loisirs Gatineau (Hello Elementor - Child)
	Theme URI:
	Description:
	Author:       VERYA Inc.
	Author URI:   https://verya.ca/
    Template:     hello-elementor
	Version:      1.0.0
	License:      GNU General Public License v2 or later
	License URI:  http://www.gnu.org/licenses/gpl-2.0.html
	Text Domain:  hlg
*/





:root {
    /* Same as Elementor */
    --black:#000000;
    --white:#ffffff;
    --red:#c62f2f;
    --grey:#cccccc;
    --light-grey:#eeeeee;
}





body
    {}

    body[class*="elementor-page"] .elementor-widget-text-editor p:last-child,
    body[class*="error404"] .elementor-widget-text-editor p:last-child
        { margin-bottom:0 !important; }





.alert
    { margin-bottom:0; padding:20px !important; }

    .alert.alert-danger
        { background:#f8d7da; border:1px solid #f1aeb5; color:#721c24 !important; }

    .alert.alert-success
        { background:#d1e7dd; border:1px solid #a3cfbb; color:#0a3622 !important; }

    .alert.alert-warning
        { background:#fff3cd; border:1px solid #ffe69c; color:#664d03 !important; }





[class*="registration-count-"] span.places
    { font-weight:700; }

[class*="registration-count-"] .limit-reached
    { background:#f1aeb5; }

    .registration-count-base
        { background:#fcfcfd; border:1px solid #e9ecef; }

    .registration-count-low
        { background:#f8d7da; border:1px solid #f1aeb5; color:#721c24 !important; }

        .registration-count-low .elementor-button:active,
        .registration-count-low .elementor-button:focus,
        .registration-count-low .elementor-button:hover
            { background:#58151c !important; }

    .registration-count-safe
        { background:#d1e7dd; border:1px solid #a3cfbb; color:#0a3622 !important; }

        .registration-count-safe .elementor-button:active,
        .registration-count-safe .elementor-button:focus,
        .registration-count-safe .elementor-button:hover
            { background:#0a3622 !important; }

    .registration-count-warning
        { background:#fff3cd; border:1px solid #ffe69c; color:#856404 !important; }

        .registration-count-warning .elementor-button:active,
        .registration-count-warning .elementor-button:focus,
        .registration-count-warning .elementor-button:hover
            { background:#664d03 !important; }





form#registration
    {}

    form#registration .e-form__indicators__indicator__separator
        { background:var(--red); }

    form#registration .elementor-message-success
        { background:#d1e7dd; border:1px solid #a3cfbb; color:#0a3622; font-size:inherit; line-height:inherit; margin:20px 0; padding:20px; }

        form#registration .elementor-message-success::before
            { background-image:url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxMSIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDE0IDExIj48cGF0aCBmaWxsPSIjMDAwMDAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00Ljc1IDguMTUgMS42IDUgLjU1IDYuMDVsNC4yIDQuMiA5LTlMMTIuNy4yeiIgY2xpcC1ydWxlPSJldmVub2RkIi8+PC9zdmc+Cg=='); margin-right:20px; }

.elementor-field-type-radio
    {}

    .elementor-field-type-radio .elementor-field-subgroup
        { margin-left:10px; }

    .elementor-field-type-radio .elementor-field-option
        { margin-bottom:10px; padding-right:20px !important; }

        .elementor-field-type-radio .elementor-field-option input[type="radio"]
            { cursor:pointer; height:20px; opacity:0; position:absolute; width:20px; z-index:2; }

            .elementor-field-type-radio .elementor-field-option input[type="radio"]:checked + label::after
                { transform:scale(1); }

        .elementor-field-type-radio .elementor-field-option label
            { cursor:pointer; font-weight:normal !important; padding-left:26px; position:relative; }

            .elementor-field-type-radio .elementor-field-option label::before
                { border:2px solid var(--red); border-radius:50%; box-sizing:border-box; content:''; height:20px; left:0; position:absolute; top:1px; transition:all 0.2s; width:20px; }

            .elementor-field-type-radio .elementor-field-option label::after
                { background:var(--black); border-radius:50%; content:''; height:10px; left:0; margin:5px; position:absolute; top:1px; transform:scale(0); transition:transform 0.2s ease; width:10px; }

            .elementor-field-type-radio .elementor-field-option label:hover::before
                { border-color:var(--red); }

.elementor-field-type-html hr.form-divider
    { border:none; border-top:1px solid var(--red); margin:20px 0; }





#primary-navigation
    {}

    #primary-navigation li.emphasis a
        { background:var(--red); }

    #primary-navigation ul.sub-menu li a
        { border-left:none; }

#primary-navigation-toggle
    {}

    #primary-navigation-toggle .elementor-icon-list-icon svg
        { margin:0; }

    #primary-navigation-toggle .elementor-icon-list-text
        { clip:rect(0 0 0 0); height:1px; margin:-1px; overflow:hidden; position:absolute; width:1px; }

#primary-navigation-mobile
    {}

    #primary-navigation-mobile nav
        { margin-top:0; }

    #primary-navigation-mobile ul.sub-menu li a
        { font-size:18px; font-weight:400; }





.tablepress
    { font-size:inherit; margin-bottom:0 !important; }

    .tablepress thead th
        { background:var(--red); border:0 !important; color:var(--white); }

    .tablepress.roster thead tr:nth-child(2) th
        { background:var(--black); font-weight:500; }

    .tablepress.roster tr > *:nth-child(2),
    .tablepress.roster tr > *:nth-child(4)
        { border-right:2px solid var(--black); }



.elementor-widget-text-editor
    {}

    .elementor-widget-text-editor ol,
    .elementor-widget-text-editor ul
        { margin-bottom:.9rem; }





.post-password-required
    { background-color:var(--white); padding:30px 10px; }

    .post-password-required form
        { margin:0 auto; }

        .post-password-required form .wp-pw-form
            { align-items:center; gap:10px; margin-bottom:0; }





/* MEDIA QUERY: Mobile Portrait (<= 767px) -> Mobile Portrait breakpoint in Elementor */
@media screen and (max-width: 767px) {

    form#registration .e-form__indicators
        { display:none; }

}





/* MEDIA QUERY: Mobile Landscape (<= 880px) -> Mobile Landscape breakpoint in Elementor */
@media screen and (min-width: 768px) and (max-width: 880px) {

    .post-password-required
        { padding:45px 10px; }

}





/* MEDIA QUERY: Tablet Portrait (<= 1024px) -> Tablet Portrait breakpoint in Elementor */
@media screen and (min-width: 881px) and (max-width: 1024px) {

    .post-password-required
        { padding:45px 10px; }

}





/* MEDIA QUERY: Tablet Landscape (<= 1200px) -> Tablet Landscape breakpoint in Elementor */
@media screen and (min-width: 1025px) and (max-width: 1200px) {

    .post-password-required
        { padding:60px 20px; }

}





/* MEDIA QUERY: (> 1200px) */
@media screen and (min-width: 1201px) {

    .post-password-required
        { padding:60px 30px; }

}
