/*
Theme Name: Book By Its Cover
Author: Also
Author URI: http://also-online.com/
Description: Custom theme for BBIC
Version: 1.0
*/

/* =Structure
-------------------------------------------------------------- */

* {
  margin: 0;
  padding: 0;
  background: no-repeat;
  -moz-box-sizing: border-box; 
  -webkit-box-sizing: border-box; 
  box-sizing: border-box;
  outline: none;
}

body {
  font-family: 'Sinanova-Regular', Georgia, serif;
  font-size:19px;
  line-height:23px;
  color: #494345;
}

em {
  font-family: 'Sinanova-Italic', Georgia, serif;
  font-style: normal;
}

#stripe-half {
   background: url(images/header-bg.jpg) repeat-x;
   width: 50%;
   position: absolute;
   right: 0px;
    margin-top: 30px;  
   height: 60px;
   z-index: 1;
}

p {
  padding: 0 0 15px 0;
}

p a, a {
  border-bottom: solid thin #494345;
  text-decoration: none;
  color: #494345;
  outline: none;
}

a {
  border-bottom: none;
}

p a:hover, a:hover, .commentlist li h2 a:hover {
  color: #494345;
  border-bottom: none;
}

img {
  border: none;
}

input, textarea, select {
  font-family: 'Sinanova-Regular', Georgia, serif;
  font-size:13px;
  color:#494345;
  padding: 2px;
  border: solid 1px #a8a8a8;
}

::-webkit-input-placeholder {
    color:    #b2a8a6;
}
:-moz-placeholder {
    color:    #b2a8a6;
}
:-ms-input-placeholder {
  color:    #b2a8a6;
}


.button {
  border: none;
  font-family: 'QuicksandBook', Helvetica, Arial, sans-serif;
  cursor: pointer;
}

.button:hover {
  color: #494345;
}

.left {
  float: left;
}

.right {
  float: right;
}

.clear {
  clear: both;
}

.alignleft {
	display: inline;
	float: left;
	margin-right:15px;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 15px;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignnone {
	clear: both;
	display: block;
}

.line {
  background: url(images/line2.png) repeat-x center;
  padding: 3px 0;
  clear: both;
}


h1, h3, #respond input#submit {
  font-family: 'Sinanova-Regular', Georgia, serif;
  font-weight: normal;
  font-size: 80px;
  line-height: 86px;
  margin-bottom: 15px;
}

h1 a:hover, .entry-left li a:hover, .entry-thumb a:hover, .wp-pagenavi a.previouspostslink:hover, .wp-pagenavi a.nextpostslink:hover, #home-archive-header a:hover, h3 a:hover, .entry-postmeta a:hover {
  color: #726B6D;
}

h2, .entry-thumb .category, #reply-title, #respond label {
  font-family: 'QuicksandBold', Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 11px;
  line-height: 16px;
  font-weight: normal;
}

h3, #respond input#submit {
  font-size: 35px;
  line-height: 38px;
  margin-bottom: 0px;
}

.dropcap {
  display: inline;
	float: left;
	margin: 8px 8px 0 0px;
	height:35px;
	#margin: 8px 8px 0 0px;/* override for Microsoft Internet Explorer browsers*/
	_margin: 8px 8px 0 0px; /* override for IE browsers 6.0 and older */	
	font-size: 35px;
	line-height: 40px;
	text-transform: uppercase;
  font-family:'QuicksandBook', Helvetica, Arial, sans-serif;
color: #91a01c}

#header {
  width: 1000px;
  margin: 0 auto;
}

#header-bg {
  background: url(images/fold.png) repeat-y;
  min-height: 119px;
  position: absolute;
  z-index: 999999;
  width:55px;
  margin-left: 220px;
}

#logo {
  float:left;
  width:245px;
}

#main {
  width: 1000px;
  margin: 0 auto;
}

/* Menu */

