#container .episode-main-container {
    overflow: visible;
}

#cookie-warning {
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    width: 100%;
    margin: 60px 0;
}

.new-layout-popup .buttons {
    margin-top: 26px;
}

#register-popup.popup.ready {
    width: 22%;
}

#episode-popup-glitter-left {
    background: url("/static/img/magic_glitter_left.png") no-repeat;
    background-size: 100%;
    width: 230px;
    height: 355px;
    overflow: visible;
    position: absolute;
    left: -42%;
    top: 80px;
}

#episode-popup-glitter-right {
    background: url("/static/img/magic_glitter_right.png") no-repeat;
    background-size: 100%;
    width: 140px;
    height: 355px;
    overflow: visible;
    position: absolute;
    left: 100%;
    top: 20px;
}

#episode-timeline {
    display: none;
    margin: 20px 0;
    position: relative;
    height: 20px;
}

#episode-timeline div.episode {
    border-top: 1px solid rgb(52, 56, 111);
    border-bottom: 1px solid rgb(27, 31, 93);
    position: absolute;
}

#episode-timeline div.episode.completed {
    border-top: 1px solid rgb(0, 238, 248);
    border-bottom: 1px solid rgb(0, 164, 178);
}

#episode-timeline div.episode.disabled {
    border-top: 1px solid rgb(200, 200, 200);
    border-bottom: 1px solid rgb(100, 100, 100);
}

#episode-timeline div.episode .dot {
    width: 10px;
    height: 10px;
    position: absolute;
    background: url('/static/img/bullet_small.png');
    top: -5px;
    left: -5px;
}

#episode-timeline div.episode.completed .dot {
    background: url('/static/img/bullet_small_2.png');
}

#episode-timeline div.player {
    background: #BEC9F8;
    box-shadow: inset 0px 0px 7px #34386F;
    border: 1px solid rgb(52, 56, 111);
    position: absolute;
    width: 20px;
    height: 20px;
    top: 2px;
    border-radius: 30px;
    border-top-left-radius: 0px;
    background-size: 140%;
    background-position: 41% 9%;
    background-repeat: no-repeat;
}

#episode-timeline div.player:hover {
    width: 50px;
    height: 50px;
}

#episode-menu {
    text-align: center;
    margin-top: -23px;
    margin-bottom: 20px;
}

#episode-menu > li {
    position: relative;
    display: inline-block;
    height: 30px;
    box-sizing: border-box;
    box-shadow: 2px 1px 4px rgba(10, 13, 60, 0.6);
    font-size: 14px;
    font-weight: bold;
    margin: 0 15px;
    z-index: 1;
}

#episode-menu > li.active {
    box-shadow: none;
}

#episode-menu > li > a {
    height: 30px;
    box-sizing: border-box;
    display: block;
    padding: 7px 18px;
    color: #fff;
    text-decoration: none;
    background-color: #2092fb;
    border-top: 2px solid #baf0fc;
    border-bottom: 2px solid #baf0fc;
}

#episode-menu > li.active a {
    background-color: #fff;
    border-top: 2px solid #2092fb;
    border-bottom: 2px solid #2092fb;
}

#episode-menu > li.active a,
#episode-menu > li a:hover {
    color: #2092fb;
    background-color: #fff;
    border-top: 2px solid #2092fb;
    border-bottom: 2px solid #2092fb;
}

#episode-menu > li a:before {
    content: "";
    position: absolute;
    display: block;
    width: 12px;
    height: 30px;
    box-sizing: border-box;
    top: 0;
    left: -6px;
    z-index: -1;
    background-color: #2092fb;
    border-left: 2px solid #baf0fc;
    border-top: 2px solid #baf0fc;
    border-bottom: 2px solid #baf0fc;
    box-shadow: 2px 1px 4px rgba(38, 45, 131, 0.6);
    transform: skew(-15deg, 0deg);
}

#episode-menu > li.active a:before,
#episode-menu > li a:hover:before {
    box-shadow: none;
    background-color: #fff;
    border-left: 2px solid #2092fb;
    border-top: 2px solid #2092fb;
    border-bottom: 2px solid #2092fb;
}

#episode-menu > li a:hover::after,
#episode-menu li.active a::after {
    box-shadow: none;
    background-color: #fff;
    border-right: 2px solid #2092fb;
    border-top: 2px solid #2092fb;
    border-bottom: 2px solid #2092fb;
}

#episode-menu > li a::after {
    content: "";
    position: absolute;
    display: block;
    width: 12px;
    height: 30px;
    box-sizing: border-box;
    top: 0;
    right: -6px;
    z-index: -1;
    background-color: #2092fb;
    border-right: 2px solid #baf0fc;
    border-top: 2px solid #baf0fc;
    border-bottom: 2px solid #baf0fc;
    box-shadow: 2px 1px 1px rgba(50, 50, 100, 0.7);
    transform: skew(-15deg, 0deg);
}

