﻿body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
    font-family: 'Roboto', sans-serif;
}

body.login {
    background-image: url(../images/scene-5.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

h2 {
    color: #666666;
    font-weight: 300;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: #8B8B8B;
    margin: 1rem 0 0;
}

i {
    font-size: 0.8rem;
    color: #8B8B8B;
}

h5 {
    font-size: 0.8rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

a {
    color: #666666;
    text-decoration: none;
}

/* a:hover,
a:visited,
a:active {
    color: #666666;
} */

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}


/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

/* Set Row Height to align column */
.cp-row {
    min-height: 100vh;
}
@media screen and (max-height: 600px) {
    .cp-row {
        min-height: 80vh;
    }
}

/* Small Image Class */
.img-small {
    max-width: 75px;
}

/* Logo */

.img-logo {
    max-height: 100px;
    margin-bottom: 2rem;
    /* filter: brightness(0) invert(1); */
}

/* Start Form Styles */
.login-wrap {
    background-color: #fff;
    -webkit-box-shadow: 0px 0px 9px 0 rgba(0,0,0,0.2);
    box-shadow: 0px 0px 9px 0 rgba(0,0,0,0.2);
    border-radius: 5px;
    overflow: hidden;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1rem;
}
.input-wrapper {
    background-color: white;
    margin-bottom: 1.5rem;
    border-top: 1px solid #efefef;
}

.input-wrapper p.direction {
    border-bottom: 1px solid #F0F0F0;
    margin-bottom: 0;
    padding-bottom: 0.5rem;
}

.input-wrapper .row .col:first-child {
    border-right: 1px solid #F0F0F0;
}

.input-wrapper .input-group {
    border-bottom: 1px solid #efefef;
}

.input-wrapper.confirm p {
    margin-top: 1rem;
}

.forgot-password a {
    color: #ffffff;
}

.form-control {
    border: none;
    background: transparent !important;
    outline: none;
    padding: 0.8rem 0.5rem;
}

.form-control:focus {
    box-shadow: none;
}

.input-group-prepend {
    text-align: center;
}

.input-group-text {
    border: none;
    border-radius: 0;
    background-color: transparent;
    padding: 0 1rem 0 1.4rem;
    text-align: center;
    color: #B3B3B3;
    width: 55px;
}

.form-button {
    margin-bottom: 1rem;
}

.form-check {
    color: #333;
    font-size: 0.8rem;
}

.form-check label {
    margin-bottom: 0;;
}

.form-check-input {
    margin-top: 0.23rem;

}

.form-success-header {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.doc-layout {
    display: flex;
    flex-direction: row;
    justify-content:flex-start;
    min-height: 460px; 
}

.preview-layout {
    display: flex;
    justify-content: center;
    align-items: center;
}

.forgot-password {
    font-size: 0.8rem;
    margin-bottom: 2rem;
}
/* End Form Styles */

/* Test drag/drop */
#sortable1, 
#sortable2, 
#sortable3, 
#sortable4  {
    justify-content: center;
    border: 1px solid #eee;
    width: 100%;
    min-height: 25vh;
    list-style-type: none;
    margin: 0;
    padding: 5px 0 0 0;
    float: left;
    margin-right: 10px;
    overflow: auto;

}

#sortable1 li,
#sortable2 li, 
#sortable3 li, 
#sortable4 li  {
    margin: 1px;
    padding: 2px;
    font-size: .9em;
    width: 100%;
}

#sortable1 li:hover,
#sortable1 li:focus,
#sortable1 li:active, 
#sortable2 li:hover,
#sortable2 li:focus,
#sortable2 li:active,
#sortable3 li:hover,
#sortable3 li:focus,
#sortable3 li:active, 
#sortable4 li:hover,
#sortable4 li:focus,
#sortable4 li:active {
    color: white;
    background-color: #00A4CB;
    border-color: #00A4CB;
}

.user-checkbox-header {
    align-items: center;
    display: flex
}

.admin-email-search {
    padding: 0;
    margin: 0 0 15px 0;
}

.admin-email-label {
    padding: 0;
    margin: 15px 3px 0 0;
}

