@keyframes signing-heart {
    0% {
        background-color: rgb(255, 79, 79);
    }

    20% {
        background-color: rgb(210, 255, 47);
    }

    40% {
        background-color: rgb(75, 177, 121);
    }

    60% {
        background-color: rgb(75, 123, 255);
    }

    80% {
        background-color: rgb(255, 107, 223);
    }

    100% {
        background-color: rgb(255, 79, 79);
    }
}

@keyframes blinking {
    0% {
        border: solid 2px rgba(255, 165, 0, 1);
    }

    50% {
        border: solid 2px rgba(255, 165, 0, 0);
    }

    100% {
        border: solid 2px rgba(255, 165, 0, 1);
    }
}

body {
    font-family: "Roboto", sans-serif;
}

/* Aide à bloquer le footer en bas de page */

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

* {
    outline: none !important;
}

h4 {
    font-size: 1em;
}

h6 {
    font-weight: 400;
}

.container-fluid {
    padding: 0;
}

.horizontal-sep {
    height: 2px;
    width: 25px;
    background-color: #3a476a;
    border-radius: 25px;
    margin: 5px 0;
}

::selection {
    color: black;
    background-color: #ffd100;
}

/* Liens */

a {
    text-decoration: none;
    text-decoration-color: currentColor;
    text-decoration-style: solid;
    color: #00379a;
}

a:hover {
    color: unset;
}

.text-right {
    text-align: right;
}

#main-section {
    min-height: 80vh;
}

.data-table tbody tr:nth-child(even) {
    background-color: rgba(88, 87, 87, 0.103);
}

