/*
Theme Name: Friends At Rest
Author: Ronis
Author URI: http://ronis-bt.com

*/

/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menu/lightbox.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

/* STOP TEXT GOING WEIRD ON IPHONE */
html { -webkit-text-size-adjust: none; }
*{
	margin:0;
	padding:0;
}
img{
	border:0;
}
body{
	text-align:center;
	font:100%/150% verdana, arial, helvetica;
	color:#333;
}
body:after, #bd:after {
	content:'';
	display:block;
	clear:both;
}
#ft {
	width:960px;
	padding:0;
	margin:auto;
	min-height:68px;
	_height:68px;
}

a{
	color:blue;
}
a:active, a:focus, img, object{
	outline: 0; 
}
#bd a {
	color:#000080;
	font-size:12px;
	cursor: pointer;
	cursor: hand;
}
#bd a:hover {
	color:blue;
}
#bd {
	margin-top:7px;
	min-height:200px;
}

.nomp {
	margin:0 !important;
	padding:0 !important;
}

.page{
	width:970px;
	margin:0 auto;
	text-align:left;
}
.clear{
	clear:both;
}
.center{
	text-align:center;
}
.alignleft{
    float:left;
}
#pg {
	width:968px;
	margin:auto;
	text-align:left;
}
/*
#logo_container {
	display:block;
	width:968px;
	height:96px;
	background:transparent;
	text-align:left;
	clear:both;
	padding-top: 2px;
	position:relative;
}
*/
#logo_container {
	display:block;
	width:910px;
	height:91px;
	background:transparent url(../images/header_images/top_header.jpg) 0 0 no-repeat;
	text-align:left;
	clear:both;
	padding-top: 0px;
	position:relative;
	margin-left: 4px;
}
	
	
	
#logo_container a img, #logo_container a {
	margin:0;
	padding:0;
	background:transparent;
	float:left;
}

#logo_container a {
	margin-left:51px;
	float:left;
	position:absolute;
	z-index:1;
}
/*
#menu_container {
	width:968px;
	height:100px;
	margin-left: 4px;
	background:transparent url(../images/head_graphic.jpg) 0 0 no-repeat;
}
*/
#menu_container {
	width:910px;
	height:104px;
	margin-left: 4px;
	background:transparent url(../images/header_images/bottom_header.jpg) 0 0 no-repeat;
}
#menu_container_short {
	width:910px;
	height:104px;
	margin-left: 4px;
	background:transparent url(../images/header_images/bottom_header_basket.jpg) 0 0 no-repeat;
}
/*
#menu_container_short {
	width:800px;
	height:100px;
	margin-left: 4px;
	background:transparent url(../images/head_graphic_short.jpg) 0 0 no-repeat;
}
*/
#basket_container {
	width:140px;
	height:100px;
	margin-left: 4px;
	background:transparent url(../images/basket.jpg) 0 0 no-repeat;
	cursor:pointer;
}
#topsearch{
	display:block;
	width:350px;
	float:right;
	padding:1px;
	margin-top:32px;
}
#topsearch .str{
	border:1px solid #999;
	padding:1px;
	margin:5px 0 0 0;
	width:98px;
}
#topsearch .cmd{
	display:inline;
	font-size:9px;
	font-weight:normal;
	color:#555;
	cursor:pointer;
	padding-top: 0px;
	margin-left: 5px;
	vertical-align:middle;
	width:25px;
	height:15px;
}

#topsearch label{
	font-size:10px;
	font-weight:bold;
	margin:4px 0px 0px 0px;
	color:#434648;
	font-weight:bold;
	height:10px;
	letter-spacing: .3px;
	text-decoration:none;
	text-transform:uppercase;	
}
.photo-galleries h1, #bd h1 a { 
	font-size: 13px;
}
#main_content {
	width:700px;
	float:left;
}