.user-checkbox-lable {
    margin-left: 3px;
}

/* end test drag/drop remove*/

/* Start Button Styles */
.btn {
    text-transform: uppercase;
    border-radius: 200px;
    font-size: 1rem;
    padding: 0.375rem 1.5rem;
    font-weight: 700;
}

.btn-xsm {
    text-align: center;
    padding: 0.15rem 1rem;
    font-size: 0.75rem;
}

.btn-sm {
    padding: 0.25rem 1.5rem;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 0.7rem 3rem;
    font-size: 1rem;
}

.btn-primary {
    background-color: #007A92;
    border-color: #007A92;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #004D5C;
    border-color: #004D5C;
}

.btn-outline-primary {
    border-color: #00A4CB;
    border-width: 2px;
    color: #00A4CB;
    text-decoration: none;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: #00A4CB;
    border-color: #00A4CB;
}

.btn-delete {
    color: #fff;
    background-color: #DC3545;
    border-color: #DC3545;
}
.btn-delete:hover,
.btn-delete:focus,
.btn-delete:active {
    color: #fff;
    background-color: #7a1d28;
    border-color: #7a1d28;
}

/* End Button Styles */

/* Start Validation Styles */
.alert {
    text-align: left;
}
.alert.validation-summary-valid {
    display: none;
}
.alert.validation-summary-error {
    display: block;
}

.alert ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.alert li {
    position: relative;
    padding: 0 15px;
    margin-bottom: 0.2rem;
}

.alert li:last-child {
    margin-bottom: 0;
}

div.status-message > div.alert {
    margin: 0;
}

/* .alert li:before {
    display: block;
    content: '';
    width: 5px;
    height: 1px;
    background: #721c24;
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -1px;
} */

div.login-alert {
    padding: 0.4em;
}

.login-alert li:before {
    display: none;
}

.alert-dismissible {
    padding-right: 2rem;
}

.user-management-alert-dismissible {
    font-size: 0.8em;
    overflow: auto;
    max-width: 34vw;
    max-height: 4em;
    margin: 0;
}

.alert-dismissible .close {
    padding: 0.1rem 0.5rem;
}

.input-wrapper .input-group {
    position: relative;
}
span.field-validation-error {
    display: block;
    background-color: #f8d7da;
    color: #721c24 !important;
    font-size: 0.8rem;
    height: auto;
    position: relative;
}
span.field-validation-error:before {
    content: '';
    width: 0; 
    height: 0; 
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #f8d7da;
    position: absolute;
    top: -5px;
    left: 25px;
}

.register-alert,
.login-alert {
    padding: 0;
    margin-bottom: 0;
}

.register-alert button,
.login-alert button {
    z-index: 100;
}
/* End Validation Styles */

/* Start Table Styles */

.user-management-table,
.customer-config-table {
    background-color: whitesmoke;
    max-height: 80%;
    font-size: 0.7rem;
}

div.customer-list-container {
    position: relative;
}

ul[class^="customer-list-"] {
    max-height: 10em;
    overflow-y: auto;
    margin: 0;
    list-style: none;
    padding: 0;
}

.customer-config-table {
    font-size: 0.8rem;
}

