/* ----------------------- */
/* Guide ESG - Fiches CREDO - 2026 */
/* ----------------------- */

/* ---- GÉNÉRAL ----- */

.aqua {
  color: #30bd73 !important;
}

.aquadark {
  color: #48390e;
}

.aqua {
  color: #30bd73;
}

.bleu {
  color: #bbe4ff;
}

.white {
  color: #ffffff;
}

.bg-aquadark {
    background: #b9f7aa !important;
}

h3 {
    color: #48390E !important;
}

h4 {
    color: #48390E !important;
}

.box-header {
  position: relative;
  width: 100%;
  padding: 60px 30px;
  margin-bottom: 5px !important;
  background-color: #bbe4ff;
  background-image: url(https://cpaquebec.ca/-/media/3487F1E864A1412F87BA247F47A90728.ashx);
  background-repeat: no-repeat;
  background-position: left 0 top 6%;
  background-size: 1027px;
}

/*.disp-flex-row {
  display: flex;
  align-items: start;
  flex-direction: column;
  flex-wrap: nowrap;
}*/

.disp-flex-row {
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.disp-flex-row  p{
 margin-left:20px;
}

.m-1 {
  margin: 1.5rem 0 0 0;
} 

.m-0 {
  margin: 0;
}

sup {
  font-size:9px;
}

.p-strong {
  margin-bottom:0px!important;
  }

.box-gris {
    padding: 20px;
    background: #bbe4ff;
    border-radius: 20px;
    position: relative;
  }


.bulle {
    width: 100%;
    padding: 20px;
    border: 1px solid #48390e;
    background-color: #fff;
    border-radius: 20px;
    position: relative;
    margin-bottom: 55px;
    z-index: 9;
    }

.box-message-rounded {
    border-radius: 15px;
    padding: 20px;
    border: 1px solid #30bd73;
   }
.accordeon-rounded {
    border-radius: 15px;
    background-color: #FFFFFF;
   }
   details.accordeon-rounded{
    padding-top: 5px;
    padding-right: 25px;
    padding-left: 20px;
    }

  .accordeon-rounded h5{
    margin:0;
    }

  .border-bottom {
    border-bottom: 1px solid #48390E;
    }
/* -------- Header ----------- */

h2.h2bloc {
  font-size: 4em;
  line-height: 0.8em;
  margin: 0px;
  text-align: end;
  position: relative;
  z-index: 2;
  margin: 0px;
}

h2.h2bloc span {
  font-size: 0.8em;
}

h2.h2section {
  font-size: 4em;
  line-height: 0.8em;
  margin: 0px;
  margin-bottom: 10px;
  margin-top: 25px !important;
  position: relative;
  z-index: 2;
  color:#30bd73;
}

h2.h2section span {
  font-size: 0.8em;
  margin: 0px;
  line-height: 0.8em;
  color:#48390e;
}


/* -------- Grid ----------- */
.grid-container-1col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
}

.grid-container-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(auto-fill, 1fr);
  gap: 1rem 5px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px;
}

.grid-container-2col-1t-2t {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5px;
}

.grid-container-2col-2t-1t {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
}

.grid-container-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 1200px;
  margin: 1.5rem 0;
  padding: 0px;
  margin-bottom: 10px;
  align-items: start;
}

.grid-container-3col-vsp {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  padding: 0;
  align-items: start;
  align-content: space-evenly;
  align-content:stretch

}

.grid-container-2col-vsp {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  padding: 0;
  align-items: start;
  align-content: space-evenly;
}

.grid-container-ressources {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0px 5px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px;
}

.grid-item-ressources {
  padding: 20px;
}

.grid-item.rowspan {
  grid-row-end: span 2;
}

.grid-item.colspan {
  grid-column-end: span 2;
}

.grid-item.colspan5 {
  grid-column-end: span 5;
}

.grid-item {
  box-shadow: none !important;
  margin: 0 10px 10px 0;
  padding: 0;
}

.ges.grid-item {
    padding: 15px 0 10px;
    border-bottom: 1px solid #48390e;
    margin: 0;
}

.box-inside img {
  max-width: 280px !important;
  position: absolute;
  margin-top: -9rem;
}

.grid-item .box-inside {
    background-color: rgba(173, 214, 213, 20%);
    border-radius: 15px;
    padding: 0 1.5rem !important;
}
/* -------- SECTIONS --------- */

