/* Begin General styles */

body * {
	font-size:1em;
}
/* Begin Harmonise */

	
/* Begin Reset */
/* Based on http://meyerweb.com/eric/tools/css/reset/ */
/* v1.0 | 20080212 */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td {
	margin:0;
	padding:0;
	border:0;
	outline:0;
	vertical-align:baseline;
	background:transparent;
}

body {
	color:#000;
}

ul {
	list-style:none;
}

blockquote,q {
	quotes:none;
}

table {
	border-collapse:collapse;
	border-spacing:0;
}
/* end Reset */

	
/* Page Style */
a {
	color:#F26522;
	text-decoration:none;
}

a:hover {
	text-decoration:underline;
}


	
/* begin layout */
.site-bg {
	background:url(../_images/site-bg.png) no-repeat center top;
	float:left;
	width:100%;
	/* Added for new gift vine */
	padding-bottom: 135px;
}

.navTop {
	float:left;
	width:100%;
	text-align:right;
}
	
	.navTop a {
		margin-left: 10px;
		float: right;
		text-indent: -999em;
		overflow: hidden;
		}
		
		.top-logo {
			width: 170px;
			height: 40px;
			}
			
		.top-return {
			width: 148px;
			height: 45px;
			background: url(../_images/btn-return.png);
			}
			
	.navTop a img {
		display: none;
		}

#containWrapper {
	width:895px;
	margin:0 auto;
	position:relative;
}

#wrapperPageTitle {
	position:absolute;
	top:80px;
	width:895px;
	text-align:right;
	height:190px;
	left:-4px;
}

#pageTitle {
	float:left;
	text-align:left;
	padding-left:360px;
}

#wrapperPageTitle .createdBy {
	font-size: 14px;
	margin-top: -5px;
	margin-bottom: 6px;
}

#wrapperPageTitle h1 {
	font-size:2.3em;
	margin:15px 0 5px;
}

#wrapperPageTitle h2 {
	font-size:1em;
	margin-bottom:20px;
}

#wrapperPageTitle h3 {
	font-size:1.6em;
	font-weight:bold;
}
.staticimage {
	padding-left:19px;
	padding-top:21px;
}

.photo {
	position:absolute;
	background:url(../_images/photo-frame.png) no-repeat 0 0;
	width:344px;
	height:249px;
	overflow:hidden;
	top: -185px;
	left:-10px;
	z-index:90;
}

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

	.photo span ul{
        display:block;
		height:209px;
		margin:20px;
		width:304px;
    }
	.photo span ul li{
		background-color:black;
        text-align:center;
		display:none;
    }
	.photo span ul li img{
        vertical-align:middle;
		display:inline;
    }

#contain {
	float:left;
	margin: 230px 0 0;
	position:relative;
	width:100%;
	background:url(../_images/content-bg.png) repeat-y 0 0;
}

.contentBase {
	float:left;
	width:895px;
	clear:both;
	text-align:center;
	padding:40px 0 50px;
	background:url(../_images/content-base.png) no-repeat 0 0;
}

#wrapperContent {
	float:right;
	width:560px;
	padding:45px 0 0;
}

#wrapperContent #content,#wrapperMessages {
	float:left;
	width:533px;
	margin:0 0 10px;
}

#wrapperContent #content #body,#messages {
	padding:15px 15px 0;
}

.pageTitle h1 {
	padding:0 0 35px;
	font-size:1.6em;
}

.pageTitle h2 {
	padding:0 0 35px;
	font-size:1.4em;
}

.pageTitle h3 {
	padding:0 0 15px;
	font-size:1.1em;
}

.videosPageTitle h2 {
	padding:0 0 15px;
	font-size:1.4em;
}

.videosBetweenSpace{
    height: 40px;  
}

.contentGallery,.pager,.pager ul,.contentGallery ul {
	float:left;
	width:100%;
}

.contentGallery li {
	float:left;
/*	margin-right:5px;
	margin-bottom:5px;*/
	padding: 0 8px 8px 0;
/*	width:80px;
	height:80px;	*/
    text-align: center;
    vertical-align: middle;
}

.contentGallery ul {
	width: 515px;
	margin:0 0 15px;
}

.contentGallery a {
	display: block;
	overflow: hidden;
	width: 120px;
	height: 80px;
	}

.contentGallery a, .contentGallery img {}

.contentLatestGallery,.pager,.pager ul,.contentLatestGallery ul {
	float:left;
	width:100%;
}

