/*
Theme Name: Gwennap Riding Club
Version: 1.0
Template: drift
Author: Desine
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gwennapridingclub

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

@import url("../drift/style.css");
@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:300,400');
@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400');

/* transitions*/

.button::after,
.pmpro_btn::after,
#header .header-links > ul > li{
	transition: all 0.5s ease;
}

body,
html{height:100%}

html{overflow-x:hidden}

body{
	color:#2e347e;
	font-family: 'Montserrat', sans-serif;
	font-size: 15px;
	min-width:350px;
	  -ms-overflow-style: scrollbar;
}

#body-core-wrap, #body-core {
    position: relative;
	min-height:100%;
}

#nav-below,
.pmpro_alert{
	background:#b4975b;
	color:#fff;
	    float: left;
	margin-top:30px;
	padding:15px 25px;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
-moz-box-sizing: border-box;    /* Firefox, other Gecko */
box-sizing: border-box;         /* Opera/IE 8+ */
	width:100%;
}

#nav-below .alignright{
	margin:0;
}

#nav-below .nav-previous a:hover, .nav-next a:hover{color:#2e347e}

.page-template-template-membership #main-core,
.page-id-2 #main-core{
	text-align:center;
}

#intro,
#introaction, #outroaction, .sc-action,
#body-core #main-core > article{
	background:none;
}

#intro .page-title,
#header .header-links > ul > li a, #header-sticky .header-links > ul > li a,
h1,h2,h3,h4,h5,h6,
.action-text h3{
	font-family: 'Roboto Slab', serif;
	font-weight:normal;
	color:#2e347e;
}

.custom-header img{width:100%;}

h3{margin-bottom:5px;}
h4{margin-bottom:0}

#pre-header-core, #header-core, #header-sticky-core, #content-core, #footer-core, #sub-footer-core, #sub-footer-widgets, #sub-footer-close, #notification-core, #intro-core, #introaction-core, #outroaction-core {
    max-width: 960px;
}

p{margin-bottom:10px;line-height:1.6;}

.page-id-49 .entry-content,
#pmpro_pricing_fields,
.page-id-2 article p{
	font-size:20px;
}

a,
#header .menu > li.menu-hover > a, #header .menu > li.current-menu-item > a, #header .menu > li.current-menu-ancestor > a, #header .menu > li > a:hover, #header-sticky .menu > li.menu-hover > a, #header-sticky .menu > li.current-menu-item > a, #header-sticky .menu > li.current-menu-ancestor > a, #header-sticky .menu > li > a:hover {
    color: #b4975b;
}

.tribe-events-tickets .woocommerce .quantity input,
input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="tel"], input[type="date"], select, textarea{
	outline: 1px solid #b4975b !important;
	border:none !important;
	font-size:14px;
	padding: 7px 15px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus{
	outline:4px double #b4975b;
}

.wpcf7-wpgdprc input {
	float:left;
	width:auto;
	margin: 5px 10px 20px 0;
}

textarea{max-width:100%}

.pmpro_actionlinks a:last-child{padding:7px 20px}

body:not(.page-template-template-contact-us) #main-core article p:first-of-type{
	font-weight:bold;
}

#main-core form.wpcf7-form p:first-of-type{font-weight:normal}

a.themebutton,
.woocommerce button.button,
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.tribe-button, a.tribe-button, button.tribe-button, input.tribe-button,
.themebutton, button, html input[type="button"], input[type="reset"], input[type="submit"],
.pmpro_btn, .pmpro_btn:link, .pmpro_content_message a, .pmpro_content_message a:link,
.button {
    color: #fff;
	border:solid 2px #b4975b;
	font-family: 'Roboto Slab', serif;
	padding:12px 20px;
	margin:25px auto 15px;
	display:block;
	max-width:200px;
	background:#2e347e;
	font-weight:normal;
	text-transform:none;
	font-size:18px;
	-webkit-border-radius: 0;
    -moz-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
}

html input[type="button"], input[type="reset"], input[type="submit"]{max-width:none;}

.tribe-button::after, a.tribe-button::after, button.tribe-button::after, input.tribe-button::after,
.pmpro_btn::after, .pmpro_btn:link::after,
.button::after{
	content:"\f101";
	font-family:fontawesome;
	margin-left:10px;
	opacity:1;
	color:#fff;
}