.episode-list-tab {
    display: none;
}

.episode-list-tab.active {
    display: block;
}

.episode-list {
    display: flex;
    flex-wrap: wrap;
    /*max-height: 450px;*/
    overflow: hidden;
    padding: 10px 0 10px 45px;
}

.episode-list .mCSB_container {
    display: flex;
    flex-wrap: wrap;
}

.carousel-container .episode {
    display: inline-block;
    width: 365px;
    height: 190px;
    margin: 10px 10px;
    box-shadow: 0 0 9px rgba(24, 31, 75, 0.7);
    position: relative;
    border-radius: 20px;
    text-align: center;
    vertical-align: top;
}

.carousel-container .episode .episode-info {
    display: inline-block;
    padding: 10px 20px 0;
    border-radius: 25px;
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 8px 0 rgba(34, 33, 34, 0.56);
    color: #321540;
    margin-top: 15px;
}

.carousel-container .episode .episode-info span {
    vertical-align: text-top;
}

.carousel-container .episode .episode-info .pictures {
    font-family: "Alegreya Sans SC", sans-serif;
    position: absolute;
    top: -10px;
    right: -10px;
    width: 54px;
    height: 59px;
    line-height: 67px;
    font-weight: bold;
    color: #3ec0d7;
    font-size: 16px;
    user-select: none;
}

.season-s1 .carousel-container .episode .episode-info .pictures {
    background: url("/static/img/new-layout/story/list/s1/pictures.png") no-repeat;
}

.season-s2 .carousel-container .episode .episode-info .pictures {
    background: url("/static/img/new-layout/story/list/s2/pictures.png") no-repeat;
}

.episode-summary-popup-content .title {
    margin-bottom: 15px !important;
}

.episode-summary-popup-content .text {
    line-height: 23px !important;
}

.season-s1 .carousel-container .episode .episode-info .pictures.completed {
    background: url("/static/img/new-layout/story/list/s1/pictures-completed.png") no-repeat;
    color: white;
}

.season-s2 .carousel-container .episode .episode-info .pictures.completed {
    background: url("/static/img/new-layout/story/list/s2/pictures-completed.png") no-repeat;
    color: #fff;
}

.carousel-container .episode .episode-info .summary {
    font-family: "Alegreya Sans SC", sans-serif;
    display: inline-block;
    transition: background 0.3s;
    width: 32px;
    height: 36px;
    font-weight: bold;
    color: white;
    font-size: 16px;
    user-select: none;
    cursor: pointer;
    vertical-align: middle;
}

.season-s1 .carousel-container .episode .episode-info .summary {
    background: url("/static/img/new-layout/story/list/s1/summary.png");
}

.season-s2 .carousel-container .episode .episode-info .summary {
    background: url("/static/img/new-layout/story/list/s2/summary.png");
}

.season-s1 .carousel-container .episode .episode-info .summary:hover {
    background: url("/static/img/new-layout/story/list/s1/summary-hover.png");
}

.season-s2 .carousel-container .episode .episode-info .summary:hover {
    background: url("/static/img/new-layout/story/list/s2/summary-hover.png");
}

.carousel-container .episode .episode-info .name {
    font-family: "Alegreya Sans SC", sans-serif;
    text-transform: uppercase;
    font-size: 19px;
    font-weight: bold;
    padding-bottom: 5px;
    border-bottom: solid white 1px;
}

.carousel-container .episode .episode-info .number {
    font-family: "Alegreya Sans SC", sans-serif;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
}

#library-container {
    width: 100%;
    position: relative;
}

.episode-body {
    height: 190px;
    border-radius: 20px;
}

#episode-summary-prizes {
    padding: 0 15px;
    background-color: #34386f;
    border-radius: 6px;
    border: 1px solid rgb(0, 238, 248);
    box-shadow: inset 0 0 7px rgba(0, 0, 0, 0.5);
    position: relative;
    width: 80%;
    margin: 0 auto;
    color: white;
    text-shadow: 0 0 2px #EDA547, 0 0 3px #EDA547;
    font-weight: bold;
}

#episode-summary-prizes > div {
    margin: 10px;
}

#episode-summary-prizes ul {
    padding-left: 15px;
    margin: 3px;
}

.episode-main-container .episode-action {
    position: absolute;
    width: 100%;
    text-align: center;
    bottom: 0;
}

.episode-main-container .episode-action button, .episode-main-container .episode-action a {
    margin-bottom: 10px;
}

.episode-action button {
    margin: 0 5px;
}

