﻿body {
    font-family: 'Oswald', sans-serif;
}

.fa-trash {
    font-size: 15px !important;
}

.invoice-pdf .table {
    width: 98%;
    margin-left: 10px;
}

.statement-pdf .table {
    width: 98%;
    margin-left: 10px;
}

.checkbox {
    margin-top: 20px;
    margin-bottom: 20px;
}

.truckTable {
    /*border:2px solid #696969!important;*/
}

.truckTable > thead {
    border: 2px solid #696969 !important;
}

.truckTable .actions {
    width: 130px;
}

.ticketTable .actions {
    width: 125px;
}

.action-col {
    width: 100px;
}

.check-col {
    text-align: center;
}

div.form-radio {
    float: left;
    width: 70px;
    padding-left: 20px
}

th:hover {
    cursor: pointer;
}

th {
    position: relative;
    text-align: center;

}

a {
    cursor: pointer;
}

img.add-new-lookup {
    height: 32px;
    width: 32px;
}

div.form-group-row {
    margin-bottom: 6px
}

label.radio-label {
    margin-left: 13px;
}

.form-save-btn {
    background-color: #428BCA;
    color: white;
    font-weight: bold;
    width: 90px;
    height: 45px;
    font-size: large
}

.grid-refresh-btn {
    background-color: #428BCA;
    color: white;
    font-weight: bold;

    height: 34px;
    margin-left: 8px;
}

div.form-title {
    font-size: 22pt;
    font-weight: 500
}

.grid-header {
    background-color: #682e90;
    color: white;
    font-weight: 700
}

tr .grid-header {
    /*#9f6ec3*/
    background-color: #682e90;
    color: white;
    font-weight: 700
}

.grid-header-between {
    border-right: 2px solid #696969;
    text-align: center;
    vertical-align: middle
}

fieldset {
    margin: 8px;
    border: 1px solid #c29cdd;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 30px;
    padding-top: 15px;
    /*border-radius: 8px;*/
    margin-bottom: 5px
}

@-moz-document url-prefix() {
    fieldset {
        display: table-cell;
    }
}

legend {
    padding-left: 20px;
    padding-right: 20px;
    color: #428BCA;
    margin-left: 4px;
    background-color: #F8F7F2;
}

/* Statement Exceptions */
.statementTable > tbody:nth-child(2) > tr:nth-child(1) {
    border-right: 2px solid #696969 !important;
}

/* Invoice Exceptions */
.invoiceTable > tbody:nth-child(2) > tr:nth-child(1) {
    border-right: 2px solid #696969 !important;
}

.invoiceTickets {
    border-right: none;
    border-left: none;
    /*background-color:red;*/
    background: #c29cdd !important;
    padding: 8px 8px 8px 8px !important;
    margin-bottom: 0px !important;
}

/* Truck Exceptions */
.truckDetail {
    border-right: none;
    border-left: none;
    /*background-color:red;*/
    background: #c29cdd !important;
    padding: 8px 8px 8px 8px;
    margin-bottom: 0px !important;
    /*float:right!important;*/
}

/* Company Exceptions */
.companyDetail {
    border-right: none;
    border-left: none;
    /*background-color:red;*/
    background: #c29cdd !important;
    padding: 8px 8px 8px 8px;
    margin-bottom: 0px !important;
}

.companyTable > tbody:nth-child(2) > tr:nth-child(1) {
    border-right: 2px solid #696969 !important;
}


/* New Truck Exceptions */

