.trombi_filter_bar {
    display: contents;
/*    z-index: 10000; */
}
.trombi_filter_bar * {
    z-index: inherit;
}
.trombi_filter_bar select {
    border: 1px solid #e0e0e0;
    width: auto;
    background: white !important;
    border-radius: 1em;
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    box-sizing: border-box !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    font-size: 1em !important;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position-x: 95% !important;
    background-position-y: center !important;
}

.trombi_filter_bar input[type="checkbox"] + label {
    color: rgb(0 15 176) !important;
    margin: 0 !important;
}
.trombi_filter_bar select:disabled {
    background: rgb(249, 249, 249) !important;
    border: 0 !important;
}

#trombi_filtre {
    width: 10%;
    text-align: left;
}
.trombi_option {
    -moz-appearance: unset !important;
    -ms-appearance: unset !important;
    appearance: unset !important;
}
.mantalo_trombi {
    background-color:rgba(255, 255, 255, 0.9);
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 0.75em 0 0.75em;
    padding: .5em 1em;
    border-radius: 0.5em !important;
    display: flex;
    align-items: center;
}

body.is-mobile .trombi_select {
    margin-bottom: 0.5em;
}

body.is-mobile #trombi_filtre {
    display: none;
}

body.is-mobile .mantalo_trombi {
/*    display: inline-grid; */
    margin-bottom: 1em;
}


/*
 * Flip-box (moniteurs + trombi)
 */
@media only screen and (max-width : 480px) {
	/* Smartphone view: 2 tile */
	.flip-box {
	   width: 50% !important;
	   padding-bottom: 50% !important;;
	}
 }
 
 @media only screen and (max-width : 1050px) and (min-width : 481px) {
	/* Small desktop / ipad view: 3 tiles */
	.flip-box {
	   width: 33% !important;;
	   padding-bottom: 33% !important;;
	}
 }
 @media only screen and (max-width : 3000px) and (min-width : 1051px) {
	/* Medium desktop: 5 tiles */
	.flip-box {
	   width: 20% !important;;
	   padding-bottom: 20% !important;;
	}
 }


 .flip-box {
	background-color: transparent;
	perspective: 1000px; /* Remove this if you don't want the 3D effect */
    padding: 1.5em;
    float: left;
    position: relative;
    border: 0;
    margin: 0;
  }
  
 .flip-box .titleBox {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: #000;
	background: rgba(0, 0, 0, 0.5);
	color: #FFF;
	padding: 5px;
	text-align: center;
	-webkit-transition: all 0.3s ease-out;
	-moz-transition: all 0.3s ease-out;
	-o-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
    font-size: large;
	position: absolute;
	font-weight: normal;
	border-radius: 0px 0px 0.7em 0.7em;
}

.flip-box-inner {
	position: relative;
	width: 100%;
	height: 100%;
	text-align: center;
	transition: transform 0.8s;
	transform-style: preserve-3d;

	display: flex;
    justify-content: center;
 }
 
 .flip-box-inner img {
	width: 100%;
	border-radius: 0.8em;
	vertical-align: bottom;
	box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
 }
 
  /* Do an horizontal flip when you move the mouse over the flip box container */
  .flip-box:hover .flip-box-inner {
	transform: rotateY(180deg);
  }
  
  /* Position the front and back side */
  .flip-box-front, .flip-box-back {
	position: absolute;
	-webkit-backface-visibility: hidden; /* Safari */
	backface-visibility: hidden;
  }
  
  /* Style the front side (fallback if image is missing) */
  .flip-box-front {
	color: black;
	display: table !important;
	height: 100% !important;

    img {
        width: 9em;
        height: 11em;
    }
    .no-picture {
        padding: 0.5em 0.5em 3em 0.5em;
        background: lightgrey;
    }
    .logo {
        position: absolute;
        top: 0.2em !important;
        font-size: 2em;
        filter: opacity(0.7);
    }
    .nouveau {
        right: 0.2em;
    }
    .encadrant {
        left: 0.2em;
    }
  }
  
 /*
  * Flip-box back side (trombi)
  */
  .flip-box-back {
	color: white;
	transform: rotateY(180deg);

    img {
        width: 9em;
        height: 11em;
        filter: brightness(0);
        -webkit-filter : brightness(20%)
    }

    p {
        position: absolute;
        bottom: 8px;
        left: 50%px;
    }
    .flip-box-icon {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        line-height: 2em;

       img {
            filter: invert(1);
            position: fixed;
            width: 70%;
            left: 15%;
            top: 15%;
            display: block;
            box-shadow: none;
            height: auto;
        }
    }
    .no-picture {
        padding: 0.5em 0.5em 3em 0.5em;
        background: lightgrey;
    }
    .groupe {
        bottom: 1.25em !important;
        position: absolute;
        width: 100%;
        left: 0% !important;
    }
  }

  .flip-box-text {
    font-size: 60%;
	position: absolute;
    top: 2em;
    left: 0;
    right: 0;
	line-height: 2em;
	display: grid;
}