.view-editable > div.panel-heading {
    line-height: 26px;
}


.view-editable div.form-group>label {
    text-align: left;
}

tr.header > td {
    font-weight: bold;
}

td.numeric {
    text-align: right;
}

div.wrap {
    padding-top: 70px;
}


div.wrap > .container {
    padding-top: 0px;
    padding-bottom: 0px;
}

div.page-header {
    margin-top: 0px;
}

div[role="search-result"] {
    overflow-y: auto;
    max-height: 100px;
    padding-left: 15px; 
}

div[role="search-result"] > ul {
    list-style-type: none;
    padding: 0px;
}

div[role="search-result"] > ul > li, 
.dropdown-link,
p.suggestion {
    cursor: pointer;
    cursor: hand;
}

div[role="search-result"] > ul > li:hover {
    color: blue;
}

#crud-offeritem .form-group > label {
    text-align: left;
}

.nav-tabs {
    margin-bottom: 10px;
}

li.action-workflow,
li.workflow,
li.workflow-workaround,
a.glyphicon:not(.btn),
a.fa,
td > span.glyphicon:not(.btn), 
td > span.fa:not(.btn) {
    color: #428bca;
    cursor: pointer;
    cursor: hand;
}

.modal-body td span.fa {
    color: inherit;
    cursor: pointer;
    cursor: hand;
}

li.action-workflow:hover {
    text-decoration: underline;
}

p.dossieritem-message-title,
p.activity-post-title  {
    font-weight: bold;
}

div.dossieritem-message-body,
div.activity-post-body {
    margin-bottom: 5px;
}

p.dossieritem-message-created-by,
p.activity-post-created-by,
p.activity-post-targeted_at {
    font-style: italic;
    font-size: 10px;
    margin-bottom: 0;
}

p.dossieritem-attachment, li.dossieritem-attachment {
    font-size: 10px;
    margin-top: 7px;
    margin-bottom: 0px;
}

.form-horizontal .form-group > label {
    text-align: left;
}

div.agents {
    margin: 5px 0px;
}

div.agents span.icon {
    width: 16px;
}

div.validation-error {
    color: red;
}

/* breakdown layout */

div.offeritem-breakdown  {
    font-size: 13px;
}

div.offeritem-breakdown h3 {
    font-size: 14px;
    font-weight: bold;
}

div.offeritem-breakdown .breakdown-header  {
    font-weight: bold;
}

div.offeritem-breakdown div.price,
div.offeritem-breakdown div.quantity
{
    text-align: right;
}

div.modal-header > div.title {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}

div.offer-unplanned div.title, div.item div.title, div.item-title {
    font-size: 14px;
    font-weight: bold;
}

div.offer-unplanned div.subtitle, div.item div.subtitle, div.item-subtitle {
    font-size: 11px;
}

input.form-control-inline.search {
    width: 400px;
}

/* planning */
div.planning-title {
    margin-top: 30px;
    font-size: 30px;
    font-weight: bold;
}

table.planning {
    border-collapse:collapse;
    border-spacing: 0;
}

table.planning td {
    width: 22px;
    height: 22px;
    border: 1px solid gray;
    padding: 1px;
    font-size: 10px;
}

td.name, th.name {
    width: 250px;
}

td.planned > div {
    margin-top: 5px;
    width: 0px;
    height: 0px;
    border: 6px solid #3333ff;
    display: inline-block;
}

td.planned.mid > div {
//    width: 12px;
    width: 24px;
}

td.planned.start > div {
    border-left-color: transparent;
    width: 4px;
}

td.planned.end > div.head {
    border-color: transparent transparent transparent #3333ff;
    border-right-width: 10px;
}

td.planned.end > div.tail {
    border-left-width: 2px;
}

div.modal-body div.form-horizontal div.form-group label {
    text-align: left;
}

table.planning td.planned.start {
    padding-left: 12px;
    width: 16px;
}


table.planning td.planned {
    width: 24px;
    padding: 1px 0px;
}


table.planning2 {
    margin-top: 20px;
    margin-bottom: 40px;
}

