/*
Theme Name: Maldon Art Club
Author: Pipe Media
Author URI: https://pipemedia.co.uk
Description: Responsive WordPress Theme for Maldon Art Club
Version: 1.0
*/

/* Web Fonts
------------------------------------------- */

@font-face {
    font-family: 'Gill-Sans-Bold';
    src: url('webfonts/GillSansMTStd-Bold.eot');
    src: url('webfonts/GillSansMTStd-Bold.eot?#iefix') format('embedded-opentype'),
        url('webfonts/GillSansMTStd-Bold.woff2') format('woff2'),
        url('webfonts/GillSansMTStd-Bold.woff') format('woff'),
        url('webfonts/GillSansMTStd-Bold.ttf') format('truetype'),
        url('webfonts/GillSansMTStd-Bold.svg#GillSansMTStd-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gill-Sans-Italic';
    src: url('webfonts/GillSansMTStd-BookItalic.eot');
    src: url('webfonts/GillSansMTStd-BookItalic.eot?#iefix') format('embedded-opentype'),
        url('webfonts/GillSansMTStd-BookItalic.woff2') format('woff2'),
        url('webfonts/GillSansMTStd-BookItalic.woff') format('woff'),
        url('webfonts/GillSansMTStd-BookItalic.ttf') format('truetype'),
        url('webfonts/GillSansMTStd-BookItalic.svg#GillSansMTStd-BookItalic') format('svg');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Gill-Sans-Bold-Italic';
    src: url('webfonts/GillSansMTStd-BoldItalic.eot');
    src: url('webfonts/GillSansMTStd-BoldItalic.eot?#iefix') format('embedded-opentype'),
        url('webfonts/GillSansMTStd-BoldItalic.woff2') format('woff2'),
        url('webfonts/GillSansMTStd-BoldItalic.woff') format('woff'),
        url('webfonts/GillSansMTStd-BoldItalic.ttf') format('truetype'),
        url('webfonts/GillSansMTStd-BoldItalic.svg#GillSansMTStd-BoldItalic') format('svg');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Gill-Sans';
    src: url('webfonts/GillSansMTStd-Book.eot');
    src: url('webfonts/GillSansMTStd-Book.eot?#iefix') format('embedded-opentype'),
        url('webfonts/GillSansMTStd-Book.woff2') format('woff2'),
        url('webfonts/GillSansMTStd-Book.woff') format('woff'),
        url('webfonts/GillSansMTStd-Book.ttf') format('truetype'),
        url('webfonts/GillSansMTStd-Book.svg#GillSansMTStd-Book') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Basic Styles
------------------------------------------- */

	body {
		background-color: #FFFFFF;
		font-family: "Gill-Sans", Arial, Helvetica, Sans-serif;
		font-size: 20px;
		line-height: 26px;
		color: #454545;
		font-weight: normal;
	}

/* Typography
------------------------------------------- */

	h1, h2, h3, h4, h5, h6 {
		font-weight: normal;
		margin: 0 0 20px; }
	h1 { font-size: 44px; line-height: 52px; margin: 0; }
	h2 { font-size: 32px; line-height: 40px; margin: 60px 0 30px; }
	h3 { font-size: 26px; line-height: 32px; margin: 50px 0 30px; }
	h4 { font-size: 20px; line-height: 24px; }
	h5 { font-size: 16px; line-height: 20px; }
	h6 { font-size: 14px; line-height: 18px; }
	
	p { margin: 0 0 20px; }
	p img { margin: 0; }

	em { font-style: italic; }
	strong { font-weight: normal; font-family: "Gill-Sans-Bold", Arial, Helvetica, Sans-serif; }
	small { font-size: 80%; } 

/*	Blockquotes  */
	blockquote, blockquote p { line-height: 36px; font-size: 26px; font-style: italic; color: #555555; }
	blockquote { margin: 40px 0 0; }
	blockquote p:last-child { margin: 0; }
	
/*	Horizontal Line  */
	hr { border: solid #CCCCCC; border-width: 1px 0 0; clear: both; margin: 20px 0; height: 0; }

/*	Text alignment  */

	.text-center { text-align: center; }
	.text-right { text-align: right; }

/* Misc Utilities
------------------------------------------- */

/*	Display None  */
	.d-none { display: none; }

/*	Margins  */
	.m-0 { margin: 0; }
	.mb-0 { margin-bottom: 0; }
	.mb-20 { margin-bottom: 20px; }
	.mb-30 { margin-bottom: 30px; }
	.mb-40 { margin-bottom: 40px; }
	.mb-60 { margin-bottom: 60px; }
	.mt-0 { margin-top: 0; }
	.mt-20 { margin-top: 20px; }
	.mt-30 { margin-top: 30px; }
	.mt-40 { margin-top: 40px; }
	.mt-60 { margin-top: 60px; }
	.ml-20 { margin-left: 20px; }
	.mr-20 { margin-right: 20px; }
	.m-auto { margin: 0 auto; }
	
/*	Padding  */

	.pt-0 { padding-top: 0; }

/*	Floats  */

	.float-left { float: left; }
	.float-right { float: right; }

/* Links
------------------------------------------- */

	a { color: #454545; text-decoration: underline; }
	a:hover { color: #000000; }
	
	h2 a, h3 a, h4 a {
		text-decoration: none;
	}
	
	a.btn,
	button.btn,
	form .frm_submit button {
		font-family: "Gill-Sans-Bold", Arial, Helvetica, Sans-serif;
		border: 1px solid #004F9D;
		background-color: #004F9D;
		color: #FFFFFF;
		display: inline-block;
		padding: 15px 40px 10px;
		text-decoration: none;
	}
	
	a.btn:hover,
	form .frm_submit button:hover {
		background: none;
		color: #004F9D;
	}
	
	a.btn.btn-outline {
		border: 2px solid #FFFFFF;
		background: none;
		display: block;
		text-align: center;
	}
	
	a.btn.btn-outline:hover {
		background-color: #FFFFFF;
		color: #646464;
	}

/* Lists
------------------------------------------- */

	ul {
		list-style: disc;
		padding: 0 0 0 22px;
	}
	
	ul li, ol li {
		margin: 0 0 8px;
		padding-left: 3px;
	}

/* Images
------------------------------------------- */

	img {
		max-width: 100%;
		height: auto;
	}

	img.alignleft {
		float: left;
		margin: 0 40px 0 0;
	}
	
	img.alignright {
		float: right;
		margin: 0 0 0 40px;
	}
	
	img.aligncenter {
		margin: 40px auto;
		display: block;
	}

/* Forms
------------------------------------------- */
	
	input[type="text"], input[type="email"], input[type="password"], textarea {
		-webkit-appearance: none;
		-moz-appearance: none;
		appearance: none;
		border-radius: 0;
	}
	
	#login-form {
		max-width: 350px;
		margin: 0 auto;
	}
	
	#login-form label {
		display: block;
		margin-bottom: 5px;
	}

	#login-form input {
		width: 100%;
		height: 38px;
		border: 1px solid #CCCCCC;
		padding: 7px;
	}

	#login-form input:focus {
		border-color: #FFCB00;
	}

/* Table
------------------------------------------- */

	table {
		border-collapse: collapse;
		margin: 0 0 20px;
		width: 100%;
		text-align: left;
	}

	table tr td {
		border-bottom: 1px solid #DDDDDD;
		padding: 10px;
		vertical-align: top;
	}
	
/* Sections
------------------------------------------- */

	section {
		position: relative;
		padding: 80px 0;
	}
	
	section h2:first-child,
	section h3:first-child {
		margin-top: 0;
	}

/* Header
------------------------------------------- */
	
	header {
		padding: 20px 0 40px;
	}
	
	header #logo {
		width: 205px;
	}
	
	header ul.quick-links {
		list-style: none;
		padding: 0;
		margin: 0;
		float: right;
	}
	
	header ul.quick-links li {
		float: left;
		width: 70px;
		height: 70px;
		margin-left: 15px;
	}
	
	header ul.quick-links li.facebook {
		background: url('images/facebook.svg') no-repeat;
		background-size: 70px auto;
	}
	
	header ul.quick-links li.basket {
		background: #E4E4E4 url('images/basket.svg') center no-repeat;
		background-size: 30px auto;
		position: relative;
	}
	
	header ul.quick-links li.basket span {
		font-family: Helvetica, Arial, Sans-serif;
		background-color: #DB0012;
		color: #FFFFFF;
		width: 25px;
		height: 25px;
		position: absolute;
		top: -5px;
		right: -5px;
		text-align: center;
		border-radius: 50%;
		font-size: 16px;
		line-height: 27px;
	}
	
	header ul.quick-links li.members-area {
		text-transform: uppercase;
		border: 2px solid #EEEEEE;
		width: auto;
	}
	
	header ul.quick-links li.members-area:hover {
		background-color: #EEEEEE;
	}
	
	header ul.quick-links li.facebook a,
	header ul.quick-links li.basket a {
		text-indent: -9999px;
		display: block;
		width: 100%;
		height: 100%;
	}
	
	header ul.quick-links li.members-area a {
		display: block;
		text-decoration: none;
		padding: 23px 25px 18px 25px;
	}
	
/* Navigation
------------------------------------------- */
	
	nav {
		float: right;
		clear: both;
		margin-top: 50px;
	}

	nav ul {
		list-style: none;
		padding: 0;
		margin: 0;
	}

	nav ul li {
		font-family: "Gill-Sans-Bold", Arial, Helvetica, Sans-serif;
		text-transform: uppercase;
		float: left;
		margin-left: 35px;
		padding: 0;
	}
	
	nav ul li:first-child {
		margin: 0;
	}
	
	nav ul li a {
		text-decoration: none;
		border-bottom: 6px solid #FFFFFF;
		padding: 2px 5px;
	}
	
	nav ul li a:hover {
		border-color: #DDDDDD;
		color: #454545;
	}
	
	nav ul li.current-menu-item a,
	nav ul li.current_page_parent a {
		border-color: #FFCB00;
		color: #000000;
	}

/* Footer
------------------------------------------- */

	#shop {
		background-color: #646464;
		color: #FFFFFF;
		text-align: center;
	}
	
	#shop p.title {
		font-family: "Gill-Sans-Bold", Arial, Helvetica, Sans-serif;
		text-transform: uppercase;
		font-size: 40px;
		line-height: 50px;
		margin-bottom: 50px;
	}

	#shop .product h3 {
		font-family: "Gill-Sans-Bold", Arial, Helvetica, Sans-serif;
		line-height: 36px;
		font-size: 24px;
		margin: 20px 0 10px;
	}
	
	#shop .product h3 a {
		color: #FFFFFF;
	}
	
	#shop .product p.price {
		color: #C8C8C8;
	}

	footer {
		border-top: 4px solid #646464;
		padding: 40px 0;
		text-align: center;
	}
	
	footer ul {
		list-style: none;
		margin: 0;
		padding: 0;
	}
	
	footer ul li {
		display: inline-block;
		margin: 0 30px;
		padding: 0;
		color: #646464;
	}
	
	footer ul li a {
		text-decoration: none;
		color: #646464;
	}
	
	footer ul li a:hover {
		text-decoration: underline;
	}

