/*******************************************************************************
	Filename				: format.css

	Created					: 08.07.2014
	Created by			: Michael Hagi

	Last Updated		: 08.07.2014
	Updated by			: Michael Hagi

	Comments				: format CSS definitionen
*******************************************************************************/

/* Formularelemente */
input[type="file"] {
    box-sizing: unset !important;
}

input[type="checkbox"] {
    vertical-align: middle !important;
}

input[readonly] {
    background-color: rgb(240, 255, 208);
    color: rgb(134, 134, 134);
}

.spanCheckbox {
    clear: left;
    display: flex;
    padding: 2px 0 2px 0.5%;
    width: 98%;
}

.spanCheckboxMulti {
    border: 1px solid #e5e5e5;
    border-top: none;
    background-color: rgb(240, 240, 240);
    clear: left;
    display: block;
    padding: 2px;
    width: 98%;
}

.spanCheckbox label {
    padding: 0 4px;
}

.spanCheckboxMulti label {
    padding: 0 4px;
}

.spanRadio {
    display: inline-block;
    padding: 4px;
    width: 96%;
}

.spanRadio label {

    padding: 0 4px !important;
}

.spanRadio input {
    background-color: transparent;
    float: left;
    margin: 0;
    height: 16px !important;
}

.fns_elementForm select, .fns_elementForm input {padding:8px 10px}

.spanRadioBool {
    display: inline-block;
    padding: 4px;
    width: 96%;
}

.spanRadioBool label {
    float: left;
    padding: 0 4px !important;
}

.spanRadioBool input {
    background-color: transparent;
    float: left;
    margin: 0;
    height: 16px !important;
}

.checkboxMultiFader {
    background-color: rgb(240, 240, 240);
    padding: 3px;
    border: 1px solid #e5e5e5;
}

.spanCheckboxMulti ul {
    list-style-type: none;
    padding-left: 5px;
}

.dateDECH {
    margin: 0 !important;
}

/* formWorkIndex */

.indexUL {
    list-style: outside none none;
    margin: 0 0 1em;
    overflow: hidden;
    padding: 0;
}

.indexLI {
    border-bottom: 1px solid #f0f0f0;
    padding: 0.5em 0 0.7em;
    clear: both;
    list-style-type: none;
    margin: 0 0 0.25em;
}

.indexArchiv, .indexArchiv a {
    color: #B1B1B4 !important;
}

.indexWF {
    background-color: #B1B1B4 !important;
    padding: 5px;
}

.indexFilters {
    background: rgb(240, 240, 240);
    margin-bottom: 5px;
}

.indexFiltersEntrys {
    float: left;
    margin: 5px;
}

.indexFiltersEntrys select {
    height: 35px;
    max-width: 100%;
}

.indexFiltersEntrys.divQuickSearch {
    width: 100%;
}

.formwork_Textfilter {
    min-width: 60%;
    max-width: 100%;
    height: 30px;
}

/* Infobox */
.fns_elementInfo {
    background-color: #bee1c9;
    color: #000000;
    border: 1px solid #06933c;
    padding: 5px;
    margin: 5px 0 15px 0;
    box-shadow: 0 8px 6px -6px grey;
}

.infoRed {
    background-color: #f5b093 !important;
    border: 1px solid #e30b22;
}


/* jQuery validate */
.error, .errorZahl {
    background-color: rgb(245, 176, 147) !important;
    border: 1px solid #A01B19 !important;
}

.error[type="checkbox"] {
    border: 0 !important;
}

.error[type="radio"] {
    border: 0 !important;
}

.errorText {
    color: #A01B19 !important;
    font-weight: bold;
}

label.error {
    margin: 2px 0.8% 2px 0 !important;
    padding: 0 6px;
    position: relative;
    display: block;
    background-color: rgb(242, 195, 147) !important;
}

.form label.error {
    margin: 2px 1% 2px 0 !important;
}

.cartTooltip {
    position: absolute;
    padding: 3px;
    background: rgb(240, 240, 240);
    border: 1px solid grey;
}

/* generateChart */

.fns_chartJSdiv {
    width: 100%;
    height: 400px;
    padding-bottom: 20px;
}

.fns_ttkAuslastungDatumfilter {
    float:right;
    text-align:right;
    margin: 0 7px 7px 0;
}

/* ================================================================
DEPRECATED -- Ältere Definitionen um Kompatibilität sicherzustellen
=================================================================== */
/* --- Grundformatierungen --- */
.fns_elementForm ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fns_elementForm p {
    margin: 0;
    padding: 0;
}

