/*
Theme Name:         Stephen Singular
Theme URI:          http://stephensingular.com
Author:             Ali Khan
Author URI:         http://alikkhan.com/

*/

/* -------------------------------------------------- 
   Table of Contents
-----------------------------------------------------
:: Customized Adjustments of Foundation for WordPress
:: Styling Basic WordPress Outputs
:: Customize Foundation Style Pagination for WP-Pagenavi
:: Customize for BuddyPress
:: Your Customized Style
*/

/* ---------------------------------------------------
   Customized Adjustments of Foundation for WordPress
--------------------------------------------------- */

	/* ZURB Navi for Foundation */
	dl.nav { display: block; width: auto; height: 27px; margin: 0 0 18px; }
	dl.nav dt, dl.nav dd { float: left; display: inline; }
	dl.nav dt { color: #999; font-weight: normal; }
	dl.nav dd a { text-decoration: none; margin-left: 6px; padding: 5px 12px;
	 -webkit-border-radius: 12px; -moz-border-radius: 12px; }
	dl.nav dd a:hover { background: #eee; }
	dl.nav dd.current-menu-item a,
	dl.nav dd.current-post-ancestor a,
	dl.nav dd.current-menu-parent a,
	dl.nav dd.current-post-parent a
	 { background: #2A85E8; color: #fff; }
 
	/* Foundation-specific presentation CSS by ZURB */
	body { padding-bottom: 60px; width: 100%; background: #fff; border: none; max-width: 100%; }
	div.reverie-header { margin: 0 0 30px 0; padding: 20px 0 0 0; border-bottom: solid 1px #ccc; }
	div.reverie-header h1 { margin-bottom: 0; padding: 0; }
	div.reverie-header h1 a { color: #181818; }
	div.reverie-header h1 a:hover { color: #181818; }
	div.reverie-header .subheader { margin-bottom: 9px; }
	div.highlight { margin-bottom: 12px; }
	img.beta { position: absolute; top: 0px; right: 0px; }

/* -----------------------------------------
   Styling Basic WordPress Outputs
----------------------------------------- */
	
	/* Resizing the Blog Post */
	.post-box p { line-height: 21px; font-size: 14px; font-size: 1.4rem; }
	.post-box h1 { font-weight: bold; font-size: 30px; font-size: 3rem; line-height: 1; margin-bottom: 2px; }
	.post-box h2 { font-weight: bold; font-size: 26px; font-size: 2.6rem; line-height: 1; margin-bottom: 2px; }
	.post-box h3 { font-size: 22px;	font-size: 2.2rem; }
	.post-box h4 { font-size: 18px;	font-size: 1.8rem; }
	
	/* Add Divider for Listed Posts */
	.divider { background:url(images/divider.png) no-repeat center top; height:36px; margin:20px 0 27px; }	
	
	/* Add Align Class for Images */
	img.alignright { float: right; margin: 0 0 18px 18px; }
	img.alignleft { float: left; margin: 0 18px 18px 0; }
	img.aligncenter { display: block; margin: 18px auto; }
	
	/* Add HTML5 Caption Class for Images */
	figure.figure {	background: #EEE; margin: 0 0 18px;	-webkit-border-radius: 3px;	-moz-border-radius: 3px; display: inline-block; }
	figure.figure figcaption { padding: 8px 10px; font-size: 13px; font-size: 1.3rem; line-height: 18px; color: #555; }
	figure.alignright.figure { float: right; margin: 0 0 18px 18px; }
	figure.alignleft.figure { float: left; margin: 0 18px 18px 0; }
	
	/* Sidebar Adjustment */
	.sidebar-section { padding-bottom: 10px; padding-top: 20px;	font-size: 13px; font-size: 1.3rem; font-weight: normal; }
	
	/* Footer Nav */
	.footer-section { padding-bottom: 10px; padding-top: 20px; font-size: 13px; font-size: 1.3rem; font-weight: normal; }
	.footer-nav li { display: block; float: right; padding-left: 3%; margin-bottom: 0; }
	
	/* Breadcrumb Adjustment */
	ul.breadcrumbs li span { padding-left: 12px; }
	ul.breadcrumbs li a { padding-left: 0; }

/*  -------------------------------------------------------
    Customize Foundation Style Pagination for WP-Pagenavi
    ---------------------------------------------------- */ 
    
    div.wp-pagenavi { display: block; height: 24px; margin-left: -5px; color: #555; }
    div.wp-pagenavi a, div.wp-pagenavi span { float: left; display: block; padding: 6px 7px 4px; height: 24px; color: #555; font-size: 15px; font-size: 1.5rem; margin-left: 5px; }
    div.wp-pagenavi span.pages { padding-left: 0; }
    div.wp-pagenavi .current, div.wp-pagenavi a:hover { border-bottom: solid 2px #00a6fc; color: #141414; }
    div.wp-pagenavi span.unavailable:hover { border-bottom: none; }
    
    
/*  ---------------------------
    :: Customize for BuddyPress
    --------------------------- */

	.padder label + textarea { margin-top: 0; }
	.padder #item-body #message-threads .thread-avatar img { max-width: 50px; }
	ul.item-list.activity-list li.new_blog_post { padding-bottom: 15px; }
    .padder select { display: inline-block; }
    .padder div.item-list-tabs { margin: 25px 0; }
    .padder form#whats-new-form textarea { height: 30px; }
    .padder .button { display: inline; }
    
	
/*  --------------------------
    Your Customized Style
    ----------------------- */
    
body { background: #4e6c71 url(images/noise.png) repeat; }

#container { padding: 0; }

div.reverie-header { height: 70px; background: #404040 url(images/noise.png) repeat; border: none; margin: 0; padding: 0; margin-bottom: 20px; }
div.reverie-header h1 { display: block; width: 236px; height: 70px; text-indent: -9999px; margin: 0; padding: 0; background: url(images/logo.png) no-repeat center left; width: 1000px; margin: 0 auto; }
div.reverie-header h1 a { display: block; }
#main { width: 100%; width: 1000px; max-width: 1000px; margin-bottom: 50px; } 
#content { width: 58%; padding-right: 2%; }

/* Navigation */

nav { border-bottom: 1px solid #637f81; margin-bottom: 20px; padding-bottom: 20px; }
nav ul { width: 1000px; margin: 0 auto; }
nav ul li { display: inline; font-family: "Helvetica Neue", Helvetica, arial, sans-serif; font-size: 14px; letter-spacing: .2em; width: 100px; margin-right: 80px; }
nav ul li a { color: #aeb0b2; }

nav ul li.current-menu-item a, nav ul li a:hover { color: #fff; }

/* Books */

#filters h3 { text-transform: none; margin-bottom: 10px; }
#main #filters ul li { display: inline-block; }
#main #filters ul li a { background: #9FD4D5; color: #444; padding: 4px 10px; text-decoration: none; }
#main #filters ul li a.active { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; filter: alpha(opacity=50); -moz-opacity: 0.5; -khtml-opacity: 0.5; opacity: 0.5;  }

ul.book-list { list-style-type: none; }
ul.book-list li { border: 5px solid #485d61; width: 170px; height: 265px; display: block; float: left; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; filter: alpha(opacity=50); -moz-opacity: 0.5; -khtml-opacity: 0.5; opacity: 0.5; }
ul.book-list li:nth-child(3n) { margin-right: 0; }
ul.book-list li:hover { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter: alpha(opacity=100); -moz-opacity: 1; -khtml-opacity: 1; opacity: 1; } 
ul.book-list img { display: block; height: 265px; width: auto; }

/* Sidebar */

#sidebar { position: relative; width: 370px; padding: 0 0 0 20px; margin: 0; border-left: 1px solid #637f81; }
.sidebar-box { width: 230px; }

#sidebar h6 { background: #748a8e; line-height: 27px; font-size: 14px; color: #fff; font-family: Helvetica, arial, sans-serif; text-transform: uppercase; padding: 0 20px; display: inline-block; margin-left: -20px; } 
#sidebar article.widget_ai1ec_agenda_widget h6 { margin-bottom: 20px; }
aside .ai1ec-agenda-widget-view .ai1ec-date { background: none !important; border-top: none !important; margin-bottom: 5px; }

aside .ai1ec-agenda-widget-view .ai1ec-date ol li a { background: #b8c7ca !important; color: #4e6c71 !important; }

ul.social-icons li { display: block; float: left; width: 45px; height: 45px; text-indent: -9999px; margin-right: 10px; } 

ul.social-icons li a { display: block; width: 45px; height: 45px; }

ul.social-icons li.linkedin a { background: url(images/linkedin.png) no-repeat; }
ul.social-icons li.twitter a { background: url(images/twitter.png) no-repeat; }
ul.social-icons li.facebook a { background: url(images/facebook.png) no-repeat; }
ul.social-icons li.rss a { background: url(images/rss.png) no-repeat; }

aside a.send-message { background: rgb(184,199,202); /* Old browsers */
background: -moz-linear-gradient(top, rgba(184,199,202,1) 0%, rgba(116,138,142,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(184,199,202,1)), color-stop(100%,rgba(116,138,142,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(184,199,202,1) 0%,rgba(116,138,142,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(184,199,202,1) 0%,rgba(116,138,142,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(184,199,202,1) 0%,rgba(116,138,142,1) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(184,199,202,1) 0%,rgba(116,138,142,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b8c7ca', endColorstr='#748a8e',GradientType=0 ); /* IE6-9 */
font-size: 13px; color: #2d4347 !important; line-height: 30px; padding: 5px 10px; text-decoration: none !important; text-transform: uppercase; -moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px;
 }   

/* Footer */

footer { width: 1000px; margin: 0 auto; }
footer p { text-align: left; color: #ccc; margin-bottom: 5px; font-size: 11px; }
footer .row { margin: 0; }
.footer-nav { float: none; } 
.footer-nav li { float: left; margin: 0; padding: 0 2% 0 0; }
.footer-nav li a { color: #999; font-size: 11px; }

/* Text */

h1, h2, h3, h4, h5 { color: #9fd4d5; text-transform: uppercase; }

.post-box h1 { margin-bottom: 25px; }  

#main p { color: #fff; font-size: 14px; line-height: 22px; font-weight: 500; }  

#main blockquote { border: none; background: url(images/quote.png) no-repeat center right; margin-bottom: 20px; padding-right: 50px; } 

#main blockquote p { font-family: Georgia, serif; font-size: 18px; line-height: 24px; color: #dcebdc; margin-bottom: 0; } 

#main blockquote p strong { font-family: helvetica, arial, sans-serif; font-weight: bold; font-size: 14px; color: #fff; text-transform: uppercase; }

#main a:link, #main a:visited { color: #9fd4d5; font-weight: bold; text-decoration: underline; }

#main p.title { font-weight: bold; margin-bottom: 0; }

#main span.date { color: #eee; font-size: 12px; font-style: italic; margin-bottom: 10px; }

/* Home Styles */

img#portrait { position: absolute; right: 0; top: -50px; }  

/* Blog */

time { color: #ebebeb; }
.blog h2, .archive h2 { margin-bottom: 8px; }
.blog h2 a, .archive h2 a { font-size: 22px !important; text-transform: none; }
article h1.entry-title { font-size: 22px !important; margin-bottom: 5px; } 
 
/* Events */

table { background: none; }
th.ai1ec-time { background: #c9c9c9 !important; }
td.ai1ec-time { color: #fff; }
h2.ai1ec-calendar-title { color: #DCEADC !important; }
#main a.ai1ec-calendar-link, #main #ai1ec-container a { color: #555; text-decoration: none; }

/* Books & Archive */

#main article h2 { line-height: 50%; }
.blog #main article h2 { line-height: 100%; }
#main article h2 a:link, #main article h2 a:visited { color: #9fd4d5; font-size: 14px; text-decoration: none; }  
.divider { background: none; height: 0; padding: 0; border-bottom: 1px solid #637F81; }
article:last-child .divider { border-bottom: none; }

.post-type-archive-books header { margin-bottom: 10px; }
.post-type-archive-books #main p { font-size: 12px; line-height: 18px; }

.single-books #menu-item-20 a, .single-news #menu-item-65 a { color: #fff; } 

article h1.entry-title { text-transform: none; font-size: 18px; }  
article.type-books img.book-thumb { float: left; border: 5px solid #485d61; width: 170px; height: 265px; display: block; }
article.type-books .entry-content { width: 380px; float: left; padding-left: 20px; }
article.type-books footer { clear: left; }

/* Contact */

form { background: transparent !important; }

#frm_field_88_container label { margin-bottom: 10px; }

.with_frm_style .frm_blank_field label, .with_frm_style .frm_error { color: yellow !important; } 
.with_frm_style .frm_blank_field input[type="text"], .with_frm_style .frm_blank_field input[type="password"], .with_frm_style .frm_blank_field input[type="url"], .with_frm_style .frm_blank_field input[type="tel"], .with_frm_style .frm_blank_field input[type="number"], .with_frm_style .frm_blank_field input[type="email"], .with_frm_style .frm_blank_field textarea, .with_frm_style .frm_blank_field select, .frm_form_fields_error_style, .with_frm_style :invalid, .with_frm_style .frm_blank_field #recaptcha_area { border-color: yellow !important; }

/* Isotope CSS */

/**** Isotope Filtering ****/

.isotope-item {
  z-index: 2;
}

.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}

/**** Isotope CSS3 transitions ****/

.isotope,
.isotope .isotope-item {
  -webkit-transition-duration: 0.8s;
     -moz-transition-duration: 0.8s;
       -o-transition-duration: 0.8s;
          transition-duration: 0.8s;
}

.isotope {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
       -o-transition-property: height, width;
          transition-property: height, width;
}

.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
     -moz-transition-property:    -moz-transform, opacity;
       -o-transition-property:         top, left, opacity;
          transition-property:         transform, opacity;
}

/**** disabling Isotope CSS3 transitions ****/

.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
  -webkit-transition-duration: 0s;
     -moz-transition-duration: 0s;
       -o-transition-duration: 0s;
          transition-duration: 0s;
}

/**** Isotope filtering ****/

.isotope-item {
  z-index: 2;
}

.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}