/*
Robertson Martin Architects
Global Stylesheet
Coded by Skyrocket Labs
*/

/*
Branding:
Text: #333
header one: #777
headers 2-6 #111
Links (primary blue): #2676b7
Hover (burgundy): #950019
secondary blue: #63a5ef
tertiary blue: #2676B7
*/

/* ARCHITECTURE */

body {
    margin: 0;
	padding: 0;
	background: #fff;
	font-family: verdana,arial,tahoma,helvetica,sans-serif;
	font-size: 11px;
	color: #333;
}

#logo-wrapper {
    width: 100%;
	height: 180px;
	background: #fff;
}

#logo {
    width: 840px;
	height: 180px;
	padding: 0 0 0 139px;
	background: url(../img/logo-backgr.png) repeat-x;
}

#promo-wrapper {
    width: 100%;
	height: 300px;
	background: #84a5da url(../img/promo-backgr.png) no-repeat;
}

#promo {
    width: 840px;
	height: 300px;
	padding: 0 0 0 139px;
}

#nav {
    float: left;
	width: 220px;
	height: 300px;
	background: #008cef;
	border-right: 1px solid #c41230;
}

#slideshow {
    float: right;
	width: 617px;
	height: 300px;
	background: #84a5da url(../img/slideshow-backgr2.png) no-repeat;
	z-index: 0;
}

#content-wrapper {
    width: 840px;
	min-height: 60px;
	padding: 20px 20px 0 139px;
	background: #fff url(../img/content-wrapper-backgr.gif) repeat-y;
	overflow: hidden;
}

#content-wrapper-blue {
    width: 596px;
	min-height: 400px;
	margin: 0 0 0 359px;
	padding: 0 20px 20px 0px;
	background: #84a5da;
	border-left: 1px solid #c41230;
}

.two-main-panels {
    width: 800px;
	min-height: 200px;
	clear: both;
}

.main-left-panel {
    float: left;
	width: 240px;
	min-height: 100px;
	padding: 100px 0 0 0;
}

.main-right-panel {
    float: right;
	width: 560px;
	min-height: 200px;
}

.two-panels {
    width: 597px;
	min-height: 200px;
	margin: 0;
	clear: both;
}

.left-panel {
    float: left;
	width: 400px;
	min-height: 200px;
}

.right-panel {
    float: right;
	width: 400px;
	min-height: 200px;
}

#footer {
    width: 100%;
	height: 60px;
	text-align: left;
	background: url(../img/content-wrapper-backgr.gif) repeat-y;	
    clear: both;
}


/* NAV MENU */

.menu {
    height: 150px;
    font: bold 1.1em arial,verdana,tahoma,helvetica,sans-serif;
    margin: 0; /* this page only */
}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
    position: relative;
    z-index: 500;
    padding: 0;
    margin: 0;
    list-style-type: none;
    width: 199px;
}
/* style the list items */
.menu li {
    background: #008cef;
    height: 35px;
    /* for IE7 */
    float: left;
	border-bottom: 1px solid #6991d1;
	
}
.menu li.sub {
    background: #008cef;
} 

/* get rid of the table */
.menu table {
    position: absolute;
	border-collapse: collapse;
	top: 0;
	left: 0;
	z-index: 100;
}

