html,
body {
    height: 100%;
}

body {
    font-family: 'Roboto', sans-serif;
}

body .wrapper {
    min-height: 100%;
    padding-bottom: 30px;
    position: relative;
}

table {
    font-size: 0.9em;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Bree Serif', serif;
}

/*
 ------------------ Header Container ------------------
*/

.logo {
    position: relative;
    border-bottom: 2px solid #FFFFFF;
    z-index: 1;
    background-image: url('../images/volt-logo.png');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 100% 65%;
    min-height: 220px;
}

@media only screen and (max-width: 640px) {
    .logo {
        min-height: 37vw;
    }
}

#header {
    position: relative;
    border-bottom: 2px solid #FFFFFF;
    z-index: 1;
    background-image: url('../images/layout/banner-bg.jpg');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100% 100%;
}

#header .header-inner {
    overflow: hidden;
    padding: 20px;
    margin-left: 220px;
}

#header #header-logo-wrapper {
    max-width: 220px;
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
}

#header #header-logo-wrapper img {
    width: 102px;
    margin: 3px auto 0 auto;
    display: block;
}

#full-wrapper {
    padding-bottom: 0px;
}

#full-wrapper.system-alert {
    margin: 0px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

#full-wrapper.logged-in #login-box {
    display: none;
}

#full-wrapper.logged-in #header .header-inner {
    padding: 10px 20px;
}

#header .header-inner a.navbar-left img {
    max-width: 100%;
    width: 180px;
}

#full-wrapper.logged-out #header .header-mobile-nav-toggle {
    display: none;
}

#header .header-mobile-nav-toggle {
    background-color: #333;
    padding: 16px 16px 16px 16px;
    color: #FFFFFF;
    position: absolute;
    left: 0px;
    bottom: 0px;
    display: none;
}

#header .header-mobile-nav-toggle span {
    font-weight: bold;
}

#header .header-mobile-nav-toggle.open {
    left: -90px;
}

#header .header-mobile-nav-toggle:hover {
    cursor: pointer;
    background-color: #444;
}

/*
 ------------------ Footer Container ------------------
*/
#footer {
    background-color: #EFB001;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}

#footer .to-top {
    height: 30px;
    text-align: center;
    border-bottom: 2px solid #F2C137;
}

#footer .to-top a {
    padding: 0px 20px;
    font-size: 1.5em;
    font-weight: bold;
    color: #FFFFFF;
}

#footer .to-top a:hover {
    color: #23527c;
}

/*
 ------------------ Main Container ------------------
*/
#main-wrapper {
    position: relative;
    background-color: #FAF6EF;
}

#main {
    z-index: 3;
    position: relative;
    width: auto;
    padding: 0px 0px 0px 220px;
}

#main>.before-container {
    width: 220px;
    background-color: #FAF6EF;
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
}

#main>.container {
    width: auto;
    padding: 0px 35px 55px 35px;
    background-color: #FFFFFF;
}

#main>.container .page-header {
    min-height: 60px;
    margin: -60px -35px 0px -35px;
    padding: 10px 20px 10px 20px;
    background: #FFF url('../images/layout/grey-scan-lines.png') repeat top left;
}

#main>.container>.inner-content {
    margin-top: 20px;
    position: relative;
}

#main>.container>.inner-content .main-logo {
    padding: 75px 0;
}

#main>.container>.inner-content .main-logo img {
    max-width: 100%;
}

#main>.container>.inner-content h1,
#main>.container>.inner-content h2,
#main>.container>.inner-content h3,
#main>.container>.inner-content h4,
#main>.container>.inner-content h5 {
    min-height: 1.1em;
}

#main h1.page-header {
    border: none;
}

#main h1.page-header .search-bar {
    margin-left: 7px;
    max-width: 250px;
}

h1.page-header .header-button-wrap {
    display: inline;
}

h1.page-header .btn .fa-stack.indicator {
    font-size: 0.8em;
    color: #FFFFFF;
    font-weight: normal;
    vertical-align: top;
}

h1.page-header .btn .fa-stack.indicator strong {
    margin-top: -1px;
}

