body {
    margin-top: 64px;
}

body.dev {
    background-color: rgba(255, 255, 0, 0.15);
}

.dev-message {
    text-align: center;
    font-weight: 900;
    position: fixed;
    right: 50%;
    bottom: 50%;
    opacity: 0.05;
    font-size: 10vw;
    transform: translate(50%, 50%) rotate(10deg);
    pointer-events: none;
    z-index: 1000;
    color: transparent;
    -webkit-text-stroke: 0.25vw black;
    display: none;
}
body.dev .dev-message {
    display: block !important;
}

.navbar-brand img {
    height: 100%;
    width: auto;
}

.fakeTextbox {
    display: block;
    width: 100%;
    min-height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
}

.no-margin * {
    margin: 0;
}

.no-block * {
    display: inline-block;
}

.m-signature-pad {
    text-align: center;
    margin-bottom: 32px;
}

.m-signature-pad canvas {
    border: 1px solid #555;
    border-radius: 8px;
}

.m-signature-pad .description {
    margin-bottom: 16px;
}

img.signature {
    display: block;
    width: 300px;
    height: 150px;
    margin: 0 auto;
    border: 1px solid #555;
    border-radius: 8px;
}
@media print {
    img.signature {
        width: 150px;
        height: 75px;
    }
}

.tiny-table tbody tr td:nth-child(1) {
    text-align: right;
    padding-right: 4px;
}

.tiny-table tbody tr td:nth-child(2) {
    text-align: left;
    padding-left: 4px;
}

.table tbody tr td {
    vertical-align: middle;
}

.table thead tr td {
    font-weight: bold;
    vertical-align: bottom;
}

.closeButtons hr {
    margin: 0;
}

h1 {
    text-align: center;
}

body {
    padding-bottom: 48px;
}

hr {
    border-top: 1px solid #ddd;
    /*margin: 60px 0;*/
}

.label-h5 h5 {
    font-weight: bold;
}

.build-type-checkboxes .form-group:nth-child(1) .checkbox label {
    font-weight: bold;
}

.build-type-checkboxes .form-group:nth-child(2) {
    margin-left: 16px;
    margin-top: -8px;
    margin-bottom: 24px;
}

.right-textbox .form-group {
    display: inline-block;
    margin-bottom: 0;
}

.right-textbox input {
    width: auto;
    text-align: right;
}

td .btn-group {
    width: auto;
}

.display-inline {
    display: inline-block !important;
}

input.display-inline {
    margin: 16px 0;
}

#split-payment {
    margin-top: 26px;
}

.textEditor pre {

    outline: -webkit-focus-ring-color auto 0px !important;
    display: block;
    width: 100%;
    height: auto;
    min-height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.textEditor pre:focus,
.textEditor pre:active {
    border-color: #66afe9;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
}

.highlighted b {
    font-weight: bold;
    color: #f00;
}

pre {
    white-space: pre-wrap;
}

.pre-production {
    border: none;
    background: transparent;
}

.lookAtMe {
    /*border-radius: 8px;*/
    padding: 4px;
    margin: 2px;
    /*border: 2px solid rgba(255, 0, 0, 0.25);*/
    background-color: rgba(255, 0, 0, 0.15);
    background: repeating-linear-gradient(
        45deg,
        rgba(255, 0, 0, 0.1),
        rgba(255, 0, 0, 0.1) 10px,
        rgba(255, 0, 0, 0.15) 10px,
        rgba(255, 0, 0, 0.15) 20px
    );
}

.number-data {
    font-family: monospace;
    text-align: right;
    font-size: 125%;
}

.form-control[readonly] {
    background-color: inherit;
}

/*
.textEditor code {
    padding: 0;
    font-size: inherit;
    color: black;
    background-color: transparent;
    border-radius: 0;
    outline: -webkit-focus-ring-color auto 0px !important;
}
*/

/* Tablets and Phones only */
@media (max-width: 970px) {

    #split-payment {
        margin-top: 0;
    }

}

