/* rouge: #AF212A */
/* bande bleu fonc?e: #002E42 */
/* gris turbo: #5F6369 */
/* gris bo?te: #dddddd */
/*TEST*/
body { 
	/*font: normal 100.01%/1.375; /* "Helvetica Neue",Helvetica,Arial,sans-serif; */
	font-family: "Work Sans",sans-serif;
	margin:0;
	padding:0; 
    font-size:.8em;
}
 
img {
	max-width:80vw;
}

table {
   overflow-x:auto;
}

#containerimages {
	margin:auto;
}

#containerimages img {
	max-width:200px;
}

#containerimages div {
	max-width:200px;
	width:200px;
	height:200px;
	float:left;
	margin:5px;
}

.divthumb-image {
	position: relative;
}

.closerbtn {
	position: absolute;
    background:#ccc;
	top:0px;
	right:0px;
	z-index:100;
}

#bandhaut, #bandlogin {
	display:relative;
	height:73px;
	padding:15px;
	background: #000;
}

#bandhaut img, #bandlogin img {
	max-height:100%;
}

#bandhaut .menu {
	display:absolute;
	float:right;
	color:white;
	padding-top:18px;
	font-size:150%
}

#bandhaut .menu a {
	color:white;
	text-decoration:none;
}

#bandhaut .menu a:hover {
	color:#dddddd;
}

#bandhead {
	display:relative;
	height:34px;
	padding-top:12px;
	background: #002E42;
}

#bandhead .menu {
	display:absolute;
	float:right;
	margin-right:15px;
	color:white;
}

#bandhead .menu a {
	color:white;
	text-decoration:none;
}

#bandhead .menu a:hover {
	color:#dddddd;
}

#menuburger {
	display:none;
	float:right;
	z-index:1000;
	font-size:225%;
	cursor:pointer;
	top:10px;
	right:60px;
	position:fixed;
	background:white;
}

#submenuburger {
	display:none;
	position:fixed;
	background:#ddd;
	border:2px solid black;
	border-radius:5px;
	font-size:225%;
	box-shadow: 5px 10px 18px #888888;
	top:50px;
	right:60px;
	z-index:1001;
	padding:10px;
	
}

#submenuburger a {
	color: #AF212A;
	text-decoration:none;
	text-transform: uppercase;
}

#submenuburger a:hover {
	color:#002E42;
}

@media (max-width: 981px) {
    body {
        font-size:1.9em;
        padding-top:70px;
    }
	#bandhaut, #bandhead, #bandlogin {
		display:none;
	}	
	#menuburger {
		display:block;
	}
    #pagewrapper {
        width:97% !important;
    }
    .srch {
        font-size:200%;
        margin-bottom: 10px;
    }

}

#pagewrapper {
	width:90vw;
	margin:auto;
}

h2 {
	font-size:200%;
	font-weight:bold;
	color:#AF212A;
	text-transform: uppercase;
	margin:5px;
	padding:5px;
}

input,textarea {
	border:2px solid #AF212A;
	padding:5px;
	margin:5px;
	border-radius:3px;
    font-size:inherit;
}

textarea {
	height:80px;
}
	 
.btn, .btnpartsonly{
    display:inline-block;
	border:0;
	background:#AF212A;
	padding:10px;
	margin:5px;
	color:white !important;
	font-size:160%;
	border-radius:3px;
	text-transform: uppercase;
	text-decoration: none;
	cursor:pointer;
	text-align:center;
}

.btn:hover, .btnpartsonly:hover {
	background:#801323;
}

.btnguidephoto {
	border:0;
	background:transparent;
	padding:0;
	margin:0;
	cursor:pointer;
}

.btnguidephoto:hover {
	background:transparent;
}

.fleet {
	display: flex;
	flex-flow: row wrap;
	align-content: flex-start;
	border-bottom:1px solid black;
	justify-content: space-around;
	margin-top:10px;
}
.fleet img /*, .btnguidephoto, .btnguide */{
	max-width:100%;
	max-height:100%;
	width:100%;
}

.photofleet {
	width:30%;
	margin:10px;
	text-align:center;
}

.descfleet {
	display:inline-grid;
	width:30%;
	margin:10px;
}

.fleetactions {
	display:inline-grid;
	width:30%;
	margin:10px;
}

.sku {
	font-weight:bold;
}

.tabimage {
	display:block;
}

.tabimage div {
  margin-left: auto;
  margin-right: auto;
}

.tabimage img {
  margin-left: auto;
  margin-right: auto;
}

#left-drawer {
  height: 60vh;
  border: solid 1px #c9c9c9;
  background-color: #c9c9c9;
  padding:15px 15px 15px 40px;
  width:70vw;
}

