body{
    background:#f0f0f0;
}

.on {
    font-weight: normal;
}

a, a:visited {
    text-decoration: none;
    color: #db1762;
}

a:focus, a:hover, a:active {
    background-color: #c41558;
    color: #fff;
    text-decoration: none;
}

a .texte-lien:focus,
a .texte-lien:hover,
a .texte-lien:active {
    text-decoration: underline;
}

/* Flèche "lien extérieur" comme le style spip_out */
a.spip_glossaire::after {
    content: "\0000a0\279A";
}

/* Marges verticales à 0 pour les listes imbriquées */
ul.spip ul.spip {
    margin-bottom: 0;
}

table.spip caption {
    caption-side: top;
}

/* Marges à 0 pour les fieldset des formulaires */
/* -> pour éviter des marges énormes dans le forum */
.formulaire_spip fieldset {
    margin: 0 0 0;
    padding: 0 0;
}

/* Taille des titres */

/* xs */
.h1, h1 {
    font-size: 1.6rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-weight: bold;
}
/* sm */
@media (min-width: 768px) {
    .h1, h1 {
	font-size: 1.9rem;
    }
}
/* md et lg */
@media (min-width: 992px) {
    .h1, h1 {
        font-size: 2.2rem;
    }
}
/* lg */
/* @media (min-width: 1200px) {
   .h1 {
   font-size: 1.5rem;
   }
   } */

.h2, h2 {
    font-size: 1.4rem;
    font-weight: bold;
}
/* sm */
@media (min-width: 768px) {
    .h2, h2 {
	font-size: 1.6rem;
    }
}
/* md et lg */
@media (min-width: 992px) {
    .h2, h2 {
        font-size: 1.8rem;
    }
}

.h3, h3 {
    font-size: 1.2rem;
}
/* sm */
@media (min-width: 768px) {
    .h3, h3 {
	font-size: 1.35rem;
    }
}
/* md et lg */
@media (min-width: 992px) {
    .h3, h3 {
        font-size: 1.5rem;
    }
}

.h4, h4 {
    font-size: 1.1rem;
}
/* sm */
@media (min-width: 768px) {
    .h4, h4 {
	font-size: 1.2rem;
    }
}
/* md et lg */
@media (min-width: 992px) {
    .h4, h4 {
        font-size: 1.3rem;
    }
}

.lien_section {
    display: none;
    margin-left: 1rem;
    font-size: 0.8rem;
}

h1:hover > .lien_section, h2:hover > .lien_section, h3:hover > .lien_section, h4:hover > .lien_section {
    display: inline;
}

.page {
    margin: 1rem auto;
}

/* md et lg */
@media (min-width: 992px) {
    .page {
        margin: 2rem auto;
    }
}

.page-header {
    margin-bottom: 0.5rem;
}

@media (min-width: 992px) {
    .page-header {
        margin-bottom: 1rem;
    }
}

.page-header .h1 a {
    color: #000000;
}

.page-header .h1 a:hover {
    color: #c41558;
    background: none;
}

.user-mngt {
    text-align: right;
}

.main {
    padding: 0;
}

.wrapper, .aside {
    float: none;
    margin-bottom: 0.5rem;
}

p.arbo {
    background: #ffffff;
    margin-bottom: 10px;
}

.content{
    background: #ffffff;
    /* height: 100%; */
    min-height: 0;
}
.wrapper .content {
    padding: 5px;
}

.type_article {
    font-size: 0.8em;
}

.emergency_icon {
    color: red;
    padding-left: 3px;
    font-size: 0.8em;
}

.note {
    padding-left: 20px;
    color: #808080;
}

footer {
    padding: 1em 0 0;
    margin: 0;
    border-top: 1px solid #999;
}

.generator {
    text-align: right;
}

.generator a {
    background: none;
}

.acces-restreint {
    font-size: 0.8em;
    color: orange;
}



/* Lien */

a:hover .emergency_icon {
    color: #ffffff;
}

.export_ical {
    color: #c41558;
}

.export_ical:focus, .export_ical:hover, .export_ical:active {
    background-color: #c41558;
    color: #fff;
    text-decoration: none;
}

/* Menu général */

.navsub ul {
    list-style-type: none;
}

.navsub li {
    margin: 0;
}

.nav-item {
    display: block;
    background: #ffffff;
    color: #db1762;
    margin: 0;
    margin-bottom: 5px;
    border-radius: 0
}

