﻿/*========================================
  SECTION: Font Styles
  USAGE: "font-primary" for headings and "font-secondary" for body
========================================*/
.font-logo {
    font-size: 2.28rem;
    font-family: var(--font-family-LOGO);
}
.font-logo-color {
    color: var(--font-logo-color) !important;
}

.font-primary {
    font-family: var(--font-family-primary);
}

.font-secondary {
    font-family: var(--font-family-secondary);
}

.text-primary {
    color: var(--bs-primary) !important;
}
.text-alt-primary {
    color: var(--bs-alt-primary)!important;
}
.text-tertiary {
    color: var(--bs-tertiary) !important;
}

.fs-P{
    font-size:1.1rem;
}

/*========================================
  Section: DROPDOWN
========================================*/
.dropdown-toggle, .nav-link {
    font-family: var(--font-family-primary);
    font-size: 1rem;
}
    .dropdown-toggle.show {
        border-radius: .35rem;
        background: rgba(var(--bs-dark-rgb), .1);
        border: 1px solid var(--bs-secondary);
    }
    .dropdown-toggle:hover:not(.pv-menu), .nav-link:hover {
        border-radius: .35rem;
        background: rgba(var(--bs-dark-rgb), .1);
    }
.dropdown-menu {
    padding: .25rem !important;
    background-color: var(--bs-white) !important;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
}

.dropdown-item a{
    display: block !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    width: 100% !important;
}
    .dropdown-item > a.plain-text{
      color: var(--bs-dark) !important;
    }
    .dropdown-item:hover, .dropdown-item:focus {
        background-color: var(--bs-primary) !important;
        color: var(--bs-white) !important;
    }
    .dropdown-item > div > input {
        width: 100% !important;
    }

a.pv-menu.dropdown-toggle.show {
    background-color: var(--bs-secondary) !important;
}
a.pv-menu + ul.dropdown-menu {
    min-width: 12rem !important
}
/*========================================
  Section: CONTAINER
========================================*/
.container-horizon {
    width: 100%;
    max-width: 100%;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.minw-100p{
    min-width:100%;
}
/*========================================
  Section: BACKGROUNDS
========================================*/
.bg-primary-rgb {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-primary-rgb), var(--bs-bg-opacity)) !important;
}
.bg-primary {
    background-color: var(--bs-primary) !important;
    color: var(--bs-white);
}
.bg-secondary-rgb {
    background-color: rgba(var(--bs-secondary-rgb), var(--bs-bg-opacity)) !important;
    color: var(--bs-white);
}
.bg-secondary {
    background-color: var(--bs-secondary) !important;
    color: var(--bs-white);
}
.bg-secondary-accent {
    background-color: var(--bs-secondary-accent) !important;
}
.bg-gray-300 {
    background-color: rgba(var(--bs-gray-300-rgb), var(--bs-bg-opacity)) !important;
}
.bg-gray-400 {
    background-color: rgba(var(--bs-gray-400-rgb), var(--bs-bg-opacity)) !important;
}
.bg-yellow{
    background-color: rgba(var(--bs-yellow-rgb),var(--bs-bg-opacity)) !important;
}

.bg-login {
    background-image: url('../Images/Login.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
/*========================================
  Section: BORDER
========================================*/
.border-primary {
    border: 1px solid var(--bs-primary) !important;
}

.border-secondary {
    border: 1px solid var(--bs-secondary) !important;
}

/*========================================
  Section: NAVBAR
========================================*/
.navbar .nav-link, .navbar .navbar-brand {
    color: var(--bs-white);
}

.navbar-toggler:focus {
    box-shadow: none !important;
}
/*.nav-link:first-child {
    padding-left: 0 !important;
}*/

/*========================================
  Section: TEXTBOX, SELECT, TEXTAREA
========================================*/
.form-control, .form-select, .border-custom {
    border: var(--bs-border-width) solid var(--bs-gray-500);
    padding: .3rem !important;
}

    .form-control:disabled, .form-select:disabled {
        background-color: var(--bs-gray-200);
        opacity: 1;
    }

.form-control.compressed {
    padding: .15rem !important
}
.form-select.compressed {
    padding: 0.15rem 2.25rem 0.15rem .5rem !important;
}

select, .form-select {
    padding: 0.3rem 2.25rem 0.3rem .5rem !important;
}

form, select, .form-control, table, small, textarea, .form-select, .small {
    font-size: 1rem !important;
}

textarea {
    min-height: 1.4rem !important;
    resize: none;
}

.form-control:focus, select:focus, .input-group-text:has(+ .form-control:focus), .form-control:focus + .input-group-text {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    outline: 0;
    border: 1px solid var(--bs-secondary) !important;
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), .2) !important;
}

