/*
Theme Name: Listify - Child Theme 
Theme URI: http://astoundify.com/themes/listify
Author: Astoundify
Author URI: http://astoundify.com
Description: Your beautiful handcrafted directory.
Version: 1.0.0
License: GNU General Public License
License URI: license.txt
Text Domain: listify-foursquare
Domain Path: /languages/
Tags: white, two-columns, one-column, right-sidebar, left-sidebar, responsive-layout, custom-background, custom-header, theme-options, full-width-template, featured-images, flexible-header, custom-menu, translation-ready
Template: listify
*/

p, table, td {
  -moz-hyphens: none;
  -ms-hyphens: none;
  -webkit-hyphens: none;
  hyphens: none;
}

.primary-header .primary-header-inner {
    height: 95px;
}

.site-branding .custom-header img {
    max-width: 90%;
}

/* Remove comments from photo gallery */

.single-job_listing .mfp-content #comments {
    display: none;
}

/* update primary menu dropdown link text colour */
.nav-menu.primary ul ul a {
    color: black;
}

/* update input & textarea focus colour */
input:focus, textarea:focus {
    background-color: #ffffff;
}

/* Remove ratings stars */

body .job_listing-rating-wrapper,
.map-marker-info .rating {
    display: none;
}

.type-job_listing.style-grid .job_listing-entry-footer {
    display: none;
}

/* Remove rss */
.showing_jobs {
display: none !important;
}

.rpwe-block ul{
list-style: none !important;
margin-left: 0 !important;
padding-left: 0 !important;
}

.rpwe-block li{
border-bottom: 1px solid #eee;
margin-bottom: 10px;
padding-bottom: 10px;
list-style-type: none;
}

.rpwe-block a{
display: inline !important;
text-decoration: none;
}

.rpwe-block h3{
background: none !important;
clear: none;
margin-bottom: 0 !important;
margin-top: 0 !important;
font-weight: 400;
font-size: 12px !important;
line-height: 1.5em;
}

.rpwe-thumb{
border: 1px solid #eee !important;
box-shadow: none !important;
margin: 2px 10px 2px 0;
padding: 3px !important;
}

.rpwe-summary{
font-size: 12px;
}

.rpwe-time{
color: #bbb;
font-size: 11px;
}

.rpwe-alignleft{
display: inline;
float: left;
}

.rpwe-alignright{
display: inline;
float: right;
}

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

.rpwe-clearfix:before,
.rpwe-clearfix:after{
content: "";
display: table !important;
}

.rpwe-clearfix:after{
clear: both;
}

.rpwe-clearfix{
zoom: 1;
}

.page-cover {
margin: 0;
}

.post-104 table, .post-104 tr, .post-104 td, .post-104 th{
	border: 0;
}

.post-104 th {
	text-align: center;
}

.cloverseeds {
  float: left;
  clear: both;
  margin-top: 3em;
}

/*
 * jQuery FlexSlider v1.8
 * http://flex.madebymufffin.com
 *
 * Copyright 2011, Tyler Smith
 * Free to use under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */
 
/* Browser Resets */
.flex-container a:active,
.flexslider a:active {
	outline: none;
}

.slides,
.flex-control-nav,
.flex-direction-nav {
	list-style: none;
	margin: 0; 
	padding: 0; 
} 

/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {
	margin: 0; 
	padding: 0;
	width: 100%; 
}

.flexslider .slides > li {
	display: none;
} /* Hide the slides before the JS is loaded. Avoids image jumping */

.flexslider .slides img {
	display: block;
	max-width: 100%; 
}

.flex-pauseplay span {
	text-transform: capitalize;
}

/* Clearfix for the .slides element */
.slides:after {
	clear: both;
	content: "."; 
	display: block; 
	height: 0;  
	line-height: 0; 
	visibility: hidden;
} 

html[xmlns] .slides {
	display: block;
} 

* html .slides {
	height: 1%;
}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {
	display: block;
}


/* FlexSlider Default Theme
*********************************/
.flexslider {
	background: #fff; 
	position: relative; 
	zoom: 1;
}

.flexslider .slides {
	zoom: 1;
}

.flexslider .slides > li {
	position: relative;
}

/* Suggested container for "Slide" animation setups. Can replace this with your own, if you wish */
.flex-container {
	zoom: 1; 
	position: relative;
}

/* Caption style */
/* IE rgba() hack */
.flex-caption {
	background:none; 
	-ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000); 
	zoom: 1;
}

