:root {
  --main-gray: #848487;
  --main-blue: #083bba;
  --main-red: #d10845;
  --main-yellow: #ff801f;
  --main-dark-blue: #0c2340;
  --secondary-lightblue1: #6fafe0;
  --secondary-lightblue2: #5891cc;
  --secondary-gray: #4f5c69;
  --secondary-white: #e6e6e6;
  --secondary-blue: #0f3168;
  --secondary-green: #26c2ad;
  --secondary-magenta: #753bbd;
  --secondary-pink1: #d85e71;
  --secondary-pink2: #f5787d;
}

.formations {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
}

.formation {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: #FFF;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  overflow: hidden;
  margin: 1rem;
  transition: 0.4s;
  border: 2px solid;
  border-color: var(--main-dark-blue);
}


@media (min-width: 960px) {
  .formation {
    width: 45%;
  }
}

@media (min-width: 600px) {
  .formation {
    width: 30%;
  }
}

.formation:hover {
  translate: 0 -10px;
}

.formation-img {
  padding-bottom: 56.25%;
  position: relative;
  overflow: clip;

  img {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: scale-down;
  }
}

.formation-content {
  flex-direction: column;
  padding: 0.7rem;
  display: flex;
  margin-top: auto;
}

.formation-content p {
  color: black;
  margin-right: 10px;
  text-align: left;
}

.formation-title {
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.33;
  font-weight: 700;
}

#formFormation {
  display: flex;
  gap: 1rem;
}

.champs {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  overflow: auto;
  width: 100%;
}

.champs .field {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  width: 65%;
  height: 44px;
  margin: 0.9rem 0;
}

.champs label {
  flex: 1;
  border-radius: 2px !important;
  border-color: var(--main-dark-blue);
  margin-right: 5%;
  margin-bottom: 0px !important;
  text-align: left;
  height: 44px;
  align-content: center;
  font-size: 20px;
}

.champs .list {
  flex: 2;
  border-radius: 2px !important;
  text-align: left;
}

.champs select {
  width: 50%;
  margin-bottom: 2px;
  border-radius: 10px;
  border-color: var(--main-dark-blue);
}

.champs input {
  width: 50%;
  display: flex;
  margin-right: auto;
  margin-left: auto;
}

/*
█░█ █░█ █▀▀   █░█ █▄░█ █ █▀█ █░█ █▀▀
▀▄▀ █▄█ ██▄   █▄█ █░▀█ █ ▀▀█ █▄█ ██▄
*/
.vue-unique .formation-name {
  text-align: center;
  font-size: 40px;
  line-height: normal;
}

.vue-unique img {
  width: 35%;
  text-align: center;
}

.vue-unique .separator {
  display: block;
  border-top: 1px solid #000;
  width: 70%;
  margin: .7rem auto;

}

.carte {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1.4rem;
  border-radius: 24px;
  overflow: hidden;
  line-height: 1.6;
  border: 1px solid #999999;
  margin-bottom: .7rem;
  transition: all 0.48s;
}

.contenu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  color: #000000;
}

.contenu p {
  z-index: 1;
  opacity: 0.8;
  font-size: 18px;
  padding-bottom: 0.3em;
}

.carte:hover::before {
  scale: 7;
  opacity: 1;
}

.carte:hover::after {
  scale: 7;
  opacity: 1;
}

.carte:hover .contenu .heading {
  color: #ffffff;
}

.carte:hover {
  box-shadow: 0rem 0px 0px rgba(0, 0, 0, 0.1),
    0rem 10px 8px rgba(0, 0, 0, 0.09), 0rem 43px 24px rgba(0, 0, 0, 0.05),
    0rem 24px 39px rgba(0, 0, 0, 0.01), 0rem 40px 43px rgba(0, 0, 0, 0);
  border-color: #0a3cff;
  scale: 1.01;
  transition: all 0.48s cubic-bezier(.17, .67, .83, .67);
}

/*
█▀█ █▀▀ █▀▀ █░█ █▀▀ █▀█ █▀▀ █░█ █▀▀
█▀▄ ██▄ █▄▄ █▀█ ██▄ █▀▄ █▄▄ █▀█ ██▄
*/

.searchInput {
  font-family: 'Segoe UI', sans-serif;
  margin: 1em auto 1em auto;
  width: 75%;
  position: relative;
}

.searchInput input {
  font-size: 100%;
  padding: 0.8em;
  outline: none;
  border: 2px solid rgb(200, 200, 200);
  background-color: transparent;
  border-radius: 10px;
  width: 100%;
  margin: auto;
}

.searchInput label {
  font-size: 100%;
  position: absolute;
  left: 0;
  padding: 0.8em;
  margin-left: 0.5em;
  pointer-events: none;
  transition: all 0.3s ease;
  color: rgb(100, 100, 100);
}

.searchInput :is(input:focus, input:valid)~label {
  transform: translateY(-50%) scale(.9);
  margin: 0em;
  margin-left: 1.3em;
  padding: 0.4em;
  background-color: #fff;
}

.searchInput :is(input:focus, input:valid) {
  border-color: rgb(150, 150, 200);
}

