@import url("https://kit-pro.fontawesome.com/releases/latest/css/pro.min.css");

@font-face {
  font-family: "Open Sans";
  src: url("fonts/OpenSans-SemiBold.woff2") format("woff2"), url("fonts/OpenSans-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("fonts/OpenSans-LightItalic.woff2") format("woff2"), url("fonts/OpenSans-LightItalic.woff") format("woff");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("fonts/OpenSans-Light.woff2") format("woff2"), url("fonts/OpenSans-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("fonts/OpenSans-Regular.woff2") format("woff2"), url("fonts/OpenSans-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Varela Round";
  src: url("fonts/VarelaRound-Regular.woff2") format("woff2"), url("fonts/VarelaRound-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

#toolbar-administration ul li::before {
  height: 0rem !important;
  width: 0rem !important;
  content : normal !important;
}

#toolbar-administration ul li {
  margin-bottom: 0em !important;
}
main#main article.contextual-region
.form-item.js-form-item.form-type-item.js-form-type-item.form-item-.js-form-item-.form-no-label.form-group {
  margin: 10% 0;
}

/*-----Color box-----*/
#cboxWrapper {
  background: transparent !important;
  border-radius: 0 !important;
}
#cboxContent #cboxCurrent{
  display: none !important;
}
#cboxContent #cboxLoadedContent {
  margin-bottom: 0 !important;
}
#cboxContent #cboxPrevious {
  position: fixed !important;
  bottom: 50% !important;
  left: 1% !important;
  border-radius: 50%;
  background-color: rgba(255,255,255,0) !important;
  background: url(img/back.png) no-repeat 50%;
  width: 50px;
  height: 50px;
  text-align: center;
  text-indent: -9999px;
  color: #000;
}
#cboxContent #cboxPrevious:after { content: "<"; }

#cboxContent #cboxNext {
  position: fixed !important;
  bottom: 50% !important;
  right: 1% !important;
  left: auto !important;
  text-indent: -9999px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0) !important;
  background: url(img/next.png) no-repeat 50%;
  width: 50px;
  height: 50px;
  text-align: center;
  color: #000;
}
#cboxContent #cboxClose{
  position: fixed !important;
  bottom: 90% !important;
  right: 1% !important;
  border-radius: 50%;
  background-color: rgba(255,255,255,0) !important;
  background: url(img/close.png) no-repeat 50%;
  width: 50px;
  height: 50px;
  text-align: center;
  color: #000;
}
#cboxTitle{
  bottom: 0px !important;
}
#cboxContent #cboxPrevious, #cboxContent #cboxNext, #cboxContent #cboxClose {
  opacity: 1
}
#cboxContent #cboxPrevious:hover, #cboxContent #cboxNext:hover, #cboxContent #cboxClose:hover {
  opacity: 0.7;
}
.page-node-type-formation #drupal-modal {
  overflow-x: hidden
}
.ui-widget-header{
  border: none !important;
  background: #ffffff !important;
}

/* Back to top custom*/
#button {
  display: inline-block;
  background-image: url("img/backtotop.png");
  width: 64px;
  height: 64px;
  position: fixed;
  bottom: 120px;
  right: 0px;
  transition: background-color .3s,
  opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}
#button:hover {
  cursor: pointer;
  opacity: 0.8 !important;
}
#button.show {
  opacity: 1;
  visibility: visible;
}

