/* Body */
.main-header {
    height: 100vh;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    background: url("../images/Entete/ENTETE2021.jpg") center center no-repeat;
    background-size: cover;
}

/* Body sections */
.main-header .main-header-top {
    width: 100%;
}

.main-header .main-header-middle {
    text-align: center;
    color: #fefefe;
    width: 100%
}

/* .main-header .main-header-middle button:first-child {
    margin-left: 0
}

.main-header .main-header-middle button:last-child {
    margin-right: 0
} */
.main-header .main-header-bottom {
    padding: 1rem;
}

.main-header .main-header-bottom svg {
    height: 3.75rem;
    width: 3.75rem;
    fill: #fefefe;
}

/* Navigation bar */
.main-header .top-bar {
    background: transparent;
}

.main-header .top-bar .menu {
    background: transparent;
}

.main-header .top-bar .menu li {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.main-header .top-bar .menu a {
    /* color: black; */
    font-weight: bold;
    padding: 8px;
}

/* Reusable buttons */
.parions-uss-button {
    color: black;
    background-color: white;
    transition: all 0.35s ease;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.parions-uss-button:hover,
.parions-uss-button:focus {
    background-color: gray;
    color: white;
    border: none;
}

@media screen and (max-width: 39.9375em) {
    .parions-uss-button {
        border: 1px solid black;
        border-radius: 38px;
        margin: 5px;
        font-size: 10px;
    }

    .parie-button {
        font-size: 17px;
        padding: 2px;
    }
}

@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    .parions-uss-button {
        border: 1px solid black;
        border-radius: 38px;
        margin: 3px;
        font-size: 12px;
    }

    .parie-button {
        font-size: 20px;
        padding: 5px;
    }
}

@media screen and (min-width: 63.9375em) {
    .parions-uss-button {
        border: 1px solid black;
        border-radius: 38px;
        margin: 5px;
        font-size: 14px;
    }

    .parie-button {
        font-size: 25px;
        padding: 7px;
    }
}

.parions-uss-button.admin-control {
    border: none;
}

.parions-uss-button.admin-header {
    margin-top: 1.5em;
    margin-left: 2em;
}

.parions-uss-button.admin-operation {
    border: none;
    margin-top: 1.5em;
}

/* login form */
.log-in-section {
    border-radius: 20px;
}

/* Patch for small screens */
@media screen and (max-width: 39.9375em) {
    .log-in-section {
        top: 149px !important;
        min-height: unset !important;
        height: auto !important;
        width: max-content;
        position: relative;
        margin-right: auto;
        margin-left: auto;
        overflow-y: auto;
    }
}

.log-in-form {
    border: none;
    padding: 1rem;
}

/* @media print, screen and (min-width: 40em) {
    .parions-uss-button {
        border: 1px solid black;
        border-radius: 38px;
    }
}

@media screen and (min-width: 64em) and (max-width: 74.9375em) {
    .parions-uss-button {
        border: 1px solid black;
        border-radius: 38px;
    }
}

@media screen and (max-width: 74.9375em) {
    .parions-uss-button {
        border: 1px solid black;
        border-radius: 38px;
    }
}

@media print, screen and (min-width: 64em) {
    .parions-uss-button {
        border: 1px solid black;
        border-radius: 38px;
    }
} */
/* Admin tab */
.tabs-title a {
    color: black;
}

.tabs-title a[aria-selected="true"] {
    color: black;
}

/* Footer */
.main-footer {
    padding: 1rem;
    background: black;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.main-footer .main-footer-left a img {
    width: 13%;
    height: auto;
    /* margin-left: 3%; */
}

.main-footer .main-footer-left a {
    color: white;
    pointer-events: none;
}

.main-footer .main-footer-icons li:last-of-type {
    margin-right: 0;
}

.main-footer .main-footer-icons .fa {
    font-size: 1.3rem;
    color: #fefefe;
}

.main-footer .main-footer-icons .fa:hover {
    color: #4a4a4a;
    transition: color 0.3s ease-in;
}

/* Profile page */
.card-profile-stats {
    border: 1px solid #cacaca;
    margin: 0 0 1.25rem;
    padding: 1.25rem;
    background: #fefefe;
}

.card-profile-stats .card-profile-stats-intro {
    text-align: center;
}

.card-profile-stats .card-profile-stats-intro .card-profile-stats-intro-pic {
    border-radius: 50%;
    margin: 0 0 1.25rem;
}

.card-profile-stats .card-profile-stats-intro .card-profile-stats-intro-content p:last-child {
    margin: 0;
}

.card-profile-stats .card-profile-stats-container {
    text-align: center;
}

.card-profile-stats .card-profile-stats-container .card-profile-stats-statistic {
    margin: 0 0 1.25rem;
}

.card-profile-stats .card-profile-stats-container .card-profile-stats-statistic p:last-child {
    margin: 0;
}

.card-profile-stats .card-profile-stats-more {
    margin: 0;
    text-align: center;
    font-size: 1.5rem;
    color: #0a0a0a;
    padding: 0.5rem;
    cursor: pointer;
}

@media print,
screen and (min-width: 64em) {
    .card-profile-stats .card-profile-stats-intro {
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        text-align: left;
    }

    .card-profile-stats .card-profile-stats-intro .card-profile-stats-intro-pic {
        margin: 0 1.25rem 0 0;
        max-width: 250px;
    }

    .card-profile-stats .card-profile-stats-container {
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-justify-content: space-around;
        -ms-flex-pack: distribute;
        justify-content: space-around;
    }
}

/* Parie page */
.parie-box-container {
    padding: 12px;
}

.parie-compet-box-container {
    border: 2px solid black;
    border-radius: 38px;
    margin-bottom: 20px;
}

.parie-classement-box-container {
    border: 2px solid black;
    border-radius: 38px;
    margin-bottom: 20px;
    margin-left: 20px;
    margin-right: 20px;
}

/* Classement page */
.rank-profile-pic {
    border-radius: 50%;
}

.rank-box {
    margin-left: 3% !important;
}

/* Three column layout */
.side {
    float: left;
    width: 15%;
    margin-top: 10px;
}

.middle {
    float: left;
    width: 70%;
    margin-top: 10px;
}

/* Place text to the right */
.right {
    text-align: right;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* The bar container */
.bar-container {
    width: 100%;
    background-color: #f1f1f1;
    text-align: center;
    color: white;
}

/* Individual bars */
.bar-5 {
    width: 60%;
    height: 18px;
    background-color: gold;
}

.bar-4 {
    width: 30%;
    height: 18px;
    background-color: green;
}

.bar-3 {
    width: 10%;
    height: 18px;
    background-color: blue;
}

.bar-2 {
    width: 4%;
    height: 18px;
    background-color: red;
}

.bar-1 {
    width: 15%;
    height: 18px;
    background-color: black;
}

.yellow {
    color: gold;
    font-weight: bold;
}

.green {
    color: green;
    font-weight: bold;
}

.blue {
    color: blue;
    font-weight: bold;
}

.red {
    color: red;
    font-weight: bold;
}

.black {
    color: black;
    font-weight: bold;
}

/* Palmares page */
.palmares-box {
    margin-left: 3% !important;
    margin-bottom: 2% !important;
}