/* Page
------------------------------------------- */	
	
	.row {
		max-width: 1300px;
	}
	
	#page-header {
		background-color: #646464;
		color: #FFFFFF;
		text-align: center;
		padding: 60px 0 50px;
	}

/* Home
------------------------------------------- */

	#home {
		overflow: hidden;
		padding: 0;
	}
	
	#home .row {
		padding-bottom: 0.5rem;
	}
	
	#home .columns {
		padding-left: 0.25rem;
		padding-right: 0.25rem;
	}
	
	#home .block-image {
		background-size: cover !important;
		width: 100%;
		height: 100%;
	}
	
	#home .block-image.block-image-half {
		height: calc(50% - 0.5rem);
	}

	#home .block-grey {
		background-color: #646464;
		color: #FFFFFF;
		padding: 60px;
		min-height: 450px;
	}
	
	#home .block-grey h1 {
		line-height: 38px;
		font-size: 32px;
		margin-bottom: 30px;
	}
	
	#home .block-grey a {
		color: #FFFFFF;
	}
	
	#home .block-blue {
		background-color: #004F9D;
		min-height: 450px;
		width: 100%;
		padding: 30px;
	}
	
	#home .block-blue h2 {
		margin-bottom: 20px;
		color: #FFFFFF;
	}
	
	#home .block-blue ul {
		list-style: none;
		margin: 0;
		padding: 0;
	}
	
	#home .block-blue ul li {
		border-bottom: 1px solid #FFFFFF;
	}
	
	#home .block-blue ul li:last-child {
		border: none;
	}
	
	#home .block-blue ul li a {
		text-decoration: none;
		color: #FFFFFF;
		display: block;
		padding: 15px 0;
	}
	
	#home .block-blue ul li a:hover {
		text-decoration: underline;
	}
	
	#home .block-red {
		background-color: #DB0012;
		height: 50%;
		margin-bottom: 0.5rem;
		padding: 30px;
		color: #FFFFFF;
	}
	
	#home .block-yellow {
		background-color: #FFCB00;
		width: 100%;
		min-height: 325px;
		padding: 30px;
	}
	
	#home .block-red a.btn,
	#home .block-yellow a.btn {
		display: block;
		border: 1px solid #FFFFFF;
		background: none;
		padding: 10px 0;
		text-align: center;
		margin-top: 15px;
	}
	
	#home .block-yellow a.btn {
		border-color: #222222;
		color: #222222;
	}
	
	#home .block-red a.btn:hover {
		background-color: #FFFFFF;
		color: #DB0012;
	}
	
	#home .block-yellow a.btn:hover {
		background-color: #222222;
		color: #FFCB00;
	}

