.main-menu {
	display: table;
    table-layout: fixed;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
	}
	.main-menu li {
		display: table-cell;
		text-align: center;
		height: 2.8125rem;
		line-height: 2.8125rem;
		}
		.main-menu li a {
			color: #eee;
			display: block;
			transition: all 0.2s ease-in-out;
			}
			.main-menu a:hover {
				background-color: #11646b;
			}
			.main-menu li.logout a {
				background-color: #00242b;
			}
			.main-menu li.logout a:hover {
				background-color: #00444b;
			}
			.main-menu li.active a {
				background-color: #197a82;
			}
	.main-menu .devices {
		position: relative;
	}

.main-menu .unread-message-count,
.devices.index .unread-message-count {
	font-size: 80% !important;
	background: red;
	width: 25px;
	height: 25px;
	display: inline-block;
	line-height: 25px !important;
	position: absolute;
	top: 0;
	right: 0;
	opacity: 0.95;
}

.devices.index .deponation-messages.has-unread-messages {
	padding-right: 30px;
}


td.actions,
th.actions {
	text-align: right;
}

.devices.index .malfunction,
.stimulations.index .problem {
	background-color: #ffcfcf;
}
.devices.index .inactive {
	background-color: #fff3b8;
}

.devices .deponation-data {
	border: 1px solid #666;
	padding: 5px 10px;
	}
	.devices .deponation-data .nothing {
		color: #b66;
		font-size: 85%;
	}

.related.notes .form :after {
	content: " ";
	display: table;
	clear: both;
	}
	.related.notes button,
	.related.notes fieldset {
		margin: 0;
	}
	.related.notes fieldset {
		padding-bottom: 0;
	}

#actions-sidebar {
	display: none;
}

.content {
	width: 100%;
	}
	.content h3,
	.content .controls {
		line-height: 1.4
	}
	.content h3 {
		display: inline-block;
	}
	.content .controls {
		display: inline-block;
		float: right;
	}

.filter button,
.button {
	background-color: #007095;
    padding: 10px 13px;
    border-radius: 2px;
    margin: 0 5px;
    color: #f0f0f0;
	transition: 0.2s ease-in-out;
	}
	.filter button:hover,
	.button:hover {
		background-color: #005075;
	}
	.filter button:active,
	.filter button:focus,
	.button:active,
	.button:focus {
		background-color: #003055;
	}

input:focus,
texetarea:focus,
select:focus {
	background: #f0f0ff
}

.back-to-listing {
	font-size: 90%;
	color: #ebaa20;
	transition: 0.2s ease-in-out;
	}
	.back-to-listing:hover {
		color: #db8a00;
	}

.filter {
    border: 1px solid #ddd;
    padding: 15px 0;
    border-radius: 3px;
    background: #fafafa;
	margin-bottom: 10px;
	}
	.filter .input {
		width: 15%;
		display: inline-block;
		margin: 0 2.5%;
		vertical-align: top;
	}
	.filter .input input[type=text],
	.filter .input select {
		margin-bottom: 10px;
		height: 1.8rem;
		padding: 5px 10px;
	}
	.filter .input input[type=radio],
	.filter .input input[type=checkbox] {
		margin-bottom: 5px;
	}
	.filter .from-to-filter,
	.filter .double-input {
		width: 35%;
		display: inline-block;
		margin: 0 2.5%;
	}
	.filter .from-to-filter {
		}
		.filter .from-to-filter .input {
			width: 43.75%;
			margin: 0 0 0 6.25%;
		}
		.filter .from-to-filter .input:first-of-type {
			margin: 0 6.25% 0 0;
		}
	.filter .submits {
		float: right;
		margin: 1% 2.5% 0 0;
		}
		.filter .submits .reset {
			background-color: #ffdfdf;
			color: #444;
			transition: all 0.2s ease-in-out;
			}
			.filter .submits .reset:hover {
				background-color: #ffcfcf;
			}
			.filter .submits .reset:active,
			.filter .submits .reset:focus {
				background-color: #ffbfbf;
			}
	.filter:after {
		content: " ";
		display: table;
		clear: both;
	}



.filter .submits .reset,
.filter .submits button {
	padding: 10px 20px;
	margin: 0 10px;
	border-radius: 2px;
}
.filter .submits .reset {
	padding-bottom: 11px;
	margin: 0;
}

.stimulations .setting-time.too-long  {
    color: #f33;
}

.login {
	text-align: center;
	}
	.login .login-form-container {
		margin: 10% auto 0;
		width: 40%;
		text-align: left;
		padding: 20px 40px 25px;
		border: 1px solid #ccc;
		border-radius: 4px;
		background: #eef;
		text-align: left;
	}
	.login h1 {
		line-height: 1;
		font-size: 1.8rem;
		margin-bottom: 20px;
	}
	.login .login-button-container {
		text-align: center;
	}


.medicalFacilities.view::after {
	content: " ";
	display: table;
	height: 50px;
}

.filter-note {
    padding: 20px 20px 0;
    font-size: 80%;
    color: #666;
}

table tr td,
table tr th {
    padding: 4px;
}

table td.number {
	text-align: right;
	padding-right: 20px;
}
table th.number {
	text-align: center;
}

.malfunction-note {
    color: #999;
    font-size: 80%;
}

.hidden{
	display: none;
}
.semi-hidden {
	visibility: hidden;
	height: 1px;
	overflow: hidden;
	opacity: 0;
}

.deponationMessages.index tr.not-seen {
    background: #f6f6ff;
}

.too-soon-warning {
	background-image: url(../img/warning-icon.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 16px;
    height: 17px;
    display: inline-block;
    vertical-align: bottom;
    margin-left: 3px;
}

.index .boolean-display {
	text-align: center;
    display: inline-block;
	width: 100%;
}
