@import url('https://fonts.googleapis.com/css?family=Lexend+Deca&display=swap');
.LIentete {
    color: #777;
    background: #dedede;
    border-bottom: 1px solid var(--gray-color);
    transition: 0.3s all linear;
    display: block;
}
.LIentete:hover {
    background: var(--gray-color);

}
.td-cp-delete_a, .td-cp-edit_a {
    color: black;
}
.td-cp-delete_a:hover {
    cursor: pointer;
    color: #d61f1f;
}
.td-cp-edit_a:hover {
    cursor: pointer;
    color: #1f92d6;
}
body
{
    text-decoration: none;
    width:100%;
    margin:auto; /* Pour centrer verticalement la page*/
    background-color: white;
    margin-bottom: 200px;
}

.logoHeader {
    width: 300px;
    padding: 0px;
    text-align: center;
    margin: auto;
}

/* Section : partie principale */

section.panier a.commander{
    display: block;
    margin-top: 40px;
}
section.panier a.viderPanier{
    text-decoration:underline;
    color:darkred;
    cursor: pointer;
}

img{
    border:none;
}

article{
    padding: 30px;
    border-bottom-style: inset;
}

aside{
    display:inline-block;
    vertical-align: top;
}
aside h1{
    color:#1D1D1D;
    font-size: 18pt;
    display: inline;
}

aside a {
    vertical-align: middle;
}

article img{
    padding-right: 10px;
    width: 170px;
}

section.panier article{
    padding:10px;
    border-style: none;
}
section.panier article img{
    width:50px;
}
section.panier article p{
    display: inline-block;
    vertical-align: top;
    width: 250px;
}
nav#manav{
display: none;

}
.buttonRecap {
    background-color: #0095BF;
    border: none;
    color: white;
    padding: 5px 20px;
    text-align: right;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    margin: 3px 2px;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}
#navmenu nav#manav {
    display: block;

}
#v_choix.inc.php .nav {
    display: block;

}
footer nav{
    background-color:#EBEBEB;
    border:solid 1px #DEDEDE;
    width:100%;
}
footer p{
    color:#7B7B7B;
    text-align: right;
    font-size: 0.9em;
    font-style: italic;
}

footer {
    position: fixed;
    width:100%;

    bottom:0px;


}
nav#menu_bas ul li{
    display:inline-block;
}
nav#menu_bas ul li a{
    text-decoration:none;
    color:#7B7B7B;
    cursor: pointer;
    padding:0 15px;
}
nav#menu_bas ul li a.actif,footer ul li a:hover{
    color:#000;
}

.message{
    color: darkred;
}



body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    font-family: 'Lexend Deca', sans-serif;
    color: #878787;

    --menu-item-size: 50px;
    --green-color: #297db8;
    --blue-color: #4abae5;
    --dark-green-color: #e3efed;
    --white-color: #FFF;
    --gray-color: #EDEDED;
    --container-width: 700px;
    /*--container-height: 400px;*/
    --line-offset: calc((100% - var(--container-height))/ 2 + var(--menu-item-size) + 0.6em);
    overflow-x:hidden;
}


.container {
    width: var(--container-width);
    height: var(--container-height);
    margin: auto;
}

.main-menu {

    list-style: none;
    margin: auto 0;
    padding: 0.6em 0 0 0;
}

.main-menu > li {
    /*box-sizing: border-box;*/
    /*height: var(--menu-item-size);*/
    width: calc(3.5 * var(--menu-item-size));
    line-height: var(--menu-item-size);
    /*padding: 0px 5em 0px 5em;*/
    /*margin: 1px;*/
    transition: 0.5s linear all;
    background: var(--green-color);
    color: var(--dark-green-color);
    cursor: pointer;
    font-size: 15px;
    user-select: none;
}

.main-menu > li:not(.with-submenu) {
    clip-path: polygon(10% 0%, 0% 100%, 95% 100%, 100% 100%, 100% 0%);
    shape-outside: polygon(10% 0%, 0% 100%, 95% 100%, 100% 50%, 95% 0%);
}

