/*   
Theme Name: Farmers & Fletchers Theme
Theme URI: http://www.frasers.eu.com
Description: This is a bespoke WordPress Theme template for Farmers and Fletchers-- WordPress v4.2.2
Author: Jamie Rainer and Graham Philpot
Author URI: http://www.frasers.eu.com
Version: 1
*/
@import url("styles.css");

ul.event-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    list-style-type: none;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.events-container {
    width: 80%;
    margin: 0 auto;
    padding-bottom: 5rem;
    display: flex;
    gap: 2rem;
	flex-direction: column;
	align-items: center;
}

.event-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 1rem;
    background: #000;
    color: #FFF;
}

.event-link:hover {
	color:#FFF !important;
}

.event-text-link {
	color:inherit;
}

.events-page-title {
    font-size: 32px;
    line-height: 38px;
    text-align: center;
    font-family: "GillSansMTStd-Medium";
    letter-spacing: 3px;
	text-transform: uppercase;
}

.event-item {
    width: 45%;
    background: #F8F8F8;
    border-bottom: 2px solid #b4a466;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.event-image {
    position: relative;
}

.event-image:after {
    content: "";
    display: block;
    padding-bottom: 50%;
}

h2.event-title {
    margin: 2rem 0 0 0;
}

.event-content {
    padding: 2rem;
}

.event-content p {
    margin: 0;
}

#page .yellowPanel .brownButton {
    background-color: #2c2a29;
    padding: 6px 10px 3px 10px;
    color: #FFF;
    border: none;
    margin-top: 20px;
    font-size: 14px;
	letter-spacing: 0px;
    font-family: "GillSansMTStd-Light";
}
#page .yellowPanel .brownButton:hover {
	background-color: #b4a466;
    color: #2c2a29;
}
p.wp-caption-text {font-size: 14px;}
.wp-caption {width: 100% !important;}
.phoneOnly {display: none;}
#darkGreenPanel.greenPanel {
    background: url(images/grey-down-arrow.png) no-repeat top center #b4a466 !important;
}
@media (max-width: 468px) {
	.notOnPhone {display: none !important;}
	.phoneOnly {display: block !important;}
	.tablesAbove {padding-top: 66px !important;}
}

body.page-template-page-news #leftPanel.group, body.page-template-page-news #rightPanel {
    display: none;
}

section.testimonials-section {
    padding: 2rem 0;
    background: #F8F8F8;
}

.testimonial-heading {
	text-transform:uppercase;
}

.testimonials-container {
	width:80%;
	margin:0 auto;
	text-align:center;
}

.tour-btn {
    background-color: #2c2a29;
    padding: 20px;
    margin: 0;
    display: inline-block;
    color: #FFFFFF;
    border: none;
    /* float: right; */
    margin-top: 0;
    font-size: 20px;
    font-family: "GillSansMTStd-Light";
}

.tour-btn:hover {
    background-color: #b4a466;
}


.pop-up-container {
	background:rgba(0,0,0,0.8);
	position:fixed;
	top:0; right:0; bottom:0; left:0;
	display: flex;
	z-index: 12;
	align-items: center;
	justify-content: center;
	visibility: visible;
	opacity: 1;
	transition:all 0.3s ease-in-out;
}

.pop-up-logo {
    height: 50px;
}

.pop-up-title {
    font-size: 2rem;
    margin: 25px 0 0 0;
	color:#004D71;
}

.closed {
	visibility: hidden;
	opacity: 0;
}

.pop-up-block {
    width: 40%;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    flex-direction: column;
    background: #FFF;
    padding: 25px;
    border-radius: 10px;
	position:relative;
}

.pop-up-block strong {
	font-family:'montserrat-bold';
	color:#004D71;
}

.close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    background:url("../images/close-black.svg") center center no-repeat;
    display: block;
    width: 30px;
    height: 30px;
	cursor: pointer;
}

.offer {
    width: 50%;
    margin: auto;
    height: fit-content;
    top: 50%;
    background: #FFF;
	padding:0 !important;
}

.close-offer {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 60px;
    color: #FFF;
    opacity: 1;
    margin: 0;
    padding: 0;
    width: 30px;
    height: 30px;
    line-height: 30px;
	cursor: pointer;
}

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0;
	font-size:0;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000;
}

.modal-backdrop.show {
    filter: alpha(opacity = 50);
    opacity: .5;
}

.modal-backdrop.fade {
    filter: alpha(opacity = 0);
    opacity: 0;
}

.modal-backdrop.fade.in {
    opacity: 1;
}

img.popup-image {
    width: 100%;
    object-fit: contain;
}