header .logo img {
    display: inline-block;
}
header .logo .env-name {
    position: relative;
    top: -11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #333333;
    border-right: 3px solid #f57242;
    padding: 4px 10px 4px 6px;
}

header .logo:hover {
   text-decoration: none;
}

#todo_body .btn-default.w-80 {
    width:70px;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

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

.mb16 { margin-bottom:16px; }
.mb10 { margin-bottom:10px; }

.mt5 { margin-top:5px; }

.cronjobs_list .links a {
    display: block!important;
    outline: 0!important;
    padding: 0!important;
    margin: 0!important;
    font-size: 12px!important;
    line-height: 1.4!important;
}

.cronjobs_list table tr {
    min-height: 65px;
    height: 65px;
}

.cron_status_form {
    display:block;
    font-weight:bold;
    color:#fff;
    text-align: center;

    /*height:30px;*/
    /*min-height:30px;*/
}

.cron_status_form div {
    border-radius: 3px;
    width:100%;
    min-width:100%;
}

.cron_status_success {
    background-color:#89cf02;
    padding:5px;
}

.cron_status_finished {
    background-color:#89cf02;
    padding:5px;
}
.cron_status_error {
    background-color:#d75452;
    padding:5px;
}
.cron_status_running {
    background-color:#5bc0de;
    padding:5px;
}
.cron_status_missed {
    background-color:#ffa200;
    padding:5px;
}

.cron_status_pending {
    background-color:#c2c2c2;
    padding:5px;
}

.carriers-table td span {
    cursor:pointer;
    margin-left: 10px;
}

.carriers-table td input {
    margin-top: 0;
    margin-bottom:3px;
    padding-top: 0;
}
.container .controls {
    float: right!important;
}

.container .controls2 {
    float: right!important;
}
.request_page .status>.btn-group {
    margin-right: 19px;
}
.request_page .status .change {
    display: inline-block;
    margin: 6px 0;
    font-size: 12px;
    line-height: 18px;
}

.tree_cont .tree .links {
    display: inline-block!important;
    margin-left:10px!important;
}

.tree_cont .tree .links a {
    padding: 0 3px 0 0!important;
}
/* communication */
.clients_page .message_list2 .message span.label {
    width:56px!important;
}

/*.clients_communication form .has-error {
    border: 1px solid #b60300;
    color: #555!important;
}
.clients_communication form .with-errors {
    color: #b60300;
    matgin-top:5px;
    font-size: 13px;
}*/
.clients_communication form .attachment_list .item {
    margin: 5px 0;
}


.popupUpload .file_input {
    width: 1px;
    height: 1px;
    display: none;
}

.popupUpload a.attach {
    position: absolute;
    cursor: pointer;
    z-index: 100;
}

#ajax-file-upload-url {
    display:none;
}
.clients_communication form .preview-btn {
    /*display:none;*/
}

.clients_communication form .template-parameters {
    display:none;
}
.clients_communication form .not-empty-notice {
    display:none;
    color: #ff0000;
    font-size: 13px;
    font-weight: bold;
    padding: 10px 30px 10px 30px;
}

.clients_page .message_list2 .message .left div {
    word-wrap: break-word!important;
}

#communication a.fcl {
    font-size:13px;
}

#communication .comm-client {
    margin-top: 5px;
}

#communication ul.dropdown-menu.selectpicker li.selected .muted {
    color:#cecece!important;
}

/*#communication .bootstrap-select.btn-group li a:hover {*/
/*color: #fff!important;*/
/*}*/

#communication-note .bootstrap-select.btn-group li a.opt-active, #communication-email .bootstrap-select.btn-group li a.opt-active, #communication-sms .bootstrap-select.btn-group li a.opt-active {
    color:green!important;
    font-weight: bold;
}

#communication-note .bootstrap-select.btn-group li a.opt-active:hover, #communication-email .bootstrap-select.btn-group li a.opt-active:hover, #communication-sms .bootstrap-select.btn-group li a.opt-active:hover {
    color:#fff!important;
}

/*.bootstrap-select ul.dropdown-menu li:first-child {*/
/*display: none;*/
/*}*/

