body {
  padding-bottom: 40px;
}

.sidebar-nav {
  padding: 9px 0!important;
}

.nav-list {
    padding-left: 10px;
    padding-right: 10px;
}

.nav-list > li > a, .nav-list > li > a:hover, .nav-list .nav-header {
    margin-left: -10px;
    margin-right: -10px;
}

table.table th.header {background-color: transparent;}

.table-seo {
    width: 80%;
}

input[type="text"] {width: 200px;}
input[type="password"] {width: 200px;}

/* Правило для Internet Explorer */
input { width:expression(this.type=='text' || this.type=='password' ? '200px' : ''); }

select {width: 200px;}

input.date {width: 100px;}
input.numeric {width: 50px;}

.clearer {
    clear:both;
}


h1 {
    font-size:16pt;
    font-weight:bold;
    margin: 0 0 20px 0;
}

.central_block {
    border: 1px solid black;
    width: 300px;
    /* position:absolute; */
    margin: 0 auto;
    text-align:left;
    padding: 15px 20px 10px 20px;
}

.error {
    color: red !important;
}

.success {

}

p.form_header {
    font-weight: bold;
    margin-bottom: 20px;
}

/*form */dt{
    padding: 0;
    margin: 7px 1px 5px 0px;
    width: 25%;
    float: left;
    clear: left;
}
/*form */dd{
    margin: 0;
    padding: 5px 0;
    float: left;
    width:70%;
    *float: none; /* hack for IE 6-7 - better to keep in separate file */
}

dd#login-element input {
    width:100px;
    margin-left: 100px;
}

.company_header {
    /* height: 30px;    */
    margin: 0px 0 10px 0;
    padding: 10px;
    /* width:100%; */
}

.company_header b {
    font-size: 18px;
}

.company_header b a {
    text-decoration: none;
}

.company_header b a:hover {
    text-decoration: underline;
}

.company_header_cap {
    float: left;
}

.company_header_cap a {
    color: #EC4D09!important;
}

.company_header_additional {
    padding: 3px 0 0 10px;
    text-align: right;
}

.company_header_additional div {
    margin-top: 3px;
    text-align: right;
}

.company_project {
    padding: 5px 10px 7px 20px;
    /* width: 100%; */
}

.company_project img {
    vertical-align: bottom;
}

.company_project_details {
    display: inline;
    margin-left: 10px;
}


.credit_error {
    color:red;
}

input#price {
    width: 70px;
}

div.error {
    color: red;
}

div.success {
    color: green;
}

div.user_line {
    margin: 10px 0px 10px 0px;
    width: 310px;
}

div.project_user_line {
    margin: 10px 0px 10px 0px;
    width: 100px;
    float: left;
}

div.unselected_user_line {
    border: 1px solid white;
    background-color: white;
}

div.selected_user_line {
    border: 1px solid blue;
    background-color: yellow;
}

div.small_user_line {
    margin: 5px 0px 5px 0px;
    cursor: pointer;
}

img.avatar {
    float: left;
    width: 100px;
    height: 100px;
}

img.small_avatar {
    float: left;
    width: 40px;
    height: 40px;
}

.project_user_info {
    width: 120px;
    min-height: 100px;
}

.user_info {    
    margin-left: 110px;
    width: 200px;
    min-height: 100px;
}

.full_user_info {
    margin: 0 0 0 15px;
    width: 300px;
    float:left;
}

.full_user_info dt, .full_user_info dd {
    margin-top: 0;
}

.user_roles {
    float: left;
}
.small_user_info {
    margin-left: 50px;
    /* width: 110px; */
    min-height: 40px;
}

.close {
    top:0px;
    float:right;
    cursor: pointer;
}

#client-modal-content, #manager-modal-content, #user-modal-content {
    display:none;
}

#simplemodal-overlay {
    background-color:#ffffff;
    cursor:wait;    
}

/* Container */
#simplemodal-container {
    height:320px;
    width:200px;
    color:#bbb;
    background-color:#ffffff;
    border:1px solid #444;
    padding:12px;    
}

#simplemodal-container code {
    background:#141414;
    border-left:1px solid #65B43D;
    color:#bbb;
    display:block;
    margin-bottom:12px;
    padding:4px 6px 6px; 
}

#simplemodal-container a {
    color:#ddd;
}

