﻿/* -------------------
   Collapsible Panel - Normal
*/
.collapsablePanelTitle, .collapsablePanelTitleOver {
    background: #E0E0E0;
    border: solid 1px #E0E0E0;
    background: #EEEEEE;
    border: solid 1px #E0E0E0;
    color: #343434;
    margin: 0px 0px 5px 0px;
    padding: 4px;
    font-weight: 600;
    text-align: left;
}

.collapsablePanelTitleOver {
    cursor: pointer;
}

.collapsablePanelImageCollapsed, .collapsablePanelImageExpanded {
    margin-right: 4px;
    width: 11px;
    height: 12px;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center center;
    vertical-align: -1px;
}

.collapsablePanelImageCollapsed {
    background-image: url(Images/panel_right.png);
}

.collapsablePanelImageExpanded {
    background-image: url(Images/panel_down.png);
}

.collapsablePanel {
    padding: 4px 2px 2px 0px;
    margin: 0px 0px 10px 0px;
    display: block;
}

/* -------------------
   CollapsibleSubPanel
*/
.collapsableSubPanelTitle, .collapsableSubPanelTitleOver {
    background: #EEEEEE;
    border: solid 1px #E0E0E0;
    color: #343434;
    margin: 0px 0px 5px 0px;
    padding: 2px 4px 2px 4px;
    font-weight: 600;
    text-align: left;
}

.collapsableSubPanelTitleOver {
    cursor: pointer;
}

.collapsableSubPanelImageCollapsed, .collapsableSubPanelImageExpanded {
    margin-right: 4px;
    width: 11px;
    height: 12px;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center center;
}

.collapsableSubPanel {
    margin: 0px 0px 10px 0px;
    display: block;
}

/* -------------------
	StyledPanel
*/
.styledPanel {
    background-color: white;
    border: 1px solid lightgrey;
    box-shadow: -1px 2px 5px 0px rgb(175,175,175);
    border-radius: 5px;
    padding: 10px 20px 10px 20px;
    margin-bottom: 10px;
}

.styledPanelTitle {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    border-bottom: 1px solid #6c757d;
    padding-bottom: 5px;
    color: #6c757d;
}

.styledPanelContent {
    padding: 5px 0px 8px 0px;
}

    .styledPanelContent > div {
        width: auto !important;
    }

/* horizontal grid lines */
.esfGridView td {
    border-left: solid 1px lightgray;
    border-right: solid 1px lightgray;
    border-bottom: 1px solid #F0F0F0;
}

/*override bootstrap styling*/
.esfGridView td, .esfGridView-clean td {
    font-size: 13px;
    padding: 5px;
}

.esfGridView tr:last-child td {
    border-bottom: solid 1px lightgray;
}

.esfGridHeader th {
    padding: 4px;
    white-space: normal;
    border-left: solid 1px ghostwhite;
    border-right: solid 1px ghostwhite;
    border-top: solid 2px var(--gridHeaderBackgroundColor);
    border-bottom: solid 1px var(--gridHeaderBackgroundColor);
    text-align: center;
    font-weight: 600;
    background-color: var(--gridHeaderBackgroundColor);
    color: var(--gridHeaderColor)
}

    .esfGridHeader th:first-child {
        border-left: solid 1px var(--gridHeaderBackgroundColor);
    }

    .esfGridHeader th:last-child {
        border-right: solid 1px var(--gridHeaderBackgroundColor);
    }

.esfGridHeader a {
    color: var(--gridHeaderColor) !important;
}

.esfGridPager {
    background-color: var(--gridHeaderBackgroundColor);
    cursor: default;
}

.esfGridPager td {
    padding: 4px;
}

.esfGridPagerLink {
    color: var(--gridHeaderColor) !important;
    margin-left: 2px;
    font-size: 14px;
}

.esfGridPagerPageSummary {
    color: var(--gridHeaderColor);
    font-size: 14px;
}

.highlightedYellow {
    background: #FFEAAC !important;
    color: #0B0800;
}

.highlightedGreen {
    background: #b7ffac !important;
    color: #0B0800;
}

.highlightedRed {
    background: #ffacac !important;
    color: #0B0800;
}

H2.titleBar {
    color: black;
    font-size: 18px;
    font-weight: normal;
    margin: 0px;
    padding: 4px 10px 4px 5px;
}

H3.titleBar {
    border-bottom: 1px solid #404040;
}

H4.titleBar {
    background: #B3B3B3;
    border: solid 1px #B3B3B3;
    text-indent: 0px;
    padding: 3px 0px 3px 5px;
    font-weight: bold;
}

.masterTable_design H2.titleBar {
    font-size: 16px;
    margin: 0px 0px 0px 0px;
    width: 100%;
}

