* {
    margin: 0px;
    padding: 0px;
}

@font-face {
    font-family: 'ReadexPro';
    src: url("../Content/ReadexPro/static/ReadexPro-Regular.ttf");
}

#md-dialog-editor-expresiones {
    min-width: 1000px;
    
    overflow: hidden;
}

.textarea_container {
    height: 600px;
}

#sidebar_father {
    display: block;
    position: absolute;
    width: 55px;
    height: 100%;
    background: rgb(34, 145, 220);
}

    #sidebar_father ul li {
        color: rgba(230, 230, 230, .9);
        list-style: none;
        padding: 2px 0px;
        text-align: left;
        font-size: 12px;
        font-family: ReadexPro, Geneva, Tahoma, sans-serif;
    }

    #sidebar_father .toggle-btn {
        cursor: pointer;
    }

#sidebar {
    position: fixed;
    height: 100%;
    width: 0;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: #cad1e6;
    overflow-x: hidden;
    transition: 0.2s;
    box-sizing: border-box;
    left: 55px;
}

    #sidebar.active {
        width: 200px;
    }

    #sidebar ul li {
        width: 100%;
        list-style: none;
        padding: 10px 10px;
        border-bottom: none;
        text-align: left;
        font-size: 12px;
        font-family: ReadexPro, Geneva, Tahoma, sans-serif;
    }


.bgLi {
    border: solid 2px #ECEADB;
}
.img-editor-expresiones-sider {
    border-radius: 50%;
    display: block;
    margin: 0 auto;
    height: 24px;
    width: 28px;
}

.ui-autocomplete {
    max-height: 200px;
    max-width: 25%;
    top: 216px !important;
    overflow-y: auto;
    prevent horizontal scrollbar overflow-x: hidden;
    position: fixed;
} 

#editor-expresiones-tablas-sidebar {
    position: fixed;
    top: 50px;
    list-style: none;
    /*padding-left: 1px;*/
}

    #editor-expresiones-tablas-sidebar a {
        color: #fff;
        text-decoration: none;
        display: block;
        height: 30px;
        font-size: 24px;
        line-height: 50px;
        position: relative;
        text-align: center;
        cursor: pointer;
    }



.span-slider{
    padding-left: 25px;
}

#editor-expresiones-tablas-sidebar a:hover span {
    left: 150%;
    opacity: 1;
}

#editor-expresiones-tablas-sidebar a span {
    font-size: 12px;
    text-transform: uppercase;
    border-radius: 3px;
    line-height: 24px;
    left: -90%;
    margin-top: -16px;
    opacity: 0;
    padding: 4px 10px;
    position: absolute;
    transition: opacity .3s, left .2s;
    top: 50%;
    z-index: -1;
    display: table;
    margin-left: auto;
    margin-right: auto;
}

            #editor-expresiones-tablas-sidebar a span:before {
                content: "";
                display: block;
                height: 8px;
                width: 8px;
                left: -30px;
                margin-top: -4px;
                position: absolute;
                top: 50%;
                transform: rotate(45deg);
            }

        #editor-expresiones-tablas-sidebar a[class*="tablas"]:hover,
        #editor-expresiones-tablas-sidebar a[class*="tablas"] span,
        #editor-expresiones-tablas-sidebar a[class*="tablas"] span:before {
            background: rgb(34, 145, 220);
        }
.toggle-btn-tbls{
    padding-left: 0px;
}
/* Encabezados del Acordion */
.vertical-menu li {
    background-color: #fcfcf8;
    color: rgb(0, 0, 0);
    display: block;
    padding: 5px;
    text-decoration: none;
    cursor: pointer;
}

    .vertical-menu li:hover {
        background-color: #eceadb;
    }

.vertical-menu a:link, a:visited {
    text-decoration: none;
}

/*Estilo contenedores acordion*/

.container-left {
    height: 100%;
    width: 100%;
    overflow: auto;
}
.center_div {
    max-width: 100%;
    padding-top:49px;

}
.center_div_char {
    max-width: 100%;
}

.panel_list_left {
    margin-bottom: 1px;
}

.topnav {
    background-color: #2291dc;
    overflow: hidden;
    color: #fcfcf8
}

    .topnav label {
        font-family: ReadexPro, Geneva, Tahoma, sans-serif;
        font-size: 20px;
    }

