﻿* {
    margin: 0px;
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    box-sizing: border-box;
    font-family: arial, sans-serif;
}

textarea{
	-moz-user-select: -moz-auto;
    -khtml-user-select: auto;
    -webkit-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
}    

[elementid] .dataTables_scrollHeadInner {
    width: 100% !important;
}

[elementid] .dataTables_scrollHeadInner table {
    width: calc(100% - 17px) !important;
}

[elementid] td {
    -moz-user-select: -moz-text;
    -khtml-user-select: text;
    -webkit-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.AlarmTable tr.active_alarm {
    font-weight: bold;
}

h5{
    font-weight: bold;
}

body {
    background: #FFFFFFFF;
    height: 100%;
    overflow: hidden;
}

.spanLink{
    cursor: pointer;
}

.spanLink:hover{
    text-decoration: underline;
}

.ui-front{
    z-index: 1;
}

td.autowidth {
    width: 1px;
    white-space: nowrap;
}

#centerWrapper{
	color: #FFFFFF;
	display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

#progress_container {
    display: none;
    height: 100%;
    width: 100%;
    position: absolute;
    background: #FFFFFFFF;
    z-index: 500;
}

#progress_indicator {
    position: absolute;
    color: #FFFFFF;
    left: 50%;
    margin-left: -128px;
    top: 50%;
    margin-top: -128px;
    z-index: 999;
    width: 256px;
    height: 256px;
}

#soundConfirmationDialog {
    border: 3px solid #166082;
    background: #FFFFFF;
    padding: 10px;
    position: fixed;
    color: #000000;
    left: 50%;
    margin-left: -128px;
    top: 50%;
    margin-top: -128px;
    z-index: 999;
    width: 256px;
    -webkit-box-shadow: 0px 0px 44px -9px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 0px 44px -9px rgba(0,0,0,0.5);
    box-shadow: 0px 0px 44px -9px rgba(0,0,0,0.5);
    border-radius: 16px;
}

#soundConfirmationDialog p {
    margin-bottom: 10px;
}

#soundConfirmationDialog button {
    padding: 5px 10px 5px 10px;
    cursor: pointer;
}

#loading_feather {
    transform: rotate(180deg);
    transform-origin: 50% 50%;
    width: 256px;
    height: 256px;
}

#loading_feather img {
    position: absolute;
}

#lblLoadingMessage {
    text-align: center;
    margin-top: 20px;
    font-size: 18px;
    color: #212121;
}

#lblLoadingSubMessage {
	text-align: center;
    margin-top: 5px;
    font-size: 16px;
    color: #313131;
}

.blink_2s_30{
    -webkit-animation-name: anim_blink_2s_30;
    -webkit-animation-duration: 2s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;

    -moz-animation-name: anim_blink_2s_30;
    -moz-animation-duration: 2s;
    -moz-animation-timing-function: linear;
    -moz-animation-iteration-count: infinite;

    animation-name: anim_blink_2s_30;
    animation-duration: 2s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@-moz-keyframes anim_blink_2s_30 {
    0% { opacity: 1.0; }
    50% { opacity: 0.3; }
    100% { opacity: 1.0; }
}

@-webkit-keyframes anim_blink_2s_30 {
    0% { opacity: 1.0; }
    50% { opacity: 0.3; }
    100% { opacity: 1.0; }
}

@keyframes anim_blink_2s_30 {
    0% { opacity: 1.0; }
    50% { opacity: 0.3; }
    100% { opacity: 1.0; }
}

#titleContainer{
	padding: 15px;
}

#loginContainer,
#changePasswordContainer{
	background: #FFFFFF;
	color: #404040;
	padding: 20px;
	-webkit-box-shadow: 0px 0px 44px -9px rgba(0,0,0,0.5);
	-moz-box-shadow: 0px 0px 44px -9px rgba(0,0,0,0.5);
	box-shadow: 0px 0px 44px -9px rgba(0,0,0,0.5);
	border-radius: 5px;
}

#lblLoginTitle{
	font-weight: bold;
	font-size: 18px;
}

#lblLoginSubtitle{
	font-size: 14px;
}

#loginContainer input[type="text"],
#loginContainer input[type="password"]{
	width: 350px;
}

input.QHMITextbox, input.QHMITextbox_2 {
    border: 1px solid #D6D4D4;
	border-radius: 0px;
	padding-left: 5px;
}

input.QHMITextbox_2.invalid {
    border: 3px solid #FF0000;
}

input[type="text"]:not(.flatpickr-hour):not(.flatpickr-minute):not(.cur-year):not(.QHMITextbox):not(.QHMITextbox_2),
input[type="password"] {
    border: 2px solid #001489FF;
    font-size: 16px;
    padding: 4px;
    border-radius: 3px;
}

input[type="button"] {
    background: #001489FF;
    color: #FFFFFF;
    width: 100px;
    font-size: 16px;
    padding: 4px;
    border-radius: 3px;
    border: 0px;
    cursor: pointer;
}

input[type="button"].secondary {
    background: #dadada;
    color: #565656;
    border: 0px;
}