/* Gallery
------------------------------------------- */
	
	#gallery .row {
		margin-bottom: 30px;
	}

	#gallery .gallery-image {
		border: 2px solid #EEEEEE;
		padding: 20px;
		text-align: center;
		margin-bottom: 20px;
	}
	
	#gallery .gallery-image img {
		height: 240px;
	}

	#gallery h3 {
		margin: 0 0 10px;
	}
	
/* News
------------------------------------------- */
	
	article {
		border-bottom: 2px solid #DDDDDD;
		padding-bottom: 60px;
		margin-bottom: 60px;
	}
	
/* Shop
------------------------------------------- */
	
	.woocommerce-result-count,
	.woocommerce-ordering {
		display: none;
	}
	
	.woocommerce ul.products li.product .woocommerce-loop-category__title,
	.woocommerce ul.products li.product .woocommerce-loop-product__title,
	.woocommerce ul.products li.product h3 {
		font-size: 32px;
		padding: 0 0 10px;
	}
	
	.woocommerce ul.products li.product .price {
		color: #DB0012;
	}
	
	.woocommerce div.product p.price,
	.woocommerce div.product span.price {
		font-family: "Gill-Sans-Bold", Arial, Helvetica, Sans-serif;
		color: #DB0012;
	}
	
	.woocommerce div.product form.cart {
		margin-top: 40px;
	}
	
	.woocommerce div.product form.cart div.quantity {
		display: none;
	}
	
	.woocommerce #respond input#submit, .woocommerce a.button,
	.woocommerce button.button, .woocommerce input.button,
	.woocommerce #respond input#submit.alt, .woocommerce a.button.alt,
	.woocommerce button.button.alt, .woocommerce input.button.alt {
		border-radius: 0;
		font-family: "Gill-Sans-Bold", Arial, Helvetica, Sans-serif;
		border: 1px solid #004F9D;
		background-color: #004F9D;
		color: #FFFFFF;
		display: inline-block;
		padding: 15px 40px 10px;
		text-decoration: none;
	}
	
	.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover,
	.woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover {
		background-color: #013C77;
	}
	
	.woocommerce #respond input#submit.disabled, .woocommerce #respond input#submit:disabled,
	.woocommerce #respond input#submit:disabled[disabled], .woocommerce a.button.disabled,
	.woocommerce a.button:disabled, .woocommerce a.button:disabled[disabled],
	.woocommerce button.button.disabled, .woocommerce button.button:disabled,
	.woocommerce button.button:disabled[disabled], .woocommerce input.button.disabled,
	.woocommerce input.button:disabled, .woocommerce input.button:disabled[disabled] {
		background-color: #DDDDDD;
		border-color: #DDDDDD;
	}

	#add_payment_method .wc-proceed-to-checkout a.checkout-button,
	.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
	.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button {
		display: block;
	}
	
	.woocommerce table.shop_table td {
		border-bottom: 0;
	}
	
	.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
		border: 1px solid #CCCCCC;
		padding: 5px;
	}

