﻿/*
	Standard elements
*/
* {
	font-family: "Open Sans";
}

html {
	height: 100%;
}

body {
	font-size: 14px;
	font-weight: normal;
	font-style: normal;
	text-decoration: none;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	background-color: #FFFFFF;
	background-image: url('../images/Background.png');
	background-repeat: repeat-y;
	background-position-y: 70px;
}

/*
	Overlay
*/
.Overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #808080;
	opacity: 0.6;
}

/*
	Busy indicator
*/
.BusyProgressParent {
	position: relative;
	height: 100%;
	width: 100%;
	z-index: 10;
}

.BusyProgressChild {
	width: 64px;
	height: 64px;
	position: absolute;
	left: 50%;
	top: 50%;
	margin-top: -32px;
	margin-bottom: 0;
	margin-left: -32px;
	margin-right: 0;
	background-color: #F8F8F8;
	border: solid 1px #808080;
}

/*
	Links
*/
a {
	color: #777777;				/* Disabled link color */
	font-weight: normal;
	font-style: normal;
	text-decoration: none;
}

a:link, a:visited {
	color: #0E76B7;
}

a:link:hover {
	cursor: pointer;
	color: #62B3E5;
}

a:hover {
	cursor: not-allowed;
}

/*
	Input fields
*/
input[type="text"], input[type="password"], input[type="url"], textarea {
	box-sizing: border-box;
	border: 1px solid #888888;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	padding: 6px;
	font-size: 14px;
	color: #333333;
}

input[type="text"].input-validation-error, input[type="password"].input-validation-error, input[type="url"].input-validation-error, textarea.input-validation-error {
	border-color: #D82373;
	background-color: #FFEFF3;
	color: #333333;
}

input[type="text"]:hover, input[type="password"]:hover, input[type="url"]:hover, textarea:hover {
	border-color: #62B3E5;
	background-color: #E5F6FE;
}

input[type="text"]:focus, input[type="password"]:focus, input[type="url"]:focus, textarea:focus {
	border-color: #62B3E5;
	outline: none;
}

input[type="text"]:disabled, textarea:disabled {
	opacity: 0.6;
}

/* ReSharper disable once CssNotResolved */
::placeholder {			/* Chrome and Firefox */
	color: #CCCCCC;
}

:-moz-placeholder {		/* IE 10-11 */
	color: red;
}

::-moz-placeholder {	/* Edge */
	color: red;
}

/*
	Selectors
*/
select {
	box-sizing: border-box;
	border: 1px solid #888888;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	padding: 6px;
	font-size: 14px;
	color: #333333;
}

select.input-validation-error {
	border-color: #D82373;
	background-color: #FFEFF3;
	color: #333333;
}

select:hover {
	border-color: #62B3E5;
	background-color: #E5F6FE;
}

select:focus {
	border-color: #62B3E5;
	outline: none;
}

select:disabled {
	opacity: 0.6;
}

/*
	Buttons
*/
button {
	box-sizing: border-box;
	border: 1px solid #CCCCCC;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	padding: 6px 12px;
	font-size: 14px;
	background-color: #EEEEEE;
	color: #333333;
}

button:hover {
	cursor: pointer;
}

button:focus {
	outline: none;
}

button:hover, button:focus {
	border-color: #62B3E5;
	background-color: #62B3E5;
	color: #FFFFFF;
}

button:active {
	border-color: #004A75;
	background-color: #004A75;
	color: #FFFFFF;
}

button:disabled {
	cursor: default;
	opacity: 0.6;
}

/* Will remove the dotted focus rectangle in FireFox */
button::-moz-focus-inner {
	border: 0;
}

button.PrimaryButton {
	background-color: #348644;
	color: #FFFFFF;
	border-color: #348644;
}

button.PrimaryButton:hover, button.PrimaryButton:focus {
	border-color: #6CC04A;
	background-color: #6CC04A;
}

button.PrimaryButton:active {
	border-color: #266232;
	background-color: #266232;
}

button.SecondaryButton {
	background-color: #0E76B7;
	border: 1px solid #0E76B7;
	color: #FFFFFF;
}

button.SecondaryButton:hover, button.SecondaryButton:focus {
	border-color: #62B3E5;
	background-color: #62B3E5;
	color: #FFFFFF;
}

button.SecondaryButton:active {
	border-color: #004A75;
	background-color: #004A75;
	color: #FFFFFF;
}

button.AwareButton {
	background-color: #D82373;
	border: 1px solid #D82373;
	color: #FFFFFF;
}

button.AwareButton:hover, button.AwareButton:focus {
	border-color: #E56385;
	background-color: #E56385;
	color: #FFFFFF;
}

button.AwareButton:active {
	border-color: #9B0C4B;
	background-color: #9B0C4B;
	color: #FFFFFF;
}

/*
	Checkbox
*/
.CheckBoxListItemParent {
	white-space: normal;
	word-break: break-all;
	display: flex;
	align-items: flex-start;
	position: relative;
}

.CheckBoxListItem {
	opacity: 0;

	/* Reset everything that could change the layout */
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	width: 0;
	height: 0;
}

.CheckBoxListItem + label {
	position: relative;
	padding-left: 32px;
	padding-top: 2px;
}

.CheckBoxListItem + label::before {
	content: "";
	display: inline-block;
	width: 24px;
	height: 24px;
	margin: 0;
	padding: 0;
	position: absolute;
	left: 0;
	top: 0;
	border-width: 1px;
	border-style: solid;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	background-color: #FFFFFF;
	border-color: #CCCCCC;
}

.CheckBoxListItemParent + .CheckBoxListItemParent {
	margin-top: 10px;
}

