/*
Theme Name:     The Perry Bible Fellowship
Theme URI: 		http://pbfcomics.com
Description:    A Child theme for PBF built for Divi
Author:         Saurus, Inc.
Template:       Divi
Version:        2.0.2
*/
@import url('../Divi/style.css');

html {
    min-height: 100%;
    background: #dbcbac;
}
body{
	color: #000000!important;
	font-size:14px;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Gochi Hand', cursive;
	font-family: 'Lora', serif;
}
a{
    color: #e65e1b;
}
/* NAVIGATION */

.pbf-nav-previous, .pbf-nav-next, .pbf-nav-oldest, .pbf-nav-latest, .pbf-comic-title, .pbf-nav-random{
	display:inline-block;	
	font-family: 'Gochi Hand', cursive;
	font-family: 'Lora', serif;
    font-size: 18px;
	vertical-align: middle;
	-webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}
.pbf-nav-oldest, .pbf-nav-latest{
	font-size: 33px;
}
.pbf-nav-previous a, .pbf-nav-next a, .pbf-nav-oldest a, .pbf-nav-latest a, .pbf-comic-title, .pbf-nav-random a{
	padding: 14px;
	color:#000;
	-webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
	vertical-align: middle;
}
.comic_nav{
	vertical-align: middle;
}
.pbf-nav-previous a:hover, .pbf-nav-next a:hover, .pbf-nav-oldest a:hover, .pbf-nav-latest a:hover, .pbf-nav-random a:hover{
    color: rgba(0, 0, 0, 0.75);
}
.pbf-comic-title{
	font-size:30px;
	font-weight: bold;
    letter-spacing: 1px;
}
.pbf-nav-random{
	margin-right: -52px;
}
.pbf-nav-random a{
    background: rgba(0, 0, 0, 0.82);
    display: block;
    color: #fff;
    padding: 14px;
    padding-top: 6px;
    padding-bottom: 5px;
    margin-right: -80px;
    margin-left: 90px;
    -ms-transform: rotate(7deg);
    -webkit-transform: rotate(7deg);
    transform: rotate(14deg);
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 6px;
}
.pbf-nav-random a:hover{
	color: #fff;
}
.comic_nav{
   text-align: center;
}
#pbf-thumbnail-nav option{
	background:#fff;
}
/* NAVIGATION */

#comic img{
	display:block;
	margin:0 auto;
}
#main-content .container, .single-comics #main-content .container, .single.et_pb_pagebuilder_layout.et_full_width_page #main-content .container {
    padding-top: 35px!important;	
	width:95%;
}
#main-content, #footer-bottom, #et-main-area, .et_pb_section{
	background-color: #dbcbac;
}
#main-content{
	background-color: #dbcbac;
	min-height: 900px;
}
.single-comics #main-content, .home #main-content {
	background: #dbcbac url(./images/curtains.jpg)top center;    
	background-size: contain;
    background-repeat: no-repeat;
	-webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
#footer-info {
    text-align: center;
    width: 100%;
	font-size: 13px;
	font-family: 'Gochi Hand', cursive;
	color: #000;
    letter-spacing: 1px;
	font-family: 'Lora', serif;
}
.et_pb_post, .single .et_pb_post {
    margin-bottom: 27px;
}
/* FORCE FULL WIDTH, NO SIDEBAR FOR HOME */
#main-content .container:before { display: none; }
#left-area { width: 100%; padding: 0!important; }