/*
█▀█ ▄▀█ █▀▄ █ █▀█   █▄▄ ▀█▀ █▄░█
█▀▄ █▀█ █▄▀ █ █▄█   █▄█ ░█░ █░▀█
*/

.radio-inputs input {
  display: none;
}

.radio-inputs {
  --container_width: 100%;
  --element_count: 3;
  --element_width: calc(100% / var(--element_count));
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 10px;
  background-color: #fff;
  color: #000000;
  width: var(--container_width);
  overflow: hidden;
  border: 1px solid rgba(53, 52, 52, 0.226);
}

.radio-inputs label {
  width: 100%;
  padding: 10px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  font-weight: 600;
  letter-spacing: -1px;
  font-size: 14px;
}

.selection {
  display: none;
  position: absolute;
  height: 100%;
  width: var(--element_width);
  z-index: 0;
  left: 0;
  top: 0;
  transition: .15s ease;
}

.radio-inputs label:has(input:checked) {
  color: #fff;
}

.radio-inputs label:has(input:checked)~.selection {
  background-color: #0c2340;
  display: inline-block;
}

.radio-inputs label:nth-child(1):has(input:checked)~.selection {
  transform: translateX(0%);
}

.radio-inputs label:nth-child(2):has(input:checked)~.selection {
  transform: translateX(100%);
}

.radio-inputs label:nth-child(3):has(input:checked)~.selection {
  transform: translateX(200%);
}

/*BANDEAU*/

.disc-fields {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}

.btn-bandeau {
  --color: #560bad;
  font-family: inherit;
  display: inline-block;
  width: 14vw;
  height: 14vh;
  line-height: 2.5em;
  margin: 20px;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--color);
  transition: color .5s;
  z-index: 1;
  font-size: 17px;
  border-radius: 6px;
  font-weight: 500;
  color: var(--color);
}

.btn-bandeau p {
  font-size: 14px;
  line-height: normal;
}

.btn-bandeau svg {
  width: 14px;
}

.btn-bandeau:before {
  content: "";
  position: absolute;
  z-index: -1;
  background: var(--color);
  height: 400px;
  width: 400px;
  border-radius: 50%;
}

.btn-bandeau:hover {
  color: #fff;
  fill: #fff;
}

.btn-bandeau:before {
  top: 100%;
  left: 100%;
  transition: all .7s;
}

.btn-bandeau:hover:before {
  top: -150px;
  left: -150px;
}

.btn-bandeau:active:before {
  background: #3a0ca3;
  transition: background 0s;
}

/*Prévisu des images*/

.etab_logo {
  margin-bottom: 15px;
}

.thumbnail {
  position: relative;
  z-index: 0;
}

.img_preview:hover {
  background-color: transparent;
  z-index: 50;
}

.img_preview span {
  position: absolute;
  padding: 5px;
  left: -1000px;
  visibility: hidden;
  color: black;
  text-decoration: none;
}

.img_preview span img {
  border-width: 0;
  padding: 2px;
  height: 150px;
}

.img_preview:hover span {
  visibility: visible;
  left: 60px;
}


/*
▀█▀ ▄▀█ █▄▄ █░░ █▀▀ ▄▀█ █░█
░█░ █▀█ █▄█ █▄▄ ██▄ █▀█ █▄█
*/

.item,
.content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
  opacity: 0;
}

.item.show,
.content.show {
  .btn-cours {
    transform: rotate(0deg);
  }

  max-height: fit-content;
  opacity: 1;
  overflow: visible;
}

.underStep ~ .btn-cours {
  font-style: italic;
  font-size: 14px;
  padding-bottom: 0;
}

.btn-cours {
  font-size: 16px;
  cursor: pointer;
  position: relative;
  display: flex;
}

.lang {
  text-align: justify;
}

.header-content {
  text-decoration: underline;
}

.vue-unique h4 {
  text-transform: none;
}

.btn-cours:after,
.btn-cours:before {
  content: '';
  position: absolute;
  right: -2%;
  margin-left: 10px;
  width: 2px;
  height: 0.75em;
  background-color: black;
  transition: all .7s;
}

.btn-cours:before {
  transform: rotate(90deg);
}

.clicked:after {
  transform: rotate(450deg);
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.item p {
  padding-left: 5%;
}


/* 
BIN BUTTON
*/

/* From Uiverse.io by vinodjangid07 */
.bin-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 33px;
  border-radius: 15px;
  background-color: rgb(255, 95, 95);
  cursor: pointer;
  border: 3px solid rgb(255, 201, 201);
  transition-duration: 0.3s;
}

.bin-bottom {
  width: 15px;
}

.bin-top {
  width: 17px;
  transform-origin: right;
  transition-duration: 0.3s;
}

.bin-button:hover .bin-top {
  transform: rotate(45deg);
}

.bin-button:hover {
  background-color: rgb(255, 0, 0);
}

.bin-button:active {
  transform: scale(0.9);
}

/*
Formulaire Gestion de liens
*/

.link-fields {
  display: flex;
  align-items: center;
  gap: 10px;
}

.link-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.link-fields input[type="text"] {
  flex: 1;
  max-width: 200px;
}

.link-fields label {
  flex: 1;
  min-width: 200px;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}