* {
    margin: 0;
    padding: 0;
}

:root {
    --entete-height: 50px;
    --menu-height: 55px;
    --pied-height: 30px;
    --marge-resultat: 10px;
    --marge_logo: 20px;
    --width-logo: 42px;
    --width-accessibilite : 170px;
    --marge-aide: 10px;
    --vert-clair: #22747D;
    --bleu-hover: #34495E;
    --bleu-clair: #74C7E2;
    --color-bg: #0D3E5D;
    --jaune-focus: #FFC90E;
}


.vertical-centered-box {
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
}
.vertical-centered-box:after {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -0.25em;
}
.vertical-centered-box .contentVertical {
    box-sizing: border-box;
    display: inline-block;
    vertical-align: middle;
    text-align: left;
    font-size: 0;
}

#loadingMask {
    position: fixed;
    z-index: 999;
    overflow: visible;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.visibleEffect {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.5s linear;
}
/* Fade-Out Effect */
.hiddenEffect {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.5s, opacity 0.5s linear;
}

.loader-circle {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
    margin-left: -60px;
    margin-top: -60px;
}

.loader-line-mask {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 60px;
    height: 120px;
    margin-left: -60px;
    margin-top: -60px;
    overflow: hidden;
    transform-origin: 60px 60px;
    -webkit-mask-image: -webkit-linear-gradient(top, rgba(0,0,0,1), rgba(0,0,0,0));
    animation: rotate 1.2s infinite linear;
}
.loader-line-mask .loader-line {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
}

#particles-background, #particles-foreground {
    left: -51%;
    top: -51%;
    width: 202%;
    height: 202%;
    transform: scale3d(.5, .5, 1);
}

#particles-background {
    background: mix(#3f3251, #002025, 70%);
    background-image: -moz-linear-gradient(45deg, #3f3251 2%, #002025 100%);
    background-image: -webkit-linear-gradient(45deg, #3f3251 2%, #002025 100%);
    background-image: linear-gradient(45deg, #3f3251 2%, #002025 100%);
}

@keyframes rotate { 0% { transform: rotate(0deg);} 100% { transform: rotate(360deg);}}

@keyframes fade { 0% { opacity: 1;} 50% { opacity: 0.25;}}

@keyframes fade-in { 0% { opacity: 0;} 100% { opacity: 1;}}

html {
    width: 100%;
    height: 100% !important;
}

body {
    width: 100%;
    min-height: unset;
}

#j_entete {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--entete-height);
    background-color: var(--color-bg);
    color: #fff;
}

#j_entete_text {
    background-color: var(--color-bg);
    color: #fff;
    text-align: left;
    padding-top: 13px;
    padding-left: 20px;
    font-size: 18px;
}

#j_menu {
    display: block;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background-color: var(--vert-clair);
    color: #fff;
}

#j_container {
    display: block;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100vh - var(--entete-height) - var(--pied-height) - var(--menu-height));
    background-color: var(--vert-clair);
    z-index: 10;
}

#j_container_editeur {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    background-color: var(--vert-clair);
    font-size: 16px;
}

#j_container_resultat:focus {
    border:3px solid var(--jaune-focus);
}

.labelHidden {
    color: #000;
    background-color: #fff;
    display:none;
}

.btnfilename{
    padding-right: 7px;
    cursor: pointer;
}
.btnfilename.editing{
    border: 2px solid #007BFF;
    padding: 4px;
}
a.linkeditor {
    padding-right: 10px !important;
    z-index: 10;
    top:1px;
}


