/* ==========================
 Important note:

 Instead of basing the styles of the player on the window
 width, we're basing the styles on the width of the player itself.

 These styles are all build to be responsive,
 so the player looks good in its mobile form.

 However, when the width
 of the player (not the width of the viewport) isn't above
 around 768px, the layout breaks.

 This is detected by a bit of simple JS found in js/audio-player.js.
 A class ("expanded") is added to the player to let it know that it can
 use its wide layout.
 ============================= */

.rogers-audio-body .hide-mobile {
	display: none;
}

.rogers-audio-main-wrapper {
	position: relative;
	background: rgba( 200, 200, 200, 0.2);
	box-sizing: content-box;
	font-family: 'Open Sans', Arial, Helvetica, sans-serif;
	margin-bottom: 1em;
}

.rogers-audio-main-wrapper .spinner-wrap {
	width: 40px;
	height: 40px;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	position: absolute;
	z-index: 3;
}

.rogers-audio-main-wrapper.done-loading {
	background: transparent;
}

.rogers-audio-main-wrapper .spinner-wrap .sk-circle {
	margin: 0;
}

.rogers-audio-main-wrapper.done-loading .spinner-wrap {
	display: none;
}

.rogers-audio-main-wrapper.done-loading .rogers-audio-body {
	opacity: 1;
}

.rogers-audio-body {
	background: #222;
	position: relative;
	width: 100%;
	max-width: 900px;
	opacity: 0;
	-webkit-transition: opacity 0.3s ease-in-out;
	-moz-transition: opacity 0.3s ease-in-out;
	-ms-transition: opacity 0.3s ease-in-out;
	-o-transition: opacity 0.3s ease-in-out;
}

.rogers-audio-feature {
	overflow: hidden;
	padding-bottom: 0px;
}

.rogers-audio-logo img {
	max-width: 100%;
}

.rogers-audio-thumbnail {
	float: right;
	position: relative;
}

.rogers-audio-thumbnail .rogers-audio-logo {
	position: absolute;
	right: 10px;
	top: 0;
}

.rogers-audio-thumbnail .rogers-audio-logo img {
	height: 50px;
	width: 50px;
}

.rogers-audio-play {
	width: 93px;
	padding: 15px 0 20px 10px; /* bottom padding added to support empty show image */
	text-align: center;
	float:left;
	box-sizing: content-box;
}

.rogers-audio-play .audio-buttons {
	background: #f61616;
	border-radius: 100%;
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	width: 72px;
	height: 72px;
	position: relative;
}

.rogers-audio-play .audio-buttons:hover {
	-webkit-box-shadow: 0 1px 5px -1px rgba(0,0,0,0.25);
	-moz-box-shadow: 0 1px 5px -1px rgba(0,0,0,0.25);
	box-shadow: 0 1px 5px -1px rgba(0,0,0,0.25);
}

.rogers-audio-play a.rogers-audio-play-button,
.rogers-audio-play a.rogers-audio-pause-button {
	display: block;
	width: 72px;
	height: 72px;
	margin: 0 auto;
	line-height: 0;
	border: none;
	text-decoration: none;
	box-shadow: none;
}

.rogers-audio-play a.rogers-audio-play-button img,
.rogers-audio-play a.rogers-audio-pause-button img {
	width: 57px;
	height: 57px !important;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
}

.rogers-audio-play a.rogers-audio-pause-button {
	display: none;
}

.rogers-audio-title {
	height: 107px;
	padding: 12px 10px 12px 0;
	overflow: hidden;
}

.rogers-audio-title p {
	background: #f61616;
	color: #fff;
	display: inline-block;
	font-size: 11px;
	padding: 3px 7px;
	font-weight: bold;
	margin: 0 0 10px;
	max-width: 200px;
  	white-space: nowrap;
  	overflow: hidden;
  	text-overflow: ellipsis;
}

