/* @override 
	http://www.juliemccaffrey.com/_css/default.css
	http://dev.juliemccaffrey.com/_css/default.css */

/* RESET */

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, nav, section, article, header, footer, section, header, footer, article, aside, hgroup { margin: 0; padding: 0; border: 0; outline: 0; font-size: 1em; vertical-align: baseline; background: transparent; font-weight: normal; } 
body{ line-height: 1; }
ol, ul{ list-style: none; }
blockquote, q{ quotes: none;  }
blockquote:before, blockquote:after, q:before, q:after{ content: ''; content: none; }
:focus{ outline: 0; }
ins{ text-decoration: none; }
del{ text-decoration: line-through; }
table{ border-collapse: collapse; border-spacing: 0; }
a{ text-decoration: none; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section{ display: block; }

html{ font-family: 'OpensansRegular', Helvetica, Arial, sans-serif; font-size: 62.5%; background-color: #ffffff; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; }
/* allows us to specify font sizes as EMs - 1em = 1px */

input, textarea, button{ font-family: Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; -moz-border-radius: 0px; border-radius: 0px; margin: 0px; line-height: 1; }
/* inputs seem to need font family specified separately, and iOS seems to like to do its own thing */

input[type=submit], button{
	cursor: pointer;
}

input[type=text], input[type=email], input[type=search], input[type=submit], button, textarea{ -webkit-appearance: none; }

img { -ms-interpolation-mode: bicubic; }
/* takes care of image resizing issues in Internet Explorer */

a{ color: inherit; }

p, h1, h2, h3, h4, h5, h6, h7, li, li li, li ul, li ul li, label, dd, dt, input, a { font-size: 1em; }
/* helps take care of unexpected effects due to inheritence of font sizes */ 

/*
Reminders:

-webkit-transition: opacity .4s; -moz-transition: opacity .4s; -o-transition: opacity .4s; transition: opacity .4s;
transform:rotate(7deg); -ms-transform:rotate(7deg); -moz-transform:rotate(7deg); -webkit-transform:rotate(7deg); -o-transform:rotate(7deg);

opacity: 0.4; filter: alpha(opacity = 40);

-moz-border-radius: 3px; border-radius: 3px;

-webkit-transform: translate3D(0px,0px,0px);

input::-webkit-input-placeholder
input:-moz-placeholder

box-sizing: content-box

-moz-box-shadow: 		inset 0px 1px 5px rgba(0,0,0,0.15);
-webkit-box-shadow: 	inset 0px 1px 5px rgba(0,0,0,0.15);
box-shadow: 			inset 0px 1px 5px rgba(0,0,0,0.15);

CSS gradient generator: http://www.colorzilla.com/gradient-editor/
*/


/* ************************************** COMMON ELEMENTS ************************************** */

.triangle_decoration{
	display: none;	
}

.no_break{
	white-space: nowrap;	
}

.phone_number_kerning{
	letter-spacing: -0.15em;
}

/* ************************************** HEADER ELEMENTS ************************************** */

#banner{
	background: #301e1c url(../_img/tweets-bg.png);
}

#banner nav{
	font-family: 'QuicksandBold', sans-serif; text-align: center;
}

#banner nav li{
	display: inline-block;
	margin-bottom: 10px; border-right: 1px solid #675f5c; padding: 10px 10px 0px 10px;
	color: #ffffff; font-size: 1.4em;
}

#banner nav li:last-of-type{
	border-right: none;
}

#banner nav a{
	display: inline-block;
	color: #ffffff;
	padding-top: 7px; padding-bottom: 7px;
	
	-webkit-transition: color .3s; -moz-transition: color .3s; -o-transition: color .3s; transition: color .3s;
}

#banner nav a:hover{
	color: #a4d7d9;
}

#home #nav_link_home a:hover, #portfolio #nav_link_portfolio a:hover, #contact #nav_link_contact a:hover{
	color: #ffffff;
}

/*
<li id="nav_link_home"><a href="/">Home</a></li>
<li id="nav_link_portfolio"><a href="/portfolio.php">Portfolio</a></li>
<li id="nav_link_contact"><a href="/contact.php">Contact</a></li>
<li id="nav_link_blog"><a href="http://blog.juliemccaffrey.com/" target="_blank">Blog</a></li>
*/

#home #nav_link_home a, #portfolio #nav_link_portfolio a, #contact #nav_link_contact a, #sell_your_story #nav_link_sell_your_story a, #editors_and_prs #nav_link_editors_and_prs a{
	border-radius: 5px; padding-left: 10px; padding-right: 10px;
	background: #675f5c;
}

#latest_tweet{
	display: none;
}

/* LOGO PANEL (TOP) */

#logo_panel_top{
	background: #ffffff;
}