/* Réduction de la taille du detail et recommandation du upload webform. */
@media screen and (min-width: 500px) {
  .content-block.block--bg .form .form__content form#webform-submission-webform-simple-paragraph-235-add-form input[type=text],
  .content-block.block--bg .form .form__content form#webform-submission-webform-simple-paragraph-235-add-form input[type=number],
  .content-block.block--bg .form .form__content form#webform-submission-webform-simple-paragraph-235-add-form input[type=email],
  .content-block.block--bg .form .form__content form#webform-submission-webform-simple-paragraph-235-add-form input[type=password],
  .content-block.block--bg .form .form__content form#webform-submission-webform-simple-paragraph-235-add-form input[type=tel],
  .content-block.block--bg .form .form__content form#webform-submission-webform-simple-paragraph-235-add-form input[type=search],
  .content-block.block--bg .form .form__content form#webform-submission-webform-simple-paragraph-235-add-form input[type=date],
  .content-block.block--bg .form .form__content form#webform-submission-webform-simple-paragraph-235-add-form input[type=file],
  .content-block.block--bg .form .form__content form#webform-submission-webform-simple-paragraph-235-add-form select,
  .content-block.block--bg .form .form__content form#webform-submission-webform-simple-paragraph-235-add-form textarea,
  form#webform-submission-webform-simple-paragraph-235-add-form .form-control {
    width: 64rem !important;
  }
  .webform-element.form-item.js-form-item.form-type-managed-file.js-form-type-managed-file.form-item-champ-upload.js-form-item-champ-upload.form-group
  .description.help-block {
    font-size: small !important;
    width: 32rem !important;
    margin: 2rem 0 2rem 20rem !important;
  }
}

.webform-element.form-item.js-form-item.form-type-managed-file.js-form-type-managed-file.form-item-champ-upload.js-form-item-champ-upload.form-group .description.help-block {
  font-size: x-small;
  padding: 1rem;
  background-color: #ffffff;
  margin: 2rem auto;
}
/* Zoom et rotate sur chiffre clé. */
.row.text-center.key-figures .col-md {
  transform: rotateY(360deg);
  transition: all 0.5s ease-out 0s;
}

.row.text-center.key-figures .col-md:hover {
  transform: scale(1.2);
}

.content-block {
  word-break: break-all;
}

.filters--liste-candidats .filters__items .filters_list__item {
  flex: 0 1 18rem !important;
  min-width: 18% !important;
  margin: 0 1.2rem 1.6rem 0 !important;
}

.input-select-group {
  min-width: 50%;
}
.SumoSelect>.optWrapper>.options li ul li.opt, .SumoSelect>.optWrapper>.options li.opt {
  line-height: 1.6rem !important;
  vertical-align: middle;
}
.SumoSelect>.optWrapper>.options li.opt label {
  font-size: 1.35rem !important;
}
.SumoSelect>.optWrapper>.options li.group>label {
  font-size: 1.45rem !important;
  padding: 2px 5px;
}
.SumoSelect>.CaptionCont>label>i {
  background-image: url(img/select.svg) !important;
  background-position: center center;
  width: 16px;
  height: 16px;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  background-repeat: no-repeat;
  opacity: .8;
}
.SumoSelect>.CaptionCont>span {
  font-size: 1.35rem !important;
}

/*Gestion des checkbox pour le tri  des pages liste.*/
form#views-exposed-form-liste-actualite-liste-actualite .form-item > label,
form#views-exposed-form-liste-evenement-liste-evenement .form-item > label {
  min-width: 0 !important;
  width: auto !important;
  margin: 0px 1rem 0 0 !important;
}
form#views-exposed-form-liste-actualite-liste-actualite select,
form#views-exposed-form-liste-evenement-liste-evenement select,
form#views-exposed-form-liste-actualite-liste-actualite .form-control,
form#views-exposed-form-liste-evenement-liste-evenement .form-control {
  width: 32rem !important;
}

form#views-exposed-form-liste-actualite-liste-actualite select,
form#views-exposed-form-liste-evenement-liste-evenement select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11.32 23.79'%3E %3Ctitle%3Ebg-select%3C/title%3E %3Cpath d='M4.82.46A1,1,0,0,1,6.5.46l4.66,7.16a1,1,0,0,1-.84,1.55H1A1,1,0,0,1,.16,7.62Z' fill='%23283B71'/%3E %3Cpath d='M6.48,23.34a1,1,0,0,1-1.64,0l-4.56-7a1,1,0,0,1,.82-1.51h9.11A1,1,0,0,1,11,16.33Z' fill='%23283B71'/%3E %3C/svg%3E ") !important;
  background-position: calc(100% - 1.5rem) center !important;
  background-repeat: no-repeat !important;
  background-size: auto 2rem !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  padding-right: 4rem !important;
  text-overflow: ellipsis !important;
  cursor: pointer !important;
}
/*!*FIN Gestion dess checkbox pour le tri  des pages liste*!*/