.rogers-audio-title h2 {
	color: #fff;
	font-size: 15px;
	margin-top: 0;
	margin-bottom: 0;
	line-height: 18px;
	font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

.rogers-audio-thumbnail {
	overflow: hidden;
	position: absolute;
	right: 0;
	top: 0;
}

.rogers-audio-thumbnail img {
	float: right;
	height: auto;
	width: 100%;
}

.rogers-audio-info-area {
	background: #444;
}

.rogers-audio-detail {
	color: #ccc;
	font-size: 11px;
	overflow: hidden;
}

.rogers-audio-detail .originally-aired-wrap {
	overflow: hidden;
}

.rogers-audio-detail .rogers-audio-logo {
	max-width: 53px;
	height: auto;
	float: left;
	margin-left: 10px;
}

.rogers-audio-detail .rogers-audio-logo img {
	margin-bottom: 0;
}

.rogers-audio-aired p {
	margin: 15px 0 0 23px;
	float: left;
	font-size: 12px;
}

.rogers-audio-actions {
	clear: both;
	padding-top: 10px;
	display: flex;
	justify-content: space-around;
}

.rogers-audio-actions a {
	margin: 0;
	text-align: center;
	font-size: 12px;
	padding-bottom: 15px;
	display: inline-block;
}

#rogers-audio .rogers-audio-actions a {
	color: #ccc;
	text-decoration: none;
	border: none;
	box-shadow: none;
}

#rogers-audio .rogers-audio-actions a:hover {
	color: #eee;
}

.rogers-audio-actions .dashicons,
.dashicons-before:before {
	font-size: 18px;
	height: 1px;
	margin-right: 5px;
}

/* ##############
     The Audio Player
############## */

.rogers-audio-player {
	overflow: visible;
	box-sizing: border-box;
	position: relative;
	padding: 0 0 30px 0; /* Sets the height of the background behind the time */
}

.rogers-audio-player * {
	box-sizing: content-box;
}

.rogers-audio-player .mejs-offscreen {
	text-indent: -9999px;
	display: none;
}

.rogers-audio-player .mejs-container {
	margin: 0;
}

.rogers-audio-player .mejs-container .mejs-inner .mejs-controls {
	background: #444;
	position: relative;
}

.expanded .rogers-audio-player .mejs-container .mejs-inner .mejs-controls .mejs-playpause-button {
	top: -187px;
    left: 28px;
    width: 64px;
    height: 64px;
}

.expanded .has-actions .rogers-audio-player .mejs-container .mejs-inner .mejs-controls .mejs-playpause-button {
	top: -187px;
}

.has-actions .rogers-audio-player .mejs-container .mejs-inner .mejs-controls .mejs-playpause-button {
	top: -165px;
}

.rogers-audio-player .mejs-container .mejs-inner .mejs-controls .mejs-playpause-button {
	position: absolute;
    top: -124px;
    left: 11px;
    border-radius: 40px;
    width: 71px;
    height: 71px;
    cursor: pointer;
    background: none;
    opacity: 0.1;
}

.rogers-audio-player .mejs-container .mejs-inner .mejs-controls .mejs-playpause-button button {
	background: none;
}

/* ##############
     Time Rail
############## */
.rogers-audio-player .mejs-controls div.mejs-time-rail {
	float: none;
	height: 40px;
}

.rogers-audio-player .mejs-controls .mejs-time-rail span {
	border-radius: 0;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	height: 9px;
}

.rogers-audio-player .mejs-controls .mejs-time-rail .mejs-time-buffering {
	width: 300px;
}

/* ##############
     Time
############## */
.rogers-audio-player .mejs-container .mejs-controls .mejs-time {
	text-align: center;
	font-size: 11px;
	height: 30px;

	position: absolute;
	top: 10px;
	bottom: 0;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
}

