/* page structure
---------------------------------------------------------- */

#container {
	position: relative;
	width: 840px;
	margin: 0 auto;
    padding-bottom: 80px;
    overflow: hidden;
}

/* header
---------------------------------------------------------- */

#header {
    position: relative;
    margin-bottom: 36px;
    height: 215px;
    background: url(../img/bg_header.png) no-repeat 0 0;
}

/* navigation
---------------------------------------------------------- */

#nav {
    position: absolute;
    top: 40px;
    left: 0;
}

#nav li {
    float: left;
    width: 140px;
    text-align: center;
}

#nav a {
    float: left;
    padding: 110px 0 0 0;
    width: 100%;
    font-weight: bold;
    text-decoration: none;
    text-transform: lowercase;
    line-height: 24px;
    color: #2d3947;
    background: url(../img/sprite_nav.jpg) no-repeat 0 0;
}

#nav a:hover {
    color: #45a12a;
}

#nav-a a { background-position: 0 0; }
#nav-s a { background-position: -140px 0; }
#nav-t a { background-position: -280px 0; }
#nav-r a { background-position: -420px 0; }
#nav-i a { background-position: -560px 0; }
#nav-d a { background-position: -700px 0; }

#nav-a a:visited { background-position: 0 -280px; }
#nav-s a:visited { background-position: -140px -280px; }
#nav-t a:visited { background-position: -280px -280px; }
#nav-r a:visited { background-position: -420px -280px; }
#nav-i a:visited { background-position: -560px -280px; }
#nav-d a:visited { background-position: -700px -280px; }

#nav-a.selected a, #nav-a a:hover { color: #FF753F; background-position: 0 -140px; }
#nav-s.selected a, #nav-s a:hover { color: #01911E; background-position: -140px -140px; }
#nav-t.selected a, #nav-t a:hover { color: #23244B; background-position: -280px -140px; }
#nav-r.selected a, #nav-r a:hover { color: #FE412C; background-position: -420px -140px; }
#nav-i.selected a, #nav-i a:hover { color: #C1C2BC; background-position: -560px -140px; }
#nav-d.selected a, #nav-d a:hover { color: #EFED2D; background-position: -700px -140px; }

/* navigation -> secundary
---------------------------------------------------------- */

#nav ul ul,
#nav .secundary {
    position: absolute;
    top: 140px;
    left: 0;
}

#nav ul ul {
}

#nav ul ul li,
#nav .secundary li{
    width: 139px;
    margin-right: 1px;
}

#nav ul ul li.last,
#nav .secundary li.last { margin-right: 0; }


#nav ul ul a,
#nav .secundary a {
    padding-top: 0;
    font-weight: normal;
    line-height: 36px;
    color: #fff !important;
    background: url(../img/bg_nav.png) no-repeat 50% 0 !important;
}

#nav ul ul a.first,
#nav .secundary a.first { background-position: 0 0 !important; }

#nav ul ul a.last,
#nav .secundary a.last { background-position: 100% 0 !important; }

#nav ul ul a:hover,
#nav ul ul .selected a,
#nav .secundary a:hover,
#nav .secundary .selected a {
    color: #fff;
    background-position: 50% 100% !important;
}

#nav ul ul .selected a.first,
#nav ul ul a.first:hover,
#nav .secundary .selected a.first,
#nav .secundary a.first:hover { background-position: 0 100% !important; }

#nav ul ul .selected a.last,
#nav ul ul a.last:hover,
#nav .secundary .selected a.last,
#nav .secundary a.last:hover { background-position: 100% 100% !important; }


/* main
---------------------------------------------------------- */

#main {
}

/* slideshow
---------------------------------------------------------- */

.slideshow {
    position: relative;
    height: 580px;
}

.slideshow li {
    position: absolute;
    top: 0;
    left: 0;
}

/* cols
---------------------------------------------------------- */

.cols {
    padding: 0 0 20px 0;
}

.col {
    float: left;
    margin-right: 20px;
}

.col-1 {
    width: 410px;
}

.col-2 {
    width: 840px;
    margin-right: 0;
}

.cols .last {
    margin-right: 0;
}

/* buttons
---------------------------------------------------------- */

.button {
    float: left;
    margin: 10px 20px 10px 0;
    padding: 5px 10px;
    font-weight: bold;
    text-decoration: none;
}

