/* Roboto Font Import */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');


@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url('/material-icons.ttf') format('truetype');
}


:root {
    --font-family-primary: 'Roboto', 'Helvetica Neue', sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
    --type-display-font-size: 3.5rem;
    --type-display-line-height: 4.5rem;
    --type-headline-font-size: 2.0rem;
    --type-headline-line-height: 3rem;
    --type-title-large-font-size: 2.25rem;
    --type-title-large-line-height: 2.75rem;
    --type-title-font-size: 2rem;
    --type-title-line-height: 2.25rem;
    --type-subtitle-font-size: 1.3rem;
    --type-subtitle-line-height: 2rem;
    --type-label-font-size: 1.25rem;
    --type-label-line-height: 1.5rem;
    --type-body-font-size: 1rem;
    --type-body-line-height: 1.25rem;
    --type-caption-font-size: 0.875rem;
    --type-caption-line-height: 1rem;
    --type-small-font-size: 0.75rem;
    --type-small-line-height: 0.875rem;
    --type-micro-font-size: 0.563rem;
    --type-micro-line-height: 0.625rem;
    --oxyThemeColor1: #02345e;
    --oxyThemeColor2: #008cdb;
    --oxyThemeColor3: #F2F2F2;
    --joule-gray-100: #f7f7f7;

}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}




/*Attempt to make Tooltips look like material design */
.tooltip.show {
    opacity: 1;
    /* fully visible */
}

.tooltip.bs-tooltip-auto[x-placement^="bottom"] .tooltip-arrow::before {
    /* Arrow on bottom tooltips, adjust color and shape to match your theme */
    border-bottom-color: #424242;
    /* a darker grey, for example */
}

.tooltip-inner {
    background-color: #424242;
    color: #fff;
    border-radius: 4px;
    font-size: 0.875rem;
    padding: 8px 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.24);
}

.oxy-header {
    background-color: var(--oxyThemeColor1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    font-weight: var(--font-weight-regular);
    height: "300px"
}

.dropdown-menu>li>a {
    color: var(--oxyThemeColor1) !important;
}

a,
.a {
    font-family: var(--font-family-primary) !important;
}

/*Override bootstrap default */
.static-top.navbar-dark .navbar-brand {
    font-weight: var(--font-weight-regular);
}


/*Attempt to disbale ootb bootstrap button hover */
/* Keep .btn-primary the same color on hover/focus/active */
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.show>.btn-primary.dropdown-toggle {
    background-color: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

.btn-max-width {
    max-width: 200px;
  }


/* Base Typography */
body {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-regular);
    font-size: var(--type-body-font-size);
    line-height: var(--type-body-line-height);
    overflow-x: hidden;
    background-color: var(--oxyThemeColor3);
}


/* Headings */
h1 {
    font-weight: var(--font-weight-light);
    font-size: var(--type-display-font-size);
    line-height: var(--type-display-line-height);
    margin: 0 0 1.5rem;
    color: var(--oxyThemeColor1);
}

h2 {
    font-weight: var(--font-weight-light);
    font-size: var(--type-headline-font-size);
    line-height: var(--type-headline-line-height);
    margin: 0 0 1.25rem;
}

h3 {
    line-height: var(--type-title-large-line-height);
    margin: 0 0 1rem;
    color:var(--oxyThemeColor1)!important;
    font-weight: bold !important;
    font-size: var(--type-subtitle-font-size) !important;
}

h4 {
    font-weight: var(--font-weight-regular);
    font-size: var(--type-title-font-size);
    line-height: var(--type-title-line-height);
    margin: 0 0 1rem;
}

h5 {
    font-weight: var(--font-weight-regular);
    font-size: var(--type-subtitle-font-size);
    line-height: var(--type-subtitle-line-height);
    margin: 0 0 0.75rem;
}

h6 {
    font-weight: var(--font-weight-medium);
    font-size: var(--type-label-font-size);
    line-height: var(--type-label-line-height);
    margin: 0 0 0.5rem;
}


p{
    font-weight: var(--font-weight-bold);
    font-size: var(--type-label-font-size);
    color: var(--oxyThemeColor1)!important;
    line-height: var(--type-label-line-height);
    margin: 0 0 0.3rem;
}

.form-label{
    color:var(--oxyThemeColor1)!important;
}

footer {
    background-color: var(--oxyThemeColor2) !important;
}

.footer-bottom {
    visibility: hidden !important;
}

/* SIGNIN PAGE */
body,
html {
    height: 100%;
    margin: 0;
}

.landing-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: transparent !important;
}

