
/* --------------------------------

j'ai changé de #3090d2 à #2b5797

#2b5797
Primary style
#f9f9f9
-------------------------------- */
*, *::after, *::before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.selectedFilter {
 /* font-weight: bold;*/
  text-decoration:underline;
}

/* -------------------------------- 

Main Components 

-------------------------------- */
/*
#labelNeedHelp {
  color:#3b91d0;
 }
 */
 
.cd-gallery{
  padding-top:10px;
 
}

.cd-header {
  position: relative;
  height: 150px;
  background-color: #331d35;
  
}
.cd-header h1 {
  color: #f9f9f9;
  line-height: 150px;
  text-align: center;
 /* font-size: 2.4rem;
  font-weight: 300; */
}
@media only screen and (min-width: 1170px) {
  .cd-header {
    height: 180px;
  }
  .cd-header h1 {
    line-height: 180px;
  }
}

.cd-main-content {
  position: relative;
  min-height: 100vh;
}
.cd-main-content:after {
  content: "";
  display: table;
  clear: both;
}

 
.cd-main-content.is-fixed .cd-tab-filter-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

.cd-main-content.is-fixed .cd-filter {
  position: fixed;
  height: 100vh;
  overflow: hidden;
}
.cd-main-content.is-fixed .cd-filter form {
  height: 100vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.cd-main-content.is-fixed .cd-filter-trigger {
  position: fixed;
}

.cd-main-content.is-fixed .cd-filter-help {
  position: fixed;
}

/* -------------------------------- 

xtab-filter 

-------------------------------- */

.cd-tab-filter-wrapper {
  background-color: #FFFFFF;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
  z-index: 1;
  height:35px;
  border-radius:7px;
}
.cd-tab-filter-wrapper:after {
  content: "";
  display: table;
  clear: both;

}

.cd-tab-filter {
  /* tabbed navigation style on mobile - dropdown */
  position: relative; /* J'ai changer ca pour aligner à droite*/
/*  position: absolute; right: 60px; */
  height: 35px;
  width: 190px;/* 220 */
  margin: 0 auto;
  z-index: 1;
}

.cd-tab-filter::after {
  /* small arrow icon */
  content: '';
  position: absolute;
  
  right: -65px;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url("../img/cd-icon-arrow.svg") no-repeat center center;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
  pointer-events: none;
  
  margin-right:20px;

}
.cd-tab-filter ul {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #FFFFFF;
/*  box-shadow: inset 0 -2px 0 black;*/
}
.cd-tab-filter li {
  display: none;
}
.cd-tab-filter li:first-child {
  /* this way the placehodler is alway visible */
  display: block;
}
.cd-tab-filter a {
  display: block;
  /* set same size of the .cd-tab-filter */
  height: 35px;
  width: 190px; /* 220 */
  line-height: 35px;
  padding-left: 14px;  m
}
.cd-tab-filter a.selectedFilter {
/*  background: black;*/
 /* font-weight: bold;*/
  color:#2b5797;
}

.cd-tab-filter.is-open::after {
  /* small arrow rotation */
  -webkit-transform: translateY(-50%) rotate(-180deg);
  -moz-transform: translateY(-50%) rotate(-180deg);
  -ms-transform: translateY(-50%) rotate(-180deg);
  -o-transform: translateY(-50%) rotate(-180deg);
  transform: translateY(-50%) rotate(-180deg);
}
.cd-tab-filter.is-open ul {
  box-shadow: inset 0 -2px 0 black, 0 2px 10px rgba(0, 0, 0, 0.2);
}
.cd-tab-filter.is-open ul li {
  display: block;
  text-align: left;
}
.cd-tab-filter.is-open .placeholder a {
  /* reduces the opacity of the placeholder on mobile when the menu is open */
  opacity: .4;

}

/*Sur petit ecran aligné à droite */
@media only screen and (max-width: 1024px) {
  .cd-tab-filter ul {
    text-align: right;  /*Ici pour dire que c aligné à droite*/
  }
}

@media only screen and (min-width: 1025px) {
  .cd-tab-filter ul {
    text-align: center; /* Ici pour dire que c aligné à droite*/
  }
}


@media only screen and (min-width: 1024px) {
  .cd-tab-filter {
    /* tabbed navigation style on medium devices */
    width: auto;
    cursor: auto;
    
  }
  .cd-tab-filter::after {
    /* hide the arrow */
    display: none;
  }
  .cd-tab-filter ul {
    background: transparent;
    position: static;
    box-shadow: none;
   /* text-align: center;*/ /* Ici pour dire que c aligné à droite*/
  }
  .cd-tab-filter li {
    display: inline-block;
  }
  .cd-tab-filter li.placeholder {
    display: none !important;
  }
  .cd-tab-filter a {
    display: inline-block;
    padding: 0 1em;
    width: auto;
    color: #2b5797;
  }
  
  .no-touch .cd-tab-filter a:hover {
    color:#2B99FB;
  }
  .cd-tab-filter a.selectedFilter {
   background: transparent;
 /*  font-weight: bold;*/
  }
  .cd-tab-filter.is-open ul li {
    display: inline-block;
  }
  
  
}

@media only screen and (min-width: 1170px) {
  .cd-tab-filter {
    /* tabbed navigation on big devices */
    width: 100%;
    float: right;
    margin: 0;
    -webkit-transition: width 0.3s;
    -moz-transition: width 0.3s;
    transition: width 0.3s;
  }
  .cd-tab-filter.filter-is-visible {
    /* reduce width when filter is visible */
    width: 80%; 
  }
}

/* -------------------------------- 
 
 xgallery 
 
 -------------------------------- */
.cd-gallery {
  width: 100%;
}


@media only screen and (min-width: 1024px) {
  .cd-gallery {
   
    float: right;
    -webkit-transition: width 0.3s;
    -moz-transition: width 0.3s;
    transition: width 0.3s;
  }

  .cd-gallery.filter-is-visible {
    /* reduce width when filter is visible */
 /*   width: 80%;*/
  padding-left: 220px;
  }
}

/* -------------------------------- 

xfilter 

-------------------------------- */
.cd-filter {
  position: absolute;
  top: 0;
  left: -26px;
 
  width: 210px;
  height: 100%;
  background: #FFFFFF;

  box-shadow: 4px 4px 20px transparent;
  z-index: 2;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateX(-100%);
  -moz-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  -o-transform: translateX(-100%);
  transform: translateX(-100%);
  -webkit-transition: -webkit-transform 0.3s, box-shadow 0.3s;
  -moz-transition: -moz-transform 0.3s, box-shadow 0.3s;
  transition: transform 0.3s, box-shadow 0.3s;
  border-radius:7px;
}
.cd-filter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 35px;
  width: 100%;
  z-index: 2;
}
.cd-filter form {
  padding: 30px 20px;
}
.cd-filter .cd-close {
  position: absolute;
  top: 0;
  right: 0;
  height: 35px;
  line-height: 35px;
  width: 85px;
  color: #A3A3A3;
  text-align: center;
/* background: #366783;*/
  opacity: 0;
  -webkit-transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  transition: opacity 0.3s;
  z-index: 3;
}
.no-touch .cd-filter .cd-close:hover {
  background: #000000; 
}
.cd-filter.filter-is-visible {
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
  box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.2);
  margin-left:20px;
}
.cd-filter.filter-is-visible .cd-close {
  opacity: 1;
}
/*
@media only screen and (min-width: 1170px) {
  .cd-filter {
    width: 20%;
  }
  .cd-filter form {
    padding: 70px 10%;
  }
}
*/