.btnPunch {
	color:white;
	font-size:125%;
	font-weight:bold;
	background:#AF212A;
	border:1px solid black;
	width:17vw;
	height:12vh;
	cursor:pointer;
}

.btnPunch:hover {
	color:white;
	font-size:125%;
	font-weight:bold;
	background:#5F6369;
	border:1px solid black;
	width:17vw;
	height:12vh;
}

.curaction {
	font-size:125%;
	color:	#AF212A;
}

.textPunchMenu {
    font-size:75%;
}

.drawer-wrapper {
	    z-index: 100;
}

.divthumb-image {
	position: relative;

}

.closerbtn {
	position: absolute;
    background:#ccc;
	top:0px;
	right:0px;
	z-index:100;
}

.drawer {
	position: absolute;
	width: 80vw;
	height: auto;
	right: 0px;
	background: #fff;
	overflow: hidden;
	box-shadow: 5px 10px 18px #888888;
	border: 1px solid black;
	z-index: 100;
	border-radius: 10px 0px 0px 10px;
}

.drawerwrapper {
	padding: 10px 50px 10px 0px !important;
	overflow: hidden;
}

.drawbut {
    float:left;
	width:40px;
	font-weight:bold;
	top:0px;
	left:0px;
	background:#008000;
	text-align:center;
	margin-right:10px;
	padding-top:15px;
	padding-bottom:15px;
	display:flex;
	justify-content: center;
	align-items: top;
	font-family: "Lucida Console", "Courier New", Courier, Monaco, monospace;
	cursor:pointer;
	color:#fff;
}

.drawbut:hover {
	background:#90EE90;
	color:#000;
}

.closedrawbut {
	color:#fff;
	background:#AF212A;
}

.closedrawer {
	width: 40px;
}

input[type="checkbox"] {
  -webkit-appearance: checkbox;
     -moz-appearance: checkbox;
          appearance: checkbox;
  display: inline-block;
  width: auto;
}

.featherlight .legend {
    position: absolute;
    bottom: 0;
    font-size: 170%;
    color: #AF212A;
    width: 95%;
    text-align: center;
    text-shadow: 0px 0px 10px white;
    font-weight: bold;
}

.imgbox {
	position:relative;
	width:175px;
	height:175px;
	border:1px solid black;
	float:left;
	margin-right:10px;
	margin-bottom:10px;
}

.btnimgrotate {
	position:absolute;
	bottom:0px;
	left:0px;
	background:#fff;
	padding:5px;
	color:red;
	cursor:pointer;
    font-size:200%;
}

.btnimgdelete {
	position:absolute;
	top:0px;
	right:0px;
	background:#fff;
	padding:5px;
	color:red;
	cursor:pointer;
    font-size:200%;
}

.imgbox > a {
	position:absolute;
	top:0px;
	left:0px;
	cursor:zoom-in;
}

.btnimgrotate:hover, .btnimgdelete:hover {
	background:#000;
	color:#fff;
}

#fileToUpload {
    color: transparent;
    border:none;
    awidth:150px;
    aheight:150px;
}

#fileToUpload::-webkit-file-upload-button {
    visibility: hidden;
}

#fileToUpload::before {
    content: '\f030';
    color:black;
    display: inline-block;
    background: linear-gradient(top, #f9f9f9, #e3e3e3);
    border: 1px solid #999;
    border-radius: 3px;
    padding: 5px 8px;
    outline: none;
    white-space: nowrap;
    -webkit-user-select: none;
    cursor: pointer;
    text-shadow: 1px 1px #fff;
    font-family:"Font Awesome 5 Free";
    font-weight: 700;
    font-size: 700%;
}

#fileToUpload:hover::before {
    border-color: black;
}

#fileToUpload:active {
    outline: 0;
}

#fileToUpload:active::before {
    background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9);
}  

table.tableauRes {
    border:0;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
  /*  table-layout: fixed;*/
}

table.tableauRes tr {
    background-color: #f8f8f8;
    border-bottom: 1px solid #888;
    padding: .35em;
}

table.tableauRes th, table.tableauRes td {
    padding: 5px;
    
    /*border: 1px solid #ddd;*/
    /*text-align: center;*/
}

table.tableauRes td {
    font-size:150%;
}

table.tableauRes th {
    /*font-size: .85em;*/
    /*letter-spacing: .1em;*/
    background: #002E42;
    color:#fff;
    text-transform: uppercase;
}

