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