﻿/* site.css */

html {
    font-size: 14px;
}

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

/*.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}*/

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: none; /* Remove the existing box-shadow */
    outline: 0.03rem solid; /* Add a thin outline */
    outline-color: var(--main-control-focus-outline);
}


html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    background-color: var(--main-color);
}

/***********************************************

fonts 

************************************************/
.grouptitlefont {
    /*34bbe1 #DB4924 #2C63D3*/
    color: #c3bfbf !important;
    font-size: 1.4rem;
    font-weight: 400 !important;
}

.titlefontheader2 {
    /*34bbe1 #DB4924 #2C63D3*/
    color: var(--main-blue-color) !important;
    font-size: 1.4rem;
    font-weight: 400 !important;
}

/***********************************************

icons 

************************************************/
/* icons in the menu of the application */
.menu-icon {
    color: var(--menu-icon-color:);
}

.ic-color-blue {
    color: var(--menu-icon-color:);
}

/* color of the icon is the card body - page details etc*/
.ic-color-card-body {
    color: var(--ic-card-body);
}

/* icons in the top bar of the card */
.ic-color-top-bar {
    color: var(--ic-color-top-bar);
}

/* icons in the tables - edit */
.ic-color-btn-tbls-edit {
    color: var(--menu-icon-color);
}

/* icons in the tables - links to other pages */
.ic-color-btn-tbls-links {
    color: cornflowerblue;
}

/* tables rows menuitem active status */ 
.ic-color-tbls-active-status{
    color: #19d857;
}

/* tables rows menuitem inactive status */ 
.ic-color-tbls-inactive-status {
    color: #fb0606;
}

/* <<?>> */
.ic-color-active-status {
    color: #19d857;
}


.ic-color-btn-active {
    color: cornflowerblue;
}




.ic-1r {
    font-size: 1.5rem;
}

.ic-2r {
    font-size: 2rem;
}

.ic-3r {
    font-size: 3rem;
}

.ic-drag-color {
    color: var(--drag-icon-color);
}
/***********************************************

buttons 

************************************************/
.btn-csprimary {
    /*formatting goes here*/
    background-color: var(--btn-primary-color:) !important;
    border-color: var(--btn-primary-blue-color-outline) !important;
    color: var(--btn-primary-gray-color) !important;
}

.btn-csprimary:active {
    /*formatting goes here*/
    background-color: var(--btn-primary-color:) !important;
    border-color: var(--btn-primary-blue-color-outline) !important;
    color: var(--btn-primary-gray-color) !important;
}

    .btn-csprimary:hover {
        background-color: var(--btn-primary-blue-color-outline) !important;
        border-color: var(--btn-primary-color:) !important;
        color: var(--btn-primary-gray-color) !important;
    }

/*.btn-primary:visited {
    background-color: lightgray !important;
    border-color: #15253f !important;
    color: #15253f !important;
}*/

.btn-icon-page-action {
    display: inline-flex; /* Use flexbox for alignment */
    align-items: center; /* Center items vertically */
    justify-content: center; /* Center items horizontally */
    background-color: white; /* White background */
    padding: 0.28rem 0.5rem; /* Uniform padding */
    font-size: 1rem; /* Standard font size */
    border: 1px solid #ccc; /* Consistent border */
    border-radius: 0.25rem; /* Rounded corners */
    text-decoration: none; /* Remove underline from anchor tags */
    color: inherit; /* Inherit text color */
    height: 38px; /* Standard height for all buttons */
}

.btn-icon-action {
    display: inline-flex; /* Use flexbox for alignment */
    align-items: center; /* Center items vertically */
    justify-content: center; /* Center items horizontally */
    background-color: var(--btn-primary-color); /* White background */
    padding: 0.28rem 0.5rem; /* Uniform padding */
    font-size: 1rem; /* Standard font size */
    border: 1px solid #ccc; /* Consistent border */
    border-radius: 0.25rem; /* Rounded corners */
    text-decoration: none; /* Remove underline from anchor tags */
    color: inherit; /* Inherit text color */
    height: 38px; /* Standard height for all buttons */
}
/***********************************************

labels

************************************************/
.lbl-ctrllabelblue {
    color: #459eff !important;
    font-size: 14px;
    font-weight: 700 !important;
    /*style ="color: #051a46 !important"*/
}
.lbl-card-title-color {
    color: var(--card-title-color);
}