input.form-control, textarea.form-control, select.form-control {
    padding: 9px;
    border: solid 1px #E5E5E5;
    outline: 0;
    font: normal 13px/100% Verdana, Tahoma, sans-serif;
    background: #FFFFFF url('bg_form.png') left top repeat-x;
    background: -webkit-gradient(linear, left top, left 25, from(#FFFFFF), color-stop(4%, #EEEEEE), to(#FFFFFF));
    background: -moz-linear-gradient(top, #FFFFFF, #EEEEEE 1px, #FFFFFF 25px);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 8px;
    -moz-box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 8px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 8px;
    border-radius: 0px !important;
}

/* New Ticket Overrides */

.btn-select-plus {
    color: #682e90;
}

table {
    border: 2px solid #696969 !important;
    /*border-radius: 5px!important;
   -moz-border-radius: 5px!important;
   border-collapse: collapse!important;*/
}

.table {
    margin-bottom: 0px !important;
}

.table > tbody > tr {
    border: 2px solid #696969 !important;
}

.table > tbody > tr > .filter {
    border-right: 2px solid #696969 !important;
    background: white !important;
}

.table-hover tbody tr:hover {
    border-top: 2px solid #696969;
    border-bottom: 2px solid #696969;
    border-left: 2px solid #696969;
    border-right: 2px solid #696969;
}

.table-hover tbody tr:hover {
    /*background: #ffffff!important;*/
    background: #c29cdd !important;
    color: #404040;
}

.table-hover tbody tr:hover .grid-header {
    /*background: #ffffff!important;*/
    background: #9f6ec3 !important;
    color: #ffffff;
}

.table-hover tbody tr.nestedTableRow:hover {
    background: white !important;
}

.table-hover tfoot tr:hover {
    background: white !important;
}

.hideOverflow {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 275px;
    display: block;
}

.site-header {
    /*color: #F2EFDC;*/
    padding: 10px;
}

.user-status a a:visited {
    color: orangered;
}

.user-status a:active a:hover {
    color: red;
}

.site-status {
    margin-top: 10px;
    /*color: white;*/
}

.site-footer {
    background-color: #808080;
    color: #404040;
}

.site-footer footer {
    margin: 10px;
}

.site-body {
    /*background-color: #f8f7f2;*/
    background-color: #ffffff;
    color: #404040;
    padding: 10px;
}

.site-username-status {
    list-style-type: none;
    display: inline;
}

.no-padding {
    padding: 0 !important;
}

.site-login {

}

.home-consumer {
    /*background-color: #888888;*/
}

.home-contractor {
    /*background-color:#888666;*/
}

.dashboard-btn {
    margin-top: 15px;
}

.thumbnail_max_size {
    max-height: 100px;
}

.strike {
    text-decoration: line-through;
}


.margin-top-5 {
    margin-top: 5px;
}

.margin-left-5 {
    margin-left: 5px;
}

.margin-right-5 {
    margin-right: 5px;
}

.margin-5 {
    margin: 5px;
}

.session-alert {
    width: 100%;
    margin-top: 5px;
}

.session-alert-btn-wrapper {
    padding: 10px;
}

.addLookup {
    /*width:100%!important;*/
    /*height:25px!important;*/
    /*border:1px solid black;*/
    display: block;
    height: auto;
}

.addLookup select {
    float: left;
    /*height:30px!important;*/
    /*text-indent:1px!important;*/
    padding: 1px !important;
}

.addLookup a {
    float: left;
    /*border:1px solid green;*/
}

.addLookup i {
    float: left;
    padding-left: 3px;
    padding-top: 3px;
    /*border:1px solid #CACACA;*/
}

.grid-refresh-label input {
    float: left;
    width: 25%;
}

.grid-refresh-header input {
    float: left;
    width: 25%;
}

.truck-grid-header {
    width: 25%;
}

.addLookupButton {
    margin-left: 15px;
}

legend {
    width: auto;
}

.grid-refresh-label {
    float: left;
    margin-top: 7px;
    margin-right: 7px;
}

div.grid-refresh-header {
    margin-bottom: 15px;
    padding-left: 30px
}

/* Alert Override */
.alert-info {
    color: #000000 !important;
    background-color: #e2cef1 !important;
    border-color: #bce8f1 !important;
}

.statementTickets {
    /*margin-left: 60px;*/
    border-right: none;
    border-left: none;
    /*background-color:red;*/
    background: #c29cdd !important;
    padding: 8px 8px 8px 8px;
    margin-bottom: 0px !important;
}

.table > tfoot > tr {
    border: 2px solid #696969 !important;
}

.table > thead > tr > th {
    border: 2px solid #696969 !important;
}

.table-hover > tbody > tr:hover > td.nestedTableCell tbody tr:hover td {
    color: white;
    border-left: none !important;
    border-right: none !important;
}

tr.nestedTableRow:nth-child(3) > td:nth-child(1) > div:nth-child(1) > div:nth-child(1) > ticket-grid:nth-child(1) > div:nth-child(1) > div:nth-child(1) > table:nth-child(1) > thead:nth-child(1) > tr:nth-child(1) {
    background-color: #7e49a6 !important;
}

tr.nestedTableRow:nth-child(3) > td:nth-child(1) > div:nth-child(1) > div:nth-child(1) > ticket-grid:nth-child(1) > div:nth-child(1) > div:nth-child(1) > table:nth-child(1) > tfoot:nth-child(3) {
    background-color: white !important;
    color: black;
}

tr.nestedTableRow:nth-child(3) > td:nth-child(1) > div:nth-child(1) > div:nth-child(1) > ticket-grid:nth-child(1) > div:nth-child(1) > div:nth-child(1) > table:nth-child(1) > tfoot:nth-child(3) > tr:nth-child(1) > td:nth-child(1) {
    background-color: white !important;
    color: black;
}

tr.nestedTableRow:nth-child(3) > td:nth-child(1) > div:nth-child(1) > div:nth-child(2) > statement-grid:nth-child(1) > div:nth-child(2) > div:nth-child(1) > table:nth-child(1) > thead:nth-child(1) > tr:nth-child(1) {
    background-color: #7e49a6 !important;
}

tr.nestedTableRow:nth-child(3) > td:nth-child(1) > div:nth-child(1) > div:nth-child(2) > statement-grid:nth-child(1) > div:nth-child(2) > div:nth-child(1) > table:nth-child(1) > tfoot:nth-child(3) {
    background-color: white !important;
    color: black;
}

tr.nestedTableRow:nth-child(3) > td:nth-child(1) > div:nth-child(1) > div:nth-child(2) > statement-grid:nth-child(1) > div:nth-child(2) > div:nth-child(1) > table:nth-child(1) > tfoot:nth-child(3) > tr:nth-child(1) > td:nth-child(1) {
    background-color: white !important;
    color: black;
}

table > tbody > tr.nestedTableRow {
    /*background-color: #c29cdd;*/
    background-color: #ffffff;
    border-left: 2px solid white !important;
    border-right: 2px solid white !important;
}

table > tbody > tr.nestedTableRow:hover {
    /*background-color: #c29cdd;*/
    background-color: #ffffff;
    border-left: 2px solid white !important;
    border-right: 2px solid white !important;
}

table > tbody > tr.nestedTableRow > td.nestedTableCell tbody thead {
    background-color: #7e49a6 !important;
    border-left: none !important;
    border-right: none !important;
}

.nestedTableCell .pagination > .active > a {
    background-color: #9f6ec3;
    border-color: #9f6ec3;
    color: white;
}

.nestedTableCell .pagination > li > a {
    color: #9f6ec3;
}

th.datePicker,
td.datePicker {
    width: 175px;
}

.datePickerControl,
.datePicker {
    z-index: 0;
}

.form-control-radio {
    height: 20px;
    width: 20px;
}

ul[datepicker-popup-wrap] {
    z-index: 999999;
}

@media (min-width: 768px) {
    .omb_row-sm-offset-3 div:first-child[class*="col-"] {
        margin-left: 25%;
    }
}

/* Button Styling */

.btn-cartage {
    background-color: #e2cef1;
}

.btn-cartage-2 {
    background-color: #682e90;
    color: white !important;
}

.btn-cartage-2[disabled] {
    background-color: #696969 !important;
}

/* Nav Styling */

ul #dashboard_reports_menu, ul #dashboard_alerts_menu, ul #dashboard_notes_menu {
    list-style-type: none !important;
    text-decoration: none !important;
}

ul #dashboard_reports_menu > li > a, ul #dashboard_alerts_menu > li > a, ul #dashboard_notes_menu > li > a {
    text-decoration: none !important;
    color: #c29cdd;
}

ul #dashboard_reports_menu > li, ul #dashboard_alerts_menu > li, ul #dashboard_notes_menu > li {
    padding-left: 10px;
}


