
/* ---- COULEURS ----- */
.mauve {
  color: #736C8E;
  }
  .mauvepale{
  color: #F5F6FA
  }
  .aqua {
    color: #81C5C5;
  }
  
  .aquadark {
    color: #45A5B2;
  }
  
  .bleu {
    color: #0081AD;
  }
  
  .white {
    color: #ffffff;
  }

ul li,
ul li > ul li {
  margin-bottom: .5em;
}

ul li > ul {
  padding-top: .5em;
}

.outline {
text-shadow: -0.8px -0.8px 0 rgba(245, 246, 250, 1), 0.8px -0.8px 0 rgba(245, 246, 250, 1), -0.8px 0.8px 0 rgba(245, 246, 250, 1), 0.8px 0.8px 0 rgba(245, 246, 250, 1);
}

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

sup {
  font-size:9px;
}

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

.fa-question-circle:before,
.fa-chevron-circle-down:before {
    content: "\f059";
    color: #736C8E;
  }

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

section {
  padding-top: 35px;
  padding-bottom:35px;
  margin:0;
}

div.content-block {
  padding-top: 0!important;
  padding-bottom:0!important;
  margin:0;
}

div.editable-content {
  padding-top: 0!important;
  padding-bottom:0!important;
  margin:0;
}

div.flex-menu>a, div.flex-menu>span {
    font-weight: 400;
    margin-bottom: 10px;
    padding: 0!important;
}

/* -------- Header ----------- */

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

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

h2.h2section {
  font-size: 4em;
  line-height: 0.8em;
  position: relative;
  color:#736C8E;
  padding-top:0!important;
  margin-top:0!important;
  margin-bottom: 32px!important;
}

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: 1.5rem 0;
  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;
  /*gap: 1rem 5px;*/
  max-width: 1200px;
  margin: 1.5rem 0 0 0;
  padding: 0px;
  align-items: start;
  align-items: stretch;
}

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

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

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



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

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

.box-inside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 16px;
  width: 100%;
  position: relative;
  padding: 8px 8px 0 8px;
  margin: 0px;
}


div.box-inside.noshadow, div.box-inside.noshadow:hover {
   box-shadow: none;
}

div.box-inside p{
  padding: 8px 15px;
}

div.box-inside ul{
  padding: 0px 15px 0px 15px;
}

div.box-inside .p-0{
    padding: 8px 0px 0px 6px;
}

div.box-inside .p-2{
    padding: 20px 0px 0px 6px;
}


div.box-inside .p-1{
    padding: 0px 0px 0px 16px;
}


p.text {
  line-height:normal!important;
  font-size:14px!important;
  padding-bottom:0!important;
  margin-bottom:0!important;
}

p.text-bold {
  color:#555;
  font-weight: 600;
  line-height:normal;
  margin-bottom: 0px;
}

ul.liste-circle {
  list-style-type:circle;
  margin-bottom:0px;
}

h2.box-header-1  {
	display: block;
	text-align: left;
	text-transform: uppercase;
	border-radius: 8px;
  background: #C2CAE2;
  color:#483C79;
  padding: 16px;
	line-height: 36px; /* 112.5% */
  font-size: 1.8em;
	font-weight: 600;
}

h2.box-header-2 {
	display: block;
	text-align: left;
	text-transform: uppercase;
	border-radius: 8px;
  padding: 16px;
  background:#483C79;
  color:#FFF;
	line-height: 36px; /* 112.5% */
  font-size: 1.8em;
	font-weight: 600;
}

h2.box-header-3 {
	display: block;
	text-align: left;
	text-transform: uppercase;
	border-radius: 8px;
  padding: 16px;
  background: #81C5C5;
  color:#483C79;
	line-height: 36px; /* 112.5% */
  font-size: 1.8em;
	font-weight: 600;
}
.img-titre {
  display: block;
  float: right;
  overflow: visible;
  max-width: 145px;
  margin: 0;
  z-index: 2;
}

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

.panel {
  margin-bottom: 24px;
}

.separateur,
.separateur-sans-filet {
  height: 1px;
  background-color: #dddddd;
  border: none; /* Remove default border */
  margin: 80px 0 !important; 
}

.separateur-sans-filet {
  background-color: transparent;
  margin: 40px 0 !important; 
}


a.button {
  color: #555;
  display: inline-block;
  background: none;
  border: 2px solid #45A5B2;
  border-radius: 4px;
  font-size: .75rem;
  font-weight: bold;
  line-height: 1;
  padding: 16px;
  text-decoration: none !important;
  transition: 0.3s;
}

a.button:hover,
a.button:focus {
  border-color: #45A5B2;
  color: #fff;
  box-shadow: inset 20em 0 0 0 #45A5B2;
}


.video-container {
  max-width: 640px;
}

.grid-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /*justify-content: space-between !important;*/
  position: relative;
  border : solid 1px #DDD;
  border-radius: 15px;
  /*padding: 0.4rem !important;*/
  text-align: left;
}