.cd-filter-trigger {
  position: absolute;
  top: 0;
  left: 0;
  height: 35px;
  line-height: 35px;
  width: 60px;
  /* image replacement */
  overflow: hidden;
  text-indent: 100%;
  color: transparent;
  white-space: nowrap;
  background: transparent url("../img/cd-icon-filter.svg") no-repeat center center;
  z-index: 3;
  
}

.cd-filter-help {
  position: absolute;
  top: 0;
  right: 0;
  height: 35px;
  line-height: 35px;
  width: 60px;
  /* image replacement */
  overflow: hidden;
  text-indent: 100%;
  color: black;
  white-space: nowrap;
  background: transparent url("../images/help-32.png") no-repeat center center;
  z-index: 3;
}

.cd-filter-trigger.filter-is-visible {
  pointer-events: none;
}

.cd-filter-help.filter-is-visible {
  pointer-events: none;
}

@media only screen and (min-width: 1170px) {
  .cd-filter-trigger {
    width: auto;
    left: 10px;
    text-indent: 0;
    color: #9a9a9a;
    
    
    /* text-transform: uppercase;
   font-size: 1.3rem;
    font-weight: 700;*/
    padding-left: 24px;
    background-position: left center;
    -webkit-transition: color 0.3s;
    -moz-transition: color 0.3s;
    transition: color 0.3s;
  }
  
  
  .no-touch .cd-filter-trigger:hover {
    color: black;
  }
  .cd-filter-trigger.filter-is-visible, .cd-filter-trigger.filter-is-visible:hover {
    color: #f9f9f9;
  }
  
}