/*
 ------------------ Sidebar Navigation ------------------
*/
#sidebar-nav-wrapper {
    width: 220px;
    float: none;
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    z-index: 4;
    background: #262626 url('../images/layout/black-scan-lines.png') repeat top left;
    color: #FFF;
    padding-bottom: 50px;
}

#sidebar-nav-wrapper>ul.main-nav {
    float: none;
    display: block;
    margin: 0;
    padding: 0;
}

#sidebar-nav-wrapper>ul.main-nav #main-navbar-toggle #sidebar-nav-wrapper>ul.nav.subaction-bar {
    border-right: 40px solid #ffd000;
    width: 260px;
}

#sidebar-nav-wrapper>ul.nav li {
    float: none;
    display: block;
    position: inherit;
}

#sidebar-nav-wrapper>ul.nav li .indicator {
    float: right;
    font-size: 0.8em;
    margin-top: -1px;
}

#sidebar-nav-wrapper>ul.nav li.nav-link a {
    color: #FFF;
    padding: 10px 15px
}

#sidebar-nav-wrapper>ul.nav li.nav-link:hover,
#sidebar-nav-wrapper>ul.nav li.nav-group .group-heading:hover {
    background-color: #ffd000;
    color: #000;
    cursor: pointer;
}

#sidebar-nav-wrapper>ul.nav li.nav-link a:focus {
    background-color: #000;
}

#sidebar-nav-wrapper>ul.nav li.nav-link:hover a {
    background-color: inherit;
    color: #000;
}

#sidebar-nav-wrapper>ul.nav li.nav-link a:hover {
    color: #337ab7;
}

#sidebar-nav-wrapper>ul.nav li.nav-link i.fa,
#sidebar-nav-wrapper>ul.nav li.nav-group .group-heading i.fa {
    margin-right: 3px;
}

#sidebar-nav-wrapper>ul.nav li.nav-group .group-heading {
    padding: 10px 15px
}

#sidebar-nav-wrapper>ul.nav li.nav-group ul {
    display: none;
    position: inherit;
}

#sidebar-nav-wrapper>ul.nav li.nav-group ul.open {
    display: block;
}

#sidebar-nav-wrapper>ul.nav li.nav-group ul li a {
    padding-left: 34px;
}

#sidebar-nav-wrapper>ul.nav li.nav-link .extra-links {
    text-align: center;
    display: none;
    background-color: #ffd000;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 220px;
    width: 50px;
    -webkit-box-shadow: 3px 0px 5px -2px #888;
    box-shadow: 3px 0px 5px -2px #888;
}

#sidebar-nav-wrapper>ul.nav li.nav-link .extra-links a {
    display: block;
    width: 50px;
    padding: 10px 0;
}

#sidebar-nav-wrapper>ul.nav li.nav-link .extra-links a:focus {
    color: #337ab7;
    border-color: #337ab7;
}

/*
 ------------------ Top Bar Navigation ------------------
*/

#header .top-bar {
    margin: 0 0 58px 220px;
    padding: 0px 15px 0px 0px;
    overflow: hidden;
    /*
    background-image: url('../images/layout/black-scan-lines.png');
    background-repeat: repeat;
    background-position: top left;
    border-bottom: 2px solid #000000;
    */
}

#header .top-bar ul a {
    color: #000;
}

#header .top-bar ul li a:hover {
    background: transparent url('../images/layout/70opacity-background.png') repeat top left;
}

#main-menu-navigation span.nav-name {
    font-size: 14px;
}

/*
 ------------------ Top Bar System Navigation ------------------
*/
#header .top-bar ul.system-nav {
    margin-right: 10px;
    font-size: 1.3em;
}

/*
 ------------------ Top Bar Icon Navigation ------------------
*/
#header .top-bar ul.icon-nav {
    margin-right: 10px;
    font-size: 1.3em;
}

#header .top-bar ul.icon-nav li a {
    padding-left: 10px;
    padding-right: 10px;
}