input:not([disabled]).CheckBoxListItem + label:hover {
	cursor: pointer;
}

input:not([disabled]).CheckBoxListItem:hover + label::before {
	border-color: #348644;
}

.CheckBoxListItem:focus + label::before {
	border-color: #348644;
}

.CheckBoxListItem:checked + label::before {
	background-color: #348644;
	border-color: #348644;
}

input:not([disabled]).CheckBoxListItem:hover:checked + label::before {
	background-color: #6CC04A;
	border-color: #6CC04A;
}

.CheckBoxListItemChecked {
	display: none;
	position: absolute;
	left: 6px;
	top: 8px;
	width: 14px;
	height: 10px;
}

.CheckBoxListItem:checked ~ .CheckBoxListItemChecked {
	display: inline-block;
	pointer-events: none;
}

/* Do some FireFox fixups */
@-moz-document url-prefix() {
	.CheckBoxListItem + label {
		padding-left: 19px;
	}

	.CheckBoxListItem + label::before {
		left: -13px;
	}
}

/*
	Radio button
*/
.RadioButtonListItemParent {
	white-space: normal;
	word-break: break-all;
	display: flex;
	align-items: flex-start;
	position: relative;
}

.RadioButtonListItem {
	opacity: 0;
	/* Reset everything that could change the layout */
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	width: 0;
	height: 0;
}

.RadioButtonListItem + label {
	position: relative;
	padding-left: 32px;
	padding-top: 2px;
}

.RadioButtonListItem + label::before {
	content: "";
	display: inline-block;
	width: 24px;
	height: 24px;
	margin: 0;
	padding: 0;
	position: absolute;
	left: 0;
	top: 0;
	border-width: 1px;
	border-style: solid;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
	background-color: #FFFFFF;
	border-color: #CCCCCC;
}

.RadioButtonListItemParent + .RadioButtonListItemParent {
	margin-top: 10px;
}

.RadioButtonListItem + label:hover {
	cursor: pointer;
}

.RadioButtonListItem:hover + label::before {
	border-color: #348644;
}

.RadioButtonListItem:focus + label::before {
	border-color: #348644;
}

.RadioButtonListItem:checked + label::before {
	background-color: #FFFFFF;
	border-color: #348644;
}

.RadioButtonListItem:hover:checked + label::before {
	background-color: #FFFFFF;
	border-color: #6CC04A;
}

.RadioButtonListItemChecked {
	display: none;
	position: absolute;
	left: 5px;
	top: 5px;
	width: 16px;
	height: 16px;
}

.RadioButtonListItem:checked ~ .RadioButtonListItemChecked {
	display: inline-block;
	pointer-events: none;
}

/* Do some FireFox fixups */
@-moz-document url-prefix() {
	.RadioButtonListItem + label {
		padding-left: 19px;
	}

	.RadioButtonListItem + label::before {
		left: -13px;
	}
}

/*
	Header
*/
.Header {
	border-bottom: 1px solid #888888;
	background-color: #F0F0F0;
	background-image: linear-gradient(20deg, #F0F0F0, #72EF23);
	width: 100%;
	height: 69px;
	margin-bottom: 20px;
}

.HeaderLogo {
	float: left;
}

.HeaderUserInfo {
	float: right;
	height: 100%;
}

.HeaderUserBlock {
	height: 100%;
}

.HeaderUserBlock::before {
	content: "";
	display: inline-block;
	vertical-align: middle;
	height: 100%;
}

.HeaderUserBlockPart {
	display: inline-block;
	vertical-align: middle;
	margin-right: 10px;
	position: relative;
}

.HeaderUserName {
	font-size: 16px;
	font-weight: bold;
	font-style: normal;
	text-decoration: none;
	color: #333333;
}

.HeaderAvatar {
	vertical-align: bottom;
	border-radius: 50%;
	border: 1px solid #888888;
	background-color: #FFFFFF;
	width: 48px;
	height: 48px;
}

a.HeaderMenuButton:link {
	color: #333333;
	-ms-user-select: none;
	user-select: none;
}

a.HeaderMenuButton:visited {
	color: #333333;
}

.HeaderMenu {
	position: absolute;
	z-index: 1000;
	display: none;
	background-color: #FFFFFF;
	box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
	overflow: auto;
	right: 0;
}

.HeaderMenu a {
	color: #333333;
	text-decoration: none;
	white-space: nowrap;
	display: block;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
	padding-right: 40px;
}

.HeaderMenu a:hover {
	background-color: #62B3E5;
	color: #FFFFFF;
}

.HeaderMenu .material-icons {
	padding-right: 10px;
}

.MenuText {
	vertical-align: 7px;
}

.Body {
	position: relative;
}

/*
	Text header
*/
.TextHeader {
	color: #333333;
	font-size: 18px;
	font-style: normal;
	font-weight: bold;
	text-decoration: none;
}

.TextHeader.Highlight {
	color: #F78D2D;
}

.SmallTextHeader {
	color: #333333;
	font-size: 14px;
	font-style: normal;
	font-weight: bold;
	text-decoration: none;
}

/*
	Validation errors
*/
.validation-summary-valid {
	display: none;
}

.validation-summary-errors {
	color: #D82373;
}

/*
	Icons
*/
.IconAddon {
	position: relative;
	color: #333333;
	display: block;
}

.IconAddon input, .IconAddon textarea {
	padding-left: 30px;
}

.IconAddon label {
	position: absolute;
	left: 10px;
	top: -1px;
	padding: 10px 0;
	font-size: 18px;
}

.SmallIcon {
	font-size: 14px;
}

/*
	Helpers
*/
.Clear::after {
	clear: both;
	content: "";
	display: table;
}