/***********************************************

drop-down controls

************************************************/
.select-wrapper {
    position: relative;
    width: 150px;
}

/*.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 20px;*/ /* Make space for the arrow */
    /*width: 100%;
    height: 35px;*/ /* Adjust as needed */
    /*border: 1px solid #ccc;
}*/

.select-wrapper::after {
    content: '▼'; /* Arrow icon */
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    pointer-events: none; /* Prevents the arrow from being clickable */
    font-size: 12px; /* Adjust size of the arrow */
    color: #333; /* Color of the arrow */
}

.form-control option {
    background-color: #fff; /* Option background color */
    color: #808080; /* Option text color */
}


/***********************************************

select2 controls

************************************************/
.select2-container--default .select2-selection--single {
    height: 38px; /* Adjust the value as needed */
}

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 38px; /* This should be the same as your height above */
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 38px; /* Match the height of the select box */
    }

/* Custom styles for Select2 clear button */
.select2-selection__clear {
    font-size: 20px; /* Larger font size for the icon */
    /* Other style adjustments if necessary */
}


/***********************************************

filters

************************************************/
.box-filter {
    /* Adjust the width, height, and background as needed 
    width: 200px;
    height: 200px;
    */
    background: var(--bk-filter-box); /* Example background color */
    /* Border configuration */
    border: 5px solid white; /* 5px wide solid white border */
    /* Optional: border radius for rounded corners */
    border-radius: 10px;
}
.text-box-container {
    position: relative;
}

.clear-text {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 12px;
}

.text-box-filter-container {
    position: relative;
    width: 90%;
}

.clear-filter-global {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
     /* z-index: 2;Ensure this is higher than the input field's z-index */
}
.label-column-filter {
    font-family: var(--bs-filter-font-sans-serif); 
    color: var(--bs-filter-font-color);
    font-size: var(--bs-filter-font-size);
    font-weight: var(--bs-filter-font-weight);
}


/***********************************************

miscellaneous

************************************************/
/* selection checkbox size */
.selectcheck {
    width: 18px; /* Adjust width as needed */
    height: 18px; /* Adjust height as needed */
    cursor: pointer; /* To indicate it's clickable */
    position: relative;
    top: 3px; /* Move the checkbox 3px down */
}

/* Custom check box class */
.ckb-custom {
    display: none; /* Hide original checkbox */
}

.ckb-custom-label {
    display: inline-block;
    width: 20px; /* Width of custom checkbox */
    height: 20px; /* Height of custom checkbox */
    background-color: #fff; /* Background color */
    border: 2px solid #ddd; /* Border of the checkbox */
    position: relative;
    cursor: pointer;
}

/* Style for when checkbox is checked */
.ckb-custom:checked + .ckb-custom-label::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid var(--custom-check-v-color);
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}


/***********************************************

Panels

************************************************/
.hpanel > .panel-heading {
    color: inherit;
    font-weight: 600;
    padding: 10px 4px;
    transition: all .3s;
    border: 1px solid transparent;
}

.hpanel .hbuilt.panel-heading {
    border-bottom: none;
}

.hpanel > .panel-footer,
.hpanel > .panel-section {
    color: inherit;
    border: 1px solid #e4e5e7;
    border-top: none;
    font-size: 90%;
    background: #f7f9fa;
    padding: 10px 15px;
}

.hpanel.panel-collapse > .panel-heading,
.hpanel .hbuilt {
    background: #fff;
    border-color: #e4e5e7;
    border: 1px solid #e4e5e7;
    padding: 10px 10px;
    border-radius: 2px;
}

.hpanel .panel-body {
    background: #fff;
    border: 1px solid #e4e5e7;
    border-radius: 2px;
    padding: 20px;
    position: relative;
}