ul #accounting_invoicing_menu {
    list-style-type: none !important;
    text-decoration: none !important;
}

ul #accounting_invoicing_menu > li > a {
    text-decoration: none !important;
    color: #c29cdd;
}

ul #accounting_invoicing_menu > li {
    padding-left: 10px;
}

ul #accounting_payments_menu {
    list-style-type: none !important;
}

ul #accounting_payments_menu > li > a {
    text-decoration: none !important;
    color: #c29cdd;
}

ul #accounting_payments_menu > li {
    padding-left: 10px;
}

ul #accounting_statements_menu {
    list-style-type: none !important;
}

ul #accounting_statements_menu > li > a {
    text-decoration: none !important;
    color: #c29cdd;
}

ul #accounting_statements_menu > li {
    padding-left: 10px;
}

#brokerage_reports_menu {
    list-style-type: none !important;
}

#brokerage_reports_menu > li {
    padding-left: 10px;
}

#brokerage_reports_menu > li > a {
    text-decoration: none !important;
    color: #c29cdd;
}

#brokerage_tickets_menu {
    list-style-type: none !important;
}

#brokerage_tickets_menu > li {
    padding-left: 10px;
}

#brokerage_tickets_menu > li > a {
    text-decoration: none !important;
    color: #c29cdd;
}

