.xs-lire-histoire-message {
    background-color: #fbf2e2;
    padding: 30px;
    font-size: 1.1em;
    border-radius: 10px;
}
.xs-lire-histoire .xs-lire-histoire-message a {
    text-decoration: none;
    color: #1b0c4d;    
}
.xs-lire-histoire .xs-lire-histoire-message a:hover {
    text-decoration: underline;
}
.xs-lire-histoire .icon20x20,
.xs-lire-histoire-message .icon20x20 {
    display: inline-block;
    margin-right: 6px;
    margin-bottom: -4px;
}
.xs-lire-histoire .icon20x20.icon-concours {
    background-position: -123px -38px
}
.xs-lire-histoire .xs-lire-histoire-header {
    text-align: center;
    padding-bottom: 50px;
}
.xs-lire-histoire decale {
    margin-left: 10%;
}
.xs-lire-histoire .cursive {
    font-family: cursive;
    display: inline;
}
.xs-lire-histoire h1 {
    font-size: 2em;
    font-family: 'Oswald';
    margin: 0px 0 10px 0;
    padding: 0 50px;
    display: inline-block;
}
.xs-lire-histoire h1::first-letter {
    text-transform: uppercase;
}
.xs-lire-histoire h1::before {
    /* Genere une marge entre 30px et 100px selon la hauteur de l'ecran */
    display: block;
    content: "";
    margin-top: -146.3px;
    min-height: 176.3px;
    max-height: 246.3px;
    height: 25.93vh;
    z-index: -1;
    pointer-events: none;
}

.xs-lire-histoire h2 {
    margin: 0;
    color: #3c3c3c;    
}
.xs-lire-histoire h2.soustitre {
    font-family: 'Oswald';
    font-size: 1.2em;
    margin-top: 10px;
}

.xs-lire-histoire .rich-snippet-info {
    display: none;
}
.xs-lire-histoire hr {
    width: 50%;
    margin: 30px auto 30px auto;
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
    color: white;
}
.xs-lire-histoire .xs-lire-histoire-header hr {
    margin: 0 auto 0 auto;
}

.xs-lire-histoire h2.xs-lire-histoire-auteur-line {
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
    color: inherit;
}
.xs-lire-histoire .xs-lire-histoire-auteur {
    font-weight: bold;
    color: #1b0c4d;
    text-decoration: none;
    font-size: 1.1em;    
}
.xs-lire-histoire .xs-lire-histoire-auteur:hover {
    text-decoration: underline;
}
.xs-lire-histoire .xs-lire-histoire-details {
    font-size: 0.85em;
    margin: 0;
}
.xs-lire-histoire .xs-lire-histoire-details::before,
.xs-lire-histoire .xs-lire-histoire-details::after {
    display:block;
    content:"";
    margin-top: -87.8px;
    min-height: 105.8px;
    max-height: 147.8px;
    height: 15.56vh;
    z-index: -1;
    pointer-events: none;
}
.xs-lire-histoire .xs-lire-histoire-type {
    display: inline;
}

