/*
Theme Name: Practical Publishing
Theme URI: http://www.practicalpublishing.co.uk
Author: Dorota Lewinska
Author URI: http://www.practicalpublishing.co.uk
Description: Custom wordpress theme for Practical Publishing.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: practical 
*/
/*
 * Globals
*/

body {
  font-family: 'Arial', sans-serif;
  color: #333;
  background: #fff;

}
body > header {
	position: relative;
	display: block;
}
html, body {
	height: 100%;
}
h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
	font-family: 'Times', serif; 
}
hr {
	margin: 10px 0;
}
.textwidget > p {
	display: inline;
	margin: 0;
	padding: 0;
}

.image img {
	width: 100%;
	height: auto;
}
ul {
	list-style: none;
	padding: 0;
}
a {
	color: #666;
}
a:hover, a:active, a:focus {
	color: #333;
	text-decoration: none;
}
.pink {
	color: #e74097;
}
/*
 * Sign in
 */

.logged .sign-in span, .logged .sign-in a {
	display: block;
}

/*
 * Search form
 */
.search-form .search-submit {
	display: none;
}
.search-form .search-field {
	width: 100%;
	padding: 3px 5px 3px 40px;
	margin: 10px 0 0 0;	
	border: 1px solid #ccc;
	border-radius: 4px;
	background: rgba(0,0,0,0);
}
.search-form {
	position: relative;
	float: right;
}
.search-form span {
	position: absolute;
	left: 10px;
	top: 14px;
	width: 30px;
	height: 30px;
	overflow: hidden;
	font-family: 'Glyphicons Halflings';
}
.search-form span::before {
	content: "\e003";
	display: inline-block;
}
/*
 * Header
 */

/*
 * Main menu
 */
.navbar {
  border: none;
  background: none;	
  margin-bottom: 0px; 
}

.dropdown-menu li .dropdown-menu {
	position: relative;
	display: block;
	border: 0;
	width: 100%;
	box-shadow: none;
	padding: 0 5px 0 5px;
}
.dropdown-menu li .dropdown-menu a{
	color: #666;	
}

/*
 * Main column and sidebar layout
 */

.blog-main {
  font-size: 16px;
  line-height: 1.5;
/*  border: 1px dashed #ccc;  */

}
.content {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:   flex;
  flex-wrap: wrap;
}
.content > [class*='col-'] {
  display: flex;
  flex-direction: column;
/*    border: 1px dashed #ccc; */
}
.content .blog-main {
	padding-bottom: 40px;
}
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register {
	margin: 0 !important;
}
.woocommerce-breadcrumb {
	margin-bottom: 10px;
}
.woocommerce-error, .woocommerce-info, .woocommerce-message {
	margin-bottom: 10px !important;
}
.blog-main > h1 {
	margin: 0;
}
.woocommerce > nav {padding: 0;}

fieldset legend {margin: 15px 0 0 0;}
/* Sidebar modules for boxing content */

.sidebar-module {
  padding: 15px;
  margin: 0 -15px 15px;
}
.sidebar-module-inset {
  padding: 15px;
  background-color: #f5f5f5;
  border-radius: 4px;
}
.sidebar-module-inset p:last-child,
.sidebar-module-inset ul:last-child,
.sidebar-module-inset ol:last-child {
  margin-bottom: 0;
}
.sidebar-module > ul > li{
	margin-top: 7px;
	font-weight: bold;
}

.sidebar-module ul {
	list-style-type: none;
	padding:  0;
	text-align: left;
}
.sidebar-module ul ul{
	padding:  0 0 0 10px;
	font-weight: normal;
}
.sidebar-module > img {
	margin: 0 0 20px 0;
}
.sidebar-title {
	text-align: center;
	border-bottom: 2px solid #1e1e1e;
	margin: 0;
	padding: 5px 15px;
	display: inline-block;
}
.sidebar-right > .sidebar-module > ul > li{
	font-weight: normal;
	border-bottom: 1px solid #eeeeee;
	padding: 10px 0;
}
.sidebar-right img {
	margin: 0 0 10px 0;
	width: 100%;
}
/* Pagination */
.page-numbers {
	display: inline-block;
	padding: 5px 6px;
	margin: 0;
	border: 1px solid #eee;
	line-height: 1;
	text-decoration: none;
	border-radius: 2px;
	font-weight: 600;
}
.page-numbers.current,
a.page-numbers:hover {
	background: #f9f9f9;
}


/*
 * Blog posts
 */