section {
  padding: 0;
  margin:0;
}

/* --- Intro de section 1 --- 

.intro-2 img {
  min-width: 215px;
  position: absolute;
  margin-top: -10rem;
  margin-left: 6rem ;
}
.intro-2 img {
  min-width: 215px;
    position: absolute;
    margin-top: -10rem;
    right: 10px;
    z-index: 2;
}*/

.intro-2 img {
  min-width: 215px;
  margin-left: 2rem;
  margin-top: 2rem;
  right: 10px;
  z-index: 2;
}

/* --- VSP-1 - Trois paliers de gouvernement --- */

.vsp-1  {
  margin-bottom:0px!important;
  margin-top:45px;
  }
  

.vsp-1 .box-inside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #EFF7F7;
  /*border: #45A6B2 1px solid;*/
  border-radius: 15px;
  min-height: 75px;
  padding: 0 1rem !important;
  width: 100%;
  margin-bottom: 25px !important;
  position: relative;
}

.vsp-1 .box-inside h2.section {
  font-family: "Gotham Cond A", "Gotham Cond B";
  font-size: 24px;
  line-height: normal;
  text-transform: none;
  font-weight: 400;
  margin-bottom: 0 !important;
  display: inline-block;
  list-style-image: none;
}

.vsp-1 .img-titre {
  display: block;
  float: right;
  overflow: visible;
  max-width: 145px;
  margin: 0;
  z-index: 2;
}

.vsp-1 .grid-item div {
  line-height: 40px;
  vertical-align: middle;
  }

.vsp-1 .grid-item p {
  background-color: #30bd73;
  color:#48390E;
  padding:0.6rem;
  height: 40px;
  margin: auto;
  text-align: left;
  font-size: 12px;
  line-height: 14px;
    display: flex;
      align-items: flex-start;
      flex-direction: column;
      justify-content: center;

}

.vsp-1 .grid-item p span {
  font-size: 10px;
}

/*--- Accordéon ---*/

details summary {
  width: 100%;
  padding: 1rem 0;
  border-top: 1px solid #48390E;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between !important;
  font-size: 3rem;
  font-weight: normal;
  list-style: none;
  outline: 0;
}

details summary .box-inside{
  width: 100%;
  padding: 1rem 0;
  border-top: 1px solid #48390e;
  position: relative;
  background-color: #bbe4ff;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between !important;
  font-size: 3rem;
  font-weight: normal;
  list-style: none;
  outline: 0;
}
#first {
  border-top: 0px;
}

.first {
  border-top: 0px;
}

details summary:after {
  content: "+";
  color: #48390e;
  position: absolute;
  font-size: 3rem;
  line-height: 0;
  margin-top: 0.75rem;
  right: -6px;
  font-weight: lighter;
  margin-top: 0rem;
  transform-origin: center;
  transition: 200ms linear;
}

details summary:before {
    content: "-";
    display: none;
  }

details[open] summary:after {
  transform: rotate(45deg);
  font-size: 3rem;
}

details[open] summary:before {
    display: none;
  }
details summary::-webkit-details-marker {
  display: none;
}

details h4 {
 padding: 15px 30px 0px 0px;
}
details p {
padding: 0px 20px 10px 0px;
}
/*--- VPS-1 - Encadré ---*/


.vsp-1 .box-message {
  border-top: 1px solid #30bd73;
  border-bottom: 1px solid #30bd73;
  padding: 0.8rem;
  display: inline-flex;
}

.vsp-1 .box-message img {
  float:left;
  margin-right: 0.8rem;
  width: 112px;
  height: 105px;
}

.vsp-1 .box-message p {
  color: #48390E;
  text-align: left;
  margin-top: auto;
  margin-bottom: auto;
  padding: 10px;
  margin-right: 0;
}

/* ----------------------- */
/* --- VSP-2 - Secteur parabublic --- */

.vsp-2 .grid-item div {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 45px;
}

.vsp-2 .grid-item p {
  background-color: #30bd73;
  color:#48390E;
  height: 50px;
  padding: 0.4rem 0.6rem;
  margin:0;
  text-align: left;
  font-size: 12px;
  line-height: 13px;
  display: flex;
  align-items: center;
}