/* HEADER */
/* ------ */
/* ------ */
/* ------ */
/* ------ */
#logo_mobile{
	display:none;
}
.container.et_menu_container {
background: url(./images/header_tall.jpg) 0px -22px;
    background-size: cover;
    width: 90%;
    max-width: none;
    padding-top: 4px;
    padding-bottom: 14px;
    border-bottom: 8px solid rgba(5, 5, 5, 1);
    background-repeat: no-repeat;
    box-shadow: 0px 0px 80px rgb(254, 231, 183);
	box-shadow: 0px 0px 80px rgba(0, 0, 0, 0.3);
		-webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    transition: all .3s ease;
}
 .et_fixed_nav.et_show_nav #page-container {
    padding-top: 156px!important;
}
.et_header_style_centered #logo {
	max-height: 142%!important;
    padding-right: 19px;
}
#top-menu a {
    font-family: 'Gochi Hand', cursive;
    font-size: 26px;
    color: #000;
    text-transform: uppercase;
    text-shadow: 0px 0px 6px #fff;
    letter-spacing: 1px;

}
#top-menu li {
    padding-right: 12px;
}
#top-menu li.current-menu-item > a{
    color: #000;
}
#sb-search, #searchpage-sb-search{
	position: absolute;
	overflow: visible;
}
.sb-search{
    position: relative;
    right: 2%;
    top: 90px;
	min-width: 116px!important;
} 
.sb-search.sb-search-open, .no-js .sb-search {
    width: 240px!important;
}
.sb-icon-search, .sb-search.sb-search-open .sb-icon-search, .no-js .sb-search .sb-icon-search {
    color: #fff;
    background:transparent!important;
}
.sb-icon-search, .sb-search-submit {
    width: 116px!important;
}
.sb-icon-search:before {
    content:none!important;
}
#sb-search input, #searchpage-sb-search input{
	background-color: transparent!important;
    border: 0px!important;
    padding-top: 36px;
	font-family: 'Gochi Hand', cursive;
	font-family: 'Lora', serif;
	font-size: 16px;
}
.sb-search-input{
	opacity:0;
	color: #ffffff!important;
	-webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    transition: all .3s ease;
}
.sb-search-open .sb-search-input{
	opacity:1;
}
.fish{
	position: relative;
    width: 200px;
    max-width: none;
    margin-left: -107px;
    -webkit-transition: all .7s ease;
    -moz-transition: all .7s ease;
    transition: all .7s ease;
}
.sb-search-open .fish{
    right: 20px;
}
#searchform{
    display: block;
    text-align: center;
    margin-top: 10px;
	margin-bottom: 50px;
	font-family: 'Gochi Hand', cursive;
	font-family: 'Lora', serif;
}
#searchform #s{
    padding: 14px;
    border: 0px;
    background: #d2c1a0;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    margin-left: 10px;
	-webkit-transition: all .7s ease;
    -moz-transition: all .7s ease;
    transition: all .7s ease;
}
#searchform #s:focus{
    background: #fef2db;
}
#searchsubmit {
    cursor: pointer;
    background: rgba(0, 0, 0, 0.82);
    color: #fff;
    border: 0px;
    padding: 8px;
    padding-left: 12px;
    padding-right: 12px;
    font-family: 'Gochi Hand', cursive;
	font-family: 'Lora', serif;
    font-size: 21px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    margin-left: 10px;
	margin-top: 10px;
}
#results-header{
	text-align:center;
}
#results-header span{
	font-weight:bold;
}
.noresults{
	text-align:center;
}
.searchthumb{
	width:100px;
    display: block;
    margin: 0 auto;
	margin-top: 25px;
}
.search_result_comic{
	display:none;
}
.search_border{
    margin-top: 35px;
	
}
.fav_border{
	margin-bottom: 50px;
}
.bottom_border{
	height: 1px;
}
.result_date{
	font-size:12px;
	line-height: 14px;
    margin-bottom: 20px;
}
.search-results .entry-title, .searchentry{
	padding-bottom: 9px;
    margin-top: 10px;
    font-size: 20px;
}
.search-results .entry-title, .search-results .result_date{
	text-align:center;
}
#pbf_social_container{
	position: absolute;
    top: 20px;
    left: 2%;    
	z-index: 99;
	-webkit-transition: all .6s ease;
    -moz-transition: all .6s ease;
    transition: all .6s ease;
}
#pbf_social_container img{
	display: inline-block;
    max-width: 66px;
    float: left;	
	-webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    transition: all .3s ease;
}
#pbf_twitter img:hover{
	-ms-transform: rotate(7deg); /* IE 9 */
    -webkit-transform: rotate(7deg); /* Chrome, Safari, Opera */
    transform: rotate(7deg);
}
#pbf_facebook img{
	margin-top: 10px;
    margin-left: 5px;
}
#pbf_facebook img:hover{
	-ms-transform: rotate(7deg); /* IE 9 */
    -webkit-transform: rotate(7deg); /* Chrome, Safari, Opera */
    transform: rotate(7deg);
}
#pbf_instagram img{
	margin-top: 12px;
    margin-left: -2px;
    max-width: 64px;
}
#pbf_instagram img:hover{
	-ms-transform: rotate(7deg); /* IE 9 */
    -webkit-transform: rotate(7deg); /* Chrome, Safari, Opera */
    transform: rotate(7deg);
}
.current_thumb{
	opacity:.3;
	cursor:default;
}
.current_thumb img{
    opacity: .35;
}
#ajax_loading, #ajax-response{
	opacity:0;
	-webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    transition: all .3s ease;
}
/* GALLERY */
#pbf-thumbnail-nav{
	text-align:right;
	margin-bottom: 20px;
}
#pbf-thumbnail-nav select{
	margin-right: 0%;
    background: transparent;
    border: 0px;
    font-family: 'Gochi Hand', cursive;
	font-family: 'Lora', serif;
    font-size: 16px;
    color: #000;
}
#pbf-thumbnail-nav option{
	background-color: #dbcbac;
    color: #000;
}
.pbf-gallery-title{
	display: block;
    font-family: 'Gochi Hand', cursive;
	font-family: 'Lora', serif;
    font-size: 22px;
    width: 100%;
    text-align: center;
    margin-bottom: -31px;
}
.favorites_title{
    margin-bottom: 25px;
	text-transform: uppercase;
}
.et_pb_scroll_top.et-pb-icon{
	background:#000;
}
#ajax_loading{
	margin-bottom: -160px;
    margin-top: 80px;
	font-family: 'Gochi Hand', cursive;
	font-family: 'Lora', serif;
    pointer-events: none;
}
.loader {
    -webkit-animation: spin 1s infinite;
    -moz-animation: spin 1s infinite;
    animation: spin 1s infinite;
}
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }
::selection {
  background:#dbcbac; /* WebKit/Blink Browsers */
}
::-moz-selection {
  background:#dbcbac; /* Gecko Browsers */
}
.pbf-thumbnail-gallery {
    text-align: center;
	-webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    transition: all .3s ease;
    margin-bottom: 30px;
	min-height:300px;
}
.search .pbf-thumbnail-gallery {
	min-height:0px;
}
.pbf-thumbnail-gallery a{
	display: inline-block;
    margin: 10px;
    margin-bottom: 0px;
	margin-bottom: 2px;
	-webkit-transition: all .1s ease;
    -moz-transition: all .1s ease;
    transition: all .1s ease;
	
}
.pbf-thumbnail-gallery a img, .searchthumb a img{
	box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.27);
	 border: 2px solid #000;
}
.pbf_thumbnail_placeholder{
	border:0px!important;
}
.pbf-thumbnail-gallery a img:hover{
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.34);
	-ms-transform: rotate(2deg);
    -webkit-transform: rotate(2deg);
    transform: rotate(2deg);
	box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.34);
	box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.27);
}
.pbf-thumbnail-gallery a.current_thumb img:hover{
	box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.0);
	-ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);	
}
.pbf-thumbnail-gallery a img{
	-webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    transition: all .3s ease;	
}
.share_comic{
	text-align: center;
	margin-top:15px;
}
.shareicon{
    display: inline-block;
	width:30px;
	height:30px;
	background: #27241f;
    color: #dbcbac;
}
.at-style-responsive .at-share-btn {
    padding: 5px;
}
.stickypost{
	display: block;
    width: 80%;
    margin: 0 auto;
    background: #eddbb9;
    padding: 20px;
    margin-bottom: 40px;
    border-radius: 10px;
}
.flower{
	position: absolute;
    right: 9%;
    margin-top: -30px;
}
::-webkit-input-placeholder {
   color: #d9c9a8;
}