#menu {
  background: url(images/header-bg.jpg);
  height: 50px;
  float: left;
  width: 755px;
  margin: 30px 0 0 0;
  padding: 15px 0 0 25px;
  position: relative;
  z-index: 999998;
}

#menu li {
  list-style: none;
  float: left;
  margin-right: 19px;
  font-family: 'QuicksandBold', Helvetica, Arial, sans-serif;
  font-size: 12px;
}

#menu li.last {
  float: right;
  margin-right: 0px;
}

#menu li a {
  border-bottom: none;
}

#menu li a:hover {
  color: #939597;
}

#menu-main-menu ul {
  list-style:none;
  position:absolute;
  padding: 10px 20px 10px 20px;
  margin-top: 0px;
  margin-left: -25px;
  visibility: hidden;
	opacity:0; /* Set initial state to transparent */
	-webkit-transition:0.25s linear opacity; /* Make the dropdown fade-in in Webkit */
	z-index:99999999;
}

#menu-main-menu ul li {
  padding:5px 15px 0px 10px;
  background: url(images/footer-bg.jpg);
  margin:0;
  line-height: 16px;
  float: none;
}

#menu-main-menu ul li.last {
  /* padding-right: 40px; */
  float: none;
  padding-bottom: 10px;
}

#menu-main-menu li.last:after {
  /* content: url(images/submenu.png); 
  position: absolute;
  margin: -10px 0px 0 25px;*/
}

#menu-main-menu li:hover ul{
  opacity:1;
  visibility: visible; 
  position:absolute;
  z-index:99999999;
}

#menu-main-menu li:hover ul a {
  text-decoration:none;
  color:#fff;
}

#menu-main-menu li:hover ul li a:hover {
  color:#BBBBBC;
}


.search {
  float: right;
  margin-top: -2px;
}

.search input {
  background: white;
  border: none;
  width: 115px;
}

/* Home */

#home-editorial-latest {
  margin:30px auto 0 auto;
  width:1000px;
  padding-bottom: 30px;
  clear:both; 
  background: url(images/home-editorial-latest.jpg) repeat-y;
}

#home-editorial {
  background: url(images/home-editorial-latest-top.png) repeat-x top;
  width: 502px;
  float: left;
  padding-right: 21px;
  padding-top: 60px;
}

#home-editorial h3, #home-latest h3, #home-submissions h3, .sidebar-submissions-content h3, .sidebar-support-content h3 {
  margin-bottom: -20px;
  padding-bottom: 8px;
  border-bottom: 1px solid #808284;
}

.home-archive-cover {
  position:absolute;
  margin:-12px 0 0 0;
}

.home-archive-corner {
  position:absolute;
  margin-left:905px;
  margin-top:-12px;
}

#home-latest {
  width: 498px;
  float: left;
  padding-left: 28px;
  padding-right: 28px;
  padding-top: 60px;
}

.home-latest-corner {
  position:absolute;
  margin-top:-60px;
  margin-left: 396px;
}

#home-latest .home-event {
  background: url(images/home-events-bg.png);
  margin:0 0 20px -25px;
  padding:20px 25px;
}

#home-latest .home-event h3 {
  margin-bottom: 0px;
}

#home-latest .home-event span {
  display: inline;
}

.home-event-info {
  font-family: 'QuicksandBold', Helvetica, Arial, sans-serif;
  font-size: 12px;
  line-height: 19px;
  margin: 15px 0;
}

#home-submissions {
  margin-top: -10px;
  margin-bottom: 40px;
}

#home-submissions h2 {
  padding-top: 20px;
}
#home-submissions h3 {
  margin-bottom: 15px;
}

#home-submissions span {
  font-family: 'QuicksandBold', Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}

.announcement {
  background: url(images/fold.png) repeat-y 220px;
  padding-left: 270px;
  padding-top: 20px;
  font-size: 15px;
  line-height: 20px;
}