table.planning2 th {
    border: 1px solid gray;
    min-width: 30px;
    max-width: 30px;
    height:26px;
    text-align: center;
}


table.planning2 th.month, table.planning2 th.week {
    text-align: center;
    overflow: hidden;
}

table.planning2 th.code {
    min-width: 120px;
    max-width: 120px;
    padding-left: 1px;
    padding-right: 1px;
}

table.planning2 th.description {
    min-width: 300px;
    max-width: 300px;
    padding-left: 1px;
    padding-right: 1px;
}

table.planning2 td {
    text-align: center;
    border: 1px solid #EEE;
}

table.planning2 td.description, table.planning2 td.code {
    text-align: left;
    padding-left: 5px;
    padding-right: 5px;
}

table.planning2 th.icon, table.planning2 th.code, table.planning2 th.description {
    border: none;
}

table.planning2 th.today {
    background-color: #ff66ff;
    border-left: 2px solid #ff66ff;
    border-right: 2px solid #ff66ff; 
}

table.planning2 td.today {
    border-left: 2px solid #ff66ff;
    border-right: 2px solid #ff66ff; 
}

table.planning2 th.holiday {
    background-color : black;
    color: white;
}

table.planning2 td.late {
    background-color: red !important;
}

table.planning2 td.finished {
    background-color: green !important;
    cursor: default !important;
}

table.planning2 td.selectablei, span.action-label {
    cursor: pointer;
    cursor: hand;
}

table.planning2 td.selected {
    background-color: blue !important;
}

table.planning2 tr.separator > td > div{
    min-height: 10px;
    max-height: 10px;
    background-color: black;
}

tr.filter-hidden, table.filter-hidden, br.filter-hidden, div.filter-hidden,
th.weekfilter-hidden, td.weekfilter-hidden {
    display: none;
}

span.glyphicon.glyphicon-warning-sign.danger,
span.glyphicon.glyphicon-erase.danger {
    color: red;
}

table.table.breakdown {
    font-size: 13px;
}

table.table.breakdown tr.total, tr.row-totals > td {
    font-weight: bold;
    font-style: italic;
}

table.overdue {
    margin-bottom: 50px;
}

table.overdue .code {
    text-align: left;
    width: 125px;
}

table.overdue .description {
    text-align: left;
    width: 400px;
}

table.overdue th, table.overdue td {
    text-align: center;
}

table.overdue td.late {
    background-color: red !important;
}

.gridview_date {
    width: 130px;
}

.gridview_code {
    width: 140px;
}

.gridview_status {
    width: 150px;
}

span.error-feedback {
    font-size: 11px;
    color: red;
}

.modal-hg {
    width: 90%;
}

td.action-column-normal {
    min-width: 100px !important;
}

td.action-column-medium {
    min-width: 200px !important;
}

td.action-column-large {
    min-width: 300px !important;
}

td.action-column-xlarge {
    min-width: 400px !important;
}

th.ledger-number, td.ledger-number {
    width: 80px;
    text-align: right;
}

th.ledger-description, td.ledger-description {
    width: 200px;
}

th.ledger-amount, td.ledger-amount {
    width: 125px;
    text-align: right;
}

th.ledger-vat-code, td.ledger-vat-code, th.ledger-vat-percentage, td.ledger-vat-percentage {
    width: 100px;
}

th.action {
    width: 80px;
}

.clickable {
    cursor: pointer;
    cursor: hand;
}

span.overview-title,  span.proposed-title, span.snapshot-title {
    font-size: 18px;
    font-weight: bold;
}


p.ledger-overview-header {
    border-bottom: gray 2px solid;
    font-weight: bold;
}

div.pane-ledger-overview p {
    color: gray;
}

tr.ledger-overview-total {
    font-weight: bold;
    font-style: italic;
}

td.number, th.number {
    text-align: right;
}

div.page-content-header > span.title,
div.page-header > span.title {
    font-size: 24px;
    font-weight: bold;
}

div.page-header > span.status {
    font-size: 16px;
}

div.page-header > p.warning {
    font-size: 18px;
    font-weight: bold;
}

