html,
body {
	padding: 0;
	margin: 0;
}
body {
	background-color: #eee;
	font-family: Arial, Helvetica, Verdana;
	font-size: 14px;
	line-height: 22px;
	color: #666;
	position: relative;
	-webkit-text-size-adjust: none;
}
h1, h2, h3, h4, h5, h6 {
	line-height: 1;
	font-weight: bold;
	margin: 20px 0 10px 0;
}
h1, h2, h3 {
	font-size: 18px;
}
h4, h5, h6 {
	font-size: 16px;
}
p {
	margin: 0 0 10px 0;
}
a, a:link, a:active, a:visited, a:hover {
	color: inherit;
	text-decoration: underline;
}

nav:not(.mm-menu) {
	display: none;
}

.header,
.footer {
	text-align: center;
}
.header,
.footer {
	font-size: 16px;
	font-weight: bold;
	color: #eee;

	-moz-box-sizing: border-box;
	box-sizing: border-box;
	width: 100%;
	padding: 0 50px;
	position: fixed;
	left: 0;
	right: 0;

	box-shadow: 0 0 5px 2px #5e735f;
}
.header {
	top: 0;
	background: #007d8e;
	height: 44px;
	line-height: 44px;
}
.footer {
	bottom: 0px;
	background: #eee;
	height: 22px;
}
.header.fixed {
	position: fixed;
	top: 0;
	left: 0;
}
.footer.fixed {
	position: fixed;
	bottom: 0;
	left: 0;
}
.content {
	padding: 80px 50px 50px 50px;
	text-align: left;
	color: #000;
}
/* Ссылки на верхней полосе меню */
.fa-database, .fa-home, .fa-cog, .fa-envelope, #my-menu button.btn-cpanel {
	-webkit-transition: background-color 0.5s ease;
	-moz-transition: background-color 0.5s ease;
	-o-transition: background-color 0.5s ease;
}
.fa-database:hover, .fa-home:hover, .fa-cog:hover, .fa-envelope:hover, .fa-paper-plane:hover {
	background-color: rgb(223, 239, 241);
	color: #751455;
}
.fa-database:before, .fa-home:before, .fa-cog:before, .fa-envelope:before, .fa-paper-plane:before {
	color: #6badd3;
}
.fa-microchip:hover, .fa-cogs:hover, .fa-code:hover, .fa-info:hover {
	color: #751455;
}
#my-menu button.btn-cpanel {
	border: none;
	padding: 0;
	background-color: #f7f7f7;
	font-size: 16px;
	cursor: pointer;
}
#my-menu button.btn-cpanel:hover {
	background-color: rgb(223, 239, 241);
}

/* Форма поиска */
.form-for-search {
	position: relative;
	width: 150px;
	margin: 0 auto;
	-webkit-transition: width 0.8s ease;
	-moz-transition: width 0.8s ease;
	-o-transition: width 0.8s ease;
}
/*.form-for-search:hover {
	width: 250px;
}*/
.header__search__input {
	width: 100%;
	height: 25px;
	padding-left: 10px;
	border: 2px solid #7BA7AB;
	border-radius: 5px;
	outline: none;
	background: #F9F0DA;
	color: #9E9C9C;
	font-size: 14px;
	-webkit-transition: color 0.8s ease;
	-moz-transition: color 0.8s ease;
	-o-transition: color 0.8s ease;
}
.header__search__input:disabled {
	border: 2px solid rgb(158, 164, 165);
}
.header__search__input:focus, .header__search__input:hover {
	color: rgb(77, 75, 75);
}
.header__search__submit {
	position: absolute; 
	top: 8px;
	right: -15px;
	width: 30px;
	height: 30px;
	border: none;
	background: #7BA7AB;
	border-radius: 0 5px 5px 0;
	cursor: pointer;
}
.header__search__submit:disabled {
	background: rgb(158, 164, 165);
}
.header__search__submit:before {
	content: "\f002";
	font-family: FontAwesome;
	font-size: 16px;
	color: #F9F0DA;
}

/* Заголовок страницы */
.header__title, .header__pageinfo, .header__search {
	display: inline-block;
	margin: 0 10px 0 10px;
}
.header__search {
	float: right;
}
.header__title {
	position: absolute;
	width: 300px;
	left: calc(45% - 150px);
}
.header__pageinfo {
	margin-top: 8px;
	float: left;
	height: 15px;
	border: 2px solid #7BA7AB;
	border-radius: 5px;
	background-color: #007d8e;
	font-size: 13px;
	font-weight: normal;
	line-height: 1;
    padding: 5px 5px 5px 5px;
	cursor: pointer;
}
.header__pageinfo:hover {
	background-color: #496d97;
}

@media (max-width: 1200px) {
  .header__title {
    display: none;
  }
}

@media (max-width: 850px) {
  .header__pageinfo {
    display: none;
  }
}

/* Нижний колонтитул страницы */
.footer__status p {
	color: #89a0ad;
	font-size: 12px;
	font-weight: normal;
	top: 0px;
	left: 10px;
}
.footer__status p > i.idle, .footer__status p > i.idle, .footer__status p > i.idle {
	color: #89a0ad;
	text-shadow: 0 0 8px #89a0ad;
	font-size: 11px;
}
.footer__status p > i.active, .footer__status p > i.active, .footer__status p > i.active {
	color: #3a8a52;
	text-shadow: 0 0 8px #3a8a52;
	font-size: 11px;
}
.footer__status p > i.master, .footer__status p > i.master, .footer__status p > i.master {
	color: #af2929;
	text-shadow: 0 0 8px #af2929;
	font-size: 11px;
}

#my-footer .footer__status--state, #my-footer .footer__status--master {
	position: absolute;
	top: 0px;
}
#my-footer .footer__status--state {
	left: 10px;
}
#my-footer .footer__status--master {
	left: 200px;
}
#my-footer .footer__status--connect {
	float: right;
}