.data-table>tr:hover,
.data-table>tbody>tr:hover {
    transition: 100ms;
    z-index: 10;
    background-image: linear-gradient(to right, #00379a, #0076bd);
    color: white;
}

.data-table>tr:hover a,
.data-table>tbody>tr:hover a {
    color: white;
}

.table-rencontre {
    border: 2px solid #c1c2c2;
    border-radius: 8px;
    padding: 10px;
    border-collapse: separate !important;
    border-spacing: 0 10px !important;
    margin-bottom: 20px;
}

.data-table th {
    background-color: transparent;
    color: #00379a;
    padding: 10px 20px;

    border: 1px solid #00379a;
    border-radius: 50px;
}

.data-table td {
    border: none;
    padding: 10px 30px;
    text-align: 'center';
}

.data-table tbody {
    border: 1px solid #00379a;
    border-radius: 50px;
}

.data-table.sober>tr:hover,
.data-table.sober>tbody>tr:hover {
    transition: 100ms;
    z-index: 10;
    background-image: none;
    color: initial;
}

.data-table.sober>tr:hover a,
.data-table.sober>tbody>tr:hover a {
    color: unset;
}

.data-table.left td {
    text-align: left !important;
}

.static-content {
    padding: 100px 0;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.left-align-table td{
    text-align: left;
}

.left-align-table th{
    text-align: center;
}

.thead-titre {
    padding: 10px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-collapse: collapse;
}

.table-titre th {
    padding: 10px 20px;
    border-radius: 5px;
    border: solid 1px rgba(88, 87, 87, 0.329);
}

/* Titles */

h1,
h2,
h3 {
    font-family: "Barlow Condensed", sans-serif;
}

.bleu {
    color: #00379a;
}

/* Erreur */

.erreur {
    text-align: center;
    padding-top: 5%;
}

/* Boutons */

button {
    outline: none !important;
    margin: 5px;
}

a.button {
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;
    text-decoration: none;
    color: initial;
    margin: 5px;
    display: inline-block;
}

.primarybuttonWhite {
    border: solid 1px #00379a;
    background: white;
    color: #0a409e !important;
    font-weight: 500;
    padding: 10px 25px;
    border-radius: 3px;
    transition: 0.25s background;
}

.primarybuttonWhite:hover {
    background: #F8FCFF;
}

.primarybuttonWhite:active {
    border: solid 1px #edf6fd;
    background: #edf6fd;
    color: rgba(0, 116, 240, 0.5) !important;
    border-radius: 3px;
    transform: scale(0.95);
}

.primarybuttonWhite[disabled=true] {
    background: #F8F8F8;
    border: none;
    color: #dbdbdb;
}

.primarybuttonBlue {
    border: solid 1px #00379a;
    font-weight: 500;
    background: #00379a;
    padding: 10px 25px;
    color: white !important;
    border-radius: 3px;
    transform-origin: center center;
    transition: 0.25s background;
}

.primarybuttonBlue:hover {
    border: solid 1px #0049BD;
    background: #0049BD;
}

.primarybuttonBlue:active {
    transition-duration: 0s;
    border: solid 1px #edf6fd;
    background: #edf6fd;
    color: rgba(0, 116, 240, 0.5) !important;
    border-radius: 3px;
    transform: scale(0.95);
}

.primarybuttonBlue[disabled=true] {
    border: solid 1px rgba(0, 0, 0, 0);
    background: rgba(0, 0, 0, 0.10);
    color: rgba(0, 0, 0, 0.35) !important;
}

.primarybuttonWhite[disabled=true] {
    border: solid 1px rgba(0, 0, 0, 0);
    background: rgba(0, 0, 0, 0.10);
    color: rgba(0, 0, 0, 0.35) !important;
}


.primarybuttonRed {
    border: solid 1px #d63340;
    font-weight: 500;
    background: #d63340;
    padding: 10px 25px;
    color: white !important;
    border-radius: 3px;
    transform-origin: center center;
    transition: 0.25s background;
}

.primarybuttonRed:hover {
    border: solid 1px #ef3441;
    background: #ef3441;
}

.primarybuttonRed:active {
    transition-duration: 0s;
    border: solid 1px #edf6fd;
    background: #edf6fd;
    color: rgba(239, 52, 65, 0.5) !important;
    border-radius: 3px;
    transform: scale(0.95);
}

.primarybuttonRed[disabled=true] {
    border: solid 1px rgba(0, 0, 0, 0);
    background: rgba(0, 0, 0, 0.10);
    color: rgba(0, 0, 0, 0.35) !important;
}

.primarybuttonPurple {
    border: 1px solid #800080;
    font-weight: 500;
    background: #800080;
    padding: 10px 25px;
    color: white !important;
    border-radius: 3px;
    transform-origin: center center;
    transition: background 0.25s;
}

.primarybuttonPurple:hover {
    border: 1px solid #9932CC;
    background: #9932CC;
}

.primarybuttonPurple:active {
    transition-duration: 0s;
    border: 1px solid #edf6fd;
    background: #edf6fd;
    color: rgba(128, 0, 128, 0.5) !important;
    border-radius: 3px;
    transform: scale(0.95);
}

.primarybuttonPurple[disabled=true] {
    border: 1px solid rgba(0, 0, 0, 0);
    background: rgba(0, 0, 0, 0.10);
    color: rgba(0, 0, 0, 0.35) !important;
}

.dangerbutton {
    border: solid 1px #d63340;
    font-weight: 500;
    background-color: #d63340;
    color: white !important;
    padding: 10px 25px;
    border-radius: 3px;
    transition: 0.25s background;
}

.dangerbutton:hover {
    border: solid 1px #ef3441;
    background-color: #ef3441;
}

.dangerbutton:active {
    border: solid 1px #fde8e6;
    transition-duration: 0s;
    transform: scale(0.95);
    background: #fde8e6;
    color: rgba(239, 52, 65, 0.5) !important;
}

.dangerbutton[disabled=true] {
    border: solid 1px rgba(0, 0, 0, 0);
    background: rgba(0, 0, 0, 0.10);
    color: rgba(0, 0, 0, 0.35) !important;
}

/* Menu administrateur */

section#main-section>div {
    min-height: 100% !important;
}

#admin-menu {
    padding: 50px 50px 50px 0;
    background-image: linear-gradient(to bottom, #fbfbfb, #fbfbfb, transparent);
    height: 100vh !important;
    overflow: auto;
}

#admin-menu a {
    border-radius: 0 50px 50px 0;
    padding: 15px 30px;
    color: #00379a;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    text-decoration: none;
    display: block;
}