/* Printing */
@media print
{    
    .print-hide, .print-hide *
    {
        display: none !important;
    }
}

/* Tablesort.css */
th[role=columnheader]:not(.no-sort) {
	cursor: pointer;
}

th[role=columnheader]:not(.no-sort):after {
	content: '';
	float: right;
	margin-top: 7px;
	border-width: 0 4px 4px;
	border-style: solid;
	border-color: #404040 transparent;
	visibility: hidden;
	opacity: 0;
	-ms-user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

th[aria-sort=ascending]:not(.no-sort):after {
	border-bottom: none;
	border-width: 4px 4px 0;
}

th[aria-sort]:not(.no-sort):after {
	visibility: visible;
	opacity: 0.4;
}

th[role=columnheader]:not(.no-sort):hover:after {
	visibility: visible;
	opacity: 1;
}

td[role="columnheader"] {
    cursor: hand;
}
td[role="columnheader"]:hover {
    background-color: #ddd;
}
td[role="columnheader"][aria-sort="ascending"]:after {
  content: " ▲";
}
td[role="columnheader"][aria-sort="descending"]:after {
  content: " ▼";
}

/* SigWeb */
.sigweb-signature {
    text-align: center;
}

.sigweb-signature canvas {
    border: 1px solid black;
    border-radius: 4px;
    display: block;
    width: 375px;
    height: 75px;
    margin: 0px auto;
    margin-bottom: 8px;
}

.sigweb-signature .button {
    display: inline-block;
}

canvas.chart {
    width: 50%;
}

.selectTitle select {
    font-size: 30px !important;
    line-height: 1.1 !important;
    height: auto !important;
}

.selectTitle .fa-spin {
    font-size: 32px;
    margin: 12px;
}

#bootTabs .nav-item.active .nav-link {
    font-size: 18px;
    font-weight: bold;
}

#bootTabs .nav-item {
    position: relative;
    bottom: -2px;
    display: inline-block;
    float: none;
    margin: 0 8px;
}
#bootTabs .nav-item.active {
     bottom: -1px;
}

table.collapsed {
    display: inline-block;
    width: auto;
}

.overdue-oneweek td {
    background-color: yellow !important;
}

.overdue-twoweeks td {
    background-color: orange !important;
}

.overdue-threeweeks td {
    background-color: red !important;
    color: white !important;
}

.overdue-almost td {
    background-color: lightskyblue !important;
}

.overdue-explain li,
.overdue-customer-explain li {
    display: inline-block;
}
.overdue-explain li::before,
.overdue-customer-explain li::before {
    content: " ";
    display: inline-block;
    position: relative;
    top: 2px;
    width: 15px;
    height: 15px;
    border-radius: 100%;
    background-color: black;
    border: 1px solid black;
    margin-left: 15px;
    margin-right: 5px;
}

.overdue-explain li:nth-child(1)::before {
    margin-left: 0px;
    background-color: yellow;
}
.overdue-explain li:nth-child(2)::before {
    background-color: red;
}
.overdue-explain li:nth-child(3)::before {
    background-color: red;
}

.overdue-customer-explain li:nth-child(1)::before {
    margin-left: 0px;
    background-color: lightskyblue;
}
.overdue-customer-explain li:nth-child(2)::before {
    background-color: yellow;
}
.overdue-customer-explain li:nth-child(3)::before {
    background-color: red;
}
.overdue-customer-explain li:nth-child(4)::before {
    background-color: red;
}

.payoff-table {
    margin: 40px 0px;
}

.edit-not-allowed {
    display: none !important;
}

.customer-split-cell {
    border-top: 1px solid black;
    position: relative;
    display: block;
    height: 30px;
    line-height: 30px;
    overflow: hidden;
}
.customer-split-cell:first-child {
    border-top: 0px;
}