.panel_heading_left {
    background-color: #2291dc;
    padding: 10px;
    cursor: pointer;
    color: #fcfcf8
}

    .panel_heading_left h3 {
        margin: 0;
        font-weight: 100;
        text-transform: capitalize;
        font-size: 15px;
        font-family: ReadexPro, Geneva, Tahoma, sans-serif;
        line-height: 1em;
        width: fit-content;
    }

.panel_para_left {
    padding: 0px 1px 10px;
    display: none;
    font-size: 10px;
    font-family: ReadexPro, Geneva, Tahoma, sans-serif;
}

.input_father {
    width: 95%;
    padding: 2px;
    border: none;
    font-size: 15px;
    font-family: ReadexPro, Geneva, Tahoma, sans-serif;
    outline: none;
}

.input_left {
    width: 100%;
    padding: 2px;
    border: none;
    font-size: 11px;
    font-family: ReadexPro, Geneva, Tahoma, sans-serif;
    outline: none;
}

#caracters_editor_expresiones {
    position: fixed;
    height: 100%;
    width: 0;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: #cad1e6;
    overflow-x: hidden;
    transition: 0.2s;
    box-sizing: border-box;
    left: 55px;
}

    #caracters_editor_expresiones.active {
        width: 200px;
    }

.buttons_char {
    max-width: 1200px;
    margin: 0 25px;
    display: grid;
    margin-top: 4rem;
}


/*Estilo Textarea*/

#textToEncode, #lineCounter {
    margin: 0;
    padding: 10px 0;
    height: 85%;
    border-radius: 0;
    resize: none;
    font-size: 16px;
    line-height: 1.2;
    outline: none;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
    #lineCounter:focus-visible{
        outline: none;
    }
#lineCounter {
    display: flex;
    overflow-y: hidden;
    overflow-x: hidden;
    text-align: right;
    width: 25px;
    margin-left: 5px;
    height: 100%;
    outline: none;
    border: none;
    padding-right: 2px;
}

#textToEncode {
    width: 100%;
    border-color: #272822;
     padding-left: 5px;
     height: 100%;
}
#contenido_Text_Area {
    transition: margin-left .4s;
    padding-left: 3.5rem;
    padding-top: .5rem;
    padding-right: 1rem;
    height: 85%;
    display: flex;
    gap: 10px;
    font-family: ReadexPro;
    line-height: 21px;
    border-radius: 2px;
}

    #contenido_Text_Area.active {
        transition: margin-left .4s;
        padding-left: 3.5rem;
        padding-top: .5rem;
        padding-right: 1rem;
        margin-left: 210px;
    }

.line-numbers {
    width: 20px;
    text-align: right;
    
}

    .line-numbers span {
        counter-increment: linenumber;
    }

        .line-numbers span::before {
            content: counter(linenumber);
            display: block;
            color: #506882;
            max-height: 85%;
        }

.textareaEditorExp {
    line-height: 21px;
    overflow-y: auto;
    padding: 0;
    outline: none;
    resize: none;
    width: 100%;
}


#contenido {
    transition: margin-left .4s;
    padding-left: 3.5rem;
    padding-top: 1.5rem;
    padding-right: 1rem;
}

    #contenido.active {
        transition: margin-left .4s;
        padding-left: 3.5rem;
        padding-top: 1.5rem;
        padding-right: 1rem;
        margin-left: 210px;
    }



.buttons_Align {
    width: 100%;
}

.toolButtons {
    float: right;
    padding-top: 5px;
}

.tool_buttons {
    background-color: #00aced;
    color: #f2f2f2;
    height: 35px;
    border: none;
    padding: 10px 15px;
    border-radius: 3px;
    cursor: pointer;
}

    .tool_buttons:hover {
        background-color: grey;
        color: black
    }

#variables_dissabled.tool_buttons {
    background-color: grey;
    color: #f2f2f2;
    height: 35px;
    border: none;
    padding: 10px 15px;
    border-radius: 3px;
}

.toolButtonsEdit {
    display: flex;
    float: left;
    padding-top: 5px;
    margin-left: 3px;
}

.tool_buttons_edit {
    background-color: #edeff0;
    height: 35px;
    padding: 5px 15px;
    border-radius: 3px;
    cursor: pointer;
    background-position: center center;
    background-repeat: no-repeat;
    margin-left: 2px;
}

    .tool_buttons_edit:hover {
        background-color: grey;
        color: black
    }