.announcement .dot {
	border-radius: 50%;
	width: 8px;
	height: 8px; 
  background: #E20544;
  float: left;
  margin: 8px 6px 0 0;
}

.announcement p {
  border-bottom: 1px solid #A7A9AB;
  margin: 0;
  padding: 5px 0 0px 0px;
  display: inline;
  margin-left: 5px;
}

.announcement span.read-more {
  padding: 6px 15px 0 5px;
  display: inline;
}

/* Support */
.support input {
  border: none;
  position: absolute;
  margin-left: 70px;
}

.support img {
  margin-top: 5px;
}

/* Single */
.entry {
  background: url(images/fold-half.png) repeat-y 220px 0px;
  position: relative;
}

.entry-left {
  width:245px;
  float:left;
  margin-top: 35px;

}

.entry-left .by {
  font-size: 35px;
  line-height: 38px;
  padding-right: 35px;
  margin: 5px 0 25px 0;
}

.entry-left .by span {
  margin-left: -20px;
  vertical-align: top;
}

.entry-left ul {
  margin-bottom: 25px;
  background: url(images/list-line.png) no-repeat bottom;
  padding-bottom: 13px;
}

.entry-left li, ul.event-postmeta li, ul.bookstores-publishers li {
  list-style: none;
  text-align: right;
  font-family: 'QuicksandBold', Helvetica, Arial, sans-serif;
  font-size: 12px;
  padding: 2px 35px 2px 0;
  background: url(images/list-line.png) no-repeat;
}

.entry-left span, .entry-thumb .by span, #home-latest span, .commentlist li span, ul.event-postmeta li span, div.entry-postmeta span, .author-meta span, .announcement span, .read_more {
  font-family: Georgia, serif;
  font-size: 11px;
  color: #939597;
  font-style: italic;
}

.read_more {
  display: block;
  border: none;
  padding-top: 10px;
}

.entry-left p {
  padding: 0 35px 0 0;
}

.entry-left p span, #home-latest span, .sidebar-submissions-content span, .sidebar-support-content span {
  display: block;
  margin-top: 8px;
}

.entry-left p span a, .category a, #home-latest span a, .sidebar-support-content span a {
  border: none;
  color: #939597;
}

.entry-left p span a:hover, .category a:hover, #home-latest span a:hover, .sidebar-submissions-content span a:hover, .sidebar-support-content span a:hover{
  border: none;
  color: #494345;
}

.entry-right {
  float:left;
  width:755px;
  padding: 20px 0;
  position:relative;
  display:inline-block;
  overflow: hidden;
  min-height: 670px;
}

.entry .inner {
  position:absolute;
  top:0;
  bottom:0px;
  left:245px;
  right:0;
  width: 60px;
  background: url(images/fold-half2.png) repeat-y -25px 0;
  z-index:99999;
}

.entry-right h1 {
  margin-left: -3px;
}

.entry-right p {
  margin-left: 30px;
  line-height: 26px;
  clear: both;
}

.entry-right .book-pub-text img {
  margin-left: 2px;
}

.entry-right .book-pub-text p {
  line-height: 26px;
  clear: none;
}

.entry-right p img {
  margin-left: -28px;
}

.entry-right img.image.right, .entry-right img.image {
  float: left;
  margin-bottom: 10px;
  margin-right: 38px;
}

.entry-right blockquote p {
  font-size: 16px;
  line-height: 22px;
  background: url(images/comments-bg.jpg);
  padding: 20px;
  margin-bottom: 20px;

}

.related-posts {
  clear: both;
  margin-left: 0px;
}

.related-posts-title {
  float:left;
  width:100px;
  padding-right:19px;
  padding-left: 19px;
  padding-top:110px;
  line-height:15px;
  text-align: center;
}

.addthis_toolbox {
  margin:20px 0 20px 30px;
}

.addthis_toolbox a {
  display: block;
  float: left;
  margin-right: 15px;
}

.noaddthis .addthis_toolbox{
  display: none;
  visibility: hidden;
}

