/*===========================
Podcast Season Card
===========================*/


/* Border, padding, shadow, and hover setup for card */

.card {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  border-radius: 5px; /* 5px rounded corners */
  padding: 3px;
}

/* On mouse-over, add a deeper shadow, implements hover effect */

.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

/* Align image on card, set border */

.card-img {
	text-align: center;
	padding-top: 5px;
	border-radius: 5px;
}

/* Float four columns side by side*/

.column {
  float: left;
  padding: 5px 5px;
}

/* Padding for card body */

.card-body{
	padding: 10px 16px;
}

/* Text margin in card body */

.card-body .p{
	margin: 5px;
}

/* Hide overflowing text */

.card-text {
    display: -webkit-box;
    max-width: 325px;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Margin for card title */

.podcast-card-title {
	margin-left: 5px;
}


/*================================
Podcast Episode Cards
================================*/


/* Set shadow, border, hover transition for episode card */

.episode-card {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  border-radius: 5px; /* 5px rounded corners */
}

/* Set episode card text padding */

.episode-card-text {
	padding: 0 10px 10px;
}

/* Mobile card container styling */

@media (max-width: 768px) {
	#views-bootstrap-podcast-series-episode-cards-block-1 .row > div {
		margin-bottom: 12px;
	}
}


/*========================================
Podcast View Styling
========================================*/


/* Margins for View*/

.views-field-field-engr-pod-description{
	margin-left: 5px;
	margin-bottom: 90px; /* to avoid overlapping with absolutely positioned audio pieace */
}

/* Positioning for audio view */

.views-field-field-engr-pod-audio{
	position: absolute;
	bottom: 0;
	padding-left: 50px;
}


/*======================================
Season Page Styling
======================================*/


/* Season page positioning */

.season-page {
	position: relative;
}

/* Set background color and spacing */

.season-page .views-field-field-engr-pod-description,
.season-page .card-title {
	margin: 0;
	background: #fff;
	padding: 12px;
}

/* Negative top margin to move up content */

.season-page .card-title {
	margin-top: -10px;
}

/* Bottom padding */

.season-page .views-field-field-engr-pod-description {
	padding-bottom: 100px;
}

/* Positioning of audio view */

.season-page .views-field-field-engr-pod-audio {
	padding-left: 0px;
	bottom: 10px;
	width: 96%;
}