/* Lien recherche avancée dans la popin de recherche */
.search-layer__input-container {
  align-items: initial;
  margin-bottom: 2rem;
}
.search-layer__input::before {
  top: 2.5rem;
}
.search-layer__action [type=submit] {
  display: block;
}
.search-layer__link {
  display: block;
  font-size: 1.5rem;
  padding-top: 1.0rem;
}
* {
  word-break: break-word;
}

/* Largeur des champs des formulaires */
.webform-submission-form input[type=text],
.webform-submission-form input[type=number],
.webform-submission-form input[type=email],
.webform-submission-form input[type=password],
.webform-submission-form input[type=tel],
.webform-submission-form input[type=search],
.webform-submission-form input[type=date],
.webform-submission-form input[type=file],
.webform-submission-form select,
.webform-submission-form textarea,
.webform-submission-form .form-control {
  width: 48rem;
  word-break: break-word;
}
.webform-submission-form .form-item > label:not(:first-child) {
  max-width: 45.5rem;
  word-break: break-word;
}
.webform-submission-form  .form-actions {
  max-width: 48rem;
}

.panel-body, .panel-heading {
  width: 100%;
}
.panel-heading {
  margin-bottom: 1.5rem;


}

.contacts__item__email a , .contacts__item__tel a {
  text-decoration: none;
}
form.search-block__form .form-actions {
  margin-left: 5rem !important;
}
form.search-block__form .form-item > label {
  min-width: 5rem !important;
  width: auto !important;
  max-width: 30rem !important;
  text-align: left !important;
  margin: 0 1rem 0 0 !important;
}
form.search-block__form .input-select-group {
  margin-right: 4rem !important;
}
.news__item a {
  min-width: 90% !important;
}
body.no-site-top {
  padding-top: 16rem !important;
}
.field--name-field-texte-wysiwyg{
  margin-bottom: 5rem;
}
@media screen and  (max-width: 768px){
  #button{
    display:none;
  }
  form.search-block__form .form-actions{
    margin-left: 0rem !important;
  }
  form.search-block__form{
    text-align: center !important;
  }
}

/* Résultats de la page de recherche */
.serp_main {
  width: 100%;
}
.serp_main label {
  word-break: normal;
}

/* Icônes de la page de recherche */
.info-label--modality::before {
  content: '\f737';
}
.info-label--cost::before {
  content: '\f153';
}
.info-label--level::before {
  content: '\f19d';
}

/* Événements */
.events__location a {
  text-decoration: none;
}
.events__location a:hover {
  text-decoration: underline;
}

/*FAQ*/
a.news__item__more.btn-arrow.faq_link {
  float: left;
}

.accordion__title .btn-expand:hover,
.accordion__title .btn-expand:active,
.accordion__title .btn-expand:focus {
  color: inherit;
  text-decoration: none;
}
ul.ui-autocomplete li::before {
  content: "";
  height: 0 !important;
  width: 0 !important;
  background: transparent !important;
  color: transparent !important;
}

/*Pages Liste*/
.news__item__content.liste_page .news__item__date,
.news__item__content.liste_page span.detail-top__lead {
  margin-bottom: 1rem !important;
}

.news__item__content.liste_page .news__item__title {
  margin-bottom: 0.5rem !important;
}

/* Galerie Média */

.field--name-field-galerie .media img,
.field--name-field-galerie .media video,
.field--name-field-galerie .media iframe {
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
  opacity: 1;
}

