/*
	CAROUSEL CONTENT TYPE BLOCK
*/

.mediaContentType {
	font-family: proxima-nova,sans-serif;
	font-weight: normal;
}

.mobile.mediaContentType {
	font-size: calc(8px + 1.1vw);
	color: #000;
	text-align: center;
	padding: 0;
	margin: 0;
	position: relative;
	height: auto;
	width: 100%;
}
.mobile.mediaContentType > li {
	list-style-type: none;
	line-height: 1em;
	height: 100%;
	display: none;
	border-top: 2px solid #a2aaad;
}

.mobile.mediaContentType > li.active {
	display: block;
}
.mobile.mediaContentType > li a {
	width: 25%;
	font-size: 1.2em;
	display: block;
	margin-top: -1.1%;
	margin-left: auto;
	margin-right: auto;
	background-color: #fff;
	text-decoration: none;
}
.mobile.mediaContentType > li img {
	width: 2em;
	height: auto;
	display: block;
	margin: 4% auto;
}
.mobile.mediaContentType > .arrow-content {
	width: 4em;
	height: 3em;
	margin: 1.7em 0;
	padding: 0;
	display: block;
	color: gray;
	cursor: pointer;
}
.mobile.mediaContentType > .arrow-content.prev {
	position: absolute;
	top: 0;
	left: .5vw;
	transform: rotate(90deg);
}
.mobile.mediaContentType > .arrow-content.next {
	position: absolute;
    top: 0;
    right: 2.5vw;
    transform: rotate(-90deg);
}

.mobile.mediaContentType a#media_podcast_link {
	font-weight: 500;
	text-decoration: underline;
	width: 100%;
	bottom : 0;
	position : absolute;
}

/*
	MEDIA TYPE BLOCKS STYLE
*/

.contentMediaBlock {
	font-family: proxima-nova,sans-serif;
	width: 100%;
}

.desktop.contentMediaBlock {
	height: auto;
	min-height: 100%;
	font-size: calc(6px + .4vw);
}

.desktop.contentMediaBlock .mediaItem {
	display: inline-block;
	width: 20%;
	height: calc(80px + 3vw);
	padding-right: 2px;
	margin-bottom: 2em;
	box-sizing: border-box;
	color: black;
	position: relative;
}
.mobile.contentMediaBlock {
	display: none;
	position: absolute;
	top:0;
	left:0;
	height: 100%;
	margin: 0;
	padding: 0;
	font-size: calc(6px + 1.5vw);
}

.mobile.contentMediaBlock.active {
	display: block;
}

.mobile .mediaItem {
	width: 100%;
	height: auto;
	font-size: 1em;
	position: relative;
	margin-bottom: 5px;
}
.mobile .mediaDropDownLabel {
	position: relative;
	min-height: calc(50px + 5vw);
	background-color: #ECEDEF;
	width: 100%;
	display: inline-block;
}

.mobile .mediaDropDownSubMenu {
	padding: 5%;
	background: rgb(52, 50, 48);
	height: auto;
	font-size: 1em;
	display: none;
}
.mobile .mediaItem.active .mediaDropDownSubMenu {
	display: block;
}

.mobile .mediaItem .mediaDropDownLabel .information{
	height: 2em;
	top: 50%;
	margin-top: -1em;
	position: absolute;
    right: 1em;
    display: inline-block;
    width: 2em;
    line-height: 2em;
    font-size: 1.3em;
    text-align: center;
    font-weight: bold;
    color: #ECECEE;
    cursor: pointer;
    background-color: #A2AAAD;
    border-radius: 50%;
}

/*
	temporarily disable share on mobile media blocks
*/
.mobile .mediaItem .mediaDropDownLabel .share.active {
	display: none;
}


.desktop .mediaItem .clickable-logo {
	text-decoration:none;
	color: inherit;
	white-space: normal;
}

.desktop .mediaItem .logo-wrap {
    display: inline-block;
    vertical-align: middle;
}

.desktop .mediaItem .logo-wrap > img {
	width: 100%;
	height: auto;
	border: 2px solid #000;
}

.mediaItem .title-wrap {
	word-wrap: break-word;
	text-align:left;
	font-weight: 600;
	font-size: 0.9em;
}

.desktop .mediaItem .title-wrap {
	display: inline-block;
	vertical-align: middle;
	width: 50%;
	line-height: 100%;
	color: #fff;
}

.mobile .mediaItem .logo-wrap {
	float: left;
	width: calc(36px + 9vw - 10px);
	vertical-align: top;
	padding: 2vw;
}

.mobile .mediaItem .logo-wrap > img {
	width: calc(100% - 10px);
	border: 5px solid #000;

}

.mobile .mediaItem .title-wrap {
	padding: 2vw 12em 2vw 2vw;
	color: #55565A;
	white-space: normal;
}

.text-with-ellipsis {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.text-with-ellipsis.three-lines {
	line-height: 1.2em;
	max-height: 3.6em;
	-webkit-line-clamp: 3;
}

.text-with-ellipsis.five-lines {
	line-height: 1.2em;
	max-height: 6em;
	-webkit-line-clamp: 5;
}

@supports not (-webkit-line-clamp: 3) {

	.text-with-ellipsis {
		overflow: hidden;
		position: relative;
		text-align: justify;
		margin-right: -1em;
		padding-right: 1em;
 	}
	.text-with-ellipsis::before{
		content: '...';
		position: absolute;
		right: 0;
		bottom: 0
	}
	.text-with-ellipsis::after{
		content: '';
		position: absolute;
		right: 0;
		width: 1em;
		height: 1em;
		margin-top: 0.2em;
 	}

}

.play-btn-container {
	min-width  : 10em;
	display    : block;
	clear      : both;
	position   : absolute;
	text-align : right;
	right      : 4vw;
	margin-top : 1.5em;
	cursor     : pointer;
}

#modal_media.modal > .modal-content {
	width: 50%;
    min-width: 650px;
    height: 50%;
    min-height: 20vw;
}

#modal_media.modal > .modal-content > .body {
    padding: 0;
    height: 90%;
    border-width: 4vw;
    border-style: solid;
    border-color: transparent;
	box-sizing: border-box;
}