/* Media Queries
------------------------------------------- */

/* Small only */
@media screen and (max-width: 39.9375em) {
	
	header {
		position: relative;
	}
	
	header #logo {
		margin: 0 auto;
		width: 150px;
	}
	
	header #mobile-menu {
		position: absolute;
		top: 20px;
		right: 1rem;
	}
	
	header #mobile-menu-hamburger {
		width: 30px;
		height: 23px;
		position: relative;
		-webkit-transform: rotate(0deg);
		-moz-transform: rotate(0deg);
		-o-transform: rotate(0deg);
		transform: rotate(0deg);
		-webkit-transition: .5s ease-in-out;
		-moz-transition: .5s ease-in-out;
		-o-transition: .5s ease-in-out;
		transition: .5s ease-in-out;
		cursor: pointer;
		float: right;
		display: block;
	}

	header #mobile-menu-hamburger span {
		display: block;
		position: absolute;
		height: 2px;
		width: 100%;
		background: #2E2A44;
		opacity: 1;
		left: 0;
		-webkit-transform: rotate(0deg);
		-moz-transform: rotate(0deg);
		-o-transform: rotate(0deg);
		transform: rotate(0deg);
		-webkit-transition: .25s ease-in-out;
		-moz-transition: .25s ease-in-out;
		-o-transition: .25s ease-in-out;
		transition: .25s ease-in-out;
	}

	header #mobile-menu-hamburger span:nth-child(1) {
		top: 0px;
	}

	header #mobile-menu-hamburger span:nth-child(2), header #mobile-menu-hamburger span:nth-child(3) {
		top: 10px;
	}

	header #mobile-menu-hamburger span:nth-child(4) {
		top: 20px;
	}

	header #mobile-menu-hamburger.open span:nth-child(1) {
		top: 12px;
		width: 0%;
		left: 50%;
	}

	header #mobile-menu-hamburger.open span:nth-child(2) {
		-webkit-transform: rotate(45deg);
		-moz-transform: rotate(45deg);
		-o-transform: rotate(45deg);
		transform: rotate(45deg);
	}

	header #mobile-menu-hamburger.open span:nth-child(3) {
		-webkit-transform: rotate(-45deg);
		-moz-transform: rotate(-45deg);
		-o-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}

	header #mobile-menu-hamburger.open span:nth-child(4) {
		top: 18px;
		width: 0%;
		left: 50%;
	}
	
	header ul.quick-links {
		position: absolute;
		left: 1rem;
		top: 20px;
	}
	
	header ul.quick-links li {
		width: 40px;
		height: 40px;
		margin: 0 0 20px 0;
		float: none;
	}
	
	header ul.quick-links li.facebook {
		background-size: 40px auto;
	}
	
	header ul.quick-links li.basket {
		background-size: 20px auto;
	}
	
	header ul.quick-links li.basket span {
		width: 20px;
		height: 20px;
		line-height: 22px;
	}
	
	nav {
		float: none;
		margin: 0;
		text-align: center;
		display: none;
	}
	
	nav ul {
		margin: 30px 0 20px;
	}
	
	nav ul li {
		border-top: 1px solid #DDDDDD;
		float: none;
		float: none;
		margin: 0;
		padding: 20px 0 15px;
	}
	
	nav a.members-area,
	nav a.members-area:hover {
		font-family: "Gill-Sans", Arial, Helvetica, Sans-serif;
		border: 2px solid #E4E4E4;
		background: none;
		color: #454545;
		text-transform: uppercase;
	}
	
	#home .row {
		padding: 0;
	}
	
	#home .block-image,
	#home .block-grey,
	#home .block-blue,
	#home .block-yellow,
	#home .block-red {
		border-bottom: 0.5rem solid #FFFFFF;
	}
	
	#home .block-image {
		height: auto !important;
	}
	
	#home .block-grey {
		padding: 40px 30px;
	}
	
	#home .block-blue {
		min-height: 70px;
	}
	
	#home .block-yellow {
		min-height: 70px;
	}
	
	#home .block-red {
		min-height: 70px;
		margin: 0;
	}
	
	section {
		padding: 60px 0;
	}
	
	#shop p.title {
		margin-bottom: 20px;
	}
	
	#shop .product {
		margin-top: 30px;
	}
	
	footer ul li {
		display: block;
		margin-bottom: 10px;
	}
	
	#page-header {
		padding: 50px 0 40px;
	}
	
	.woocommerce #respond input#submit, .woocommerce a.button,
	.woocommerce button.button, .woocommerce input.button,
	.woocommerce #respond input#submit.alt, .woocommerce a.button.alt,
	.woocommerce button.button.alt, .woocommerce input.button.alt {
		padding: 15px 15px 10px;
	}
	
	.woocommerce ul.products li.product .woocommerce-loop-category__title,
	.woocommerce ul.products li.product .woocommerce-loop-product__title,
	.woocommerce ul.products li.product h3 {
		font-size: 24px;
		line-height: 32px;
	}
	
	#gallery .row {
		margin-bottom: 0;
	}
	
	#gallery .columns {
		margin-bottom: 20px;
	}
	
}