.field--name-field-galerie .media:hover img,
.field--name-field-galerie .media:hover video,
.field--name-field-galerie .media:hover iframe {
  -webkit-transform: scale(1.3);
  transform: scale(1.3);
  opacity: .5;
}
/* Remontée d'actualités */
.news__item {
  height: auto;
}
/* Entrée par niveau d'entrée. */
.accordion__content a {
  text-decoration: none;
}
.accordion__content a:hover {
  text-decoration: underline;
  text-decoration-color: #4E55A2;
}
.accordion__content h4{
  font-size: 2rem;
  margin-bottom: 0;
}
/* Formations par niveau de sortie. */
.filters--formation .form {
  margin: 0;
}
/* Actualité */
.field--name-field-actualite-description {
  margin-bottom: 10rem;
}
/* Body. */
body {
  padding-top: 16rem!important;
}
.user-logged-in {
  padding-top: 24rem!important;
}
/* Menu admin mobile. */
.user-logged-in #toolbar-bar {
  position: fixed;
}
.user-logged-in .toolbar-oriented .toolbar-tray-vertical {
  width: 20rem;
}
.user-logged-in .toolbar-oriented .toolbar-tray-vertical a {
  word-break: initial;
}
/* Header. */
.user-logged-in .header-site {
  top: 8rem;
}
.user-logged-in .header-site a {
  word-break: normal;
}

/** Evolution Logo **/
.header-site a.lien-site-logo {
  @media (min-width: 767.98px) {
    display: block;
  }
}
.js-scrolled .header-logo .header-logo__baseline {
  @media (min-width: 767.98px) {
    font-size: 0.8rem;
    margin-top: 0.3rem;
  }
}
.header-logo__baseline {
  @media (min-width: 767.98px) {
    margin-left: 0 !important;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    text-align: right;
  }
}

/** Evolution Logo **/

