<?


# load and run browser ID script
include_once ("browser_detection_php_ar2.php");
$browserInfo = browser_detection('full');


# define flags for differnet browsers
$isIE5 = ($browserInfo[0]=='ie' && round ($browserInfo[1]) <= 5) ;
$isIE6 = ($browserInfo[0]=='ie' && round ($browserInfo[1]) >= 6) ;
$isNS4 = ($browserInfo[0]=='ns4') ;


# define words for different sizes

$large = "120%";
$large = "large";
$large = $isIE5?"medium":$large;
$large = $isIE6?"medium":$large;

$medium = "100%";
$medium = "medium";
$medium = $isIE5?"small":$medium;
$medium = $isIE6?"medium":$medium;

$small = "80%";
$small = "small";
$small = $isIE5?"x-small":$small;
$small = $isIE6?"x-small":$small;
$small = $isNS4?"small":$small;

$xsmall = "65%";
$xsmall = "x-small";
$xsmall = $isIE5?"xx-small":$xsmall;
$xsmall = $isIE6?"xx-small":$xsmall;
$xsmall = $isNS4?"small":$xsmall;


$mainmenu = "70%";
$mainmenu = $isIE5?"xx-small":$mainmenu;
$mainmenu = $isNS4?"small":$mainmenu;


?>


/* PAGE CONTENT   */

.bodyh1
{
	color: #827026;
	font-weight: bold;
	Xfont-family: Georgia, Times, "Times New Roman", sans-serif;
	padding-top: 5px;
	padding-bottom: 5px;
}

.bodyh2
{
	color: #827026;
	font-size: <?=$medium?>;
	font-family: Georgia, Times, "Times New Roman", sans-serif;
	font-weight: bold;
	padding-top: 5px;
	padding-bottom: 9px;
}


.bodyh3
{
	color: #005447;
	font-size: <?=$xsmall?>;
	Xfont-weight: bold;
	Xfont-variant: small-caps;
	font-family: Georgia, Times, "Times New Roman", sans-serif;
	Xfont-family: "Trebuchet MS", "Bitstream Vera Sans", Myriad, "Gill Sans", verdana, "Lucida Grande", Geneva, lucida, arial, helvetica, sans-serif, Swiss, SunSans-Regular;
	letter-spacing: 0.01cm;
	line-height: 120%;
}

.smallcaps
{
	Xcolor: #00849C;
	color: #207AA2;
	font-size: <?=$large?>;
	font-weight: bold;
	font-variant: small-caps;
	font-family: Georgia, Times, "Times New Roman", sans-serif;
	Xletter-spacing: 120%;
	Xpadding-bottom: 0.6em;
}

.sl
{
	font-size: <?=$small?>;
	line-height: 150%;
	font-family: "Lucida Grande", Geneva, Verdana, Arial, Helvetica, sans-serif, Swiss, SunSans-Regular;
	Xletter-spacing: 100%;
	xfont-size: 12px;
}

.s
{
	font-size: <?=$small?>;
	font-family: "Lucida Grande", Geneva, Verdana, Arial, Helvetica, sans-serif, Swiss, SunSans-Regular;
	Xtext-decoration: underline;
}

.sidebar
{
	color: #3E5353;
	font-size: <?=$xsmall?>;
	line-height: 150%;
	font-family: 'Lucida Grande', Geneva, Verdana, Arial, Helvetica, sans-serif, Swiss, SunSans-Regular;
	text-decoration: none;
}

.sidebar  a:hover
{
	background-color: #CCF3F5;
	background-color: transparent;
}






.s-small
{
	color: #353b3b;
	font-size: <?=$small?>;
	font-family: "Lucida Grande", Geneva, Verdana, Arial, Helvetica, sans-serif, Swiss, SunSans-Regular;
}

.sg
{
	font-size: 12px;
	font-family: 'Lucida Grande', Geneva, Verdana, Arial, Helvetica, sans-serif, Swiss, SunSans-Regular;
	color: #71746A;
}

/* a:visited  {  } */

a:hover
{
	color: black;
	text-decoration: underline;
	Xbackground-color: #FFF9E0;
	xcolor: #fc0;
}


/* .a:hover.s { Xcolor: #fc0; } */

.subtle10 a
{
	Xcolor: #B99F37;
	color: #947F2C;
	font-size: <?=$xsmall?>;
	font-family: 'Lucida Grande', Geneva, Verdana, Arial, Helvetica, sans-serif, Swiss, SunSans-Regular;
	text-decoration: underline;
}

.subtle10
{
	Xcolor: #B99F37;
	color: #947F2C;
	font-size: <?=$xsmall?>;
	font-family: 'Lucida Grande', Geneva, Verdana, Arial, Helvetica, sans-serif, Swiss, SunSans-Regular;
	text-decoration: none;
}

.subtle10 a:hover
{
	color: #000000;
	text-decoration: underline;
	background-color: transparent;
}

.subtle12
{
	color: #a3a89a;
	text-decoration: none;
	font-size: 12px;
	font-family: 'Lucida Grande', Geneva, Verdana, Arial, Helvetica, sans-serif, Swiss, SunSans-Regular;
}

a.:hover.subtle12
{
	color: #000000;
	text-decoration: underline;
}

