@font-face {
	font-family: "Open Sans";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("fonts/open-sans-400.woff2") format("woff2");
}
@font-face {
	font-family: "Open Sans";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("fonts/open-sans-700.woff2") format("woff2");
}

html, body {
	padding: 0;
	margin: 0;
	height: 100%;
}

* {
	box-sizing: border-box;
}

html {
	display: inline-block;
	min-width: 1024px;
	width: 100%;
	height: 100%;
	background: #001;
}
body {
	display: inline-block;
	width: 1024px;
	height: 600px;
	overflow: hidden;
	border: 1px solid gray;
	background: white;
	transform: translateX(-50%) translateY(-50%);
	position: absolute;
	left: 50%;
	top: 50%;
	cursor: default;
}

* {
	font-family: "Open Sans", sans-serif;
	cursor: inherit;
}

/* Header */

header {
	display: block;
	width: 100%;
	height: 48px;
	background: #00204D;
	
	font-family: "Open Sans", sans-serif;
	font-size: 15px;
	color: white;
	line-height: 15px;
	padding: 0;

	text-align: right;
}

header .path {
	display: inline-block;
	width: 700px;
	text-align: left;
	float: left;
	padding: 16px;
}
header .path * {
	display: inline-block;
	padding-right: 40px;
	position: relative;
	color: #92A9CA;
}
header .path .active {
	color: white;
}
header .path :after {
	content: "";
	position: absolute;
	margin-left: 10px;
	margin-top: 2px;
	display: inline-block;
	width: 10px;
	height: 10px;
	border-right: 2px solid #526D93;
	border-top: 2px solid #526D93;
	transform: rotate(45deg);
}
header .path :last-child:after {
	display: none;
}

header .lang {
	display: inline-block;
	min-width: 16px;
	width: 16px;
	height: 48px;
	padding-right: 32px;
	margin-top: 16px;
	text-align: center;
	vertical-align: top;
}
header .connection, header .computer, header .exit {
	display: inline-block;
	min-width: 16px;
	width: 16px;
	height: 48px;
	padding-right: 32px;

	background-size: 16px 16px;
	background-position: center;
	background-repeat: no-repeat;
}
header .connection {
	background-image: url(headericons/wifi.png);
}
header .computer {
	background-image: url(headericons/ethernet.png);
}
header .exit {
	border-left: 1px solid #213F69;
	padding-left: 16px;
	background-image: url(headericons/off.png);
}

/* Main */

main {
	display: block;
	width: 100%;
	height: calc(100% - 48px);
	position: relative;
}
main:before {
	position: absolute;
	content: "";
	display: inline-block;
	width: 100%;
	height: 4px;
	top: 0px;
	left: 0px;
	background-image: linear-gradient(to bottom, #09182C, transparent);
	background-size: 100% 4px;
	background-repeat: no-repeat;
	background-position: 0px 0px;
}

/* Footer */

footer {
	display: inline-block;
	width: 100%;
	height: 48px;
	border-top: 1px solid #A3B9D8;
	padding: 8px;
}
footer input {
	float: right;
	margin-left: 10px;
}

/* Checkboxes */

.checkbox {
	display: inline-block;
	width: 16px;
	height: 16px;
	margin: 5px;
	margin-bottom: -2px;

	background-image: url(checkboxes/checkbox_base_16@2x.png);
	background-size: 16px 16px;
}
.checkbox[value=checked] {
	background-image: url(checkboxes/checkbox_active_16@2x.png);
}
.checkbox[value=partially] {
	background-image: url(checkboxes/checkbox_partially_checked_16@2x.png);
}

.checkbox:hover {
	background-image: url(checkboxes/checkbox_hover_16@2x.png);
}
.checkbox[value=checked]:hover {
	background-image: url(checkboxes/checkbox_checked_hover_16@2x.png);
}
.checkbox[value=partially]:hover {
	background-image: url(checkboxes/checkbox_partially_checked_hover_16@2x.png);
}

.checkbox[disabled] {
	background-image: url(checkboxes/checkbox_disabled_16@2x.png);
}
.checkbox[value=checked][disabled] {
	background-image: url(checkboxes/checkbox_checked_disabled_16@2x.png);
}
.checkbox[value=partially][disabled] {
	background-image: url(checkboxes/checkbox_partially_checked_disabled_16@2x.png);
}

/* Buttons and inputs */

input {
	width: 160px;
	height: 32px;
	padding: 8px;
	font-size: 14px;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}
input.big {
	width: 212px;
}
input[disabled] {
	opacity: 0.5;
}
input[type=text], input[type=password] {
	background: white;
	border: 1px solid #A3B9D8;
	cursor: text;
}
input[type=button] {
	background: white;
	border: 2px solid #4875B3;
	text-align: center;
	padding-top: 4px;
	color: #4875B3;
	cursor: pointer;
}
input[type=button]:hover {
	background: #D6E7FF;
}
input[type=button][disabled] {
	background: white;
	cursor: default;
}
input[type=submit] {
	background: #92BD11;
	border: 2px solid #609025;
	text-align: center;
	padding-top: 4px;
	color: white;
	cursor: pointer;
}
input[type=submit]:hover {
	background: #83AD00;
	border-color: #4C7F11;
}
input[type=submit][disabled] {
	background: #92BD11;
	border-color: #609025;
	cursor: default;
}

/* Other */

a {
	text-decoration: none;
	outline: none;
}
a[href] {
	cursor: pointer;
}
a.hidden {
	color: inherit;
	cursor: inherit;
}