/* Header mobile. */
.user-logged-in .header-site__mobile {
  top: 5rem;
}
/* Pagination. */
.pagination__first a::before {
  content: '\f323';
}
.pagination__previous a::before {
  content: '\f053';
}
/* Paragraphe lieu. */
.title-align-center {
  text-align: center;
  width: 100%;
}
/* Précédent et suivant. */
.form .preinscriptionform-form #edit-submit-cancel,
.form .preinscriptionform-form #validate,
.form .preinscriptionform-form input[type=submit],
.form .preinscriptionform-form button {
  background-color: #0063A1;
  border: 1px solid #0063A1;
}
.form .preinscriptionform-form #edit-submit-cancel:hover,
.form .preinscriptionform-form #validate:hover,
.form .preinscriptionform-form input[type=submit]:hover,
.form .preinscriptionform-form button:hover {
  color: #0063A1;
  border: 1px solid #0063A1;
}
@media (max-width: 767.98px) {
  #formation-search-form .search-block__form__content {
    flex: 0 0 100%;
  }
}
/* Page de recherche. */
.facets__item ul.item-list__custom_range_slider li {
  display: block;
}
.facets__item ul li {
  margin: 0 0 1.2rem;
  display: inline-flex;
  align-items: first baseline;
  width: 100%;
}
.facets__item ul li [type=radio], .facets__item ul li [type=checkbox] {
  top: 0.1rem;
}
/* Popin weform. */
#drupal-modal .content-block {
  margin: 0;
  padding: 1rem 0;
}
.ui-dialog-titlebar > span{
  font-weight: normal;
}
/* Local tasks. */
.local-tasks {
  position: fixed;
  z-index: 99;
  top: 26rem;
  left: 2rem;
  background: white;
  display: flex;
  justify-content: center;
}
.local-tasks ul {
  margin: 0;
  padding: 1rem 1.5rem 1rem 3rem;
}
.local-tasks ul li {
  display: block;
  margin: 0;
  max-width: 11rem;
}
.local-tasks ul a {
  text-decoration: none;
}
.local-tasks ul a:hover {
  text-decoration: underline;
}
/* Local tasks dans la page de login. */
.path-user .local-tasks {
  position: initial;
  margin: 13rem 0 4rem;
}
.path-user .local-tasks ul li {
  display: inline-block;
  margin: 0;
  max-width: none;
  margin-right: 2rem;
}
.path-user .local-tasks ul li::before {
  content: none;
}
/* Login. */
#user-login-form {
  margin-bottom: 4rem;
}
#user-login-form input {
  border: 1px solid #aaa;
}
#user-login-form .help-block {
  margin: 1rem;
}
.header-main {
  background-color: white;
}
.header-main .container {
  padding: 0 0 1.5rem;
}
.js-scrolled .header-main .container {
  @media (min-width: 768px) {
    margin-bottom: 1rem;
    padding-top: 1rem;
  }
}
@media (min-width: 768px) {
  .js-scrolled .header-site {
    transform: translate3d(0, -3rem, 0);
  }
}
.js-scrolled .header-logo {
  transform: scale3d(0.8, 0.8, 1);
}
.site-top__media::after {
  opacity: 0.5;
}
article[typeof="schema:Person"] {
  padding-bottom: 4rem;
}
/* Tarte au citron. */
.tarteaucitronAlertSmallBottom {
  border-radius: 3px 0 0 0;
  transition: all 0.15s ease-out 0s;
  z-index: 7 !important;
}
#tarteaucitronManager {
  border-radius: 3px 0 0 0;
  background: #2daae1 !important;
  transition: all 0.15s ease-out 0s;
}
#tarteaucitronManager:hover {
  background-color: #262871 !important;
}
#tarteaucitronCookiesNumber {
  display: none !important;
}
#tarteaucitronDot #tarteaucitronDotGreen {
  background-color: #337ab7 !important;
}
#tarteaucitronDotRed {
  background-color: #fff !important;
}
#tarteaucitronRoot #tarteaucitronAlertBig {
  width: 60% !important;
  min-width: 285px !important;
  height: auto !important;
  margin: auto !important;
  left: 50% !important;
  top: 50% !important;
  bottom: auto;
  transform: translate(-50%, -50%) !important;
  display: block;
  box-shadow: 0px 0px 900px !important;
  padding: 50px !important;
  font-size: 15px !important;
  position: fixed !important;
  z-index: 2147483645 !important;
  text-align: center !important;
  box-sizing: border-box !important;
  background: #f5f5f5 !important;
  color: #222222 !important;
  border-radius: 5px !important;
}
#tarteaucitronAlertBig #tarteaucitronDisclaimerAlert {
  color: #222222 !important;
  display: block !important;
}
#tarteaucitronAlertSmall {
  background: transparent !important;
  left: 0 !important;
}
#tarteaucitronRoot #tarteaucitronAlertBig button {
  margin: 5px 5px !important;
  text-transform: uppercase !important;
  border-radius: 3px !important;
  transition: background-color 0.3s,box-shadow 0.3s,color 0.3s !important;
  box-shadow: 0px 2px 1px rgba(0,0,0,0.1), 0px 1px 3px rgba(0,0,0,0.3) !important;
  text-align: center !important;
  white-space: nowrap !important;
  position: relative !important;
  outline: 0 !important;
  transition: all 0.3s ease-out !important;
}
#tarteaucitronRoot #tarteaucitronAlertBig button:hover {
  box-shadow: 0px 3px 2px rgba(0,0,0,0.1), 0px 2px 4px rgba(0,0,0,0.4) !important;
  transition: all 0.3s ease-out !important;
}
#tarteaucitronAlertBig #tarteaucitronDisclaimerAlert {
  font-size: 20px !important;
  color: #222 !important;
  text-align: center !important;
  padding-top: 1em !important;
  padding-bottom: 2em !important;
}
#tarteaucitronDisclaimerAlert span {
  width: 100% !important;
}
#tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronPersonalize {
  color: #fff !important;
  background-color: #20b309 !important;
}
#tarteaucitronCloseAlert {
  font-size: 14px !important;
  margin-bottom: 3px !important;
}

