/* page bkgd image */
body {
 margin: 0px;
 background-image: url(../images/fill_bodybkgd.gif);
 background-repeat: repeat-y;
 font-family: Verdana, Arial, Helvetica, sans-serif;
 font-size: 62.5%;
 color: #000000;
 padding: 0px;
 text-align: center;
 background-color: #D5D5D4;
 background-position: left top;
}

/* fix for firefox to keep center screen from jumping */
html {
 overflow-y: scroll; 
 font-size: 1.1em; /* Peter check this font style*/
}

/*global link styles */
a {
 outline: none; /*remove dotted focus border in firefox*/
 color: #EE0707;
 text-decoration: none;
 padding: 0 0 3px 0;
 border-bottom: dashed 1px #EE0707;
 margin: 0;
}

a:hover {
 outline: none;
 color: #EE0707;
 text-decoration: none;
 border-bottom: solid 1px #EE0707;
 padding: 0 0 3px 0;
 margin: 0;
}
/*plain link override*/
.plainlink {
 outline: none; /*remove dotted focus border in firefox*/
 color: #EE0707;
 text-decoration: none;
 padding: 0;
 border: none;
 margin: 0;
}

.plainlink:hover {
 outline: none;
 color: #EE0707;
 text-decoration: none;
 border: none;
 padding: 0;
 margin: 0;
}

/* centers content */
#container {
	width: 980px;
	text-align: left;
	margin: 0 auto;
 position: relative;
}

/* h1 tag is logo image replacement */
h1 {
 background-image: url(../images/logo_NaxosAvondale.gif);
 background-repeat: no-repeat;
 margin: 20px 0 0 4px;
 height: 67px;
 width: 295px;
 text-indent: -9000px;
 display: block;
 float: left;
 padding: 0px;
}

h1 a{
 background-image: url(../images/logo_NaxosAvondale.gif);
 background-repeat: no-repeat;
 display: block;
 height: 67px;
 width: 295px;
 border: none;
 text-decoration: none;
 outline: none;
}

h1 a:hover{
 border: none;
 text-decoration: none;
 outline: none;
}

/* display first navbar */
#firstnavbar {
 display: block;
 margin: 0;
 padding: 0;
 height: 87px;
}

/* Restructure ul tag in a right left list*/
#firstnav {
	list-style-type: none;
 padding: 0;
 margin: 0;
 float: right;
}

/* float li tags left to right*/
#firstnav li {
	display: block;
	float: left;
 margin: 0;
 padding: 0;
}

/* style link text*/
#firstnav li a{
	display: block;
	float: left;
	margin: 15px 5px 5px 0px;
	border: none;
}

#AmBest {
 background-image: url(../images/logo_ambest.png);
 background-repeat: no-repeat;
 margin: 0;
 height: 60px;
 width: 170px;
 text-indent: -9000px;
 display: block;
 float: left;
 padding: 0;
 outline: none;
}

#AmBest a{
 background-image: url(../images/logo_ambest.gif);
 background-repeat: no-repeat;
 margin: 0;
 height: 60px;
 width: 170px;
 display: block;
 float: left;
 padding: 0;
 outline: none;
}

#AmBest a:hover{
 border: none;
}

/* second navbar*/
#secondnavbar {
 display: block;
 float: right;
 clear: both;
 height: 34px;
 padding: 0;
 margin: 0;
}

/* Restructure ul tag in a left right list*/
#secondnav {
	list-style-type: none;
 padding: 0;
 margin: 0;
}

/* float li tags left to right*/
#secondnav li {
	display: block;
 float: left;
 margin: 0;
 padding: 0;
}

/* style link text*/
#secondnav li a{
 color: #000000;
 display: block;
 float: left;
 height: 34px;
 line-height: 34px;
 overflow: hidden;
 text-decoration: none;
 border: none;
 margin: 0;
}

/* image backgrounds for navigation */
#Home {
 background-image: url(../images/nav_secondnav_left.png);
 background-position: top left;
 padding: 0 15px 0 20px;
}

#AboutUs, #ProductLines, #Commitment, #News, #Careers {
 background-image: url(../images/nav_secondnav_center.png);
 background-position: top center;
 padding: 0 15px;
}

#Contacts {
 background-image: url(../images/nav_secondnav_right.png);
 background-position: top right;
 padding: 0 20px 0 15px;
}

#Home:hover {
 background-image: url(../images/nav_secondnav_left_over.png);
 background-position: top left;
 color: #FFFFFF;
 text-decoration: none;
 border: none;
} 

