/* COULEURS
Turquoise #8dd3c7
Jaune pale #ffffb3
Violet pale #bebada
Rouge #fb8072
Bleu #80b1d3
Bleu foncé #5e829c
Orange #fdb462
Vert #b3de69
Rose #fccde5
Gris #d9d9d9
Violet #c295c2
Vert clair #ccebc5
Jaune #ffed6f
*/

/* DEBUG SHOW BOXES /
*{ outline: 2px solid red }

/* GLOBAL */

:root {
    --bleu: rgb(0, 147, 224);
    --bleu-transparent: rgba(0, 147, 224, 0.2);
    --vert: rgb(0, 164, 60);
    --vert-transparent: rgba(0, 255, 90, 0.2);
    --bleu-psy: #80b1d3;
    --gris: #d9d9d9;
}


h1 {
    color: #111;
    font-size: 40px;
    font-weight: bold;
    letter-spacing: -1px;
    line-height: 1;
    text-align: left;
    padding-bottom: 24px;
}

h2 {
    color: #111;
    font-size: 30px;
    font-weight: bold;
    line-height: 32px;
    margin: 0 0 1em 0;
}

p {
    line-height: 24px;
    text-justify: inter-word;
    font-size: 18px;
}
.p-small {
    line-height: 24px;
    text-justify: inter-word;
    font-size: 12px;
}
/* GLOBAL */

/* BODY */
.body-body {
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 20px 50px 50px;
  background: #ffffff;
  border-radius: 20px;
}

h1,
h2 {
  padding-top: 30px;
}

.padding-3-em {
    padding: 3em;
}
.padding-1-em {
    padding: 1em;
}
.blockquote {
    color: gray;
}

.wrapper {
    min-height: 65vh;
}

/* Scroll to top button
-------------------------------------------------- */
.scrolltop {
    background-color: #F1F1F1;
    border: 1px solid darkGray;
    border-radius: 100px 100px 100px 100px;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    display: none;
    height: 36px;
    opacity: 0.6;
    position: fixed;
    right: 2%;
    bottom: 5%;
    width: 36px;
    z-index: 9999;
}
.scrolltop span {
    position: relative;
    top: 3px;
    left: 9px;
}
/* BODY */

/* NAVBAR */
.padding-top-10 {
    padding-top: 10px;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none;
    box-shadow: none;
}
/* NAVBAR */

/* MAIN */
.text-justify {
    text-align: justify;
}

.text-align-center {
text-align: center !important;
}

.texte-bleu {
    color: #3b5b72;
}

.texte-bleu:hover {
    color: #3b5b72;
}

.texte-home {
    font-size: 1.2em;
    text-align: justify;
}

.btn-connexion {
    background-color: var(--bleu-psy);
    border-radius: 0.5em;
    font-weight: bold;
}
.btn-connexion:hover {
    background-color: var(--bleu);
}

.info {
    opacity: 0.6;
    font-size: 16px;
}

.min-height {
    min-height: inherit;
}
/* MAIN */

/* FOOTER */
html, body {
  height: 100%;
}

body {
  position: relative;
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  height: 4rem;
  box-sizing: border-box;
  background: #b8d1e1;
}

footer {
  position: relative;
  align-items: center;
  left:0;
  right: 0;
  width: 100%;
  border-radius: 10px;
  margin-top: 20px;
}

.margi-top-auto {
  margin-top: auto;
}

.footer-center-content {
    margin: auto;
    flex: auto;
}

.nav-foot-bar-color {
  background-color: var(--bleu-psy);

}

.logo-porteurs-ceress {
    width: 75%;
    border-radius: 3px;
}

.logo-porteurs-aphm {
    width: 108.909%;
    border-radius: 3px;
}

.logo {
  width: 40%;
}

.logo-home {
    width: 80%;
}

.logo-home-mon-psy {
  width: 70%;
}

.logo-smol {
    height: 50px;
}

.logo-fondamental {
    width: 50%;
}

.logo-unafam {
    width: 50%;
}

.logo-less-smol {
  height: 80px;
}

.logo-bigger {
  width: 40%;
}

.logo-psybook {
  max-width: 90%;
  height: auto;
}

.cartes-accueil {
  width: 340px;
  height: 200px;
  border-radius: 5px;
}