#main_content h1 {
	font-size:16px;
	color:#000080;
	font-family: 'Lucida Sans Unicode', Verdana, Tahoma, 'Lucida Grande', sans-serif;
	font-weight:normal;
}
#main_content h2 {
	font-size:12px;
	color:#000080;
	/*font-family:helvetica,verdana,arial;*/
	font-family: 'Lucida Sans Unicode', Verdana, Tahoma, 'Lucida Grande', sans-serif;
	font-weight:normal;
}
#main_content h3 {
	font-size:10px;
	color:#404040;
}



#bd.search-memorials ul.memorials li .actions li{
	padding:0;
	background:none;
	left:0;
}
#bd.search-memorials ul.memorials li .actions li a{
	border:0;
	position:static;
}
#bd.search-memorials ul.memorials li .actions li a:hover{
	text-decoration:underline;
}
#bd ul.sections {
	clear:both;
	display:block;
	overflow:hidden;
	margin:auto;
}
#bd ul.sections  li{
	display:inline;
	padding:0 4px 0 12px;
	font-weight:300;
	background:url(../images/dash_grey.gif) left 10px no-repeat;
	position:relative;
}
#bd ul.sections  li.first{
	background:none;
}
#bd ul.sections li a{
  text-decoration:none;
  color:#656565;
  font-size:12px;
}
#bd   ul.sections li a:hover{
  color:black;
  font-size:12px;
}
#bd   ul.sections li a:active{
  color:black;
    font-size:12px;
}
#bd .memorials li{
     font-size:12px;
     color:#606060;
     margin:0;
     display:block;
     padding:5px;
     line-height:130%;
     position:relative;
}
#bd .memorials li.alt{
	background:#f3f3f3;
}
#bd .memorials strong{
  color:#09326A;
}
#bd .memorials h4{
	width:350px;
}
#bd .memorials h4,
#bd .memorials h4 a{
	font-size:12px;
}

#bd .memorials a,
.friends-list li a{
  text-decoration:none;
  color:#13365c;
  font-weight:bold;
}
#bd.memorials .entry,
#bd.friends-list .entry,
#bd.messages .entry{
	padding-left:0;
}
#bd.my-memorials .memorials li{
	margin-bottom:10px;
}
#bd.my-memorials .memorials{
	margin:10px 0;
}
#bd.messages .entry{
	padding-left:10px;
}
#bd .memlinks a{
	display:block;
	overflow:hidden;
	float:left;
	height:19px;
	color:#999;
	font-size:1.4em;
	text-decoration:none;

}
#bd .memlinks span {
	height:19px;
	overflow:hidden;
} 

#bd .memlinks a:link img{

}

#bd .memlinks a:visited img{

}
#bd .memlinks a:focus img,
#bd .memlinks a:hover img{
	top:-19px;
	position:relative;
	display:block;
	overflow:hidden;
	float:left;
}



#bd .memlinks span{
	float:left;
}

#bd .memlinks span{
	position:relative;
}


#bd .mian-block{
	min-height:360px;
}
#bd .more-memorial p {
	text-align: justify;
}
#bd .more-memorial {
	clear:both;
	padding-top:15px; width:560px;
}

#celebinfo {
	width:325px;
	height:165px;
	float:left;
	text-align:left;
	padding:20px 0 0 0;
	
}
#celebinfo .person-image{
	float:left;
	width:64px;
}

#celebinfo p {
	margin:0;
	width:300px;
	_display:inline;
	padding:2px 0 4px 0px;
	font-size: 11px;
	color:#333;
	text-align: justify;
	line-height: 141%;
}

*:first-child + html #celebinfo p {
	margin:0;
	width:300px;
	display:inline;
	padding:2px 0 4px 0px;
	font-size: 11px;
	color:#333;
	text-align: justify;
	line-height: 141%;
}

#celebinfo div span {
	font-size:11px;
	font-style:italic;
	color:#6f6f6f;
	line-height: 100%;
	margin:0;
	padding:0;
}

#celebinfo h2 {
	font-weight:bold;
	font-size:12px;
	margin:0;
	padding-bottom:1px;
}