.CodeMirror-sizer{
    border-top:1px solid #dddddd;
}
#htmlHeader .contentZone::before {
    content: "\f13b";
    font-size: 24px;
    font-weight: 400;
    left: 6px;
    top: 9px;
    color:#DD4B25;
    position: absolute;
    font-family: "Font Awesome 5 Brands";
}
#cssHeader .contentZone::before {
    content: "\f38b";
    font-size: 24px;
    font-weight: 400;
    left: 6px;
    top: 9px;
    color:#2194F0;
    position: absolute;
    font-family: "Font Awesome 5 Brands";
}
#jsHeader .contentZone::before {
    content: "\f3b9";
    font-size: 24px;
    color:#d9c854;
    font-weight: 400;
    left: 6px;
    top: 9px;
    position: absolute;
    font-family: "Font Awesome 5 Brands";
}
#tabViewhtml,
#tabViewcss,
#tabViewjs{
    width: 95%;
    margin-left: calc(5% + 1px);
}

.labelModal {
    font-size: 16px;
    font-weight: 500;
}

#j_dlginputuser_input_titre {
    margin-bottom: 15px;
}

#j_editeur {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #F0FFFF;
    font-size: 16px;
}

#j_splitter {
    display: block;
    background-color: var(--vert-clair);
    position: absolute;
    cursor: e-resize;
    z-index: 20;
    top: 0;
    left: 310px;
    width: 10px;
    height: 100%;
}

html.dragVert {
    cursor:col-resize !important;
}
html.dragHori {
    cursor:row-resize !important;
}

#j_splitter i{
    top: 49%;
    left: 3px;
    position: absolute;
    color: white;
}

.splitter_horizontal {
    display: block;
    background-color: var(--vert-clair);
    cursor: n-resize;
    width: 100%;
    height: 1px;
}

.splitter_horizontal:after {
    content: "";
    display: block;
    height: 11px;
    width: 100%;
    position: relative;
    top: -5px;
    z-index: 10;
}

.CodeMirror-cursor{
    border-left: 0 !important;
    width: 2px !important;
    border-radius: 2px !important;
    background-color:var(--jaune-focus);
}

.splitter_horizontal i{
    top: 49%;
    left: 3px;
    position: absolute;
    color: white;
}

#shield {
    display: none;
    top: 0;
    left: 0;
    width: 100%;
    position: absolute;
    height: 100%;
    z-index: 1000;
}

#j_container_aide {
    display: none;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #DDDDDD;
    overflow: auto;
}

#j_aide {
    margin: var(--marge-aide);
}

#j_aide h2{
    margin-top:0;
}

#j_container_resultat {
    display: block;
    position: absolute;
    top: 0;
    left: 320px;
    width: 300px;
    height: 100%;
    color: #fff;
    font-family: 'Courier New', monospace;
    font-size: 16px;
}

#j_processoutput {
    background-color: #fff;
    color: #000000;
    font-family: 'Courier New', monospace !important;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100%);
    height: calc(100%);
    overflow: auto;
}

#preview {
    width: calc(100% - 5px);
    height: calc(100% - 8px);
}

#j_processoutput img:focus{
    border:3px solid
}

.CodeMirror-linenumber {
    color: #555555 !important;
}


#j_processoutputdata {
    overflow: auto;
    word-break: break-all;
    background-color: #000;
    color: #fff;
    font-family: 'Courier New', monospace !important;
    font-size: 16px !important;
    display: block;
    margin: 0px;
    padding: 0px;
    margin: 0px;
    border: 0px none #000;
    border-radius: 0px;
}


#j_userinput {
    margin: var(--marge-resultat);
    display: block;
    position: relative;
    top: calc(100% - var(--marge-resultat) - 50px);
    left: 0;
    width: calc(100% - var(--marge-resultat));
    height: 50px;
    background-color: #000;
    color: #fff;
}

#j_input {
    width: 400px;
    height: 40px;
    background-color: #fff;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    color: #000;
}

#j_inputbtn {
    color: #000;
}

#j_footer {
    display: block;
    position: relative;
    background-color: var(--color-bg);
    color: #fff;
    width: 100%;
    height: var(--pied-height);
}

#j_footer_text {
    background-color: var(--color-bg);
    color: #fff;
    text-align: right;
    padding-top: 5px;
    padding-right: 20px;
    font-size: 14px;
}