.nav-item.nav-level-0 {
    padding-left: 5px;
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 1.05em;
    font-weight: bold;
}

.nav-item.nav-level-0.on {
    font-weight: bold;
}

.nav-item.nav-level-1 {
    padding-left: 20px;
}

.nav-item.nav-level-2 {
    padding-left: 35px;
    font-size: 0.9em;
}

.nav-item.nav-level-3 {
    padding-left: 45px;
    font-size: 0.8em;
}

.nav-item.nav-level-4 {
    padding-left: 55px;
    font-size: 0.8em;
}

.nav-item:focus,
.nav-item:hover,
.nav-item:active {
    background: #c41558;
    color: #fff;
}

.nav-item:hover > a.nav-lien {
    color:#fff;
}

/* .nav li {
   display: block;
   margin: 0;
   } */

.nav-item.on {font-weight: normal}
.nav-item.en-cours { background: #c41558;}
.nav-item.en-cours a,
.nav-item.en-cours a:visited {
    color:#fff;
}

.nav.item a {
    background: none;
}

.nav-item .arrow-zone,
.afficher-infos-article .arrow-zone,
.afficher-infos-evt .arrow-zone,
#afficher-aide-telecharger-planning .arrow-zone,
#afficher-destinataires-planning .arrow-zone,
#afficher-export-agenda .arrow-zone,
#titre-sommaire .arrow-zone,
.plan-sem-num-semaine .arrow-zone,
.plan-sem-annee .arrow-zone{
    padding: 0;
    margin: 0;
    display: inline-block;
    min-width: 22px;
}

.nav-item .arrow,
.afficher-infos-article .arrow,
.afficher-infos-evt .arrow,
#afficher-aide-telecharger-planning .arrow,
#afficher-destinataires-planning .arrow,
#afficher-export-agenda .arrow,
#titre-sommaire .arrow,
.plan-sem-num-semaine .arrow,
.plan-sem-annee .arrow{
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    margin: 5px;
    margin-right: 0.5em;
    vertical-align: middle;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.nav-item:hover .arrow {
    border-color: white;
}

.nav-item.on .arrow,
.afficher-infos-article.on .arrow,
.afficher-infos-evt.on .arrow,
#afficher-aide-telecharger-planning.on .arrow,
#afficher-destinataires-planning.on .arrow,
#afficher-export-agenda.on .arrow,
#titre-sommaire.on .arrow,
.plan-sem-num-semaine.on .arrow,
.plan-sem-annee.on .arrow{
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.nav-item.en-cours .arrow {
    border-color: white;
}

.nav-item.on:hover .arrow,
.nav-item.on.en-cours .arrow {
    border-color: white;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}


.nav-urgence, .nav-icons {
    display: inline-block;
    margin: 0;
    text-align: center;
}
.nav-urgence {
    width: 15%;
}
.nav-icons {
    width: 35%;
}
.nav-recherche {
    display: inline-block;
    width: 47%;
    margin: 0;
}
.nav-urgence a {
    display: inline-block;
    width: 1.5rem;
    font-weight: bold;
    font-size: 1em;
    text-align: center;
    color: #ffffff;
    background: red;
    border-radius: 3px;
}
.nav-icons a {
    display: inline-block;
    width: 1.5rem;
}
/* md et lg */
@media (min-width: 992px) {
    .nav-urgence, .nav-recherche {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
        border: none;
    }
    .nav-urgence a {
        width: 100%;
    }
    .nav-icons {
        display: none;
    }
}


/* Fil d'Ariane */

.arbo {
    display: block;
}

.arbo a {
    text-decoration: underline;
}


/* Articles */

.cartouche h1 {
    margin-bottom: 1rem;
}

.afficher-infos-article,
.info-article,
.afficher-infos-evt,
.info-evt {
    margin: 0;
    font-style: italic;
    font-size: 0.9rem;
}

.afficher-infos-article:hover,
.afficher-infos-article.on,
.afficher-infos-evt:hover,
.afficher-infos-evt.on,
#titre-sommaire:hover,
#titre-sommaire.on {
    background-color: #FBFFBA;
}

.infos-article-on,
.infos-evt-on,
#contenu-sommaire {
    background-color: #FBFFBA;
}

.alert {
    position: static;
}

.alert > ul.spip {
    margin-bottom: 0;
}

/* p.info-publi {
   margin: 0;
   } */

p.mots-cle-article {
    font-style: italic;
    font-size: 0.9rem;
}

.info-article-part, .info-evt-part {
    margin: 0;
    margin-left: 2rem;
    font-style: italic;
    font-size: 0.9rem;
}

p.spip_code {
    margin-bottom: 1.5em;
}

.info p {
    margin: 0;
}

.alert p {
    margin: 0;
}

.alert .fas {
    margin-right: 1rem;
}

.alert .autobr {
    display: none;
}

.texte .blockquote {
    color: #505050;
    font-size: 1rem;
}

.texte .blockquote .fa-quote-left {
    color: #505050;
    border: none;
}

.texte blockquote p {
    margin: 0;
}

#sommaire {
    margin: 0;
    margin-bottom: 3rem;
}