/* Slideshow */
.entry-right .portfolio-slideshow {
  margin-left: 2px;
  width: 755px;
  overflow: hidden;
}

.entry-right .slideshow-wrapper {
  padding-top: 10px;
  border-top: 1px solid #E6E7E8;
  margin-top: 20px;
}

.entry-right.home .slideshow-wrapper {
  padding-top: 0;
  border: none;
  margin-top: -20px;
}

.entry-right .slideshow-nav {
  padding-left: 34px;
  position: relative;
  z-index: 99999;
  font-family: 'QuicksandBold', Helvetica, Arial, sans-serif;
  font-size: 12px;
}

.entry-right.home .slideshow-nav {
  display: none;
}

/* Comments */
#comments {
  background: url(images/fold-reverse.png) repeat-y 20px 0 #fff;
  padding-left: 48px;
  padding-bottom: 30px;
  border-top: 1px solid #E6E7E8;
  position: relative;
  z-index: 999999999;
}

.comment-h1 {
  margin-left: 130px;
  height: 80px;
  overflow: hidden;
}

.comment-h1 h1 {
  margin-top: -26px;
}

.commentlist li {
  list-style: none;
  background: url(images/comment-line.png) no-repeat 0px 22px;
  padding-left: 135px;
  margin-bottom: 30px;
  min-height: 36px;
}

.commentlist li h2, .commentlist li p, .commentlist li#li-comment-72666 p:first-child {
  display: inline;
}

.commentlist li#li-comment-72666 p {
  display: block;
}

.commentlist li h2 {
  color: #A7A9AB;
  padding-bottom: 2px;
  margin-right: 2px;
  border-bottom: 1px solid #A7A9AB;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
    .commentlist li {
      background: url(images/comment-line.png) no-repeat 0px 21px;
    }
}

.commentlist li h2 a {
  color: #726B6D;
}

#comment-reply {
  margin-top: -12px;
  padding-bottom: 10px;
  background: #fff;
  position: relative;
  z-index: 999999999;
}

#respond {
  background: url(images/comments-bg.jpg);
  padding: 20px 30px 0 30px;
  margin-top: -5px;
 
}

#reply-title {
  margin: 0 0 30px 0;
  color: #939597;
}

#respond label {
  display: block;
}

#respond input, #respond textarea {
  background: #fff;
  border: none;
  padding: 3px;
  resize: none;
}

#respond input:hover, #respond textarea:hover {
  background: #F9F9F9;
}

#respond input#submit {
  background: none;
  cursor: pointer;
  padding-bottom: 5px;
}

#respond input#submit:hover {
  color: #fff;
}

.comment-form-author input, .comment-form-email input, .comment-form-url input {
  width: 310px;
}

.logged-in-as {
  height: 185px;
}

.comment-form-comment {
  float: right;
  margin-top:-185px;
}

.comment-form-comment textarea {
  width: 600px;
  height: 148px;
}

.form-submit {
  margin-left: 335px;
}

.comment-notes {
  display: none;
}

.comment-reply-bottom {
  margin-top: -25px;
}

/* Archive */

#archive-header, #archive-footer, #home-archive-header {
  background: url(images/fold.png) repeat-y 220px 0;
  padding-top: 20px;
  padding-left: 270px;
  padding-bottom: 30px;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-bottom: 1px solid #E6E7E8;
}

#archive-footer {
  background: none;
  border-top: 1px solid #E6E7E8;
  clear: both;
  padding-top: 40px;
  padding-left: 0px;
  padding-bottom: 40px;
}

#home-archive-header {
  background: none;
  border: none;
  text-align: left;
  padding-top: 30px;
  padding-left: 750px;
}

.wp-pagenavi {
  float: right;
  width: 200px;
  text-align: center;
}

.wp-pagenavi .previouspostslink, .wp-pagenavi .nextpostslink, #home-archive-header a {
  font-family: 'QuicksandBold', Helvetica, Arial, sans-serif;
  font-size: 12px;
  text-transform: lowercase;
  letter-spacing: 0px;
  
}

