:root {
	--colormenu3: #dae4f1;

	--col1: #f7f7f7; /* Gray White */
	--col2: #717075; /* Gray */
	--col3: #4d4e53; /* Gray Dark */
	--col4: #0c1115; /* Gray Black */
	--col5: #ffffff; /* White */
	--col9: #747576; /* Gray Light */
	--col10: #efefef; /* Gray Light */

	--col6: #303F9F; /* Indigo */
	--col7: #1976D2; /* Blue */
	--col8: #03A9F4; /* Blue Light */
}

* {
	font-family: verdana, sans-serif;
}

body {
	margin: 0;
	padding: 0;
}
body.body {
	background-color: var(--col3);
}
.menusubhead {
	padding: 0px 0 4px 0;
	background: var(--col7);
	overflow: hidden;
}
.menusubhead2 {
	padding: 0 0;
	background: var(--col8);
	overflow: hidden;
}
.boxcontent {
	background-color: var(--col1);
}
.boxcontainer {
	width: 70%;
	min-width: 1100px;
	margin: 0 auto;
}

.mtop30 {
	margin-top: 30px;
}
.mleft20 {
	margin-left: 20px;
}

.inlineblock {
	display: inline-block;
}
.headerbox {
	padding: 6px 10px;
	border-radius: 0;
	color: var(--col5);
	line-height: 130%;
	text-decoration: none;
}
.headerboxhover:hover {
	color: var(--col5);
	text-decoration: none;
	background: rgba(0,0,0,0.5);
}
a.headeropen * {
	color: #8dc63f;
}

/* ==================== Шапка панели ==================== */
.adm-header {
	position: relative;
	z-index: 1000;
	background: var(--col3);
}
.adm-header__inner {
	display: flex;
	align-items: stretch;
	height: 40px;
}

/* Логотип */
.adm-header__logo {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	margin-right: 24px;
	opacity: 0.8;
	transition: opacity 0.15s;
}
.adm-header__logo:hover,
.adm-header__logo:focus {
	opacity: 1;
}
.adm-header__logo img {
	display: block;
	width: 150px;
	height: auto;
}

/* Главное меню */
.adm-nav {
	display: flex;
	flex: 1 1 auto;
	min-width: 0;
}
.adm-nav__list {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}
.adm-nav__item {
	position: relative;
}
.adm-nav__link,
.adm-nav__link:link,
.adm-nav__link:visited {
	display: flex;
	align-items: center;
	height: 100%;
	padding: 0 12px;
	font-size: 14px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	white-space: nowrap;
	color: #ffffff;
	text-decoration: none;
	/* transition: background-color 0.15s, color 0.15s; */
}
.adm-nav__item:hover > .adm-nav__link,
.adm-nav__item:focus-within > .adm-nav__link {
	color: var(--col5);
	text-decoration: none;
	background: var(--col8);
}
.adm-nav__item.is-active > .adm-nav__link {
	color: var(--col5);
	background: var(--col7);
}
.adm-nav__caret {
	display: inline-block;
	margin-left: 6px;
	border-top: 4px solid;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	opacity: 0.6;
}

