/*overwrite*/
.cd-lien-action.fleche{
  padding-left: 0rem;
}
.cd-lien-action.fleche:before {
  background-image: none;
}
.cd-lien-action.fleche:after {
  content: '';
  position: absolute;
  top: 0.3em;
  width: 1.5rem;
  height: 1.5rem;
  background-image: url(/ressources/images/ic-fleche-vert-droite.svg);
  background-repeat: no-repeat;
  margin-left: 1em;
}
.margin-bottom-1{
  margin-bottom: 1rem!important;
}

  #contenu{
    background-color: #F8F8F8;
  }
/*  vitines */ 
#zone-centrale .cd-typo-temp .cd-style-h1{
  font-family: robotoblack;
}
  #contenu .vit{
    /*background-color: #434a50;*/
    background-color: #D4DCE1;
    background-image: url(/ressources/images/c00-vit-bdr-desjardins-europe-1600x500.jpg);
    background-repeat: no-repeat;

  }
.border8{
  border: solid 1px #cbcbcb;
  border-radius: 8px;
}
.padding-20{
  padding: 20px;
}
.radius-8{
    border: 2px;
    border-style: solid;
    border-color: white;
    border-radius: 8px;
}

.c-bg-blanc{
  background-color: #fff;
}
#zone-centrale .cd-typo-temp .cd-layout-horizontal.serv-en-bref p{
  margin-top: 1.5rem;
  margin-bottom: 0px!important;
}
.serv-en-bref{
  overflow-y: hidden;
}


/* icones */

.ic-systeme-bancaire:before{
    background-image: url('/ressources/images/c00-ic-systeme-bancaire.svg');
}
.ic-reseau-affaire:before{
    background-image: url('/ressources/images/c00-ic-reseau-affaire.svg');
}
.ic-recherche-financement:before{
    background-image: url('/ressources/images/c00-ic-recherche-financement.svg');
}
.ic-conseils-personnalises:before{
    background-image: url('/ressources/images/c00-ic-conseils-personnalises.svg');
}
.ic-installer-outre-atlantique:before{
    background-image: url('/ressources/images/c00-ci-installer-outre-atlantique.svg');
}


#contenu .vit .texte-vitrine img {
  width: auto !important;
}
html[style='font-size: 150%;'] #contenu .vit .texte-vitrine, html[style='font-size: 200%;'] #contenu .vit .texte-vitrine {
  background-color: #fff;
  }
@media (max-width: 320px) {
  #contenu .vit{
    background-position-x: 45%;
    background-position-y: 100%;
    background-size: 1900px;
  }
  .cd-top-vitrine > div{
      width: 100%;
      margin-bottom: 350px;
  }
}
@media  (min-width: 321px) and (max-width: 375px){
  #contenu .vit{
    background-position-x: 39%;
    background-position-y: 177%;
    background-size: 1571px;
  }
  #contenu .vit.bgypos-30{
    background-position-y: 30%;
  }

  .cd-top-vitrine > div{
      width: 100%;
      margin-bottom: 180px;
  }
  #contenu .cd-top-vitrine > div p.bouton > a.cd-bouton-action{
    width: calc(100% - 110px);
  }
}
@media (min-width: 376px) and (max-width: 425px) {


  #contenu .cd-top-vitrine > div p.bouton > a.cd-bouton-action{
    width: calc(100% - 90px);
  }
  #contenu .vit{
    background-position-x: 42%;
    background-position-y: 51%;
    background-size: 2139px;
  }
  .cd-top-vitrine > div{
      width: 100%;
      /*margin-bottom: 350px;*/
      margin-bottom: 250px;
  }
}
@media (max-width: 425px){
  .cd-panel, .cd-100.margin-bottom-normal.cd-image{
    margin-left: 10px;
    margin-right: 10px;
  }
  #zone-centrale .cd-typo-temp .cd-layout-horizontal.serv-en-bref div:last-child{
    margin-bottom: 0px!important;
  }
  #zone-centrale .cd-typo-temp .cd-layout-horizontal.serv-en-bref {
    margin-bottom: 0px!important;
  }
  .cd-100.border8.padding-20.margin-bottom-normal.c-bg-blanc.noPaddingBotResp{
    padding-bottom: 0px;
  }
}
@media (min-width: 426px) {
  .cd-top-vitrine > div{
    min-width: 0;
      width: 45%;
      width: calc(50% - 20px);
  }
  .marge-neg-top-80{
    margin-top: -80px;
  }
  #contenu .vit{
    background-repeat: no-repeat;
    background-size: auto;
    background-position: center top;
    background-position-y: 100%;
  }
}

@media (max-width: 576px){
   /*#contenu .vit {background-size: auto;*/} 
   #contenu .vit .texte-vitrine .w-50 {
       width: 100% !important;
       padding-bottom: 5px;
  }
}

@media (min-width: 769px) {
    .cd-top-vitrine  > div.c-bg-transparent,
    .cd-top-vitrine  > div.c-bg-transparent{
        background-color: transparent;
        padding-left: 0px;
        margin-left: -20px;
        min-height:450px
    }
}
/*
.cd-top-vitrine:not(.cd-vitrine) {
    min-height: 450px;
}
*/

/* Redefinition des styles pour les vitrine  */
#contenu .cd-top-vitrine {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin: 0 -10px 30px;
  padding: 20px;
  min-height: 375px;
  min-height: 478px;
  /*background-size: cover;*/
  background-repeat: no-repeat;
  -ms-flex-line-pack: start;
  align-content: flex-start;
  background-position: 50% 0%;
}

@media (min-width: 576px) {
  #contenu .cd-top-vitrine {
   margin: 0 0 30px;
  }
}



/*   Section Obtenir   */

#obtenir {
    border: solid 1px #cbcbcb;
    border-radius:8px;
} 

#obtenir div:last-child {
    padding-left: 20px ;
    padding-right: 20px ;
}
#obtenir div:first-child {
    height: 220px;
    height: 13.75rem;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-top-left-radius: 0px;
    background-position-y: 30%;
    background-size: cover;
} 
@media (max-width: 577px){
     #obtenir div:first-child {
      height: 220px;
      height: 13.75rem;
      border-top-right-radius: 8px;
      border-top-left-radius: 8px;
      border-bottom-right-radius: 0px;
  } 
    #obtenir div:last-child {
        padding-top: 20px;
    }    
}


@media (min-width: 577px){
    
    #obtenir {
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: space-between;
        justify-content: space-between;
    }   
    #obtenir > div {
        width : 50% ;
    }
    #obtenir div:first-child {
        order: 2;
        
    }     
    #obtenir div:last-child {
        padding-top: 20px ;
        order: 1;
    } 
    #obtenir div img {
        width: 100%;
        height: 100%;
    }     
}




/*  150 et 200 % */
html[style='font-size: 150%;'] #obtenir > div, 
html[style='font-size: 200%;'] #obtenir > div {
    width: 100%;
}

html[style='font-size: 150%;'] #obtenir div:first-child, 
html[style='font-size: 200%;'] #obtenir div:first-child {
    order: 1;
    background-size: cover;
    background-position-y: 35%;
    border-bottom-right-radius: 0px;
    border-top-left-radius: 8px;
}

html[style='font-size: 150%;'] #obtenir div:last-child, 
html[style='font-size: 200%;'] #obtenir div:last-child {
    order: 2;
}



html[style='font-size: 150%;'] #obtenir, 
html[style='font-size: 200%;'] #obtenir { 
    flex-direction: column;

}
