﻿body {
    background-color: #2A3F54;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 5px;
}


.dl-horizontal dt {
    white-space: normal;
}

.navbar {
    background-color: #fff;
}

.navbar-nav li.active {
    background-color: #eee;
}

.menu {
    border-bottom: 3px solid #ddd;
}

.navbar-header {
    background-image: url('images/vectio.png');
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain;
}

.navbar-header a {
    padding-left: 85px;
    display: block;
    color: #fff;
    font-weight: bold;
    height: 80px;
}

.navbar-nav > li > a {
    padding: 15px 5px;
}

.menu {
    font-size: 18px;
    margin-top: 30px;
}

#loading {
    width: 32px;
    height: 50px;
    background-image: url('images/loading.gif');
    background-position: center center;
    background-repeat: no-repeat;
    display: none;
}

.quantity-control {
    min-width: 7em;
}

.quantity-edit {
    min-width: 3em;
}

.quantity-control button {
    display: inline-block;
    width: 2em;
}

.quantity-control .quantity-value, .quantity-edit .quantity-value {
    width: 3.5em;
    display: inline-block;
}

.quantity-control .form-control, .quantity-edit .form-control {
    height: inherit;
    padding: inherit;
    padding-left: 5px;
}

.alert-bar {
    padding: 5px;
    margin: 10px 20px;
    border-radius: 4px;
    border: 1px solid transparent;
}

.numbers {
    text-align: right;
}


.navbar-right {
    margin-right: 0;
}

.table > thead > tr > th {
    vertical-align: bottom;
}

/*#psf label, #psf input, #psf select {
display: inline-block;
width: 100%;
}
#psf .form-group {
display: inline-block;
width: 22%;
}
#psf label {
display: block;
}*/

select.input-xs {
    height: 22px;
    line-height: 22px;
    padding: 2px 2px;
    font-size: 12px;
}

.btn-pay {
    background-image: url(images/przelewy24_loga_04.png);
    background-position: center center;
    background-repeat: no-repeat;
    width: 113px;
    height: 55px;
}

.btn-xl {
    width: 90%;
    padding: 3%;
    display: block;
    margin: 1%;
    font-size: 22px;
}

.form-group {
    margin-bottom: 5px;
}

.table-editor tbody td {
    padding-left: 5px;
    padding-right: 5px;
}

.form-control.input-width-6 {
    width: 6em;
}

table.table-layout {
    margin: 0;
    padding: 0;
}

table.table-full-width {
    width: 100%;
}

table.table-fixed {
    table-layout: fixed;
}



.order-status > div {
    width: 100%;
    height: 100%;
}

.order-status-new {
    background-color: lawngreen;
}

.order-status-pending {
    background-color: aqua;
}

.order-status-sent {
    background-color: burlywood;
}

.order-status-cancelled {
    background-color: slategrey;
}

.order-status-completed {
    background-color: none;
}

#pickClient {
    width: 100%;
}

.context-bar > div {
    display: inline-block;
}

.sl-item {
    margin-bottom: 2px;
    padding: 5px;
    border: 1px solid #ddd;
}

.attachments {
    padding: 0.5em;
    margin: 1em 0;
}

.attachment-list-item {
    display: inline-block;
    width: 48%;
    margin-bottom: 5px;
}


.inline-blocks-container > div {
    display: inline-block;
}

.scrollable {
    max-height: 350px;
    overflow-y: auto;
}

.scrollable-tall {
    max-height: 550px;
    overflow-y: auto;
}



.table-condensed td, .table-condensed th {
    border: 1px solid #ccc;
}

.tab-content > .tab-pane {
    margin-top: 0.5em;
}

.table-numbered tbody {
    counter-reset: line-number;
}

.table-numbered tbody tr {
    counter-increment: line-number 1;
}

.table-numbered tbody tr td:first-child {
    text-align: right;
}

.table-numbered tbody tr td:first-child:before {
    content: counter(line-number);
}

table.table-condensed th, table.table-condensed td {
    padding: 2px;
    font-size: 12px;
    vertical-align: middle !important;
}

table td[title], table th[title] {
    cursor: help;
}

.remarks-sign {
    font-size: 1.2em;
    vertical-align: sub;
    color: darkorange;
    cursor: help;
}

h1, .h1, h2, .h2, h3, .h3 {
    margin-top: 0px;
    margin-bottom: 10px;
}

.popover {
    width: 100%;
}

.progress {
    height: 3em;
}

.progress-bar {
    font-weight: bold;
    font-size: 1.5em;
    padding-top: 0.5em;
    color: #333;
}

.btn-group-vertical {
    display: block;
}

.spacer-bottom {
    margin-bottom: 2px;
}

.period-picker-dates.off {
    display: none;
}

.period-picker-buttons.off {
    display: none;
}