/* Выпадающие списки шапки: подменю разделов и меню пользователя */
.adm-nav__sub,
.adm-header .dropdown-menu {
	min-width: 200px;
	margin: 0;
	padding: 0;
	list-style: none;
	background: var(--col8) !important;
	border: 0;
	border-radius: 0 6px 6px 6px;
	box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.adm-nav__sub {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
}
.adm-nav__item:hover > .adm-nav__sub,
.adm-nav__item:focus-within > .adm-nav__sub {
	display: block;
}
.adm-nav__sub a,
.adm-nav__sub a:link,
.adm-nav__sub a:visited,
.adm-header .dropdown-menu > li > a {
	display: block;
	padding: 7px 16px;
	border-left: 3px solid transparent;
	font-size: 14px;
	line-height: 1.4;
	white-space: nowrap;
	color: #ffffff;
	text-decoration: none;
	box-shadow: none;
}
.adm-nav__sub a:hover,
.adm-nav__sub a:focus,
.adm-header .dropdown-menu > li > a:hover,
.adm-header .dropdown-menu > li > a:focus {
	color: #ffffff;
	text-decoration: none;
	background: var(--col7);
	box-shadow: none;
}
.adm-nav__sub a.is-current {
	color: #ffffff;
	background: var(--col7);
}
.adm-header .dropdown-menu > li > a .glyphicon {
	margin-right: 6px;
	color: var(--col9);
}
.adm-header .dropdown-menu .divider {
	margin: 6px 0;
	background-color: var(--col10);
}

/* Правая часть: индикатор, пользователь, переход на сайт */
.adm-header__actions {
	display: flex;
	align-items: stretch;
	flex: 0 0 auto;
	margin-left: auto;
}
.adm-header__status {
	align-self: center;
	margin: 0 8px;
	font-size: 13px;
	color: var(--col9);
}
.adm-header__user {
	display: flex;
}
.adm-header__action,
.adm-header__action:link,
.adm-header__action:visited {
	display: flex;
	align-items: center;
	padding: 0 12px;
	font-size: 13px;
	white-space: nowrap;
	color: rgba(255,255,255,0.85);
	background: transparent;
	border: 0;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.15s, color 0.15s;
}
.adm-header__action:hover,
.adm-header__action:focus,
.open > .adm-header__action {
	color: var(--col5);
	text-decoration: none;
	background: rgba(0,0,0,0.25);
}
.adm-header__action .caret {
	margin-left: 6px;
	opacity: 0.6;
}
.adm-header__user-icon {
	margin-right: 6px;
	font-size: 12px;
	opacity: 0.6;
}
.adm-header__site,
.adm-header__site:link,
.adm-header__site:visited {
	color: #8dc63f;
}
.adm-header__site:hover,
.adm-header__site:focus {
	color: #a8dc5e;
}

.processactive {
	color: white !important;
	transform: rotate(180deg);
	transition: transform 1s linear;
}

.layoutbox {
	background-color: rgba(0,0,0,0.1);
	margin-bottom: 15px;
	padding: 0 5px 5px 5px;
	box-shadow: 0 0 3px var(--col2);
}
.widgetblockbg {
	background-color: rgba(0,0,0,0.1);
	padding: 5px;
}
.widgetblock {
	min-height: 30px;
}
.widgetbox {
	background-color: white;
	margin-bottom: 5px;
	padding: 0 5px 5px 5px;
	box-shadow: 0 0 3px var(--col3);
}
.widgetblockhighlight {
	min-height: 30px;
	margin-bottom: 5px;
	background: var(--col3);
}
.widgetlink {
	display: block;
	padding: 0;
	text-decoration: none;
}
.widgetlink:hover {
	background: rgba(0,0,0,0.05);
	box-shadow: 0 0 5px rgba(0,0,0,0.5);
	text-decoration: none;
}

.dropdown-menu {
    background-color: var(--col8) !important;
    color: white !important;
    border: 0;
    border-radius: 0;
}
.dropdown-menu > li > a {
	color: white;
}
.dropdown-menu > li > a:hover {
	background-color: var(--col7);
	box-shadow: 0 0 8px var(--col7);
	color: white;
}
.dropdown-menu .divider {
	background-color: var(--col7);
	margin: 4px 0;
}
.btn-default.active.focus, .btn-default.active:focus, .btn-default.active:hover, .btn-default.focus:active, .btn-default:active:focus, .btn-default:active:hover, .open > .dropdown-toggle.btn-default.focus, .open > .dropdown-toggle.btn-default:focus, .open > .dropdown-toggle.btn-default:hover {
	border-radius: 0;
    color: white;
    background-color: var(--col8);
    border-color: var(--col8);
}

.sh1 {
	color: var(--col5);
	font-size: 24px;
	margin: 0;
}
.sh2 {
	color: var(--col5);
	margin: 0;
}

.modal {
  text-align: center;
  padding: 0 !important;
}

.modal:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -4px;
}

.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
  max-width: 600px;
}
.modal-content {
	border: 0;
	border-radius: 2px;
	overflow: hidden;
}
.modal-header {
	background: #F44336;
	color: white;
	font-size: 20px;
}

.form-control {
	border-radius: 2px;
}
.btn {
	border-radius: 2px;
}
.btn-primary, .btn-primary:link, .btn-primary:visited, .btn-primary:active {
	color: white;
	background-color: var(--col6);
	border-color: var(--col6);
}
.btn-primary:hover {
	color: white;
	background-color: var(--col7) !important;
	border-color: var(--col7) !important;
}

