form.block-form {
    position: relative;
    border: 2px solid #666666;
    padding: 10px;
    padding-left: 20px;
    background-color: #F2F2F2;
    -moz-border-radius: var(--primary-border-radius);
    -webkit-border-radius: var(--primary-border-radius);
}


form.block-form > div {
    margin: 5px 0;
    float: left;
    width: 50%;
    font-size: 1.2em;
}

    form.block-form > div > label {
        display: inline-block;
        width: 40%;
        float: left;
    }

form.block-form label.error {
    display: none !important;
}

form.block-form input.error {
    border-color: Red !important;
}

form.block-form > div.arrow-border {
    margin: auto;
    float: none;
    font-size: 0;
    border-color: transparent transparent #666666 transparent;
    border-style: solid;
    border-width: 10px;
    height: 0;
    width: 0;
    position: absolute;
    top: -22px;
    left: 30px;
}

form.block-form > div.arrow {
    margin: auto;
    float: none;
    font-size: 0;
    border-color: transparent transparent #F2F2F2 transparent;
    border-style: solid;
    border-width: 10px;
    height: 0;
    width: 0;
    position: absolute;
    top: -19px;
    left: 30px;
}

form.block-form input[readonly="readonly"] {
    color: Gray;
}


div.homebox {
    float: left;
    width: 47%;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box; /* Firefox, other Gecko */
    box-sizing: border-box; /* Opera/IE 8+ */
    margin: 15px;
}

div.configurationPanel {
    width: 100%;
}

    div.configurationPanel > div.treeview {
        background-color: white;
        float: left;
        min-height: 380px;
        width: 23.5%;
    }

    div.configurationPanel > div#conditionDiv {
        background-color: white;
        float: left;
        min-height: 360px;
        padding: 10px;
        width: 70.5%;
        border-left: 1px solid #b59b73;
    }

form > ul.two-columns {
    display: block;
    margin-top: 10px;
}

form ul.three-columns li {
    border: 0;
    padding: 3px;
    height: 40px;
    display: block;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box; /* Firefox, other Gecko */
    box-sizing: border-box; /* Opera/IE 8+ */
    width: 33%;
    float: left;
}



form ul.two-columns li {
    border: 0;
    padding: 3px;
    height: 40px;
    display: block;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box; /* Firefox, other Gecko */
    box-sizing: border-box; /* Opera/IE 8+ */
    width: 50%;
    float: left;
}

    form ul.two-columns li.clear {
        float: none;
        border: 0;
        clear: both;
        height: 0;
    }

    form ul.two-columns li.hidden-container {
        display: none;
        width: 100%;
        float: none;
        border: 0;
        padding: 0;
    }

    form ul.two-columns li:nth-child(even) {
        border-left: 1px solid var(--border);
    }

    form ul.two-columns li label.info {
        max-width: 40%;
    }

    form ul.two-columns li input {
        text-align: center;
        max-width: 50%;
        -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
        -moz-box-sizing: border-box; /* Firefox, other Gecko */
        box-sizing: border-box; /* Opera/IE 8+ */
    }


        form ul.two-columns li input + a {
            width: 50%;
        }
div.box-thin {
    width: 20%;
    float: left;
}

div.box-wide {
    width: 75%;
    float: left;
    margin-left: 25px;
}

.panel {
    background-color: var(--header-color);
    box-shadow: var(--shadow);
    border-radius: var(--secondary-border-radius);
    border: var(--main-border);
    border-color: var(--border)
}

    .panel > header, .panel > .header {
        border-radius: var(--primary-border-radius) var(--primary-border-radius) 0px 0px;
        background: var(--header-background);
        box-sizing: border-box;
        color: var(--text);
        display: flex;
        /*font-family: Arial, Helvetica, sans-serif;*/
        font-size: 1.3em;
        font-weight: bold;
        position: relative;
        display: flex;
        justify-content: space-between;
    }

        .panel > header .headerElement, .panel > .header .headerElement {
            padding: 0.7em 1.5em;
        }

        /*.panel > header .headerGroup, .panel > .header .headerGroup {
            padding: 0.7em 1.5em;
        }*/

        .panel > header a, .panel > .header a {
            color: inherit;
        }

    .panel > .panel-content {
        padding: 2em;
        border-radius: 0px 0px var(--primary-border-radius) var(--primary-border-radius);
    }

.clickable {
    cursor: pointer;
}


a.download-link {
    background: url(img/export-icon32.png).repeat;
    cursor: pointer;
    display: block;
    height: 32px;
    width: 32px;
}


@media screen and (max-width: 1180px) {
    div.homebox {
        float: none;
        margin-left: auto;
        margin-right: auto;
        width: 500px;
    }
}

@media screen and (max-width: 1400px) {
    div#content {
        padding-left: 90px;
        padding-bottom: 0;
        padding-right: 0;
    }

    nav#menu ul.menu-content {
        position: relative;
        overflow-y: auto;
        max-height: calc(100% - 45px);
        height: calc(100% - 45px);
    }
    /* si se expande pasa a 250px*/
    nav#menu.expanded, footer.expanded {
        width: 250px;
    }

    #menu, footer {
        width: 60px;
        transition: all 0.3s ease;
        z-index: var(--menu-z-index);
    }

    nav#menu > ul > li.mainmenu {
        display: block;
        margin-bottom: 5px;
    }
    /* importante */
    nav#menu li.expandable, footer {
        display: none;
    }


        nav#menu li.expandable.active {
            display: none;
        }

        nav#menu li.expandable.show {
            display: block;
        }

        footer.expanded {
            display: flex;
        }
}
