/*
Theme Name: Rümi
Theme URI: http://www.dotandpixel.de
Author: DOT&PIXEL
Author URI: http://www.dotandpixel.de
Description: Ein benutzerdefiniertes Theme für Rümi - Raum für Überraschung, Medien & Interaktion
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: spectra-one
Text Domain: ruemi
Tags: 
*/

/**
 * Adobe Webfonts

Filson Pro Regular

	font-family: "filson-pro", Helvetica, Arial, sans-serif;
	font-weight: 400;
	font-style: normal;

Filson Pro Regular Italic

	font-family: "filson-pro", Helvetica, Arial, sans-serif;
	font-weight: 400;
	font-style: italic;

Filson Pro Bold

	font-family: "filson-pro", Helvetica, Arial, sans-serif;
	font-weight: 700;
	font-style: normal;

Filson Pro Bold Italic

	font-family: "filson-pro", Helvetica, Arial, sans-serif;
	font-weight: 700;
	font-style: italic;
 */

@import url("https://use.typekit.net/hph1txe.css");

body {
  font-family: "filson-pro", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-variant-ligatures: discretionary-ligatures;
  -moz-font-feature-settings: "dlig";
  -webkit-font-feature-settings: "dlig";
  font-feature-settings: "dlig";
}

.wp-site-blocks {
	overflow: hidden; /* prevent overflow caused by page title pseudo elements */
}

/* Change the WordPress default css to a 1023px media query */
/* copy of wp default css to a 1000px media query */
@media (min-width: 1199px) {
	.wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: none !important;
	}

	.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: block !important;
		width: 100%;
		position: relative;
		z-index: auto;
		background-color: inherit;
	}
}

/* neutralize the wp default for 600px */
@media (min-width: 600px) {
	.wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}
	.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
}

/**
 * Header navigation hover color
 **/
header .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--primary);
}

/**
 * Footer 
 */
footer.wp-block-template-part .wp-block-social-links svg path {
	fill: rgb(255,255,255);
}

footer.wp-block-template-part a:hover,
footer.wp-block-template-part .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--secondary);
}

/**
 * Page Titles
 */
 
.swt-block-page-banner-group.has-background,
.ruemi-page-title.has-secondary-background-color,
.ruemi-page-title.has-tertiary-background-color,
.ruemi-page-title.has-quaternary-background-color,
.ruemi-page-title.has-quinary-background-color,
.ruemi-page-title.has-sextenary-background-color,
.ruemi-page-title.has-septenary-background-color {
	position: relative;
	background: none !important;
}

.swt-block-page-banner-group.has-background::before,
.ruemi-page-title.has-secondary-background-color::before,
.ruemi-page-title.has-tertiary-background-color::before,
.ruemi-page-title.has-quaternary-background-color::before,
.ruemi-page-title.has-quinary-background-color::before,
.ruemi-page-title.has-sextenary-background-color::before,
.ruemi-page-title.has-septenary-background-color::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transform: rotate(-3deg) translate(-40%,-5%) scale(200%,55%) perspective(300px) rotateX(15deg) rotateY(-6deg);
	z-index: -1;
}

.ruemi-page-title.has-primary-background-color::before,
.swt-block-page-banner-group.has-primary-background-color::before {
	background: var(--wp--preset--color--primary);
}

.ruemi-page-title.has-secondary-background-color::before,
.swt-block-page-banner-group.has-secondary-background-color::before {
	background: var(--wp--preset--color--secondary);
}

.ruemi-page-title.has-tertiary-background-color::before,
.swt-block-page-banner-group.has-tertiary-background-color::before {
	background: var(--wp--preset--color--tertiary);
}

.ruemi-page-title.has-quaternary-background-color::before,
.swt-block-page-banner-group.has-quaternary-background-color::before {
	background: var(--wp--preset--color--quaternary);
}

.ruemi-page-title.has-quinary-background-color::before,
.swt-block-page-banner-group.has-quinary-background-color::before {
	background: var(--wp--preset--color--quinary);
}

.ruemi-page-title.has-sextenary-background-color::before,
.swt-block-page-banner-group.has-sextenary-background-color::before {
	background: var(--wp--preset--color--sextenary);
}