.zoneHeader{
    width:100%;
    position: relative;
    background-color: #F7F7F7;
    line-height: 30px;
    margin-bottom: 0;
}

.labelEditeur{
    padding-left: 15px;
    margin-bottom: 0;
}


.CodeMirror.cm-s-default {
    line-height: normal;
    padding: 0;
    height: 100%;
    width: 100%;
    display: none;
    border-top:0;
}

.resultatTabContent{
    height: calc(100% - 45px);
}

.CodeMirror.cm-s-abcdef {
    line-height: normal;
    padding: 0;
    height: 100%;
    width: 100%;
}

.CodeMirror.cm-s-jlneditor {
    line-height: normal;
    padding: 0;
    height: calc(33.333333% - 35px);
    width: 100%;
}

.CodeMirror.cm-s-jlneditor_access {
    line-height: normal;
    padding: 0;
    height: 100%;
    width: 100%;
}

.CodeMirror.cm-s-midnight {
    line-height: normal;
    padding: 0;
    height: 100%;
    width: 100%;
}

body.skindark {
    background-color: rgb(40, 44, 52);
}

body.skindark #j_menu {
    background-color: var(--vert-clair);
    color: #fff;
}

body.skindark #j_editeur {
    background-color: #616161;
}

.btnmenu {
    display: inline-block;
    position: relative;
    width: auto;
    height: 33px;
    line-height: 44px;
    text-align: left;
    background: var(--vert-clair);
    color: #fff;
    cursor: pointer;
    padding: 0 10px 5px 6px;
    margin:5px;
    box-sizing: content-box;
    font-size: 16px;
    border: 3px solid transparent;
}

.btnmenu i{
    font-size: 1.5em;
    margin-right: 4px;
}

.btnmenu span{
    top:-4px;
    left:2px;
    position: relative;
}

.btnmenu:hover{
    background: var(--bleu-hover) !important;
    color: #fff !important;
}

.btnmenu:focus,#consigne_exo button:focus {
      background: var(--jaune-focus) !important;
      color: #000 !important;
  }

.btnmenu:active {
    background: var(--bleu-hover) !important;
    color: var(--bleu-clair) !important;
}

.btnmenuDown {
    border-color: white;
}

.linkeditor:focus{
    border-color:var(--jaune-focus) !important;
}

#j_selectSkin, #j_selectExec, #j_select_exemple {
    display: inline-block;
    position: relative;
    width: 250px;
    height: 44px;
    border: 3px solid white;
    line-height: 35px;
    background: #fff;
    color: #000;
    cursor: pointer;
    padding-left: 10px;
    top:-4px;
}

#j_select_exemple:focus {
    background: var(--jaune-focus);
}

#j_select_exemple option{
    background-color: white;
}

.input-file {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    padding: 10px 0;
    cursor: pointer;
}


#j_accessibilite {
    float:right;
    margin-right: 83px;
}

#j_logo {
    position: absolute;
    z-index: 1050;
    top: 0;
    left: calc(100% - var(--marge_logo) - var(--width-logo));
    height: 50px;
    background-repeat: no-repeat;
    background-origin: content-box;
    text-align: right;
    padding-top: 5px;
    background-color: transparent;
}

#j_dlgfile_bg, #j_dlgfileattached_bg, #j_dlginputuser_bg, #j_dlgtext_bg,#j_dlgcatalogue_bg {
    position: absolute;
    z-index: 1050;
    left: 0;
    top: 0;
    display: none;
    background-color: rgba(51, 51, 51, 0.6);
    width: 100%;
    height: 100%;
}

#j_dlgfile_cont {
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 450px;
    height: 220px;
    background-color: #ffffff;
    color: #000;
    border: 2px solid #4E4E4E;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