.flex-caption {
	background: rgba(0,0,0,.3);
	bottom: 0; 
	color: #fff; 	 
	font-size: 14px;
	left: 0; 
	line-height: 18px;
	padding: 2%; 
	position: absolute;
	text-shadow: 0 -1px 0 rgba(0,0,0,.3);
	width: 96%;
}

/* Direction Nav */
.flex-direction-nav li a {
	width: 52px; 
	height: 52px; 
	margin: -20px 0 0; 
	display: block; 
	background: url(images/bg_direction_nav.png) no-repeat 0 0; 
	position: absolute; 
	top: 50%; 
	cursor: pointer; 
	text-indent: -9999px; 
	z-index: 100;
}
body .flex-direction-nav li .next {
	background-position: -52px 0; 
	right: -60px;
}

body .flex-direction-nav li .next:hover {
	background-position: -52px -50px; 
}

.flex-direction-nav li .prev {
	left: -60px;
}

.flex-direction-nav li .prev:hover {
	background-position: 0 -50px;
}

.flex-direction-nav li .disabled { 	 
	cursor: default;
	filter:alpha(opacity=30);
	opacity: .3;
}

/* Control Nav */
.flex-control-nav {
	float: left;
	margin: 20px  0 10px;
	position: relative; 
	text-align: center; 
	width: 100%;
	z-index: 100;
}

.flex-control-nav li {
	*display: inline;
	display: inline-block;
	margin: 0 0 0 5px;  
	zoom: 1;
}

.flex-control-nav li:first-child {
	margin: 0;
}

.flex-control-nav li a {	 
	background: url(images/bg_control_nav.png) no-repeat 0 0; 
	cursor: pointer; 
	display: block;
	height: 13px;
	text-indent: -9999px;
	width: 13px;
}

.flex-control-nav li a:hover {
	background-position: 0 -13px;
}

.flex-control-nav li a.active {
	background-position: 0 -26px; 
	cursor: default;
}


.search_jobs > div.search_keywords {
	display: none;
}
 
.search_jobs > div.search_location {
	display: none;
}

.search_jobs > div.search-radius-wrapper {
    display: none;
}

.search_jobs > div.search_categories {
 	width: 100% !important;
}

.search .col-sm-6 {
	float: none;
	width:	100%;
}

.member-img {
	float: right;
	margin: 1em 0 0 2em;
	border: 1px solid #ddd;
}

.member-content {
	margin-bottom: 3em;
	float: left;
}

/* responsive table */
@media screen and (max-width: 600px) {
table #scotland_piers {width:100%;}
/*tr:nth-of-type(2n) {background-color: inherit;}*/
/*tr td:first-child {background: #f0f0f0; font-weight:bold;font-size:1.3em;}*/
tbody td {display: block;  text-align:center;}
tbody .cart_item td {display: table-cell;}
tbody td:before { 
    content: attr(data-th); 
    display: block;
    text-align:center;  
  }
}

figcaption {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    background: rgb(255,255,255);
    background: rgba(255,255,255,0.8);
    padding: 4px 8px;
    font-size: 11px;
}

ul {
    list-style: none;
}

/* photo contest plugin */
.pc-control-img, .pc-showqrcode {
    display: none;
}

.contest-rules h2 {
	display: block !important;
	font-family: Montserrat,sans-serif !important;
	color: #000 !important;
	background-color: transparent !important;
	border: none !important;
}

.contest-rules h3 {
	font-family: Montserrat,sans-serif !important;
}

#page figcaption {
	position: static;
}


/* remove text in site heading for small screens */
@media screen and (max-width: 450px) {
   	.site-title {
		display:none;
	}
	.site-branding {
		text-align: center;
	}
}



/* woocommerce product layout changes */
body .content-shop-wrapper .type-product {
    background: none;
    box-shadow: none;
    position: relative;
    cursor: pointer;
    vertical-align: middle;
}

.content-shop-wrapper .type-product [data-product_id].button {
    opacity: 0;
}

@media screen and (min-width: 600px) {
.woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images {
    float: left;
    width: 28%;
}

.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
    float: right;
    width: 70%;
}
}

/* mailchimp form*/
#mc4wp_email {
    margin: 0 0 .75em;
}
#subscribe {
    padding: 0.85em 1.5em;
    margin: 1em 0 .75em;
}