.copyright {
    margin-bottom: 0;
    font-size: 1rem;
}

.border-radius-10 {
    border-radius: 10px;
}

.align-right {
  display: flex;
  justify-content: end;
  align-items: end;
}

.align-left {
  display: flex;
  justify-content: start;
  align-items: start;
}
.align-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.padding-top-6-rem {
  padding-top: 6rem;
}

/* FOOTER */

/* MENU */
.nav-item .active {
  text-decoration: underline;
}

.btn-success-custom {
  background-color: #3e7c9b;
  border-color: #3e7c9b;
}

.btn-danger-custom {
  background-color: #3e7c9b;
  border-color: #3e7c9b;
}

.float-right {
  float: right;
}
/* MENU */

/* Qui sommes-nous */
.portrait {
    height: 10rem;
    display: block;
    margin: 0px auto;
}
/* Qui sommes-nous */

/* FORMS */
.form .row {
  margin: 1em 0;
}

.form .row ::first-letter {
  text-transform: capitalize;
}

.form-group {
  margin-bottom: 1rem;
}

label.required:after {
  content: " *";
  color: red;
}
.question {
  margin-top: 2em;
  font-weight: bold;
}

ul.reponses {
  list-style-type: none;
  padding-left: 0;
}

.reponses label input {
  margin-right: 0.5em;
}

.hidden {
  display: none;
}

.color-white {
    color: white;
}

/* FORMS */

/* Contact form */
#formulaire_formidable_contact label {
    color: inherit;
    padding: 0;
    font-size: inherit;
}
#formulaire_formidable_contact p.boutons {
    margin: 15px -20px -20px;
    padding: 19px 20px 20px;
    text-align: center;
}
#formulaire_formidable_contact .explication_texte p {
    margin-bottom: 0;
}


/* PATIENT VIEW */
.fiche h2 {
  margin: 1em 0;
  border-bottom: 1px solid lightgray;
}

.fiche-boutons {
    margin-left: 0 !important;
    margin-right: 16px;
}
/* PATIENT VIEW */

/* INVESTIGATEUR VIEW */
form h2 {
  margin: 2em 0;
  padding-bottom: 0.5em;
  border-bottom: 1px solid gray;
  font-size: 1.5em;
}
/* INVESTIGATEUR VIEW */

/* AVIS / ETOILES */
.rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.rating > input {
  display: none;
}

.rating > label {
  position: relative;
  width: 1em;
  font-size: 30px;
  font-weight: 300;
  color: #ffd600;
  cursor: pointer;
}

.rating > label::before {
  font-family: ForkAwesome;
  content: "\f005";
  position: absolute;
  opacity: 0;
}

.rating > label:hover:before,
.rating > label:hover ~ label:before {
  opacity: 1 !important;
}

.rating > input:checked ~ label:before {
  opacity: 1;
}

.rating:hover > input:checked ~ label:before {
  opacity: 0.4;
}

.no-hover {
  display: flex;
  pointer-events: none;
  justify-content: center;
  flex-direction: row;
}

#fiche-etoiles {
    justify-content: flex-start;
}

.fiche-avis {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
}

.fiche-avis blockquote {
    margin: 0;
}

.fiche-avis-etoiles {
    display: inline-block;
    margin-bottom: 1rem;
}

.fiche-avis-flex {
    display: flex;
    justify-content: center;
}

.carousel-btns {
    background-color: grey;
    opacity: 20%;
    border-radius: 15%;
}

.carousel {
  height:8rem;
}

.carousel p {
    margin-top: 30px;
}

.padding-cartes {
  padding: 0; 
  padding-bottom: 40px
}
/* AVIS / ETOILES */

/* PATIENT VIEW */
.card-patient {
  background-color: #dbdbdb;
}
/* PATIENT VIEW */

/* ETABLISSEMENT */
.btn-categorie {
    border : #0d6efd 1px solid !important;
}
/* ETABLISSEMENT */

/* TABLES*/
.table.spip th, .table.spip td {
  border: none;
}

th {
  cursor: pointer;
}

/* Fix le problème de style="width: 0px;"
injecté sur les datatables dans différents onglets */
#tableau-sans-alerte {
    width: inherit !important;
}
/* TABLES */

/* PRO */
.btn-tab {
    color:grey;
}

