* {
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

ul li {
	list-style: none;
}

html, body, #wrap {
	height: 100%;
}

body > #wrap {
	height: auto;
	min-height: 100%;
}

#main {
	padding-bottom: 64px;
}

#footer {
	position: relative;
	margin-top: -64px;
	height: 64px;
	clear: both;
	overflow: hidden;
	background: #F5F5F5;
	text-align: center;
	padding: 7px;
	border-top: 1px solid #E9E9E9;
	line-height: 48px;
}
#footer .logo {
	float: left;
}
.copyright {
	float: right;
}

.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.clearfix {
	display: inline-block;
}

* html .clearfix {
	height: 1%;
}

.clearfix {
	display: block;
}

.fr {
	float: right;
}

.fl {
	float: left;
}

a img {
	border: 0
}

a {
	color: #428BCA;
	text-decoration: none;
}

a:hover, a:focus {
	color: #2A6496;
	text-decoration: underline;
}

body {
	background: #FFF;
}

/* Navbar */

.navbar {
	background: #F5F5F5;;
}

.navbar .nav {
	background: #222;
}

.navbar .nav li {
	float: left;
	position: relative;
}
.navbar .nav li.fr {
	float: right;
}

.navbar .nav > .container > ul > li:hover > a,
.navbar .nav > .container > ul > li:hover > span,
.navbar .nav > .container > ul > li:hover {
	color: #FFF;
}

.navbar .nav > .container > ul > li:hover > span {
	cursor: default;
}

.navbar .nav li > a,
.navbar .nav li > span {
	color: #999;
	padding: 15px 15px;
	text-decoration: none;
	font-size: 14px;
	display: block;
	line-height: 20px;
}

.navbar .nav li.dropdown-toggle:after {
	content: ' ';
	display: inline-block;
	width: 0;
	height: 0;
	vertical-align: middle;
	border-top: 4px solid;
	border-right: 4px solid rgba(0, 0, 0, 0);
	border-left: 4px solid rgba(0, 0, 0, 0);
	position: absolute;
	right: 0;
	top: 50%;
	margin-top: -1px;

}

.navbar .nav li ul {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1000;
	display: none;
	float: left;
	min-width: 160px;
	padding: 5px 0;
	margin: 2px 0 0;
	list-style: none;
	font-size: 14px;
	background-color: #FFF;
	border: 1px solid #CCC;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 4px;
	-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
	margin-top: 0;
	border-top-right-radius: 0;
	border-top-left-radius: 0;
}

.navbar .nav li:hover ul {
	display: block;
}

.navbar .nav li ul li {
	float: none;
}

.navbar .nav li ul li a {
	display: block;
	padding: 3px 20px;
	clear: both;
	font-weight: normal;
	line-height: 1.42857143;
	color: #333;
	white-space: nowrap;
}

.navbar .nav li ul li a:hover {
	text-decoration: none;
	color: #262626;
	background-color: #F5F5F5;
}

.navbar .nav .logo a {
	padding: 15px 15px;
	font-size: 18px;
	line-height: 19px;
}

.navbar .nav li.dropdown-header span {
	display: block;
	padding: 3px 20px;
	font-size: 12px;
	line-height: 1.42857143;
	color: #999;
}

.navbar .nav li.divider {
	height: 1px;
	margin: 9px 0;
	overflow: hidden;
	background: #E5E5E5;
}

.navbar .nav li.divider span {
	padding: 0;
}

.breadcrumbs {
	padding: 8px 15px;
	list-style: none;
	background-color: #F5F5F5;
	border-radius: 4px;
	color: #999;
	font-size: 14px;
}

.breadcrumbs a,
.breadcrumbs span {
	display: inline-block;
	margin: 0 5px;
}

.breadcrumbs a:first-child {
	margin: 0 5px 0 0;
}


/* Content */

.content {
	/*padding: 30px 0;*/
	padding: 0 15px;
}

#pagination {
	background: #FFF;
	display: inline-block;
}

#pagination:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

#pagination li {
	float: left;
	border: 1px solid #CCC;
	border-left: 0;
}

#pagination li a {
	min-width: 30px;
	display: inline-block;
	color: #428BCA;
	padding: 5px 10px;
	font-size: 12px;
	line-height: 1.5;
	text-decoration: none;
	text-align: center;
}

#pagination .first {
	border-radius: 3px 0 0 3px;
	border-left: 1px solid #CCC;
}

#pagination .previous {
}

#pagination .selected a {
	background: #CCC;
	border-color: #999;
	color: #FFF;
}

#pagination .next {
}

#pagination .last {
	border-radius: 0 3px 3px 0;
}

#pagination .first.hidden a,
#pagination .previous.hidden a,
#pagination .selected.hidden a,
#pagination .next.hidden a,
#pagination .last.hidden a {
	color: #999;
}




/* Typography */

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
	font-family: inherit;
	font-weight: 500;
	line-height: 1.1;
	color: inherit;
}
h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small,
.h1 small,
.h2 small,
.h3 small,
.h4 small,
.h5 small,
.h6 small,
h1 .small,
h2 .small,
h3 .small,
h4 .small,
h5 .small,
h6 .small,
.h1 .small,
.h2 .small,
.h3 .small,
.h4 .small,
.h5 .small,
.h6 .small {
	font-weight: normal;
	line-height: 1;
	color: #999999;
}
h1,
.h1,
h2,
.h2,
h3,
.h3 {
	margin-top: 20px;
	margin-bottom: 10px;
}
h1 small,
.h1 small,
h2 small,
.h2 small,
h3 small,
.h3 small,
h1 .small,
.h1 .small,
h2 .small,
.h2 .small,
h3 .small,
.h3 .small {
	font-size: 65%;
}
h4,
.h4,
h5,
.h5,
h6,
.h6 {
	margin-top: 10px;
	margin-bottom: 10px;
}
h4 small,
.h4 small,
h5 small,
.h5 small,
h6 small,
.h6 small,
h4 .small,
.h4 .small,
h5 .small,
.h5 .small,
h6 .small,
.h6 .small {
	font-size: 75%;
}
h1,
.h1 {
	font-size: 36px;
}
h2,
.h2 {
	font-size: 30px;
}
h3,
.h3 {
	font-size: 24px;
}
h4,
.h4 {
	font-size: 18px;
}
h5,
.h5 {
	font-size: 14px;
}
h6,
.h6 {
	font-size: 12px;
}
p {
	margin: 0 0 10px;
}


div.form label {
	font-weight: 400;
	padding-bottom: 3px;
	font-size: 16px;
	display: block;
	margin-top: 10px;
}

.page-header {
    border-bottom: 1px solid #EEEEEE;
    margin-top: 0px;
    margin-bottom: 20px;
    padding-bottom: 9px;
}


.button-column a img {
	display: none;
}

.button-column {
	text-align: center;
}
.button-column a {
	width: 24px;
	height: 24px;
	display: inline-block;
	margin: 1px;
}

.button-column a:after {
	display: inline-block;
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 14px;
	content: "\f002";
	color: #fff;
	line-height: 23px;
	text-align: center;
	width: 24px;
	height: 24px;
	background: #9B9B9B;
	border-radius: 3px;

}
.button-column .delete:after {
	content: "\f014";
	text-indent: -1px;
	background: #E05E5E;
}
.button-column .update:after {
	content: "\f040";
}

.button-column a[title='вверх']:after {
	content: "\f106";
}
.button-column a[title='вниз']:after {
	content: "\f107";
}