/*
Theme Name: Radiofabrik
Theme URI: http://radiofabrik.at
Description: Das Theme für die Radiofabrik
Author: Richard Blechinger
Author URI: http://blechi.at
Version: 1.0.0
*/

/* These are extensions for Tachyons. Single-purpose classes! */
/* ns: @media screen and (min-width: 30em) */
/*  m: @media screen and (min-width: 30em) and (max-width: 60em) */
/*  l: @media screen and (min-width: 60em) */

* {
  /* These are technically the same, but use both */
  overflow-wrap: break-word;
  word-wrap: break-word;

  -ms-word-break: break-all;
  /* Instead use this non-standard one: */
  word-break: break-word;

  /* Adds a hyphen where the word breaks, if supported (No Blink) */
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.clndr * {
    word-break: normal;
    word-wrap: normal;
}

figure {
	margin: 0;
	height: auto !important;
	display: block;
}

body.admin-bar {
	margin-top: 32px;
}

img[class*="wp-image"] {
	height: auto;
	width: 100%;
	display: block;
	margin-top: 1rem;
	margin-bottom: 1rem;
	margin-left: 0;
	margin-right: 0;
}

figcaption,
.wp-caption-text {
	font-size: 0.8rem;
	color: #888;
	margin-top: 0.2rem;
}

.widget ul {
	padding: 1rem;
	margin: 0;
	list-style-type: none;
}

.widget li:not(:last-child) {
	margin-bottom: 0.5rem;
}

#radiofabrik-explanation-modal {
	margin-top: 25vh;
}

/* .show,
.member,
.programme-item,
.widget a {
	word-break: initial !important;
} */

.widget .rss-widget-icon {
	display: none;
}

.galleria-theme-classic .galleria-image-nav-left {
	left: 0 !important;
}
.galleria-theme-classic .galleria-image-nav-right {
	right: 0 !important;
}
.galleria-theme-classic .galleria-image-nav-left,
.galleria-theme-classic .galleria-image-nav-right {
	opacity: 1;
}
.galleria-image img:hover {
	cursor: pointer;
}
.galleria-theme-classic {
	background: none;
}

@media(max-width: 1024px) {
	.galleria-theme-classic .galleria-stage {
		height: 240px !important;
		position: absolute;
		top: 10px;
		bottom: 60px;
		left: 10px;
		right: 10px;
		overflow:hidden;
	}
}

/* .menu-item a {
	word-break: initial !important;
} */
.current-menu-item,
.current-menu-ancestor {
	background: #333;
}
.current-menu-item > a,
.current-menu-ancestor > a {
	color: white;
}

.menu-level-0 > .current-menu-item,
.menu-level-0 > .current-menu-ancestor {
	background: transparent;
}

.menu-level-0 > .current-menu-item > a,
.menu-level-0 > .current-menu-ancestor > a {
	color: #b6a401;
}

.dark-gray,
.hover-dark-gray:hover {
	color: #333;
}
.bg-dark-gray,
.hover-bg-dark-gray:hover {
	background-color: #333;
}

.brand,
.hover-brand:hover {
	color: #b6a401;
}
.bg-brand,
.hover-bg-brand:hover {
	background-color: #b6a401;
}

.brand-dark,
.hover-brand-dark:hover {
	color: #7c7002;
}
.bg-brand-dark,
.hover-bg-brand-dark:hover {
	background-color: #7c7002;
}

.sans-serif {
	font-family: "Nunito Sans", sans-serif;
}

.bold {
	font-weight: 700;
}
.super-bold {
	font-weight: 900;
}

.container {
	width: 100%;
}

.h5half {
	height: 24rem;
}
.h6 {
	height: 32rem;
}
.h7 {
	height: 48rem;
}

.w5half {
	width: 24rem;
}
.w6 {
	width: 32rem;
}
.w-5 {
	width: 5%;
}
.w-32 {
	width: 32%;
}
.w-49 {
	width: 49%;
}