.xs-lire-histoire .xs-lire-histoire-categorie-wrapper {
    width: 100%;
    height: 30px;
    overflow: hidden;
    text-align: center;
    margin-top: 10px;
}
.xs-lire-histoire a.xs-lire-histoire-categorie {
    border-radius: 10px 10px 0 0;
    padding: 0px 50px;
    background-color: #1b0c4d;
    display: inline-block;
    color: white;
    margin: 10px 0 0 0;
    text-decoration: none;
    line-height: 20px;
    height: 30px;
    transition: margin-top 0.3s, background-color 0.3s, padding-top 0.3s;
    font-size: 0.85em;
}
.xs-lire-histoire a.xs-lire-histoire-categorie:hover {
    padding-top: 6px;
    margin-top: 0;
    background-color: #ff525d;
}
.xs-lire-histoire a.xs-lire-histoire-categorie i {
    margin-bottom: -2px;
    margin-right: 2px;
}
.xs-lire-histoire .xs-lire-histoire-info-concours {
    margin-top: 20px;
}
.xs-lire-histoire .xs-lire-histoire-info-concours a {
    text-decoration: none;
    color: #1b0c4d;    
}
.xs-lire-histoire .xs-lire-histoire-info-concours a:hover {
    text-decoration: underline;
}
.xs-lire-histoire .xs-lire-histoire-info-medaille {
    font-size: 1.2em;
    font-weight: bold;
    font-variant: small-caps;
    font-family: arial;
    margin-top: 30px;
}
.xs-lire-histoire .xs-lire-histoire-stats {
    margin: 0 auto;
    width: 200px;
}
.xs-lire-histoire .xs-lire-histoire-stats::after {
    /* Genere une marge entre 15px et 50px selon la hauteur de l'ecran */
    display: block;
    content: "";
    margin-top: -73.1px;
    min-height: 88.1px;
    max-height: 123.1px;
    height: 12.96vh;
    z-index: -1;
    pointer-events: none;
}
.xs-lire-histoire .xs-lire-histoire-stats a {
    color: #ff525d;    
    font-size: 0.8em;
    text-decoration: none;
}
.xs-lire-histoire .xs-lire-histoire-stats i {
    font-size: 1.3em;
}
.xs-lire-histoire .xs-lire-histoire-score, 
.xs-lire-histoire .xs-lire-histoire-commentaires {
    display: inline-block;
    width: 25%;
}
.xs-lire-histoire .xs-lire-histoire-texte .xs-lire-histoire-texte-toolbar {
    position: fixed;
    bottom: 0;
    background-color: white;
    border-radius: 10px 10px 0 0;
    padding: 5px 10px;
    -moz-box-shadow: 3px -3px 20px 0px #656565;
    -webkit-box-shadow: 3px -3px 20px 0px #656565;
    -o-box-shadow: 3px -3px 20px 0px #656565;
    box-shadow: 3px -3px 20px 0px #656565;
    filter:progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=45, Strength=20);    
    z-index: 1;
    display: none;
}
.xs-lire-histoire .xs-lire-histoire-texte .xs-lire-histoire-texte-toolbar button {
    padding: 10px 20px;
    border-radius: 5px;
    background-color: rgb(235, 235, 235);
    transition: background-color 0.3s;
    border: none;
    cursor: default;
    -moz-box-shadow: 1px 1px 1px 0px #656565;
    -webkit-box-shadow: 1px 1px 1px 0px #656565;
    -o-box-shadow: 1px 1px 1px 0px #656565;
    box-shadow: 1px 1px 1px 0px #656565;
    filter:progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=134, Strength=1);
}
.xs-lire-histoire .xs-lire-histoire-texte .xs-lire-histoire-texte-toolbar button:hover {
    background-color: #fbf9ff;
}
.xs-lire-histoire .xs-lire-histoire-texte .xs-lire-histoire-texte-toolbar button .fa {
    font-size: 15px;
}
.xs-lire-histoire .xs-lire-histoire-texte-content {
    font-family: Georgia;
    font-size: 1.2em;
    line-height: 1.7em;
}
.xs-lire-histoire .xs-lire-histoire-texte-content::first-letter {
    /*
    font-family: 'Parisienne';
    float: left;
    font-size: 2.3em;
    margin-right: -0.7em;
    */
    font-family: 'Parisienne';
    font-size: 2.3em;
    display: inline-block;
    margin-right: 4px;    
}
.xs-lire-histoire .xs-lire-histoire-texte-content .xs-lire-histoire-middle-insert {
    margin: 20px 0;
    text-align: center;
}
.xs-lire-histoire .xs-lire-histoire-end .xs-lire-histoire-half {
    display: inline-block;
    width: 49%;
    text-align: center;
    margin: 70px 0;
}

.xs-lire-histoire .xs-lire-histoire-footer-bottom {
    background-color: #fbf9ff;
    background-image: linear-gradient(to right, #fbf9ff 0%, rgb(250, 250, 250) 25%, rgb(250, 250, 250) 75%, #fbf9ff 100%);
    padding: 30px;
    margin-bottom: 30px;
    -moz-box-shadow: 3px 3px 5px 0px #c0c0c0;
    -webkit-box-shadow: 3px 3px 5px 0px #c0c0c0;
    -o-box-shadow: 3px 3px 5px 0px #c0c0c0;
    box-shadow: 3px 3px 5px 0px #c0c0c0;
    filter: progid:DXImageTransform.Microsoft.Shadow(color=#c0c0c0, Direction=135, Strength=5);
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

.xs-lire-histoire .xs-lire-histoire-footer-devenir-auteur {
    text-align: center;
    margin-top: 20px;
    color: #1b0c4d;
}
.xs-lire-histoire .xs-lire-histoire-footer-like,
.xs-lire-histoire .xs-lire-histoire-footer-comment,
.xs-lire-histoire .xs-lire-histoire-footer-chapitres {
    text-align: center;
}
.xs-lire-histoire .xs-lire-histoire-footer-comment #histoire-comments {
    text-align: left;
}
.xs-lire-histoire .xs-lire-histoire-footer-comment #histoire-comments h4 {
    font-size: 1em;
}
.xs-lire-histoire .xs-lire-histoire-footer-comment #histoire-comments blockquote {
    border-left: solid 1px black;
    padding-left: 10px;
}
.xs-lire-histoire-footer-comment #quickpost .infldset {
    text-align: center;
}
.xs-lire-histoire-footer-comment #quickpost .infldset input.button {
    
}

.xs-lire-histoire .xs-lire-histoire-footer-bottom button,
.xs-lire-histoire .xs-lire-histoire-footer-bottom .button {
    width: 50%;
    height: 40px;
    margin-top: 10px;
    font-family: Poppins;
    font-size: 13px;
    padding: 0 20px;
    border: none;
    background-color: white;
    transition: background-color 0.3s;
    cursor: pointer;
    border-radius: 4px;
}
.xs-lire-histoire .xs-lire-histoire-footer-bottom button:hover,
.xs-lire-histoire .xs-lire-histoire-footer-bottom .button:hover {
    background-color: #fbf9ff;
}
.xs-lire-histoire .xs-lire-histoire-footer-bottom button i {
    font-size: 1.8em;
}


