/* ##################################################################################### */
/* ################################# 360D REFONTE 2018 ################################# */
/* ##################################################################################### */

/** PLEINE LARGEUR **/
#centre {
  width: 100%
}

#page.mobile:not(.app):not(.pleine-page):not(.full) #centre {
  max-width: 100% !important
}

#page.mobile:not(.app):not(.pleine-page):not(.full) #zone-entete-de-page #entete {
  max-width: 100% !important
}

#page.mobile:not(.app):not(.pleine-page):not(.full) #zone-centrale #contenu {
  max-width: 100%
}

#ariane .breadcrumb>li sup {
  top: -0.65em;
  font-size: .7rem;
}

#contenu h1,
#contenu h1.titre {
  padding-bottom: 10px;
  background: url(/ressources/images/a00-filet-titre.png) no-repeat left bottom;
  background-size: contain;
}

@media (min-width: 768px) {
  #centre {
    width: 1024px
  }

  #contenu #menus {
    display: none
  }

  #contenu #corps {
    width: 100%
  }
}

/* Typo rattrapzy */
#contenu ul,
#contenu p {
  font-size: 1rem;
}

#contenu p {
  margin-top: 0.8rem;
  margin-bottom: 0.8rem;
  line-height: 1.5rem;
}

.cd-petit {
  line-height: 1.2 !important;
}


/* Pour tout les éléments qui sont en retrait par rapport au 1024px */
@media (min-width: 768px) {
  .cd-retrait {
    width: calc(100% - 40px);
    margin-left: 20px;
  }
}

/* VITRINE */
@media (max-width: 768px) {
  .cd-vitrine.cd-bloc-info {
    background-position-y: -120px !important;
    background-color: black
  }

  .cd-bloc-info.cd-vitrine:after {
    color: black;
    top: 460px;
    height: 28px !important;
  }
}

/* LOGO CAISSE */
.cd-logo-caisse {
  margin-bottom: 1.125rem;
}

/* Titre page succursale */
.intro {
  border-bottom: solid 1px #cbcccc;
  padding-bottom: 30px;
  margin-bottom: 40px;
}

.intro .cd-logo-caisse {
  margin-top: 0.5rem
}

@media (max-width: 1024px) {
  .intro .cd-logo-caisse {
    margin-top: 1rem
  }
}

.intro .titre {
  background: none !important;
  padding-bottom: 0 !important
}

/* CARROUSEL ÉQUIPE */
.cd-carousel .slick-slide {
  border: solid 1px #cbcccc;
}


#page.microsites #contenu .cd-carousel .slick-slide .vignette img {
  width: 100% !important;
}

.cd-carousel .slick-slide .texte {
  padding: 0 15px;
}

@media (min-width: 768px) {
  .cd-carousel .slick-slide .vignette {
    width: 32%;
    float: left;
  }

  .cd-carousel .slick-slide .vignette img {
    margin-bottom: 0;
  }

  .cd-carousel .slick-slide .texte {
    float: right;
    width: calc(68% - 40px);
    margin-right: 20px;
    padding: 0;
  }

  html[style="font-size: 200%;"] .cd-carousel .slick-slide .vignette,
  html[style="font-size: 150%;"] .cd-carousel .slick-slide .vignette,
  html[style="font-size: 200%;"] .cd-carousel .slick-slide .texte,
  html[style="font-size: 150%;"] .cd-carousel .slick-slide .texte {
    width: 100%;
    float: none;
    margin-right: 0;
  }
}

.cd-carousel .slick-slide .nom {
  margin-bottom: 0 !important;
  font-size: 1.25rem
}

.cd-carousel .slick-slide .nom~*:not(.desc) {
  margin: 0 !important
}

#contenu.cd-typo-temp .cd-carousel .desc {
  line-height: 1.2;
}

/* CD-TABLEAUX */
#contenu table.cd-tableau-donnees tbody {
  border-top: 4px solid #18a885;
}

#contenu table.cd-tableau-donnees thead tr {
  border-bottom: none;
}

table.cd-tableau-donnees caption h2 {
  margin: 0 !important;
}



/* HEURE OUVERTURE */
@media (max-width: 767px) {
  .cd-2col.tiers>*:last-child {
    margin-top: 1rem;
  }
}

@media (min-width: 768px) {
  .cd-2col.tiers {
    display: flex;
  }

  .cd-2col.tiers>* {
    flex: 1 0 auto;
  }

  .cd-2col.tiers>*:first-child {
    width: 36%
  }

  .cd-2col.tiers>*:last-child {
    width: calc(64% - 64px);
    margin-left: 64px
  }

  .cd-2col.tiers .placeholder-titre {
    padding-top: 2.78rem
      /* font-size du titre du tableau 1.53rem + margin-bottom du caption 1.25rem */
  }

  html[style="font-size: 200%;"] .cd-2col.tiers,
  html[style="font-size: 150%;"] .cd-2col.tiers {
    display: block
  }

  html[style="font-size: 200%;"] .cd-2col.tiers>*,
  html[style="font-size: 150%;"] .cd-2col.tiers>* {
    width: 100%;
    margin-left: 0;
  }

  html[style="font-size: 200%;"] .cd-2col.tiers .placeholder-titre,
  html[style="font-size: 200%;"] .cd-2col.tiers .placeholder-titre {
    padding-top: 0;
  }
}

