body {
	background: #F1F1F1;
}

#logo img {
	height: 40px;
	margin-top: 5px;
	margin-right: 20px;
}

.clear {
	clear: both;
}
.nav-left {
	float: left;
}
.nav-right{
	float: right
} 
#navbar {
	padding: 0 10px;
}

#navbar .navbar-brand {
	
}

#navbar-tabs {
	padding: 10px 10px 0 10px;
	border-bottom: none;
}

#navbar-tabs a {
	color: #FFF;
}

#navbar-tabs li.active a {
	color: #000;
}

#navbar-tabs li:hover a {
	color: #000;
}

#main {
	padding-top: 70px;
}

#filters {
	clear: both;
	padding: 0 10px;
}

@media (max-width: 949px) {
	#filters {
		padding: 0;
	}
}

#filters .filters-label {
	position: relative;
	display: block;
	padding: 10px 15px;
	float: left;
}

#filters .nav > li > a {
	float: left;
}

#table {
	clear: both;
	padding: 0 40px 10px;
	margin-top: 15px;
}

@media (max-width: 949px) {
	#table {
		padding: 0 30px 10px;
	}
}

@media (max-width: 949px) {
	#table td, #table th {
		display: none;
	}
}

@media (max-width: 949px) {
	#table td:nth-child(1), #table th:nth-child(1),
	#table td:nth-child(2), #table th:nth-child(2),
	#table td:nth-child(3), #table th:nth-child(3) {
		display: table-cell;
	}
}

#table thead {
	background: #EEE;
}

#table tbody tr[data-pay-status="1"] td:first-child {
	box-shadow: inset 8px 0px 0 -5px #5bc0de;
}

#table tbody tr[data-pay-status="2"] td:first-child {
	box-shadow: inset 8px 0px 0 -5px #2b669a;
}

#table tbody tr[data-pay-status="3"] td:first-child {
	box-shadow: inset 8px 0px 0 -5px #5cb85c;
}

#table tbody tr[data-pay-status="4"] td:first-child {
	box-shadow: inset 8px 0px 0 -5px #f0ad4e;
}

#table tbody tr[data-pay-status="5"] td:first-child {
	box-shadow: inset 8px 0px 0 -5px #d9534f;
}

#table tbody tr[data-pay-status="1"] td:last-child {
	box-shadow: inset -8px 0px 0 -5px #5bc0de;
}

#table tbody tr[data-pay-status="2"] td:last-child {
	box-shadow: inset -8px 0px 0 -5px #2b669a;
}

#table tbody tr[data-pay-status="3"] td:last-child {
	box-shadow: inset -8px 0px 0 -5px #5cb85c;
}

#table tbody tr[data-pay-status="4"] td:last-child {
	box-shadow: inset -8px 0px 0 -5px #f0ad4e;
}

#table tbody tr[data-pay-status="5"] td:last-child {
	box-shadow: inset -8px 0px 0 -5px #d9534f;
}

#table tr.active td {
	background: #E7F4FF;
}

#table tr.payed td {
	background: #DDFDDD;
}

#table th a {
	color: #3A3939;
}

#informers {
	clear: both;
	padding: 10px 25px 0;
}

.filterable {
    margin-top: 15px;
}
.filterable .panel-heading .pull-right {
    margin-top: -20px;
}
.filterable .filters input[disabled] {
    background-color: transparent;
    border: none;
    cursor: auto;
    box-shadow: none;
    padding: 0;
    height: auto;
}
.filterable .filters input[disabled]::-webkit-input-placeholder {
    color: #333;
}
.filterable .filters input[disabled]::-moz-placeholder {
    color: #333;
}
.filterable .filters input[disabled]:-ms-input-placeholder {
    color: #333;
}
.company-edit {
	background: #EEE;
}
input[type=file] {
	padding-top: 5px;
}
.company-form-file {
	
}
.company-form-file .glyphicon {
	top: 2px;
	color: #b92c28;
}

.company-form-file .glyphicon:hover {
	color: red;
	cursor: pointer;
}

hr {
	border-color: #CFCFCF;
}

.status {
	font-weight: bold;
	color: #17A703;
}
.company-save-buttons {
	margin-top: 30px;
}
.company-form {
	overflow: hidden;
	font-size: 12px;
}
.company-files .form-group {
	height: 26px;
}


/*Panel tabs*/

#company-edit .panel-heading {
	padding: 5px !important;
}

.panel-tabs {
    position: relative;
    clear:both;
    border-bottom: 1px solid transparent;
}

.panel-tabs > li {
    float: left;
    margin-bottom: -1px;
}

.panel-tabs > li > a {
    margin-right: 2px;
    line-height: .85;
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0;
    color: #ffffff;
}

.panel-tabs > li > a:hover {
    border-color: transparent;
    color: #ffffff;
    background-color: transparent;
}

.panel-tabs > li.active > a,
.panel-tabs > li.active > a:hover,
.panel-tabs > li.active > a:focus {
    color: #fff;
    cursor: default;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    background-color: rgba(255,255,255, .23);
    border-bottom-color: transparent;
}

