:root {
  --mainColor: #1A311D;
  --secondaryColor: #B39941;
  --turquoise: #7ABAB7;
  --beige: #DDD6A4;
}

html.access_fontsize {
  font-size: 14px;
  font-size: 13px;
}

html.access_contraste {
  --orange: #BE3C19;
  --orange: #9E3215;
}


/* Focus outline */
/* :focus {
  outline: var(--mainColor) dotted 1px !important;
  outline-offset: 1px;
} */


/* SKIP LINKS */
.skip-links {
  position: relative;
  top: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.skip-links a {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  position: absolute !important;
  width: 1px;
  background: #000000;
  color: #fff !important;
  font-size: 1.84rem;
  font-weight: 900;
  z-index: 32768;
  transition: none !important;
}

.skip-links a:focus {
  clip: auto;
  position: fixed;
  top: 0;
  left: 0;
  padding: 1em;
  width: 100%;
  height: 3em;
  /* line-height: 3; */
  text-align: center;
}

/* ACCESS MODULE */
/* credits : sncf.com */
.access-bar {
  position: relative;
  padding: 4px 0;
  padding-right: 15px;
  text-align: right;
  background-color: var(--mainColor);
  color: #fff;
  font-size: 1.6rem;
  font-size: 0.9rem;
  font-size: 1.1rem;
  font-size: 1.4rem;
  font-size: 1.2rem;
  /* line-height: 1.4rem; */
  line-height: 2rem;
  z-index: 10000;
  font-weight: 400;
}

.acces-container {
  display: inline-block;
  margin-left: 10px;
  position: relative;
}

.acces-container .expand_module {
  border: 0;
  background: transparent !important;
  color: #ffffff !important;
  padding: 0;
  border-radius: 0 !important;
}
.acces-container .expand_module svg {
  pointer-events: none;
}
.acces-container .expand_module:hover svg circle,
.acces-container .expand_module:focus svg circle {
  fill: var(--secondaryColor);
  fill: #000000;
}
/* .acces-container .expand_module:focus {
  outline-color: var(--mainColor) !important;
  outline-width: 1px !important;
  outline-style: dotted !important;
  outline-offset: 1px !important;
} */
.accessiblity_message,
.expand_module {
  opacity: .8;
}



.access_module {
  opacity: 0;
  visibility: hidden;
  text-align: left;
  position: fixed;
  position: absolute;
  right: 0;
  top: 100%;
  margin: 0;
  padding: 0;
  margin-top: 15px;
  padding: 25px 30px 25px 30px;
  padding: 25px;
  border-radius: 7px;
  background-color: #2e2e2e;
  color: #fff;
  z-index: 10000;
  white-space: nowrap;
  transition: all .5s ease-out, font-size 0s ease;
  transition: font-size 0s ease;

  font-size: 1.5rem;

  min-width: 320px;
  list-style: none;
} 

.access_module.show {
  opacity: 1;
  visibility: visible;
}

.module_title {
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 15px;
}

.block-popin-accessibility+.block-popin-accessibility {
  padding-top: 8px;
}

.my-toggle {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: initial;
  -webkit-justify-content: initial;
  -ms-flex-pack: initial;
  justify-content: initial;
  margin: 5px 0;
  font-weight: 500;
}

.my-toggle-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.my-toggle-checkbox-toggle {
  position: relative;
  cursor: pointer;
  margin-right: 1rem;
  margin-right: 10px;
}

.my-toggle-checkbox:focus+.my-toggle-checkbox-toggle {
  outline: rgb(0, 95, 204) auto 1px;

}

.my-toggle-checkbox-toggle::before,
.my-toggle-checkbox-toggle::after {
  display: block;
  margin: 0 3px;
  -webkit-transition: 100ms cubic-bezier(0.4, 0, 0.2, 1);
  -o-transition: 100ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: 100ms cubic-bezier(0.4, 0, 0.2, 1);
  content: "";
}

.my-toggle-checkbox-toggle::before {
  width: 48px;
  height: 24px;
  border-radius: 20px;
  background: #4D4F53;
}

.my-toggle-checkbox-toggle::after {
  position: absolute;
  top: 50%;
  left: 10%;
  width: 14px;
  height: 14px;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);
  border-radius: 50%;
  background: #A0A0A0;
  -webkit-box-shadow: 0 0 0.8rem rgb(0 0 0 / 20%), 0 0 2px rgb(0 0 0 / 40%);
  box-shadow: 0 0 0.8rem rgb(0 0 0 / 20%), 0 0 2px rgb(0 0 0 / 40%);
}

