/*

Theme Name: X – Child Theme
Theme URI: http://theme.co/x/
Author: Themeco
Author URI: http://theme.co/
Description: Make all of your modifications to X in this child theme.
Version: 1.0.0
Template: x
Site: Parkley Farm Holiday Cottages
Developer: Urwin Digital http://www.urwindigital.com

*/

@media screen and (max-width: 979px) {
	
	.mobile {
		
	}
	
	.desktop {
		display: none;
	}
	
}

@media screen and (min-width: 980px) {
	
	.mobile {
		display: none;		
	}
	
	.desktop {
		
	}
	
}

/* TYPOGRAPHY ETC */

h2 {
	font-size: 2.2em;
	color: #31653e;
	letter-spacing: -0.05em!important;
	font-weight: 700!important;
	margin-top: 0;
	margin-bottom: 0;
}

body.cottage h2,
body.availability h2,
body.linlithgow h2,
body.contact h2,
body.booking h2 {
	margin-bottom: 20px;
}

body.home h3,
body.about h3,
body.cottages h3 {
	margin-top: 5px;
	margin-bottom: 30px;
}

h3 {
	font-size: 1.7em;
	color: #7e9c5c!important;
	letter-spacing: -0.05em!important;
	text-transform: none!important;
	margin-top: 30px;
	margin-bottom: 10px;
	font-weight: 600!important;
}

p {
	font-size: 1.05em;
	margin-bottom: 20px;
	font-weight: 400;	
}

a,
a:hover {
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.green {
	color: #31653e;
}

.yellow {
	color: #df9a1a;
}

br.clear {
	clear: both;
}

.x-scroll-top {
	border: 0;
}

.x-scroll-top:hover {
	cursor: pointer;
}

.x-scroll-top .x-icon-angle-up:before {
	content: "\f077" !important;
	font-size: 1.3em;
	margin-bottom: 40px;
}

a.btn {
	display: inline-block;
	background: #6FA15C;
	border-radius: 7px;
	border: 3px solid #87C470;
	margin-top: 15px;
	padding: 8px 20px;
	color: #fff;
	font-size: 1em;
	font-weight: 500;
	text-transform: uppercase;
}

a.btn:hover {
	background: #df9a1a;
	border: 3px solid #df9a1a;
	color: #fff;
}

/* HEADER */

.x-topbar {
	position: absolute;
	width: 320px;
	top: 50px;
	right: 50px;
	background: transparent;
	text-align: right;
	border: 0;
}

.x-topbar p {
	color: #fff;
	font-weight: 700;
	font-size: 1.5em;
	line-height: 1.3em;
}

.x-topbar .p-info {
	display: none;
}

.x-logobar img {

}

@media screen and (max-width: 1023px) {
	
	.x-topbar {
		display: none;
	}
	
	.x-logobar {
		position: absolute;
		width: 90%;
		top: 20px;
		left: 5%;
		background: transparent;
		border: 0;
		text-align: left;
	}
	
	.x-logobar img {
		width: 200px;
		height: auto;
	}
	
}

/* NAV */

@media screen and (max-width: 1023px) {
	
	.x-navbar-wrap {
		margin-top: -2px;
		height: 5px; 
	}

	.x-navbar {
		height: 5px;
		background-color: #709E57;
	}
	
}

@media screen and (min-width: 1024px) {
	
	.x-logobar {
		position: absolute;
		width: 320px;
		top: 50px;
		left: 50%;
		margin-left: -160px;
		background: transparent;
		border: 0;
	}
	
	.x-navbar-wrap {
		margin-top: -80px;
		height: 100px; 
	}

	.x-navbar {
		height: 100px;
		background-color: transparent;
		background-image: url(/wp-content/uploads/2018/02/nav.png);
		background-repeat: no-repeat;
		border: 0;
	}
	
}

nav#ubermenu-main-3-primary-2 ul {
	height: 100px;
}

nav#ubermenu-main-3-primary-2 li {
	font-size: 1.4em;
	letter-spacing: -0.03em!important;
}

nav#ubermenu-main-3-primary-2 a {
	/*color: #31653e;*/
	color: #fff;
	padding: 35px 20px;
	font-weight: 600;
}

nav#ubermenu-main-3-primary-2 a:hover {
	/*color: #df9a1a;*/
	color: #31653e;
}

nav#ubermenu-main-3-primary-2 li.ubermenu-current-menu-item a,
nav#ubermenu-main-3-primary-2 li.ubermenu-current_page_item a,
nav#ubermenu-main-3-primary-2 li.ubermenu-current-page-ancestor a {
	color: #31653e!important;
}

/************** MOBILE NAV **************/

@media screen and (min-width: 1024px) {

	#custom_toggle {
		display: none;
	}	

}