.fns_elementForm fieldset {
    margin-bottom: 1em;
}

/*IE7Hack*/
* + html body .fns_elementForm fieldset {
    padding-bottom: 1em;
}

/*IE6Hack*/
* html body .fns_elementForm fieldset {
    padding-bottom: 1em;
}

.fns_elementForm legend {
    margin-left: -0.5em;
    padding-bottom: 0.5em;
    font-weight: bold;
}

.fns_elementForm ul li label {
    float: left;
    width: 33.3%;
    margin: 0;
}

.fns_elementForm ul li {
    margin: 0 0 0.25em 0;
    list-style-type: none;
    list-style-image: none !important;
}

.fns_elementForm ul .column33p {
    float: left;
    width: 33.3%;
    margin: 0;
}

.fns_elementForm ul .column66p {
    margin: 0 0 0 33.3%;
}

.fns_elementForm ul .group {
    margin: 0 0 0 33.3%;
}

.fns_elementForm ul .group .left {
    float: left;
    width: 20px;
}

.fns_elementForm ul .group .content {
    margin: 0 0 0 20px;
}

.fns_elementForm ul .group .clearfix {
    clear: left;
}

.fns_elementForm ul .space {
    padding-bottom: 1em;
}

/* --- Workaround für Mehrzeilige Check- und Radionbuttons bei Verwendung des Elemente <label></label> --- */
.fns_elementForm ul label.group {
    margin: 0;
}

/*IE7Hack*/
* + html body .fns_elementForm ul .group {
    margin-top: -1.4em;
}

/*IE6Hack*/
* html body .fns_elementForm ul .group {
    margin-top: -1.4em;
}

/* --- Felder --- */
.fns_elementForm input {
    width: 50%;
    max-width: 66.6%;
}

.fns_elementForm input.tiny {
    width: 10%;
    max-width: 15%;
}

.fns_elementForm input.small {
    width: 20%;
    max-width: 25%;
}

.fns_elementForm input.radio {
    margin-right: 0.5em;
    padding: 0;
    width: 15px;
    height: 15px;
    vertical-align: middle;
    line-height: 20px;
    border-style: none !important;
}

.fns_elementForm input.check {
    margin-right: 0.5em;
    padding: 0;
    width: 18px;
    height: 18px;
    vertical-align: middle;
    line-height: 20px;
    border-style: none !important;
}

.fns_elementForm textarea {
    width: 50%;
    max-width: 55%;
    height: 10em;
    border: 1px solid #000;
    padding: 0.125em 0.25em;
    font: normal 1em arial, verdana, sans-serif;
}

.fns_elementForm select {
    width : 50%;
}

.fns_elementForm input[type="submit"] {
}

/* -- Dropdowns für DD/MM/YEAR --- */
.fns_elementForm select.day {
    width: 6%;
    max-width: 11%;
}

.fns_elementForm select.month {
    width: 15%;
    max-width: 20%;
}

.fns_elementForm select.year {
    width: 8%;
    max-width: 13%;
}

.fns_elementForm select.time {
    width: 6%;
    max-width: 11%;
}

/* --- Reguläre Dropdowns --- */
.fns_elementForm select.tiny {
    width: 10%;
    max-width: 15%;
}

.fns_elementForm select.small {
    width: 20%;
    max-width: 25%;
}

.fns_elementForm select.medium {
    width: 30%;
    max-width: 35%;
}

.fns_elementForm select.multiple {
    height: auto;
}

/* --- Textareas --- */
.fns_elementForm textarea.small {
    width: 20%;
    max-width: 25%;
    height: 7em;
}

.fns_elementForm textarea.medium {
    width: 30%;
    max-width: 35%;
    height: 7em;
}

.fns_elementForm textarea.large {
    width: 70%;
    max-width: 75%;
    height: 10em;
}

/* --- Buttons --- */
.fns_elementForm .button {
    cursor: pointer;
    width: auto;
    height: auto;
    line-height: 18px;
    font-size: 0.93em;
    color: #fff;
    background-color: #c6c6c7;
    border: 1px solid #000;
    padding: 0.25em 0.5em;
}

.fns_elementForm button {
    cursor: pointer;
    width: auto;
}

.fns_elementForm input.inputbutton {
    cursor: pointer;
    width: auto;
    height: auto;
}

.fns_elementForm a.inputbutton {
    cursor: pointer;
    width: auto;
    height: auto;
}

.fns_elementForm .inputbutton:hover {
}

