
html,
body {
    height: 100%;
}

@media (min-width: 1600px) {
	.container {
		width: 1570px;
	}

	.col-sm-3 {
		width: 20%;
	}

	.col-sm-9 {
		width: 80%;
	}
}


div.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -70px;
    padding: 0 0 100px;
}

*:focus, 
input {
	outline: 0 !important;
}

textarea {
	max-width: 100%;
}

h4 {
	margin: 0 0 10px 0;
	color: #666;
}

.modal-header h4 {
	margin: 10px 0 10px 0;
}

.text-bold {
	font-weight: bold !important;
}

a.pseudolink {
	text-decoration: none; 
	border-bottom: 1px dashed #00579c; 
}

/* футер */

footer {
    min-height: 70px;
    background-color: #11436f;
    padding: 12px 0 10px 0;
	line-height: 24px;
	color: #d7eaf8;
}

footer a {
	color: #d7eaf8 !important;
}

footer .powered {
	font-size: 12px;
	color: #3380b7;
	text-align: center;
}

footer .powered a {
	color: #3380b7 !important;
}

h1 {
	margin: 0;
	padding: 0;
	font-size: 22px;
	font-weight: bold;
	color: #7c7c7c;
	line-height: 32px;
	padding: 0 0 8px 0;
}

/* меню */

.navbar {
	border-radius: 0;
	margin-bottom: 3px;
	border-left: 0;
	border-right: 0;
	border-top: 0;
	background: #2b669a !important;
}

.navbar-default .navbar-nav > .active > a, 
.navbar-default .navbar-nav > .open > a {
	color: #d7eaf8 !important;
	background: #217bc8 !important;
}

.navbar-default .navbar-nav > li > a {
	color: #eee;
}

.navbar-default .navbar-nav > li > a:focus, 
.navbar-default .navbar-nav > li > a:hover {
	color: #d7eaf8;
}

.navbar-nav > li > .dropdown-menu {
	background: #2d6aa0 !important;
}

.navbar-default .navbar-nav .open .dropdown-menu > li > a,
.navbar-nav > li > .dropdown-menu > li > a {
	color: #eee;
}

.navbar-nav > li > .dropdown-menu > li > a:focus, 
.navbar-nav > li > .dropdown-menu > li > a:hover {
	color: #d7eaf8 !important;
	background: none;
}

.navbar-nav > li > .dropdown-menu > .active > a, 
.navbar-nav > li > .dropdown-menu > .active > a:focus,
.navbar-nav > li > .dropdown-menu > .active > a:hover {
	color: #d7eaf8 !important;
	background: #217bc8 !important;
}

.navbar-nav .dropdown-header {
	color: #FFF;
}

.navbar-default .navbar-brand { 
	color: #b3e4bc !important;
	font-weight: bold;
	background: url("../img/logo-gudsoft-2.png") no-repeat center center; 
    background-size: 31px 36px;
    padding-left: 55px;
    background-position: 15px 7px;
}

.navbar-default .navbar-collapse, 
.navbar-default .navbar-form {
    border: 0;
}

.navbar-default .dropdown-menu .divider {
	background: #8cc4ec;
}

.navbar-default .navbar-toggle {
    border-color: #8cc4ec;
}

.navbar-default .navbar-toggle .icon-bar {
	background-color: #8cc4ec;
}

.navbar-default .navbar-toggle:focus, 
.navbar-default .navbar-toggle:hover {
	background: none !important;
}

.navbar-nav .dropdown .fa {
	margin-right: 3px;
}

/* адресная строка */

.breadcrumb {
	padding: 0;
	margin-bottom: 5px;
	font-size: 13px;
	background: none;
}

.breadcrumb > li + li:before {
	content: " ";
}

.breadcrumb > li a {
	color: #999 !important;
}

.breadcrumb .divider {
	top: -1px;
	position: relative;
	color: #999;
}

/* фильтры */

.nav-pills {
	text-align: center; 
	margin: 0 auto 10px auto;
	display: table;
}

.nav-pills li {
	margin-right: 10px;
}

.nav-pills li a {
	padding: 5px 10px; 
	text-decoration: none;
}

.nav-pills li.active a, 
.nav-pills li.active a:hover {
	background-color: #c64c4c;
}

.nav-pills > li.active > a, 
.nav-pills > li.active > a:focus, 
.nav-pills > li.active > a:hover {
	background-color: #3380b7;
}

/* формы */

.form-group {
	margin-bottom: 10px;
}