.period-picker-from, .period-picker-to {
    width: 7em !important;
}

.period-picker-buttons .active, .period-picker-buttons .active.focus, .products-filter .active.focus, .products-filter .active {
    color: #fff;
    background-color: #337ab7;
}
.period-picker-buttons label, .period-picker-buttons button {
    width: 20% !important;
}
label.hidden {
    display: none !important;
}



.table-super-condensed tbody tr td {
    padding: 1px;
}

.table-super-condensed tr th {
    background-color: #eee;
}


body .container.body .right_col {
    background-color: #fff;
}

.nav-top-title {
    display: inline-block;
    padding-top: 10px;
}

.toggle {
    width: 50px;
}

.top_nav .navbar-right {
    width: inherit;
}

.nav_menu {
    margin-bottom: 0;
}

.nav_title {
    height: 62px;
}

.dt-wrapper {
    width: 100% !important;
}

.filter-label {
    font-size: 14px;
    font-weight: 600;
}

.separator {
    margin: 0.4em 0;
}

.x_title {
    margin-bottom: 0;
    padding: 0;
}

.panel_toolbox {
    min-width: 0;
}

.bricks {
}

.brick {
    height: 100px;
    padding: 0.2em;
    margin: 0.2em;
    background-color: #eee;
    border: 2px solid #ddd;
}

.brick h3 {
    font-size: 14px;
    font-weight: 400;
}

.brick h2 {
    font-size: 16px;
    font-weight: 700;
}

.brick a {
    text-decoration: underline;
}

.tile_count .tile_stats_count .count {
    font-size: 20px;
}

.period-picker button {
    margin-right: 0;
}

.count_top {
    font-size: 15px !important;
}

.mainReportHeader {
    float: left;
    font-size: 16px;
}

.mainReportHeader-nav {
    font-weight: 700;
    margin-right: 1em;
}

.input-clearable {
    position: relative;
}

.input-clearable a {
    position: absolute;
    right: 5px;
    top: 0;
    z-index: 5;
    font-size: 2em;
}

.input-clearable .easy-autocomplete input {
    padding-right: 2em;
}

.shortened {
    text-overflow: ellipsis;
}


#attachments {
    list-style-type: none;
}

.tag, span.tag {
    border: 1px solid #ddd;
    display: inline-block;
    padding: 2px 10px;
    margin: 2px 1px;
    background-color: #ffe;
    color: grey !important;
}

.tag:hover, span.tag:hover {
    background-color: #ffc;
}
#attachmentPreview {
    width: 100%;
    height: 700px;
}
.attachment {
    border: 1px solid #ddd;
    width: 100%;
    display: inline-block;
    padding: 2px 10px;
    margin: 2px 1px;
    background-color: #f4fffd;
    overflow: hidden;
    text-overflow: ellipsis;
}
.preview-doc {
    width: 100%;
    height: 100%;
}

.remove-btn {
    font-weight: bold;
    font-size: 16px;
    display: inline-block;
    margin: 0;
    padding: 0;
}

.remove-btn:hover {
    text-decoration: none;
}

.btn-full {
    width: 100%;
  
    height: 3em;
    font-size: 1.2em;
    
    margin-left: auto;
    margin-right: auto;
    padding-top: .8em;
}
.btn-half {
    width:100%;
    height: 3em;
    font-size: 1.2em;
    margin-left: auto;
    margin-right: auto;
    padding-top: .8em;
}
.btn-rejectModal {
    width: 100%;
 

    margin-bottom: 5px;
    margin-right: 5px;
}

.btn-xl {
    height: 100px;
    display: block;
    padding-top: 35px;
    font-size: 22px;
    margin-top: 1em;
}


.sl-item {
    border: 1px solid #ddd;
    padding: 4px;
}

.tag-field {
    /*width: 90% !important;*/
}

