/*
Theme Name:     haysfreepress
Description:    haysfreepress child theme of Smartmag
Author:         haysfreepress
Template:       smartmag

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/



.flexslider .slides li {
	overflow: hidden;
}

.flexslider .slides img {
	width: 100%;
}

.featured .caption + a img {
	// border: 3px solid black !important;
	width: 100%;
	height: auto;
}

.mega-menu .sub-nav {
	margin-right: 0px;
}


li.advads-widget {
  line-height: 10px;
}

li.advads-widget .adcontainer {
  border: 1px solid rgba(0,0,0,0.2);
}

li.advads-widget .adcontainer img {
  width: 100%;
  height: 100%;
}

h3.fb-comments-title {
	margin-bottom: 1px;
	line-height: 32px;
}

.post-content .tagcloud {
	margin-bottom: 3em; // add space before author
}

.post-content .tagcloud a:hover {
	background-color: #e54e53;
	border-color: #e54e53;
	color: white;
	text-decoration: none;
}

@media (max-width:1184px) and (min-width:496px) {
	article {
		margin-left: 32px;	// leave room for social share buttons so they don't overwrite
	}
}

.large-service-ad {
	margin: 5px auto;
	display: block;
	width: 450px;
}

.large-service-ad img {
	width: 450px;
}

.horiz-spacer {
	height: 2px;
	border-top: 2px solid #e54e53;
	margin: 0 auto;
	display: block;
	width: 80%;
}

.small-service-ad-wrapper {
	margin: 5px auto;
	display: block;
	width: 450px;
	position: relative;
}

.small-service-ad {
	width: 200px;
	display: inline-block;
}

.small-service-ad:nth-child(even) {
	position: absolute;
	right: 0;
}

.small-service-ad img {
	width: 200px;
}

.navigation .menu li > a {
	padding: 0px 19px;
}

.a-widget > div {
	display: block;
}

/* my-account link in top-bar */
#my-account-link {
    float: right;
    position: relative;
    margin: 0px 0px 0px 10px;
    color: rgb(101,101,101);
    font-size: 13px;
}

/* woocommerce */
#menu-main-menu .shopping-cart {
	display: none;
}

.woocommerce-MyAccount-content .col-1 {
	width: 50%;
}

/* leaky paywall */
.lp-field-label {
	width: 180px;
	display: inline-block;
}

#leaky-paywall-cc-exp-month {
	width: 60px;
}
#leaky-paywall-cc-exp-year {
	width: 60px;
}


/* Navigation stuff */
@media only screen and (max-width: 1128px)
.navigation .menu li > a {
    padding: 0 18px;
}

@media (min-width: 1129px) {
	.navigation-wrap {
		margin-left: -20px;
		margin-right: -20px;
	}

	.announce-wrap .announce {
		margin-left: -20px;
		margin-right: -20px;
	}

	.breadcrumbs-wrap .breadcrumbs {
		margin-left: -20px;
		margin-right: -20px;
	}
}

@media (max-width: 1128px) {
	.navigation .menu li > a:after {
		display: none;
	}
}

/* Leaky Paywall - Use Woocommerce's login, not Leaky Paywall's crappy one */
#loginform {
	display: none;
}


.myaccount .leaky-paywall-container form#leaky-paywall-profile {
	display: none;
}