/* body {
    font-size: 2em;
    background-color: rgb(231, 229, 229);
} */
a {
    text-decoration: none;
}

a:visited, a:active {
    text-decoration: none;
}

#container {
    padding: 10px;
}

#div-logo {
    width: fit-content;
    margin: 0 auto;
}

#menu-principal {
    display: grid;
    grid-template-columns: 2fr 1fr;
    margin-bottom: 30px;
}

#menu-principal > div {
   justify-content: center;
}

#choix-camion {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    margin-bottom: 30px;
}

#choix-camion a {
    border-color: darkslategrey !important;
    color: darkslategrey !important;
}

#div-btn-prev-next {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0;
    font-size: 80% !important;
    /* border: 1px dotted green; */
}

#div-btn-prev-next>div {
    margin: 0;
    /* border: 1px dotted red; */
}

#div-btn-prev-next>div>a {
    margin: 0;
}

#div-visites {
    margin: 0;
    margin-bottom: 30px;
    width: 100%;
    background-color: black;
    color: white;
}

.section {
    border: 1px solid lightgrey;
    border-radius: 6px;
    padding: 10px;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 15px;
    box-shadow: 5px 5px 12px 0px lightgrey
}

.select-image {
    background-color: #ff1010; 
    color: white;
    padding: 10px 15px;
    text-align: center;
    display: inline-block;
    size: 160%;
}
#valider {
    background-color: #189200; 
    color: white;
    padding: 10px 15px;
    text-align: center;
    display: inline-block;
    size: 160%;
}

.dz-remove {
    font-size: 60;
}

.dz-message {
    text-align: center;
    padding: 30px;
}

.select-image, .dz-button {
    background-color: white;
    color: darkred;
    border: 6px solid darkred;
    border-radius: 24px;
    font-size: 200%;
}

#div-btn-valider, #div-btn-annuler {
    width: 100%;
    text-align: center;
    margin: 15px;
}

#btn-valider, #btn-annuler, .btn-val {
    background-color: white;
    color: darkgreen;
    border: 6px solid darkgreen;
    border-radius: 24px;
    font-size: 150%;
    padding: 12px;
}

#btn-annuler {
    color: darkred;
    border-color: darkred;
}

#photo-existante {
    /* height:80%;  */
    width: 80%; 
    margin-bottom : 0.8em;
}

#name-photo {
    font-size: .7em;
    text-align: center;
}

#commentaire_categorie {
    width: 50%;
    height: fit-content;
    margin-top: 15px;
    margin-bottom: 15px;
}

#commentaire_description {
    height: 400px;
    width: 90%;
    margin-left: 5%;
}

.table {
    font-size: larger;
}

#header-visites{
    padding: 0.5em 0 0.3em 0;
}

#btn-rapport {
    margin: 0 auto; 
    text-align: center;
}

#redirect-rapport, #send-rapport {
    font-size: 200%;
    margin: 0.3em; 
    border: 0.1em solid; 
    padding: 10px;
    border-radius: 24px;
    background-color: white;
}

#send-rapport {
    color: darkslategrey;
    border-color: darkslategrey;
}

#redirect-rapport:hover {
    cursor: pointer;
}

.next-rapport {
    float: right;
}

.change-page {
    font-size: 120%;
}

#save-geoloc {
    font-size: 200%;
    margin: 0.3em; 
    border: 0.1em solid; 
    padding: 10px;
    border-radius: 24px;
    background-color: white;
    color: crimson;
}

#update-geoloc{
    font-size: 130%;
    margin: 0.3em; 
    border: 0.1em solid; 
    padding: 10px;
    border-radius: 24px;
    background-color: white;
    color: crimson;
}

#btn-geoloc {
    margin: 0 auto; 
    text-align: center;
}

input.chbx-camion {
    width: 120px;
    height: 120px;
}

input.chbx-amorcage {
    width: 90px;
    height: 90px;
}

fieldset {
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 5px;
}
#form-camion {
    display: flex;
    flex-direction: column;
    font-size: 150%;
}
#label-camion {
    margin: 10px 0;
}

.label-amorcage {
    margin: 10px 0;
}
.chbx-camion {
    margin-right: 10px;
}
.preference {
    display: flex;
    justify-content: space-between;
    margin: 0.5rem;
}

.change-camion {
    border: 4px solid rgb(0, 110, 255);
    border-radius: 12px;
    padding: 10px;
    color: rgb(0, 110, 255);
    background-color: white;
}

