/* Layout */
html, body, .form {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

body {
	min-height: 100%;
	padding-top: 1px;
	margin-top: -1px;
}

.form {
	height: calc(100vh - 4.7rem); /* 4.7rem is the Header size */
}

div.form-submit {
	text-align: right !important;
	padding: 0px 42px 10px 42px;
}

div.form-submit-center {
	text-align: center !important;
}

@media (max-width: 500px) {
	div.form-submit {
		text-align: center !important;
	}

	div.button {
		width: 100%;
	}

	div.button > .buttonControl {
		width: 90% !important;
		max-width: 340px;
	}
}

@media (max-width: 340px) {
	div.button > .buttonControl {
		width: 95% !important;
	}
}

.content-wrapper {
	position: relative;
	padding-bottom: 160px; /* Footer Height */
	min-height: 100%;
	background-color: #fbfbfb;
}

html {
	height: 100%;
}

/* Content */
.content {
	width: 100%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	min-height: 100%;
	height: 100%;
	-webkit-overflow-scrolling: touch;
	padding: 50px 0px 0px 0px;
}

@media (max-width: 400px) {
	.content {
		padding: 0px;
	}
}

/* Footer */
.footer-wrapper {
	height: 160px; /* Footer Height */
	position: absolute;
	bottom: 0;
	width: 100%;
}

.footer {
	height: 100%;
	font-size: 0.75em;
	color: #FFFFFF;
	/*background-color: #0071BC !important;*/
}

.footer-link {
	color: #999999;
	border-right: 1px solid #bbbbbb;
	margin-right: 7px;
	padding-right: 10px;
	white-space: nowrap;
}

	.footer-link:last-child {
		border: none;
		margin: 0;
		padding: 0;
	}

.footer-left {
	float: left;
}

.footer-right {
	float: right;
}

.footer-left,
.footer-right {
	padding: 16px 24px;
}

@media (max-width: 599px) {
	.footer-left,
	.footer-right {
		padding: 16px 10px;
	}
}

/* Header */
.app-header {
	padding: 0 !important;
	box-shadow: 0px 2px 5px 0 rgba(0, 0, 0, 0.2);
	border-bottom-width: 0 !important;
}

	.app-header .left-block {
		float: left;
		max-width: 300px;
		line-height: 4.7rem;
		overflow: hidden;
	}

	@media (max-width: 400px) {
		.app-header .left-block {
			max-width: 250px;
		}
	}

	@media (max-width: 350px) {
		.app-header .left-block {
			max-width: 200px;
		}
	}

	@media (max-width: 290px) {
		.app-header .left-block {
			max-width: 150px;
		}
	}

	.app-header .right-block {
		float: right;
	}

	.app-header .menu-container {
		overflow: hidden;
	}

	.app-header .menu-container > div {
		float: left;
	}

.header-logo {
	height: auto;
	max-height: 4.7rem;
	max-width: 100% !important;
	vertical-align: middle;
	cursor: pointer;
}


.imageBanner {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 15px;
	height: auto;
	max-height: 200px;
	max-width: 100% !important;
}

.app-header .left-block .header-menu .image-item > .dxm-content {
	padding: 0 8px 0 8px;
}

.app-header .right-block .header-menu .image-item > .dxm-content {
	padding: 0 7px 0 7px;
}

.app-header .left-block .header-menu .item.toggle-item > .dxm-content {
	padding: 0 14px 0 14px;
}

.app-header .right-block .header-menu .item.toggle-item > .dxm-content {
	padding: 0 14px 0 14px;
}

.app-header .header-menu .item.selected {
	color: inherit;
	box-sizing: border-box;
	/* DXCOMMENT: Duplicates color from the web.config (devexpress->themes->baseColor) */
	/*border-bottom: solid 2px #4796CE;*/
}

.app-header .header-menu .item.selected {
	/*background-color: rgba(0, 113, 188, 1);*/
	color: #FFFFFF;
}

.app-header .header-menu .item.hovered {
	/*background-color: rgba(0, 113, 188, 0.5);
	color: #FFFFFF;*/
}

	.app-header .header-menu .item.selected .dxm-content {
		margin-bottom: -2px;
	}

	.app-header .header-menu .item.selected .dxm-content,
	.app-header .header-menu .item.hovered .dxm-content {
		color: inherit;
	}

/* Main Menu */
.header-menu {
	background-color: white !important;
	border-style: none !important;
	height: 4.7rem;
}

@media (max-width: 599px) {
	.menu-container .dxm-ltr > div:not(.header-menu) {
		width: 100% !important;
	}
}

.header-sub-menu {
	width: 100% !important;
}

	.header-sub-menu .item {
		padding: 12px 7px !important;
	}

/* Ellipsis -> Apps Icon */
.header-menu .adaptive-image {
	background: url('Images/adaptive-menu.svg') no-repeat center;
	width: 16px;
	height: 16px;
	padding: 0 8px;
}
/* Hide item images */
.header-menu.application-menu .item .dxm-content > img {
	/*display: none !important;*/
}

@media (max-width: 720px) /* Change Ellipsis image Apps Icon */
{
	.app-header .menu-container > div {
		width: 47px;
	}

	.header-menu .adaptive-image {
		background: url('Images/application.svg') no-repeat center;
	}

	/* Show item images */
	.header-menu.application-menu .item .dxm-content > img {
		display: inline-block;
	}
}

/* Right area menu */
.header-menu .toggle-item .image {
	background: url('Images/double.svg') no-repeat center;
}

.header-menu .toggle-item.checked .image {
	background: url('Images/double-close.svg') no-repeat center;
}

.header-menu .image-item {
	vertical-align: middle !important;
}

.header-menu .vertically-aligned {
	font-size: 0;
}

/* Account */
.header-menu .account-background {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	/*background-color: rgba(0, 113, 188, 0.5);*/
	background-color: #c1c1c1;
}

	.header-menu .account-background div {
		border-radius: 50%;
	}

	.header-menu .account-background .empty-image {
		width: 16px;
		height: 16px;
		margin: 0px 8px 18px 8px;
		display: inline-block;
		background: url('Images/user.svg');
	}

	.header-menu .account-background .account-image {
		width: 32px;
		height: 32px;
		font-size: 0.8em;
		font-weight: 800;
		line-height: 32px;
		text-align: center;
		margin: 0 auto;
		display: table;
		background-size: 100%;
		color: black;
	}

.user-info .avatar img {
	float: left;
	height: 43px;
	border-radius: 50%;
}

.user-info .text-container {
	/*height: 3.13rem;*/
	/*margin-left: 60px;*/
}

	.user-info .text-container .user-name {
		color: #444444;
		font-size: 1.14em;
	}

	.user-info .text-container .email {
		display: block;
		color: #666666;
		font-size: 0.86em;
	}

.myaccount-item {
	background-color: #e4e4e4;
}

/* Left Panel */
.left-panel {
	border: none;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
	-webkit-overflow-scrolling: touch;
}

.leftpanel-section {
	border: none !important;
	background-color: rgba(0, 0, 0, 0.1);
}

.section-caption {
	height: 2.69rem;
	line-height: 2.69rem;
	vertical-align: middle;
	margin: 0;
}

.section-caption {
	border-top: solid 1px #f0f0f0;
	border-bottom: solid 1px #f0f0f0;
}

.left-panel.expand-bar,
.right-panel.expand-bar {
	border: 0;
}

a.tree-view-node {
	color: #666666;
	padding-top: 7px !important;
	padding-bottom: 8px !important;
	padding-right: 8px !important;
	border: none !important;
}

	a.tree-view-node.hovered {
		text-decoration: none;
	}

.tree-view-elbow {
	padding-top: 3px;
}

/* Right Panel */
.right-panel {
	border-left: 1px solid #f0f0f0;
}

.settings-content {
	padding: 24px 20px;
}

	.settings-content h2 {
		color: #494949;
		font-size: 1.3em;
		font-weight: 600;
	}

	.settings-content p {
		color: #999999;
	}

/* Toolbar */
.page-toolbar-wrapper {
	position: fixed;
	background-color: white;
	right: 0;
	z-index: 200;
	width: 100%;
}

@media(max-width: 959px) {
	.page-toolbar-wrapper {
		left: 0;
	}
}

.page-toolbar {
	background-color: #f1f1f1 !important;
	font-size: 0.93em !important;
	box-shadow: 0px 2px 5px 0 rgb(0 0 0 / 20%);
}

	.page-toolbar .item > h1,
	.section-caption {
		color: #494949;
		font-weight: 600;
		font-style: normal;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		padding-left: 24px;
	}

	.page-toolbar .item > h1 {
		font-size: 1.46em;
	}

	.page-toolbar .item > h1 {
		margin: 0;
		padding: 0 17px;
	}

	.page-toolbar .item .dxm-disabled .dxm-image {
		opacity: 0.3;
	}

	.page-toolbar-item {
		display: inline-block;
		vertical-align: middle;
		line-height: 3rem;
	}

@media (max-width: 900px) {
	.page-toolbar .item > h1 {
		display: none;
	}

	.toolbarCaption-container {
		display: none;
	}
}

@media (max-width: 500px) {
	.page-toolbar {
		text-align: center;
	}
}

.pageTitleImage, .kioskTitleImage, .lobbyTitleImage {
	height: 32px;
	margin-top: auto;
	margin-bottom: auto;
	vertical-align: text-bottom;
	margin-right: 10px;
}

.pageImageHome {
	width: 100%;
}

.buttonLine {
	/*float: right;*/
}

.buttonRight {
	float: right;
}

div.sidePanelLine {
	clear: both;
}

div.sidePanel {
	float: left;
}

div.sidePanel {
	display: none;
}
@media (max-width: 1050px) {
	div.sidePanel {
		display: none;
	}
}

.sideImage {
	max-width: 280px;
}

div.sidePanelContent {
	overflow: auto;
	padding-left: 5px;
	padding-right: 5px;
}

div.pageHelp {
	float: right;
	font-size: 0.8em;
	margin-right: 10px;
	margin-top: -5px;
}

@media(max-width: 340px) {
	.dxmodalSys > .dxpclW {
		margin: 0px;
	}
}