.hpanel.panel-group .panel-body:first-child {
    border-top: 1px solid #e4e5e7;
}

.hpanel.panel-group .panel-body {
    border-top: none;
}

.panel-collapse .panel-body {
    border: none;
}

.hpanel {
    background-color: none;
    border: none;
    box-shadow: none;
    margin-bottom: 25px;
}

.panel-tools {
    display: inline-block;
    float: right;
    margin-top: 0;
    padding: 0;
    position: relative;
}

.hpanel .alert {
    margin-bottom: 0;
    border-radius: 0;
    border: 1px solid #e4e5e7;
    border-bottom: none;
}

.panel-tools a {
    margin-left: 5px;
    color: #9d9fa2;
    cursor: pointer;
}

.hpanel.hgreen .panel-body {
    border-top: 2px solid #62cb31;
}

.hpanel.hblue .panel-body {
    border-top: 2px solid #3498db;
}

.hpanel.hinfo-1 .panel-body {
    border-top: 2px solid var(--main-blue-color);
}

.hpanel.hyellow .panel-body {
    border-top: 2px solid #ffb606;
}

.hpanel.hviolet .panel-body {
    border-top: 2px solid #9b59b6;
}

.hpanel.horange .panel-body {
    border-top: 2px solid #e67e22;
}

.hpanel.hred .panel-body {
    border-top: 2px solid #e74c3c;
}

.hpanel.hreddeep .panel-body {
    border-top: 2px solid #c0392b;
}

.hpanel.hnavyblue .panel-body {
    border-top: 2px solid #34495e;
}

.hpanel.hbggreen .panel-body {
    background: #62cb31;
    color: #fff;
    border: none;
}

.hpanel.hbgblue .panel-body {
    background: #3498db;
    color: #fff;
    border: none;
}

.hpanel.hbgyellow .panel-body {
    background: #ffb606;
    color: #fff;
    border: none;
}

.hpanel.hbgviolet .panel-body {
    background: #9b59b6;
    color: #fff;
    border: none;
}

.hpanel.hbgorange .panel-body {
    background: #e67e22;
    color: #fff;
    border: none;
}

.hpanel.hbgred .panel-body {
    background: #e74c3c;
    color: #fff;
    border: none;
}

.hpanel.hbgreddeep .panel-body {
    background: #c0392b;
    color: #fff;
    border: none;
}

.hpanel.hbgnavyblue .panel-body {
    background: #34495e;
    color: #fff;
    border: none;
}

.hpanel.hinfo-2 .panel-body {
    border-top: 2px solid #6391ba;
}

.panel-group .panel-heading {
    background-color: #f7f9fa;
}

.small-header .hpanel {
    margin-bottom: 0;
}

.small-header {
    padding: 0 !important;
}

    .small-header .panel-body {
        padding: 15px 25px;
        border-right: none;
        border-left: none;
        border-top: none;
        border-radius: 0;
    }

.panel-body h5,
.panel-body h4 {
    font-weight: 600;
}

.small-header .panel-body h2 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 0 0;
}

.small-header .panel-body small {
    color: #838589;
}

.hbreadcrumb {
    padding: 2px 0px;
    margin-top: 6px;
    margin-bottom: 0px;
    list-style: none;
    background-color: #fff;
    font-size: 11px;
}

    .hbreadcrumb > li {
        display: inline-block;
    }

        .hbreadcrumb > li + li:before {
            padding: 0 5px;
            color: #34495e;
        }

    .hbreadcrumb > .active {
        color: #9d9fa2;
    }

.wrapper {
    padding: 10px 20px;
}

.hpanel.collapsed .panel-body,
.hpanel.collapsed .panel-footer {
    display: none;
}

.hpanel.collapsed .fa.fa-chevron-up:before {
    content: "\f078";
}

.hpanel.collapsed .fa.fa-chevron-down:before {
    content: "\f077";
}

.hpanel.collapsed.panel-collapse .panel-body {
    border-width: 0 1px 1px 1px;
    border-color: #e4e5e7;
    border-style: solid;
}