.fns_elementForm .inputbutton:focus {
}

/* --- FORMULARE --- */
.elementForm_var0 dl.form, .elementForm_var0 div.form {max-width:100% !important}


.fns_elementForm .button:hover {

}

.fns_elementForm button:hover {
    cursor: pointer;
}

table.fns_elementTable caption {
    text-align: left;
    font-weight: bold;
}

* + html body table.fns_elementTable caption {
    padding-bottom: 1em;
}

table.fns_elementTable th {
    vertical-align: top;
    text-align: left;
    font-weight: bold;
}

table.fns_elementTable td {
    vertical-align: top;
    text-align: left;
    font-weight: normal;
}

table.fns_elementTable {
    border-spacing: 0;
    border-collapse: collapse;
    table-layout: auto;
    empty-cells: show;
}

table.fns_elementTable {
    width: 99%;
    table-layout: fixed;
}

table.fns_elementTable th, .fns_elementTable td {
}

table.fns_elementTable tr:hover {
}

table.fns_elementTable th {
    padding: 0.25em;
}

table.fns_elementTable td.head {
    background-color: #e8e8e8 !important;
    font-weight: bold;
}

table.fns_elementTable td {
    padding: 0.25em;
}

table.fns_elementTable td:hover {
    background-color: #f2f1f0;
}

table.fns_elementTable .hide {
    width: 5%;
    text-align: center;
}

table.fns_elementTable .left {
    text-align: left;
}

table.fns_elementTable .right {
    text-align: right;
}

table.fns_elementTable .center {
    text-align: center;
}

table.fns_elementTable .middle {
    vertical-align: middle;
}

table.fns_elementTable .space {
    padding-bottom: 1em;
}

table.fns_elementTable .cell5p {
    width: 5%;
}

table.fns_elementTable .cell10p {
    width: 12%;
}

table.fns_elementTable .cell15p {
    width: 15%;
}

table.fns_elementTable .cell20p {
    width: 20%;
}

table.fns_elementTable .cell22p {
    width: 22%;
}

table.fns_elementTable .cell23p {
    width: 23%;
}

table.fns_elementTable .cell25p {
    width: 25%;
}

table.fns_elementTable .cell28p {
    width: 28%;
}

table.fns_elementTable .cell30p {
    width: 30%;
}

table.fns_elementTable .cell32p {
    width: 32%;
}

table.fns_elementTable .cell33p {
    width: 33.3%;
}

table.fns_elementTable .cell40p {
    width: 40%;
}

table.fns_elementTable .cell50p {
    width: 50%;
}

table.fns_elementTable .cell66p {
    width: 66.6%;
}

table.fns_elementTable .cell75p {
    width: 75%;
}

.fns_elementHide {
    position: absolute;
    top: -1000em;
    left: -1000em;
    height: 1px;
    width: 1px;
    text-align: left;
}

dl.formTable dd div.cartTooltip {
    position: relative;
    float: right;
}

/*** Kontrast- UND ABC-Funktion aktivieren falls erwünscht ***/

.fns_dlAZ {
    display:none;
    float: left;
}

.fns_contrast {
    display:none;
    float: left;
    margin-left: 10px;
}

/*** Kontrast- UND ABC-Funktion aktivieren falls erwünscht ***/



#debugDiv dt {
    font-weight: bolder;
    float: none;
}

dt {width:100%;font-weight:bold}

dd {
    margin: 0 0 30px 0 !important;
    width: 100%;
    float: left;
}


.subdir-politik dt,
.subdir-kontakte dt {width:30%;font-weight:bold;float:left;}

.subdir-politik dd,
.subdir-kontakte dd {
    margin: 0 0 30px 0 !important;
    width: 70%;
    float: left;
}

.subdir-politik h1 + hr {
    display: none;
}

.subdir-login dd {margin: 0 0 5px 0 !important;width: 100%;float: left;}

.formWorkBacklink a:before {
    margin-left: 20px;
    content: '<<';
}

fieldset {
    border: none;
    padding: 0;
}

.formTable dd .wglListEntryMover {
    margin: -8px 0 0 -15px;
}


table {
    border-collapse: collapse;
    width:100%
}

td, th {
    padding: 10px;
    text-align: left;
    margin: 0;
}

tbody tr:nth-child(2n){
    background-color: #eee;
}

th {
    position: sticky;
    top: 0;
    background-color: #444;
    color: white;
}

td:hover {background-color:transparent}

/* --- Kalender ---*/
.ui-state-disabled {opacity:0.2}