.grid-item:hover {
  box-shadow: 0px 5px 10px 0px rgba(50, 50, 71, 0.16), 0px 0px 1px -8px rgba(12, 26, 75, 0.00);
 
}

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

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


/*--- Étapier ---*/
ul.etapier-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  margin: 32px 0 !important;
}

.etapier {
  border-radius: 5000px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  align-self: stretch;
  position: relative;
  transition: .3s box-shadow ease-out;
}

.etapier:hover {
  box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
}

.etapier-content {
  border-radius: 5000px;
  color: #555 !important;
  display: flex;
  padding: 12px 24px 12px 8px;
  align-items: center;
  gap: 16px;
  align-self: stretch;
  border: 2px solid #736C8E;
  background: #FFF;
  text-decoration: none !important;
}

.etapier-content:active,
.etapier-content:focus {
  color: #555;
}

.etapier-content:hover .number {
  background-color: #81C5C5;
  color: #fff;
}

.etapier .number {
  display: flex;
  width: 64px;
  height: 64px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  aspect-ratio: 1/1;
  border-radius: 5000px;
  border: 2px solid #81C5C5;
}

.etapier .etiquette {
  border-radius: 5000px;
  background: #736C8E;
  color: #fff;
  display: flex;
  font-size: .85em;
  padding: 4px 8px;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: -14px;
  left: 90px;
}



/*--- Accordéon ---*/
.box-competences {
  width: 100%;
  padding: 30px 0 0 0;
  position: relative;
 }

 .box-competences > details:last-child {
  border-bottom: 1px solid #45A5B2;
 }

details summary {
  width: 100%;
  padding: 1.75rem 0;
  border-top: 1px solid #45A5B2;
  position: relative;
  cursor: pointer;
  list-style: none;
}

details summary h3 {
  width: 90%;
  padding: 0 20px;
  margin: 0 !important;
}
details.border-bottom {
    border-bottom: 1px solid #45A5B2;
}

details summary {
  outline: 0;
}

details summary:after {
  content: "+";
  color: #45A5B2;
  position: absolute;
  font-size: 3rem;
  line-height: 0;
  top: 2.5rem;
  right: 1rem;
  font-weight: lighter;
  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 > summary:first-of-type {
    display: list-item;
    counter-increment: list-item 0;
    list-style: inside disclosure-closed;
}

/**Section accordian competences**/
details[open] summary,
details > summary:hover {
  background-color: #EFF7F7;
}

details[open] summary~* {
  animation: open 0.3s ease-in-out;
  padding: 30px 20px 40px 20px;
}

summary::marker {
    content: "";
}
#first {
  border-top: 0px;
}

.disabled {
  pointer-events: none;
}

.fa-ul  {
  position: relative;
}

.fa-ul .fa {
  position: absolute;
  left: -20px;
  top: 4px;
}

.fa-ul .fa-check-circle-o {
  color: #43B02A;
}

.fa-ul .fa-times-circle-o {
  color: #F24822;
}


/*--- Encadré ---*/
.encadre {
  margin-top: 24px;
  border-radius: 8px;
}

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

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

.box-message p {
  text-align: left;
  margin-top: auto;
  margin-bottom: auto;
  padding: 10px;
  margin-right: 0;
}


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




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


/* ---------- min-width: 1600px ------------- */
/* Main header */
@media (min-width: 1600px) {

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

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

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

}
/* ---------- min-width: 1500px ------------- */
/* Main header */
@media (min-width: 1500px) {

.box-header {
    position: relative;
    width: 100%;
    padding: 60px 30px;
    margin-bottom: 5px !important;
    background-color: rgba(245, 246, 250, 1);
    background-image: url(https://cpaquebec.ca/-/media/197701C37F92403FBB0544FA51019AFF.ashx?h=16&thn=1&w=16);
    background-repeat: no-repeat;
    background-position: left 0% bottom 0%;
    background-size: 775px;
}
}

/* ---------- max-width: 1500px ------------- */

/* Main header */
@media (max-width: 1500px) {
.box-header {
    position: relative;
    width: 100%;
    padding: 60px 30px;
    margin-bottom: 5px !important;
    background-color: rgba(245, 246, 250, 1);
    background-repeat: no-repeat;
    background-position: left 0% bottom 0%;
    background-size: 775px;
}
}

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

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

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


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

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

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

  .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-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 #45A5B2;
	position: relative;
	cursor: pointer;
	font-size: 1.23rem;
	font-weight: normal;
	list-style: none;
}

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

details > summary:first-of-type {
    display: list-item;
    counter-increment: list-item 0;
    list-style: inside disclosure-closed;
}

details summary::-webkit-details-marker {
  display: none;
}
  /*Affichage des illustrations*/
  .show-on-desktop {
    display: block;
  }

  .show-on-mobile {
    display: none;
  }
li::marker {
    content: "";
}

}

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

  }

}