/* = checked */
.my-toggle-checkbox:checked+.my-toggle-checkbox-toggle::before {
  background: #36A7E8;
  background: var(--secondaryColor);
  background-color: #83702F;
}



.my-toggle-checkbox:checked+.my-toggle-checkbox-toggle::after {
  -webkit-transform: translate(170%, -50%);
  -ms-transform: translate(170%, -50%);
  transform: translate(170%, -50%);
  background: #fff;
}

/* = focused */
.my-toggle-checkbox:focus+.my-toggle-checkbox-toggle {
  border-radius: 7px;
  /* outline: #36A7E8 solid 0.1rem; */
  -webkit-box-shadow: 0 0 1rem #36A7E8;
  box-shadow: 0 0 1rem #36A7E8;
}


/*
#menu:focus-within {
  background-color:#aaa !important;
}

.access-menu .access_module{
  display:none;
}

.access-menu:focus-within .access_module{
  display: inline;
}
*/




/* Fix Menu accessiblity */
.main-menu__item--has-child:hover>.main-menu__sub-list,
.main-menu__item--has-child:focus-within>.main-menu__sub-list,
.main-menu__item--has-child:focus>.main-menu__sub-list,
.lang-select__item--active:hover .lang-select__sub-list,
.lang-select__item--active:focus-within .lang-select__sub-list,
.lang-select__item--active:focus .lang-select__sub-list {
  opacity: 1;
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
  visibility: visible;
}
/* Toggle Menu */
@media (min-width: 576px) {
  button.dropdown-trigger {
    display: flex !important;
  }
}


@media (max-width: 576px){
  .desktop_only {
    display: none !important;
  }
  .acces-container .expand_module>span.mobile_only {
    display: inline-block;
  }

  .access_module {
    min-width: inherit;
    padding: 15px;
  }
}

html.access_fontsize .font_size-disabled {
  display: none;
}
html:not(.access_fontsize) .font_size-enabled {
  display: none;
}
html.access_animation .animation-disabled {
  display: none;
}
html:not(.access_animation) .animation-enabled {
  display: none;
}


/* CONTRAST */
html.access_contraste {
  --turquoise: #42807B;
}
html.access_contraste .contrast-disabled {
  display: none;
}
html:not(.access_contraste) .contrast-enabled {
  display: none;
}
html.access_contraste .accessiblity_message,
html.access_contraste .expand_module {
  opacity: 1;
}
html.access_contraste #navbar-toggler {
  color: var(--mainColor);
}
html.access_contraste .filter-item .label-span,
html.access_contraste .select-wrapper > .label-span,
html.access_contraste .btn-filter.value-selected .label-span {
  color: #645426;
  opacity: 1;
}
html.access_contraste .event-details-table .label,
html.access_contraste .single-event-content .organiser-details h2,
html.access_contraste .btn-filter svg.feather-calendar,
html.access_contraste .agenda-form .filter-item .select-wrapper svg {
  color: #7F6C2E;
  color: #645426;
}
html.access_contraste #organiser-details {
  --secondaryColor: #7F6C2E;
}
/* html.access_contraste .agenda-form .filter-item input::-webkit-calendar-picker-indicator {
  color: rgba(0, 0, 0, 0);
  opacity: 1;
  display: block;
  background: url('assets/images/calendar-dark.svg') no-repeat;
  width: 20px;
  height: 20px;
  border-width: thin;
} */
html.access_contraste .btn-filter svg.feather-calendar line,
html.access_contraste .btn-filter svg.feather-plus line {
  stroke: #7F6C2E;
  stroke: #645426;
}
html.access_contraste .btn.force-color {
  background-color: var(--mainColor) !important;
}
html.access_contraste .btn:not(.go-agenda) {
  background-color: var(--mainColor);
}
html.access_contraste .btn-white {
  border-color: var(--mainColor);
  color: #ffffff;
}
html.access_contraste .footer-menu li a:hover,
html.access_contraste .footer-menu li a:focus {
  color: #fff !important;
  text-decoration: underline;
}


html.access_contraste .home-agenda .btn.go-agenda {
  background-color: #83702F;
  background-color: var(--beige);
  color: #000000;
}
html.access_contraste .home-content .listgrid .grid_description,
html.access_contraste select.custom-select,
.custom-select-wrapper:not(.default-select) select
{
  color:#000;
}
html.access_contraste .custom-select-wrapper::after{
  border-top:5px solid #000;
}
html.access_contraste body:not(.espace-partenaire) .event-item .event-date,
html.access_contraste body.page-template-template-my-events .event-item .event-date{
  color:#000;
}
html.access_contraste .event-103 .event-title::before, html.access_contraste .event-item.status-open .btn
{
  background-color:var(--turquoise);
}
html.access_contraste .event-item.status-waiting-list .btn{
  background-color:#903d2a;
}