.form-group .form-control {
	font-size: 14px; 
	padding: 2px 6px; 
}

.form-group .control-label {
	color: #555; 
	font-family: Arial;
}

.form-group .required {
	color: #ff0000; 
	font-weight: bold;
}

.form-group .f-error {
	color: #B94A48; 
	font-size: 13px; 
	margin-bottom: 1px;
}

.form-group .notify {
	color: dimgray; 
	font-size: 13px;
}

.form-group .input-normal {
	max-width: 300px; 
	width: 100%;
	display: inline-block;
}

.form-group .input-mini {
	max-width: 50px; 
	width: 100%;
	display: inline-block;
}

.form-group .input-small {
	max-width: 80px; 
	width: 100%;
	display: inline-block;
}

.form-group .input-min {
	width: auto;
	height: auto;
	display: inline-block;
}

.form-group .label-min {
	font-weight: normal;
	position: relative;
	top: -2px;
	left: 4px;
}

.form-group .field-list {
	margin-top: 8px;
}

.form-group .field-list label {
	font-weight: normal;
	position: relative;
	top: -2px;
}

.input-group-glue {
	width: 0;
	display: table-cell;
}

.input-group-glue + .form-control {
	border-left: none;
}

.form-btn-block {
	position: relative;
	display: inline-block;
	top: -1px;
}

/* фильтры */

.f-filter-form {
	text-align: center; 
	color: dimgray; 
	font-size: 12px; 
	padding: 6px 7px 6px 7px; 
	font-family: Arial;
}

.f-filter-form.f-filter-base {
	padding: 0 0 1px 0; 
}

.f-filter-form span {
	display: inline-block;
	padding-right: 3px;
	margin-bottom: 3px;
}

.f-filter-form label {
	font-weight: normal;
	padding-right: 2px;
}

.f-filter-form .form-control {
	display: inline-block; 
	width: auto; 
	padding: 0 2px; 
	font-size: 12px; 
	height: auto; 
	background-color: #FBFBFB;
	border-radius: 2px;
	height: 18px;
}

.f-filter-form .active {
	background-color: #fceeee;
}

.f-filter-form .btn-xs {
	font-size: 12px; 
	height: 18px; 
	padding: 0px 6px; 
	color: dimgray;
	line-height: 17px;
	position: relative;
	top: -1px;
}

.f-filter-form .f-input-mini {
	width: 50px;
}

.f-filter-form .f-input-normal {
	width: 100px;
}

.f-filter-form .f-input-large {
	width: 150px;
}

.f-filter-sort {
	color: #555 !important;
	text-decoration: none !important;	
}

.f-filter-sort span {
	font-size: 10px;
}

/* таблицы */

table.table {
	border-bottom: 1px solid #ddd;
}

table.table th {
	vertical-align: middle !important;
}

table.table th,
table.table td.th {
	color: #555;
	font-size: 13px;
}

table.table tr.active.reslut td {
	background: #fcfcfc;
}

table.table tr.active-min th {
	padding: 4px 8px 1px 8px;
	background: #fcfcfc;
	color: #00579c;
	font-size: 12px;
}

table.table tr:hover {
	background-color: #fcfcfc;
}

table.table td .fa {
	text-decoration: none;
	color: #555;
	font-size: 20px;
	line-height: 14px;
	position: relative;
	top: 3px;
	opacity: 0.6;
	margin-right: 2px;
}

table.table td .fa.table-icon {
	font-size: 14px !important;
	opacity: 1;
	top: 1px;
}

table.table.drag-table td .fa:hover {
	opacity: 1;
}

table.table.drag-table .drag-row {
	background: #f5f5f5;
	opacity: 0.6;
	cursor: move;
}

table.table.drag-table .drag-handler {
	cursor: move;
}

table.table thead {
	border-top: 1px solid #ddd;
}

.table.table > caption+thead > tr:first-child > td,
.table.table > caption+thead > tr:first-child > th,
.table.table > colgroup+thead > tr:first-child > td,
.table.table > colgroup+thead > tr:first-child > th,
.table.table > thead:first-child > tr:first-child > td,
.table.table > thead:first-child > tr:first-child > th {
	border-top: 0;
	border-bottom: 0;
}

table.table thead tr.active th {
	border-bottom: 1px solid #ddd !important;
}

/* постраничная навигация */

.pagination {
	display: inline-block;
	vertical-align: middle; 
	padding-left: 2px; 
	font-size: 11px; 
	margin: 0 0 10px 0;
}

