/* ----------------------- */
/* NOUVEAU PROGRAMME - RELEVE */
/* ----------------------- */

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

.aqua {
  color: #81C5C5 !important;
}
.brown {
  color:#45A5B2;
}

.aquadark {
  color: #45A5B2;
}

.aqua {
  color: #003B5D;
}

.bleu {
  color: #0081AD;
}

.white {
  color: #ffffff;
}
.bg-gris {
  background-color:#F7F7F7;
  border-radius: 15px;
  padding: 1rem .8rem !important;
}
.bg-aquadark {
  background-color:#45A5B2;
  border-radius: 15px;
  padding: 30px !important;
}
.box-header {
  position: relative;
  width: 100%;
  padding: 60px 30px;
  margin-bottom: 5px !important;
  background-color: rgba(173, 214, 213, 20%);
  background-image: url(https://cpaquebec.ca/-/media/images/etudiants-futurs-cpa/comment-devenir-cpa/brochure_universitaire/svg/graph_affaires.svg);
  background-repeat: no-repeat;
  background-position: left 0 top 6%;
  background-size: 1027px;
}

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

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

.m-0 {
  margin: 0;
}

sup {
  font-size:9px;
}

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


/* -------- TITRE----------- */


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;
}

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

.npp h3 {
  font-size: 1.23rem;
  font-weight: 400;
  text-align: left;
}

.npp h2 span {
  font-size: 0.8em;
  margin: 0px;
  line-height: 0.8em;
  color: #45A5B2;
}

.npp h5 {
  margin-top:30px;
  margin-bottom:15px;
}

section.npp h4 {
  line-height: normal;
  text-transform: none!important;
  font-size: 1rem;
  font-weight: 500!important;
  display: inline-block;
  list-style-image: none!important;
  margin-bottom: 0 !important;
  margin-right: 20px;
}

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

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


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

.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: 1px;
}

.grid-container-2col-1t-3t {
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: 1px;
  align-items: center;
}

.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-npp {
  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-npp {
  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;
}
/* .box-inside img {
  max-width: 280px !important;
  position: absolute;
  margin-top: -9rem;
} */

/* -------- SECTIONS --------- */

section {
  padding:10px 0px;
  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;
}

/* --- npp- Trois paliers de gouvernement --- */

/*.npp {
  margin-bottom:0px!important;
  }*/
  

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

.npp.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;
}


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

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

.npp.grid-item p {
  background-color: #45A6B2;
  color:#FFFFFF;
  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;

}

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

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

details summary {
  width: 100%;
  padding: 1.5rem 0;
  border-top: 1px solid #45A5B2;
  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;
}

#first {
  border-top: 0;
}

details summary:after {
  content: "+";
  color: #45A5B2;
  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;
}



/*--- Box message - Encadré ---*/
.panel.info.encadre {
    background-color: #C3DDD0;
    margin-bottom: 20px !important;
    border: 1px solid #C3DDD0;
    border-radius: 8px;
    color: #48390E!important;
}

.panel.info.encadre-filet p {
    margin-bottom: 0!important;
}

/*.panel.info.encadre-filet img {
    max-width: 125px!important;
}*/

.panel.info.encadre-pink {
    margin-bottom: 20px !important;
    border: 1px solid #f4c6e9;
    background-color: #f4c6e9;
    border-radius: 8px;
    color: #48390E!important;
}


.panel.info.encadre-filet {
    background-color: #FFFFFF;
    margin-bottom: 20px !important;
    border: 1px solid #45A6B2;
    border-radius:15px;
}

.npp .box-message {
  padding: 1rem;
  margin-bottom: 20px !important;
  margin-top: 20px !important;
  margin-left:65px;
  margin-right:65px;
  border: 1px solid #45A6B2;
  border-radius: 20px;
}

div.box-message img {
  margin: auto;
  padding-right: 1rem;
  display:block;
  width: 80px;
  height:auto;

}

div.box-message p {
  text-align: left;
  margin-top: auto;
  margin-bottom: auto;
  /*padding: 5px;*/
  font-size: 85%;
  font-size: medium;
}


.bg-menthe-1 {
    background-color:#C3DDD0;
    border-radius: 15px;
    padding: 30px !important;
    }
.bg-menthe-2 {
    background-color:#C3DDD0;
    padding: 30px !important;
    }

/*--- Bouton ---*/

.bouton-large{
    -webkit-appearance: none;
    -moz-appearance: none;
    border-radius: .1875rem;
    border: 1px solid #45A6B2;
    cursor: pointer;
    font-weight: 400;
    line-height: 16px;
    margin: 1.25rem 0 1.25rem 0;
    padding: 16px;
    position: relative;
    display: inline-block;
    background-color:#EFF7F7;
    letter-spacing: -0.2px;
    color: #555555 !important;
    transition-property: background-color, .3s, ease-out;
}



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

/* --- 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;
}

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


/* ----------------------- */
/*   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-npp {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  padding: 0;
  align-items: start;
  align-content: space-evenly;
}


.npp-5 .grid-item {
  display: flex;
  flex-direction: column;
  align-items: start;
  /*justify-content: space-between !important;*/
  position: relative;
  background-color: rgba(173, 214, 213, 20%);
  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;
}

.npp .box-message {
  padding: 1rem;
  margin-left: 0px;
  margin-right: 0px;
  margin-bottom: 20px !important;
  margin-top: 20px !important;
  border: 1px solid #45A6B2;
  border-radius: 20px;
}



.npp.grid-item p {
  background-color: #45A6B2;
  color:#FFFFFF;
  padding:0.5rem;
  height: 45px;
  margin: auto;
  text-align: left;
  font-size: smaller;
  line-height: 14px;
}

.npp-5 .grid-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /*justify-content: space-between !important;*/
  position: relative;
  background-color: rgba(173, 214, 213, 20%);
  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-npp,.grid-container-2col-npp {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    width: 100%;
    padding: 0;
    align-items: start;
    align-content: space-evenly;
  }

  .grid-container-2col-1t-3t {
    grid-template-columns: 1fr;
    min-height: 100px;
  }



  .npp.grid-item p {
    background-color: #45A6B2;
    color: #FFFFFF;
    padding: 0.8rem;
    height: 30px;
    margin: auto;
    text-align: left;
    font-size: small;
    line-height: 14px;
  }

  .npp-2 .grid-item p {
    background-color: #45A6B2;
    color: #FFFFFF;
    padding: 0.8rem;
    height: 40px;
    margin: auto;
    text-align: left;
    font-size: small;
    line-height: 14px;
  
  }

  .npp-5 .grid-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /*justify-content: space-between !important;)*/
    position: relative;
    background-color: rgba(173, 214, 213, 20%);
    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;
  }

  .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 #45A5B2;
  }

  .span2 {
    grid-column: span 1;
  }

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

  h3.grid-item {
    text-align: left;
  }
  /*--- Accordéon ---*/
details summary {
  width: 100%;
  padding: 1.5rem 0;
  border-top: 1px solid #45A6B2;
  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) {

  .npp-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;

  }

}