/*
Theme Name: Giffen's Country Market
Theme URI: http://www.giffens.ca/
Author: coloveration
Author URI: http://www.coloveration.com/
Description:
Version: 4.0.3
License: GNU General Public License
License URI: https://www.gnu.org/licenses/gpl.html
Tags:

*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{font-size:100%;font:inherit;padding:0;border:0;margin:0;vertical-align:baseline}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}.clear{clear:both}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}.screen-reader-text{clip:rect(1px, 1px, 1px, 1px);position:absolute !important}

/* Logo */

header {
	width: auto;
	height: auto;
	max-width: 960px;
	margin: 0px auto;
}
#site-title, #site-title-alt { text-align: center; }
#site-title a, #site-title-alt a { text-decoration: none; }
#site-title a:before, #site-title-alt a:before {
	content: "";
	display: inline-block;
	width: 50px;
	height: 32px;
	background-image: url("/wp-content/themes/blankslate/img/apple.svg");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
}
#site-title a:after, #site-title-alt a:after {
	content: "";
	display: inline-block;
	width: 142px;
	height: 18px;
	background-image: url("/wp-content/themes/blankslate/img/flourish.svg");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
}
#site-title, #site-title-alt { margin-top: 17.5px; }
#site-title-alt { margin-bottom: 17.5px; }
#site-title h1, #site-title-alt h1 { -webkit-filter: drop-shadow(-2px 2px 0px rgba(0,0,0,1)); filter: drop-shadow(-2px 2px 0px rgba(0,0,0,1)); }
#site-title-alt { display: block; }

/* Menu */

#menu-menu {
	position: relative;
	display: block;
	float: left;
	width: 100%;
	height: auto;
}
#menu-menu li {
	display: inline-block;
	width: 100%;
	height: 100%;
	margin-right: -4px; /* BUG */
}
#menu-menu li a {
	display: block;
	float: left;
	width: 100%;
	height: 100%;
	color: white;
	font-family: "accord-heavy-sf-bold";
	font-size: 24px;
	line-height: 100%;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
}
#menu-menu li#menu-item-47 {
	display: none;
}

/* Typography */

p {
	color: white;
	font-family: "myriad-pro-regular";
	font-size: 1em;
	line-height: 200%;
}

h1 {
	color: #FF3333;
	font-family: "accord-heavy-sf-bold";
	font-size: 36px;
	letter-spacing: 2px;
	line-height: 100%;
	text-transform: uppercase;
}

h2 {
	color: white;
	font-family: "accord-heavy-sf-bold";
	font-size: 24px;
	line-height: 100%;
	text-transform: uppercase;
}

h3 {
	color: white;
	font-family: "accord-heavy-sf-bold";
	font-size: 20px;
	line-height: 200%;
}

a {
	color: white;
}
a:active, a:hover {
	text-decoration: line-through;
}

/* Lists */

ol, ul {
	color: white;
	font-family: "myriad-pro-regular";
	font-size: 16px;
	line-height: 200%;
}

.entry-content {
	position: relative;
	display: block;
	float: left;
	width: 100%;
	height: auto;
}
.entry-content ul {}
.entry-content ul li {
	list-style: disc;
	list-style-position: inside;
}
	
/* Layout */

a[href^="http://maps.google.com/maps"] { display: none!important }
a[href^="https://maps.google.com/maps"] { display: none!important }
.gmnoprint a, .gmnoprint span, .gm-style-cc { display: none; }

html {}
body {}
#wrapper {
	margin: 0px auto;
}

.outer {
	display: table;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.outer .inner {
	display: table-cell;
	width: 100%;
	margin: 0 auto;
	text-align: center;
	vertical-align: middle;
}

/* 1 Column */

#col0 {}

/* 2 Columns */

#container2 {
	clear: left;
	width: -webkit-calc(100% - 50px);
	width: -moz-calc(100% - 50px);
	width: calc(100% - 50px);
	max-width: 1280px;
	margin: 0px auto;
	padding: 25px;
}
#container1 {
	float: left;
	width: 100%;
	position: relative;
	right: 50%;
}
#col1 {
	float: left;
	width: 100%;
	margin: 0;
	position: relative;
	left: 50%;
	padding-bottom: 25px;
	border-bottom: 1px solid white;
	text-align: left;
}
#col2 {
	float: left;
	width: 100%;
	margin: 0;
	position: relative;
	left: 50%;
	padding-top: 25px;
	padding-bottom: 25px;
	border-top: 1px solid white;
	text-align: left;
}

/* Lines */

#line-1, #line-2, #line-3 {
	display: none;
}

/* 4 Columns */

#container6 {
	clear: left;
	width: -webkit-calc(100% - 50px);
	width: -moz-calc(100% - 50px);
	width: calc(100% - 50px);
	margin: 0px auto;
	padding: 25px;
	overflow: hidden;
}
/* #container6:before, #container6:after {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	right: 100%;
	background: red;
}
#container6:after { 
	width: 100%;
	left: 100%;
	top: 0;
} */
#container5 {
	clear: left;
	float: left;
	width: 100%;
	position: relative;
	right: 25%;
}
#container4 {
	clear: left;
	float: left;
	width: 100%;
	position: relative;
	right: 25%;
}
#container3 {
	float: left;
	width: 100%;
	position: relative;
	right: 25%;
}
#col3 {
	float: left;
	width: 100%;
	position: relative;
	left: 75%;
	padding-bottom: 25px;
	border-bottom: 1px solid white;
	text-align: left;
}
#col4 {
	float: left;
	width: 100%;
	position: relative;
	left: 75%;
	padding-top: 25px;
	padding-bottom: 25px;
	border-top: 1px solid white;
	border-bottom: 1px solid white;
	text-align: left;
}
#col5 {
	float: left;
	width: 100%;
	position: relative;
	left: 75%;
	padding-top: 25px;
	padding-bottom: 25px;
	border-top: 1px solid white;
	border-bottom: 1px solid white;
	text-align: left;
}
#col6 {
	float: left;
	width: 100%;
	position: relative;
	left: 75%;
	padding-top: 25px;
	padding-bottom: 25px;
	border-top: 1px solid white;
	text-align: left;
}

/* Home */

/* Social */

#facebook, #instagram { display: inline-block; }
#facebook a, #instagram a {
	position: relative;
	display: inline-block;
	width: 30px;
	height: 30px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	font-size: 0;
}
#facebook a { margin: 0 5px 0 0; background-image: url("/wp-content/themes/blankslate/img/facebook.svg"); }
#instagram a { margin: 0 0 0 5px; background-image: url("/wp-content/themes/blankslate/img/instagram.svg"); }

#footer {
	text-align: center;
}

#apple {
	display: inline-block;
	width: 240px;
	height: 150px;
	margin: -4px; /* BUG */
	margin-top: 25px;
	background-image: url("/wp-content/themes/blankslate/img/apple.png");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
}

/* Apple Pie Trail & Credit */

#apt-credit {
	position: relative;
	display: block;
	float: left;
	width: 100%;
	max-width: 1280px;
	height: auto;
	margin: 0px auto;
}

/* Apple Pie Trail */

#pm-apt {
	position: relative;
	display: block;
	float: left;
	width: 158px;
	height: auto;
	margin-left: 50px;
}

#proud-member {
	position: relative;
	display: block;
	float: left;
	width: 100%;
	height: auto;
	text-align: left; /* center; */
}
#apple-pie-trail {}
#apple-pie-trail a {
	position: relative;
	display: block;
	float: left;
	width: 100%;
	height: 180px;
	background-image: url("/wp-content/themes/blankslate/img/apple-pie-trail.svg");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
}

/* Credit */

