﻿/* -------------------
   Collapsible Panel - Normal
*/
.collapsablePanelTitle, .collapsablePanelTitleOver {
    background: #FFECB1;
    border: solid 1px #FFECB1;
    color: #343434;
    margin: 0px 0px 5px 0px;
    padding: 2px 2px 2px 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;
}

.collapsablePanelImageCollapsed
{		
	background-image: url(Images/panel_right.gif);
}

.collapsablePanelImageExpanded
{
	background-image: url(Images/panel_down.gif);
}

.collapsablePanel
{
	padding: 4px 2px 2px 10px;
	margin:0px 0px 10px 0px;
	display:block;
}


/* -------------------
   CollapsibleSubPanel
*/
.collapsableSubPanelTitle, .collapsableSubPanelTitleOver {
    background: #FFECB1;
    border: solid 1px #FFECB1;
    padding: 1px 2px 3px 4px;
    height: 16px;
    color: #343434;
    margin: 0px 0px 0px 0px;
    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
{
	padding: 4px 2px 2px 10px;
	margin:0px 0px 10px 0px;
	display:block;
}

/* -------------------
	StyledPanel
*/
.styledPanelTitle {
    padding: 3px 0px 3px 5px;
    font-weight: 600;
    background: rgb(83, 146, 202);
    color: #F7F7F7;
    border: 1px solid rgb(83, 146, 202);
}

.styledPanelContent {
    border-left: solid 1px #d6d6d6;
    border-right: solid 1px #d6d6d6;
    border-bottom: solid 1px #d6d6d6;
    background-color: #f7f7f7;
}

/* -------------------
   Titlebar
*/

H3.titleBar
{
	color: #4c4c4c;
	font-size:small;
	border-bottom: solid 1px #4c4c4c;
    text-indent: 0;
}

H4.titleBar {
    padding: 3px 0px 3px 5px;
    font-weight: 600;
    background: rgb(83, 146, 202);
    color: #F7F7F7;
    margin-bottom: 0px;
    margin-top: 0px;
}

.masterTable_design H2.titleBar
{
	color: rgb(47, 35, 0);
	font-size:medium;
	margin: 0px 0px 0px 0px;
	width:100%;
}

/* -------------------
	Menu Data List
*/

.menuDataListItem
{
}

.menuDataListItemOver
{
	cursor: pointer;
	cursor: hand;
}

/* --------------------
   EsfFormView
*/
.esfformview td
{
	white-space: nowrap;
}

.esfformview td.label
{
	font-weight: bold;
	text-align: right;
}

.esftextarea, .textarea
{
    white-space: pre-wrap;
}

/*
    EsfDateTimePicker
    Calendar
*/

.PGCalendar .ajax__calendar_container
{
    border: 1px solid #646464;
    background-color: white;
    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;
}
.PGCalendar .ajax__calendar_header {
    color: white;
    height: 18px;
    width: 100%;
    background: rgb(83, 146, 202);
}
.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_day
{
    text-align: center;
    font-size: small;
}
.PGCalendar .ajax__calendar_month
{
}
.PGCalendar .ajax__calendar_year
{
}
.PGCalendar .ajax__calendar_active
{
    color: white;
    background: #3271a8;
}

.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;
    font-size: 13px !important;
}
.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;
}

.TimePickerContainer .hover
{
    cursor: default !important;
    background: #FFEAAC;
    color: #0B0800;
}

/*Extra CSS for Tablets*/

span.TabletTitleBar H2
{
    color: #4c4c4c;
	font-size:medium;
	margin: 0px -12px 0px -12px;
	padding: 4px 0px 4px 48px;
	background-image: url(Images/pageTitleBlend.gif);
	background-repeat: repeat-x;
	border-bottom: solid 1px #ccddff;
	width:inherit;
}

/*Esf GridView*/

.esfGridView .esfGridView-row
{
    font-weight: normal !important;
    color: #333333 !important;
    background-color: #F7F6F3 !important;
}

.esfGridView .esfGridView-alternateRow
{
    font-weight: normal !important;
    color: #333333 !important;
    background-color: white !important;
}

.esfGridView .esfGridView-selectedRow
{
    font-weight: bold !important;
    color: #333333 !important;
    background-color: #E2DED6 !important; 
}

/* Esf Address AutoComplete */

.avas-search__results-window {
    position: absolute;
    z-index: 800;
    display: none;
}

    .avas-search__results-window._visible {
        display: flex !important;
        flex-direction: row;
        flex-wrap: wrap;
    }

.avas-search__result-link {
    display: flex;
}