.pmpro_btn::after, .pmpro_btn:link::after{color:#2e347e}
.pmpro_btn:hover::after{color:#fff}

button.tribe-button:hover,
.woocommerce button.button:hover,
.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover,
html input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover,
.pmpro_btn, .pmpro_btn:link, .pmpro_content_message a, .pmpro_content_message a:link,
.button:hover{
	background:#fff;
	color:#2e347e;
}

button.tribe-button:hover::after,
.button:hover::after{color:#2e347e}

.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]{
	color:#fff;
}

.pmpro_btn:hover{
	background:#b4975b;
	color:#fff;
}

.custom-header,
#slider,
#site-header .contact-bar{
	border-bottom:solid 4px #b4975b;
}

#site-header{
	font-size:18px;
}

#site-header .contact-bar{
	background:#2e347e;
	padding:10px 20px;
	overflow:auto;
}

#site-header .contact-bar > a{float:left;}

#site-header .contact-bar i.fa-facebook-official{
	font-size:28px;
	margin-right:15px;
}

#site-header #login-link{
	float:right;
	font-size: 14px;
    line-height: 34px;
	color:#fff;
	width:auto;
}

#site-header #login-link a:hover{
	color:#b4975b;
}

#site-header a{
	color:#fff;
}

#body-core-header{
	-webkit-box-shadow: 10px 0px 20px 0px rgba(0,0,0,0.25);
	-moz-box-shadow: 10px 0px 20px 0px rgba(0,0,0,0.25);
	box-shadow: 10px 0px 20px 0px rgba(0,0,0,0.25);
	background:url(/wp-content/themes/gwennap/images/horse-watermark.jpg) #fff no-repeat bottom left fixed;
	bottom:0;
	top:0;
}

#header, #header-sticky{background:none;}

#slider a.rslides_nav.prev:before, #slider a.rslides_nav.next:before{
	background: rgba(46, 52, 126, 0.9);
}

#intro .page-title,
.action-text h3{
	font-size:42px;
	position:relative;
	z-index:9999;
	padding:20px 35px 40px !important;
	line-height:1.2;
	margin-bottom:15px;
	height:auto;
	display:inline-block;
	text-transform:none;
		-webkit-border-top-left-radius: 12px;
	-webkit-border-top-right-radius: 12px;
	-moz-border-radius-topleft: 12px;
	-moz-border-radius-topright: 12px;
	border-top-left-radius: 12px;
	border-top-right-radius: 12px;	
}

#intro .page-title:before,
.action-text h3::before{
	content:'';
	position:absolute;
	top:0;
	left:0;
	right:0;
	height:36px;
	border:solid 4px #b4975b;
	border-bottom:0;
	-webkit-border-top-left-radius: 10px;
	-webkit-border-top-right-radius: 10px;
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-topright: 10px;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;	
}

#intro .page-title:after{content:none;}

#intro,
#introaction{
	padding:0;
	margin-top:-40px;
	top:auto;
}

#logo, #logo-sticky{
	margin:30px 20px 20px;
}

#logo img, #logo-sticky img{
	max-height:170px;
}

.main-navigation ul{
	text-align:center;
}

#header .header-links > ul > li:last-child > a, #header-sticky .header-links > ul > li:last-child > a,
#header .header-links > ul > li a, #header-sticky .header-links > ul > li a{
	border:none;
	font-size: 19px;
    padding: 5px;
	font-weight:400;
}

#header .header-links > ul > li:hover{
	padding:5px 0 20px;
}

#body-core #main-core > article{
	padding:0;
}

#content{
	padding: 0 20px 60px;
	overflow-x:hidden;
}

#sub-footer{padding:0;}


#footer-contact{
	text-align:center;
	position:absolute;
	z-index:9999;
	bottom:10px;
	left:5px;
	right:5px;
}

#footer-contact a i{
	font-size:34px; 
	color:#2e347e;
}

#footer-contact a i:hover{color:#b4975b}

/*Divider*/
#tribe-events-content .tribe-events-tooltip h4,
.page-id-70 #main-core article h3,
#pmpro_form .pmpro_checkout,
.membership-col h1,
.membership-col h2,
#header-core .menu li,
#intro h1.page-title,
.file-download,
.action-text h3{
	padding-bottom:15px;
	background-image: url(/wp-content/themes/gwennap/images/divider.svg);
	background-repeat:no-repeat;
	background-position:bottom center;
	background-color:#fff;
	background-size:100px 14px;
}

#tribe-events-content .tribe-events-tooltip h4{padding-bottom:25px;margin-bottom:10px}