.hpanel.collapsed .hbuilt.panel-heading {
    border-bottom: 1px solid #e4e5e7;
}

body.fullscreen-panel-mode {
    overflow-y: hidden;
}

.hpanel.fullscreen {
    z-index: 2030;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: auto;
    margin-bottom: 0;
}

    .hpanel.fullscreen .showhide {
        display: none;
    }

    .hpanel.fullscreen .panel-body {
        min-height: calc(100% - 77px);
    }



/***********************************************
    Notification Toastr
************************************************/

/* Make Toastr box larger and apply custom styles */
#toast-container > div {
    width: 450px !important; /* Increase width */
    padding-left: 50px !important;
    border-radius: 1px !important; /* Set border-radius to 1px */
    color: white !important;
    font-size: 16px !important;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2) !important;
}

/* Change the progress bar color (optional) */
#toast-container .toast-progress {
    background-color: gray !important;
}

/* Customize close button */
#toast-container .toast-close-button {
    color: white !important;
    opacity: 1 !important;
    font-size: 16px !important;
}

/* SUCCESS */
#toast-container > .toast-success {
    background-color: #66b3ff !important; /* lighter blue */
    color: #ffffff !important;
    font-size: 16px !important;
}

    #toast-container > .toast-success::before {
        color: #ffffff !important;
    }

/* ERROR */
#toast-container > .toast-error {
    background-color: #ffdcdc !important;
    color: #d93025 !important;
    font-size: 18px !important;
}

    #toast-container > .toast-error::before {
        color: #d93025 !important;
    }

/* WARNING */
#toast-container > .toast-warning {
    background-color: #fff7c2 !important;
    color: #d98400 !important;
    font-size: 18px !important;
}

    #toast-container > .toast-warning::before {
        color: #d98400 !important;
    }

/* INFO */
#toast-container > .toast-info {
    background-color: #eeeeee !important;
    color: #555555 !important;
    font-size: 18px !important;
}

    #toast-container > .toast-info::before {
        color: #555555 !important;
    }

/***********************************************

Record Locks

************************************************/
table.dataTable tr.locked-row td {
    color: #ee4d3c !important;
    font-style: italic;
    background-color: white !important;
}


/***********************************************

Audit Logs

************************************************/
#tbl-AuditLogs tr.shown td {
    background-color: #f9f9f9;
}


/***********************************************

    Readiness donut product list

************************************************/
.rdn-cell {
    display: flex;
    justify-content: center; /* horizontal center */
    align-items: center; /* vertical center */
    height: 100%; /* fill the cell vertically */
}

.rdn-ring {
    width: 34px;
    height: 34px;
    display: inline-block;
}

    .rdn-ring .bg {
        fill: none;
        stroke: #e9ecef;
        stroke-width: 3;
    }

    .rdn-ring .fg {
        fill: none;
        stroke: #0d6efd;
        stroke-width: 3;
        stroke-linecap: round;
        transform: rotate(-90deg);
        transform-origin: 50% 50%;
        transition: stroke-dashoffset .3s ease;
    }

    .rdn-ring .pct {
        font-size: 8px;
        fill: #212529;
        dominant-baseline: middle;
        transform: translateY(-2px); /* shift text 3px higher */
    }

.rdn-wrap {
    display: inline-flex;
    align-items: center;
}

/***********************************************

    Readiness progressbar product details

************************************************/
.progress-thin {
    height: 6px;
}

.rdn-container {
    width: 100%;
}


/***********************************************

    Readiness progressbar product details

************************************************/

/* Bottom line under the whole tab bar */
.nav-tabs {
    border-bottom: 1px solid #ccaa9b; /* your color */
}

    /* Borders around each tab (normal + active) */
    .nav-tabs .nav-link {
        border: 1px solid #ccaa9b;
        color: #000; /* optional text color */
    }

        /* Active tab */
        .nav-tabs .nav-link.active {
            background-color: #fff; /* keep background white */
            border-color: #ccaa9b #ccaa9b #fff; /* left, right, bottom are blue, bottom is hidden by white */
            color: #000;
        }