.wp-pagenavi .previouspostslink {
  float: left;
}

.wp-pagenavi .nextpostslink {
  float: right;
}

.pages {
  font-size: 35px;
  letter-spacing: 0;
}

.entry-thumb {
  width: 154px;
  float: left;
  padding-right: 19px;
  margin:40px 19px 20px 0;
  background: url(images/thumb-line.png) no-repeat right 70px;
}

.entry-thumb img {
  max-width: 135px;
}

.entry-thumb.first {
  clear: both;
}

.entry-thumb.last {
  width: 135px;
  padding-right: 0px;
  margin-right: 0px;
  background: none;
  float: right;
}

.entry-thumb .category {
  margin: 5px 0;
}

.entry-thumb .by, .entry-postmeta-author {
  font-family: 'QuicksandBold', Helvetica, Arial, sans-serif;
  font-size: 12px;
  line-height: 15px;
  margin-top: 8px;
}

.entry-excerpt {
  width: 269px;
  float: left;
  margin:40px 0px 20px 0;
  
}

/* Events */

.entry-event {
  margin-bottom: 150px;
}

.entry-taxonomy {
  margin-bottom: 60px;
}


.entry-event:after, entry-taxonomy:after {
  display: table;
  clear: both;
  content: "";
}

.entry-taxonomy ul.event-postmeta {
  margin-top: 10px;
}

ul.event-postmeta {
  border-top: 1px #BCBBBB solid;
  border-bottom: 1px #BCBBBB solid;
  margin:30px 0 30px 30px;
  height: 30px;
}

ul.event-postmeta li {
  float: left;
  background: none;
}

.sidebar-event {
  margin-bottom: 50px;
  padding-right: 15px;
}

h2.sidebar-event-title {
  margin-top: 30px;
}

h3.sidebar-event-header {
  background: url(images/list-line.png) no-repeat bottom;
  padding-bottom: 18px;
  margin-bottom: -15px;
}

#home-latest h3.sidebar-event-header {
  background: none;
}

#home-latest .sidebar-event {
  margin-bottom: 0px;
}

/* Authors */
.author-list, .location-list{
  margin-top: 40px;
}

.author-posts {
  margin: 20px 0 0 30px;
}

.author-posts h2 {
  color: #939597;
  margin-bottom: 3px;
}

.entry-postmeta {
  border-top: 1px #BCBBBB solid;
  padding: 7px 0;
  clear: both;
}

.entry-postmeta-author {
  display: inline;
  padding-left: 5px;
}

.author-date {
  display: block;
  float: left;
  width: 55px;
}

.author p {
  clear: none;
}

.entry-right .author p img {
  margin-left: 0;
  margin-top: 5px;
}

/* Sidebar */
.sidebar-submissions {
  margin: 20px 0 20px -10px;
}

.sidebar-submissions-content, .sidebar-support-content {
  margin-top: -5px;
  background: url(images/sidebar-bg.png) repeat-y;
  padding: 0px 20px 10px 15px;
}

.sidebar-submissions-content h3, .sidebar-support-content h3 {
  margin-bottom: 10px;
}

.sidebar-support {
  margin: 50px 0 20px -10px;
}

.sidebar-support-content img {
  float: left;
  max-width: 115px;
  height: inherit;
  padding-right: 10px;
}

.sidebar-support-content {
  font-family: 'QuicksandBold', Helvetica, Arial, sans-serif;
  font-size: 12px;
  line-height: 16px;
  padding-right: 15px;
}

.sidebar-support-content em {
  font-family: 'QuicksandBold', Helvetica, Arial, sans-serif;
  font-style: italic;
}

/* Book Stores & Publishers */

ul.bookstores-publishers {
  margin:10px 0 30px 30px;
}

ul.bookstores-publishers:after {
  display: table;
  clear: both;
  content: "";
}