article img {
	margin: 0;
}
iframe {
	max-width: 100%;
}


 /*
 * Blog posts comments
 */
.comment-list .reply {
	position: absolute;
	margin: -65px 0 0 10px;
	padding: 5px 10px;
}

.comment-list .glyphicon {
	font-size: 14px;
}

.comment-list .vcard b.fn {
	text-transform: uppercase;
}
.comment-list .vcard span.says {	
	display: none; 
}

.comment-list .vcard img.avatar {
	border: 1px solid #ccc;
	border-radius: 4px;
	margin: 0 20px 10px 0;
	float: left;
}

.comment-list .comment-metadata a time {
	font-size: 13px;
}
.comment-list .comment-metadata span a {
	display: inline-block;
	border: 1px solid #ccc;
	border-radius: 4px;	
	padding: 2px 8px;
	margin-left: 10px;
}

.comment-list .comment-content{
	display: block;
	border: 1px solid #ccc;
	border-radius: 4px;
	margin: 15px 0 25px 0;
	padding: 15px 15px 50px 15px;
}
.comment-list .children {
	padding: 0 0 0 20px;
}
footer.comment-meta {
	background: none;
	color: #333;
	min-height: 1px;
	padding-top: 10px;

}
footer.comment-meta a {
	color: #333;

}
/*
 * Single Product 
 */

img, pre {
    max-width: 100%;
}
img {
    height: auto;
}
.flex-control-thumbs{
	list-style: none;
}
.flex-control-thumbs ul{
	list-style: none;
}
/*
 * Product Listing
 */
.product-list {
	padding-right:15px;
}
.product-list > [class*='col-'] {
	padding-right:0px;
}
.product-list .product {
	position: relative;
	margin-bottom: 10px;

}
.product-list .product img {
	width: 100%;
    height: 181px;
	-o-object-fit: cover;
	object-fit: cover;
}
.product-list .product a {
	display: block;
	min-height: 305px;
	border: solid 1px #ededed;	
}
.product-listing-text {
	text-align: left;
	padding: 0;
	width: 100%;
}
.product-listing-text h2{
	font-size: 18px;
	font-weight: bold;
	margin: 0;
	min-height: 40px;
	padding: 10px 5px;
}
.product-listing-text p {
	font-size: 14px;
	margin: 0;
}
.product-listing-text b {
	font-size: 14px;
}
.latest-issues > a {
	display: inline-block;
	width: 27%;
	margin: 0 3% 20px 3%;
}
.latest-issues {
	margin: 0 0 20px 0;
	text-align: center;
	padding: 10px 0;
	border: 2px solid #1e1e1e;
}
.latest-issues label {
	display: inline-block;
}
.latest-issues ul {
	list-style: none;
	display: inline-block;
	padding: 0 0 0 15px;
}
.latest-issues p {
	display: inline-block;
	margin: 0;
	font-weight: bold;
}
.latest-issues h1 span{
	display: block;
}
.latest-issues h1 i{
	color: #1e1e1e;
}
/*
 * Refine products and Search products
 */
.screen-reader-text {
	clip: unset !important;
}
.filter-search {
	margin: 0 0 10px 0;
	padding: 0 0 10px 0;
	border-bottom: 1px solid #ccc;
}
.woocommerce-product-search button{
	display: none;
}
.woocommerce-product-search .search-field{
	width: 100%;
	padding: 3px 5px 3px 50px;
	margin: 10px 0 0 0;	
	border: 1px solid #ddd;
	border-radius: 4px;
}
.woocommerce-product-search {
	position: relative;
}
.woocommerce-product-search .screen-reader-text{
	position: absolute;
	left: 10px;
	top: 14px;
	width: 30px;
	height: 30px;
	overflow: hidden;
	font-family: 'Glyphicons Halflings';
}
.woocommerce-product-search .screen-reader-text::before {
	content: "\e003";
	display: inline-block;
}

.woocommerce-ordering select, .dropdown_layered_nav_issue {
	padding: 4px 5px 4px 5px;
	margin: 10px 0 0 0;	
	border: 1px solid #ddd;
	border-radius: 4px;	
}
.woocommerce-ordering select {
	width: 78%;
}
.dropdown_layered_nav_issue {
	width: 90%;
}

.woocommerce-ordering::before {
	content: 'Refine ';
	display: inline-block;
	width: 20%;
}
.select2-container {
	width: 80%!important;
}

