/*
  Copyright 2006, MicroStep-MIS spol. s r.o. (www.microstep-mis.com)
  All rights reserved.

  This program/code is the exclusive and proprietary property of MicroStep-MIS.
  Any unauthorized use, reproduction or modification of this program/code
  without the prior written consent of MicroStep-MIS is strictly prohibited.

  $Id: main_window.css,v 1.26 2016/12/08 14:56:47 maton Exp $
 */
body {
	overflow: hidden;
}

div#header_window {
	position: relative;
}

div#footer_window {
	position: absolute;
}

div#header_window,
div#footer_window {
	display: flex;

	flex-wrap: nowrap;
	flex-direction: row;
	align-items: center;
	justify-content: center;

	width: 100%;
}

div#header_window img {
	/*vertical-align: sub;*/
}

div#content {
	height: 100%;
	box-sizing: border-box;
	overflow-y: auto; /* docasne kvolim starym .jsp obrazovkam */
}

div#content_window {
	text-align: center;
}

.hidden {
	display: none;
}

.visible-hidden {
	visibility: hidden;
}

a:link,
a:visited,
a:hover,
a:active {
	color: #ffffff;
	text-decoration: none;
}

.grayscale {
	visibility: visible;
	opacity: 0.5;
	/* FIX kvoli IE. o zvysok sa stara gray jquery plugin */
}

.content_panel_element_div {
	/*-webkit-flex: initial;
	flex: initial;*/

	padding-right: 5px;
	padding-left: 5px;

	/*margin-top: auto;
	margin-bottom: auto;*/
	height: 100%;
	/*display: flex;
	flex-direction: column;
	justify-content: center;*/
}
.content_panel_element_div > a,
.content_panel_element_div > span {
	height: 100%;
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	vertical-align: middle;
}

.header_screen_logo {
	max-width: 100%;
	max-height: 100%;
}
.content_panel_element_system-version {
	font-size: 9pt;
	font-weight: normal;
}

.content_panel_element_page-name {
	white-space: nowrap; /*pocitame velkost textu*/
}

span#time_utc {
	color: #ffff80;
}

.header_server_label,
.header_server_utc,
.header_server_status {
	padding-right: 7px;
}

.header_cluster_status_label,
.header_cluster_status {
	padding-right: 7px;
}

#header_back,
#header_help {
	padding-right: 4px;
	padding-left: 4px;
	box-sizing: border-box;
}
#header_help {
	padding-left: 0;
}
.header_element_img {
	width: 23px;
	height: 23px;
	vertical-align: middle;
	padding-right: 2px;
	padding-left: 2px;
}

.header_element_text {
	vertical-align: middle;
	padding-right: 2px;
	padding-left: 2px;
}
/*
#header_back, #header_help {
	position: absolute;
	width: 2.6em;
	text-align: center;
	vertical-align: baseline;
	border-left: 1px solid rgba(0, 0, 0, 0.1);
}

#header_help {
  left: 26.2em;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}
*/

/*
#header_stationName, #header_pageName {
	margin-top: 2px;
	vertical-align: middle;
}

#header_go_home {
	position: absolute;
	left: 0px;
	right: auto;
}

#header_back, #header_help{
	margin-top: 0px;
}



#header_back, #header_help {
	position: absolute;
	width: 2.6em;
	text-align: center;
	vertical-align: baseline;
	border-left: 1px solid rgba(0, 0, 0, 0.1);
}

#header_back {
  left: 23.5em;
}




*/

/* language selectbox, color scheme selectbox, change password button styles */

#header_window {
	overflow: visible !important;
}

.language-select-element,
#HEADER_COLORSCHEME,
#header_change_password_icon {
	background-color: var(--color-container);
	color: #fff;
	border: 1px solid var(--color-primary);
	border-radius: 3px;
	height: 22px;
}

.content_panel_element_language {
	align-content: space-around;
}
.language-select-element {
	position: relative;
	display: inline-block;
	width: 100%;
	max-width: 175px;
	cursor: pointer;

	display: flex;
	place-self: center;
	text-shadow: none;
}

.language-select-selected-value {
	display: flex;
	flex-grow: 1;
	justify-content: space-between;
	align-items: center;
	border-radius: 4px;
	font-size: 16px;
	padding: 0 9px 0 6px;
	font-weight: normal;

	span {
		display: flex;
		gap: 5px;
	}
	#languageSelectArrow {
		font-size: 12px;
	}
}

.language-select-options-wrapper {
	background-color: var(--color-container);
	color: #fff;
	border: 1px solid var(--color-primary);
	border-radius: 3px;

	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	display: none;
	z-index: 2;
	flex-direction: column;
	gap: 3px;
}

.language-select-option {
	padding: 0 3px;
	cursor: pointer;
	font-size: 16px;
	display: flex;
	align-items: center;
	gap: 5px;
	height: 25px;
	padding: 0 9px 0 6px;
	font-weight: normal;
}

/* Style the select options background  */
/* #HEADER_COLORSCHEME option {
	background-color: var(--color-container);
	color: #fff;
} */

/* Style the select options on hover */
.language-select-option:hover,
#HEADER_COLORSCHEME option:hover {
	background: var(--color-body) !important;
}

/* Style selected option */
#HEADER_COLORSCHEME option:checked {
	background-color: var(--color-body);
}

.language-select-element.open .language-select-options-wrapper {
	display: flex;
	flex-direction: column;
}