.episode-main-container .episode .episode-conditions {
    width: 100%;
    position: absolute;
    bottom: 10px;
}

.episode-main-container .episode .episode-conditions ul {
    display: inline-block;
    padding: 10px 20px 10px 30px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 8px 0 rgba(34, 33, 34, 0.56);
    color: #321540;
    list-style: disc;
    text-align: left;
}

/* Pas de césure des mots dans le résumé de l'épisode */
#episode-summary .episode-description p {
    word-wrap: normal;
    overflow-wrap: normal;
}

#replay-narrative-popup .button-gray {
    cursor: default;
    font-size: 16px;
}

#replay-free-popup, #replay-narrative-popup {
}

#episode-summary {
    width: 420px;
    margin: 10px auto;
    border-radius: 10px;
    box-shadow: 0px -2px 3px rgba(52, 56, 111, 0.5);
    position: relative;

    background: -moz-linear-gradient(top, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(255, 255, 255, 0.8)), color-stop(50%, rgba(255, 255, 255, 0.8)), color-stop(100%, rgba(255, 255, 255, 0))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#99ffffff', endColorstr='#00ffffff', GradientType=0); /* IE6-9 */
}

#episode-backToList {
    text-align: center;
}

#notifications {
    padding: 5px;
    margin: 5px 0;
    height: 100px;
    overflow-y: auto;
    overflow-x: hidden;
}

#notifications li {
    color: white;
    font-size: 13px;
    line-height: 22px;
}

#notifications li.notification-highlight {
    font-weight: bold;
}

#episode-page-container #main-section .left {
    position: absolute;
    left: 0;
    top: 50px;
    width: 200px;
}

#episode-page-container #main-section .right .volume-container {
    padding: 41px 0 13px 14px;
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 10px 3px rgba(34, 33, 34, 0.3);
    border-radius: 30px;
    position: relative;
    width: 35px;
    box-sizing: border-box;
    margin-left: 5px;
    user-select: none;
}

#episode-page-container #main-section .right #volume-audio {
    background: linear-gradient(#FF9C00, #FFD200 80%);
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.4);
    border: none;
    height: 107px;
    width: 8px;
}

#episode-page-container #main-section .right #volume-audio .ui-slider-handle {
    width: 12px;
    height: 12px;
    border-radius: 6px;
    border: 1px solid #CCCCCC;
    background: linear-gradient(334deg, #FFFFFF 0%, #C6DAFC 100%);
    box-shadow: 0 0 5px 1px rgba(16, 50, 128, 0.3);
    cursor: move;
    left: -3px;
}

#episode-page-container #main-section .right #volume-audio.unmute {
    filter: grayscale(100%);
}

#episode-page-container #main-section .right .volume-icon #mute-icon {
    position: absolute;
    top: -7px;
    left: 15px;
    font-size: 30px;
    color: white;
}

#episode-page-container #main-section .right .volume-icon {
    position: absolute;
    top: -2px;
    right: -1px;
    box-sizing: border-box;
    height: 32px;
    width: 35px;
    text-align: center;
    line-height: 45px;
    background: linear-gradient(211deg, #00D0FF 0%, #00FFD3 100%);
    box-shadow: 0 0 10px 6px rgba(16, 50, 128, 0.36);
    border-radius: 15px;
    cursor: pointer;
}

#episode-page-container #main-section .right .volume-icon:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    box-shadow: 0 0 5px 3px white;
}

#episode-page-container #main-section .right {
    position: absolute;
    right: 0;
    top: 50px;
    width: 200px;
    padding-top: 130px;
    padding-left: 45px;
    box-sizing: border-box;
}

#episode-page-container #main-section .left h1, #episode-page-container #main-section .left h2 {
    color: #321540;
    text-shadow: 0 0 3px white;
    font-family: "Alegreya Sans SC", sans-serif;
}

#episode-page-container #main-section .right #dark-mod-button {
    width: 60px;
    height: 31px;
    margin-bottom: 30px;
    box-sizing: border-box;
    border-radius: 15px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 6px 2px white;
}

#episode-page-container #main-section .right #dark-mod-button #handler {
    width: 25px;
    height: 25px;
    box-shadow: 0 0 5px 2px rgba(16, 50, 128, 0.3);
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 31px;
    transition: all 0.3s ease-in-out;
}

/** Handler */
.season-s1 #episode-page-container #main-section .right #dark-mod-button #handler {
    background: url("/static/img/new-layout/story/dark-mode/s1/sun.png") center no-repeat, linear-gradient(115deg, #ffffff 0%, #c6dafc 100%);
}

.season-s2 #episode-page-container #main-section .right #dark-mod-button #handler {
    background: url("/static/img/new-layout/story/dark-mode/s2/sun.png") center no-repeat, linear-gradient(115deg, #ffffff 0%, #c6dafc 100%);
}

