/* Layout */
*, html, body, .form {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

body {
	position: relative;
	min-height: 100%;
	padding-top: 1px;
	margin-top: -1px;
}

.form {
	padding-bottom: 46px; /* Footer Height */
}

html, .form {
	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;
}

/* Footer */
.footer-wrapper {
	height: 46px; /* Footer Height */
	position: absolute;
	bottom: 0;
	width: 100%
}

.footer {
	font-size: 10.5px;
	color: #999999;
}

@media (max-width: 670px) {
	.footer {
		display: grid;
		grid-template-columns: repeat(2, 50%);
		align-items: center;
		text-align: center;
	}

	.language-choice {
		grid-column-start: 2;
		height: 30px;
		justify-self: center;
		margin-top: 0 !important;
		float: unset !important;
	}

	.footer-left {
		grid-row-start: 2;
	}

	.footer-right {
		grid-row-start: 1;
		grid-column: span 2;
		padding-bottom: 5px !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: 670px) {
	.footer-left,
	.footer-right {
		padding: 16px 4px;
		float: none;
	}
}

/* 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;
	}

	.app-header .right-block {
		float: right;
	}

	.app-header .menu-container {
		overflow: hidden;
	}

		.app-header .menu-container > div {
			float: right;
		}

.header-logo {
	background: url('/Content/Images/logo-gamba.png') no-repeat center;
	height: 26px;
	width: 90px;
}

@media (max-width: 359px) {
	.header-logo {
		background: url('/Content/Images/logo-gamba-small.png') no-repeat center;
		width: 26px;
	}
}

.app-header .left-block .header-menu .image-item > .dxm-content {
	padding: 0 8px 0 12px;
}

.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 #194EA1;
}

.app-header .header-menu .item.selected,
.app-header .header-menu .item.hovered {
	background-color: rgba(0, 0, 0, 0.05);
}

	.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: 3.13rem;
}

@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('/Content/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('/Content/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('/Content/Images/double.svg') no-repeat center;
}

.header-menu .toggle-item.checked .image {
	background: url('/Content/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, 0, 0, 0.1);
}

	.header-menu .account-background div {
		border-radius: 50%;
	}

	.header-menu .account-background .empty-image {
		width: 16px;
		height: 16px;
		margin: 8px;
		display: inline-block;
		background: url('/Content/Images/user.svg');
	}

	.header-menu .account-background .account-image {
		width: 32px;
		height: 32px;
		font-size: 0.8em;
		font-weight: 600;
		line-height: 32px;
		text-align: center;
		margin: 0 auto;
		display: table;
		background-size: 100%;
		background-repeat: no-repeat;
		background-position: center;
	}

.avatar {
	width: 43px;
	height: 43px;
	border-radius: 50%;
	background-color: rgba(0, 0, 0, 0.1);
	float: left;
	overflow: hidden;
}

.user-info .avatar div {
	width: 31px;
	height: 31px;
	margin: 6px;
	background-size: 100%;
	background-repeat: no-repeat;
	background-position: center;
	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: 3.5rem;
	line-height: 3.5rem;
	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;
	left: 0;
	right: 0;
	z-index: 1;
}

.page-toolbar {
	background-color: rgba(0, 0, 0, 0.1) !important;
	border: none !important;
	font-size: 0.93em !important;
	height: 2.69rem;
}

	.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;
	}

@media (max-width: 599px) {
	.page-toolbar .item > h1 {
		max-width: 150px;
	}
}

.long-text {
	white-space: normal;
	word-wrap: break-word;
}

.frequency-field {
	width: 70px;
}

@media (max-width: 610px) {
	.frequency-field {
		width: 100%;
	}
}

.language-choice {
	float: right;
	margin-top: 9.3px;
	margin-right: 7px;
	width: 110px;
}

	.language-choice .dxeIIC img {
		top: -2px;
		position: relative;
		padding-left: 7px !important;
	}

	.language-choice .dxeIIC {
		padding-right: 0 !important;
	}

.eye-button {
	background: none;
}

	.eye-button > div {
		background: url('/Content/Images/eye-button.svg') no-repeat center;
		width: 18px;
		height: 12px;
		vertical-align: baseline;
		pointer-events: none;
		user-select: none;
	}

	.eye-button.show-password > div {
		background: url('/Content/Images/eye-button-hide.svg') no-repeat center;
	}

.page-container {
	padding-top: 35px;
	padding-bottom: 20px;
}

.basic-container {
	border: 1px solid rgba(0,0,0,0.08);
	border-radius: 2px;
	padding: 50px;
	width: 100%;
	height: max-content;
	box-shadow: 4px 4px 20px -10px rgba(0, 0, 0, 0.25);
	background-color: white;
	margin-bottom: 30px;
	box-sizing: border-box;
}

	.basic-container:last-child {
		margin: 0;
	}

.item-disabled {
	pointer-events: none;
	color: silver;
}

.container {
	width: 100%;
	padding-left: calc(50% - var(--container-width)/ 2);
	padding-right: calc(50% - var(--container-width)/ 2);
}

strong {
	font-weight: 700;
	font-size: 1.3em;
}

.card-link {
	display: block;
	position: absolute !important;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	z-index: 2 !important;
	border: 1px solid transparent;
	border-radius: 3px;
	cursor: pointer;
}