input {
	-moz-user-select: text;
    -khtml-user-select: text;
    -webkit-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

img.qhmi_loading{
    position:absolute;
}

div{
	position: relative;
}

div.view, div.EChart {
    position: absolute !important;
}

svg[elementid] {
    position: absolute;
}

.flatpickr-confirm svg {
    position: relative;
}

#playerFooter{
    width: 100%;
    position: fixed;
    left: 0px;
    bottom: 0px;
    background: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 15px;
    z-index: 2;
}

.footeritem{
    float:left;
    height: 34px;
    background: #F8F8F8;
    padding: 5px;
    margin: 3px;
    border: 1px solid #EAEAEA;
    cursor: default;
}

.footeritem .notification{
    position: absolute;
    background: red;
    width: 16px;
    height: 16px;
    border-radius: 8px;
    z-index: 2;
    right: 0;
    text-align: center;
    font-size: 12px;
    color: white;
    font-weight: bold;
    top: -2px;
    padding-top: 1px;
}

.footeritem.active {
	background: #8ac5e1;
    border: 2px solid #549fc3;
}

.footeritem_right{
    float: right;
}

.footeritem > span {
    line-height: 22px;
    margin-left: 8px;
}

#lblServerVersion,
#lblProjectVersion,
#lblOnlineSince{
    font-weight: bold;
    padding-left: 30px;
}

.footerpopup {
    position: absolute;
    bottom: 30px;
    background: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 15px;
    display: none;
    z-index: 1;
}

#server_info {
    padding: 15px;
    width: 400px;
}

#btnLogout:hover {
    background: #ececec;
}

#language_selection {
    overflow-y: scroll;
    width: 400px;
}

#language_selection div {
    padding: 10px 15px 10px 15px;
    background: #ffffff;
    background: -moz-linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(249,249,249,1) 97%,rgba(173,173,173,1) 100%);
    background: -webkit-linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(249,249,249,1) 97%,rgba(173,173,173,1) 100%);
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(249,249,249,1) 97%,rgba(173,173,173,1) 100%);
    font-size: 14px;
    color: #3a3a3a;
    cursor: pointer;
}

#language_selection div span {
    margin-left: 10px;
    vertical-align: middle;
}

#language_selection div img {
    vertical-align: middle;
}

#language_selection div:hover {
    background: #ececec;
}

#views_overview {
    width: 300px;
}

#views_overview i {
    top: 2px;
    position: relative;
    margin-right: 5px;
}

#views_overview .groupname {
    padding: 10px 15px 10px 15px;
    background: #ffffff;
    background: -moz-linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(249,249,249,1) 97%,rgba(173,173,173,1) 100%);
    background: -webkit-linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(249,249,249,1) 97%,rgba(173,173,173,1) 100%);
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(249,249,249,1) 97%,rgba(173,173,173,1) 100%);
    font-size: 14px;
    font-weight: bold;
    color: #3a3a3a;
    cursor: pointer;
}

#views_overview .pagename {
    padding: 10px 15px 10px 15px;
    background: #ffffff;
    background: -moz-linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(249,249,249,1) 97%,rgba(173,173,173,1) 100%);
    background: -webkit-linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(249,249,249,1) 97%,rgba(173,173,173,1) 100%);
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(249,249,249,1) 97%,rgba(173,173,173,1) 100%);
    font-size: 14px;
    font-weight: bold;
    color: #3a3a3a;
    cursor: pointer;
}

#views_overview .pagename[group] {
    padding: 10px 15px 10px 25px;
    display: none;
}

#views_overview .viewname {
    font-size: 14px;
    color: #3a3a3a;
    cursor: pointer;
    padding: 10px 15px 10px 25px;
    display: none;
}

#views_overview .viewname[group] {
    padding: 10px 15px 10px 35px;
}

#views_overview .pagename .viewcount {
    font-size: 12px;
    font-weight: normal;
}

#views_overview .pagename:hover {
    background: #ececec;
}

#views_overview .viewname:hover {
    background: #ececec;
}

#views_overview .viewname {
    list-style: none;
}

.quality_bad{
    color: #fff;
    background: #e02f2f;
    border: 1px solid #711212;
}

.fullscreen-container {
    width: 100%;
    overflow-y: scroll;
    float: right;
    background: #FFFFFF;
    z-index: 2;
    color: #333333;
}

.fullscreen-container .navbar{
    height: 50px;
    border-bottom: 2px solid #afafaf;
    padding: 10px;
}

.fullscreen-container .navbar span {
    line-height: 30px;
    font-weight: bold;
}

#alarmcenter.compact{
    width: 20%;
}

#alarmcenter.compact .colType,
#alarmcenter.compact .colEnd,
#alarmcenter.compact .colStart,
#alarmcenter.compact .colName,
#alarmcenter.compact .colLocation{
    display: none;
}

#alarmcenter_alarms{
    margin: 10px;
    text-align: left;
    font-weight: bold;
    cursor: default;
}

#alarmcenter_alarms td,
#alarmcenter_alarms th{
    padding: 5px 10px;
    vertical-align: top;
}