.form-control:disabled, .form-control:disabled + .input-group-text, .input-group-text:has(+ input:disabled) {
    background-color: var(--bs-gray-200);
}

.input-group-text {
    font-size: .8rem;
    padding: 0 0.2rem !important;
}

.form-check-input {
    background-color: transparent !important;
    border: none !important;
    display: inline-flex;
    align-items: center;
    width: 10rem;
    line-height: 0;
}
    .form-check-input label {
        padding: 0 .2rem;
    }


/*========================================
  Section:  FLOATING LABELS
==========================================*/
.form-custom-group {
    position: relative;
    margin-bottom: 20px;
}

    .form-custom-group input, .form-custom-group textarea {
        transition: border-color 0.3s ease;
    }

    .form-custom-group span.float {
        position: absolute;
        left: 5px;
        top: 5px;
        color: var(--bs-gray-700);
        /*transition: top 0.3s ease, font-size 0.3s ease, color 0.3s ease;*/
    }

    .form-custom-group input:focus, .form-custom-group textarea:focus {
        outline: none;
    }

        .form-custom-group select + span.float,
        .form-custom-group div:has(div.data-calendar-row) + span.float,
        .form-custom-group .input-group:has(input:placeholder-shown) + span.float, .form-custom-group .input-group:has(input:not(placeholder-shown)) + span.float,
        .form-custom-group input:focus + span.float, .form-custom-group input:not(:placeholder-shown) + span.float, .form-custom-group input:placeholder-shown + span.float,
        .form-custom-group textarea:focus + span.float, .form-custom-group textarea:not(:placeholder-shown) + span.float, .form-custom-group textarea:placeholder-shown + span.float {
            top: -13px;
            left: 5px;
            font-size: .95rem;
            color: var(--bs-gray-700);
            background-color: #ffffff;
            padding: 0 4px;
            z-index: 9;
        }

/*========================================
  Section: Label
========================================*/
span.required::after {
    content: " * ";
    color: var(--bs-danger) !important;
    font-weight: bold !important;
}
/*========================================
  Section: CHECKBOX
========================================*/
.form-check-input {
    background-color: var(--bs-secondary);
}

/*========================================
  Section: TABLE
========================================*/
td {
    padding: .3rem !important;
}

    td:first-child, th:first-child {
        position: sticky;
        left: -.8rem;
        z-index: 1;
    }

tr:first-child, th:first-child {
    position: sticky;
    top: 0;
    z-index: 2;
}

th.text-secondary {
    color: var(--bs-secondary) !important;
}

.table-no-data, tr:has(>td.table-no-data):hover td {
    height: 30vh;
    text-align: center;
    vertical-align: middle;
    border: none !important;
    font-size: 1rem;
    --bs-table-hover-bg: rgba(var(--bs-white-rgb), 0.075);
}

/*========================================
  Section: IRR TABLE
========================================*/
#IRRtableHeader >tr> td, #IRRtableHeader >tr> th{
    padding: 0.1rem !important;
}
#IRRtableHeader > tr > th {
    /*font-size: .7rem !important;*/
    font-weight: normal !important;
}
#IRRtableHeader > * > *  {
    border-top-width: 1px;
    border-left-width: 1px;
    border-right-width: 1px;
}

/*========================================
  Section: ACCORDION
========================================*/
.accordion-button {
    border: none !important;
    background-color: transparent !important;
    box-shadow: none !important
}

