/*
Theme Name: Awa Press
Description: Awa Press theme
Version: 1.0
Author: Andy
*/

/* General styles                                   */
/* ------------------------------------------------ */
body {
	margin: 0;
	background: #fff;
	min-width: 300px;
}

html, body, p, li, dd, td {
	color: #555;
	line-height: 150%;
	font-size: 0.95em;
	font-family: 'Roboto', sans-serif;
}

.pace-running {
	background: url(images/preloader.gif) center 200px no-repeat #fff;
}

.pace-running > :not(.pace) {
  opacity: .6;
}

.pace-done > :not(.pace) {
  opacity: 1;
  transition: opacity .5s ease;
}

img a, a img {
	border: 0;
}

img {
	max-width: 100%;
	height: auto;
}

td, th {
	vertical-align: top;
}

a {
	color: #3e61af;
	text-decoration: underline;
	outline: none;
}

a:hover {
	color: #ff9900;
}

ul {
	margin: 8px 0 18px 18px;
	padding: 0;
}

li {
	padding-left: 4px;
	line-height: 180%;
}

h1, h1 a, h2, h2 a, h3, h3 a {
	line-height: 120%;
	font-weight: normal;
	color: #972e0f;
}

h1 {
	font-size: 2.4em;
	margin-top: 0;
}

h2 {
	font-size: 1.8em;
}

h3 {
	font-size: 1.4em;
}

hr {
	height: 1px;
	border: 0;
	width: 100%;
	background: #dedede;
	color: #dededd;
	margin: 30px 0;
	clear: both;
}

.wrapper {
	width: 950px;
	padding: 0 25px;
	margin: 0 auto;
}

#emergency-message {
    background: #af2c05;
    padding: 20px 0 10px 0;
    overflow: hidden;
}

#emergency-message .wrapper {
    padding: 0 30px;
    /*background-image: url(images/alert.svg);
    background-repeat: no-repeat;
    background-position: 15px 50%;
    background-size: 35px;*/
    position:relative;
}

#emergency-message * {
    color: #fff;
}


#emergency-message p {
    font-size: 14px;
    margin: 0;
    padding: 0 0 5px 0;
}

#emergency-message h3 {
    margin: 0 0 5px 0;
}


#closepopup {
    cursor: pointer;
}

#closepopup img {
    width: 20px;
    height: auto;
    position: absolute;
    right: 20px;
    top: -5px;
}


/* Header                                           */
/* ------------------------------------------------ */
#header {
	font-size: 24px;
	line-height: 140%;
	padding: 10px 0 0 0;
	background: #77bdee url(images/header-bg.gif) top center no-repeat;
	color: #fff;
}


a#headerlogo-big {
	margin-left: -10px;
}

a#headerlogo-small {
	display: none;
}

#tagline {
	font-size: 15px;
	color: #fff;
	text-align: right;
	max-width: 70%;
	line-height: 140%;
	padding: 15px 0 10px 0;
	float: right;
}

#navbar a.cartlink {
	padding-left: 25px;
	background: url(images/cart-empty.png) left 47% no-repeat;
	display: inline-block;
	float: right;
	color: #88290d;
	line-height: 42px;
	font-size: 14px;
	margin: 0 5px;

}



#searchbits {
	font-size: 0;
	padding: 10px 0 0 0;
	height: 45px;
	float: right;
	clear: right;
}

form#searchbox {
	position: relative;
}

#searchsubmit {
	position: absolute;
	right: 0;
}
input#s {
	padding: 4px 15px;
	background:#fff;
	border: 0;
	width: 250px;
	height: 40px;
	font-size: 15px;
	color: #616161;
	float: left;
}

input#s, input#searchbutton {
	height: 32px;
	line-height: 32px;
	vertical-align: top;
}

#s-margin {
	margin: 0 48px 0 78px;
}

input#searchbutton:hover {
	cursor: pointer;
}

select#search-category {
	position: absolute;
	left: 0;
	border: 0;
	border-right: 1px solid #ddd;
	border-radius: 20px 0 0 20px;
	background: transparent;
	width: 78px;
	padding: 6px 20px 6px 8px;
	font-size: 15px;
	color: #666;
	height: 40px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: url(images/arrow.png) right 2px no-repeat #e6f1f8;
}

select#search-category option {
	background: #fff;
}


/* Content                                          */
/* ------------------------------------------------ */
.content {
	padding: 30px 0 100px 0;
	overflow: hidden;
	font-size: 1.1em;
	min-height: 200px;
}

.content, .content p, .content li {
	line-height: 160%;
}

.content img {
	max-width: 100%;
	height: auto;
}

#leftcol, #contentcol {
	float: left;
}