.user-management-table td,
.customer-config-table td {
    vertical-align: middle;
    padding: .25rem .5rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.customer-config-table th,
.user-management-table th {
    padding: 0.4rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

#config-table-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    letter-spacing: 0.8px;
}

.edit-btn {
    text-decoration: none;
    padding: 0.2rem;
    margin: .25rem 0;
    width: 4rem;
    font-size: 0.7rem;
    font-weight: 500;
}

button.activate-btn {
    width: 5rem;
}

.user-management-table tbody {
    display: block;
    height: 65vh;
    overflow: auto;
}

.customer-config-table tbody {
    display: block;
    height: 50vh;
    overflow: auto;
}

thead, tbody tr, tfoot {
    display: table;
    width: 100%;
    table-layout: fixed;/* even columns width , fix width of table too*/
}

thead {
    background-color: #007A92;
    color: #fff;
}

.opco-column,
.status-column,
.date-column,
.module-column {
    width: 100px;
}

.action-column {
    width: 80px;
}

.activate-column {
    width: 92px;
}

th.sortable {
    cursor: pointer;
}

td+td {
    width: auto;
}

.customer-id {
    width: 100%;
}

/* End Table Styles */

/* Start Message Styles */
.confirm {
    padding: 1em;
}
/* End Message Styles */

/* Start Footer Styles */
footer.footer {
    padding-top: 0;
    padding-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 300;
    font-size: 0.8rem;
}

footer.footer img {
    margin-top: 0.5rem;
}
/* End Footer Styles */

/* Start Administration/Manage Styles */

#admin-page-title {
    font-size: 1.2rem;
    font-weight: 300;
    background-color: #007A92;
    color: #ffffff;
    margin: 0 -15px 1rem;
    padding: 0.5rem 2rem;
}

.admin-head-wrap {
    padding: 0 1rem 1rem;
}

.admin-heading {
    margin-bottom: 0;
}

.admin-body {
    padding-left: 0;
}

.admin-body .form-control {
    border: 1px solid #ced4da;
}

.admin-body-inner {
    border: 1px solid #efefef;
    padding: 1rem 1.5rem 2rem;
    background-color: #fff; 
}

.admin-nav {
    padding-right: 0;
}

.profile-side-nav ul,
.profile-side-nav ul ul {
    list-style: none;
    padding: 0 0 0 2rem;
    margin: 0;
}

.profile-side-nav ul li,
.profile-side-nav ul ul li {
    cursor: pointer;
    font-weight: bold;
    margin: 0;
}

.profile-side-nav ul li a,
.profile-side-nav ul ul li a {
    color: #737373;
    display: block;
    position: relative;
    right: -2px;
    z-index: 20;
    padding: 1rem;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    border-left: 1px solid transparent;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.profile-side-nav ul li a.active,
.profile-side-nav ul ul li a.active {
    color: #007A92 !important;
    border-top: 1px solid #efefef;
    border-bottom: 1px solid #efefef;
    border-left: 1px solid #efefef;
    background-color: #fff;
}

.profile-side-nav ul li a:hover,
.profile-side-nav ul ul li a:hover {
    color: #007A92 !important;
    text-decoration: none;
}  

.admin-container,
.manage-container {
    padding: 1em;
}

.role-list * {
    color: #212529 !important;
    padding-left: 5em;
}

.change-list * {
    color: #212529 !important;
}

.role-list h3,
.change-list h3 {
    font-weight: 600;
    text-decoration: underline;
}

.role-list ul,
.change-list ul {
    list-style: none;
    text-align: left;
    padding: 0.2em 0 0 1em;
}

.btn-manage-role,
.btn-remove-role,
.btn-act-as-user {
    margin: 0 1em;
    font-size: 0.8rem;
}

.input-roles {
    height: auto !important;
}

.row.user-management-search-row>div {
    padding: 0;
}

form.send-invite input, 
form.manage-role input, 
form.act-as-user input, 
form.manage-role select,
form.create-role input,
form.edit-contact-info input,
form.edit-home-message input,
form.edit-home-message textarea,
form.edit-system-message input,
form.edit-system-message textarea,
form.manage-profile input,
form.change-password input,
form.user-management-search input, 
form.user-management-search select,
#MaxACH,
#MaxCredit,
#PaymentReportEmail,
#PaymentNotificationEmail {
    background: #fff !important;
}

#invite-module-container {
    display: flex;
    justify-content: space-between;
}

form.user-management-search input, 
form.user-management-search select {
    padding: 0.5rem;
    margin: 0 1rem 0 0;
}

.btn-user-management-search {
    margin: 0 1em;
    -webkit-box-shadow: 3px 4px 4px 0 rgba(0,77,92,1);
    box-shadow: 3px 4px 4px 0 rgba(0,77,92,1);
}

form.user-management-search h3 {
    color: #333;
    font-weight: 700;
    margin: 0;
}

form.user-management-search {
    margin: 0 0 1em 0;
    height: 3.2em;
}

