/*
Theme Name: Philip Yancey 
Description: A custom theme for Philip Yancey's website & blog.
Author: emg
Author URI: http://emg.co/
Version: 1.0
*/

* {
:before { 
	box-sizing: border-box;
}
.btn, .btn:hover, a, a:hover, div:hover {
  -webkit-transition: all 0.3s ease-out;  /* Android 2.1+, Chrome 1-25, iOS 3.2-6.1, Safari 3.2-6  */
          transition: all 0.3s ease-out;}
	}
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 93.75%;	
}
img{
max-width: 100%;
height: auto;}
.white-text {color:white;}

.teal-text {color:#83d7cb;}

body{
	
	
}
.container#frontpage {
	position: relative;
	margin-top:5em;
}
.logo {}
.home .logo {}
.heavy {font-weight: bold;}
.inbrackets {margin-top:.3em;}
.title {text-transform: uppercase; margin:50px auto; border:3px #333 solid; padding:1% 1.5%;}
.title.white-text {border-color: white; }
h1.title {width:55%;}
.tealbg {background:url(./img/tealbg.png) repeat;}
.creambg {background:url(./img/cream.png) repeat;}
.card {padding: 0em 2em 2em;}
.tealinset {box-shadow: inset 0px 0px 14px rgba(20,153,120,0.2)}
.creaminset {box-shadow: inset 0px 0px 14px rgba(153,133,20,0.2)}
.home .amatic {margin-top: 30px;}
.posthead .logo a:hover {border-bottom: 0px white solid; opacity:.9;}
.home .overlay {
	background-color: rgba(0,0,0,0.38);
	background: rgba(0,0,0,0.38);}
ol.vcalendar {padding-left:0px; margin-bottom: 1em; }
ol.vcalendar li {
padding: 0 .5em 1em;
border-bottom: 1px solid #ccc; margin-top: 0px;}
.tribe-events-list-widget ol li {margin-bottom: 0px !important;}
ol.vcalendar li:hover {
background: #f1f1f1;}
.overlay {
	background-color: rgba(0,0,0,0.38);
	background: rgba(0,0,0,0.38);
	overflow: hidden;
	height: 100%;
	}
.posthead {	
	color:white;
	text-align: center;
	z-index: 200 !important;
}
.posthead.home {
	
}

.posthead h1 {
	text-transform: uppercase;
	font-weight: 900;
	font-size: 300%;
}
.posthead p.lead {
	font-size: 18px;
}
.posthead a {
	color:white;
	text-decoration: none;
max-width:100%;
	
}
#nav.affix {
    position: fixed;
    top: 0;
    width: 100%;
    z-index:10;
    left: 0;
}

.navbar, .navbar a:hover {
 border: 0px solid transparent;}
.navbar-inverse {background: rgba(0,0,0,0.77);}
button.navbar-toggle {
padding: 0.55em 1.5em;
margin: 0em;
border: none;}
#navbar-main {}
.posthead a:hover{
	color:#ebebeb;
	
}
img.minilogo{width: 56px;
margin: .5em 0% 0 50%;
display: none;}
.page-header {
padding-bottom: 10px;
margin: 88px 0 44px;
border: 0px solid rgba(238,238,238,0.59);
margin-top: 90px;
}

.quote{
	min-height: 7em;
	background-attachment: fixed !important;
	background: url(./img/bg.jpg) center center;
	padding:0em 0;
}
.quote blockquote {
	border-left: 0px solid black;
	text-align: center;
	font-size: 200%;
	color:white;
	letter-spacing: 2px;
	text-shadow: 0px 0px 26px black;
	margin-top: 0px;
	padding-top: 0px;
}
.quote .btn-social {color:white; border-color: white;border-width: 2px; font-weight: 200; font-size: 100%; letter-spacing: 4px;}
.quote .btn-social:hover {color:#333; background: white;}
.quote a:hover {text-decoration: none;}
.overlay_q {
	background: rgba(0,0,0,0.3);
	padding:3em 0;
}
.row.top {
min-height: 11em;

padding: 60px 40px 40px;
}
.featured-header{
padding: 0 30px;
text-align: left;}
.featured-book{
	max-height: 12em;
}
#sidebar { list-style: none;}
#sidebar ul li ul, #sidebar ul {
	list-style: none;
	padding-left: 0px; 
}
#sidebar ul li ul li a {
	display: block;
	line-height: 1.3em;
	background: transparent;
	padding: 1em .5em;
	border-bottom: 1px solid #ccc;
}
#sidebar ul li ul li a:hover {
	background: #f1f1f1;
}
#sidebar ul li ul li:last-child a {
	border-bottom: 0px solid #f1f1f1;} 
