﻿/* #region Navbar */
.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.bg-lightblue {
    background-color: #e3f2fd;
}

div.home-bg {
    min-height: calc(100vh - 60px);
    overflow: hidden;
    position: relative;
}
div.home-bg:before {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0px;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    background-image: url('/images/propellabanner.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
div.home-menu {
    position: relative;
}

.home-menu-card {
    border: 0;
    box-shadow: 0px 0px 10px 0px rgba(82, 63, 105, 0.1);
    -webkit-box-shadow: 0px 0px 10px 0px rgba(82, 63, 105, 0.1);
    -moz-box-shadow: 0px 0px 10px 0px rgba(82, 63, 105, 0.1);
}

.home-menu-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center; /* vertically aligned! */
    justify-content: center;
    min-width: 200px;
    height: 120px;
    word-wrap: break-word;
    background-clip: border-box;
    border: 1px solid #e6e4e9;
    border-radius: 15px;
    background-color: rgba(240,240,250,.5);
}
.home-menu-card-button {
    vertical-align: middle;
    outline: 0;
}
.home-menu-card-button:focus {
    outline: 0;
    box-shadow: 0 0 0 .2rem #fff, 0 0 0 .35rem #069;
}
    .home-menu-card-button:focus:not(.focus-visible) {
        outline: 0;
        box-shadow: none;
    }


.bg-lightgrey {
    background-color: #d0d0d0;
}
/* #endregion */
.report-container {
    min-height: calc(100vh - 60px);
}
.report-writer-body {
    flex: 0 1 auto;
}
.report-card-container {
    min-height: calc(100vh - 65px);
}
.report-group-table {
    max-height: calc(100vh - 210px);
    overflow-y: auto;
}
.report-selectfilter-table {
    max-height: calc(100vh - 360px);
    overflow-y: auto;
}
.report-select-table {
    max-height: calc(100vh - 330px);
    overflow-y: auto;
}
/* Flexbox Utilities */
.line-container {
    display: flex;
    flex-wrap: wrap;
}

.line-break {
    flex-basis: 100%;
    height: 0;
}

button.badge30 {
    width: 30px;
}

.line-item {
    flex-grow: 1;
}

.line-item-wide {
    flex-grow: 3;
}

/* NumberBox with Buttons on each side*/
div.div-datebox {
    min-width: 120px;
    max-width: 140px;
}

div.div-numberboxval {
    max-width: 110px;
    min-width: 100px;
}

div.div-selectlistshort {
    min-width: 120px;
    max-width: 140px;
}

div.div-selectlistyear {
    min-width: 80px;
    max-width: 100px;
}

div.bootstrap-select.px120 {
    min-width: 100px;
    max-width: 120px;
}

div.div-numberboxyearbtns {
    min-width: 120px;
    max-width: 140px;
}

    div.div-numberboxyearbtns > label.label-right {
        display: inline-block;
        width: 90%;
        padding-right: 25px;
        text-align: right;
    }

label.label-right {
    display: inline-block;
    width: 90%;
    text-align: right;
}

.inputnumber {
    text-align: right;
    width: 90px;
    max-width: 100px;
}

span.disabledTextBox {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

label.label-right {
    display: inline-block;
    width: 90%;
    text-align: right;
}
/* #region Main Div / Font Size */
html {
    font-size: 14px;
}

.btn[disabled] {
    pointer-events: none;
}

.checkbox-1x {
    transform: scale(1.5);
    -webkit-transform: scale(1.5);
}

.checkbox-2x {
    transform: scale(2);
    -webkit-transform: scale(2);
}

.modal-halfscreen-scrollchild {
    max-height: 50vh;
    overflow-y: auto;
}

.modal-fullscreen-scrollchild {
    max-height: 75vh;
    overflow-y: auto;
}

@media only screen and (max-width: 900px) {
    .modal-fullscreen-scrollchild {
        max-height: 50vh;
        overflow-y: auto;
    }
}

.modal-dialog.modal-fullscreen {
    margin: 2.5vh auto;
    height: 95vh;
}

@media all and (max-width: 1024px) {

    .modal-dialog.modal-fullscreen {
        margin: 2.5vh auto;
        max-width: 80%;
    }
}

.modal-content.modal-fullscreen {
    max-height: 95vh;
}

.modal-body.modal-fullscreen {
    max-height: 90vh;
}

.area-noresize {
    resize: none;
}

th.td-gp {
    width: 75px;
}
th.r3 {
    width: 3rem;
}

.bootstrap-select.show-tick .dropdown-menu li.selected a span.check-mark {
    position: absolute;
    display: inline-block;
    left: 10px;
    margin-top: 5px;
}

.has-bottom-nav {
    min-height: 90%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

ul.NoBullet {
    list-style-type: none;
}

hr.small {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

@media all and (max-width: 1649px) {
    main.findproduct-drive {
        overflow: auto;
        position: absolute;
        top: 200px;
        left: 0;
        right: 0;
    }
}

@media all and (min-width: 1650px) {
    main.findproduct-drive {
        overflow: auto;
        position: absolute;
        top: 155px;
        left: 0;
        right: 0;
    }
}

main.find-drive {
    overflow: auto;
    position: absolute;
    top: 120px;
    left: 0;
    right: 0;
}
main.view-reportwriter {
    overflow: auto;
    position: absolute;
    top: 160px;
    left: 0;
    right: 0;
}

main.view-drive {
    overflow: auto;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    min-height: 90%;
}

/* #endregion */

/* #region Search Bar */
.searchdiv {
    margin-top: 45px;
    background-color: white;
    z-index: 2;
}

.imgview:hover {
    cursor: pointer;
}

.searchboxgrey {
    border-color: #6c757d;
}
/* #endregion */

/* #region Sidebar */
.drive-sidebar {
    width: 150px;
    height: 100%; /* 100% Full-height */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0; /* Stay at the top */
    left: 0;
    background-color: white; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    margin-top: 60px; /* Place content 60px from the top */
    padding-bottom: 80px;
}

.drive-logo {
    max-height: 30px;
    max-width: 170px;
}

.sidebarmain {
    padding-left: 140px;
}

.topz {
    z-index: 5;
}

.sidebarbutton {
    position: fixed;
    bottom: 10px;
    left: 10px;
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    background-color: transparent; /* Black*/
}

.totopbutton {
    position: fixed;
    bottom: 10px;
    right: 10px;
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    background-color: transparent; /* Black*/
}

.totopbuttonreport {
    position: fixed;
    bottom: 10px;
    right: 20px;
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    background-color: transparent; /* Black*/
}


/* #endregion */

/* #region Description Lists have uneven line spacing if there is no text. */
dt, dd {
    line-height: 20px;
    min-height: 20px; /* must be line-height, to allocate height for empty elements */
}

/* #endregion */

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

/* #region Inactive Entries in Listviews */
.inactiveentity {
    font-style: italic;
    color: #999999;
}

/* #endregion */

.text-number {
    text-align: right;
    width: 70px;
    max-width: 80px;
}

input[type="text"].inputyear {
    text-align: right;
    width: 50px;
    max-width: 60px;
}

.btn-group-xs > .btn, .btn-xs {
    padding: .4rem;
    font-size: .75rem;
    line-height: .75;
    border-radius: .2rem;
}

input[type="number"].inputnumber {
    -moz-appearance: textfield;
}

.inputnumber::-webkit-inner-spin-button,
.inputnumber::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    margin: 0;
}
/*#region Password Character for PINLogin */
.password {
    -webkit-text-security: disc;
}

/*#endregion */

/*#region Images / Cropping */
@media all and (max-width: 768px) {
    div.center-cropped-sm {
        width: 100px;
        height: 80px;
        overflow: hidden;
    }

        div.center-cropped-sm img {
            object-fit: none;
            object-position: center;
            height: 80px;
            width: 100px;
        }
}
/*#endregion */

/*#region Table Striping with Hidden Rows*/
.table-striped tbody tr.odd {
    background-color: rgba(0,0,0,0.1);
}

.table-striped tbody tr.even {
    background-color: rgba(0,0,0,0);
}
/* Table Striping with 2 Rows*/
.table-striped2 tbody tr:nth-child(4n+1) > td {
    background-color: rgba(0,0,0,0.1);
}

.table-striped2 tbody tr:nth-child(4n+2) > td {
    background-color: rgba(0,0,0,0.1);
}

.table-striped2 tbody tr:nth-child(4n+3) > td {
    background-color: rgba(0,0,0,0);
}

.table-striped2 tbody tr:nth-child(4n) > td {
    background-color: rgba(0,0,0,0);
}

/* Table Striping with 3 Rows*/
.table-striped3 tbody tr:nth-child(6n+1) > td {
    background-color: rgba(0,0,0,0.1);
}

.table-striped3 tbody tr:nth-child(6n+2) > td {
    background-color: rgba(0,0,0,0.1);
}

.table-striped3 tbody tr:nth-child(6n+3) > td {
    background-color: rgba(0,0,0,0.1);
}

.table-striped3 tbody tr:nth-child(6n+4) > td {
    background-color: rgba(0,0,0,0);
}

.table-striped3 tbody tr:nth-child(6n+5) > td {
    background-color: rgba(0,0,0,0);
}

.table-striped3 tbody tr:nth-child(6n) > td {
    background-color: rgba(0,0,0,0);
}
/*#endregion*/

.no-space-break {
    white-space: nowrap;
}

/* Fix Bootstrap Dropdown Menu Hover Icon - shows Edit icon by default */
a:not([href]).dropdown-item:hover {
    cursor: pointer;
}

.btn-group-vertical.block {
    display: flex;
}

.block .btn {
    flex: 1
}

.form-group {
    margin-bottom: 3px;
    margin-top: 3px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%
}


#product_catalogue .dobold {
    font-weight: bold;
}

.dropdown-submenu.pull-left > .dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}
.flex-fillcenter {
    flex: 1;
    overflow: hidden;
}
.flex-fix40 {
    flex: 0 0 40px;
    align-content: center;
}
.flex-fix50 {
    flex: 0 0 50px;
}

.flex-fix100 {
    flex: 0 0 100px;
}

.btn-tiny {
    font-size: 0.75rem;
    line-height: 1;
}

.flex-fix150 {
    flex: 0 0 150px;
}

.flex-fix200 {
    flex: 0 0 200px;
}

.flex-fix250 {
    flex: 0 0 250px;
}

.flex-fix300 {
    flex: 0 0 300px;
}


/* #region Classes for Input Formatting */
input.cartqty {
    border: 1px solid;
}

input.cartalloc {
    border: 1px solid;
}

input.cartdisc {
    border: 1px solid;
}

input.cartprice {
    border: 1px solid;
}

.datepicker td, .datepicker th {
    width: 2.5em;
    height: 2em;
}

input.ctr50 {
    width: 50px !important;
    text-align: center;
}
/* #endregion */

/* #region Classes for Table Formatting */
th.tblhead-lft50 {
    width: 50px;
    text-align: left;
}

th.tblhead-lft75 {
    width: 75px;
    text-align: left;
}

th.tblhead-lft100 {
    width: 100px;
    text-align: left;
}

th.tblhead-lft150 {
    width: 150px;
    text-align: left;
}

th.tblhead-lft200 {
    width: 200px;
    text-align: left;
}

th.tblhead-lft300 {
    width: 300px;
    text-align: left;
}

th.tblhead-lft400 {
    width: 400px;
    text-align: left;
}

th.tblhead-rgt50 {
    width: 50px;
    text-align: right;
}

th.tblhead-rgt75 {
    width: 75px;
    text-align: right;
}

th.tblhead-rgt100 {
    width: 100px;
    text-align: right;
}

th.tblhead-rgt120 {
    width: 120px;
    text-align: right;
}

th.tblhead-rgt150 {
    width: 150px;
    text-align: right;
}

th.tblhead-rgt180 {
    width: 180px;
    min-width: 180px;
    max-width: 180px;
    text-align: right;
}

tr.noTopBorder td {
    border-top: 0;
}

th.tblhead-rgt200 {
    width: 200px;
    text-align: right;
}

th.tblhead-ctr20 {
    width: 20px;
    text-align: center;
}

th.tblhead-ctr80f {
    width: 50px;
    max-width: 80px;
    text-align: center;
}

th.tblhead-ctr50 {
    width: 50px;
    text-align: center;
}

th.tblhead-ctr100 {
    width: 100px;
    text-align: center;
}

th.tblhead-ctr150 {
    width: 150px;
    text-align: center;
}

th.tblhead-ctr200 {
    width: 200px;
    text-align: center;
}

th.inputtableheader {
    padding-right: 15px;
}

td.tbldet-ctr30 {
    width: 30px;
    text-align: center;
}

td.tbldetail-50 {
    width: 50px;
}

td.tbldetail-150 {
    width: 150px;
}
td.nowrap {
    max-width: 80%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
tr.findline > td {
    vertical-align: middle;
}

@media only screen and (max-width: 600px) {
    tr.pendingline > td {
        border-top: none;
    }
}

tr.pendingline > td {
    vertical-align: middle;
}

/* #endregion */

button.btn32px {
    width: 32px;
}

button.btn25px {
    width: 25px;
    height: 25px;
    padding: 1px;
}

/* #region Tooltip Wrappers for disabled buttons */
.tooltip-wrapper {
    display: inline-block; /* display: block works as well */
    cursor: not-allowed;
}

    .tooltip-wrapper.disabled {
        /* OPTIONAL pointer-events setting above blocks cursor setting, so set it here */
        cursor: not-allowed;
    }

    .tooltip-wrapper .btn[disabled] {
        /* don't let button block mouse events from reaching wrapper */
        pointer-events: none;
    }

/* #endregion */

img.cardimage {
    max-width: 100%;
    min-height: 150px;
    max-height: 200px;
}

img.thumb {
    max-width: 50px;
    max-height: 50px;
}
/*img.thumb:hover {
    transition: 0.5s;
    transition-delay: 0.25s;
    transform: scale(3);
}*/


.icon-spacer::before,
.icon-blank::before {
    width: 1em;
    content: ' ';
}

/* #region Classes for Opacity  */

.opacity-0 {
    opacity: 0 !important;
}

.opacity-1 {
    opacity: 0.2 !important;
}

.opacity-2 {
    opacity: 0.4 !important;
}

.opacity-3 {
    opacity: 0.6 !important;
}

.opacity-4 {
    opacity: .8 !important;
}

.opacity-5 {
    opacity: 1 !important;
}

.opacity-3h5 {
    opacity: 0.6 !important;
    transition: opacity .25s ease-in-out !important;
    -moz-transition: opacity .25s ease-in-out !important;
    -webkit-transition: opacity .25s ease-in-out !important;
}

    .opacity-3h5:hover {
        opacity: 1 !important;
    }
/* #endregion */


.impact {
    font-family: Impact, Charcoal, sans-serif;
}

/* #region Classes for Carousel  */
.carousel {
    height: 80vh;
    width: 100%;
    min-width: inherit;
}

.carousel-inner {
    height: 100%;
}

.carousel-item {
    height: 100%;
}

.carousel-item-holder {
    height: 100%;
}

.carousel-item img {
    max-height: 75vh;
    max-width: 80%;
    object-fit: contain;
}

/* #endregion */

.zeroz {
    z-index: 0;
}

.showcat {
    position: absolute;
    margin-top: 10px;
}

/* #region Multi-line Strings (Con Notes) */
.multi-line-string {
    white-space: pre;
}
/* #endregion */
.input-group > .form-control.round-corners {
    border-radius: .25rem;
}

tr.tr-clickable {
    cursor: pointer;
}

.tablesorter .tablesorter-filter-row .disabled {
    display: none;
}

.tablesorter .tablesorter-filter .disabled {
    display: none;
}

.bootstrap-datetimepicker-widget > .row {
    margin-left: 0;
}

.collapsing {
    transition: none !important;
}




/* Sorting Order/Quote Lines */
.sorted_table tr {
    cursor: pointer;
}

    .sorted_table tr.placeholder {
        position: relative;
    }

        .sorted_table tr.placeholder:before {
            content: "";
            position: absolute;
            width: 0;
            height: 0;
            border: 5px solid transparent;
            border-left-color: red;
            margin-top: -5px;
            left: -5px;
            border-right: none;
        }


body.dragging, body.dragging * {
    cursor: move !important;
}

.dragged {
    position: absolute;
    opacity: 0.5;
    z-index: 2000;
}
@media (min-width: 1px) {
    .modalmenucontainer {
        position: fixed;
        width: 300px;
        margin-top: 0px;
        z-index: 20;
        right: 15px;
    }
}
@media (min-width: 576px) {
    .modalmenucontainer {
        position: fixed;
        width: 300px;
        margin-top: 0px;
        z-index: 20;
        right: calc(50% - 250px + 15px);
    }
}

div.schedulecontainer {
    overflow-x: scroll;
}
span.scheduleheadertext {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.scheduleslotparent {
    min-width: 400px;
}
.day5schedulecard {
    min-width: 125px;
    max-width: 250px;
}
.day7schedulecard {
    min-width: 125px;
    max-width: 200px;
}
div.scheduleeditbutton {
    display: flex;
    justify-content: end;
}
div.scheduleslot.over {
    background-color: lightgreen;
    transition: background-color 1s linear;
    -moz-transition: background-color 1s linear;
    -webkit-transition: background-color 1s linear;
    -ms-transition: background-color 1s linear;
}
div.inp-date {
    max-width: 130px;
}
.card.schedulecard {
    cursor: move;
}
.scheduleeditbutton {
    justify-content: end;
}
.schedulecard>.schedulecardheader {
    cursor: move;
}
@media (min-width: 992px) {
    .modalmenucontainer {
        position: fixed;
        width: 300px;
        margin-top: 0px;
        z-index: 20;
        right: calc(50% - 400px + 15px);
    }
}
.modalmenubox {
    padding: 15px;
    border: 3px solid #808080;
    border-radius: 10px;
    background-color: #F0F0F0;
    margin-top: 60px;
    z-index: 21;
}
 
