/*
Theme Name:     Salcombe Kadence Child
Theme URI:      n/a
Template:       kadence
Author:         moorSites
Author URI:     https://moorsites.com
Description:    A simple Kadence child theme
Version:        1.0.0
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/
@keyframes ms-fadein {
	from {opacity:0}
	to {opacity:1}
}

#inner-wrap {
	animation: ms-fadein 1s ease-in-out;
	min-height:calc(100vh - 70px);
}

.site-branding a.brand {
    gap: 0.5em;
}

p a {
	font-weight: 700;
}

a {
    text-decoration: none;
}

#landing > .kt-row-column-wrap {
    min-height: calc(100vh - 70px);
}

#wpmem_login legend, #wpmem_reg legend {
    font-weight: inherit;
    text-transform: uppercase;
    margin-bottom: 1em;
    letter-spacing: 0.05;
}

.popup-drawer .drawer-inner {
    width: 300px;
}

.archive-description {
    margin-bottom: 2em;
}

.rank-math-breadcrumb p {
	font-size: 85%;
}

.content-area {
    margin-top: 0;
}

input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea {
    border-radius: 0;
}

/* Events */

:root {
    --tec-border-radius-default: 0;
	--tec-font-weight-bold: 500;
}

.tribe-events-event-image img {
    width: 480px;
}

.tribe-events-header__title, .tribe-events-header__breadcrumbs.tribe-events-c-breadcrumbs {
    display: none;
}

.tribe-common .tribe-common-anchor-thin:active, .tribe-common .tribe-common-anchor-thin:focus, .tribe-common .tribe-common-anchor-thin:hover {
    border-bottom: 0px solid #ffffff;
}

.tribe-events-content h2, .tribe-events-content h3, .tribe-events-content h4, .tribe-events-content h5, .tribe-events-content h6 {
    text-transform: uppercase;
}

    .tribe-events-content ol, .tribe-events-content p, .tribe-events-content ul {
        font-size: inherit!important;
    }

.entry-header.tribe_events-title {
    display: none;
}

.post-type-archive-tribe_events div#primary {
    margin-bottom: 0;
}

.single-tribe_events .tribe-events-c-subscribe-dropdown, .tribe-events .tribe-events-c-subscribe-dropdown {
    font-size: var(--tec-font-size-2);
    margin: 0;
}

.tribe-events-c-subscribe-dropdown__container {
    margin: 1em 0 !important;
}

.tribe-block__events-link {
    font-family: inherit;
    padding: 0;
}

.tribe-events-view--list span.tec_series_marker__title {
    display: none;
}

.postid-1061 .tribe-events-series-relationship-single-marker.tribe-common {
    display: none;
}

.tribe-recurring-event .tribe-events-pro-photo__event-featured-image-wrapper:after {
    content: 'Next: ';
	font-size: 0.7em;
}

.tribe-recurring-event .tribe-events-pro-photo__event-featured-image-wrapper {
    margin-bottom: 0 !important;
}

a.tribe-events-calendar-series-archive__link:before {
    content: ' All Dates:';
    font-weight: bold;
}

.tribe-events .tribe-events-calendar-series-archive__container {
    margin-left: 15px;
	float: right;
}

.tribe-events-pro-summary__event-datetime-wrapper time.tribe-events-pro-summary__event-datetime {
    display: block;
}

.the-events-calendar-category-list {
    margin: 1em 0 !important;
}

.tribe-events-header__events-bar.tribe-events-c-events-bar.tribe-events-c-events-bar--border {
    margin: 1em 0 0 0;
}

.the-events-calendar-category-list ol {
   display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
}

.the-events-calendar-category-list ol li a {
	font-size: small;
	padding: 0.5em 1em;
	background-color: var(--global-palette1);
	color: var(--global-palette9)!important;
}

.the-events-calendar-category-list ol li a:hover {
	background-color: var(--global-palette2);
}

