/*
Theme Name:     Allison Davis Photography
Theme URI:      http: //adavisphotos.com/
Description:    Child theme for Allison Davis Photography 
Author:         John Fischelli
Author URI:     http://twitter.com/johnfischelli
Template:       prophoto3
Version:        0.1.0
*/

@import url("../prophoto3/style.css");

@font-face {
    font-family: 'P22DearestScript';
    src: url('fonts/p22dears-webfont.eot');
    src: url('fonts/p22dears-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/p22dears-webfont.woff') format('woff'),
         url('fonts/p22dears-webfont.ttf') format('truetype'),
         url('fonts/p22dears-webfont.svg#P22DearestScript') format('svg');
    font-weight: normal;
    font-style: normal;

}

#fb-comments{
	width: 776px; margin: auto;
}

body{
	background: url(images/rose-bg.png) left top repeat !important;
}
a:link{
	color: #f0516f;
}
.entry-title span{
	font-family: 'P22DearestScript', Palatino, Georgia, serif;
	font-size: 48px; line-height: 1.2em;
}
.no-fontface .entry-title span{
	font-family: Palatino, Georgia, serif;
	font-size: 24px;	
}

.post-buttons{
	width: 836px; float: left;
	padding-left: 184px;
	margin-bottom: 30px;
}
.post-buttons.contact-btns{
	width: 483px;
	padding-left: 353px;
}
.post-buttons a{
	display: block; float: left;
	width: 136px; height: 1px; padding-top: 53px; overflow: hidden; text-indent: -9999em;
	margin-right: 30px;
	background: url(images/bg-post-btns.png) left top no-repeat;
}
.post-buttons a:last-child{
	margin-right: 0px;
}
.post-buttons a.port:hover{
	background-position: -136px 0;
}
.post-buttons a.contact{
	background-position: 0 -54px;
}
.post-buttons a.contact:hover{
	background-position: -136px -54px;
}
.post-buttons a.buy{
	background-position: 0 -108px;
}
.post-buttons a.buy:hover{
	background-position: -136px -108px;
}
.post-buttons a.fb{
	width: 50px; height: 1px; padding-top: 48px;
	background: url(images/bg-contact-btns.png) -50px top no-repeat;
}
.post-buttons a.fb:hover{
	background-position: -50px -49px;
}
.post-buttons a.twitter{
	width: 50px; height: 1px; padding-top: 48px;
	background: url(images/bg-contact-btns.png) left top no-repeat;
}
.post-buttons a.twitter:hover{
	background-position: left -49px;
}

/*************************************************************************
**************************************************************************
**
**	Header
**
**************************************************************************
*************************************************************************/
#masthead{
	position: relative;
	width: 850px; height: 259px;
	margin: 33px 0 0 0;
	background: url(images/masthead-bg.png) left top no-repeat;
}
#logo{
	position: absolute; left: 164px;
	display: block; width: 522px; height: 236px;
}
#main-wrap-outer{
	background: none;
	border-right: solid 5px #eedfcf;
	border-left: solid 5px #eedfcf;
}
#main-wrap-inner{
	background: #fff;
}

/*************************************************************************
**************************************************************************
**
**	Top Navigation
**
**************************************************************************
*************************************************************************/
#topnav-wrap{
	background: #fff;
	border-top: solid 1px #676767;
	border-bottom: solid 1px #676767;
	width: 774px; margin: 0 auto;
	position: relative;
}
#topnav{
	margin-left: 187.5px;
}
.category #topnav, .single #topnav, .search #topnav, .archive #topnav, .page-template-blog-index-php #topnav{
	margin-left: 63.5px; 
}
#topnav li ul{
	z-index: 9999 !important;
}
#topnav a, #topnav li li a{
	font-size: 12px;
	color: #676767 !important;
	display: block;
	padding: 5px 10px;
}
#topnav a:hover{
	color: #000;
}

