﻿/* -------------------
   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: 2px;
    padding: 10px 20px 10px 20px;
    margin-bottom: 10px;
}

.styledPanelTitle {
    /*padding: 5px 0px 5px 7px;*/
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    border-bottom: 1px solid;
    padding-bottom: 5px;
    color: #4c4c4c;
}

.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 #78909c;
    border-bottom: solid 1px #78909c;
    text-align: center;
    font-weight: 600;
}

    .esfGridHeader th:first-child {
        border-left: solid 1px #78909c;
    }

    .esfGridHeader th:last-child {
        border-right: solid 1px #78909c;
    }

.esfGridHeader a {
    color: White !important;
}

.esfGridPager td {
    padding: 4px;
}

.esfGridPagerLink {
    color: White !important;
    margin-left: 2px;
    font-size: 14px;
}

.esfGridPagerPageSummary {
    color: White;
    font-size: 14px;
}

.highlightedYellow {
    background: #FFEAAC !important;
    color: #0B0800;
}

.highlightedGreen {
    background: #b7ffac !important;
    color: #0B0800;
}

.highlightedRed {
    background: #ffacac !important;
    color: #0B0800;
}


/* -------------------
   Titlebar
*/

.pageTitleNavContainer {
    background-color: #fafafa;
    padding-left: 15px;
    padding-bottom: 5px;
    padding-top: 5px;
}

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
*/

.menuDataListItem {
}

.menuDataListItemOver {
    cursor: pointer;
}

/* --------------------
   EsfFormView
*/

.esfformview td {
    white-space: nowrap;
    padding-top: 4px;
}

    .esfformview td.fieldLabel {
        font-weight: 600;
        text-align: right;
    }

.esfformview select {
    width: 90%;
}

.esfformview .textbox {
    width: 90%;
}

.esfformview .row {
    margin-top: 5px;
    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;
        }

    .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
*/

.PGCalendar .ajax__calendar_container {
    border: 1px solid #646464;
    background-color: #fafafa;
    color: black;
}

.PGCalendar .ajax__calendar_body {
    height: 124px;
    width: 155px;
    position: relative;
    overflow: hidden;
    margin: auto;
}

.PGCalendar .ajax__calendar_container {
    padding: 0px;
    cursor: default;
    width: 155px;
    text-align: center;
}

.PGCalendar .ajax__calendar_days {
    top: 0px;
    left: 0px;
    height: 124px;
    width: 100%;
    position: absolute;
    text-align: center;
    margin: auto;
}

.PGCalendar .ajax__calendar_months {
    top: 0px;
    left: 0px;
    height: 124px;
    width: 155px;
    position: absolute;
    text-align: center;
    margin: auto;
}

.PGCalendar .ajax__calendar_years {
    top: 0px;
    left: 0px;
    height: 124px;
    width: 155px;
    position: absolute;
    text-align: center;
    margin: auto;
}

.PGCalendar .ajax__calendar_footer {
    border-top: 1px solid gray;
    height: 19px;
    padding-top: 1px;
}

.PGCalendar .ajax__calendar_header {
    color: white;
    width: 100%;
    background: #607D8B;
    padding-top: 2px;
}

.PGCalendar .ajax__calendar_day {
    height: 18px;
    width: 18px;
    padding: 0 2px;
    cursor: pointer;
}

.PGCalendar .ajax__calendar_month {
    height: 41px;
    width: 39px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    overflow: hidden;
}

.PGCalendar .ajax__calendar_year {
    height: 41px;
    width: 39px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    overflow: hidden;
}

.PGCalendar .ajax__calendar_dayname {
    text-align: center;
    color: gray;
}

.PGCalendar .ajax__calendar_days {
}

    .PGCalendar .ajax__calendar_days table {
        width: 98%;
    }

.PGCalendar .ajax__calendar_day {
    text-align: center;
    font-size: 13px;
}

    .PGCalendar .ajax__calendar_day:hover {
        background: lightgrey;
    }

.PGCalendar .ajax__calendar_month {
}

.PGCalendar .ajax__calendar_year {
}

.PGCalendar .ajax__calendar_active div {
    color: white;
    background: grey !important;
}

.PGCalendar .ajax__calendar_hover {
}

.PGCalendar .ajax__calendar_other {
    color: #C9C9C9;
}

.PGCalendarControlPanel {
    display: inline;
}

/*
    Time Picker
*/
.TimePickerButton {
    padding-left: 4px;
    padding-right: 4px;
    text-align: right;
    background-color: White;
    border-top: 1px solid #FFECB1;
}

.TimePickerPopupButton {
    background-image: url('Images/Clock.png');
    background-color: Transparent;
    background-repeat: no-repeat;
    border-top-style: none;
    border-right-style: none;
    border-left-style: none;
    border-bottom-style: none;
    cursor: pointer;
    position: relative;
    height: 5em;
    margin-top: -2.5em;
}

.TimePickerPopupButton {
    top: 0px;
}
/* CSS Hack for older versions of IE */
* + html .TimePickerPopupButton {
    top: 13px;
}

.TimePickerHeader {
    font-weight: 600;
    text-align: center;
    color: white;
    width: 100%;
    background: rgb(83, 146, 202);
    border: 1px solid rgb(83, 146, 202);
    margin-left: -1px;
}

.TimePickerContainer {
    display: inline;
    /*ie 10 can flash the calendar before the js has executed to hide it*/
    position: absolute;
    left: -1000px;
    border: 1px solid #646464;
    background-color: white;
    color: black;
    z-index: 99999;
}

    .TimePickerContainer .hover {
        cursor: default !important;
        background: #FFEAAC;
        color: #0B0800;
    }

/* 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;
    }