@media screen and (min-width: 1200px) {
	#mc4wp_email, #subscribe {
		float: left;
	}
	#subscribe {
		margin: 0 0 0 1em;
	}
}

body .widget a {
	color: #3396d1;
}

.jsShow, .piernews li.jsShow {
    display: none;
}
.piernews li.jsShow {
    cursor: pointer;
}

article.event, article.news {
    background: #fff;
    margin: 0 0 5.12820512820513% 0;
    padding: 5.12820512820513%;
}

.entry-content p {
	line-height: 1.4em;
}

.entry-header .entry-title a {
	padding: 4em 1em;
}

.single-news figcaption, .post-type-archive-news figcaption {
	position: static;
}

.archive-month {
	margin-left: 3em;
}

.event_info {
    background: white;
    padding: 2.5em 1.875em 1em;
    /*min-height: 210px;*/
}

.event_info footer {
	display: none;
}

.event_info h4 {
   margin: 0px 0px 12px;
}

ul.event_entries {
   margin: 0;
   display: flex;
   flex-flow: wrap;

}

.event_button {
    display: table;
    margin: 0 auto;
}

.event_container:after, .event_container:before {
    content: "";
    display: table;
}

.event_container:after {
    clear: both;
}

.odd-row {
    background-color: #f7f7f7;
}

.membership-grid {
    margin: 1em 0;
}

.membership-grid .even-row, .membership-grid .odd-row {
    padding-top: 1.5rem;
    padding-bottom: 1rem;
}

.membership-grid h4 {
    font-size: 1.25em!important;
    text-transform: none;
    font-weight: 700;
    margin: 0;
    color: #373737;
    border: none;
}

.membership-grid hr {
    margin: 0;
    border-color: #373737;
    border-bottom-style: inset;
}

.radio-location {
    float: left;
    margin-right: 1em;
    margin-top: 0;
    margin-bottom: 0;
}

#paypal-gift-outside-eu, #paypal-new-in-eu, #paypal-new-outside-eu, #paypal-renew-in-eu, #paypal-renew-outside-eu {
    display:none;
}

.responsive-tabs table, .responsive-tabs tr, .responsive-tabs td {
	border: 0;
}

.responsive-tabs input[type=text] {
    width: 100%;
}

.responsive-tabs input[type=radio] {
	margin: 0 1em 0 0;
	padding-bottom: 1em;
}

.responsive-tabs fieldset {
	margin: 0;
}

input[type=image] {
	border: 0;
	background: none;
	padding: 0;
}

.radio-where {
	padding-bottom: 1em;
}

.mfp-content select {
	color: #717a8f;
    background-color: #f3f6f9;
    padding: 13px 15px 12px;
    -moz-appearance: none;
    appearance: none;
    border: 0;
    background-image: none;
    box-shadow: none;
    border-radius: 4px;
    max-width: 100%;
}

fieldset {
   border: 0;
}


/* REQUIRED for core functionality */

.responsive-tabs__heading { display: none;}
.responsive-tabs__list__item { display: inline; cursor:pointer;}


@media (max-width: 1800px) {
	.responsive-tabs__list { display: none;}
	.responsive-tabs__heading { display: block; cursor: pointer; }
	.responsive-tabs__panel--closed-accordion-only { display: none;}
}

@media (min-width: 1800px) {
	.responsive-tabs__panel--closed-accordion-only { display: block !important;}
}

/* END - Required for core functionality */


/* OPTIONAL - Basic Skin */

.responsive-tabs-wrapper { 
	clear: both;
	zoom: 1; 
}
.responsive-tabs-wrapper:before,
.responsive-tabs-wrapper:after {
    content: "";
    display: table;
} 
.responsive-tabs-wrapper:after {
    clear: both;
}