.min-w-25 {
	display: inline-block;
	min-width: 25%;
}
.min-w-50 {
	display: inline-block;
	min-width: 50%;
}
.min-w-75 {
	display: inline-block;
	min-width: 75%;
}

.mw-container {
	max-width: 1152px;
}
.bottom-3-4 {
	bottom: 0.75rem;
}
.top-1-3 {
	top: 0.33rem;
}
.z--1 {
	z-index: -1;
}

.streaming-player .radiofabrik-rail.playing {
	background: white;
}

.filter {
	margin-bottom: 1rem;
	flex-basis: 100%;
	flex-grow: 0;
}

.filter.active {
	color: #333;
	background: #b6a401;
}

.filtered-content {
	display: none;
}

.filtered-content.active {
	display: block;
}

.listed.show,
.listed.member {
	flex-basis: 100%;
	flex-grow: 0;
	margin: 0.5rem 0;
}

.show-description-blog img {
	display: none;
}

.previews .social-button-container {
	bottom: 1.65rem;
}

.previews .social-buttons.activated {
	position: absolute;
	bottom: -0.7rem;
}

.clndr {
	width: 100%;
}
.clndr-controls span {
	color: #000;
	transition: color 0.15s ease-in;
}
.clndr-controls span.inactive,
span.inactive {
	color: #888;
}
.clndr-controls span:hover:not(.inactive) {
	color: #b6a401;
	cursor: pointer;
}
.clndr-days .clndr-day.event:not(.adjacent-month) {
	background: #b6a401;
}
.clndr-days .clndr-day,
.clndr-dows .clndr-dow {
	width: 14.28571428571%;
}
.clndr-day.adjacent-month {
	color: rgba(0, 0, 0, 0.1);
}

.show-calendars .clndr-days .clndr-day {
	height: 40px;
}

.daily-calendar {
	position: -webkit-sticky;
	position: sticky;
	top: 119px;
}

.admin-bar .daily-calendar {
	top: 151px;
}

.daily-calendar:before,
.daily-calendar:after {
	content: "";
	display: table;
}

.daily-calendar .clndr-days .clndr-day.active {
	background: #b6a401;
	font-weight: bold;
}

.slick-slide {
	overflow-x: hidden;
}
.pb-extra,
.max-height-slide {
	padding-bottom: 96px;
}

.arrow-prev {
	left: 0;
}
.arrow-next {
	right: 0;
}
.main-header-slide {
	font-size: 24px;
	/* word-break: initial; */
	margin-top: 0;
}

.cogs {
	width: 2rem;
	position: absolute;
	transform: translate(-133%, 10%);
}

#radiofabrik-background-buttons {
	margin-top: 10vh;
	margin-bottom: 10vh;
}

.title-bar h1 {
	font-size: 1.5rem;
}

.youtube-wrapper {
	width: 100%;
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
}

.youtube-wrapper iframe,
.youtube-wrapper object,
.youtube-wrapper embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100%;
}

.company-title {
	font-size: 1.25rem;
	margin-top: 0;
	margin-bottom: 1rem;
}

.radiofabrik-mobile-menu .menu-item-children {
	background: #efefef;
	text-indent: 1rem;
}

.error404 {
	overflow-x: hidden;
}

.turnt-404 {
	box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.5);
	transform-style: preserve-3d;
	transform-origin: 50% 51%;
	transform: rotate(2deg) translate(-5%, 2%);
}

.microphone-hanging {
	z-index: 9999;
	position: absolute;
	top: 0;
	right: 10vw;
	width: 75px;
	transform-origin: 50% 0;
	transform: rotate(2deg);
	animation-duration: 5s;
	animation-timing-function: ease-out;
	animation-name: hanging-microphone;
	animation-iteration-count: infinite;
	animation-direction: alternate;
}

.first-title {
	margin-top: -4px;
}

