﻿/* Basis-Layout */

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
}

iframe {
    overflow: hidden;
    width: 100%;
    height: 100%;
    border: none;
}

/* Selektion */
::selection {
    color: white;
    background: orange;
}

/* Tabellen-Hintergrund */
.even {
    background-color: #E6E6FA;
}

.uneven {
    background-color: #F0F8FF;
}

/* Logo / Topicon */
.logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    width: 100%;
    height: 100%;
}

.topicon {
    display: block;
    margin-left: auto;
    margin-right: 12px;
    margin-top: 0;
    width: 225px;
    height: 25px;
}

/* File-Input */
.inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

    .inputfile + label {
        font-size: 14px;
        text-align: left;
        color: black;
        background-color: #f2f2f2;
        display: inline-block;
        margin-right: 10px;
    }

        .inputfile:focus + label,
        .inputfile + label:hover {
            background-color: #dfdfdf;
        }

/* Buttons allgemein */
.btn {
    background-color: #0287CA;
    border: none;
    color: white;
    padding: 0 0;
    font-size: 16px;
    cursor: pointer;
    width: 80px;
}

    .btn:hover {
        background-color: #41A7E1;
    }

/* Explorer-Buttons (Toolbar) */
.explorer_button {
    background-image: url("src/skins/material/imgs/dhxform_material/toggle_off_dis.png");
    width: 42px;
    height: 24px;
    border: none;
    color: white;
    padding: 8px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}

/* "Combo" Hilfs-UI */
.combobutton {
    background-color: white;
    border: none;
    color: white;
    padding: 2px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}

.combonote {
    background-color: #41A7E1;
    opacity: 0.5;
    color: black;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
}

.comboicon {
    padding-left: 25px;
    background: url("src/img/icons_grid/error.ico") no-repeat left;
    background-color: #fafafa;
    background-size: 20px;
    border: 0;
}

.combobtn {
    background-color: red;
    background-image: url("imgs/dhxcombo_material/dhxcombo_arrow_down_dis.gif");
    cursor: default;
}

.combo_refresh {
    background-color: orange;
    color: white;
    border: none;
    margin-left: 100px;
    margin-top: 5px;
    background-repeat: no-repeat;
    background-position: center center;
}

    .combo_refresh:hover {
        background-color: #41A7E1;
        transition: 0.7s;
    }

    .combo_refresh:focus {
        outline-color: transparent;
        outline-style: solid;
        box-shadow: 0 0 0 2px orange;
    }

/* Responsive iframe Wrapper */
.responsive_iframe {
    height: 100%;
    width: 100%;
    margin: 0;
    overflow: hidden;
}

/* Progress / Balken */
.progress-container {
    width: 100%;
    max-width: 300px;
    margin: 20px;
}

progress {
    width: 100%;
    height: 30px;
    border: none;
    background-color: #f3f3f3;
    border-radius: 5px;
    overflow: hidden;
}

    progress::-webkit-progress-value {
        background-color: #4caf50;
    }

    progress::-moz-progress-bar {
        background-color: #4caf50;
    }

#progressText {
    text-align: right;
    margin-top: 5px;
}

/* Einzelne Zelle einzeilig */
.single-line-cell {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/* Non-Draggable */
.wiso-non-draggable {
    cursor: default !important;
    user-select: none;
}

/* Form-Layout-Helfer */
.form-field {
    flex: 1 1 calc(50% - 10px);
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 5px;
}

/* Tabellen in Demo-Bereichen */
table.demo_table {
    height: 30px;
    text-align: left;
    padding-right: 0;
}

    table.demo_table td,
    table.demo_table tr {
        height: 20px;
        text-align: left;
        padding-right: 0;
    }

    table.demo_table p {
        text-align: left;
        font-size: 12px;
        font-family: Arial;
    }

/* Logos für verschiedene Skins */
.wiso_logo_extended,
.wiso_logo_material,
.wiso_logo_dhx_web {
    height: 60px;
    width: 250px;
}
