/*
Theme Name: Plateforme Planning
Theme URI: https://umazuma.com
Author: Umazuma
Author URI: https://umazuma.com
Description: Thème ultra basique et minimaliste dédié au plugin Plateforme Planning.
Version: 1.0.0
Text Domain: plateforme_planning
*/

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    background-color: #f8f9fa;
}

a {
    color: #333 !important;
    text-decoration: none;
}

a:hover {
    color: #000;
}

#page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#content {
    flex: 1;
    padding-top: 75px;
    padding-bottom: 2rem;
}

/*--------------------------------------------------------------
# Navigation & Header
--------------------------------------------------------------*/
header#masthead {
    margin-bottom: 0;
    padding: .74rem 1rem;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.18);
    height: 65px;
    line-height: 55px;
    background: #fff;
    position: fixed;
    z-index: 500;
    width: 100%;
}

.header-bar-fixed {
    position: relative;
    margin: -20px;
    height: 73px;
}

.navbar-brand {
    height: 70px;
}

.navbar-brand img {
    height: auto;
    max-width: 70px;
}

.navbar-brand > a {
    color: rgba(0, 0, 0, 0.9);
    font-size: 1.1rem;
    outline: medium none;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
}

.navbar-brand > a:visited, .navbar-brand > a:hover {
    text-decoration: none;
}

.site-description-header {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.2rem;
    color: #222;
    margin-left: 0;
    vertical-align: middle;
    font-weight: 500;
    letter-spacing: 1px;
    padding-top: 0.6rem;
}

.actions-div {
    position: absolute;
    right: 0;
    top: .8rem;
    float: right;
    max-width: calc(100% - 160px);
    height: 60px;
}

.menu-principal {
    position: relative;
    margin: 15px 0;
    padding: 0;
    list-style: none;
    line-height: inherit;
    float: right;
}

.menu-principal .menu-item {
    display: inline-block;
    width: auto;
    margin-left: 1.2em;
    position: relative;
    line-height: inherit;
}

.menu-principal .menu-item a {
    width: 100%;
    display: block;
    color: #222;
    line-height: 1rem;
    text-transform: uppercase;
}

.home .menu-principal .menu-item a {
    color: #fff;
}

.btn-connexion {
    padding: 0.8rem 3.4rem;
    border-radius: 50px;
    position: relative;
    font-size: 1.3rem !important;
    font-weight: 800;
}

.btn-connexion span {
    position: absolute;
    right: 0.4rem;
    color: #AA4141;
    background: #fff;
    border-radius: 30px;
    padding: 1rem;
    height: 30px;
    width: 30px;
    top: 0.3rem;
}

.btn-connexion span svg {
    position: absolute;
    top: 6px;
    left: 8px;
}

.menu-mobile .burger {
    color: #222;
    font-size: 2rem;
    margin: 1rem;
    display: block;
}

.menu-mobile ul {
    list-style: none;
    background: rgba(255, 255, 255, .9);
    width: 100%;
    left: 0;
    text-align: center;
    margin: 0;
    padding: 0;
    position: fixed;
    display: block;
    height: 100%;
    max-height: 0;
    overflow: hidden;
    transition: all .4s;
}

.menu-mobile ul.active {
    max-height: 100%;
    overflow: hidden;
}

.menu-mobile ul li {
    line-height: 6rem;
    border-bottom: 1px solid #ccc;
}

.menu-mobile ul li a {
    font-size: 1.5rem;
    color: #444;
}

#page-sub-header {
    position: relative;
    padding-top: 5rem;
    padding-bottom: 5rem;
    text-align: center;
    font-size: 1.25rem;
    background-size: cover !important;
}

#page-sub-header h1 {
    line-height: 1;
    font-size: 4rem;
    color: #563e7c;
    margin-bottom: 1rem !important;
}

#page-sub-header p {
    margin-bottom: 0;
    line-height: 1.4;
    font-size: 1.25rem;
    font-weight: 300;
    color: #212529;
}

a.page-scroller {
    color: #333;
    font-size: 2.6rem;
    display: inline-block;
    margin-top: 2rem;
}

#content-mobile {
    display: none;
}

@media screen and (min-width: 768px) {
    #page-sub-header h1 {
        font-size: 3.750rem;
        line-height: 1;
    }

    #page-sub-header {
        padding-top: 5rem;
        padding-bottom: 5rem;
        font-size: 1.25rem;
    }
}

@media screen and (min-width: 992px) {
    #page-sub-header p {
        max-width: 50rem;
        margin: 0 auto;
    }
}

/*--------------------------------------------------------------
# Page Accueil & Bandeau
--------------------------------------------------------------*/
/*body:not(.home) #content.site-content {
    padding-bottom: 2.75rem !important;
    padding-top: 4.025rem !important;
    /*min-height: calc(100vh - 109px);*/