@media screen and (max-width: 1023px) {

	nav#ubermenu-main-3-primary-2,
	a.ubermenu-responsive-toggle {
		display: none!important;
	}
	
	#custom_toggle {
		position: absolute;
		right: 8%;
		z-index: 99999;
		margin-top: 20px;
	}

	#custom_toggle:hover {
		cursor: pointer; 
	}

	/*#custom_toggle:before {
		font-family: "FontAwesome";
		content: "\f0c9" !important;
		font-size: 2em;
		color: #2B8EAD;
	}

	#custom_toggle:hover:before {
		color: #F4B731;
		-webkit-transition: all 0.2s ease-in-out;
		-moz-transition: all 0.2s ease-in-out;
		-o-transition: all 0.2s ease-in-out;
		transition: all 0.2s ease-in-out;
	}*/
	
	#custom_toggle:before {
		content: url(/wp-content/uploads/2018/02/btn-nav.png) !important;
	}

}

.sfm-sidebar-close {
	top: 14px;
}

.sfm-navicon-button.x.sf_label_default  {
	right: 50px!important;
	top: 30px!important;
}

.sfm-logo img {
	display: none;
}

.sfm-sm-indicator {
	top: 25px;
}

.sfm-sm-indicator i {
	font-size: 0.9em!important;
}

#sfm-sidebar.sfm-indicators .sfm-sm-indicator i {
	top: 50%!important;
	margin-top: -23px!important;
}

ul.sfm-menu-level-0.sfm-menu li.sfm-has-child-menu {
	padding-bottom: 0!important;
}

ul.sfm-menu-level-0.sfm-menu li a {
	font-style: normal;
	font-weight: 200!important;
	font-weight: lighter!important;
	color: #fff!important;
	font-size: 1.5em!important;
	padding: 7px 0 7px 0!important;
}

.sfm-no-mobile #sfm-sidebar .sfm-menu-level-0 a:before, .sfm-no-mobile #sfm-sidebar .sfm-menu-level-0 .sfm-active-item a:before, .sfm-no-mobile #sfm-sidebar .sfm-menu-level-0 .sfm-active-smooth a:before {
	background-color: transparent!important;
}

.sfm-no-mobile #sfm-sidebar .sfm-menu-level-0 a:hover, .sfm-no-mobile #sfm-sidebar .sfm-menu-level-0 .sfm-active-item a:hover, .sfm-no-mobile #sfm-sidebar .sfm-menu-level-0 .sfm-active-smooth a:hover {
	color: #df9a1a!important;
}

ul.sfm-menu-level-0.sfm-menu li ul.sfm-menu-level-1 li a {
	font-style: normal;
	font-weight: 200!important;
	font-weight: lighter!important;
	color: #fff!important;
	font-size: 1.2em!important;
	line-height: 1.6em!important;
	padding: 0!important;
}

ul.sfm-menu-level-0.sfm-menu li ul.sfm-menu-level-1 li:last-child {
	margin-bottom: 20px!important;
}

/*ul.sfm-menu-level-0.sfm-menu li.sfm-has-child-menu {
	padding-bottom: 20px!important
}*/

#sfm-sidebar li.sfm-active-class a {
	/*background: #44464a!important;*/
}

@media screen and (max-width: 479px) {

	ul.sfm-menu-level-0.sfm-menu li a {
		line-height: 30px!important;
	}

}

@media screen and (min-width: 480px) {

	ul.sfm-menu-level-0.sfm-menu li a {
		line-height: 30px!important;
	}

}

.sfm-menu-level-0.sfm-menu {
	margin-top: 95px!important;
}

@media screen and (max-width: 1199px) {

	.x-navbar .x-brand img {
		width: 200px;
		height: auto;
	}

}

@media screen and (min-width: 1200px) {

	.x-navbar .x-brand img {
		width: 400px;
		height: auto;
		mac-width: unset;
	}

}

/* LAYOUT */

.padT {
	padding-top: 60px!important;
}

.padB {
	padding-bottom: 60px!important;
}

.noPadT {
	padding-top: 0px!important;
}

.noPadB {
	padding-bottom: 0px!important;
}

.x-content-band.vc.rowCopy {

}

.x-content-band.vc.rowGreen {
	background-color: #F2F5EE!important;
}

.x-content-band.vc.rowGreen.padT.noPadB {
	background-color: #F2F5EE;
	padding-top: 80px!important;
	padding-bottom: 60px!important;
	margin-bottom: 0!important;
}

@media screen and (min-width: 768px) and (max-width: 1199px) {

	.x-content-band.vc.rowCopy .x-column.x-sm.vc.x-1-1,
	.x-content-band.vc.rowGreen .x-column.x-sm.vc.x-1-1	{
		padding-left: 15%!important;
		padding-right: 15%!important;
	}	
	
}