@media screen and (min-width: 48em) {
	img[class*="wp-image"] {
		width: auto;
		display: inline-block;
		margin-top: 0;
	}

	img.alignleft,
	a.alignleft,
	figure.alignleft {
		float: left;
		margin-left: 0;
		margin-right: 2rem;
	}
	img.alignright,
	a.alignright,
	figure.alignright {
		float: right;
		margin-right: 0;
		margin-left: 2rem;
	}
	img.aligncenter,
	a.aligncenter,
	figure.aligncenter {
		margin: 0 auto;
		display: block;
		text-align: center;
	}

	.listed.show,
	.listed.member {
		flex-basis: 49%;
		margin: 0.5rem 0.5%;
	}

	.filter {
		margin-left: 0.5%;
		margin-right: 0.5%;
		flex-basis: 49%;
	}

	.h6-ns {
		height: 32rem;
	}
	.h7-ns {
		height: 48rem;
	}

	.w6-ns {
		width: 32rem;
	}
	.w-5-ns {
		width: 5%;
	}

	.padded-container {
		padding-left: 0.6rem;
		padding-right: 0.6rem;
	}
	.arrow-prev {
		left: -2.2rem;
	}
	.arrow-next {
		right: -2.2rem;
	}
	.main-header-slide {
		font-size: 24px;
		overflow: hidden;
		position: relative;
		line-height: 28px; /* fallback */
		height: 84px; /* fallback */
	}

	.cogs {
		width: 3rem;
		transform: translate(-133%, -5%);
	}
	#radiofabrik-background-buttons {
		margin-top: 30vh;
		margin-bottom: 20vh;
	}

	.title-bar {
		min-height: 60px;
		line-height: 1;
		max-width: 576px;
		padding: 0.65rem;
	}

	.title-bar h1 {
		line-height: 1.6;
	}

	.youtube-wrapper {
		width: 66%;
		padding-bottom: 37.5%;
	}

	.youtube-playlist .youtube-wrapper {
		width: 49%;
		padding-bottom: 27.5625%;
		display: inline-block;
	}

	.clamped-text {
		font-size: 16px;
		overflow: hidden;
		position: relative;
		line-height: 1.15em; /* fallback */
		max-height: 8.95em; /* fallback */
	}

	.clamped-text:after,
	.main-header-slide:after {
		content: "";
		text-align: right;
		position: absolute;
		bottom: 0;
		right: 0;
		width: 30%;
		height: 28px;
		background: linear-gradient(
			to right,
			rgba(255, 255, 255, 0),
			rgba(255, 255, 255, 1) 50%
		);
	}

	.clamped-text:after {
		height: 1.15em;
	}

	.firefox .clamped-text {
		max-height: 9.225em;
	}

	.clamped-text h1,
	.clamped-text h2,
	.clamped-text h3,
	.clamped-text h4,
	.clamped-text h5,
	.clamped-text h6,
	.clamped-text p {
		font-size: 16px;
		line-height: 1.15em;
		margin-bottom: 0;
		margin-top: 1em;
	}

	.clamped-text *:empty {
		display: none;
	}

	.clamped-text *:first-child {
		margin-top: 0;
	}
}

@media screen and (max-width: 47.99em) {
	figure {
		width: 100% !important;
	}
}

@media screen and (min-width: 48em) and (max-width: 64em) {
	.h6-m {
		height: 32rem;
	}
	.h7-m {
		height: 48rem;
	}

	.w6-m {
		width: 32rem;
	}
	.w-5-m {
		width: 5%;
	}
}