form.user-management-search .search-status-message {
    margin: 0 0 0 1em;
}

.portal-config-btn {
    margin: 1em 0 0 0;
}

.form-section-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0 0 0.4rem 0;
    color: #333;
}

#payment-config-form hr, 
.portal-config hr,
#customer-config-form hr,
#line-of-business-form hr {
    margin: 0 0 0.5em 0;
}

#payment-config-form .form-group,
#customer-config-form .form-group,
#line-of-business-form .form-group,
.portal-config .form-group,
.portal-config .custom-control-label {
    margin-left: 1rem;
    font-weight: 300;
}

.admin-title {
    font-size: 1.3rem;
}

form.manage-role input, 
form.manage-role select,
form.create-role input,
form.edit-contact-info input,
form.edit-home-message input,
form.edit-home-message textarea,
form.edit-system-message input,
form.edit-system-message textarea,
form.manage-profile input,
form.change-password input,
form#payment-config-form input,
form#customer-config-form input,
form#payment-config-form textarea,
form#line-of-business-form input {
    padding: 0.5em;
}

form.dashboard-config div.form-group {
    margin: 1em 0 0 0;
}

form.dashboard-config {
    margin: 0 0 1em 0;
}

#payment-config-form input,
#payment-config-form label,
#customer-config-form input,
#customer-config-form label,
#line-of-business-form input,
#line-of-business-form label {
    font-size: 1rem;
}

.nav-link {
    text-decoration: none;
}

.admin-alert {
    position: absolute;
    top: 0;
    left: 50%;
    width: 76%;
    margin-left: -38%;
}

.custom-alert {
    position: absolute;
    top: 4px;
    right: 47px;
    width: 33%;
}

.button-box {
    display: flex;
    justify-content: space-evenly;
}

#legacy-reset-password,
.legacy-new-registration {
    text-decoration: underline;
    color: #0056b3 !important;
    cursor: pointer;
}

.module-group * {
    font-size: 1em;
}

.send-invite-checkbox {
    margin: 0 1em;
}

.send-invite-checkbox input {
    margin: 0 0.5em;
}

ul.invite-customer-list {
    text-align: left;
    list-style: none;
    padding: 0.5rem 0 0 0;
}

#user-details-container dl dd ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ie-banner {
    text-align: center;
    background: lightgray;
    padding: 0.5em;
    border-radius: 0;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    z-index: 10;
}

.ie-banner p {
    margin: 0;
}

.ie-banner p a {
    color: blue;
}

span.autocomplete-spinner {
    position: absolute;
    right: 1.5em;
    top: 2.7em;
}

span[class^="customer-search-spinner-"] {
    font-size: 13px !important;
}

span[class^="customer-search-spinner-"],
i[class^="customer-search-clear-"] {
    position: absolute;
    top: 4px;
    right: 4px;
}

i[class^="customer-search-clear-"] {
    color: red;
    cursor: pointer;
    font-size: 14px !important;
    font-weight: 700;
}

#payment-config,
#max-ach-container,
#max-credit-container,
#max-aggs-container,
#max-asphalt-container,
#max-cement-container,
#max-rmc-container,
#max-other-container,
span.autocomplete-spinner,
span[class^="customer-search-spinner-"],
.ui-helper-hidden-accessible {
    display: none;
}

input[class^="customer-search-"] {
    width: 100%;
}

#line-of-business-container {
    display: flex;
    justify-content: space-evenly;
    margin: 0.5rem 0;
}

#line-of-business-container h3 {
    font-size: 1rem;
}

#line-of-business-container label.form-checkbox {
    font-size: 0.9rem;
    margin: 0 1em;
}

.ui-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    float: left;
    display: none;
    min-width: 160px;   
    padding: 4px 0;
    margin: 0 0 10px 25px;
    list-style: none;
    background-color: #ffffff;
    border-color: #ccc;
    border-color: rgba(0, 0, 0, 0.2);
    border-style: solid;
    border-width: 1px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    cursor: pointer;
    max-height: 150px;
    overflow-y: scroll;
}