/*}*/

.bandeau-haut {
    border: 0;
    height: 19vw;
    width: 100%;
    background-image: url('/wp-content/uploads/2025/01/planning-home.jpg');
    background-size: cover;
    background-position: center;
    margin-top: 0rem;
}

.home .entry-content .container {
    max-width: 800px;
    padding: 3rem 0;
    min-height: 56vh;
}

/*--------------------------------------------------------------
# Login & Formulaires
--------------------------------------------------------------*/
.form-login .form-group {
    margin-bottom: 1rem;
}

.form-login .form-control {
    border: 2px solid #314741;
}

.form-login label {
    font-weight: 700;
    font-size: 1.2rem;
}

.form-horizontal.form-login {
    padding: 6rem 0;
    width: 640px;
    max-width: 100%;
    margin: auto;
}

.show-pw {
    position: absolute;
    top: 5px;
    right: 30px;
    cursor: pointer;
}

.show-pw .bi-eye-slash {
    display: none;
}

.show-pw.active .bi-eye {
    display: none;
}

.show-pw.active .bi-eye-slash {
    display: block;
}

.form-lost-pw {
    display: none;
    margin: auto;
    width: 800px;
    max-width: 100%;
}

.td-alert {
    font-weight: bold;
    font-size: 110%;
    color: #c00;
}

.alert.err1 {
    position: fixed;
    z-index: 10000;
    background: #c00;
    color: #fff;
    top: 170px;
    width: 710px;
    max-width: 100%;
    left: 50%;
    margin-left: -355px;
}

.dropdown-menu {
    margin-top: -5px;
    border-radius: 10px;
    border: 0 !important;
    box-shadow: 0 4px 7px 0 rgba(0, 0, 0, 0.12), 0 3px 12px 0 rgba(0, 0, 0, 0.12);
    border-bottom: 3px solid #c00 !important;
    font-size: 0.9rem;
}

.dropdown-menu .border-bottom {
    border-bottom: 2px solid #222222 !important;
}

.dropdown-menu .border-top {
    border-top: 2px solid #222222 !important;
}

.dropdown-menu .dropdown-item {
    line-height: 1.9;
}

.projection {
    display: none;
    background: #6002;
    margin-bottom: 10px;
}

.small-oui, .small-non, .small-dem, .bloc-projectionniste {
    display: none;
}

.menu-admin ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
    height: 2rem;
    padding: 0;
    margin: 1rem 0 0;
}

/*--------------------------------------------------------------
# Responsive (<= 500px)
--------------------------------------------------------------*/
@media (max-width: 500px) {
    .btn-connexion {
        padding: 0.8rem 3rem .8rem 1rem;
        border-radius: 50px;
        position: relative;
        font-size: 1rem !important;
        font-weight: 800;
    }

    .site-description-header {
        display: none;
    }

    .menu-mobile .burger {
        margin: 0;
        float: none;
        position: absolute;
        top: 4px;
        right: 10px;
    }

    .row.menu-admin {
        display: none;
    }

    .col-sm-2.col-10.menu-mobile-admin {
        margin-right: 2rem;
    }

    #content {
        display: none;
    }

    #content-mobile {
        display: block;
        min-height: calc(100vh - 120px);
    }

    .menu-mobile ul {
        top: 75px;
    }

    .menu-mobile ul.active {
        max-height: 100vh;
    }

    #primary-mobile {
        margin-top: 90px;
    }

    #calendar-mobile {
        height: calc(100vh - 240px);
        width: 100%;
        border: 1px solid #ccc;
    }

    #calendar-mobile #fc-dom-2 {
        position: absolute;
        top: 130px;
        font-size: 1rem;
        left: 15px;
    }

    .fc-toolbar.fc-header-toolbar {
        margin-bottom: 2.5em !important;
        font-size: 0.8rem;
    }

    #modal-planning .modal-dialog, #modal-repartition .modal-dialog {
        width: 99%;
        margin: 40px auto 0;
        max-width: inherit;
    }

    .modal-body {
        padding: 0.3rem;
    }

    .modal {
        z-index: 125900;
    }
}

/*--------------------------------------------------------------
# Reloader & Footer
--------------------------------------------------------------*/
.site-footer {
    background: #fff;
    border-top: 1px solid #e9ecef;
    padding: 1rem 0;
    font-size: 0.875rem;
    color: #6c757d;
    text-align: center;
}

.reloader {
    position: fixed;
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
    display: none;
    z-index: 9999;
    background: rgba(74, 107, 99, 0.8);
}

.text-reload {
    position: absolute;
    top: 50%;
    left: 0;
    text-align: center;
    width: 100%;
    color: #fff;
    font-weight: bold;
    font-size: 1.4rem;
}