a.primary,
input.primary {
    color: #fff;
    background: #de0030;
    border: 1px solid #fff;
}

a.secundary {
    color: #6b6c6d;
    background: #fff;
    border: 1px solid #e1e4e2;
}

/* widget -> rte
---------------------------------------------------------- */

.rte {

}

.rte ul {
    margin: 10px 0 20px 0;
}

.rte ul li {
    margin: 0 0 4px 0;
    padding: 0 0 0 14px;
    background: url(../img/sprite.png) no-repeat -185px -3px;
}

/* news
---------------------------------------------------------- */

.news .col-1 {
    width: 540px;
}

.news .aside {
    width: 100px;
}

.news h1.archive {
    padding-bottom: 10px;
    border-bottom: 1px solid #E0DFDD;
}

.news h2 {
    margin-bottom: 0.25em;
}

.news h2 a {
    text-decoration: none;
    color: #404040;
}

.news .date {
    margin-bottom: 1em;
    color: #666;
}

.news .actions {
    padding: 0;
}

.news .entry {
    padding-bottom: 30px;
}

/* gallery
---------------------------------------------------------- */

.gallery { width: 100%; }

.gallery .row {
    clear: both;
    margin: 0 0 10px 0;
    width: 100%;
    zoom: 1;
}

.gallery li {
    float: left;
    display: inline;
    margin: 0 10px 0 0;
}

.gallery img { float: left; }

.gallery li.last { margin-right: 0; }
.gallery li.clear { 
    clear: both;
    margin-right: 0;
    width: 100%;
    height: 1px;
    background: #f00;
}

/* ticker
---------------------------------------------------------- */

.newsflash {
    position: relative;
    clear: both;
    margin: 0 0 25px 0;
    height: 26px;
    overflow: hidden;
    background: url(../img/bg_newsflash.png) no-repeat 0 0;
}

.newsflash h2 {
    position: absolute;
    top: 0;
    left: 10px;
    font-family: Verdana, Arial, sans-serif;
    font-size: 1em;
    line-height: 24px;
    width: 165px;
    color: #2D3947;
}

.newsflash ul {
    position: absolute;
    margin: 0;
    padding: 0;
    top: 0;
    left: 185px;
    width: 650px;
    height: 26px;
    overflow: hidden;
}

.newsflash li {
    position: absolute;
    float: left;
    left: 650px;
    width: 650px;
    line-height: 26px;
}

.newsflash a {
    display: block;
    width: 620px;
}

.newsflash a.next {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 26px;
    text-indent: -999em;
}

/* google map
---------------------------------------------------------- */

#map {
    width: 410px;
    height: 300px;
}

/* language
---------------------------------------------------------- */

#lang {
    position: absolute;
    top: 0;
    left: 0;
}

#lang li {
    float: left;
    margin-left: -1px;
}

#lang .selected a { color: #EE7D11; }

#lang a {
    float: left;
    padding: 3px 6px 4px;
    text-decoration: none;
    color: #6b6c6d;
    border: 1px solid #dcdcde;
    background: #fff;    
}

/* footer
---------------------------------------------------------- */

#footer {
    clear: both;
    margin: 10px 0 0 0;
    font-size: .917em;
    text-align: center;
    border-top: 1px solid #e0dfdd;
}

#footer h4 {
    margin: 0 0 3px 0;
    font-size: 1em;
}

#footer h4 span { font-weight: normal; }

#footer .sponsors {
    padding-bottom: 5px;
    border-bottom: 1px solid #e0dfdd;
}

#footer .sponsors li {
    float: left;
    margin-right: 14px;
}

#footer .sponsors .last { margin-right: 0; }

#footer a {
    color: #2d3947;
}

/* skip to nav links
---------------------------------------------------------- */

#skip {
	position: absolute;
	margin: 0;
	top: 0;
	left: 0;
}

#skip li{
	text-indent: -999em;
}

/* common
---------------------------------------------------------- */

.hide {
	position: absolute;
	display: block;
	padding: 0 !important;
	left: -9999px !important;
	left: -9999px !important;
	font-size: 0px;
	height: 0px !important;
	line-height: 0px !important;
	background: none !important;
}

.hidden {
	text-indent: -9999px;
}

/* browser fixes
---------------------------------------------------------- */

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */
