/*********************************************************************************
 * SugarCRM is a customer relationship management program developed by
 * SugarCRM, Inc. Copyright (C) 2004 - 2007 SugarCRM Inc.
 * 
 * This program is free software; you can redistribute it and/or modify it under
 * the terms of the GNU General Public License version 3 as published by the
 * Free Software Foundation with the addition of the following permission added
 * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
 * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
 * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
 * 
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
 * details.
 * 
 * You should have received a copy of the GNU General Public License along with
 * this program; if not, see http://www.gnu.org/licenses or write to the Free
 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 * 02110-1301 USA.
 * 
 * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
 * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
 * 
 * The interactive user interfaces in modified source and object code versions
 * of this program must display Appropriate Legal Notices, as required under
 * Section 5 of the GNU General Public License version 3.
 * 
 * In accordance with Section 7(b) of the GNU General Public License version 3,
 * these Appropriate Legal Notices must retain the display of the "Powered by
 * SugarCRM" logo. If the display of the logo is not reasonably feasible for
 * technical reasons, the Appropriate Legal Notices must display the words
 * "Powered by SugarCRM".
 ********************************************************************************/
/*********************************************************************************

 * 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: #444444;
	background-color: #ffffff;
	}

table,td {
	color: #444444;
	}

h1, h2, h3{
	color: #663399;
	}

h4, h5, h5.listViewSubHeadS1, a.yearCalBodyMonthLink:link, a.yearCalBodyMonthLink:visited {
	color: #444; 
	}
.h3Row,  .monthHeader {
	color: #444; 
	background-color: #fff;
	border-color: #9d84bc;
	background-image: url(images/bgPurple.gif);
}
a:link, a:visited, a.body:link, a.body:visited {
		color: #444444;
		}
a:hover, a.body:hover {
		color: #663399;
		}

/* Form Styles */

.button {

	border-color: #9d84bc;
	background-color: #eee;
	color: #444;
	background-image: url(images/bgPurple.gif);
	}
	
.buttonOn, .button:hover, .button:focus, .buttonOn:focus {

	color: #663399;
	background-color: #eee;
	background-image: url(images/bgPurple.gif);
	border-color: #663399;
	}
	.button[disabled] {
	border-color: #d6bedd;
	}	
input,select {
	border-color: #9d84bc;
	background-color: #fafafa;
	}
	
input:focus,textarea:focus, select:focus { 
	background-color: #fff;
	border-color: #663399;
	 }
textarea {
	border-color: #9d84bc;
	background-color: #fafafa;
	}
.checkbox,.radio {
	}

	
/* Content Specific Styles */
	/* body text */
	.teamNoticeBox {
		border-color: #9d84bc;
		color: #444444;
	}
	
		
	/*for the main screen navigation tabs*/
	
	
	.tabRow {	
		background-image : url(images/tabRowPurpleBg.gif);
		border-color: #9d84bc;
	}
	.currentTabLeft, .currentTabRight, .currentTab {
	background-image : url(images/currentTabPurple.gif);
		background-repeat: no-repeat;
		border-color: #fff;
	}


	a.currentTabLink:link, a.currentTabLink:visited {
		color: #663399;
		}
	a.currentTabLink:hover {
		color: #663399;
		}
		
	.otherTabLeft, .otherTabRight, .otherTab {
		color: #333333;
		background-image : url(images/otherTabPurple.gif);
		background-repeat: no-repeat;
		border-color: #9d84bc;
		}
	a.otherTabLink:link, a.otherTabLink:visited {
		color: #444444;

		}
	a.otherTabLink:hover {
		color: #663399;
		}
		
	
	.subpanelTabSpace  * {
		display: none;
		}
	
	a.currentSubpanelTabLink:link, a.currentSubpanelTabLink:visited {
		color: #663399;
		}
	a.currentSubpanelTabLink:hover {
		color: #663399;
		}
		
	a.otherSubpanelTabLink:link, a.otherSubpanelTabLink:visited {
		color: #444444;

		}
	a.otherSubpanelTabLink:hover {
		color: #663399;
		}
		
	.moreHandle {
		background: url('images/more.gif') no-repeat bottom left;
		}
	.subMenu {
		border-color: #ccc;
	}	
	.subMenu, ul.subMenu li, .leftColumnModuleS3 {
		color: #444444;
		background-color: #fff;
		border-color: #d9c3df;
	}
	
	ul.subMenu li a:hover, ul.subMenu li span:hover  {
		color: #663399;
		background-color: #f6f6f6;
		}	
		
	.leftColumn {
		border-color: #ccc;
		}
	
	
	.leftColumn {
		border-color: #d9c3df;
		}
	table.leftColumnModuleHead th, table.listView th, .listViewThS1,  .schedulerTopRow, .monthHeader {
	/*left column styles*/
		color: #444;
		background-color: #fff;
		border-color: #9d84bc;
		background-image: url(images/bgPurple.gif);
	}
	
	/* myArea is for my account, admin, logout, an about links*/
	.myArea {
		}
		
	/*welcome user and date bar and last view*/
	.moduleTitle {
	border-color: #d9c3df;
	}