.season-s1 #episode-page-container.darkmod #main-section .right #dark-mod-button #handler {
    background: url("/static/img/new-layout/story/dark-mode/s1/moon.png") center no-repeat, linear-gradient(115deg, #ffffff 0%, #c6dafc 100%);
}

.season-s2 #episode-page-container.darkmod #main-section .right #dark-mod-button #handler {
    background: url("/static/img/new-layout/story/dark-mode/s2/moon.png") center no-repeat, linear-gradient(115deg, #ffffff 0%, #c6dafc 100%);
}

#episode-page-container.darkmod #main-section .right #dark-mod-button #handler {
    left: 3px;
}

/** Background du bouton */
.season-s1 #episode-page-container #main-section .right #dark-mod-button {
    background: url("/static/img/new-layout/story/dark-mode/s1/background.jpg");
}

.season-s2 #episode-page-container #main-section .right #dark-mod-button {
    background: url("/static/img/new-layout/story/dark-mode/s2/background.jpg");
}

.season-s1 #episode-page-container.darkmod #main-section .right #dark-mod-button {
    background: url("/static/img/new-layout/story/dark-mode/s1/background-night.jpg");
}

.season-s2 #episode-page-container.darkmod #main-section .right #dark-mod-button {
    background: url("/static/img/new-layout/story/dark-mode/s2/background-night.jpg");
}

#episode-page-container #main-section .left h1 {
    font-size: 40px;
    line-height: 40px;
}

#episode-page-container #main-section .left h2 {
    font-size: 27px;
    line-height: 23px;
}

#episode-page-container #main-section .left .menu-story {
    margin-top: 25px;
    text-align: left !important;
}

#episode-page-container #main-section .left .menu-story .story {
    width: 153px !important;
    cursor: pointer;
    margin: 0 !important;
}

#episode-page-container #main-section .left .menu-story .story a {
    line-height: 20px !important;
    padding-top: 10px;
}

#episode-page-container #main-section .left #missions {
    width: 151px;
    box-sizing: border-box;
    max-height: 450px;
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 10px 3px rgba(34, 33, 34, 0.3);
    border-radius: 20px;
    padding: 25px 10px;
    margin-top: 30px;
}

#episode-page-container #main-section .left #missions span {
    color: #321540;
    font-family: "Alegreya Sans SC", sans-serif;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    margin-left: 15px;
}

#episode-page-container #main-section .left #missions #objective-list {
    color: #321540;
    font-size: 14px;
    max-height: 409px;
    overflow: auto;
}

#episode-page-container #main-section .left #missions #objective-list li {
    position: relative;
    margin: 8px 0;
    padding-left: 20px;
}

#episode-page-container #main-section .left #missions #objective-list li:after {
    content: '';
    width: 14px;
    height: 14px;
    background: #24cadc;
    border-radius: 50%;
    position: absolute;
    border: solid 1px white;
    top: 0;
    left: 0;
}

#episode-page-container #main-section .left #missions #objective-list li.objective-completed {
    color: #FB8900;
    font-weight: bold;
    font-size: 14px;
}

#episode-page-container #main-section .left #missions #objective-list li.objective-completed:after {
    box-shadow: 0 0 6px 1px white;
    background: #24cadc url(/static/img/new-layout/story/check.png) no-repeat center;
}

#episode-container {
    width: 800px;
    height: 450px;
    margin: 0 auto 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px 3px rgba(34, 33, 34, 0.3);
    background-color: rgba(0,0,0,0.6);
}

#episode-container #gameCanvas {
    position: absolute;
    top: 0;
    left: 0;
}

.background {
    width: 800px;
    height: 450px;
    position: absolute;
    margin: 0;
}

.background img {
    position: absolute;
}

.mouseTargetsContainer {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
}

.mouseTargetTransition, .mouseTargetItem {
    z-index: 2;
    position: absolute;
    cursor: pointer;
}

.left-side {
    position: absolute;
    z-index: 2;
    left: 1%;
    top: 2%;
    width: 10%;
    height: 96%;
    border-top-left-radius: 200px;
    border-bottom-left-radius: 200px;
    -webkit-transition: 0.5s all;
}

.right-side {
    position: absolute;
    z-index: 2;
    left: 89%;
    top: 2%;
    width: 10%;
    height: 96%;
    border-top-right-radius: 200px;
    border-bottom-right-radius: 200px;
    -webkit-transition: 0.5s all;
}

.right-side:hover, .left-side:hover {
    box-shadow: 0px 0px 50px white inset;
}