.caption
{
	Xcolor: #a3a89a;
	color: #71746A;
	font-size: 12px;
	font-family: 'Lucida Grande', Geneva, Verdana, Arial, Helvetica, sans-serif, Swiss, SunSans-Regular;
}

a.:hover.faint10 { color: #eb0046; }


/* NAV */


.red12
{
	color: #a25333;
	font-size: 12px;
	font-family: "Lucida Grande", Geneva, Verdana, Arial, Helvetica, sans-serif, Swiss, SunSans-Regular;
	text-decoration: none;
	padding-top: 2pt;
}

.nav12
{
	color: #eb0046;
	font-size: 12px;
	font-family: 'Lucida Grande', Geneva, Verdana, Arial, Helvetica, sans-serif, Swiss, SunSans-Regular;
	text-decoration: none;
}

/* a.:hover.nav12 */
/* { */
/* 	color: #000000; */
/* 	text-decoration: underline; */
/* } */



.red12
{
	color: #a25333;
	font-size: 12px;
	font-family: "Lucida Grande", Geneva, Verdana, Arial, Helvetica, sans-serif, Swiss, SunSans-Regular;
	text-decoration: none;
	padding-top: 2pt;
}

.nav12
{
	Xcolor: #eb0046;
	color: #827800;
	font-size: 12px;
	font-family: 'Lucida Grande', Geneva, Verdana, Arial, Helvetica, sans-serif, Swiss, SunSans-Regular;
	text-decoration: none;
}

a.:hover.nav12
{
	color: #000000;
	text-decoration: underline;
}

.nav10
{
	color: #656565;
	font-size: <?=$xsmall?>;
	font-family: 'Lucida Grande', Geneva, Verdana, Arial, Helvetica, sans-serif, Swiss, SunSans-Regular;
	text-decoration: none;
}

.nav10 a:link 		{  border-bottom: 1pt solid #cccccc }
.nav10 a:visited 	{  border-bottom: 1pt solid #cccccc }
.nav10 a 			{  border-bottom: 1pt solid #cccccc }


.nav10 a:hover
{
	color: #000000;
	text-decoration: underline;
}

.nav10hilite
{
	color: #000000;
	font-weight: bold;
	font-size: <?=$xsmall?>;
	font-family: 'Lucida Grande', Geneva, Verdana, Arial, Helvetica, sans-serif, Swiss, SunSans-Regular;
	text-decoration: none;
}

.menu-on
{
	Xcolor: #587F9A;
	color: #000000;
	font-weight: bold;
	font-size: <?=$mainmenu?>;
	font-family: Verdana, Arial, Helvetica, Geneva, sans-serif, Swiss, SunSans-Regular;
	text-decoration: none;
	letter-spacing: 0.02cm;
}

.menu-on a:hover
{
	color: #000000;
	text-decoration: underline;
}

.menu-off
{
	Xcolor: #000000;
	color: #777777;
	Xfont-weight: normal;
	font-weight: bold;
	font-size: <?=$mainmenu?>;
	font-family: Verdana, Arial, Helvetica, Geneva, sans-serif, Swiss, SunSans-Regular;
	text-decoration: none;
	letter-spacing: 0.01cm;
}

.menu-off a:hover
{
	color: #000000;
	text-decoration: underline;
}





.label
 {  font-size: <?=$small?>; font-variant: small-caps; font-family: Georgia, Times, "Times New Roman", sans-serif;}


/* 
Myriad, "Gill Sans", "Century Gothic", "Trebuchet MS", "Bitstream Vera Sans", "Lucida Grande", Geneva, verdana, lucida, arial, helvetica, sans-serif, Swiss, SunSans-Regular

"Trebuchet MS", "Bitstream Vera Sans", Myriad, "Gill Sans", verdana, "Lucida Grande", Geneva, lucida, arial, helvetica, sans-serif, Swiss, SunSans-Regular



*/


/*  SEARCH RESULTS   */

.title
 { color: #71746A; font-size: <?=$small?>; line-height: 150%; font-family: "Lucida Grande", Geneva, Verdana, Arial, Helvetica, sans-serif, Swiss, SunSans-Regular; Xletter-spacing: 100%; xfont-size: 12px }
.description
 { color: #71746A; font-size: <?=$xsmall?>; font-family: "Lucida Grande", Geneva, Verdana, Arial, Helvetica, sans-serif, Swiss, SunSans-Regular; Xletter-spacing: 100%; xfont-size: 12px }
.url
 { color: #008000; font-size: <?=$xsmall?>; font-family: "Lucida Grande", Geneva, Verdana, Arial, Helvetica, sans-serif, Swiss, SunSans-Regular; Xletter-spacing: 100%; xfont-size: 12px }
.size
 { color: #008000; font-size: <?=$xsmall?>; font-family: "Lucida Grande", Geneva, Verdana, Arial, Helvetica, sans-serif, Swiss, SunSans-Regular; Xletter-spacing: 100%; xfont-size: 12px }
.fs
 { color: #008000; font-size: <?=$xsmall?>; font-family: "Lucida Grande", Geneva, Verdana, Arial, Helvetica, sans-serif, Swiss, SunSans-Regular; Xletter-spacing: 100%; xfont-size: 12px }
.error
{
	Xcolor: #ee4573;
	color: #ED0080;
	font-size: <?=$xsmall?>;
	font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
	text-decoration: none;
}
