body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
}
body.modal-open {
    height: 100vh;
    overflow-y: hidden;
}
body.modal-close {
    height: 100vh;
    overflow-y: auto;
  }

#container {
    width : 100%;
    height:100%;
}

.form-group {
    margin-bottom:20px !important;
}

.w3-input{padding:8px;display:block;border:none;border-bottom:1px solid #ccc;width:100%}

/*  --- HEADER -----*/
#header {
    background: #1E1E24; /*#374151;*/
    position: fixed;
    width:100%;
    height:70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 1;
}
#header h1 {
    color : #fff;
}

.logo {
    background: ghostwhite;
   /* padding:5px;*/
    border: solid #ddd 1px;
    border-radius: 15px;    
}

.logo img {
    height:65px;    
}

/*  --- Navigation -----*/

nav ul {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
}
.menu_link {
    margin-right: 12px;
}
.menu_link:last-of-type {
    margin-right: initial;
}
.menu_link a {
    color: #fff !important;
    font-family: 'Arial';
    font-weight: 600;
    text-decoration: none;
    position: relative;
}
.menu_link a:hover {
    text-decoration: none;
    color: #fff;
}
.menu_link a:after {
    content: '';
    height: 2px;
    background-color: #0dcaf0;
    width: 0;
    position: absolute;
    bottom: -5px;
    right: 0;
    transition: 0.2s all ease-in-out;
}
.menu_link a:hover:after {
    color: #fff;
    text-decoration: none;
    width: 100%;
    left: 0px;
}
/* MAIN  */ 
#main {
    position:relative;
    top:70px;
    width:100%;
    height: 80%;
    padding:25px 0 85px 0;
    overflow : auto;
}
#contenu {
    height:100%;
}
section {
    margin-bottom: 25px;
}
/*  --- FOOTER -----*/
footer {
    position: fixed;
    z-index: 1;
    bottom:0px;
    background: #1E1E24;
    width:100%;
    height:50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;      
}
.bottom-bar { 
    position: absolute;
    right:10px;
    bottom:10px;
}
.bottom-bar ul {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    list-style: none;
    justify-content: space-between;
}

/* LOGIN FORM */
.login-page {
    margin: 30px auto;
    width:500px;
}
.login-page-form {
    border: 1px solid #374151;
    background-color: #374151;

    padding: 10px;
    border-radius: 10px;
}
.title-login {
    color: #fff;
    border-bottom: 2px solid #0dcaf0; 

}
.login-page-form p {
    color: #fff;
}
.login-page-form label {
    color: #fff;

}

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

.title {
    color: grey;
}

.button {
    border: none;   
    outline: 0;
    display: inline;
    padding: 8px;
    color: white;
    background-color: #000;
    text-align: center;
    cursor: pointer;
    width: 30%;
}

.button:hover {
    background-color: #555;
    color:white;
}


.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 33%;
}
/* Style the table */
table {
    width:100%;   
    border-radius: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}
/* Style table headers and table data */
th, td {
  text-align: center;
  padding: 5px;
}
thead {
    background:#374151;
    color:white;
}


tr:hover {
    background-color: lightgray;
}
h2 {
    margin-bottom :20px !important;
    display: block;
    text-align: center;
}

.form-horizontal {
    background:#374151;
    border:1px solid lightSlateGray;
    padding: 10px;
}
.form-horizontal label {
    font-weight: bold;
    color:#FFF8F0;
}


.formulaire {
    margin:20px 0px 10px 0px;
    background-color:LightSlateGray;
    border:1px solid lightGray;
    padding:5px;
}
.zonerecherche {
    background-color:LightSlateGray;
    border:1px solid lightGray;
    padding:15px;
    color:#1E1E24;
    font-weight: bold;
    border-radius: 0.3rem;

}
.card-text {
    text-align: justify;   
}

/* MODAL */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow-y:  auto !important;
    outline: 0;
}

.modal-backdrop {
    /* bug fix - no overlay */    
   display: none;    
}

.close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5; }

.close:hover {
    color: #000;
    text-decoration: none; 
}