.xs-lire-histoire .xs-lire-histoire-footer-chapitres ul {
    padding: 0;
    margin: 0;
}
.xs-lire-histoire .xs-lire-histoire-footer-chapitres li {
    display: inline-block;
    margin: 10px;
    text-align: center;
    list-style: none;
    line-height: 50px;
    width: 50px;
}
.xs-lire-histoire .xs-lire-histoire-footer-chapitres li.current {
    border: solid 1px #6b6b6b;
    border-radius: 10px;
}
.xs-lire-histoire .xs-lire-histoire-footer-chapitres li a {
    display: block;
    line-height: 50px;
    width: 100%;
    color: #ffffff;
    font-weight: 400 !important;
    font-size: 18px;
    border-radius: 10px;
    background-color: #1b0c4d;
    text-decoration: none;
    transition: background-color 0.3s;
}
.xs-lire-histoire .xs-lire-histoire-footer-chapitres li a:hover {
    background-color: #ff525d;
}
.xs-lire-histoire .xs-lire-histoire-footer-conseils {
    overflow: visible;
    margin: 50px 10px;    
}
.xs-lire-histoire .xs-lire-histoire-footer-conseils h2 {
    position: relative;
    top: 0;
    left: 0;
    margin-bottom: 10px;
    padding-left: 0;
}

.xs-lire-histoire-aside button {
    width: 100%;
    height: 60px;
    font-family: Poppins;
    font-size: 13px;
    padding: 0 20px;
    border: none;
    background-color: #1b0c4d;
    color: white;
    transition: opacity 0.3s;
    cursor: pointer;
    border-radius: 4px;
    margin-bottom: 10px;
    word-break: break-word;    
}
.xs-lire-histoire-aside button:hover {
    opacity: 0.8;
}
.xs-lire-histoire-aside button.small {
    height: 25px;    
    margin: 10px 0 40px 0;
}
.xs-lire-histoire-aside button .text {
    display: inline-block;
    margin-left: 5px;
    vertical-align: top;
}
.xs-lire-histoire-prev-next .xs-lire-histoire-prev-next-wrapper  {
    position: fixed;
    top: 50%;
    margin-top: -80px;
    opacity: 0.3;
    transition: opacity 0.5s;
    display: none;
}
.xs-lire-histoire-prev-next .xs-lire-histoire-prev-next-wrapper:hover {
    opacity: 1;
}
.xs-lire-histoire-prev-next .xs-lire-histoire-prev-next-wrapper a.chevron {
    color: #1b0c4d;
    font-size: 90px;
    padding: 0 10px;
}
.xs-lire-histoire-prev a.chevron {
    float: left;
}
.xs-lire-histoire-next a.chevron {
    float: right;
}
.xs-lire-histoire-prev-next .xs-lire-histoire-prev-next-wrapper ul {
    display: none;
    margin: 15px;
    width: 400px;
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    -moz-box-shadow: 3px 3px 5px 0px #c0c0c0;
    -webkit-box-shadow: 3px 3px 5px 0px #c0c0c0;
    -o-box-shadow: 3px 3px 5px 0px #c0c0c0;
    box-shadow: 3px 3px 5px 0px #c0c0c0;
    filter: progid:DXImageTransform.Microsoft.Shadow(color=#c0c0c0, Direction=135, Strength=5);
    -moz-border-radius: 10px;
}
.xs-lire-histoire-prev-next .xs-lire-histoire-prev-next-wrapper li {
    width: 100%;
    margin-bottom: 0;
    padding-right: 0;
}
.xs-lire-histoire-prev-next .xs-lire-histoire-prev-next-wrapper:hover ul {
    display: inline-block;
}
.xs-lire-histoire-prev-next .xs-lire-histoire-prev {
    left: 0px;
}
.xs-lire-histoire-prev-next .xs-lire-histoire-next {
    right: 0px;
}
@media only screen and (min-width: 1370px) {
    .xs-lire-histoire-prev-next .xs-lire-histoire-prev-next-wrapper  {
        display: block;
    }
}

#xs-lire-histoire-validation-tool {
    position: fixed;
    top: 30px;
    right: 0;
    z-index: 1;
    width: 350px;
    
    background-color: #fbf2e2;
    
    -moz-box-shadow: 0px 3px 5px 0px #585858;
    -webkit-box-shadow: -3px 3px 5px 0px #585858;
    -o-box-shadow: -3px 3px 5px 0px #585858;
    box-shadow: -3px 3px 5px 0px #585858;
    filter: progid:DXImageTransform.Microsoft.Shadow(color=#585858, Direction=225, Strength=5);
    -moz-border-radius: 10px 0 0 10px;
    -webkit-border-radius: 10px 0 0 10px;
    border-radius: 10px 0 0 10px;
}
#xs-lire-histoire-validation-tool.collapsed {
    width: 30px;
    height: 30px;
}
#xs-lire-histoire-validation-tool.collapsed .xs-lire-histoire-validation-tool-title,
#xs-lire-histoire-validation-tool.collapsed .xs-lire-histoire-validation-tool-content {
    display: none;
}
#xs-lire-histoire-validation-tool .xs-lire-histoire-validation-tool-title {
    margin-left: 10px;
    font-size: 0.85em;
    float: left;
    font-weight: bold;
}
#xs-lire-histoire-validation-tool .xs-lire-histoire-validation-tool-toggle {
    font-size: 0.85em;
    float: right;
    margin-right: 10px;
    cursor: pointer;
}
#xs-lire-histoire-validation-tool .xs-lire-histoire-validation-tool-content {
    clear: both;
    padding: 10px;
    border-top: solid 1px rgba(0, 0, 0, 0.2);
}
#xs-lire-histoire-validation-tool .xs-lire-histoire-validation-tool-content button {
    width: 100%;
    margin-top: 10px;
    font-family: Poppins;
    font-size: 13px;
    padding: 10px 30px;
    border: none;
    background-color: white;
    transition: background-color 0.3s;
    cursor: pointer;
    border-radius: 4px;
}
#xs-lire-histoire-validation-tool .xs-lire-histoire-validation-tool-content button:hover {
    background-color: #fbf9ff;
}
#xs-lire-histoire-validation-tool .xs-lire-histoire-validation-tool-content .xs-lire-histoire-validation-tool-button-yes:hover {
    background-color: #bcffd6;
}
#xs-lire-histoire-validation-tool .xs-lire-histoire-validation-tool-content .xs-lire-histoire-validation-tool-button-medal:hover {
    background-color: #00ff64;
}
#xs-lire-histoire-validation-tool .xs-lire-histoire-validation-tool-content .xs-lire-histoire-validation-tool-button-next:hover {
    background-color: #ffe2a3;
}
#xs-lire-histoire-validation-tool .xs-lire-histoire-validation-tool-content .xs-lire-histoire-validation-tool-button-no:hover {
    background-color: #ffb3b3;
}
#xs-lire-histoire-validation-tool .xs-lire-histoire-validation-tool-content button .line1 {
    font-size: 1.1em;
}
#xs-lire-histoire-validation-tool .xs-lire-histoire-validation-tool-content button .line2 {
    font-size: 0.9em;
}
#xs-lire-histoire-validation-tool a {
    text-decoration: none;
    color: #1b0c4d;    
}
#xs-lire-histoire-validation-tool a:hover {
    text-decoration: underline;
}
#xs-lire-histoire-validation-tool .xs-lire-histoire-validation-tool-word {
    float: right;
}
#xs-lire-histoire-validation-tool .xs-lire-histoire-validation-tool-infos {
    width:100%; 
    height: 70px; 
    background-color: #fffcf1;
}
#xs-lire-histoire-validation-tool .xs-lire-histoire-validation-tool-infos-message {
    display: none;
}

