/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
/* -------------------------------------------------------------------------------- */
/*	Radio - Frontpage
/* -------------------------------------------------------------------------------- */
.home .ct-container {
	width: 1100px;
	margin: 0 auto;
}

.radio-frontpage-programs {
	display: grid;
	grid-template-columns: 33% 33% 33%;
	/*grid-template-rows: 100px;*/
	column-gap: 15px;
	row-gap: 15px;
}
.radio-frontpage-program {
	position: relative;
	width: 366px;
	height: 300px;
	grid-row-end: span 4;
}
.radio-frontpage-program-extra-one {
	position: relative;
	width: 366px;
	height: 60px;	
	grid-row-end: span 1;
}
.radio-frontpage-program-extra-two {
	position: relative;
	width: 366px;
	height: 225px;
	grid-row-end: span 3;
}
.radio-frontpage-program:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  border-bottom: 1px solid #333;
}
.radio-frontpage-program-extra-one:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  border-bottom: 1px solid #333;
}
.radio-frontpage-program-extra-two:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  border-bottom: 1px solid #333;
}
.radio-frontpage-program img {
	width: 366px;
	height: 300px;
	object-fit: cover;
}
.radio-frontpage-program-title {
	position: absolute;
	bottom: 10px;
	right: 10px;
	color: #FFF;
	font-size: 18px;
	font-weight: bold;
}
/* -------------------------------------------------------------------------------- */
/*	Radio Single Program
/* -------------------------------------------------------------------------------- */
.single-program .site-main .ct-container {
	padding-top: 50px;
	width: 1100px;
}
.breadcrumbs {
	padding-bottom: 25px;
}
.single-program .program-content {
	display: grid;
	padding-top: 20px;
	padding-bottom: 20px;
	grid-template-columns: 30% 55% 7% 7%;
	border-top: 1px solid #333;
	border-bottom: 1px solid #333;
}

.single-program .ct-featured-image {
	padding-bottom: 0;
}
.single-program .ct-featured-image img {
	width: 100%;
	display: block;
	object-fit: cover;
}
.player-tracklist-content table, .player-tracklist-content th, .player-tracklist-content td {
	border: none;
}
/* -------------------------------------------------------------------------------- */
/*	Radio Player - single program
/* -------------------------------------------------------------------------------- */
.program-text {
	padding-left: 50px;
	padding-right: 50px;
}
.program-player-play-button {
	display: block;
	padding: 8px;
	border-left: 1px solid #333;
	border-top: 1px solid #333;
	border-bottom: 1px solid #333;
	height: 58px;
	text-align: center;
	vertical-align: center;
}
svg#playerlink {
  background-color: #333;
  width: 40px;
  height: 40px;
  border: 5px solid #333;
  border-radius: 100%;
}
svg#playerlink:hover{
	animation-name: rotate;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    border-radius: 50%;
}
@keyframes rotate{
    from{ transform: rotate(-360deg); }
    to{ transform: rotate(360deg); }
}
.program-player-text {
	display: block;
	padding: 7px;
	padding-top: 12px;
	border-right: 1px solid #333;
	border-top: 1px solid #333;
	border-bottom: 1px solid #333;
	font-weight: bold;
	text-decoration: none;
	color: #333;
	font-size: 20px;
	height: 58px;
	text-align: center;
	vertical-align: center;
}
.program-player-text a {
	color: #333;
}
.single-program-content {
	padding-top: 20px;
	width: 1100px;
	margin: 0 auto;
}
.program-meta {
	display: grid;
	column-gap: 25px;
	padding-top: 20px;
	padding-bottom: 20px;
	grid-template-columns: 60% 40%;	
	margin-bottom: 100px;
}
#commentform button {
	background-color: #d65050;
}
.comment-form-field-input-url {
	display: none;
}
.comment-form.has-website-field {
    grid-template-columns: repeat(2, 1fr);
}
.ct-comments-container, .ct-container-full {
	display: none;
}
@media (min-width: 690px) {
	.comment-form.has-website-field {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}	
.comment-form-field-input-author, .comment-form-field-input-email, .comment-form-field-textarea {
	border: 1px solid #333;
}
/*Tracklist*/
.player-tracklist {
  	background-color: #d65050;
	margin-top: 25px;
	height: 50px;
}
.player-tracklist-title {
    padding: 10px;
	padding-left: 20px;
    position: relative;
    cursor:pointer;
	color: #FFF;
	font-size: 20px;
	
}
h4.player-tracklist-title {
	margin-bottom: 0;
}	
.player-tracklist-title:after {
    content: "+";
	color: #FFF;
    position: absolute;
    top: 50%;
    right: 0;
    width: 36px;
    text-align: center;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    font-weight: bold;
    font-size: 30px;
}
.player-tracklist-title.contentOpen:after {
    content: "-";
}
.player-tracklist-content {
    display: none;
    padding: 20px;
	padding-top: 10px;
	background-color: #FFF;
	border: 1px solid #d65050;
}

.player-tracklist tr {
	line-height: 14px;
}
.player-tracklist th {
	height: 50px;
	padding: 6px 0;
	font-size: 18px;
	font-weight: bold;
}
.player-tracklist td {
	padding: 6px 0;
}
.single-program .ct-sidebar {
	padding: 0 !important;
}
/* -------------------------------------------------------------------------------- */
/*	Radio Player (Ribbon)
/* -------------------------------------------------------------------------------- */
.radio-player {
	display: none;
}	
.entry-content .ytplayer-aktuell h4 {
	margin-top: 0;
}
#ytplayer {
	border: 1px solid #888888;
	border-top-right-radius: 10px;
	border-top-left-radius: 10px;
	filter: drop-shadow(5px 5px 5px rgba(0,0,0,0.3));
	width: 600px;
	margin: 0 auto;
}
.container-ytplayer {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	text-align: center;
	/*filter: drop-shadow(5px 5px 5px rgba(0,0,0,0.3));*/
	padding-top: 15px;
}	
iframe {
	display: none !important;
}
#myProgress {
	width: 100%;
	background-color: #ddd;
}