thead td {
    z-index: 100;
    background-color: white;
    position: relative;
}

.recon input,
.recon .form-group {
    text-align: right;
}
.recon .form-group {
    margin-bottom: 0px;
}

.recon input.adjusted {
    background-color: rgba(255,255,0,0.25);
}

.customer-due-check .form-group {
    display: inline-block;
    margin-right: 20px;
}

label.notification input {
    padding: 0px;
    margin: 0px;
    margin-left: 8px;
    margin-right: 50px;
    position: relative;
    top: 2px;
}

.notification-button {
    margin: 4px;
    height: 40px;
    background-image: none;
}
.navbar-toggle.collapsed {
    margin: 4px;
    height: 40px;
}
#notification-list li,
#notification-sms-list li {
    width: 400px;
}
#dropdownNotifications.new {
    animation: flash 0.25s linear 0s infinite alternate;
}
#dropdownNotifications.new i {
    animation: shake 0.1s linear 0s infinite alternate;
}
#dropdownSMSNotifications.new {
    animation: flash 0.25s linear 0s infinite alternate;
}
#dropdownSMSNotifications.new i {
    animation: shake 0.1s linear 0s infinite alternate;
}
#notification-list li.new a.notification,
#notification-sms-list li.new a.notification {
    background-color: #fef179;
}
#notification-list li a.notification,
#notification-sms-list li a.notification {
    padding: 10px;
    width: calc(100% - 55px);
    float: left;
    border-radius: 10px;
    margin: 4px;
    white-space: normal
}
#notification-list li button,
#notification-sms-list li button {
    float: right;
    width: 40px;
    height: 40px;
    margin-right: 5px;
    margin-top: 7px;
    text-align: center;
    padding: 0px;
    background-color: transparent;
    border: none;
}
span.no-notifications,
a.view-all-notifications {
    padding: 10px;
    text-align: center;
    display: block;
    opacity: 0.7;
    font-size: 0.9em;
    font-style: italic
}
a.view-all-notifications {
    color: #009aff !important;
    text-decoration: underline;
}

.notification-full {
    margin: 30px 0;
}
.notification-full a {
    display: block;
    padding: 10px;
    border-radius: 20px;
    background-color: #eee;
}
.notification-full small {
    display: block;
    margin-top: 10px;
}

table.table tr.hold td {
    background-color: #dbdbdb;
    opacity: 0.8;
}

@keyframes flash {
    from {background-color: #fff;}
    to {background-color: #fef179;}
} 
@keyframes shake {
    from {transform: rotateZ(-5deg);}
    to {transform: rotateZ(5deg);}
}
@media ( max-width: 767px ) {
    #navbar-menu-right {
        position: absolute;
        top: 0px;
        right: 0px;
    }
    #navbar-menu-right .dropdown-menu {
        right: 0px;
        left: auto;
    }
    .navbar-header {
        margin-right: 30px !important;
    }
    #notification-list li {
        width: 90vw;
    }
    .desktop-only {
        display: none !important;
    }
}

@media print {
    .no-print,
    .no-print * {
        display: none !important;
    }
    .small-print * {
        font-size: 0.8em;
    }
    .small-print label,
    .small-print input,
    .small-print table td,
    .small-print h4,
    .small-print textarea {
        font-size: 1.25em !important;
    }
    .alert {
        display: none !important;
    }

    .print-keep-col-together > div {
        page-break-inside: avoid;
    }

    body {
        margin: 0px;
        padding: 0px;
    }
    body *,
    body label,
    body input,
    body p,
    body td {
        font-size: 11px !important;
    }
    body h1, body h1 * { font-size: 2em !important; }
    body h2, body h2 { font-size: 1.75em !important; }
    body h3, body h3 { font-size: 1.5em !important; }
    body h4, body h4 { font-size: 1.25em !important; }
    body h1, body h2, body h3, body h4 { font-weight: bold; }

    body input,
    body textarea,
    body .fakeTextbox {
        padding: 0.5em !important;
        border-radius: 0px !important;
        line-height: 1 !important;
        height: auto !important;
        min-height: 22px !important;
        border: 1px solid #80808045 !important;
    }
    body .fakeTextbox {
        margin-bottom: 8px;
    }
}