/**
 * SECTION CHAPITRES
 */
.xs-box.xs-section-chapitres {
    border-radius: 0;
    border: none;
    /*background-color: #1b0c4d;*/
    /*color: white;*/
}
.xs-box.xs-section-chapitres .current {
    color: #DE2F3A;
}
.xs-box.xs-section-chapitres .xs-box-title {
    /*background-color: #fbf9ff;*/
    background-image: none;
    color: #1b0c4d;
    position: static;
}
.xs-box.xs-section-chapitres ul {
    padding: 0;
    margin: 10px 0 0 0;
    list-style: none;

    max-height: 250px;
    overflow: auto;
    overflow-y: auto;
    overflow-x: hidden;
}
.xs-box.xs-section-chapitres li a {
    font-weight: bold;
}


/**
 * SECTION MEME AUTEUR
 */
.xs-box.xs-section-meme-auteur {
    border-radius: 0;
    border: none;
    /*background-color: #1b0c4d;*/
    /*color: white;*/
}
.xs-box.xs-section-meme-auteur .xs-box-title {
    /*background-color: #fbf9ff;*/
    background-image: none;
    color: #1b0c4d;
    position: static;
}
.xs-box.xs-section-meme-auteur ul {
    padding: 0;
    margin: 10px 0 0 0;
    list-style: none;
    display: block; /* table incompatible avec overflow sous FF et IE */

    max-height: 250px;
    overflow: auto;
    overflow-y: auto;
    overflow-x: hidden;
}
.xs-box.xs-section-meme-auteur li {
    display: table-row;
}
.xs-box.xs-section-meme-auteur li a {
    font-weight: bold;
}
.xs-box.xs-section-meme-auteur .col1,
.xs-box.xs-section-meme-auteur .col2
 {
    display: table-cell;
}
.xs-box.xs-section-meme-auteur .col1 {
    padding-right: 5px;
}

.xs-box.xs-section-meme-auteur .no-content {
    text-align: center;
}
.xs-box.xs-section-meme-auteur .no-content a {
    text-align: center;
    display: block;
    font-weight: bold;
    color: #1b0c4d;
    transition: color 0.3s;
}
.xs-box.xs-section-meme-auteur .no-content a:hover {
    color: #ff525d;
}