.vsp-2 .grid-item p span {
  font-size: 10px;
}

/* --- flip Card --- */
.flip-card {
  width: 100%;
  height: 350px;
  perspective: 1000px;
  margin-bottom: 40px;
  
}

.flip-card p {
  font-size: 95%;
}

.flip-card H2 {
  letter-spacing: .1rem;
}

.flip-card img {
  padding-bottom: 15px;
}

/* Styling for the card itself */
.flip-card-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.5s, opacity 0.5s;
  transform-style: preserve-3d;
}

/* Styling for the front and back of the card */
.flip-card-front,
.flip-card-back {
  width: 100%;
  height: 100%;
  min-height: 350px;
  position: absolute;
  backface-visibility: hidden;
  border-radius: 15px;
  margin-bottom:20px;
}

/* Styling for the front of the card */
.flip-card-front {
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #45A6B2;
}

/* Styling for the back of the card */
.flip-card-back {
  background-color: #f1f1f1;
  transform: rotateY(180deg);
  display: block;
  /*display: flex;*/
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* Hover effect to flip the card */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front h2 {
  text-align: center;
  padding: 1em;
}

/* ----------------------- */
/* --- VSP-3 - À chaque CPA Son défi --- */

.vsp-3 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #bbe4ff;
  border-radius: 15px;
  padding: 1rem  .8rem!important;
  width: 100%;
  position: relative;   
}

.vsp-3 .box-inside img {
  min-width: 255px;
  position: absolute;
  margin-top: -5rem;
}

.vsp-3 .box-inside h2.section {
  font-family: "Gotham Cond A", "Gotham Cond B";
  font-size: 24px;
  line-height: normal;
  text-transform: none;
  font-weight: 500;
  margin-bottom: 0 !important;
  display: block;
}

.vsp-3 .box-message {
  padding: 0.8rem;
  min-height: 80px;
  display: flex;
  align-items: start;
  border: #30bd73 1px solid;
  display: inline-block;
}

.vsp-3 .box-message img {
  float: left;
  margin: 0.8rem 0.8rem 0.8rem 0;
  max-width: 112px;
  height: auto;
}

.vsp-3 .box-message h3 {
  margin-top: 0.3rem;
  margin-bottom: 0.2rem;
}

.vsp-3 .box-message p {
  text-align: left;
  margin-top: auto;
  margin-bottom: auto;
}

/* ----------------------- */
/* --- VSP-4 - L’humain à l'avant plan --- */

.vsp-4 .box-message {
  position: relative;
  background-color: #b9f7aa;
  border-radius: 15px;
  /*padding: 0.5em 1rem !important;*/
  color: #48390e;
  min-height: 80px;
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;

}

.vsp-4 .img-titre {
  display: block;
  float: right;
  overflow: visible;
  margin: 0;
  z-index: 2;
  padding-bottom:0;
  margin-bottom:0;
}


/* ----------------------- */
/* --- VSP-5 - La vérification dans le secteur public --- */
.vsp-5 .grid-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /*justify-content: space-between !important;*/
  position: relative;
  background-color: #bbe4ff;
  border-radius: 15px;
  padding: 0.8rem !important;
  text-align: left;
  height:300px;
}

.vsp-5 .icon {
  float:left;
}
.vsp-5 .intro p {
  padding-top:10px;
}

.vsp-5 .icon {
  float:left;
}
 
.vsp-5 h3 {
  font-family: "Gotham Cond A", "Gotham Cond B";
  font-size: 20px;
  line-height:10px;
  font-weight: 400;
  text-align: left;
  text-transform: uppercase;
}
.vsp-5 p {
  margin:0;
}

/* ----------------------- */
/* --- VSP-6 - Des profils CPA à découvrir --- */

.vsp-6  {
  margin-bottom:0px!important;
  }


.vsp-6 span.title-video {
  color: #30bd73;
}

.vsp-6 .box-video {
  padding-bottom: 0;
  margin-bottom: 0!important;
}

/* ----------------------- */
/* --- VSP-7 - Notes --- */

.vsp-7  {
  margin-bottom:0px!important;
  margin-top:0px!important;
  }


/* ----------------------- */
/*   MÉDIA QUERY   */
/* ----------------------- */

