* {
    font-size: 0.8rem;
   }

.element {
    content-visibility: auto;
}

nav {
    background-color: transparent;
    height:4.125rem
}

.fr{
    float: right;
}

.cards tbody tr {
    float: left;
    margin: 0.5rem;
    border: 0.0625rem solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
    -webkit-box-shadow: 0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.25);
            box-shadow: 0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.25);
    height:30rem!important;
    width:30rem!important;
    overflow: scroll!important;
}
.cards tbody tr:hover {
    height: 100%!important;
    min-height: 30rem!important;
    box-shadow: 10px 10px 5px 0px dimgray;
    -webkit-transition: all 200ms ease-in;
    -webkit-transform: scale(1.25);
    -ms-transition: all 200ms ease-in;
    -ms-transform: scale(1.25);   
    -moz-transition: all 200ms ease-in;
    -moz-transform: scale(1.25);
    transition: all 200ms ease-in;
    transform: scale(1.25);
    overflow: hidden!important;

}

table.cards.dataTable.cell-border tbody td {
    border-top: none;
}

.cards tbody td {
    display: block;
    border-top: none;
}

.cards thead {
    display: none;
}

.cards td:before {
    content: attr(data-label);
    position: relative;
    float: left;
    color: #808080;
    min-width: 4rem;
    margin-left: 0;
    margin-right: 1rem;
    text-align: left;
}

tr.selected td:before {
    color: #ccc;
}



.imgThumb {
    max-width: 27rem;
    max-height: 15rem;
}

.titre-col {
    background: lightblue;
    font-size: 1rem;
    font-weight: bold;
    color: black;
    border-collapse: unset;
    border-top-left-radius: 1.5rem;
    border-bottom-left-radius: 1.5rem;
}

.donnees-col {
    background: gainsboro;
    border: 0.125rem solid lightblue;
    border-top-right-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
}

.titre-ligne {
    background: lightblue;
    font-size: 1rem;
    font-weight: bold;
    color: black;
    border-collapse: unset;
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
}

.donnees-ligne {
    background: gainsboro;
    border: 0.125rem solid lightblue;
    border-bottom-left-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
}

.centrerVerticalement {
    display: -ms-grid;
    display: grid;
    vertical-align: middle;
    float: none;
}

.holster {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column nowrap;
            flex-flow: column nowrap;
    height: 100%;
}

.container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    overflow: auto;
    -webkit-box-flex: 0;
        -ms-flex: none;
            flex: none;
    border: 0.25rem solid lightblue;
    padding-right: 0;
    padding-left: 0;
}

.container.snap-x {
    width: 100%;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-flow: row nowrap;
            flex-flow: row nowrap;
}

.container>div {
    text-align: center;
    scroll-snap-align: center;
    -webkit-box-flex: 0;
        -ms-flex: none;
            flex: none;
}

.snap-x.mandatory-scroll-snapping {
    -ms-scroll-snap-type: x mandatory;
        scroll-snap-type: x mandatory;
}

.snap-x.proximity-scroll-snapping {
    -ms-scroll-snap-type: x proximity;
        scroll-snap-type: x proximity;
}

.snap-x>div {
    max-width: 100%;
    min-width: -webkit-fit-content;
    min-width: -moz-fit-content;
    min-width: fit-content;
}

.photo>section {
    margin: .5rem;
    border-bottom-left-radius: .5rem;
    border-bottom-right-radius: .5rem;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    border: 0.125rem solid gainsboro;
}

.photo>section>img {
    max-width: -webkit-fit-content;
    max-width: -moz-fit-content;
    max-width: fit-content;
    max-height: -webkit-fill-available;
}

.table-desc {
    border-collapse: separate;
    border-spacing: 0.25rem;
}

::-webkit-scrollbar {
    width: 0.75rem;
    height: 0.75rem;
}

:-webkit-scrollbar-track-piece {
    /* Fond */
    background: transparent none;
    border: solid .25rem transparent;
    border-right-width: .5rem;
    margin: .25rem;
    -webkit-box-shadow: inset .0625rem .0625rem 0 0 rgb(137, 131, 117), inset -.0625rem -.0625rem 0 0 rgb(224, 220, 210);
}

::-webkit-scrollbar-track-piece:horizontal {
    /* Fond pour la barre du bas */
    border-right-width: .25rem;
    border-bottom-width: .5rem;
}

::-webkit-scrollbar-thumb {
    /* Barre */
    border: solid 0 transparent;
    border-right-width: .25rem;
    -webkit-border-radius: .3125rem;
    -webkit-border-top-right-radius: .5625rem .3125rem;
    -webkit-border-bottom-right-radius: .5625rem .3125rem;
    -webkit-box-shadow: inset 0 0 0 .0625rem gainsboro, inset 0 0 0 .375rem lightblue;
}

