/* Homepage footer should NOT be transparent - solid background */
.footer-container.acceuil-footer footer.mdl-mini-footer {
    background-color: #333333 !important;
}

/* Other pages footer should be transparent */
.footer-container:not(.acceuil-footer) footer.mdl-mini-footer {
    background-color: #333333 !important;
    background-color: #0000008e !important;
}

/* Make content-main-inner match production's conten-accueil appearance */
.content-main-inner.orange {
    background-color: transparent !important;
    padding: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    box-shadow: none !important;
    color: #F79621 !important;
    font-weight: bold !important;
    text-shadow: 0px 0px 0px black !important;
}

/* Match production's conten-accueil styling exactly */
.content-main-inner.orange .content .conten-accueil {
    background-color: #eee;
    padding: 20px;
}

.conten-accueil-sub-1 {
    background-color: transparent;
    padding: 25px;
    margin: auto;
    display: inline-block;
}

/* Fix text colors to match production */
.accueil .content-p-inscription,
.accueil .content-p-inscription-light {
    color: #333 !important;
    text-shadow: none !important;
}

.accueil p {
    color: #333 !important;
}

/* Position the right sidebar exactly like production */
@media screen and (min-width: 1024px) {
    .conten-accueil-sub-2 {
        width: 20.5%;
        height: 100%;
        position: fixed;
        right: 0;
        top: 0;
        background: #333;
        z-index: 2;
    }
    
    .conten-accueil-sub-2-center {
        position: absolute;
        top: 50%;
        transform: translateY(-45%);
        width: 100%;
    }
    
    .modal-login-content-accueil {
        padding: 20px 0;
    }
    
    /* Make content not go behind the sidebar */
    .conten-accueil-sub-1 {
        width: 76%;
    }
    
    /* Center the body-content vertically */
    .main.content.accueil {
        display: flex;
        align-items: center;
        min-height: calc(100vh - 64px);
    }
    
    #body-content {
        width: 100%;
        position: relative;
    }
    
    /* Make header appear above sidebar */
    .black-header-menu {
        position: relative;
        z-index: 100;
    }
}

@media screen and (max-width: 1025px) {
    .conten-accueil-sub-2-center {
        position: relative;
        top: 0%;
        transform: translateY(0%);
    }
    
    .conten-accueil-sub-2 {
        width: 100%;
    }
    
    .conten-accueil-sub-1 {
        width: 100%;
        box-sizing: border-box;
    }
    
    .modal-login-content-accueil {
        display: none;
    }
}

.accueil {
    position: relative;
    width: 100% !important;
}