.headerBg {
		border-color: #9d84bc;
		color: #000000; 
	background-image: url(images/bgPurpleHeader.gif);
	}
	.welcome, .myArea {
		color: #444444;
		background-color: #f6f6f6;
		border-right-color: #d9c3df;
		border-bottom-color: #d9c3df;
	}
	#subtabs {
	background-image: url(images/bgPurple.gif);
		border-bottom-color: #9d84bc;
	
	}
ul.subTabs
{
		border-bottom-color: #d9c3df;
}

ul.subTabs li
{
}

ul.subTabs li a
{
		background-color: #fff;
	background-image: url(images/bgPurple.gif);
border-top-color: #fff;
border-right-color: #d9c3df;
}

ul.subTabs li a:link { color: #444444;}
ul.subTabs li a:visited { color: #444444;}

ul.subTabs li a:hover
{
color: #663399;
background-color: #fff;
background-image: url(images/bgPurple.gif);
border-color: #d9c3df;
}

.activeSubTab
{
background: #eee;
	background-image: url(images/bgPurple.gif);
border-bottom-color: #d9c3df;
border-right-color: #9d84bc;
}
ul.tablist li a.activeSubTab:hover
{
border-bottom-color: #d9c3df;
color: #663399;
}
ul.subpanelTablist li a.activeSubTab:hover
{
border-bottom-color: #d9c3df;
color: #663399;
}

	.searchField {
		border-color: #9d84bc;
		background-color: #eeeeee;
	}
	.search {
		color: #444444;
		background-color: #fafafa;
		background-image: url(images/searchBg.gif);
		background-repeat: repeat-x;
		background-position: top;
		}
	.searchButton {
		background-color: #fafafa;
		}	
		.searchButton:focus{
		background-color: #fafafa;}
	.date {
		color: #444444;
		background-color: #dddddd;
		border-bottom-color: #bbbbbb;
		}
		
	.lastView {
		color: #444;
		border-top-color: #eee;
		border-bottom-color: #9d84bc;
		background-color: #eee;
		}
		
	a.lastViewLink:link, a.lastViewLink:visited, .lastViewLink {
		color: #444444;
		border-color: #d9c3df;
		}
	a.lastViewLink:hover {
		background-color: #fff;
		color: #663399;
		}
		
	
	
	.leftColumnModuleName {
	}


	.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: #9d84bc;
	}


	.listViewSubHeadS1 {
		background-color: #ffffff;
	}


	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: #444;
	}

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

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

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

	.listViewHRS1 {
		background-color: #d9c3df;
	}
	.pageNumbers {
		color: #444444;		
	}
	.listViewPaginationTdS1, .tabDetailView .listViewPaginationTdS1 .tabDetailViewDL {
		color: #9d84bc;
		background-color: #eeeeee;
		border-color: #9d84bc;
	}
	
	a.listViewPaginationLinkS1:link, a.listViewPaginationLinkS1:visited {
		color: #444444;
		}
	a.listViewPaginationLinkS1:hover {
		color: #663399;
		}
	a.listViewCheckLink:link, a.listViewCheckLink:visited {
		}
	a.listViewCheckLink:hover {
		}
		
	a.utilsLink:link, a.utilsLink:visited, a.NextPrevLink:link, a.NextPrevLink:visited {
		color: #663399;
		}
	a.utilsLink:hover {
		}
	/* charting styles */
	.chartBox {
		background-color: #ffffff;
		border-color: #9d84bc;
	}
	
	a.chartToolsLink:link, a.chartToolsLink:visited {
		color: #444444;
		}
	a.chartToolsLink:hover {
		color: #663399;
		}
		
	table.chartForm {
		background-color: #efefef;
		border-color: #9d84bc;
	}
	
	table.chartForm td {
		background-color: #efefef;
	}
	
	/* main tab forms */
	
	.tabForm {
		border-color: #9d84bc;
		color: #000000; 
		background-color: #f6f6f6;
	background-image: url(images/bgPurpleForm.gif);
	}
	.subpanelTabForm {
		border-color: #9d84bc;
		color: #000000; 
		background-color: #f6f6f6;
	background-image: url(images/bgPurpleForm.gif);
	}
	.subpanelTabForm .listView {
border-color: #9d84bc;
}
	h4.dataLabel {
		color: #444444; 
	}
	table.tabForm td {
	
	}
	h5.dataLabel {
		color: #444444; 
	}
	td.dataLabel{
	}
	.dataLabel {
	}
	.dataField {
	}
	
	.tabFormAddDel {
	}
	
	a.tabFormAdvLink:link, a.tabFormAdvLink:visited {
		color: #444444;
		}
	a.tabFormAdvLink:hover {
		color: #663399;
		}
	
	/* main tab panel views */
	.tabDetailView {
		border-color: #666666;
		background-color: #d9c3df;
	}
	.tabDetailView .listViewPaginationTdS1 .listViewPaginationLinkS1
	{
	}
	
	.tabDetailView .listViewPaginationTdS1 .listViewPaginationLinkS1:hover, .tabDetailView .listViewPaginationTdS1 .tabDetailViewDFLink:hover 
	{
	color: #000000;
	}
	
	.tabDetailView .listViewPaginationTdS1 .tabDetailViewDFLink 
	{
	color: #444444;
	}
	
	.tabDetailViewDL, .dailyCalBodyTime, .monthCalBodyWeek {
		color: #000000;
		background-color: #f6f6f6;
		border-color: #d9c3df;
	}
	
	h4.tabDetailViewDL {
		color: #444444; 
	}
	.tabDetailViewDF {
		color: #444444; 
		border-color: #d9c3df;
		background-color: #fff;
	}

	a.tabDetailViewDFLink:link, a.tabDetailViewDFLink:visited {
		color: #000000;
		}
	a.tabDetailViewDFLink:hover {
		color: #663399;
		}
		
	.tabDetailView2 {
		border-color: #9d84bc;
		background-color: #d9c3df;
	}
	.tabDetailViewDL2 {
		color: #000000;
		border-top-color: #ffffff;
		background-color: #fafafa;
	}
	.tabDetailViewDF2 {
		color: #444444; 
		background-color: #eeeeee;
		border-left-color: #dfdfdf;
	}
	a.tabDetailViewDL2Link:link, a.tabDetailViewDL2Link:visited {
		color: #444444;
		}
	a.tabDetailViewDL2Link:hover {
		color: #663399;
		}
	/* calendar styles */
	.monthBox {
	}
	.monthCalBody {
	background-color: #d9c3df;
	}
	.monthFooterPrev, .monthFooterNext {
	border-top-color: #d9c3df;
	border-bottom-color: #9d84bc;
	background-color: #eee;
	}
	
	a.monthCalBodyWeekLink:link, a.monthCalBodyWeekLink:visited, a.monthCalBodyWeekDayDateLink:link, a.monthCalBodyWeekDayDateLink:visited  {
	color: #444444;
	}
	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: #663399;
	}	
	.monthCalBodyTHWeek {
	background-color: #f6f6f6;
	color: #444444;
	}
	.monthCalBodyTHDay {
	background-color: #eee;
	color: #444444;
	}
	.monthCalBodyTodayWeekDay, .monthCalBodyTodayWeekEnd {
	border-color: #663399;
	background-color: #ffffff;
	color: #444444;
	}	
	.monthCalBodyWeekDay {
	background-color: #fff;
	color: #444444;
	}	
	.monthCalBodyWeekEnd {
	background-color: #f6f6f6;
	color: #444444;
	}
	a.monthCalBodyDayItemLink:link, a.monthCalBodyDayItemLink:visited {
	}
	a.monthCalBodyDayItemLink:hover {
	}	
	.monthCalBodyDayItem {
	background-color: #ffffff;
	border-top-color: #d9c3df;
	border-bottom-color: #d9c3df;
	}
	.monthCalBodyDayIconTd {
	}
	.monthCalBodyDayItemTd {
	}
	.monthViewDayHeight {
	}
	.yearViewDayHeight {
	}

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

	.yearCalBody {
	background-color: #9d84bc;
	}
	.yearCalBodyMonth {
	background-color: #d9c3df;
	}
	.yearCalBodyMonth th {
	
	}
	.yearCalBodyMonth #daily_cal_table {
	border-top: #eeeeee;
	}
	.yearCalBodyMonth #daily_cal_table .monthCalBodyTHDay {
	border-color: #d9c3df;
	}

	a.yearCalBodyMonthLink:hover {
	color: #663399;
	}
	h5.calSharedUser {
	color: #444444;
	background-color: #eee;
	border-top-color: #9d84bc;
	}

	/* misc font displays */
	

	.copyRight {
	}
	a.copyRightLink:link, a.copyRightLink:visited {
	}
	a.copyRightLink:hover {
	}
	
	.tm {
	}
	
	.footer, .underFooter {
	color: #9d84bc;
  	background-color: #f6f6f6;
	}
	a.footerLink:link, a.footerLink:visited {
	
	}
	a.footerLink:hover {
	color: #663399;
	}
	
	.footerHR {
	color: #666666;
	}
	.footer,.aboveFooter {
  background-color: #ffffff;
	}