::-webkit-scrollbar-thumb:hover {
    /* Barre */
    -webkit-box-shadow: inset 0 0 0 0625rem gray, inset 0 0 0 0.375rem gainsboro;
}

::-webkit-scrollbar-thumb:horizontal {
    /* Barre du bas */
    border-right-width: 0;
    border-bottom-width: .25rem;
    -webkit-border-top-right-radius: .3125rem;
    -webkit-border-bottom-right-radius: .3125rem .5625rem;
    -webkit-border-bottom-left-radius: .3125rem .5625rem;
}

.dataTable>tbody>tr:hover>td{
    background-color: lightblue!important;
}

.commentaire{
    white-space:pre-wrap;
    text-align:left!important
}

div.commentaire{
    margin-left: 1rem;
}

.line{
    width: 60%;
    height: 1rem;
    border-bottom: .125rem solid lightblue;
    display: inline-block;
}

.btnBlue{
    background-color: lightblue!important;
    background-image: unset!important;
    border-radius: .5rem!important;
    -webkit-box-sizing: border-box!important;
            box-sizing: border-box!important;
    border: 0.125rem solid gainsboro!important;
    padding:1rem;
}
.btnBlue:hover{
    background-color: gainsboro!important;
    background-image: unset!important;
    border-radius: .5rem!important;
    -webkit-box-sizing: border-box!important;
            box-sizing: border-box!important;
    border: 0.125rem solid lightblue!important;
    cursor:hand;
}

.titre-section {
    background: lightblue;
    font-size: 1rem;
    font-weight: bold;
    color: black;
    border-collapse: unset;
    border-radius: 1.5rem;
}

.dt-buttons{
    width:100%
}

.page-item.active .page-link {
    background-color: lightblue;
    border-color: gainsboro;
    border-radius: .5rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: white !important;
    border: 1px solid lightblue!important;
    background-color: gainsboro!important;
    border-radius:.5rem;
    background: gainsboro!important;
}

h1, h2 {
    display: inline;
}

.blueBorder{
    border: lightcoral!important;
    border-style: solid!important;
}

 
@-webkit-keyframes rotating {
    from{
        -webkit-transform: rotate(0deg);
    }
    to{
        -webkit-transform: rotate(360deg);
    }
}
 
.rotating {
    -webkit-animation: rotating 2s linear infinite;
}

.flipping {
    -webkit-animation-name: spinner; 
   -webkit-animation-timing-function: linear; 
   -webkit-animation-iteration-count: infinite; 
   -webkit-animation-duration: 2s; 
   animation-name: spinner; 
   animation-timing-function: linear; 
   animation-iteration-count: infinite; 
   animation-duration: 2s; 
   -webkit-transform-style: preserve-3d; 
   -moz-transform-style: preserve-3d; 
   -ms-transform-style: preserve-3d; 
   transform-style: preserve-3d;
}

 /* WebKit and Opera browsers */ @-webkit-keyframes spinner { 
   from 
   { 
       -webkit-transform: rotateY(0deg); 
   } 
   to { 
       -webkit-transform: rotateY(-360deg); 
   } 
} /* all other browsers */ 
@keyframes spinner { 
   from { 
       -moz-transform: rotateY(0deg); 
       -ms-transform: rotateY(0deg); 
       transform: rotateY(0deg); 
   } 
   to 
   { 
       -moz-transform: rotateY(-360deg); 
       -ms-transform: rotateY(-360deg); 
       transform: rotateY(-360deg); 
   
   } 
}


.sc {
    font: small-caption;
}



.bandeau {
    width: 25rem;
    height: 25rem;
    overflow: hidden;
    position: absolute;
    top: -2rem;
    left: -2rem;
  }

  .bandeau > * {
    position: absolute;
    display: block;
    width: 45rem;
    padding: 1rem 0;
    text-align: center;
    z-index: 9999;
    right: -8.5rem;
    top: 9rem;
    transform: rotate(-45deg);
  }
  .fake > * {
    background-color:rgba(255, 0, 0, 0.65);
    border: black;
    border-style: solid;
    color:black;
    text-shadow: 0 0.7rem 0.7rem rgba(0,0,0,.75);
    font-size: 2rem;
  }
  .vente > * {
    background-color:rgba(173, 216, 230, 0.85);
    border: lightgray;
    border-style: solid;
    color:black;
    text-shadow: 0 0.7rem 0.7rem rgba(0,0,0,.75);
    font-size: 2rem;
  }