.jumbotron {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.display-4.fw-bold.mb-4 {
    color: var(--oxyThemeColor1);
}

.sidebar {
    width: 240px;
    margin-top: 54px;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    overflow-y: auto;
    background-color: transparent!important;
    transition: width 0.3s ease;
}



/* Collapsed (Icons Only) */
.sidebar.sidebar-collapsed {
    width: 80px;
}

/* Show/hide link text when collapsed */
.sidebar .nav-text {
    display: inline-block;
    margin-left: 8px;
    white-space: nowrap;
    color: var(--oxyThemeColor1) !important;
}

.sidebar.sidebar-collapsed .nav-text {
    display: none;
    /* hide text when collapsed */
}

.btn.btn-light.toggle-sidebar{
    color:var(--oxyThemeColor1)!important;
}

/* For neatness: ensure icons and text don’t overflow */
.list-group-item {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.list-group {
    background: transparent !important;
}

/* ---------------------------
         CONTENT CONTAINER
         --------------------------- */
.content-container {
    margin-left: 240px;
    transition: margin-left 0.3s ease;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.content-container.content-collapsed {
    margin-left: 70px;
}

.text-primary {
    color: var(--oxyThemeColor2) !important;
}

.card-title {
    color: #0d3155 !important;
    font-weight: var(--font-weight-bold);
}

a {
    font-weight: var(--font-weight-bold) !important;
}


/* TOOLTIP STYLING */
.tooltip {
    --bs-tooltip-bg: #333;
    /* Darker background */
    --bs-tooltip-color: white;
    /* White text */
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.tooltip.show {
    opacity: 1 !important;
}

.tooltip-inner {
    background-color: var(--bs-tooltip-bg);
    color: var(--bs-tooltip-color);
    padding: 10px 14px;
    font-weight: 500;
    text-transform: none;
    border-radius: 6px;
}

/* Tooltip arrow color */
.tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: var(--bs-tooltip-bg) !important;
}

.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: var(--bs-tooltip-bg) !important;
}

.tooltip.bs-tooltip-start .tooltip-arrow::before {
    border-left-color: var(--bs-tooltip-bg) !important;
}

.tooltip.bs-tooltip-end .tooltip-arrow::before {
    border-right-color: var(--bs-tooltip-bg) !important;
}

.details-list-container {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 10px;
}

.details-list-header {
    font-weight: bold;
    color: #333;
}

.details-list-item {
    padding: 5px;
    border-bottom: 1px solid #ddd;
    font-family: var(--font-family-primary) !important;
}


.view-toolbar.grid-actions.clearfix {
    font-family: var(--font-family-primary) !important;
}

.table-striped {
    font-family: var(--font-family-primary) !important;
}


/* ---------------------------
         REDEEM INVITATION PAGE
         --------------------------- */

.wrapper-body {
    min-height: calc(100% - 100px);
}

.nav-account {
    margin-top: 100px !important;
}

.login-heading-section {
    font-weight: normal;
}

/* ---------------------------
         FORM STYLING
         --------------------------- */
.table.table-striped th {
   color: var(--oxyThemeColor2)!important;
    font-weight: bold;
    padding: 8px;
  }

.crmEntityFormView .actions{
    border-top: none !important;
}

#EntityFormPanel {
    border: none !important;
}

.field-label {
    color: var(--oxyThemeColor1) !important;
}

.text.form-control {
    color: gray;
}

.input-group-text{
    background-color: transparent !important;
    border:none !important;
}

#telephone1 {
    color: gray;
}

.text-primary {
    margin-top: 10px;
}

.nav-link.active {
    background-color: var(--oxyThemeColor2) !important;
    color: white !important;
}

.nav-link {
    color: var(--oxyThemeColor2) !important;
}

.nav-link .dropdown-toggle {
    color: white !important;
}

.entitylist {
    border: none !important;
    ;
    width: 100%;
}

.table-info {
    margin-bottom: 10px !important;
}

.field-label {
    margin-bottom: 8px;
}

.form-control {
    border-radius: 0 !important;
}

.form-control.form-select.picklist{
    border:1px solid #949494 !important;
} 

.input-group-addon.btn {
    min-height: 1.6rem !important;
}

/*Removes border from Quick views*/
.form-readonly.entity-form.crmEntityFormView {
    border: none !important;
}

/*Removes Quick View label*/
label[for="qv_Equipment"] {
    display: none !important;
}

.input-group {
    padding: 0, 0, 0, 0 !important;
}

.btn.btn-default.clearlookupfield {
    margin-left: 3px !important;
}

.btn.btn-default.launchentitylookup {
    margin-left: 3px !important;
}

.btn-primary:active,
.btn-primary.active {
    background-color: var(--oxyThemeColor1) !important;

}

#profileDropdown {
    color: white !important;
}

.section {
    margin-top: 0 !important;
}

.text.form-control.lookup.form-control{
    padding-left: 12px!important;
} 


.form-control.input-text-box {
    color: gray !important;
}

.form-control.form-select.picklist {
    color: gray !important;
}

.input-group {
    padding: 0 !important;
}

.clearfix.cell.crmquickform-cell{
    border: none !important;
}

td.clearfix.cell.lookup.form-control-cell:has(#vel_equipment_label) input {
    padding-bottom: 0 !important;
}

.clearfix.cell.crmquickform-cell{
    padding-left: none;
}

.accordion{
    --bs-accordion-btn-focus-box-shadow:0 0 0 0.25rem var(var(--oxyThemeColor2))!important;
}


.accordion-header{
    margin-top: 0!important;
}

.accordion-button{
    color:var(--oxyThemeColor1)!important;
    font-weight: bold !important;
    font-size: var(--type-subtitle-font-size) !important;
}

.accordion-button:not(.collapsed){
    background-color: transparent!important;
}

.accordion-button:focus{

    border-color: var(--oxyThemeColor2)!important;
}
p, .p, .page_section p, .section-diagonal-left p, .section-diagonal-right p, p.form-text span{
    font-size: var(--type-body-font-size)!important;
}


#confirmDisableContactButton span:last-child {
    color: inherit; /* or set a specific color if needed */
    vertical-align: middle;
  }

/* Targets accordions where there's only one accordion item */

  .no-chevron.accordion-button::after {
    display: none;
  }

  #editEquipmentHeader{
    margin-top: 0!important;
  }