/*
	Common.css
    Copyright (C) 2009-2010, Ad Astra Information Systems, LLC.
    All Rights Reserved
*/

/* GENERAL STYLES */
/* ------------------------------------------------------------------------------------------------------------------------------------------------------------- */

.parentContainer {
    overflow-y: auto; 
    overflow-x: hidden;    
    position: relative;
}

.contentPadding, .tabcontent {
    padding:8px;
}

.subContainer
{
    margin-top: 8px;
    margin-bottom: 0px;    
}

.Footer {
    background-color: #326293;
    height: 25px;
    width: 100%;
    position: relative;
}

.ApplicationFooterLogo {
  width: 272px;
  height: 25px;
  background-image: url(../App_Themes/Default/images/footerAstraLogo.jpg);
}


#AppTools {
    width: 15px;
    height: 15px;
    margin-top: 5px;
    float: right;
    background-image: url(../App_Themes/Default/images/adminLeftTab.gif);
}

.footerspacer
{
	 height:45px;	
}


.viewMode .requiredFieldIndicator {
    display: none;
}

/* LIST BUILDER COMPONET */
/* ------------------------------------------------------------------------------------------------------------------------------------------------------------- */

.schedPanel  {
    overflow-y: auto;
}

.x-grid3-cell-inner
{
    position: relative;
}

/* This is used to render the cell actions next to a value in a grids' cell */
.cellActionValue 
{
    padding: 2px;
    float: left;
}

.cellActionIcons 
{
    padding: 0px;
    position: absolute;
    right: 0px;
    vertical-align: middle;
}

/* RowActions */
/* ------------------------------------------------------------------------------------------------------------------------------------------------------------- */

.gridGroupText {
  /*padding: 0 ! important;
  margin:0 ! important;
  background:transparent none ! important;*/
  float:left;
  margin: 0 4px;
}
/* styles for rows */
.ux-row-action-cell .x-grid3-cell-inner {
  padding:1px 0 0 0;
}
.ux-row-action-item {
  float:left;
  min-width:16px;
  height:16px;
  background-repeat:no-repeat;
  margin: 0 1px 0 0; /* TRBL */
  cursor:pointer;
  overflow:hidden;	
}
.ext-ie .ux-row-action-item {
  width:16px;
}
.ext-ie .ux-row-action-text {
  width:auto;
}
.ux-row-action-item span {
  vertical-align:middle;
  padding:0 0 0 20px;
  line-height:18px;
}
.ext-ie .ux-row-action-item span {
  width:auto;
}

/* styles for groups */
.x-grid-group-hd div {
  position:relative;
  height:16px;
}
.ux-grow-action-item {
  min-width:16px;
  height:16px;
  background-repeat:no-repeat;
  background-position: 0 50% ! important;
  margin: 0; /*0 0 0 4px;*/
  padding: 0 ! important;
  cursor:pointer;
  float:left;
}
.declineIcon {
  width:18px;
  height:16px;
  background-repeat:no-repeat;
}
.ext-ie .declineIcon {
  padding-right:15px;
  width:22px;
  height:16px;
  background-repeat:no-repeat;
}
.ext-ie .ux-grow-action-item {
  width:16px; 
}
.ext-ie .iconwrapper {
	display:inline;
}
.ext-ie .iconwrapper .ux-grow-action-item {
  margin:0px;
  padding:0px;
  position:relative;
  width:20px;
}
.ext-ie .textwrapper {
margin-left:30px;
}
.ext-ie .iconwrapper .ux-grow-action-item.approveIcon,
.ext-ie .iconwrapper .ux-grow-action-item.declineIcon   {
	margin-top:-13px
}
.ux-action-right {
  float:right;
  margin: 0; /*0 3px 0 2px;*/
  padding: 0 ! important;
}
.ux-grow-action-text {
  padding: 0 ! important;
  margin:0 ! important;
  background:transparent none ! important;
  float:left;
}

/* TABS */
/* ------------------------------------------------------------------------------------------------------------------------------------------------------------- */

.x-tab-strip .x-tool-help
{
    background-image: url("images/default/panel/tool-sprites.gif");
    background-position: 0 -300px;
    opacity: 0.5;
    margin-top: 3px;
}

.x-tab-strip .x-tab-strip-active .x-tool-help
{
    opacity: 1;
}

.x-tab-strip .x-tool-help
{
    margin-right: 4px;
}

.x-tab-strip .x-tab-strip-closable .x-tool-help
{
    margin-right: 17px;
}

/* FORMS */
/* ------------------------------------------------------------------------------------------------------------------------------------------------------------- */
 
.searchFields {
	padding:5px 5px 0;
}
.filterForm {
    overflow-y: auto;
    padding: 0px;
}

.filterForm .flatPanel .x-panel-body
{
    border:none;
    background:#fff;
}

.filterForm .x-panel-body
{
    border:none;
    background:#fff;
}