.pagination-title {
	line-height: 30px; 
	display: inline-block; 
	vertical-align: top; 
	color: #999;
	margin: 0 3px;
}

.pagination > li > a,
.pagination > li > span {
	color: #3380b7;
}

.pagination > .active > a, 
.pagination > .active > a:focus, 
.pagination > .active > a:hover, 
.pagination > .active > span, 
.pagination > .active > span:focus, 
.pagination > .active > span:hover {
	background-color: #3380b7;
    border-color: #3380b7;
}

.pagination > li > a:focus, 
.pagination > li > a:hover, 
.pagination > li > span:focus,
.pagination > li > span:hover {
	color: #7c2323;
}

/* статусы и роли */

.role-user {
	color: #123f67 !important;
}

.role-moder {
	color: #D06000 !important;
}

.role-operator {
	color: #985f0d !important;
}

.role-manager {
	color:#501754 !important;
}

.role-admin {
	color: #5CA226 !important;
}

.status-new {
	background-color: #5bc0de;
}

.status-ready, 
.status-process {
	background-color: #5bc0de;
}

.status-open, 
.status-active, 
.status-confirm, 
.status-success {
	background-color: #5cb85c;
}

.status-expire {
	background-color: #f0ad4e;
}

.status-close, 
.status-reject, 
.status-error {
	background-color: #d9534f;
}

.priority-1,
.level-low {
	background-color: #d9534f;
}

.priority-0,
.level-high {
	background-color: #5cb85c;
}

.priority--1,
.level-middle {
	background-color: #5bc0de;
}

/* флеш-сообщение */

#flash-block {
	margin: 10px auto 10px auto; 
	border-radius: 5px; 
	background-color: #fcfcfc; 
	padding: 10px;
}

.alert {
	padding: 10px 15px;
}

.alert-dismissable .close {
	position: relative; 
	right: -3px; 
	top: -5px; 
	font-size:18px;
}

/* разметка */

.date {
	font-size: 12px; 
	color: #A0A0A0;
	top: 2px;
	position: relative;
}

.w1 {
	width: 1%;
}

.w5 {
	width: 5%;
}

.w10 {
	width: 10%;
}

.w15 {
	width: 15%;
}

.w20 {
	width: 20%;
}

.w30 {
	width: 30%;
}

.w40 {
	width: 40%;
}

.font12 {
	font-size: 12px;
}

.font13 {
	font-size: 13px;
}

.nowrap {
	white-space: nowrap !important;
}

.top {
	vertical-align: top;
}

.green {
	color: #5CA226 !important;
	opacity: 1 !important;
}

.red {
	color: #b92c28 !important;
}

/* стили */

#f-loader {
	width: 46px; 
	height: 46px; 
	position: fixed; 
	top: 50%; 
	left: 50%; 
	background: #000 url("../img/f-loader.gif") no-repeat center center; 
	margin: -23px 0px 0px -23px;
	z-index: 2010;
	border-radius: 10px;
	-moz-border-radius: 10px; 
	-webkit-border-radius: 10px;
	opacity: 0.7; 
	filter: alpha(opacity=70); 
	display: none;
}

#f-loader:after {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2000;
	content: " ";
	background: transparent;
}

.input-wisywig {
	visibility: hidden;
}

.captcha-image {
	background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.modal-header {
	background: #f9f9f9;
}

.mce-panel {
	border-radius: 4px;
}

.list-group {
	border-radius: 0;
}

.list-group-item {
	padding: 6px 12px;
	border-radius: 0 !important;
}

/* кастомные стили */

.thumbnail {
	display: inline-block; 
	margin-bottom: 0;
	position: relative;
}

.crop-form {
	text-align: center; 
	max-width: 100%;
}

.crop-form .jcrop-holder {
	margin: 0 auto;
}

.crop-form .f-error {
	color: #B94A48; 
	font-size: 13px; 
	margin-bottom: 1px;
}

.hover-delete {
	display: block; 
	width: 20px; 
	height: 22px;
	background: #000; 
	opacity: 0.5; 
	color: #FFF !important;
	font-size: 22px; 
	position: absolute; 
	right: 4px;
	top: 4px; 
	line-height: 21px;
	padding: 0 0 0px 1px;
	text-align: center;
	text-decoration: none !important;
}

.invisible {
	visibility: hidden;
}

.zero {
	padding: 0 !important;
}

.text-right {
	text-align: right;
}