
html {
    height: 100%;
}
body {
    height: 100%;
    width: 1024px;
    margin: auto;
}

h2 {
    width: 100%;
    display: block;
}

#mainform {
    width: 100%;
}

.text-center {
    text-align: center
}

/** Menu du haut **/
#menuhaut div {
    border-left: 1px solid black;
}
#menuhaut a {
    color: black;
    text-decoration: none;
}
#menuhaut a:hover {
    color: #a12935;
}

/** Barre de navigation **/
.nav-barre {
    background-color: #343a40 !important;
    color: rgba(255, 255, 255, 0.75);
    padding: 8px;
    border-radius: 4px;
    margin-top: 4px;
}
.nav-objet {
    font-size: 0.8rem;
    margin-right: 8px;
}
.nav-objet:hover {
    background-color: #a12935;
}
.nav-objet.active {
    background-color: #a12935;
}
.nav-item {
    font-size: 0.8rem;
}
.nav-lien {
    color: rgba(255, 255, 255, 0.75);
}
.nav-lien:hover {
    color: white;
    text-decoration: none;
}
.nav-lien.active {
    color: white;
}


/** Pages produits et résultat recherche **/

.lstProd {
    float: left;
    width: 230px;
    padding: 4px;
    margin: 8px;
    height: 250px;
    text-align: center;
    border-radius: 4px;
}
.lstProd:hover {
    border: 1px solid gray;
    box-shadow: 5px 10px 10px grey;
    padding-top: 3px;
}
.lstTitre {
    line-height: 26px;
    background-color: #eee;
    font-size: 1rem;
    border-radius: 4px;
}
.lstProd a {
    text-decoration: none;
    color: #212529;
}
.lstProdInt {
    height: 85%;
    display: inline-block;
    vertical-align: middle;
    background-color: red;
}
.lstProd img {
    max-width: 190px;
    max-height: 190px;
    vertical-align: middle;
    margin: auto;
}

/** Page références et caddie **/
#tabref {
    font-size:12px;
    margin-top: 16px;
    width: 100%;
}
#tabref tr:nth-child(odd){
  background-color:#f8f8f8;
}
#tabref tr th {
    padding-right: 8px;
    border-right: 1px solid white;
    padding-left: 4px;
}
#tabref tr:nth-child(1){
    background-color: black;
    color: white;
    background-image: linear-gradient(black, grey);
}
#tabref tr td {
    padding-right: 8px;
}
.votrep {
    text-align: right;
    color: #a12935;
    white-space: nowrap;
}
.txtar {
    text-align: right;
    white-space:nowrap;

}
.stockError {
    font-weight: 800;
    color: red;
}
.trFin {
    line-height: 2.5em;
    font-size: 1.2em;
    background-color: white;
}
#preview{
	position:absolute;
	border:1px solid #ccc;
	background:#333;
	padding:5px;
	display:none;
	color:#fff;
}

.txtarea {
    width: 90%;
    margin-bottom: 16px;
}

/** Page mes commandes **/
#tabcom {
    font-size:15px;
    margin-top: 16px;
    width: 100%;
}
#tabcom tr:nth-child(odd){
    background-color:#f8f8f8;
}
#tabcom tr th {
    padding-right: 8px;
    border-right: 1px solid white;
    padding-left: 4px;
}
#tabcom tr:nth-child(1){
    background-color: black;
    color: white;
    background-image: linear-gradient(black, grey);
}
#tabcom tr td {
    padding-right: 8px;
}
#tabcom tr td a{
    color: black;
}
#tabcom tr td:nth-child(3){
    text-align: right;
}
#tabcom tr td:nth-child(4){
    text-align: center;
}
#tabcom tr td:nth-child(5){
    text-align: center;
}
.remplisCaddie {
    cursor: pointer;
}
.btn-rouge {
    background-color: #a12935;
    color: white;
}
.btn-rouge:hover {
    background-color: #810915;
}

/** Profil **/
#tabprof {
    font-size:15px;
}