body#HomepageSC #secondnav a#Home {
 background-image: url(../images/nav_secondnav_left_on.png);
 background-position: top left;
 color: #FFFFFF;
 text-decoration: none;
 border: none;
}

#AboutUs:hover {
 background-image: url(../images/nav_secondnav_center_over.png);
 background-position: top center;
 color: #FFFFFF;
 text-decoration: none;
 border: none;
}

body#AboutUsSC #secondnav a#AboutUs, body#AboutExecutiveSC #secondnav a#AboutUs, body#AboutOurOwnersSC #secondnav a#AboutUs {
 background-image: url(../images/nav_secondnav_center_on.png);
 background-position: top center;
 color: #FFFFFF;
 text-decoration: none;
 border: none;
}

#ProductLines:hover {
 background-image: url(../images/nav_secondnav_center_over.png);
 background-position: top center;
 color: #FFFFFF;
 text-decoration: none;
 border: none;
}

body#ProductLinesSC #secondnav a#ProductLines, body#ProductLinesProLiabilitySC #secondnav a#ProductLines, body#ProductLinesGLSC #secondnav a#ProductLines, body#ProductLinesGLContractorSC #secondnav a#ProductLines, body#ProductLinesGLHomeBuildersSC #secondnav a#ProductLines,  body#ProductLinesPLSC #secondnav a#ProductLines, body#ProductLinesContractSC #secondnav a#ProductLines, body#ProductLinesUmbSC #secondnav a#ProductLines {
 background-image: url(../images/nav_secondnav_center_on.png);
 background-position: top center;
 color: #FFFFFF;
 text-decoration: none;
 border: none;
}

#Commitment:hover {
 background-image: url(../images/nav_secondnav_center_over.png);
 background-position: top center;
 color: #FFFFFF;
 text-decoration: none;
 border: none;
}

body#CommitmentSC #secondnav a#Commitment {
 background-image: url(../images/nav_secondnav_center_on.png);
 background-position: top center;
 color: #FFFFFF;
 text-decoration: none;
 border: none;
}

#News:hover {
 background-image: url(../images/nav_secondnav_center_over.png);
 background-position: top center;
 color: #FFFFFF;
 text-decoration: none;
 border: none;
}

#Careers:hover {
 background-image: url(../images/nav_secondnav_center_over.png);
 background-position: top center;
 color: #FFFFFF;
 text-decoration: none;
 border: none;
}

body#NewsSC #secondnav a#News {
 background-image: url(../images/nav_secondnav_center_on.png);
 background-position: top center;
 color: #FFFFFF;
 text-decoration: none;
 border: none;
}

body#CareersSC #secondnav a#Careers {
 background-image: url(../images/nav_secondnav_center_on.png);
 background-position: top center;
 color: #FFFFFF;
 text-decoration: none;
 border: none;
}

#Contacts:hover {
 background-image: url(../images/nav_secondnav_right_over.png);
 background-position: top right;
 color: #FFFFFF;
 text-decoration: none;
 border: none;
}

body#ContactsSC #secondnav a#Contacts {
 background-image: url(../images/nav_secondnav_right_on.png);
 background-position: top right;
 color: #FFFFFF;
 text-decoration: none;
 border: none;
}

/* third navbar*/
#thirdnavbar {
 display: block;
 clear: both;
 width: 980px;
 height: 25px;
 padding: 8px 0 0 0;
 margin:0;
 background-image: url(../images/nav_thirdnav.png);
 background-repeat: no-repeat;
 background-position: left top;
 overflow: hidden;
}

/* Restructure ul tag in a left right list*/
#thirdnav {
	list-style-type:none;
 padding:0;
 margin:0 5px 0 0;
 float: right;
 height: 33px;
 overflow: hidden;
}

/* float li tags left to right*/
#thirdnav li {
 display: block;
 float: left;
 margin: 0;
 padding: 0;
 height: 25px;
 overflow: hidden;
 color: #FFFFFF;
}

/* style link text */
#thirdnav li a{
	color: #FFFFFF;
	display: block;
	float: left;
 padding: 0 15px;
 height: 25px;
 line-height: 25px;
 overflow: hidden;
 text-decoration: none;
}

#thirdnav li a:hover{
 color: #000000;
 background-image: url(../images/nav_thirdnav_hover.png);
 background-repeat: repeat-x;
 background-position: bottom;
}

body#AboutUsSC #thirdnav #AboutNaxos {
 color: #000000;
 background-color: #FFFFFF;
}

body#AboutExecutiveSC #thirdnav #AboutExecutive {
 color: #000000;
 background-color: #FFFFFF;
}

body#AboutOurOwnersSC #thirdnav #AboutOurOwners {
 color: #000000;
 background-color: #FFFFFF;
}