#credit {}
#credit a {
	position: absolute;
	width: 40px;
	height: 40px;
	right: 0;
	bottom: 0;
	background-image: url("/wp-content/themes/blankslate/img/coloveration.svg");
	background-position: center top;
	background-size: cover;
	right: 0;
	bottom: 0;
	margin-right: 50px;
}
#credit a:hover, #credit a:active { background-position: center bottom; }

/* Gallery */

/* http://jsfiddle.net/qnYb5/ -> https://benfrain.com/horizontal-scrolling-area-css-overflow-ios/ */

ul.gallery {
	white-space: nowrap;
	overflow-x: scroll;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	font-size: 0;
}
ul.gallery li {
	display: inline-block;
	margin-right: -4px; /* BUG */
}
ul.gallery li a img {
	width: auto;
	height: 240px; /* 180px; */
}

/* Apples & Produce */

.page-id-12 #col0 {
	position: relative;
	display: block;
	float: left;
	width: 100%;
	width: -webkit-calc(100% - 50px);
	width: -moz-calc(100% - 50px);
	width: calc(100% - 50px);
	height: auto;
	padding: 25px;
	background: rgba(255, 255, 255, 0.75); 
	text-align: center;
}
.apples-produce {
	display: inline-block;
	width: auto;
	height: auto;
	margin-right: -4px; /* BUG */
}
ol.apples h3 {
	color: black;
	white-space: normal;
}
ol.apples {
	position: relative;
	display: block;
	float: left;
	width: auto;
	height: auto;
	padding: 25px;
}
ol.apples li {
	position: relative;
	display: inline-block;
	width: 50px;
	height: auto;
	margin: 0 5px;
	text-align: center;
}
ol.apples li:first-child { margin: 0 5px 0 0; }
ol.apples li:last-child { margin: 0 0 0 5px; }

.tooltip_templates { display: none; }

/* Apple */

ol.apples {}
ol.apples li {}
ol.apples p {
	padding: 10px 0 0 0;
	color: black;
	font-family: "myriad-pro-condensed";
	font-size: 12px;
	line-height: 100%;
	text-transform: uppercase;
}
ol.apples a { text-decoration: none; }
.apple {
	width: 50px;
	height: 32px;
}
.apple_t {
	position: absolute;
	z-index: 1;
	width: 50px;
	height: 32px;
	left: 0;
	top: 0;
	background-image: url("/wp-content/themes/blankslate/img/apple_t.svg");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
}

/* Country Market */

.page-id-19 #container6 { background: rgba(255, 51, 51, 0.75); }

/* Contact */

.page-id-22 #col5 {
	border-bottom: none;
}
	
.page-id-22 #container6 { background: rgba(152, 204, 102, 0.75); }

strong { font-family: "accord-heavy-sf-bold"; }

/* Contact Form 7 */

/* http://stackoverflow.com/questions/7785374/how-to-prevent-column-break-within-an-element */

.wpcf7-form p {
	display: inline-block;
	width: 100%;
}

label {
	font-family: "accord-heavy-sf-bold";
}

input[type=text], input[type=email], textarea {
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 0;
	color: black;
	font-family: "myriad-pro-regular";
	font-size: 16px;
	line-height: 100%;
	resize: none;
}

textarea { height: 120px; }