#xs-lire-histoire-message-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}
#xs-lire-histoire-message-content {
    width: 400px;
    position: fixed;
    top: 300px;
    left: 50%;
    margin-left: -200px;
    padding: 20px;
    background-color: white;
    color: black;
    border-radius: 10px;
    text-align: center;
}
.xs-lire-histoire-paragraphe {
    margin: 0 0 5px 0;
    min-height: 1em;
    text-indent: 2em;
    word-break: break-word;
    /*
    margin: 0 0 10px 0;
    min-height: 1em;
    */
}
.xs-lire-histoire.audio-playing .xs-lire-histoire-paragraphe.reading,
.xs-lire-histoire.audio-playing .xs-lire-histoire-paragraphe:hover {
    position: relative;
    color: #1b0c4d;
}
.xs-lire-histoire.audio-playing .xs-lire-histoire-paragraphe:hover {
    cursor: pointer;
}
.xs-lire-histoire.audio-playing .xs-lire-histoire-paragraphe.reading::before,
.xs-lire-histoire.audio-playing .xs-lire-histoire-paragraphe:hover::before {
    content: "\f028";
    font-family: 'FontAwesome';
    position: absolute;
    top: 0;
    left: -30px;
    color: #1b0c4d;
}

@keyframes audio-playing {
    0%   {color: #ca185a;}
    20%  {color: #ca185a;}
    50%  {color: black;}
    80%  {color: #ca185a;}
    100% {color: #ca185a;}    
}
.xs-lire-histoire.audio-playing #xs-lire-histoire-texte-toolbar-audio-button {
    animation-name: audio-playing;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    
    -moz-box-shadow: inset 1px -1px 5px 0px #656565;
    -webkit-box-shadow: inset 1px -1px 5px 0px #656565;
    -o-box-shadow: inset 1px -1px 5px 0px #656565;
    box-shadow: inset 1px -1px 5px 0px #656565;
    filter:progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=45, Strength=5);
}


.xs-lire-histoire-texte-params {
    display: none;
    position: fixed;
    bottom: 0;
    width: 300px;
    background-color: white;
    z-index: 2;
    border-radius: 10px 10px 0 0;
    padding: 0px 10px;
    -moz-box-shadow: 3px -3px 20px 0px #656565;
    -webkit-box-shadow: 3px -3px 20px 0px #656565;
    -o-box-shadow: 3px -3px 20px 0px #656565;
    box-shadow: 3px -3px 20px 0px #656565;
}

.xs-lire-histoire-texte-params #xs-lire-histoire-texte-fontsize-params button {
    display: inline;
    width: 50%;
    height: 50px;
    border: none;
    background-color: rgb(255, 255, 255);
    cursor: pointer;
}
.xs-lire-histoire-texte-params #xs-lire-histoire-texte-fontsize-params .minus {
    float: left;
}
.xs-lire-histoire-texte-params #xs-lire-histoire-texte-fontsize-params .fa {
    font-size: 1.4em;
}

.xs-lire-histoire-texte-params #xs-lire-histoire-texte-fontsize-params button:hover {
    background-color: #fbf9ff;
}

.xs-lire-histoire-texte-params section {
    height: 50px;
    margin: 15px 0;
}

.xs-lire-histoire-texte-params #xs-lire-histoire-texte-fontname-params label {
    width: 30%;
    float: left;
    line-height: 2.5em;
}
.xs-lire-histoire-texte-params #xs-lire-histoire-texte-fontname-params select {
    width: 70%;
    height: 2.5em;
    
}

#xs-lire-histoire-texte-ok-params button {
    width: 100%;
    height: 35px;
    font-family: Poppins;
    font-size: 13px;
    padding: 0 20px;
    border: none;
    background-color: rgb(235, 235, 235);
    transition: background-color 0.3s;
    cursor: pointer;
    border-radius: 4px;
    margin-bottom: 10px;
    word-break: break-word;
}
#xs-lire-histoire-texte-ok-params button:hover {
    background-color: #fbf9ff;
}

.xs-inside-link {
    text-decoration: none;
    font-weight: normal;
    color: inherit;
    border-bottom: transparent dashed thin;
    transition: border-bottom-color 0.5s;
}
.xs-inside-link:hover {
    border-bottom-color: #999999;
}



/***************/
/* AJOUTS v6   */
/***************/
.xs-lire-histoire-header-v6 {
    background: #f9f8ff;
    padding: 10px;
}
.xs-lire-histoire h1 {
    padding: 0;
    margin: 0;
}
.xs-lire-histoire h1::before {
    content: none;
}
.xs-lire-histoire-header-v6 .blocs {
    display: grid;
}
.xs-lire-histoire-header-v6 .blocs > .sep {
    display: none;
}
html[data-support="desktop"] .xs-lire-histoire-header-v6 .blocs {
    grid-template-columns: auto 1px 1fr;
}
html[data-support="desktop"] .xs-lire-histoire-header-v6 .blocs > .infos {
    grid-column: 1;
    padding-top: 5px;
    padding-right: 10px;
    max-width: 300px;
    word-break: break-all;
}
html[data-support="desktop"] .xs-lire-histoire-header-v6 .blocs > .sep {
    display: block;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
    grid-column: 2;
}
html[data-support="desktop"] .xs-lire-histoire-header-v6 .blocs > .texte {
    padding: 0 10px;
    grid-column: 3;
}
html[data-support="mobile"] .xs-lire-histoire-header-v6 .blocs {
    grid-template-rows: auto 1px auto;
}
html[data-support="mobile"] .xs-lire-histoire-header-v6 .blocs > .infos {
    grid-row: 3;
    padding-top: 5px;
    padding-right: 10px;
    max-width: 300px;
    word-break: break-all;
    margin: 0 auto;    
}
html[data-support="mobile"] .xs-lire-histoire-header-v6 .blocs > .sep {
    display: block;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
    grid-row: 2;
}
html[data-support="mobile"] .xs-lire-histoire-header-v6 .blocs > .texte {
    padding: 0 10px;
    grid-row: 1;
}


