/*
Theme Name: Sparkling Child
Theme URI: http://colorlib.com/wp/themes/sparkling
Author: Julpec et Isma
Author URI: http://colorlib.com/
Description: Sparkling child theme
Template: sparkling
Version: 2.4.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sparkling-child
Tags: grid-layout, footer-widgets, blog, education, entertainment, food-and-drink, news, photography, portfolio, e-commerce
*/
/*
@import url("../sparkling/style.css");
@import url("css/footnotes.css");
@import url("css/navbar.css");
@import url("css/home.css");
@import url("css/articles_et_dossiers.css");
@import url("css/AI.css");
@import url("css/pages_AI.css");
@import url("css/images.css");
*/



/******************
* STYLES GÉNÉRAUX *
*******************/

:root {
    --main-navbar-color: black; /*#363636;*/
    --main-title-color: black; /*#363636;*/
    --main-hover-color: #DADADA; 
    --main-bg-color:rgb(238, 238, 238);
    --main-second-color: #a31c00; /*rgb(218, 68, 83); #da4453;*/
}
html {
    font-size: 100%;
}
body {
    font-family:'Merriweather', serif;
    line-height: 1.5;
    font-size: 1.1em;
    color: #444;
    background-color: white !important;
    /*background-color: var(--main-bg-color) !important;*/
}
p {
  word-wrap: break-word;
}
h1, h2, h3, h4, h5 {
  margin-top: 50px;
  font-family: 'roboto';
  font-weight: 600;
  margin-bottom: 30px;
  color: #a31c00; 
  white-space: pre-line;
  word-wrap: break-word;
}
h1 {
  margin-left: -60px;
  font-size: 2.4em;
}
h2 {
  margin-left: -50px;
  font-size: 2.2em;
  opacity: 0.9;
}
h3 {
  margin-left: -40px;
  font-size: 1.8em;
  opacity: 0.8;
}
h4 {
  margin-left: -30px;
  font-size: 1.4em;
  opacity: 0.7;
}
@media (max-width: 767px) {
  h2,h3,h4,h5 {
    margin-top: 0px !important;
    margin-bottom: 10px !important;
  }
  h2 {
    margin-left: -30px;
  }
  h3 {
    margin-left: -20px;
  }
  h4 {
    margin-left: -10px;
  }
  h5 {
    margin-left: unset;
  }
}
@media (max-width: 450px) {
  h2 {
    font-size: 8.5vw;
    margin-left: -20px;
  }
  h3 {
    font-size: 7vw;
    margin-left: -10px;
  }
  h4 {
    font-size: 5.5vw;
    margin-left: unset;
  }
  p,li {
    font-size: 4vw;
  }
}
p {
  margin-bottom:25px;
}
hr {
    margin-top: 10px;
    margin-bottom: 10px;
    border: 0;
    border-top: 1px solid var(--main-navbar-color);
}
li {
  margin-bottom:10px;
}

.main-content-area {
    background-color: white;
    margin-top: 0px !important;
}
.site-footer {
    background-color: var(--main-navbar-color) !important;
    border-top: none !important;
}
#footer-area {
    bottom: 0px;
    width: 100%;
}
.scroll-to-top {
    bottom: 60px;
}
.entry-content {
    font-size: unset !important;
}
.entry-content p a{
  color: var(--main-second-color);
  border-bottom:2px solid var(--main-bg-color);
  font-weight:600;
}



/***********
* ARTICLES *
************/

blockquote {
  padding: 10px 0px 10px 20px;
  margin: 20px 0px 20px -70px;
  font-size: 17.5px;
  border-left: 5px solid rgba(218, 68, 83, 0.71)
}
blockquote p{
  font-size: 1.0em;
  font-weight: 600;
}

.readingProgressbar {
  top:112px !important;
}
.entry-title {
  font-family:'Roboto';
  text-align:center;
  font-size:3em !important;
  margin-left: 0px !important;
}
@media (max-width: 767px) {
  .entry-title {
    font-size:2.5em !important;
  }
}
@media (max-width: 450px) {
  .entry-title {
    font-size:10vw !important;
  }
  .readingProgressbar {
    top:24.7vw !important;
  }
}
.page-header .entry-meta {
  border-bottom: 7px solid rgba(218, 68, 83, 0.33);
  text-align: center;
}
.entry-content p a:hover{
  color: var(--main-hover-color);
}
.post-inner-content {
  border: none !important;
  border-top: none !important;
  background-color: unset !important;
}
@media (max-width: 500px) {
  .contentTable_h3 {
    padding-left: 0px !important;
  }
  .contentTable_h4 {
    padding-left: 10px !important;
  }
  .contentTable_h5 {
    padding-left: 20px !important;
  }
}


/*********
* Blocks *
**********/

.chapo {
  display: inline-block;
  margin-bottom:30px;
  width:100%;
}
.chapo-txt{
  font-family: 'Roboto';
  font-weight: 600;
  font-size: 1em;
  text-align: justify;
}
.chapo img {
  height:auto;
  width: auto;
  max-height: 300px;
  max-width: 50%;
  float: left;
  display: block;
  margin: 0.5em 1.5em 0.5em -7em !important;

}
.chapo p::first-letter,.chapo-txt::first-letter {
  float: left;
  font-size: 7.5em;
  line-height: .68;
  font-weight: 100;
  margin: .05em .1em 0 0;
  text-transform: uppercase;
  font-style: normal;
  color: var(--main-second-color);
}
.tableofcontent p a{
  border-bottom: none;
}

.wp-block-media-text {
  margin: 20px 0px ;
}
@media (max-width: 991px) {
  .chapo img {
    margin: 0.5em 1.5em 0.5em 0 !important;
  }
}
@media (max-width: 400px) {
  .chapo {
    display: block;
    margin-bottom:10px;
  }
  .chapo img {
    height:auto;
    width: 100%;
    max-height: unset;
    max-width: unset;
    margin: 0 auto 10px auto !important;
  }
  .chapo p::first-letter {
    float: left;
    font-size: 25vw;
    font-weight: 300;
  }
}



/* Légendes des médias*/
/***********************/
.wp-caption {
  border: none;
  padding: 0px;
  background-color: var(--main-bg-color);
}
.wp-caption img { 
  width: 100%
}
.wp-caption .wp-caption-text {
  margin: 3px;
  padding: 0px !important;
  font-size: 0.8em;
  font-style: italic;
}
.wp-block-video,
.wp-block-audio {
  margin-bottom: 20px;
  clear: both;
}
video {
  vertical-align: middle !important;
}

/*************************
* Page "Qui Sommes Nous" *
**************************/

.cs_title_faq {
  color: var(--main-second-color);
  font-weight: 700;
  font-family: 'Roboto Slab', serif;
  font-size: 20px;
  margin-top: 20px;
  margin-bottom: 10px;
}

/***********
** Footer **
************/

.site-info {
  font-family: Open Sans;
}
.cs-licence {
  margin: 0px 30px 0px 0px !important;
}
.cs-licence-img {
  margin-left: 10px;
}
.cs-footer-links {
  display: inline-block;
  margin-left: 30px;
}
.cs-footer-links a {
  display: block;
}

/* FIN */