.close:not(:disabled):not(.disabled):hover, .close:not(:disabled):not(.disabled):focus {
    opacity: .75; 
}
  
button.close {
    padding: 0;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none; 
}

.modal-content button.close {
        position: absolute;
        top: 0;
        right: 0;
        padding: 0;
        margin: 0;
        width: 40px;
        height: 40px;
        z-index: 1;
        text-shadow: none;
        background: rgba(0, 0, 0, 0.1);
        color: #fff;
} 

.modal-content .modal-body.color-1 {
    background: lightGray;
}

.modal-content .modal-body.color-2 {
    background: #1b2a49;
}


.modal-dialog {
  position: relative;
  width: auto;
  min-width: 900px;
  margin: 0.5rem;
  pointer-events: none;
}

.modal-content .modal-header {
    padding: 0;
    border: none;
}

.modal-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem;
}

DIV.modal-header {
  color : #1b2a49;
  background-color : lightGray;
}

DIV.modal-header H4.modal_title{    
    text-align : center;
}

H3.modal-title-left, H4.modal-title-left {
    color : #1b2a49;
}

H3.modal-title-right {
    color : lightGray;
}

TD.athlete_renew {
    background-color : lightGray;
    text-align: left !important;
}
tr:hover.athlete_renew {
    background-color: gray;
}

TD.athlete_relais {
    color : #1b2a49;   
    text-align: left !important;
    border: none;
}
tr.athlete_relais {
    background-color: lightgray;
}
tr:hover.athlete_relais {
    background-color: gray;
}

H4.modal-title-left, H3.modal-title-right{ 
    text-align: center;
}

H4.modal-title{ 
    text-align: left;
    padding-left:10px;
    padding-top:10px;
}

.modal-content .modal-body .icon span {
  font-size: 10vw;
  line-height: 1; }

 @media (max-width: 767.98px) {
    .modal-content .modal-body .icon span {
      font-size: 100px; } 
}

.modal-content .modal-body .icon-2 {
  position: absolute;
  top: 0;
  left: 20px;
  font-size: 30px; 
}

.modal-content .modal-body {
    color: rgba(255, 255, 255, 0.8);
}

.modal-content .modal-body a:hover {
  color: #5eb7b7;
}


.modal-content .label {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.modal-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: 0.3rem;
    border-bottom-left-radius: 0.3rem;
}

.modal-footer > :not(:first-child) {
    margin-left: .25rem; 
}
.modal-footer > :not(:last-child) {
    margin-right: .25rem;
}
.row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}
 
.no-gutters {
    margin-right: 0 !important;
    margin-left: 0 !important;
}
.no-gutters > .col, .no-gutters > [class*="col-"] {
      padding-right: 0;
      padding-left: 0;
}


h4 {   
  text-align: center !important;
}

.div-inline {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
}

.div-inline input {
    vertical-align: middle;
    margin: 5px 10px 5px 0;
    padding: 10px;
    height:5px;
    background-color: #fff;
    border: 1px solid #ddd;
  }


.accordion-header-entete, .accordion-button-entete:not(.collapsed) {
    background-color : LightGray !important;
    color : #1b2a49 !important;
}  
.accordion-header-categage, .accordion-button-categage:not(.collapsed) {
    background-color : #1b2a49 !important;
    color : LightGray !important;
}  
.accordion-button-categage, .accordion-button-entete {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    background-color: #fff;
    border: 0;
    border-radius: 0;
    overflow-anchor: none;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,border-radius .15s ease;
}
.design_relais {
    padding: 0.2rem 0.4rem;
    font-size: .875em;
    color: white;
    background-color: #1b2a49;
    border-radius: 0.2rem;
    direction: ltr;
    unicode-bidi: bidi-override;
}
.accordion-item {
    border:0px !important;
}
.design_saisie_relais {
    padding: 0.2rem 0.4rem;
    font-size: 1em;
    color: white;
    background-color: #1b2a49;
    border-radius: 0.2rem;
    direction: ltr;
    unicode-bidi: bidi-override;
    text-align: left !important;
}