#table-pdf {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto; 
}

#table-pdf th, #table-pdf td {
    border: 1px solid #000;
    padding: 8px;
    text-align: center;
}

#table-pdf th {
    background-color: #ccc;
    font-weight: bold;
    font-size: 140%;
    text-align: left;
}

#table-pdf td.article {
    background-color: #fff;
    font-weight: bold;
} 


.sous-table {
    width: 25%;
    margin-bottom: 0.2cm;
}

.camion-table
{
    display: inline;
    width: 50%;
}

.img-pdf {
    height: 9cm;
    width: 7.5cm;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    
}
  
  /* Modal Content/Box */
.modal-content {
    background-color: #b4b4b4;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #000000;
    width: 80%; /* Could be more or less, depending on screen size */
}

/**
**
** CSS Christophe
**
**/

.table td {
    padding: .25rem;
}

#notes-contenu {
    font-weight: normal;
}


.today {
    background-color: rgb(255, 255, 153) !important;
    color: black;
    font-weight: bold;
}

.change-page, .next-rapport {
    border: 4px solid orange;
    border-radius: 12px;
    padding: 10px;
    color: darkorange;
    background-color: white;
    margin: 15px 0px 0px 15px;

}

.next-rapport {
    border: 4px solid blueviolet;
    color: blueviolet;
}

.num-tel {
    padding: 15px;
    border: 4px;
    border: 4px solid darkgreen;
    color: dark;
    background-color: white;
    border-radius: 24px;
}

.num-tel img {
    margin-top: -50px;
    margin-left: -30px;
    margin-right: 15px;
}

a .num-tel {
    color: dark;
}

#header-visites {
    font-size: 1.5em;
    font-weight: bold;
    width: fit-content;
    margin: 0 auto;
    margin-bottom: 30px;
}

#liste-visites {
    color: black;
    font-size: 1em;
}

#liste-visites a {
    color: black;
}

.visite {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr;
    column-gap: 10px;
    border: 1px solid lightgrey;
    height: fit-content;
    width: 95%;
    border-radius: 24px;
    margin: 0 auto;
    margin-bottom: 30px;
    padding: 10px;
    background-color: white;
    box-shadow: 8px 13px 30px -2px;
}

.visite:hover {
    background-color: lightgrey;
}

.visite>DIV {
    height: fit-content;
}

.nb-photos {
    float: right;
    position: relative;
    top: -5vh;
    background-color: lightgreen;
    font-size: 100%;
}

.nb-photos.danger {
    background-color: darkred;
    color: white;
}

#liste-articles {
    padding: 15px;
    margin: 0 auto;
}

.ligne-article {
    display: grid;
    grid-template-columns: 2fr 4fr 1fr;
    text-align: left;
}

.ligne-article .quantite {
    text-align: center;
}

/**
** Catégories
**/
.categ-1 {
    background-color: grey !important;
    color: white;
}

.categ-2 {
    background-color: yellow !important;
    color: black;
}

.categ-3 {
    background-color: darkgrey !important;
    color: white;
}

.categ-4 {
    background-color: lightgreen !important;
    color: white;
}

.categ-5 {
    background-color: red !important;
    color: white;
}

.categ-6 {
    background-color: orange !important;
    color: white;
}

/**
* ADRESSE
**/

#container-adresse {
    width: 100%;
    padding: 30px;
}

.title {
    font-size: 150%;
    padding: 30px;
    margin: 0 auto;
    margin-bottom: 30px;
    border: 1px solid lightgrey;
    border-radius: 12px;
    width: fit-content;
}

.div-adresse {
    display: grid;
    grid-template-columns: 1fr 3fr;
    margin-bottom: 30px;
}

.div-adresse INPUT {
    margin-left: 15px;
}

#div-ville {
    display: grid;
    grid-template-columns: 1fr 3fr;
}

#adresse1, #adresse2 {
    width: 100%;
}

#cp {
    width: 200px;
}

#ville {
    width: 100%;
}

.update-num {
    padding: 12px;
    border: 4px;
    border: 4px solid rgb(100, 0, 0);
    color: dark;
    background-color: white;
    border-radius: 24px;
}


@media screen and (max-width:768px) {
    body {
        font-size: x-large;
    } 

    .police-taille-tel {
        font-size: smaller;
    }

    #commentaire {
        resize: none;
    } 
    #headerVisites{
        padding: 20px 0 10px 0!important;
    } 
}