div.page-header > span.contact {
    font-size: 16px;
    margin-right: 30px;
}

div.page-header > span.contact > span.fa {
    width: 20px;
}

div.panel > div.panel-body div.form-group {
    margin-bottom: 0px;
}

div.error-title {
    font-size: 18px;
    font-weight: bold;
}

textarea.no-resize {
    resize: none;
}

th.balance-overview-amount, td.balance-overview-amount {
    width: 100px;
}

tr.balance-row-item {
    font-size: 12px;
}

tr[data-collapsed="n"] > td > span.fa-caret-square-o-right {
    display: none;
}

tr[data-collapsed="y"] > td > span.fa-caret-square-o-down, 
tr.balance-row-item[data-collapsed="y"] {
    display: none;
}

td.balance-row-action {
    width: 40px;
}

td.balance-row-action {
    font-size: 14px;
}

th.balance-overview-order-status {
    width: 30px;
}

span[data-hidden=n] > span.fa-eye {
    display: none;
}

span[data-hidden=y] > span.fa-eye-slash {
    display: none;
}

span.help-block.validation-error {
    font-size: 12px;
    color: red;
}

label.validation-required:after,
label.validation-required::after {
    content: ' *';
}

/*
tr.percentage > td {
    padding-bottom: 3px;
}


td.button {
    padding-left: 3px;
    padding-right: 3px;
}

table.profile-grid td {
    max-width: 120px;
    padding-top: 4px;
    padding-bottom: 4px;
}
*/

table.profile-grid td.profile-grid-label {
    font-size: 13px;
    font-weight: bold;
    text-align: center;
}

table.profile-grid td.grid-profile-profile-actions {
    text-align: center;
}

table.profile-grid button.btn.disabled {
    background-color: #cdcdcd;
    border-color: #cdcdcd;
    color: gray;
}

table.profile-grid td {
/*    background-color: gray;*/
    padding: 4px;
/*    border: 1px solid black;*/
}

table.profile-grid td.action {
    max-width: 200px;
}

table.profile-grid td.profile-grid-customer-discount {
    max-width: 100px;
}

table.profile-grid td.profile-grid-agent-profile {
    max-width: 150px;
    text-align: center;
}

table.commission td.attention a{
    color: red;
    font-weight: bold;
}

table.commission tr > td {
    vertical-align: middle;
}

table.commission tr > td.input-amount {
    width: 100px;
}

table.commission tr.total > td {
    font-style: italic;
    font-weight: bold;
}

input.number {
    text-align: right;
}

p.main-details {
    font-size: 14px;
    display: inline-block;
    margin: 5px 14px 5px 0px;
}
p.main-details > span.fa, p.main-details > span.glyphicon {
    width: 20px;
}

canvas {
    padding-left: 15px;
    padding-right: 15px;
}

ul.order-turnover-list {
    list-style: none;
    padding: 10px;
}

ul.order-turnover-list > li > small {
    margin-top: 10px;
    margin-bottom: 10px;
}

ul.order-turnover-list > li > h1 {
    margin: 0px;
    font-size: 2em;
}

div.produvar-grid-progress {
    margin: 5px;
}

div.produvar-grid-progress div.progress-bar {
    font-weight: bold;
}

table.produvar-dashboard {
    margin-top: 20px;
}

div.produvar-dashboard {
    background: #e1e1e1;
/*    background: white; */
    padding: 20px 10px 40px;
}

div.produvar-dashboard-widget {
    margin: 12px 2px 2px 2px;
    padding: 3px 3px 6px 3px;
    background-color: white;
    border-top: 4px solid #337ab7;
    border-bottom: 2px solid #f9b117;
    min-height: 200px;
/*
    border-left: 5px solid #e1e1e1;
    border-right: 5px solid #e1e1e1;
    border-top: 1px solid #e1e1e1;
    border-bottom: 1px solid #e1e1e1;
*/
}

div.produvar-dashboard-widget div.alert {
    margin-bottom: 0px;
}

div.produvar-dashboard-widget-header {
    padding: 2px 0px;
}

div.produvar-dashboard-widget-header span.title {
    font-size: 1.5em;
    display: block;
}

