/**
 *	general.css
 *
 *	This file contains all general styles to the dispoTool. It's included
 *	in each template. General styles are styles, which are not related to a
 *	specific template. Buttons are a good example for that. We use the same
 *	style for Buttons in each template, so these styles belong to the 
 *	general stylesheet.
 *	If specific template stylesheets need to overwrite some styles which are 
 *	declared here, it should be no problem. For that reason the general.css 
 *	should always be the first stylesheet to load. 
 */

/**
 *	General document
 */
html {
    height: 100%;
}

body {
    font-family: Helvetica, Arial, sans-serif;
    color: #333333;
    font-size: 12px;
    padding: 0;
}

.clear {
    clear: both;
}

.optField {
    display: none;
}
.bold{
    font-weight: bold;
}

.rotate270{
    transform:rotateZ(270deg);
}

/**
 *	Form Elements
 */
input {
    padding: 0 0 0 5px;
    border: 1px solid #bbbbbb;
    border-radius: 5px;
}

input:focus {
    -webkit-box-shadow: 0 0 20px 0 rgba(187, 187, 187, 0.8);
    -moz-box-shadow: 0 0 20px 0 rgba(187, 187, 187, 0.8);
    box-shadow: 0 0 20px 0 rgba(187, 187, 187, 0.8);
}

select {
    padding: 0 0 0 5px;
    border: 1px solid #bbbbbb;
    border-radius: 5px 0 0 5px;
}

select:focus {
    -webkit-box-shadow: 0 0 20px 0 rgba(187, 187, 187, 0.8);
    -moz-box-shadow: 0 0 20px 0 rgba(187, 187, 187, 0.8);
    box-shadow: 0 0 20px 0 rgba(187, 187, 187, 0.8);
    outline: none;
}

/**
 * Headings
 */
h1 {
    color: #204E9B;
    font-size: 32px;
    letter-spacing: 2px;
    word-spacing: 10px;
    font-family: arial, Helvetica, sans-serif;
}

h2 {
    color: #204E9B;
    font-size: 24px;
    letter-spacing: 2px;
    word-spacing: 10px;
    font-family: arial, Helvetica, sans-serif;
    margin: 0 0 10px 0;
}
h3 {
    color: #204E9B;
    font-size: 20px;
    letter-spacing: 2px;
    word-spacing: 8px;
    font-family: arial, Helvetica, sans-serif;
    margin: 0 0 10px 0;
}
p {
    margin-top: 0;
}

.italic {
    font-style: italic;
}
.bold {
    font-weight:bold;
}
.ta-center {
    text-align: center;
}
/**
 * Tables
 */
table {
    border-spacing: 0;
    table-layout: fixed;
}
tr {
    height: 24px;
    max-height: 48px;
    overflow: hidden;
    /* max-width: 100%; */
}
td, th {
    border: 1px solid #ccc;
    height: 20px;
    white-space: nowrap;
    text-overflow: clip;
    /* overflow: hidden; */
    position: relative;
}
button:focus, .ui-button:focus {
    outline: none;
}

/**
 *	Buttons
 */
