/*********************************************************************************
 * The contents of this file are subject to the SugarCRM Public License Version
 * 1.1.3 ("License"); You may not use this file except in compliance with the
 * License. You may obtain a copy of the License at http://www.sugarcrm.com/SPL
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied.  See the License
 * for the specific language governing rights and limitations under the
 * License.
 *
 * All copies of the Covered Code must include on each user interface screen:
 *    (i) the "Powered by SugarCRM" logo and
 *    (ii) the SugarCRM copyright notice
 * in the same form as they appear in the distribution.  See full license for
 * requirements.
 *
 * The Original Code is: SugarCRM Open Source
 * The Initial Developer of the Original Code is SugarCRM, Inc.
 * Portions created by SugarCRM are Copyright (C) 2004-2006 SugarCRM, Inc.;
 * All Rights Reserved.
 * Contributor(s): ______________________________________.
 ********************************************************************************/
/*********************************************************************************

 * Description:  Contains a variety of utility functions used to display UI 
 * components such as form headers and footers.  Intended to be modified on a per 
 * theme basis.
 ********************************************************************************/
 
/* Default Styles */
body, .body{ 
	color: #000;
	background-color: #ffffff;
	}

table,td {
	color: #000;
	}

h1, h2{
	color: #000;
	}

h3, h4, h5, h5.listViewSubHeadS1, a.yearCalBodyMonthLink:link, a.yearCalBodyMonthLink:visited {
	color: #000; 
	}
.h3Row,  .monthHeader, monthHeaderH3, .listViewButtons, table.tabDetailView th, h4.tabDetailViewDL, .schedulerTopDateCell {
	color: #000; 
	background-color: #b9e269;
	border-color: #000;
}
.h3Arrow {
background-image: url(images/h3ArrowGreen.gif);
}
.monthHeader {
	border-bottom-color: #507908;
}
a:link, a:visited, a.body:link, a.body:visited {
		color: #000;
		}
a:hover, a.body:hover {
		color: #507908;
		}

/* Form Styles */

.button {

	border-color: #507908;
	background-color: #ddd;
	color: #000;
	}
.listViewButtons .button {
	border-color: #71aa01;
	color: #000;
}
.search .button {
	background-color: #71aa01;
	color: #000;
	font-weight: bold;
}
.buttonOn, .button:hover, .button:focus, .buttonOn:focus {
	background-color: #507908;
	border-color: #000;
	color: #fff;
	}
	
input,select {
	border-color: #507908;
	background-color: #f6f6f6;
	}
	
input:focus,textarea:focus, select:focus { 
	background-color: #fff;
	border-color: #000;
	 }
textarea {
	border-color: #507908;
	background-color: #f6f6f6;
	}
.checkbox,.radio {
	}

	
/* Content Specific Styles */
	/* body text */

	.teamNoticeBox {
		border-bottom-color: #507908;
		border-left-color: #b9e269;
		border-right-color: #b9e269;
	}
	
		
	/*for the main screen navigation tabs*/
	
	
	.tabRow {	
	}
		#tabRow {	
	}
.currentTab {
		border-bottom-color: #b9e269;
		border-top-color: #000;
		border-color: #000;
		background-color: #b9e269;
	}


	a.currentTab:link, a.currentTab:visited {
		border-color: #000;
		border-bottom-color: #b9e269;
		color: #000;
		background-color: #b9e269;
		}
	a.currentTab:hover {
		color: #000;
		background-color: #b9e269;
		border-bottom-color: #000;
		}
		
	.otherTab {
		background-color: #ddd;
		border-top-color: #fff;
		}
		
	a.otherTab:link, a.otherTab:visited {
		color: #000;
		border-bottom-color: #000;
		border-left-color: #666;
		border-top-color: #666;

		}
	a.otherTab:hover {
		color: #000;
		border-color: #000;
		background-color: #b9e269;
		}
		
	
	.subpanelTabSpace  * {
		display: none;
		}
	
	a.currentSubpanelTabLink:link, a.currentSubpanelTabLink:visited {
		color: #507908;
		}
	a.currentSubpanelTabLink:hover {
		color: #507908;
		}
		
	a.otherSubpanelTabLink:link, a.otherSubpanelTabLink:visited {
		color: #444444;

		}
	a.otherSubpanelTabLink:hover {
		color: #507908;
		}
		
	.moreHandle {
		background: url('images/more.gif') no-repeat bottom left;
		}
	.subMenu, .leftColumnModuleS3 {
		color: #000;
	}	
	ul.subMenu li {
		border-color: #b9e269;
		background-color: #f6f6f6;
	}
	
	ul.subMenu li a:hover {
		color: #000;
		background-color: #b9e269;
		}	
		
	.leftColumn, .hideShow {
		background-color: #f6f6f6;
		}
	#main {
		border-color: #666;
		background-color: #fff;
		}
	.listViewThS1,  .schedulerTopRow {
	/*left column styles*/
		color: #000;
		background-color: #fff;
		border-color: #000;
	}.leftColumnModuleName {
		color: #000;
		background-color: #fff;
		border-color: #507908;}

	/* myArea is for my account, admin, logout, an about links*/


	/*welcome user and date bar and last view*/
	.moduleTitle {
	border-color: #ccc;
	}
.headerBg {
		border-color: #999;
		color: #000000; 
		background-image: url(images/bgGreenHeader.gif);
		background-position:  right;
	}
	.welcome, .myArea {
		color: #000;
		background-color: #fff;
		border-color: #71aa01;
	}
	#subtabs, .search {
		background-color: #b9e269;
		color: #000;
	
	}