div.produvar-dashboard-widget-header span.subtitle {
    font-size: 1.2em;
    display: block;
}

table.dashboard tr.header td {
    font-size: 16px;
    font-weight: bold;
    line-height: 32px;
    border-top-width: 2px;
    border-color: #337ab7;
}

table.dashboard tr.header.header-danger td {
    border-color: red;
}

div[class^="planner-widget"] {
    position: fixed;
    top: 60px;
}

div.planner-widget-actions {
    left: 0px;
}


div[class^="planner-widget"] > div.content {
    border: solid 2px #f9b117;
    padding: 10px;
    background: white;
}

div.planner-widget-actions > div.content {
    width: 180px;
    margin-right: 40px;
}

div.planner-widget  {
    right: 0px;
}

div.planner-widget.closed {
    right: -350px;
}

div.planner-widget-actions.closed {
    left: -180px;
}

div.planner-widget div.title {
    font-size: 16px;
}

div.planner-widget > div.content {
    width: 350px;
    margin-left: 40px;
}

div.planner-widget > div.icon:hover, div.planner-widget-actions > div.icon:hover {
    cursor: pointer;
}

div[class^="planner-widget"] > div.icon {
    position: absolute;
    top: 0px;
    font-size: 16px;
    background: #f9b117;
    padding: 10px 5px 5px 12px;
    width: 40px;
    height: 40px;
    color: white;
}

div.planner-widget > div.icon {
    left: 0px;
    padding: 10px 5px 5px 12px;
    border-radius: 20px 0px 0px 20px;
}

div.planner-widget-actions > div.icon {
    left: 180px;
    padding: 10px 5px 5px 12px;
    border-radius: 0px 20px 20px 0px;
}


div.widget-planner-actions {
    position: fixed;
    width: 00px;
    left: 10px;
    bottom: 70px;
    border: 2px solid rgb(204, 204, 204);
    background: white;
    z-index: 100;
}

.btn.disabled, .btn.disabled:hover {
    pointer-events: auto;
    cursor:not-allowed;
    opacity: .4;
    background-color: darkgray;
    border-color: darkgray;
}

.produvar-loading {
    opacity: 0.5;
    background: #ffffff url('../img/produvar_logo.png') center center no-repeat !important;
}

.produvar-loading * {
    background: transparent !important;
}

.produvar-loading td {
/*    border-color: red !important; */
}

span.produvar-blacklisted-blocked {
    color: #ff0000;
}

span.produvar-blacklisted-non-blocked {
    color: #ffd700;
}

span.produvar-blacklist-help, span.produvar-detailed-description {
    font-size: .9em;
    display: block;
}

div.busy-title {
    font-size: 1.7em;
    text-align: center;
}

div.busy-body {
    padding-top: 10px;
}

div.busy-bar {
    padding-top: 15px;
}

div.busy-bar > .progress {
    height: 14px;
}

.pdv-label-value > .label:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    margin-right: 0;
}

.pdv-label-value > .label:last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    margin-left: 0;
}

.pdv-form-label {
    font-size:30px;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 500;
}

table.usage .postal, table.usage .invoice, table.usage .delivery {
    width: 100px;
    text-align: right;
}

table.usage .description {
    width: 300px;
}

.tab-pane.user h1 {
    font-size: 24px;
}

.tab-pane.user h2 {
    font-size: 18px;
}

.form-group.multi-column {
    margin-bottom: 0px;
}

.form-group.multi-column .form-group {
    margin-bottom: 0px;
}

tr.text-error-bright td {
    font-size: bold;
    color: red;
}

tr.text-warning-bright td {
    font-size: bold;
    color: orange;
}

@media only screen and (min-width:769px) and (max-width:1201px) {
    .navbar-collapse.collapse {
        display: none !important;
    }

    .navbar-collapse.collapse.in {
        display: block !important;
    }

    .navbar-header .collapse, .navbar-toggle {
        display: block !important;
    }
}
@media (max-width: 1200px) {
    .navbar-header {
        float: none;
    }
}

td.on-document {
    font-size: 16px;
    text-align: center;
}