.btnNeutral, .btnSubmit, .btnAbort {
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.42857;
    padding: 6px 12px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

.btnNeutral {
    background-color: #204E9B;
    border-color: #053380;
    color: #fff;
}

.btnSubmit {
    background-color: #048208;
    border: 1px solid #000000;
    color: #fff;
}

.btnAbort {
    background-color: #B31B2A;
    border: 1px solid #000000;
    color: #fff;
}

.mainMenuBtn {
    /*background: #ffffff;*/
    /*background: -moz-linear-gradient(top, #ffffff 0%, #fafafa 51%, #e6e6e6 52%, #ececec 90%, #ededed 100%);*/
    /*background: -webkit-gradient(left top, left bottom, color-stop(0%, #ffffff), color-stop(51%, #fafafa), color-stop(52%, #e6e6e6), color-stop(90%, #ececec), color-stop(100%, #ededed));*/
    /*background: -webkit-linear-gradient(top, #ffffff 0%, #fafafa 51%, #e6e6e6 52%, #ececec 90%, #ededed 100%);*/
    /*background: -o-linear-gradient(top, #ffffff 0%, #fafafa 51%, #e6e6e6 52%, #ececec 90%, #ededed 100%);*/
    /*background: -ms-linear-gradient(top, #ffffff 0%, #fafafa 51%, #e6e6e6 52%, #ececec 90%, #ededed 100%);*/
    background: linear-gradient(to bottom, #ffffff 0%, #fafafa 51%, #e6e6e6 52%, #ececec 90%, #ededed 100%);
    /*filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ededed', GradientType=0);*/
    border: 1px solid #bbbbbb;
    border-radius: 3px;
    color: #666;
    cursor: pointer;
    font-size: 16px;
    height: 18px;
    line-height: 14px;
    padding: 10px 0 6px;
    text-align: center;
    width: 175px;
    flex: 0 1 175px;
}

.mainMenuBtn:hover {
    /*-webkit-box-shadow: 0 0 20px 0 rgba(187, 187, 187, 0.8);*/
    /*-moz-box-shadow: 0 0 20px 0 rgba(187, 187, 187, 0.8);*/
    box-shadow: 0 0 20px 0 rgba(187, 187, 187, 0.8);
    background: linear-gradient(to bottom, #fafafa 0%, #f0f0f0 51%, #e2e2e2 52%, #d0d0d0 90%, #ccc 100%);
}

.mainMenuBtn:active {
    box-shadow: 0 0 20px 0 rgba(187, 187, 187, 0.8) inset;
}
.mainMenuBtn.active {
    background: linear-gradient(to bottom, #ffffff 0%, #fafafa 51%, #e2e2e2 52%, #d8d8d8 90%, #cecece 100%);
    border-color: #204e9b;
    color: #204e9b;
}

/**
 *	PopUp
 */
#popUpOverlay {
    width: 100%;
    height: 100%;
    background-color: #333;
    position: absolute;
    z-index: 2;
    top: 0;
    opacity: 0.7;
    cursor: pointer;
}

#popUpWrap {
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto auto auto auto;

    min-width: 200px;
    min-height: 200px;
    width: 1000px;
    height: 640px;
    z-index: 3;
    background-color: #fff;
    border: 2px solid #204e9b;
    border-radius: 5px;
    -webkit-box-shadow: 0 0 20px 0 rgba(187, 187, 187, 0.8);
    -moz-box-shadow: 0 0 20px 0 rgba(187, 187, 187, 0.8);
    box-shadow: 0 0 20px 0 rgba(187, 187, 187, 0.8);
    display: table-cell;
    vertical-align: middle;
}

#popUpClose {
    background-color: #B31B2A;
    border: 2px solid #000;
    border-radius: 50px;
    color: #ffffff;
    cursor: pointer;
    font-size: 20px;
    padding: 2px;
    position: absolute;
    right: -15px;
    text-align: center;
    top: -13px;
    width: 26px;
    z-index: 4;
}

#popUpHeader {
    background-color: #204e9b;
    color: #ffffff;
    font-size: 20px;
    height: 30px;
    padding: 5px 0 0 20px;
}

#popUpContent {
    height: calc(100% - 35px);
}

.popUpHeader {
    font-size: 20px;
    margin: 0 0 20px;
}

.popUpHeaderWithTabs {
    margin: 0 0 10px 20px;
}

.popupFormLabel {
    float: left;
    font-size: 12px;
    width: 200px;
    padding: 8px 0 0;
}

.popupFormCheckboxLabel {
    float: left;
    font-size: 12px;
    width: 200px;
}

.popupFormLabelSmall {
    float: left;
    font-size: 12px;
    width: 145px;
    padding: 8px 5px 0;
}

.popupFormLabelVerySmall {
    float: left;
    font-size: 12px;
    width: 130px;
    padding: 8px 0 0;
}

.popupFormLabelInline {
    font-size: 12px;
    width: 200px;
    padding: 8px 0 0;
}

.popupFormElementContainer {
    float: left;
    margin: 0 0 10px 0;
}

.popupFormElementContainerCheckboxes {
    float: left;
    margin: 0 0 10px;
    padding: 8px 0 0;
    width: 380px;
	height: 32px;
}

.bottomMenuBar {
    float: left;
    margin: 20px 0 0;
}

/**
 *	List Elements
 */
.blockDataEven {
    background-color: #dedede;
}

.blockDataOdd {
    background-color: #ffffff;
}
.clearfix:after {
    content: "";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}
.float-l {
    float: left;
}
.float-r {
    float: right;
}

.flex-col {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
}
.flex-row {
    display: flex;
    flex: 1 1 100%;
    /*justify-content: space-around;*/
    /*position: relative;*/
    /*margin-bottom: 10px;*/
}
#style .flex-row {
    margin-bottom: 10px;
}
#style .flex-row .label {
    flex: 1 1 34%;
    height: 30px;
    line-height: 30px;
}
#style .flex-row .input {
    flex: 1 1 66%;
    height: 30px;
    line-height: 1.5;
}
#style input[type="checkbox"] {
    margin: 0;
}
.chosen-container .chosen-results {
    background-color: #ffffff;
}

