

/**
 * Fotoalina CSS
 *
 * @author mg
*/

html, body
{
	margin: 0;
	height: 100%;
}

body
{
	background: #aaa url(images/bg.png) repeat-x;
	color: #8a8a8a;
	font: normal 13px Verdana, Geneva, sans-serif;
}

a
{
	color: #8a8a8a;
}

img
{
	border: none;
}

p
{
	margin: 10px 0;
}

ul, ol
{
	margin: 10px 0 10px 30px;
	padding: 0;
}

a img
{
	vertical-align: bottom; /* for html5 */
}

#page
{
	width: 865px;
	margin: 0 auto;
}

#bgLeft
{
	position: absolute;
	top: 33px;
	width: 50%;
	height: 119px;
}

#bgLeft .bgAddon
{
	position: absolute;
	right: 432px;	
	background: url(images/logo-left.gif) no-repeat right top;
	height: 119px;
	width: 95px;
}

#header
{
	height: 113px;
	
	position: relative;
}

#logo
{
	position: absolute;
	bottom: 0;
	left: 0;
}

#content
{
	width: 837px;
	height: 752px;

	background-color: #fff;
	
	padding: 14px;
}

#menu
{
	width: 300px;
	
	position: absolute;
	bottom: 0;
	right: 0;
}

#main-nav
{
	float: right;
	
	margin: 0;
	padding: 0;
}

#main-nav li
{
	display: inline;
}

#main-nav li a
{
	display: block;
	float: left;
	padding: 10px;
	
	font: normal 14px Lucida Sans Unicode, Lucida Grande, sans-serif;
	color: #fff;
	text-decoration: none;
}

#main-nav li a:hover
{
	text-decoration: underline;
}

#main-nav li.active a
{
	background-color: #bcbcbc;
}

#footer
{
	height: 35px;
	position: relative;
	
	font-size: 10px;
	color: #fff;
}

#footer-text
{
	position: absolute;
	left: 0;
	top: 11px;
}

#footer-copyright
{
	position: absolute;
	right: 0;
	top: 11px;
}

.content
{
	padding: 2em;
}

/* Contact (Content) */

.side-image
{
	float: right;
	margin-left: 4em;
}

/* Homepage slideshow */

.header-slideshow-slide
{
	text-align: center;
	width: 835px;
	height: 538px;
}

/* Teasers */

.teasers
{
	margin-top: 14px;
}

.teasers a
{
	display: block;
	float: left;
	
	margin-right: 13px;
	
	position: relative;
}

.teasers a.last
{
	margin: 0;
}

.teasers a span
{
	display: block;
	
	position: absolute;
	bottom: 0;
	left: 0;
}

.teasers a span.hover
{
	display: none;
}

/* ---- Messages ---- */
.messages
{
	border: 1px solid;
	font-size: 1.1em;
	font-weight: bold;
	padding: 7px;
	margin: 1em 0;
}

.messages-success
{
	color: #4F8A10;
	background-color: #DFF2BF;
}

.messages-error
{
	color: #D8000C;
	background-color: #FFBABA;
}

.messages-warning
{
	color: #9F6000;
	background-color: #FEEFB3;
}

.messages-info
{
	color: #00529B;
	background-color: #BDE5F8;
}


/* ---- Forms ---- */
form
{
	margin: 0;
}

.form-element
{
	margin: 0 0 1em;
}

label.form-label
{
	display: block;
}

br.form-label-sep
{
	display: none;
}

label.error
{
	display: block;
	margin: 0.2em 0 0;
	color: #D8000C;
}

.pagination
{
	list-style: none;
	margin: 0;
	padding: 20px 0 10px 0;
	text-align: center;
}

.pagination li
{
	font-size: 1.5em;
	display: inline;
	padding-right: 5px;
}

.pagination li a
{
	text-decoration: none;
}

.pagination li a:hover, .pagination li.active a
{
	text-decoration: underline;
}

h1, h2, h3
{
	font-size: 15px;
	margin: 0 0 0.5em 0;
}

h1 a, h2 a, h3 a
{
	text-decoration: none;
	border-bottom: 1px solid #8a8a8a;
}

h1 a:hover, h2 a:hover, h3 a:hover
{
	text-decoration: none;
}

.list-images
{
	list-style: none;
	padding: 0;
	margin: 0;
	background-color: #daf0a5;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	padding: 12px;
	margin-bottom: 20px;
}

.list-images li
{
	display: inline;
}

.list-files
{
	list-style: none;
	padding: 0;
	margin: 0;
	background-color: #daf0a5;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	padding: 12px;
	margin-bottom: 20px;
}

.list-files li
{
	padding: 0 0 5px 20px;
}

.clear
{
	clear: both;
}

/* Gallery */
.gallery .title
{
	text-align: center;
	height: 52px;
	padding-top: 7px;
	position: relative;
}

.gallery .image
{
	width: 100%;
	height: 538px;
	text-align: center;
}

.gallery .carousel
{
	height: 144px;
	
	position: relative;
	-moz-user-select: none;
	-webkit-user-select: none;	
}

.gallery .images-container
{
	height: 144px;
	width: 764px;
	margin: 0 auto;
	overflow: hidden;
	
	position: relative;
}

.gallery .images
{
	height: 144px;
	width: 50000px;
	
	position: absolute;
	top: 0;
	left: 0;
}

.gallery .images a
{
	display: block;
	float: left;
	height: 144px;
	margin-right: 11px;
	
	position: relative;
}

.gallery .images a img
{
	display: block;
	position: absolute;
	left: 0;
	bottom: 0;
}

.gallery .next,
.gallery .prev
{
	cursor: pointer;
	
	width: 15px;
	height: 29px;
	
	background: url(images/gallery-arrows.png) no-repeat 0 0;
	
	position: absolute;
	bottom: 57px;

	display: none;
}

.gallery .prev
{
	left: 5px;	
}

.gallery .prev:hover
{
	background-position: 0 -49px;
}

.gallery .next
{
	background-position: 0 -98px;
	
	right: 5px;
}

.gallery .next:hover
{
	background-position: 0 -147px;
}

.gallery .back
{
	display: block;
	
	width: 90px;
	height: 30px;
	background: url(images/back.png) no-repeat 0 0;
	
	position: absolute;
	left: -10px;
	top: 12px;
	cursor: pointer;
}

.gallery .back span
{
	display: none;
}