#contenu-sommaire {
    display: none;
    font-size: 0.8rem;
}

/* md et lg */
@media (min-width: 992px) {
    #sommaire {
	float: right;
	width: 300px;
	margin: 0;
	margin-left: 2rem;
	margin-bottom: 3rem;
    }

    #contenu-sommaire {
	display: block;
    }
}

#titre-sommaire {
    margin: 0;
    font-weight: bold;
    font-style: italic;
    font-size: 1rem;
}

#contenu-sommaire ul {
    margin: 0;
    list-style-type: none;
}

.sommaire-niveau-1 {
    padding-left: 0.2rem;
}

.sommaire-niveau-2 {
    padding-left: 0.4rem;
}

.sommaire-niveau-3 {
    padding-left: 0.6rem;
}

.sommaire-niveau-4 {
    padding-left: 0.8rem;
}

/* Agenda */

.evt-rouge {
    /* background-color: #FF6666 !important; */
    background-color: #F8797A !important;
    color: #000000 !important;
}

.evt-rose {
    background-color: #FFCCCC !important;
    color: #000000 !important;
}

.evt-bleu {
    /* background-color: #77CFFC !important; */
    background-color: #87B6FA !important;
    color: #000000 !important;
}

.evt-bleu-clair {
    /* background-color: #00FFFF !important; */
    background-color: #98F1FE !important;
    color: #000000 !important;
}

.evt-vert {
    background-color: #90FFAF !important;
    color: #000000 !important;
}

.evt-jaune {
    background-color: #EEFD95 !important;
    color: #000000 !important;
}

.evt-violet {
    background-color: #EEA5FC !important;
    color: #000000 !important;
}

.evt-orange {
    background-color: #FBC383 !important;
    color: #000000 !important;
}

.evt-gris {
    background-color: #CCCCCC !important;
    color: #000000 !important;
}

/* Évènement transparent */
.evt-transp {
    opacity: 0.25;
    filter: alpha(opacity=25); /* For IE8 and earlier */
}

/* .fc-event-container a.evt-bleu:hover,
   .fc-event-container a.evt-rouge:hover {
   color: #000000;
   } */

.popover-body .modifier-evt {
    display: inline-block;
    float: right;
}

#afficher-export-agenda {
    margin: 0;
    margin-top: 20px;
}

#afficher-export-agenda.on {
    font-weight: 500;
}

#export-agenda {
    padding: 2px;
}

#export-agenda,
#afficher-export-agenda.on,
#afficher-export-agenda:hover{
    background-color: #FBFFBA;
}

#export-agenda ul {
    margin: 0;
    margin-left: 30px;
    list-style-type: square;
}

#export-agenda ul li {
    margin: 0;
}

p.export-agenda-type {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    background-color: #DDDDDD;
}

span[id^="changer-cases-"] {
    font-size: 0.8rem;
    color: #c41558;
    font-weight: normal;
}

li[id^="ical-type-evt-"],
#ical-medecin {
        display: none;
        margin-left: 20px;
        margin-bottom: 10px;
        font-size: 0.8em;
        background-color: #d8e7ff;
        word-break: break-all;
}

li[id="ical-type-evt-0"] {
        display: none;
        margin-left: 20px;
        margin-bottom: 10px;
        font-size: 0.8em;
        color: #FF0000;
        background-color: #d8e7ff;
        word-break: break-all;
}

span#ical-medecin-erreur {
    display: none;
}

#legende-agenda {
    margin: 0;
    list-style-type: square;
}

.config-agenda {
    padding-bottom: 10px;
}

ul .legende-agenda-type-evt {
    list-style-type: none;
}

.legende-agenda-type-evt > li > label {
    margin: 0;
}

.legende-agenda-ajout {
    /* display: none; */
    margin-left: 1rem;
}

.garde-type-medecin {
    font-weight: bold;
}
/* ul .legende-agenda-type-evt li:hover > .legende-agenda-ajout {
   display: inline;
   } */

.legende-agenda-couleur {
    display: inline-block;
    width: 2rem;
    height: 1rem;
    margin-right: 0.5rem;
    border: 0px solid;
    border-radius: 3px;
}

a.fc-event {
    border-color: #A0A0A0;
}

/* xs */
.fc-time, .fc-title {
    font-size: 0.4rem;
}
/* sm */
@media (min-width: 768px) {
    .fc-time, .fc-title {
        font-size: 0.6rem;
    }
}
/* md et lg */
@media (min-width: 992px) {
    .fc-time, .fc-title {
        font-size: 0.83rem;
    }
}

.adresse-ical {
    font-size: 0.9rem;
    color : #565656;
}
.adresse-ical:hover {
    background-color: #FBFFBA;
}

/* Formulaires */
.formulaire-message {
    margin: 0;
    color: #0000FF;
}

.formulaire-erreur {
    margin: 0;
    color: #FF0000;
}

.champs-erreur {
    color: #FF0000;
}

.reponse_formulaire_ok a {
    color: #ffffff;
}

/* Modification des gardes */
.garde-caracteristique {
    margin-bottom: 16px;
}

.garde-label {
    font-weight: bold;
}

.garde-date ul {
    list-style-type: none;
}

.garde-date label {
    display: inline-block;
    width: 60px;
}

.garde-date input[type="number"] {
    width: 4rem;
}

.garde-a-prevenir label {
    margin: 0;
}

/* Formulaire */

div.editer {
    margin-top: 1em;
    margin-bottom: 1em;
}

div.editer > label {
    font-weight: bold;
}

span.obligatoire {
    color: #FF0000;
}

em.attention {
    color: #cb6934;
}

label.on {
    font-weight: normal;
}

.formulaire_spip .boutons {
    text-align: center;
}

.formulaire_spip .boutons .submit {
    color: #fff;
    background-color: #007bff;
    border: 1px solid transparent;
    border-color: #007bff;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
}

/* Planning de semaine */

#afficher-aide-telecharger-planning,
#aide-telecharger-planning ul,
#afficher-destinataires-planning,
#destinataires-planning ul {
    margin: 0;
    font-style: italic;
    font-size: 0.9rem;
}

#aide-telecharger-planning,
#destinataires-planning {
    padding-left: 2em;
}

#aide-telecharger-planning,
#afficher-aide-telecharger-planning.on,
#afficher-aide-telecharger-planning:hover,
#destinataires-planning,
#afficher-destinataires-planning.on,
#afficher-destinataires-planning:hover {
    background-color: #FBFFBA;
}

.plan-sem-annee {
    font-size: 1.3em;
    background-color: #DDDDDD;
    border-top: 2px solid #444444;
    margin-top: 10px;
}

.plan-sem-semaines {
    display: none;
    margin-left: 1em;
}

.plan-sem-semaines.on {
    display: block;
    font-weight: normal;
}

.plan-sem-num-semaine {
    background-color: #EEEEEE;
    border-top: 1px solid #CCCCCC;
}

.plan-sem-num-semaine.on {
    font-weight: normal;
}

.plan-sem-limites-semaine {
    display: none;
    margin-left: 2em;
    font-size: 0.8em;
    color: #666666;
}

.plan-sem-num-semaine:hover > .plan-sem-limites-semaine {
    display: inline;
}

.plan-sem-fichiers {
    display: none;
    margin-left: 1em;
    font-weight: normal;
}

.plan-sem-fichiers.on {
    display: block;
}

.plan-sem-pdf {
    display: inline-block;
    width: 49%;
    vertical-align: top;
}

.plan-sem-csv {
    display: inline-block;
    width: 49%;
    vertical-align: top;
}

.plan-sem-csv-prec p {
    margin: 0;
    font-size: 0.8em;
}

.plan-sem-csv-prec a {
    font-size: 0.8em;
}

.plan-sem-csv-prec-fichiers {
    display: none;
}

.plan-sem-csv-prec:hover > .plan-sem-csv-prec-fichiers {
    display: block;
}