@media screen and (min-width: 64em) {
	.turnt-404 {
		transform: rotate(2deg) translate(1%, 10%);
	}
	.microphone-hanging {
		right: 20vw;
		width: auto;
	}
	#radiofabrik-menu-sticky {
		background-color: white;
	}

	.filter {
		flex-basis: 24%;
	}

	.letter {
		top: 7.6rem;
		left: 0;
		transform: translateX(-110%);
	}

	.show-calendars .clndr-days .clndr-day {
		height: 80px;
	}

	.listed.show,
	.listed.member {
		flex-basis: 24%;
		margin: 0.5rem 0.5%;
	}

	.container {
		width: 960px;
	}

	.h6-l {
		height: 32rem;
	}
	.h7-l {
		height: 48rem;
	}

	.w6-l {
		width: 32rem;
	}
	.w-5-l {
		width: 5%;
	}
	.w-daily-program-l {
		width: 14rem;
	}

	.title-bar h1 {
		font-size: 2rem;
		line-height: 1.2;
	}
}

@media screen and (min-width: 80em) {
	.dn-xl {
		display: none;
	}
	.db-xl {
		display: block;
	}
	.di-xl {
		display: inline;
	}
	.dib-xl {
		display: inline-block;
	}

	.w-90-xl {
		width: 90%;
	}
	.w-100-xl {
		width: 100%;
	}
	.w-auto-xl {
		width: auto;
	}

	.flex-row-xl {
		flex-direction: row;
	}

	.tc-xl {
		text-align: center;
	}
	.items-center-xl {
		align-items: center;
	}

	.absolute-xl {
		position: absolute;
	}
}

/* Required global styles */

html[lang="de-DE"] {
	margin-top: 0 !important;
}

a {
	color: #b6a401;
	text-decoration: none;
	transition: color 0.15s ease-in;
	/* word-break: break-all; */
	/* hyphens: auto; */
}

a:hover,
a:active,
a:focus {
	color: #7c7002;
}

a:link,
a:visited {
	transition: color 0.15s ease-in;
}

a:hover {
	transition: color 0.15s ease-in;
}

a:active {
	transition: color 0.15s ease-in;
}

a:focus {
	transition: color 0.15s ease-in;
	outline: 1px dotted currentColor;
}

body {
	background-size: cover;
	background-attachment: fixed;
	background-position: center;
}

p:empty {
	display: none;
}

hr {
	clear: both;
}

/* Custom elements */

/* The switch - the box around the slider */
.switch {
	position: relative;
	display: inline-block;
	width: 30px;
	height: 17px;
}

/* Hide default HTML checkbox */
.switch input {
	display: none;
}

/* The slider */
.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #333;
	transition: 0.4s;
}

.slider:before {
	position: absolute;
	content: "";
	height: 13px;
	width: 13px;
	left: 2px;
	bottom: 2px;
	background-color: white;
	transition: 0.4s;
}

input:checked + .slider {
	background-color: #b6a401;
}

input:focus + .slider {
	box-shadow: 0 0 1px #b6a401;
}

input:checked + .slider:before {
	transform: translateX(13px);
}

/* Rounded sliders */
.slider.round {
	border-radius: 17px;
}

.slider.round:before {
	border-radius: 50%;
}

.programme {
	visibility: hidden;
	top: 0;
	transform: translateY(-105%);
}

.programme.active {
	visibility: visible;
}

.programme-item.active {
	background: white;
	color: #b6a401;
}

.downwards-daily .programme,
.is-sticky .programme {
	height: 24rem;
	top: 119px;
	transform: translateY(5%);
}

.programme-list {
	max-height: 18rem;
}

.show.description br {
	line-height: 2;
}

.arrow {
	top: 50%;
	transform: translateY(-50%);
	z-index: 200;
}

.is-sticky #radiofabrik-player-sticky,
.is-sticky #radiofabrik-menu-sticky {
	z-index: 9999 !important;
}

#content {
	border-top: 30px solid transparent;
	margin-top: -30px;
	background-clip: padding-box;
}
.title-bar h1 {
	border-top: 200px solid transparent;
	margin-top: -200px;
	background-clip: padding-box;
}

.tool-pagination li {
	list-style-image: none;
	background-image: none;
	padding: 5px;
}

#radiofabrik-chat-history {
	height: 16rem;
}

/* .department-description p{
    margin-top: 0;
} */

#radiofabrik-scroll-trigger {
	width: 80px;
}

