/*
Theme Name: Maplecrest
Theme URI: http://www.digitalhill.com/
Author: Digital Hill Multimedia
Author URI: http://www.digitalhill.com/
Description: This is a custom theme for Maplecrest Country Club
Template: dhwp-base
Version: 1.5.1
License: Proprietary
Text Domain: dhwp-maplecrest
Tags: 
see https://make.wordpress.org/themes/handbook/review/required/theme-tags/
see WordPress' CSS coding standards https://make.wordpress.org/core/handbook/coding-standards/css
*/

/* LIKELY SITE-SPECIFIC CHANGES */

/* Site Wide */
/*.wp-block-button__link { background-color: #6a0d3b; color: #ffffff !important; }
.wp-block-button__link:hover { background-color: #a90f5b; }*/
.wp-block-file *+.wp-block-file__button { color: #fff !important; border-radius: 0; background-color: #6a0d3b; }
.wp-block-file *+.wp-block-file__button:hover { background-color: #a90f5b; }
hr.wp-block-separator { border: 0; border-bottom: 1px solid #ccc; }

/* Colors */
.wp-block-cover.has-background-dim.has-burgundy-background-color,
.has-burgundy-background-color { background-color: #6a0d3b; }
.wp-block-cover.has-background-dim.has-gold-background-color,
.has-gold-background-color { background-color: #b9a976; }
.wp-block-cover.has-background-dim.has-black-background-color,
.has-black-background-color { background-color: #000000; }
.wp-block-cover.has-background-dim.has-white-background-color,
.has-white-background-color { background-color: #fff; }
.wp-block-cover.has-background-dim.has-light-gray-background-color,
.has-light-gray-background-color { background-color: #eeeeee; }
.has-burgundy-color { color: #6a0d3b; }
.has-gold-color { color: #b9a976; }
.has-black-color { color: #000000; }
.has-white-color { color: #fff; }
.has-light-gray-color { color: #eeeeee; }

/* Button Colors */
.wp-block-button__link { font-size: 16px; padding: 10px 20px; border-radius: 50px; /*opacity: .9;*/ }
.wp-block-button__link:hover { /*border-color: #000;*/ background-color: #a90f5b !important; }
.wp-block-button__link.has-burgundy-background-color { background-color: #6a0d3b; }
.wp-block-button__link.has-gold-background-color { background-color: #b9a976; }
.wp-block-button__link.has-black-background-color { background-color: #000000; border: 1px solid #000000; }

/* Header */
.logo-container { top: 0; }
.logo-container img { width: 100%; }

/* Home */
.home p:nth-of-type(1) { max-width: 1200px; }

.home-buttons .wp-block-media-text { padding: 0.75em; }
.home-buttons a:hover .wp-block-media-text { background-color: #a90f5b; }

.home-callouts .wp-block-column { background-color: #ffffff; border: 1px solid #cccccc; }
.home-callouts figure { border-bottom: 4px solid #6a0d3b; }
.home-callouts h3 { padding: .5em .5em 0; }
.home-callouts p { padding: .5em 1.5em; }
.home-callouts .wp-block-button { padding-bottom: 1.5em; }

/* Event Calendar Widget */
.home .tribe-common--breakpoint-medium.tribe-events .tribe-events-header--has-event-search .tribe-events-header__events-bar { display: none; }
.home .tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container { padding-top: 20px; }
.home .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__day { min-height: 118px; }

.tribe-events-widget .tribe-events-widget-events-list__view-more-link { color: #6a0d3b !important; }
.tribe-events-widget .tribe-events-widget-events-list__view-more-link:hover { border-bottom-color: #6a0d3b !important; }
.tribe-common .tribe-common-b2 { font-size: 16px !important; line-height: 1.2 !important; }
.tribe-common .tribe-common-h7 { font-size: 18px !important; }
.tribe-events-widget .tribe-events-widget-events-list__event-date-tag-month { font-size: 13px !important; }
.tribe-common .tribe-common-h2 { font-size: 28px !important; }

/* Events Calendar */
.tribe-common .tribe-common-c-btn, .tribe-common a.tribe-common-c-btn { background-color: #6a0d3b; }
.tribe-common .tribe-common-anchor-thin-alt { border-bottom-color: #6a0d3b; }
.tribe-common .tribe-common-anchor-thin-alt:hover { color: #6a0d3b; border-bottom-color: #6a0d3b; }
.single-tribe_events a.tribe-events-gcal, .single-tribe_events a.tribe-events-gcal:hover, .single-tribe_events a.tribe-events-ical, .single-tribe_events a.tribe-events-ical:hover { color: #6a0d3b; }
#tribe-events-pg-template, .tribe-events-pg-template { padding-top: 60px; }

/* Gravity Forms */
.gform_wrapper { max-width: 1400px !important; margin-left: auto; margin-right: auto; }
.gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type=submit] { background-color: #6a0d3b; color: #ffffff; font-family: 'Open Sans', sans-serif; font-size: 1.125em; line-height: 1.5; border: none; border-radius: 0; padding: .667em 1.333em; cursor: pointer; }
.gform_wrapper .gform_footer input.button:hover, .gform_wrapper .gform_footer input[type=submit]:hover { background-color: #a90f5b; }

.wppb-user-forms .wppb-search-button { border-radius: 0 !important; }

/* User Listing */
#wppb-search-fields { padding: 9px 4px; margin-right: 10px !important; font-family: 'Open Sans', sans-serif; }
.wppb-table tr:hover { background: #fbfbfb !important; }
ul.wppb-profile li h3, ul.wppb-profile li h3:first-child { border-top: none !important; margin: 0 0 20px !important; padding-top: 0 !important; }
#wppb-back-span { margin-top: 2em; }
.wppb-user-forms .wppb-search-button, #wppb-back { background-color: #6a0d3b; border: none; border-radius: 0; padding: 10px 21px; color: #ffffff; text-decoration: none; font-family: 'Open Sans', sans-serif; }
.wppb-user-forms .wppb-search-button:hover, #wppb-back:hover { background-color: #a90f5b; cursor: pointer; }
#userlisting_pagination { margin-top: 20px; }

/* Staff Page */
.staff-members .wp-block-column p { margin-top: 0 !important; }

/* Gallery */
.wp-block-gallery.has-nested-images figure.wp-block-image img {
	aspect-ratio: 1; /* squared size thumbnails */
}
.wp-block-gallery.has-nested-images figure.wp-block-image {
	flex-grow: 0; /* width fix */ 
}

/* Weather Widget */
#splw-location-weather-3021.splw-main-wrapper.horizontal { max-width: 100% !important; }
#splw-location-weather-3021 .splw-lite-wrapper { border-radius: 0 !important; }
#splw-location-weather-3033.splw-main-wrapper { max-width: 100% !important; }
#splw-location-weather-3033 .splw-lite-wrapper { border-radius: 0 !important; }

/* Menus */
.menu-columns { gap: 8em !important; }

/* Footer */
#custom_html-2 a { opacity: 1; }
#custom_html-2 a i { background-color: #6a0d3b; font-size: 1.5em; color: #ffffff; width: 40px; height: 40px; line-height: 40px; text-align: center; border-radius: 100%; }
#custom_html-2 a:hover i { background-color: #a90f5b; }

/* Normal Menu Styles */
/* 782 based on WP mobile menu flip */
@media (min-width: 783px) {

}

/* adjust padding at certain sizes so menu doesn't crowd logo - might have to do this at a few different breakpoints */
/* works in conjunction with .logo-container {width} to ensure menu and logo don't overlap */
@media (max-width: 1300px) and (min-width: 783px) { .dhlogomenu .dhmenu > li > a { padding: 1.8em .7em; } }
@media (max-width: 1150px) and (min-width: 783px) { .dhlogomenu .dhmenu > li > a { padding: 1.6em .6em; } }


/* 782 based on WP mobile menu flip */
@media (max-width: 782px) {
	h1 { font-size: 2em; }
	h2 { font-size: 1.5em; }
	.entry-content .wp-block-group__inner-container { padding-left: 14px; padding-right: 14px; }
}

@media (max-width: 568px) {
	.home-callouts .wp-block-column:not(:first-child) { margin-top: 20px; }
}