ul.subTabs
{
		border-bottom-color: #000;
}

ul.subTabs li
{
}
.welcome ul.subTabs li a, #end
{
background-color: #fff;
border-color: #b9e269;
}
ul.subTabs li a
{
		background-color: #b9e269;
border-right-color: #507908;
}

ul.subTabs li a:link, ul.subTabs li a:visited  { color: #000;
border-top-color: #b9e269;
border-bottom-color: #b9e269;
}
.welcome ul.subTabs li a:hover
{
background-color: #b9e269;
border-color: #b9e269;
}
ul.subTabs li a:hover
{
background-color: #fff;
border-color: #507908;
}

.activeSubTab a:link, .activeSubTab a:visited
{
background-color: #fff;
border-color: #000;
color: #000;
}
ul.tablist li .activeSubTab a:hover
{
border-bottom-color: #ddd;
color: #507908;
}

ul.subpanelTablist li .activeSubTab a:hover
{
border-bottom-color: #ddd;
color: #507908;
}

	.searchField {
		border-color: #999999;
		background-color: #eeeeee;
	}
	
	.searchButton {
		background-color: #fafafa;
		}	
		.searchButton:focus{
		background-color: #fafafa;}
	.date {
		color: #444444;
		background-color: #dddddd;
		border-bottom-color: #bbbbbb;
		}
		
	.lastView {
		color: #000;
		border-top-color: #000;
		border-bottom-color: #666;
		background-color: #ddd;
		}
		
	a.lastViewLink:link, a.lastViewLink:visited, .lastViewLink {
		color: #000;
		border-color: #fff;
		}
	a.lastViewLink:hover {
		background-color: #fff;
		color: #507908;
		}
		
	
	

	.leftColumnModuleS3 input, .leftColumnModuleS3 select {
	}
	td.leftColumnModuleS3 .button {
	}
	td.leftColumnModuleS3 .dataLabel {
	}
	
	td.leftColumnModuleS3 .dataField {
	}
	.leftColumnModuleS3 #jscal_trigger {
	}
	a.leftColumnModuleS3Link:link, a.leftColumnModuleS3Link:visited {
		color: #666666;
		}
	a.leftColumnModuleS3Link:hover {
		color: #444444;
		}
	
	/*right main content (suffix S1 stands for Style 1) */
	.listView {
		border-color: #507908;
	}

	.listViewSubHeadS1  {
		background-color: #ffffff;
	}
	.monthCalBodyTHWeek, .monthCalBodyTHDay  {
border-bottom-color: #507908;
		background-color: #ffffff;
	}