/*************************************************************************
**************************************************************************
**
**	Galleries
**
**************************************************************************
*************************************************************************/
.galleries{
	width: 100%; float: left;
}
.ie7 .galleries{
	width: 776px;
	margin: 0px auto;1
}
.gallery{
	position: relative;
	float: left;
	margin: 0 31px 15px 0;
}
.ie7 .gallery{
	height: 176px;
}
.galleries .gallery p{ margin-bottom: 0; }
.gallery-hover-text{
	display: none;
	vertical-align: middle;
	position: absolute; left: 0px; top: 18px;
	width: 218px; height: 76px; padding: 90px 10px 10px;
	overflow: hidden;
	color: #000; font-size: 12px; line-height: 1.4em; text-align: center;
	background: url(images/bg-gallery-hover-text.png) left top repeat;
}
.gallery a:hover{
	text-decoration: none;
	cursor: pointer;
}
.gallery a:hover > .gallery-hover-text{
	display: block; 
}
.mobile .gallery-hover-text{
	display: none !important;
}
.gallery.type-gallery{
	margin: 0;
}
.gallery:nth-child(3n+3) {
	margin-right: 0;
}
.gallery h3{
	font-size: 14px; font-weight: normal; text-transform: uppercase;
	color: #676767; text-align: center;
	margin: 0;
}
.page-template-gallery-php .gallery img{
	margin: 0 !important;
	border: 0 !important;
}
.gallery-text{
	float: left;
	margin-top: 27px;
	font-size: 14px;
}

/*************************************************************************
**************************************************************************
**
**	Slideshow
**
**************************************************************************
*************************************************************************/
.slideshow-wrap{
	position: relative;
}
.slideshow-wrap p{ display: none; }
#slideshow{
	width: 774px; height: 516px;
	overflow: hidden;
}
#slideshow:hover{
	cursor: pointer;
}
#slideshow.review-gallery{
	height: auto; overflow: visible;
}
#slideshow .slide{
	text-align: center;
}
.page-template-reviews-php #slideshow .slide{
	min-height: 1231px;
}
.webkit .page-template-about-me-php #slideshow .slide{
	min-height: 880px;
}
.webkit .page-template-published-php #slideshow .slide{
	min-height: 600px;
}
#slideshow .slide img{
	border: none !important;
	margin: 0;
}
#slideshow-pager{
	padding: 5px 0;
	text-align: center;
}
#slideshow-pager span{
	font-size: 12px; color: #f0516f;
	padding: 5px 2px;
	display: inline-block;
}
.slideshow-arrows{
	position: absolute; top: 0px; left: 0px; z-index: 9999;
	display: block; width: 100px; height: 516px;
	
}
#slideshow-next{
	left: 724px;
}
#slideshow-next:hover{
	background: url(images/bg-gallery-arrows.png) -408px center no-repeat;
}
#slideshow-prev:hover{
	background: url(images/bg-gallery-arrows.png) 20px center no-repeat;
}


.current-love-stories{
	color:#676767; font-size: 14px; text-transform: uppercase;
	margin-bottom: 10px;
	background: url(images/bg-gray-line.gif) left 3px repeat-x;
}
.current-love-stories span{
	padding-right: 5px;
	background: #fff;
}
.recent-post{
	width: 103px;
	float: left;
	margin: 0 31px 0 0;
}
.recent-post:last-child{
	margin-right: 0px;
}
.recent-post img{
	max-width: 103px; max-height: 76px;
}

/*************************************************************************
**************************************************************************
**
**	Footer
**
**************************************************************************
*************************************************************************/
#bottom{
	position: relative;
	width: 850px; height: 120px;
	margin: 0 0 33px 0;
	background: url(images/footer-bg.png) left bottom no-repeat;
}
#copyright-footer{
	background: none;
}

/*************************************************************************
**************************************************************************
**
**	Template Based Overrides
**
**************************************************************************
*************************************************************************/
.home .entry-content, .single-gallery .entry-content, .page-template-reviews-php .entry-content{
	border-top: none;
	padding-top: 0px !important;
}
.ie7 .home .entry-content{
	width: 776px;
}
.home #footer, .single-gallery #footer, .page #footer{
	display: none;
}
.home .post-footer, .single .post-footer{
	width: 776px; padding: 0 30px;
	height: auto !important;
	margin: 0 0 20px 0;
	float: left;
}
.entry-title a, #content .entry-title{
	color:#f0516f;
}

/*************************************************************************
**************************************************************************
**
**	Cform
**
**************************************************************************
*************************************************************************/
.cform .cf-ol{
	list-style: none;
	width: 100%; float: left;
}
.cform .cf-ol li{
	width: 100%; float: left;
	margin: 0 0 10px 0;
}
.cform label{
	width: 170px; float: left;
	display: block;
	margin: 5px 20px 0 0;
	color: #f0516f;
	text-align: right;
}
.cform input, .cform textarea{
	width: 400px; float: left;
	padding: 4px;
	border: solid 2px #ececec;
	font-family: Garamond, Georgia, Times, serif; font-size: 14px;
	color:#333;
}
.cform input:focus, .cform textarea:focus{
	border-color: #ccc;
}