.ui-menu-item > a.ui-corner-all {
    display: block;
    padding: 3px 15px;
    clear: both;
    font-weight: normal;
    line-height: 18px;
    color: #555555;
    white-space: nowrap;
    text-decoration: none;
}

.ui-state-hover, .ui-state-active {
    color: #ffffff;
    text-decoration: none;
    background-color: #0088cc;
    border-radius: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    background-image: none;
}

.ui-menu-item-wrapper {
    font-size: 0.8rem;
}

.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
    float: none;
    text-align: center;
}

.info-tooltip {
    position: relative;
    display: inline-block;
    margin-left: 0.3rem;
    cursor: help;
}
.info-tooltip i {
    color: #007A92;
    font-size: 0.8rem;
    top: -1px;
    position: relative;
}
.info-tooltip > div {
    position: absolute;
    left: 100%;
    margin-left: 0.3rem;
    width: 200px;
    top: 50%;
    font-size: 0.8rem;
    background-color: #007A92;
    color: #fff;
    padding: 0.4rem 0.7rem;
    -moz-transform: translateX(0px) translateY(-50%);
    -webkit-transform: translateX(0px) translateY(-50%);
    -o-transform: translateX(0px) translateY(-50%);
    -ms-transform: translateX(0px) translateY(-50%);
    transform: translateX(0px) translateY(-50%);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -moz-transform: scale(0) translateX(0) translateY(-50%);
    -webkit-transform: scale(0) translateX(0) translateY(-50%);
    -o-transform: scale(0) translateX(0) translateY(-50%);
    -ms-transform: scale(0) translateX(0) translateY(-50%);
    transform: scale(0) translateX(0) translateY(-50%);
    transform-origin: top left;
}
.info-tooltip:hover > div {
    visibility: visible;
    -moz-transform: scale(1) translateX(0) translateY(-50%);
    -webkit-transform: scale(1) translateX(0) translateY(-50%);
    -o-transform: scale(1) translateX(0) translateY(-50%);
    -ms-transform: scale(1) translateX(0) translateY(-50%);
    transform: scale(1) translateX(0) translateY(-50%);
}

.info-tooltip > div p:last-child {
    margin-bottom: 0;
}

div.info-tooltip div.admin-shadow {
    z-index: 50;
}

.admin-shadow,
.admin-shadow:focus {
    -webkit-box-shadow: 2px 3px 3px 0 #888;
    box-shadow: 2px 3px 3px 0 #888;
}

.admin-shadow:disabled {
    background: gray;
    border: gray;
}

div.customer-config-status {
    font-size: 1.1rem;
    font-weight: 700;
}

li[class^="customer-list-item-"] {
    position: relative;
}

i.remove-customer,
i.invite-remove-customer {
    font-size: 0.7rem;
    font-weight: 700;
    color: red;
    cursor: pointer;
    margin: 0 2px 0 0;
}

i.invite-remove-customer {
    font-size: 1rem;
    margin: 0 0.7rem 0 0;
}

i.autocomplete-clear {
    font-size: 14px !important;
    font-weight: 700;
    position: absolute;
    right: 1.8em;
    top: 3.2em;
    color: red;
    cursor: pointer;
}

i.autocomplete-clear:hover {
    transform: scale(1.2);
}

.email-search-clear {
    font-size: 16px !important;
    font-weight: 700;
    color: red;
    cursor: pointer;
    align-items: center;
    margin: 10px 5px 5px 5px;
}

.email-search-clear:hover {
    transform: scale(1.2);
}

.email-column {
    overflow-wrap: break-word;
}

.deleted-user {
    background-color: darkgrey !important;
}

.preview-styling{
    font-size: 25rem;
}

/* Media Queries */

@media screen and (max-width: 1100px) {
    form.user-management-search {
        margin: 0 0 3em 0;
    }

    .img-logo {
        max-height: 75px;
    }
}

@media screen and (max-height: 600px) {
    footer.footer {
        position: static;
    }

    .doc-layout {
        flex-direction: column;
        justify-content: space-around;
    }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .cp-row {
        height: 100vh;
    }
}