#top_logo{
	display: block;
	max-width: 30%;
	width: auto; height: auto;
	margin: 25px auto 0 auto;
}

/* ************************************** CONTENT ELEMENTS ************************************** */

#main{
	background: #ffffff;
}

#main_panel_corner{
	display: none;
}

/* content header panel */

#main header{
	 padding: 25px 25px 50px 25px;
	 color: #413331;
}

#main header h1{
	font-family: 'QuicksandBold'; font-size: 2.4em; line-height: 1.2; /* font-size: 5.4em; */ text-align: center;
}

#main header p{
	margin-top: 25px;
	font-family: 'QuicksandBook'; font-size: 2em; line-height: 1.2; /* font-size: 3.6em; */ text-align: center;
}

#main header strong{
	color: #a4d7d9;
}

#main header em{
	color: #d9563f; font-style: normal;
}

/* ************************************** HOME PAGE ELEMENTS ************************************** */

/* highlight panel & logos panel */

.highlight_panel{
	overflow: hidden;
	border-top: 2px solid #ffffff;
	background: #fafaf4;
}

.highlight_panel h2, #logos_panel h2{
	margin-bottom: 20px;
	padding: 12px 25px 12px 45px;
	background: #f3f3eb url(../_img/home-h2-bullet-small.png) no-repeat 25px 18px;
	font-family: 'QuicksandBold', sans-serif; font-size: 2em; color: #413331; line-height: 1.2;
}

.highlight_panel p, #logos_panel p{
	margin: 12px 25px 0 25px;
	color: #333333; font-size: 1.4em; line-height: 1.2;
}
/*
.highlight_panel p:first-of-type{
	font-size: 1.8em;
}
*/
p.cta_button, #logos_panel p.cta_button{
	clear: both;
	margin-top: 50px; margin-bottom: 50px;
	font-size: 1.5em;
}

.cta_button a{
	display: inline-block;
	border-radius: 4px; padding: 7px 20px;
	background: #d9563f;
	font-family: 'QuicksandBold', sans-serif; color: #ffffff;
}

p.cta_button a, #logos_panel p.cta_button a{
	-webkit-transition: background-color .3s; -moz-transition: background-color .3s; -o-transition: background-color .3s; transition: background-color .3s;
}

.cta_button a:hover{
	background-color: #a4d7d9;
}

.logo_list li a{
	-webkit-transition: opacity .3s; -moz-transition: opacity .3s; -o-transition: opacity .3s; transition: opacity .3s;
}

.logo_list li a:hover{
	filter: alpha(opacity = 40); opacity: 0.4;
}

/* logos panel */

#logos_panel{
	overflow: hidden;
	border-top: 2px solid #ffffff;
	background: #f6f6f6;
}

#logos_panel h2{
	/*padding: 12px 25px 12px 45px;*/
	padding-bottom: 0; padding-top: 25px;
	background: #f3f3eb url(../_img/home-h2-bullet-small.png) no-repeat 25px 31px;
	background-color: transparent;
}

.logo_list{
	overflow: hidden;
	margin: 50px 25px 25px 25px;
}

.logo_list li{
	float: left;
	/* height: 72px; */ height: 50px;
	margin: 0 12px 12px 0; padding: 0 18px;
	background: #ffffff; 
	line-height: 50px; vertical-align: middle;
}

.logo_list img{
	vertical-align: middle;
	width: auto; height: auto; max-height: 20px;
}

#logos_panel p.cta_button{
	margin-top: 37px;
}

/* ************************************** PORTFOLIO PAGE ************************************** */

#portfolio_list{
	margin: 0 25px 25px 25px;
}

.portfolio_item{
	border-bottom: 1px solid #e9e9e3; padding: 35px 0;
}

.portfolio_item:first-of-type{
	padding-top: 0;
}

.portfolio_item:last-of-type{
	border-bottom: none;
}

.portfolio_article_thumbnail_link{
	display: block;
}

.portfolio_article_thumbnail{
	display: block;
	width: auto; height: auto; max-width: 100%;
	margin-bottom: 12px;
}

.portfolio_item h2{
	margin-bottom: 12px;
	font-family: 'QuicksandBold', sans-serif; font-size: 2em; color: #413331; line-height: 1.2;
}

.portfolio_item h2 a{
	color: #413331;
	
	-webkit-transition: color .3s; -moz-transition: color .3s; -o-transition: color .3s; transition: color .3s;
}

.portfolio_item h2 a:hover{
	color: #a4d7d9;
}

.portfolio_item p{
	margin-bottom: 12px;
	color: #333333; font-size: 1.4em; line-height: 1.2;
}

.portfolio_publication_logo{
	display: block;
	width: auto; height: auto; max-width: 100%;
	margin-top: 25px;
}