/** Changer texte du bouton "Demander une brochure" et candidater **/
.page-node-type-formation .site-top__buttons .btn-primary,
.page-node-type-formation .site-top__buttons .btn-primary:hover,
.page-node-type-formation .site-top__buttons .btn-outline-primary,
.page-node-type-formation .site-top__buttons .btn-outline-primary:hover {
  background-color: var(--theme-color);
  color: white;
  border-color: var(--theme-color);
}
/** Fin - Changer texte du bouton "Demander une brochure" et candidater **/

@media (min-width: 767.98px) {
  .header-main ul {
    margin: 0;
  }
  .header-main .menu-dropdown {
    display: block;
    overflow: auto;
    left: inherit;
    right: inherit;
    background: transparent;
    position: relative;
    top: 1rem;
    width: fit-content;
    margin-top:2rem;
  }
  .main-nav > ul > li > a, .main-nav > ul > li > span {
    width: 15rem;
    text-align: center;
    padding: 3.8rem 1.25rem;
  }
  .js-scrolled .main-nav > ul > li > a, .js-scrolled .main-nav > ul > li > span {
    padding: 3rem 1.25rem;
  }
  .main-nav > ul {
    align-items: flex-start;
  }
  .main-nav > ul > li {
    width: 14rem;
    height: 9rem;
  }
  .header-main .second-nav{
    margin-left: 5rem;
  }
  .header-main ul li::before {
    display: none !important;
  }
  .js-has-submenu-opened .header-site{
    background-color: white;
  }
  .header-main .menu-dropdown__top {
    padding: 0;
  }
  #mask-layer {
    display: none;
  }
  .header-main .menu-dropdown a {
    display: inline-block;
    width: 25rem;
    background: white;
    color: rgb(0, 99, 161);
    font-size: 14px;
    font-weight: 600;
    padding: 1rem 1rem 1rem 0;
    border-bottom: 1px solid gray;
  }

  ul.sousmenu1{
    background: white;
    width: 45%;
    padding: 1rem;
    box-shadow: inset 4px 0 0 var(--theme-color);
  }
  ul.sousmenu1.notopen{
    width: 98%;
  }
  ul.sousmenu1 ul {
    width: 32rem;
    background: white;
    position: inherit;
    display: none;
    margin-left: 0;
    padding: 1rem;
    margin-top: -1rem;
    margin-right: 0;
    float: right;
  }
  li.sous-menu2{
    width: 25rem;
    background: white;
  }
  li.sous-menu2.js-submenu-opened2 {
    width: 57rem;
  }
  li.js-submenu-opened2 ul{
    display: block;
  }
  .header-main .menu-dropdown .sous-menu2 ul li a {
    color: inherit;
    font-size: 1.4rem;
    font-weight: normal;
    width: 30rem;
    border-bottom: 1px solid gray;
  }
}
@media (min-width: 768px) and (max-width: 1400px) {
  .header-main .second-nav {
    margin-left: 2rem;
  }
}

/*********** Honeypot ************/
[class*="form-item-link-code"] {
  display: none !important;
}
/*********** Fin Honeypot ************/

/*********** Captcha ************/
[data-drupal-selector="edit-captcha"] {
  margin: 0;
  border: none;
}
[data-drupal-selector="edit-captcha"] .captcha__title {
  font-size: 2.25rem;
}
[data-drupal-selector="edit-captcha"] .form-item-captcha-response {
  display: block;
}
[data-drupal-selector="edit-captcha"] .captcha__description {
  display: none;
}
[data-drupal-selector="edit-captcha"] label[for="edit-captcha-response"] {
  width: unset;
  font-size: 2rem;
}
/*********** Fin Captcha ************/