@media screen and (min-width: 1200px) {

	.x-content-band.vc.rowCopy .x-column.x-sm.vc.x-1-1,
	.x-content-band.vc.rowGreen .x-column.x-sm.vc.x-1-1	{
		padding-left: 20%!important;
		padding-right: 20%!important;
	}

	body.availability.x-content-band.vc.rowAvail .x-column.x-sm.vc.x-1-1	{
		padding-left: 10%!important;
		padding-right: 10%!important;
	}	
	
}

.x-content-band.vc.rowPanels h3 {
	text-transform: uppercase!important;
	font-size: 1.4em;
}

.x-content-band.vc.rowPanels h3 a:hover {
	color: #df9a1a;
}

.x-content-band.vc.rowVisitingInner  {
	min-height: 500px;
}

.x-content-band.vc.rowVisitingInner .x-column.x-sm.vc.x-1-1 {
	min-height: 500px;
	display: flex;
	align-items: center;
	justify-content: center;	
}

.x-content-band.vc.rowVisitingInner .x-column.x-sm.vc.x-1-1 img {
	margin-top: 250px;	
}

.gallery {
    margin: 0!important;
}

body.gallery #x-content-band-1 h2 {
	margin-bottom: 30px!important;
}

/* CALENDAR */

#sbc-calendar-wrapper {
	font-family: "Open Sans", sans-serif;
	font-size: 1em;
	font-weight: 400;
}

.sbc-navigation {
	margin-top: 50px!important;
}

.sbc-navigation select {
	padding: 5px!important;
	height: 30px!important;
}

.sbc-calendar-month {
	width: 100%;
	padding: 0;
	border: 0;
}

#sbc-calendar table {
	border-top: 3px solid #6FA15C!important;
}

#sbc-calendar tr td {
	/*width: 10%;*/
	padding-top: 10px!important;
	padding-bottom: 10px!important;
	font-size: unset;
	font-family: unset;
}

#sbc-calendar table th.colWider {
	width: 20%!important;
}

td.sbc-status-free {
	border-color: #6FA15C!important;
	background-color: #6FA15C!important;
	color: #fff!important;
}

td.sbc-status-booked {
	border-color: #b93507!important;
	background-color: #b93507!important;
	color: #fff!important;
}

@media screen and (min-width: 580px) {

	table.wdn_responsive_table.flush-left {
		border: 3px solid #9abf6e;
		padding: 30px;
	}	
	
}

table.wdn_responsive_table.flush-left th {
	font-weight: 700;
}

table.wdn_responsive_table.flush-left td {
	/*width: 20%;*/
	font-weight: 400;
}

span.keyGreen {
	display: inline-block;
	width: 25px;
	height: 25px;
	background-color: #6FA15C;
	margin-bottom: 5px;	
}

span.keyRed {
	display: inline-block;
	width: 25px;
	height: 25px;
	background-color: #b93507; 
}

/* COTTAGE */

.x-content-band.vc.rowCottageGallery .x-column.x-sm.vc.x-1-3 {
	width: 33%;
	margin-right: 0.5%;
}

.x-content-band.vc.rowCottageGallery .x-column.x-sm.vc.x-1-3:last-of-type {
	margin-right: 0;
}

.x-content-band.vc.rowCottageGallery .x-column.x-sm.vc.x-1-3 .x-img img {
	width: 100%;
	height: auto;
}

.x-content-band.vc.rowCottageGallery .x-column.x-sm.vc.x-2-3 {
	width: 66.5%;
}

.x-content-band.vc.rowCottageGallery .x-column.x-sm.vc.x-2-3 .x-img img {
	width: 100%!important;
	height: auto;
}

@media screen and (max-width: 767px) {

	.x-content-band.vc.rowCottageGallery .x-column.x-sm.vc.x-1-3,
	.x-content-band.vc.rowCottageGallery .x-column.x-sm.vc.x-2-3 {
		width: 100%;
	}
	
	.x-content-band.vc.rowSpec .x-column.x-sm.vc.x-1-3:last-of-type {
		margin-top: 60px;
	}
	
}

@media screen and (min-width: 768px) and (max-width: 1023px) {

	.x-content-band.vc.rowCottageGallery .x-column.x-sm.vc.x-1-3 .x-img {
		margin-bottom: 4px;
	}
	
	.x-content-band.vc.rowCottageGallery .x-column.x-sm.vc.x-2-3 .x-img {
		margin-bottom: 4px;
	}
	
}

@media screen and (min-width: 1024px) {

	.x-content-band.vc.rowCottageGallery .x-column.x-sm.vc.x-1-3 .x-img {
		margin-bottom: 7px;
	}
	
	.x-content-band.vc.rowCottageGallery .x-column.x-sm.vc.x-2-3 .x-img {
		margin-bottom: 7px;
	}
	
}

.x-content-band.vc.rowSpec {
	background-color: #F2F5EE!important;
}