.ruemi-page-title.has-septenary-background-color::before,
.swt-block-page-banner-group.has-septenary-background-color::before {
	background: var(--wp--preset--color--septenary);
}


/**
 * Frontpage slider
 */
.ruemi-frontpage-slider .uagb-ifb-desc {
  hyphens: auto;
}

/**
 * table opening times
 */

.ruemi-table-opening th,
.ruemi-table-opening td {
  vertical-align: top;
	padding: 1em 0;
}

.ruemi-table-opening td:first-child {
  width: 50%;
}

/**
 * Spectra slider
 */
.uagb-swiper {
  overflow: visible;
}

/**
 * The Events Calendar Plugin
 */

.tribe-events-widget-events-list__events {
	display: block;
}

@media (min-width: 600px) {

	.tribe-events-widget-events-list__events {
		display: flex;
		justify-content: center;
		align-items: stretch;
	}
}

.tribe-events-widget-events-list__events .tribe-events-widget-events-list__event-row {
	max-width: 320px;
}

.tribe-events-widget-events-list__event-date-tag.tribe-common-g-col {
	display: none;
}

.tribe-common-g-row.tribe-events-widget-events-list__event-row {
	margin: 1em 2em;
}

.tribe-events-widget-events-list__event-wrapper {
	background: #FFF;
	border-radius: 20px;
}

.tribe-events-widget-events-list__event {
	padding: 1.2em 1.2em 2em 1.2em !important;
}

.tribe-events-widget-events-list__event-wrapper .event-cat-link {
	display: block;
	padding: .8em 1.2em;
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
}

.tribe-events-widget-events-list__event .tribe-events-calendar-list__event-featured-image-wrapper,
.tribe-events-widget-events-list__event .tribe-events-calendar-list__event-header .tribe-events-calendar-list__event-datetime-wrapper,
.tribe-events-widget-events-list__event h3.tribe-events-calendar-list__event-title,
.tribe-events-calendar-list .tribe-events-calendar-list__event-featured-image-wrapper,
.tribe-events-widget-events-list .tribe-events-widget-events-list__view-more {
	display: none;
}

.tribe-events-widget-events-list__event .wp-block-buttons {
	display: flex;
	justify-content: center;
	margin-top: 1em;
}

.tribe-events-calendar-list .tec-events-calendar-list__event-categories .tec-events-calendar-list__category {
	background: none;
	border: 1px solid var(--tec-color-category-secondary);
	color: #000;
}

.tec-block__archive-events .tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
	padding-top: var(--wp--preset--spacing--medium);
}

/* Sticky Events on front page */
body.home .tribe-events-widget .tribe-events-widget-events-list__event-row--featured .tribe-events-widget-events-list__event-date-tag-datetime::after {
  background: none !important;
}
body.home .tribe-events-widget .tribe-events-widget-events-list__event-row--featured .tribe-events-widget-events-list__event-datetime-featured-icon {
	display: none;
}

/* RSVP Button */
.tribe-events-calendar-month__calendar-event-tooltip-cost .wp-block-button,
.tribe-events-calendar-list__event-cost .wp-block-button {
	background-color: var(--wp--preset--color--primary);
  border-radius: 2em;
  border-color: var(--wp--preset--color--primary);
  border-width: 0;
  font-family: inherit;
  font-size: var(--wp--preset--font-size--small);
  font-weight: var(--wp--custom--font-weight--medium);
  line-height: var(--wp--custom--line-height--initial);
  padding: calc(0.667em + 2px) calc(1.333em + 2px);
  text-decoration: none;
}
.tribe-events-calendar-month__calendar-event-tooltip-cost .wp-block-button a,
.tribe-events-calendar-list__event-cost .wp-block-button a {
  color: var(--wp--preset--color--background) !important;
}
.tribe-events-calendar-month__calendar-event-tooltip-cost .wp-block-button:hover,
.tribe-events-calendar-list__event-cost .wp-block-button:hover {
  background-color: var(--wp--preset--color--secondary);
}
.tribe-events-cost-info {
	display: none;
}