/*.main-menu > li:nth-child(2) {
    transform: translateX(-5%);
}

.main-menu > li:nth-child(3) {
    transform: translateX(-10%)
}

.main-menu > li:nth-child(4) {
    transform: translateX(-15%)
}
.main-menu > li:nth-child(5) {
    transform: translateX(-20%)
}
.main-menu > li:nth-child(6) {
    transform: translateX(-25%)
}
.main-menu > li:nth-child(7) {
    transform: translateX(-30%)
}*/
.main-menu i {
    margin-right: 5px;
}

.main-menu > li:hover:not(.active) {
    background: linear-gradient(to right, var(--green-color), var(--blue-color));
    color: var(--white-color);
}

.main-menu > li:active:not(.active),
.main-menu > li:active:not(.with-submenu){
    background: var(--blue-color);
    color: var(--white-color);
}

.main-menu > li:hover i:not(li.active) {
    color: #175c58;
}

.main-menu .active {
    color: var(--white-color);
    background: var(--blue-color);
    cursor: default;
    text-shadow: 1px 1px 1px var(--dark-green-color);
    font-size: 18px;
}

article {
    background: var(--gray-color);
    padding: 1em;
    border-radius: 0 0 5px 5px;
    box-shadow: 5px 5px 5px #CCC;
    position: relative;
    z-index: -1;
}

h1 {
    margin: 1em 2em;
    padding: 0;
    position: relative;
    color: #777;
}

.content {
    padding: 0 0 0 3em;
    font-size: 16px;
}

.submenu {
    display: none;
    position: absolute;
    z-index: 10;
    list-style: none;
    left: 0;
    margin: 0;
    padding: 0;
    min-width: calc(3.5 * var(--menu-item-size) - 5%);
    box-shadow: 5px 5px 5px #CCC;
}

.with-submenu {
    position: relative;
    display: inline-block;
    /*clip-path: polygon(10% 0%, 0% 100%, 0% 600%, 95% 600%, 95% 100%, 100% 50%, 95% 0%);*/
    shape-outside: polygon(10% 0%, 0% 100%, 95% 100%, 100% 50%, 95% 0%);
}

.with-submenu:hover .submenu {
    display: block;
}

.submenu > li {
    background: #dedede;
    border-bottom: 1px solid var(--gray-color);
    color: #777;
    padding: 1.2em 1em;
    padding: 15px 0px 15px 0px;
    transition: 0.3s all linear;
    display: block;
    line-height: 0%;
}

.submenu > li:hover {
    background: var(--gray-color)
}

.submenu > li:active {
    background: var(--white-color);
}

.aIndexAdmin {
    text-decoration: none;
    color: #0e65cc;
}
.aIndexAdminAccesRapide{
    font-size: 16px;
}
.aIndexAdmin:hover {
    text-decoration: none;
    color: blue;
}

.aIndexAdminDeconnexion {
    text-decoration: none;
    color: #c40000;
}
.aIndexAdminDeconnexion:hover {
    text-decoration: none;
    color: red;
}
.containerAjoutLocation input {
    width: 100%;
    clear: both;
}
.containerAjoutLocation select {
    width: 100%;
    clear: both;
}

.error{
    outline: 1px solid #f00;
}

.button {

    background-color: #0095BF;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: right;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    margin: 3px 2px;
    cursor: pointer;
}
.button:hover {

    background-color: #00BEF3
        ;

}
.tableau-Liste{
    border-collapse: collapse;
    min-width: 400px;

    width: auto;
    box-shadow: 0 5px 50px rgba(0,0,0,0.15);
    margin: 20px auto;
    border: 2px solid lightgray

}

.aImprimer{
    margin-top: 5%;
    margin-left: 5%;
    margin-right: 5%;
    padding: 1%;
    border: 1px solid black;
    
    
}
.h1Recap{
    text-align: center;
    margin:auto;
    font-size:x-large;
}