/* Astra Styles Date Picker */
/* ------------------------------------------------------------------------------------------------------------------------------------------------------------- */
/* Styles in AstraExtTheme.css */

/* Notes Styles */
/* ------------------------------------------------------------------------------------------------------------------------------------------------------------- */

/* ListView */
/* ------------------------------------------------------------------------------------------------------------------------------------------------------------- */
.x-list-body {
    overflow:auto;
    overflow-x:hidden;
    overflow-y:auto;
    zoom:1;
    float: left;
    width:100%;
}



/** For IE in ext **/
/* Fixes the spacing tab bar issue */
.ext-ie .TabNavigation a 
{
    height: 17px;
	margin:0 -3px;
}
.ext-ie  #MainHeader 
{
	/* margin-bottom:-10px; */
}

/*******************************************/
/* Back Link */
/*******************************************/
.aspxLinkBackButton{
    
    padding: 0 14px 5px ;
    cursor: pointer;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    display:inline-block;
    outline:black solid thick;   
}


#ExtMainMaster_MainTabNavigationControl_LinkBack {
    float: right;
    margin-top:-2px;
}
#ExtMainMaster_MainTabNavigationControl_LinkBack button {
    height:12px;
}
.LinkBackIcon {
    background-image: url(images/default/icons/linkback.gif) !important;       
}
.ext-ie  #MainHeader #ExtMainMaster_MainTabNavigationControl_LinkBack
{
	margin-bottom:10px;
    margin-top:-12px;
}
.ext-ie  .SubTabNavigation 
{
	height: 12px   
}


/*******************************************/
/**END fixes For IE in ext **/

/*******************************************/
/* Common Icons */
/*******************************************/

.logicalNotIcon {
    width: 14px;
    height: 16px;
    position:absolute;
    left:0;
    top:0;
    display:block;
    background: url(../Theme/images/no.png) no-repeat 0 4px;
    cursor: pointer;
}

.logicalNot .logicalNotIcon {
    background: url(../Theme/images/noHot.png) no-repeat 0 2px;
    
}

.logicalNotIconBtn {   
   
    background: url(../Theme/images/no.png) no-repeat 0 4px;
    background-color: transparent;
    border: 0 none;
   
}

.logicalNot .logicalNotIconBtn {
    background: url(../Theme/images/noHot.png) no-repeat 1px 2px;
    background-color: transparent;
    border: 0 none;
}

.searchIcon {
    background-image: url(../Theme/images/default/icons/searchicon.gif) !important;
} 

.whiteFolder {
    background-image: url(../Theme/images/default/icons/white-folder.gif) !important;
}

.x-tree-node-expanded .whiteFolder {
    background-image: url(../Theme/images/default/icons/white-folder-open.gif) !important;
}

/*
Entity Inspector
*/

.x-tree-node .inspectorAssocItem a span, 
.x-tree-node .inspectorForeignKey a span,
.x-tree-node .inspectorAssocContainer a span,
.x-tree-node .inspectorAssoc a span {
    font-weight: bold;
}

/* .inspectorField */

.x-tree-node .inspectorInternal a span, .x-tree-node .inspectorInternal .x-treegrid-text {
    color: #a0a0a0;
}

.inspectorAssocContainer .x-tree-node-icon {
    background-image: url(../Theme/images/default/icons/3docs.gif) !important;
}

.inspectorAssoc .x-tree-node-icon {
    background-image: url(../Theme/images/default/icons/2docs.gif) !important;
}

.inspectorForeignKey .x-tree-node-icon,
.inspectorAssocItem .x-tree-node-icon {
    background-image: url(../Theme/images/default/icons/List.gif) !important;
}

.inspectorField .x-tree-node-icon {
    /*background-image: url(../Theme/images/default/icons/document.gif) !important;*/
    background-image: none !important;
}

/*** setting height to retain cell height for none occupied cells ***/
.x-grid3-cell-inner {
	min-height:18px;
}

.lt_IE8 .x-grid3-cell-inner,
.isIE8 .x-grid3-cell-inner {
	height:18px;
}

.ext-ie  .SubTabNavigation a{
	font-size:10px;
}

/*** Setting table font sizes ***/
th, td 
{
	font-size: 10px;
}

table.main tr td.thcell, table.main tr th
{
    text-align: left;
	font-weight:bold;
    padding: 4px;
    background: #F3F3F3;
    border-right: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
}
table.main tr td
{
    border-bottom: 1px solid #eeeeee;
    height: 20px;
    padding: 4px;
}
.readonly input
{
	border: none;
	background: none;
	color:#666666;
}

/* HTMLDisplayField */

.htmlDisplayFieldContainer
{
    overflow: auto;
    cursor: text;
}

.htmlDisplayFieldContainer font
{
    line-height: normal;
}

/* end HTMLDisplayField */

.calendarwidth {
	width:177px;
}

.filterPanelItem
{
    margin-top: 8px;
}
