/**********
 * Layout *
 **********/
body { margin:0; padding:0; background:#fff; color:#000; font:12px sans-serif; }
#container {width:980px;margin-left:auto;margin-right:auto;padding:0px 4px;background-image:url('/images/container_bg.png');}
#header {background:#5577b3;height:147px;}
#footer { clear:both;text-align:right;}
#footer p {font-size:85%;margin-right:22px;position:relative;top:175px;}
#wrapper { background:#DFE3F1;padding:22px 22px 175px 22px;background-image: url(../images/footer.gif);background-repeat: no-repeat;background-position:0% 100%;}
#left {float:left;width:186px;margin-bottom:5px;margin-top:52px;min-height:300px;}
#right {float:right;width:225px;margin-top:22px;margin-bottom:-125px;}
#content { float:left; width:500px; background:#fff; color:#000; min-height:300px;height:100%;margin-top:22px;z-index:99;position:relative;font-size:100%;line-height:150%;padding-bottom:0px;}
#content * {margin-left:15px;margin-right:15px;}
#content * * {margin:0;}
#content table td p {line-height:160%;margin:10px 0px;}

#full-page #wrapper {background-image: url(../images/footer_full_page.gif);background-repeat: no-repeat;background-position:0% 100%;}
#full-page #wrapper #content {width:750px;}

#gallery #wrapper  {background-image: url(../images/footer_gallery.gif);background-repeat: no-repeat;background-position:0% 100%;}
#gallery #wrapper  #right img {margin:9px 6px 6px 12px;}
#gallery #wrapper  #right .box_container {float:left;width:153px;}
#gallery #wrapper  #right .box {line-height:90%;text-align:center;font-size:90%;}
#gallery #wrapper  #right .box .box_inside {padding-bottom:10px;min-height:163px;}
#gallery #wrapper  #right .box p {margin:0;padding:0;margin-bottom:-3px;margin-left:-13px;width:147px;}
#gallery #wrapper  #right .box .cms_edit_connectable {text-align:left;min-width:130px;padding:0;}

#gallery #wrapper #content {width:260px;}
#gallery #wrapper #right {width:490px;position:relative;left:20px;}

#content .box_container {margin-bottom:10px;}

#left h3 {background-image:url('/images/sub_nav_header_bg.png');background-color:#f9ac90;position:relative;left:-10px;padding:6px 5px 7px 14px;height:17px;font-weight:bold;font-size:150%;margin-right:6px;}
#left .menu ul {list-style-image:url('/images/sub_navigation_list_style.gif');list-style-type: circle;padding:0px;margin:0px;padding-left:15px;font-size:100%;margin-bottom:30px;line-height:180%;}
#left .menu ul a {text-decoration:none;}
#left .menu .on a {font-weight:bold;text-decoration:underline;}
#left .menu a:hover{text-decoration:underline;}

#left #news {padding-left:0px;margin-bottom:60px;margin-top:15px;padding-right:5px;text-align:left;}
#left #news h3 {background:#DFE3F1;margin:0;padding:0;margin-left:10px;font-size:110%;height:auto;}
#left #news h3 a {text-decoration:none;}
#left #news h3 a:hover {text-decoration:underline;}
#left #news p {font-size:95%;margin-top:0px;padding-right:10px;}
#left #news .date {color:#333;margin:2px 0px 4px 0px;display:block;}
#left .summary {margin-bottom:10px;line-height:130%;}

#left #news .more_link {text-align:right;padding-right:10px;font-weight:bold;font-size:105%;padding-top:10px;}

#left h1 {padding:5px;margin:0px;}

#right h2 {margin:0;padding:0;font-size:180%;margin-top:10px;}
#right p {padding:0;line-height:1.5em;margin:6px 0px;}

#right .box_container {width:225px;margin-top:0px;padding:0px;padding-bottom:12px;}
#right .box_container img {padding:0px;position:relative;left:-5px;}
#right {padding:0px;}

#news_archive h2 {font-size:160%;font-weight:normal;border-bottom:1px solid #999;clear:both;}
#news_archive h3 {font-size:120%;font-weight:bold;margin:0px;float:left;margin-top:10px;}
#news_archive .date {color:#333;font-size:95%;display:inline-block;margin:0px;padding:0px;float:right;position:relative;top:20px;}
#news_archive p {clear:both;}

.news-item {padding-left:1em;clear:both;}
.news-item a {text-decoration:none;}
.news-item a:hover {text-decoration:underline;}
.news-item .read-more a {text-decoration:underline;font-weight:bold;float:right;}
.news_article .date {font-weight:bold;margin-bottom:10px;display:block;}
.news_article p {padding-top:10px;}
hr {margin:20px 0 5px 0;}



/**************
 * Navigation *
 **************/
#header .menu ul { margin:0; white-space:nowrap;padding:0px;position:relative; }
#header .menu li { display:block; float:left; list-style-type:none; margin:0; padding:0; }
#header .menu a { text-decoration:none;height:21px;display:block; float:left; width:140px;text-align:center;color:#fff;padding:0px;padding-top:5px; background-color:#5778b3;background-image: url('/images/menu_bg.png');margin:0px;}
#header .menu a:hover, #header .menu .open a, #header .menu .on a {color:#111;font-weight:bold; text-decoration:underline;background-color:#f58463; background-image: url('/images/menu_bg_active.png')}
#header .menu .first a {background-image: url('/images/menu_bg_first.png')}
#header .menu .first a:hover, #header .menu .first.open a, #header .menu .first.on a {background-image: url('/images/menu_bg_active_first.png')}
#header .menu .last a {background-image: url('/images/menu_bg_last.png')}
#header .menu .last a:hover, #header .menu .last.open a, #header .menu .last.on a {background-image: url('/images/menu_bg_active_last.png')}

/****************************
 * Box with Rounded Corners *
 ****************************/
.box_container {margin:0px;padding-top:1.5em;width:auto;display:inline-block;}
.box {margin-top:0px;min-height:1px;padding:0px;margin-bottom:15px;background-color:#fff}
.t {background: url(../images/box/dot.gif) 0 0 repeat-x;}
.b {background: url(../images/box/dot.gif) 0 100% repeat-x}
.l {background: url(../images/box/dot.gif) 0 0 repeat-y}
.r {background: url(../images/box/dot.gif) 100% 0 repeat-y}
.bl {background: url(../images/box/bl.gif) 0 100% no-repeat}
.br {background: url(../images/box/br.gif) 100% 100% no-repeat}
.tl {background: url(../images/box/tl.gif) 0 0 no-repeat; z-index:1}
.tr {background: url(../images/box/tr.gif) 100% 0 no-repeat; z-index:-1;padding:0px 10px 0px 10px; }
.box_inside {padding:3px 8px;}

.white .t {background: url(../images/box_white/dot.gif) 0 0 repeat-x;}
.white .b {background: url(../images/box_white/dot.gif) 0 100% repeat-x}
.white .l {background: url(../images/box_white/dot.gif) 0 0 repeat-y}
.white .r {background: url(../images/box_white/dot.gif) 100% 0 repeat-y}
.white .bl {background: url(../images/box_white/bl.gif) 0 100% no-repeat}
.white .br {background: url(../images/box_white/br.gif) 100% 100% no-repeat}
.white .tl {background: url(../images/box_white/tl.gif) 0 0 no-repeat; z-index:1}
.white .tr {background: url(../images/box_white/tr.gif) 100% 0 no-repeat; z-index:-1;padding:0px 10px 10px 10px; }

#left .box_container {display:block;margin-right:10px;position:relative;left:-5px;padding:0px;}
#left .box {margin-top:0px;min-height:1px;padding:0px;margin-bottom:15px;background-color:#f0f3f9;}
#left .t {background: url(../images/box_nav/dot.gif) 0 0 repeat-x;}
#left .b {background: url(../images/box_nav/dot.gif) 0 100% repeat-x;}
#left .l {background: url(../images/box_nav/dot.gif) 0 0 repeat-y}
#left .r {background: url(../images/box_nav/dot.gif) 100% 0 repeat-y}
#left .bl {background: url(../images/box_nav/bl.gif) 0 100% no-repeat;}
#left .br {background: url(../images/box_nav/br.gif) 100% 100% no-repeat;}
#left .tl {background: url(../images/box_nav/tl.gif) 0 0 no-repeat; z-index:1}
#left .tr {background: url(../images/box_nav/tr.gif) 100% 0 no-repeat; z-index:-1;padding:0px 10px 0px 10px; }

#right .box_container {display:block;margin-right:10px;position:relative;left:-5px;padding:0px;}
#right .box {margin-top:0px;min-height:1px;padding:0px;margin-bottom:15px;background-color:#fff;}
#right .t {background: url(../images/box_right/dot.gif) 0 0 repeat-x;}
#right .b {background: url(../images/box_right/dot.gif) 0 100% repeat-x;}
#right .l {background: url(../images/box_right/dot.gif) 0 0 repeat-y}
#right .r {background: url(../images/box_right/dot.gif) 100% 0 repeat-y}
#right .bl {background: url(../images/box_right/bl.gif) 0 100% no-repeat;}
#right .br {background: url(../images/box_right/br.gif) 100% 100% no-repeat;}
#right .tl {background: url(../images/box_right/tl.gif) 0 0 no-repeat; z-index:1}
#right .tr {background: url(../images/box_right/tr.gif) 100% 0 no-repeat; z-index:-1;padding:0px 10px 0px 10px; }

/*****************
 * General stuff *
 *****************/
h1 {font-size:190%;font-weight:normal;padding-bottom:10px;}
h2 {font-size:140%;font-weight:normal;}
h3 {font-size:120%}
h1,h2,h3 {padding-top:10px;margin-top:0px;}

a {color:#000;}
a.larger {font-size:110%;font-weight:bold;}
ul {margin:0;padding:0;padding-left:15px;}
li {margin:0;padding:0;}

img {border:none;}
table {padding-top:10px;}
table img {padding-right:10px;padding-bottom:10px;}
table h3 {margin-top:0px;padding-top:0px;}
table td {vertical-align:top;}

#notice, #errors {padding:5px 10px;margin:5px 15px 0px 15px;font-weight:bold;}
#errors {background-color:#FFDFDF;border:2px solid #990000;color:#990000;}
#notice {background-color:#DDFFDD;border:2px solid #228822;color:#228822;}

.left {float:left;}
.right {float:right;}

/****************
 * Layout fixes * 
 ****************/
.clearboth {clear:both;}
#wrapper:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}
#wrapper{display: inline-block;}

/* Hides from IE-mac \*/
* html #wrapper { height: 1%; }
#wrapper { display: block; }
/* End hide from IE-mac */