#episode-container .text {
    z-index: 100;
    text-align: justify;
    position: absolute;
    overflow: hidden;
    font-family: "Suplexmentary";
    background: -moz-linear-gradient(top, rgba(0, 81, 93, 0.85) 0%, rgba(0, 31, 57, 0.85) 89%, rgba(0, 25, 53, 0.3) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 81, 93, 0.85)), color-stop(89%, rgba(0, 31, 57, 0.85)), color-stop(100%, rgba(0, 25, 53, 0.3))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(0, 81, 93, 0.85) 0%, rgba(0, 31, 57, 0.85) 89%, rgba(0, 25, 53, 0.3) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(0, 81, 93, 0.85) 0%, rgba(0, 31, 57, 0.85) 89%, rgba(0, 25, 53, 0.3) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(0, 81, 93, 0.85) 0%, rgba(0, 31, 57, 0.85) 89%, rgba(0, 25, 53, 0.3) 100%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(0, 81, 93, 0.85) 0%, rgba(0, 31, 57, 0.85) 89%, rgba(0, 25, 53, 0.3) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#d900515d', endColorstr='#4d001935', GradientType=0); /* IE6-9 */
    line-height: 1em;
    font-size: 20px;
}

#episode-container .text .typewriter-letter {
    opacity: 0;
}

#episode-container .text > div {
    color: rgba(255, 255, 255, 1);
    padding: 19px;
    box-sizing: border-box;
}

#episode-container .captureAlert {
    text-align: center;
    z-index: 100;
    overflow: hidden;
    margin: 60px auto;
    width: 450px;
    font-family: "Suplexmentary";
    border-radius: 20px;
    color: #34386f;
    background-color: rgba(255, 255, 255, 0.9);
    line-height: 1em;
    font-size: 20px;
    padding: 19px;
}

.tiled {
    margin: 0 auto;
}

.image,
.image.ui-resizable {
    position: absolute;
    overflow: hidden;
}

.image img {
    width: 100%;
    height: 100%;
}

.video,
.video.ui-resizable {
    position: absolute;
}

.npc, .npc.ui-resizable {
    position: absolute;
    background-size: 80%;
}

.svgPath, .svgPath.ui-resizable {
    position: absolute;
}

.svgPath svg {
    overflow: visible !important;
}

.bubble, .bubble.ui-resizable, .bubbleText, .bubbleText.ui-resizable {
    position: absolute;
    text-align: center;
    font-family: "Suplexmentary", cursive;
    line-height: 1em;
    font-size: 13px;
}

.bubbleText {
    line-height: 109px;
    white-space: pre-line;
}

.bubbleText > div {
    vertical-align: middle;
    display: table-cell;
    line-height: 1em;
}

.bubble img {
    left: 0px;
    top: 0px;
    width: inherit;
    height: inherit;
}

.choiceText {
    z-index: 100;
    margin: 0 auto;
    position: absolute;
    bottom: 4%;
    left: 4%;
    right: 4%;
    font-family: "Suplexmentary";
    background: -moz-linear-gradient(left, rgba(46, 0, 53, 0.9) 0%, rgba(27, 43, 126, 0.9) 60%, rgba(15, 71, 174, 0.8) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(46, 0, 53, 0.9)), color-stop(60%, rgba(27, 43, 126, 0.9)), color-stop(100%, rgba(15, 71, 174, 0.8))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left, rgba(46, 0, 53, 0.9) 0%, rgba(27, 43, 126, 0.9) 60%, rgba(15, 71, 174, 0.8) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left, rgba(46, 0, 53, 0.9) 0%, rgba(27, 43, 126, 0.9) 60%, rgba(15, 71, 174, 0.8) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left, rgba(46, 0, 53, 0.9) 0%, rgba(27, 43, 126, 0.9) 60%, rgba(15, 71, 174, 0.8) 100%); /* IE10+ */
    background: linear-gradient(to right, rgba(46, 0, 53, 0.9) 0%, rgba(27, 43, 126, 0.9) 60%, rgba(15, 71, 174, 0.8) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e62e0035', endColorstr='#cc0f47ae', GradientType=1); /* IE6-9 */
    color: rgba(255, 255, 255, 1);
    padding: 1%;
    font-size: 150%;
    width: 90%;
}