/* ---------- max-width: 1400px ------------- */
@media (max-width: 1400px) {

  .grid-container-tuile,
  .grid-container-ressources {
    grid-template-columns: 1fr;
    min-height: 100px;
  }

.grid-container-3col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 1200px;
  margin: 1.5rem 0;
  padding: 0px;
  margin-bottom: 10px;
  align-items: start;
}

.grid-container-3col-vsp {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  padding: 0;
  align-items: start;
  align-content: space-evenly;
}


.vsp-5 .grid-item {
  display: flex;
  flex-direction: column;
  align-items: start;
  /*justify-content: space-between !important;*/
  position: relative;
  background-color: #30bd73;
  border-radius: 15px;
  padding: 0.8rem !important;
  text-align: left;
  max-height:245px;
}

}

/* ---------- max-width: 1200px ------------- */
@media (max-width: 1200px)  { 

.grid-container-2col,
.grid-container-2col-1t-2t,
.grid-container-3col {
  grid-template-columns: 2fr;
}

.vsp-1 .grid-item p {
  background-color: #30bd73;
  color:#48390E;
  padding:0.5rem;
  height: 45px;
  margin: auto;
  text-align: left;
  font-size: smaller;
  line-height: 14px;
}

.vsp-5 .grid-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /*justify-content: space-between !important;*/
  position: relative;
  background-color: #30bd73;
  border-radius: 15px;
  padding: 0.8rem !important;
  text-align: left;
  max-height:210px;
}

.flip-card {
  width: 100%;
  height:320px;
  perspective: 1000px;
}

}
/* ---------- max-width: 768px ------------- */
@media (max-width: 768px) {

  .grid-container-3col-vsp,.grid-container-2col-vsp {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    width: 100%;
    padding: 0;
    align-items: start;
    align-content: space-evenly;
  }

  .vsp-1 .grid-item p {
    background-color: #30bd73;
    color: #48390E;
    padding: 0.8rem;
    height: 30px;
    margin: auto;
    text-align: left;
    font-size: small;
    line-height: 14px;
  }

  .vsp-2 .grid-item p {
    background-color: #30bd73;
    color: #48390E;
    padding: 0.8rem;
    height: 40px;
    margin: auto;
    text-align: left;
    font-size: small;
    line-height: 14px;
  
  }

  .vsp-5 .grid-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /*justify-content: space-between !important;)*/
    position: relative;
    background-color: #30bd73;
    border-radius: 15px;
    padding: 0.8rem !important;
    text-align: left;
    max-height:220px;
  }
  
  .grid-container,
  .grid-container2,
  .grid-container3 {
    grid-template-columns: 1fr;
  }

  .grid-item.colspan {
    grid-column-end: span 1;
  }
  .txt-bulle,
  .img-bulle {
    display: inline-block;
    width: 100%;
    vertical-align: top;
  }

  .span2 {
    grid-column: span 1;
  }

  .box-stage {
    min-height: auto;
  }

  h3.grid-item {
    text-align: left;
  }
  h4.grid-item-esg {
    text-align: left;
    padding:5px;
  }

  .grid-container-2col,
  .grid-container-2col-1t-2t,
  .grid-container-3col {
    grid-template-columns: 1fr;
  }

  .grid-container-2col-1t-2t.grid-item:nth-child(2n) {
    border-bottom: 1px solid #48390e;
  }

  .span2 {
    grid-column: span 1;
  }

  .box-stage {
    min-height: auto;
  }

  /*--- Accordéon ---*/
details summary {
  width: 100%;
  padding: 1.5rem 0;
  border-top: 1px solid #48390E;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between !important;
  font-size: 3rem;
  font-weight: normal;
  list-style: none;
  outline: 0;
}

.flip-card {
  width: 100%;
  height:350px;
  perspective: 1000px;
  margin-bottom: 45px;
}

  /*Affichage des illustrations*/
  .show-on-desktop {
    display: block;
  }

  .show-on-mobile {
    display: none;
  }


}

/* ---------- max-width: 500px ------------- */

/*Affichage des illustrations*/
@media (max-width: 500px) {

  .vsp-5 .grid-item {
    max-height:235px;
  }

}

/* ---------- min-width: 500px ------------- */

/*Affichage des illustrations*/
@media (min-width: 500px) {
  .show-on-desktop {
    display: block;
  }

  .show-on-mobile {
    display: none;

  }

}