/* -------------------
	Menu Data List
*/

.menuDataListItemOver,
.menuDataListItem > .menuDataListItem {
    border: none !important;
    background-color: inherit !important;
    color: inherit !important;
}

.menuDataListItem {
    background-color: #f7f7f7;
    color: #2F2300;
    border: 1px solid lightgray;
    cursor: pointer;
}

    .menuDataListItem._selected {
        color: var(--gridHeaderColor);
        background-color: var(--gridHeaderBackgroundColor);
    }

/* --------------------
   EsfFormView
*/

.esfformview td {
    white-space: nowrap;
    padding: 5px;
}

    .esfformview td.fieldLabel {
        font-weight: 600;
        text-align: right;
    }

.esfformview .row {
    vertical-align: bottom;
}

    .esfformview .row .fieldLabel {
        margin-top: 2px;
    }

.esfformview .fieldLabel {
    padding-right: 0px;
    margin-right: 0px;
}

.deleteButtons {
    margin-top: 5px;
}

/* --------------------
   Repeater
*/
.repeater {
}

    .repeater th {
        font-size: 14px;
        border-bottom: 1px solid #404040;
    }

    .repeater td {
        padding: 2px;
        white-space: nowrap;
    }

        .repeater td.fieldLabel {
            font-weight: bold;
            text-align: right;
        }

        .repeater td.headerColumn {
            font-weight: bold;
            font-size: 14px;
            white-space: normal;
            padding-bottom: 5px;
        }

    .repeater tr.headerRow {
        text-align: center;
    }

    .repeater tr.footerTotals {
        font-weight: bold;
        padding: 5px;
        background: #D9D9D9;
    }

    .repeater hr {
        height: 1px;
        background: #4B3E38;
    }

/* --------------------
   Side Navigation
*/
.sideNavigation {
    padding-left: 15px;
    padding-bottom: 15px;
    border-right: 2px solid rgb(100, 100, 100);
    background: #F3F3F3;
}

/*
    EsfDateTimePicker
    Calendar
*/

.input-group {
    display: flex;
}

.input-group-addon {
    display: flex;
    align-items: center;
    min-width: 40px;
}

.PGCalendar {
    top: 31px !important;
    right: 0px !important;
    left: initial !important
}

.PGCalendar .ajax__calendar_container {
    background-color: #fafafa;
    color: black;
    padding: 0px;
    width: initial !important;
}

.ajax__calendar_container table {
    width: 100%;
}

.PGCalendar .ajax__calendar_container table td {
    padding: 0px !important;
}

.PGCalendar .ajax__calendar_header {
    color: var(--gridHeaderColor);
    width: 100%;
    background: var(--gridHeaderBackgroundColor);
    border: 1px solid var(--gridHeaderBackgroundColor);
    padding: 3px 0px;
    font-size: 14px;
    font-weight: 500;
    height: initial;
}

.ajax__calendar_prev,
.ajax__calendar_next {
    filter: brightness(0) invert(1);
    margin-top: 2px;
}

.PGCalendar .ajax__calendar_body {
    height: initial !important;
    width: initial !important;
    border-left: 1px solid lightgray;
    border-right: 1px solid lightgray;
    position: relative;
    overflow: hidden;
    margin: auto;
    padding: 5px;
}

.PGCalendar .ajax__calendar_footer {
    border: 1px solid lightgray;
    height: initial;
    font-size: 13px;
    padding: 5px 0px;
}

.PGCalendar .ajax__calendar_days,
.PGCalendar .ajax__calendar_months,
.PGCalendar .ajax__calendar_years {
    position: initial !important;
    width: initial !important;
    height: initial !important;
}

.PGCalendar .ajax__calendar_dayname {
    text-align: center;
    color: gray;
}

.PGCalendar .ajax__calendar_day {
    height: 28px;
    width: 28px;
    padding-top: 3px;
    font-size: 15px;
    text-align: center
}

.PGCalendar .ajax__calendar_month {
    height: 40px;
    width: 48px;
    font-size: 13px;
    text-align: center;
    padding-top: 10px;
}

.PGCalendar .ajax__calendar_year {
    height: 40px;
    width: 48px;
    font-size: 13px;
    text-align: center;
    padding-top: 10px;
}

.PGCalendar .ajax__calendar_day:hover,
.PGCalendar .ajax__calendar_month:hover,
.PGCalendar .ajax__calendar_year:hover,
.PGCalendar .ajax__calendar_footer:hover {
    background: lightgrey;
}

.PGCalendar .ajax__calendar_month br,
.PGCalendar .ajax__calendar_year br {
    display: none;
}

.PGCalendar .ajax__calendar_active div {
    color: white;
    background: grey !important;
}

