#recherche .main {
  display: flex;
  flex-wrap: wrap;
  gap:  0;
  width: 100%;  
  padding-top: var(--gap);
  padding-bottom: var(--gap);  
  position: relative;
}

#recherche .main .content{	
	flex-basis: 0;
	flex-grow: 999;
	min-width: 40%;	
	padding: var(--gap);	
	font-size: 1.3em;	
	min-height: 100vh;	
}

#recherche .main .sidebar{
	flex-grow: 1;
	flex-basis: 400px;
	align-self: start;
	/*position: sticky;*/
	top: 100px;	
	min-height: 350px;
	font-size: 1.6rem;	
}

#recherche .main .sidebar .box{
	margin: var(--gap);
   overflow: hidden;
   width: calc(100% - (2 * var(--gap)));	
}

#recherche .main .sidebar h3 {
  font-family: 'Oswald';
  font-weight: 400;
  font-size: 2rem;
  overflow: hidden;
  text-align: left;
  padding-left: calc(var(--gap) * 2 );
  width: 100%;
  margin-bottom: var(--gap);
}

#recherche .main .sidebar a.icon{
    line-height: 0;
    width: 50px;
    height: 40px;
    border: 1px solid lightgray;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: none;
    color: #000;
}
#recherche .main .sidebar a.icon:hover {
    border: 1px solid var(--color-primary);
    background-color: var(--color-primary);
    color: #FFF;
}
#recherche .main .sidebar h3:before,
#recherche .main .sidebar h3:after {
  background-color: lightgray;
  content: "";
  display: inline-block;
  height: 1px;
  position: relative;
  vertical-align: middle;
  width: 50%;
}

#recherche .main .sidebar h3:before {
  right: 0.5em;
  margin-left: -50%;
}

#recherche .main .sidebar h3:after {
  left: 0.5em;
  margin-right: -50%;
  width: 75%;
}
#recherche .main .sidebar h3:hover {
	cursor: pointer;
}

#recherche .main .sidebar .box .group{
	display: flex;
	flex-direction: row;
	justify-content: left;
    align-items: center;
    margin-bottom: 5px;
}
#recherche .main .sidebar .box input[type=text]{
	border:  1px solid lightgray;
	color: var(--color-p);
	border-radius: 0;
	height: 40px;
	transition: border-color 0.3s ease;
	flex-grow: 1;
	padding-left: var(--gap);
	padding-right: var(--gap);
	outline: none;
}

#recherche .main .sidebar .box .result p{
    margin: 0 2px 0 0;
    display: inline-block;
    padding: 5px;
    border: 1px solid lightgray;
}
#recherche .main .sidebar .box .result p:hover{
	background-color: lightgray;
	cursor: pointer;	
}
#recherche .main .sidebar .box .result p:hover span{
	text-decoration:line-through;
}
#recherche .main .sidebar .box .result p sup{
	color: red;
    padding-left: 5px;
    font-size: 10px;
    
}

#recherche .main .sidebar .box .box-inner.flex-row-search{
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 2%;	
}

#recherche .main .sidebar .box .box-inner.flex-row-search .group-checkbox{
	position: relative;
	margin: 0 0 10px 0;
}

#recherche .main .sidebar .box .box-inner.flex-row-search > div{
	flex: 48%;
}

#recherche .main .sidebar .box .box-inner.flex-row-search .group-checkbox span{
	margin-left: auto;
	width: 25px;
	height: 25px;
	cursor: pointer;
}
#recherche .main .sidebar .box .box-inner.flex-row-search .group-checkbox span:hover::before,
#recherche .main .sidebar .box .box-inner.flex-row-search .group-checkbox span:hover::after{
	background: var(--color-primary);
}
#recherche .main .sidebar .box .box-inner.flex-row-search .group-checkbox span::before{
	content: '';
	position: absolute;
	top:  10px;
	right: 9px;
	width: 12px;
	height: 2px;
	background: #555;
	z-index: 10;
	transform: rotate(40deg);
	transition: 0.25s;
}
#recherche .main .sidebar .box .box-inner.flex-row-search .group-checkbox span.active::before{
	right: 0px;
	color: var(--color-primary);
}
#recherche .main .sidebar .box .box-inner.flex-row-search .group-checkbox span::after{
	content: '';
	position: absolute;
	top:  10px;
	right: 0px;
	width: 12px;
	height: 2px;
	background: #555;
	z-index: 10;
	transform: rotate(-40deg);
	transition: 0.25s;
}
#recherche .main .sidebar .box .box-inner.flex-row-search .group-checkbox span.active::after{
	right: 9px;
}
#recherche .main .sidebar .box .box-inner.flex-row-search .liste{
	padding-left: calc(2 * var(--gap));
}

#recherche .main .content .tri{	
	display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: var(--gap);
}

#recherche .main .content .tri p{	
	margin: 0;
}

#recherche .main .content .vp{
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: var(--gap);
	margin-right: var(--gap);

}
#recherche .main .content .vsm{
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: var(--gap);
	margin-top: var(--gap);
	margin-right: var(--gap);
}
#recherche .main .content .vp h2,
#recherche .main .content .vsm h2{
	padding: 0 var(--gap);
	font-size: 3rem;	
}

#recherche [data-loader] .container{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

div[data-filter]{
  display: none;
  width: 100%;
  text-align: center;
}