#leftcol {
	float: left;
	width: 23%;
	margin-right: 4%;
}

#contentcol {
	width: 73%;
	float: left;
}

#contentcol > h1, #contentcol > h2, #contentcol > h3 {
	margin-top: 0;
}

/* #contentcol-home {
	float: left;
	width: 46%;
} */

#rightcol {
	float: right;
	width: 21%;
	padding-left: 2%;
	border-left: 1px solid #dedede;
	font-size: 0.90em;
}


.column-half {
	width: 48%;
	float: left;
}

.column-first {
	margin-right: 4%;
}

a.readmore, input[type="submit"] {
	background: #892a0e;
	color: #fff !important;
	padding: 15px 30px;
	text-decoration: none;
	display: inline-block;
	margin: 15px 0;
	font-size: 16px;
	text-transform: uppercase;
	font-weight: 700;
	text-shadow: none;
	line-height: 100%;
	border: 0;
	cursor: pointer;
}

a.readmore:hover, input[type="submit"]:hover {
	background: #eb6227;
	color: #fff !important;
}


a.readmore, .homepagebox-image img, input[type="submit"] {
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

#editorial-desk h2, #news-events h2 {
	margin: 0;
	font-size: 18px;
}

#editorial-desk p {
	margin: 0;
}

#shopping-help {
	background: #77bdee url(images/shopping-help.gif) right top no-repeat;
}

#free-shipping {
	background: #88290d url(images/free-shipping.gif) right top no-repeat;
}

.infobox {
	padding: 15px;
	margin-bottom: 30px;
	font-size: 0.9em;
}

.infobox, .infobox h2, .infobox a {
	color: #fff;
}

.infobox h2 {
	margin: 0;
	padding: 0 60px 30px 0;
	font-size: 24px;
}

#ebook-format {
	background: url(images/ebook.png) left top no-repeat;
	margin: 0 20px 0 0;
	padding-left: 90px;
	font-size: 0.9em;
	min-height: 90px;
}

#ebook-format, #ebook-format h2 {
	color: #fff;
}

#ebook-format h2 {
	margin: 0;
	font-size: 19px;
	padding: 0 66px 20px 0;
}

.ebookformat-row {
    height: 25px;
    padding: 4px 0;
    display: block;
}

.message {
	display: none;
	border-left: 6px solid #62b01e;
	background: #def4de;
	padding: 25px;
	margin: 20px 0;
	color: #4c841a;
	clear: both;
}

form.smallform label {
	width: 120px;
	display: inline-block;
	margin-top: 5px;
}

form.smallform input[type="text"], form.smallform textarea {
	padding: 5px;
	margin: 5px 0;
	width: 200px;
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
}

div.error {
	font-style: italic;
	display: block;
	color: red;
	font-weight: normal;
}

.infopane {
	background: url(images/info.gif) left top no-repeat;
	padding-left: 55px;
	margin-top: 30px;
}

input.error, select.error {
	background: #fae6e6;
}

table.checkout-table {
	border-collapse: collapse;
	width: 100%;
}

table.checkout-table td, table.checkout-table th {
	border: 1px solid #d6d9e2;
	padding: 15px;
}

table.checkout-table td:nth-child(2) {
	width: 10%;
	text-align: center;
}

table.checkout-table td:nth-child(3) {
	width: 12%;
	text-align: right;
}

table.checkout-table td img {
	width: 60px;
	height: 90px;
	float: left;
	margin-right: 10px;
}

table.checkout-table th {
	text-align: left;
	background: #ebedf3;
}


table.checkout-table .add-qty {
	margin-left: 0;
	float: left;
}

button.button-cart {
	padding: 12px 32px;
	clear: both;
	margin: 10px 0;
	color: #fff;
	background: #54577c;
	border: 0;
	font-size: 16px;
	cursor: pointer;
}

table.checkout-table button.button-cart {
	font-size: 15px;
	padding: 8px 14px;
}

table.checkout-table select.qty-select {
	font-size: 15px;
	padding: 4px 35px 4px 4px;
	height: 36px;
}

select.qty-select {
	border: 2px solid #54577c;
	background: transparent;
	width: 80px;
	padding: 8px 35px 8px 8px;
	font-size: 16px;
	height: 44px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: url(images/arrow.png) right top no-repeat #fff;
}

.addtocartbox {
	float: left;
	margin: 10px 0 20px 0;
}

.firstaddtocartbox {
	margin: 10px 40px 20px 0;
}

.bookcheckout {
	margin-left: 72px;
}

option {
	padding: 5px;
}

select#selectshipping {
	width: 200px;
}

/* IE hacks */
select.qty-select::-ms-expand {
	display: none; /* remove default arrow on ie10 and ie11 */
}