#editButton.tool_buttons_edit {
    background-color: grey;
    height: 35px;
    border: none;
    padding: 5px 15px;
    border-radius: 3px;
    background-position: center center;
    background-repeat: no-repeat;
}

.img_tool_button {
    width: 20px;
    height: 20px;
}

.buttons_container {
    float: right;
    height: 100%;
}


/* Barra de botones*/


.button-editor-expresiones {
    height: 50px;
    width: 50px;
    border: none;
    cursor: pointer;
    background-color: #2291dc;
    color: white;
}

    .button-editor-expresiones:hover {
        background-color: grey;
    }

input[type="file"] {
    display: none;
}
/*Smartphones (portrait & landscape)*/
@media screen and (min-device-width : 320px) and (max-device-width : 480px) {
    #md-dialog-editor-expresiones {
        min-width: 350px;
        overflow: hidden;
        min-height: 350px;
    }

    .line-numbers {
        width: 20px;
        text-align: right;
        padding-left: 30px;
    }

    #contenido_Text_Area {
        transition: margin-left .4s;
        padding-left: 2.5rem;
        padding-top: .5rem;
        padding-right: 1rem;
        height: 80%;
        width: 100%;
        display: inline-flex;
        font-family: ReadexPro;
        line-height: 21px;
        border-radius: 2px;
    }

        #contenido_Text_Area.active {
            transition: margin-left .4s;
            padding-left: 2rem;
            padding-top: .5rem;
            padding-right: 14rem;
            margin-left: 210px;
        }

    .textareaEditorExp {
        line-height: 21px;
        overflow-y: auto;
        padding: 0;
        outline: none;
        resize: none;
        width: 100%;
    }

    .toolButtonsEdit {
        display: inline-flex;
        float: left;
        padding-top: 5px;
        padding-left: 11px;
    }

    #toolButtonsEdit.active {
        float: left;
        padding-top: 5px;
        padding-left: 11px;
        display: inline-flex;
        grid-template-columns: repeat(3, 1fr);
    }

    .tool_buttons_edit {
        background-color: #edeff0;
        height: 25px;
        width: 25px;
        border: none;
        padding: 5px 15px;
        border-radius: 3px;
        cursor: pointer;
        background-position: center center;
        background-repeat: no-repeat;
    }

    .img_tool_button {
        min-width: 10px;
        min-height: 10px;
        height: 15px;
        width: 15px;
    }

    .toolButtons {
        float: left;
        padding-top: 5px;
        padding-left: 11px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    #toolButtons.active {
        float: left;
        padding-top: 5px;
        padding-left: 11px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .tool_buttons {
        background-color: #00aced;
        color: #f2f2f2;
        height: 25px;
        border: none;
        padding: 2px 15px;
        border-radius: 3px;
        cursor: pointer;
        margin: 2px
    }

    #contenido {
        transition: margin-left .4s;
        padding-left: 3.5rem;
        padding-top: .1rem;
        padding-right: 1rem;
    }

        #contenido.active {
            transition: margin-left .4s;
            padding-left: 3.5rem;
            padding-top: .1rem;
            padding-right: 1rem;
            margin-left: 210px;
        }

    .buttons_char {
        grid-template-columns: repeat(3, 1fr);
    }
}


