﻿body {
    background-color: #f7e39c;
}

p {
    margin-bottom: 0.3rem;
    font-size: 18px;
}

i {
    color: black;
}

footer i {
    color: white;
}

.mb-4-5 {
    margin-bottom: 2rem;
}

.is-invalid {
    color:red;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    -moz-appearance: textfield;
}

#popup_box .modal-dialog {
    margin-top: 5px !important;
}

#inner_popup_box .modal-dialog, #inner_medium_popup_box .modal-dialog, #inner_small_popup_box .modal-dialog, #message_box .modal-dialog {
    border-radius: 5px;
    top: 50px;
}
.modal-dialog {
    border: thin solid black;
}

.modal-close-button {
    top: 10px;
    right: 0px;
}
.modal-header {
    border: 0;
}
.modal-message {
    width: 100%;
    height: 35px;
    display: none;
    position: absolute;
    bottom: 0;
}
.modal-message.warning {
    background-color: #fda2a2;
    color: #830000;
}
.modal-message.success {
    background-color: #03ad00;
    color: #b6ffae;
}
.modal-message.active {
    display:block;
}

.navbar-vertical-lg {
    position: absolute;
    left: 0;
    display: flow;
}

    .navbar-vertical-lg .navbar-nav {
        flex-direction: column;
    }

.nav-header {
    font-weight: bold;
}

.nav-item {
    cursor: pointer;
}

    .nav-item.nav-spacer {
        margin-top: 15px;
    }

    .nav-item .nav-link.nav-active {
        font-weight: bold;
    }

/* system templates */
.title {
    margin-top: 20px;
    font-family: monospace;
    color: #0f192b;
    font-size: 33px;
    line-height: 125%;
    letter-spacing: 2px;
    font-weight: normal;
}

h2 {
    font-family: monospace;
    color: #0f192b;
    font-size: 28px;
    line-height: 125%;
    letter-spacing: 2px;
    font-weight: normal;
}

h4 {
    font-family: futura-pt, sans-serif;
    font-size: 18px;
    line-height: 24px;
    margin-top: 10px;
    font-weight: 700;
    margin-bottom: 10px;
}

.text-secondary-2 {
    color: #d36446;
}

/* inside pages */
.header {
    width: 100%;
    height: auto;
}

.header_logo {
    float: left;
    width: 200px;
}

.header_nav {
    float: left;
    width: calc(100% - 200px);
}

.header i {
    color: #ffffff;
}

.logo {
    width: 95%;
}

.home_background img {
    width: 100%;
}

.navbar div:last-child {
    border-bottom: none;
}

.nav-item i {
    padding: 5px;
}

.nav-item span {
    color: #ffffff;
}

.nav-link:hover {
    font-weight: bold;
}

.btn-nav {
    position: relative;
    padding: 5px 5px 0px 15px;
    text-align: left;
    border: 0;
    border-radius: 0;
    height: 35px;
    font-size: 0.9em;
    line-height: 1;
}

.btn-subnav {
    padding: 5px 5px 6px 25px;
    text-align: left;
    border: 0;
    border-radius: 0;
    height: 32px;
    font-family: Arial;
    font-size: 0.7em;
}

.main_page_menu {
    display:none;
}

.menu_col {
    padding: 0 !important;
}

.menu_group {
    display: block;
    width: 100%;
    max-height: 30px;
    overflow: hidden;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    transition: max-height 1s ease;
}
.menu_group .btn .fa-minus {
    display:none;
}
.menu_group.expanded {
    overflow: hidden;
    display: block;
    max-height: 300px;
    transition: max-height 1s ease;
}
.menu_group.expanded .btn .fa-plus {
    display:none;
}
.menu_group.expanded .btn .fa-minus {
    display:inline-block;
}
.menu_group.separator {
    border-bottom: thin solid silver !important;
}
.menu_group.gap {
    margin-top: 10px !important;
}
.menu_group.active {
    overflow: hidden;
    display: block;
    max-height: 300px;
    transition: max-height 1s ease;
}
.menu_group .btn {
    text-align: left;
    display: block;
}
.menu_group .btn-nav {
    margin-bottom:2px;
}
.menu_group .btn-nav i {
    position: absolute;
    right: 0.5rem;
    opacity: 1;
    color: inherit;
}
.menu_group .btn.active {
    font-weight: bold;
}

.menu_sub_group .btn:hover, .menu_group .btn:hover {
    cursor: pointer;
    opacity: 0.7;
    box-shadow: none;
}