.tribe-events-view.alignwide {
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.tribe-common img {
    width: 100%;
}

.cat_courses h3.tribe-events-pro-photo__event-title.tribe-common-h6 {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .tribe-events-schedule {
        margin: 0 0 1em;
    }
}

p.ms-tutor-name {
	margin-bottom: 0em;
	font-weight: bold;
	font-size: 0.8em;
}

p.ms-cost {
	font-weight: bold;
}

.single p.ms-tutor-name {
	font-size: 1.2em;
}

.ms-event-excerpt {
    font-size: 0.8em;
}

.tribe-common.event-tickets.tribe-tickets__tickets-wrapper {
    display: none;
}

.logged-in .tribe-common.event-tickets.tribe-tickets__tickets-wrapper {
    display: block;
}

.tribe-events-pro-photo__event-datetime.tribe-common-b2 {
    font-size: 0.8em !important;
}

.single-tribe_events .tribe-common a:not(.tribe-common-anchor--unstyle), .single-tribe_events .tribe-common a:not(.tribe-common-anchor--unstyle):active, .single-tribe_events .tribe-common a:not(.tribe-common-anchor--unstyle):focus, .single-tribe_events .tribe-common a:not(.tribe-common-anchor--unstyle):hover, .single-tribe_events .tribe-common a:not(.tribe-common-anchor--unstyle):visited {
    color: var(--global-palette1);
}

.tribe-events-series-relationship-single-marker.tribe-common {
    font-weight: bold;
}

.tribe_event_series span.tribe-events-calendar-series-archive__container {
    display: none;
}

.tribe-events-c-events-bar__views:before {
    content: 'Change View: ';
}

.tribe-events .tribe-events-c-events-bar__views {
    align-items: center;
}

.cat_exhibitions .tribe-events-event-image {
    display: none;
}

img.tribe-events-pro-photo__event-featured-image {
    aspect-ratio: 1;
    object-fit: contain;
}

.tribe-events-event-image img {
    height: 480px;
    width: auto;
}

.tribe-events-series-relationship-single-marker--pill {
    border-radius: 0;
}

.tribe-events-c-small-cta.tribe-common-b3.tribe-events-pro-photo__event-cost {
    display: none;
}

span.tribe-events-cost {
    display: none;
}

.tribe_event_series .tribe-common.event-tickets.tribe-tickets__tickets-wrapper {
    display: none;
}

.post-type-archive-tribe_events a.download-link {
    display: inline-block;
}

h2.tribe-events-widget-events-list__header-title.tribe-common-h6.tribe-common-h--alt
 {
    font-size: 24px;
    text-transform: uppercase;
    font-weight: 900;
}

.tribe-events-content .gallery-icon.landscape img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

img.tribe-events-calendar-list__event-featured-image
 {
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

/* WooCommerce */

.count {
    display: none;
}

.woocommerce div.product div.images img, .woocommerce ul.products li.product a img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.archive:not(.term-membership) .product-action-wrap {
    display: none;
}

.ms-extra-term-description {
    margin-top: 3em;
}

h2.woocommerce-loop-category__title, .loop-entry.product  {
    text-align: center;
}

.woocommerce form.login, .woocommerce form.checkout_coupon, .woocommerce form.register {
    border-radius: 0;
}

li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--downloads {
    display: none;
}

span.header-cart-total.header-cart-is-empty-true {
    display: none;
}

a.wcwl_control {
    background: var(--global-palette1);
    color: var(--global-palette9) !important;
    padding: 8px 16px;
}

.wcwl_intro p {
    font-weight: bold;
}

span.waitlist-thumbnail {
    display: none;
}

/* Membership */

#wpmem_login, #wpmem_msg, #wpmem_reg, .wpmem_msg {
    width: 100%;
	max-width: 768px;
}

.product_cat-membership .woocommerce-Price-amount.amount:after {
    content: ' pa';
}

.wcwl_event_checkbox:after {
    font-size: 0.8em;
    font-weight: bold;
    content: 'Tick the box and click the "Update Waitlist" button below to receive an email if a place becomes available';
}

.wcwl_intro {
    display: none;
}

/* Downloads */

a.download-link {
    display: block;
    margin-bottom: 0.5em;
    font-weight: bold;
}

a#download-link-1478 {
    display: inline-block;
}