.contentLatestGallery li {
	float:left;
	width:45px;
	height:45px;
	margin-right:5px;
	margin-bottom:5px;
	text-align: center;
    vertical-align: middle;
	/* Addition by Justin */
	overflow: hidden;
	background: #eee;;
	/* End Addition by Justin */
}

/* Addition by Justin */
.contentLatestGallery li a {
	display: block;
	margin: 0 auto;
	width: 45px;
	height: 45px;
	overflow: hidden;
	padding: 0;
	}
/* End Addition by Justin */

.contentLatestGallery ul {
	margin: 0 0 15px;
}

.pager ul li {
	float:left;
	width:33%;
	text-transform:uppercase;
	font-size:11px;
}

.pager ul li.next {
	text-align:right;
}

.pager ul li.pageCount {
	text-align:center;
}

.pager ul li.pageCount a {
	color:#2e2923;
	font-weight:bold;
	margin:0 1px;
	font-size:12px;
	padding:0 2px;
}

.pager ul li.pageCount a:hover {
	background:#2e2923;
	color:#FFF;
	text-decoration:none;
}

.pager ul li.pageCount a.current:hover {
	background:none;
	color:#F26522;
}

#messages h3 {
	padding:0 0 20px;
	color:#323337;
	font-size:1.4em;
}

#messages ul li {
	padding-bottom:30px;
	margin:0 0 15px;
	font-size:1.1em;
	border-bottom: 1px solid #ccc;
	overflow: hidden;
}

#messages ul li .image {
	float: left;
	margin-right: 10px;
}

#messages ul li .body {
	float: left;
}

#messages ul li span {
	color:#766c56;
	font-size:1.2em;
	font-weight:bold;
	padding:0 3px;
}

#messages ul li .author {
	/*display: inline;*/
}

#messages ul li a {
	font-size:11px;
	text-decoration:none;
}

#messages ul li .date {
	/*float:left;*/
	width:100%;
	padding:0 0 2px;
	font-size:11px;
}

#wrapperContent #content #body blockquote {
	padding:0 0 20px 25px;
	font-size:1.4em;
}

#wrapperContent #images {
	margin-bottom:20px;
}

.extraBase,.extraTop {
	float:left;
	width:533px;
	height:18px;
}

#wrapperContent #images #imageMain,#wrapperContent #images #imageSub span {
	margin:10px;
}

#wrapperContent #bodyIntro {
	font-size:16px;
}

#wrapperContent p {
	margin-bottom:10px;
	line-height:1.3em;
}

#wrapperMessages {
	top:180px;
}

#wrapperFuneralArrangements {
	float:left;
	margin: 54px 0 0 15px!important;
	padding: 65px 0 0;
	width:304px;
	background:url(../_images/left-section-photo.jpg) no-repeat 0 0;
}

#wrapperFuneralArrangements #leftCol {
	padding-left:30px;
	float:left;
	width:250px;
}

#wrapperFuneralArrangements #leftCol h1,
#wrapperFuneralArrangements #leftCol h2 {
	margin:0 0 15px;
	text-align: right;
}

.photoGal_list,.latestVideo,.adBanner_left {
	text-align:right;
	margin:0 0 30px;
	float:left;
	width:100%;
}

.latestVideo a,#funeralArrangements li a,.link {
	text-decoration:none;
	padding-left:13px;
	font-size:12px;
}

.latestVideo h1{
    font-size: 1.4em;    
}

.latestVideo p{
    margin: 10px 0;    
}

.youTube_plyrLeft {
	float:left;
	margin:0 0 15px;
}

#photoList {
	float:left;
	width:280px;
	margin:0 0 10px;
}

#photoList li {
	float:left;
	margin-right:5px;
}

.adBanner_left {
	float:left;
}

.adBanner_left {
/*	clear: both;*/
/*	padding: 15px 0 5px;*/
	}

	.adBanner_left img {
		display: none;
		}
		
	.adBanner_left a {
		display: block;
		width: 250px;
		height: 56px;
		margin: 0 auto;
		}

#funeralArrangements {
	list-style:none;
	float:left;
	width:100%;
}

#funeralArrangements li {
	float:left;
	width:100%;
	text-align:right;
	padding:0 0 15px;
	margin-bottom:8px;
}

#sendMessage {
	float:left;
	width:100%;
	margin:15px 0 0;
}

#sendMessage h3 {
	font-size:1.2em;
}

