﻿.imesa-card-container {
    padding-left: 10px;
    padding-right: 10px;
    padding: 10px;
}

.imesa-card {
    position: relative;
    /*background-color: #0099df;
    border: none;*/
    border: 1px solid #0099df;
    color: #0099df;
    height: 120px;
    padding: 10px;
    border-radius: 5px;
    /*box-shadow: #0099df 4px 4px 10px;*/
    /*box-shadow: #999 4px 4px 10px;*/
    /*text-shadow: #777 2px 2px 2px;*/
}

    .imesa-card .title {
        display: block;
        position: relative;
        font-size: 18px;
        /*font-weight: bold;*/
        top: -2px;
    }

    .imesa-card .subtitle {
        display: block;
        position: relative;
        font-size: 16px;
        top: 0px;
        opacity: 0.8;
    }

    .imesa-card .detail {
        display: block;
        position: absolute;
        font-size: 50px;
        right: 15px;
        bottom: 0px;
    }

.card-green {
    /*background-color: #5cd42f;*/
    color: #5cd42f;
    border: 1px solid #5cd42f;
}

.card-red {
    /*background-color: #e03131;*/
    color: #e03131;
    border: 1px solid #e03131;
}

.card-yellow {
    /*background-color: #fedd18;*/
    color: #fedd18;
    border: 1px solid #fedd18;
}

.card-purple {
    /*background-color: #ce2794;*/
    color: #ce2794;
    border: 1px solid #ce2794;
}

.card-orange {
    /*background-color: #ef7c00;*/
    color: #ef7c00;
    border: 1px solid #ef7c00;
}

.card-gray {
    /*background-color: #8a8a8a;*/
    color: #8a8a8a;
    border: 1px solid #8a8a8a;
}

.imesa-news-container {
    padding: 5px;
}

.imesa-news {
    background-color: #bdbdbd;
    height: 100px;
    padding: 10px;
    /*border-radius: 5px;*/
}

    .imesa-news .title {
        display: block;
        position: relative;
        font-size: 16px;
        font-weight: bold;
        color: #ffffff;
    }

    .imesa-news .subtitle {
        display: block;
        position: relative;
        font-size: 15px;
        top: 0px;
        color: #ffffff;
        opacity: 0.8;
    }

    .imesa-news .text {
        display: block;
        font-size: 12px;
        left: 15px;
        right: 15px;
        color: #ffffff;
        overflow-x: hidden;
        overflow-y: auto;
    }

.imesa-device-filter-element {
    display: inline-block !important;
    width: auto !important;
}

div.imesa-recipe-block {
    display: block;
    width: 100%;
    height: 48px;
    font-size: 16px;
    text-align: left;
    line-height: 48px;
    cursor: pointer;
    /*background-color: #ffffff;*/
    border-left: 2px solid #0099df;
    padding-right: 10px;
    padding-left: 10px;
    position: relative;
}

    div.imesa-recipe-block:hover {
        background-color: #0099df;
        color: #ffffff;
    }

        div.imesa-recipe-block:hover span {
            color: #ffffff !important;
        }

        div.imesa-recipe-block:hover a {
            color: #ffffff !important;
        }

    div.imesa-recipe-block span:last-child {
        position: absolute;
        right: 10px;
        top: 0;
        width: 32px;
        height: 48px;
        font-size: 16px;
        text-align: right;
        color: #0099df;
        line-height: 48px;
    }

.imesa-list {
    /*border: 1px solid #0099df;*/
}

    .imesa-list .row {
        margin-left: 0;
        margin-right: 0;
    }

        .imesa-list .row:first-child {
            margin-left: 0;
            margin-right: 0;
        }

        .imesa-list .row div {
            height: auto;
            line-height: 40px;
            margin-top: 0px;
        }

        .imesa-list .row:nth-child(even) {
            background-color: rgba(255,255,255,0.05) !important;
            color: #e2e2e2 !important;
        }

        .imesa-list .row:nth-child(odd) {
            background-color: rgba(255,255,255,0.025) !important;
            color: #e2e2e2 !important;
        }

.panel-body .imesa-list,
.modal-body .imesa-list {
    border: none;
}

.panel-body .row {
    margin-left: 0;
    margin-right: 0;
}