.greenicon,
.yellowicon,
.redicon {
    position: relative;
    float: left;
    color: #ffffff;
    font-size: 10px;
    line-height: 14px;
    text-align: center;
    width: 14px;
    height: 14px;
    font-weight: 700;
    border-radius: 3px 3px 3px 3px;
    -webkit-border-radius: 3px 3px 3px 3px;
}
.greenicon.open,
.yellowicon.open,
.redicon.open {
    margin-left: 10px;
    margin-top: 5px;
    font-size: 14px;
    width: 18px;
    height: 18px;
    padding-top: 2px;
    font-weight: bold;
}
.greenicon {
    background-color: #89cf02;
}
.yellowicon {
    background-color: #ffa200;
}
.redicon {
    background-color: #F00;
}
.text-green {
    color: #89cf02;
}
.text-yellow {
    color: #ffa200;
}
.text-red {
    color: #F00;
}

.opacity-75 {
    opacity: 0.75;
}
.opacity-50 {
    opacity: 0.5;
}

.fivecol {
    display: block;
    height: 25px;
    clear: both;
}

.fivecol .colz {
    float: left;
    min-height: 1px;
}

.white-text {
    color: #FFF;
}
.white-text:hover {
    color: #FFF;
}

table.clickable td:hover {
    cursor: pointer;
}

.infoline .infoline_title {
    width:150px; /* or whatever width you want. */
    max-width:150px; /* or whatever width you want. */
    display: inline-block;
}
.infoline .infoline_title.w-110 {
    width:110px; /* or whatever width you want. */
    max-width:110px; /* or whatever width you want. */
}
.pd-5 {
    padding-left: 5px;
    padding-right: 5px;
}
.suggest_cont.sz38 .btn {
    padding-top: 8px;
    padding-bottom: 8px;
}