/* target Internet Explorer 9 to undo the custom arrow */
select.qty-select {
	background:none\9;
	padding: 5px\9;
}

div.clearfix {
	clear: both;
}

.clearfixtwo, .clearfixthree {
    display: none;
}

.clearfixfour {
    clear: both;
    display: block;
}

body.single-authors #contentcol img {
	max-width: 200px;
	height: auto;
	margin-bottom: 20px;
}

a.newsheading {
	display: block;
	text-decoration: none;
	font-size: 1.5em;
}

span.date {
	display: block;
	font-style: italic;
	color: #777;
	font-size: 0.9em;
}


.section-header {
	display: block;
	background: #77bdee;
	margin-bottom: 15px;
	padding: 4px 0;
}

.section-header img {
	display: block;
}

/* Genres submenu                                   */
/* ------------------------------------------------ */
.genres-list {
	background: #e6f1f8;
	ppadding: 20px;
}

.genres-list ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.genres-list li {
	padding: 0;
}

.genres-list li a:hover, .genres-list li.current-cat a {
	background: #77bdee;
	color: #fff;
}

.genres-list li a {
	text-decoration: none;
	color: #333;
	padding: 5px 20px;
	border-bottom: 1px solid #fff;
	display: block;
}


.genres-list b {
	padding: 6px 0 6px 20px;
	display: block;
	background: #77bdee;
	color: #fff;
}

select#cat {
	width: 100%;
	margin-top: 30px;
	display: none;
}

/* Books                                            */
/* ------------------------------------------------ */
.book-reviews-box {
	padding: 30px;
	background: #eee;
	margin: 25px 0;
}

.booklisting {
	float: left;
	width: 21%;
	margin: 10px 2%;
	line-height: 140%;
	font-size: 0.9em;
	/*height: 300px;*/
}

.booklisting a {
	text-decoration: none;
}

.booklisting-image img {
	width: auto;
	height: 200px;
	margin: 8px auto;
	display: block;
}

.booklisting-image {
	/*border: 1px solid #dedede;*/
	width: 100%;
	margin-bottom: 8px;
}

b.price {
	color: #d24118;
}

.book-cover-large {
	overflow: hidden;
	/*text-align: center;
	background: #edf4f9;*/
	margin: 10px 0;
	line-height: 0;
}

.book-cover-large img {
	max-width: 500px;
    width: 100%;
	height: auto;
	margin: 0 auto;
}

h1.book-title {
	margin: 0;
}

/* Footer                                           */
/* ------------------------------------------------ */
#footer {
	font-size: 0.9em;
	padding: 40px 0 60px 0;
	text-align: center;
	background: #88290d;
}

#footer a, #footer, #footer p {
	color: #fff;
}

#newsletter-signup {
	background: #80c1ef;
	padding: 40px 0;
	color: #fff;
	overflow: hidden;
}

#mc_embed_signup {
	background: #80c1ef url(images/newsletter-signup.png) left top no-repeat;
	padding-left: 120px;
}

#newsletter-signup h3 {
	color: #fff;
	font-size: 30px;
	margin: 0;
}

#newsletter-signup input {
	width: 250px;
	margin: 10px 0;
	border: 1px solid #aaa;
	padding: 10px 20px;
}

a.scrollup {
	width: 53px;
	height: 53px;
	position: fixed;
	bottom: 50px;
	right: 20px;
	display: none;
	text-indent: -9999px;
	background: url('images/top.png') no-repeat;
	opacity: 0.7;
}

#footer-menu ul {
	margin: 0 0 50px 0;
	padding: 0;
	list-style-type: none;
	display: block;
}

#footer-menu ul > li {
	display: inline-block;
	*display: inline;
	zoom: 1;
	margin-right: -4px; /* remove the 4px gap inline elements have */
}

#footer-menu ul li a {
	color: #fff;
	text-decoration: none;
	line-height: 44px;
	padding: 0 20px;
	font-size: 16px;
	font-weight: bold;
	display: block;
	line-height: 200%;
	border-left: 1px solid #c08e7f;
}

#footer-menu ul li a:hover {
	text-decoration: underline;
}

#footer-menu li:first-child a {
	border-left: 0;
}

#footer-logos {
	margin-bottom: 30px;
}

#footer-logos img {
	margin: 0 15px;
}

/* Responsive elements                              */
/* ------------------------------------------------ */

@media screen and (min-width: 1280px) {
	.wrapper {
		width: 1200px;
	}
}


@media screen and (max-width: 1280px) {
	.wrapper {
		width: auto;
	}
}