tr.nsf td {
    border-top: 0px solid transparent !important;
    position: relative;
    top: -4px;
    padding-top: 4px !important;
}
tr.nsf.melissa td {
    background-color: #e3b8f1 !important; 
}

.align-right {
    text-align: right !important;
}
.align-center {
    text-align: center !important;
}
.inline {
    display: inline-block !important;
    width: 100% !important;
    min-width: 75px !important;
}

.welcome-letter {
    border: 2px double black;
    padding: 20px;
    font-family: serif;
}
.ach-page {
    padding: 20px;
    font-family: serif;
}
.ach-page .sign-here {
    text-align: center;
    border-top: 1px solid black;
    margin: 0px 10px;
    margin-top: 60px;
    margin-bottom: 20px;
}
.ach-page .sign-here-float {
    text-align: center;
    border-top: 1px solid black;
    margin: 0px 10px;
    display: inline-block;
    margin-top: 10px;
    vertical-align: bottom;
    position: relative;
    top: 16px;
    min-width: 10%;

}
.ach-page .check-here {
    margin-right: 10px;
}
@media print {
    body,
    body > .container {
        float: none;
    }
    .single-page {
        page-break-before: always !important;
        page-break-inside: avoid !important;
    }
}

.table>tbody>tr.danger.repo>td {
    background-color: #54483761 !important;
}

tr.onhold {
    opacity: 0.5;
    background-color: #8080806e;
}

@media print {

    .small-print-fields label,
    .small-print-fields input {
        width: auto !important;
        border: none !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .small-print-fields .form-group {
        margin-bottom: 0 !important;
    }
    .small-print-paragraphs p {
        margin: 0px !important;
        padding: 0px !important;
        margin-bottom: 0px !important;
    }

}

/* NEW CONTRACTS */

#orderContract table.compact {
    margin: 0px;
    padding: 0px;
    width: 100%;
}

#orderContract table.contractTerms td {
    vertical-align: top;
}

#orderContract table.first-payment-list td {
    vertical-align: bottom !important;
}
#orderContract table.first-payment-list td:last-child {
    text-align: right;
}

#orderContract * {
    font-size: 13px !important;
    font-family: 'Tinos', serif;
    line-height: 1.2;
}

#orderContract .leasorHeader {
    text-align: center;
    position: relative;
}
#orderContract .leasorHeader img {
    display: block;
    position: absolute;
    left: 50px;
    top: -20px;
    max-height: 80px;
    z-index: 1000;
}
@media ( max-width: 580px ) {
    #orderContract .leasorHeader img {
        display: none;
    }
}
#orderContract .leasorHeader h1 {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
}

#orderContract h1 {
    font-size: 18px !important;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
}
#orderContract h2 {
    font-size: 18px !important;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
}

#orderContract .field {
    text-decoration: underline;
}

#orderContract .buildingInformation {
    list-style: none;
    margin: 0px;
    padding: 0px;
    text-align: center;
}

#orderContract .buildingInformation li {
    display: inline-block;
    margin: 7px;
}

#orderContract .contractTerms * {
    font-size: 13px !important;
}

#orderContract .contractTerms > tbody > tr > td,
#orderContract .boxedSection {
    border: 1px solid black;
    padding: 10px;
}

#orderContract .boxedSection {
    border-top: none;
    margin-bottom: 10px;
}
#orderContract .boxedSection > * {
    margin-bottom: 0px;
}

#orderContract ol {
    padding-left: 20px;
}

#orderContract ol li {
    text-align: justify;
    padding-left: 10px;
}