.cform .reqtxt, .cform .emailreqtxt{
	display: block;
	width: 10px; float: left;
	color: #f0516f; font-size: 16px;
	margin: 5px 0 0 5px;
}

.cform .cf_error{ 
	border: solid 2px #f00;
}
div.cf_info{
	text-align: center;
}
div.cf_info.waiting{ 
	color:#ccc; 
	padding: 5px; 
	margin-bottom: 10px;
}
div.cf_info.failure{ 
	padding: 5px; 
	background: #FFD1D1; 
	font-weight: bold; 
	color: #cc0001; 
	margin-bottom: 10px;
}
.cform input.cf_error, .cform textarea.cf_error{ 
	border-color:#cc0001;
}
div.cf_info.success{ 
	background: #B0FF8E; padding: 5px; margin: 0 0 10px 0;
}


#sendbutton{
	width: 100px;
	margin: 0 0 20px 190px;
}
#usermessageb{
	width: 100%; float: left;
}

a.dp-choose-date{
	border: none;
	float: left;
}
a.dp-choose-date img{
	float: left;
	border: none !important;
	margin: 0;
}

.linklove{
	display: none !important;
}

#cf_field_3, #cf_field_4, #cf_field_5{
	width: 200px;
}
#cf_field_6{
	width: 120px;
}
#cf_field_8{
	width: 300px;
}

/*************************************************************************
**************************************************************************
**
**	Cform Calendar
**
**************************************************************************
*************************************************************************/
table.jCalendar {
	border: 1px solid #666;
	background: #aaa;
    border-collapse: separate;
    border-spacing: 2px;
}
table.jCalendar th {
	background: #444;
	color: #fff;
	font-weight: bold;
	padding: 3px 5px;
}
table.jCalendar td {
	background: #f0f0f0;
	color: #000;
	padding: 3px 5px;
	text-align: center;
}
table.jCalendar td.other-month {
	background: #ddd;
	color: #aaa;
}
table.jCalendar td.today {
	background: #666;
	color: #fff;
}
table.jCalendar td.selected {
	background: #f66;
	color: #fff;
}
table.jCalendar td.selected:hover {
	background: #f33;
	color: #fff;
}
table.jCalendar td:hover, table.jCalendar td.dp-hover {
	background: #fff;
	color: #000;
}
table.jCalendar td.disabled, table.jCalendar td.disabled:hover {
	background: #bbb;
	color: #888;
}

/* For the popup */

div.dp-popup {
	position: relative;
	background: #d6eafe;
	font-size: 10px;
	font-family: arial, sans-serif;
	padding: 2px;
	width: auto;
	line-height: 1.2em;
}
div#dp-popup {
	position: absolute;
	z-index: 199;
	border:2px solid #c2e0f8;
}
div.dp-popup h2 {
	font-size: 12px;
	text-align: center;
	margin: 3px 0pt 4px;
	padding: 0;
}
a#dp-close {
	font-size: 11px;
	padding: 4px 0;
	text-align: center;
	display: block;
}
a#dp-close:hover {
	text-decoration: underline;
}
div.dp-popup a {
	color: #000;
	text-decoration: none;
	padding: 3px 2px 0;
}
div.dp-popup div.dp-nav-prev {
	position: absolute;
	top: 2px;
	left: 4px;
	width: 100px;
}
div.dp-popup div.dp-nav-prev a {
	float: left;
}
/* Opera needs the rules to be this specific otherwise it doesn't change the cursor back to pointer after you have disabled and re-enabled a link */
div.dp-popup div.dp-nav-prev a, div.dp-popup div.dp-nav-next a {
	cursor: pointer;
}
div.dp-popup div.dp-nav-prev a.disabled, div.dp-popup div.dp-nav-next a.disabled {
	cursor: default;
}
div.dp-popup div.dp-nav-next {
	position: absolute;
	top: 2px;
	right: 4px;
	width: 100px;
}
div.dp-popup div.dp-nav-next a {
	float: right;
}
div.dp-popup a.disabled {
	cursor: default;
	color: #aaa;
}
div.dp-popup td {
	cursor: pointer;
}
div.dp-popup td.disabled {
	cursor: default;
}