/*
Welcome to Custom CSS!

CSS (Cascading Style Sheets) is a kind of code that tells the browser how
to render a web page. You may delete these comments and get started with
your customizations.

By default, your stylesheet will be loaded after the theme stylesheets,
which means that your rules can take precedence and override the theme CSS
rules. Just write here what you want to change, you don't need to copy all
s stylesheet content.

If you need any further help, ask in the CSS Customization forum.
*/

/* Hide event description, view customization */
.tribe-events-calendar-list__event-details .tribe-events-calendar-list__event-description p, .tribe-events .tribe-events-c-view-selector__button, .tribe-events .tribe-events-header {
    display: none;
}
.tribe-events-content a:not(.wp-element-button) {
	&, &:active, &:hover, &:focus {
	border: none;
	}
}
.tribe-common ul li {
	list-style: none;
}

.tribe-events-calendar-list__event-header {
    display: flex !important;
    flex-direction: column !important;
}
.tribe-events-calendar-list__event-title { order: 1; margin-bottom: 5px !important; }
.tribe-events-calendar-list__event-datetime-wrapper { order: 2; margin-bottom: 10px !important; }
.tribe-event-categories { order: 3; list-style: none; padding: 0; }
 
.tribe-event-categories li {
    display: inline-block !important;
    font-size: 13px;
}
.tribe-event-categories li a {
	text-decoration: none !important;
	font-weight: 600;
	&:visited {
		color: #cd0000;
	}
}

#header .site-title {
	font-size: 4em;
}
#header .site-description {
	font-size: 2em;
}
@media only screen and (max-width: 767px) {
    #header {
			.site-title {
				font-size: 2em;
				line-height: 1em;
			}
			.site-description {
				font-size: 1.2em;
			}
			
		}
}

/* unvisited link */

a:link, a:visited {
	color: #cd0000;
}

/* visited link */
a:hover {
	color: #3c2a6f;
}

body {
	font-size: 0.9em;
	line-height: 1.7;
	letter-spacing: 0.02em;
}

/* Heading font for Drunky!!! */
h1, h2, h3, h4, h5, h6 {
	font-family: 'Racing Sans One', Helvetica, Arial, sans-serif;
	font-weight: 400;
	line-height: 1.4;
	margin: 24px 0px;
}


/* remove profile-pick effect on logo */
#header .feature-img {
	background: none;
	bottom: -100px;
	border-radius: 0;
	-moz-border-radius: 0;
	-khtml-border-radius: 0;
	-webkit-border-radius: 0;
}

#header .feature-img img {
	border-radius: 0;
	-moz-border-radius: 0;
	-khtml-border-radius: 0;
	-webkit-border-radius: 0;
}

.container.logo-active {
	padding-top: 90px;
}

.menu a:hover {
  color: #dbdbdb;
}

/* Nav bar rework */

/* fix: Allow highlighting of child pages when they're in the same category as the active page */
	#navigation .menu .current-menu-ancestor ul li a:hover {
		color: #fff;
	}

#menu-main-navigation {
	padding: 0 10px;
	border-radius: 15px;
	li a {
		/* Size link bigger, add transparent border */
		font-weight: bold;
		padding: 13px 10px;
		border: none;
		border-radius: 8px;
		&:hover {
			color: #fff;
		}
	}
	& > li.mainnav:not(.current-menu-item) > a:hover::before {
		/* Add white underline on top-level item hover */
		content: " ";
		position: absolute;
		left: 10px;
		right: 10px;
		bottom: 16px;
		top: 40px;
		background-color: #fff;
	}
	
	.sub-menu {
		padding-bottom: 8px;
		border-radius: 0 0 15px 15px;
	}
	.sub-menu li a {
		margin-bottom: 4px;
		padding: 8px 5px;
		line-height: 1.3rem;
		i {
			display: block;
			font-weight: normal;
			font-size: 1em;
		}
	}
}

#navigation .menu {
	/* Current item should be highlighted */
	.current-menu-item, .current-page-item, .current-menu-ancestor ul .current_page_item {
		a {
			color: #b60808;
			background-color: #f4f4f4;
			&:hover {
				color: #333;
			}
		}
	}
}