body#ProductLinesProLiabilitySC #thirdnav #ProductLinesProLiability, body#ProductLinesContractSC #thirdnav #ProductLinesContract, body#ProductLinesGLSC #thirdnav #ProductLinesGL, body#ProductLinesGLContractorSC #thirdnav #ProductLinesGL, body#ProductLinesGLHomeBuildersSC #thirdnav #ProductLinesGL, body#ProductLinesUmbSC #thirdnav #ProductLinesUmb, body#ProductLinesPLSC #thirdnav #ProductLinesPL {
 color: #000000;
 background-color: #FFFFFF;
}

body#LinksSC #thirdnav #Links, body#LinksFinancialSC #thirdnav #LinksFinancial, body#LinksSearchSC #thirdnav #LinksSearch, body#LinksHealthSC #thirdnav #LinksHealth, body#LinksProductSC #thirdnav #LinksProduct {
 color: #000000;
 background-color: #FFFFFF;
}

/* fourth navbar*/
#fourthnavbar {
 display: block;
 clear: both;
 width: 980px;
 padding: 0;
 margin: 0;
 background-image: url(../images/nav_fourthnav.png);
 background-repeat: repeat-y;
 background-position: left top;
 overflow: hidden;
}

/* Restructure ul tag in a left right list, floated left for commercial casualty*/
#fourthnav {
	list-style-type:none;
 padding:0;
 margin:0 5px 0 0;
 float: left;
 height: 33px;
 overflow: hidden;
}

/* Restructure ul tag in a left right list, floated right for About Naxos subnav*/
#fourthnavright {
	list-style-type:none;
 padding:0;
 margin:0 5px 0 0;
 float: right;
 height: 33px;
 overflow: hidden;
}

/* float li tags left to right*/
#fourthnav li, #fourthnavright li {
 display: block;
 float: left;
 margin: 0;
 padding: 0;
}

/* style link text */
#fourthnav li a, #fourthnavright li a{
	color: #000000;
	display: block;
	float: left;
 padding: 0;
 margin: 0 15px;
 text-decoration: none;
 border-bottom: solid 2px #FFFFFF;
}

#fourthnav li a:hover, #fourthnavright li a:hover{
 color: #4A76A2;
 border-bottom: solid 2px #4A76A2;
}

body#ProductLinesGLContractorSC #fourthnav #ProductLinesGLContractor, body#ProductLinesGLHomeBuildersSC #fourthnav #ProductLinesGLHomeBuilders {
 color: #EE0707;
 border-bottom: solid 2px #EE0707;
}

body#AboutTechnologySC #fourthnavright #AboutTechnology, body#AboutFinanceSC #fourthnavright #AboutFinance {
 color: #EE0707;
 border-bottom: solid 2px #EE0707;
}

#screen {
 margin: 0px;
 width: 980px;
 padding: 0px;
 background-image: url(../images/fill_screen.png);
 background-repeat: no-repeat;
 min-height: 400px;
 float:left;
 height:auto !important;
 height: 400px;
 background-position: left bottom;
}

#screenpad {
 margin: 10px 14px;
 padding: 0;
}

/* callout or flash content area*/
#calloutscreen {
 display: block;
 background-image:url(../images/fill_contentcalloutend.png);
 background-position: bottom left;
 width: 246px;
 float: left;
 padding: 0 0 23px 0;
 margin: 0;
 background-repeat: no-repeat;
}

#calloutscreenfill {
 background-image:url(../images/fill_contentcallout.png);
 background-position: top left;
 padding: 20px 0 0 1px;
 margin: 0;
}

/* news content area*/
#newsscreen {
 display: block;
 background-image:url(../images/fill_newscalloutend.png);
 background-position: bottom left;
 width: 246px;
 float: left;
 padding: 0 0 23px 0;
 margin: 0 0 10px 0;
 background-repeat: no-repeat;
}

#newsscreenfill {
 background-image:url(../images/fill_newscallout.png);
 background-position: top left;
 padding: 5px 20px 20px 20px;
 margin: 0 3px 0 0;
	height: 165px;
	overflow: auto;
}
#newsscreenhead {
 background-image:url(../images/fill_newscallouthead.png);
 background-position: top left;
	display: block;
	float: left;
 padding: 0;
 margin: 0;
	height: 41px;
 width: 246px;
}

#newsscreenfillold {
 background-image:url(../images/fill_newscallout.png);
 background-position: top left;
 padding: 5px 20px 20px 20px;
 margin: 0;
}

#newsscreenfill ul {
 margin: 10px 0 0 20px;
 padding:0;
}

