/**
 * Style extensions and overwrites
 */

.content .wpcf7 .wpcf7-text:focus, .content .wpcf7 .wpcf7-date:focus, .content .wpcf7 textarea:focus {
	height: 100%;
}

font.req + font.req {
	display: none;
}

.wp_member #wpmem_reg .row.username, .wp_member #wpmem_login .row.username, .wp_member #wpmem_reg input[type="reset"], .wp_member #wpmem_login input[type="reset"] {
	display: block;
	height: 1px;
	overflow: hidden;
}

@media screen and (max-width: 819px) {
	.TG_Grid.frontend>li.size11 {
		width: 49% !important;
	}
}

@media screen and (max-width: 599px) {
	.TG_Grid.frontend>li.size11 {
		width: 100% !important;
	}
}

table iframe {
	width: 200px;
	height: 100px;
}
/*
.TG_Tile .front.dontCover {
	background-size: 100% auto !important;
}*/

.TG_Tile a[href^="mailto:"] {
	overflow-wrap: break-word;
}


.TG_Tile.contactForm .button {
	right: 14px;
}

.TG_Tile.contactForm .wpcf7-form-control-wrap.email,
.TG_Tile.contactForm .wpcf7-form-control-wrap.tema {
	width: 49%;
	display: inline-block;
}
.TG_Tile.contactForm .wpcf7-form-control-wrap.email + br {
	display: none;
}
.TG_Tile.contactForm .wpcf7-form-control-wrap.tema {
	float: right;
}
.TG_Tile.contactForm .wpcf7-recaptcha {
	margin-top: -6px;
}

/** Listen online button on Pokryti page */
.listenOnline a {
	text-decoration: none;
}
.listenOnline a:after,
.listenOnline a:before {
	display: none;
}

/** YouTube video */
article.post iframe[src*="youtube.com"] {
    width: 100%;
    height: 460px;
}

@media screen and (max-width: 520px) {
	article.post iframe[src*="youtube.com"] {
	    height: 250px;
	}
}

#broadcast .button, #content.index #broadcast .button {
	position: relative;
	z-index: 1;
}
@media screen and (max-width: 420px) {
	#broadcast .figure .figcaption, #content.index #broadcast .figure .figcaption {
		bottom: 10px;
	}
}
@media screen and (min-width: 521px) {
	#broadcast, #content.index #broadcast {
		text-align: left;
	}
}