ul.dropdown-menu li {text-align: left}
.dropdown-menu>li>a {
padding: 7px 14px;}

#filler {display:none;}
#filler.fillup {display:block; height:20px;}
.wp-caption {max-width: 100%;
padding: 20px 20px 1px;
background: #f7f7f7;}
.wp-caption-text {
margin: .5em;
text-align: center;
font-size: 90%;
font-style: italic;
border-bottom: 1px solid #ebebeb;
padding-bottom: .5em;
color: #666;}
/* ==========================================================================
   Off page menu styles
   ========================================================================== */

a.nav-expander {
  background: none repeat scroll 0 0 #000000;
  color: #FFFFFF;
  display: block;
  font-size: 16px;
  height: 50px;
  margin-right: 0;
  padding: 1em 1.6em 2em;
  position: absolute;
  right: 0;
  text-decoration: none;
  text-transform: uppercase;
  top: 0;
  transition: right 0.3s ease-in-out 0s; 
  width: 130px;
  z-index: 2000;

  transition: right 0.3s ease-in-out 0s;
  -webkit-transition: right 0.3s ease-in-out 0s;
  -moz-transition: right 0.3s ease-in-out 0s;
  -o-transition: right 0.3s ease-in-out 0s;
  -webkit-font-smoothing: antialiased;

}

a.nav-expander:hover {
  cursor: pointer;
}

a.nav-expander.fixed {
  position: fixed;
}

.nav-expanded a.nav-expander.fixed {
    right: 18em;
}

nav {
  background: #2d2f33;
  background: black;
  display: block;
  height: 100%;
  overflow: auto;
  position: fixed;
  right: -20em;
  font-size: 15px;
  top: 0;
  width: 20em;
  z-index: 99999999;
  
  transition: right 0.3s ease-in-out 0s;
  -webkit-transition: right 0.3s ease-in-out 0s;
  -moz-transition: right 0.3s ease-in-out 0s;
  -o-transition: right 0.3s ease-in-out 0s;

}
.nav-expanded nav {
  right: 0;
}

body.nav-expanded {
  margin-left: 0em;
  transition: right 0.4s ease-in-out 0s;
  -webkit-transition: right 0.4s ease-in-out 0s;
  -moz-transition: right 0.4s ease-in-out 0s;
  -o-transition: right 0.4s ease-in-out 0s;
}


  #nav-close {
font-weight: 900;
font-size: 24px;
padding-right: 10px;
font-family: "Montserrat";
}

.main-menu {
  padding-top: 12px;
}

.main-menu li {
  border-bottom: 1px solid #212121;
  margin-left: 20px;
  font-size: 18px;
  padding: 12px;
}

.main-menu li a {
  color: #eee;
  text-decoration: none;
}

.main-menu li a:hover {
  color: #FFFFFF;
  text-decoration: none;
}

.main-menu li ul.sub-menu .menu-item {
  border-bottom: 0px;
}
.main-menu li ul.sub-menu {
padding-left: 0;
list-style: none;
}

.main-menu a .caret {
	width: 0;
	height: 0;
	display: inline-block;
	vertical-align: top;
	border-top: 4px solid #4f5963;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
	content: "";
    margin-top: 8px;
}

.main-menu a:hover .caret {
	border-top-color: #4f5963;
}

.main-menu li.open > a > .caret {
	border-top: none;
	border-bottom: 4px solid #4f5963;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
}

.main-menu li.open > a:hover > .caret {
	border-bottom-color: #4f5963;
}

.icon:before {
  font-family: 'FontAwesome';
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  line-height: 1;
  text-transform: none;
  content: '\f105';
}

.main-menu li > a > span.icon {
  float: right;
  margin: 0.1em 1.7em -0.1em 0;
  opacity: 0;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;

}

.main-menu li > a:hover > span.icon {
  float: right;
  margin: 0.1em 0.8em -0.1em 0;
  opacity: 1;
}

.menu-item-has-children > a:hover > span.icon {
	display:none;
}


/* ==========================================================================
   END: Off page menu styles
   ========================================================================== */



.mainbody {
	padding-bottom: 5em;
}

#singlebody_zzz {
	padding:0px 0px 50px; 
padding: 0px 50px 50px;
border: 3px solid rgba(235,235,235,0.35);
border-top-width: 0px;
margin-top:-22px;
	
}
#singlebody p {
	margin: 2em 0px;
	font-size: 105%;
	line-height: 170%;
}
#singlebody ul li {
	font-size: 105%;
	line-height: 170%;
	margin:.5em 0em;}