@media only screen and (min-width: 1080px) {
  
  .cd-filter-help {
    width: auto;
    right: 10px;
    text-indent: 0;
    color: #9a9a9a;
    padding-left: 24px;
    background-position: right center;
    -webkit-transition: color 0.3s;
    -moz-transition: color 0.3s;
    transition: color 0.3s;
     background: transparent url("") no-repeat center center;
  }
  
  .no-touch .cd-filter-help:hover {
    color: black;
  }
  .cd-filter-help.filter-is-visible, .cd-filter-help.filter-is-visible:hover {
    color: #f9f9f9;
  }
}

/* -------------------------------- 

xcustom form elements 

-------------------------------- */
.cd-filter-block {
  margin-bottom: 0;
}
.cd-filter-block h5 {
  /* filter block title */
  position: relative;
  margin-bottom: .2em;
  padding: 5px 0 5px 20px;
  color: #9a9a9a;
/*   text-transform: uppercase;
 font-weight: 700;*/
  font-size: 12px; 
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
}
.no-touch .cd-filter-block h5:hover {
  color: black;
}
.cd-filter-block h5::before {
  /* arrow */
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 16px;
  height: 16px;
  background: url("../img/cd-icon-arrow.svg") no-repeat center center;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
}
.cd-filter-block h5.closed::before {
  -webkit-transform: translateY(-50%) rotate(-90deg);
  -moz-transform: translateY(-50%) rotate(-90deg);
  -ms-transform: translateY(-50%) rotate(-90deg);
  -o-transform: translateY(-50%) rotate(-90deg);
  transform: translateY(-50%) rotate(-90deg);
}
.cd-filter-block input, .cd-filter-block select,
.cd-filter-block .radio-label::before,
.cd-filter-block .checkbox-label::before {
  /* shared style for input elements */
 /* font-family: "Open Sans", sans-serif;*/
  border-radius: 0;
 
 /* background-color: #FFFFFF;
  border: 1.5px solid #2b5797;
  */
    border: 0;
    outline: 0;
   border-bottom: 1px solid ;
   
  /* border: 2px solid #7cab4f;*/
}


.cd-filter-block input[type='search'],
.cd-filter-block input[type='text'],
.cd-filter-block select {
  width: 100%;

  padding: .4em;  /* Pour changer l'epaisseur*/
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  box-shadow: none;
}
.cd-filter-block input[type='search']:focus,
.cd-filter-block input[type='text']:focus,
.cd-filter-block select:focus {
  outline: none;
  background-color: #f9f9f9;
  border-color: black;
}
.cd-filter-block input[type='search'] {
  /* custom style for the search element */
  border-color: transparent;
  background-color: #e6e6e6;
  /* prevent jump - ios devices */
 /* font-size: 1.6rem !important; */
}
.cd-filter-block input[type='search']::-webkit-search-cancel-button {
  display: none;
}
.cd-filter-block .cd-select {
  /* select element wrapper */
  position: relative;

}