/*
 ------------------ Breadcrumb Navigation ------------------
*/
#main .before-heading>.breadcrumb {
    margin: 15px 0px 15px 0px;
    display: none;
}

/*
 ------------------ Search Bar ------------------
*/

.page-header .search-bar {
    overflow: hidden;
}

.page-header .search-bar form {
    line-height: 0.8em;
}

.page-header .search-bar form .form-group {
    font-size: 0;
}

.page-header .search-bar form input {
    border-radius: 4px 0px 0px 4px;
    -moz-border-radius: 4px 0px 0px 4px;
    -webkit-border-radius: 4px 0px 0px 4px;
}

/*
 ------------------ table 'info grid' styles ------------------
*/

a.list-header-sort {
    color: inherit;
}

a.list-header-sort:hover {
    text-decoration: none;
}

table.info-grid td.cell-label {
    font-weight: bold;
    text-align: right;
    vertical-align: top;
}

/*
 ------------------ form styles ------------------
*/

form h2 {
    margin-top: 35px;
}

input[type="file"].form-control {
    height: auto;
    padding: 4px 12px;
}

form textarea {
    max-width: 100%;
}

/*pagination jump to form. If inside for add margin to line up with pagination*/
.row .jump-to-form {
    margin-top: 20px;
}

form .form-group .alert {
    margin-bottom: 0px;
}

input.has-error,
select.has-error {}

input.has-error,
select.has-error {
    border-color: #a94442;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

input.has-error:focus,
select.has-error:focus {
    border-color: #843534;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
}

textarea {
    overflow: hidden;
}

/**
 * reqyuired field js popover effects
 */

.req-field-popover {
    color: #a94442;
}

.req-field-popover i.fa {
    margin-right: 3px;
}

.req-field-popover-highlight-on {
    animation: req-field-highlight-on 500ms;
    animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
}

@keyframes req-field-highlight-on {
    100% {
        -webkit-box-shadow: 0px 0px 2px 3px rgba(169, 68, 66, 0.5);
        -moz-box-shadow: 0px 0px 2px 3px rgba(169, 68, 66, 0.5);
        box-shadow: 0px 0px 2px 3px rgba(169, 68, 66, 0.5);
    }
}

.meta-display .filter-meta h4 {
    margin: 0px;
}

.meta-display .filter-meta h4 span {
    float: right;
    margin-left: 10px;
    color: #7f7f7f;
    font-size: 0.8em;
}

/*
 ------------------ search styles ------------------
*/
.search-meta h4 {
    margin: 0px;
}

.search-meta h4 span {
    float: right;
    margin-left: 10px;
    color: #7f7f7f;
    font-size: 0.8em;
}

/*
-----------------------meta styles------------------------
 */
.meta-display.filter-meta h4 {
    margin: 0px;
}

.meta-display.filter-meta h4 span {
    float: right;
    margin-left: 10px;
    color: #7f7f7f;
    font-size: 0.8em;
}

.filter-bar .row:not(:first-child) {
    margin-top: 10px;
}

/*
 ------------------ modal styles ------------------
*/

.modal .modal-content .modal-header h1,
.modal .modal-content .modal-header h2,
.modal .modal-content .modal-header h3,
.modal .modal-content .modal-header h4,
.modal .modal-content .modal-header h5 {
    margin: 0px;
}

/*
 ------------------ BSUI responsive table button dropdown fix------------------
*/

@media (max-width: 767px) {
    .table-responsive .dropdown-menu {
        position: static !important;
    }
}

@media (min-width: 768px) {
    .table-responsive {
        overflow: visible;
    }
}

/*
 ------------------ Wysiwyg editor styles ------------------
*/
.trumbowyg-box,
.trumbowyg-editor {
    min-height: 175px !important;
}

/*
 ------------------ Rx Icon styles ------------------
*/
span.rx-icon {
    position: relative;
    margin: 0;
}

span.rx-icon>span {
    color: #FFF;
    position: absolute;
    font-size: 0.75em;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cleanlist {
    padding: 0;
    margin: 0;
    list-style: none;
}

/*
 ------------------ Customer Notices ------------------
*/
.customer-notices .customer-notice {
    padding: 4px 10px 4px 28px;
    position: relative;
    margin-bottom: 5px;
}

.customer-notices .customer-notice button.dismiss-notice {
    position: absolute;
    top: 4px;
    left: 4px;
}

.customer-notices .customer-notice h4 {
    font-size: 1.2em;
    font-weight: bold;
    line-height: 1em;
    margin-bottom: 3px;
}

.fa-quickbooks {
    position: relative;
}

.fa-quickbooks:before {
    content: "\f111";
}

.fa-quickbooks:after {
    content: "qb";
    top: 0.24em;
    right: 0.02em;
    bottom: 0;
    left: 0;
    color: #FFFFFF;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 0.63em;
    font-weight: bold;

    /* create a new stacking context */
    position: absolute;
    z-index: 50;
    /* to be below the parent element */
}

/*
 ------------------ Product item table custom styles (used in multiple modules) ------------------
*/
#product-item-list span.item-code,
#product-details .product-item-list span.item-code {
    color: #777777;
    font-size: 0.7em;
    line-height: 0.95em;
    display: block;
}

.item-quick-avail>span:hover {
    font-weight: bold;
    cursor: help;
    text-decoration: underline;
}

.productitem-notices .alert {
    margin-bottom: 3px;
    font-size: 0.9em;
}

/*
 ------------------ BootStrap Tweaks -- Notices ------------------
*/
.alert.alert-sm {
    padding-top: 7px;
    padding-bottom: 7px;
}

/* grid row gutter removal -- just add no-gutter class to parent row*/
.row.no-gutter {
    margin-left: 0;
    margin-right: 0;
}

.row.no-gutter [class*='col-']:not(:first-child),
.row.no-gutter [class*='col-']:not(:last-child) {
    padding-right: 0;
    padding-left: 0;
}

/*
* ------------------ Product monthly sales table ------------------
*/
.monthly-item-sales h3 .date-range {
    font-size: 0.5em;
    margin-left: 10px;
}

.monthly-item-sales table tr td {
    cursor: help;
}

.monthly-item-sales table tr .this-month {
    background-color: #FAF6EF;
}

.monthly-item-sales table tr .this-month.this-year {
    background-color: #F0E5C9;
}

.monthly-item-sales table td,
.monthly-item-sales table th {
    text-align: center;
}

/*
 ------------------ Customer Info-Card Styles ------------------
*/
.indicator-grid {
    margin: 0 0 25px 0;
}

.card-grid {
    margin: 25px 0;
}

.info-card {
    -webkit-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.2);
}