#radiofabrik-scrolltotop-trigger {
	opacity: 0;
	left: 50%;
	margin-left: -40px;
	transition: opacity 0.15s ease-in;
}

#radiofabrik-scrolltotop-trigger.active {
	opacity: 1;
}

main ul {
	padding-left: 0;
	list-style-type: none;
}
main li {
	background: url("/wp-content/themes/radiofabrik/images/icons/list.png")
		no-repeat left top;
	background-size: 32px;
	height: auto;
	padding-left: 48px;
	padding-top: 6px;
}

.gallery li {
	background: none;
	height: auto;
	padding: 0;
}

.gallery .icon-wpmf-nav:hover {
	color: #b6a401;
}

.gallery .caption,
.gallery .title,
.gallery .wpmf-front-box.top {
	display: none;
}

.gallery .flex-control-nav.flex-control-paging {
	bottom: -50px;
}

.menu:not(.menu-footer) li {
	margin: 0;
	padding: 0;
	display: inline;
	cursor: pointer;
	list-style: none;
}

li {
	color: #000;
	text-decoration: none;
}

.menu .submenu li {
	width: 100%;
	line-height: 30px;
	background: #fff;
}

.menu li a {
	display: block;
	width: inherit;
	height: inherit;
}

.menu.menu-footer.menu-level-0 > .credits {
	border: none;
	padding-left: 0;
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.menu .credits a {
	display: inline-block;
}

.submenu {
	display: block;
	visibility: hidden;
	opacity: 0;
	transition: visibility 0s linear 0.33s, opacity 0.15s ease 0.33s,
		z-index 0.15s ease 0.33s;
	bottom: -1rem;
	transform: translateY(100%);
	z-index: -10 !important;
	/* background-image: url(/wp-content/themes/radiofabrik/images/rf-logo-dropdown.png);
    background-repeat: no-repeat;
    background-position: right;
    background-size:contain;
    background-origin: content-box; */
}

.menu-level-4.submenu {
	right: -2rem;
	top: -1rem;
	height: auto;
	bottom: auto;
	transform: translateX(100%);
}

.submenu.right-sided {
	transform: translateY(100%) translateX(-75%);
}

#ajaxsearchprores1_1:before,
.submenu:before {
	content: "";
	width: 0px;
	height: 0px;
	border-style: solid;
	border-width: 0 12px 12px 12px;
	border-color: transparent transparent #b6a401 transparent;
	display: inline-block;
	vertical-align: middle;
	position: absolute;
	top: -12px;
	margin-right: 5px;
}

#ajaxsearchprores1_1:before {
	left: 12px;
}

#ajaxsearchprores1_1 {
	overflow: visible;
}

.menu-level-4.submenu:before {
	border-width: 12px 12px 12px 0;
	border-color: transparent #b6a401 transparent transparent;
	position: absolute;
	left: -11px;
	top: 0.75rem;
}

.submenu.right-sided:before {
	right: 0.75rem;
}

.top-menu span:hover,
.top-menu a:hover {
	z-index: 9999 !important;
	overflow-y: visible;
}

.top-menu span:hover > .submenu,
.top-menu a:hover > .submenu {
	visibility: visible;
	opacity: 1;
	z-index: 9999 !important;
	transition-delay: 0.33s;
}

.menu-level-2 > span,
.menu-level-2 a,
.menu-level-4 > span,
.menu-level-4 a {
	width: 100%;
	position: relative;
}

.menu-level-2 > span,
.menu-level-4 > span {
	display: block;
}

.menu-level-2 a,
.menu-level-4 a {
	padding: 0.25rem 0.5rem;
}

.radiofabrik-search-trigger {
	margin-top: -0.3rem;
}

.radiofabrik-search-field-container {
	top: 0.5rem;
	left: 4rem;
	transition: visibility 0.01s ease-in-out, opacity 0.2s ease-in-out 0.1s,
		background-color 0.2s ease-in-out 0.1s;
}

