﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

.btn-bar {
    text-align: right;
    margin-top: 5px;

}
.btn-bar .btn + .btn {
    margin-left: 5px;
}

.form-off .btn-bar, .form-off .edit-only {
    display: none;
}


.form-off input[disabled], .form-off select[disabled] {
    background-color: transparent;
    border: none;
    box-shadow: none;
    cursor: auto;
}

.header-bar {
    height: 30px;
}
.header-bar>div {
    display: inline-block;
    padding: 5px;
    margin: 0;
    border: 1px solid transparent;
}
.alert-bar {
    padding: 5px;
    margin: 0;
    border-radius: 4px;
    border: 1px solid transparent;
   
}

legend {
    font-size: 16px;
    margin-bottom: 5px;
}
.form-inline .form-control {
    width: auto;
}

.form-group {
    margin-bottom: 2px;
}
.form-control {
    height: 30px;
    padding: 3px 3px;
}

.panel-main {
    border-width: 2px;
    border-color: #357ebd;
}
.body-content {
    padding-top: 15px;
}
.toolbar {
    margin-bottom: 10px;
}
.toolbar-item {
    display: inline-block;
    margin-right: 1em;
    
}
.panel-body {
    padding: 10px;
}
.pre-scrollable {
    padding-right: 10px;
}

pre {
    word-wrap: break-word;
}

.inline-blocks-container>div {
    display: inline-block;
}
.people-list ul {
    list-style-type: none;
    padding: 7px 0;
    
}
.people-list li {
    margin-bottom: 2px;
}

.people-list h5 {
    font-weight: bold;
}

li .form-control {
     display: inline-block;
    width: 16em;
}

.col-tools {
    width: auto;
    min-width: 5em;
}
.col-tools-wide {
    width: auto;
    min-width: 8em;
}

.col-address {
    width: 30em;
}

.table-hover tr {
           cursor: pointer;
       }

.contact-line{
    display: inline-block;
}
.contact-line label {
    display: inline-block;
    min-width: 3em;
}
.contact-line label:after {
    content: ":";
}
.contact-line p {
    display: inline-block;
}
.input-group-addon {
    min-width: 3em;
    padding: 5px;

}
input[disabled]+.input-group-addon {
    border: none;
}

.item-info {
    padding: 4px;
    margin-bottom: 5px;
}
.item-info form {
    display: inline;
}
.item-info p {
    display: inline-block;
    
}
.item-info-isbn{ width: 10em; font-weight: bold;}
.item-info-title{ width: 30em;}
.item-info-quantity{ width: 6em;}
.item-info-discount{ width: 7em;}

.table {
    width: auto;
}

.table.table-full-width {
    width: 100%;
}

.form-control.field-link {
    width: 20em;
}
.form-control.field-date {
    width: 8em;
}

.form-control.field-number-short {
    width: 4em;
}


.datepicker {
    z-index: 2000;
    
}
.form-inline .form-control {
    vertical-align: top;
}

.shortened {
    width: 20em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav > li > a,.nav-item {
    
    padding:  5px;
    position: relative;
    display: block;
}

.nav-main > li > a {
    padding:  15px 5px; 
}

li .ctx-dropdown {
    margin-top: 10px;
    
    width: 100%;
}

.inline-link {
    display: inline-block;
    padding-right: 5px;
}

.block-link {
    display: block;
    padding-right: 3px;
}
.amount{ 
    text-align: right;

}
td.amount {
    border-left:  dashed 1px #ccc;
    border-right: dashed 1px #ccc;
}

.strong {
    font-weight: bold;
}
.target {
    font-weight: bold;
}



.rb-container {
    width: 45em;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 1em;
    margin-right: 1em;
    margin-bottom: 1em;
    box-shadow: 1px 1px #aaa;
    background-color: #fafafa;
    display: inline-block;
    vertical-align: top;
}


.rb-bar {
    border-bottom: 1px solid #eee;
    margin-bottom: 5px;
}
.rb-bar h3{
    margin: 0 0 0.4em 0;
    padding: 0;
    font-size: 1.4em;
    font-weight: bolder;
}

.rb-cover>img{ display: block;}
.rb-cover .btn {
    width: 100%;
    margin-top: 2px;
}
.rb-details p {
    margin: 0 0  3px 0;
}

.rb-details strong{ width: 4em; display: inline-block;}

.rb-details {
    margin-left: 0.5em;
    vertical-align: top;
    width: 70%;
}

.rb-status {
    margin-top: 2px;
    padding: 2px;
    font-size: 0.8em;
    border-width: 1px;
    border-style: solid;
    text-align: center;
    
}
.book-list-item {
    display: inline-block;
    width: 40em;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 1em;
    margin-right: 1em;
    margin-bottom: 1em;
    box-shadow: 1px 1px #aaa;
    background-color: #fafafa;
    
}

   
    .book-list-item > img {
        float: left;
        border: 1px dashed #ccc;
        margin-right: 0.5em;
        margin-bottom: 0.5em;
    } 
    
   .book-list-item h3,h4 {
        margin: 0;
        margin-bottom: 0.5em;
        padding: 0;
    }

.book-list-item h3 {
    font-size: 18px;
    font-weight: bolder;
}
    .book-list-item h4 {
        font-size: 14px;
    }

    .book-list-item h5 {
        margin: 0;
        font-size: 12px;
        clear: left;
    }

    .book-list-item p {
        text-align: justify;
        text-indent: 1em;
        text-overflow: clip;
        max-height: 100px;
        font-size: 0.9em;
    }




#backBtn {
    display: none;
}