/*Tablets*/
@media (min-width: 481px) and (max-width: 767px) {
    #md-dialog-editor-expresiones {
        min-width: 500px;
        overflow: hidden;
        min-height: 350px;
    }
        #md-dialog-editor-expresiones.active {
            overflow: hidden;
            overflow-x: hidden;
        }

    .line-numbers {
        width: 20px;
        text-align: right;
        padding-left: 30px;
    }

    #contenido_Text_Area {
        transition: margin-left .4s;
        padding-left: 2.5rem;
        padding-top: .5rem;
        padding-right: 1rem;
        height: 80%;
        width: 100%;
        display: inline-flex;
        font-family: ReadexPro;
        line-height: 21px;
        border-radius: 2px;
    }

        #contenido_Text_Area.active {
            transition: margin-left .4s;
            padding-left: 2rem;
            padding-top: .5rem;
            padding-right: 14rem;
            margin-left: 210px;
        }

    .textareaEditorExp {
        line-height: 21px;
        overflow-y: auto;
        padding: 0;
        outline: none;
        resize: none;
        width: 100%;
    }

    .toolButtonsEdit {
        display: inline-flex;
        float: left;
        padding-top: 5px;
        padding-left: 11px;
    }

    #toolButtonsEdit.active {
        float: left;
        padding-top: 3px;
        padding-left: 11px;
        display: inline-flex;
    }

    .tool_buttons_edit {
        background-color: #edeff0;
        height: 25px;
        width: 25px;
        border: none;
        padding: 5px 10px;
        border-radius: 3px;
        cursor: pointer;
        background-position: center center;
        background-repeat: no-repeat;
    }

    .img_tool_button {
        min-width: 10px;
        min-height: 10px;
        height: 15px;
        width: 15px;
    }

    .toolButtons {
        float:left;
        padding-top: 5px;
        padding-left: 11px;
        display:inline;
    }

    #toolButtons.active {
        float: left;
        padding-top: 5px;
        padding-left: 11px;
        display: inline;
    }

    .tool_buttons {
        background-color: #00aced;
        color: #f2f2f2;
        height: 25px;
        width: 60px;
        border: none;
        padding: 1px 1px;
        border-radius: 3px;
        cursor: pointer;
    }

    #contenido {
        transition: margin-left .4s;
        padding-left: 3.5rem;
        padding-top: .1rem;
        padding-right: 1rem;
    }

        #contenido.active {
            transition: margin-left .4s;
            padding-left: 3.5rem;
            padding-top: .1rem;
            padding-right: 1rem;
            margin-left: 210px;
        }

    .buttons_char {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* iPads (portrait & landscape) */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
    #md-dialog-editor-expresiones {
        min-width: 450px;
        overflow: hidden;
        min-height: 400px;
    }
        #md-dialog-editor-expresiones.active {
            overflow: auto;
            overflow-x:hidden;
        }
    .line-numbers {
        width: 20px;
        text-align: right;
        padding-left: 30px;
    }

    #contenido_Text_Area {
        transition: margin-left .4s;
        padding-left: 2.5rem;
        padding-top: .5rem;
        padding-right: 1.2rem;
        width: 100%;
        display: inline-flex;
        font-family: ReadexPro;
        line-height: 21px;
        border-radius: 2px;
        height: 80%;
    }

        #contenido_Text_Area.active {
            transition: margin-left .4s;
            padding-left: 2rem;
            padding-top: .5rem;
            padding-right: 14rem;
            margin-left: 210px;
            height:80%;
        }

    .textareaEditorExp {
        line-height: 21px;
        overflow-y: auto;
        padding: 0;
        outline: none;
        resize: none;
    }

    .toolButtonsEdit {
        display: inline-flex;
        float: left;
        padding-top: 3px;
        padding-left: 11px;
    }

    #toolButtonsEdit.active {
        transition: margin-left .4s;
        float: left;
        padding-top: 3px;
        padding-left: 11px;
        display: inline-flex;
    }

    .tool_buttons_edit {
        background-color: #edeff0;
        height: 25px;
        width: 25px;
        border: none;
        padding: 5px 15px;
        border-radius: 3px;
        cursor: pointer;
        background-position: center center;
        background-repeat: no-repeat;
    }

    .img_tool_button {
        min-width: 10px;
        min-height: 10px;
        height: 15px;
        width: 15px;
    }

    .toolButtons {
        float: left;
        padding-top: 5px;
        padding-left: 11px;
        display: inline;
    }

    #toolButtons.active {
        transition: margin-left .4s;
        float: left;
        padding-top: 5px;
        padding-left: 11px;
        display: inline;
    }

    .tool_buttons {
        background-color: #00aced;
        color: #f2f2f2;
        height: 25px;
        width: 60px;
        border: none;
        padding: 1px 1px;
        border-radius: 3px;
        cursor: pointer;
    }

    #contenido {
        transition: margin-left .4s;
        padding-left: 3.5rem;
        padding-top: .1rem;
        padding-right: 1rem;
    }

        #contenido.active {
            transition: margin-left .4s;
            padding-left: 3.5rem;
            padding-top: .1rem;
            padding-right: 1rem;
            margin-left: 210px;
        }

    .buttons_char {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 900px) {
    .buttons_char {
        grid-template-columns: repeat(3, 1fr);
    }
}