/*
	Theme Name:   Jannah Child
	Theme URI:    http://jannah.tielabs.com/
	Description:  Jannh Child Theme
	Author:       TieLabs
	Author URI:   https://tielabs.com
	Template:     jannah
	Version:      1.0.2
	License:      license purchased
	License URI:  http://themeforest.net/licenses/regular_extended
	Tags:         Tags: two-columns, buddypress, left-sidebar, right-sidebar, custom-menu, editor-style, featured-images, full-width-template, microformats, rtl-language-support, sticky-post, threaded-comments, translation-ready
	Text Domain:  jannah-child
*/

/* 
Basic theme styling modifications for Play.cz
*/

/* Header edits */
.header-container {
	background: url(assets/images/styling.png) center center no-repeat;
	background-size: contain !important;
}
.playcz-radio-quickplay,
.playcz-radio-genre{
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 31px;
}
.playcz-radio-quickplay{
	margin-left: auto;
}
.playcz-radio-genre{
	margin-right: 25px;
}
.playcz-radio-quickplay::after,
.playcz-radio-genre::after {
    content: '';
    display: block;
    background: #5d5d5d;
    width: 1px;
    position: absolute;
    right: -15px;
    top: 12px;
    bottom: 12px;
}
.search-bar {
	width: 350px;
}
#logo {
	margin-top: 30px;
	margin-bottom: 30px;
}

/* Homepage edits */
@media (min-width: 992px) {
    .full-width .grid-5-slider .slide {
        height: 320px;
    }
}
.small-wide-post-box .post-cat{
	display: none;
}

/* Style overrides for posts block with radio stations */
.radio-block-box .posts-items-loaded-ajax{
    margin-top: 0 !important;
}
.radio-block-box .posts-items {
	display: flex;
	flex-wrap: wrap;
}
.radio-block-box .posts-items li.type-radio {
	display: flex;
	align-items: flex-start;
	float: none;
	width: 50%;
	margin: 0;
	margin-top: 24px;
	margin-bottom: 0;
	padding: 0 2%;
}
.radio-block-box .posts-items li.type-radio .post-thumb {
	flex: 0 0 25%;
	height: auto;
	margin-right: 15px;
	padding: 5px;
	border: 1px solid #ededed;
	border-radius: 2px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}
.radio-block-box .posts-items li.type-radio .post-title {
	display: flex;
	align-items: center;
	line-height: 1;
}
@media (max-width: 580px) {
	.radio-block-box .posts-items li.type-radio .post-title{
		align-items: flex-start;
		flex-direction: column;
	}
}
.radio-stat {
	font-size: 14px;
	margin-left: 10px;
}
@media (max-width: 580px) {
	.radio-stat {
		margin-top: 5px;
		margin-left: 0;
		margin-right: 10px;
	}
}
.radio-stat--listeners {
	white-space: nowrap;
	color: var(--brand-color);
}
.radio-block-box .posts-items li.type-radio .post-excerpt{
	line-height: 1.3;
}
.radio-tags {
	display: flex;
	flex-wrap: wrap;
    margin-top: 5px;
	margin-left: -5px;
}
.radio-tags + .radio-tags {
	margin-top: 5px;
}
.radio-tag {
	margin-left: 5px;
	margin-top: 5px;
	line-height: 1;
	padding: 6px 8px;
	border-radius: 3px;
	background: rgb(0 0 0 / 3%);
	font-size: 12px;
	font-weight: 600;
}
.type-radio .radio-tag {
	padding: 3px 5px;
}

@media (max-width: 580px) {
	.small-wide-post-box .posts-items li.type-radio {
		align-items: center;
		text-align: center;
	}
	.small-wide-post-box .posts-items li.type-radio + li.type-radio {
		padding-top: 15px;
		margin-top: 15px;
		border-top: 1px solid #e5e5e5;
	}
	.small-wide-post-box .posts-items li.type-radio .post-thumb {
		max-width: 200px;
		padding: 0;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}
	.wide-post-box .posts-items li.type-radio .post-title {
		justify-content: center;
	}
	li.type-radio.radio-tags {
		justify-content: center;
	}
}

/* Radios slider */
.radio-slider .post-thumb::after {
	display: none;
}
.radio-slider {
	overflow: hidden;
	display: none;
	padding-bottom: 30px;
}
.radio-slider .slide {
    margin: 0 6px 0 6px;
}
.radio-slider .slick-list {
	display: block;
	width: auto;
	margin-left: -6px;
	margin-right: -6px;
	transition: height 0.3s;
}
.radio-slider .tie-slick-dots {
	bottom: 0;
	text-align: center;
}
.radio-slider .post-thumb{
    border: 1px solid #ededed;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    flex: 1;
}

/* Style overrides for archive page with radio stations */
.masonry-radio .post-title {
	display: flex;
	align-items: center;
	line-height: 1.2;
	margin-bottom: 5px;
}
@media (min-width: 580px) {
	.masonry-with-spaces .post-element,
	.masonry-with-spaces .grid-sizer {
		width: 30.66%;
	}
}
.masonry-radio h2.post-title {
	font-size: 20px;
}
.masonry-radio .radio-tag {
	padding: 3px 5px;
}


/* Widgets */
.stream-item-widget-content .widget-stream-image {
	width: auto;
	height: auto;
}

/* Single radio */
.radio__header {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin-top: 30px;
	margin-bottom: 30px;
}
.radio__logo {
	display: flex;
	width: 120px;
	margin-right: 30px;
}
.radio__title {
}
.radio__title h1 {
	margin-bottom: 10px;
	line-height: 1.1;
}
.radio__socials {
	align-self: flex-start;
	margin-left: auto;
}
.radio__socials-icon {
	display: block;
	width: 20px;
	height: 20px;
	background: #ccc;
}
.radio__socials-icon + .radio__socials-icon {
	margin-left: 10px;
}

/* Search results styling */
.search-results .radio{
	align-items: center;
}
.search-results .radio .post-title {
	display: flex;
	align-items: center;
	line-height: 1.2;
	margin-bottom: 5px;
}
.search-radio-thumb-inner{
	padding: 5px;
	max-width: 80%;
	margin: auto;
	border: 1px solid #ededed;
	border-radius: 2px;	
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.search-radio-thumb img{
}

/* Radio listen block */
h3.radioblock_title {
	margin-top: 30px;
}
#radioblock_listen {
	max-width: 740px;
	min-width: 350px;
	width: 100%;
	background: #f3f3f3;
	border: 1px solid #e5e5e5;
}

#radio_listen_btn {
	display: block;
	float: left;
	margin: 20px 15px 0 20px;
	width: 230px;
	height: 70px;
	background: url(assets/images/spustit-radio.png) no-repeat;
}
#radio_listen_btn span {
	display: none;
}

#radio_onair_info {
	padding-top: 35px;
	font-size: 12px;
}
#radio_onair_info span {
	font-weight: bold;
}
#radio_onair_listeners span {
	font-weight: bold;
}

#radio_tags {
	padding: 15px 0 0 0;
	overflow: hidden;
}

#radio_tags ul li {
	margin: 2px;
	padding: 3px 5px;
	list-style: none;
	display: inline;
	color: #fff;
}
#radio_tags ul li.kraj {
	background: #72b234;
}
#radio_tags ul li.styl {
	background: #37b4e7;
}

.radio__charts {
	display: flex;
	flex-wrap: wrap;
}
.radio__chart {
	flex: 50%;
	min-width: 360px;
}
@media (max-width: 580px) {
	.radio__chart {
		flex: 100%;
	}
}
