body {
	color : #1d201d;
	background : #676a64 url(../img/body-bg.png) 0 0px repeat-x;
}

#custom-doc {
	margin : auto;
	text-align : left;
	width : 65.384em;
	min-width : 850px;
}

#hd {
	position : relative;
	height : 160px;
}

#hd h1 {
	padding-top : 20px;
}

#hd h1 a {
	display : block;
	width : 360px;
	height : 40px;
	background : url(../img/logo.png) left no-repeat;
	text-indent : -9999px;
}

#hd h2 {
	clear : both;
}

#hd h2 a {
	display : block;
	width : 360px;
	height : 30px;
	background : url(../img/logo-subtitle.png) no-repeat;
	text-indent : -9999px;
}

#nav {
	clear : both;
	float : right;
	height : 30px;
	margin-right : 6px;
}

#nav li {
	display : inline;
}

#nav a {
	display : block;
	float : left;
	height : 30px;
	text-indent : -9999px;
	background-image : url(../img/nav.png);
	background-repeat : no-repeat;
}

#nav a:active {
	outline : none;
}

#nav-foto a {
	width : 100px;
	background-position : 0 -30px;
}

#nav-foto a:hover {
	background-position : 0 0;
}

.foto #nav-foto a, .ssp #nav-foto a {
	background-position : 0 0;
}

#nav-stampa a {
	width : 75px;
	background-position : -100px -30px;
}

#nav-stampa a:hover {
	background-position : -100px 0;
}

.stampa #nav-stampa a {
	background-position : -100px 0;
}

#nav-biografia a {
	width : 95px;
	background-position : -175px -30px;
}

#nav-biografia a:hover {
	background-position : -175px 0;
}

.biografia #nav-biografia a {
	background-position : -175px 0;
}

#nav-contatti a {
	width : 80px;
	background-position : -270px -30px;
}

#nav-contatti a:hover {
	background-position : -270px 0;
}

.contatti #nav-contatti a {
	background-position : -270px 0;
}

#nav-links a {
	width : 60px;
	background-position : -350px -30px;
}

#nav-links a:hover {
	background-position : -350px 0;
}

.links #nav-links a {
	background-position : -350px 0;
}

#bd {
	margin : 0 50px;
	padding-top : 20px;
	background-color :  #1D201D;
	border : 4px solid #4B514B;
	color : #d1d0c9;
}

#content {
	padding : 10px 40px 30px;
	font : normal 92% "Lucida Grande", Helvetica, Arial, sans-serif;
}

#content .first {
	border-left : none;
}

#content h2 {
	margin-bottom : .5em;
	color : #696861;
	font-size : 175%;
	font-weight : bold;
}

#content h3 {
	margin-bottom : .5em;
	color : #696861;
	font-size : 150%;
	font-weight : bold;
}

#content h4 {
	font : 100%;
	font-weight : bold;
	color : #f0f0f0;
	text-transform : uppercase;
	margin : 3em 0 1em;
}

#content h2 + h4 {
	margin-top : 1em;
}

#content .weddings h3 {
	font-weight : normal;
	font-size : 183%;
}

p + h2, ul + h2 {
	margin-top : 1.5em;
}

#content p {
	margin-bottom : 1em;
	text-align : justify;
}

#content p.author {
	text-align : right;
	font-style : italic;
}

#content ul {
	margin-left : 2em;
	list-style-type : disc;
}

#content li {
	margin-bottom : .8em;
}

strong {
	font-weight : bold;
	color : #f0f0f0;
}

a:link {
	color : #7f7e75;
	text-decoration : underline;
}

a:visited {
	color : #b6b4a9;
	text-decoration : none;
}

a:hover {
	color : #dddcd7;
	text-decoration : underline;
}

table {
	margin-bottom : 2em;
}

th {
	padding : 6px 3em;
	text-align : center;
	font-weight : bold;
	border-bottom : 1px solid #7f7e75;
}

tbody td {
	background : #2b2a25;
}

td {
	padding : 6px 3em;
	border-bottom : 1px solid #7f7e75;
}

#ft {
	margin : 20px 60px 0;
	padding-bottom : 4em;
	color : #444;
	font-size : 70%;
	text-transform : uppercase;
	text-align : left;
}

#ft .copyright {
	float : left;
	margin : 1em 0;
}

#ft .credits {
	float : left;
	clear : left;
}

#ft .membership {
	float : right;
	margin-left : 1em;
	margin-bottom : 2em;
}

#ft .membership img {
	margin-top : 0;
	border : 0;
	vertical-align : middle;
}




#address {
	margin-top : 3em;
}

#mapwrap {
	position : relative;
	width : 310px;
	height : 190px;
	margin-top : 2em;
	border : 2px solid #4B514B;
}

#map {
	position : absolute;
	width : 100%;
	height : 100%;
}

#maploading {
	display : none;
	width : 100%;
	height : 100%;
	background-color : #1d201d;
	color : #d1d0c9;
}