.woocommerce-widget-layered-nav-dropdown .woocommerce-widget-layered-nav-dropdown__submit{
    float: right;
	margin-top: 0px!important;
}
.select2-container--default.select2-container--focus .select2-selection--multiple {
	border: 1px solid #aaa !important;
	padding: 0!important;
}
.select2-container--default .select2-selection--multiple {
    border: 1px solid #ddd !important;
}

.select2-container .select2-selection--multiple {
	line-height: 20px!important;
}
.select2-container .select2-search--inline .select2-search__field {
	margin-bottom: 2px;
}
/*
 * Single product
 */
.somdn-download-button a {color: #fff;}
.somdn-download-button a:hover, #commentform input#submit:hover {
	color: #2c71f9;
}
.somdn-download-button, .single_add_to_cart_button, #commentform input#submit, .woocommerce-widget-layered-nav-dropdown__submit {
	border: none;
	box-shadow: none;
	text-shadow: none;
	background: #333;
	color: #aaa;
	padding: 5px 15px;
	border-radius: 3px;
	margin-top: 5px !important;
	display: inline-block;
	font-weight: bold;
}
.shop_attributes p {
	margin: 0 0 0 10px;
}
.woocommerce-Price-amount{
	font-weight: bold;	
}
.summary .price .woocommerce-Price-amount{
	font-size: 24px;	
}
.nav > li > a {
	padding: 10px;
}
/*
 * Footer
 */

footer{
  padding-top: 20px;
  padding-bottom: 40px;
}
.blog-footer p:last-child {
  margin-bottom: 0;
}
.footer-segment-title {
	color: #333;
}
/*
* Custom styles
*
*/
.bar-wrapper {
	display: inline-block;
	margin-right: 10px;
}
.icon-bar {
	background-color: #fff !important;
}
.navbar .navbar-nav {
    display: inline-block;
    float: none;
}

.navbar .navbar-collapse {
    text-align: center;
	width: 100%;
	margin: 0 !important;
}
.navbar-collapse.in {
    overflow-y: hidden;
}

.no-gutter > [class*='col-'] {
    padding-right:0;
    padding-left:0;
}
.no-padding {
    padding-right:0;
    padding-left:0;
}
.navbar-toggle, .basket-toggle, .widget_shopping_cart_content .buttons .button {
	position: relative;
	padding: 4px 10px;
	width: 100%;
	text-align: center;
	color: #fff;
	background-color: #1e1e1e;
	background-image: none;
	border: 1px solid #1e1e1e !important;
	border-radius: 4px;
	float: none !important;	
	margin: 0 !important;
	font-size: 20px;
	font-weight: bold;
}
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
	background-color: #fff;
}

.navbar-default .navbar-nav > .open > a {
	background: #e7e7e7;
	color: #555555;
}

#menu-primary-menu {
	background: #1e1e1e;
}
#menu-primary-menu li {
	text-transform: uppercase;
}
#menu-primary-menu li a {
	color: #fff;
	font-weight: bold;
	padding-top: 7px;
	padding-bottom: 7px;
	
}
#menu-primary-menu > li.open > a{
	background: #ff8fce;	
}
#menu-primary-menu > li.active > a{
	background: #1e1e1e;
	color: #ffd9ee;
}
#menu-primary-menu .dropdown-menu{
	background: #ff8fce;
	border: 0;
}
#menu-primary-menu .dropdown-menu > li > a:hover, #menu-primary-menu .dropdown-menu > li > a:active {
	background: #ff8fce;
	color: #ffd9ee;	
}
#menu-primary-menu .dropdown-menu > .active > a {
	background: #1e1e1e;
	color: #ffd9ee;	
}
#menu-primary-menu .dropdown-menu > .active > a:hover {
	background: #1e1e1e;
	color: #fff;
}

/*
* Home page
*/

#slider_1879 .owl-item img {
	border-radius: 50%;
}
#slider_1879 .owl-item > div {
padding: 5%!important;
	
}

/*
* Product gallery thumbs
*/
.flex-control-thumbs {
	margin-top: 20px;
}
.flex-control-thumbs li {
    width: 13%;
    float: left;
    margin-right: 10%;
}
/*
* Product page
*/
#reviews textarea{
	width: 100%;
}
.woocommerce-Tabs-panel {
	padding: 15px;
	border-left: solid 1px #ddd;
	border-bottom: solid 1px #ddd;
	border-right: solid 1px #ddd;
	border-radius: 0;
}
.product_meta {
	margin: 20px 0;
}
.product_meta span{
	display: block;
}
.tabs {
	margin: 20px 0 0 0;
}
#respond textarea{
	width: 100%;
}
.msg-pink {
	color: #1e1e1e;
}
/*
* forms
*/
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .quantity input.input-text, #comment, #commentform input, #commentform select {
	border: solid 1px #ccc;
	border-radius: 3px;
	padding: 4px;
	line-height: 22px;
}