/** Barre de droite **/
#titrepanier {
    background-color: #a12935;
    background-image: linear-gradient(#a12935, #810915);
    color: white;
    font-weight: 800;
    text-align: center;
    margin-top:16px;
    border-radius: 4px;
    font-size: 0.8em;
    line-height: 28px;
    text-transform: uppercase;
}
#panier {
    font-size: 0.8em;
}

#panier table {
    width: 100%;
    margin-top: 8px;
}
#panier table tr:nth-child(1) {
    background-color: black;
    color: white;
}
#panier table tr th {
    padding: 4px;
}
#panier table tr th:nth-child(3) {
    text-align: right;
}
#panier table tr th:nth-child(4) {
    text-align: right;
}
#panier table tr td {
    padding: 4px;
}
#panier table tr td:nth-child(3) {
    text-align: right;
}
#panier table tr td:nth-child(4) {
    text-align: right;
}
#catalogue {
    background-color: #a12935;
    background-image: linear-gradient(#a12935, #810915);
    color: white;
    font-weight: 800;
    text-align: center;
    margin-top:16px;
    margin-bottom:16px;
    border-radius: 4px;
    font-size: 0.8em;
    line-height: 28px;
    text-transform: uppercase;
}
.container{
    padding: 10%;
    text-align: center;
}
#custom-search-input {
    margin:0;
    margin-top: 10px;
    padding: 0;
}
 
#custom-search-input .search-query {
    width:100%;
    padding-right: 3px;
    padding-left: 15px;
        /* IE7-8 doesn't have border-radius, so don't indent the padding */
    margin-bottom: 0;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
 
#custom-search-input button {
    border: 0;
    background: none;
    /** belows styles are working good */
    padding: 2px 5px;
    margin-top: 2px;
    position: absolute;
    right:0;
    /* IE7-8 doesn't have border-radius, so don't indent the padding */
    margin-bottom: 0;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    color:#a12935;
    cursor: unset;
    z-index: 2;
}
 
.search-query:focus{
    z-index: 0;   
}

/** Chemin (breadcrumb) **/
.chemin {
    list-style: none;
    display: flex;
    width: 100%;
    padding-left: 0px;
    padding-top: 8px;
}
.chemin-item {
    padding-right: 8px;
    font-size: 0.8em;
}
.chemin-item::after {
    content: '  > ';
}
.chemin-item.active::after {
    content: '';
}
.chemin-item a {
    color: #212529;
    text-decoration: underline;
}

/** Footer **/
.footer {
    background-color: #343a40 !important;
    color: white;
    padding: 8px;
    border-radius: 4px;
    margin-top: 24px;
    font-size: 0.8em;
}
.footer a {
    color: rgba(255, 255, 255, 0.75);
}

/** Pages statiques **/
.cgv {
    margin-top: 16px;
}
.contact {
    margin-top: 16px;
}
.merci {
    margin-top: 16px;
}

/** Prix exceptionnels **/
.destockage {
    display: inline-block;
    padding-right: 8px;
    color: red;
    font-weight: bold;
}

.promo {
    display: inline-block;
    padding-right: 8px;
    color: #00b050;
    font-weight: bold;
}

.destockageListe {
    display: inline-block;
    padding-left: 8px;
    color: red;
    font-weight: bold;
}

.promoListe {
    display: inline-block;
    padding-left: 8px;
    color: #00b050;
    font-weight: bold;
}

.nav-objetD {
    font-size: 0.8rem;
    margin-right: 8px;
}
.nav-objetD:hover {
    background-color: red;
}
.nav-objetD.active {
    background-color: red;
}

.nav-objetP {
    font-size: 0.8rem;
    margin-right: 8px;
}
.nav-objetP:hover {
    background-color: #00b050;
}
.nav-objetP.active {
    background-color: #00b050;
}
.texte-bandeau {
    background-color: #999da0;
    color: white;
    line-height: 32px;
    text-align:center;
    font-size: 20px;
}

.superclient {
    background-color: green;
    color: white;
    width: 100%;
    height: 32px;
    font-weight: bold;
}
.commerciaux {
    background-color: orange;
    color: white;
    width: 100%;
    height: 32px;
    font-weight: bold;
}