#myBar {
	width: 1%;
	height: 15px;
	background-color: #333;
	filter: drop-shadow(5px 5px 5px rgba(0,0,0,0.3));
}
#progress-bar {
	display: block;
	padding: 20px;
	padding-bottom: 0;
	margin: 0 auto;
	width: 100%;
}	
.ytplayer-header {
	display: grid;
	grid-template-columns: 1fr 2fr 1fr;
	background-color: #d65050;
	margin-bottom: 0 !important;
	border-top-right-radius: 10px;
}
.ytplayer-header:first-child {
	border-top-left-radius: 10px;
}
.ytplayer-header h2, .ytplayer-header h3, .ytplayer-header h4, .ytplayer-header h5, #ytplayer-program-desc {
	color: #FFF;
}
#ytplayer-title, #ytplayer-program-desc {
	padding: 20px;
	padding-top: 15px;
}
#ytplayer-program-image {
	border-top-right-radius: 10px;
}
#ytplayer-program-image img {
	width: 200px;
	height: 182px;
	/*border-top-right-radius: 5%;
	border-bottom-right-radius: 5%;*/
	border-radius: 5%;
	margin-left: -20px;
	margin-top: 20px;
}
.ytplayer-aktuell {
	color: #FFF;
	background-color: #d65050;
	display: grid;
	grid-template-columns: 20% 80%;
	padding-top: 20px;
	padding-left: 20px;
	flex-wrap: wrap;
}
.ytplayer-aktuell h4, .ytplayer-aktuell h5 {
	color: #FFF;
}
.ytplayer-aktuell h4 {
	justify-self: end;
	padding-right: 15px;
	line-height: 1.1;
}
#current-song-title {
	display: none;
}
.ytplayer-time {
	display: block;
	font-weight: 700;
	align-self: center;
}
.ct-related-posts-container {
	background-color: #FFF !important;
}
@media (max-width: 690px) {	
	.ytplayer-header {
		display: block;
	}
	#ytplayer-program-desc {
		display: block;
		padding-top: 0;
	}	
}
/*Radioplayer for Ajax*/
.radio-player-ribbon {
    position: fixed;
    z-index: 3;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: none;
    height: 5em;
    box-sizing: border-box;
    -o-transition: height .3s,bottom 1s;
    transition: height .3s,bottom 1s;
    background: #f9fdee;
}
.radio-player-programminfos, .radio-player-songinfos {
	align-self: center;
	font-weight: bold;
}
#radio-player {
	padding-top: 15px;
	display: grid;
	max-width: 1100px;
	margin: 0 auto;
	grid-template-columns: 10% 10% 35% 40% 5%;
}
svg#play, svg#pause {
  background-color: #333;
  width: 40px;
  height: 40px;
  border: 5px solid #333;
  border-radius: 100%;
}
.radio-player-play {
	align-self: center;
}
/* -------------------------------------------------------------------------------- */
/*	7.	Mediaqueries
/* -------------------------------------------------------------------------------- */
@media (max-width: 690px) {
	#afb-radio-schedule {
		display: block;
		width: 100% !important;
	}
	.nav-container-currentweek, .nav-container-nextweek, .afb-radio-schedule-currentweek, .afb-radio-schedule-nextweek {
		flex-direction: column;
	}
}