/* font style */
@import url('https://fonts.googleapis.com/css2?family=Hind&display=swap');

/*------------------- Style page -------------------*/
* {
    font-family: 'Hind', sans-serif;
}
html {
    display: block;
    margin: 0;
    padding: 0;
    height: 100vh;
}
main {
    min-height: 90vh;
}
footer{
    min-height: 10vh;
}
#flash{
    width: fit-content;
}
#flash_message {
    margin-top: 1.5rem;
    padding: 1rem;
    text-align: center;
    color: red;
    border: 2px solid red;
    background-color: rgb(255, 175, 175);
    background-size: contain;
}
#timer, .form_label {
    margin: 1.3rem;
    text-align: center;
    font-size: 25px;
    padding-top: 1rem;
}
/*------------------- Admin  -------------------*/
/*------------------- Side bars -------------------*/
#sidebar{
    min-height: 100vh;
    min-width: 22vw;
    background: linear-gradient(#2f1333, #cc1336);

}
#hr_sidebar {
    color: white;
    width: 98%;
    opacity: .50;
    height: 0.1rem;
}
.nav-link:hover, .nav-pills .nav-link.active:hover {
    color: white;
    font-weight: 600;
    text-decoration:underline;
    text-underline-offset: 0.5rem;

}
.nav-pills .nav-link.active{
    text-decoration:underline;
    text-underline-offset: 0.5rem;
    background-color: unset;
    font-weight: 600;
}
.nav-link {
    color: white;
    font-size: 1.5rem;
}
.footer_sidebar {
    padding: 0.5rem;
    flex-direction: column;
}
.logo-comsapik {
    width: 7rem;
}
.footer_text {
    margin: 0.2rem;
    font-size: 0.8rem;
}
.footer_title {
    margin: 0;
    font-size: 1rem;
}
.footer_text, .footer_title {
    font-weight: 300;
}

#btnrate {
    display: flex;
    align-content: flex-end;
    justify-content: center;
    align-items: flex-end;
}
.modal-header .btn-close {
    margin: 0;
}
.logo {
    width: 18vw;
}
.logo:hover, .logout:hover, .short_cut:hover, #buttonPlay:hover {
    transform: scale(1.1);
    cursor: pointer;
}
/*------------------- Commun -------------------*/
.home, .logo-logout {
    width: 2.2rem;
    height: 2.2rem;
    margin: 0.5rem;
}
.titleadmin {
    font-size: 2em;
    padding: .2rem;
}
.logout {
    color: black;
    font-size: 1.6rem;
    text-decoration: none;
}
.logout:hover {
    color: black;
}
.information {
    font-weight: 300;
}
th, #export_label {
    font-weight: 600;
    font-size: 1.5rem;
}
.header-admin {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.2rem;
}
.form-check-input:checked {
    background-color: #ccffff;
    border-color: rgba(0,0,0,.25);
}
.form-switch {
    padding-left: 3.5rem;
}
/*------------------- Tableau de bord  -------------------*/
.error_img {
    width: 30vw;
    margin-bottom: 1.5rem;
}
.img_total {
    width: 57px;
}
.img_bord {
    width: 85px;
}
.total_stat, .short_cut{
    display: inline-flex;
    padding: 0;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.textlink_bord {
    color: black;
    font-weight: 500;
    font-size: 1.4rem;
    padding-left: 1.5rem;
}
.link_bord {
    display: inline-flex;
    justify-content: space-evenly;
    text-decoration: none;
    align-items: center;
}
#deuxiemebloc_bord {
    padding-top: 6rem;
}
#premierbloc_bord {
    padding-top: 4rem;
}
.stat_bord{
    font-size: 1.1rem;
    font-weight: 500;
    padding-left: 1.5rem;
}
.valeurstat_bord {
    font-size: 1.5rem;
    font-weight: 600;
}
/*------------------- Map -------------------*/
h6, h4 {
    font-weight: 600;
    font-size: 1.3;
    text-align: center;
}
li {
    font-size: 1rem;
}
#map {
    height: 43vh;
}
/*------------------- Button -------------------*/
.see_stat, .stop, .see_rate, .mod_range {
    background-color: #cc1336;
}
.mod, .add_rate, .delete {
    background-color: #46276f;
}
.add_site, .start_range, .add_range, .add_user, .export, .send_form {
    background: linear-gradient(0.25turn, #46276f, #cc1336);
    border: none;
    padding: 0.6rem;
}
.see_stat:hover, .mod:hover, .stop:hover, .see_rate:hover, .add_rate:hover, .delete:hover, .mod_range:hover {
    background-color: #ccffff;
    color: black;
}
.add_site:hover, .start_range:hover, .add_range:hover, .add_user:hover, .export:hover, .send_form:hover {
    background: #ccffff;
    color: black;
}
.btn{
    color: white;
}
.logo_add {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.5rem;
}
/*------------------- Pagination -------------------*/
.page-item{
    border: 1px solid #cc1336;
    border-radius: 3%;
}
.page-link:hover{
    background-color: #ccffff;
    /* opacity: 0.8; */
}
/*------------------- Total -------------------*/

.td_total {
    font-weight: 500;
    font-size: 1.4rem;
    border: none;
    padding-left: 1.5rem;
}

.total {
    margin-bottom: 3.5rem;
}

/* range en cours affichage en vue admin */
.current {
    background-color: #ccffff;
}
/* Media queries */
@media (max-width: 1400px) {
    .td_total {
        font-size: 1.1rem;
    }
}
@media (max-width: 991px) {
    .titleadmin, .logout {
        font-size: 1.2rem;
        padding: 1.5rem;
    }

}
@media (max-width: 860px) {
    #sidebar {
        min-width: 100%;
        align-items: center;
    }
}
@media (max-width: 767px) {
    .header-admin {
        display: flex;
    }
}
@media (max-width: 426px) {
}