/* ---------------- TABLEAU - accordeon préférentiels --------------------*/

table {
    /*border-radius: 10px!important;*/
    /*border: 1px solid #45A5B2!important;*/
    /*	border: none;*/
}

table tr td, table tr th {
    vertical-align: middle !important;
    line-height: 1.25rem;
 }   
.tableau-accordeon div {
    display: inline-block!important;
    padding-bottom: 0;
}
    

.tableau-accordeon table {
    /*border-collapse: collapse;*/
    max-width: 100%;
    border:1px solid #e4e4e4;
    background: #FFFFFF;
  }

.tableau-accordeon  tr th:first-child, .tableau-accordeon tr td:first-child {
    text-align: left;
    vertical-align: top;
    line-height: normal;
}
.tableau-accordeon  tr th:not(:first-child), .tableau-accordeon  tr td:not(:first-child){
    text-align: left;
    vertical-align: top;
    line-height: normal;
}

.tableau-accordeon tr:nth-child(even) {background-color: #f2f2f2;}

.tableau-accordeon {
    padding: 0!important;
}
div.tableau-accordeon:last-of-type {
    padding: 0;
}

.tableau-accordeon .center {
    height: 40px;
    line-height:40px; /* same as height! */
}

.tableau-accordeon th {
	background-color: #30bd73!important;
	color: #48390E!important;
	font-weight: 800;
  /*height: 35px;*/
  line-height: normal;
  padding: 10px 2px 10px 2px;
  text-align: left;
  font-size: 10.5px!important;
}

.tableau-accordeon th h4 {
	color: #48390E !important;
	font-weight: 700;
    line-height: normal;
    padding-bottom: 0;
    margin-bottom:0;
    text-align: left;
}


/* tableau 2 colonnes */

.tableau-accordeon .deuxcol tr th:first-child {
    width:66%;
}

.tableau-accordeon .deuxcol tr th:not(:first-child) {
    width:33%;
}



/* tableau 5 colonnes */

.tableau-accordeon .cinqcol tr th:first-child {
    width:0%;
}

.tableau-accordeon .cinqcol tr th:not(:first-child) {
    width:16%;
}

/* Titre au dessus du tableau  */

.tableau-accordeon  h5.title-tableau  {
    margin-bottom:10px!important;
    margin-left:5px!important;
    font-weight: 600;
    text-align: left;
}
/* Texte dessus le tableau  */
.tableau-accordeon p {
    text-align: left;
    margin-bottom: 5px;
    margin-top: 25px;
    margin-left: 0px !important;
}

span.small {
    font-size:smaller!important;
    padding-top:0;
}

/* Couleur background des rangés */
.table-accordeon tr:nth-child(odd) {
    background-color: #f5f5f5;
}
.table-accordeon tr:nth-child(even) {
	background-color: #ffffff;
}


/* bordure de l'entête */
.tableau-accordeon th:first-child {
	border: none;
	/*border-top-left-radius: 10px; */
}

.tableau-accordeon th:last-child {
	border: none;
	/*border-top-right-radius: 10px;*/
}


/* Lignes du tableau */
.tableau-accordeon td {
  /*border-right: 1px solid #45A5B2;*/
  text-align: left;
  font-size: 10.5px!important;
}

.tableau-accordeon td:first-child {
    /*border-left: 1px solid #c5c5c5;*/
    border-left: none;
    font-weight: 700;
}

.tableau-accordeon td:last-child {
     /*border-right: 1px solid #c5c5c5!important;*/
      border-right: none;
}

.tableau-accordeon tr:last-child {
      font-weight: 800;
}

.tableau-accordeon tr:last-of-type {
     /*border-bottom: 1px solid #c5c5c5;*/
    border-bottom: none;
     /*border-bottom-right-radius: 10px!important;*/
     /*border-bottom-left-radius: 10px!important;*/
}



/* Footer du tableau */
.table-footer td:last-child {
    border: none;
	/*border-bottom-right-radius: 10px!important;*/

}
.table-footer td:first-child {
    /*border: none;*/
	/*border-bottom-left-radius: 10px!important;*/
}

.table-footer .leftBC {
	/*border-bottom-left-radius: 10px;*/
}
.table-footer .rightBC {
    border: none;
	/*border-bottom-right-radius: 10px;*/
}