.x-content-band.vc.rowSpec h3 {
	text-transform: uppercase!important;
	font-size: 1.4em;
	margin-bottom: 5px;
}

.x-content-band.vc.rowSpec .x-column.x-sm.vc.x-1-3 h3:first-of-type {
	margin-top: 0;
}

.x-content-band.vc.rowSpec ul {
	margin: 0 0 20px 0;
}

.x-content-band.vc.rowSpec li {
	list-style-type: none;
	border-bottom: 1px solid #7e9c5c;
	padding: 10px 50px 10px 0;
	color: #7e9c5c;
	font-weight: 700;
	position: relative;
}

.x-content-band.vc.rowSpec li:after {
	position: absolute;
	top: 5px;
	right: 0;	
}

.x-content-band.vc.rowSpec li.heating:after {
	content: url(/wp-content/uploads/2018/02/icon-heating.png);
}

.x-content-band.vc.rowSpec li.glazing:after {
	content: url(/wp-content/uploads/2018/02/icon-double-glazing.png);
}

.x-content-band.vc.rowSpec li.cooker:after {
	content: url(/wp-content/uploads/2018/02/icon-cooker.png);
}

.x-content-band.vc.rowSpec li.microwave:after {
	content: url(/wp-content/uploads/2018/02/icon-microwave.png);
}

.x-content-band.vc.rowSpec li.dishwasher:after {
	content: url(/wp-content/uploads/2022/08/icon-dishwasher.png);
}

.x-content-band.vc.rowSpec li.washer:after {
	content: url(/wp-content/uploads/2018/02/icon-washing-machine.png);
}

.x-content-band.vc.rowSpec li.bedroom:after {
	content: url(/wp-content/uploads/2018/02/icon-bed.png);
}

.x-content-band.vc.rowSpec li.bedroomTwo:after {
	content: url(/wp-content/uploads/2018/04/icon-bed-two.png);
}

.x-content-band.vc.rowSpec li.shower:after {
	content: url(/wp-content/uploads/2018/02/icon-shower.png);
}

.x-content-band.vc.rowSpec li.fridge:after {
	content: url(/wp-content/uploads/2022/08/icon-fridge.png);
}

.x-content-band.vc.rowSpec li:last-of-type {
	border-bottom: 0;
}

.x-content-band.vc.rowMore .x-container.max.width.wpb_row {
	border-left: 3px solid #df9a1a;
	border-right: 3px solid #df9a1a;
}

.x-content-band.vc.rowMore h3 {
	margin-top: 30px;
	font-weight: 700!important;
	color: #7e9d5c!important;
	text-transform: uppercase!important;
}

.x-content-band.vc.rowMore p {
	text-transform: uppercase!important;
	font-size: 1.2em;
	font-weight: 700;
}

/* BOOKING */

#wpcf7-f6-p226-o1 {
	border: 3px solid #6FA15C!important;
	padding: 30px;
}

input.wpcf7-form-control.wpcf7-submit {
	display: inline-block;
	background: #6FA15C;
	border-radius: 7px;
	border: 3px solid #87C470;
	margin-top: 15px;
	padding: 8px 20px;
	color: #fff;
	font-size: 1em;
	font-weight: 500;
	text-transform: uppercase;
	text-shadow: none;
}

input.wpcf7-form-control.wpcf7-submit:hover {
	background: #df9a1a;
	border: 3px solid #df9a1a;
	color: #fff;
}

/* FOOTER */

footer.x-colophon.top {
	background-color: #AEE1FC;
	padding-top: 60px!important;
	padding-bottom: 0;
	border: 0;
	text-align: center;
	color: #000;
}

footer.x-colophon.top p {
	font-weight: 500;
	font-size: 1.5em;
	line-height: 1.3em;
}

footer.x-colophon.top p strong {
	font-weight: 700;
}

footer.x-colophon.bottom {
	min-height: 346px;
	color: #31653e;
	border: 0;
	background-color: #AEE1FC;
	background-position: bottom;
	background-repeat: no-repeat;
	background-image: url(/wp-content/uploads/2018/04/footer-desktop.jpg);
}

/*@media screen and (max-width: 767px) {

	footer.x-colophon.bottom {
		background-image: url(/wp-content/uploads/2018/04/footer-mobile.jpg);
	}
	
}

@media screen and (min-width: 768px) {

	footer.x-colophon.bottom {
		background-image: url(/wp-content/uploads/2018/04/footer-desktop.jpg);
	}	

}*/

footer.x-colophon.bottom .x-colophon-content {
	padding: 140px 0 0 0;
	text-transform: none;
	letter-spacing: -0.02em;
	font-weight: 500;
	font-size: 1em;
	line-height: 1.4em!important;
}

footer.x-colophon.bottom .x-colophon-content {

}