#brokerage_bids_menu {
    list-style-type: none !important;
}

#brokerage_bids_menu > li {
    padding-left: 10px;
}

#brokerage_bids_menu > li > a {
    text-decoration: none !important;
    color: #c29cdd;
}

#brokerage_dispatch_menu {
    list-style-type: none !important;
}

#brokerage_dispatch_menu > li {
    padding-left: 10px;
}

#brokerage_dispatch_menu > li > a {
    text-decoration: none !important;
    color: #c29cdd;
}

#admin_settings_menu {
    list-style-type: none !important;
}

#admin_settings_menu > li {
    padding-left: 10px;
}

#admin_settings_menu > li > a {
    text-decoration: none !important;
    color: #c29cdd;
}

#company_companies_menu {
    list-style-type: none !important;
}

#company_companies_menu > li {
    padding-left: 10px;
}

#company_companies_menu > li > a {
    text-decoration: none !important;
    color: #c29cdd;
}

#company_items_menu {
    list-style-type: none !important;
}

#company_items_menu > li {
    padding-left: 10px;
}

#company_items_menu > li > a {
    text-decoration: none !important;
    color: #c29cdd;
}

#company_contacts_menu {
    list-style-type: none !important;
}

#company_contacts_menu > li {
    padding-left: 10px;
}

#company_contacts_menu > li > a {
    text-decoration: none !important;
    color: #c29cdd;
}

#company_jobs_menu {
    list-style-type: none !important;
}

#company_jobs_menu > li {
    padding-left: 10px;
}

#company_jobs_menu > li > a {
    text-decoration: none !important;
    color: #c29cdd;
}

truck-type-select.ng-isolate-scope > a > .fa-plus-circle {

}

.fa.error {
    color: red;
}

.nestedTableRow {
    border-left: none;
    border-right: none;
}

/* Styling for Login Form */
.omb_login .omb_authTitle {
    text-align: center;
    line-height: 300%;
}

.omb_login .omb_socialButtons a {
    color: white;
    opacity: 0.9;
}