table.listView th, .listViewThS1 {
border-top-color: #000;
border-bottom-color: #507908;
}

	table.listview th a:link, table.listview th a:visited, a.listViewThLinkS1:link, a.listViewThLinkS1:visited {
		/* this definition should be exactly the same
			as a.listViewThLinkS1:link, a.listViewThLinkS1:visited */
		color: #000;
	}

	table.listview th a:hover, a.listViewThLinkS1:hover {
		/* this definition should be exactly the same
			as a.listViewThLinkS1:hover */
		color: #000; 
	}

	a.listViewTdLinkS1:link, a.listViewTdLinkS1:visited {
	color: #000;

		}
	a.listViewTdLinkS1:hover {
	color: #000000;
		}
	a.listViewTdToolsS1:link, a.listViewTdToolsS1:visited {
		}
	a.listViewTdToolsS1:hover {
		}
	.evenListRowS1 {
		color: #000000;
	}
	
	.oddListRowS1 {
		color: #000000;
	}

	.listViewHRS1 {
		background: #b9e269;
	}
	.pageNumbers {
		color: #444444;		
	}
	.listViewPaginationTdS1, .tabDetailView .listViewPaginationTdS1 {
		color: #666;
		background-color: #ddd;
		border-color: #507908;
	}
	
	a.listViewPaginationLinkS1:link, a.listViewPaginationLinkS1:visited {
		color: #000;
		}
	a.listViewPaginationLinkS1:hover {
		color: #507908;
		}
	a.listViewCheckLink:link, a.listViewCheckLink:visited {
		}
	a.listViewCheckLink:hover {
		}
	.h3Row a.utilsLink:link, .h3Row a.utilsLink:visited, .h3Row a.chartToolsLink:link, .h3Row a.chartToolsLink:visited {
		color: #000;
		}	
	a.utilsLink:link, a.utilsLink:visited {
		color: #507908;
		}
	a.utilsLink:hover {
		}
	/* charting styles */
	.chartBox {
		background-color: #ffffff;
		border-color: #999999;
	}
	
	a.chartToolsLink:link, a.chartToolsLink:visited {
		color: #444444;
		}
	a.chartToolsLink:hover {
		color: #507908;
		}
		
	table.chartForm {
		background-color: #efefef;
		border-color: #999999;
	}
	
	table.chartForm td {
		background-color: #efefef;
	}
	
	/* main tab forms */
	
	.tabForm, .subpanelTabForm {
		border-color: #71aa01;
		color: #000000; 
		background-color: #f6f6f6;
	}	  
	.subpanelTabForm .listView {
		border-color: #507908;
		}
	table.subpanelTabForm td {
		color: #000; 
	}
	h4.dataLabel {
		color: #000; 
	}
	table.tabForm td {
		color: #000; 
	}
	h5.dataLabel {
		color: #000; 
	}
	td.dataLabel{
	}
	.dataLabel {
	}
	.dataField {
	}
	
	.tabFormAddDel {
	}
	
	a.tabFormAdvLink:link, a.tabFormAdvLink:visited {
		color: #444444;
		}
	a.tabFormAdvLink:hover {
		color: #507908;
		}
	
	/* main tab panel views */
	.tabDetailView {
		border-color: #507908 #b9e269 #b9e269 #b9e269;
	}
	.tabDetailView .listViewPaginationTdS1 .listViewPaginationLinkS1
	{
	}
	
	.tabDetailView .listViewPaginationTdS1 .listViewPaginationLinkS1:hover, .tabDetailView .listViewPaginationTdS1 .tabDetailViewDFLink:hover 
	{
	color: #000000;
	}
	
	.tabDetailView .listViewPaginationTdS1 .tabDetailViewDFLink 
	{
	color: #000;
	}
	
	.tabDetailViewDL, .dailyCalBodyTime, .monthCalBodyWeek {
		color: #000;
		background-color: #f6f6f6;
		border-color: #b9e269;
	}
	
	h4.tabDetailViewDL {
		color: #000; 
	}
	.tabDetailViewDF {
		color: #000; 
		border-color: #b9e269;
		background-color: #fff;
	}

	a.tabDetailViewDFLink:link, a.tabDetailViewDFLink:visited {
		color: #000000;
		}
	a.tabDetailViewDFLink:hover {
		color: #507908;
		}
		
	.tabDetailView2 {
		border-color: #507908;
		background-color: #b9e269;
	}
	.tabDetailViewDL2 {
		color: #000000;
		border-top-color: #ffffff;
		background-color: #fff;
	}
	.tabDetailViewDF2 {
		color: #000; 
		background-color: #f6f6f6;
	}
	a.tabDetailViewDL2Link:link, a.tabDetailViewDL2Link:visited {
		color: #000;
		}
	a.tabDetailViewDL2Link:hover {
		color: #507908;
		}
	/* calendar styles */
	.monthBox {
	}
	.monthCalBody {
	background-color: #b9e269;
	}
	.monthFooterPrev, .monthFooterNext {
		background-color: #ddd;
		border-color: #507908;
	}
	
	a.NextPrevLink:link, a.monthCalBodyWeekLink:link, a.monthCalBodyWeekLink:link, a.monthCalBodyWeekLink:visited, a.monthCalBodyWeekDayDateLink:link, a.monthCalBodyWeekDayDateLink:visited  {
	color: #000;
	}
	a.NextPrevLink:hover, a.monthCalBodyWeekLink:hover, a.monthCalBodyWeekDayDateLink:hover, a.monthCalBodyWeekEndDateLink:hover,