.menu_sub_group {
    box-shadow: none !important;
    width:100%;
}
.menu_sub_group .btn {
    padding: 4px 1px 2px 2px;
    margin-left: 28px !important;
    position: relative;
    top: -5px;
    font-weight: normal;
    text-transform: none;
    height: auto;
}


.main_body {
    width: 100%;
    padding: 10px;
}

.home_button {
    width: 90px;
    height: 70px;
}

.product_nav {
    display: block;
    width: 230px;
    max-height: 36px;
    overflow: hidden;
}

    .product_nav.active {
        overflow: hidden;
        display: block;
        max-height: 3000px;
        transition: max-height 2s ease;
    }


.signin_body {
    margin: auto;
    max-width: 500px;
}
.signup_choose .btn {
    width: 250px;
    height: 250px;
}
.signup_choose p {
    font-size: 16px;
}

.password_require.ok, .password_require.ok i, .password_match.ok, .password_match.ok i {
    color: green;
}

.password_require, .password_require i, .password_match, .password_match i {
    color: red;
}

#password_box i.fa-spinner, #email_box i.fa-spinner {
    display: none;
}

button i.fa-spin {
    display: inline-table !important;
}

/*button:disabled span {
    display: none;
}
*/
/*button i {
    color: white;
    opacity: 0;
}
*/
.tabgroup ul {
    border-bottom: thin solid #a5a5a5;
    height: 37px;
    overflow: hidden;
}
.tabgroup button {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

button:disabled i {
    opacity: 1;
}

.progress {
    position: relative;
    overflow: visible;
    margin-top: 44px;
    margin-bottom: 10px;
    background-color: silver;
}

.progress-bar {
    border: 2px solid #009900;
    background-color: #1cbf6f;
}

.progress-milestone {
    border: 2px solid silver;
    background-color: #FFFFFF;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    position: absolute;
    top: -5px;
}

    .progress-milestone i {
        display: none;
        color: white;
        font-size: 18px;
        position: relative;
        top: 3px;
        left: 3px;
        padding: 0;
        width: 18px;
        height: 18px;
    }

    .progress-milestone.active {
        background-color: #FFFFFF;
        border-color: #666667;
    }

    .progress-milestone.complete {
        background-color: #1cbf6f;
        border-color: #009900;
    }

    .progress-milestone.loading .fa-spinner {
        display: block;
    }

    .progress-milestone.complete .fa-check {
        display: block;
        top: 4px;
        left: 4px;
    }

    .progress-milestone.active i {
        color: black;
    }

    .progress-milestone span {
        position: absolute;
        top: -29px;
        left: -10px;
        width: 60px;
        font-weight: bold;
        font-size: 1.1rem;
        color: silver;
    }

    .progress-milestone.active span {
        color: black;
    }

    .progress-milestone.complete span {
        color: #009900;
    }


input:focus {
    outline: none !important;
    border: 1px solid red;
    box-shadow: 0 0 10px red;
}


.home .carousel-item {
    max-width: 90%;
    max-height: 450px;
    left: 5%;
}
.home .carousel-item img {
    max-height: 600px;
}

/*  checkout */
.section_box {
    border: thin solid silver;
    background-color: white;
    border-radius: 10px;
}

.checkout_box .button.loading span {
    display: none;
}

.checkout_box .button i {
    display: none;
}

.checkout_box .button.loading i {
    display: block;
}

.checkout .accordion .accordion-header {
    --mdb-accordion-btn-padding-y: 0.5rem;
}
.checkout .accordion-button i {
    display: none;
}
.checkout .accordion-button i.waiting {
    display: block;
}
.checkout .accordion-body .content {
    max-width: 750px;
}
.checkout .accordion-body .content button i {
    width: 0;
}
.checkout .accordion-body .content button i.visible {
    width: auto;
}

.checkout .accordion-button {
    background-color: rgba(88,42,116,1) !important;
    color: white !important;
    margin-bottom: 2px;
}

.checkout .payment_details .hide {
    display:none;
}

.account_box button {
    max-width: 200px;
}

.account_box .form-select {
    padding: .2rem 2.25rem .2rem .75rem;
}

.account_box .fa-search:hover, .clickable:hover {
    cursor: pointer;
}


.order_modal .card-text {
    font-size: 16px;
}


.status_button.border-r {
    border-right: thin solid silver !important;
}

.status_menu {
    border: thin solid silver;
}

.page-header {
    font-family: Arial;
    color: #0f192b;
    font-size: 32px;
    line-height: 125%;
    letter-spacing: 3px;
    font-weight: normal;
}

.cat-container {
    margin-top: -25px;
}

.cat-section-header {
    max-height: 75px;
}
.cat-container .section-header {
    font-family: Tahoma;
    font-size: 28px;
    color: #0f192b;
}

.cat-container .section-subheader {
    position:relative;
    font-size: 16px;
    color: #0f192b;
    font-weight: normal;
    top: -8px;
}

.cat-image img {
    width: 300px;
    height: 210px;
}

.cat-item.card {
    padding-left:0;
}
.cat-item.card img {
    height: 200px;

}
.cat-item.card .cat-image {
    max-width: 200px;
    overflow: hidden;
    width:auto !important;
}
.cat-item.card .cat-image img {
    width: auto !important;
}

.cat-title {
    font-weight: bold;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 3px 5px;
    position: relative;
    width: 100%;
    top: -14px;
}

.cat-page img {
    height:140px;
    width:auto;
}
.cat-page p {
    font-family: Arial;
    font-size: 1.0em;
}
.cat-point {
    font-size: 0.9em;
    line-height: 1.3em;
}

.catbox-subtitle {
    height: 20px;
}
.catbox-image {
    height: 150px;
}
.catbox-image img {
    max-height: 90%;
    max-width: 90%;
}

.catbox-title {
    font-weight: bold;
    text-align: left;
    position: relative;
    width: 100%;
    top: 8px;
    font-size:1.0em;
}

.prod-title {
    font-weight: bold;
    width: 100%;
    text-align: left;
    font-size: 20px;
}

.product-box .product-gallery .multi-carousel-item {
    width: 125px !important;
    height: 100px;
    margin: 5px;
}
.product-box .product-gallery .multi-carousel-item .thumb_inner {
    display: flex;
    margin: 5%;
    width: 90%;
    height: 90%;
    overflow:hidden;
    justify-content: center !important;
    align-items: center !important;
}
.product-box .product-gallery .multi-carousel-inner .thumb_inner img {
    width: 100%;
    height: 100%;
}
.product-box .product-gallery .carousel-control-next {
    right: -35px;
}

.product_item {
    box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 3px;
    width: 30%;
    min-width: 295px;
}

.accessory_item {
    padding: 20px;
    height: 300px;
    width: 300px;
    margin: 10px;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 3px;
}

.cat-price {
    font-size: 1.3em;
    font-weight: bold;
    width: 100%;
}
.cat-gst {
    position: relative;
    top: -10px;
    font-size: 0.9em;
}

.prod-description {
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 3px;
    list-style-type: none;
}

.prod-image img {
    max-width: 400px;
}

.prod-price {
    font-size: 20px;
    font-weight: bold;
    text-align: right;
    width: 100%;
    padding-right: 10px;
}

.prod-more-info {
    margin: 50px;
}

.carousel-control-prev, .carousel-control-next {
    color: black !important;
    font-weight: bold !important;
}
.carousel-control-prev:hover, .carousel-control-next:hover {
    color: black !important;
    font-weight: bold !important;
}

.card-body .price {
    font-weight:bold;
}
.card-body .price span {
    font-weight: normal;
    font-size: 0.8em;
}
.card-img {
    width:190px;
    height:190px;
}
.card-img img {
    width: 190px;
    height: 95%;
}

.cross-sell-box .card-img-top, .cross-sell-box .card-body {
    cursor: pointer;
}
.cross-link {
    color: unset;
}

.faq_box .accordion-header button {
    font-size: 0.9em;
}


.cart-subtitle, .cart-gst {
    color: black;
    font-size: 0.9em;
}
.cart-price {
    color:black;
    font-size: 1em;
}


.search_box, .dynamic_search_box {
    border: thin solid black;
    margin-top: 34px;
    width:500px;
    z-index:999;
    display:none;
}
.search_box .search_item:hover, .dynamic_search_box .search_item:hover {
    background-color: #e9e9e9;
}
.search_box .search_item_title, .dynamic_search_box .search_item_title {
    font-weight: bold;
    font-size:16px;
}
.search_box .search_item_detail, .dynamic_search_box .search_item_detail {
    font-size:13px;
}

.table_gap {
    float:left;
    width: 15px;
    overflow:hidden;
}

.data_table.noheader table thead {
    display:none;
}
.data_table.show_overflow td {
    overflow: visible !important;
}
.data_table .badge {
    font-size: 14px;
}
.data_table_subrow {
    font-size: 1em;
}
.data_table_subrow .address {
    font-size: 12px;
}

#invoice .table.datatable-table, #fulfill .table.datatable-table, #invoice_paymenthistory .table.datatable-table {
    width: 110%;
}