#singlebody.post .bookdetail img:first-child {
	margin-top: 2em !important;
}

#singlebody p.lead, #singlebody.post > p:first-child {
	margin-bottom: 0em;
	font-size: 140%;
	color: #858585;
	padding: 0 3em;
	text-align:justify;
}
#singlebody.post > p:first-child {	
	margin-bottom: 2em; 
	padding-bottom: 2em;
	border-bottom: 1px solid #ddd;
	 
}

.purchase-links a button {
	margin:0em 0em 1em;
	 
}
.purchase-links a button img {}
img.purchase-link,img.purchase-link:first-child{padding:4px 30px;margin-top: 0px;}
#about {
overflow: hidden;
position: relative;
padding-bottom: 5em;}

#purchase .overlay_q {
padding:3em 0em;
min-height: 40em;
box-shadow: inset 0px 0px 15px rgba(0,0,0,0.51)}
#purchase{
width:100%;
position: relative;
background: url(./img/table2.jpg) no-repeat center center fixed; 
 -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='./img/table2.jpg', sizingMethod='scale');
-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='./img/table2.jpg', sizingMethod='scale')";
}
#purchase h1.title {width:80%;}
.retailer {
	opacity:.8; 
	padding:1em 0em;
}
.retailer:hover {
	opacity:1;
}
.retailer img {padding:0 .5em;}
.post-excerpt, .book-excerpt {
	border-bottom: solid 0px #ddd;
	padding:30px 0px;
}
.endo {
	border-bottom: 1px #ccc solid;
	padding: 2em;
}
.endo:hover {
	background-color: #f1f1f1;
}
.endo:last-child {
	border-bottom: 0px #ccc solid;
}

.testimony {
	width:49%; 
	border:1px white solid;
	min-height: 20em;
	height: 100%;
	position: relative;
	padding-left:0px; 
	padding-right: 0px;
	overflow: hidden;
}
.testimony:first-child{
	border-right-width: 0px; }
.testimony .bgimage {position: absolute; top:0; left: 0; width:100%; }

.testimony {position: relative; display: table; height: 25em; position: relative; overflow: hidden;}

.testimony .testimony-overlay {opacity:0; min-height: 100%; width:100%; top: 40%; display: table-cell; vertical-align: middle; position:absolute;z-index: 9999; display: table-cell; vertical-align: middle; text-align: center; color:white; }

.testimony .testimony-overlay .testimony-overlay-inner {position: relative; top: -50%;}
.testimony-o {position: absolute; height: 100%; width:100%;
  -webkit-transition: all 0.3s ease-out;  /* Android 2.1+, Chrome 1-25, iOS 3.2-6.1, Safari 3.2-6  */
          transition: all 0.3s ease-out; }
.testimony:hover .testimony-o {background: rgba(0,0,0,0.66);
  -webkit-transition: all 0.3s ease-out;  /* Android 2.1+, Chrome 1-25, iOS 3.2-6.1, Safari 3.2-6  */
          transition: all 0.3s ease-out;}

.testimony:hover .testimony-overlay {opacity:1;}
.bgimage { background: url(./img/groeschel.jpg) center center;
}
.cover { -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='./img/table2.jpg', sizingMethod='scale');
-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='./img/table2.jpg', sizingMethod='scale')";}

.post-excerpt:last-child {
	border-bottom: solid 0px #ddd;
	padding-bottom: 20px;
}



.paging a {
	background:white;
	display: block;
	height: 100%; 
	width:99%; 
	text-decoration: none;
	color:#333;
	
}
.paging a:hover {
	color:#111;
	background:#f6f6f6;
}