.rogers-audio-player .mejs-container .mejs-controls .mejs-time * {
	font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

.rogers-audio-player .mejs-container .mejs-controls .mejs-time span {
	color: #fff;
	margin: 0 7px 0 0;
	float: none;
	display: inline-block;
}

.rogers-audio-player .mejs-inner .mejs-controls .mejs-time-rail .mejs-time-total {
	background: #666;
	border-radius: 0;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	width: 100%;
	box-sizing:border-box;
	display: block;
	margin: 0;
	max-width: 100%;
}

.rogers-audio-player .mejs-controls .mejs-time-rail .mejs-time-total .mejs-time-float {
	opacity: 0;
	display: none !important;
}

.rogers-audio-player .mejs-controls .mejs-time-rail .mejs-time-buffering {
	background: #666;
}

.rogers-audio-player .mejs-inner .mejs-controls .mejs-time-rail .mejs-time-loaded {
	background: #fff;
}

.rogers-audio-player .mejs-inner .mejs-controls .mejs-play,
.mejs-inner .mejs-controls .mejs-pause,
.mejs-inner .mejs-controls .mejs-time-rail .mejs-time-current {
	background: #f61616;
}


/* ==========================
   Share Overlay.
 ============================= */

.rogers-audio-body.overlay .rogers-audio-player-base {
	-webkit-filter: blur(3px);
	-moz-filter: blur(3px);
	-o-filter: blur(3px);
	-ms-filter: blur(3px);
	filter: blur(3px);
}

.rogers-audio-body .share-overlay {
	display: none;
	background: rgba( 0, 0, 0, 0.7 );
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	color: #fff;
}

.rogers-audio-body.overlay .share-overlay {
	display: block;
}

.rogers-audio-body .share-overlay .rogers-audio-title {
	z-index: 2;
	position: absolute;
	top: 3px;
	left: 3px;
	padding: 0;
}

.rogers-audio-body .share-overlay .rogers-audio-title .rogers-audio-tag {
	padding: 2px 10px 3px 9px;
}

.rogers-audio-body .share-overlay-content {
	text-align: center;
	max-width: 95%;
	margin: 50px auto 20px;
}

.rogers-audio-body .share-overlay-content .post-title {
	font-weight: bold;
	font-size: 1.5em;
	font-size: 16px;
	margin-bottom: 1em;
}

.rogers-audio-body .share-overlay .share-buttons, .share-overlay .text-links-wrap {
	font-size: 11px;
}

.rogers-audio-body .share-overlay .share-buttons {
	margin-bottom: 1.5em;
}

.rogers-audio-body .share-overlay .share-button {
	width: 110px;
	font-size: 14px;
	background: #3b5998;
	padding: 7px 10px 7px 20px;
	display: inline-block;
	cursor: pointer;
	text-align: left;
}

.rogers-audio-body .share-overlay .share-button.share-tw {
	background: #55acee;
}

.rogers-audio-body .share-overlay .text-links-wrap {
	width: 90%;
	margin: 0 auto;
}

.rogers-audio-body .share-overlay .text-links {
	margin: 0 auto 20px;
	text-align: center;
}

.rogers-audio-body .share-overlay .text-links input[type="text"] {
	background: transparent;
	border: 1px solid #4f4f4f;
	color: #d9d9d8;
	padding: 10px 10px 10px 20px;
	text-align: center;
	margin-right: 15px;
	font-size: 12px;
	width: 90%;
}

.rogers-audio-body .share-overlay .text-links .copy-link {
	cursor: pointer;
	text-decoration: underline;
	font-size: 13px;
	color: #d9d9d8;
	display: block;
}

.rogers-audio-body .share-overlay .text-links .copy-link:hover {
	text-decoration: none;
}

.rogers-audio-body .share-overlay .share-close {
	width: 37px;
	height: 37px;
	position: absolute;
	top: 5px;
	right: 5px;
	text-align: center;
	cursor:pointer;
	background-image: url('../assets/overlay-close.png');
	background-color: #f61616;
	text-indent: -9999px;
}

.rogers-audio-body .share-overlay .share-close span {
	display: inline-block;
	padding: 25% 0;
}
/* End Share Overlay */



/* Single Player/Iframe Template */
.rogers-audio-embedded-player {
	background: 0;
}

.rogers-audio-embedded-player .rogers-audio-body {
	max-height: 300px;
}
/* End Single Player/Iframe Template */



/* ==========================
   Begin "expanded" layout styles.
 ============================= */

.expanded .rogers-audio-body .hide-mobile {
	display: block;
}

.expanded .rogers-audio-body .hide-desktop {
	display: none;
}

.expanded .rogers-audio-play-title-wrap {
	width: 60%;
	max-width: 325px;
}

.expanded .rogers-audio-play {
	padding-left: 27px;
	padding-top: 18px;
	height: 110px;
	width: 86px;
}

.expanded .rogers-audio-feature {
	position: relative;
	min-height: 150px;
}

.expanded .rogers-audio-play .audio-buttons {
	width: 66px;
	height: 66px;
}

.expanded .rogers-audio-play a.rogers-audio-play-button img,
.expanded .rogers-audio-play a.rogers-audio-pause-button img {
	width: 45px;
	height: 45px !important;

}

.expanded .rogers-audio-title {
	overflow: visible;
	height: 164px;
}

.expanded .rogers-audio-title h2 {
	font-size: 18px;
	line-height: 19px;
	clear: none;
}

.expanded #rogers-audio .rogers-audio-thumbnail .rogers-audio-logo img {
	width: 100%;
	max-width: 54px;
	height: auto;
}