.print-grey-bg {
    position: relative;
    overflow: hidden !important;
}
.print-grey-bg img.grey-bg {
    z-index: -1000;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
}

@media print {
    body .fakeTextbox {
        margin: 0px !important;
        border-top: none !important;
        border-right: none !important;
    }
    body label {
        margin: 0px !important;
        margin-top: 8px !important;
    }
}

#orderContract table.compact td {
    vertical-align: top;
}

#orderContract .form-group {
    display: inline-block;
}

.tight * {
    margin-top: 0px;
    margin-bottom: 4px;
}
.tight input {
    border: none;
    box-shadow: none;
    margin: 0px;
    padding: 0px;
    line-height: 1;
    height: auto;
    margin-bottom: 15px;
}

.vertical-align-row td {
    vertical-align: top !important;
}

/* sms texting */
#messages > .message {
    margin: 20px 0;
}

#messages > .message > .customer,
#messages > .message > .date {
    text-transform: uppercase;
    font-size: 0.8em;
    font-weight: bold;
}
#messages > .message > .customer > .phone {
    display: inline-block;
    /*margin-left: 8px;*/
}

#messages > .message > .message {
    padding: 10px;
    border-radius: 10px;
}

#messages > .message.received > .message {
    margin-right: 10%;
    background-color: #00ff501c;
}

#messages > .message.sent > .message {
    margin-left: 10%;
    background-color: #0041ff1c;
}

#messages > .message.sent {
    text-align: right;
}

tr.refund-row {
    opacity: 0.6;
    background-color: #80808047;
}

.investor-bos-sig * {
    vertical-align: bottom;
    display: inline-block;
}
.investor-bos-sig p {
    position: relative;
    
}
.investor-bos-sig .sig-image {
    width: 300px;
    position: relative;
    bottom: -10px;
}

.adjust-save-button .btn {
    top: -8px;
    height: 30px;
  }

@media( max-width: 767px ) {
    #navbar-menu-right-sms {
        display: inline-block;
        position: absolute;
        top: 0px;
        left: 76px;
    }
}

.bos-header h1,
.bos-header h2,
.bos-header h3 {
    margin-bottom: 0px;
    padding-bottom: 0px;
    margin-top: 0px;
    padding-top: 0px;
}
.small-print-fields label {
    display: inline-block !important;
}
.small-print-fields label[for="build-type"] {
    display: none !important;
}
.small-print-fields label:after {
    content: ":";
}
.small-print-fields input {
    display: inline-block !important;
    width: 190px;
    min-width: none;
    max-width: none;
    padding: 0px;
    border: none;
    background: none;
    box-shadow: none;
}
.small-print-fields #build-type {
    width: 300px;
}

.signature.bos-signature {
    width: 100px;
    height: 50px;
  }
@media screen and (max-width: 980px) {
    .unfold-on-mobile td {
        display: block !important;
        width: 100% !important;
        margin-bottom: 40px;
    }
}
@media only screen and (max-width: 600px) {
    .full-mobile {
        width: 100% !important;
    }
}
.table .success.completed {
    opacity: 0.5;
}

.sms-responses > div {
  padding: 8px;
  border-radius: 4px;
  margin-top: 20px;
}
.sms-responses > div.error {
  background-color: #F003;
}
.sms-responses > div.success {
  background-color: #0F03;
}
.sms-responses > div.info {
  background-color: #00F3;
}

.form-check.form-check-inline {
  display: inline-block;
  padding: 0 0.5em;
}
.form-check.form-check-inline input {
  margin-right: 4px;
}
.right-line {
  border-right: 1px solid black;
}
.bottom-line {
  border-bottom: 1px solid black;
  margin-bottom: 32px;
}
.dpo-image {
  max-width: 100%;
  width: auto;
  height: 50px;
}
.dpo-checkmark,
.dpo-stop {
  margin-right: -20px;
  z-index: 100;
  position: absolute;
  right: 70%;
  height: 40px;
}