/* Medium and up */
@media screen and (min-width: 40em) {}

/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
	
	header {
		position: relative;
	}
	
	header #logo {
		width: 180px;
	}
	
	header ul.quick-links {
		position: absolute;
		top: 20px;
		right: 1rem;
	}
	
	nav {
		float: none;
		margin-top: 30px;
	}
	
	nav ul li,
	nav ul li:first-child {
		margin: 0 20px 0 0;
	}
	
	nav ul li a {
		padding: 2px 0;
	}
	
	footer ul li {
		display: block;
		margin-bottom: 10px;
	}
	
	#home .row {
		padding-bottom: 0;
	}
	
	#home .block-image,
	#home .block-grey,
	#home .block-blue,
	#home .block-yellow,
	#home .block-red {
		border-bottom: 0.5rem solid #FFFFFF;
		margin: 0;
	}
	
	#home .block-image.block-image-half {
		height: 50%;
	}
	
	#home .block-image-yellow {
		min-height: 325px;
	}
	
}

@media screen and (min-width: 640px) and (max-width: 720px) {
	
	nav ul li,
	nav ul li:first-child {
		margin: 0 10px 0 0;
	}
	
}

/* Large and up */
@media screen and (min-width: 64em) {}

/* Large only */
@media screen and (min-width: 64em) and (max-width: 74.9375em) {}