table.tableauRes tr:nth-child(odd) { background-color: #fff; }
table.tableauRes tr:nth-child(even) { background-color: #f8f8f8; }

.td-left {
    text-align: left;
}

.td-right {
    text-align: right;
}

.td-center {
    text-align: center;
}
.selectedrow {
    background-color:darkgray !important;
    color: #AF212A !important;
}
.panelBlue {
    background-color: royalblue;
}

.panelRed {
    background-color: red;
}

.panelYellow {
    background-color: yellow;
}

.panelGreen {
    background-color: green;
}

.panelGray {
    background-color: gray;
}

.panelHeader {
    padding: 15px;
    height: 20%;
}

.panelGeneral{
    box-sizing: border-box;
    border-radius: 5px;
    border: 0;
    display: inline-block;
}
.panelContent{
    padding: 15px;
    width:100%;
    height: 50%;
}

.panelGros {
    width:400px;
    height: 200px;
}

.panelMoyen {
    width:200px;
    height: 200px;
}

.panelPetit {
    width:100px;
    height: 100px;
}

.panelPetitAllonge {
    width:200px;
    height: 100px;
}

.panelHover:hover {
    box-shadow: 0 2px 5px rgb(0 0 0 / 40%);
}

.buttonGeneral {
    border-radius: 5px;
    height: 40px;
    text-align: left;
    padding: 15px 26px;
    position: relative;
    display: inline-block;
}

.buttonGeneral .buttonBadge {
  position: absolute;
  top: -10px;
  right: -10px;
  padding: 5px 10px;
  border-radius: 50%;
  background: yellow;
  color: black;
}

.buttonGeneral .buttonBadgeGreen {
  position: absolute;
  top: -10px;
  right: -10px;
  padding: 5px 10px;
  border-radius: 50%;
  background: Green;
  color: black;
}

.buttonRed {
    background-color: red;
    border-color: rgb(187, 35, 35);
}

.buttonRed:hover {
    background-color: rgb(187, 35, 35);
    border-color: rgb(187, 35, 35);
    cursor: pointer;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: block;
  width: 50px;
  height: 24px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  box-shadow: 0 1px 3px rgb(0 0 0 / 40%);
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .sliderBlue {
  background-color: #2196F3;
}

input:focus + .sliderBlue {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .sliderRed {
  background-color: rgb(243, 33, 33);
}

input:focus + .sliderRed {
  box-shadow: 0 0 1px rgb(243, 33, 33);
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.progressBar {
    height: 20px;
    margin-bottom: 15px;
    border-radius: 3px;
    box-shadow: none;
    background-color: rgba(0,0,0,0.1);
}

.progressInside {
    width: 35%;
    height: 100%;
    border-radius: 3px;
    font-size: 10px;
    line-height: 1.05em;
    background-color: #25476a;
    box-shadow: none;
    float: left;
    transition: width .6s ease;
}

.multiSelect {
  width: 300px;
}
.multiSelectFont {
  font-size: 12px !important;
}

.select2-container--default .select2-selection--multiple:before {
    content: ' ';
    display: block;
    position: absolute;
    border-color: #888 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0;
    right: 6px;
    margin-left: -4px;
    margin-top: -2px;top: 50%;
    width: 0;cursor: pointer
}

.select2-container--open .select2-selection--multiple:before {
    content: ' ';
    display: block;
    position: absolute;
    border-color: transparent transparent #888 transparent;
    border-width: 0 4px 5px 4px;
    height: 0;
    right: 6px;
    margin-left: -4px;
    margin-top: -2px;top: 50%;
    width: 0;cursor: pointer
}

@media (max-width: 981px) {
    table.tableauRes {
        border: none !important;
    }

    table.tableauRes td {
        font-size: inherit !important;
    }
    
    table.tableauRes thead {
        border: none !important;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }
    
    table.tableauRes tr {
        display: block;
        border: none !important;
        /*margin-bottom: .625em;*/
    }
    
    table.tableauRes td {
        border: none !important;
        border-bottom: 1px solid #ddd !important;
        display: table-row;
        /*display: block;*/
        /*font-size: .8em;*/
        height: 150px;
        text-align: right !important;
    }
    
    table.tableauRes td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }
    
    table.tableauRes td:last-child {
        border-bottom: 0;
    }

    table.tableauRes td:nth-child(odd) { background-color: #fff; }
    table.tableauRes td:nth-child(even) { background-color: #f8f8f8; }

    table.tableauRes tr:nth-child(even) { background-color: inherit !important; }

    .td-left {
        text-align: right;
    }

    .td-right {
        text-align: right;
    }

    .td-center {
        text-align: right;
    }

    table.tableauRes tr {
        border-bottom: 5px solid #888 !important; 
    }

}