#alarmcenter_alarms i.filtericon {
    font-size: 12pt;
    margin-left: 5px;
    position: absolute;
    cursor: pointer;
    opacity: 0.3;
}

#alarmcenter_alarms i.filtericon.active{
    opacity: 1;
}

#alarmcenter_alarms_filter{
    display: none;
    position: absolute;
    background: white;
    padding: 10px;
    width: 400px;
    top: 100px;
    border: 1px solid #1e85b5;
    z-index: 1;
    border-radius: 3px;
    box-shadow: 2px 2px 9px 0px #9a9a9a;
}

#alarmcenter_alarms_filter input[type=text]{
    width: 100%;
    border: 1px solid #a9a9a9;
    font-size: 16px;
    padding: 4px;
    border-radius: 3px;
}

#alarmcenter_alarms_filter select{
    width: 100%;
    font-size: 16px;
    padding: 4px;
    border-radius: 3px;
    margin-top: 10px;
}

#alarmcenter_alarms_filter input[type=button]{
    float: right;
    margin-top: 10px;
}

#alarmcenter_alarms_filter #btnResetFilter{
    position: relative;
    top: 8px;
    left: 4px;
    opacity: 0.8;
    font-size: 12px;
}

#alarmcenter .inactive{
    opacity: 0.4;
    font-weight: normal;
}

#alarmcenter_navbar_right_tools{
    float: right;
}

#recipesmanager_recipes td {
    padding: 10px 10px 10px 10px;
    cursor: pointer;
    background: #ffffff;
    border-bottom: 1px solid gainsboro;
}

#recipesmanager span.filename {
    color: #AEAEAE;
    font-size: 12px;
    position: relative;
    top: -3px;
}

#recipesmanager_recipes td:hover {
    background: #f3f3f3;
}

#recipesmanager_recipeingredients {
    margin: 20px;
}

#recipesmanager_recipeingredients td,
#recipesmanager_recipeingredients th {
    padding: 10px 30px;
}

#recipesmanager_recipeingredients .recipeingredient.invalid {
    color: #b00000;
}

#recipesmanager .variablequality.bad {
    color: #ff0000;
    font-weight: bold;
}

#recipesmanager .variablequality.bad span {
    color: #ff0000;
    font-weight: normal;
    font-size: 10px;
}

#headerScrollContainer {
    z-index: 1;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 15px;
    background: #FFFFFFFF;
}

#mainScrollContainer{

}

#footerScrollContainer {
    z-index: 1;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 15px;
    background: #FFFFFFFF;
}

.control_toggle_active,
.control_button{
    cursor: pointer;
}

.control_toggle_inactive{
    cursor: pointer;
    opacity: 0.4;
}

.alarmitem{
    border-bottom: 2px solid #19688c;
    padding: 10px;
}

.alarmitem > .alarmtype{
    font-weight: bold;
}

.alarmitem > .alarmmessage{
    padding: 5px;
}

#lblAlarmCount{
    display: inline;
}

#lblZoomLevel {
    position: absolute;
    z-index: 10000;
    bottom: 0px;
    font-size: 28px;
    font-weight: bold;
    color: #FFFFFF;
    margin: 20px;
    opacity: 0;
    text-shadow: 0 0 5px black;
    -webkit-transition: opacity 0.15s linear;
    -ms-transition: opacity 0.15s linear;
    transition: opacity 0.15s linear;
}

#log {
    display: none;
    height: 250px;
    position: relative;
    top: -250px;
    background: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 15px;
    z-index: 2;
    overflow-y: scroll;
}

#logentries {
    width: 100%;
}

#logentries td {
    padding: 3px 20px 3px 10px;
    vertical-align: top;
}

#logentries tr.level_info {
    background: #dedfff;
    color: #0043ff;
}

#logentries tr.level_warn {
    background: #ffedba;
    color: #ff8a12;
}

#logentries tr.level_error {
    background: #ffaeae;
    color: #ff0000;
}

.shortcut-buttons-flatpickr-wrapper {
    border-top: 1px solid #d4d4d4;
}

.flatpickr-confirm {
    border-top: 1px solid #d4d4d4;
    background: #ffffff;
}

.flatpickr-confirm:hover {
    border-top: 1px solid #d4d4d4;
    background: #eceef1;
    -webkit-transition: background 0.15s linear;
    -ms-transition: background 0.15s linear;
    transition: background 0.15s linear;
}

.flatpickr-next-month {
    padding: 10px 23px 10px 10px !important;
}

/* Removing the arrows of number inputs */

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance:textfield;
}

input:invalid {
    box-shadow: none;
}

.fa-solid,
.fa-regular,
.fa-light,
.fa-thin,
.fa-duotone {
    font-size: 14pt;
    color: #001489FF;
}

.color_qgreen {
    color: #5AB577;
}

.color_qblue {
    color: #4C93FF;
}

.color_qred {
    color: #FF5C47;
}

.color_qyellow {
    color: #D3B243;
}

.color_qturquoise {
    color: #0AC4BC;
}

.color_qpurple {
    color: #A86DC4;
}

i.disabled {
    opacity: 0.3;
    color: #000000;
}