/** Menu **/
.menu.big li,
.menu.big .slideMenuSlider {
	margin-left: .3em;
}
.menu.big li.btnFacebook,
.menu.big li.btnInstagram {
	display: inline-block;
	vertical-align: bottom;
	width: 25px;
}
.menu.big li.btnFacebook > a,
.menu.big li.btnInstagram > a {
	overflow: hidden;
	text-indent: -100em;
	color: transparent !important;
	width: 100%;
	padding: 0;
	/* background-size: auto 25px !important; */
	position: relative;
}
.menu.big li.btnFacebook > a::before,
.menu.big li.btnInstagram > a::before,
.menu.big li.btnFacebook > a::after,
.menu.big li.btnInstagram > a::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -12.5px 0 0 -12.5px;
	width: 25px;
	height: 25px;
	background-position: center center;
	background-repeat: no-repeat;
	background-color: transparent;
	background-size: contain;
	opacity: 1;
	transition: opacity .2s linear;
	will-change: opacity;
}
.menu.big li.btnFacebook > a::after,
.menu.big li.btnInstagram > a::after {
	opacity: 0;
}
.menu.big li.btnFacebook > a::before {
	background-image: url('../img/icons/facebook.svg');
}
.menu.big li.btnFacebook > a::after {
	background-image: url('../img/icons/facebook-white.svg');
}
.menu.big li.btnInstagram > a::before {
	background-image: url('../img/icons/instagram.svg');
}
.menu.big li.btnInstagram > a::after {
	background-image: url('../img/icons/instagram-white.svg');
}
.menu.big li.btnFacebook.slideMenuHovered > a::before,
.menu.big li.btnInstagram.slideMenuHovered > a::before {
	opacity: 0;
}
.menu.big li.btnFacebook.slideMenuHovered > a::after,
.menu.big li.btnInstagram.slideMenuHovered > a::after {
	opacity: 1;
}
@media screen and (min-width: 961px) {
	.menu.big {
		padding-right: 20px;
	}
	.menu.big li.btnFacebook > a,
	.menu.big li.btnInstagram > a {
		background-size: auto 22px !important;
	}
}
@media screen and (max-width: 960px) {
	.menu.big li {
		margin: 0 0.6%;
	}
	.menu.big li.btnFacebook > a:hover,
	.menu.big li.btnInstagram > a:hover {
		background-color: #ee2132;
	}
}
@media screen and (max-width: 768px) {
	.menu.big li {
		margin: 0 1px;
	}
	.menu.big li a {
		padding-left: 0.2em;
		padding-right: 0.2em;
	}
}
@media screen and (max-width: 610px) {
	.menu.big li {
		margin: 0;
	}
}
@media screen and (max-width: 520px) {
	.menu.big li {
		height: 45px;
		line-height: 45px;
		margin: 0 1px;
	}
	.menu.big.closeable li a,
	.menu.small.closeable li a {
		line-height: 45px;
	}
	.menu.big li.btnFacebook,
	.menu.big li.btnInstagram {
		width: 45px;
		height: 45px;
	}
	.menu.big li.btnFacebook > a:hover::before,
	.menu.big li.btnInstagram > a:hover::before {
		opacity: 0;
	}
	.menu.big li.btnFacebook > a:hover::after,
	.menu.big li.btnInstagram > a:hover::after {
		opacity: 1;
	}
}
.menu.big.noSlideMenu li.btnFacebook > a:hover::before,
.menu.big.noSlideMenu li.btnInstagram > a:hover::before {
	opacity: 0;
}
.menu.big.noSlideMenu li.btnFacebook > a:hover::after,
.menu.big.noSlideMenu li.btnInstagram > a:hover::after {
	opacity: 1;
}


/** 2nd play button */
#broadcast .button,
#content.index #broadcast .button {
	margin-top: 28px;
	width: 155px;
	padding-right: 10px;
}
#broadcast .button.play2,
#content.index #broadcast .button.play2 {
	position: absolute;
    top: 95px;
    left: 0;
    height: 35px;
    line-height: 35px;
	margin: 0;
	text-align: center;
}
#broadcast .playing.loaded {
	max-width: 500px;
}
#content.index #broadcast .button.play1 {
	margin-top: 0;
}
#content.index #broadcast .button.play2 {
	top: 185px;
}
@media screen and (max-width: 960px) {
	#broadcast {
		min-height: 110px;
	}
	#broadcast .h1 {
		margin-bottom: 0;
		padding-bottom: 15px;
	}
	#content.index #broadcast .playing {
		margin-left: 165px;
	}
	#content.index #broadcast .button.play1 {
		position: absolute;
	}
	#content.index #broadcast .button.play2 {
		top: 140px;
	}
}
@media screen and (max-width: 768px) {
	#broadcast,
	#broadcast, #content.index #broadcast {
		height: 120px;
		min-height: 0;
	}
	#broadcast .button,
	#content.index #broadcast .button {
		width: 130px;
		margin-top: 10px;
	}
	#content.index #broadcast .playing,
	#broadcast .playing.loaded {
		position: absolute;
		top: 10px;
		left: 140px;
		height: 90px;
		width: calc(75% - 140px);
		margin-bottom: 0;
		margin-left: 0;
		display: flex;
		flex-flow: column;
		justify-content: center;
	}
	#content.index #broadcast .button.play1 {
		margin-top: 10px;
	}
	#broadcast .button.play2,
	#content.index #broadcast .button.play2 {
		top: 75px;
	}
	#broadcast .figure,
	#content.index #broadcast .figure {
		width: 25%;
	}
	#broadcast .figure img,
	#content.index #broadcast .figure img {
		max-height: 140px;
	}
	#broadcast .figure .figcaption,
	#content.index #broadcast .figure .figcaption  {
		width: 250px;
		top: auto;
		bottom: 0;
		right: 110%;
	}
}
@media screen and (max-width: 520px) {
	#broadcast .button.play1 {
		position: absolute;
		top: -85px;
		left: 0;
	}
	#broadcast .button.play2,
	#content.index #broadcast .button.play2 {
		top: -8px;
	}
	#broadcast .button em,
	#content.index #broadcast .button em {
		margin-right: 0.3em;
	}
	#broadcast {
		min-height: 0;
		height: 120px;
	}
	#broadcast .figure,
	#content.index #broadcast .figure {
		width: 35%;
	}
	#broadcast .figure img,
	#content.index #broadcast .figure img {
		max-height: 100%;
	}
	#broadcast .figure .figcaption,
	#content.index #broadcast .figure .figcaption {
		display: none;
	}
	#content.index #broadcast .playing,
	#broadcast .playing.loaded {
		top: 28px;
		left: 0;
		margin: 0;
		width: 65%;
		height: 90px;
		text-align: left;
		overflow: hidden;
	}
	#logo {
		width: calc(100% - 140px);
		max-height: 120px;
		/* max-width: 160px; */
	}
	#logo img {
		max-height: 120px;
	}
}


