/* 
Theme Name: Ràdio Sant Feliu
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Tema per a Ràdio Sant Feliu
Author: Colaboratori
Author URI: https://colaboratori.cat/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Custom RSF 
--------------------------------------------- */


a:visited {
    color: inherit!important;
}

/* post navegador notícia */
body .elementor-widget .elementor-post-navigation .elementor-post-navigation__link {
	white-space: initial!important;
	overflow: inherit;
	-o-text-overflow: ellipsis;
	text-overflow: ellipsis;
	line-height: 1.6em!important;
}


a.btn-informatiu {
    color: var(--e-global-color-text )!important;
    font-family: "Rubik", Sans-serif;
    font-size: 17px;
    font-weight: 300;
    text-transform: uppercase;
    line-height: 20px;
    display: flex;
}
a.btn-informatiu svg {
    margin: 0px 10px 0px 0px;
}


/* post més llegits */
.tptn_posts ul {
	margin: 0px;
	list-style: none;
	padding: 0px;
}
.tptn_posts ul li {
	margin-bottom: 20px;
	counter-increment: inst;
	padding-bottom: 20px;
}

.tptn_posts ul li a img {
	border-radius:5px;
	height: 180px;
	margin-bottom:10px;
	object-fit: cover;
	width: 100%;
}

.tptn_posts ul li::before {
	content: counter(inst);
	background: rgb(0 159 227);
	color: #fff;
	font-size: 1em;
	font-weight: 400;
	border-radius: 12px;
	font-size: 1.1em;
	text-align: center;
	top: 32px;
	left: 5px;
	height: 1.5em;
	width: 1.5em;
	position: relative;
	transition: all 0.2s ease-in-out;
	z-index: 1;
	float: left;
	margin-right: 15px;
}

.tptn_posts ul li a.tptn_link {
	margin-top: 6px;
}

.tptn_posts ul li .tptn_title {
	font-family: var(--e-global-typography-text-font-family ), Sans-serif;
	font-weight: var(--e-global-typography-text-font-weight );
	font-size:16px;
	color: var(--e-global-color-text);
}

.tptn_posts ul li span.tptn_after_thumb {
	display: flex;
	flex-direction: column-reverse;
}
.no-img .tptn_posts img {
	display: none;
}
.no-img .tptn_posts ul li {
	border-bottom:1px solid;
}
.tptn_posts .tptn_date{
	font-family: var(--e-global-typography-accent-font-family ), Sans-serif;
	font-weight: var(--e-global-typography-accent-font-weight );
	text-transform: var(--e-global-typography-accent-text-transform );
	font-size: 12px;
}



/* Ara fem Radio Station */
#current-show-widget-1, .current-show-widget ul, .upcoming-shows-widget ul {
	padding: 0px;
	margin: 0px;
}
.current-show-avatar, .upcoming-show-avatar, .on-air-dj-avatar {
	padding-bottom: 0px!important;
	display: flex!important;
	max-width: 100%;
}
.current-show-title.on-air-dj-title, .current-show-hosts.on-air-dj-names, .current-show.default-dj {
	font-family: 'Rubik';
	font-weight: 800;
	color: #000;
	text-transform: uppercase;
	font-size: 28px!important;
	line-height:28px;
}

li.current-show.on-air-dj.default-dj {
    word-break: break-word;
    width: 150px;
}

.current-show-widget h5, .upcoming-shows-widget h5{
	display: none;
}
.current-show-widget h3, .upcoming-shows-widget h3, .elementor-widget-wp-widget-dj_widget h2{
	margin:0px;
	padding:0px;
}
.current-show-title.on-air-dj-title:before, .current-show.default-dj:before {
	content: "ara fem";
	display: block;
	font-size: 12pt;
}

li.upcoming-show.on-air-dj, h3.upcoming-shows-title.dj-coming-up-title {
    font-family: 'Rubik';
    font-size: 18px;
    line-height: 20px;
    text-transform: uppercase;
    font-weight: 800;
    color:#000;
}
div#upcoming-shows-widget-1 {
    margin-top: 35px;
    margin-bottom: 0px;
}