.buttontab, .buttontab:link, .buttontab:visited, .buttontab:active {
	border: 0;
	margin: 0 5px;
	padding: 1px 10px 3px 10px;
	border-radius: 1px 1px 0 0;
	box-shadow: none;
	background-color: var(--col6);
	border-top: 2px solid var(--col6);;
	color: white;
	text-decoration: none;
	cursor: pointer;
	font-size: 14px;
}
.buttontab:hover {
	background: white;
	color: black !important;
	box-shadow: 0 0 5px rgba(0,0,0,0.2);
	text-decoration: none;
	cursor: pointer;
}
.activetab {
	background: var(--col1) !important;
	color: black !important;
}

.buttontab2, .buttontab2:link, .buttontab2:visited, .buttontab2:active {
	border: 0;
	margin: 0 5px;
	padding: 1px 10px 3px 10px;
	border-radius: 1px 1px 0 0;
	box-shadow: none;
	background-color: var(--col3);
	border-top: 2px solid var(--col4);;
	color: white;
	text-decoration: none;
	cursor: pointer;
	font-size: 14px;
}
.buttontab2:hover {
	background: white;
	color: black !important;
	box-shadow: 0 0 5px rgba(0,0,0,0.2);
	text-decoration: none;
	cursor: pointer;
}

.help {
	background: #fff59d;
	border: 0;
	margin: 0 auto;
	padding: 15px;
	overflow: hidden;
}
.helptitle {
	color: #f9a825;
	font-weight: bold;
}

.popovershow, .popovershow:link, .popovershow:active, .popovershow:visited {
	color: var(--col8);
	text-decoration: none;
	font-size: 14px;
}
.popovershow:hover {
	color: var(--col7);
	text-decoration: none;
}
.popover {
	background: #fff59d;
	border: 0;
	padding: 0;
	border-radius: 2px;
}
.popover > .popover-title {
	background: #f9a825;
	color: white;
	border: 0;
	border-radius: 2px 2px 0 0;
}

.header {
	border-collapse: collapse;
	background: var(--col7);
	color: white;
	font-weight: normal;
}
.header p {
	color: white;
	font-weight: normal;
}
.sideheader {
	border-collapse: collapse;
	background: var(--col10);
	font-weight: normal;
}

.data {
	margin-left: auto;
	margin-right: auto;
	width: auto;
	box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
	background: white;
}

.nav {
	background: var(--col2);
	color: #ffffff;
	font-weight: bold;
	border: 0;
	padding: 0;
	margin: 0;
}
.nav-tabs > li > a {
    line-height: 1.42857;
    margin: 0;
    color: #ffffff;
    border: 0;
    border-radius: 0;
    border-top: 3px solid transparent;
}
.nav-tabs > li > a:hover {
	background-color: var(--col7);
	border: 0;
	border-top: 2px solid transparent;
}
.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {
	color: var(--col3);
	cursor: default;
	background-color: #fff;
	border: 0;
	border-top: 3px solid var(--col7);
}

.forprefixedactions {
	min-height: 50px;
	width: 100%;
	margin-bottom: 15px;
}
.prefixedactions {
	text-align: right;
	width: 100%;
	padding: 10px;
	background: rgba(0,0,0,0.1);
	border-left: 2px solid var(--col7);
	border-right: 2px solid var(--col7);
}
.fixedactions {
	top: 0;
	width: 100%;
	position: fixed;
	z-index: 1000;
	background: rgba(0,0,0,0.1);
}

.togglebuttonclose {
	cursor: pointer;
}
.togglewindow {
	display: none;
}
.togglebuttonactive {
	box-shadow: 1px 1px 2px rgba(0,0,0,0.5);
	color: white;
	background-color: var(--col7) !important;
	border-color: var(--col7) !important;
}

