/*
 Theme Name:   Inner City Books
 Description:  Custom Theme for Inner City Books
 Author:   		 Black Cap Design 
 Author URI:   http://www.blackcapdesign.com
 Template:     generatepress
 Version:      1.0
*/


/* Header & Primary Navigation Menu */
.inside-navigation {
	padding-right: 8px;
}
.site-logo img {
  height: 112px;
	width: auto;
}
.navigation-branding .main-title a {
  margin-top: -2px; /* to vertically align with nav menu on large screens */
}
.top-bar p {
	margin-bottom: 0;	
}
li.menu-item-home {
	position: absolute !important;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	width: 1px;
	border: 0;
	overflow: hidden;
}
.menu-item-has-children .dropdown-menu-toggle {
  padding-left: 4px;
}
.main-navigation ul ul {
  top: 80px; /* reduce distance between parent navigation tabs & dropdown on large screens */
}

.secondary-navigation .main-nav ul li a {
	padding-left: 0;
	padding-right: 0;	
	margin-right: 10px;
}
/*
.secondary-navigation .main-nav ul li a::after {
	content: '|';
	color: white;
	padding-left: 10px;
}
*/
.secondary-navigation .top-bar a:link,
.secondary-navigation .top-bar a:visited,
.secondary-navigation .top-bar a:hover,
.secondary-navigation .top-bar a:active {
  color: #ffffff;
}
.navigation-search input[type="search"] {
  border: 1px solid #f8f8f8;
	background-color: #fafafa !important;
  opacity: 1;

}
.main-navigation .main-nav ul li.search-item.active > a {
	background-color: #fafafa !important;
}
.currency-converter-container {
	display: inline-block;
	float: right;
	color: #fff;
	display: none;	
}
select.alg_currency_select {
  color: #fff !important;
  background-color: #88222c !important;
  border: none;	
}
#custom-select select.alg_currency_select {
  /* Hide default arrow */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  /* Style the dropdown box */
  width: 100%;
	padding-left: 10px;
	padding-right: 26px;
	cursor: pointer;
}	
#custom-select {
  position: relative;
  max-width: 150px; /* optional */
}
#custom-select select, 
#custom-select::after {
  height: 40px;
}
#custom-select::after {
  content: "\25be"; 
  position: absolute;
  top: 2px;
  right: 0;
  padding: 0 12px;
  line-height: 40px; 
}

/* Content */
.site-content a {
	font-weight: 600;
}
.lgc-column.lgc-first .inside-grid-column {
	padding-left: 0; 
	padding-right:5%;
}
.lgc-column.lgc-last .inside-grid-column {
	padding-right: 0;
	padding-left: 5%;	
}
div.highlighted-content {
	padding: 20px 10px 20px;
	background-color: rgba(0,0,0,0.05);
	border: 1px solid rgba(139,84,91,0.25);
	margin-bottom: 30px;
}
hr {
	background-color: rgba(0,0,0,.1);
	border: 0;
	height: 1px;
	margin-bottom: 30px;
	margin-top: 20px;
}

/* Forms (forminator) */
.forminator-label {
	display: block;
}
.forminator-required {
	color: #88222c;
	font-size: 1.5em;
}
.forminator-success-message {
	font-size: 1.1em;
	font-weight: 500;
	padding: 20px;
	margin-bottom: 30px;
	color: white;
	background-color: #2c7cb1;
}
.form-container {
	max-width: 600px;
}
.forminator-error-message {
  display: block;
  color: #88222c;
}
.forminator-response-message.forminator-error.forminator-accessible {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}


/* Blog */
.sya_container h4 {
	margin-bottom: 0;
}
.widget .sya_container ul li {
	list-style-type: square;
	margin-left: 16px;
}
.widget-title {
	line-height: 1.25;
}
/* ...inline post navigation...*/
.post-navigation {
    display: flex;
}
.post-navigation .nav-next {
    width: 50%;
    text-align: right;
}
.post-navigation .nav-previous {
    width: 50%;
}
.post-navigation .nav-next .next:before {
    display: none;
}
.post-navigation .nav-next .next:after {
    font-family: GeneratePress;
    text-decoration: inherit;
    position: relative;
    margin-left: .6em;
    width: 13px;
    text-align: center;
    display: inline-block;
    content: "\f105";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    speak: none;
}

