/* CSS GENERAL */

* {
    margin: 0px;
    padding: 0px;
    font-family: Avenir, sans-serif;
}

html {
    font: 62.5% Arial, Helvetica, sans-serif;
}

.html_background {
    background: #020518 url("../images/fond3.jpg") no-repeat center top;
    -webkit-background-size: cover;
    /* pour anciens Chrome et Safari */
    background-size: cover;
    /* version standardisée */
}

.html_background_accueil {
    background: #020518 url("../images/fond3.jpg") no-repeat center top;
    -webkit-background-size: cover;
    /* pour anciens Chrome et Safari */
    background-size: cover;
    /* version standardisée */
}

.popup_background {
    background-color: #020518;
}

body {
    min-height: 100%;
}

img {
    max-width: 100%;
    /* pour que mes images soit de la taille de leur bloc parents*/
}

h1 {
    font-size: 32px;
    color: lightskyblue;
}

.col {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.row {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
}

.ui-datepicker-trigger {
    border: 0px;
    background-color: transparent;
    margin-top: 0.2em;
    margin-left: 5px;
    height: 25px;
}

.titre_inscription {
    justify-content: center;
    height: 50px;
    align-items: center;
}

.connexion, .tournoi {
    width: 300px;
    background-color: white;
    padding: 10px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.connexion_footer {
    background-color:#eeeeee; 
    height: 60px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-top: 1px solid #cccccc;
    font-size: 12px;
}

.connexion_footer > .col > .row {
    padding: 10px;
}

.connexion_footer > .col > .row > a {
    margin-left: 5px;
}

.tournoi {
    width: 70%;
}

.card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.5);
    border-radius: 1rem;
}

.card-title {
    margin-bottom: 0.75rem;
}

.card-footer {
    padding: 0.75rem 1.25rem;
    background-color: rgba(0, 0, 0, 0.03);
    border-top: 1px solid rgba(0, 0, 0, 0.125);
}

.card-body {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 2rem;
}

.ligue {
    background-color: white;
    text-align: center;
    border-right: 1px solid black;
    font-size: 0.8vw;
}

.nom_ligue {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
}

.ligue:first-child {
    border-left: 1px solid black;
}

.club {
    width: 4.2vw;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    border-left: 1px solid black;
    justify-content: center;
    display: flex;
    align-items: center;
    font-size: 0.8vw;
    height: 25px;
}

.club:first-child {
    border-left: 0px solid black;
}

.tourdejeu {
    width: 4.2vw;
    height: 4.2vw;
    border-right: 1px solid black;
    border-bottom: 1px solid black;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items:center;
    font-size: 0.7vw;
}

.lien {
    text-decoration: none;
    color: black;
}

.lien:hover {
   color: white;
}

.date_tourdejeu {
    background-color: white;
    border-left: 1px solid black;
    border-right: 1px solid black;
    border-bottom: 1px solid black;
    min-width: 83px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size:0.7vw;
}

label {
    font-size: 12px;
}

#id_date,
#id_lieu_organisation {
    color:#aaaaaa;
}

.list-inscrit {
    margin: 15px 40px;
    width: auto;
    border: 1px solid black;
}

.list-inscrit > .titre {
    background-color: #cccccc;
    font-size: 20px;
    border-bottom: 1px solid black;
    height: 40px;
    justify-content: center;
    align-items: center;
}

.list-inscrit > .content {
    background-color: white;
    font-size: 14px;
}

.list-inscrit > .content > .row > .nom {
    width: 60%;
    border-right: 1px solid black;
    height: 32px;
    align-items: center;
    display: flex;
    margin-left: 5px;
}

.list-inscrit > .content > .row > .date {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40%;
}

.inscription {
    background-color: lightblue;
    font-size: 14px;
}

.inscription > .row > .question {
    margin-left: 5px;
    margin-top: 10px;
    height: 25px;
    display: flex;
    align-items: center;
}

.inscription > .row > .reponse {
    margin-top: 10px;
    margin-left: 10px;
}

.entete {
    height: 35px;
    background-color: blue;
    font-size: 14px;
    color: white;
    align-items: center;
    justify-content: center;
}

.entete > .titre,
.contenu > .titre {
    display: flex;
    justify-content: center;
}

.contenu {
    height: 25px;
    background-color: lightgrey;
    font-size: 12px;
    align-items: center;
    justify-content: center;
}

/*================================*/
/*=== Partie sur le Swipe Menu ===*/
/*================================*/
/* Menu burger */
#menu-burger {
    position: absolute;
    /*   z-index: 10; */
    top: 2em;
    left: 3em;
    display: inline-block;
    cursor: pointer;
}

#menu-burger .bar1,
#menu-burger .bar2,
#menu-burger .bar3 {
    width: 32px;
    height: 5px;
    background-color: #F1F1F1;
    margin: 6px 0;
    transition: 0.4s;
}