:-moz-placeholder { /* Firefox 18- */
   color: #d9c9a8;  
}

::-moz-placeholder {  /* Firefox 19+ */
   color: #d9c9a8;  
}

:-ms-input-placeholder {  
   color: #d9c9a8;  
}
/* hide Search menu item*/
#menu-item-216{
	display:none!important;
}

.icon-reddit{
	background: url(./images/reddit_chicklet.png);
}
.icon-stumbleupon{
	background: url(./images/stumble_chicklet.png);	
}
.icon-facebook{
	background: url(./images/facebook_chicklet.png);	
}
.icon-twitter{
	background: url(./images/twitter_chicklet.png);	
}
.icon-email{
   background: url(./images/email_chicklet.png);
}

	#top-menu-nav, #top-menu {display: block!important;}
	#et_mobile_nav_menu {display: none;}
	#top-menu li {
		padding-right: 0px;
	    display: block;
	}
	#main-header{
		background:#000000!important;
	}
	#main-header div#et-top-navigation {
    width: 19%!important;
    float: right;
	margin-top: -83px;
    margin-bottom: 45px;
	}
	.et_header_style_centered #top-menu > li > a {
    padding-bottom: 12px!important;
	}
	.et_header_style_centered #top-menu {
    text-align:right;
	 padding-right: 25px;
	}