.alert-small {
    padding: 5px;
    margin-bottom: 5px;  
}

.status-accepted {
    color: #468847;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}
.status-rejected {
    color: #b94a48;
    background-color: #f2dede;
    border-color: #eed3d7;
}
.status-sent {
    color: #3a87ad;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

.message {
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-left: 1em;
    margin-bottom: 0.5em;
    padding: 5px;
}
.message .shortened {
    width: 25em;
}
.message-new {
    font-weight: bold;
}
.message:hover {
    background-color: #eee;
}
.message>div {
    vertical-align: middle;
}
.items-container {
    counter-reset: items;
}

.items-container div.alert:before {
    counter-increment: items;
    content: counter(items);
}

.modal-wide .modal-dialog {
    width: 900px;
}
.modal-header h1 {
    background-color: #eee;
    margin: 0;
    margin-bottom: 5px;
    padding:5px;
    font-size: 22px;
    text-align: center;
    color: #999;
}
.field-default-height {
    height: 34px;
}
.hidden-ph{ visibility: hidden;}

.rb-reviews .shortened {
    width: 30em;
}
.rb-reviews li,.rr-reviews li {
    margin-bottom: 2px;
}

.rr-container, .rr-cover, .rr-details, .rr-reviews {
    vertical-align: top;
}
.rr-cover, .rr-details, .rr-reviews {
    padding: 0.5em;
}

.thinned {
     opacity: 0.65; 
}

.tags-tag {
    border: 1px dashed #ccc;
    border-radius: 8px;
    padding: 2px;
    margin-bottom: 2px;
    color: #aaa;
    display: inline-block;
}

.tags-selected {
    color: #000;
    border: 1px solid #666;
    
}
.tags-tag:hover {
    color: #666;
}


.preview {
    margin: .5em auto;
    padding: 10px 2px;
    border-color: transparent;
    border-radius: 8px;
    
    display: inline-block;
}
.preview-thumbnail {
    width: 110px;
}
.preview-document {
    width: 95%;
}

div.preview-actions {
    visibility: hidden;
}

.preview div { vertical-align: top; }
.preview div { vertical-align: top; }

.preview img {
        display: inline-block;
       
    }

.preview:hover {
    border-color: #ccc;
}
    .preview:hover .preview-actions {
        visibility: visible;
    }

.preview-document p {
    display: inline-block;
}

.navbar-right {
    
    margin-right: 0;
}

.col-border {
    border-left: 2px solid #ddd;
    min-height: 500px;
}
.tab-pane {
    padding: 0.5em;
}
.fields-dimensions input[type='text'] {
    width: 3em;
}
.times {
    vertical-align: middle;
    padding: 0.2em;
    line-height: 2.2em;
}

.available-item {
    border: 1px solid #ddd;
    margin-bottom: 2px;
    padding: 5px;
}

.available-item > div {
    display: inline-block;
    margin: 0;
    border: 0;
    padding: 0;
}

.available-item-title{
    width: 55%
}

.available-item-price {
    width: 15%
}
.available-item-btns {
    width: 25%;
    text-align: right;
}
.quantity-field, .form-group input.quantity-field {
    width: 3em;
    height: 22px;
    padding: 1px 5px;
    margin: 0;
    text-align: center;
}

.scrollable {
    max-height: 450px;
    overflow-y: scroll;
    overflow-x: auto;
}
.number {
    text-align: right;
}
.client-picker {
    display: inline-block;
    width: 80%;
}
.form-inline {
    display: inline;
}