.wrapper {
	margin: 0 25px;
	clear: both;
	overflow: hidden;
}

#company-edit .panel-heading .badge {
	margin: -5px 0;
	color: #428bca;
	background: #FFF;
}

.badge-warning {
	background-color: #f89406 !important;
	color: #FFF !important;
}

.badge-success {
	background-color: #468847;
}

.badge-danger {
	background-color: #d9534f;
}

.company-comments .comment {
	clear: both;
	margin: 0 0 15px;
}

#flashMessage {
	margin: 0 25px 20px;
}

.step-title {
	padding-bottom: 5px;
	padding-left: 0;
	margin-top: 10px;
	margin-bottom: 20px;
	border-bottom: 1px #DDD solid;
	color: #A5A5A5;
	font-style: italic;
	overflow: hidden;
}

.company-files .form-group {
	margin-bottom: 5px;
}

.company-checkbox-notice {
	padding-bottom: 8px;
	margin-left: 20px;
	margin-right: 10px;
}
.company-comments .date {
	font-size: 12px;
	color: #AAA;
}
.company-comments .history-label {
	font-size: 12px;
	display: block;
	color: #AAA;
}
.cake-datepick select {
	width: 100px;
	display: inline;
	margin: 0 5px;
}
.cake-datepick .datetime select:first-child {
	margin-left: 0;
}
.form-control.disabled {
	cursor: not-allowed;
	background-color: #EEE;
	opacity: 1;
}
.icon-dollar {
	font-weight: bold;
	cursor: default;
	font-size: 16px;
	line-height: 20px;
}
.mb0 {
	margin-bottom: 0;
}
.text-page {
	padding: 0 40px;
}

.profile-page {
	overflow: hidden;
	padding: 0 20px;
}

th.th-small {
	font-size: 9px;
	text-align: center;
	vertical-align: middle !important;
}

option[disabled=disabled] {
	background: #BBB;
	cursor: not-allowed;
}

#PayoutDate .input select:first-child,
#company_pay_time .input select:first-child {
	margin-left: 0;
}

#CompanyCommissionPayedDate .input select {
	margin-left: 0;
}

#payout_block .input.date select:first-child {
	width: 55px;
}

#payout_block .form-control {
	padding: 1px 5px;
	margin-top: -2px;
}

#payout_block input.form-control {
	padding: 1px 9px;
}

#payout_block .input.date select {
	width: 100px;
	display: inline;
	margin: 0 5px;
}

#payout_block input[type="checkbox"] {
	float: left;
	position: relative;
	top: 6px;
	margin-right: 8px;
}

#CompanyPayoutSum {
	width: 243px;
}

#payout_to_client .input .number {
	margin-top: 8px;
	margin-left: 5px;
}

#vistavit_schet .input .number {
	margin-left: 5px;
}

#vistavit_schet .input .number, #payout_to_client .input .number input {
	width: 227px;
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

#CompanyInfo {
	color: red;
	font-weight: bold;
}

.pagination-block {
	margin: 0 25px 30px;
}

.pagination-block .pagination {
	margin: 0;
	float: left;
}

.pagination-block .pagination-stat {
	margin: 8px 10px; 
	float: left
}

.company-check-horiz .checkbox {
	float: left;
	margin-right: 20px;
}

.nopadding-left {
   padding-left: 0 !important;
}

.nopadding-right {
   padding-right: 0 !important;
}

.admission-date select {
	display: inline;
	width: auto;
	margin: 0 10px;
}

.admission-date .input.date select:first-child {
	margin-left: 0;
}

.pass-send {
	text-align: center;
	margin: 9px 0 -25px;
}

.managers a {
	font-size: 11px;
	color: #999;
	margin-right: 5px;
}

.datepicker table tr td.new, .datepicker table tr td.old {
	color: #E4E3E3 !important;
}

.form__small-labels label {
	font-size: 11px;
}

#CompanyCertText, #CompanyCertTextEn {
	height: 140px;
}

.has-error .help-block, .has-error .control-label, .has-error .radio, .has-error .checkbox, .has-error .radio-inline, .has-error .checkbox-inline {
	color: red;
}

#tab1 ::-webkit-input-placeholder {color:#DDD !important;}
#tab1 ::-moz-placeholder          {color:#DDD !important;}/* Firefox 19+ */
#tab1 :-moz-placeholder           {color:#DDD !important;}/* Firefox 18- */
#tab1 :-ms-input-placeholder      {color:#DDD !important;}

#CompanySaveAttentionText {
	color: red;
	display: none;
}

.companies-all__unread {
    color: #5cb85c;
    font-size: 30px;
    line-height: 20px;
    vertical-align: middle;
}

.auditor-plus {
	color: #26ADA1 !important;
}

.auditor-margin-left {
	/*margin-left: -30px;*/
}

.auditor-add {
	margin-left: 15px;
	color: #26ADA1 !important;
}

.company-files {
	position: absolute;
	top: 0;
	left: 30px;
	background: #FFF;
	z-index: 1;
}

.relative {
	position: relative;
}

.filter__dpopdown {
	max-height: 400px;
	overflow-y: scroll;
}