.clients_communication {
    padding: 0;
}
.clients_communication .block {
    padding-left: 30px;
    padding-right: 30px;
}
.clients_communication .block:after {
    content: " ";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.clients_communication .block.header {
    background-color: #f5f5f5;
    border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
    padding-top: 24px;
    padding-bottom: 23px;
}
.clients_communication .block .left {
    float: left;
    width: 240px;
}
.clients_communication .block .right {
    float: right;
    width: 570px;
}
.clients_communication .btn-fs30 {
    display: inline-block;
}
.clients_communication .btn-fs30 .btn {
    font-size: 30px;
    line-height: 36px;
    font-weight: 400;
    padding-top: 5px;
    padding-bottom: 5px;
    vertical-align: 0px;
    margin-top: -10px;
    margin-bottom: -10px;
}
.clients_communication .btn-fs30 .btn .caret {
    margin-left: 20px;
}
.clients_communication .label_line + .form-group,
.clients_communication .label_line + .dropdown {
    margin-top: 7px;
}
.clients_communication .form-group {
    margin-bottom: 0;
}
.clients_communication .form-group + .label_line {
    margin-top: 17px;
}
.clients_communication .dropdown + .label_line {
    margin-top: 17px;
}
.clients_communication textarea.h100 {
    height: 100px;
}
.clients_communication textarea.h3 {
    height: 194px;
}
.clients_communication textarea.h4 {
    height: 272px;
}
.clients_communication .btn.w240 {
    width: 240px;
}
.clients_communication .btn.w140 {
    width: 140px;
}
.clients_communication .btn.w100 {
    width: 100px;
}
.clients_communication .btn + .btn {
    margin-left: 30px;
}
.clients_communication .twoinputs:after {
    content: " ";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.clients_communication .twoinputs .left2 {
    float: left;
    width: 410px;
}
.clients_communication .twoinputs .right2 {
    float: right;
    width: 240px;
}
.clients_communication .twoinputs + .label_line {
    margin-top: 17px;
}
.clients_communication .col240 {
    width: 240px;
    margin: 0 auto;
}
.clients_communication .cols:after {
    content: " ";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.clients_communication .col260fl {
    width: 260px;
    float: left;
}
.clients_communication .col260fl + .col260fl {
    margin-left: 20px;
}
.clients_communication .fs1824 {
    font-size: 18px;
    line-height: 24px;
}
.clients_communication .input-group .input-group-btn .btn {
    padding: 8px 12px;
    height: 38px;
}

.message_list2 .message span.label {
    width: 56px!important;
}
.status_btn {
    color: #ffffff !important;
    border: 0;
    padding: 9px 15px 9px 12px;
    text-shadow: none;
}
.status_btn .caret {
    border-top-color: #ffffff;
}

.form-group .radio-label:not(:nth-of-type(1)) {
    margin-left: 20px;
}

.trigger_expand_block .trigger small {
    font-size: 65%;
    line-height: 65%;
}
.trigger_expand_block .trigger-left-col {
    padding: 24px 5px 23px 30px;
    width: 23%;
    float: left;
}
.trigger_expand_block .trigger-right-col {
    padding: 24px 50px 23px 5px;
    width: 77%;
    float: right;
}

.message_list2 .message .left div {
    word-wrap: break-word!important;
}

.has_loadify2 {
    position: relative;
}
.has_loadify2 > * {
    opacity: 0.2;
}
.has_loadify:before {
    content: '';
    opacity: 1;
    position: absolute;
    /*width: 30px;*/
    /*height: 30px;*/
    top: 0;
    left: 0;
    z-index: 120;
    background-image: url("../img/design/new_loader.svg")!important;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: 50% 68px;
    background-size: 30px 30px;
}
.has_loadify2:before {
    content: '';
    opacity: 1;
    position: absolute;
    /*width: 30px;*/
    /*height: 30px;*/
    top: 0;
    left: 0;
    z-index: 120;
    background-image: url("../img/design/new_loader.svg");
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: 50% 68px;
    background-size: 30px 30px;
}



.table-filters .afterfilter_options .filter_clear_line .hide_filters_btn {
  margin-left: 15px;  
  display: inline-block;
  color: #777777;
  font-size: 14px;
  line-height: 17px;
}

.table-filters .w-65 {
    width: 65px;
}

.search_cont_with_type {
    display: inline-block;
    width: 384px;
    margin-right: 10px;
    vertical-align: top;
}

.search_cont_with_type .form-control {
    padding: 6px 12px;
    height: 34px;
}

.search_cont_with_type .input-group-btn .btn {
    padding-left: 0;
    padding-right: 0;
    width: 34px;
}

.search_cont_with_type.searched .input-group-btn .search_button:before {
    content: '\f00d';
    font-family: 'FontAwesome';
}

.search_cont_with_type.searched .input-group-btn .search_button .fa {
    display: none;
}
.table-twocol.attach > tbody > tr > td:last-child {
    text-align: left;
}
.table-twocol.attach > tbody > tr + tr > td {
    padding-top: 7px;
}
.table-twocol.attach > tbody > tr > td + td {
    padding-left: 0;
}
.attach .attachment_upload_button {
    position: absolute;
    right: 15px;
    margin-top: -25px;
}
.attach.addit .attachment_upload_button {
    margin-top: -35px;
}
.attach.addit .form-group {
    margin-bottom: 0;
}
.add-another-document {
    float: right;
    position: relative;
    padding-top: 20px;
    right: -15px;
}
.additional-document-element.upload-block td {
    padding-bottom: 5px;
}
.fileline {
    margin-bottom: 8px;
}
.fileline .sp8 {
    display: none;
}
.text-align-right {
    text-align: right;
}
.todo_col2 {
    position: relative;
}
.form-group .btn-group.bootstrap-select.documentType {
    width: 220px !important;
}
.upgradable-document-row .attachment_upload_button {
    margin-top: 7px;
    position: static;
}


.bank-statement-period .input-group{
    float: left;
}
.bank-statement-period:nth-child(odd){
    text-align: center;
}
.bank-statement-period label{
    font-weight: normal;
    line-height: 36px;
}

#calc_form .money-currency {
    display: none;
}

.bank-statement-period .input-group{
    float: left;
}
.bank-statement-period:nth-child(odd){
    text-align: center;
}
.bank-statement-period label{
    font-weight: normal;
    line-height: 36px;
}

.footer-controls {
    float: right;
    font-size: 0;
    line-height: 0;
    margin-right: -10px;
    margin-left: 60px;
}
.footer-controls > .btn {
    margin-right: 10px;
    padding: 6px 30px;
    vertical-align: top;
}

#plan .invalid {
    border-color: red;
}

#plan #calculate {
    float: right;
}
#plan .plan-item, #plan .plan-table{
    margin-bottom: 15px;
}
#plan .plan-item{
    width: 55%;
}
#plan .plan-table{
    display: none;
}
#plan .plan-item:last-child {
    margin-bottom: 0;
}
#workflow_overview_form .form-group{
    margin-top: 20px;
}
form[name="payment_plan"] #blockComment {
    margin-top: 0;
}
.debt_collection_block #blockComment {
    margin-top: 15px;
}
.debt_collection_block #blockPaymentMethod {
    margin-top: 15px;
}
#settlement #amountToPay, #settlement #discountError{
    font-size: 15px;
    font-weight: bold;
    margin: 10px 0;
    display: block;
}
#maxSettlementPercent {
    font-size: 15px;
    font-weight: bold;
    color: #e8483b
}
#debt_form_html .color-danger.errors{
    margin-top: 7px;
}
.form-inline .form-group {
    margin-right: 15px;
}
.form-inline .form-control{
    width: 100%;
}
.form-inline .form-control{
    margin-top: 7px
}
.form-inline .submit button {
    height: 38px;
    padding-left: 18px;
    padding-right: 18px;
}
.form-inline .btn-group {
    vertical-align: bottom;
}