.monthCalBodyTodayWeekDay a.monthCalBodyWeekDayDateLink:link, .monthCalBodyTodayWeekDay a.monthCalBodyWeekDayDateLink:visited, 
.monthCalBodyTodayWeekEnd a.monthCalBodyWeekDayDateLink:link, .monthCalBodyTodayWeekEnd a.monthCalBodyWeekDayDateLink:visited {
	color: #507908;
	}	


	.monthCalBodyTodayWeekDay, .monthCalBodyTodayWeekEnd {
	border-color: #507908;
	background-color: #ffffff;
	color: #000;
	}	
	.monthCalBodyWeekDay {
	background-color: #fff;
	color: #000;
	}	
	.monthCalBodyWeekEnd {
	background-color: #f6f6f6;
	color: #000;
	}
	a.monthCalBodyDayItemLink:link, a.monthCalBodyDayItemLink:visited {
	}
	a.monthCalBodyDayItemLink:hover {
	}	
	.monthCalBodyDayItem {
	background-color: #ffffff;
	border-color: #b9e269;
	}
	.monthCalBodyDayIconTd {
	}
	.monthCalBodyDayItemTd {
	}
	.monthViewDayHeight {
	}
	.yearViewDayHeight {
	}

	
	.dailyCalBodyItems {
	background-color: #fff;
	color: #000;
	}
	
	a.weekCalBodyDayLink:link, a.weekCalBodyDayLink:visited {
	color: #000000;
	}
	a.weekCalBodyDayLink:hover {
	}

	.yearCalBody {
	background-color: #999999;
	}
	.yearCalBodyMonth {
	background-color: #ddd;
	}
	.yearCalBodyMonth th {
	
	}
	.yearCalBodyMonth #daily_cal_table {
	border-top: #507908;
	}
	.yearCalBodyMonth #daily_cal_table .monthCalBodyTHDay {
	border-color: #507908;
	}

	a.yearCalBodyMonthLink:hover {
	color: #507908;
	}
	h5.calSharedUser {
	color: #000;
	background-color: #ddd;
	border-color: #507908;
	}

	/* misc font displays */
	

	.copyRight {
	}
	a.copyRightLink:link, a.copyRightLink:visited {
	}
	a.copyRightLink:hover {
	}
	
	.tm {
	}
	
	.footer p, .footer, .underFooter {
	color: #999999;
  	background-color: #f6f6f6;
	border-color: #507908;
	}
	a.footerLink:link, a.footerLink:visited {
	
	}
	a.footerLink:hover {
	color: #507908;
	}
	
	.footerHR {
	color: #507908;
	}
	.aboveFooter {
  background-color: #ffffff;
	}
/* Scheduler Styles */
 



/* dynamic tab styles */
ul.subpanelTablist
{
border-bottom-color: #71aa01;
}

ul.tablist
{
border-color: #71aa01;
}

ul.tablist li a:hover
{
color: #507908;
background: #fafafa;
border-color: #999;
}
ul.tablist li a
{
background-color: #fff;
border-color: #71aa01;
}

ul.tablist li a:link { color: #000;}
ul.tablist li a:visited { color: #000;}

ul.tablist li a:hover
{
color: #000;
border-color: #000;
background: #b9e269;
}

ul.tablist li a.current
{
background: #f6f6f6;
border-bottom-color: #f6f6f6;
border-right-color: #71aa01;
border-left-color: #71aa01;
border-top-color: #71aa01;
}
ul.tablist li a.current:hover
{
color: #507908;
}

ul.subpanelTablist
{
border-bottom-color: #71aa01;
}

ul.subpanelTablist li
{
}

ul.subpanelTablist li a:hover
{
color: #507908;
background: #fafafa;
border-color: #999;
}
ul.subpanelTablist li a
{
background-color: #fff;
border-color: #71aa01;
}

ul.subpanelTablist li a:link { color: #000;}
ul.subpanelTablist li a:visited { color: #000;}

ul.subpanelTablist li a:hover
{
color: #000;
border-color: #000;
background: #b9e269;
}

ul.subpanelTablist li a.current
{
background: #f6f6f6;
border-bottom-color: #f6f6f6;
border-right-color: #71aa01;
border-left-color: #71aa01;
border-top-color: #71aa01;
}
ul.subpanelTablist li a.current:hover
{
color: #507908;
}

.sqsFloater {
}

.sqsFloater td {
background-color:#fdfdfd;
border:1px inset #999999;
color:black;
}

.sqsMatchedSmartInputItem {
}

.sqsSelectedSmartInputItem {
background-color:#DEEFFF;
}

#sqsSmartInputResults {
}

.sqsNoMatch {
}

.olFontClass { }
.olFontClass A { }
.olCapFontClass { 
	color: #222222;
	background-color: #dfdfdf; 
}
.olCapFontClass A { 
	color: #dfdfdf; 
}
.olFgClass td { 
	background-color: #f9f9f9; 
}
.olCgClass td {
	border-top-color: #f1f1f1; 
	border-bottom-color: #aaaaaa;
	background-color: #dfdfdf; 
}
.olCgClass {
}
.olBgClass { 
	background-color: #999999; 
}
.olCloseFontClass { 
	background-color: #dfdfdf; 
}

/* acl role colors */


/* help styles */