#header-core .menu li{background-color:transparent;}

.membership-col {
	text-align:center;
	padding:30px;
	background:#2e347e;
	color:#fff;
	margin-top:40px;
	position:relative;
}

.membership-col h1,
.membership-col h2{
	color:#fff;
	background-color:#2e347e;
}

.membership-col h1{
	padding-bottom: 30px;
}

.membership-col h2{
	font-size:42px;
	line-height:1;
	padding-bottom:40px;
	margin-bottom: 0.5em;
	font-weight:normal;
}

.membership-col h2 span{
	display:block;
	font-size:18px;
}

.membership-col p:not(:empty){
	line-height:1.5;
	font-size:100%;
	min-height:46px;
}

#map{
	margin:40px 0 60px;
	border:double 7px #2e347e;
}

.page-id-70 #main-core .span4{margin-bottom:60px;}

iframe#equoiframe{width:100%}

/*Membership Checkout*/
.pmpro_message,
#pmpro_pricing_fields{text-align:center;}

form.pmpro_form .input, form.pmpro_form textarea, form.pmpro_form select{
	width:100%;
}

#pmpro_form hr{display:none;}

#pmpro_form .pmpro_checkout{
	float:left;
	width:100%;
	padding:20px 0 50px;
}
#pmpro_form .pmpro_checkout-field{width:48%;margin-right:2%;float:left;clear:both}
#pmpro_form #gdpr_div.pmpro_checkout-field,
#pmpro_form .pmpro_checkout-field.pmpro_checkout-field-html{width:100%;margin-right:0;}
#pmpro_form #gdpr{margin-right:6px;}
#pmpro_user_fields .pmpro_checkout-field,
#pmpro_form .pmpro_checkout-field.float{clear:none}

#pmpro_user_fields .pmpro_checkout-field-username{float:none;}

.pmpro_checkout-field-date select,
.pmpro_checkout-field-date input{
		vertical-align:bottom;
		min-height:49px;
		    height: 49px;
		margin-right:3px;
		    min-width: 29.5%;
}

.pmpro_checkout-field-date select.input{width:auto}

/*How to find us and Contact Us */

.page-template-template-contact-us .entry-content .email{
	font-size:20px;
	font-family: 'Roboto Slab', serif;
}

.page-template-template-contact-us .entry-content .email i{color:#2e347e}

.page-id-70 #main-core article h3{
	text-align:center;
	padding-bottom:30px;
	margin-bottom:15px;
}

/* Login */
#login .log-form-group{
	width:auto;
}

#log_forms{
	border:solid 1px #b4975b;
	padding-top:10px;
}

#log_forms .log-form-group{padding:5px 15px}

#log_forms input[type="submit"]{border:none;border-top:none;}

.log_forms input[type="submit"]:hover{
	background:#b4975b;
}

#your-profile .form-table{
	margin-bottom:40px;
	border:none;
}


form.pmpro_form .pmpro_submit{text-align:center;padding-top:40px;float:left;width:100%}

#your-profile .form-table th,
#your-profile .form-table td{text-align:left;border:none;padding-left:0}

#your-profile td .description,
#your-profile .lite{
	display:block;
	max-width:60%;
}

#your-profile .form-table input,
#your-profile .form-table select{
	width:25em;
	max-width:60%;
	height:36px;
}

#your-profile .form-table input[type="checkbox"]{width:auto;height:auto}

.fep #your-profile tr#password{border-top:0;}

.woocommerce-lost-password #main{text-align:center;}
.woocommerce-lost-password #main .woocommerce-form-row{margin: 0 auto 6px;float:none}


/*Events Calendar*/

.tribe-events-calendar thead th{background:#b4975b}

.tribe-events-notices,
#tribe-bar-form .tribe-bar-submit input[type=submit],
#tribe-events .tribe-events-button, #tribe-events .tribe-events-button:hover, #tribe_events_filters_wrapper input[type=submit], .tribe-events-button, .tribe-events-button.tribe-active:hover, .tribe-events-button.tribe-inactive, .tribe-events-button:hover, .tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-], .tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-]>a{
	background:#2e347e;
}

.tribe-events-calendar div[id*=tribe-events-daynum-], .tribe-events-calendar div[id*=tribe-events-daynum-] a{
	background:#c0c1d8;
}