.gallery_list{
	display:block;
	width:100%;
}
.gallery_list img{
	display:none;
}
.gallery_list a{
	margin: 0px;
}
.thumbnail_post_title{
	display:none;
}
.gallery_list .thumbnail_post_title{
	display:block;
}
#list_toggle{
    position: absolute;
    left: 0px;
}
/* MOBILE */
/* ------ */
/* ------ */
/* ------ */
/* ------ */

/* ------------------------------------------------------------------- */
@media screen and ( max-width: 1700px){
/* ------------------------------------------------------------------- */
	.container.et_menu_container {
			width: 100%;
	}
	.single-comics #main-content, .home #main-content {
		background-size: 113%;
	}
}
/* ------------------------------------------------------------------- */
@media screen and ( max-width: 1460px){
/* ------------------------------------------------------------------- */
	.single-comics #main-content, .home #main-content {
		background-size: 135%;
	}
	.container.et_menu_container {
		background: url(./images/header_tall.jpg) 10px -22px;
		background-size:cover;
	}
}
/* ------------------------------------------------------------------- */
@media screen and ( max-width: 1200px){
/* ------------------------------------------------------------------- */
	.single-comics #main-content, .home #main-content  {
	    background-size: 179%;
	}
	.container.et_menu_container {
		background: url(./images/header_tall.jpg) 8px 0px;
		background-size:cover;
	}
	.et_header_style_centered #logo {
		max-height: 110%!important;
		margin-top: 15px;
	}
}
/* ------------------------------------------------------------------- */
@media screen and ( max-width: 1155px){
/* ------------------------------------------------------------------- */
	#pbf-thumbnail-nav select {
		margin-right: 5%;
	}
}
/* ------------------------------------------------------------------- */
@media screen and ( max-width: 980px){
/* ------------------------------------------------------------------- */
	.hide_mobile{
		display:none;
	}
	#logo_mobile{
	    display: inline-block;
		width: 49%;
		float: left;
		margin-left: 1%;
		margin-top: 1%;
	}
	#logo, .et_header_style_centered .mobile_nav .select_page, .et_header_style_split .mobile_nav .select_page{
		display:none;
	}
	.mobile_menu_bar:before {
		content: "\61";
		color: #fff;
		background: rgb(0, 1, 0);
		box-shadow: 0px 0px 10px #fff;
	}
	.et_header_style_centered .mobile_menu_bar {
		position: absolute;
		top: 2%;
		right: 25px;
	}
	#sb-search {
		position: absolute;
		overflow: visible;
		top: 28%;
		margin-right: 38px;
	}
	#fish{
		width: 140px;
		top: 10px;
		margin-left: -50px;
	}
	.sb-search-open #fish {
		right: 70px;
	}
	.sb-icon-search img{
		width: 75px;
	}
	.et_header_style_centered #main-header .mobile_nav{
		background:transparent;
	}
	.et_header_style_centered #et_mobile_nav_menu {
		margin-top: 5%;
	}
	.et_header_style_centered #main-header {
		padding: 0px 0;
	}
	.pbf-nav-previous a, .pbf-nav-next a, .pbf-nav-oldest a, .pbf-nav-latest a, .pbf-comic-title, .pbf-nav-random a {
		padding: 5px;
	}
	.pbf-comic-title {
		font-size: 20px;
	}
	.pbf-nav-random a{
		margin-left: 28px;
		margin-right: 0px;
		padding: 9px;
		padding-top: 6px;
		padding-bottom: 0px;
		font-size: 21px;
		font-weight: bold;
	}
	.pbf-nav-previous, .pbf-nav-next, .pbf-nav-oldest, .pbf-nav-latest, .pbf-nav-random {
		font-size: 20px;
	}
	.pbf-nav-oldest, .pbf-nav-latest {
		font-size: 30px;
	}
	#main-content .container, .single-comics #main-content .container, .single.et_pb_pagebuilder_layout.et_full_width_page #main-content .container {
    width: 90%;
	}
	#pbf_social_container img {
    display: inline-block;
    max-width: 35px;
	}
	#pbf_social_container {
    bottom: 5%;
    top: initial;
    left: 33%;
	}
	#main-header div#et-top-navigation {
    margin-top: 0px;
    margin-bottom: 0px;
	}
	#pbf_search_container {
    display: none;
	}
		.pbf-nav-random a {
    margin-left: 28px;
    margin-right: 0px;
    padding: 8px;
    padding-top: 4px;
    padding-bottom: 0px;
    line-height: 17px;
    font-size: 12px;
    font-weight: bold;
	}
	#pbf_facebook img {
    margin-top: 0px;
    margin-left: 5px;
	}
	#pbf_instagram img {
    margin-top: -2px;
    margin-left: 1px;
    max-width: 40px!important;
	}
	.container.et_menu_container {
		background: url(./images/header_tall.jpg) center 0px;
		background-size:cover;
	}
	/*show search menu item*/
	#menu-item-216{
	display:block!important;
	}
	.comic_nav{
		margin-bottom: 10px;
	}
}
/* ------------------------------------------------------------------- */
@media screen and ( max-width: 767px){
/* ------------------------------------------------------------------- */
	#pbf-thumbnail-nav select {
		margin-top: 40px;
	}
	#list_toggle{
	position: relative;
    margin-top: 0px;
    bottom: -87px;
    text-align: center;
	}
	#pbf-thumbnail-nav {
		margin-bottom: 80px;
		margin-top: -70px;
	}
	.pbf-thumbnail-gallery{
		margin-top:-30px;
		width: 110%;
    margin-left: -5%;
	}
	.fav_border {
    margin-bottom: 20px;
	}
	#all_thumbnails{
	margin-bottom: 50px;
	}
}
/* ------------------------------------------------------------------- */
@media screen and ( max-width: 680px){
/* ------------------------------------------------------------------- */
	#main-header div#et-top-navigation {
		width: 25%!important;
	}
	#pbf_social_container {
    bottom: 7%;
    top: initial;
    left: 33%;
	}

	.et_header_style_centered #top-menu > li > a {
    padding-bottom: 7px;
    font-size: 20px;
	}
	#pbf-thumbnail-nav{
	    text-align: center;		
	}
	#pbf-thumbnail-nav select {
    margin-right: 0px;
	}
	.container.et_menu_container{
background-position: -527px 0px;
	}
	#logo_mobile {
    margin-left: 19%;
	}
	#pbf_social_container {
    left: 42%;
    bottom: 29%;
}
}
/* ------------------------------------------------------------------- */
@media screen and ( max-width: 479px){
/* ------------------------------------------------------------------- */
	.pbf-nav-random {
		margin-left: -28px;
		float: left;
		position: relative;
	}
	.pbf-nav-random a{
			margin-top: -24px;
	}
	#pbf-bottom-pagination .pbf-nav-random a{
			margin-top: 24px;
	}
	.et_header_style_centered #et_mobile_nav_menu {
		margin-top: 0%;
	}
	.sb-icon-search img {
		width: 75px;
		display: none;	
	}
	#sb-search {
		top: 11%;
		margin-right: -40px;
		z-index: 0;
	}
	#main-header div#et-top-navigation {
    width: 28%!important;
	}
}
/* ------------------------------------------------------------------- */
@media screen and ( max-width: 400px){
/* ------------------------------------------------------------------- */
	#pbf_social_container img {
    max-width: 30px;
	}
		#pbf_instagram img {
    max-width: 36px!important;
	}
	#pbf_social_container {
    bottom: 40%;
	}
}
/* ------------------------------------------------------------------- */
@media screen and ( max-width: 320px){
/* ------------------------------------------------------------------- */
	#logo_mobile {
    margin-left: 18%;
	margin-top: 16px;
	}
	.container.et_menu_container{
	background-position: -467px 0px;
	}
	#pbf_social_container {
    bottom: 8%;
	right: 25px;
    text-align: right;
	}
	#pbf_social_container img{
	float:none;
	}		
	#main-header div#et-top-navigation {
    width: 33%!important;
	}
	#top-menu li a img{
	height: 20px;
    width: auto;
	}
	.et_header_style_centered #top-menu > li > a {
    padding-bottom: 0px!important;
	}
	#main-header div#et-top-navigation {
    margin-top: 0px;
    margin-bottom: 36px;
	}
}