.xs-lire-histoire-header-v6 .blocs > .infos {
    font-size: 12px;
}
.xs-lire-histoire-header-v6 .blocs > .infos ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.xs-lire-histoire-header-v6 .blocs > .infos .fa {
    width: 12px;
    margin-right: 3px;
    text-align: center;
    display: inline-block;
    color: #1b0c4d;
}
.xs-lire-histoire-header-v6 .blocs > .infos ul li {
    margin-bottom: 13px;
}
.xs-lire-histoire-header-v6 .blocs > .infos .xs-link:not(:hover) {
    color: inherit;
}
.xs-lire-histoire-header-v6 .blocs > .infos li .concours-link {
    font-weight: bold;
    color: #1b0c4d;
    text-decoration: none;
    font-size: 1.1em;
}
.xs-lire-histoire-header-v6 .blocs > .texte {
    text-align: center;
}

.xs-lire-histoire-header-v6 .titre {
    font-size: 28px !important;
    font-family: 'Abril Fatface';
    margin-bottom: 30px;
    line-height: 95%;
}
.xs-lire-histoire-header-v6 .chapitre {
    color: #1b0c4d;
    cursor: pointer;
}
.xs-lire-histoire-header-v6 .chapitre:hover {
    text-decoration: underline;
}
.xs-lire-histoire-header-v6 .soustitre {
    font-family: inherit !important;
    font-weight: bold;
    font-size: 20px !important;
    margin: 0 !important;
}
.xs-lire-histoire-header-v6 .medaille {
    font-family: inherit !important;
    font-weight: bold;
    font-size: 16px !important;
    color: #e34b55;
}
.xs-lire-histoire-header-v6 .categorie {
    display: block;
    margin-top: 20px;
    color: #3c3c3c;
    text-decoration: none;
}
.xs-lire-histoire-header-v6 .categorie:hover {
    text-decoration: underline;
}
.xs-lire-histoire-texte {
    margin-top: 20px;
}

.xs-lire-histoire-footer-v6 .footer-bloc {
    margin-bottom: 50px;
}
.xs-lire-histoire-footer-v6 .footer-bloc.actions {
    background: #f9f8ff;
    color: #1b0c4d;
}
html[data-support="desktop"] .xs-lire-histoire-footer-v6 .footer-bloc.actions { 
    display: grid;    
    grid-template-columns: 280px 1fr;
}
html[data-support="desktop"] .xs-lire-histoire-footer-v6 .footer-bloc.actions > .group1 {
    grid-column: 2;
    grid-row: 1;
    padding-left: 30px;
}
html[data-support="desktop"] .xs-lire-histoire-footer-v6 .footer-bloc.actions > .group2 {
    grid-column: 1;
    grid-row: 1;
}
html[data-support="mobile"] .xs-lire-histoire-footer-v6 {
    padding-left: 5px;
    padding-right: 5px;
}
html[data-support="mobile"] .xs-lire-histoire-footer-v6 .footer-bloc.actions {
    padding: 5px;
}
html[data-support="desktop"] .xs-lire-histoire-footer-v6 .footer-bloc.actions {
    padding: 30px;
}

