/* ---------------------------------------------------------- Accueil_create  ------------------------------------------------------------*/
.container_ensemble{
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: auto;
    margin-top: 20px;
    padding: 10px;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
    background-color:white;
}

.container_entete{
    display: flex;
    /*
    margin:auto;
     min-width:600px; */
    height: 150px;
    padding: 20px;
    width: 100%;
    background: linear-gradient(to right, #b4c7e7 0%,rgba(255,255,255,1) 50%,#b4c7e7 100%);
}


.container_entete2{
    display: flex;
    /*
    margin:auto;
     min-width:600px; */
    height: 150px;
    padding: 20px;
    width: 100%;
    background: linear-gradient(to right, #b4c7e7 0%,rgba(255,255,255,1) 50%,#b4c7e7 100%);

}

.container_entete img {
    max-height: 100%;
    max-width: 100%;
    margin: auto;
}

.container_entete2 img {
    max-height: 100%;
    max-width: 100%;
    margin: auto;
}
.session_info{
    display: flex;
    flex-direction: column;
    text-align: right;
    background: #006600;
    color: white;
    min-width:300px;
    padding:10px;
    border-radius: 15px 15px 0px 0px;
} 

.nav-tabs {
    background: #006600;
    color: white;
}

a {
    color: white;
    text-decoration: none;
  }

.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover  {
    color: black;
    font-weight: bold;
    cursor: default;
    background-color: #78f702;
    border: 1px solid #ddd;
    border-bottom-color: rgb(221, 221, 221);
    border-bottom-color: transparent;
}
.tab-content{padding-top: 50px;
    background: linear-gradient(#eef3ee,white);
    
}
.container_message{background: white;}


/* -------------------------------------------------------------------- modification_all  -------------------------------------------------*/
* {
  box-sizing: border-box;
}

input[type=text],input[type=tel], select, textarea {
    width: 100%;
    padding: 12px;
    border-radius: 4px;
    resize: vertical;
    background: transparent;
    box-shadow: inset 0 0 10px #d6d5d5;
}

input[type=date], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
}

input[type=number], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
}

input[type=email], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
}

input[type=password], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
}

.bouton_choix {
    padding-left: 10px;
    border:solid 1px #ccc;
    margin-top: 10px;
}

label {
    padding: 12px 12px 12px 0;
    display: inline-block;
}

input[type=submit] {
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

input[type=submit]:hover {
    background-color: #45a049;
}



.container_form {
    border-radius: 5px;
    box-shadow: 0px 0px 16px 3px rgba(0,0,0,0.10);
    padding: 20px;
    min-width:300px;
}

.container_message {
    border-radius: 5px;
    padding: 20px;
    min-width:300px;
    margin-bottom:2%;
}

.electeur,.col-sm-0{
    margin-bottom: 100px;
}

form h2 {
    color: #006600;
}

.col-25 {
    float: left;
    width: 25%;
    margin-top: 6px;
}

.col-75 {
    float: left;
    width: 75%;
    margin-top: 6px;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* searchbar design */
.search-container button {
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    float: none;
    margin-top: 2rem;
    width: 100%;
    background-color: #006600;;
  } 
.form_search, .form_search_user{
    display: flex;
    max-width: 100%;
    flex-direction: column;
}

#search_nina{
    margin-bottom: 2rem;
}




#customers {
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

#customers td, #customers th {
    border: 1px solid #ddd;
    padding: 8px;
}

#customers tr:nth-child(even){background-color: #f2f2f2;}

#customers tr:hover {background-color: #ddd;}

#customers th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #0033ff;
    color: white;
}
 
