@charset "UTF-8";
/* CSS Document */


/* BASIC STUFF */
* {
	margin: 0;
	padding: 0;
	border:none;
}
html, body {
	height: 100%;
	min-height:100%;
	font-size:20px;
	color:#000; /* control text colour globally 67757d*/
/*	background:url(../img/line_height_20px.jpg) repeat;
*/
overflow:scroll;
-webkit-overflow-scrolling:touch;

}


article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display:block;
	width:100%;
}

img { max-width: 95%; }


.center {text-align:center;}
.img {line-height: 1em;}

.hidden {overflow:hidden;}
.block { display:block;}

#menu {display:none; }
#menu ul li {margin:0px;}


nav { position:relative;  height: 40px;  padding-top: 12px; z-index:99; }
nav ul {  background:white;}
nav h2 {cursor:pointer;}
.ribbon { position:relative; left:5%; top:-260px;; z-index: 100; width:15.833333333333%; max-width:100px;}
.ribbon img {width:100%; }




footer { padding: 2em 0em 2em 0em; text-align:center;}
footer * { width:80%; margin-left:auto; margin-right:auto;}


/* HEADER */
header {height: 226px; padding-top:140px;  }
.header_wedding { height: 200px; padding-top:50px; text-align:center;}
.header_wedding img {margin-bottom: 1em; }






.title { height: 100px; width:60%;  background:url(/img/Dem_and_Sid_title.png) center bottom no-repeat; background-size:contain; margin-left:auto; margin-right:auto; min-width:250px;  }
.title span {display:none;}

.squirrel_dem { position:relative; bottom:209px; left:-10%; width:50%; height:300px; background:url(../img/squirrel_dem.png) no-repeat; background-size: contain; background-position:right bottom;}
.squirrel_sid { position:relative; top:-608px; margin-left:0px; right:-65%; width:50%; height:240px; background:url(../img/squirrel_sid.png) no-repeat; background-size:contain; background-position:top left;}

/* SECTIONS */
.content  { width:90%; margin-left:auto; margin-right:auto; background:none; }
.intro {  margin-top: 3em; max-width:720px;}
.intro p span {float:left; height:80px; width:88px; margin-top:0; background:url(/img/dropcap_O.jpg) no-repeat; background-size:contain; color: transparent;}

.container { min-height:100%;  }

.page { text-align:center;}
.page h2 { padding-top:2em;}
.page p { max-width:720px; margin-left:auto; margin-right:auto;}


/* WEDDINGS */
.weddings { margin-top: 3em; text-align:center; max-width:960px;}
.wedding_banner { margin-top: 3em; margin-left:auto; margin-right:auto; }
.wedd_details { margin-top: 4em; margin-bottom:2em; }
.wedd_details img {margin-bottom: 1em; }
.wedd_details h1 { width:100%; padding-top: 2em; border-top: black 1px solid; }

/* LIGHT BOX */

#imagelightbox
{
    position: fixed;
    z-index: 9999;
}

#imagelightbox-overlay {
	background-color:#ffffff;
	background-color:rgba( 255, 255, 255, .9 );
	position:fixed;
	z-index:9998;
	top:0;
	right:0;
	left:0;
	bottom:0;
}

#imagelightbox-close {
width: 2.5em;
text-align: left;
text-indent: -9999px;
background-color: #666;
position: fixed;
z-index: 10002;
top: 1em;
right: 2.5em;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
border-radius: 50%;
-webkit-transition: color .3s ease;
-moz-transition: color .3s ease;
-ms-transition: color .3s ease;
-o-transition: color .3s ease;
transition: color .3s ease;
}

#imagelightbox-close:before {
-webkit-transform: rotate( 45deg );
-moz-transform: rotate( 45deg );
-ms-transform: rotate( 45deg );
-o-transform: rotate( 45deg );
transform: rotate( 45deg );
}
#imagelightbox-close:after {
-webkit-transform: rotate( -45deg );
-moz-transform: rotate( -45deg );
-ms-transform: rotate( -45deg );
-o-transform: rotate( -45deg );
transform: rotate( -45deg );
}
#imagelightbox-close:before, #imagelightbox-close:after {
width: 2px;
background-color: #fff;
content: '';
position: absolute;
top: 20%;
bottom: 20%;
left: 50%;
margin-left: -1px;
}

	/* WITH ACTIVITY INDICATION */

		#imagelightbox-loading,
		#imagelightbox-loading div
		{
			-webkit-border-radius: 50%;
			-moz-border-radius: 50%;
			border-radius: 50%;
		}
		#imagelightbox-loading
		{
			width: 2em; /* 40 */
			height: 2em; /* 40 */
			background-color: #444;
			background-color: rgba( 0, 0, 0, .5 );
			position: fixed;
			z-index: 10003;
			top: 50%;
			left: 50%;
			padding: 0; /* 10 */
			margin: -1.25em 0 0 -1.25em; /* 20 */

			-webkit-box-shadow: 0 0 2.5em rgba( 0, 0, 0, .75 ); /* 40 */
			-moz-box-shadow: 0 0 2.5em rgba( 0, 0, 0, .75 ); /* 40 */
			box-shadow: 0 0 2.5em rgba( 0, 0, 0, .75 ); /* 40 */
		}
			#imagelightbox-loading div
			{
				width: 1em; /* 20 */
				height: 1em; /* 20 */
				margin-top:0.5em;
				margin-left:auto;
				margin-right:auto;
				background-color: #fff;

				-webkit-animation: imagelightbox-loading .5s ease infinite;
				-moz-animation: imagelightbox-loading .5s ease infinite;
				-o-animation: imagelightbox-loading .5s ease infinite;
				animation: imagelightbox-loading .5s ease infinite;
			}

			@-webkit-keyframes imagelightbox-loading
			{
				from { opacity: .5;	-webkit-transform: scale( .75 ); }
				50%	 { opacity: 1;	-webkit-transform: scale( 1 ); }
				to	 { opacity: .5;	-webkit-transform: scale( .75 ); }
			}
			@-moz-keyframes imagelightbox-loading
			{
				from { opacity: .5;	-moz-transform: scale( .75 ); }
				50%	 { opacity: 1;	-moz-transform: scale( 1 ); }
				to	 { opacity: .5;	-moz-transform: scale( .75 ); }
			}
			@-o-keyframes imagelightbox-loading
			{
				from { opacity: .5;	-o-transform: scale( .75 ); }
				50%	 { opacity: 1;	-o-transform: scale( 1 ); }
				to	 { opacity: .5;	-o-transform: scale( .75 ); }
			}
			@keyframes imagelightbox-loading
			{
				from { opacity: .5;	transform: scale( .75 ); }
				50%	 { opacity: 1;	transform: scale( 1 ); }
				to	 { opacity: .5;	transform: scale( .75 ); }
			}

/* BACKGROUND */

.bg_wc { background:url(/img/bg_watercolour.jpg); }
.bg_wc_p2w { background:url(/img/bg_watercolour_p2w.jpg) repeat-x; background-position:center top; width:100%; height:54px; }
.bg_wc_w2p { background:url(/img/bg_watercolour_w2p.jpg) repeat-x; background-position:center bottom; width:100%; height:54px; }

/* TESTING */

p, h1, div, li {border: orange 0px solid}