/* Woocommerce */
.custom-category-layout .wp-block-group__inner-container {
  padding: 0;
}
.woocommerce ul.products li.product-category.product {
	margin-bottom: 1em;
}
li.product-category .wc-product-image,
.custom-category-layout ul.products li.product a img,
mark.count {
	display: none;
}	
#wc-column-container .product {
  margin-bottom: 2em ;
}
body.page-id-103 ul.products[class*=columns-] li.product,
body.page-id-133 ul.products[class*=columns-] li.product {
	margin-bottom: 0;
}
.page-id-146 .custom-category-layout ul.products li.product a img,
.page-id-150 .custom-category-layout ul.products li.product a img {
	display: inline-block; /* ...Browse by Most Recent (show book cover)... */
}
a.button.wc-forward {
	font-weight: 600;
}
p.out-of-stock,
p.out-of-print {
	font-weight: 600;
	color: #ff0000;
}
.product_cat-out-of-print p.out-of-stock,
.out-of-print,
.product_cat-out-of-print p.price {
	display: none;
}
.product_cat-out-of-print span.price {
	display: none !important;
}
.product_cat-out-of-print p.out-of-print {
	display: block;
	margin-top: 20px;
	font-size: 18px;
}
.product_cat-out-of-print .woocommerce-product-details__short-description {
	margin-top: 0;
}
.woocommerce div.product div.images img {
	display: block;
	width: auto;
	height: auto;
	box-shadow: none;
}
.woocommerce-notices-wrapper a {
	color: #fff;
} 
.woocommerce-error a {
  color: #fff !important;
}

/* Dynamic Complete Catalogue Table */
body.wpt_table_body .wpt-wrap table thead tr.wpt_table_header_row, body.wpt_table_body .wpt-wrap table thead tr.wpt_table_header_row th {
  background-color: #88222c !important;
}
.wpt-wrap a {
  color: #1e73be !important;
	font-weight: 600 !important;
}
.wpt-wrap a:hover {
  color: #8b545b !important;
}
.wpt_edit_table > a::before {
  font-family: "Font Awesome 5 Free";
  content: "\f044";
  position: absolute;
  left: 7px;
}
.wpt_edit_table > a:hover {
  background: #f9f9f9 !important;
}
/* 
#wpt_table tbody tr:nth-child(odd) {
  background-color: #f9f9f9 !important;
} 
*/
 
/* Footer */
div.copyright-bar {
	display: none;
}
div.footer-bar {
	width: 94%;
}
p.footer-align-right {
	text-align: right;		
	font-size: 1.5em;
}
p.footer-align-right i.fa {
	margin-right: 20px;
}
a.speaking-of img {
	vertical-align: middle;
	margin-right: 20px;
}


/* Display below specified resolution */

@media (max-width: 1024px) {
	.lgc-clear {
			display: block;
	}
}

@media (max-width: 950px) {
	.navigation-branding .main-title {
		font-size: 1.2em;
	}	
	
}

@media (max-width: 850px) {
	.navigation-branding .main-title {
		display: none;
	}	
	
}

@media (max-width: 768px) {
	.inside-navigation {
		padding-right: 0;
	}
	li.menu-item-home {
		position: static !important;
		clip: auto;
		height: auto;
		width: auto !important;
		border: 0;
		overflow: visible;
	}
	.lgc-column.lgc-first .inside-grid-column,
	.lgc-column.lgc-last .inside-grid-column {
		padding:0;
	}
	.top-bar {
		max-width: 80%;
	}
	.top-bar p {
		text-align: left;
		line-height: 1.5;
		font-size: 0.9em; 
		padding-top:10px;
		padding-bottom: 10px;
	}	
	select.alg_currency_select { 
	  padding-top: 12px;
		padding-bottom: 12px;
	}
	.secondary-navigation .main-nav ul li a,
	select.alg_currency_select {
		font-size: 14px;
	}
	#custom-select::after {
		content: "\25be"; 
		position: absolute;
		top: 1px;
		right: 0;
		padding: 0 10px;
		line-height: 40px; 
	}	
	.woocommerce div.product div.images img {
		max-width: 220px;
		margin: 0 auto;
	}
	div.footer-bar {
		width: 100%;
	}	
	p.footer-align-right {
		text-align: center;
	}
	table.wpt-tbl tr:nth-child(odd) td {
		background-color: #f9f9f9 !important; 
	}	

}

@media (max-width: 500px) {
	.wpt-stats-report {
		background-color: #88222c !important;
	}

	
}

@media (max-width: 450px) {
	.woocommerce ul.products[class*=columns-] li.product, 
	.woocommerce-page ul.products[class*=columns-] li.product {
			width: 100% !important;
			float: none !important;
	}
	.woocommerce #wc-column-container.wc-mobile-columns-2 .products {
    -ms-grid-columns: 100%;
    grid-template-columns: 100%;
	}

}

	
	
	