a.btn-directe {
	background-color: #000000;
	padding: 10px 20px;
	border-radius: 5px;
	width: 215px!important;
	font-family: 'Rubik';
	color: #fff;
	text-transform: uppercase;
	transition: 0.3s;
}
a.btn-directe:hover{
	background-color: #7AB929;
}

/* menu mobil btn directe */
body .elementor-location-popup a.btn-directe {
	filter: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #7AB929!important;
    padding: 10px 20px!important;
    margin-top: 15px;
    width: 100%!important;
}

body .elementor-location-popup a.btn-directe span {
	display: inherit;
	padding-right: 10px;
}
body .elementor-location-popup .current-show-avatar img, body .elementor-location-popup .on-air-dj-avatar img {
    width: 160px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}



/* final menu mobil btn directe */

#current-show-widget-1 .current-show-avatar img, .upcoming-show-avatar img, .on-air-dj-avatar img {
	width: 215px;
	height: 165px;
	object-fit: cover;
	border-radius: 5px;
}
.elementor-element.elementor-element-124567a2.elementor-widget.elementor-widget-html {
	position: absolute;
	bottom: 7px;
	left: 230px;
}
@media only screen and (max-width: 768px) {

	a.btn-directe {
    filter: invert(50%) sepia(79%) saturate(326%) hue-rotate(46deg) brightness(118%) contrast(79%);
    background-color: transparent;
    padding: 0px;
	}
	a.btn-directe span {
		display: none;
	}
	a.btn-directe img {
		width: 30px;
	}
	#current-show-widget-1 .current-show-avatar img, .upcoming-show-avatar img, .on-air-dj-avatar img {
		width: 160px;
		height: 100px;
		object-fit: cover;
		border-radius: 5px;
	}
	.elementor-element.elementor-element-124567a2.elementor-widget.elementor-widget-html {
		position: absolute;
		top:0px;
		right: 0px!important;
		left: inherit;
	}
	.elementor-widget-wp-widget-dj_widget {
		max-height: 100px;
	}
}
#show-content .show-info .show-block {
	max-width: 100%!important;
}



/*Graella*/

li .show-title a {
	margin-bottom: 10px;
	margin-top: 20px;
    font-family: var(--e-global-typography-secondary-font-family ), Sans-serif;
    font-size: var(--e-global-typography-secondary-font-size );
    font-weight: var(--e-global-typography-secondary-font-weight );
    line-height: 1.1em!important;
  	color: var(--e-global-color-primary );
}
#master-schedule-tab-panels-1 .master-schedule-tabs-show .show-image {
	margin-right: 10px;
	width: 150px;
	text-align: center;
	height: 150px!important;
	clip-path: circle(at center);
}
.master-schedule-tabs-panel .show-genres a {
	background-color: #f2f2f2;
	padding: 2px 8px 2px 8px;
	border-radius: 20px;
	text-transform: uppercase;
	color: #666665!important;
	font-size: 11px;
	font-family: 'Rubik';
}
.master-schedule-tabs-panel .show-genres  {
	color: #fff;
	margin-left: -50px;
	margin-top: 7px;
}
#master-genre-list a {
	background-color: #f2f2f2;
	padding: 2px 8px 2px 8px;
	border-radius: 20px;
	text-transform: uppercase;
	color: #666665!important;
	font-size: 11px;
	font-family: 'Rubik';
}
#master-genre-list {
	float: none!important;
	padding-bottom: 0px;
}
.master-schedule-tabs li.master-schedule-tabs-day.active-day-tab {
    font-weight: bold;
    background-color: #fabb00;
    color: #000000;
}
.master-schedule-tabs li.master-schedule-tabs-day {
    display: inline-block;
    position: relative;
    min-width: 100px;
    margin: 0px;
    cursor: pointer;
    text-align: center;
    background-color: #fabb0026;
    color: #1d1d1b;
    font-size: 1em;
    font-weight: normal;
    border-radius: 5px;
    border: none;
    list-style: none;
    margin-left: 20px;
    margin-bottom: 15px;
}
.master-schedule-tabs .master-schedule-tabs-headings {
    display: inline-block;
    padding: 10px 25px 10px 25px!important;
}
.master-schedule-tabs li.master-schedule-tabs-day.current-day {
    background-color: #7ab927!important;
    color:white!important;
}
.master-schedule-tabs .master-schedule-tabs-day.current-day {
	border:none!important;
}

