/** Titres, Lien & btn **/
a {
  color: #dd2d10;
}

.UL1button a {
  color: #ffff;
}

.UL1button {
  background: #376b8b;
  border: 1px solid #376b8b;
  border-radius: 20px;
  padding: 0 1rem;
}

.UL1button a:hover {
  color: #376b8b;
}

.UL1button:hover {
  border-radius: 20px;
  transition: none;
}

.pagelibre h1 {
  color: #376b8b !important;
}

.pagelibre h2 {
  color: #376b8b !important;
  text-transform: uppercase;
}

.pagelibre div.contenu h3 {
  color: #dd2d10;
}

.pagelibre h4 {
  color: #000000;
}

h5 {
  color: #dd2d10;
}

#container_PC_nav a {
  color: #dd2d10;
}

/** Menu **/

#menu_vousetes_small {
  right: 3.7rem;
  background-color: #376b8b;
}
#cssmenu a {
  padding: 0 0.79rem;
}

#bandeau_menu {
  width: 70em;
}

.sb-search {
  background: #dd2d10;
}

#cssmenu ul li ul {
  width: auto;
}

#cssmenu ul ul a {
  color: #ffff;
}

#cssmenu ul li ul li.niv1.first a {
  background-color: #376b8b;
}

#cssmenu > ul > li.active:after {
  color: #376b8b;
}

/** Container **/

@media screen and (min-width: 80.5em) {
  div.visuel-rubrique {
    height: 10rem;
  }
  #page {
    max-width: 70rem;
    padding-top: 1rem;
  }
  #menu {
    max-width: 70rem;
  }
  #fil-ariane {
    width: 70rem;
  }
  #page_deco {
    width: 70rem;
  }
  #contenu_sans_nav_sans_encadres {
    max-width: 70rem;
    width: 70rem;
  }
  #cssmenu a {
    padding: 0 1.7em 0 1.7em;
  }
  #container-container-plan-site {
    max-width: 70em;
  }
  #PC_nav {
    width: 70rem;
  }
}

/** STYLE 1 **/

.pagelibre div.paragraphe--1 h2 {
  font-size: 1.5rem;
  padding-left: 0;
  background-color: transparent;
  text-transform: uppercase;
  border-bottom: 4px solid #376b8b;
  width: fit-content;
  margin-bottom: 0.5em;
}

.paragraphe--1 {
  color: #000000;
}

.paragraphe--1 h2:after {
  display: none;
}

/** STYLE 2 **/
.pagelibre div.contenu div.paragraphe--2 h2 {
  text-align: left;
  background-color: transparent;
  font-size: 1.5rem;
}

.pagelibre .paragraphe--2 {
  border: 2px solid #376b8b;
  padding: 1em;
  color: #000000;
}

/** STYLE 3 **/
.pagelibre div.paragraphe--3 {
  padding: 1rem;
}

.paragraphe__titre--3 {
  padding: 0.6rem;
  font-size: 1.5rem;
}

/** Actualites **/
.avec_vignette_enligne .container_td:after {
  border-color: transparent #376b8b transparent transparent;
}

.avec_vignette_enligne .container_td {
  background: #376b8b;
}

/** Search bar **/

.mfp-close-btn-in .mfp-content .mfp-close:hover,
.mfp-close-btn-in .mfp-content {
  color: #376b8b;
}

.mfp-content .sb-search-button,
.mfp-content .search__button {
  background: #376b8b;
}

.mfp-content .sb-search-input,
.mfp-content .search__input.search__input--default {
  border-left: 5px solid #376b8b;
}

/** Onglets et accordeons **/

.tabs_wrapper,
.accordion_wrapper {
  padding: 1em !important;
}

.tabs_toggler button.tabs_toggler__btn,
.accordion_toggler button.accordion_toggler__btn,
.accordion_toggler .accordion_toggler button,
.tabs_toggler .tabs_toggler.desktop-only button {
  font:
    600 1rem/1 Arial,
    "Helvetica Neue",
    Helvetica,
    "Bitstream Vera Sans",
    sans-serif;
}

.ckeditor-tabs {
  padding-top: 2em;
}

.tabs_toggler__btn {
  padding: 0.8em 2.5em !important;
}

.tabs_toggler.desktop-only {
  margin: 0 !important;
  border-left: 2px solid #f3f3f3 !important;
  border-right: 2px solid #f3f3f3 !important;
  border-top: 2px solid #f3f3f3 !important;
}

.accordion_toggler {
  border: 2px solid #f3f3f3;
  margin-bottom: 0.5em !important;
  background-color: #f3f3f3;
  color: #000000;
}

.accordion_wrapper.active {
  display: block;
  border: 2px solid #f3f3f3;
  margin-bottom: 1em;
}

.accordion_wrapper.active p,
.tabs_wrapper.active p {
  color: #000000;
}