/*LOADER*/


#recherche .main [data-loader]{
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: rgba(255, 255, 255, 0.5);
}


#recherche .main .svg-calLoader {
  width: 230px;
  height: 230px;
  transform-origin: 115px 115px;
  animation: 1.4s linear infinite loader-spin;
}

#recherche .main .cal-loader__plane {
  fill: #204a72;
}

#recherche .main .cal-loader__path {
  stroke: #204a72;
  animation: 1.4s ease-in-out infinite loader-path;
}

@keyframes loader-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes loader-path {
  0% {
    stroke-dasharray: 0, 580, 0, 0, 0, 0, 0, 0, 0;
  }
  50% {
    stroke-dasharray: 0, 450, 10, 30, 10, 30, 10, 30, 10;
  }
  100% {
    stroke-dasharray: 0, 580, 0, 0, 0, 0, 0, 0, 0;
  }
}
















.tetrominos {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-112px, -96px);
}

.tetromino {
  width: 96px;
  height: 112px;
  position: absolute;
  transition: all ease 0.3s;
  background: url('data:image/svg+xml;utf-8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 612 684"%3E%3Cpath fill="%23010101" d="M305.7 0L0 170.9v342.3L305.7 684 612 513.2V170.9L305.7 0z"/%3E%3Cpath fill="%23fff" d="M305.7 80.1l-233.6 131 233.6 131 234.2-131-234.2-131"/%3E%3C/svg%3E') no-repeat top center;
}

.box1 {
  -webkit-animation: tetromino1 1.5s ease-out infinite;
          animation: tetromino1 1.5s ease-out infinite;
}

.box2 {
  -webkit-animation: tetromino2 1.5s ease-out infinite;
          animation: tetromino2 1.5s ease-out infinite;
}

.box3 {
  -webkit-animation: tetromino3 1.5s ease-out infinite;
          animation: tetromino3 1.5s ease-out infinite;
  z-index: 2;
}

.box4 {
  -webkit-animation: tetromino4 1.5s ease-out infinite;
          animation: tetromino4 1.5s ease-out infinite;
}

@-webkit-keyframes tetromino1 {
  0%, 40% {
    /* compose logo */
    /* 1 on 3 */
    /* L-shape */
    transform: translate(0, 0);
  }
  50% {
    /* pre-box */
    transform: translate(48px, -27px);
  }
  60%, 100% {
    /* box */
    /* compose logo */
    transform: translate(96px, 0);
  }
}

@keyframes tetromino1 {
  0%, 40% {
    /* compose logo */
    /* 1 on 3 */
    /* L-shape */
    transform: translate(0, 0);
  }
  50% {
    /* pre-box */
    transform: translate(48px, -27px);
  }
  60%, 100% {
    /* box */
    /* compose logo */
    transform: translate(96px, 0);
  }
}
@-webkit-keyframes tetromino2 {
  0%, 20% {
    /* compose logo */
    /* 1 on 3 */
    transform: translate(96px, 0px);
  }
  40%, 100% {
    /* L-shape */
    /* box */
    /* compose logo */
    transform: translate(144px, 27px);
  }
}
@keyframes tetromino2 {
  0%, 20% {
    /* compose logo */
    /* 1 on 3 */
    transform: translate(96px, 0px);
  }
  40%, 100% {
    /* L-shape */
    /* box */
    /* compose logo */
    transform: translate(144px, 27px);
  }
}
@-webkit-keyframes tetromino3 {
  0% {
    /* compose logo */
    transform: translate(144px, 27px);
  }
  20%, 60% {
    /* 1 on 3 */
    /* L-shape */
    /* box */
    transform: translate(96px, 54px);
  }
  90%, 100% {
    /* compose logo */
    transform: translate(48px, 27px);
  }
}
@keyframes tetromino3 {
  0% {
    /* compose logo */
    transform: translate(144px, 27px);
  }
  20%, 60% {
    /* 1 on 3 */
    /* L-shape */
    /* box */
    transform: translate(96px, 54px);
  }
  90%, 100% {
    /* compose logo */
    transform: translate(48px, 27px);
  }
}
@-webkit-keyframes tetromino4 {
  0%, 60% {
    /* compose logo */
    /* 1 on 3 */
    /* L-shape */
    /* box */
    transform: translate(48px, 27px);
  }
  90%, 100% {
    /* compose logo */
    transform: translate(0, 0);
  }
}
@keyframes tetromino4 {
  0%, 60% {
    /* compose logo */
    /* 1 on 3 */
    /* L-shape */
    /* box */
    transform: translate(48px, 27px);
  }
  90%, 100% {
    /* compose logo */
    transform: translate(0, 0);
  }
}
@media (max-width: 1600px) {
  .grid-voyages.grid-4{
    grid-template-columns: repeat(3,1fr);
    margin: 0;
  }
}
@media (max-width: 1200px) {
  .grid-voyages.grid-4{
    grid-template-columns: repeat(2,1fr);
    margin: 0;
  }
}

@media (max-width: 1024px) {
  .grid-voyages.grid-4{
    grid-template-columns: repeat(1,1fr);
    margin: 0;
  }
}

@media (max-width: 768px) {
  #recherche .main .content .vp,
  #recherche .main .content .vsm{
    flex-direction: column;
        margin-right: 0;
  }

  div[data-filter]{
    display: block;
  }

}