/* Scheduler Styles */
 



/* dynamic tab styles */
ul.tablist
{
border-bottom-color: #9d84bc;
}

ul.tablist li
{
}

ul.tablist li a
{
		background-color: #fff;
	background-image: url(images/bgPurple.gif);
border-top-color: #9d84bc;
border-right-color: #d9c3df;
}

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

ul.tablist li a:hover
{
	background-image: url(images/bgPurple.gif);
color: #663399;
background: #fafafa;
border-color: #9d84bc;
}

ul.tablist li a.current
{
	background-image: url(images/bgPurple.gif);
border-bottom-color: #d9c3df;
border-right-color: #9d84bc;
}
ul.tablist li a.current:hover
{
border-bottom-color: #d9c3df;
color: #663399;
}

ul.subpanelTablist
{
border-bottom-color: #9d84bc;
}

ul.subpanelTablist li
{
}

ul.subpanelTablist li a
{
		background-color: #fff;
	background-image: url(images/bgPurple.gif);
border-top-color: #9d84bc;
border-right-color: #d9c3df;
}

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

ul.subpanelTablist li a:hover
{
	background-image: url(images/bgPurple.gif);
color: #663399;
background: #fafafa;
border-color: #9d84bc;
}

ul.subpanelTablist li a.current
{
color: #663399;
	background-image: url(images/bgPurple.gif);
border-bottom-color: #d9c3df;
border-right-color: #9d84bc;
}
ul.subpanelTablist li a.current:hover
{
border-bottom-color: #d9c3df;
color: #663399;
}

.sqsFloater {
}

.sqsFloater td {
background-color:#fdfdfd;
border:1px inset #9d84bc;
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: #9d84bc; 
}
.olCloseFontClass { 
	background-color: #dfdfdf; 
}

/* acl role colors */


/* help styles */


/* sitemap */
#sitemap .tabForm {
border-color: #9d84bc;
}