.responsive-tabs__heading:focus,
.responsive-tabs__list__item:focus { outline: 1px solid #ccc;  }

.responsive-tabs__heading--active:focus,
.responsive-tabs__list__item--active:focus { outline: none !important;}

.responsive-tabs__list { font-size: 1.2em; margin: 2em 0 0 0; padding: 0;border-bottom: 1px solid #ddd; padding-bottom:11px; line-height: 1em;}
.responsive-tabs__list__item { background: #eee; padding: 10px 20px;  margin-right: 1em; border-top-left-radius: 5px; border-top-right-radius: 5px;border: 1px solid #ddd; }
.responsive-tabs__list__item:hover {background: #efefef }
.responsive-tabs__list__item--active, 
.responsive-tabs__list__item--active:hover {  background: #fff; border-bottom-color: #fff;}

.responsive-tabs__panel { margin-bottom: 50px;}

@media (max-width:1800px) {
	.responsive-tabs__heading { 
		border-radius: 5px;
		background: #efbc84;
		color: #fff;
		position: relative;
		padding: 1em;
		vertical-align: bottom;
    	box-shadow: inset 0 -3px 0 rgba(0,0,0,.1);
    	text-shadow: none!important;
		}

	.responsive-tabs__heading:after {
		content:"";
		display: block;
		position: absolute;
		right: 20px;
		top: 40%;
		width: 0; 
		height: 0; 
		border-left: 10px solid transparent;
		border-right: 10px solid transparent;
		border-top: 10px solid #fff;

	}
	.responsive-tabs__heading:hover,
	.responsive-tabs__heading--active:hover { background-color: #eab77f;}
	.responsive-tabs__heading--active { background: #eab77f;}
	.responsive-tabs__heading--active:after {
		border-bottom: 10px solid #fff;
		border-top:0;
	 }
}

/* END - Optional - Basic Skin */

/* woocommerce products */

.type-product .product-image {
    position: relative;
    width: 100%;
    display: block;
    border-radius: 4px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: inset 0 0 0 1px #ffffff, rgba(0, 0, 0, .03) 0 2px 0;
    border: 0;
}

.woocommerce .product h3 {
    color: #000;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    margin-bottom: 0;
}

.content-shop-wrapper .type-product .price {
    text-align: center;
}

.woocommerce .content-shop-wrapper .price .amount {
    color: #3396d1;
}

.woocommerce .product h3 {
    margin-top: 1.5em;
}

.home-widget-section-title {
    padding-top: 2em;
}

.mfp-content .popup {
    background-color: white;
    color: #717a8f;
}

body .widget a.popup-trigger-ajax {
    color: #fff;
}

.cd-top 
{
	position: fixed;
	height: 46px;
	width: 46px;
	right: 30px;
	bottom: 0;

	border: solid 2px #efbc84;

	border-radius: 46px;
	-moz-border-radius: 46px;
	-webkit-border-radius: 46px;

	/* image replacement properties */
	overflow: hidden; 
	text-indent: 100%;
	white-space: nowrap;

	background: #FFFFFF url(images/back_to_top.svg) no-repeat center 50%;

	visibility: hidden;
	opacity: 0;

	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
	z-index: 999;
}

.cd-top.cd-is-visible 
{ 
	visibility: visible;
	opacity: .4;
	bottom: 30px;
}

.cd-top.cd-fade-out 
{
	/*opacity: .1;*/
}

.cd-top:hover 
{
	background: #FFFFFF url(images/back_to_top.svg) no-repeat center 50%;
	opacity: 1;
}

@media (min-width: 992px) {
.home-widget-section-title {
    padding-top: 4em;
	}
}

#inter_piers, #inter_piers td {
	border: none;
}

.entry-cover.has-image:after, .listing-cover.has-image:after {
    background: rgba(0,0,0,.25);
}


@media (min-width: 992px) {

	.site-header{position:fixed;top:0;width:100%;z-index:100};

	.primary-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 51;
	}

	.main-navigation {
	    position: relative;
	    width: 100%;
	    border-bottom: 1px solid #eee;
	}

	.fixed-header .primary-header {
    	position: static;
	}

	.post-type-archive-job_listing.fixed-header .primary-header, .tax-job_listing_category.fixed-header .primary-header,
	.tax-job_listing_type.fixed-header .primary-header {
    	position: fixed;
	}


	/**
	 * Note: I have omitted any vendor-prefixes for clarity.
	 * Adding them is left as an exercise for the reader.
	 */
	.headroom {
	    will-change: transform;
	    transition: transform 200ms linear;
	}
	.headroom--pinned {
		-webkit-transform: translateY(0%);
    	-ms-transform: translateY(0%);
	    transform: translateY(0%);
	}
	.headroom--unpinned {
		-webkit-transform: translateY(-100%);
    	-ms-transform: translateY(-100%);
	    transform: translateY(-100%);
	}
}

/*#content {
	margin-top:	53px;
}*/

@media screen and (max-width: 450px){
.site-title {
    display: none;
}

.member-img {
	margin: 1em 0 2em 0;
}

}