.info-card .heading {
    padding: 10px 7px;
    margin: 0;
    border-bottom: 1px solid #CFCFCF;
}

.info-card .heading .title-link {
    float: right;
    display: block;
}

.info-card .heading .title-link a.btn-default {
    margin-top: -5px;
    color: #337ab7;
}

.info-card .heading .title-link .btn-group {
    margin-top: -3px;
}

.info-card .heading .title-link a.btn-default:hover {
    color: #23527c;
}

.info-card .inner {
    font-size: 0.85em;
}

.info-card .inner .info-row {
    padding: 5px 7px 5px 10px;
}

.info-card .inner .info-row i {
    vertical-align: top;
}

.info-card .inner .info-row .indicator-value {
    font-size: 3em;
    text-align: center;
    font-weight: bold;
}

.info-card .inner .info-row>span>div.product-item-bins {
    max-width: 95%;
    display: inline-block;
}

/*
 ------------------ Customer card Styles ------------------
*/

.card-grid {
    margin: 25px 0;
}

.card {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem;

    -webkit-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.2);
}

.card .card-heading {
    border-bottom: 1px solid #CFCFCF;

    padding: .75rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, .03);
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}

.card .card-heading .title-link {
    float: right;
    display: block;
}

.card .card-heading .title-link a.btn-default {
    margin-top: -5px;
    color: #337ab7;
}

.card .card-heading .title-link .btn-group {
    margin-top: -3px;
}