#simplemodal-container a.modalCloseImg {
    background:url(../images/close-icon.png) no-repeat;
    width:24px;
    height:24px;
    display:inline;
    z-index:3200;
    position:absolute;
    top:0px;
    right:0px;
    cursor:pointer;    
}

#simplemodal-container #client-modal-content {
    padding:8px;   
}

.editableText {
    border: black 1px solid;
    width: 300px;
}

textarea.editableText {
    height: 90px;
}

.shortText {
    width:20px;
}

.password_link {
    width:500px;
    margin-left:110px;
}

.bold_info {
    font-weight: bold;
}

.can_edit {
    min-width: 100px;
    min-height: 10px; 
}

.contract-block {margin: 20px 0 10px 0;}
.contracts {}
.contract-info {margin: 10px 0;}

table.list {
    border: 1px solid #DDDDDD;
    border-collapse: collapse;
}

table.list th, table.list td {
    border: 1px solid #DDDDDD;
    padding: 5px;
}

table.list th {
    vertical-align: middle;
    background-color: #F5F5F5;
}

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

table.list td a {
    text-decoration: none;
    color: #002637;
}

table.list td a:hover {
    text-decoration: underline;
}

table.big-pad td {
    padding: 7px;
}

td.top10back {
    background-color: greenyellow;
}

td.top20back {
    background-color: yellow;
}

td.top50back {
    background-color: #FFA8A8;
}

td.top10in {
    background-color: greenyellow;
}

td.topOutBack, td.top20outBack, td.top50outBack  {
    background-color: #EA6645;
}
td.topOutBack span, td.top20outBack span, td.top50outBack span {
color: white!important;
}

/* PRICELIST CSS */

.pricelist_buttons {
    text-align:center;
    margin: -10px 0 15px 0;
}

.hidden_category {
    color: grey;
}

.pricelist_category {
    width: 600px;
}

.category_cap {
    margin-top: 10px;
    font-size: 16px;
}


.level_1{margin-top: 20px;}
.level_2{margin-left: 20px;}
.level_3{margin-left: 40px;}
.level_4{margin-left: 60px;}
.level_5{margin-left: 80px;}

span.big {
    font-weight: bold;
}

.level_1 span.big {
    font-size: 20px;
    color: #EC4D09;
    font-weight: normal!important;
}

.category_buttons {
    display: none;
}

.pricelist_item {    
    padding: 10px;
    margin-left: 10px;
    font-size: 14px;
}

.stContainer ul {
	list-style: none;
    margin: 0px;
    padding: 0px;
    height: 30px;    
}

.stContainer ul li {    
    float: left;
    margin:0;    
}

.stContainer ul li a {
	text-decoration:none;
	background:url("/cabinet/images/tab_l_no_active.gif") no-repeat scroll left top transparent;
	float:left;
	margin:0 0 0 -3px;
	padding:0 0 0 3px;
	position:relative;
}
.stContainer ul li a span{
	background:url("/cabinet/images/tab_fon_no_active.gif") no-repeat scroll right top transparent;
	color:#606060;
	cursor:pointer;
	display:block;
	float:none;
	padding:8px 18px 7px 12px;
}

.stContainer ul li a.sel {
	background-image:url("/cabinet/images/tab_l_active.gif");
	border-width:0;
	z-index:2;
}
.stContainer ul li a.sel span {
background-image:url("/cabinet/images/tab_fon_active.gif");
color:#262626;
z-index:2;
}
.stContainer .tabdiv{
	border:1px solid #DDDDDD;
	margin-top:-1px;
	margin-left:-3px;
	margin-bottom: 20px;
	padding: 5px 10px 10px 10px;
}

.user_in_group {
    float: left;
    margin-right: 10px;
    width: 120px;
}


.project_buttons {
    text-align: center;
}

.project_support {
    width:100%;
    text-align:right;
}

#content p {
	margin: 20px 0;
}