.radiofabrik-search-field-container.mobile {
	top: 0.75rem;
	background-color: white;
}

.menu-item-level-1 {
	transition: opacity 0.2s ease-in-out, visibility 0.01s ease-in-out 0.2s;
}

.radiofabrik-search-field-container.deactivated,
.top-menu .menu-item.deactivated {
	opacity: 0;
	visibility: hidden;
	background-color: transparent;
}

.radiofabrik-search-field-container.mobile.deactivated {
	height: 0;
	padding: 0;
	display: none;
}

.menu.menu-footer.menu-level-0 {
	justify-content: space-around;
}

.menu.menu-footer.menu-level-0 > li {
	border-left: 2px solid #fff;
	padding-left: 1rem;
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.menu.menu-footer li {
	margin: 0;
	padding: 0;
	display: block;
	cursor: pointer;
	list-style: none;
}

.menu.menu-footer > li {
	display: inline-block;
}

.menu.menu-footer > li:hover {
	overflow-y: hidden;
}

.menu.menu-footer .menu-level-2 > li {
	display: block;
}

.fa-search {
	position: relative;
	top: -3px;
}

.background-carousel {
	z-index: 1;
}

.background-carousel a:hover {
	cursor: pointer;
}

/* Player customization */

.radiofabrik-volume-control {
	top: 3px;
}

.radiofabrik-mute {
	width: 1rem;
	height: 1rem;
}

.radiofabrik-volume {
	width: 75px;
	height: 12px;
	background: gray;
}

.radiofabrik-rail--current,
.radiofabrik-volume--current {
	background: white;
	z-index: 20;
	height: 100%;
}

.radiofabrik-rail {
	height: 6px;
}

.radiofabrik-programme-toggle.active {
	opacity: 0.6;
}

.sendebeschreibung .player-body {
	width: 100%;
}

.wide-image {
	width: 150%;
	max-width: 150%;
	margin-left: -25%;
}

body:not(.page-overview) h1 body:not(.page-overview) h2,
body:not(.page-overview) h3,
.anchor-target {
	margin-top: -75px !important;
	padding-top: 75px !important;
}

.comment-text p:first-child {
	margin-top: 0.5rem;
}

.comment-text p:last-child {
	margin-bottom: 0;
}

input[type="submit"],
button {
	border: none;
	padding: 0.5rem;
	color: white;
	font-weight: bold;
	background-color: #b6a401;
}

input[type="submit"]:hover,
button:hover {
	background-color: #7c7002;
	cursor: pointer;
}

.ie .menu-item.pa3 {
	padding: 0.9rem;
}

@keyframes hanging-microphone {
	0% {
		transform: rotate(2deg) translateY(-40%);
	}

	50% {
		transform: rotate(-2deg) translateY(-40%);
	}

	100% {
		transform: rotate(2deg) translateY(-40%);
	}
}

a.tag {
	display: inline-block;
	background-color: #b6a401;
	color: white !important;
	font-weight: bold;
	font-size: 0.66rem;
	padding: 0.1rem 0.5rem;
	border-radius: 9999px;
	margin-right: 1px;
}

a.tag:hover {
	background-color: #7c7002;
}

.tags {
	margin-top: .5rem;
}

.fixed-header {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 9999;
}

body:not(.has-top-image):not(.popup-player) {
	padding-top: 119px;
}

.admin-bar .fixed-header {
	top: 32px;
}

#open-popup-player:hover,
#open-popup-player:active,
#open-popup-player:focus {
	fill: #b6a401;
	cursor: pointer;
}

.popup-player .cookie-notice {
	display: none;
}

@media screen and (max-width: 782px) {
	.admin-bar .fixed-header {
		top: 46px;
	}


	body:not(.has-top-image):not(.popup-player) {
		padding-top: 150px;
	}
}

@media screen and (max-width: 600px) {
	.admin-bar .fixed-header {
		top: 0px;
	}
}