hr {
line-height: inherit;
height: 1px;
border: 1px solid #333;
max-width: 370px;
margin: 50px auto;
position: relative;
background: #333;
border-bottom: 1px solid white;
border-left-color: white;
font-size: 120%;
}

hr::before {
background-color: #ffffff;
content: "\f097";
font-family: "FontAwesome";
position: absolute;
top: 50%;
width: 70px;
left: 50%;
right: 50%;
margin-left: -35px;
text-align: center;
-moz-transform: translateY(-50%);
-ms-transform: translateY(-50%);
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
  -webkit-font-smoothing:subpixel-antialiased;
  -moz-osx-font-smoothing: greyscale;
}
.boxit a, button.boxit {
	
border: 3px #333 solid;
line-height: 3em;}
button.boxit {
font-size: 1.5em;
}
.boxit a:hover, button.boxit:hover {
	color:white;
	background: #333;
}
.btn-social {
	
background: transparent;
color: black;
}
button.noborder {border-width: 0px;}
button.hero {color:#333; font-size: 120%; letter-spacing: 2px;}
button.hero:hover {background: url(./img/cream.png) repeat; text-decoration: none; color:#333;}
a:hover {text-decoration: none;}
.btn-social:hover, .btn-social, .btn.hero, .btn.hero:hover {
  -webkit-transition: all 0.3s ease-out;  /* Android 2.1+, Chrome 1-25, iOS 3.2-6.1, Safari 3.2-6  */
          transition: all 0.3s ease-out;
}


.master {max-width: 1670px; margin:0 auto; box-shadow: 0px 0px 12px rgba(0,0,0,0.10); background: white; }
body {background: url(./img/greyzz.png) repeat;}


.alignnone {
	margin: 5px 20px 20px 0;
}
.aligncenter, div.aligncenter {
	display:block;
	margin: auto;
}
.alignright {
	float:right;
}
.alignleft {
	float:left;
}
.noborder  {
	border:none !important;
}
a img.alignright, img.alignright {
	float:right;
	margin: 5px 0 20px 20px;
}
a img.alignnone, img.alignnone {
	margin: 5px 20px 20px 0;
}
a img.alignleft, img.alignleft {
	float:left;
	margin: 5px 20px 15px 0;
}
a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto
}

::selection {color:white;background:rgba(47,103,38,1);}
::-moz-selection {color:white;background:rgba(47,103,38,1);}

footer {
border-top: 1px solid #222;
	padding:75px 0px; 
}

li.comment{
list-style: none;
border: 1px solid #ebebeb;
max-width: 100%;
padding: 2em;
margin: 2em 0;}
li.comment:hover {background: #f1f1f1;}
.comment-body p:first-child {
	
} 
h3#comments {clear:both;
margin-top: 2em;
display: block;
padding-top: 1em;
border-top: 1px solid #333;}
.comment-body blockquote {
	font-size: 100%; 
}
.comment-author.vcard {
	font-size: 150%; 
margin: 0em 0em .5em;
}
ol.commentlist {padding-left: 0px;}
form#commentform {max-width: 100%; }

#respond label {
float: left;
display: table-cell;
width: 40%;}
#respond input {
font-size: 1em;
padding: 1em 2em;}
#respond textarea#comment {width: 90%; }

iframe{
max-width: 100%;
height: auto;
}
/* IPHONE STYLES GO HERE */

@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) { 


.posthead h1 {
font-weight: 900;
font-size: 200%;
}

h2 {
font-size: 175%;
}
#singlebody{overflow: hidden;}
#sidebar h2 {
	text-align: center;
}

.posthead p.lead {
font-size: 14px;}

.lead {
margin-bottom: 0px;}

#singlebody p.lead, #singlebody.post>p:first-child {
font-size: 110%;
padding: 0 1em;}

.page-header {
margin: 90px 0 90px;}

.btn-primary {
margin: 2px 0 2px;
}
button.navbar-toggle:hover {background: #111;}

.wp-caption {margin-bottom: 1em;}
.wp-caption-text {
font-size: 65% !important;}


.comment-author.vcard {
	font-size: 120%; 
margin: 0em 0em .5em;
}

}

@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) 
and (orientation : landscape) { /* STYLES GO HERE */


img.mainsig {padding:0 50px 30px;
	margin-bottom: 50px;
}
}

.navbar-brand, .navbar-brand img {max-width:100% !important; position:relative;}