.choiceTextRpg {
    z-index: 100;
    margin: 0 auto;
    position: absolute;
    bottom: 4%;
    left: 2%;
    right: 8%;
    font-family: "Suplexmentary";
    background: -moz-linear-gradient(left, rgba(46, 0, 53, 0.9) 0%, rgba(27, 43, 126, 0.9) 60%, rgba(15, 71, 174, 0.6) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(46, 0, 53, 0.9)), color-stop(60%, rgba(27, 43, 126, 0.9)), color-stop(100%, rgba(15, 71, 174, 0.6))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left, rgba(46, 0, 53, 0.9) 0%, rgba(27, 43, 126, 0.9) 60%, rgba(15, 71, 174, 0.6) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left, rgba(46, 0, 53, 0.9) 0%, rgba(27, 43, 126, 0.9) 60%, rgba(15, 71, 174, 0.6) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left, rgba(46, 0, 53, 0.9) 0%, rgba(27, 43, 126, 0.9) 60%, rgba(15, 71, 174, 0.6) 100%); /* IE10+ */
    background: linear-gradient(to right, rgba(46, 0, 53, 0.9) 0%, rgba(27, 43, 126, 0.9) 60%, rgba(15, 71, 174, 0.6) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e62e0035', endColorstr='#990f47ae', GradientType=1); /* IE6-9 */
    color: rgba(255, 255, 255, 1);
    padding: 1%;
    font-size: 150%;
    width: 90%;
}

.choiceText .choice, .adminChoiceText .choice {
    color: White;
    cursor: pointer;
    padding: 3px;
    line-height: 100%;
    -webkit-transition: all 0.2s ease-in-out;
    white-space: pre-line;
}

.choiceTextRpg .choice, .adminChoiceTextRpg .choice {
    color: White;
    cursor: pointer;
    padding: 3px;
    padding-right: 11%;
    line-height: 100%;
    -webkit-transition: all 0.2s ease-in-out;
    word-break: break-word;
    white-space: pre-line;
}

.choice:hover {
    background: rgba(255, 255, 255, 0.1);
    -webkit-transition: all 0.2s ease-in-out;
}

.npcRpg {
    position: absolute;
    z-index: -1;
    bottom: -18px;
    left: 0;
}

.transition {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 14px;
    border: 2px solid #000;
    box-shadow: -1px -1px 1px rgb(0, 238, 248), 1px 1px 1px rgb(0, 238, 248), -1px 1px 1px rgb(0, 238, 248), 1px -1px 1px rgb(0, 238, 248);
    background: rgb(96, 238, 249);
    z-index: 1;
}

.transition {
    color: var(--main-season-color);
    box-shadow: -1px -1px 1px var(--main-season-color), 1px 1px 1px var(--main-season-color), -1px 1px 1px var(--main-season-color), 1px -1px 1px var(--main-season-color);
    background: var(--main-season-color);
}

.transition:hover {
    cursor: pointer;
}

.transitionBubble {
    opacity: 0;
    position: relative;
    height: 50px;
    width: 200px;
    text-align: center;
    position: absolute;
    z-index: 1;
}

.transitionBubble > div {
    border-radius: 5px;
    width: 100%;
    padding: 10px 0px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 15px;
    font-weight: bold;
}

.anchoredItem, .placedItem, .interactionElement {
    position: absolute;
}

.interactionElement {
    cursor: pointer;
}

.captureEpContent {
    z-index: 100;
    margin: 0 auto;
    position: absolute;
    bottom: 4%;
    left: 4%;
    right: 4%;
    font-family: "Suplexmentary";
    background: -moz-linear-gradient(left, rgba(46, 0, 53, 0.9) 0%, rgba(27, 43, 126, 0.9) 60%, rgba(15, 71, 174, 0.8) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(46, 0, 53, 0.9)), color-stop(60%, rgba(27, 43, 126, 0.9)), color-stop(100%, rgba(15, 71, 174, 0.8))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left, rgba(46, 0, 53, 0.9) 0%, rgba(27, 43, 126, 0.9) 60%, rgba(15, 71, 174, 0.8) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left, rgba(46, 0, 53, 0.9) 0%, rgba(27, 43, 126, 0.9) 60%, rgba(15, 71, 174, 0.8) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left, rgba(46, 0, 53, 0.9) 0%, rgba(27, 43, 126, 0.9) 60%, rgba(15, 71, 174, 0.8) 100%); /* IE10+ */
    background: linear-gradient(to right, rgba(46, 0, 53, 0.9) 0%, rgba(27, 43, 126, 0.9) 60%, rgba(15, 71, 174, 0.8) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e62e0035', endColorstr='#cc0f47ae', GradientType=1); /* IE6-9 */
    color: rgba(255, 255, 255, 1);
    padding: 8px 8px 18px;
    font-size: 150%;
    width: 90%;
}

.captureEpContent #captureBait-content {
    position: relative;
}

.captureEpContent .captureBait-page {
    position: relative;
    margin: 0 auto;
}

.captureEpContent .captureBait-page.current {
    display: block;
}

.captureEpContent .captureBait-page:not(.current) {
    display: none;
}

.captureEpContent .captureBait {
    float: left;
    cursor: pointer;
    border-radius: 8px;
}

.captureEpContent .noBait {
    padding: 8px;
    text-align: center;
}

.captureEpContent .captureBait:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