/*========================================
  Section: GRID
========================================*/
.BaseGridView {
    border-collapse: separate !important;
}

    .BaseGridView tbody {
        border-radius: var(--bs-border-radius) !important;
    }

    .BaseGridView tr:nth-child(even) {
        background-color: var(--bs-white);
    }

    .BaseGridView tr:nth-child(odd):not(:first-child) {
        background-color: rgba(var(--bs-primary-rgb), .3);
    }

        .BaseGridView th {
            color: var(--bs-white);
            background-color: rgba(var(--bs-primary-rgb), .8);
            /*text-align: center;*/
            padding: 0.25rem !important;
        }

    .BaseGridViewPV th {
        text-align: end;
    }
        .BaseGridViewPV th:nth-child(2) {
            text-align: center;
        }

        .BaseGridView th > a {
            color: var(--bs-white) !important;
        }

    .BaseGridView td, th {
        font-size: .85rem;
    }

/*========================================
  Section: Tabs
========================================*/
.tab-item {
    color: var(--bs-gray-600) !important;
    background: transparent !important;
    font-size: 1rem;
    border: 1px solid var(--bs-gray-600) !important;
    border-bottom: 0 !important;
    border-radius: .35rem .35rem 0 0!important;
}
    .tab-item.active {
        color: var(--bs-secondary) !important;
        background: var(--bs-white) !important;
        font-weight: bold;
        border: 1px solid var(--bs-gray-600) !important;
        border-bottom: 0 !important;
    }
    .tab-item:hover {
        isolation: auto !important;
        border-radius: .35rem .35rem 0 0 !important;
    }

/*========================================
  Section: Anchor Tags
========================================*/
a.aspNetDisabled, a.aspNetDisabled.btn, li:has(a.aspNetDisabled), a.aspNetDisabled:hover, li:has(a.aspNetDisabled):hover {
    background: var(--bs-gray-200) !important;
}
    a.aspNetDisabled.btn-outline-secondary:hover {
        color: var(--bs-secondary) !important;
    }

/*========================================
  Section: Pricingversion page
========================================*/
.pricing-version .comments-history-block {
    transform: translate(45%, 0) rotate(-90deg);
    right: 0%;
    top: 50%;
    width: 25%;
}
.pricing-version .project-details {
    position: sticky;
    top: -1rem;
    background: white;
}
.pricing-version .IRR-island {
    font-size: .75rem !important;
    min-width: 16rem;
    width: 16rem;
}
.full-width {
    width: 100vw;
}

.humburger-menu{
    width: 100% !important;
    text-align: left !important;
}

/*========================================
  Section: MENU NAVBAR
========================================*/
.navbar-welcom-text {
    font-family: var(--font-family-secondary);
    color: var(--bs-primary);
    font-size: 1.2rem;
}

/*========================================
  Section: CUSTOM DATE CALENDAR
========================================*/
.data-calendar-Panel {
    position: absolute;
    top: 100%;
    z-index: 9999;
    width: max-content;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 25px 5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
}
.custom-calendar {
    background: white;
    width: 230px;
}
.data-calendar-row .form-select.compressed {
    background-position: right 0.1rem center !important;
    padding: 0.15rem 1rem 0.15rem .15rem !important;
}

/*========================================
  SECTION: Tabs Styles
========================================*/
.nav-tabs {
    position: relative;
    z-index: 1;
    display: inline-flex;
    border-radius: 9999px;
/*    overflow: hidden;
    border: 1px solid var(--bs-gray-500);*/
}

    .nav-tabs .nav-link:last-child {
        border-radius: 0 1rem 1rem 0 !important;
    }
    .nav-tabs .nav-link:first-child {
        border-radius: 1rem 0 0 1rem !important;
        border: none !important;
    }
    .nav-tabs .nav-link {
        font-size: .85rem !important;
        color: var(--bs-gray-600) !important;
        border-radius: 0 !important;
        border-color: transparent !important;
        background: var(--bs-gray-100);
        border-left: 1px solid var(--bs-gray-600) !important;
        box-shadow: inset rgb(161 161 161) 0px -1px 8px 0px;
        padding: .25rem 1.8vw !important;
    }

        .nav-tabs .nav-link.active {
            background-color: var(--bs-white);
            color: var(--bs-secondary) !important;
            box-shadow: #16161642 0px 0px 4px 1px;
            font-weight: 600 !important;
        }