#j_dlgcatalogue_cont {
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 90%;
    height: 413px;
    background-color: #ffffff;
    color: #000;
    border: 2px solid #4E4E4E;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.imgCatalogue > img{
    max-width: 163px !important;
    height: 100px;
}
#buttonCatalague_picImport{
    width: 163px;
    height: 100px;
}
#listeCatalogue li {
    width: 49%;
    display: inline-block;
    text-align: center;
}

.jmodal-body-mini {
    margin: 10px 20px;
}

li#liImport .fileNameTitle:first-of-type{
    visibility: hidden;
}
.fileNameTitle{
    font-size: 12px;
    position: relative;
    display: block;
    min-height: 20px;
    min-width: 20px;
}

@media (min-width: 768px) {
    #j_dlgcatalogue_cont {
        width: 750px;
        height: 540px;
    }

    .imgCatalogue > img{
        height: 170px;
        font-size: 18px;
        max-width: 250px !important;
    }
    #buttonCatalague_picImport{
        width: 260px;
        height: 180px;
        font-size: 18px;
    }
    #listeCatalogue li {
        width: 49%;
        display: inline-block;
        text-align: center;
        margin-bottom: 20px;
    }
    .jmodal-body-mini {
        margin: 20px;
        height: 412px;
    }
}



#listeCatalogue > ul {
    list-style-type: none;
}



.imgCatalogue.active,
#buttonCatalague_picImport.active{
    border: 5px solid var(--vert-clair);
}

.imgCatalogue:focus, .imgCatalogue:hover,
#buttonCatalague_picImport:focus, #buttonCatalague_picImport:hover{
    border: 5px solid var(--jaune-focus);
}

.imgCatalogue, #buttonCatalague_picImport{
    border: 5px solid transparent;
    border-radius: 3px;
}



#j_dlginputuser_cont {
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 700px;
    height: 260px;
    background-color: #ffffff;
    color: #000;
    border: 2px solid #4E4E4E;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

#j_dlgfileattached_cont {
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 500px;
    height: 450px;
    background-color: #ffffff;
    color: #000;
    border: 2px solid #4E4E4E;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

#j_dlgtext_cont {
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 700px;
    height: 450px;
    background-color: #ffffff;
    color: #000;
    border: 2px solid #4E4E4E;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

#j_filename_titre {
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
}

#j_filename {
    text-align: left;
    width: 250px;
    height: 40px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    padding-left: 10px;
}

#j_dlgfileattached_img {
    text-align: left;
    max-height: 280px;
    box-sizing: border-box;
    padding-left: 10px;
    image-orientation: unset;
}

#j_dlgfileattached_area {
    border: thin solid #000;
    text-align: left;
    height: 280px;
    width: 450px;
    box-sizing: border-box;
    padding-left: 10px;
    position: relative;
    left: 20px;
}

#j_dlgfileattached_area:focus {
    border:3px solid var(--jaune-focus);
}

input[type=text]:focus{
    border:3px solid var(--jaune-focus) !important;
}

#j_dlgtext_area {
    text-align: left;
    height: 280px;
    width: 650px;
    box-sizing: border-box;
    padding-left: 10px;
    position: relative;
    left: 20px;
    font-size: 18px;
}

#j_dlginputuser_input {
    border: thin solid #000;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
    padding-left: 10px;
    position: relative;
    height: 40px;
    background-color: #fff;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    color: #000;
}

#j_dlgcatalogue_btn{
    position: relative;
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#j_dlgfile_btn, #j_dlgfileattached_btn, #j_dlgtext_btn {
    position: relative;
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#j_dlginputuser_btn {
    position: relative;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btnDlg {
    position: relative;
    width: 90px;
    height: 30px;
    margin-left: 20px;
    background-color: var(--vert-clair);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    vertical-align: center;
}

.btnDlg:hover {
    background-color: var(--bleu-hover);
    color: #fff;
}

.btnDlg:focus{
    background-color: var(--jaune-focus);
    color: #000;
}

.btnDlg:active {
    background-color: var(--bleu-hover);
    color: var(--bleu-clair);
}