/* title dot colors */
html.access_contraste .event-item.status-open .event-title::before {
  background-color:var(--turquoise) !important;
}
html.access_contraste .event-item.status-waiting-list .event-title::before {
  background-color:#903d2a !important;
}

html.access_contraste #back-to-top{
  box-shadow: 0px 2px 6px rgb(0 0 0 / 6%), 0px 4px 12px -2px rgb(0 0 0 / 8%), 0px 15px 32px -3px rgb(0 0 0 / 8%);
}
html.access_contraste #back-to-top path.bg-btn,
html.access_contraste #back-to-top path.bg-btn {
  fill: var(--mainColor);
}

/* Espace partenaire */
html.access_contraste body.espace-partenaire main {
  color: #ffffff;
}
html.access_contraste body.espace-partenaire .btn:not(.change_event_status):not(.btn-blue) {
  background-color: #ffffff;
  color: #000;
}
html.access_contraste .counter-span {
  color: var(--mainColor);
}
html.access_contraste body.espace-partenaire .btn-border {
  --secondaryColor: #877331;
}
html.access_contraste body.espace-partenaire #delete {
  --secondaryColor: #ffffff;
  color: #ffffff;
}
html.access_contraste body.espace-partenaire #delete:hover,
html.access_contraste body.espace-partenaire #delete:focus {
  color: #000000;
}
html.access_contraste body.espace-partenaire .delete-x:before {
  background-image: url('../images/x-white.svg');
}
html.access_contraste body.espace-partenaire .delete-x:hover:before,
html.access_contraste body.espace-partenaire .delete-x:focus:before {
  background-image: url('../images/x-black.svg');
}
html.access_contraste body.espace-partenaire #back-to-top {
  border: 1px solid #ffffff;
}

/* Page Info pratiques */
html.access_contraste body.page-template-template-infopratiques .infopratiques-wrapper {
  background: linear-gradient(#578d8a 0%, #bedddd 100%) !important;
  
  background: #bedddd!important;
  background: linear-gradient(#578d8a 0%, #bedddd 100%) !important;
  color: #000000;
}
html.access_contraste body.page-template-template-infopratiques .infopratiques-wrapper span {
  color: #000000 !important;
  font-weight: bolder;
}
html.access_contraste body.page-template-template-infopratiques .listgrid .grid_title
html.access_contraste body.page-template-template-infopratiques .contentblock ul {
  color: #000000;
}

/* Page détail partenaire */
html.access_contraste .author .partner-content{
  --secondaryColor: #7F6C2E;
}
html.access_contraste .author .partner-more-infos {
  background-color: #7F6C2E;
}
html.access_contraste .my-toggle-checkbox:checked+.my-toggle-checkbox-toggle::before {
  background: var(--secondaryColor);
}

html.access_contraste .main-navigation ul.main-menu>li.current-menu-item > a::after {
  background-color: var(--mainColor);
}

html.access_contraste select.custom-select, 
html.access_contraste #search_agenda,
html.access_contraste .custom-select-wrapper:not(.default-select) select {
  color: #000000;
}
html.access_contraste .inscription-status {
  background-color: var(--orange) !important;
}
html.access_contraste .partner-more-infos {
  color: #000000;
}
html.access_contraste .single-partner .accordion-body * {
  color: #000 !important;
}
html.access_contraste .formaccordion .accordion-button {
  color: #000 !important;
  background-color: #fff;
  background-color: var(--beige);
}
html.access_contraste .formaccordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

html.access_contraste input[type="text"].error,
html.access_contraste input[type="number"].error,
html.access_contraste input[type="date"].error,
html.access_contraste input[type="e-mail"].error,
html.access_contraste input[type="email"].error,
html.access_contraste textarea.error, .select.error {
  border-color: #FDA8A0;
}
html.access_contraste #update_partner .error_msg,
html.access_contraste .edit-form .error_msg {
  color: #FDA8A0;
}
.iti__country {
  border: 1px solid transparent;
}
.iti__country.iti__highlight {
  border: 1px solid #005fcc;
}


/* placeholders */
html.access_contraste ::-webkit-input-placeholder {
  color: #000000;
}
html.access_contraste ::-moz-placeholder {
  color: #000000;
}
html.access_contraste :-ms-input-placeholder {
  color: #000000;
}
html.access_contraste :-moz-placeholder {
  color: #000000;
}
html.access_contraste ::placeholder {
  color: #000000;
}

html.access_contraste .single-event-content.status-open .btn.btn-register {
  background-color: var(--mainColor) !important;
  color: #ffffff !important;
}