.btn-tab:hover {
    color:black;
}

.btn-tab-disabled {
    color: var(--gris) !important;
}
/* PRO */

.no-gutters {
  margin-right: 0;
  margin-left: 0;
}

.no-gutters > .col,
.no-gutters > [class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}

.login-form {
    margin: 1em;
    border: 1px solid lightgray;
    padding: 1em;
}

.actions .btn {
    margin-left: 1em;
}

.graph-resultat {
  position: relative;
  margin: 1.5em auto 0 auto;
  width: 150px;
  height: 150px;
  line-height: 160px; /* Pour aligner le texte verticalement */
  text-align: center;
}

.polar-area-resultat {
  position: relative;
  margin: 1.5em auto 0 auto;
  width: 200px;
  height: 200px;
  line-height: 160px; /* Pour aligner le texte verticalement */
  text-align: center;
}

.resultat {
    margin: 1em;
    padding: 1em;
}

.resultat h5 {
    display: block;
    height: 2em;
    text-align: center;
}

.resultat, .resultat-interprete, .resume-resultat {
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
  margin-bottom: 1em;
}

.resultat-interprete {
    height: auto;
}

.resume-resultat {
    height: 20em;
}

.resultat-interprete h5 {
    font-weight: bold;
}

.resultat-interprete .actions {
    margin: 1em;
    text-align: center;
}

.resultat-interprete .actions .btn {
    margin: 0;
}

.resultat-interprete .interpretation {
    padding-top: 2em;
    text-align: center;
}

.resultat-interprete .interpretation h5 {
    font-weight: bold;
}

.resultat-interprete.a-remplir {
    padding-top: 2em;
    text-align: center;
    border-color: #b8daff;
    background-color: #cce5ff;
    color: #004085;
}

.resultat-interprete.a-remplir .action {
    margin: 4em auto;
}

.resultat-interprete.passe {
    padding-top: 2em;
    text-align: center;
    border-color: #d6d8db;
    background-color: #e2e3e5;
    color: #383d41;
}

.resultat-interprete.passe .commentaire {
    margin: 4em;
}

.resultat-interprete.non-soumis {
    padding-top: 2em;
    text-align: center;
    border-color: #ffeeba;
    background-color: #fff3cd;
    color: #856404;
}

.resultat-interprete.non-soumis .commentaire {
    margin: 4em;
}

.resultat .overlay, .resultat-interprete .overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.7;
  z-index: 9;
  background: none;
}

.historique-resultats {
    height: 20em;
    padding: 0 2em;
}

.resultats {
    margin-top: 5.5em;
}

.resultat .titre {
    border-bottom: 1px dotted lightgray;
}

.resultat .reponses {
    padding-left: 2em;
}

.height-400 {
    height: 400px;
}

/* FIL ARIANE */
.breadcrumb-item::first-letter {
    text-transform: capitalize;
}
/* FIL ARIANE */

/* EMAILS */
/* This is used to wrap the text when displaying email messages with jinja templating */
pre {
    white-space: pre-wrap;
}
/* EMAILS */

/* RESPONSIVE */

/* X-Small devices (portrait phones, less than 576px)
// No media query for `xs` since this is the default in Bootstrap

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {

    /* GLOBAL */
    .body-body {
        padding: 1.2em;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }
    .logo-porteurs-aphm, .logo-porteurs-ceress {
        margin-bottom: 2em;
    }

    .logo-porteurs-aphm {
        width: 70%;
    }

    .logo-porteurs-ceress {
        width: 60%;
    }

    .footer-center-content {
        margin-top: 1em;
    }
    /* GLOBAL */
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {
    .logo-porteurs-aphm {
        width: 85%;
    }

    .logo-porteurs-ceress {
        width: 75%;
    }
}

/* Large devices (desktops, 992px and up) */
@media (max-width: 992px) {
    .logo-home {
        display: none;
    }

    .usagers-mobile {
        display: none;
    }

    .btn-connexion {
        font-size: 1em;
    }
    /* FICHE PATIENT */

    .fiche-boutons {
        float: left !important;
    }

    .fiche-avis {
        align-items: flex-start;
    }

    .fiche-avis-flex {
        justify-content: flex-start;
    }

    .col-lg-6 {
        padding: 0 !important;
    }

    .col-md-3 {
        width: 100% !important;
    }

    .col-md-4 {
        width: 100% !important;
    }

    .col-md-5 {
        width: 100% !important;
    }

    .footer-1 {
        display: none;
    }

    .ligne {
        flex-direction: row !important;
    }

    .resultat-interprete {
        overflow: scroll;
    }

}
    /* FICHE PATIENT */