.PGCalendar .ajax__calendar_other {
    color: #C9C9C9;
}

/* EsfCheckBoxList */

.esfCheckBoxList {
    width: 100%;
    border-collapse: separate;
    border-spacing: 15px 0px;
}

    .esfCheckBoxList label, .radioButtonList label {
        font-weight: normal;
        margin-left: 3px;
        vertical-align: 1px;
    }

.ui-tabs.ui-widget.ui-widget-content {
    border: none;
}

.ui-tabs div.ui-tabs-panel {
    background: #F7F7F7;
    border-top: none;
    border-left: solid 1px lightgray;
    border-bottom: solid 1px lightgray;
    border-right: solid 1px lightgray;
}

.ui-tabs ul.ui-tabs-nav .ui-tabs-anchor {
    font-family: Verdana;
    font-size: small;
    padding: .15em 1em;
}

ul.ui-tabs-nav {
    background: inherit;
    border: none;
    border-bottom: solid 1px lightgray !important;
}

    ul.ui-tabs-nav > li.ui-state-default:focus, ul.ui-tabs-nav > li.ui-state-active:focus, ul.ui-tabs-nav > li.ui-state-default > a:focus, ul.ui-tabs-nav > li.ui-state-active > a:focus {
        outline: none;
    }

    ul.ui-tabs-nav > li.ui-state-default {
        background-color: #78909c !important;
        border-bottom: solid 1px #78909c;
    }

        ul.ui-tabs-nav > li.ui-state-default a {
            color: white;
        }

    ul.ui-tabs-nav > li.ui-state-active {
        background-color: #F7F7F7 !important;
        border: solid 1px #dddddd;
        border-bottom: solid 1px #F7F7F7;
    }

        ul.ui-tabs-nav > li.ui-state-active a {
            color: black;
        }

/*filter panel*/
.filterPanelExpandButton {
    padding: 5px;
    cursor: pointer;
    display: inline-block;
}

    .filterPanelExpandButton.filtered {
        border-bottom: 3px solid #76FF03;
        margin-bottom: -2px !important;
        padding-bottom: 2px;
    }

    .filterPanelExpandButton:hover {
        background-color: lightgrey;
    }

.filterPanel {
    display: none;
    position: absolute;
    font-size: 14px;
    border: 1px solid lightgrey;
    background-color: white;
    padding: 10px;
    box-shadow: 0px 3px 5px 0px rgb(175,175,175);
    z-index: 1;
    background-color: #f7f7f7;
}

    .filterPanel hr {
        background: lightgray;
    }

.filterButtonBar {
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid lightgrey;
}

/*make wizard look like styledpanels*/
#wizardHolder .styledPanel {
    display: inline-block;
}

    /*padding copied from .styledPanelTitle*/
    #wizardHolder .styledPanel td.styledPanelTitle {
        padding: 5px 0px;
    }

    #wizardHolder .styledPanel .styledPanelContent > .form-group:first-of-type {
        padding-top: 15px;
    }

.form-control-sm {
    height: calc(1.5em + 0.5rem + 2px);
    padding: 0.25rem 0.5rem;
    line-height: 1.5;
    border-radius: 0.2rem;
    font-size: 13px;
}

.styled-panel-centered {
    max-width: 700px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

label {
    color: #404040;
    font-weight: 600;
}

.form-group label {
    margin-bottom: 4px;
}

.form-group {
    margin-bottom: 10px !important;
}

.nav {
    font-size: 14px;
}

/* Esf Address AutoComplete */

.avas-search__results-window {
    position: absolute;
    z-index: 800;
    display: none;
    /*accountMenuDropDown*/
    position: absolute;
    background-color: var(--menuBackground);
    padding: 10px;
    display: none;
    text-align: left;
    min-width: 175px;
    border: 1px solid lightgray;
}

    .avas-search__results-window._visible {
        display: flex !important;
        flex-direction: row;
        flex-wrap: wrap;
    }

.avas-search__result-link {
    display: flex;
    /*accountMenuItem*/
    font-size: 14px;
    padding: 5px 15px 5px 5px;
    color: var(--menuLinkColor) !important;
    background-color: var(--menuBackground);
    text-decoration: none;
    display: block;
    outline: none !important;
}

    .avas-search__result-link:focus {
        color: white;
        text-decoration: none;
    }

    .avas-search__result-link:hover {
        background: var(--menuLinkHoverBackgroundColor) !important;
        color: var(--menuLinkHoverColor);
        text-decoration: none;
        cursor: pointer;
    }


.accountMenuItem {
    font-size: 14px;
    padding: 5px 15px 5px 5px;
    color: var(--menuLinkColor) !important;
    text-decoration: none;
    display: block;
    outline: none !important;
}