.portfolio_item .cta_button{
	margin-top: 25px; margin-bottom: 0;
}

/* ************************************** CONTENT PAGE ************************************** */

#content{
	overflow: hidden;
	margin: 0 25px 25px 25px;
}

#content h2{
	margin-bottom: 0.8em;
	font-family: 'QuicksandBold', sans-serif; font-size: 2em; color: #413331; line-height: 1.2;
}

#content p{
	margin-bottom: 1.2em;
	color: #333333; font-size: 1.4em; line-height: 1.2;
}

#content a{
	color: #d9563f;
}

/* ************************************** CONTACT PANEL ************************************** */

#julie_contact_photo{
	display: none;
}

/* contact list */

#content_contact_list{
	margin: 35px 0;
	color: #413331; font-family: 'QuicksandBold', sans-serif; font-size: 1.6em;
}

#content_contact_list li{
	height: 20px;
	margin-bottom: 10px; padding-left: 30px;
	line-height: 20px;
}

#content_contact_list .phone{
	background: transparent url('../_img/phone-icon-brown.png') no-repeat left;
}

#content_contact_list .email{
	background: transparent url('../_img/email-icon-brown.png') no-repeat 0px 2px;
}

#content_contact_list a{
	-webkit-transition: color .3s; -moz-transition: color .3s; -o-transition: color .3s; transition: color .3s;
}

#content_contact_list a:hover{
	color: #a4d7d9;
}

/* social icons list */

#content_social_links_list{
	overflow: hidden;
}

#content_social_links_list li{
	float: left;
	margin-right: 18px; margin-bottom: 18px;
	line-height: 40px; font-size: 1.4em;
}

#content_social_links_list a{
	color: #333333;
	
	-webkit-transition: color .3s; -moz-transition: color .3s; -o-transition: color .3s; transition: color .3s;
}

#content_social_links_list a:hover{
	color: #d9563f;
}

#content_social_links_list img{
	vertical-align: middle;
	margin-right: 10px;
}

/* ************************************** SIDE PANEL / ASIDE ************************************** */

#side_panel{
	display: none;
}

/* ************************************** FOOTER ELEMENTS ************************************** */

#footer{
	padding: 25px;
	background: #a8d2d4 url(../_img/footer-bg.png );
}

.footer_column{
	margin-bottom: 35px;
}

#footer_logo{
	width: auto; height: auto; max-width: 100%;
}

/* contacts */

#contact_list{
	color: #413331; font-family: 'QuicksandBold', sans-serif; font-size: 1.6em;
}

#contact_list li{
	height: 20px;
	margin-bottom: 10px; padding-left: 30px;
	line-height: 20px;
}

#contact_list a{
	color: #413331;
	
	-webkit-transition: color .3s; -moz-transition: color .3s; -o-transition: color .3s; transition: color .3s;
	
}

#contact_list li a:hover{
	color: #ffffff;
}

#contact_list .phone{
	background: transparent url('../_img/phone-icon.png') no-repeat left;
}

#contact_list .email{
	background: transparent url('../_img/email-icon.png') no-repeat 0px 2px;
}

/* newsletter sign up */

#newsletter_signup h2{
	margin-bottom: 15px;
	color: #413331; font-family: 'QuicksandBold', sans-serif; font-size: 1.6em;
}

#newsletter_signup_form input[type=text]{
	width: 60%;
	margin: 0; border: none; border-radius: 4px;
	padding: 8px 10px;
	color: #666666; font-family: 'QuicksandBold', sans-serif; font-size: 1.2em;
}

#newsletter_signup_form input[type=submit]{
	margin-left: 10px; border: none; padding: 0; background: none;
	color: #413331; font-family: 'QuicksandBold', sans-serif; font-size: 1.6em;
}

/* Social / legal links panel */

#social_legal_panel{
	
}

#social_legal_panel h2{
	color: #ffffff; font-family: 'QuicksandBold', sans-serif; font-size: 1.6em;
	margin-bottom: 15px;
}

#social_links_list{
	overflow: hidden;
	margin-bottom: 35px;
}

#social_links_list li{
	float: left;
	margin-right: 18px;
}

#social_links_list a{
	-webkit-transition: opacity .3s; -moz-transition: opacity .3s; -o-transition: opacity .3s; transition: opacity .3s;
}

#social_links_list a:hover{
	filter: alpha(opacity = 40); opacity: 0.4;
}

#social_links_list li:last-of-type{
	margin-right: 0;
}

.legal_info{
	margin-top: 15px;
	font-family: 'OpensansBold', sans-serif; color: #ffffff; font-size: 1.1em; line-height: 1.2;
}

.legal_info a{
	text-decoration: underline; color: #ffffff;
}

.legal_info a:hover{
	text-decoration: none;
}