#celebinfo img {
	float:left;
}
.home #content{
	
	width:650px;
	
}
#content {
	width:650px;
	float:left;
	padding:5px 10px 10px 14px;
	position:relative;
	/*overflow:hidden;*/
	_margin-left:0;
	_padding-left:60px;
}
#content.memorial-tpl{
	width:auto;
}

#content.narrowcolumn,
#content.widecolumn.single{
	margin-right:1px;
	padding:1px;
	margin-left:80px;
	width:600px;
}
#center {
	float:left;
	text-align:center;
	width:561px;
}

#center_main { width: 640px; margin-left: 12px; }
#center_main p, #latest_events {
	float:left;
	margin:5px 0 0 0;
	font-size:11px;
	line-height:130%;
    text-align:justify;
}
#center_main p{
	line-height:140%;
}
.more {
	margin-top:15px;
	text-align:right;
	display:block;
	padding-top:1px;
	float:right;
	text-decoration: none;
	/*color:#2d699f;*/
	color:#355d8e;

	font-weight:bold;
	
	}

.more_left {
	margin-top:15px;
	text-align:right;
	display:block;
	padding-top:1px;
	float:left;
	text-decoration: none;
	/*color:#2d699f;*/
	color:#355d8e;

	font-weight:bold;
	
}
.more_link { font-weight:bold; 	text-decoration:none; }

.more_right{
	_padding-top:6px;
}
#mini_info {
	width:325px;
	height:330px;
	float:left;
	text-align:left;
	padding:20px 0 0 0;
	
}

.portrait {
	float:left;
	
}

#mini_info p {
	margin:0;
	width:300px;
	_display:inline;
	padding:2px 0 4px 0px;
	font-size: 11px;
	color:#333;
	text-align: justify;
	line-height: 141%;
}
*:first-child + html #mini_info p {
	margin:0;
	width:300px;
	display:inline;
	padding:2px 0 4px 0px;
	font-size: 11px;
	color:#333;
	text-align: justify;
	line-height: 141%;
}

#mini_info div span {
	font-size:11px;
	font-style:italic;
	color:#6f6f6f;
	line-height: 100%;
	margin:0;
	padding:0;
}

#mini_info h2 {
	font-weight:bold;
	font-size:12px;
	margin:0;
	padding-bottom:1px;
}
#mini_info h2 a,
#celebinfo h2 a{
	text-decoration: none;
	color:#000;
	font-weight: bold;
	text-transform:none;
	margin:3px 0 5px 0;
	line-height: 120%;
	font-family:verdana,arial,helvetica;
	font-size:1.1em;
}
#mini_info h2 a:hover,
#celebinfo h2 a:hover{
    color:blue;
}
#mini_info img {
	float:left;
}
#friends_at_rest_testimonials {
	margin-top:30px;
	float:right;
}
.portrait {
	float:left;
	
}

.person-image{
	background:url('../images/shadow-small.png') 50% 50% no-repeat;
	-background:none;
	-filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/wp-content/themes/friendsatrest/images/shadow-small.png',sizingMethod='crop');
	overflow:hidden;
	margin-left:auto;
	margin-right:auto;
	display:block;
  /*float:left;*/
  width:78px;
	padding:4px 2px 4px 2px;
}

.memorial_preview {
	float:left;
	width:140px;
	margin-left:4px;
	margin-right:4px;
	margin-bottom:4px;
	margin-top:4px;
	border:1px solid #ccc;
}

.book-image{
	background:url('../images/homepage/book_image.jpg') 50% 50% no-repeat;
	-background:none;
	-filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/wp-content/themes/friendsatrest/images/homepage/book_image.jpg',sizingMethod='crop');
	overflow:hidden;
	margin-left:auto;
	margin-right:auto;
	display:block;
	padding:4px 2px 4px 2px;
	width:100%;
}

#base_line {
	background:transparent url(../images/base_line.jpg) 0 0 no-repeat;
	margin:0 auto 0 auto;
	min-height: 10px;
	_height:10px;
	width:900px;
}

/* Latest Activity Box */