.add-ending-red-asterix::after {
    content: ' *';
}

.add-ending-red-asterix:after {
    color: red;
    position: absolute;
    margin-left: 4px;
}

.form-control[disabled]{
    opacity: 0.5;
}

.no-pointer-events{
  pointer-events: none;
}
.no-pointer-events input, .no-pointer-events select{
  background: #f5f5f5;
}

.todo-disabled {
    cursor: not-allowed;
    pointer-events: none;
}

.todo-disabled-element-enabled {
    cursor: pointer;
    pointer-events: all;
}

.ml10 {
    margin-left:10px;
}
.w54 {
    width:54px;
}

.spinner-small {
    background: url("/img/design/loader-16px.gif");
    position:relative;
    top:3px;
    display: inline-block;
    width:16px;
    height:16px;
}
form[name="invoice_termination_form"] label{
    font-weight:400;
}

.w40p {
    width:40% !important;
}
.w60p {
    width:60% !important;
}
.fs-10 {
    font-size:10px;
}
.w300 {
    width:300px;
}
.w98i {
    width:98px !important;
}

.nopadding {
    padding: 0;
}

.border-right-gray {
    border-right: 1px solid #DDDDDD;
}
.cash-flow-btn {
    text-align: center;
    min-width: 166px
}

.pl-5 {
    padding-left: 5px;
}

.limegreen-bold-text {
    color: limegreen;
    font-weight: bold;
}

.red-bold-text {
    color: red;
    font-weight: bold;
}


.manage-day-table {
    text-align: center;
    border: 1px solid #CCCCCC;
}

.manage-day-table > thead {
    background-color: #f5f5f5;
    text-align: center;
}

.manage-day-table > td > span {
    display:block;
    text-align:center;
    margin:0 auto;
}

.background-gray {
    background-color: #f5f5f5;
}

.form-control.open-day {
    border-radius: 0;
    padding: 2px 0 0;
    border: 0;
    height: 100%;
    box-shadow: none;
    text-align: center;
}

.reconcile-td {
    border-right-style: hidden;
    border-left-style: hidden;
    padding-bottom: 10px;
    padding-top: 10px;
}

.btn-default.btn-reconcile {
    width: 100%;
    height: 100%;
    margin-top: 20px;
    margin-bottom: 10px;
}

.limegreen-bold-text {
    color: limegreen;
    font-weight: bold;
}

.red-bold-text {
    color: red;
    font-weight: bold;
}
form[name="invoice_termination_form"] label{
    font-weight:400;
}
.success-label {
    color: green;
    font-weight: bold;
}

.warning-label {
    color: red;
    font-weight: bold;
}

.spinner-small {
    background: url("/img/design/loader-16px.gif");
    position:relative;
    top:3px;
    display: inline-block;
    width:16px;
    height:16px;
}

.w40p {
    width:40% !important;
}
.w60p {
    width:60% !important;
}
.fs-10 {
    font-size:10px;
}

.w300 {
    width:300px;
}
.w98i {
    width:98px !important;
}