/* Design
-------------------------------------------------- */
h2 {
    margin-bottom: 1em;
}
.actionBar {
    clear: both;
    margin-top: 5em;
}

/* Images
-------------------------------------------------- */
figure.preview {
    border-radius: 3px;
    font-size: 13px;
    display: block;
    background: #fff;
    padding: 10px;
    margin: 0 0 10px 0;
    text-align:center;
    width: 222px;
    color: #2b2f33;
    border: #dfe8f1 solid 1px;
    -webkit-box-shadow: inset 1px 1px 3px #f6f6f6;
    -moz-box-shadow: inset 1px 1px 3px #f6f6f6;
    box-shadow: inset 1px 1px 3px #f6f6f6;
}
figure.preview img {
    max-width: 200px;
    max-height: 200px;
}

/* Icons
-------------------------------------------------- */

i.icon-linecons-pencil,
i.icon-linecons-trash {
    font-style: normal;
}

/* Inputs
-------------------------------------------------- */
input[type="file"] {
    height: auto;
}
input.qty {
    text-align: right;
}
input.price {
    text-align: right;
}
.select2-container.form-control {
    display: block;
    border: 0;
    padding: 0;
    background: transparent;
    height: auto;
}

/* Tables
-------------------------------------------------- */
table th.actions {
    white-space: nowrap;
}
.select2-container .select2-choice,
.select2-container-multi .select2-choices {
    font-size: 13px;
    display: block;
    float: none;
    background: #fff;
    width: 100%;
    height: 34px;
    padding: 2px 6px;
    color: #2b2f33;
    -webkit-box-shadow: inset 1px 1px 3px #f6f6f6;
    -moz-box-shadow: inset 1px 1px 3px #f6f6f6;
    box-shadow: inset 1px 1px 3px #f6f6f6;
    border-radius: 3px;
    margin-top: 2px;
}
.select2-container-multi .select2-choices {
    border: #dfe8f1 solid 1px;
    padding: 2px 0px;
}

/* CloneTable
-------------------------------------------------- */
.clonetable_outer .clonetable tfoot tr td {
    font-weight: bold;
}
.clonetable_outer .clonetable thead tr td,
.clonetable_outer .clonetable tfoot tr td {
    padding: 10px 2px;
}
.clonetable_outer .clonetable tbody tr td {
    padding: 2px;
}
.clonetable_outer {
    margin: 10px 0 20px 0;
}
.clonetable_grandtotal,
.clonetable_linetotal {
    text-align: right;
    min-width: 85px;
    display: block;
}

/* Datepicker
-------------------------------------------------- */
.hasDatepicker {
    width: calc(100% - 45px);
    float: left;
}
.calendarpicker {
    float: left;
    height: 34px;
    padding: 0px 8px;
    margin-left: 5px;
}

/* Tabs
-------------------------------------------------- */
.ui-tabs-panel #page-content {
    margin-left: 0;
    padding: 0;
}
.ui-tabs-panel #page-content #page-title {
    display: none;
}

/* Validation
-------------------------------------------------- */
form .invalid {
    border: 1px solid red !important;
    left: -10px;
    position: relative;
    padding: 0px 9px 5px;
    margin-bottom: 9px;
    margin-top: -1px;
    width: calc(100% + 20px);
}
.select2-container.form-control.invalid {
    width: 100%;
    position: initial;
    margin-top: 0;
    margin-bottom: 0;
}
.select2-container-multi.invalid .select2-choices {
    border: none;
    padding: 0;
    margin-top: 0;
    padding-top: 2px;
}

/* PDFs
-------------------------------------------------- */
#signature_details {
    margin: 50px 0 10px 0;
}
.signature_box {
    height: 4em;
    width: 90%;
    border-bottom: 1px dashed rgb(204, 204, 204);
}

/* PRINTABLES
-------------------------------------------------- */
.printable .row {
    margin-left: 10px;
    margin-right: 10px;
}
.note_logo img {
    max-width: 200px;
    padding-right: 5px;
}
@media print {
    a[href]:after {
        content: "" !important;
    }
    .col-md-3 {
        width: 25%;
        float: left;
    }
    .col-md-4 {
        width: 33.33333%;
        float: left;
    }
    .col-md-5 {
        width: 41.66666%;
        float: left;
    }
    .col-md-6 {
        width: 50%;
        float: left;
    }
}