/* LOCALISATION */
.localisation {
  display: block;
  position: relative;
  border: solid 1px #cbcccc;
  padding-top: 240px;
  margin-bottom: 2rem !important;
  background-position: center center;
  width: 100%;
}

.localisation .cd-lien-action {
  display: inline-block;
  position: absolute !important;
  right: 0;
  margin-top: .8rem;
  margin-bottom: .8rem;
}

/* CD-DEMI */
.cd-demi {
  margin: 0 -10px;
}

.cd-demi>* {
  margin: 0 10px;
}

@media (min-width: 768px) {
  .cd-demi>* {
    flex-basis: calc(50% - 20px) !important;
  }

  html[style="font-size: 200%;"] .cd-demi>*,
  html[style="font-size: 150%;"] .cd-demi>* {
    flex-basis: 100% !important
  }
}

/* LISTE DE LIENS AVEC CD-DEMI */

/* Lecture de haut en bas */
.cd-liste-liens.cd-demi {
  display: block;
}

@media (min-width: 768px) {
  .cd-liste-liens.cd-demi {
    column-count: 2;
    column-gap: 30px;
  }

  .cd-liste-liens.cd-demi>* {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
  }

  html[style="font-size: 200%;"] .cd-liste-liens.cd-demi,
  html[style="font-size: 150%;"] .cd-liste-liens.cd-demi {
    column-count: 1;
  }
}

/* CONTACTEZ UN CHARGÉ DE CLIENTÈLE */
.cd-bloc-info.contact-client-360d {
  background-image: url(/ressources/images/f05-bloc-charge-clientele-360d.jpg);
  background-color: #aaada6;
  background-position-y: 0;
  margin-top: 1rem;
}

@media (max-width: 1024px) {
  .cd-bloc-info {
    margin-left: -10px;
    margin-right: -10px;
  }
}

@media (min-width: 468px) and (max-width: 767px) {
  .cd-bloc-info>div:last-child {
    margin-top: 180px !important
  }
}

@media (max-width: 767px) {
  .cd-bloc-info.contact-client-360d {
    background-image: url(/ressources/images/f05-bloc-mob-charge-clientele-360d.jpg);
    background-position: center top;
    background-size: 150%
  }

  .cd-bloc-info>div:last-child {
    margin-top: 100px
  }
}


/* PARLEZ-NOUS DE VOS PROJET */
/* mod visuel tuiles */
.hub-projet .texte {
  line-height: 1.2 !important;
}

.hub-projet .cd-tuiles.nav {
  border: solid 1px #595959;
  margin-top: 1rem;
}

#zone-centrale .hub-projet .cd-tuiles.nav>* {
  margin-top: 0;
}

#zone-centrale .hub-projet .cd-tuiles.nav>*:after {
  content: '';
  display: block;
  position: absolute;
  top: 100%;
  left: 10px;
  width: calc(100% - 20px);
  height: 1px;
  background-color: #cbcccc;
}

#zone-centrale .hub-projet .cd-tuiles.nav>*:last-child:after {
  display: none;
}

.hub-projet .cd-tuiles.nav.cd-icone>*:not([class="cd-no-icone"]) {
  padding-bottom: 1.25rem;
  border: none;
}




@media (min-width: 768px) {
  .hub-projet .cd-tuiles.nav {
    margin-top: .94rem
  }

  #zone-centrale .hub-projet .cd-tuiles.nav>* {
    margin-top: 0;
    padding-top: calc(2.5rem + 10px)
  }

  #zone-centrale .hub-projet .cd-tuiles.nav>*:after {
    display: none
  }

  .hub-projet .cd-tuiles.nav.cd-icone *[class*=ic-]:not([class*=-ic]):before {
    top: 0
  }

  .hub-projet .cd-tuiles.nav>*>* {
    border: none;
    padding-bottom: 1rem
  }

  .hub-projet .cd-tuiles.nav {
    border: none
  }

  #zone-centrale .hub-projet .cd-tuiles.nav>*:after {
    display: none
  }
}


/* FAISON CONNAISSANCES */

div[class^='region'] {
  display: none;
}

form#regions-quebec {
  margin: 0px;
}

form#regions-quebec fieldset {
  border: 0px;
  padding-left: 15px;
  padding-top: 18px;
  padding-bottom: 18px;
}

form#regions-quebec fieldset label {
  width: 100%;
  height: 24px;
  font-family: Arial;
  font-size: 1.125rem;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #000000;
}