.container_all{
    /*
    display: flex;
    flex-direction: column-reverse;
    margin:10px
    */
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.date_debut_fin_R{
    display: flex; 
    justify-content: space-around;
    border: 1px solid #CCC;
}

.info_accueil{
    background:#006600; 
    color:white; 
    border:none; 
    padding:15px; 
    margin:15px 0 15px 0; 
    font-size:1.5rem;
}

.infoElecteur {
    padding: 10px;
    margin-top: 50px;
    margin-bottom: 50px;
    background: linear-gradient(#f9f9d7,white);
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
    
}

.infoElecteur h3{
    background:#edeb7f; 
    color:black; 
    padding:10px;
}

.modifElecteur, .consult_modif_electeur{
    padding: 10px;
    background: linear-gradient(#fad8d8,white);
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
}

.modifElecteur h3, .consult_modif_electeur h3{
    background:#f5a393; 
    color:black; 
    padding:10px;
}



/* ------------------------------------------------------- Consult -----------------------------------------------------------------*/
.contenaire_supression{
    display:flex;
    flex-direction:column-reverse;
}

.message_supression {
    border-radius: 5px;
    background-color: #006600;
    padding: 20px;
    min-width:300px;
    margin-bottom:1%;
    color: white;
}

* {
  box-sizing: border-box;
}

#myInput,#myInput2 {
  background-image: url('/css/searchicon.png');
  background-position: 10px 10px;
  background-repeat: no-repeat;
  width: 100%;
  font-size: 16px;
  padding: 12px 20px 12px 40px;
  border: 1px solid #ddd;
  margin-bottom: 12px;
}

#myTable,#myTable2 {
  border-collapse: collapse;
  width: 100%;
  border: 1px solid #ddd;
  font-size: 14px;
  margin-bottom: 20px;
  display: table;
}

#myTable th, #myTable td, #myTable2 th, #myTable2 td  {
  text-align: left;
  padding: 12px;
}

#myTable tr, #myTable2 tr  {
  border-bottom: 1px solid #ddd;
}

#myTable tr.header, #myTable tr:hover, #myTable2 tr.header, #myTable2 tr:hover {
  background-color: #f1f1f1;
}
#filter_data input[type=submit]{
  display: flex;
  background-color:#e1848f;
  border: none;
  color: white;
  padding: 16px 32px;
  text-decoration: none;
  margin: 4px 2px;
  cursor: pointer;
}

#filter_data input[type=submit]:hover{
      background-color:red;
}

input[type=submit]{
  display: flex;
  background-color:#006600;
  border: none;
  color: white;
  padding: 16px 32px;
  text-decoration: none;
  margin: 4px 2px;
  cursor: pointer;
}

input[type=submit]:hover{
      background-color:#006600;;
}

.disabled {
    pointer-events: none;
    background: #CCC;
}

.pagination_submit{
    display: flex;
    justify-content: space-between;
}

.inactive{
    display: none;
}

.pager{
  display: flex;
}

.pager-item{
    color: black;
    background-color: #CCC;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    cursor: pointer;
}
.selected{
    background-color: #006600;
    color: white;
}

/* ------------------------------------------------------- user -----------------------------------------------------------------*/
.form_message_user{
   display:flex;
   flex-direction: column-reverse;
}

.container_form_all{
    display: flex;
    flex-direction: column;
}.message_retour{
    margin-top: 20px;
    color:green;
}

/* ---------------------------------------------------Consult  -------------------------------------------------------------------*/
.table_supression{
        min-width: 850px;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

#import_csv {
overflow:hidden;
}
    .message_retour{
        text-align: center;
    }
    .col_2_10{
        display: flex;
        margin-top: 50px;
    }
    .col-xs-9, .col-xs-3{
        margin-top: 5px;
    }
    
    .col-xs-9{
        box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
    }
    .numero_pagination{
        font-weight: bold;
        color:black;
    }
    
    .message{
        color: #1f3760;
    }

    .container_contact{
        padding: 50px 20%;
    }
    
    @media screen and (max-width: 1000px) {
        .col_2_10{
            flex-direction: column;
        }
        .col-xs-9, .col-xs-3{
            width:100%;
        }
        
        .container{
            margin:0;
            padding:0;
        }

        
    .info_accueil{
        background:#006600; 
        color:white; 
        border:none; 
        padding:15px; 
        margin:15px 0 15px 0; 
        font-size:1rem;
    }

    .container_all, .container_form {
        padding-right: 10px;
        padding-left: 10px;
      }

        /* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .col-25, .col-75, input[type=submit] {
        width: 100%;
        margin-top: 5%;
      }
      .container_entete, .container_entete2 img{
        max-height: 100%;
        max-width: 100%;
    }

    .info_accueil{
        background:#006600; 
        color:white; 
        border:none; 
        padding:15px 2px 15px 2px; 
        margin:15px 0 15px 0; 
        font-size:1rem;
    }

    .container_contact{
        padding: 50px 5%;
    }

}


    }
        
    .nav-btn-container{
        display: flex;
        justify-content: center;
    }
        
    .prev-btn {
        /*background-color: white;
        color: white;
        */
        padding: 5px 10px;
        margin-right: 5px;
    }

    .next-btn {
        /*
        background-color: white;
        color: white;
        */
        padding: 5px 10px;
    }

    .button_actif{
        background-color: #f1f1f1;
        color: #006600;
        font-weight: bold;
    }
    
    button{
        outline-style:none;
        border: none;
    }