#mapwrap.loading #maploading {
	display : block;
}

#maploading p {
	position : absolute;
	top : 50%;
	left : 50%;
	width : 100%;
	height : 16px;
	margin-top : -8px;
	margin-left : -50%;
	font-weight : bold;
	text-align : center;
}

#maploading img {
	vertical-align : middle;
}

/*** =CONTACTFORM ***/

#contactform p {
	margin : 0;
	padding : 0;
	text-align : right;
	color : #dddcd7;
}

label {
	display : block;
	margin-top : 1em;
	margin-bottom : .4em;
	font-size : 92%;
}

input, textarea {
	width : 280px;
	padding : 2px 1px;
	background : #4b514b;
	border : 1px solid #22211c;
	color : #f0f0f0;
	font-family : Verdana, Arial, sans-serif;
}

.submit {
	width : 284px;
}

.submit input {
	float : right;
	width : auto;
	padding : 4px .5em;
	border : 1px solid #696861;
	font : 92% Verdana, Geneva, Arial, Helvetica, sans-serif;
	cursor : pointer;
	cursor : hand;
}


.submit input:hover {
	background : #444;
	border : 1px solid #696861;
	color : #b6b4a9;
}






/* These are standard sIFR styles... do not modify */
.sIFR-flash {
	margin : 0;
	visibility : visible !important;
}

.sIFR-replaced {
	visibility : visible !important;
}

span.sIFR-alternate {
	width : 0;
	display : block;
	position : absolute;
	left : 0;
	top : 0;
	height : 0;
	overflow : hidden;
}

/* Hide Adblock Object tab: the text should show up just fine, not poorly with a tab laid over it. */
.sIFR-flash + div[adblocktab=true] {
	display : none !important;
}

.sIFR-hasFlash #content h2 {
	font-size : 22px;
	letter-spacing : -9px;
	visibility : hidden;
}





/*** =homepage ***/


.home #custom-doc {
	width : 46.154em;
	margin : auto;
	text-align : left;
	min-width : 600px;
}

.home #hd {
	margin-top : 60px;
}

.home #hd h1 {
	width : 600px;
	height : 60px;
	background : url(../img/home-logo.png);
	text-indent : -9999px;
}

.home #hd h2 {
	width : 600px;
	height : 40px;
	background : url(../img/home-subtitle.png);
	text-indent : -9999px;
}

.home #bd {
	background : transparent;
}

.home #bd blockquote {
	width : 480px;
	height : 300px;
	margin : auto;
	font : italic 114% "Trebuchet MS", Garamond, Verdana, Helvetica, Arial, sans-serif;
	text-align : justify;
}

.home #bd blockquote p.author {
	margin-top : 1em;
	text-align : right;
	font-style : normal;
}

.home #bd ul {
	width : 450px;
	margin : auto;
}

.home #bd ul li {
	display : inline;
}

.home #bd li a {
	float : left;
	display : block;
	width : 225px;
	height : 50px;
	text-indent : -9999px;
}

.home #bd li.foto a {
	background : url(../img/home-fotografie.png) no-repeat;
}

.home #bd li.stampa a {
	background : url(../img/home-stampa.png) no-repeat;
}



.album {
	margin-top : 4em;
}

.album h3 {
	float : left;
	margin-top : 65px;
}

.weddings .album {
	margin-top : 1em;
}

.weddings .album h3 {
	margin-top : 0;
}

.album a {
	float : left;
}

#content .highlightphoto h3 {
	text-align : center;
}

#content .highlightphoto p {
	margin-top : 2em;
	text-align : center;
}

#content .albumphoto {
	margin-top : 4em;
}

p.entra {
	margin-top : 2em;
	margin-right : 10px;
	text-align : center;
}

p.entra img {
	display : block;
	margin : auto;
}

.stampa img {
	display : block;
	margin : 25.5em auto .5em;
	border : 1px solid #000;
}

.stampa .sidebar {
	text-align : center;
	font-size : 92%;
}

.biografia img {
	display : block;
	margin : 6em auto;
}



/*** =slideshowpro ***/

#ssp {
	width : 720px;
	margin : 10px auto;
}

#gallery-nav {
	height : 30px;
	margin-bottom : 10px;
	padding-left : 20px;
	font : bold 85% "Lucida Grande", Helvetica, Arial, sans-serif;
	background : #383731
}

#gallery-nav li {
	float : left;
	margin-right : 25px;
}

#gallery-nav li.albumtitle {
	margin-right : 10px;
}

#gallery-nav li.first {
	padding-left : 27px;
	background : url(../img/nav-divider.png) left center no-repeat;
}

#gallery-nav a {
	display : block;
	line-height : 30px;
	text-decoration : none;
}

#gallery-nav a:hover {
	text-decoration : underline;
}

#gallery-nav li.selected a {
	color : #dddcd7;
}

.clearfix:after {
	content : ".";
	display : block;
	height : 0;
	clear : both;
	visibility : hidden;
}
.clearfix {display : inline-block;}

