html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 18rem;  /* MainFooter.height + desired margin */
}

.MainHeader {
    background-color: #f5f5f5;
}

.MainFooter {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 14rem;
    /*line-height: 14rem;*/
    background-color: #f5f5f5;
    color: #343a40;
}


.Inconsolata {
    font-family: 'Inconsolata';
}

.MainContent {
    /*margin-top: 3rem;*/
}


.MainContent h1 {
    margin-top: 3rem;
    margin-bottom: 1rem;
}

/* =========================== */
/*  Ajax calls animation       */
/* CSS loading spinner with a semi-transparent background          */
/* =========================== */

#loading-background {
    position:fixed;
    /*    width:100%; */
    left:-160px;right:0;top:-160px;bottom:0;        /* 160px is the size of the spinner */
    background-color: rgba(255,255,255,0.7);
    z-index:9999;
    display:none;
}

@-webkit-keyframes spin {
    from {-webkit-transform:rotate(0deg);}
    to {-webkit-transform:rotate(360deg);}
}

@keyframes spin {
    from {transform:rotate(0deg);}
    to {transform:rotate(360deg);}
}

#loading-background::after {
    content:'';
    display:block;
    position:absolute;
    width:160px;height:160px;       /* 160px is the size of the spinner */
    left:50%;top:35%;
    border-style:solid;
    border-color:black;
    border-top-color:transparent;
    border-width: 12px;
    border-radius:50%;
    -webkit-animation: spin .8s linear infinite;
    animation: spin .8s linear infinite;
}
/*
 Image affichée pendant les chargements 
#loading-indicator {
    width: 50%;
}

#loading-indicator-container {
    text-align: center;
    position: absolute;
    left: 50%;
    top: 30%;
    transform: translate(-50%, -30%);
    z-index: 4;
    width: 300px;
}

#loading-text-container {
    font-weight: bold;
    width: 100%;
    color: white;
}

 Conteneur de l'image affichée pendant les chargements 
#loading-background {
    display: none;
    background-color: rgba(0, 0, 0, 0.6);
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 4;
}*/

/* =========================== */
/*  Table look       */
/* =========================== */

#idTableConseillers {
    /*font-size: 0.8rem;*/
    
    padding: 2px;
}

#idTableConseillers thead th {
    color: #fff;
    background-color: #343a40;
    border-color: #454d55;
}

#idTablePresidents thead th {
    color: #fff;
    background-color: #343a40;
    border-color: #454d55;
}

.conseillerDetail {
    border-collapse: collapse;

    margin-left:auto;
    margin-right:auto;
}

.conseillerTdLibelles {
    padding: 0.3rem;
    text-align: right;
    font-weight: bold;
    border: 1px solid #1d5da1;
    background: #007bff;
    color: white;
}

.conseillerTdValeur {
    padding: 0.3rem;
    border: 1px solid #1d5da1;
    background: #e8f3ff;
}

.conseillerTdImage {
    padding-right: 3rem;
}

.conseillerImage {
    height: 15rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 6px;    
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#idMySearchForm .form-inline .input-group {
    min-width: 10rem !important;
    max-width: 13rem !important;
}


.tab-content {
    background-color: #fafafa !important;    
}
.nav-tabs .nav-link.active {
    background-color: #fafafa !important;
}

.nav-tabs a:hover {
    background-color: #e0e0e0;
    color: white;
}

.pre-scrollable {
    max-height: 600px;
    overflow-y: scroll;
}

.table-hover tbody tr:hover td {
    background: #007bff;
    color: white;
}
.gravatarImage {
    height: 48px;
    border: 1px solid #ddd;
    border-radius: 8px;
}
.gravatarImageSmall {
    height: 32px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* =========================== */
/* To make style depend on the current breakpoint */
/* =========================== */
/* xs */
@media (max-width:575px) {
    html {
        font-size: 85%;
    }
}
/* sm */
@media (min-width:576px) {
    html {
        font-size: 90%;
    }
}
/* md */
@media (min-width:768px) {
    html {
        font-size: 95%;
    }
}
/* lg */
@media (min-width:992px) {
    html {
        font-size: 100%;
    }
}
/* xl */
@media (min-width:1200px) {
    html {
        font-size: 100%;
    }
}