.strong {
    font-weight: bold;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.datepicker {
    z-index: 2000;
}

input.datepicker {
    width: 7em;
}

.alert-bar {
    padding: 5px;
    margin: 0;
    border-radius: 4px;
    border: 1px solid transparent;
}

.alert-small {
    padding: 5px;
    margin-bottom: 5px;
}

.items-container {
    counter-reset: items;
}

.items-container div.alert:before {
    counter-increment: items;
    content: counter(items);
}

.period-picker-buttons.off {
    display: none;
}

.period-picker-buttons .active, .period-picker-buttons .active.focus, .status-filter .active.focus, .status-filter .active {
    color: #fff;
    background-color: #337ab7;
}


.ball {
    width: 16px;
    height: 16px;
    margin: auto;
    padding: 0;
    border-radius: 8px;
  
}

.ball-m {
    width: 24px;
    height: 24px;
  
    border-radius: 12px;
   
}

.ball-0 {
    background-color: #fff;
    border-color: #ccc;
}

.ball-1 {
    background-color: #5cb85c;
    border-color: #4ba74b;
    
}

.ball-2 {
    background-color: #ff0;
    border-color: #ee0;
}
.ball-3 {
    background-color: #d00;
    border-color: #c00;
}

.status-filter label.active, label.bmvc-btn-toggle {
    background: #337ab7;
    color: white;
}

.status-filter label.active.notpaid, label.bmvc-btn-toggle {
    background: #5cb85c;
    color: white;
}

.doctag {
    display: inline-block;
    border: 2px solid #eee;
    padding: 5px;
    margin-bottom: 5px;
    background-color: #ffffff;
}

.doctag:hover, .doctag.on:hover {
    cursor: pointer;
    border: 2px solid #aaa;
}

.doctag.on {
    background-color: #ffffcc;
    border: 2px solid #ccc;
}

.docdefaulttag {
    display: inline-block;
    border: 2px solid #eee;
    padding: 5px;
    margin-bottom: 5px;
    background-color: #ffffff;
}

    .docdefaulttag:hover, .docdefaulttag.on:hover {
        cursor: pointer;
        border: 2px solid #aaa;
    }

    .docdefaulttag.on {
        background-color: #ffffcc;
        border: 2px solid #ccc;
    }

.status-picker label {
    display: block;
}

#documents_filter {
    display: inline-block;
    margin: .5em;
}

.tag-groups.nav > li > a {
    padding: 8px;
    margin-bottom: 4px;
}

.tag-groups .tag-group-move {
    display: inline;
}

div.x_panel[style] .tag-groups .tag-group-move {
    display: none;
}

.dropzone {
    min-height: 97px;
    padding: 0;
    margin-bottom: .5em;
}

label {
    font-weight: normal;
    font-size: 12px;
}

.easy-autocomplete {
    width: auto !important;
}

#tags {
    margin-top: 4px;
}

.btns-algn {
    padding-top: 2em;
}

.table-selectable tbody tr {
    cursor: pointer;
}

.label-placeholder {
    /*margin-top: 23px;*/
}

.amount-field {
    width: 7em;
    text-align: right;
    padding: 6px;
}

.amounts-container {
    position: relative;
    margin: 0 0 5px 0;
}

.amounts-container.on {
    border: 1px dotted #ccc;
    padding: 0 20px 0 5px;
    width: 18em;
}

.amounts-container.off {
    border-color: transparent;
    /*padding-top: 24px;*/
}

.amounts-container.on .ac-button {
    display: none;
}

.amounts-container.off .ac-fields {
    display: none;
}

.amounts-container.on .ac-toggle {
    position: absolute;
    right: 5px;
    top: 5px;
    cursor: pointer;
}

.amounts-container.on .ac-toggle:hover {
    color: #000;
}
button.ac-toggle {
    width: 5em;
}

.party-editor.on{
    border: 1px dotted #ccc;
    padding: 5px;
}

.party-editor.on .pe-buttons{
    display: none;
}
.party-editor.off .pe-fields{
    display: none;
}

.party-editor .form-group label{ width: 30%; display: inline-block;padding-right: 5px;}
.party-editor .form-group input{ width: 68%; display: inline-block;}

.paymentparty-editor.on {
    border: 1px dotted #ccc;
    padding: 5px;
}
.paymentparty-editor.on .pe-buttons {
    display: none;
}

.paymentparty-editor.off .pe-fields {
    display: none;
}

.paymentparty-editor .form-group label {
    width: 30%;
    display: inline-block;
    padding-right: 5px;
}

.paymentparty-editor .form-group input {
    width: 68%;
    display: inline-block;
}



.pe-fields {
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    padding: 5px;
}
.btns-even button {
    width: 99%;


}
.btns-even div{
    display: inline-block;
    padding: 0;
    margin: 0;
}
    .status-picker .btns-even div {
        min-width: 7em;
    }

    .period-picker, .dateType-picker, .status-picker {
        margin: 0 1em 0 0;
        padding: 0;
    }

    .pd-item {
        margin: 0 0 5px 0;
        padding: 1em .5em;
        border: 1px dotted #aaa;
    }

.pd-item:hover {
    border-style: solid;
}
.pd-item .pd-name {
        
}

.pd-item .pd-controls{
        
}

.ap-item {
    padding: .5em;
    margin: .5em 0;
    border: 1px dotted #ccc;
    /*background-color: rgba(238, 238, 117, 0.93);*/
}

#costsContainer {
    counter-reset: costsCounter;
}
#costsContainer .ap-item {
    counter-increment: costsCounter;
}

    #costsContainer .ap-item .counter:after {
        content: counter(costsCounter);
    }