form#regions-quebec fieldset select#choix-region {
  width: 100%;
  height: 44px;
  border: solid 1px #cbcccc;
  font-family: Arial;
  font-size: 1rem;
  color: #595959;
  padding-left: 12px;
  margin-top: 16px;
}

form#regions-quebec fieldset input[type="button"] {
  margin-top: 20px;
}


div#regions {
  padding-top: 38px;
  border-bottom: 1px solid #cbcccc;
  margin-bottom: 28px;
}

#zone-centrale #contenu div#regions div[id^="region"] h3.titre-region {
  margin-bottom: 40px;
  margin-top: 0px;
  font-size: 1.375rem;
}

#zone-centrale #contenu div#regions div.region div.etablissements {
  padding-top: 29px;
  margin-bottom: 40px;
}

#zone-centrale #contenu div#regions div.region div.etablissements h4 {
  font-size: 1rem;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  color: #383838;
}

#zone-centrale #contenu div#regions div.region div.etablissements ul.multi-colonnes {
  padding-left: 1em;
  -moz-column-count: 1;
  -moz-column-gap: 0em;
  -webkit-column-count: 1;
  -webkit-column-gap: 0em;
}

#zone-centrale #contenu div.directeur,
#zone-centrale #contenu div.chef-services {
  margin-bottom: 40px;
}

#zone-centrale #contenu div.directeur h3,
#zone-centrale #contenu div.chef-services h3 {
  font-family: Arial;
  font-size: 1.125rem;
  color: #000000;
}

#zone-centrale #contenu div#regions div.region div.representant div.vignette img {
  margin-bottom: 0;
  width: 100% !important;
  height: auto;
}

#zone-centrale #contenu div.directeur div.vignette img,
#zone-centrale #contenu div.chef-services div.vignette img {
  margin-bottom: 0;
  width: 100% !important;
  height: auto;
}

@media (min-width: 768px) {
  form#regions-quebec fieldset label {
    width: 205px;
    height: 24px;
    font-family: Arial;
    font-size: 1.125rem;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #000000;
  }

  form#regions-quebec fieldset select#choix-region {
    width: 447px;
    height: 44px;
    border: solid 1px #cbcccc;
    font-family: Arial;
    font-size: 1rem;
    color: #595959;
    padding-left: 12px;
    margin-top: 16px;
  }

  form#regions-quebec fieldset input[type="button"] {
    margin-top: 0px;
  }

  #zone-centrale #contenu div#regions div.region div.representant div.vignette {
    width: 32%;
    float: left;
  }

  #zone-centrale #contenu div#regions div.region div.representant div.vignette img {
    margin-bottom: 0;
    width: 286px;
    height: auto;
  }

  #zone-centrale #contenu div#regions div.region div.representant div.texte {
    float: right;
    width: calc(68% - 40px);
    margin-right: 20px;
    padding: 0;
  }

  #zone-centrale #contenu div#regions div.region div.representant div.texte p.nom,
  #zone-centrale #contenu div.directeur div.contact p.nom,
  #zone-centrale #contenu div.directeur div.contact p.poste,
  #zone-centrale #contenu div.chef-services div.contact p.nom,
  #zone-centrale #contenu div.chef-services div.contact p.position,
  #zone-centrale #contenu div.chef-services div.contact p.region,
  #zone-centrale #contenu div.chef-services div.contact p.poste {
    margin: 0px;
  }

  #zone-centrale #contenu div#regions div.region div.representant div.texte p.courriel,
  #zone-centrale #contenu div.directeur div.contact p.courriel,
  #zone-centrale #contenu div.chef-services div.contact p.courriel {
    margin-top: 0px;
  }

  #zone-centrale #contenu div#regions div.region div.etablissements ul.multi-colonnes {
    padding-left: 2em;
    -moz-column-count: 2;
    -moz-column-gap: 1em;
    -webkit-column-count: 2;
    -webkit-column-gap: 1em;
  }

  #zone-centrale #contenu div#regions div.region div.etablissements ul.multi-colonnes>li {
    margin-bottom: 0.5rem;
    margin-top: 0em;
  }

  #zone-centrale #contenu div.directeur div.vignette,
  #zone-centrale #contenu div.chef-services div.vignette {
    width: 32%;
  }

  #zone-centrale #contenu div.directeur div.vignette img,
  #zone-centrale #contenu div.chef-services div.vignette img {
    margin-bottom: 0;
    width: 286px;
    height: auto;
  }

  #zone-centrale #contenu div.directeur div.contact,
  #zone-centrale #contenu div.chef-services div.contact {
    width: calc(68% - 40px);
    margin-right: 20px;
    padding: 0;
  }

}

@media (min-width: 768px) and (max-width: 875px) {
  #zone-centrale #contenu div#regions div.region div.representant div.texte {
    width: calc(68% - 85px);
  }

  #zone-centrale #contenu div.directeur div.contact,
  #zone-centrale #contenu div.chef-services div.contact {
    width: calc(68% - 85px);
  }
}