/* style the links */
.menu a {
    display: block; 
    text-decoration: none;
    width: 200px;
    color: #fff;
    padding: 10px;
}
/* hack for IE5.5 */
* html .menu a, * html .menu a:visited {width:200px; w\idth:200px;}
/* style the link hover */
* html .menu a:hover {color:#fff; background:#3964b2; position:relative;}

.menu li:hover {position:relative;}

/* For accessibility of the top level menu when tabbing */
.menu a:active, .menu a:focus {color:#fff; background:#3964b2;}

/* retain the hover colors for each sublevel IE7 and Firefox etc */
.menu li:hover > a {color:#fff; background:#3964b2;}
 
/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu li ul {
    visibility: hidden;
    position: absolute;
    top: -30px;
    /* set up the overlap (minus the overrun) */
    left: 120px;
    /* set up the overrun area */
    padding: 30px;
    /* this is for IE to make it interpret the overrrun padding */
    background: transparent url(transparent.gif);
}

/* for browsers that understand this is all you need for the flyouts */
.menu li:hover > ul {
    visibility:visible;
}

/* for IE5.5 and IE6 you need to style each level hover */

/* keep the third level+ hidden when you hover on first level link */
.menu ul a:hover ul ul{
visibility:hidden;
}
/* keep the fourth level+ hidden when you hover on second level link */
.menu ul a:hover ul a:hover ul ul{
visibility:hidden;
}
/* keep the fifth level hidden when you hover on third level link */
.menu ul a:hover ul a:hover ul a:hover ul ul{
visibility:hidden;
}

/* make the second level visible when hover on first level link */
.menu ul a:hover ul {
visibility:visible;
}
/* make the third level visible when you hover over second level link */
.menu ul a:hover ul a:hover ul{ 
visibility:visible;
}
/* make the fourth level visible when you hover over third level link */
.menu ul a:hover ul a:hover ul a:hover ul { 
visibility:visible;
}
/* make the fifth level visible when you hover over fourth level link */
.menu ul a:hover ul a:hover ul a:hover ul a:hover ul { 
visibility:visible;
}


/* TYPOGRAPHY */

#slideshow h1, #content-wrapper-blue h1 {
    font: normal 2.0em arial,verdana,tahoma,helvetica,sans-serif;
	color: #3964b2;
	margin: 0 0 8px 0;
	padding: 20px 0 0 20px;
}

#slideshow h2, #content-wrapper-blue h2 {
    font: normal 1.6em arial,verdana,tahoma,helvetica,sans-serif;
	color: #fff;
	margin: 0 0 16px 0;
	padding: 0 0 0 20px;
}

#slideshow p, #content-wrapper-blue p {
    font-size: 1.0em;
	color: #fff;
	margin: 0 0 16px 0;
	padding: 0 40px 0 20px;
}

#content-wrapper h1 {
    font: normal 1.8em arial,verdana,tahoma,helvetica,sans-serif;
	color: #777;
	margin: 0 0 16px 0;
	padding: 0;
}

#content-wrapper h1 span {
    color: #950019;
}

#content-wrapper h2 {
    font: normal 1.6em arial,verdana,tahoma,helvetica,sans-serif;
	color: #111;
	margin: 0 0 16px 0;
	padding: 0;
}

#content-wrapper p {
    font-size: 1.0em;
	line-height: 1.5em;
	margin: 0 0 16px 0;
	padding: 0;
}

#content-wrapper p a {
   color: #2676b7;
   text-decoration: underline;
}

#content-wrapper p a:hover {
   color: #950019;
   text-decoration: underline;
}

#slideshow p a, #content-wrapper-blue p a {
   color: #3964b2;
   text-decoration: underline;
}

#slideshow p a:hover, #content-wrapper-blue p a:hover {
   color: #fff;
   text-decoration: underline;
}


#content-wrapper blockquote {
	width: 370px;
	margin: 0 0 20px 0;
}

#content-wrapper blockquote p {
	font: normal 1.4em arial,verdana,tahoma,helvetica,sans-serif;
	color: #950019;
	margin: 36px 0 0 0;
	padding: 0;
}

#content-wrapper blockquote p span {
    font-size: 0.8em;
	font-style: italic;
}

#footer ul {
    margin: 0 0 0 139px;
	padding: 0;
	list-style: none;
}

#footer li {
    display: inline;
	font-size: 1.0em;
	color: #777;
	margin: 0 10px 0 0;
}

#footer li a {
    color: #777;
	text-decoration: underline;
}

#footer li a:hover {
    color: #333;
	text-decoration: underline;
}

/* IMAGES */

#logo img {
    border: 0;
	padding: 20px 0 0 0;
}

img.righty {
    float: right;
}

img.righty2 {
    float: right;
	margin: 0;
}

.thumb img{
    border: 5px solid #ddd;
}

.thumb:hover img{
    border: 5px solid #2676b7;
}

.thumb:hover{
    color: #2676b7; /* Dummy definition to overcome IE bug */
}

/* FORMS */

fieldset {
    border: 0;
	margin: 30px 0 0 20px;
	padding: 0;
}

.textfield {
    display: block;
	font: normal 1.0em verdana,arial,tahoma,helvetica,sans-serif;
	color: #777;
	margin: 0 0 22px 0;
	padding: 6px;
	border: 2px solid #ddd;
}

.btn {
	color: #333;
	margin: 12px 0 0 0;
	padding: 6px;
    font: bold 1.0em verdana,arial,tahoma,helvetica,sans-serif;
}