.menudivrow {
	display: block;
	height: 24px;
	margin: 0;
	padding: 0;
	overflow: hidden;
}
.menudivrow.head {
	background-color: #cdd3da;
	/*border-top: 2px solid var(--col8);*/
	margin-top: 15px;
}
.menudiv1 {
	display: inline;
	height: 24px;
	margin: 0;
	padding: 0;
	float: left;
	overflow: hidden;
	word-wrap: break-word;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.menudiv1.col1 {
	width: 44%;
	padding: 0 3px;
}
.menudiv1.col2 {
	width: 13%;
	padding: 3px;
}
.menudiv1.col3 {
	width: 4%;
	font-size: 12px;
	color: #999;
	text-align: center;
}
.menudiv1.col4 {
	width: 14%;
	font-size: 12px;
	color: #555;
}
.menudiv1.col5 {
	width: 18%;
	font-size: 12px;
	color: #dd6666;
}
.menudiv1.col5 a {
	color: #666;
}
.menudiv1.col6 {
	width: 7%;
	font-size: 12px;
	color: #666666;
}
.menudiv3 {
	display: block;
	height: 24px;
	margin: 0 auto;
	padding: 0;
	width: 550px;
}

.odd {
	background: var(--col5);
}
.even {
	background: var(--col1);
}
.defaultitem {
	background: #d7e7ff;
}
.invisibleitem {
	background: #ffe0e2 !important;
}
.blockitem {
	background: #ef9092 !important;
}

.buttonblack, .buttonblack:link, .buttonblack:visited, .buttonblack:active {
	background-color: #f7f7f7;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#f7f7f7), to(#e7e7e7));
	background-image: -webkit-linear-gradient(top, #f7f7f7, #e7e7e7);
	background-image: -moz-linear-gradient(top, #f7f7f7, #e7e7e7);
	background-image: -ms-linear-gradient(top, #f7f7f7, #e7e7e7);
	background-image: -o-linear-gradient(top, #f7f7f7, #e7e7e7);

	padding: 2px;
	box-shadow: none;
	text-decoration: none;
	display: inline-block;
	text-align: center;
	color: #666;
	border-radius: 10px;
	font-size: 14px;
	line-height: 100%;
	cursor: pointer;
}
.buttonblack:hover {
	/* background: var(--col3); */
	color: black;
	box-shadow: 0 0 2px 1px var(--col7);
	cursor: pointer;
	text-decoration: none;
}

.tree {
	float: left;
	display: block;
	width: 20px;
	height: 100%;
	vertical-align: middle;
}
.tree-empty {
	background: url('tree-empty.png') left center no-repeat;
}
.tree-middle {
	background: url('tree-middle.png') left center no-repeat;
}
.tree-end {
	background: url('tree-end.png') left center no-repeat;
}

.pagination-link {
	display: inline-block;
	background-color: #f1f2f3;
	padding: 2px 4px;
	border-radius: 2px;
	margin: 4px;
	text-decoration: none;
	text-align: center;
	min-width: 30px;
}
.pagination-link:hover {
	color: #f1f2f3;
	background-color: #3a3b3c;
	text-decoration: none;
}
.pagination-linke-active {
	color: #f1f2f3 !important;
	background-color: #3a3b3c;
	text-decoration: none;
}

p.mini { font-family: arial; margin: 2px 3px; }
p.white { color: white; }

.minihelp { font-size: 11px; color: #455667; }
.center { text-align: center; }

label {
	font-weight: normal;
	cursor: pointer;
}

/*
img { border: 0 }
table { border: 0px; }
.form { border-collapse: collapse; background: #eaecef; border-left: 1px solid #f0f2f4; border-top: 1px solid green; border-right: 1px solid #dfe1e5; border-bottom: 1px solid #dfe1e5; }
*/

.cadmin { background: #e6fdd2; }

.showpages { background: #eeeeee; border-left: 1px solid silver; border-top: 1px solid green; border-right: 1px solid silver; font-weight: bold; }

.showlang {
	vertical-align: super;
	content: "*";
	background: #75ca73;
	color: white;
	font-size: 10px;
	font-family: arial;
	line-height: 100%;
	padding: 0 1px;
	border-radius: 2px;

}

.close {
	margin-left: 5px;
}
.alert {
	padding: 5px 10px;
	margin: 5px 0;
}
.alert-danger, div.showerror {
	background: #cc3f44;
	color: white;
}
.alert-success, div.showalert {
	background: #8dc63f;
	color: white;
}

div.hide {
	display: none;
}
div.show {
	display: block;
}

.forbtn {
	margin: 0;
	padding: 2px 7px;
}

.buttonnonactive {
	color: rgba(0,0,0,0.2);
	padding: 2px;
}

.buttonblack2 {
	background: #ffffff;
	padding: 3px 5px;
	box-shadow: none;
	text-decoration: none;
	display: inline-block;
	text-align: center;
	color: #444;
	border-radius: 2px;
	font-size: 16px;
	line-height: 100%;
}
.buttonblack2:hover {
	background: #222;
	color: white;
	box-shadow: 1px 1px 1px rgba(0,0,0,0.2);
	cursor: pointer;
	text-decoration: none;
}
.buttonnonactive2 {
	color: rgba(0,0,0,0.2);
	padding: 2px;
	font-size: 18px;
}

.button2 {
	background: #eee;
	color: gray;
	font-size: 12px;
	padding: 1px;
	box-shadow: none;
	text-decoration: none;
}
.button2:hover {
	color: black;
	text-decoration: none;
}

.hidden {
	opacity: 0.3;
}

.listblock {
	margin: 0 auto;
	padding: 0;
	display: block;
	overflow: hidden;
	cursor: pointer;
	text-decoration: none;
}
.listblock:hover {
	text-decoration: none;
	background: var(--colormenu3);
}
.listblock:hover p {
	color: black;
}

.listblockselect {
	background: var(--col7);
}
.listblockselect p {
	color: white;
}
.floatleft {
	float: left;
}

.tab-content {
	padding: 10px;
}

a, a:link, a:active, a:visited {
	color: #00090c;
	text-decoration: none;
}
a:hover {
	color: #00090c;
	text-decoration: underline;
}

a.listmenu, a.listmenu:link, a.listmenu:active, a.listmenu:visited, a.listmenu:hover {
	color: #ffffff;
	text-decoration: underline;
}
a.tabs {
	font-size: 16px;
	border-top: 1px solid silver;
	border-left: 1px solid silver;
	border-right: 1px solid silver;
	text-decoration: none;
	margin: 10px;
	padding: 2px 10px;
	background: #eee;
}
a.tabs:hover {
	text-decoration: none;
}

.inputtext, .inp {
	font-size: 13px;
	font-weight: normal;
	color: #212121;
	text-decoration: none;
	background: #ffffff;
	border-radius: 2px;
	box-shadow: inset 0 0 2px rgba(0,0,0,0.4);
	border: 1px solid #eee;
	min-width: 40px;
	line-height: 20px;
	vertical-align: middle;
	padding: 4px 5px;
	margin: 0;
	/* white-space: nowrap; */
}

.inputtext:focus, .inp:focus {
	box-shadow: inset 0 0 2px rgba(6,111,219,0.9);
}

.template {
	font-family: verdana;
	color: #212121;
	border : 1px solid #dddddd;
	text-decoration : none;
	font-size : 11px;
	padding-left : 5px;
	padding-right : 5px;
	background: #ffffff;
}

.inp2, .inp2:link, .inp2:visited, .inp2:active {
	cursor: pointer;
	font-size: 14px;
	font-weight: normal;
	color: white;
	line-height: 22px;
	text-decoration: none;
	text-align: center;
	vertical-align: middle;
	display: inline-block;
	white-space: nowrap;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
	background: #1976D2;
	border: 1px solid #1976D2;
	border-radius: 2px;
	padding: 3px 8px;
	min-width: 40px;
}
.inp2:hover {
	background: #0c5298;
	border-color: #0c5298;
	color: white;
	text-decoration: none;
}

.inp-cancel {
	background: #eeeeee !important;
	border-color: #dddddd !important;
	color: black !important;
	text-decoration: none;
}
.inp-cancel:hover {
	background: #dddddd !important;
	border-color: #dddddd !important;
	color: white;
	text-decoration: none;
}

.logincontainer {
	margin-top: 150px;
}
.loginbox {
	background-color: #313435;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	padding: 25px 15px 10px 15px;
	color: white;
}
.loginform {
	max-width: 400px;
}

@media (max-width: 767px) {
	.logincontainer {
		margin-top: 0;
	}
	.loginform {
		margin: 0 auto;
	}
}