/*@media screen and (max-width: 518px){
    .aImprimer{
        border: 1; 
    }

    .TdRecap{
        display: flex;
        flex-direction: column;
    }
    .TdRecap {
        display: flex;
        flex-direction: column;
    }
    .tableau-Liste {
        min-width: auto;
    }
    .h1Recap{
        margin:auto;

        font-size: medium;
        text-align: center;
    }
 
    
}*/

/* thead tr {
    background-color: lightgray;
    text-align: left;
} */

th, td {
    padding: 15px 20px;
}

tbody tr, td, th {
    border: 1px solid #ddd;
}

tbody tr:nth-child(even){
    background-color: #f9f9f9;
}
a{

    text-decoration: none;
}

.styled {
    border: 0.5px;
    line-height: 2.5;
    padding: 0 10px;
    font-size: 16px;
    text-align: center;
    color: white;
    border-radius: 10px;
    background-color: #0079CA;
    margin-bottom: 10px;


}

.styled:hover {
    background-color: #004B7D;
}

.calendar {
    display: flex;
    flex-flow: column;
}
.calendar .header .month-year {
    font-size: 20px;
    font-weight: bold;
    color: #636e73;
    padding: 20px 0;
}
.calendar .days {
    display: flex;
    flex-flow: wrap;
}
.calendar .days .day_name {
    width: calc(100% / 7);
    border-right: 1px solid #2c7aca;
    padding: 20px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
    color: #818589;
    color: #fff;
    background-color: #448cd6;
}
.calendar .days .day_name:nth-child(7) {
    border: none;
}
.calendar .days .day_num {
    display: flex;
    flex-flow: column;
    width: calc(100% / 7);
    border-right: 1px solid #e6e9ea;
    border-bottom: 1px solid #e6e9ea;
    padding: 15px;
    font-weight: bold;
    color: #7c878d;
    cursor: pointer;
    min-height: 100px;
}
.calendar .days .day_num span {
    display: inline-flex;
    width: 30px;
    font-size: 14px;
}
.calendar .days .day_num .event {
    margin-top: 10px;
    font-weight: 500;
    font-size: 14px;
    padding: 3px 6px;
    border-radius: 4px;
    background-color: #f7c30d;
    color: #fff;
    word-wrap: break-word;
}
.calendar .days .day_num .event.green {
    background-color: #51ce57;
}
.calendar .days .day_num .event.blue {
    background-color: #518fce;
}
.calendar .days .day_num .event.red {
    background-color: #ce5151;
}
.calendar .days .day_num:nth-child(7n+1) {
    border-left: 1px solid #e6e9ea;
}
.calendar .days .day_num:hover {
    background-color: #fdfdfd;
}
.calendar .days .day_num.ignore {
    background-color: #fdfdfd;
    color: #ced2d4;
    cursor: inherit;
}
.calendar .days .day_num.selected {
    background-color: #f1f2f3;
    cursor: inherit;
}
* {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body {
    background-color: #FFFFFF;
    margin: 0;
}

.navtop div {
    display: flex;
    margin: 0 auto;
    width: 800px;
    height: 100%;
}
.navtop div h1, .navtop div a {
    display: inline-flex;
    align-items: center;
}
.navtop div h1 {
    flex: 1;
    font-size: 24px;
    padding: 0;
    margin: 0;
    color: #ebedee;
    font-weight: normal;
}
.navtop div a {
    padding: 0 20px;
    text-decoration: none;
    color: #c4c8cc;
    font-weight: bold;
}
.navtop div a i {
    padding: 2px 8px 0 0;
}
.navtop div a:hover {
    color: #ebedee;
}
.content {
    width: 1000px;
    margin: 0 auto;
}
.content h2 {
    margin: 0;
    padding: 25px 0;
    font-size: 22px;
    border-bottom: 1px solid #ebebeb;
    color: #666666;
}
.pSiteTitle {
    background: white;
    color: black;
    font-family: 'Arial Black';
    font-size: 40px;
    text-align: center;
    margin:auto;
    overflow: hidden;
}

.sectionIndexAdmin {
    width: 500px;
    margin: auto;
    border: solid 1px black;
    border-radius: 0px;
    box-shadow: 0px 5px 25px lightgrey;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px;
}
.footerText {
    font-size: 16px;
}
.tableauRechercheLocation {
    /* width: 500px; */
    margin: auto;
}
.fTableauRechercheLocation {
    display: block;
    text-align: center;
    border: solid 1px black;
    border-radius: 0px;
    box-shadow: 0px 5px 25px lightgrey;
    justify-content: center;
    font-weight: bold;
}

.tableauRechercheLocation1 {
    /* width: 500px; */
    margin: auto;
}
.fTableauRechercheLocation1 {
    display: block;
    text-align: center;
    border: solid 1px black;
    border-radius: 0px;
    box-shadow: 0px 5px 25px lightgrey;
    justify-content: center;
    font-weight: bold;
}
.fAjoutLocation {
    padding: 20px 0 100px 0;
}
.sectionAjoutMateriel {
    width: 500px;
    margin: auto;
}
.fieldsAjoutMateriel {
    border: solid 1px black;
    border-radius: 0px;
    box-shadow: 0px 5px 25px lightgrey;
}

.row {
    margin:20px !important;
}

.footerContact, .footerLogout {
    color: lightgray;
}

.footerContact :hover {
    text-decoration: none;
    color: #66ccff;
}
.footerLogout :hover {
    text-decoration: none;
    color: #ff6666;
}

.mainContainer {
    background-color: rgb(245, 245, 245);
    margin: 20px;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #70a2db;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}
#loader:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #5590d3;
    -webkit-animation: spin 3s linear infinite;
    animation: spin 3s linear infinite;
}
#loader:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #008eff;
    -webkit-animation: spin 1.5s linear infinite;
    animation: spin 1.5s linear infinite;
}
@-webkit-keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* Media Query for Mobile Devices */
@media (max-width: 480px) {
    body {
        background-color: red;
    }
}