.cd-filter-block .cd-select::after {
  /* switcher arrow for select element */
  content: '';
  position: absolute;
  z-index: 1;
  right: 14px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  display: block;

  width: 16px;
  height: 16px;
 /* background: url("../img/cd-icon-arrow.svg") no-repeat center center;*/
  pointer-events: none;
  
  
}

.cd-filter-block .cd-mini-select::after {
  content: '';
  position: absolute;
  z-index: 1;
  right: 14px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  display: block;
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.cd-filter-block select {
  cursor: pointer;

 /* font-size: 1.4rem; */
}
.cd-filter-block select::-ms-expand {
  display: none;
}
.cd-filter-block .list li {
  position: relative;
  margin-bottom: .8em;
}
.cd-filter-block .list li:last-of-type {
  margin-bottom: 0;
}
.cd-filter-block input[type=radio],
.cd-filter-block input[type=checkbox] {
  /* hide original check and radio buttons */
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  z-index: 2;

}

.cd-filter-block .label {
  font-size: 0.9rem;
  color: #2b5797;/* #9a9a9a;*/
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.cd-filter-block a {
  font-size: 0.9rem;
  cursor: pointer;
  color:#2b5797;
}

.cd-filter-block .checkbox-label,
.cd-filter-block .radio-label {
  padding-left: 7px;
  font-size: 0.8rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.cd-filter-block .checkbox-label::before, .cd-filter-block .checkbox-label::after,
.cd-filter-block .radio-label::before,
.cd-filter-block .radio-label::after {
  /* custom radio and check boxes */
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
.cd-filter-block .checkbox-label::before,
.cd-filter-block .radio-label::before {
  width: 16px;
  height: 16px;
  left: 0;
}
.cd-filter-block .checkbox-label::after,
.cd-filter-block .radio-label::after {
  /* check mark - hidden */
  display: none;
}

.cd-filter-block .checkbox-label::after {
  /* check mark style for check boxes */
  width: 16px;
  height: 16px;
  background: url("../img/cd-icon-check.svg") no-repeat center center;
}
.cd-filter-block .radio-label::before,
.cd-filter-block .radio-label::after {
 /* border-radius: 50%; Eviter le truc noir à gauche moche*/
}
.cd-filter-block .radio-label::after {
  /* check mark style for radio buttons */
  width: 6px;
  height: 6px;
  background-color: #f9f9f9;
  left: 5px;
}
.cd-filter-block input[type=radio]:checked + label::before,
.cd-filter-block input[type=checkbox]:checked + label::before {
  border-color: #2b5797; /* Couleur des checkbox */
  background-color: #2b5797;
}
.cd-filter-block input[type=radio]:checked + label::after,
.cd-filter-block input[type=checkbox]:checked + label::after {
  display: block;
}

@-moz-document url-prefix() {
  /* hide custom arrow on Firefox - select element */
  .cd-filter-block .cd-select::after {
    display: none;
  }
}


 .rightBar {
  position: fixed;
  top: 0;
  height: 100%;
  width: 260px;

  padding-top: 50px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  z-index: 3;
}



.rightBar {
display:none;
  right: -280px;
  background: #FFF;
  -webkit-transition: right 0.3s;
  -moz-transition: right 0.3s;
  transition: right 0.3s;
}


.rightBar.speed-in {
  right: 0;
}
.rightBar > * {
  padding: 0 1em;
}



  .show-menu {
    /* tabbed navigation style on medium devices */
    width: auto;
    cursor: auto;
  }
  .show-menu::after {
    /* hide the arrow */
    display: none;
  }
  .show-menu ul {
    background: transparent;
    position: static;
    box-shadow: none;
    
   /* text-align: center;*/ /* Ici pour dire que c aligné à droite*/
  }
  
  
  .show-menu li {
    display: inline-block;
  }
  .show-menu li.placeholder {
    display: none !important;
  }
  .show-menu a {
    display: inline-block;
    padding: 0 1em;
    width: auto;
    color: #2b5797;
  }