.buttonsTabs{
    position: absolute;
    right: 0;
    top: 0;
    margin-top: 10px;
    margin-right: 10px;
}

.btnEditorSmall {
    position: relative;
    padding: 0px 6px;
    height: 25px;
    line-height: 20px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    background-color: #22747d1c;
    color: var(--vert-clair);
    border-radius: 4px;
    cursor: pointer;
}

.btnEditorSmall[disabled]{
    cursor: not-allowed;
    filter: alpha(opacity=65);
    -webkit-box-shadow: none;
    box-shadow: none;
    opacity: .65 !important;
}

.btnEditorSmall:hover{
    background-color: var(--vert-clair);
    color:white;
}

.btnEditorSmall:focus {
    background-color: var(--jaune-focus);
    color: #000;
}
.btngroup {
    position: relative;
    display: inline-block;
    vertical-align: initial;
}

.btnEditor {
    z-index: 1000;
    position: absolute;
    width: 50px;
    height: 30px;
    font-size: 16px;
    font-weight: bold;
    background-color: var(--vert-clair);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btnEditor:hover {
    background: var(--bleu-hover);
    color: #fff;
}

.btnEditor:focus {
    background-color: var(--jaune-focus);
    color: #000;
}

.btnEditor:active {
    background-color: var(--bleu-hover);
    color: var(--bleu-clair);
}

#j_formpython {
    display: none;
    z-index: 1000;
    position: absolute;
    top: 0;
    left: 0;
}

#j_sendpython {
}

iframe {
    border: none;
}

.verticalhorizontal {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

#j_containerattente {
    display: none;
    z-index: 2000;
}

.CodeMirror-selected {
    background-color: #FFFF80 !important;
}

.CodeMirror{
    border: 3px solid transparent;
}

.CodeMirror:focus{
    border-color: var(--jaune-focus) !important;
}

#tuto1{
    position: absolute;
    bottom: 0;
    z-index: 10;
    width: 100%;
    padding: 7px;
    border: 2px dashed;
    background: #fff7e8;
    font-size: 0.8em !important;
    height: 36px;
}

.CodeMirror-selectedtext {
    color: #000 !important;
}

.styled-Error {
    background-color: #f00 !important;
    color: #fff !important;
}

/* Create two equal columns that floats next to each other */
.column {
    float: left;
    width: 50%;
    padding: 0;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

.contentZone{
    height: 100%;
}

.CodeMirror.cm-s-default.active{
    display: block;
}
.CodeMirror-scroll {
    padding-bottom: 16px;
    margin-right: -16px;
}

.wrapper {
    min-height: 92%;
    height: 92%;
}

a {
    color: var(--color-bg);
    background-color: transparent;
    text-decoration: none;
}

a:hover{
    outline: none;
    color: var(--color-bg);
    background-color: transparent;
    text-decoration: none;
}

a:focus {
    outline: none;
    color: #000;
    background-color: var(--jaune-focus);
    text-decoration: none;
}

a:active {
    outline: none;
    color: var(--color-bg);
    background-color: #FF00;
    text-decoration: none;
}

.jmodal-header {
    height: 60px;
    background-color: var(--vert-clair);
    color: white;
}

.jmodal-body {
    height: 300px;
    padding-top: 10px;
}

.jmodal-body-mini {
    margin: 20px 0px 0;
    overflow-y: auto;
}

.jmodal-footer {
    padding: 2px 16px;
}

.jclose {
    padding-right: 10px;
    padding-left: 10px;
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.jclose:hover {
    background: var(--bleu-hover);
    color: #fff;
    cursor: pointer;
}

.jclose:focus {
background: var(--jaune-focus) !important;
color: #000 !important;
}

.jclose:active {
    background: var(--bleu-hover);
    color: var(--bleu-clair);
}

.btnLess{
    background-color: transparent;
    border:unset;
    color: var(--color-bg);
}

.btnLess:focus{
    color: #000;
    background-color: var(--jaune-focus);
}