.omb_login .omb_socialButtons a:hover {
    color: white;
    opacity: 1;
}

.omb_login .omb_socialButtons .omb_btn-facebook {
    background: #3b5998;
}

.omb_login .omb_socialButtons .omb_btn-twitter {
    background: #00aced;
}

.omb_login .omb_socialButtons .omb_btn-google {
    background: #c32f10;
}


.omb_login .omb_loginOr {
    position: relative;
    font-size: 1.5em;
    color: #aaa;
    margin-top: 1em;
    margin-bottom: 1em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

.omb_login .omb_loginOr .omb_hrOr {
    background-color: #cdcdcd;
    height: 1px;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

.omb_login .omb_loginOr .omb_spanOr {
    display: block;
    position: absolute;
    left: 50%;
    top: -0.6em;
    margin-left: -1.5em;
    background-color: white;
    width: 3em;
    text-align: center;
}

.omb_login .omb_loginForm .input-group.i {
    width: 2em;
}

.omb_login .omb_loginForm .help-block {
    color: red;
}


@media (min-width: 768px) {
    .omb_login .omb_forgotPwd {
        text-align: right;
        margin-top: 10px;
    }
}


/* Styling for Report Bug Form*/

.madForm *, .madForm :before, .madForm :after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

::-webkit-validation-bubble-message {
    display: none
}

.madForm h2 {
    margin: 40px 0 30px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ccc;
    font-size: 18px;
    color: #464646
}

.madForm-row {
    width: 100%;
    margin-bottom: 18px;
    clear: both
}

.madForm-row:after {
    content: " ";
    visibility: hidden;
    display: block;
    height: 0;
    clear: both
}

.madForm-field-1-1 {
    width: 96%;
    margin: 0 2%;
    position: relative
}

.madForm-field-1-2 {
    width: 46%;
    margin: 0 2%;
    float: left;
    position: relative
}

.madForm-field-1-3 {
    width: 31%;
    margin: 0 2%;
    float: left;
    position: relative
}

.madForm-field-2-3 {
    width: 60%;
    margin: 0 2%;
    float: left;
    position: relative
}

.madForm-input, .madForm-textarea, .madForm-select, .madForm-selectMultiple {
    width: 97%;
    padding: 8px 3% !important;
    transition: border .1s ease, box-shadow .1s ease;
    cursor: pointer;
    line-height: 1em;
    border-radius: 5px;
    border: 1px solid #ccc;
    color: #333;
    background: #ececec url(/images/downloads/inputTextBg.png) repeat-x;
    background-image: -o-linear-gradient(#f5f5f5, #ececec);
    background-image: -moz-linear-gradient(#f5f5f5, #ececec);
    background-image: -webkit-linear-gradient(#f5f5f5, #ececec);
    background-image: -ms-linear-gradient(#f5f5f5, #ececec)
}

.madForm-textarea {
    padding: 8px 12px !important;
    font-family: Arial, Helvetica, sans-serif
}

.madForm-input:focus, .madForm-textarea:focus, .madForm-select:focus, .madForm-selectMultiple:focus {
    color: #000;
    border: 1px solid #00aeef !important;
    box-shadow: 0 0 5px 0 #9ddff9
}

.madForm-label {
    margin-bottom: 0
}

.madForm-label-is-required:before {
    content: "* ";
    color: red
}

.madForm-label:after {
    content: ": "
}

.madForm-select-outer {
    position: relative;
    border-radius: 4px
}

.madForm-select {
    height: 36px !important;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    padding-right: 10px !important;
    line-height: 20px;
    margin: 0;
    -webkit-border-radius: 6px;
    -moz-border-radius: 4px;
    border-radius: 6px;
    color: #333;
    outline: 0;
    display: inline-block;
    cursor: pointer;
    border: 1px solid #ccc
}

.madForm-selectMultiple {
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    padding-right: 10px !important;
    line-height: 20px;
    margin: 0;
    -webkit-border-radius: 6px;
    -moz-border-radius: 4px;
    border-radius: 6px;
    color: #333;
    outline: 0;
    display: inline-block;
    cursor: pointer;
    border: 1px solid #ccc
}

.madForm-select-outer select option {
    cursor: pointer !important
}

.madForm input[type=email] {
    cursor: pointer;
    line-height: 1em;
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 8px 15px;
    color: #333;
    background: #ececec url(/images/downloads/inputTextBg.png) repeat-x;
    background-image: linear-gradient(#f5f5f5, #ececec);
    background-image: -o-linear-gradient(#f5f5f5, #ececec);
    background-image: -moz-linear-gradient(#f5f5f5, #ececec);
    background-image: -webkit-gradient(linear, 0 0, 0 bottom, from(#f5f5f5), to(#ececec));
    background-image: -webkit-linear-gradient(#f5f5f5, #ececec);
    background-image: -ms-linear-gradient(#f5f5f5, #ececec)
}

.madForm input[type=number] {
    cursor: pointer;
    line-height: 1em;
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 8px 15px;
    color: #333;
    background: #ececec url(/images/downloads/inputTextBg.png) repeat-x;
    background-image: linear-gradient(#f5f5f5, #ececec);
    background-image: -o-linear-gradient(#f5f5f5, #ececec);
    background-image: -moz-linear-gradient(#f5f5f5, #ececec);
    background-image: -webkit-gradient(linear, 0 0, 0 bottom, from(#f5f5f5), to(#ececec));
    background-image: -webkit-linear-gradient(#f5f5f5, #ececec);
    background-image: -ms-linear-gradient(#f5f5f5, #ececec)
}

.madForm input::-webkit-outer-spin-button, .madForm input::-webkit-inner-spin-button {
    margin-right: 50px;
    position: relative;
    right: 8px;
    cursor: pointer
}

.madForm-submitButton {
    margin: 40px auto 0;
    width: 200px
}

.madForm-errorInstructions {
    font-size: 18px !important;
    color: red !important
}

.madForm-errorList li {
    color: red
}

.madForm-errorMessage {
    position: absolute;
    right: 0;
    bottom: -24px !important;
    display: none
}

.madForm-errorMessage p {
    color: red !important;
    font-size: 14px !important;
    margin: 0 !important
}

.ng-invalid-label {
    color: red !important
}

.madForm-field-isError input:focus, .madForm-field-isError textarea:focus {
    box-shadow: 0 0 5px 0 #fb6f73 !important;
    border: 1px solid red !important
}

.madform-inputDes {
    margin-left: 12px;
    font-style: italic;
    color: #7e7e7e;
    font-size: 13px;
    margin-bottom: 8px
}

.madForm .validationMessage {
    color: red;
    position: absolute;
    left: 11px;
    bottom: -19px !important;
    font-size: 13px;
    font-weight: 400
}

.madForm .validationMessage-for-textarea {
    bottom: -15px !important
}

.madForm-checkboxGrid-item {
    width: 246px;
    height: 27px;
    float: left
}

.madForm-checkboxGrid-item label {
    float: left;
    margin-left: 7px
}

.madForm-checkboxGrid-item input {
    float: left;
    position: relative
}

.madForm-message1 p {
    font-size: 12px;
    margin: 7px 0 5px;
    color: #a1a1a1;
    line-height: 1.5em;
    text-align: center
}

.madForm-controls {
    width: 570px;
    height: 48px;
    margin: 30px auto
}

#TrialDownloadForm {
    margin: 0
}

.mfp-madForm .mfp-container {
    padding: 0 !important
}

.mfp-madForm .mfp-inline-holder .mfp-content, .mfp-madForm .mfp-ajax-holder .mfp-content {
    max-width: 810px
}

.mfp-madForm .mfp-content {
    border: 10px solid rgba(0, 0, 0, .2);
    border-radius: 7px
}

.mfp-madForm .mfp-content .row {
    padding: 15px 32px;
    width: auto;
    border-radius: 5px
}

.mfp-madForm .mfp-content .rowInner, .mfp-madForm .mfp-content .pure-u-7-8 {
    width: 100%
}

.mfp-madForm .mfp-content .madForm h2 {
    margin-bottom: 15px;
    padding-bottom: 0
}

.mfp-madForm .mfp-content .madForm-textarea {
    width: 97%;
    width: calc(100% - 24px);
    font-family: Arial, Helvetica, Arial, sans-serif;
    line-height: 18px
}

.mfp-madForm .mfp-content .madForm-checkboxGrid-item {
    width: 238px
}

.mfp-madForm .mfp-content .madForm-checkboxGrid-item input {
    position: relative;
    top: 2px
}

.mfp-madForm .mfp-content .formInstructions {
    margin: 14px 0 6px;
    opacity: .7
}

.mfp-madForm .mfp-content .downloadFormH2 {
    margin-top: 0
}

.mfp-madForm.mfp-bg {
    background-color: #000 !important;
    opacity: .5 !important
}

.mfp-madForm.mfp-bg {
    opacity: 0;
    -webkit-transition: all .5s ease-out;
    -moz-transition: all .5s ease-out;
    transition: all .5s ease-out
}

.mfp-madForm.mfp-bg.mfp-ready {
    opacity: .8
}

.mfp-madForm.mfp-bg.mfp-removing {
    opacity: 0
}

.mfp-madForm.mfp-wrap .mfp-content {
    opacity: 0;
    -webkit-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    transition: all .2s ease-out
}

.mfp-madForm.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1
}

.mfp-madForm.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0
}

.mfp-madForm .mfp-s-loading {
    display: none
}

/* PDF */

@media all {
    .page-break {
        display: block;
        page-break-before: always;
    }

    .keep-together {
        page-break-inside: avoid;
    }
}

@media print {
    .page-break {
        display: block;
        page-break-before: always;
    }

    .keep-together {
        page-break-inside: avoid;
    }
}

.invoice-pdf {
    margin-left: 10px;
    margin-right: 10px;
}

.invoice-pdf thead th {
    text-decoration: underline;
}

.invoice-pdf .table th, .table td {
    border: none !important;
}

.invoice-pdf .job-header {
    text-align: left;
}

.invoice-pdf .job-footer {
    text-align: right;
}

.invoice-pdf .invoice-footer {
    text-align: right;
}


.statement-pdf {
    margin-left: 10px;
    margin-right: 10px;
}

.statement-pdf thead th {
    text-decoration: underline;
}

.statement-pdf .table th, .table td {
    border: none !important;
}

.statement-pdf .job-header {
    text-align: left;
}

.statement-pdf .job-footer {
    text-align: right;
}

.statement-pdf .statement-footer {
    text-align: right;
}


/* Modal Overrides */

/* Important part */
.modal-dialog {
    overflow-y: initial !important
}

.modal-body {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

/*.modal-content {*/
/*    overflow-y: auto!important;*/
/*    height:750px!important;*/
/*    overflow-x:hidden!important;*/
/*}*/

.error {
    color: red;
}

.audit-field, .audit-field select,
.audit-field > input + div > button, .audit-field > div, .blake > input /*datepicker*/
{
    border-color: red !important;
}

.audit-field-option-select {
    border: 1px solid red !important;
}

.ticket-audit-table tr {
    border-top: 1px solid black;
}

.ticket-audit-table tr:hover, .ticket-audit-table tr:active, .ticket-audit-table tr:focus {
    background: #c29cdd !important;
    color: #404040;
}

.ticket-audit-table th {
    background: lightgrey;
    cursor: default;
}

i.ticket-audit-icon {
    color: darkred;
    font-size: 18px;
    top: 3px;
    position: relative;
}

button i.ticket-audit-icon {
    font-size: 12px;
    left: 1px;
    top: 0;
}

.print-button {
    margin-right: 10px;
}