.imesa-toast {
    position: fixed;
    right: 10px;
    top: 10px;
    width: 300px;
    height: 120px;
    z-index: 10100;
    max-width: 100%;
    min-width: 0px;
    border: none;
    /*border-radius: 4px;*/
    background-color: #fff;
    color: #2e2e2e;
    overflow: hidden;
    /*opacity: 0.9;*/
    /*transition: opacity 0.05s ease, width 0.4s ease;*/
    transition: width 0.4s ease;
}

    .imesa-toast:hover {
        /*opacity: 1;*/
    }

    .imesa-toast div:nth-of-type(1) {
        position: relative;
        left: 0;
        right: 0;
        height: 35px;
        line-height: 35px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .imesa-toast div:nth-of-type(2) {
        position: relative;
        left: 0;
        right: 0;
        height: 80px;
        padding-left: 10px;
        padding-right: 10px;
    }

.imesa-toast-title {
    font-size: 18px;
}

.imesa-toast-message {
    display: block;
    width: 390px;
    height: 100%;
    font-size: 15px;
    overflow: hidden;
    overflow-y: auto;
}

.imesa-toast-success {
    /*border-top: 5px solid #56BF2F;*/
    border-left: 5px solid #56BF2F;
    background-color: #e0ffd4;
    color: #1f1f1f;
}

    .imesa-toast-success div:nth-of-type(1) {
        /*background-color: #56BF2F !important;
        color: #fff !important;*/
        color: #56BF2F !important;
    }

.imesa-toast-error {
    /*border-top: 5px solid #BF2F2F;*/
    border-left: 5px solid #BF2F2F;
    background-color: #ffe5e5;
    color: #1f1f1f;
}

    .imesa-toast-error div:nth-of-type(1) {
        /*background-color: #BF2F2F !important;
        color: #fff !important;*/
        color: #BF2F2F !important;
    }

.imesa-toast-warning {
    /*border-top: 5px solid #ffc700;*/
    border-left: 5px solid #ffc700;
    background-color: #fff5d3;
    color: #1f1f1f;
}

    .imesa-toast-warning div:nth-of-type(1) {
        /*background-color: #ffc700 !important;
        color: #fff !important;*/
        color: #ffc700 !important;
    }

.imesa-toast-info {
    /*border-top: 5px solid #0099df;*/
    border-left: 5px solid #0099df;
    background-color: #d1eeff;
    color: #1f1f1f;
}

    .imesa-toast-info div:nth-of-type(1) {
        /*background-color: #0099df !important;
        color: #fff !important;*/
        color: #0099df !important;
    }

.imesa-library-container {
    border: 2px solid #0099df;
    padding: 5px;
    /*border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;*/
}

    .imesa-library-container.border-top {
        border-left: none !important;
        border-right: none !important;
        border-bottom: none !important;
    }

    .imesa-library-container:first-of-type {
        border: 2px solid transparent;
    }

    .imesa-library-container > .imesa-library-tabs {
        height: 40px;
        white-space: nowrap;
        overflow-y: hidden;
        overflow-x: auto;
        position: relative;
    }

        .imesa-library-container > .imesa-library-tabs > .imesa-library-tab {
            display: inline-block;
            position: relative;
            width: auto;
            min-width: 130px;
            max-width: 300px;
            height: 40px;
            margin-left: 5px;
            padding-left: 5px;
            padding-right: 5px;
            line-height: 40px;
            text-align: center;
            background-color: rgba(38,149,215,0.3);
            color: #fff;
            /*color: rgba(38,149,215,1);*/
            /*border: 1px solid #fff;*/
            cursor: pointer;
            border-top-left-radius: 4px;
            border-top-right-radius: 4px;
            border-bottom: none;
            white-space: nowrap;
        }

            .imesa-library-container > .imesa-library-tabs > .imesa-library-tab:hover {
                background-color: #0099df;
                color: #fff;
                /*border: 2px solid #0099df;*/
            }

            .imesa-library-container > .imesa-library-tabs > .imesa-library-tab:first-of-type {
                margin-left: 0 !important;
            }

        .imesa-library-container > .imesa-library-tabs > .imesa-library-tab-selected {
            background-color: #0099df;
            color: #fff;
            border: 2px solid #0099df;
        }

    .imesa-library-container > .imesa-library-data {
    }

        .imesa-library-container > .imesa-library-data > div.imesa-library-data-list > div.imesa-library-item {
            margin-top: 5px;
            overflow: hidden;
            white-space: nowrap;
            width: 100%;
            height: 60px;
            /*background-color: #fff;*/
            /*color: #2e2e2e;*/
            color: #fff;
            border: none;
            border-left: 6px solid #0099df;
            cursor: pointer;
            padding-left: 10px;
            line-height: 60px;
        }

            .imesa-library-container > .imesa-library-data > div.imesa-library-data-list > div.imesa-library-item.selected {
                background-color: #0099df;
                color: #fff;
                border: none;
                border-left: 6px solid #fff;
            }

                .imesa-library-container > .imesa-library-data > div.imesa-library-data-list > div.imesa-library-item.selected span {
                    color: #fff;
                }

            .imesa-library-container > .imesa-library-data > div.imesa-library-data-list > div.imesa-library-item.quickprog {
                color: #fff !important;
                border-left: 6px solid #fedd18;
            }

                .imesa-library-container > .imesa-library-data > div.imesa-library-data-list > div.imesa-library-item.quickprog.selected {
                    background-color: #fedd18;
                    color: #2e2e2e !important;
                    border: none;
                    border-left: 6px solid #fff;
                }

                    .imesa-library-container > .imesa-library-data > div.imesa-library-data-list > div.imesa-library-item.quickprog.selected span {
                        color: #2e2e2e !important;
                    }

.imesa-programs-container > div.imesa-program-item.quickprog.selected span {
    color: #2e2e2e !important;
}

.imesa-programs-container div.imesa-program-item:nth-child(1) {
    margin-top: 0 !important;
}

.imesa-library-container > .imesa-library-data > div.imesa-library-data-list > div.imesa-library-item.prewash {
    border-left: 6px solid #ffd300;
    /*color: #e2e2e2;*/
}

.imesa-library-container > .imesa-library-data > div.imesa-library-data-list > div.imesa-library-item.wash {
    border-left: 6px solid #f24040;
    /*color: #fff;*/
}

.imesa-library-container > .imesa-library-data > div.imesa-library-data-list > div.imesa-library-item.rinse {
    border-left: 6px solid #2e8b41;
    /*color: #fff;*/
}

.imesa-library-container > .imesa-library-data > div.imesa-library-data-list > div.imesa-library-item.discharge {
    border-left: 6px solid #fff;
    /*color: #2e2e2e;*/
}

.imesa-library-container > .imesa-library-data > div.imesa-library-data-list > div.imesa-library-item.spin {
    border-left: 6px solid #8a8a8a;
    /*color: #e2e2e2;*/
}

.imesa-library-container > .imesa-library-data > div.imesa-library-data-list > div.imesa-library-item.soak {
    border-left: 6px solid #7050a3;
    /*color: #fff;*/
}

.imesa-library-container > .imesa-library-data > div.imesa-library-data-list > div.imesa-library-item.cooldown {
    border-left: 6px solid #004ea3;
    /*color: #fff;*/
}

.imesa-library-container > .imesa-library-data > div.imesa-library-data-list > div.imesa-library-item > div.imesa-library-item-texts {
    float: left;
    width: calc(100% - 250px);
}

    .imesa-library-container > .imesa-library-data > div.imesa-library-data-list > div.imesa-library-item > div.imesa-library-item-texts > span:nth-of-type(1) {
        display: block;
        height: 30px;
        line-height: 30px;
        font-weight: bold;
        /*text-transform: uppercase;*/
    }

    .imesa-library-container > .imesa-library-data > div.imesa-library-data-list > div.imesa-library-item > div.imesa-library-item-texts > span:nth-of-type(2) {
        display: block;
        height: 30px;
        line-height: 30px;
    }


.imesa-library-container > .imesa-library-data > div.imesa-library-data-list > div.imesa-library-item > div.imesa-library-item-picture-thumbnail {
    float: left;
    width: 60px;
    height: 60px;
}

.imesa-library-container > .imesa-library-data > div.imesa-library-data-list > div.imesa-library-item > div.imesa-library-item-picture-texts {
    width: calc(100% - 310px);
    height: 60px;
    float: left;
}

    .imesa-library-container > .imesa-library-data > div.imesa-library-data-list > div.imesa-library-item > div.imesa-library-item-picture-texts > span:nth-of-type(1) {
        display: block;
        height: 30px;
        line-height: 30px;
        font-weight: bold;
        padding-left: 10px;
        /*text-transform: uppercase;*/
    }

    .imesa-library-container > .imesa-library-data > div.imesa-library-data-list > div.imesa-library-item > div.imesa-library-item-picture-texts > span:nth-of-type(2) {
        display: block;
        height: 30px;
        line-height: 30px;
        padding-left: 10px;
    }

.imesa-library-container > .imesa-library-data > div.imesa-library-data-list > div.imesa-library-item > div.imesa-library-item-actions {
    display: none;
    float: left;
    width: 250px;
}

.imesa-library-container > .imesa-library-data > div.imesa-library-data-list > div.imesa-library-item.selected > div.imesa-library-item-actions {
    display: inline-block;
    float: left;
    width: 250px;
}

.imesa-library-container > .imesa-library-data > div.imesa-library-data-list > div.imesa-library-item > div.imesa-library-item-actions > span.imesa-library-item-action {
    float: right;
    min-width: 50px;
    width: 50px;
    text-align: center;
    cursor: pointer;
}

    .imesa-library-container > .imesa-library-data > div.imesa-library-data-list > div.imesa-library-item > div.imesa-library-item-actions > span.imesa-library-item-action:hover {
        background-color: #fff;
        color: #0099df;
    }

.imesa-library-container > .imesa-library-data > div.imesa-library-data-list > div.imesa-library-item.no-content {
    border-left: 6px solid #888888;
    color: #888888;
}

.imesa-preset-container-small {
    width: 33%;
    height: 100%;
    float: left;
    position: relative;
}

.imesa-preset-container-large {
    width: 50%;
    height: 100%;
    float: left;
    position: relative;
}

    .imesa-preset-container-large > div.imesa-preset-container-heading,
    .imesa-preset-container-small > div.imesa-preset-container-heading {
        position: absolute;
        left: 0;
        right: 0;
        height: 30px;
        line-height: 30px;
        border-bottom: 1px solid #0099df;
        padding-left: 5px;
        padding-right: 5px;
    }

    .imesa-preset-container-large > div.imesa-preset-container-data {
        position: absolute;
        left: 0;
        right: 0;
        top: 30px;
        bottom: 0;
        overflow-x: hidden;
        overflow-y: auto;
    }

.imesa-preset-container-small > div.imesa-preset-container-data {
    position: absolute;
    left: 0;
    right: 0;
    top: 35px;
    bottom: 40px;
    overflow-x: hidden;
    overflow-y: auto;
    padding-left: 5px;
    padding-right: 5px;
}

    .imesa-preset-container-small > div.imesa-preset-container-data div.row {
        width: 100%;
        height: 35px;
        line-height: 35px;
        float: left;
    }

        .imesa-preset-container-small > div.imesa-preset-container-data div.row div.first {
            float: left;
            width: 40px;
            height: 35px;
            line-height: 35px;
            text-align: center;
        }

        .imesa-preset-container-small > div.imesa-preset-container-data div.row div.second {
            float: left;
            width: calc(100%-40px);
            height: 35px;
            line-height: 35px;
            padding-left: 5px;
        }

.imesa-preset-container-small > div.imesa-preset-container-footer {
    position: absolute;
    width: 100%;
    height: 35px;
    bottom: 5px;
    overflow-x: hidden;
    overflow-y: auto;
    padding-left: 5px;
    padding-right: 5px;
}

.imesa-history-container {
    /*height: 250px !important;*/
    overflow-x: hidden;
    overflow-y: auto;
}

/*.imesa-history-container > div.imesa-history-container-data {*/
div.imesa-history-container-data {
    position: absolute;
    top: 50px;
    bottom: 0;
    right: 15px;
    left: 15px;
    overflow-x: hidden;
    overflow-y: auto;
}

    /*.imesa-history-container > div.imesa-history-container-data div.row {*/
    div.imesa-history-container-data div.row {
        width: 100%;
        height: 35px;
        line-height: 35px;
        float: left;
    }

        /*.imesa-history-container > div.imesa-history-container-data div.row div.first {*/
        div.imesa-history-container-data div.row div.first {
            float: left;
            width: 5%;
            height: 35px;
            line-height: 35px;
            text-align: center;
        }

        /*.imesa-history-container > div.imesa-history-container-data div.row div.second {*/
        div.imesa-history-container-data div.row div.second {
            float: left;
            width: 20%;
            height: 35px;
            line-height: 35px;
            padding-left: 5px;
            text-align: center;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /*.imesa-history-container > div.imesa-history-container-data div.row div.third {*/
        div.imesa-history-container-data div.row div.third {
            float: left;
            width: 20%;
            height: 35px;
            line-height: 35px;
            padding-left: 5px;
            text-align: left;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /*.imesa-history-container > div.imesa-history-container-data div.row div.fourth {*/
        div.imesa-history-container-data div.row div.fourth {
            float: left;
            width: 35%;
            height: 35px;
            line-height: 35px;
            padding-left: 5px;
            text-align: left;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        div.imesa-history-container-data div.row div.fifth {
            float: left;
            width: 10%;
            height: 35px;
            line-height: 35px;
            padding-left: 5px;
            padding-left: 5px;
            text-align: left;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        div.imesa-history-container-data div.row div.sixth {
            float: left;
            width: 10%;
            height: 35px;
            line-height: 35px;
            padding-left: 5px;
            padding-right: 5px;
            text-align: right;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

.imesa-alpha {
    position: fixed;
    left: -160px;
    bottom: 60px;
    z-index: 10200;
}

    .imesa-alpha::after {
        content: 'Work In Progress';
        display: block;
        width: 500px;
        height: 60px;
        transform: rotate(45deg);
        background: repeating-linear-gradient(45deg, #333, #333 10px, #c89e13 10px, #c89e13 20px);
        border-top: 5px solid #333;
        border-bottom: 5px solid #333;
        color: #fff;
        text-align: center;
        line-height: 52px;
        font-size: 24px;
        font-weight: bold;
    }

.imesa-kpi {
    padding: 10px;
    cursor: default;
}

    .imesa-kpi > div {
        width: 100%;
        height: 100%;
        height: 150px;
        border: 1px solid #0099df;
        border-radius: 4px;
        color: #0099df;
    }

        .imesa-kpi > div > div:nth-of-type(1) {
            width: 100%;
            height: 25px;
            padding-left: 5px;
            text-align: left;
            line-height: 25px;
            font-size: 18px;
            background-color: rgba(15, 58, 84, 0.4) !important;
        }

    .imesa-kpi.kpi-green > div {
        border-color: #5cd42f !important;
        color: #5cd42f !important;
    }

        .imesa-kpi.kpi-green > div > div:nth-of-type(1) {
            background-color: rgba(92, 212, 47, 0.1) !important;
        }

    .imesa-kpi.kpi-green a {
        color: #5cd42f !important;
    }

    .imesa-kpi.kpi-yellow > div {
        border-color: #fedd18 !important;
        color: #fedd18 !important;
    }

        .imesa-kpi.kpi-yellow > div > div:nth-of-type(1) {
            background-color: rgba(254, 221, 24, 0.1) !important;
        }

    .imesa-kpi.kpi-yellow a {
        color: #fedd18 !important;
    }

    .imesa-kpi.kpi-orange > div {
        border-color: #ef7c00 !important;
        color: #ef7c00 !important;
    }

        .imesa-kpi.kpi-orange > div > div:nth-of-type(1) {
            background-color: rgba(239, 124, 0, 0.1) !important;
        }

    .imesa-kpi.kpi-orange a {
        color: #ef7c00 !important;
    }

    .imesa-kpi.kpi-red > div {
        border-color: #e03131 !important;
        color: #e03131 !important;
    }

        .imesa-kpi.kpi-red > div > div:nth-of-type(1) {
            background-color: rgba(224, 49, 49, 0.1) !important;
        }

    .imesa-kpi.kpi-red a {
        color: #e03131 !important;
    }

    .imesa-kpi.kpi-purple > div {
        border-color: #ce2794 !important;
        color: #ce2794 !important;
    }

        .imesa-kpi.kpi-purple > div > div:nth-of-type(1) {
            background-color: rgba(206, 39, 148, 0.1) !important;
        }

    .imesa-kpi.kpi-purple a {
        color: #ce2794 !important;
    }

    .imesa-kpi.kpi-gray > div {
        border-color: #ddd !important;
        color: #ddd !important;
    }

        .imesa-kpi.kpi-gray > div > div:nth-of-type(1) {
            background-color: rgba(221, 221, 221, 0.1) !important;
        }

    .imesa-kpi.kpi-gray a {
        color: #ddd !important;
    }


    .imesa-kpi > div > i.imesa-kpi-icon {
        display: block;
        position: absolute;
        left: 20px;
        top: 48px;
        font-size: 100px !important;
        opacity: 0.1;
        z-index: -999999;
    }

.imesa-kpi-triple-devices-synchro > div div:nth-of-type(2) {
    width: 100%;
    height: 80px;
    text-align: center;
    line-height: 115px;
    font-size: 50px;
    font-weight: bold;
}

.imesa-kpi-triple-devices-synchro > div div:nth-of-type(3) {
    width: 50%;
    height: 45px;
    padding-left: 5px;
    padding-right: 5px;
    float: left;
    text-align: center;
    line-height: 55px;
    font-size: 20px;
    z-index: 1;
}

.imesa-kpi-triple-devices-synchro > div div:nth-of-type(4) {
    width: 50%;
    height: 45px;
    padding-left: 5px;
    padding-right: 5px;
    float: left;
    text-align: center;
    line-height: 55px;
    font-size: 20px;
    z-index: 1;
}

.imesa-kpi-triple > div div:nth-of-type(2) {
    width: 100%;
    height: 80px;
    text-align: center;
    line-height: 80px;
    font-size: 30px;
    font-weight: bold;
}

.imesa-kpi-triple > div div:nth-of-type(3) {
    width: 50%;
    height: 45px;
    padding-left: 5px;
    padding-right: 5px;
    float: left;
    text-align: center;
    line-height: 55px;
    font-size: 20px;
    z-index: 1;
}

.imesa-kpi-triple > div div:nth-of-type(4) {
    width: 50%;
    height: 45px;
    padding-left: 5px;
    padding-right: 5px;
    float: left;
    text-align: center;
    line-height: 55px;
    font-size: 20px;
    z-index: 1;
}

.imesa-kpi-double > div div:nth-of-type(2) {
    width: 100%;
    height: 80px;
    text-align: center;
    line-height: 80px;
    font-size: 30px;
    font-weight: bold;
}

.imesa-kpi-double > div div:nth-of-type(3) {
    width: 100%;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
}

.imesa-kpi-double-v2 > div div:nth-of-type(2) div.container {
    width: 100%;
    height: 62px;
}

    .imesa-kpi-double-v2 > div div:nth-of-type(2) div.container > div:nth-of-type(1) {
        float: left;
        width: 60%;
        height: 100%;
        line-height: 62px;
        font-size: 40px;
        font-weight: bold;
        text-align: right;
        padding-right: 5px;
    }

    .imesa-kpi-double-v2 > div div:nth-of-type(2) div.container > div:nth-of-type(2) {
        float: left;
        width: 40%;
        height: 100%;
        line-height: 62px;
        font-size: 15px;
        text-align: left;
    }

    .imesa-kpi-double-v2 > div div:nth-of-type(2) div.container:nth-of-type(1) > div:nth-of-type(2) {
        line-height: 40px;
    }

    .imesa-kpi-double-v2 > div div:nth-of-type(2) div.container:nth-of-type(2) > div:nth-of-type(2) {
        line-height: 80px;
    }

.imesa-kpi-double-v2 > div div:nth-of-type(2) div.line {
    position: absolute;
    top: 96px;
    border-bottom: 1px solid rgba(0,153,223,0.7);
    height: 1px;
    left: 50px;
    right: 40%;
}

.imesa-kpi.kpi-red > .imesa-kpi-double-v2 > div div:nth-of-type(2) div.line {
    position: absolute;
    top: 96px;
    border-bottom: 1px solid rgba(242, 64, 64, 0.7);
    height: 1px;
    left: 50px;
    right: 40%;
}

.imesa-kpi-single > div div:nth-of-type(2) {
    width: 100%;
    height: 125px;
    text-align: center;
    line-height: 115px;
    font-size: 50px;
    font-weight: bold;
}

.imesa-kpi-single.text-only > div div:nth-of-type(2) {
    width: 100% !important;
    height: 125px !important;
    text-align: center !important;
    line-height: 115px !important;
    font-size: 30px !important;
    font-weight: bold !important;
}

.imesa-kpi.imesa-kpi-graph {
    height: auto;
    color: #e2e2e2 !important;
}

@media only screen and (max-height: 900px) {

    .imesa-kpi > div {
        width: 100%;
        /*height: 100%;*/
        height: 100px;
        border: 1px solid #0099df;
        border-radius: 4px;
        color: #0099df;
    }

        .imesa-kpi > div > div:nth-of-type(1) {
            width: 100%;
            height: 20px;
            padding-left: 5px;
            text-align: left;
            line-height: 20px;
            font-size: 15px;
            background-color: rgba(15, 58, 84, 0.4) !important;
        }

        .imesa-kpi > div > i.imesa-kpi-icon {
            display: block;
            position: absolute;
            left: 15px;
            top: 40px;
            font-size: 50px !important;
            opacity: 0.1;
            z-index: -999999;
        }

    .imesa-kpi-triple-devices-synchro > div div:nth-of-type(2) {
        width: 100%;
        height: 60px;
        text-align: center;
        line-height: 60px;
        font-size: 40px;
        font-weight: bold;
    }

    .imesa-kpi-triple-devices-synchro > div div:nth-of-type(3) {
        width: 50%;
        height: 20px;
        padding-left: 5px;
        padding-right: 5px;
        float: left;
        text-align: center;
        line-height: 10px;
        font-size: 12px;
    }

    .imesa-kpi-triple-devices-synchro > div div:nth-of-type(4) {
        width: 50%;
        height: 20px;
        padding-left: 5px;
        padding-right: 5px;
        float: left;
        text-align: center;
        line-height: 10px;
        font-size: 12px;
    }

    .imesa-kpi-triple > div div:nth-of-type(2) {
        width: 100%;
        height: 60px;
        text-align: center;
        line-height: 60px;
        font-size: 25px;
        font-weight: bold;
    }

    .imesa-kpi-triple > div div:nth-of-type(3) {
        width: 50%;
        height: 20px;
        padding-left: 5px;
        padding-right: 5px;
        float: left;
        text-align: center;
        line-height: 10px;
        font-size: 12px;
    }

    .imesa-kpi-triple > div div:nth-of-type(4) {
        width: 50%;
        height: 20px;
        padding-left: 5px;
        padding-right: 5px;
        float: left;
        text-align: center;
        line-height: 10px;
        font-size: 12px;
    }

    .imesa-kpi-double-v2 > div div:nth-of-type(2) div.container {
        width: 50%;
        height: 100%;
        float: left;
    }

        .imesa-kpi-double-v2 > div div:nth-of-type(2) div.container:nth-of-type(1) > div:nth-of-type(1) {
            width: 100%;
            height: 40px;
            line-height: 45px;
            font-size: 35px;
            font-weight: bold;
            text-align: right;
        }

        .imesa-kpi-double-v2 > div div:nth-of-type(2) div.container:nth-of-type(1) > div:nth-of-type(2) {
            width: 100%;
            height: 30px;
            line-height: 20px;
            font-size: 15px;
            text-align: right;
        }

        .imesa-kpi-double-v2 > div div:nth-of-type(2) div.container:nth-of-type(2) > div:nth-of-type(1) {
            width: 100%;
            height: 40px;
            line-height: 45px;
            font-size: 35px;
            font-weight: bold;
            text-align: left;
        }

        .imesa-kpi-double-v2 > div div:nth-of-type(2) div.container:nth-of-type(2) > div:nth-of-type(2) {
            width: 100%;
            height: 30px;
            line-height: 20px;
            font-size: 15px;
            text-align: left;
        }

        .imesa-kpi-double-v2 > div div:nth-of-type(2) div.container > div:nth-of-type(2) {
            line-height: 30px !important;
        }

    .imesa-kpi-double-v2 > div div:nth-of-type(2) div.line {
        position: absolute;
        height: auto;
        top: 35px;
        bottom: 10px;
        border: none;
        border-right: 1px solid rgba(0,153,223,0.7);
        left: 50%;
        right: 50%;
    }

    .imesa-kpi .kpi-red > .imesa-kpi-double-v2 > div div:nth-of-type(2) div.line {
        position: absolute;
        height: auto;
        top: 35px;
        bottom: 10px;
        border: none;
        border-bottom: 1px solid rgba(242, 64, 64, 0.7);
        left: 50%;
        right: 50%;
    }

    .imesa-kpi-double > div div:nth-of-type(2) {
        width: 100%;
        height: 60px;
        text-align: center;
        line-height: 60px;
        font-size: 25px;
        font-weight: bold;
    }

    .imesa-kpi-double > div div:nth-of-type(3) {
        width: 100%;
        height: 20px;
        text-align: center;
        line-height: 20px;
        font-size: 12px;
    }

    .imesa-kpi-single > div div:nth-of-type(2) {
        width: 100%;
        height: 100px;
        text-align: center;
        line-height: 100px;
        font-size: 40px;
        font-weight: bold;
    }

    .imesa-kpi-single.text-only > div div:nth-of-type(2) {
        width: 100% !important;
        height: 100px !important;
        text-align: center !important;
        line-height: 100px !important;
        font-size: 20px !important;
        font-weight: bold !important;
    }
}

div.imesa-setting-block {
    display: block;
    width: 100%;
    height: 48px;
    font-size: 16px;
    text-align: left;
    line-height: 48px;
    /*background-color: #ffffff;*/
    border-left: 2px solid #0099df;
    padding-right: 10px;
    padding-left: 10px;
    position: relative;
    transition: background-color 0.8s ease;
}

div.imesa-setting-block-moved {
    background-color: #0099df;
    color: #fff;
    transition: background-color 0.8s ease;
}

.imesa-preset-section.little {
    position: relative;
    display: block;
    height: 30% !important;
}

.imesa-preset-section.big {
    position: relative;
    display: block;
    height: 70% !important;
}

.imesa-preset-section.little div > div:nth-child(1) {
    position: relative;
    background-color: rgba(200,100,100,0.5);
    left: 0;
    right: 0;
    top: 0;
    height: 40px;
}

.imesa-preset-section.little div > div:nth-child(2) {
    position: relative;
    background-color: rgba(50,100,100,0.2);
    left: 0;
    right: 0;
    bottom: 0;
    top: 20px;
}

.imesa-element-translation > div:nth-child(1) {
    float: left;
    display: inline-block;
    width: 50px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}

.imesa-element-translation > div:nth-child(2) {
    float: left;
    display: inline-block;
    width: calc(100% - 60px);
    height: 40px;
    line-height: 40px;
}

.imesa-file-preview {
    width: 100%;
    min-height: 300px;
    height: auto;
    background-color: rgba(0,0,0,0.5);
}

    .imesa-file-preview p {
        line-height: 32px;
        margin: 10px;
        margin-bottom: 0;
    }

    .imesa-file-preview img {
        max-width: 100%;
        max-height: 300px;
        border: 1px solid #0099df;
        margin: 10px;
        margin-top: 0;
    }

.imesa-text-preview-container {
    position: absolute;
    top: 32px;
    bottom: 0;
    left: 15px;
    right: 0;
}

    .imesa-text-preview-container > pre.imesa-text-preview {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0,0,0,0.1);
        color: #e2e2e2;
    }

.imesa-cycle-pager-container {
    position: absolute;
    right: 10px;
    width: 205px;
    height: 32px;
    z-index: 99999999999999;
}

    .imesa-cycle-pager-container .imesa-cycle-pager-pages {
        width: 131px;
        float: left;
    }

        .imesa-cycle-pager-container .imesa-cycle-pager-pages div {
            width: 32px !important;
            height: 32px !important;
            float: left;
            margin-left: 5px;
            line-height: 32px;
            padding: 0;
            text-align: center;
        }

            .imesa-cycle-pager-container .imesa-cycle-pager-pages div:nth-of-type(2) {
                width: 52px !important;
            }

            .imesa-cycle-pager-container .imesa-cycle-pager-pages div a {
                min-width: 0 !important;
                width: 32px !important;
                height: 32px !important;
                line-height: 32px;
                padding: 0;
                text-align: center;
            }

    .imesa-cycle-pager-container .imesa-cycle-pager-buttons {
        width: 74px;
        float: left;
    }

        .imesa-cycle-pager-container .imesa-cycle-pager-buttons div {
            width: 32px !important;
            height: 32px !important;
            float: left;
            margin-left: 5px;
            line-height: 32px;
            padding: 0;
            text-align: center;
        }

        .imesa-cycle-pager-container .imesa-cycle-pager-buttons a {
            min-width: 0 !important;
            width: 32px !important;
            height: 32px !important;
            line-height: 32px;
            padding: 0;
            text-align: center;
        }

.imesa-cycle-square {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: none;
}

.imesa-cycle-types-container {
    width: 640px;
    height: 380px;
}

.imesa-cycle-type-button {
    position: relative;
    float: left;
    width: 150px;
    height: 150px;
    cursor: pointer;
    margin: 5px;
}

    .imesa-cycle-type-button.prewash {
        background-color: #ffd300;
        color: #2e2e2e;
    }

    .imesa-cycle-type-button.wash {
        background-color: #f24040;
        color: #e2e2e2;
    }

    .imesa-cycle-type-button.rinse {
        background-color: #2e8b41;
        color: #e2e2e2;
    }

    .imesa-cycle-type-button.discharge {
        background-color: #fff;
        color: #2e2e2e;
    }

    .imesa-cycle-type-button.spin {
        background-color: #8a8a8a;
        color: #e2e2e2;
    }

    .imesa-cycle-type-button.soak {
        background-color: #7050a3;
        color: #e2e2e2;
    }

    .imesa-cycle-type-button.cooldown {
        background-color: #004ea3;
        color: #e2e2e2;
    }

    .imesa-cycle-type-button img {
        position: absolute;
        left: 45px;
        right: 0;
        top: 25px;
        height: 60px;
        width: 60px;
    }

    .imesa-cycle-type-button span {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 50px;
        text-align: center;
        line-height: 40px;
    }

.imesa-program-cycles-container {
    position: absolute;
    right: 10px;
    top: 40px;
    bottom: 0;
    left: 10px;
    right: 10px;
    overflow-x: hidden;
    overflow-y: auto;
}

.imesa-program-item,
.imesa-program-cycle-item {
    position: relative;
    margin-top: 5px;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    height: 60px;
    color: #fff;
    border: none;
    cursor: pointer;
    padding-left: 10px;
    line-height: 60px;
}

    .imesa-program-item.prewash,
    .imesa-program-cycle-item.prewash {
        background-color: #ffd300;
        color: #2e2e2e;
    }

    .imesa-program-item.wash,
    .imesa-program-cycle-item.wash {
        background-color: #f24040;
        color: #e2e2e2;
    }

    .imesa-program-item.rinse,
    .imesa-program-cycle-item.rinse {
        background-color: #2e8b41;
        color: #e2e2e2;
    }

    .imesa-program-item.discharge,
    .imesa-program-cycle-item.discharge {
        background-color: #fff;
        color: #2e2e2e;
    }

    .imesa-program-item.spin,
    .imesa-program-cycle-item.spin {
        background-color: #8a8a8a;
        color: #e2e2e2;
    }

    .imesa-program-item.soak,
    .imesa-program-cycle-item.soak {
        background-color: #7050a3;
        color: #e2e2e2;
    }

    .imesa-program-item.cooldown,
    .imesa-program-cycle-item.cooldown {
        background-color: #004ea3;
        color: #e2e2e2;
    }

    .imesa-program-item.selected,
    .imesa-program-cycle-item.selected {
        border-left: 6px solid #0099df;
    }

    .imesa-program-cycle-item > span:nth-of-type(1) {
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 60px;
        background-color: rgba(0, 0, 0, 0.1);
        font-size: 2rem;
        text-align: center;
    }

    .imesa-program-cycle-item > span:nth-of-type(2) {
        display: block;
        position: absolute;
        left: 70px;
        top: 0;
        width: calc(100% - 70px);
        height: 30px;
        line-height: 30px;
        font-weight: bold;
        text-transform: uppercase;
    }

        .imesa-program-cycle-item > span:nth-of-type(2) > img {
            width: 24px;
            height: 24px;
        }

    .imesa-program-cycle-item > span:nth-of-type(3) {
        display: block;
        position: absolute;
        left: 70px;
        top: 30px;
        width: calc(100% - 70px);
        height: 30px;
        line-height: 30px;
    }

    .imesa-program-cycle-item > .imesa-program-cycle-add-cycle {
        position: absolute;
        top: 5px;
        right: 5px;
        border: 4px solid #fff;
        border-radius: 100px;
        font-weight: bold;
        height: 48px;
        line-height: 40px;
        width: 48px;
        text-align: center;
        color: #fff;
        background-color: #000;
        font-size: 3rem;
        z-index: 99999;
    }

.imesa-cycle-start {
    /*background-color: #55c425;*/
    /*color: #fff;*/
    color: #55c425;
    border: none;
    font-weight: bold;
    font-size: 1.5rem;
    height: 30px;
    line-height: 30px;
    cursor: default;
    /*border-left: solid 6px #fff;*/
    border-left: solid 6px #55c425;
    text-transform: uppercase;
}

.imesa-cycle-end {
    /*background-color: #55c425;*/
    /*color: #fff;*/
    color: #55c425;
    border: none;
    font-weight: bold;
    font-size: 1.5rem;
    height: 30px;
    line-height: 30px;
    cursor: default;
    /*border-left: solid 6px #fff;*/
    border-left: solid 6px #55c425;
    text-transform: uppercase;
}

.imesa-program-cycle-edit-container {
    position: absolute;
    top: 40px;
    bottom: 0;
    right: 10px;
    left: 10px;
    overflow-x: hidden;
    overflow-y: auto;
}

.imesa-program-icons-container {
    width: 630px;
    height: 400px;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: rgba(255, 255, 255, 0.1);
}

.imesa-program-icon-item {
    position: relative;
    float: left;
    width: 93px;
    height: 93px;
    cursor: pointer;
    margin: 5px;
    padding: 20px;
}

    .imesa-program-icon-item.selected {
        border: 4px solid #0099df !important;
        padding: 6px;
    }

    .imesa-program-icon-item > img {
        width: 100%;
        height: 100%;
    }

.imesa-program-icon {
    width: 34px;
    height: 34px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2px;
    margin-top: -6px;
}

.imesa-program-file-item {
    position: relative;
    width: 100%;
    height: 150px;
    cursor: pointer;
    color: #0099df;
    border-radius: 4px;
}

    .imesa-program-file-item:hover {
        background-color: #0099df;
        color: #fff;
    }

    .imesa-program-file-item.disabled {
        cursor: not-allowed;
        background-color: transparent;
        color: rgba(255,255,255,0.1);
    }

        .imesa-program-file-item.disabled:hover {
            cursor: not-allowed;
            background-color: transparent;
            color: rgba(255,255,255,0.1);
        }

    .imesa-program-file-item i {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 48px;
        font-size: 50px;
        line-height: 92px;
        text-align: center;
    }

    .imesa-program-file-item p {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 48px;
        line-height: 24px;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.imesa-device-config-header {
    height: 32px;
    line-height: 32px;
    background-color: rgba(255,255,255,0.1);
    color: #fff;
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 10px;
    border-bottom: #0099df 1px solid;
}

    .imesa-device-config-header > div:nth-of-type(1) {
        float: left;
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 13px;
        color: #ffffff;
        font-style: italic;
        text-transform: uppercase;
        /*background-color: rgba(255,255,255,0.1);
        padding-left: 10px;
        padding-right: 10px;*/
    }

/*.imesa-device-config-header > div:nth-of-type(2) {
        float: left;
        width: calc(100% - 75px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-left: 10px;
        padding-right: 10px;
    }*/

.imesa-device-config-container {
    position: absolute;
    top: 50px;
    bottom: 10px;
    right: 10px;
    left: 10px;
    overflow-x: hidden;
    overflow-y: auto;
}

.imesa-device-config-data {
    height: 40px;
    line-height: 40px;
    margin-bottom: 10px;
    border-bottom: 1px #8a8a8a dotted;
}

    .imesa-device-config-data > div:nth-of-type(1) {
        float: left;
        width: 75px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 13px;
        color: #888888;
        font-style: italic;
        background-color: rgba(255,255,255,0.1);
        text-align: center;
    }

    .imesa-device-config-data > div:nth-of-type(2) {
        float: left;
        width: calc(100% - 310px - 75px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-left: 10px;
        padding-right: 10px;
    }

    .imesa-device-config-data > div:nth-of-type(3) {
        float: left;
        width: 310px;
        padding-right: 10px;
    }

.imesa-engine-rhythms-container {
    position: absolute;
    right: 10px;
    left: 10px;
    top: 50px;
    bottom: 10px;
    overflow-y: auto;
}

.imesa-water-levels-container {
    position: absolute;
    right: 10px;
    left: 10px;
    top: 50px;
    bottom: 10px;
    overflow-y: auto;
}

.imesa-log-filter {
    display: block;
    width: 100% !important;
}

    .imesa-log-filter select {
        width: 100px !important;
        margin-right: 10px !important;
        float: left !important;
    }

.imesa-log-container {
    display: block;
    width: 100% !important;
    bottom: 10px;
}

    .imesa-log-container pre {
        width: 100%;
        height: 100%;
        background-color: #dedede !important;
        color: #2e2e2e !important;
    }

.imesa-individual-selection-container-individuals {
    position: absolute;
    right: 10px;
    left: 10px;
    height: 250px;
    overflow-y: auto;
}

.imesa-individual-selection-container-new {
    position: absolute;
    right: 10px;
    left: 10px;
    top: 270px;
    bottom: 10px;
    overflow-y: auto;
}


.imesa-preset-container-data div.imesa-preset-file-item {
    position: relative;
    line-height: 24px;
    height: 48px;
    margin-bottom: 5px;
}

    .imesa-preset-container-data div.imesa-preset-file-item > div:nth-of-type(1) {
        position: absolute;
        display: block;
        height: 24px;
        top: 0;
        left: 0;
        right: 0;
    }

    .imesa-preset-container-data div.imesa-preset-file-item > div:nth-of-type(2) {
        position: absolute;
        display: block;
        height: 24px;
        top: 24px;
        left: 20px;
        right: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .imesa-preset-container-data div.imesa-preset-file-item > div:nth-of-type(3) {
        position: absolute;
        display: block;
        width: 20px;
        height: 24px;
        top: 24px;
        right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

div.imesa-device-data-container:nth-of-type(1) {
    position: absolute;
    height: 300px;
    top: 0;
    left: 0;
    right: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

div.imesa-device-data-container:nth-of-type(2) {
    position: absolute;
    top: 280px;
    bottom: 0;
    left: 0;
    right: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

div.imesa-selection-container-current {
    position: absolute;
    height: 140px;
    top: 10px;
    left: 10px;
    right: 10px;
}

div.imesa-selection-container-new {
    position: absolute;
    top: 150px;
    bottom: 10px;
    left: 10px;
    right: 10px;
}

div.imesa-selection-initial {
    position: relative;
    height: 100px;
    top: 0;
    left: 0;
    right: 0;
}

div.imesa-selection-list-header {
    position: absolute;
    height: 40px;
    top: 90px;
    left: 10px;
    right: 10px;
}

div.imesa-selection-list-content {
    position: absolute;
    top: 130px;
    left: 10px;
    right: 10px;
    bottom: 10px;
}

div.imesa-import-container-current {
    position: absolute;
    height: 140px;
    top: 10px;
    left: 10px;
    right: 10px;
}

div.imesa-import-container-new {
    position: absolute;
    top: 150px;
    bottom: 10px;
    left: 10px;
    right: 10px;
}

div.imesa-import-initial {
    position: relative;
    height: 100px;
    top: 0;
    left: 0;
    right: 0;
}

div.imesa-import-list-header {
    position: absolute;
    height: 40px;
    top: 90px;
    left: 10px;
    right: 10px;
}

div.imesa-import-list-content {
    position: absolute;
    top: 130px;
    left: 10px;
    right: 10px;
    bottom: 10px;
}

div.imesa-preset-import-initial {
    position: relative;
    height: 150px;
    top: 0;
    left: 0;
    right: 0;
}


div.imesa-preset-import-list-header {
    position: absolute;
    height: 40px;
    top: 170px;
    left: 10px;
    right: 10px;
}


div.imesa-preset-import-list-content {
    position: absolute;
    top: 210px;
    left: 10px;
    right: 10px;
    bottom: 10px;
}

div.imesa-reference-list-header {
    position: absolute;
    height: 40px;
    top: 90px;
    left: 10px;
    right: 10px;
}

div.imesa-reference-list-content {
    position: absolute;
    top: 130px;
    left: 10px;
    right: 10px;
    bottom: 10px;
}

.imesa-picture-list-preview {
    display: inline-block;
    max-width: 40px;
    max-height: 40px;
}

.imesa-library-picture-thumbnail {
    /*border: 1px solid #0099df;*/
    max-width: 60px;
    max-height: 59px;
}

.imesa-internal-counters-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.imesa-device-filter-operator-container {
    position: absolute !important;
    width: 100% !important;
    right: 0;
    height: 0;
    top: 34px;
    transition: height ease-in-out 1s;
    overflow: hidden !important;
    overflow-y: auto !important;
    background-color: #2e2e2e !important;
    z-index: 999 !important;
    /*border-bottom: 1px solid #0099df !important;*/
}

.imesa-device-filter-operator-item {
    position: relative !important;
    width: 100% !important;
    height: 35px !important;
    line-height: 17px !important;
    padding: 10px !important;
    color: #fff !important;
    cursor: pointer !important;
}

    .imesa-device-filter-operator-item:before {
        display: inline-block !important;
        height: 35px !important;
        width: 20px !important;
        text-align: center !important;
        color: #0099df !important;
        opacity: 0 !important;
        content: "\\";
    }

    .imesa-device-filter-operator-item.active {
        color: #0099df !important;
    }

        .imesa-device-filter-operator-item.active:before {
            /* The order is important, first we add the font directive, after the content */
            font: var(--fa-font-solid);
            content: "\f105" !important;
            opacity: 1 !important;
            /*font-family: "Font Awesome 6 Pro" !important;*/
        }

.imesa-template-container {
    position: absolute;
    top: 50px;
    bottom: 10px;
    left: 10px;
    right: 10px;
}

    .imesa-template-container .imesa-template-subject {
        position: absolute;
        top: 0;
        height: 40px;
        left: 0;
        right: 360px;
    }

    .imesa-template-container .imesa-template-editor {
        position: absolute;
        top: 45px;
        bottom: 50px;
        left: 0;
        right: 360px;
    }

    .imesa-template-container .imesa-template-placeholders-list {
        width: 350px;
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
    }

        /*.imesa-template-container .imesa-template-placeholders-list .imesa-template-placeholders-list-main {
            position: absolute;
            height: 50%;
            top: 0;
            right: 0;
            left: 0;
        }*/
        .imesa-template-container .imesa-template-placeholders-list .imesa-template-placeholders-list-main {
            position: absolute;
            height: calc(100% - 36px);
            top: 0;
            right: 0;
            left: 0;
        }

            .imesa-template-container .imesa-template-placeholders-list .imesa-template-placeholders-list-main > p:nth-of-type(1) {
                position: relative;
                height: 18px;
                line-height: 18px;
                right: 0;
            }

            .imesa-template-container .imesa-template-placeholders-list .imesa-template-placeholders-list-main > p:nth-of-type(2) {
                position: relative;
                height: 18px;
                line-height: 18px;
                right: 0;
                top: 0;
            }

            .imesa-template-container .imesa-template-placeholders-list .imesa-template-placeholders-list-main > div {
                position: relative;
                height: calc(100% - 36px);
                right: 0;
                top: 0;
                bottom: 0;
            }

        /*.imesa-template-container .imesa-template-placeholders-list .imesa-template-placeholders-list-metadata {
            position: absolute;
            height: calc(50% - 30px);
            bottom: 0;
            right: 0;
            left: 0;
        }

            .imesa-template-container .imesa-template-placeholders-list .imesa-template-placeholders-list-metadata > p:nth-of-type(1) {
                position: relative;
                height: 18px;
                line-height: 18px;
                right: 0;
            }

            .imesa-template-container .imesa-template-placeholders-list .imesa-template-placeholders-list-metadata > p:nth-of-type(2) {
                position: relative;
                height: 18px;
                line-height: 18px;
                right: 0;
                top: 0;
            }

            .imesa-template-container .imesa-template-placeholders-list .imesa-template-placeholders-list-metadata > div {
                position: relative;
                height: calc(100% - 36px);
                right: 0;
                top: 0;
                bottom: 0;
            }*/


.imesa-template-placeholder-item {
    height: 50px;
    border-bottom: 1px dotted #999;
}

    .imesa-template-placeholder-item > p:nth-of-type(1) {
        font-weight: bold;
        height: 20px;
        line-height: 30px;
        font-size: 14px;
    }

    .imesa-template-placeholder-item > p:nth-of-type(2) {
        font-style: italic;
        height: 20px;
        line-height: 12px;
        font-size: 10px;
        color: #999;
    }

    .imesa-template-placeholder-item:hover > p:nth-of-type(1) {
        color: #0099df;
    }

    .imesa-template-placeholder-item:hover > p:nth-of-type(2) {
        color: #0099df;
    }

.imesa-rule-preview-subject-container {
    width: 100% !important;
    max-width: 100% !important;
    height: 40px !important;
    line-height: 40px !important;
    padding: 10px !important;
    background-color: #e2e2e2 !important;
    color: #2e2e2e !important;
    border-radius: 5px !important;
    text-overflow: ellipsis !important;
}

.imesa-rule-preview-body-container {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 550px !important;
    padding: 10px !important;
    background-color: #e2e2e2 !important;
    color: #2e2e2e !important;
    border-radius: 5px !important;
}

.imesa-reorder-rule-header {
    position: absolute;
    top: 10px;
    height: 30px;
    left: 10px;
    right: 10px;
}

.imesa-reorder-rule-container {
    position: absolute;
    top: 45px;
    bottom: 10px;
    left: 10px;
    right: 10px;
}

.imesa-reorder-rule-item {
    /*padding-left: 10px;*/
    /*height: 32px !important;
    line-height: 32px !important;*/
}

    .imesa-reorder-rule-item:hover {
        border-bottom: 1px solid #0099df !important;
    }

    .imesa-reorder-rule-item > span:nth-of-type(1) {
        width: 30% !important;
        float: left;
    }

        .imesa-reorder-rule-item > span:nth-of-type(1) > span {
            color: #888888;
            font-style: italic;
            /*padding-right: 10px;*/
        }

    .imesa-reorder-rule-item > span:nth-of-type(2) {
        width: 50% !important;
        float: left;
    }

    .imesa-reorder-rule-item > span:nth-of-type(3) {
        width: 20% !important;
        float: right;
        text-align: right;
    }

    .imesa-reorder-rule-item > span > i {
        /*padding-right: 10px;*/
    }

    .imesa-reorder-rule-item:hover {
        background-color: #0099df !important;
    }

        .imesa-reorder-rule-item:hover > span > i {
            color: #fff !important;
        }

    .imesa-reorder-rule-item > span > i:hover {
        color: #0099df !important;
    }

/* For bigger screens */
@media screen and (min-width: 900px) {
    .imesa-device-config-modal {
        max-width: 70% !important;
        margin: 0 auto !important;
    }
}

    /* For smaller screens */
    @media screen and (max-width: 900px) {
        .imesa-device-config-modal {
            max-width: 95% !important;
            width: auto;
            margin: 0 auto !important;
        }
    }

.imesa-element-label-container {
    position: absolute;
    left: 10px;
    width: 300px;
    height: 32px;
    z-index: 99999999999999;
}