.xs-lire-histoire-footer-v6 .footer-bloc.actions .action-stats {
    display: flex;
    flex-direction: row;
}
html[data-support="desktop"] .xs-lire-histoire-footer-v6 .footer-bloc.actions .action-stats {
    padding: 0 50px;
}
.xs-lire-histoire-footer-v6 .footer-bloc.actions .action-stats > .part {
    flex: 1;
    text-align: center;
}
.xs-lire-histoire-footer-v6 .footer-bloc.actions .action-stats .stat {
    font-size: 12px;
}
.xs-lire-histoire-footer-v6 .footer-bloc.actions .action-stats .stat .fa {
    margin-right: 3px;
}
.xs-lire-histoire-footer-v6 .footer-bloc.actions .action-stats .button {
    background: #de2f3a;
    transition: opacity 0.2s;
    color: white;
    font-size: 14px;
    border-radius: 5px;
    text-align: center;
    width: 130px;
    padding: 5px 0;
    cursor: pointer;
    display: inline-block;
}
.xs-lire-histoire-footer-v6 .footer-bloc.actions .action-stats .button:hover {
    opacity: 0.8;
}
.xs-lire-histoire-footer-v6 .footer-bloc.actions .action-conseil {
    text-align: center;
    margin-top: 30px;
}
.xs-lire-histoire-footer-v6 .footer-bloc.actions .action-fav .button {
    padding: 0px 10px;
    cursor: pointer;
    font-size: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: 25px 1fr;
    min-height: 45px;
    transition: all 0.2s;
}
.xs-lire-histoire-footer-v6 .footer-bloc.actions .action-fav .button .fa {
    grid-column: 1;
    align-self: center;
    text-align: left;
    padding-left: 5px;    
}
.xs-lire-histoire-footer-v6 .footer-bloc.actions .action-fav .button .text {
    grid-column: 2;
    align-self: center;
    text-align: center;
    padding-left: 5px;
    word-break: break-all;    
}
.xs-lire-histoire-footer-v6 .footer-bloc.actions .action-fav .button.author-fav {
    background: #e5656f;
    color: white;
}
.xs-lire-histoire-footer-v6 .footer-bloc.actions .action-fav .button.author-fav:hover {
    background: #de2f3a;
}
.xs-lire-histoire-footer-v6 .footer-bloc.actions .action-fav .button.histoire-fav {
    background: white;
    color: #e5656f;
    border: solid 2px #e5656f;
    box-sizing: border-box;
    width: 100%;
}
.xs-lire-histoire-footer-v6 .footer-bloc.actions .action-fav .button.histoire-fav:hover {
    color: #de2f3a;
    border: solid 2px #de2f3a;
}
.xs-lire-histoire-footer-v6 .footer-bloc.actions .action-report a {
    font-size: 10px;
    opacity: 0.68;
    text-decoration: underline;
    color: inherit;
    transition: opacity 0.2s;
    margin-left: 2px;
}
.xs-lire-histoire-footer-v6 .footer-bloc.actions .action-report a:hover {
    opacity: 1;
}
.xs-lire-histoire-footer-v6 .footer-bloc > h2 {
    color: #DE2F3A;
    font-size: 23px;
    font-family: 'Abril Fatface';
    font-weight: normal;
    margin: 20px 0 10px;    
}

.xs-lire-histoire-footer-v6 .footer-bloc.commentaires #histoire-comments #punajax > * {
    display: none;
}
.xs-lire-histoire-footer-v6 .footer-bloc.commentaires #histoire-comments #punajax > #qjump {
    display: none !important;
}
.xs-lire-histoire-footer-v6 .footer-bloc.commentaires #histoire-comments #punajax > .blockpost:not(.firstpost) {
    display: block;
}
.xs-lire-histoire-footer-v6 .footer-bloc.commentaires #histoire-comments #punajax > .blockform {
    display: block;
}
.xs-lire-histoire-footer-v6 .footer-bloc.commentaires #histoire-comments #punajax > .show-all-comments-button-wrapper {
    display: block;
    text-align: center;
    margin: 20px 0;
}
.xs-lire-histoire-footer-v6 .footer-bloc.commentaires #histoire-comments #punajax > .show-all-comments-button-wrapper .button {
    background: #de2f3a;
    transition: opacity 0.2s;
    color: white;
    font-size: 14px;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}
.xs-lire-histoire-footer-v6 .footer-bloc.commentaires #histoire-comments #punajax > .show-all-comments-button-wrapper .button:hover {
    opacity: 0.8;
}

.xs-lire-histoire-footer-v6 .footer-bloc.commentaires #histoire-comments:not(.show-all-posts) #punwrap .blockpost:not(.show_directly) {
    display: none;
}

.xs-lire-histoire-footer-v6 .footer-bloc.commentaires #histoire-comments .blockform h6 {
    display: none;
}
.xs-lire-histoire-footer-v6 .footer-bloc.commentaires #histoire-comments .add-comment-not-connected-button {
    width: 300px;
    background: #de2f3a;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 25px;
    font-size: 20px;
    cursor: pointer;
    transition: opacity 0.2s;
    margin: 0 auto;
    display: block;
}
.xs-lire-histoire-footer-v6 .footer-bloc.commentaires #histoire-comments .add-comment-not-connected-button:hover {
    opacity: 0.8;
}
.xs-lire-histoire-footer-v6 .footer-bloc.commentaires #histoire-comments #forum-submit-errors .message {
    color: #de2f3a;
    font-weight: bold;
    text-align: center;
    border: solid 1px #de2f3a;
}

html[data-support="desktop"] .xs-lire-histoire-footer-v6 .footer-bloc.chapitres .button {
    width: 300px;
}
html[data-support="mobile"] .xs-lire-histoire-footer-v6 .footer-bloc.chapitres .button {
    width: 100%;
}
.xs-lire-histoire-footer-v6 .footer-bloc.chapitres .button {
    margin: 0 auto 10px auto;
    text-align: center;
    display: block;
    transition: all 0.2s;
    font-size: 14px;
    border-radius: 5px;
    padding: 20px;
    cursor: pointer;
    box-sizing: border-box;
    text-decoration: none;
}
.xs-lire-histoire-footer-v6 .footer-bloc.chapitres .button .text {
    display: inline;
    margin-right: 5px;
}
.xs-lire-histoire-footer-v6 .footer-bloc.chapitres .button.all-chapters {
    background: #de2f3a;
    color: white;
}
.xs-lire-histoire-footer-v6 .footer-bloc.chapitres .button.all-chapters:hover {
    opacity: 0.8;
}
.xs-lire-histoire-footer-v6 .footer-bloc.chapitres .button.next-chapter {
    background: white;
    color: #1b0c4d;
    border: solid 2px #1b0c4d;
}
.xs-lire-histoire-footer-v6 .footer-bloc.chapitres .button.next-chapter:hover {
    background: #1b0c4d;
    color: white;
}