#master-genre-list span.heading, .master-schedule-tabs-date {
	display: none!important;
}
.master-schedule-tab-panels .master-schedule-tabs-panel.active-day-panel {
    display: block;
    border:none!important;
    background-color: #ffffff;
}
.master-schedule-tab-panels .master-schedule-tabs-panel .master-schedule-tabs-show.nowplaying {
    border: 1px solid #7ab925!important;
    background-color: #7ab9271c;
    border-radius: 5px;
}

.master-schedule-tabs .master-schedule-tabs-day.active-day-tab .master-schedule-tab-bottom {
    background-color: transparent!important;
}
.master-schedule-controls-wrapper {
	display: none;
}
.show-times h4, .single-show .show-times .show-timezone-label, .single-show .show-times .show-timezone {
    display: none!important;
}


/* pàgina programa */
.categoria-show .elementor-post-info__item--type-terms {
	background-color: #f2f2f2;
	padding: 2px 8px 2px 8px;
	border-radius: 20px;
	text-transform: uppercase;
	color: #666666!important;
	font-size: 12px;
}
.categoria::after {
	background-color: #666666;
}
.category-salut .categoria::after {
	background-color: #69b6d5;
}
.single-show .elementor-page-title {
	margin-bottom: 0px;
}
.single-show .show-times h4, .show-block.show-times.last-block, .single-show .show-times .show-timezone-label, .single-show .show-times .show-timezone{
	display: none;
}
#show-content .show-info .show-block.last-block {
	margin-bottom: 0px;
}
#show-content #show-desc-buttons {
	display: none !important;
}
#show-content #show-more-overlay {
	display: none !important;
}
.single-show #show-content .show-info {
	float: none;
}
#show-content .show-info .show-block {
	vertical-align: top;
	line-height: 1.8em;
	max-width: 250px;
	margin-top: 5px;
}
#show-content .show-description {

	overflow: visible !important;
	padding-right: 10%!important;
}
/* radio station pagina */


#show-content .show-avatar img { 
/*width: 300px!important;
height:auto!important;
clip-path: circle(at center);
background-color: #2b2b2b;*/
}
#show-content .show-block.show-images, #show-content .show-info-label { 
	display: none;
}
.show-block.show-meta a {
	font-weight: 700;
	background-color: #f2f2f2;
	padding: 6px 15px 6px 15px;
	border-radius: 20px;
	text-transform: uppercase;
	color: #666666!important;
	font-size: 12px;
}
.show-block.show-meta .show-djs.show-hosts a {
	font-weight: 700;
	background-color: transparent;
	padding: 0px;
	border-radius: 20px;
	text-transform: initial;
	color: var( --e-global-color-text ) !important;
	font-family: var( --e-global-typography-text-font-family ), source;
	font-size: var( --e-global-typography-text-font-size );
}
#show-content .show-info .show-block .show-times td{
	line-height: 1em!important;
}
#show-content .show-times table td {
	vertical-align: middle!important;
}
.single-show .elementor-widget-theme-post-featured-image img {
	width: 300px!important;
	height: auto!important;
	clip-path: circle(at center);
	background-color: #2b2b2b;
}
#show-content .show-info .show-block.last-block {
	margin-bottom: 0px !important;
}
h3#show-section-about {
	display: none;
}
.single-show h1.elementor-heading-title {
	font-size: 41px!important;
	line-height: 1.1em!important;
	color: #000000;
}