div.wpcf7 img.ajax-loader {
	display: inline-block;
	width: 18px;
	height: 18px;
    -webkit-animation-name: rotate; 
    -webkit-animation-duration: 1s; 
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: rotate; 
    -moz-animation-duration: 1s; 
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
    -o-animation-name: rotate; 
    -o-animation-duration: 1s; 
    -o-animation-iteration-count: infinite;
    -o-animation-timing-function: linear;
    animation-name: rotate; 
    animation-duration: 1s; 
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@-webkit-keyframes rotate {
    from {-webkit-transform: rotate(0deg);}
    to {-webkit-transform: rotate(360deg);}
}

@-moz-keyframes rotate {
    from {-moz-transform: rotate(0deg);}
    to {-moz-transform: rotate(360deg);}
}

@-o-keyframes rotate {
    from {-moz-transform: rotate(0deg);}
    to {-moz-transform: rotate(360deg);}
}

@keyframes rotate {
  from {transform: rotate(0deg);}
  to {transform: rotate(360deg);}
}

div.wpcf7-response-output, div.wpcf7-validation-errors { display: none!important; }
span.wpcf7-not-valid-tip { display: none; }
input[aria-invalid="true"], select[aria-invalid="true"] { background-color: rgba(128,0,0,0.25); }

/* MapPress */

.gm-style .gm-style-iw {
	font-size: 1em;
	font-weight: normal;
}
.mapp-iw {}
.mapp-title {
	font-family: "accord-heavy-sf-bold";
	font-size: 1em;
	line-height: normal;
}
.mapp-body {}
.mapp-body p {
	color: black;
	line-height: normal;

}
.mapp-links {}
.mapp-links a {
	color: black;
	line-height: normal;	
}

/* 768 and up */
@media screen and (min-width:768px) {
	
	/* Logo */
	
	#site-title-alt { display: none; }
	
	/* Menu */

	#menu-menu { height: 180px; }
	#menu-menu li#menu-item-10 { width: 17.5%; }
	#menu-menu li#menu-item-13 { width: 17.5%; }
	#menu-menu li#menu-item-47 {
		display: inline-block;
		width: 30%;
	}
	#menu-menu li#menu-item-20 { width: 17.5%; }
	#menu-menu li#menu-item-23 { width: 17.5%; }
	#menu-menu li a { width: 100%; }
	
	/* Lists */

	.entry-content {}

	/* 1 Column */

	#col0 {}
		
	/* 2 Columns */
	
	#col1 {
		width: -webkit-calc(50% - 50px);
		width: -moz-calc(50% - 50px);
		width: calc(50% - 50px);
		margin: 25px;
		padding: 0;
		border: none;
		text-align: left;
	}
	#col2 {
		width: -webkit-calc(50% - 50px);
		width: -moz-calc(50% - 50px);
		width: calc(50% - 50px);
		margin: 25px;
		padding: 0;
		border: none;
		text-align: right;
	}

	/* Lines */
	
	#line-1, #line-2, #line-3 {
		position: absolute;
		display: block;
		width: 2px;
		height: -webkit-calc(100% - 50px);
		height: -moz-calc(100% - 50px);
		height: calc(100% - 50px);
		background-color: white;
		right: -1px;
		top: 25px;
	}
	
	/* 4 Columns */
	
	#col3 {
		width: -webkit-calc(25% - 50px);
		width: -moz-calc(25% - 50px);
		width: calc(25% - 50px);
		margin: 25px;
		padding: 0;
		border: 0;
		text-align: left;
	}
	#col4 {
		width: -webkit-calc(25% - 50px);
		width: -moz-calc(25% - 50px);
		width: calc(25% - 50px);
		margin: 25px;
		padding: 0;
		border: 0;
		text-align: center;
	}
	#col5 {
		width: -webkit-calc(25% - 50px);
		width: -moz-calc(25% - 50px);
		width: calc(25% - 50px);
		margin: 25px;
		padding: 0;
		border: 0;
		text-align: center;
	}
	#col6 {
		width: -webkit-calc(25% - 50px);
		width: -moz-calc(25% - 50px);
		width: calc(25% - 50px);
		margin: 25px;
		padding: 0;
		border: 0;
		text-align: right;
	}
	
	/* Home */
	
	#apple {
		width: 480px;
		height: 300px;
		margin-top: 50px;
	}
	
	/* Contact - 4 Column -> 3 Column */
	
	.page-id-22 #col5 {
		width: -webkit-calc(50% - 50px);
		width: -moz-calc(50% - 50px);
		width: calc(50% - 50px);
		margin: 25px;
		text-align: center;
		-moz-column-count: 2;
		-moz-column-gap: 50px;
		-webkit-column-count: 2;
		-webkit-column-gap : 50px;
	}
	
}