#menu-burger:hover {
    opacity: .5;
    transition: .5s;
}

#menu-burger.clicked .bar1 {
    background-color: #303030;
    -webkit-transform: rotate(-45deg) translate(-9px, 6px);
    transform: rotate(-45deg) translate(-9px, 6px);
}

#menu-burger.clicked .bar2 {
    opacity: 0;
}

#menu-burger.clicked .bar3 {
    background-color: #303030;
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-8px, -8px);
}

/* Main menu (slide) */
#menu {
    position: fixed;
    /*   z-index: 10; */
    width: 350px;
    left: -400px; 
    top: auto;
    background: #efefef;
    padding: 4em 2em;
    min-height: 100%;
    box-shadow: 1px 0 1px #020518;
}

#menu ul li {
    list-style: none;
}

#menu ul li a, .account {
    display: block;
    color: #303030;
    text-decoration: none;
    font-size: 1.6vh;
    font-weight: 600;
    transition: background .5s;
    padding: .8em;
    text-align: left;
}

#menu ul li a.noclick {
    color: #585858;
}

#menu ul li a:hover {
    color: #efefef;
    background: #585858;
    transition: background .5s;
}

#menu.visible {
    animation: .5s slideRight ease-in forwards;
    transition-delay: 0;
    padding: 64px 20px 0px 20px;
}

#menu.invisible {
    animation: .5s slideLeft ease-out forwards;
    transition-delay: 0;
}

/* Animations pour le menu slide */
@keyframes slideRight {
    from {
        left: -350px;
    }

    to {
        left: 0%;
    }
}

@-webkit-keyframes slideRight {
    from {
        left: -350px;
    }

    to {
        left: 0%;
    }
}

@keyframes slideLeft {
    from {
        left: 0%;
    }

    to {
        left: -400px;
    }
}

@-webkit-keyframes slideLeft {
    from {
        left: 0%;
    }

    to {
        left: -400px;
    }
}

/* ========== */
/* CSS BOUTON */
/* ========== */
.btn {
    display: inline-block;
    justify-content: center;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn:hover,
.btn:focus {
    text-decoration: none;
}

.btn:focus,
.btn.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn.disabled,
.btn:disabled {
    opacity: 0.65;
}

.btn:not(:disabled):not(.disabled) {
    cursor: pointer;
}

.btn:not(:disabled):not(.disabled):active,
.btn:not(:disabled):not(.disabled).active {
    background-image: none;
}

a.btn.disabled,
fieldset:disabled a.btn {
    pointer-events: none;
}

.btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
}

.btn-primary:focus,
.btn-primary.focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}

.btn-primary.disabled,
.btn-primary:disabled {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show>.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #0062cc;
    border-color: #005cbf;
}

.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus,
.show>.btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}

.btn-danger {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-danger:hover {
    color: #fff;
    background-color: #c82333;
    border-color: #bd2130;
}

.btn-danger:focus,
.btn-danger.focus {
    color: #fff;
    background-color: #c82333;
    border-color: #bd2130;
    box-shadow: 0 0 0 0.2rem rgba(225, 83, 97, 0.5);
}

.btn-danger.disabled,
.btn-danger:disabled {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-danger:not(:disabled):not(.disabled):active,
.btn-danger:not(:disabled):not(.disabled).active,
.show>.btn-danger.dropdown-toggle {
    color: #fff;
    background-color: #bd2130;
    border-color: #b21f2d;
}

.question > p {
    margin-bottom: 10px;
}

.reponse {
    margin-top: 20px;
    margin-bottom: 10px;
}

.reponse > .titre {
    font-size: 16px;
    font-weight: bold;
    color:#0062cc;
    margin-bottom: 7px;;
}

.li_faq {
    list-style: inside;
    margin-left: 15px;
}

.li_faq > li {
    margin-bottom: 5px;
}

.titre_accueil {
    font-size: 4.5vw;
    color: white;
}

.boutons {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 50%;
    margin-top: 10vh;
}

.boutons_img {
    max-width: 300px;
    border: 1px solid white;
    margin-bottom: 1vh;
}

.boutons_img:hover {
    filter: opacity(50%);
}

.message {
    font-size: 2em;
    width: 40%;
    background-color: white;
    padding: 10px;
    border-radius: 5px;
}

.infos {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    margin-top: 5vh;
}

.helptext>ul {
    margin-top: 2vh;
    margin-bottom: 2vh;
}

.contact {
    background-color: white;
    width: 30%;
    padding: 10px;
    border-radius: 5px;
}


/* ------------------------- */
/* GESTION DES MEDIA QUERIES */
/* ------------------------- */
@media (max-width:1620px) {
    .boutons>a>img {
        max-width: 300px;
    }
}