/** Program table */
.program [data-show-toggle] {
	cursor: pointer;
}
.program [data-show]:hover td {
	background: #f4f4f4;
}
.program__icon {
	float: right;
	margin: 2px 0 0 20px !important;
	transform: rotate(0deg);
	transition: transform .25s ease-in-out;
	will-change: transform;
}
.program__active .program__icon {
	transform: rotate(180deg);
}


/** Header with white background */
header.body {
	position: relative;
	background: #fff;
}
#logo {
	/* max-width: 241px; */
	/* width: 18%; */
	height: auto;
	margin-left: 10px;
	bottom: 0;
}
.menu.small ul,
.menu.small li,
.menu.small .label,
.menu.small a {
	color: #231f20;
}
#content.index #broadcast .figure img {
	max-height: 220px;
}
@media screen and (min-width: 961px) {
	header.body {
		padding-left: calc((100vw - 980px) / 2);
		padding-right: calc((100vw - 980px) / 2);
	}
	#logo {
		width: 173px;
		left: calc((100vw - 980px) / 2);
	}

	.menu.small {
		margin-right: 15px;
	}
	.menu.big {
		width: 80%;
		margin-top: 60px;
	}
}
@media screen and (max-width: 960px) {
	#logo {
		width: 25%;
		max-width: 192px;
		margin: 10px 0 0 10px;
	}
	#content.index #broadcast .figure img {
		max-height: 180px;
	}
	.menu.small {
		margin-right: 0;
	}
}
@media screen and (max-width: 768px) {
	#logo {
		margin: 10px 0 0 10px;
	}
	.menu.small {
		width: 72%;
	}
	.menu.small li a {
		padding: 0 0.9em;
	}
	#content.index #broadcast .figure img {
		max-height: 120px;
	}
}
@media screen and (max-width: 520px) {
	#logo {
		width: auto;
		margin: 10px;
	}
	#broadcast,
	#content.index #broadcast {
		height: 200px;
	}
	#content.index #broadcast .button.play1 {
		top: 5px;
	}
	#broadcast .button.play2,
	#content.index #broadcast .button.play2 {
		top: 15px;
		left: 140px;
		height: 63px;
		padding-top: 14px;
	}
	#content.index #broadcast .playing,
	#broadcast .playing.loaded {
		top: 90px;
		height: 102px;
	}
	#content.index #broadcast .figure img {
		max-height: 180px;
	}
}
@media screen and (max-width: 460px) {
	#content.index #broadcast .figure img {
		max-height: 100px;
	}
}

/* New background */
body,
.bodyBack.bubblesBottom,
.bodyBack.bubblesMid,
.bodyBack.bubblesLeft,
.bodyBack.bubblesRight,
header.body,
.menu.big {
	background: #FFFBF0;
}
#broadcast .h1,
#broadcast .figure .figcaption,
#broadcast .figure .figcaption a {
	color: #231f20;
}
#broadcast .h1 {
	text-shadow: none;
}