.ajax-loader {
    background: rgba(0,0,0, 0.5);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
}
.unitSelect {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}
.unitSelectToggle {
    line-height: 100%;
    margin: 0;
    padding: 4px;
    flex: 1 1 100%;
}
.unitSelectToggle .fa {
    float: right;
}
.unitSelectTree {
    position: absolute;
    top: 100%;
    max-height: 250px;
    overflow-y: scroll;
    display: none;
    z-index: 1;
    border: 1px solid #888;
    background-color: #fff;
    left: -1px;
    min-width: calc(100% + 17px);
}
.unitSelect .no_checkbox .jstree-checkbox {
    display: none;
}
.timeIntervalHint {
    color: #ff0000;
}

#ajaxLoader {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s linear;
}
/* line 1577, ../scss/style.scss */
#ajaxLoader.show {
    display: flex;
}
/* line 1581, ../scss/style.scss */
#ajaxLoader.fade {
    opacity: 0;
}
/* line 1583, ../scss/style.scss */
#ajaxLoader.fade .circle-loader {
    border-color: #00b400;
}
/* line 1601, ../scss/style.scss */
#ajaxLoader .circle-loader {
    margin: 0 0 30px 10px;
    border: 6px solid #fff;
    border-left-color: #29337b;
    animation-name: loader-spin;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    position: relative;
    display: inline-block;
    vertical-align: top;
    background-color: #fff;
    box-shadow: 0 0 6px 3px #fff;
}
/* line 1616, ../scss/style.scss */
#ajaxLoader .circle-loader,
#ajaxLoader .circle-loader:after {
    border-radius: 50%;
    width: 128px;
    height: 128px;
}
/* line 1623, ../scss/style.scss */
#ajaxLoader .load-complete {
    -webkit-animation: none;
    animation: none;
    border-color: #00b400;
    transition: border 100ms ease-out;
}
/* line 1631, ../scss/style.scss */
#ajaxLoader .load-failed {
    -webkit-animation: none;
    animation: none;
    border-color: red;
    transition: border 500ms ease-out;
}
/* line 1639, ../scss/style.scss */
#ajaxLoader .checkmark {
    display: none;
}
/* line 1642, ../scss/style.scss */
#ajaxLoader .checkmark.show {
    display: block;
}
/* line 1646, ../scss/style.scss */
#ajaxLoader .checkmark.draw:after {
    animation-duration: 800ms;
    animation-timing-function: ease;
    animation-name: checkmark;
    transform: scaleX(-1) rotate(135deg);
}
/* line 1653, ../scss/style.scss */
#ajaxLoader .checkmark:after {
    opacity: 1;
    height: 64px;
    width: 32px;
    transform-origin: left top;
    border-right: 6px solid #00b400;
    border-top: 6px solid #00b400;
    content: '';
    left: 21px;
    top: 60px;
    position: absolute;
}
/* line 1667, ../scss/style.scss */
#ajaxLoader .failure {
    display: none;
}
/* line 1670, ../scss/style.scss */
#ajaxLoader .failure.show {
    display: block;
}
/* line 1674, ../scss/style.scss */
#ajaxLoader .failure.draw:before {
    animation-duration: 800ms;
    animation-timing-function: ease;
    animation-name: checkmark;
    transform: scaleX(-1) rotate(45deg);
}
/* line 1680, ../scss/style.scss */
#ajaxLoader .failure.draw:after {
    animation-duration: 800ms;
    animation-timing-function: ease;
    animation-name: checkmark;
    transform: scaleX(-1) rotate(-45deg);
}
/* line 1687, ../scss/style.scss */
#ajaxLoader .failure:before {
    opacity: 1;
    height: 64px;
    width: 32px;
    transform-origin: left top;
    border-right: 6px solid red;
    content: '';
    left: 64px;
    top: 16px;
    margin-top: -6px;
    margin-left: -2px;
    position: absolute;
}
/* line 1701, ../scss/style.scss */
#ajaxLoader .failure:after {
    opacity: 1;
    height: 64px;
    width: 32px;
    transform-origin: left top;
    border-right: 6px solid red;
    content: '';
    left: 96px;
    top: 64px;
    margin-top: -5px;
    margin-left: 9px;
    position: absolute;
}
@keyframes loader-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@keyframes checkmark {
    0% {
        height: 0;
        width: 0;
        opacity: 1;
    }
    20% {
        height: 0;
        width: 32px;
        opacity: 1;
    }
    40% {
        height: 64px;
        width: 32px;
        opacity: 1;
    }
    100% {
        height: 64px;
        width: 32px;
        opacity: 1;
    }
}

.color_red{
    color: red;
}