.quantity input.input-text {
	margin-bottom: 10px;
}
.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover {
	background-color: #fc6287 !important;
}
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
	background-color: #1e1e1e !important; 
}
.checkbox input[type="checkbox"], input[type="checkbox"] {
	position: relative;
	transform: scale(1.4); 
}
abbr[title] {
  border-bottom: none !important;
  cursor: inherit !important;
  text-decoration: none !important;
}
#rememberme {
	margin: 0 10px;
}
/*
* account
*/
.download-remaining, .download-expires {
	display: none !important;
}

/*
* map
*/
#map {
	margin-top: 20px;
}
.gm-style-iw span {
	font-weight: bold;
}
/*
* Images in articles (classes added via tinymce editor)
*/
.alignright {
    float: right;
    margin: 0.5em 0 0.5em 1em;
}
.alignleft {
    float: left;
    margin: 0.5em 1em 0.5em 0;
}
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
div.heateor_ss_sl_optin_container label {
	font-size: inherit !important;
}
div.heateor_ss_sl_optin_container label input {
	margin-right: 10px;
}
div.heateor_ss_sl_optin_container label a {
	color: #e74097;
}
/*
* break point queries
*/
@media (max-width: 480px) {

	.navbar-nav {
		margin: 0;
	}
	.product-listing-text h2{
		font-size: 24px;
		min-height: 24px;
	}
	#menu-primary-menu	{

		width: 100%;
	}
	#menu-primary-menu li a {
		
		font-size: 20px;
	}
	.container-fluid > .navbar-header {
		margin: 0;
	}	
	.home-content {
		padding: 0 10px;
	}
	.header-center {
		height: 0px;
	}	
	.content .blog-main {
		margin-top: 0px;
	}

	.search-form label {
		width: 100%;		
	}
	.search-form {
		float: none;
	}
	.container-fluid {
		padding: 0;
	}
	.sign-in {
		margin-top: -10px;
	}
	
	.woocommerce-MyAccount-navigation > ul > li {
		display: inline-block;
		padding: 3px 6px;
		margin: 5px;
		border: 1px solid #e74097;
		border-radius: 4px;		
	}
	.woocommerce-MyAccount-navigation > ul > li.is-active {
		background: #e74097;
	}
	.woocommerce-MyAccount-navigation > ul > li.is-active > a {
		color: #fff;		
	}
	#commentform label {
		font-weight: normal;
	}	
	.select2-container {
		width: 70%!important;
	}	
}

@media (max-width: 768px) {
	h2 {
		font-size: 22px;
	}	
	.navbar-nav > li > a {
		padding: 8px;
	}
	.blog-main {
		margin-top: 0;
	}	
	.dropdown_layered_nav_issue {
		width: 80%;
	}
	.issue-filter-dropdown p {
		display: inline-block;
		width: 20%;
	}
	.product-list .product a {
		min-height: 305px;
	}	
}
@media (min-width: 1200px) {
	.ad-row:first-child {
		padding-right: 5px;
	}
	.ad-row:nth-child(2n){
		padding: 0 10px;
	}
	.ad-row:nth-child(3n) {
		padding: 0 15px 0 5px;
	}	
}

@media (min-width: 480px) {
	#menu-primary-menu {
		margin-bottom: -48px;
	}

}

@media (min-width: 480px) and (max-width: 768px) {
	.sign-in {
		margin-bottom: -20px;	
	}

	.product .ad-c, .product .ad-d {
		margin-top: 30px;
	}
	
}
@media (min-width: 480px) and (max-width: 1200px) {


}
@media (min-width: 768px) {
	#menu-primary-menu {
		margin-bottom: -48px;
		font-size: 17px;
	}
	.woocommerce-product-search {
		padding-left: 7px;
	}	
	
}
@media (min-width: 1200px) {
	#menu-primary-menu {
		font-size: 18px;
	}

}
@media all and (-ms-high-contrast:none) {
	/* IE10 */
	 /*.foo { color: green }  */
	/* IE11 */
	 *::-ms-backdrop,  
	 .content > [class*='col-'] {
	  display: block;
	  flex-direction: none;
	}
}