/* Media Query for low resolution  Tablets, Ipads */
@media (min-width: 481px) and (max-width: 767px) {
    body {
        background-color: yellow;
    }
}



/* Media Query for Tablets Ipads portrait mode */
/* @media (min-width: 768px) and (max-width: 1024px){
    body {
        background-color: white;
    }
    .logoHeader {
        background-color: white;
    }
    .imgLogoSite{
        width: 75%;
    }
    .pSiteTitle {
        font-size: 80px;
    }
    .submenu {
        min-width: calc(6 * var(--menu-item-size) - 5%);
        margin-top: 20px;
    }

    .with-submenu {
        padding: 20px 0;
    }
    .main-menu > li {
        width: calc(6 * var(--menu-item-size));
        line-height: var(--menu-item-size);
        font-size: 45px;
    }
    .LIentete {
        font-size: 25px;
    }
    .sectionIndexAdmin {
        width: 90%;
        margin-top: 50px;
    }
    .aIndexAdmin {
        font-size: 40px;
        text-align: center;
    }
    .aIndexAdminAccesRapide{
        font-size: 40px;
    }
    .aIndexAdminDeconnexion {
        font-size: 40px;
    }
    .footerText {
        font-size: 28px;
    }
    .tableauRechercheLocation {
        width: 90%;
        margin: auto;
    }
    .fTableauRechercheLocation {
        display: inline-grid;
        border: solid 1px black;
        border-radius: 0px;
        box-shadow: 0px 5px 25px lightgrey;
        justify-content: center;
        width: 90%;
    }
    .sectionAjoutMateriel {
        width: 900px;
        margin: auto;
    }
    .fieldsAjoutMateriel {
        padding: 30px;
    }
} */

/* Media Query for Laptops and Desktops */
@media (min-width: 1025px) and (max-width: 1280px){
    body {
        background-color: green;
    }
}

/* Media Query for Large screens */
@media (min-width: 1281px) {
    body {
        background-color: white;
    }
}