/* Show only to IE PC \*/
* html .latest_activity_boxhead h3 {height: 1%;} /* For IE 5 PC */

.latest_activity_sidebox {
	margin: 0 auto; /* center for now */
	/*width: 15em; /* ems so it will grow */
	width: 240px; /* replaced cos the ems weren't working */
	background: url(../images/latest_activity_box/sbbody-r2.gif) no-repeat bottom right;
	font-size: 14px;
	/* font-size:100%;  replaced because text looked small in IE */
}

.latest_activity_sidebox a:link,
.latest_activity_sidebox a:visited,
.latest_activity_sidebox a:active
 {
	text-decoration: none;
	color:red;	
}
.latest_activity_sidebox a:hover {
	text-decoration: underline;
}


.latest_activity_boxhead {
	background: url(../images/latest_activity_box/sbhead-r2.gif) no-repeat top right;
	margin: 0;
	padding: 0;
	text-align: center;
}
.latest_activity_boxhead h3 {
	background: url(../images/latest_activity_box/sbhead-l2.gif) no-repeat top left;
	margin: 0;
	padding: 22px 30px 5px;
	color: white; 
	font-weight: bold; 
	font-size: 1.0em; 
	line-height: 1em;
	text-shadow: rgba(0,0,0,.4) 0px 2px 5px; /* Safari-only, but cool */
}
.latest_activity_boxbody {
	background: url(../images/latest_activity_box/sbbody-l2.gif) no-repeat bottom left;
	margin: 0;
	padding: 5px 15px 31px;
}

.latest_activity_boxbody p {
	font-size:0.8em;
	color:#000080;
	padding:2px;
}

.latest_activity_item {
	background:url('../images/latest_activity_box/item_shadow.png') 0% 0% no-repeat;
	-background:none;
	-filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/wp-content/themes/friendsatrest/images/latest_activity_box/item_shadow.png',sizingMethod='crop');
	
	float:left;
	width:95px;
	height:95px;
	margin-top:20px;
	margin-left:6px;
	margin-right:auto;
	display:block;
	padding: 8px 0px 7px 0px;
}

.large-person-image{
	background:url('../images/shadow.png') 0% 0% no-repeat;
	-background:none;
	-filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/wp-content/themes/friendsatrest/images/shadow.png',sizingMethod='crop');
	padding:6px 6px;
	width:92px;
	margin-top:auto;
	margin-right:auto;
	margin-bottom:auto;
	margin-left:5px;
}
.boxtitle {
	font-size:1.0em;
	font-weight:bold;
	color:blue;
	text-align:center;
	margin-left:auto;
	margin-right:auto;
	display:block;
}


.message_box {
	vertical-align:text-bottom;
	font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif;
	text-decoration: none;
	font-size: 11px !important;
	line-height: 16px;
	padding: 10px;
	border-width: 1px;
	border-style: solid;
	color:#540000;
	background-color:#ffffe5;
	margin-left:auto;
	margin-right:auto;
	margin-bottom:10px;
	-moz-border-radius: 11px;
	-khtml-border-radius: 11px;
	-webkit-border-radius: 11px;
	border-radius: 11px;
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
	-khtml-box-sizing: content-box;
	box-sizing: content-box;
}

.message_box .inner_box {
	background-color: #f8f7e2;
	padding:10px;
	width:80%;
	margin-left:auto;
	margin-right:auto;
}
.message_box label {
    display: block;
    width: 130px;
    float: left;
		margin-bottom:5px;
		margin-top:5px;
		padding:4px;
    text-align: right;
}

.message_box p {
	color:#000080;
	font-size:1.1em;
	font-weight:bold;
	line-height:150%;
	margin-bottom:15px;
	margin-right:15px;
}
.message_box input,
.message_box select {
	margin-bottom:5px;
	margin-top:5px;
	margin-right:1px;
	padding:4px;
	border: 1px solid #ccc;
  background: #ffffe5;
}
.message_box input:hover {
    border: 1px solid #4A4A4A;
    background: #ffffff;
}
