/*
Theme Name: East Cornwall Riding Club
Theme URI: https://www.pushlogic.co.uk
Author: Tony Brown
Author URI: https://www.pushlogic.co.uk
Template: twentytwentythree
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* --- GLOBALS */

html {background:#202020;}
.woocommerce #payment #place_order:hover, .woocommerce-page #payment #place_order:hover {background:#ffffff;color:red;}
.tribe-tickets__commerce-order * {color:#ffffff !important;}
.tribe-events-c-small-cta__stock {display: none !important;}

/* Header */

body.admin-bar header.wp-block-template-part {position:fixed;top:32px;right:0;left:0;padding:16px;border-bottom:1px solid var(--wp--preset--color--primary);background:#000000;z-index:9999;border-bottom:1px solid var(--wp--preset--color--primary);}
body:not(.admin-bar) header.wp-block-template-part {position:fixed;top:0;right:0;left:0;padding:16px;border-bottom:1px solid var(--wp--preset--color--primary);background:#000000;z-index:9999;border-bottom:1px solid var(--wp--preset--color--primary);}
header.wp-block-template-part .alignwide {position:relative;justify-content:flex-end;}
header.wp-block-template-part > div > div {padding:0 !important;}
header.wp-block-template-part .wp-block-navigation__submenu-container li:not(:last-of-type) {border-bottom:1px solid #cccccc;}
header.wp-block-template-part .wp-block-navigation__submenu-container li a {transition:background 500ms ease-in-out, color 500ms ease-in-out;}
header.wp-block-template-part .wp-block-navigation__submenu-container li a:hover {background:var(--wp--preset--color--primary);color:#ffffff;text-decoration:none;}
header.wp-block-template-part .wp-block-navigation__container {justify-content:flex-end;}
.wp-block-template-part .wp-block-navigation__container > li.current-menu-item a {color:var(--wp--preset--color--primary);}
header.wp-block-template-part .wp-block-navigation__container > li.current-menu-item .wp-block-navigation__submenu-container a {color:#000000;}
header.wp-block-template-part .wp-block-navigation__container > li.current-menu-item .wp-block-navigation__submenu-container a:hover {color:#ffffff;}
.ecrc-logo {position:absolute;top:0;left:0;max-width:100px;padding:10px;background:#000000;border:1px solid var(--wp--preset--color--primary);}

/* Footer */

footer.wp-block-template-part {padding-block-end:1.5rem;padding-left:10px;padding-right:20px;background:#202020;border-top:1px solid var(--wp--preset--color--primary);margin:0;margin-block-start:0;}
.ecrc-footer-menu-title {letter-spacing:5px;color:var(--wp--preset--color--primary);}
.ecrc-footer-bottom a {color:#ffffff;text-decoration:none;}
.ecrc-footer-business-details {text-align:right;}

/* Slider */

.slick-slider {position:relative;padding:0 0 30px;}
.slick-next {position:absolute;top:calc(50% - 25px) !important;right:0;background:#ffffff;border:none;cursor:pointer;width:50px;height:50px;padding:5px;line-height:1;z-index:1;}
.slick-next svg {display:block;margin:0 auto;}
.slick-prev {position:absolute;top:calc(50% - 25px) !important;left:0;background:#ffffff;border:none;cursor:pointer;width:50px;height:50px;padding:5px;line-height:1;z-index:1;}
.slick-prev svg {display:block;margin:0 auto;}
.slick-dots {display:flex;margin:0;justify-content:center;align-items:center;position:absolute;bottom:0;left:0;right:0;}
.slick-dots button {display:none;}
.slick-dots li {line-height:1;width:20px;font-size:24px;color:#cccccc;}
.slick-dots li:not(.slick-active) {width:20px;font-size:24px;color:#000000;}
.slick-next svg, .slick-prev svg {fill:var(--wp--preset--color--primary);}

/* Groups */

.ecrc-cta h2 {margin-block-start:0 !important;transition:background-color 350ms ease-in-out;letter-spacing:4px;}
.ecrc-cta:hover h2 {background-color:#000000 !important;}
.ecrc-cta h2 a {display:block;text-decoration:none;color:#ffffff;}

/* Body */

.wp-site-blocks {padding:0;}

/* Ultimate Blocks Styling Overrides */

.ub_image_slider .swiper-slide>img, .ub_image_slider .swiper-slide>picture>img, .ub_image_slider .swiper-slide figure>img, .ub_image_slider .swiper-slide figure>picture>img {max-height:none !important;width:100%;height:auto;}
.ub-buttons>.ub-button-container {margin:0 !important;}
.ub_image_slider .swiper-button-prev, .ub_image_slider .swiper-button-next {color:var(--wp--preset--color--primary);background:#000000;padding:7px 14px;}
.swiper-button-next, .swiper-container-rtl .swiper-button-prev {right:0;}
.swiper-button-prev, .swiper-container-rtl .swiper-button-next {left:0;}
.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {background:var(--wp--preset--color--primary);}
.swiper-button-prev, .swiper-button-next {top:calc(50% - 22px);}

@media all and (max-width:768px) {
	.swiper-button-prev, .swiper-button-next {top:auto;bottom:16px;}
	.swiper-button-next {right:0;}
	.swiper-button-prev {left:auto;right:60px;}
}

/* Gutenberg Blocks Overrides */

.wp-block-separator.is-style-default {max-width:300px !important;}
.wp-block-table figcaption {text-align:center;margin:10px 0;font-weight:bold;font-style:italic;}

/* Other Gutenberg Blocks */

.gdpr-data-request-block #gdrf-form {background:#efefef;padding:20px;border:4px solid var(--wp--preset--color--primary);}
.gdpr-data-request-block #gdrf-radio-label {font-weight:400;font-size:28px;text-transform:uppercase;letter-spacing:4px;}
.gdpr-data-request-block .gdrf-field-email, .gdpr-data-request-block .gdrf-field-human {display:inline-block;background:#ffffff;border:1px solid #cccccc;}
.gdpr-data-request-block .gdrf-field-email label, .gdpr-data-request-block .gdrf-field-human label {display:inline-block;vertical-align:middle;margin:0;padding:15px;border-right:1px solid #cccccc;text-transform:uppercase;font-size:14px;}
.gdpr-data-request-block .gdrf-field-email input, .gdpr-data-request-block .gdrf-field-human input {display:inline-block;vertical-align:middle;padding:8px;margin:0 10px 0 5px;border:1px solid #cccccc;box-shadow:inset 0 0 4px #cccccc;}
.gdpr-data-request-block #gdrf-submit-button {padding:20px 70px 22px;height:auto;background:var(--wp--preset--color--primary);font-size:22px;line-height:1;text-transform:uppercase;font-weight:100 !important;font-family:var(--wp--preset--font-family--system-font);cursor:pointer;border:none;color:#ffffff;transition:background-color 350ms ease-in-out;}
.gdpr-data-request-block #gdrf-submit-button:hover {background-color:#000000;}

/* Ninja Forms / Newsletter */

.nf-form-content {padding:0;}
#nf-form-1-cont {padding:30px;background:#efefef;border:1px solid rgba(000,000,000,0.1);}
.submit-container {margin-bottom:0;}
#ecrc-map {border:1px solid rgba(000,000,000,0.1) !important;margin:0 !important;}
#ecrc-newsletter {max-width:100%;padding:20px;background:var(--wp--preset--color--primary);}
/*
#ecrc-newsletter #nf-form-2-cont {border-radius:40px;overflow:hidden;}
*/
#ecrc-newsletter .nf-form-content nf-rows-wrap {display:flex;justify-content:space-between;align-items:center;}
#ecrc-newsletter .nf-field-label {display:none;}
#ecrc-newsletter .nf-form-fields-required {display:none;}
#ecrc-newsletter #ninja_forms_required_items, #ecrc-newsletter .nf-field-container {margin:0;}
#ecrc-newsletter-inner {display:flex;justify-content:space-between;align-items:center;max-width:var(--wp--style--global--content-size);margin:0 auto;}
#ecrc-newsletter-inner > div:first-of-type {margin-right:20px;}
#ecrc-newsletter h3 {font-size:42px;text-transform:uppercase;font-weight:bold;letter-spacing:4px;margin:0;}
#ecrc-newsletter p {margin:0;}
#ecrc-newsletter .nf-error.field-wrap .nf-field-element:after {background:#202020;}
#ecrc-newsletter .nf-error-msg, #ecrc-newsletter .ninja-forms-req-symbol {color:#202020;}
#ecrc-newsletter input[type="submit"] {cursor:pointer;padding:0 35px;text-transform:uppercase;letter-spacing:4px;font-size:14px;}
#ecrc-newsletter input[type="submit"]:hover {background:#000000;color:var(--wp--preset--color--primary);}
#ecrc-newsletter .nf-after-field {position:absolute;bottom:-40px;}
#ecrc-newsletter .nf-after-form-content nf-errors nf-section {display:block;margin-top:40px;}
#ecrc-newsletter .nf-error-msg {padding:5px;background:#000000;color:var(--wp--preset--color--primary);font-size:12px;}

/* Product View */

.woocommerce .woocommerce-tabs ul.wc-tabs li:not(.active) a {color:#ffffff;}
.woocommerce .woocommerce-Reviews .comment-form-rating p.stars a::before {color:var(--wp--preset--color--primary);}
#review_form #respond {border:1px solid var(--wp--preset--color--primary);padding:20px;margin:0 0 20px;}
.comment-form-rating {display:flex;justify-content:space-between;align-items:center;}
.comment-form-rating p, .comment-form-rating label {margin:0 !important;padding:0 !important;}
.comment-form-rating p {width:82%;}
.comment-form-rating p span {line-height:1;}
.comment-form-comment, .comment-form-author, .comment-form-email {display:flex;justify-content:space-between;}
.comment-form-comment textarea, .comment-form-author input, .comment-form-email input {width:80%;padding:10px;}
.wc-pao-addon-heading {font-size:24px;text-transform:uppercase;}
.woocommerce table.variations tr td select {height:3rem;}
.woocommerce-page main {max-width:none;}

/* Events */

.tribe-common .tribe-common-l-container {max-width:1200px !important;padding:180px 0 0 !important;}
.tribe-events-c-top-bar__datepicker-time {color:var(--wp--preset--color--primary);}
.tribe-common .tribe-common-c-svgicon__svg-fill {fill:var(--wp--preset--color--primary) !important;}
.tribe-common .tribe-common-c-svgicon {color:var(--wp--preset--color--primary) !important}
.tribe-events-c-messages__message-list-item {color:#ffffff;}
.tribe-common .tribe-common-c-svgicon--messages-not-found path {stroke:#ffffff !important;}
.tribe-events .tribe-events-c-search__button, .tribe-events .datepicker .day.active, .tribe-events .datepicker .day.active.focused, .tribe-events .datepicker .day.active:focus, .tribe-events .datepicker .day.active:hover, .tribe-events .datepicker .month.active, .tribe-events .datepicker .month.active.focused, .tribe-events .datepicker .month.active:focus, .tribe-events .datepicker .month.active:hover, .tribe-events .datepicker .year.active, .tribe-events .datepicker .year.active.focused, .tribe-events .datepicker .year.active:focus, .tribe-events .datepicker .year.active:hover {background-color:var(--wp--preset--color--primary) !important;}
.tribe-common .tribe-common-c-btn-border, .tribe-common a.tribe-common-c-btn-border {border-color:var(--wp--preset--color--primary) !important;background-color:#000000 !important;color:var(--wp--preset--color--primary) !important;}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__header-column-title-desktop, .tribe-events .tribe-events-calendar-month__day-date-daynum {color:#ffffff !important;}
.tribe-events-calendar-list__month-separator-text, .tribe-events-calendar-list__event-title a, .tribe-events-calendar-month__calendar-event-title-link.tribe-common-anchor-thin.tooltipstered, .tribe-events .tribe-events-calendar-month__day-date-link, .tribe-events .tribe-events-c-messages__message-list-item-link, .tribe-events-calendar-day__event-title a, .tribe-events-calendar-day__time-separator-text {color:var(--wp--preset--color--primary) !important;}
.tribe-events-calendar-list__event-datetime, .tribe-events-calendar-list__event-description, .tribe-events-calendar-list__event-venue, .tribe-events-c-small-cta *, .tribe-events-calendar-list__event-date-tag-datetime span, .tribe-events-calendar-day__event-datetime *, .tribe-events-calendar-day__event-venue, .tribe-events-calendar-day__event-description * {color:#ffffff !important;}
.tribe-common .tribe-common-cta--thin-alt, .tribe-events .tribe-events-c-messages__message-list-item-link {border-color:var(--wp--preset--color--primary) !important;}

.event-tickets .tribe-tickets__commerce-checkout, .tribe-common .tribe-tickets__commerce-checkout {
	margin:0 auto;
	background:#ffffff;
	padding:20px;
	border-radius:5px;
}

.event-tickets .tribe-tickets__commerce-checkout-header-link-back-to-event, .event-tickets .tribe-tickets__commerce-checkout-header-link-back-to-event:focus, .event-tickets .tribe-tickets__commerce-checkout-header-link-back-to-event:hover, .event-tickets .tribe-tickets__commerce-checkout-header-link-back-to-event:visited, .event-tickets .tribe-tickets__commerce-checkout-header-link-modify-attendees, .event-tickets .tribe-tickets__commerce-checkout-header-link-modify-attendees:focus, .event-tickets .tribe-tickets__commerce-checkout-header-link-modify-attendees:hover, .event-tickets .tribe-tickets__commerce-checkout-header-link-modify-attendees:visited, .tribe-common .tribe-tickets__commerce-checkout-header-link-back-to-event, .tribe-common .tribe-tickets__commerce-checkout-header-link-back-to-event:focus, .tribe-common .tribe-tickets__commerce-checkout-header-link-back-to-event:hover, .tribe-common .tribe-tickets__commerce-checkout-header-link-back-to-event:visited, .tribe-common .tribe-tickets__commerce-checkout-header-link-modify-attendees, .tribe-common .tribe-tickets__commerce-checkout-header-link-modify-attendees:focus, .tribe-common .tribe-tickets__commerce-checkout-header-link-modify-attendees:hover, .tribe-common .tribe-tickets__commerce-checkout-header-link-modify-attendees:visited {color:var(--wp--preset--color--primary) !important;border-color:var(--wp--preset--color--primary) !important;}

.tribe-common .tribe-common-c-btn, .tribe-common a.tribe-common-c-btn {background-color:var(--wp--preset--color--primary) !important;}

.single-tribe_events .tribe-events-schedule, .single-tribe_events .tribe-block__event-price, .single-tribe_events .tribe-block__venue--has-map, .tribe-block__event-price, .single-tribe_events .tribe-block__organizer__details {display:none !important;}
.single-tribe_events .event-single-columns {padding:0 15px;}

/* --- SHORTCODES */

/* Testimonials */

.ecrc-testimonial-item-inner {
	position:relative;
	display:flex;
	flex-wrap:nowrap;
	flex:1;
	justify-content:space-between;
	align-items:center;
	background:var(--wp--preset--color--primary);
	padding:20px;
	margin:0 10px;
	height:100%;
}

.ecrc-testimonial-item-inner h3 {margin:10px 0 20px;color:#ffffff;}
.ecrc-testimonial-item-inner p {color:#ffffff;}

.ecrc-testimonial-item-inner > div:first-of-type {position:absolute;top:0;left:3px;opacity:0.1;}
.ecrc-testimonial-item-inner > div:first-of-type svg {display:block;width:50px;fill:#ffffff;}
.ecrc-testimonial-item-inner > div:not(:first-of-type) {position:relative;}

/* Meet The Team */

.ecrc-team-member {display:flex;background:#202020;}
.ecrc-team-member:not(:last-of-type) {border-bottom:1px solid #000000;}
.ecrc-team-member-image {width:50%;padding:20px;background-size:100% auto;background-position:0 20%;}
.ecrc-team-member-details {width:50%;padding:20px;}
.ecrc-team-member-details h3 {margin:0;font-weight:500;}
.ecrc-team-member-details h4 {margin:0;font-size:1rem;letter-spacing:3px;text-transform:uppercase;}
.ecrc-team-member-contact-details {margin:20px 0 0;}
.ecrc-team-member-contact-details a {display:flex;align-items:center;color:var(--wp--preset--color--primary);text-decoration:none;}
.ecrc-team-member-contact-details a:hover {text-decoration:underline;}
.ecrc-team-member-contact-details a svg {margin:0 7px 0 0;}
.ecrc-team-member:nth-child(2n+2) .ecrc-team-member-image {order:1;}

/* Forthcoming Events */

#ecrc-forthcoming-events {margin:20px 0 0;padding:0;background:#5c5c5c;}
.ecrc-fe-item-outer {display:block;}
.ecrc-fe-item {display:flex;justify-content:space-between;align-items:center;}
.ecrc-fe-item-col {width:49%;}
.ecrc-fe-item-col-content {padding:20px;}
.ecrc-fe-item-col img {width:100%;height:auto;}
.ecrc-fe-item-col h3 {color:#ffffff;margin:0 0 20px; line-height:1;font-weight:bold;font-size:20px;letter-spacing:3px;}
.ecrc-fe-item-start {display:block;margin:0 !important;}
.ecrc-fe-item-end {display:block;margin:0 0 20px !important;}
#ecrc-forthcoming-events .slick-next {top:auto !important;bottom:0;}
#ecrc-forthcoming-events .slick-prev {top:auto !important;bottom:0;left:auto !important;right:55px !important;}
.tribe-tickets__tickets-item-quantity {border:1px solid #cccccc !important;}
.tribe-tickets__tickets-item-quantity .tribe-tickets__tickets-item-quantity-add {width:30px !important;height:30px !important;border-top:none;border-bottom:none;border-left:1px solid #cccccc;border-right:none;margin:0 !important;}
.tribe-tickets__tickets-item-quantity .tribe-tickets__tickets-item-quantity-remove {width:30px !important;height:30px !important;border-top:none;border-bottom:none;border-left:none;border-right:1px solid #cccccc;margin:0 !important;}
.entry .entry-content .event-tickets .tribe-tickets__tickets-item-quantity-number, .event-tickets .tribe-tickets__tickets-item-quantity-number {height:30px !important;width:30px !important;}
.entry .entry-content .event-tickets .tribe-tickets__tickets-form, .event-tickets .tribe-tickets__tickets-form {max-width:none !important;margin:0;border-radius:0;}
.entry .entry-content .event-tickets .tribe-tickets__tickets-item, .event-tickets .tribe-tickets__tickets-item * {
	color:#000000;
}
.tribe-common.event-tickets.tribe-tickets__tickets-wrapper {margin:20px 0;}
.entry .entry-content .event-tickets .tribe-tickets__attendee__fields__footer_checkout-button.tribe-common-c-btn:disabled, .entry .entry-content .event-tickets .tribe-tickets__tickets-buy.tribe-common-c-btn:disabled, .event-tickets .tribe-tickets__attendee__fields__footer_checkout-button.tribe-common-c-btn:disabled, .event-tickets .tribe-tickets__tickets-buy.tribe-common-c-btn:disabled, .tribe-common a.tribe-common-c-btn--small, .tribe-common button.tribe-common-c-btn--small, .tribe-common input[type=button].tribe-common-c-btn--small, .tribe-common input[type=submit].tribe-common-c-btn--small {
	background-color:var(--wp--preset--color--primary) !important;
}
.ecrc-fe-item-button {
	display:inline-block;
	background-color:var(--wp--preset--color--primary);
	padding:10px 20px;
	margin:30px 0 0;
	border-radius:4px;
	color:#ffffff !important;
	text-decoration:none;
	cursor:pointer;
	transition:background-color 500ms ease-in-out;
}

.ecrc-fe-item-button:hover {background-color:#000000;}
.ecrc-fe-item-link {margin:0 !important;display:block;}
.ecrc-fe-item-address {display:block;margin:0 0 20px !important;}
.ecrc-fe-item-subtitle {font-size:22px;letter-spacing:3px;color:var(--wp--preset--color--primary);margin:0 0 20px !important;}
.ecrc-fe-item-link-group {margin:0 0 20px !important;}

/* Post List */

.ecrc-post-list {background:#202020;}
.ecrc-post-list-navigation {display:flex;justify-content:flex-end;align-items:center;border:1px solid var(--wp--preset--color--primary);padding:7px;}
.ecrc-post-list-navigation > span {margin:0 10px 0 0;text-transform:uppercase;font-size:12px;letter-spacing:3px;color:var(--wp--preset--color--primary);}
.ecrc-post-list-navigation svg {fill:var(--wp--preset--color--primary);}
.ecrc-post-list-pagination {display:flex;justify-content:space-between;align-items:center;}
.ecrc-post-list-pagination .page-numbers {width:30px;height:30px;display:flex;justify-content:center;align-items:center;text-decoration:none;}
.ecrc-post-list-pagination .page-numbers.current {background:var(--wp--preset--color--primary);color:#ffffff;}
.ecrc-post-list-items {border-left:1px solid var(--wp--preset--color--primary);border-right:1px solid var(--wp--preset--color--primary);}
.ecrc-post-list-items > div:not(:last-of-type) {border-bottom:1px solid var(--wp--preset--color--primary);}
.ecrc-post-item h3 {margin:0;font-size:24px;font-weight:100;}
.ecrc-post-item a {background:var(--wp--preset--color--primary);padding:10px 20px;border-radius:3px;cursor:pointer;text-decoration:none;color:#ffffff;transition:background 500ms ease-in-out;}
.ecrc-post-item a:hover {background:#000000;}
.ecrc-post-item-inner {display:flex;justify-content:space-between;align-items:center;padding:20px;}
.ecrc-post-list-nav-empty {border-bottom:1px solid var(--wp--preset--color--primary);}

/* --- TEMPLATES */

/* Home */

.home .wp-block-post-title {display:none;}
.ecrc-cta-upcoming-events {background:#202020;}
.ecrc-cta-upcoming-events h3:before {content:"";display:inline-block;width:24px;height:24px;vertical-align:middle;background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M24 2v22h-24v-22h3v1c0 1.103.897 2 2 2s2-.897 2-2v-1h10v1c0 1.103.897 2 2 2s2-.897 2-2v-1h3zm-2 6h-20v14h20v-14zm-2-7c0-.552-.447-1-1-1s-1 .448-1 1v2c0 .552.447 1 1 1s1-.448 1-1v-2zm-14 2c0 .552-.447 1-1 1s-1-.448-1-1v-2c0-.552.447-1 1-1s1 .448 1 1v2zm6.687 13.482c0-.802-.418-1.429-1.109-1.695.528-.264.836-.807.836-1.503 0-1.346-1.312-2.149-2.581-2.149-1.477 0-2.591.925-2.659 2.763h1.645c-.014-.761.271-1.315 1.025-1.315.449 0 .933.272.933.869 0 .754-.816.862-1.567.797v1.28c1.067 0 1.704.067 1.704.985 0 .724-.548 1.048-1.091 1.048-.822 0-1.159-.614-1.188-1.452h-1.634c-.032 1.892 1.114 2.89 2.842 2.89 1.543 0 2.844-.943 2.844-2.518zm4.313 2.518v-7.718h-1.392c-.173 1.154-.995 1.491-2.171 1.459v1.346h1.852v4.913h1.711z'/%3E%3C/svg%3E");background-repeat:no-repeat;margin:0 10px 0 0;}
.ecrc-cta-upcoming-events p {margin:0;padding:10px;line-height:1;font-size:14px;}
.ecrc-cta-results-times {background:#202020;}
.ecrc-cta-results-times h3:before {content:"";display:inline-block;width:24px;height:24px;vertical-align:middle;background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M22 3v21h-20v-21h4.667l-2.667 2.808v16.192h16v-16.192l-2.609-2.808h4.609zm-3.646 4l-3.312-3.569v-.41c.001-1.668-1.352-3.021-3.021-3.021-1.667 0-3.021 1.332-3.021 3l.001.431-3.298 3.569h12.651zm-6.354-5c.552 0 1 .448 1 1s-.448 1-1 1-1-.448-1-1 .448-1 1-1zm-5 15h10v1h-10v-1zm0-1h10v-1h-10v1zm0-2h10v-1h-10v1zm0-2h10v-1h-10v1z'/%3E%3C/svg%3E");background-repeat:no-repeat;margin:0 10px 0 0;}
.ecrc-cta-results-times p {margin:0;padding:10px;line-height:1;font-size:14px;}
.ecrc-cta-become-a-member {background:#202020;}
.ecrc-cta-become-a-member h3:before {content:"";display:inline-block;width:24px;height:24px;vertical-align:middle;background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' clip-rule='evenodd'%3E%3Cpath fill='%23ffffff' d='M24 0v24h-24v-24h24zm-6.118 16.064c-2.293-.529-4.427-.993-3.394-2.945 3.146-5.942.834-9.119-2.488-9.119-3.388 0-5.643 3.299-2.488 9.119 1.064 1.963-1.15 2.427-3.394 2.945-2.048.473-2.124 1.49-2.118 3.269l.004.667h15.993l.003-.646c.007-1.792-.062-2.815-2.118-3.29z'/%3E%3C/svg%3E");background-repeat:no-repeat;margin:0 10px 0 0;}
.ecrc-cta-become-a-member p {margin:0;padding:10px;line-height:1;font-size:14px;}
/*
.home main .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)):not(.wp-block-separator) {max-width:100% !important;}
*/
.home main .ub_image_slider, .home main .ub_image_slider * {max-width:100% !important;}
.ecrc-home-cta a {color:#ffffff;text-decoration:none;}

@media all and (min-width:1240px) {
	.has-global-padding {padding:0 !important;}
	.home main .ub_image_slider {}
}

@media all and (max-width:1239px) {
	.has-global-padding {padding:0 !important;}
	.has-global-padding.is-layout-constrained.entry-content.wp-block-post-content > :not(.ub_image_slider) {padding-left:var(--wp--style--root--padding-left);padding-right:var(--wp--style--root--padding-right);}
	.tribe-common .tribe-common-l-container {padding:160px 16px 0 !important;}
}

/* Full Width */

@media all and (min-width:1240px) {
	.page-template-wp-custom-template-full-width main .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {max-width:none !important;}
}

.page-template-wp-custom-template-full-width main > div:first-of-type {background:var(--wp--preset--color--primary);}
.page-template-wp-custom-template-full-width main > div:first-of-type .wp-block-post-title {color:#ffffff;font-size:22px;letter-spacing:3px;text-transform:uppercase;font-weight:100;padding:10px 0;max-width:1200px !important;margin:0 auto !important;text-indent:140px;}
.page-template-wp-custom-template-full-width main > div.entry-content {padding:0 !important;margin:0 !important;}

/* Default Template */
/*
calc(var(--wp--style--global--content-size)+40px)
*/

@media all and (min-width:1240px) {
.page-template-default main .is-layout-constrained.entry-content {max-width:none !important;}
.page-template-default main > div:first-of-type {padding:0 !important;}
.page-template-default main > div:first-of-type figure {max-width:none !important;margin:0 !important;}
}

.page-template-default main > div:first-of-type .wp-block-post-title {background:var(--wp--preset--color--primary);color:#ffffff;font-size:22px;letter-spacing:3px;text-transform:uppercase;font-weight:100;padding:10px 0;margin:0 0 4rem !important;max-width:none !important;text-indent:140px;}
.page-template-default main > div:first-of-type .wp-block-post-title span {display:block;max-width:1200px !important;margin:0 auto;}

/* Single */

@media all and (min-width:1240px) {
	.single main .is-layout-constrained.entry-content {max-width:none !important;}
	.single main > div:first-of-type {padding:0 !important;}
	.single main > div:first-of-type figure {max-width:none !important;margin:0 !important;}
}
	
.single .wp-block-post-title {background:var(--wp--preset--color--primary);color:#ffffff;font-size:22px;letter-spacing:3px;text-transform:uppercase;font-weight:100;padding:10px 0;margin:0 0 4rem !important;max-width:none !important;text-indent:140px;}
.single main .wp-block-post-title span {display:block;max-width:1200px !important;margin:0 auto;}

/* Pages */

#ecrc-privacy-policy-hide {display:none;}

/* --- RESPONSIVE STYLES */

/* Footer Fixer */

@media all and (max-width: 1060px) {
	footer.wp-block-template-part {padding-bottom:50px;}
}

/* Tablet */

@media all and (max-width: 1024px) {
	header.wp-block-template-part .wp-block-social-link-label {display:none;}
	header.wp-block-template-part .wp-block-social-links {gap:0.25rem;}
	#ecrc-newsletter-inner {display:block;}
	#ecrc-newsletter-inner > div:first-of-type {margin:0 0 20px;text-align:center;padding:0 20px;}
	#ecrc-newsletter .nf-form-content nf-rows-wrap {justify-content:center;}
}
@media all and (max-width: 768px) {
	header.wp-block-template-part .wp-block-navigation__container {gap:0.5rem;}
	header.wp-block-template-part {padding:16px 4px 16px 16px !important;}
	.ecrc-home-slider-group .ecrc-online-booking-cta {position:static;}
	.ecrc-home-slider-group .ecrc-online-booking-cta-inner {width:100%;}
	.ecrc-fe-item {flex-wrap:wrap;}
	.ecrc-fe-item-col {width:100%;margin:0 0 10px;}
	#ecrc-forthcoming-events .slick-next, #ecrc-forthcoming-events .slick-prev {bottom:auto;top:0 !important;}
	.ecrc-fe-item-col:first-of-type {order:2;}
	.ecrc-fe-item-col:last-of-type {order:1;}
	.ecrc-team-member {flex-wrap:wrap;}
	.ecrc-team-member-image {width:100%;order:1;height:300px;background-size:cover;background-position:center;}
	.ecrc-team-member-details {width:100%;order:2;}
}

/* WP Admin Mobile Mode */

@media all and (max-width: 782px) {
	body.admin-bar header.wp-block-template-part {top:46px;}
}

/* Mobile */

@media all and (max-width:660px) {
	.gdpr-data-request-block .gdrf-field-email, .gdpr-data-request-block .gdrf-field-human {display:block;} 
	.gdpr-data-request-block .gdrf-field-email label, .gdpr-data-request-block .gdrf-field-human label {display:block;border-bottom:1px solid #cccccc;border-right:none;}
	.gdpr-data-request-block .gdrf-field-email input, .gdpr-data-request-block .gdrf-field-human input {display:block;margin:10px;}
}

@media all and (max-width: 599px) {
	.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open {background:#000000;color:#ffffff;}
	.ecrc-logo {z-index:999999;transition:max-width 500ms ease-in-out, top 500ms ease-in-out, left 500ms ease-in-out;}
	.ecrc-logo {max-width:40px;left:-7px;top:-7px;}
	.ecrc-home-slider-group .ecrc-online-booking-cta .ub-buttons>.ub-button-container {display:block;}
	.ecrc-home-slider-group .ecrc-online-booking-cta .ub-button-flex-larger {min-width:auto;width:auto;}
	header.wp-block-template-part .wp-block-social-link-label {display:inline-block;}
	header.wp-block-template-part .wp-block-social-links {display:block;padding:0 10px;width:100%;}
	header.wp-block-template-part .wp-block-social-links li:not(:last-of-type) {margin-bottom:20px;}
	header.wp-block-template-part .wp-block-navigation__container {display:block !important;width:100%;}
	header.wp-block-template-part .wp-block-navigation-item a {padding:10px !important;border-bottom:1px solid #222222;}
	header.wp-block-template-part .wp-block-navigation-item:not(.wp-block-navigation-submenu) {display:block !important;}
	header.wp-block-template-part  .wp-block-navigation-submenu {display:block !important;}
	header.wp-block-template-part  .wp-block-navigation-submenu ul a {padding:10px 20px !important;background:#efefef;}
	header.wp-block-template-part  .wp-block-navigation-submenu ul .wp-block-navigation-submenu ul a {padding:10px 30px !important;background:#cccccc;border-bottom:1px solid #ABADAD;}
	header.wp-block-template-part .wp-block-navigation__responsive-container {padding:1.33rem 0;}
	header.wp-block-template-part .wp-block-navigation__responsive-container-close {margin-right:5px;}
	header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .submenu-container, header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container {padding:0;}
	.ecrc-app-block {max-width:none !important;border-top-left-radius:0;border-top-right-radius:0;}
	footer.wp-block-template-part .is-content-justification-space-between.is-layout-flex.wp-block-group.alignwide > div {width:100%;text-align:center;}
	footer.wp-block-template-part .is-content-justification-space-between.is-layout-flex.wp-block-group.alignwide > div:not(:last-of-type) {margin-bottom:30px;}
	.wp-block-navigation.wp-container-16, .wp-block-navigation.wp-container-19 {justify-content:center;align-items:center;}
	footer.wp-block-template-part .wp-block-navigation__container {justify-content:center;align-items:center;}
	footer.wp-block-template-part .wp-block-navigation {align-items:center;}
	.ecrc-footer-business-details .has-text-align-right {text-align:center;}
	#ecrc-newsletter h3 {font-size:32px;}
	.ecrc-team-member-image {height:200px;}
	.page-template-default main > div:first-of-type .wp-block-post-title {text-indent:80px;font-size:18px;}
	.ecrc-team-member-details h3 {font-size:22px;}
	.ecrc-team-member-details h4 {font-size:0.75rem;}
	.tribe-common .tribe-common-l-container {padding:80px 20px 0 !important;}
}

@media all and (max-width: 480px) {
	.ecrc-app-block {flex-wrap:wrap;}
	.ecrc-app-block p {width:100%;text-align:center;padding-bottom:0 !important;}
	.ecrc-app-block figure {padding-top:5px !important;}
	footer.wp-block-template-part {padding-bottom:100px;}
}