.expanded .rogers-audio-detail {
	padding: 14px 13px 10px
}

.expanded .rogers-audio-detail .originally-aired-wrap {
	overflow: visible;
}

.expanded .rogers-audio-aired {
	float: left;
}

.expanded .rogers-audio-aired p {
	margin: 0;
}

.expanded .rogers-audio-actions {
	float: right;
	clear: none;
	padding: 0;
}

.expanded .rogers-audio-actions a {
	margin-left: 20px;
	text-align: left;
	float: none;
	width: auto;
	text-decoration: none;
	padding-bottom: 0;
}

.expanded .rogers-audio-actions .dashicons,
.dashicons-before:before {
	font-size: 15px;
	height: 1px;
	margin-right: 2px;
}

.expanded .rogers-audio-player {
	padding: 0 0 23px 0;
	width: 98%;
	position: relative;
}

.expanded .rogers-audio-player .mejs-controls div.mejs-time-rail {
	padding-right: 0;
	width: 100%;
	float: right;
	height: auto;
}

.expanded .rogers-audio-player .mejs-container .mejs-controls .mejs-time {
	padding-left: 15px;
	padding-top: 0;
	clear: none;
	text-align: left;
	float: left;
	width: auto;
	position: static;
}

.expanded .mejs-controls .mejs-time-rail span {
	height: 9px;
}

.expanded .rogers-audio-player .mejs-container .mejs-controls .mejs-time .mejs-duration {
	margin-right: 15px;
}

.expanded .rogers-audio-player .mejs-container .mejs-controls .mejs-time span {
	float: left;
	color: #ccc;
}

.expanded .rogers-audio-body .share-overlay .text-links-wrap {
	width: 70%;
}

.expanded .rogers-audio-body .share-overlay .text-links {
	text-align: left;
}

.expanded .rogers-audio-body .share-overlay .text-links input[type="text"] {
	width: 300px;
}

.expanded .rogers-audio-body .share-overlay .text-links .copy-link {
	display: inline;
}

@media all and (max-width: 1439px) {
	.rogers-audio-play-title-wrap .rogers-audio-title {
		height: auto;
	}
}

@media all and (max-width: 1439px) and (min-width: 633px) {
	.rogers-audio-thumbnail {
		width: 40%;
		position: relative;
	}

	.rogers-audio-play-title-wrap {
		width: 60%;
		float: left;
	}
}

@media all and (max-width: 632px) {
	.rogers-audio-thumbnail {
		display: none;
	}
}

