html,body{font-family: Arial; font-size: 12px}

table.no.sortable td.action{text-align: left}
table.no.sortable td.arrow_bt{background: url(../images/arrow_bt.png)no-repeat right center}
td.arrow_bt{background: url(../images/arrow_bt.png)no-repeat right center}
table.sortable{clear:both;width: 100%; border-collapse: collapse;margin-top: 15px;float:left;margin-bottom: 25px}
table.sortable td{padding: 5px; border: solid 1px #cccccc; text-align: center;}
table.sortable th{padding: 6px 5px;text-align: left;color: #333333;background-color: #f8f8f8; border: solid 1px #cccccc; height:24px;font-size: 12px; font-weight: normal;}
table.sortable th a{color: #333333;}

table.sortable thead th{}
table.sortable thead tr .headerSortDown{background-image: url(../images/sorter/desc.gif); background-repeat: no-repeat;background-position: right center;}
table.sortable thead tr .headerSortUp{background-image: url(../images/sorter/asc.gif); background-repeat: no-repeat;background-position: right center;}
table.sortable thead .headerSortDown, table.sortable thead .headerSortUp {padding-right: 15px; background-color: #8dbdd8!important;cursor: pointer;}
table.sortable thead tr th.sort { padding-right: 15px; background-image: url(../images/sorter/bg.gif);background-repeat: no-repeat;background-position: right center;cursor: pointer;}
table.sortable thead th,table.sortable thead td{background-color: #f8f8f8; text-align: center;}
table.sortable thead td{text-align: center}
table.sortable input{width:80%;margin: auto;height: 22px; font-size: 12px}
table.sortable input[type=checkbox]{width:auto;}
table.sortable select{width:80%;margin: auto;height: 26px; font-size: 12px}
table.sortable .chosen-container * {font-size: 10px; text-align: left;}
table.sortable .chosen-container .chosen-results li {white-space: nowrap; width: auto; padding-right: 17px;}
table.sortable .chosen-container .chosen-results li.not-empty {font-weight: bold;}
table.sortable .chosen-container .chosen-drop {width: auto;}
table.sortable .chosen-container .chosen-search input {height: auto;}
table.sortable input[disabled],.sortable select[disabled]{background-color: #f8f8f8}
table.sortable .noresults{text-align:center;height: 40px}
table.sortable td.action{text-align: right; min-width: 66px}
table.sortable a{text-decoration: none;color: #2f96b4 /*#16b34a*/;font-size: 11px}
table.sortable td.action a {color: #666; font-size: 9px}
table.sortable a.btn{color: #666}
table.details td.comments{padding:0px; text-indent:0px}
table.trans_comments{width:100%;border:0px; text-align:center;border:0px}
table.trans_comments td{border:0px;text-align:center;font-weight: 600;height: 20px}
table.trans_comments td.positive{background-color: #59c47c; color: #ffffff;}
table.trans_comments td.neutral{background-color: #888888; color: #ffffff;}
table.trans_comments td.negative{background-color: #ff6666; color: #ffffff;}
.clear_datepicker {cursor: pointer; margin-left: 2px; }

div.form_row div.stlabel { float: left; width: 30%; padding: 5px; text-align: right;}
div.form_row div.stcontrol { float: left; width: 60%; padding: 5px; position:relative}

input[type="submit"]{
    //inputy nie będą zielone
    /*background-color:#129748; border: 1px solid #09913c; border-radius: 3px; color: #ffffff;height: 26px; line-height: 20px;width: 116px; float:right;margin-right: 5px; cursor: pointer*/
}
.form_row_error input[type="text"],.form_row_error input[type="password"], .form_row_error textarea {background: #f2aeae; border: 1px solid #e32529!important}
div.msg-error { background: #f2aeae; border: 1px solid #e32529!important; padding: 5px; float: left; clear: both; margin-bottom: 15px }
.error_list{font-size: 11px;list-style-type: none; margin:0px; padding:3px;min-height: 14px;color: #f2aeae;}
.error_list li{padding: 0px 3px 0px 3px; margin:0px;line-height: 14px}


/*pager*/
.pager {overflow: hidden; font-size: 11px;}
.pager .navi{float:left;width:16px; height: 16px;cursor: pointer}
.pager .navi.grey {cursor: default}
.pager .navi_page{float:left; width: 140px;text-align:center}
.pager .navi, .pager .navi_page {line-height: 24px; height: 24px;}
.pager .page_size {font-size: 11px;}
.first.grey{background: url(../images/sorter/first_grey.png) no-repeat center center}
.prev.grey{background: url(../images/sorter/prev_grey.png) no-repeat center center;}
.next.grey{background: url(../images/sorter/next_grey.png) no-repeat center center;}
.last.grey{background: url(../images/sorter/last_grey.png) no-repeat center center;}

.first{background: url(../images/sorter/first.png) no-repeat center center;}
.prev{background: url(../images/sorter/prev.png) no-repeat center center;}
.next{background: url(../images/sorter/next.png) no-repeat center center;}
.last{background: url(../images/sorter/last.png) no-repeat center center;}
.page_size{margin-left: 10px}
.reset, .type_reset{border: 1px solid #999a92; color: #000; font-size: 11px; font-family: Arial!important;line-height: 16px; padding:1px 5px 0px 5px;cursor: pointer;}
.reset:hover, .type_reset:hover{text-decoration: none; background: #333;color: #f2f2f2;}
.control{float:left;}

.pager .page_size{
    width: 60px;
    height: 23px;
    margin-bottom: 0px;
}

table.details{border-collapse:collapse;width: 100%;margin-top: 15px;font-size: 12px}
table.details tr{cursor: pointer}
table.details th,table.details td{border: 1px solid #cccccc;background: #ffffff}
table.details th a{font-weight: 400}
table.details th{text-align: right;padding-right: 12px}
table.details td {padding-left: 14px;text-align: left;}
table.details td div.block{position:relative;min-height: 25px;line-height:25px}
table.details td div.block img{position: absolute; top: 7px;left:0px}
table.details td div.block div {display: inline-block;}
table.details th{width: 239px;height: 25px; background:#f8f8f8}

#job_list th {text-align: center; font-weight: normal; color: #666; padding: 0; }
#job_list {table-layout: fixed; margin-top: 10px}
#job_list tr {line-height: 25px; cursor: default}
#job_list tr:hover {cursor: default}
#job_list .job_list_type {width: 59px;}
#job_list .job_list_date {width: 75px; padding-left: 14px; padding-right: 14px;}
#job_list .job_list_date_to {width: 104px; padding-left: 14px; padding-right: 14px;}
#job_list .job_list_assigned_to {width: 90px;  padding-left: 14px; padding-right: 14px;}
#job_list .job_list_action {width: 90px;  padding-left: 14px; padding-right: 14px;}
#job_list .job_list_content {width: auto; padding-left: 14px; padding-right: 14px;}
#job_form_content, .job_form_content {width: 98%}
#job_list #job_form_date_to, #job_list .job_form_date_to {width: 86px; padding-left: 15px;}
#job_list .btn {float: none; display: inline-block; line-height: 14px;}
#job_list  td {border-left: none; border-right: none; border-top: none; padding-left: 14px; padding-right: 14px;}
#job_list  td:first-child {border-left: 1px solid #ccc}
#job_list  td:last-child {border-right: 1px solid #ccc}
#job_list .CRM, #job_table .CRM { background-color: #661BFE; border-radius: 3px; padding: 1px 3px; color: #FFF; font-size: 11px; display: inline-block; width: auto; height: auto; line-height: 14px; }
.CRM_task .fourth-col { font-size: 9px; }
#job_list td {text-align: center;}
#job_list  td.job_content {text-align: left;}
#add_job_row input, #add_job_row textarea { font-size: 11px; }
.edit_job_row input, .edit_job_row textarea { font-size: 11px; }
.job_list_form_container { position: relative; }
.job_form_error_placeholder { display: none; }
.edit_job_row { display: none; }
table tr.edit_job_row td { border-top: 0; }
#job_form_content, .job_form_content { resize: none; }
table.clickable tr { cursor: pointer; }
table.clickable tr.selected { background-color: #E1E0FF; }
#p_calendar {float: left; clear: both; width: auto !important;}
.monthpicker-button.next-year, .monthpicker-button.next-month, .monthpicker-button.prev-year, .monthpicker-button.prev-month {width: 30px}
.monthpicker-button.year-label, .monthpicker-button.month-label { width: 80px; margin: 0 3px}
.monthpicker-header {margin: 0 auto 5px; text-align: center; font-weight: bold; color: #666;}
.monthpicker-row {margin-bottom: 2px}
.monthpicker-container {width: 150px; font-size: 11px; }
#monthpicker { z-index: 999; }
#monthpicker.monthpicker-horizontal.monthpicker-container {
    width: 320px;
    height: 25px;
    position: inherit;
    vertical-align: middle;
    display: inline-block;
}
#monthpicker.monthpicker-horizontal .monthpicker-row {
    float: left;
}
#monthpicker.monthpicker-horizontal .monthpicker-row.year {
    margin-left: 10px;
}

#monthpicker.monthpicker-vertical.monthpicker-container {
    position: inherit;
}

.monthpicker-container.in-filter {
    position: static;
    display: inline-block;
}

.monthpicker-container.in-filter .monthpicker-row {
    margin-bottom: 0;
}

.monthpicker-container.in-filter .monthpicker-row button {
    margin: 1px;
}

.monthpicker-container.in-filter .monthpicker-row button:nth-child(2) {
    margin: 2px 2px;
}

.monthpicker-container button {
    line-height: normal;
    font-size: 11px;
}

.navigation-details {
    margin: auto;
    padding: 0;
    position: relative;
    float: left;
}

.navigation-details .details-btn .img-button {
    cursor: pointer;
}

.navigation-details .details-btn img {
    float: right;
    max-width: none;
}

.navigation-details .details-btn .merger {
    position: absolute;
    top: 36px;
    right: 0px;
    z-index: 11;
    /*box-shadow: 1px 0 0 0px #5DB661, 2px 0 0 0px #F0F0F0, 3px 0 0 0px #5DB661;*/
    box-shadow: 1px 0 0 0px #16ab5f, 2px 0 0 0px #F0F0F0, 3px 0 0 0px #16ab5f;
    display: none;
}

.navigation-details .details-btn {
    padding: 5px;
    float: left;
    display: block;
    z-index: 500;
}

.navigation-details .details-btn-border {
    /*box-shadow: 0 0 0 1px #5DB661, 0 0 0 2px #F0F0F0, 0 0 0 3px #5DB661;   green*/
    box-shadow: 0 0 0 1px #16ab5f, 0 0 0 2px #F0F0F0, 0 0 0 3px #16ab5f;  /* blue */
    border-radius: 2px;
    background-color: #FDFDFD;
}

.navigation-details a {
    margin: 0px;
    padding: 0px;
    border: 0px;

    font-weight: bold;
    color: black !important;
    font-size: 12px !important;
}

.navigation-details ul {
    text-align: left;
    top: 43px;
    right: 0px;
    position: absolute;
    z-index: 10;
    margin: 0 0 0 -1px;
    padding: 0;
    list-style: none;
    /*box-shadow: 0 0 0 1px #5DB661, 0 0 0 2px #F0F0F0, 0 0 0 3px #5DB661;*/
    box-shadow: 0 0 0 1px #16ab5f, 0 0 0 2px #F0F0F0, 0 0 0 3px #16ab5f;
    border-radius: 2px;
    background-color: #F0F0F0;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FDFDFD', endColorstr='#EEF0EF');
    background: -webkit-gradient(linear, left top, left bottom, from(#FDFDFD), to(#EEF0EF));
    background: -moz-linear-gradient(top, #FDFDFD, #EEF0EF);
    display: none;
    width: auto;
}

.navigation-details ul li {
    padding: 3px 10px;
    font-size: 10px;
}

.navigation-details .update {
    display: none;
}


.modal_info{display: none!important}
.modal-params{display:none}

.big_box
{
    width: 285px;
    height: 150px;
    background: -webkit-gradient(linear, left top, left bottom, from(#FDFDFD), to(#EEF0EF));
    border-radius: 5px;
    border: 1px #999a92 solid;
    text-align: center;
    float: left;
    margin-left: 30px;
}
.big_box sup
{
    top: inherit;
    color:black;
}

.big_box .point_count
{
    margin-top: 30px;
    font-size: 55px;
    height: 55px;
    text-align: center;
    font-weight: bold;
}

.big_box .point_count.orange
{
    color: orange;
}

.big_box .point_count.green
{
    color: yellowgreen;
}

.big_box .description
{
    font-size: 18px;
    text-align: center;
}

.big_box .button-section {
    margin-top: 5px;
  display: inline-block;
}

.survey {
    margin-left:50px;
}

.survey .question {
    height:30px;
    font-weight: bold;
}

.survey .answer {
    height:30px;
}

.survey .answer input {
    float:left;
    margin: 5px;
}

.main-bar h3  { font-size: 12px; margin-top: 10px; margin-bottom: 0}


.media-body .media-heading {font-size: 12px; font-family: Arial; font-weight: bold; }
.media-body .media-body-info li, .media-body .media-body-info li a {font-size: 10px; line-height: 20px; font-family: Arial;  }

div.header h1 {font-size: 14px; font-family: Arial; font-weight: bold; line-height: 30px;}

a.btn {font-size: 11px;}

label, input, button, select, textarea {font-size: 12px;}
select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input{
    font-size: 12px
}

.btn24 {
    float: right;
    background: #f1f1f1;
    display: block;
    border: 1px solid #acacac;
    color: #666666;
    /*height: 18px;*/
    line-height: 17px;
    padding: 0px 11px;
    margin-left: 6px;
    text-decoration: none;
    font-size: 11px;
}
.btn24:hover {background: #504e4e; color: #ffffff;text-decoration: none}
.left {float: left;}
.article-list li {margin: 5px 0px;}
#content .outer .inner {padding:0px 20px;}
.pager {margin: 0px;}

#left .user-media a.user-link .user-label {
    background-color: #ff0000 !important;
}

#left .user-media a.user-link .user-label.empty {
    background-color: #09a110 !important;
}

.form_row .span4 label, .form_row .span3 label {margin-top: 5px;}

.triple_date_filter { overflow: hidden;}
.triple_date_filter .month_filter {text-align: center;}
.triple_date_filter .month_filter, .triple_date_filter .day_filter, .triple_date_filter .range_filter, .triple_date_filter .none_filter {float: none; width: 180px; display: inline-block; vertical-align: middle; line-height: normal}
.triple_date_filter .month_filter.hidden, .triple_date_filter .day_filter.hidden, .triple_date_filter .range_filter.hidden, .triple_date_filter .none_filter.hidden { display: none;}

.triple_date_filter .none_filter div {height: 100%; line-height: 21px; text-align: center; color: #666;}
.triple_date_filter .btn { float: none; display: inline-block}
.triple_date_filter a.btn { color: #666 !important;}
.triple_date_filter .calendar_right { width: 115px; margin: auto;}
.triple_date_filter .calendar_right input {width: 101px; border: 1px solid #ccc; height: 15px;}
.triple_date_filter .calendar_right img { top: 2px; right: 15px;}
.triple_date_filter .clear_datepicker { margin-left: 0}
.triple_date_filter .date_filter_to_container {margin-top: 5px;}
.triple_date_filter .btn.active {background-color: #676767; color: #FFF !important;}
.triple_date_filter {margin-top: 0; height: 54px; line-height: 54px; width: 540px; display: inline-block; vertical-align: middle; }

.payout-list-filter {position:relative; margin-bottom: 10px;}
.payout-list-filter .activate_day_filter {display: none; }
.payout-list-filter .activate_range_filter {display: none; }

.form_row_text {margin-bottom: 10px; line-height:30px; }
.blue {color: #2f96b4}


.calendar_right{position:relative;}
.calendar_right img{position: absolute;right: 20px; top: 6px}
.month_filter {display: inline-block; vertical-align: middle;}
.chart_filter {margin-left: 20px; margin-top: 4px;}
.chart_filter label, .chart_filter > div {float: none; display: inline-block; vertical-align: middle; margin-bottom: 0}
#income_chart_form .chart_filter {display: inline-block; vertical-align: middle;}
#statistics_income_chart_type {width: 100%; margin-bottom: 0}
.filter {
    background: rgb(255,255,255);
    background: linear-gradient(to bottom,  rgba(252,252,252,1) 0%, rgba(229,229,229,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 );
    padding: 3px 10px;
    -ms-border-radius: 20px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    width: 97%;
}
.filter > .filter { padding: 0; background: none;}
.filter *,.filter select {font-size: 11px; font-weight: normal;}

#income_tab, #orders_tab {position: relative}

#loader_overlay {background: #eeeeee; opacity:0.8; filter:alpha(opacity=80);position: absolute;top:0px; left: 0px;width: 100%; height: 100%;z-index: 1001;display:none;text-align:center}
#loader_overlay h2{background: #eeeeee; font-size: 18px; }
#loader_overlay img{background: #eeeeee; width: 32px; }
#loader_overlay .container { position: absolute; top: 20%; left: 0; right: 0; width: auto;}


#statistics_income_charts {
    clear: both;
    float: none;
    padding: 10px 0 10px;
}

.group_details {
    height: 62px;
    background: rgb(246,248,249);
    background: linear-gradient(to bottom, rgba(250,250,250,1) 0%,rgba(238,238,238,1) 25%,rgba(250,250,250,1) 50%,rgba(238,238,238,1) 75%,rgba(250,250,250,1) 100%);
    box-shadow: 2px 2px 2px #666;
    border: 1px solid #DADADA;
    color: #666666;
    line-height: 62px;
    font-size: 11px;
    margin-bottom: 15px;
    width: 890px;
}

.group_details > div {
    float: left;
    height: 100%;
}

.group_details > div:first-child {
    width: 146px;
    padding-left: 10px;
    padding-right: 10px;
    border-right: 1px dashed #ff595b;
}

.group_details > div:first-child .fa {
    line-height: inherit;
    float: left;
    margin-top: 1px;
}


.group_details > div:first-child .group_name {
    text-align: center;
    display: inline-block;
    width: 125px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.group_details > div:first-child {
    text-align: center;
}

.group_details > div:first-child .helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.group_details > div:first-child img {
    vertical-align: middle;
    display: inline-block;
    width: 140px;
}

.group_details > div:nth-child(2) {
    width: 290px;
    position: relative;
    height: 100%;
    border-right: 1px dashed #3fc06d;
}

.group_details > div:nth-child(2) .fifty_percent {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    border-right: 1px dashed #fcad2c;
    height: 100%;
}

.group_details > div:nth-child(2) .progress_bar {
    position: relative;
    height: 28px;
    width: 290px;
    border: 1px solid #8dbdd8;
    background-color: gray;
    background-image: url(images/stripe_bg_ccc.png);
    text-align: center;
    margin-top: 17px;
    margin-left: -1px;
    line-height: 28px;
    color: #16ab5f;
    border-radius: 4px;
}

.group_details > div:nth-child(2) .progress_bar .progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 28px;
    background: #8dbdd8;
    background: linear-gradient(to bottom, rgba(141,189,216,1) 0%,rgba(101,159,199,1) 100%);
    border-radius: 4px;
}

.group_details > div:nth-child(2) .progress_bar .value {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
}

.group_details > div:nth-child(3) {
    width: 122px;
    text-align: center;
    border-right: 1px dashed #ccc;
}

.group_details > div:nth-child(3) img {
    vertical-align: middle;
    height: 16px;
}

.group_details > div:nth-child(4) {
    width: 210px;
    border-right: 1px dashed #ccc;
}

.group_details > div:nth-child(4) {
    width: 297px;
    text-align: left;
    border-right: 0;
    padding: 0 10px;
    box-sizing: border-box;
}

.group_details > div:nth-child(4) > label {
    display: inline-block;
    width: 75px;
    vertical-align: middle;
    margin-bottom: 0;
}

.group_details > div:nth-child(4) > input {
    display: inline-block;
    margin: -2px 0 0 0;
    vertical-align: middle;
}



.group_details > div:nth-child(5) {
    width: 98px;
    text-align: center;
    line-height: 30px;
    box-sizing: border-box;
    padding-left: 5px;
}

.group_details > div:nth-child(5) label {
    width: 69px;
    display: inline-block;
    vertical-align: middle;
}

.group_details > div:nth-child(5) label.hidden {
    display: none;
}

.group_details > div:nth-child(5) input {
    display: inline-block;
    vertical-align: middle;
}

.group_details > div:nth-child(5) input.hidden {
    display: none;
}

.chart-floating-labels {position: absolute; background: #FFF; height: 100%; top: 0; left: 0; padding: 0 3px 0 33px; z-index: 99}
.chart-floating-labels span {position: absolute; color: #606060; font-size: 11px; white-space: nowrap;}

#statistics_orders_charts { margin-top: 10px;}
#statistics_orders_charts .hScrollerLeft, #statistics_orders_charts .hScrollerRight {display: none; }
#statistics_orders_charts .hScroller-container:hover .hScrollerLeft, #statistics_orders_charts .hScroller-container:hover .hScrollerRight {display: block; }

#statistics_orders_charts .hScrollerLeft {position:absolute;top:0;left:0; cursor: pointer; width:30px; background: #eee url(/images/arrow-left.png) no-repeat center center; background-size: contain; opacity: 0.9; filter: alpha(opacity = 90); z-index: 100}
#statistics_orders_charts .hScrollerRight {position:absolute;top:0;right:0; cursor: pointer; width:30px; background: #eee url(/images/arrow-right.png) no-repeat center center; background-size: contain; opacity: 0.9; filter: alpha(opacity = 90); z-index: 100}
#statistics_orders_charts .hScrollerLeft.inactive, #statistics_orders_charts .hScrollerRight.inactive {display: none !important;}

span.open_note { display: block; float: right; cursor: pointer; width: 16px; height: 21px; margin-top: 8px;}
span.open_note .img {display: block; width: 16px; height: 21px;}
span.open_note .img.full { background: url('../images/note.png') 0 0 no-repeat; background-size: 100%;}
span.open_note .img.empty { background: url('../images/note_empty.png') 0 0 no-repeat; background-size: 100%;}
.qtip-default { border-radius: 5px; }
input[type="submit"].note_form_submit {background: #f1f1f1; height: 15px; line-height: 15px; margin-bottom: 2px; font-size: 10px; border: 1px solid #acacac; color: #666666; padding: 0px 5px; display: inline-block; cursor: pointer; width: 50px; outline: none; border-radius: 0; }
input[type="submit"].note_form_submit:hover {background: #504e4e; color: #ffffff; text-decoration: none; border-radius: 0px;}
.note_form input[type="text"] { font-size:10.5px; border: none; border-bottom: 1px dotted; width: 250px; outline: 0; color: #666;}
.note_form .label {color: #ccc;}
.qtip-content .modal_loader {position: absolute; top: calc(50% - 12px); left: calc(50% - 12px); width: 24px; height: 24px;}
.note-qtip {min-width: 250px; min-height: 70px; position: absolute; }
.note-qtip .qtip-content {min-height: 70px;}
.note-qtip .span4 {width: 100%; margin: 0;}
.note-qtip .span6 {width: 100%; margin: 0;}

#job_list textarea, #job_list input { margin-bottom: 0}

.calendar_right{position:relative;}
.calendar_right .datepicker{text-indent: 5px}
.calendar_right img{position: absolute;right: 22px; top: 5px; vertical-align: middle;}
.calendar_right::after {
    content: " ";
    position: absolute;
    right: 10px;
    background: transparent url(/images/calendar2.png) no-repeat center center;
    width: 21px;
    height: 20px;
    top: 6px;
}

#contractor_photo, #sf_guard_user_profile_photo { line-height: normal; vertical-align: middle}
.no-padding {padding: 0 !important}
table.sortable td.photo, table.sortable th.photo {width: 50px;}

#job_list .calendar_right img {
    right: 2px;
}

#language_switcher {
    display: inline-block;
    vertical-align: middle;
    margin-right: 18px;
}

#language_switcher li {
    display: inline-block;
    margin-left: 5px;
}

#breadcrumbs {margin: 0; color: white; width: 100%;}
#breadcrumbs li { display: inline; vertical-align: middle}
#breadcrumbs li.breadcrumbs-separator {vertical-align: middle; margin: 0px 5px;}
#breadcrumbs li  a { color: white !important}


.main-bar {border-left: 2px solid #f0f0f0; }
.navbar-inner {border: none !important;}
.search-bar {background-color:#16ab5f; height:51px; }

.head .search-bar .search-bar-inner {
    background-color: white;
    height:49px;
    margin:1px;
    padding-top:0px;
}
.main-search-btn {
    background: transparent;
    height: 21px;
    border: none;
}

.head{background: url(../images/top_back.png) repeat; }

.head .search-bar .search-bar-inner .main-search input[type="text"]{
    border-radius: 20px;
    border: 1px solid #cccccc;
    width: 190px;
}
.head .search-bar .search-bar-inner .main-search #searchBtn {right: 9px; color: gray; font-size: 11px;}
.head .search-bar .main-search{margin-top: 13px;}

.qtip-job {
    border-radius: 0;
    border: 0;
    max-width: 450px;
    padding: 0;
}

.qtip-job .span4, .qtip-job .span6 {
    margin: 0;
    width: 100%;
}

.qtip-job .job_create_header {
    line-height: 32px;
    height: 32px;
    padding-right: 28px;
    padding-left: 11px;
    background: linear-gradient(to bottom, rgba(214,214,214,1) 0%, rgba(228,228,228,1) 100%);
    border: 1px solid #999;
    color: #333;
    font-size: 12px;
    font-weight: bold;
    position: relative;
}

.qtip-job .job_create_header span:first-child {
    width: 410px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: inline-block;
    white-space: nowrap;
}

.qtip-job .job_create_content {
    border-left: 1px solid #cfcfcf;
    border-right: 1px solid #cfcfcf;
    border-bottom: 1px solid #cfcfcf;
}

.qtip-job .job_create_header .x_close_icon2 {
    position: absolute;
    right: 10px;
    top: 11px;
    color: #999;
    font-size: 18px;
    font-weight: bold;
    height: 10px;
    line-height: 10px;
    text-decoration: none;
}

.qtip-job .job_create_header .x_close_icon2:hover {
    color: #666;
}

.qtip-job .qtip-content {
    padding: 0;
    width: 450px;
    overflow: visible;
}

#job_answer_form  .label {
    display: none;
}

#job_answer_form .form_row {
    margin: 0;
}

.qtip-job .job_create_footer .label {
    margin: 0;
    color: #333;
    width: auto;
    margin-right: 20px;
    border-radius: 0;
    text-shadow: none;
    padding: 0;
    font-size: 12px;
    font-weight: normal;
    background: none;
    vertical-align: middle;
}

.qtip-job .job_create_footer .label label {
    margin: 0;
}

.qtip-job .job_create_content input {
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    line-height: 36px;
    padding: 0 10px;
    height: 37px;
    border: 0;
    border-top: 1px solid #cccccc;
    outline: 0;
    border-radius: 0;
    box-shadow: none;
}

.qtip-job .job_create_content input.datepicker {
    text-indent: 0;
    font-size: 11px;
}

.qtip-job .job_create_content [contenteditable] {
    border: 0;
    border-top: 1px solid #cccccc;
    outline: 0;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    height: 225px;
    overflow-y: auto;
}

.qtip-job .job_create_content .label, .qtip-job .job_create_content label {
    display: none;
}

.qtip-job .job_create_content .chosen-container {
    margin: 0;
    box-sizing: border-box;
    box-shadow: none;
    background-image: none;
}

.qtip-job .job_create_content .chosen-container .chosen-single {
    border: 0;
    background-image: none;
    height: 37px;
    line-height: 36px;
    box-sizing: border-box;
    box-shadow: none;
    padding: 0 5px;
}

.qtip-job .job_create_content .chosen-container .chosen-single span {
    padding-left: 5px;
}

.qtip-job .job_create_content #job_form_assigned_to_chosen.chosen-container .chosen-single::before {
    content: "Do: ";
    float: left;
    color: #aaa;
    margin-left: 5px;
}

.qtip-job .job_create_content #job_form_contractor_id_chosen.chosen-container .chosen-single::before {
    content: "Kontrahent: ";
    float: left;
    color: #aaa;
    margin-left: 5px;
}

#job_form_assigned_to_chosen {
    border-bottom: 1px solid #ccc;
}

.qtip-job .job_create_content .chosen-container .chosen-single .search-choice {
    margin-top: 7px;
    margin-bottom: -3px;
}

.qtip-job .job_create_content .chosen-container .search-field .default {
    color: #aaaaaa;

}

.qtip-job .job_create_content .form_row {
    margin-bottom: 0;
    clear:both;
}

.qtip-job .form_row_error .chosen-container .chosen-single {
    background: #f2aeae !important;
    border: 1px solid #e32529!important;
}

.qtip-job .job_create_footer {
    border: 1px solid #cfcfcf;
    background: #f5f5f5;
    height: 36px;
    box-sizing: border-box;
    padding: 0px 9px 0px 5px;
    line-height: 35px;
    border-top: 0;
    clear: both;
}

.qtip-job .job_form {
    margin: 0;
}

.qtip-job .job_create_footer button, .qtip-job .job_create_footer .btn {
    font-weight: bold;
    width: 78px;
    font-size: 12px;
    position: relative;
}
.qtip-job .job_create_footer .form_row {
    margin: 0;
}

.job_create_button.readonly {
    cursor: default;
    background-image: none;
    opacity: 0.65;
    filter: alpha(opacity=65);
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.job_create_button.loading:after {
    content: " ";
    background: url(/images/loader_snake_black.gif) no-repeat;
    background-size: contain;
    height: 16px;
    width: 16px;
    position: absolute;
    top: 5px;
    right: -22px;
}

.qtip-job.loading {
    height: 250px;
    border: 1px solid #cfcfcf;
}

.qtip-job.loading .modal_loader {
    top: 115px;
}

.qtip-job .buttons {
    clear: both;
    overflow: hidden;
}

.qtip-job input, .qtip-job textarea, .qtip-job div[contenteditable] {
    font-size: 11px;
    display: inline-block;
}


.qtip-job div[contenteditable]  {
    margin: 2px 0;
    min-height: 3em;
}

.qtip-job div[contenteditable] .green {
    cursor: pointer;
}

.qtip-job div[contentEditable=true]:empty:not(:focus):before{
    content:attr(placeholder);
    color: #aaa;
}

.qtip-job .form_row_error div[contenteditable] {
    background: #f2aeae;
    border: 1px solid #e32529 !important
}

.qtip-job div[contenteditable] .green {
    padding-right: 15px;
}


.qtip-job .chosen-container {
    font-size: 11px;
    margin: 2px 0;
}

.qtip-job .chosen-container .chosen-results .active-result {
    white-space: nowrap;
}

.qtip-job .form_row {
    margin-bottom: 1px;
}

.qtip-job select {
    width: 202px;
    margin: 2px 0;
}

.qtip-job input {
    line-height: 17px;
}

.qtip-job textarea {
    width: 196px;
}

.qtip-job .label {
    display: inline-block;
    width: 87px;
    text-align: right;
    vertical-align: top;
    margin-top: 3px;
    color: #FFF;
}

.qtip-job input[type="radio"] {
    width: auto;
    vertical-align: top;
    line-height: normal;
}

.qtip-job .radio_list {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.qtip-job .radio_list li {
    display: inline-block;
}


.qtip-job .buttons button {
    vertical-align: top;
    width: auto;
    white-space: nowrap;
}

.qtip-job .buttons button img {
    margin-left: 10px;
}

.qtip-job .qtip-tip {
    border-color: #999 !important;
}

label.Z, span.Z, .events-list .Z span:first-child {
    border-radius: 3px;
    background-color: #fe9900;
    padding: 1px 5px;
    color: #FFF;
    border: 1px solid #16ab5f;
    width: 9px;
}
label[for="job_form_job_type_id_Z"]{
    border-radius: 3px;
    background-color: #fe9900;
    padding: 1px 5px;
    color: #FFF;
    border: 1px solid #16ab5f;
    width: 9px;
    font-size: 12px;
    line-height: normal;
    vertical-align: middle;
    margin: 0;
}

#job_answer_form {
    margin-bottom: 0;
}

#job_answer_form_assigned_to_chosen {margin: 0;}
#job_answer_form_assigned_to_chosen .chosen-single {
    border: 0;
    box-shadow: none;
    background: none;
    border-left: 1px solid #cfcfcf;
    border-right: 1px solid #cfcfcf;
    border-bottom: 1px solid #cfcfcf;
    box-sizing: border-box;
}

.job_answers_viewport {
    height: auto;
    box-sizing: border-box;
    overflow-y: auto;
    color: #FFF;
    display: none;
    font-size: 12px;
}

.job_answers_viewport.has_answers {
    height: 200px;
    display: block;
}


.job_answers_viewport.no_answers {
    height: 200px;
    display: block;
    border-top: 1px solid #cfcfcf;
    color: #666;
    padding: 10px;
}

.job_answers_viewport:empty {
    height: auto;
}

.job_answers_viewport .job_answer {
    overflow: hidden;
    clear: both;
    padding: 5px 12px 10px 5px;
}

.job_answers_viewport .job_answer.even {
    background-color: #f0f0f0;
}


.job_answers_viewport .job_answer .content {
    border-radius: 3px;
    border: 1px solid #a8a8a8;
    width: 360px;
    color: #666;
    padding: 8px 6px;
    background-color: #fff;
    box-sizing: border-box;
}

.job_answers_viewport .job_answer .info {
    clear: both;
    margin-bottom: 4px;
    color: #666;
}

.job_answers_viewport .job_answer.left .info, .job_answers_viewport .job_answer.left .content  {
    float: right;
}

.job_answers_viewport .job_answer.right .info, .job_answers_viewport .job_answer.right .content {
    float: left;
}

.job_create_answer .span4, .job_create_answer .span2 {
    display: none;
}

.job_answer .content.green {
    background-color: #e8fde7;
}

#job_answer_form_content {
    width: 100%;
    box-sizing: border-box;
    height: 140px;
    border: 1px solid #cfcfcf;
    border-top: 0;
    outline: 0;
    resize: none;
    padding: 10px;
    box-shadow: none;
    border-radius: 0;
    margin: 0;
}
#job_answer_form_content:focus {
    outline: 0;
    box-shadow: none;
    border: 1px solid #cfcfcf;
    border-top: 0;
}


.event-messages-button {white-space: nowrap}
#job_table .job_done { margin-bottom: 2px;}

#admin_photo_form .span4 {width: 50px;}
#admin_data_form .span4 {width: 70px;}
#admin_password_form .span4 {width: 80px;}
.user-link img {
    max-width: 60px;
    max-height: 60px;
    vertical-align: middle;
}


.modal-footer { background: transparent; clear:both;}

.status-container { font-size: 9pt; border: 1px solid; background-color: #99cdff; margin: 10px auto; color: #3563d3; font-weight: bold; padding: 1px;}
.status-container a {font-size: 9pt;}
.status-container .container .icon { float:left; width: 30px; height: 20px; background: url(../images/info.png) center center no-repeat; background-size: 20px 20px}
.status-container .container .content {float: left; padding-right: 15px;}
.status-container .container {overflow: visible; padding:0; line-height: 20px;}
.status-container.status-success .icon {background-image: url(../images/accept.png); background-size: 20px 20px; height: 30px; margin-top: -10px;}
.status-container.status-error .icon {background-image: url(../images/warning.png)}
.status-container.status-info .icon {background-image: url(../images/info.png)}
.status-container.status-success {color: #2bbc5a; background-color: rgba(150, 255, 150, 0.6)}
.status-container.status-error {color: #fff; border-color: #ff5353; background-color: #FF7170}
.status-container.status-error a {color: #fff; }
.status-container.status-info {color: #16ab5f; background-color: rgba(55, 152, 228, 0.6)}
.status-container.status-note {color: #F87D0B; background-color: rgba(248, 125, 11, 0.5); margin-top: -15px; margin-bottom: 15px;}
.status-container.status-note .content {color: #000; font-weight: normal; float: none;}
.status-container.status-note .icon {background-image: url(../images/note.png)}
.status-container .hide {float: right; margin-right: 5px; cursor: pointer}
.status-container.hide { display: none; }
.status-container.mainpage { position: absolute; top: -20px; left: 195px; width: 752px; margin-top: 4px }
.status-container.mainpage.status-success {background-color: rgba(150, 255, 150, 0.95)}
.status-container.mainpage_error { position: absolute; top: -20px; left: 195px; width: 752px; margin-top: 4px; z-index: 1 }
.status-container .status-close {position: absolute; right: 2px; top: -5px; cursor: pointer;}

form input[type="file"] {
    line-height: normal;
    vertical-align: middle;
}
div.attachment_widget {
    border-bottom: 1px solid #ccc;
    margin-bottom: 5px;
}

div.attachment_widget:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

div.attachment_widget label {
    display: inline-block;
    vertical-align: middle;
}

div.attachment_widget input[type="checkbox"] {
    vertical-align: middle;
    margin-bottom: 5px;
    margin-top: 0;
}

div.attachment_widget input[type="file"] {
    height: 25px;
}

td.arrow_bt{background: url(../images/arrow_bt.png)no-repeat right center}

.job-list-filter {position:relative; margin-bottom: 10px;}
.job-list-filter .activate_day_filter {display: none; }
.job-list-filter .activate_range_filter {display: none; }
.job-list-filter label {display: inline-block; vertical-align: middle; margin: 0}
.job-list-filter select {display: inline-block; vertical-align: middle; margin: 0}

.ellipsis150 {display: inline-block; cursor: pointer; overflow: hidden; text-overflow: ellipsis; vertical-align: middle }
table tr.red-highlight td:nth-child(2){
    color: #da4f49;
}

div.required {background: url(/images/star_blue.png) center center no-repeat; height: 17px; width: 17px; position: relative; left: -19px; float: left;}



article{
     text-align: justify;
    text-justify: inter-word;
}

div#footer {color: #CCCCCC ; background-color: white; border-top: 1px solid #CCCCCC; font-size: 11px; font-family: Arial;text-align: center}
div#footer .footer_info {text-align: center; margin-top: 13px;}

.contact_message_cnt {
    background-color: red; color: white;top: 11px;
    position: absolute;
    right: 20px;
}

form#invoice_income .chosen-container  {width: 220px !important;margin-bottom: 10px;}

form#invoice_income .chosen-container .chosen-single{
    height: 30px;
    line-height: 30px;
}

.invoice_position input, .invoice_position select {
    margin-bottom: 0;
}

form#invoice_income [class*="col-"]:first-child {padding-left: 0}

form#invoice_income .chosen-container-single .chosen-single div b {background: url('images/chosen-sprite.png') no-repeat 2px 6px}

form#invoice_cost .chosen-container  {width: 220px !important;margin-bottom: 10px;}

form#invoice_cost .chosen-container .chosen-single{
    height: 30px;
    line-height: 30px;
}
form#invoice_cost .chosen-container-single .chosen-single div b {background: url('images/chosen-sprite.png') no-repeat 2px 6px}

#netto_brutto_switch .selected {
    color: #16ab5f;
    font-weight: 600;
}
#netto_brutto_switch span {cursor: pointer}

.contractor_raport {float:right;}
.contractor_raport img {height: 40px;}

.contractor_report_description{float:right;margin-top: 10px;margin-right: 10px}


.salesman_raport {float:right;}
.salesman_raport img {height: 40px;}

.salesman_report_description{float:right;margin-top: 10px;margin-right: 10px}

.btn.btn-add {
    position: relative;
    padding: 0px 16px 0px 4px;
    line-height: 20px;
}

.btn.btn-add::after {
    content: " ";
    position: absolute;
    top: 0;
    right: 0;
    margin-right: -10px;
    background: transparent url('/images/plus_circle_green.png') no-repeat center center;
    width: 20px;
    height: 100%;
}

.btn-gradient {
    background: rgb(246,248,249);
    background: linear-gradient(to bottom, rgba(250,250,250,1) 0%,rgba(238,238,238,1) 25%,rgba(250,250,250,1) 50%,rgba(238,238,238,1) 75%,rgba(250,250,250,1) 100%);
    box-shadow: 2px 2px 2px #666;
    border: 1px solid #DADADA;
}

.btn.btn-save {
    position: relative;
    padding: 0px 45px 0px 15px;
    min-height: 35px;
    box-sizing: border-box;
    font-weight: bold;
    text-align: center;
    width: 142px;
}

.btn.btn-save::after {
    content: " ";
    position: absolute;
    top: 6px;
    right: 4px;
    background: transparent url('/images/save.png') no-repeat center center;
    background-size: 24px 24px;
    width: 24px;
    height: 24px;
}

.btn-grey {
    color: #333333;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    background-color: #f5f5f5;
    background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
    background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    *background-color: #e6e6e6;
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    border: 1px solid #bbbbbb;
    border-color: #c5c5c5;
    border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
    *border: 0;
    border-bottom-color: #a2a2a2;
    -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);

}

.btn-grey:hover,
.btn-grey:active,
.btn-grey.active,
.btn-grey.disabled,
.btn-grey[disabled] {
    color: #333333;
    background-color: #e6e6e6;
    *background-color: #d9d9d9;
    background-image: none;
}
.btn-grey:active,
.btn-grey.active {
    background-color: #cccccc \9;
}
.btn-grey:hover {
    color: #333333;
    background-color: #e6e6e6;
    background-image: none;
    -webkit-transition: background-position 0.1s linear;
    -moz-transition: background-position 0.1s linear;
    -o-transition: background-position 0.1s linear;
    transition: background-position 0.1s linear;
}
.btn-grey:focus {
    outline: thin dotted #333;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}
.btn-grey.active,
.btn-grey:active {
    background-image: none;
    -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
    -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
    box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
}
.btn-grey.disabled,
.btn-grey[disabled] {
    background-image: none;
    opacity: 0.65;
    filter: alpha(opacity=65);
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.form-control { font-size: 12px;}
.invoice_positions .form-control {padding: 6px;}
.invoice_positions thead td.col-1 {width: 50px}
.invoice_positions thead td.col-2 {width: auto}
.invoice_positions thead td.col-3 {width: 72px}
.invoice_positions thead td.col-4 {width: 60px}
.invoice_positions thead td.col-5 {width: 60px}
.invoice_positions thead td.col-6 {width: 110px}
.invoice_positions thead td.col-7 {width: 110px}
.invoice_positions thead td.col-8 {width: 90px}
.invoice_positions thead td.col-9 {width: 92px}
.invoice_positions thead td.col-10 {width: 100px}
.invoice_positions thead td.col-11 {width: 90px}
.choose-plan { border: 1px solid #eee; border-left: 0; border-right: 0; margin: 0 0 30px 0; padding: 15px 0 15px 20px}
.text-blue {color: #16ab5f; }
.fee-text {font-size: 12px; margin-top: -5px;}
.plan-title {font-size: 18px; font-weight: normal; color: inherit; margin-left: 10px;}
.plan-title-small {color: #aaa; font-size: 16px; margin-top: 5px; margin-left: 10px;}
.plan-price {font-size: 24px; color: inherit; padding: 14px 14px 0 14px; font-family: Arial, sans-serif}
.plans.btn-group {display: block}
.plans label { float: none !important; display: block; padding: 0; text-align: left; margin-bottom: 20px;}
.plans label .panel {margin: 0}
.plans label.btn.active {box-shadow: none}
.plans label.btn.active .panel {border: 2px solid #16ab5f}
.plans-description { display: none}
.plans-description.active {display: block}
.plans-description h2 { margin: 35px auto }
.plans-description h2:first-child {margin-top: 96px}
.plans-description h2:last-child {margin-bottom: 96px}
.plans-footer { background-color: #f9f9f9; padding: 30px 15px 15px 15px; margin-bottom: 50px;}
.btn.btn-wide {padding: 6px 100px; font-size: 16px; margin-bottom: 10px;}