﻿
/*---SAL Theme---*/
:root {
    --salBlack: #000000;
    --salBlue: #1b75bb;
    --salDarkBlue: #2e3191;
    --salDarkYellow: #e0a800;
    --salDarkGray: #858585;
    --salGray: #e6e6e6;
    --salGreen: green;
    --salLiteBlue: #c0e3f4;
    --salLiteGray: #dee2e6;
    --salLiteYellow: #ededb0;
    --salMagenta: #d172ab;
    --salOrange: #d19372;
    --salRed: #ec1c24;
    --salOffWhite: #f4f4f4;
    --salYellow: #ffc107;
}

/* 
    sections are layed out from top of page to bottom
    i.e. (top) navbar, search area, (left) navbar, data area, cart area, login area
*/

/*--- main/global elements ---*/
/*
    ADDITIONAL DEMO STYLE, NOT IMPORTANT TO MAKE THINGS WORK BUT TO MAKE IT A BIT NICER :)
*/
@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";


body {
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: var(--salOffWhite);
    font-size: 0.8em;
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: var(--salBlack);
}

a, a:hover, a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.container-fluid {
    padding: 0;
}


/*--- top navigation bar ---*/
.navbar {
    background: var(--salBlue) !important;
    /*height: 40px;*/
    padding: 0px 0px 0px 10px;
    justify-content: space-between;
}

.navbar-brand {
    margin: 0;
    text-transform: uppercase;
}

.nav-link,
.navbar-brand {
    color: var(--salOffWhite) !important;
}

.nav-item {
    text-align: right;
    background: var(--salBlue);
    padding: 0px 10px;
}

.nav-link:hover {
    background: var(--salDarkBlue);
    cursor: pointer;
}

.navbar-collapse {
    justify-content: flex-end;
}


/*--- help area (modal pop-up) ---*/
.modal-dialog {
    max-width: 85%;
}

.help {
    text-align: left;
}

.legend {
    text-align: left;
}

.legend-item {
    padding: 0px 0px 10px 0px;
}


/*--- search area (top of page) ---*/
.features {
    padding: 1em 1em .5em 1em;
    position: relative;
}

.feature-title {
    color: #333;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.features img {
    -webkit-box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
    margin-bottom: 16px;
    max-width: 200px;
    height: auto;
}

.features .form-control,
.features input {
    border-radius: 0;
    margin-bottom: 10px;
}

.features .btn {
    background-color: var(--salBlue);
    border: 1px solid var(--salBlue);
    color: var(--salOffWhite);
    border-radius: 0px;
}

.features .btn:hover {
    background-color: var(--salDarkBlue);
    border: 1px solid var(--salDarkBlue);
    cursor: pointer;
}

#resetSessionLink {
    color: var(--salBlue);
}

#resetSessionLink:hover {
    cursor: pointer;
    text-decoration: underline;
}

.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

#searchResults .data-body {
    padding: 0px;
}

.mode-message {
    color: black;
    font: bold;
    font-size: 10px;
}

.mode-message-online {
    color: green;
    font: bold;
    font-size: 10px;
}

.mode-message-offline {
    color: var(--salRed);
    font: bold;
    font-size: 10px;
}

.sbomNotes {
    font-size: 85%;
}

.collapsed {
    overflow: hidden;
    height: 1.25em;
    cursor: pointer;
}

.collapsedIndicator {
    display: inline;
    text-decoration: underline;
    color: blue;
}


/*--- sidebar (left-side, vertical, navbar) ---*/
#sidebar {
    /* don't forget to add all the previously mentioned styles here too */
    background: var(--salBlue);
    color: var(--salOffWhite);
    transition: all 0.3s;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#sidebar .sidebar-header {
    /* padding: 10px 20px; */
    background: var(--salBlue);
}

#sidebar .sidebar-hr {
    border-top: 2px solid var(--salOffWhite);
}

#sidebar ul {

}

#sidebar ul.align-bottom {
    margin-top: auto;
}

#sidebar ul.components {
    /* padding: 10px 20px ; */
}

#sidebar ul p {
    color: var(--salOffWhite);
    padding: 10px;
}

#sidebar ul li.align-bottom {
    margin-top: auto;
}

#sidebar ul li a {
    padding: 5px 10px;
    font-size: 1em;
    display: block;
    text-transform: uppercase;
}

#sidebar ul li a:hover {
    color: var(--salOffWhite);
    background: var(--salRed);
    cursor: pointer;
}

#sidebar ul li.active > a, a[aria-expanded="true"] {
    color: var(--salOffWhite);
    background: var(--salDarkBlue);
}