#customer_detail_box .datatable table td, #follow_up_box .datatable table td, #report_logs_box .datatable table td {
    white-space: wrap !important;
}

.badge-success, .alert-success {
    border: thin solid #0c622e;
}
.badge-danger, .alert-danger {
    border: thin solid #b03d50;
}
.badge-warning, .alert-warning {
    border: thin solid black;
}

.button_stretch button {
    width:95%;
}


.invoice_totals {
    font-size: 13px;
    font-weight: bold;
}
.invoice_amounts {
    font-size: 14px;
}
.modal_button_group button {
    width: 95%;
}

.header_modal.table_loading .header_wait, .header_modal.modal_loading .header_wait, .header_modal.verb_loading .header_wait, .header_modal.tab_loading .header_wait, .header_modal .header_icon {
    display: block;
}
.header_modal .header_wait, .header_modal.table_loading .header_icon, .header_modal.modal_loading .header_icon, .header_modal.verb_loading .header_icon, .header_modal.tab_loading .header_icon {
    display: none;
}

.timeline-with-icons {
  border-left: 1px solid hsl(0, 0%, 90%);
  position: relative;
  list-style: none;
}

.timeline-with-icons .timeline-item {
  position: relative;
}

.timeline-with-icons .timeline-item:after {
  position: absolute;
  display: block;
  top: 0;
}