/* DataPicker */
.ui-datepicker td {padding:12px !important}

#ui-datepicker-div.ui-datepicker td {padding:8px !important}

/* Login */
.elementForm div.form div.formElement.formElementButton {text-align:left !important}
.forgetPW {float:right;width:50%;text-align:right}
.keepCookie {float:left;width:50%}
.keepCookie input#keepCookie_1 {margin-top:0px;}
.subdir-login .elementForm div.form .wglCheckbox label {padding-top:0px !important;line-height:1;padding-bottom:20px !important}
.subdir-login .elementForm dl.form button, .subdir-login .elementForm div.form button {margin:0 1% 0 0 !important;float:left}
label.XXL, input.XXL, textarea.XXL, select.XXL {width: 100% !important;margin: 0 0 0 0 !important;}
button#logout {position:absolute;right:0px;top:0px}


/* Talus Module */
label.XXL:first-child, input.XXL:first-child, textarea.XXL:first-child, select.XXL:first-child {padding:8px 10px;margin-bottom:8px}
h2, .h2 {background:transparent !important}

.indexWF {
    background-color: #b2d5ea !important;
    padding: 10px 20px;
}
.indexArchiv, .indexArchiv a {
    color: #202020 !important;
}

/* OKC */
.loginInfos {
    margin-top: 5px;
    background-color: #b2d5ea;
    display: table;
    padding: 5px;
    width:100%;
}
.loginEmail, .loginID, .rollenAuswahl, .vertragspartnerAuswahl {
    float: left;
    margin-right: 10px;
}
.wechselnLink:before {
    font-family: "Font Awesome 5 Free";
    content: "\f362";
    padding-right: 3px;
    vertical-align: middle;
    font-weight:700;
}
.vergleichenLink:before {
    font-family: "Font Awesome 5 Free";
    content: "\f03a";
    padding-right: 3px;
    vertical-align: middle;
    font-weight:700;
}
.changeVersandart {
    float: right;
    margin-right: 0px;
}

@media only screen and (max-width: 800px) {

    /* Tabellen als "Block"-Elemente anzeigen */
    .no-more-tables table,
    .no-more-tables thead,
    .no-more-tables tbody,
    .no-more-tables th,
    .no-more-tables td,
    .no-more-tables tr {
        display: block;
    }

    /* Table-headers verstecken */
    .no-more-tables thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    /* tr's besser kennzeichnen */
    .no-more-tables tr {
        border-bottom: 1px solid #c7c7c7;
        background-color:#fafafa;
    }

    /* td's als "row" ausgeben */
    .no-more-tables td {
        border: none;
        border-bottom: none;
        position: relative;
        padding-left: 10px !important;
        white-space: normal;
        text-align: left;
    }

    /* Erstes TD ist "Header" */
    .no-more-tables td:before {
        position: relative;
        top: 0px;
        left: 0px;
        width: 100%;
        display:block;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
    }

    /* Erstes TD mit Attribut "data-title" befüllen */
    .no-more-tables td:before {
        content: attr(data-title);
    }

    /* Filter umplatzieren */
    .dataTables_wrapper .dataTables_filter {
        float: none;
    }
}

.portlet-content .indexFilters {
    display: none;
}

/* Paging */

/* Paging */

.paginate-pagination ul {

    margin: 20px 0;
    padding: 0;
    list-style: none;

}

.paginate-pagination ul:after {

    content: ' ';
    display: table;
    clear: both;

}

.paginate-pagination ul > li {

    float: left;
    margin-right: 3px;

}

.paginate-pagination ul > li > a.page {

    display: block;
    height: 30px;
    width: 30px;
    text-align: center;
    line-height: 30px;
    border: 1px solid #ddd;
    background: white;
    text-decoration: none;
    cursor: pointer;

}

.paginate-pagination ul > li > a.page:hover { opacity: 0.7; }
.paginate-pagination ul > li > a.page.active { opacity: 0.7; cursor: default; }

.paginate-pagination ul > li > a.page-next.deactive,
.paginate-pagination ul > li > a.page-prev.deactive { opacity: 0.7; cursor: default; }


a.urlExtern::before {
    background-image: url("/wGlobal/wGlobal/layout/images/links/optimized/extern@stroke(E20019).svg");
    content: '';
    display: inline-block;
    outline: none;
    margin: 4px 5px 0 0;
    width: 16px;
    height: 16px;
    vertical-align: top;
    background-position: 0 0;
    background-repeat: no-repeat;
    flex: none;
}