/*--- main data area ---*/
.main-area {
    border: 3px solid var(--salDarkBlue);
}

#dataArea .navbar {
    padding: 0px 10px;
}

#dataArea .navbar-brand {
    font-size: 1.1rem;
}

.data-area {
    width: 100%;
}

.data-container {
    padding: 0px 0px 0px 10px;
    background-color: var(--salDarkBlue);
    height: 100%;
}

.data-body {
    background: var(--salOffWhite);
    color: black;
    padding: 5px;
}

/*--- datatables (in main data area) ---*/
#srTable {
    margin-bottom: 0px;
}

table.dataTable th, table.dataTable td, #srTable td, #srTable th {
    padding: 2px 7px;
}

#srTable th {
    white-space: nowrap;
}

table.dataTable tbody td.select-checkbox:before, table.dataTable tbody th.select-checkbox:before {
    margin-top: -12px;
}

table.dataTable tbody tr.selected td.select-checkbox:after, table.dataTable tbody tr.selected th.select-checkbox:after {
    margin-top: -20px;
}

th.dt-center, td.dt-center {
    text-align: center;
}

tr.selected td {
    background: var(--salLiteBlue) !important;
}

tr.sub-selected td {
    background: var(--salLiteYellow) !important;
}

.sub-selected {
    background: var(--salLiteYellow) !important;
}

.data-hint {
    padding: 3px 0px;
    color: var(--salRed);
}

#srTable td {
    padding: 2px 7px;
    white-space: normal;
}

#cartTable td {
    padding: 2px 7px;
}

#spTable td,
#phTable td,
#psTable td,
#bomTable td {
    cursor: pointer;
}

#spTable tr:hover td {
    background: var(--salDarkBlue);
    color: var(--salOffWhite);
}

.c-selectable {
    cursor: default;
}

.c-link {
    cursor: help;
}

.ERPInStock {
    color: var(--salGreen) !important;
}

.ERPNoStock {
    color: blue !important;
}

.ERPNotExists {
    color: var(--salBlack) !important;
}

.di-link {
    padding-right: 3px;
}

.dwgIndexOverlay {
    position: relative;
    background: var(--salOffWhite);
    font-size: 70%;
    font-weight: bold;
    left: -11px;
    top: -1px;
    margin-right: -11px;
}


/*--- warranty area (in main data area) ---*/
.warranty {
    background: var(--salOffWhite);
}

.warranty-header {
    display: inline-block;
    padding: .3125rem;
    text-transform: uppercase;
    font-size: 1.25rem;
    line-height: inherit;
    white-space: nowrap;
    background: var(--salBlue);
    color: var(--salOffWhite);
}

.warranty-title {
    color: black;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    padding: 5px;
}

.warranty-table td, .table-warranty th, .table-warranty td {
    padding: 2px 7px;
}

.card label {
    margin: 0px 0px;
}

#warrantyAccordian {
}

#warrantyAccordian .card {
    border-radius: 0px;
}

#warrantyAccordian .card-header {
    padding: 5px;
}

#warrantyAccordian .card-header .btn {
    background: var(--salBlue);
    color: var(--salOffWhite);
    width: 100%;
    text-decoration: none;
    padding: 0px;
    border-radius: 0px;
    height: auto;
}

#warrantyAccordian .card-header .btn:hover {
    background: var(--salDarkBlue);
    color: var(--salOffWhite);
    cursor: pointer;
    text-decoration: none;
}

/*--- other data results (in main data area) ---*/
.part-search {
    background: var(--salMagenta);
}

.part-search-sub {
    background: var(--salOffWhite);
    padding: 0px 3px;
}

.search-hist {
    background: var(--salOrange);
}

.search-hist-sub {
    background: var(--salOffWhite);
    padding: 0px 3px;
}

.part-history {
    background: #d172ab;
}


/*--- cart area (bottom of page) ---*/
.cart-area {
    padding: 0px 0px;
    background-color: var(--salBlue);
    width: 100%;
}

.cart-container {
    /*padding: 10px;*/
    background: var(--salDarkGray) !important;
    height: 100%;
}

.cart-body {
    /*background: var(--salOffWhite);
    color: black;*/
    height: 100%;
    padding: 5px;
}

#cartFeedback {
    padding: 3px 0px 3px 10px;
    color: var(--salOffWhite);
    font-weight: bold;
}

#cartArea .navbar {
    padding: 0px 10px;
}

#cartArea .navbar-brand {
    font-size: 1.1rem;
}


/*--- footer area ---*/
.page-footer {
    padding-bottom: 20px;
}

#loginInfoArea {
    color: white;
    background: var(--salDarkGray) !important;
    padding: 5px 10px;
}