#incomesContainer {
    counter-reset: incomesCounter;
}
    #incomesContainer .ap-item {
        counter-increment: incomesCounter;
    }

        #incomesContainer .ap-item .counter:after {
            content: counter(incomesCounter);
        }

        .a-active {
            font-weight: bold;
            
        }
        .attachment a {
            display: inline-block;
          
        }
        .a-name {
           width: 70%;
        }
        .a-icon {
            width: 5%;
        }


.sp-control {
    /*border: 1px dotted #ccc;*/
    padding: 2px 5px;
    display: inline-block;
}

.sp-control>div {
    text-align: center;
        
}
.sp-control>div>div {
    display: inline-block;
   }


.sp-control>div> div:hover i {
    opacity: 1;
}
.sp-control.sp-read-only > div > div:hover i.fa-circle {
    opacity: .5;
}

.sp-control.sp-read-only>div>div i.fa-circle {
    display: none;
}

.sp-control div i {
    display: block;
    margin-top: -2px;
    cursor: pointer;
    color: #666;
}
.sp-control.sp-read-only div i {
    cursor: inherit;
}
         

.sp-control div i.fa-circle {
    opacity: .5;
}
        

.sp-label {
    display: block;
}
.sp-control.sp-read-only .s-0 {
    color: #ddd !important;
}
.sp-control.sp-read-only .s-1, .sp-control .fa-check-circle-o.s-1 {
    color: #4ba74b !important;
}
.sp-control.sp-read-only .s-2, .sp-control .fa-check-circle-o.s-2 {
    color: #ffc400 !important;
}
.sp-control.sp-read-only .s-3, .sp-control .fa-check-circle-o.s-3 {
    color: #c00 !important;
}



.sp-controldetails {
    /*border: 1px dotted #ccc;*/
    padding: 2px 5px;
    display: inline-flex;
}

    .sp-controldetails > div {
        text-align: center;
    }

        .sp-controldetails > div > div {
            display: inline-block;
        }


            .sp-controldetails > div > div:hover i {
                opacity: 1;
            }

    .sp-controldetails.sp-read-only > div > div:hover i.fa-circle {
        opacity: .5;
    }

    .sp-controldetails.sp-read-only > div > div i.fa-circle {
        display: none;
    }

    .sp-controldetails div i {
        display: block;
        margin-top: -2px;
        cursor: pointer;
        color: #666;
    }

    .sp-controldetails.sp-read-only div i {
        cursor: inherit;
    }


    .sp-controldetails div i.fa-circle {
        opacity: .5;
    }


.sp-label {
    display: block;
}

.sp-controldetails.sp-read-only .s-0 {
    color: #ddd !important;
}

.sp-controldetails.sp-read-only .s-1, .sp-controldetails .fa-check-circle-o.s-1 {
    color: #4ba74b !important;
}

.sp-controldetails.sp-read-only .s-2, .sp-control .fa-controldetails-circle-o.s-2 {
    color: #ffc400 !important;
}

.sp-controldetails.sp-read-only .s-3, .sp-control .fa-controldetails-circle-o.s-3 {
    color: #c00 !important;
}


#documents tbody tr.selected {
    /*background-color: rgba(187, 156, 46, 0.1);*/
}

div.toolbar {
    display: inline-block;
    border-bottom: 1px solid #ccc;
}
.loading {
    width: 32px;
    height: 32px;
    display: inline-block;
    background-image: url('images/loading.gif');
    background-repeat: no-repeat;
    vertical-align: top;
}

.message {
    display:inline-block;
    margin-left: 1.5em;
}
.bg-block {
    background-color: #eee;

}

.easy-autocomplete-container {
    z-index: 10;
}

.search-party-trigger span.input-group-addon {
    cursor: pointer;
}

.party-editor .input-group {
    width: 68%;
    float: right;
}

.party-editor .input-group input {
    width: 100%;
}


.search-paymentparty-trigger span.input-group-addon {
    cursor: pointer;
}

.paymentparty-editor .input-group {
    width: 68%;
    float: right;
}

    .paymentparty-editor .input-group input {
        width: 100%;
    }

.removed {
    color: #f00 !important;
    text-decoration: line-through;
}

.tile {
    border-left: 2px solid #73879C;
}
.tile-row {
    font-size: 16px;
}
.tile .count {
    font-weight: bold;
}

.checkboxinline {
    position: relative;
    display: block
}
.dtbutton {
    width: 140px;
    float: none !important;
    border-radius: 3px !important;
}
.status-off{opacity:.3!important}
.status-on {
    opacity: 1!important
}
.status-todo {
    color: gray !important
}
.status-in-progress {
    color: #ffc400 !important
}
.status-done {
    color: #4ba74b !important
}
.status-error {
    color: #c00 !important
}
.dropdown-menu {
    font-size: 16px !important;
}