.modal-v6.chapters .content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.modal-v6.chapters .content .chapter {
    margin-bottom: 10px;
    position: relative;
}
.modal-v6.chapters .content .chapter.current::before {
    content: "\f0da";
    font-family: FontAwesome;
    left: -12px;
    vertical-align: middle;
    position: absolute;
    top: 7px;
    font-size: 20px;
}
.modal-v6.chapters .content .chapter a {
    text-decoration: none !important;
    color: #1b0c4d !important;
}
.modal-v6.chapters .content .chapter a:hover {
    color: #e24852 !important;
}
.modal-v6.chapters .content .chapter.current a {
    font-weight: bold;
}
.modal-v6.chapters .content .chapter .text {
    display: inline;
    margin-left: 3px;
}
.modal-v6.chapters .content .chapter .score {
    display: inline;
}
html[data-support="mobile"] #xs-content {
    padding: 0 10px;
    box-sizing: border-box;
}
html[data-support="mobile"] .xs-lire-histoire-paragraphe {
    text-indent: 10px;
    line-height: 26px;
}
html[data-support="mobile"] .xs-lire-histoire-texte-content {
    font-size: 15px;
}
.xs-lire-histoire-texte-content {
    font-family: 'Source Sans Pro';
}
html[data-support="mobile"] .xs-lire-histoire .xs-lire-histoire-texte-content::first-letter {
    margin-right: -6px;
}

.xs-settings-wrapper .xs-floatting-bottom-button svg {
    fill: #1b0c4d;    
    margin: 20%;
}
.xs-settings-wrapper .xs-floatting-bottom-button.important {
    border-color: #DE2F3A;
}
.xs-settings-wrapper .xs-floatting-bottom-button.important svg {
    fill: #DE2F3A;
}
.xs-settings-wrapper {
    position: fixed;
    margin-left: -55px;
    bottom: 50px;
    z-index: 1;
}
.xs-settings-wrapper .sub-wrapper {
    position: relative;
    top: 20px;
    left: 0;
    overflow-y: hidden;
    height: 0;
    transition: height 0.4s;
}
.xs-settings-wrapper.open .sub-wrapper {
    height: 285px;
}
.xs-settings-wrapper .sub {
    position: absolute;
    top: 0;
    left: 0;
}
.xs-settings-wrapper .xs-floatting-bottom-button {
    border: solid 4px #1b0c4d;
    box-sizing: border-box;
    border-radius: 100%;
    background-color: white;
    margin-bottom: 5px;
    transition: all 0.2s;
}
.xs-settings-wrapper.open .xs-floatting-bottom-button {
    opacity: 1;
}
.xs-settings-wrapper .sub-wrapper .xs-floatting-bottom-button:hover {
    width: 55px;
    height: 55px;
    margin-left: -5px;
}
.xs-settings-wrapper.open .sub-wrapper:hover {
    overflow: visible;
}
.xs-settings-wrapper .xs-floatting-infopop {
    position: absolute;
    background: #f5f2ff;
    right: 100%;
    margin-top: 10px;
    margin-right: 10px;
    border-radius: 10px;
    padding: 5px;
    border: 1px solid #dfd9f2;
    color: rgb(27, 12, 77);
    transition: all 0.3s;
    top: 0;
    display: none;
    white-space: nowrap;
}

#xs-sidebar #favori-auteur-button {
    margin-bottom: 20px;
}

/* protection copier-coller */
@media print {
    #xs-sidebar {
	display: none;
    }
    .xs-lire-histoire-texte::before {
	content: 'Pour imprimer cette histoire, merci de telecharger la version PDF.';	
	font-size: 20px;
	font-weight: bold;
	text-align: center;
    }
    .xs-lire-histoire-texte-content {
	display: none;
    }
}
._selected {
    background: #3390ff;
    color: white;
}

.info-nopaste-popup {
    position: fixed;
    top: 20px;
    left: 20px;
    display: none;
    border: solid 2px #DE2F3A;
    color: #DE2F3A;
    border-radius: 6px;
    background: white;
    padding: 20px;
    cursor: pointer;
}
.info-nopaste-popup::before {
    content: "Information importante";
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    display: block;
}


.xs-lire-histoire-texte .note {
    display: inline;
}
.xs-lire-histoire-texte .note .note-button {
    display: inline;
    margin: 0 2px;
    cursor: pointer;
}
.xs-lire-histoire-texte .note .note-button:before {
    content: '\f29c';
    font-family: FontAwesome;
    color: #e24852;
}
.xs-lire-histoire-texte .note .note-content {
    display: none;
}