.timeline-with-icons .timeline-icon {
  position: absolute;
  left: -48px;
  background-color: hsl(217, 88.2%, 90%);
  color: hsl(217, 88.8%, 35.1%);
  border-radius: 50%;
  height: 31px;
  width: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline_warning {
    font-size:14px;
}
.hiddenTab{
    display: none;
}
.page_search .search_icon, .page_search .clear_icon {
    position: absolute;
    right: 10px;
    top: 10px;
}
.search_icon:hover {
    cursor: pointer;
}

.button_in_table {
    top: -5px;
    position: relative;
}

.payment_select_summary.bg-success input {
    color: #078d00;
}


#invoice_lines_box {
    position: relative;
    left: -73px;
    width: 968px;
}

.menu_mobile_button {
    display:none;
}

.qty_table_field {
    min-width: 65px;
    max-width: 90px;
    font-size: 1.2em;
}
.money_table_field {
    min-width: 95px;
    max-width: 120px;
    font-size: 1.2em;
}

.login-signin_body {
    width: 100%;
}

.sidenav-link span {
    font-size: 1.4em;
}

.qty_box {
    font-size: 1.2em;
}

.card-body {
    padding: 11px 15px !important;
}

.icon_only_button {
    width: 20px;
    height: 20px;
    border: none;
    background-color: transparent;
    box-shadow: none;
    display: contents;
    margin: 10px;
}


@media only screen and (max-width: 600px) {
    .header_modal.table_loading .header_wait, .header_modal.modal_loading .header_wait, .header_modal.verb_loading .header_wait, .header_modal.tab_loading .header_wait, .header_modal .header_icon {
        display: none;
    }

    .header_modal .header_wait, .header_modal.table_loading .header_icon, .header_modal.modal_loading .header_icon, .header_modal.verb_loading .header_icon, .header_modal.tab_loading .header_icon {
        display: none;
    }
    .main_search, .main_nav_full {
        display: none !important;
    }
    .main_nav_mobile {
        display: block;
    }
    .menu_mobile_button {
        display: block;
        position: absolute;
        top: 10px;
        right: calc(5% - 5px);
    }

    #signin_box, #forgot_box {
        margin-left: 0 !important;
    }

    .page_menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 9;
        background-color: white;
        display: none;
        padding-left: 30px;
        padding-right: 30px;
        padding-top: 20px;
    }

    #stocktake_detail_box {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-right: 0 !important;
    }
    #stock_settings_box {
        display:none;
    }
    #stocktake_lines {
        position:relative;
        left: -20px;
        width: calc(100% + 20px);
    }

    .modal-body {
        padding: 3px 0 0 0;
        overflow: hidden;
    }

    .row.tabgroup {
        margin-bottom: 2px !important;
    }

    #popup_box .modal-dialog {
        margin: 0;
        width: 100%;
    }
}