#captureBait-pagination {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    line-height: 55px;
}

#captureBait-pagination button {
    position: absolute;
    top: 25px;
}

#nextCaptureBait {
    right: 0;
}

#captureTimer {
    position: absolute;
    right: -20px;
    text-align: right;
    font-size: 0.6em;
    background-color: white;
    color: black;
    padding: 5px;
    border-radius: 50px;
    top: -12px;
}

#captureExit {
    position: absolute;
    right: -20px;
    text-align: right;
    font-size: 0.6em;
    padding: 5px;
    bottom: -10px;
}

#episode-toolbox {
    width: 800px;
    margin: 10px auto 0;
}

#episode-toolbox #history {
    float: left;
    margin: 0 10px 0 0;
}

#episode-toolbox > div {
    width: 385px;
    background: #34386F;
    height: 140px;
    overflow: hidden;
    padding: 5px;
    border-radius: 4px;
}

#episode-toolbox #audio-config {
    margin: 0;
    box-sizing: border-box;
    height: initial;
    position: absolute;
    left: -2px;
    top: 180px;
    width: 170px;
    display: block;
    border-radius: 0 6px 6px 0;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: rgba(23, 23, 23, 0.73) 0 0 5px;
    padding: 0;
}

#episode-toolbox #audio-config-container {
    width: 170px;
    height: 70px;
    position: relative;
}

#episode-toolbox #audio-config #mute-audio {
    position: absolute;
    left: 70px;
    top: 10px;
    cursor: pointer;
}

#episode-toolbox #audio-config #mute-audio:hover {
    transform: scale(1.1);
}

#episode-toolbox #audio-config #mute-audio.unmute {
    filter: grayscale(100%);
}


#episode-toolbox #audio-config #audio-config-music {
    position: absolute;
    top: 13px;
    left: 47px;
    font-family: Alegreya Sans SC, serif;
    font-size: 16px;
    color: #259dd6;
    visibility: hidden;
}

#episode-toolbox #audio-config #audio-config-music.unmute {
    color: #808080;
}

#episode-toolbox #audio-config-button {
    position: absolute;
    top: 180px;
    left: -52px;
    height: 50px;
    width: 50px;
    cursor: pointer;
    border: none;
    text-decoration: none;
    text-align: center;
    display: block;
    border-bottom-left-radius: 8px;
    border-top-left-radius: 8px;
    transition: background .5s;
    background-color: #252a66;
    background: rgba(37, 42, 102, 0.9) url('/static/img/parameters.png') no-repeat 12px 11px;
}

#episode-toolbox #audio-config-button:hover {
    background: rgba(37, 42, 102, 0.75) url('/static/img/parameters.png') no-repeat 12px 11px;
}

#episode-toolbox #audio-config-button.active {
    background: rgba(255, 255, 255, 0.9) url('/static/img/parameters-on.png') no-repeat 12px 11px;
}

#episode-toolbox h2 {
    padding-top: 3px;
    text-align: left;
    color: white;
    text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.2);

    font-size: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid #ccc;
}

#episode-toolbox hr {
    display: block;
    margin: 0;
    width: 70%;
    border: none;
    border-top: 1px solid rgb(0, 238, 248);
    border-bottom: 1px solid rgb(0, 164, 178);
    box-shadow: 0px 0px 10px rgba(0, 0, 255, 0.5);
}

.episode-consequence-item {
    width: 80px;
    height: 80px;
    background: white;
    margin: 7px;
    cursor: pointer;
    position: relative;
    border-radius: 3px;
    box-shadow: 0px 0px 5px black;
}

.episode-consequence-item > img {
    width: 100%;
    height: 100%;
}

.episode-consequence-item:hover {
    background: #D5F5A8;
}

.episode-consequence-item:after {
    display: block;
    position: absolute;
    bottom: 0px;
    left: 1px;
    width: 78px;
    border-top: 1px solid rgb(0, 238, 248);
    border-bottom: 1px solid rgb(0, 164, 178);
    box-shadow: 0px 0px 10px rgba(0, 0, 255, 0.5);
    content: '';
}

#demo-registerButton a {
    color: white;
}

#demo-registerButton {
    background: url('/static/img/btn_fast_subscription.png');
    position: relative;
    width: 204px;
    height: 49px;
    left: 350px;
    top: 5px;
}

#demo-registerButton:hover {
    cursor: pointer;
}

#demo-registerButton div {

    color: white;
    font-size: 17px;
    text-shadow: -1px -1px 3px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.08em;
    position: absolute;
    left: 25px;
    top: 18px;
}

.btn_fb_subscription {
    background: url('/static/img/btn_fb_subscription.png');
    width: 213px;
    height: 45px;
    display: inline-block;
}

.pseudo_register {
    display: none;
}