ul.bookstores-publishers li {
  float: left;
  background: none;
  line-height: 16px;
  text-align: left;
  width: 180px;
  background: url(images/thumb-line.png) no-repeat 160px 0px;
  padding-right: 10px;
  min-height: 80px;
}

ul.bookstores-publishers li.last {
  float: right;
  padding-right: 0px;
  background: none;
}

/* Form */
.gform_body, .gform_heading, .gform_footer .gform_button {
  margin-left: 30px;
}

.gform_body ul.gform_fields li .gfield_label { 
  font-weight: normal;
  margin-bottom: 0px;
  padding: 0;
}

.validation_error {
  color: red;
  font-weight: normal;
  margin-left: 30px;
   font-size:19px;
}

#gforms_confirmation_message {
  margin-left: 30px;
}

.gform_body ul.gform_fields li {
  margin-bottom: 10px;
}

.gform_body ul.gform_fields li input[type=text],
.gform_body ul.gform_fields li input[type=url],
.gform_body ul.gform_fields li input[type=email],
.gform_body ul.gform_fields li input[type=tel],
.gform_body ul.gform_fields li input[type=number],
.gform_body ul.gform_fields li input[type=password],
.gform_body ul.gform_fields li textarea {
  font-family: 'Sinanova-Regular', Georgia, serif;
	font-size: 13px;
	font-family: inherit;
	padding: 2px;
}

/* Footer */
#footer {
  background: url(images/footer-bg.jpg);
  width: 100%;
  padding: 20px;
}

#footer-content {
  width: 1000px;
  margin: 0 auto;
}

.footer-column {
  float: left;
  font-size: 15px;
  line-height: 19px;
  margin:10px 19px 20px 0;
  width: 154px;
  padding-right: 19px;
  text-align: center;
  color: #fff;
}

.footer-column li {
  list-style: none;
  
}

.footer-column li a{
  color: #fff;
}

.footer-column li a:hover {
  color: #CEC7C4;
}

.footer-column h2 {
  border-top: double 4px #9a8f8f;
  border-bottom: double 4px #9a8f8f;
  padding: 5px 0;
  margin-bottom: 5px;
}

.footer-column input {
  background: #fff;
  border: 0;
  margin-top: 5px;
}

.copyright {
  padding: 0px;
  text-align: left;
  writing-mode:tb-rl;
	-webkit-transform:rotate(90deg);
	-moz-transform:rotate(90deg);
	-o-transform: rotate(90deg);
	white-space:nowrap;
	float: right;
	margin: 0;
}

/* Page Columns */

.wpcolumn-clearfix {
    clear: both;
}

.wpcolumn-wrapper-2 .wpcolumn {
    float: left;
    margin: 0px 4% 5px 0;
    width: 46%;
}

.wpcolumn-wrapper-2 .wpcolumn-last {
    margin-right: 0;
}

.wpcolumn-wrapper-3 .wpcolumn {
    float: left;
    margin: 0px 3% 0px 0;
    width: 31%;
}

.wpcolumn-wrapper-3 .wpcolumn-last {
    margin-right: 0;
}

/* Login */
#theme-my-login .message, #theme-my-login .error {
  background: url(images/header-bg.jpg) repeat-x;
  border: none;
  padding: 10px;
  margin-bottom: 15px;
  margin-left: -10px;
}

#theme-my-login .input {
  width: 300px;
}

#theme-my-login #wp-submit {
  border: none;
  cursor: pointer;
  font-size: 30px;
  padding: 0;
  margin: 0
}

#theme-my-login #wp-submit:hover {
  color: #939597;
}

.tml-action-links {
  margin: 15px 0 0 34px;
}

.tml-action-links li {
  list-style: none;
}

a#inifiniteLoader{  
    position: fixed;    
    z-index: 2;    
    bottombottom: 15px;     
    rightright: 10px;   
    display:none;  
} 