#sendMessage div {
    overflow:hidden;
    margin-bottom:10px;
}

#sendMessage textarea {
	padding:3px;
	width:98%;
	height:200px;
	margin:0 0 10px;
	font-family:Arial, Helvetica, sans-serif;
}

#sendMessage label {
    display: block;
    padding-bottom: 3px;
}

#sendMessage input {
	margin-right:10px;
}

#sendMessage button {
	float:left;
	border:0;
	height:20px;
	margin:10px 0 0;
	cursor:pointer;
	background: none;
}

#sendMessage .buttons {
	width: 100%;
	overflow: hidden;
}

#sendMessage .addGift {
	float: left;
	margin:13px 0 0 15px;
	padding: 1px 0 4px 70px;
	background: url(/Custom/AbsentFriends/Images/giftshop-sm.png) no-repeat 0 -1px;
}

#sendMessage .addGift a {
	font-weight: normal;	
}

#nav {
	background:url(../_images/nav-bg.png) no-repeat 0 0;
	height:86px;
	left:279px;
	position:absolute;
	top: -43px;
	width:620px;
	clear: both;
}

#nav ul {
	padding: 10px 0 0 85px;
	float:left;
}

#nav li {
	float:left;
	margin-right:25px;
	padding-right:0;
}

#nav li a:hover {
	color:#DFDFDF;
}

#nav li.last {
	padding:0;
	margin:0;
	background:none;
}

.audio {
	float:left;
	text-align:right;
	width:93%;
	padding-top:25px;
}

.timeline {
	background: url(../_images/timeline-spine.png) repeat-y center;
	width: 100%;
	float: left;
	overflow:hidden;
}

.timeline .year {
	width: 50%;
	float: left;
	margin-top: -40px;
	margin-left: 12px;
	text-align: right;
	background: url(../_images/timeline-marker-left.png) no-repeat right top;	
}

.timeline .first {
	margin-top: 0;
}

.timeline .odd {
	float: right;
	text-align: left;
	margin-right: 11px;
	margin-left: 0;
	background: url(../_images/timeline-marker-right.png) no-repeat left top;
} 

.timeline .year .date {
	margin: 0 30px 10px 0;
}

.timeline .year .detail {
	background: url(../_images/timeline-detail-left.png) no-repeat right top;
	font-size: 0.785em;
	color: #fff;
	height: 80px;
	overflow:hidden;
	padding: 15px 15px 10px 15px;
	width: 200px;
	text-align: left;
}

.timeline .year .detail .img {
    float:right;
	height: 60px;
	overflow: hidden;
}

.timeline .odd .date {
	margin: 0 0 10px 30px;
	font-weight: bold;
}

.timeline .odd .detail {
	background: url(../_images/timeline-detail-right.png) no-repeat left top;
	margin: 0 0 0 30px;
}

.timeline .gap {
    background: url(../_images/timeline-gap.png) no-repeat center 5px;
    clear:both;
    height:60px;
    margin:50px 0;
    padding:0 0 0 120px;
}

.contentLatestGallery a {
    background:none !important;
}

	.editMemorial {
		background: url(/Custom/AbsentFriends/Images/button-edit-sm.png) no-repeat 0 0;
		z-index: 9999;
		position: absolute;
		text-indent: -99999em;
		top: 50px;
		right: 54px;
		width: 45px;
		height: 22px;
	}
	
	.editMemorial:hover {
		background: url(/Custom/AbsentFriends/Images/button-edit-sm.png) no-repeat 0 -22px;
	}
	
	.editMemorial:active {
		background: url(/Custom/AbsentFriends/Images/button-edit-sm.png) no-repeat 0 -44px;
	}
	
#theGifts {
	clear: both;
	height: 1%;
	margin-left: 60px;
}

.flowers {
	position: relative;
	margin: auto;
	padding: 10px 0 10px 105px;
	margin-bottom: -40px;
	background: url(/Custom/AbsentFriends/Images/gifts/fl-bg-vine-l-1.png) no-repeat 0px 20px;
}	

.flowersBg {
	overflow: hidden;
	padding: 10px 155px 10px 0;
	background: url(/Custom/AbsentFriends/Images/gifts/fl-bg-vine-r-1.png) no-repeat 100% 10px;
}	

.alt .flowers {
	overflow: hidden;
	margin: auto;
	padding: 10px 0 10px 145px;
	margin-bottom: -40px;
	background: url(/Custom/AbsentFriends/Images/gifts/fl-bg-vine-l-2.png) no-repeat 0px 19px;
}	