#admin-menu a:hover {
    background-color: #00379a;
    color: #fbfbfb !important;
    transition: 50ms;
}

#admin-body {
    padding: 35px;
    overflow: auto;
}

.disconnect-link {
    color: #d63340 !important;
}

.disconnect-link:hover {
    background-color: #d63340 !important;
    color: #fbfbfb !important;
    transition: 50ms;
}

.admin-menu-title {
    color: #b2b4b7;
    padding: 0 30px;
}

.welcome-container {
    margin: 0 0 30px 50px;
    padding: 15px 25px;
    border: solid rgba(0, 0, 0, 0.25) 1px;
    color: black;
    border-radius: 5px;
}

.icon-container {
    width: 1em;
}

.form-table td {
    padding: 8px 15px;
}

/* Formulaire d'authentification */

.form-container {
    background-color: rgba(255, 255, 255, 1);
    border: solid rgba(0, 0, 0, 0.10) 1px;
    border-radius: 10px;
    padding: 45px;
    margin: 100px 60px;
    min-width: 300px;
}

.form-input{
    width: 75px !important;
}

.alert-info {
    display: inline-block;
    background-color: rgba(214, 138, 75, 0.25);
    color: #d67822;
    padding: 10px 20px;
    border-radius: 50px;
}

.form .form-control:focus {
    border: none !important;
    border-image: none !important;
}

section#main-section form label {
    font-weight: 500;
}

section#main-section input::placeholder {
    opacity: 0.5;
    font-size: 1em !important;
}

section#main-section input[type="password"]::placeholder {
    font-size: 1.5em !important;
}

/* Signature */

.heart-shape {
    margin: 0 5px;
    display: inline-block;
    width: 7px;
    height: 7px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    background-color: white;
    animation: signing-heart 10s infinite;
}

.heart-shape:before,
.heart-shape:after {
    position: absolute;
    width: 8px;
    height: 8px;
    content: '';
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    background-color: white;
    animation: signing-heart 10s infinite;
}

.heart-shape:before {
    bottom: 0px;
    left: -5px;
}

.heart-shape:after {
    top: -5px;
    right: 0px;
}

/* Guest */

#main-section>section {
    padding: 100px 0;
}

/* Stickers */

.label-gerant,
.label-arbitre {
    padding: 6px 15px;
    border-style: solid;
    border-width: 1px;
    border-radius: 25px;
}

.label-gerant {
    border-color: #ffa500;
    color: #ffa500;
    background-color: rgba(255, 165, 0, 0.08);
}

.label-arbitre {
    border-color: #00a800;
    color: #00a800;
    background-color: rgba(0, 168, 0, 0.08);
}

.highlighted {
    animation: blinking 1s 2;
    border: solid 2px rgb(255, 165, 0);
    background-color: rgba(255, 165, 0, 0.05) !important;
}

aside {
    line-height: 1.1em;
    color: rgba(0, 0, 0, 0.5);
    font-size: 0.8em;
}

.form-alert {
    display: none;
    color: #ef3441;
    font-size: 0.8em;
}

.radio-container {
    display: inline-block;
    padding-right: 20px;
}

/* Personne */

.person-container {
    border-radius: 10px;
    padding: 20px;
}

.person-container .button-container,
.hover-accent .button-container {
    opacity: 0.25;
    transition: opacity 100ms;
}

.person-container:hover .button-container,
.hover-accent:hover .button-container {
    opacity: 1;
}

.person-container .button-container .primarybuttonBlue,
.person-container .button-container .primarybuttonWhite,
.person-container .button-container .dangerbutton {
    padding: 5px;
}

.data-indicator {
    text-transform: uppercase;
    color: #00379a;
    font-weight: bold;
    font-size: 0.8em;
    margin-right: 8px;
    padding-top: 0.2em;
}

/* Breakpoints */

@media (max-width: 992px) {
    #admin-menu {
        height: auto !important;
    }

    #admin-body {
        padding: 25px;
    }

    .form-container {
        margin: 30px 30px !important;
    }
}