.btn-desepingler {
    color: green;
}

#login-token input {
    text-align: center !important;
    letter-spacing: 5px;
    font-size: 2em;
}

.question .numero {
    display: block;
    float: left;
    margin-right: 0.5em;
    height: 2em;
    font-weight: bold;
}

.question .numero:before {
    content: "n°";
}
.question .numero:after {
    content: " - ";
}

.filtres-appliques {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    list-style: none;
    padding: 0;
    margin: 0 0 0 10px;
    white-space: nowrap;
}

.aucun-filtre {
    margin-right: 10px;
}

.ajouter-filtre button {
    margin-right: 10px;
    background-color: lightgray;
}

.ajouter-filtre button:hover {
    background-color: gray;
}

.filtre-element {
    padding-left: 10px;
    background-color: lightgray;
    margin-right: 10px;
    cursor: default;
    border-radius: 3px;
}


.filtre-element button {
    border-left: 1px solid gray;
    border-radius: 0 3px 3px 0;
    margin-left: 0.5rem;
}

.filtre-element button:hover {
    background-color: gray;
}

.padding-10 {
    padding: 10px;
}

.titre-filtre {
    font-size: 1.2rem;
    font-weight: bold;
}

.wrapper-btn-tous-les-filtres {
    width: 14% !important;
}

.wrapper-titre {
    margin: 10px 0 10px 10px;
    width: auto;
}

.slider {
    height: 5px;
    border-radius: 5px;
    background: #ddd;
    position: relative;
}

.slider .progress {
    height: 5px;
    position: absolute;
    left: 0%;
    right: 0%;
    border-radius: 5px;
    background: #0d6efd;
}

.range-input {
    position: relative;
}

.range-input input {
    position: absolute;
    top: -5px;
    height: 5px;
    width: 100%;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    height: 17px;
    width: 17px;
    border-radius: 50%;
    pointer-events: auto;
    -webkit-appearance: none;
    background: #0d6efd;
}


input[type="range"]::-moz-range-thumb {
    height: 17px;
    width: 17px;
    border: none;
    pointer-events: auto;
    border-radius: 50%;
    -moz-appearance: none;
    background: #0d6efd;
}

.description {
    font-size: 18px;
    color: gray;
    font-style: italic;
}

.box-etudes {
    list-style: none;
    padding: 0;
}

.box-etudes li {
    border-bottom: 1px solid #c7c8c9;
    padding-bottom: 8px;
    margin-top: 18px;
}

.description-etudes p {
    font-size: 14px;
}

.label {
    border: 1px solid #6c757d;
    border-radius: 16px;
    padding: 6px;
    font-size: 12px;
    margin-left: 5px;
    color: #4d5256;
    display: inline-block;
}

.ul-no-dot ul {
    padding-left: 5px;
    list-style: none;
}

.radio-horizontal li {
    padding-left: 10px;
    display: inline;
}

.radio-horizontal ul {
    border: 0;
}

.margin-left-3 {
    margin-left: 3px;
}

.info-circle-tooltip {
    font-size: 0.8rem !important;
    padding-left: 0.4rem;
    padding-top: 0.2rem;
    cursor: pointer;
}

.select-all-label {
    font-style: italic;
}

.select-all-list {
    margin-bottom: 0.5rem;
}

.select-all-input {
    width: 1rem;
    height: 1rem;
}

.afficher-resultats {
    margin-top: 1rem
}

.rouge {
    color: red;
}

.vert {
    color: green;
}

.liste-en-ligne {
    display: block;
    padding: 0;
}

.liste-en-ligne li {
    display:inline-block;
}

.liste-en-ligne li:after {
    content: '\2022';
    margin: 0 10px;
}

.liste-en-ligne li:last-child:after {
    content: '';
}

.flax {
    display: flex;
}

.padding-top {
    padding-top: 2em;
}

.margin-top {
    margin-top: 2em;
}