@media screen and (max-width: 970px) {
	input#s {
		width: 200px;
	}

	#navbar a.cartlink {
		margin-right: 25px;
	}

	select#cat {
		display: inline-block;
	}

	#tagline {
		max-width: 60%;
	}

	#leftcol {
		display: none;
	}
	/*
	#contentcol-home {
		width: 73%;
	}
	*/
	#contentcol {
		width: 100%;
		float: none;
	}

	/*#contentcol .booklisting {
		width: 21%;
	}*/

}

@media screen and (max-width: 800px) {
	#footer-menu ul li a {
		border-left: 0;
	}
}


@media screen and (max-width: 720px) {
	#searchbits {
		float: none;
		clear: both;
		margin-bottom: 10px;
	}

	input#s {
		width: 100%;
	}

	#header {
		text-align: center;
	}

	a#headerlogo-big {
		display: none;
	}

	a#headerlogo-small {
		display: block;
	}

	#tagline {
		float: none;
		clear: left;
		max-width: 100%;
		text-align: center;
		font-size: 14px;
		padding: 0;
	}

	#rightcol {
		display: none;
	}

	/*
	#contentcol-home {
		width: 100%;
		margin: 0;
	}*/

	.booklisting {
		width: 28.33%;
	}

    .clearfixtwo, .clearfixfour {
        display: none;
    }

    .clearfixthree {
        clear: both;
        display: block;
    }

}



@media screen and (max-width: 600px) {
	.booklisting {
		width: 46%;
	}

    .clearfixthree, .clearfixfour {
        display: none;
    }

    .clearfixtwo {
        clear: both;
        display: block;
    }
}

@media screen and (max-width: 540px) {
	#mc_embed_signup {
		background: none;
		padding-left: 0;
	}

	.column-half {
		width: 100%;
		margin-bottom: 50px;
		float: none;
	}

	.column-first {
		margin-right: 0;
	}

}


/* WP Common Styles */
ol.commentlist {
	margin:0;
	padding:0;
	}

.commentlist li {
	list-style:none;
	margin-bottom:14px;
	}

.commentlist cite {
	padding: 7px;
	display:block;
	font-style:normal;
	background:url(http://www.yoursite.com/images/bg_comments2_cite.gif);
	border-top:1px solid #d6e4c1;
	border-bottom:1px solid #779d42;
	color:#596e3b;
	}

.commentlist a:link, .commentlist a:visited {
	color:#596e3b;
	}

.commentlist a:hover, .commentlist a:active {
	color:#8ec343;
	}

.commentlist cite img {
	padding:1px;
	border:1px solid #aab59a;
	float:left;
	margin-right:9px;
	}

.commentlist .author {
	font: small-caps bold 1.2em Georgia, "Times New Roman", Times, serif;
	text-decoration:underline;
	}

.commentlist .time {
	background: url(http://www.yoursite.com/images/bg_clock.gif) no-repeat 1px;
	padding-left:13px;
	}

.commenttext {
	background: #9bc561 url(http://www.yoursite.com/images/bg_comments2_text.jpg) repeat-x bottom;
	border-top:1px solid #c5f386;
	padding: 0 20px 10px 20px;
	color:#fafcf6;
	}

.editLink {
   margin-top: 30px;
   text-align: center;
   padding: 5px 0 15px 0;
}
.editLink a, a.editLink {
   background: #777;
   color: #fff;
   font-size: 18px;
   text-decoration: none;
   padding: 8px 15px;
   -moz-border-radius: 5px;
   -webkit-border-radius: 5px;
   border-radius: 5px;
}
.editLink a:hover, a.editLink:hover {
   background: #444;
   text-decoration: none !important;
}
.postmetadata {
   color: #999;
   font-size: 10px;
   margin: 2px 0;
}

img.aligncenter {
   display: block;
   text-align: center;
   margin: 0 auto;
   padding-bottom: 10px;
}
img.alignright {
   text-align: right;
   display: block;
   float: right;
   margin: 10px 0px 5px 15px;
}
img.alignleft {
   text-align: left;
   display: block;
   float: left;
   margin: 10px 20px 5px 0px;
}
.wp-caption-text,.wp-caption-dd {
   margin: 0;
   font-weight: bold;
   font-size: smaller;
   text-align: center;
}
.wp-caption {
   margin-right: 5px;
}

.wp-caption img {
	padding-bottom: 5px;
}

.alignleft, .alignright {
	margin-bottom: 20px;
}

.more-link {
   display:block;
}
.linklove {
   display:none;
}
.aligncenter,
dl.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignleft {
	float: left;
}
.alignright {
	float: right;
}


@media screen and (max-width: 560px) {
	.alignleft, .alignright {
		float: none;
		margin: 20px auto;
	}
}