input[disabled=disabled] {
    background: #e7e7e7;
}

/* Exception TODO*/
#displayable_15224 {
    z-index: 99;
}

#displayable_15227 {
    z-index: 99;
}

#todo_24 {
    width: 150px;
    height: 230px;
    top: 220px;
    left: 650px;
}

/** Mode sombre */
#dark-mod-overlay {
    background: rgba(0, 0, 0, 0.7);
    pointer-events: none;
    display: none; /** FIXME si on sauvegarde l'état du darkmod */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#episode-page-container.darkmod #main-section .left h1,
#episode-page-container.darkmod #main-section .left h2 {
    transition: color 0.3s ease-in-out;
    color: white;
    text-shadow: none;
}

#episode-page-container.darkmod #main-section .left #missions #objective-list .objective-completed {
    transition: color 0.3s ease-in-out;
    color: white;
}

/* Interface (formulaire) pour les scènes de type input */
#input-container {
    position: absolute;
    bottom: 2%;
    left: 2%;
    width: 96%;
    height: 50px;
    background: #422F6C;
    padding: 8px;
    box-sizing: border-box;
}

#input-container input {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    background: #fff;
    outline: none;
    border: none;
}

#input-container button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 2%;
    box-sizing: border-box;
    height: 23px;
    width: 23px;
    border: 1px solid #FFFFFF;
    background: linear-gradient(211deg, #00D0FF 0%, #00FFD3 100%);
    box-shadow: inset 0 0 27px rgba(9, 191, 198, 0.55);
    border-radius: 9px;
    cursor: pointer;
}

#input-container button::after {
    content: ' ';
    position: absolute;
    top: 7px;
    left: 5px;
    width: 12px;
    height: 8px;
    background: url(/static/img/new-layout/pet/icons/svg/check.svg);
    background-size: cover;
}

#input-container button.disabled {
    cursor: not-allowed;
    filter: grayscale(1);
}

/* Achat d'illu ratée */
#episode-container #buy-illustration-scene {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#episode-container #buy-illustration-scene #buy-illustration-content-outer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 420px;
    height: 350px;
}

#episode-container #buy-illustration-scene #buy-illustration-content {
    background: url(/static/img/new-layout/popup/bg-popup-1.png) no-repeat;
    background-size: 100% 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    padding: 80px 60px 0 52px;
    box-sizing: border-box;
    text-align: center;
}

#episode-container #buy-illustration-scene #buy-illustration-content::after {
    content: ' ';
    background: url(/static/img/new-layout/home/connected/lock.png) no-repeat center;
    background-size: contain;
    width: 64px;
    height: 82px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
}

#episode-container #buy-illustration-scene #buy-illustration-content-outer1 {
    background: url(/static/img/new-layout/popup/bg-popup-2.png) no-repeat;
    background-size: 100% 100%;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 2;
    opacity: 1;
    animation: popup-skew alternate infinite 2600ms linear;
    top: 0;
    left: 0;
}

#episode-container #buy-illustration-scene #buy-illustration-content-outer2 {
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    opacity: 1;
    background-image: url(/static/img/new-layout/popup/bg-popup-3-s1.png);
    animation: popup-skew alternate infinite 3100ms linear 300ms;
    top: 0;
    left: 0;
}

#episode-container #buy-illustration-scene #buy-illustration-content h3 {
    color: #321540;
    font-family: "Alegreya Sans SC", sans-serif;
    font-size: 19px;
    font-weight: 900;
    line-height: 16px;
    text-align: center;
    letter-spacing: 1px;
    width: 240px;
    margin: 0 auto 10px;
}

#episode-container #buy-illustration-scene #buy-illustration-content p {
    color: #321540;
    font-family: "Alegreya Sans", sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    width: 200px;
    letter-spacing: 1px;
    margin: auto;
}

#episode-container #buy-illustration-scene #buy-illustration-content button,
#episode-container #buy-illustration-scene #buy-illustration-content a {
    margin: 15px auto;
}

#episode-container #buy-illustration-scene #buy-illustration-content a {
    display: block;
    text-decoration: underline;
    color: var(--main-season-color);
    text-transform: uppercase;
    font-size: 12px;
    cursor: pointer;
}

#episode-container #buy-illustration-scene #buy-illustration-fireflies {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 100%;
}

.season-s1 #free-replay-button::before {
    content: '';
    position: absolute;
    background: url(/static/img/currency/legacy.png);
    width: 36px;
    height: 44px;
    background-size: cover;
    right: 1px;
    top: 2px;
    z-index: 3;
}

.season-s1 #free-replay-button.legacy-currency::after {
    right: -8px;
}

#episode-page-container #objective-list .mCSB_draggerRail {
    display: none;
}