.tabs_toggler.desktop-only:focus::before,
.tabs_toggler.desktop-only:focus-within::before,
.tabs_toggler.desktop-only:hover::before,
.tabs_toggler.desktop-only.active::before {
  width: 100% !important;
}

.tabs_toggler.desktop-only:focus::before,
.tabs_toggler.desktop-only:focus-within::before,
.tabs_toggler.desktop-only:hover::before,
.tabs_toggler.desktop-only.active::before {
  border-left: 1px solid #376b8b !important;
  border-right: 1px solid #376b8b !important;
  background-color: #376b8b !important;
}

.tabs_toggler.desktop-only:focus,
.tabs_toggler.desktop-only:focus-within,
.tabs_toggler.desktop-only:hover,
.tabs_toggler.desktop-only.active {
  background-color: #fff;
  border-left: 1px solid #f3f3f3;
  border-right: 1px solid #f3f3f3;
}

.tabs_toggler.desktop-only button {
  color: #000000;
}

/* Responsive */
@media only screen and (max-width: 1024px) {
  .tabs_toggler {
    width: 100%;
  }
}

/**Plan du site**/
.plan-site ul li ul.plan-site__2 li:before {
  content: none;
}

.plan-site ul li ul.plan-site__2 li span.plan-site__rubrique {
  text-transform: initial;
}

#container-plan-site {
  border-bottom: none;
}

ul {
  overflow: visible;
}

.plan-site > ul > li {
  min-height: 0;
}

.visuel-rubrique #entete {
  border: none;
  padding: 0 0;
  position: relative;
}

#entete {
  top: 0;
}

#encadres h2 {
  font-size: 1.5rem;
  margin-top: 1em;
}

#cssmenu > ul > li.activefrom > a {
  -moz-box-shadow: inset 0px -5px 0px 0px #376b8b;
  -webkit-box-shadow: inset 0px -5px 0px 0px #376b8b;
  -o-box-shadow: inset 0px -5px 0px 0px #376b8b;
  box-shadow: inset 0px -5px 0px 0px #376b8b;
  filter: progid:DXImageTransform.Microsoft.Shadow(color=#376B8B, Direction=180, Strength=0);
}

#cssmenu > ul > li > a:hover {
  text-decoration: none;
  -moz-box-shadow: inset 0px -5px 0px 0px #376b8b;
  -webkit-box-shadow: inset 0px -5px 0px 0px #376b8b;
  -o-box-shadow: inset 0px -5px 0px 0px #376b8b;
  box-shadow: inset 0px -5px 0px 0px #376b8b;
  filter: progid:DXImageTransform.Microsoft.Shadow(color=#376B8B, Direction=180, Strength=0);
  background-color: #5e5e5e;
  -webkit-transition: background-color 500ms linear;
  -moz-transition: background-color 500ms linear;
  -o-transition: background-color 500ms linear;
  -ms-transition: background-color 500ms linear;
  transition: background-color 500ms linear;
}

@media screen and (min-width: 61.8125em) {
  body {
    color: #000000;
  }
}

/** Responsive **/
@media screen and (max-width: 40em) {
  #container-plan-site {
    display: block;
  }
  #cssmenu > ul > li.active:after {
    display: none;
  }
  #menu_vousetes_small .dropdown dd ul {
    min-width: 9rem;
  }
  #logo_site {
    width: 300px;
  }
}

/*CONFORT PLUS*/
#accessibilitytoolbarGraphic .ucibtn-secondary.active,
#accessibilitytoolbarGraphic .ucibtn-secondary:active,
#accessibilitytoolbarGraphic
  input[type="checkbox"]:checked
  + label.ucibtn-secondary {
  background-image: none;
  background-color: #376b8b !important;
  border-color: #000 !important;
  color: #fff !important;
}
#accessibilitytoolbarGraphic .ucibtn-primary {
  background-color: #376b8b !important;
  border-color: #000 !important;
  color: #fff !important;
  margin-left: 1.25em;
}
#accessibilitytoolbarGraphic .ucibtn-info.active,
#accessibilitytoolbarGraphic .ucibtn-info:active,
.open > #accessibilitytoolbarGraphic .ucibtn-info.dropdown-toggle {
  background-image: none;
  background-color: #376b8b !important;
  border-color: #000 !important;
  color: #fff !important;
}
#accessibilitytoolbarGraphic .uci_menu_active a:focus,
#accessibilitytoolbarGraphic .uci_menu_active a:hover {
  border-color: #9b14ff !important;
}
#accessibilitytoolbarGraphic input[type="radio"]:checked + label:before {
  border-color: #376b8b !important;
}
#accessibilitytoolbarGraphic input[type="checkbox"]:checked + label:after {
  background-color: #376b8b !important;
}
/*FIN CONFORT PLUS*/