#newsscreenfill ul li {
padding: 0;
margin: 10px 0 0 0;
}

.newstitle {
 color: #FFFFFF;
 display: block;
 font-size: 1.8em;
 padding: 0;
 margin: 8px 0 0 0;
 font-weight: normal;
 font-family: "Times New Roman", Times, serif;
 letter-spacing: 0.2em;
 font-variant: small-caps;
 line-height: 1.4em;
 text-align: center;
}

/* main content area*/
#contentscreen {
 display: block;
 width: 696px;
 float: left;
 padding:0;
 margin: 0 10px 0 0;
}

#contentscreenfill {
 background-image:url(../images/fill_content.png);
 background-position: left top;
 padding: 20px 20px 0 20px;
 width: 656px;
 margin: 0;
 min-height: 350px;
 height: auto !important;
 height: 350px;
 background-repeat: no-repeat;
 float: left;
}

#contentscreenend {
 width: 696px;
 height: 31px;
 background-image:url(../images/fill_contentend.png);
 background-position: top left;
 float: left;
}


#footerbar{
 margin: 0;
 padding: 0;
 background-image:url(../images/fill_footer.png);
 width: 980px;
 height: 45px;
 display: block;
 float: left;
}

/* Restructure ul tag in a left right list*/
#footer {
	list-style-type: none;
 padding: 0 0 0 20px;
 margin: 0;
 height: 53px;
}

/* float li tags left to right*/
#footer li {
 display: block;
 float: left;
 margin: 0;
 padding: 0;
 color: #FFFFFF;
	display: block;
	float: left;
}

/* style link text */
#footer li a {
 color: #FFFFFF;
 border: none;
}

#footer li a:hover{
 color: #EE0707; 
}

p, td {
 FONT-SIZE: 1.2em;
 line-height: 2em;
 margin: 0 0 10px 0;
 padding: 0;
	}

table {
 font-size: 100%;
 margin: 0 0 20px 0;
}

td {
	FONT-SIZE: 1.2em;
 line-height: 2em;
}

td p, td ul{
	FONT-SIZE: 100%;
}
 
ul {
 FONT-SIZE: 1.2em;
 padding:0;
 margin: 10px 0 10px 20px;
 line-height: 2em;
 list-style-type: square;
}

ul li {
padding: 0;
margin: 0 0 10px 0;
}

ul li ul{
 font-size: 100%;
 padding:0;
 margin: 0 0 0 20px;
 list-style-type: disc;
}

ul li ul li{
 padding:0;
 margin: 0;
}

ul li ul li ul{
 font-size: 100%;
 padding:0;
 margin: 0 0 0 20px;
 list-style-type: disc;
}

ul li ul li ul li{
 padding:0;
 margin: 0;
}
 
/*h2 title styles*/
h2 {
 display: block;
 font-size: 2.2em;
 color: #EE0707;
 padding: 0;
 margin: 0 0 20px 0;
 font-weight: normal;
 font-family: "Times New Roman", Times, serif;
 letter-spacing: .2em;
 font-variant: small-caps;
 line-height: 1.4em;
 clear: both;
}

h3 {
	display: block;
	font-size: 1.8em;
	color: #EE0707;
	padding: 0;
	margin: 0 0 20px 0;
	font-weight: normal;
	letter-spacing: 0.2em;
	font-variant: normal;
	line-height: 1.4em;
	border-bottom: 1px solid #FFFFFF;
	font-family: "Times New Roman", Times, serif;
	text-transform: uppercase;
	clear: both;
}

.h3override {
		text-transform: none;
}

h4 {
 color: #EE0707;
 font-weight: bold;
 font-size: 1.2em;
}

.emphasis {
 font-size: 150%;
 color: #EE0707;
 padding: 0;
 margin: 0;
 font-weight: bold;
 letter-spacing: .1em;
 text-transform: uppercase;
}

.bodyred {
 color: #EE0707;
}

.bodywhite {
 color: #FFFFFF;
}
.bodywhite a {
 color: #FFFFFF;
 border: #FFFFFF;
}
.bodywhite a:hover{
 color: #FFFFFF;
 border: #FFFFFF;
}

.td_red {
 color: #FFFFFF;
 font-weight: bold;
 background-color: #B30909;
 }
 
.td_red_glass {
 color: #FFFFFF;
 font-weight: bold;
 background-image: url(../images/fill_item_red.png);
 background-repeat: no-repeat;
 background-position: left top;
 border: 1px solid #9A0101;
 }
 
