html,
body {
	height: 100%;
	margin: 0;
	font-family: Roboto, sans-serif;
	font-weight: 300;
	color: #000;
	background-color: #575757
}

h2,
h3 {
	font-weight: 300
}

h2 {
	text-transform: uppercase
}

#login-block {
	background-color: #fff;
	height: 280px;
	width: 400px;
	position: absolute;
	margin: auto;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	text-align: center
}

.button {
	background-color: #d54b50;
	border-radius: 8px;
	border: none;
	box-shadow: 0 3px 0 0 #832c2f, inset 0 2px 4px 0 rgb(255 255 255 / 30%);
	color: #fff;
	cursor: pointer;
	display: inline-block;
	padding: 1em 2em;
	position: relative;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
}

.button:hover {
	background-color: #ff5660
}

.button:active {
	background-color: #ff5660;
	box-shadow: none;
	top: 3px
}

@media only screen and (max-device-width: 480px) {

	html,
	body {
		background-color: #fff
	}

	#login-block {
		width: 100%
	}

	input,
	select {
		height: 30px;
		padding: 0 5px;
		line-height: 30px;
		box-sizing: border-box
	}
}

.header {
	background-color: #323639;
	height: 120px;
	display: flex;
	align-items: center;
	position: relative;
}

.header img {
	height: 60px;
	margin: 0 40px 0 40px;
}

.logout * {
	vertical-align: middle;
	font-size: 1.5em;
	color: #fff;
	-moz-user-select: none;
	user-select: none
}

.content {
	color: #000
}

input[type='text'],
input[type='password'] {
	box-sizing: border-box
}

input[type='checkbox'] {
	vertical-align: middle
}

input[type='submit'] {
	background-color: #EAE8E8
}

table.simplePadding {
	border-collapse: collapse;
	border: 1px none #fff;
	width: 100%;
	font-size: 11px
}

table.simplePadding th {
	border-width: 1px;
	padding: 4px;
	border-style: inset;
	border-color: #AAA;
	text-align: center
}

table.simplePadding td {
	border-width: 1px;
	border-style: inset;
	border-color: #AAA;
	padding: 1px 4px;
	text-align: left
}

table.obhod_table {
	border-collapse: collapse;
	border: 1px none #fff;
	width: 100%;
	font-size: 12px;
	text-align: left
}

table.obhod_table th {
	border-width: 1px;
	padding: 4px;
	border-style: inset;
	border-color: #AAA;
	text-align: center;
	position: relative
}

.fixed {
	position: fixed;
	top: 16px;
	margin-left: 10px;
	font-weight: 300;
	font-size: .8em;
	opacity: 0;
	visibility: hidden;
	transition: opacity .4s cubic-bezier(0.4, 0, 0.2, 1);
	transform: translateZ(0)
}

.back {
	background-color: #fff;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 47px;
	opacity: 0;
	visibility: hidden;
	transition: opacity .4s cubic-bezier(0.4, 0, 0.2, 1);
	border-bottom: 1px solid grey;
	transform: translateZ(0)
}

table.obhod_table td {
	border-width: 1px;
	border-style: inset;
	border-color: #AAA;
	padding: 1px 4px;
	text-align: left
}

table.simple {
	border-collapse: collapse;
	border: 1px none #fff
}

table.simple th {
	border-width: 1px;
	padding: 1px;
	border-style: inset;
	border-color: gray
}

table.simple td {
	border-width: 1px;
	border-style: inset;
	border-color: gray;
	padding: 0
}

.field {
	margin: -1px -4px;
	border: none;
	width: calc(100% + 8px);
	padding: 1px 4px;
	font-family: Roboto, sans-serif;
	font-size: 12px;
	font-weight: 300
}


#background {
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: #000;
	top: 0;
	left: 0;
	opacity: .9;
	display: block
}

#obhod {
	position: fixed;
	height: 80%;
	width: 80%;
	max-width: 500px;
	max-height: 700px;
	overflow: auto;
	background-color: #fff;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	display: block;
	text-align: center
}

#obhod input,
#obhod select {
	width: 80%;
	border: 1px solid #000;
	border-radius: 5px;
	height: 40px;
	padding: 0 5px;
	line-height: 40px;
	box-sizing: border-box
}

@media only screen and (max-device-width: 480px) {
	#obhod {
		width: 100%;
		height: 100%;
		max-width: 100%;
		max-height: 100%;
		display: block
	}
}

#no-gps {
	animation: hide-show 1s step-end;
	animation-iteration-count: infinite;
	transition: none
}

@keyframes hide-show {
	0% {
		opacity: 0
	}

	50% {
		opacity: 1
	}

	100% {
		opacity: 0
	}
}

#loading {
	transition: opacity .3s cubic-bezier(0.4, 0, 0.2, 1) !important
}

.sk-folding-cube {
	position: fixed;
	margin: auto;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 40px;
	height: 40px;
	transform: rotateZ(45deg)
}

.sk-folding-cube .sk-cube {
	float: left;
	width: 50%;
	height: 50%;
	position: relative;
	transform: scale(1.1)
}

.sk-folding-cube .sk-cube:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #333;
	animation: sk-foldCubeAngle 2.4s infinite linear both;
	transform-origin: 100% 100%
}

.sk-folding-cube .sk-cube2 {

	transform: scale(1.1) rotateZ(90deg)
}

.sk-folding-cube .sk-cube3 {

	transform: scale(1.1) rotateZ(180deg)
}

.sk-folding-cube .sk-cube4 {

	transform: scale(1.1) rotateZ(270deg)
}

.sk-folding-cube .sk-cube2:before {

	animation-delay: .3s
}

.sk-folding-cube .sk-cube3:before {

	animation-delay: .6s
}

.sk-folding-cube .sk-cube4:before {

	animation-delay: .9s
}

@keyframes sk-foldCubeAngle {

	0%,
	10% {
		transform: perspective(140px) rotateX(-180deg);
		opacity: 0
	}

	25%,
	75% {
		transform: perspective(140px) rotateX(0deg);
		opacity: 1
	}

	90%,
	100% {
		transform: perspective(140px) rotateY(180deg);
		opacity: 0
	}
}

@keyframes require {
	0% {
		background-color: #FFF
	}

	50% {
		background-color: #FF9A9A
	}

	100% {
		background-color: #FFF
	}
}


.agent-marker input {
	display: none;
}

.agent-marker span {
	border-radius: 8px;
	padding: 0.24em;
	margin: 1px 0.25em;
}

.agent-marker input:checked~.agent-marker-red {
	background-color: red;
	color: white;
}

.agent-marker input:checked~.agent-marker-green {
	background-color: green;
	color: white;
}