#menu-main-navigation li a.sf-with-ul {
	padding-right: 20px;
}

.sf-arrows .sf-with-ul {
	cursor: default;
	&::after {
		top: calc(50% - 3px);
		transform: scale(80%);
		right: 7px;
		left: unset;
		border-top-color: currentColor;
	}
}

#header {
		padding-bottom: 1px;
	}
/* Desktop */
/* remove white background from nav bar */
@media only screen and (min-width: 768px) {
	#navigation {
		background: inherit;
	}
	/* Blank space below the navigation */
	#header {
		padding-bottom: 12px;
	}
}

/* Mobile */
@media only screen and (max-width: 767px) {
	#navigation {
		padding-bottom: 4px;
	}
	#menu-main-navigation
	{
			&.mobile-menu ul, &.mobile-menu li {
			display: block;
			width: fit-content;
			&.current-menu-item a {
				border-color: rgb(205, 0, 0);
				color: rgb(205, 0, 0);
			}
			a {
				padding: 2px;
				margin: 12px;
				background-color: transparent;
				color: #b60808;
				border: none;
				border-bottom: solid 2px transparent;
				border-radius: 0;
				width: fit-content;
				&:hover {
					color: #b60808;
					border-color: #b60808;
				}
				&:not([href]) {
					color: inherit;
					background-color: transparent;
					border-color: transparent !important;
				}
				text-align: left;
			}
			.sub-menu a {
				margin-left: 32px;
				color: #b60808;
				&::before {
					content: none;
				}
			}
		}
	}
}

.ecs-event-list {
	margin-left: 0;
	padding-left: 0;
	.ecs-event {
		padding-bottom: 8px;
		border-bottom: 1px solid #cecece;
		list-style: none;
		padding-left: 0;
		display: grid;
		grid-template-columns: 1fr 3fr; /* date | main | thumb */
		grid-template-rows: auto auto;
		gap: 0.5rem 1rem;
		align-items: start;
		grid-template-areas:
			'datetime title'
			'venue    title';
		
		.entry-title {
			grid-area: title;
			align-content: center;
			align-self: center;
			text-align: center;
			margin: 0 auto;
			a:link, a:visited {
				font-weight: 500;
				color: #8900000;
				font-size: 0.9em;
			}
			a:hover {
				text-decoration: underline;
			}
		}
		& > a {
			/* Thumb */
			grid-area: thumbnail;
		}
		.duration.time {
			grid-area: datetime;
			text-align: center;
			height: 100%;
  		align-content: end;
			font-size: 0; /* hides/shrinks the bare " - " between spans */
		}
		.duration.time > span {
			font-size: 1rem; /* restore text for real spans */
		}
		
		.tribe-event-date-start {
			font-size: 1.25rem;
			font-weight: 600;
		}
		.tribe-event-time {
			display: none;
		}

		.duration.venue {
			text-align: center;
			grid-area: venue;
			font-style: italic;
			opacity: 0.6;
			em {
				display: none;
			}
		}
	}
}

.sidebar .tribe-events-widget-events-list {
	padding: 1em;
}
.sidebar .tribe-events-widget {
	margin-bottom: 0;
}
.sidebar .tribe-events-widget .tribe-events-widget-events-list__view-more-link:active, .tribe-events-widget .tribe-events-widget-events-list__view-more-link:focus, .tribe-events-widget .tribe-events-widget-events-list__view-more-link {
	
		text-align: center;
		margin: 0 auto;
	&:link, &:hover, &:visited {
		margin-left: .7em;
		color: #cd0000;
		text-decoration: none;
		border: none;
	}
	&:hover {
		color: black;
	}
}

@media only screen and (max-width: 767px) {
	.full-width-svg {
		background: white;
		margin-left: -2em;
		margin-right: -2em;
		width: calc(100% + 4em);
	}
}
.is-stacked-on-mobile.small-stack figure {
	width: 10em;
	margin: 1em auto;
}