.card .card-heading .title-link a.btn-default:hover {
    color: #23527c;
}

.card .card-inner {
    font-size: 0.85em;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.25rem;
}

.card .card-inner .info-row {
    padding: 5px 7px 5px 10px;
}

.card .card-inner .info-row i {
    vertical-align: top;
}

.card .card-inner .info-row .indicator-value {
    font-size: 3em;
    text-align: center;
    font-weight: bold;
}

.card .card-inner .info-row .indicator-value.small {
    font-size: 2em;
}

.card .card-inner .info-row>span>div.product-item-bins {
    max-width: 95%;
    display: inline-block;
}

.card .card-footer {
    padding: .75rem 1.25rem;
    background-color: rgba(0, 0, 0, .03);
    border-top: 1px solid rgba(0, 0, 0, .125);
}

.card .card-footer span {
    font-size: 0.85em;
}

.top-spacer {
    margin-top: 9px;
}

.top-large-spacer {
    margin-top: 20px;
}


.bottom-spacer {
    margin-bottom: 9px;
}

.bottom-large-spacer {
    margin-bottom: 20px;
}

.right-spacer {
    margin-right: 5px;
}

.left-spacer {
    margin-left: 5px;
}

/*
 ------------------ Sticky Table Header ------------------
*/

.sticky-header table {
    position: relative;
}

.sticky-header .sticky-table-header {
    background-color: #FFF;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    width: auto;
}

.sticky-header .sticky-table-header.hidden {
    display: none;
}


/*
 ------------------ Sticky Wrapper ------------------
*/

.sticky-wrapper-header {
    position: relative;
    z-index: 1000;
}

.sticky-wrapper-header .sticky-wrapper-header-clone {
    background-color: #FFF;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    width: auto;
}

.sticky-wrapper-header.hidden {
    display: none;
}

/*
 ------------------ Custom Button colors ------------------
 */

.btn-domain {
    background-color: #EFB001;
    color: #fff;
    transition: 0.25s;
}

.btn-domain:focus,
.btn-domain:hover {
    color: #fff;
    opacity: 0.75;
}

.action-buttons {
    margin-bottom: 10px;
    overflow: hidden;
}

.action-buttons div {
    margin-bottom: 10px;
    padding-left: 0;
    padding-right: 10px;
}

.action-buttons div a {
    width: 100%;
    padding: 10px;
}

.build-list .card {
    margin-bottom: 20px;
}

.build-meta-form .form-group {
    overflow: hidden;
}

/*
 ------------------ Basic Print ------------------
*/

@media print {
    #main {
        margin: 0 !important;
    }

    #main,
    .container {
        min-height: 0 !important;
    }

    #sidebar-nav-wrapper {
        display: none;
    }

    #header {
        display: none;
    }

    #footer .version,
    #footer .to-top {
        display: none;
    }
}

/*
 ------------------ Version ------------------
*/

#footer .version {
    overflow: hidden;
    z-index: 1;
    position: relative;
    padding: 10px 20px;
    float: right;
}

/*
 ------------------ Staging ------------------
*/

#staging-notice {
    background-color: red;
    color: white;
    height: 22px;
}

#staging-notice span {
    padding: 0 5px;
}

#staging-notice span:nth-child(1) {
    font-weight: bold;
}

#staging-notice span:nth-child(n+2) {
    opacity: 0.55;
    font-size: 0.8em;
    display: block;
    float: right
}

/*
 ------------------ Signature / quicksign ------------------
*/
.rx-quicksign-wrapper .signing-opt {
    padding: 20px;
    border: 2px dashed #D7D7D7;
}

.rx-quicksign-wrapper .signing-opt.selected {
    border: 2px solid #3c763d;
}

.rx-quicksign-wrapper .signing-opt h4 {
    margin: 0 0 20px 0;
}

.rx-quicksign-wrapper .signing-opt button {
    margin: 20px 0 0 0;
}

.rx-quicksign-wrapper .signing-opt img.sig-preview {
    max-width: 100%;
    max-height: 140px;
    margin: 0px auto;
    display: block;
}