.alt .flowersBg {
	overflow: hidden;
	padding: 10px 119px 10px 0;
	background: url(/Custom/AbsentFriends/Images/gifts/fl-bg-vine-r-2.png) no-repeat 100% 9px;
}	

.flowers .flower {
	/*background: url(/Custom/AbsentFriends/Images/gifts/fl-bg-vine-1.png) repeat-x;*/
	float: left;
	margin: 0 -10px 0 0;
	position:relative;
}

.flowers .flower img {
	margin-top: -10px;
	position: relative;
	z-index: 100;
}

#funeralPlans {
	clear: both;
	margin: 60px 30px 0;
}

#funeralPlans #serviceInformation {
	text-align: center;
	margin-bottom: 2em;
}

#funeralPlans #messagesDetails,
#funeralPlans #funeralFooter {
	overflow: hidden;
}

#funeralPlans #messagesDetails #funeralMessages,
#funeralPlans #funeralFooter #familyMessage {
	float: left;
	width: 48%;
	margin-right: 2%;
	text-align: right;
}

#funeralPlans #messagesDetails #funeralMessages li {
	overflow: hidden;
	margin-bottom: 1em;
}

#funeralPlans #messagesDetails #funeralMessages blockquote {
	padding: 0 0 0 30px;
	float: right;
}

#funeralPlans #messagesDetails #funeralMessages blockquote b {
	background: url(/Custom/AbsentFriends/Memorials/Layouts/classical/_images/f-quote.png) no-repeat;
	float: left;
	width: 32px;
	height: 25px;
}

#funeralPlans #messagesDetails #funeralMessages cite {
	display: block;
	clear: both;
}

#funeralPlans #messagesDetails #funeralDetails,
#funeralPlans #funeralFooter #leaveMessage {
	float: right;
	width: 48%;
	margin-left: 2%;
}

#funeralPlans #messagesDetails #funeralDetails #funeralArrangements li {
	text-align: left;
}

/* ----------
                Scrollable gift container
---------- */
#j-giftContainer {
	position: fixed;
	height: 127px;
	bottom: 0;
	left: 0;
	width: 100%;
	/*
	background: #cecece;
	border-top: 4px solid #fff;
    */
    background-position: top left;
    background-repeat: repeat-x;
	padding: 10px 0 0;
	z-index: 30;
	}
	
#j-giftsBackground {
    position: relative;
    padding: 0 254px 0 0;
    margin: 0 auto;
    width: 0;
    background: url(/custom/absentfriends/images/gifts/vine_right.png) center right no-repeat;
    }

#j-gifts {
	position: relative;
	/*
	width: 958px; // Same width as the flower container, set via javascript.
    */
    width: 0;
	height: 95px;
	/*margin: 0 auto;*/
	padding: 0 0 0 127px;
	text-align: center;
	overflow: hidden;
	background: url(/custom/absentfriends/images/gifts/vine_left.png) center left no-repeat;
	}
		
.j-flower-container {
	display: block;
	height: 70px;
	width: 0;
	margin: 0 auto;
	overflow: hidden;
	}
	
.j-flowers {
	/*width: 0;*/
	margin: 0 auto;
	display: block;
	overflow: hidden;
	}
	
.j-flowers img {
	float: left;
	}
	
.gifts-control {
	position: absolute;
	width: 40px;
	height: 40px;
	text-indent: -999em;
	overflow: hidden;
	}
	
	#giftsPrevious {
		left: 7px;
		top: 13px;
		background: url(/custom/absentfriends/images/memorials/button_footer_left.png) no-repeat;
		}
	
	#giftsNext {
		right: 5px;
		top: 37px;
		background: url(/custom/absentfriends/images/memorials/button_footer_right.png) no-repeat;
		}
		
	.gifts-control:hover {
		/*opacity: 0.75;*/
		}
	
	.gifts-control-disabled {
		visibility: hidden;
		}
		
p.call-to-action {
	margin: -10px 0 0;
	/*
	padding: 10px 0 0;
	height: 22px;
	font-size: 12px;
	line-height: 18px;
    */
	}
	
	p.call-to-action a {
		color: #333;
		display: block;
		margin: 0 auto;
		width: 94px;
		height: 29px;
		text-indent: -999em;
		overflow: hidden;
		background: url(/custom/absentfriends/images/memorials/button_add-gift.png) no-repeat;
		}