#buy-tickets .tribe-events-tickets .tickets_price, #buy-tickets .tribe-events-tickets .tickets_description, #buy-tickets .tribe-events-tickets .tickets_name, .tribe-events-tickets .tickets_name p, .tribe-events-tickets .tickets_price,
#tribe-events-content .tribe-events-tooltip h4, #tribe_events_filters_wrapper .tribe_events_slider_val, .single-tribe_events a.tribe-events-gcal, .single-tribe_events a.tribe-events-ical,
.tribe-events-calendar td.tribe-events-past div[id*=tribe-events-daynum-], .tribe-events-calendar td.tribe-events-past div[id*=tribe-events-daynum-]>a{
	color:#2e347e;
}

#tribe-events-content .tribe-events-tooltip{padding:20px;}

.tribe-events-calendar thead th{
	border-left: none;
    border-right: none;
}

.tribe-events-schedule span.tribe-events-cost,
.single-tribe_events .tribe-events-cal-links{display:none}

.tribe-events-schedule{margin: 0.25em 0 1.5em}

.single-tribe_events #tribe-events-content .tribe-events-event-meta .tribe-events-meta-group-details dd{display:inline;margin-right:13px;padding-right:10px;border-right:solid 1px #fff}
.single-tribe_events #tribe-events-content .tribe-events-event-meta .tribe-events-meta-group-details dt{display:inline;}

.single-tribe_events #tribe-events-content .tribe-events-event-meta dd:last-of-type{border:none;padding:0}

.single-tribe_events .tribe-events-event-meta{
	background: #2e347e;
    color: #fff;
	text-align:center;
}

.tribe-events-meta-group .tribe-events-single-section-title {
    font-size: 24px;
    color: #fff;
    font-weight: normal;
}

.tribe-events-event-meta .column, .tribe-events-event-meta .tribe-events-meta-group{
	float:none;
	text-align:center;
}

.tribe-events-notices{color:#fff;text-align:center}

.file-download{
	background-position:top center;
	display:block;
	text-align:center;
	padding-top:25px;
	margin-top:40px;
	font-size:16px;
}

.file-download a::before{
	content:'\f019';i
	font-family:fontawesome;
	padding-right:5px;
}


div.datepicker-dropdown{z-index:9999 !important;}

#tribe-geo-results h2.tribe-events-page-title, h2.tribe-events-page-title{font-weight:400}

.tribe-event-description p{text-align:left;}

#buy-tickets .tribe-events-tickets td{padding:25px 10px 15px}

.woocommerce #payment #place_order, .woocommerce-page #payment #place_order{max-width:275px;}

.woocommerce-checkout #customer_details{margin-bottom:40px}

.tribe-events-event-meta .column, .tribe-events-event-meta .tribe-events-meta-group{width:75%}

h1.tribe-events-single-event-title, div.tribe-events-schedule,
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register{text-align:center;}

@media only screen and (max-width: 568px){
	#introaction-core .action-text h3 {
		 padding-bottom:30px;
		padding-top:20px;
			line-height: 1.2;
	}
	
	#site-header a{font-size:15px;}
		
	#site-header #login-link{width:100%}
	#site-header #login-link i{display:none;}
	
	.page-template-template-contact-us .entry-content .email{font-size:inherit}
	
}

@media only screen and (max-width: 685px){
	#intro{margin-top:-40px !important;}
	#intro .page-title:before, .action-text h3::before{content:none}
}

@media only screen and (max-width: 768px) {
	#body-core-wrap, #body-core {height:auto;}
	#header-responsive{background:#2e347e !important;}
	#header-responsive li a{color:#fff !important; text-align:center; border-bottom: 1px dotted #b4975b !important}
	#pmpro_form .pmpro_checkout-field{width:100%;}
	#site-header #intro{padding:0;}
	#body-core-header{background-position:left 25%;background-size:75% auto;background-attachment:inherit;}
	#body-core-header #logo img{max-height:80px !important;}
	#body-core-header #header-nav{background:none}
	#body-core-header #header-nav .btn-navbar{background:#b4975b;padding:20px 0}
	#body-core-header .btn-navbar .icon-bar{background-color:#fff;}
	#content{padding:0 20px 150px;}
}

@media (max-width: 979px) and (min-width: 768px){
	.row-fluid .span4,
	.row-fluid .span6{width:100%}
}

@media only screen and (max-width: 960px) {
	.membership-col h2{font-size:30px;}
}

@media only screen and (max-width: 1024px) {
	#footer-contact {
		font-size:12px
	}
}

@media only screen and (max-width: 1140px) {
}