.tipsy { padding: 5px; font-size: 12px; opacity: 0.9; filter: al`pha(opacity=90); background-repeat: no-repeat;  background-image: url(/cabinet/images/tipsy.gif); }
  .tipsy-inner { border: 1px solid black; padding: 5px 8px 4px 8px; background-color: white; color: black; max-width: 200px; text-align: left; }
  .tipsy-inner { -moz-border-radius:3px; -webkit-border-radius:3px; }
  .tipsy-north { background-position: top center; }
  .tipsy-south { background-position: bottom center; }
  .tipsy-east { background-position: right center; }
  .tipsy-west { background-position: left center; }
  
.h1-float {
    float: left;
    margin-right: 20px;
}

.edit-link {
    float: left;
    margin: 5px 20px 0 0;
}

.clear-left {
    clear: left;
}

th.header {
    background-color: #ff08ff;
}

th.headerSortDown, th.headerSortUp {
    background-color: #FFFFFF;
}

#edit_keyword {
    width:400px;
}

.selected_keyword_row {
    border-top: 2px solid black;
}

.under_deleted_keywords {
    border-top: 2px solid red;
}

.keyword_row_status_0 {
    background-color: #EBFFFA;
}

.keyword_row_status_1 {
    background-color: white;
}

.keyword_row_status_2 {
    background-color: #FFE1E1;
}

.keyword_row_status_3 {
    background-color: #C1F9C1;
}

.keyword_row_status_4 {
    background-color: #87CEFA;
}

th.header {
    cursor: pointer;
}

.headerSortUp span {
    background: url('/cabinet/images/arrow-up.gif') center right no-repeat!important;
    padding-right: 15px;
}

.headerSortDown span {
    background: url('/cabinet/images/arrow-down.gif') center right no-repeat!important;
    padding-right: 15px;
}

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

.td-center {
    text-align: center;
}

.position_left_link, .seo_finance_left_link {
    text-align:left;
    width:200px;
    float: left;
}
.position_right_link, .seo_finance_right_link {
    text-align:right;
    width: 250px;
    padding-left:250px;    
}

.position_bottom_left_link, .seo_finance_bottom_left_link {
    text-align:left;
    width:200px;
    float: left;
}
.position_bottom_middle_link, .seo_finance_bottom_middle_link {
    text-align:left;
    width:100px;
    float: left;
}
.position_bottom_right_link, .seo_finance_bottom_right_link {
    text-align:right;
    width: 200px;
    padding-left:300px;
}

.th {
    text-align: center;
    font-weight: bold;
}

.added {
    font-weight: bold;
}

.deleted {
    font-style: italic;
}

.comment_form {    
    width: 711px;   
}

.comment_form dt {
    width:150px;
    text-align: right;
    float:left;
}

.comment_form dd {    
    text-align: right;
    float:none;
    width:560px;
    margin-left:155px;
}

.comments_list {
    margin: 10px 0px 0px 0px;
}

.comment_row {
}

.comment_row .avatar {
    float: left;
    width: 100px;
    height: 100px;
    padding-right:10px;
    padding-bottom:10px;
}

.comment_row .comment_info {
    float:left;
    width:100%;
    padding-left:140px;
}

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

.order_file dt, .ticket_file dt {
    width: 200px;
}
.order_file dd, .ticket_file dd {
    width: 300px;
}

.tasks_list {
    width: 100%;
    border: 1px solid black;
}

.tasks_list td {
    border: 1px solid black;
}

.taskStatusSelect {
    width: auto;
}

.taskExecuterSelect {
    width: auto;
}

.order_price {
    text-align:right;
    margin-top: 10px;
    margin-bottom: 10px;
}

.order_info_field {
    float: left;    
    width: 140px;

}

.order_info_value {

}

.worktime_header {
    float:left;
}

.worktime_header_links {
    text-align: right;
}

.worktime_info {
    width:100%;
}

.worktime {
    width:300px;
    float:left;
}

.worktime input {width: 40px;}
.workday select {width: auto;}

.workday {    
    margin-left: 310px;
}

.worktime_title {
    text-align:right;
    float:left;
    width: 100px;
    padding-right:10px;  
}

.worktime_value {
    text-align:left;
}

.worktime_holidays {
    float: left;
    width:400px;    
}

.worktime_shortworkdays {
    margin-left:400px;
}

.holidays {
    color: red;
}

.shortworkdays {
}

.queue-order {
    padding-top: 15px;
    padding-left: 20px;
}

.queue-task {
    padding-left: 40px;
}

.queue-order-urgent {
    color: red;
    font-weight: bold;
}

.queue-order-pause {
    color: red;
    font-weight: bold;
}

.order-info {
    padding-top: 10px;
    padding-left: 10px;
}

.finance_left {
    text-align:left;
    width:500px;
    float: left;
}

.finance_left input[type="text"] {
    width: 75px;
}

.finance_left a {
    color: black;
    text-decoration: none;
    font-weight: bold;
}

.finance_left a.active {
    color: #105998;
    font-weight: normal;
}

.finance_left a.hidden {
    color: #AAA;
    text-decoration: none;
    font-weight: normal;
}

/* Правила для Internet Explorer */
input { width:expression(this.type=='text' ? '75px' : ''); }

.finance_right {
    text-align:right;
    width: 250px;
    padding-left:435px;
}

a.user-link {
    color: #0A3A50;
    font-size:20px;
    text-decoration: none;
}

a.user-link:hover {
    text-decoration: underline;
}

tr.closed td {color: #888888;}
tr.unsigned td {color: red;}

.company-balance {
    margin: -10px 0 20px 0;
    text-align: right;
}

.archive_left {
    text-align:left;
    width:250px;
    float: left;
}
.archive_right {
    text-align:right;
    width: 350px;
    padding-left:300px;
}

.archive_left input[type="button"] {
    width: 25px;
}
.archive_left input[type="text"] {
    width: 75px;
}

/* Правила для Internet Explorer */
input { width:expression(this.type=='button' ? '25px' : ''); }
input { width:expression(this.type=='text' ? '75px' : ''); }


.project_archive .unusual_order {
    background-color: gray;
}

.user_list {    
    float:left;
    margin: 5px 0px 5px 0px;
}

.user_list > .user_info {
    margin: 0 0 0 15px;
    width: 240px;
    float:left;
}

.user_list > .user_info > .user_info_field {
    float: left;
    width: 80px;
}

.user_list > .user_info > .user_info_value {
    float: left;
    width: 160px;
}

.user_list > .user_role {
    float: left;
    width: 100px;
}

.user_list > .user_balance {
    float: left;
    width: 100px;
}

.user_list > .user_debt {
    float: left;
    width: 100px;
}

.move_keyword {
    font-size: 14px;
    text-decoration: none;
}
.pos_ordered_action_spn input {
    margin: 0pt; padding: 0pt; vertical-align:bottom;
}

.fin_report {
}

.fin_report .income {
    background-color: #FF8F8F;
}

tr.order_type_1 {
    background-color: #AFFFAF;
}
tr.order_type_2 {
    background-color: #FFE1E1;
}
tr.order_type_3 {
    background-color: bisque;
}
tr.order_type_4 {
    background-color: #C1F9C1;
}
tr.order_type_13, tr.order_type_12, tr.order_type_11 {
    background-color: #AFCBE2;
}

.finance_filter {
    width:100%;
}
.finance_filter .filter_row .filter_row_floatable {
    float: left;
}

.finance_filter .filter_row .contragent_row {
    padding-left: 80px;
}

.finance_filter .filter_row .item {
    padding-left: 10px;
    padding-right: 10px;
}

.finance_filter .filter_row .account {
    padding-left: 10px;
    padding-right: 10px;
}

.finance_filter .control_button {
    margin: 0px 10px 0px 10px;
}

.finance_filter .submit_button {
    width: 100px;
}

.ticket-sub-title {
    margin:  5px 10px 0px 10px;
    float: left;
}

.ticket-added {
    float: left;
    text-align: center;
}

.ticket-info {
    
}

.ticket-left-block {
    float: left;
    width: 300px;
}

.ticket-right-block {
    margin-left: 330px;
}

.ticket-info #edit_buttons {
    width: 100%;
    text-align:center;
}


.ticket_comment_form dt {
    width:400px;

}

.ticket_comment_form dd {
    width:300px;
    margin-left: 405px;
}

.ticket_comment_subform {

    float: left;
}

.ticket_comment_subform dt {
    width: 70px;
}

.ticket_comment_subform dd {
    width:       225px;
    margin-left: 75px;
    text-align:  left;

}

ol.checklist {
    list-style-type: none;
    font-size: 14px;
}

ol.checklist label {
    display: inline;
}

ol.checklist li div.li {
    padding: 7px 7px;
}

ol.checklist li div:hover {
    background-color: #FFFFD7!important;
}

ol.checklist li div.checked, ol.checklist li div.checked label, ol.checklist li div.checked a.checklist-link {
    color: #AAA;
}
ol.checklist li div.checked .checklist-line {
    color: #AAA;
    text-decoration: line-through;
}

ol.checklist li a {
    text-decoration: none;
    font-weight: bold;
}
ol.checklist li a.checklist-link {
    text-decoration: none;
    font-weight: normal;
    color: #333333;
}
ol.checklist li input {
    vertical-align: top;
    margin:0;
}

ol.checklist li div.text {
    text-indent: -16px;
    margin-left: 16px;
}
ol.checklist li ol li div.text {
    text-indent: -26px;
    margin-left: 26px;
}
ol.checklist li div.buttons {
    display: none;
    text-align: right;
    margin: -17px 0 0 0;
    height: 17px;
    overflow: none;
}
ol.checklist li .status-2 span, ol.checklist li .status-2 a.checklist-link {
    color: #008000;
}
ol.checklist li .status-3 span, ol.checklist li .status-3 a.checklist-link {
    color: #008000;
    font-style: italic;
}
ol.checklist li .status-4 span, ol.checklist li .status-4 a.checklist-link {
    color: #ff0000;
}
#checklist-history a {
    color: #000000;
    text-decoration: none;
}
.sub-checklist {
    cursor: pointer;
}
.commentForm {
    width: 330px;
    height: 100px;
}

.tickets-block {
    margin-bottom: 20px;
}

.ticket {
    margin: 0px 0px 10px 0px;
}

.ticket-user {
    width: 100%;
    font-weight: bold;
    font-size: 14px;
    color: green;
    padding-bottom: 3px;
}

.tickets-left {
    width: 50%;
    float: left;
}

.tickets-right {
    width: 50%;
    float: left;
}

.ticket-checkbox {
    float: left;
    width: 20px;
}

.ticket-check-info, .ticket-process-info {
    margin-left: 20px;
    padding-bottom: 6px;
}

.ticket-expand-collapse {
    margin: -7px 0 10px 0;
}


hr.priority-separator {
    width: 80%;
}

.tickets_priority_30 {
    font-size: 105%;
    font-weight: bold;
}

.tickets_priority_20 {
    font-size: 100%;
    font-weight: normal;

}

.tickets_priority_10 {
    font-size: 95%;
    font-weight: normal;
    color: gray;
}

.tickets_priority_10 > .ticket > a {
    font-size: 95%;
    font-weight: normal;
    color: gray;
}

.ticket_due {
    color: red;
}

.balance {
    width: 200px;
    float: right;
    font-family: monospace;
}

.balance-price {
    float:right;
    border-bottom: 1px solid #C0C0C0;
    padding: 2px 0 2px 0;
}

.balance-info {
    border-bottom: 1px solid #C0C0C0;
    padding: 2px 0 2px 0;
}

.hidden {
    display: none;
}

#datepick-div {
    z-index: 9999!important;
}

#tax_edit_form_buttons {
    text-align: center;
}

#tax_edit_form > form > dl > dt{
    width: 45%;
    text-align: right;
    margin-right: 5px;
}
#tax_edit_form > form > dl > dd{
    width:50%;
}

.float-right {
    float: right;
}

.float-left {
    float: left;
}

#user-finance-list {
    /* width: 700px; */
    padding-top: 20px;
}

#user-finance-list .table, #user-finance-list .list {
    width: 100%;
}

#user-finance-summary {
    width: 170px;
    margin-left: 0px;
    float: left;
}

#user-finance-summary p {
    margin: 5px 0px;
}

#user-finance-table {
    margin-left: 170px;
}

#userPayModal, #avatarUploadModal, #changePasswordModal, #updateUserSalaryModal {
    padding: 5px 0px 0px 0px;
    width:420px;
    overflow: hidden;
    display: none;
}
#edit_keyword_comment {
    width: 200px;
}
table.list td a.pink {
    color: #b423f7;
}


.project-tr {
    cursor: pointer;
}

table .inner-table {
    margin: 0;
    padding: 0;
}

table .upd {
    background-color: #e0f4fe;
}

table .old {
    background-color: #f2dede;
}

table .new {
    background-color: #dff0d8;
}

