/* Guide de communication soins prehospitaliers - CSS Document */
/*

#f2e968 (jaune) 	- Footer
#00499e (bleu) 		- Titres, menu actif, liens, reseaux sociaux

Polices : 
font-family: 'Roboto Regular', sans-serif;
font-family: 'Roboto Condensed', sans-serif;
font-family: 'Roboto Black', sans-serif;
*/

/* GENERAL */
html,body { height: 100%; width: 100%; font-family: 'Roboto Regular', sans-serif; font-weight: 400; color: #222;}

a { transition: all .3s ease}

h1 { font-family: 'Roboto Regular', sans-serif;}

hr { margin-bottom: 0;}
.light { border-top: 1px solid #d5d5d58a; width: 100%; margin-top: 2rem; margin-bottom: 2rem;}

/* Regle de padding generale */
.padding { padding-bottom: 2rem;}


/* ENTETE ET MENU */
.titre { font-size: 2.2rem; line-height: 1.15; margin-bottom: .9rem; color: #00499e; font-family: 'Roboto Condensed', sans-serif;}
#lienTitre { text-decoration: none;}
.navbar { border-top: solid #00499e .5vh; padding: .8rem;}
.navbar-brand { width: 100%; margin-bottom: 3rem}
.navbar-nav { max-height: 30px;}
.nav-link { color: rgba(0, 0, 0, .9) !important}
.nav-link:hover { border-bottom: solid #00499e .2rem;}
.nav-link { font-size: 1.1em !important; margin: 0 .6em; padding: 0 !important; height: 100%;}
.active { border-bottom: solid #00499e .2rem;}
.img-logo { width: 72px; height: 76px;}

/*Bouton Return to top */
#returnToTop { position: fixed; bottom: 2.5rem; right: 2rem; z-index: 99; cursor: pointer;}
#returnToTop a { width: 65px; height: 65px; padding-top: 2px; border-radius: 50%; display: inline-block; text-align: center; vertical-align: middle; color: #f5f5f5; background-color: #00489d;}
#returnToTop a:first-of-type { font-size: 1.6em; padding-top: 12px;}
#returnToTop a:hover { background-color: #d0cb09;}


/* PARTAGE ET FOOTER */

/* Section "Partager cette ressource" */
.div-partager { background-color: #f5f5f5; padding: 1.25rem 0;}


/* ICONES PARTAGE RESEAUX SOCIAUX */
.social a { display: inline-block; width: 65px; height: 65px; margin: 0px 5px; border-radius: 50%; background: #00489d; padding-top: 15px;}

/* survole des logos sociaux */
.social a:hover { background-color: #d0cb09;}

/* logo facebook et twitter */
.fa-facebook-f,.fa-twitter { font-size: 35px; color: #FFFFFF;}
.nav-bas { width: 100%; margin: 0; margin-top: 1.9rem;}
.nav-bas a { color: #000000; font-size: 1em !important;}

/* Point entre Acceuil et à propos */
.pointFlt {transform: translateY(-20%); color: #5b5b5b;}

/* Section Footer */
footer { background-color: #f2e968; color: #333333;}
footer p { font-size: .9em; margin: 0;}
footer a { color: #333333; font-size: .9em; margin: 0;}


/* PAGE ACCUEIL */

/* BANDEROLE */
.text-banderole { font-family: 'Roboto Black', sans-serif; font-size: 2.5rem; font-weight: 600; color: #fafafa;  padding: 0 14%; margin: 0;}
.banderole { background-image: url("../img/Lexique_hero.jpg"); background-position: top; background-repeat: no-repeat; background-size: cover; padding: 6rem 0;}

/* EXERCICES */
.lien-chap { color: #00489d; text-decoration: none!important;}
.card { border: none; color: #00489d;}
.container-vignette { position: relative; width: 100%;}
.color-vignette { position: absolute; top:0%; left: 0%; width: 100%; height: 100%; background: #d0cc26; border-radius: 15px; z-index: 1; opacity: 0;}
.color-vignette { transition: all .3s ease}
.card:hover .color-vignette { opacity: 0.5;}
.card-title { font-weight: bold; margin-bottom: .5rem;}
.card-body { padding: .4em; padding-top: 1.2em;}
.card-text { font-size: 1rem;}



/* PAGE À PROPOS */

/* BANDEROLE */
.div-banderole { background-image: url("../img/img-vedette.jpg");  background-position: center; background-repeat: no-repeat; background-size: cover; padding: 2rem 0;}
.text-banderole-ap { font-family: 'Roboto Black', sans-serif; font-size: 2.8rem; font-weight: bold; color: #404040;}
.nav { display: flex; flex-wrap: wrap;}
.nav-item { margin: .4rem 1.5rem; text-align: center;}
.nav-item a { color: #00489d; font-weight: bold;}

/* Contenu */
#contenu p,li,a { font-size: 1.13rem;}
h3 { font-weight: bold; margin-bottom: .8em; font-size: 2rem;}
#objPeda a { color: #00489d; overflow-wrap: break-word}

/* Page couverture Manuel */
.img-manuel { width: 30%; margin-top: 1rem;}
.text-couleur { color: #00489d;}
.titre-contenu { font-weight: bold; margin-bottom: 0.25rem; font-size: 1.3rem!important;}

/* Section Droits d'utilisation */
.textSource { padding-left: 2em; line-height: 1.35;}

/* Section Commentaires */
#commentaire a { color: #00489d;}


/* ======================================= */
/* ============= RESPONSIVE ============= */
/* ======================================= */

@media (min-width: 1500px) {
 /* General */
 #contenu { max-width: 875px;}
 .navbar { padding-left: 5%; padding-right: 3%;}

 /* Page Accueil */
 .text-banderole { font-size: 3em; padding: 0 20%;}
 .banderole {padding: 10rem 0;}
}

@media (max-width: 992px) {
 /* General */
 .titre { font-size: 2em;}

 /* Page Accueil */
 .text-banderole { font-size: 2.2rem; padding: 0 13%;}
 .banderole { background-position: top; background-repeat: no-repeat; background-size: cover; padding: 4rem 0;}


 /* Page À Propos */
 .text-banderole-ap { font-size: 2.2rem;}
}

@media (max-width: 768px) { 
 /* General */
 .nav-link { font-size: 1em !important;}
 

 /* Page Accueil */
 .text-banderole { font-size: 1.8rem; padding: 0 10%;}


 /* Page À Propos */
 .div-banderole { background-position: 30% 50%;}
 .text-banderole-ap { font-size: 1.85rem; padding: 0 5%;}
}

@media (max-width:675px) {
 .titre { font-size: 1.3em; padding: 0 !important;}
}

@media (max-width: 590px) {
 /* General */
 .navbar { padding: 0 !important;}
 .nav-link:hover { border-bottom: solid #00499e .1rem;}
 .active { border-bottom: solid #00499e .1rem;}
 .minify { display: none;}
 .navbar-brand { padding: 0 !important; margin-bottom: 1.5rem}
 .navbar-toggler { padding: 3px 6px !important;}
 p { font-size: .9em;}
 .img-logo { width: 50px; height: 53px;}

 /*Bouton Return to top */
 #returnToTop { bottom: 4.5rem; right: 1rem;}

 /*Bouton Return to top */
 #returnToTop a { width: 45px; height: 45px;}
 #returnToTop a:first-of-type { padding-top: 2px;}


 /* Page Accueil */
 .text-banderole { font-size: 1.8rem; padding: 0 6%;}
 .banderole {background-position: 35% 50%; padding: 3rem 0;}


 /* Page À propos  */
 h3 { font-size: 1.75rem}
 #contenu p,li,a { font-size: 1rem;}
 .textSource { padding-left: 0; line-height: 1.5;}
}

@media (max-width: 320px) {
 /* General */
 .titre { font-size: 1em;}
 .navbar-title { padding: 1em !important; padding-bottom: .3em !important;}
 .navbar a { font-size: .8rem !important;}
 .nav-link { font-size: .8rem !important;}
 .pointFlt { transform: translateY(-20%);}

  /*Bouton Return to top */
  #returnToTop { bottom: 5.6rem; right: 1rem;}

 /* Page Accueil */
 .text-banderole { font-size: 1.2rem; padding: 0 5%;}

 /* Page À Propos */
 h3 { font-size: 1.5rem;}
}

/*--- Bootstrap Padding Fix --*/
[class*="col-"] { padding: 1rem;}