.td_gray_glass {
 color: #FFFFFF;
 font-weight: bold;
 background-image: url(../images/fill_item_gray.png);
 background-repeat: no-repeat;
 background-position: left top;
 border: 1px solid #666565;
 }
 
.td_red_arrow {
 color: #FFFFFF;
 font-weight: bold;
 background-color: #B30909;
 background-image: url(../images/tablearrow.png);
 background-repeat: no-repeat;
 background-position: left 12px;
 margin: 0;
 padding: 10px 0 0 12px;
 }
 
.td_red_arrow p {
 margin:0;
 padding:0;
 }
 
.td_gray {
 color: #FFFFFF;
 font-weight: bold;
 background-color: #999999;
 }
 
.bodysmall {
 font-size: 0.9em;
}

.buttonrounded {
 background-image: url(../images/button_rounded_red.png);
 display: block;
	float: left;
 height: 36px;
 width: 224px;
 color: #FFFFFF;
 border: none;
 margin: 0 0 10px 0;
 padding: 10px 12px 10px 10px;
 font-weight: normal;
 font-family: "Times New Roman", Times, serif;
 letter-spacing: 0.2em;
 font-variant: small-caps;
 font-size: 1.8em;
 line-height: 1.4em;
 text-align: center;
}

.buttonrounded:hover {
	background-image: url(../images/button_rounded_red_over.png);
	color: #FFFFFF;
	padding: 10px 12px 10px 10px;
	border: none;
	margin: 0 0 10px 0;
}

.buttonroundedtall {
 background-image: url(../images/buttonroundedredlarge.png);
 display: block;
	float: left;
 height: 100px;
 width: 224px;
 color: #FFFFFF;
 border: none;
 margin: 0 0 10px 0;
 padding: 20px 12px 10px 10px;
 font-weight: normal;
 font-family: "Times New Roman", Times, serif;
 letter-spacing: 0.2em;
 font-variant: small-caps;
 font-size: 1.8em;
 line-height: 1.4em;
 text-align: center;
}

.buttonroundedtall:hover {
 background-image: url(../images/buttonroundedredlarge_over.png);
 color: #FFFFFF;
 padding: 20px 12px 10px 10px;
 border: none;
 margin: 0 0 10px 0;
}


#homepageholder {
 display: block;
 float: left;
 width: 246px;
 margin:0;
 padding:0;
}

.LinkPDF{
	background-image: url(../images/icon_pdf.png);
 background-repeat: no-repeat;
 padding: 0 20px 3px 0;
 background-position: right top;
}

.LinkPDF:hover{
	background-image: url(../images/icon_pdf.png);
 background-repeat: no-repeat;
 padding: 0 20px 3px 0;
 background-position: right top;
}

.LinkEmail{
 background-image: url(../images/icon_email.png);
 background-repeat: no-repeat;
 padding: 0 20px 3px 0;
 background-position: right top;
}

.LinkEmail:hover{
 background-image: url(../images/icon_email.png);
 background-repeat: no-repeat;
 padding: 0 20px 3px 0;
 background-position: right top;
}

.photobox {
 width: 121px;
 background-image: url(../images/fill_photobox.png);
 background-position: left top;
 margin: 0;
 padding: 10px 10px 0 10px;
 float: left;
 color: #FFFFFF;
 text-align: center;
 display: block;
}

.photoboxend {
 width: 141px;
 background-image: url(../images/fill_photoboxend.png);
 background-position: left bottom;
 margin: 0 20px 0 0;
 padding: 0 0 26px 0px;
 float: left;
 display: block;
 background-repeat: no-repeat;
}

.photobox2 {
 width: 92px;
 background-image: url(../images/fill_photobox2.png);
 background-position: left top;
 margin: 0;
 padding: 5px 5px 0 5px;
 float: left;
 color: #FFFFFF;
 text-align: center;
 display: block;
}

.photobox2end {
 width: 102px;
 background-image: url(../images/fill_photobox2end.png);
 background-position: left bottom;
 margin: 0 20px 0 0;
 padding: 0 0 26px 0px;
 float: left;
 display: block;
 background-repeat: no-repeat;
}

.biography {
 width: 495px;
 float: left;
 display: block;
 padding: 0;
 margin: 0;
}

.photobio {
 float: left;
 clear: both;
 margin: 0 0 20px 0;
 width: 656px;
}

.boxedcontent {
	width: 288px;
	border: 1px solid #000000;
	padding: 5px;
	margin: 0 10px 10px 0;
	float: left;
}

.boxedcontent ul li {
margin: 0;
}

#myContent {
width: 241px;
height: 320px;
margin: 0;
padding: 0;
color: #FFFFFF;
}
