﻿/* HIGH PIXEL DENSITY */

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
	.livestream {
		background-image: url(/pages/Sermons/images/icon-livestream-2x.png) !important;
		background-size: 21px 30px !important;
		}
	
	#sermons .controls .sermon-video {
		background-image: url(/pages/sermons/images/icon-sermon-video-2x.png) !important;
		background-size: 16px !important;
		}

	#sermons .controls .sermon-sermonaudio {
		background-image: url(/pages/sermons/images/icon-sermon-sermonaudio-2x.png) !important;
		background-size: 16px !important;
		}

	#sermons .controls .sermon-download {
		background-image: url(/pages/sermons/images/icon-sermon-download-2x.png) !important;
		background-size: 16px !important;
		}
	
	#sermons .controls .sermon-share {
		background-image: url(/pages/sermons/images/icon-sermon-share-2x.png) !important;
		background-size: 16px !important;
		}

	#sermons .controls .sermon-notes {
		background-image: url(/pages/sermons/images/icon-sermon-notes-2x.png) !important;
		background-size: 16px !important;
		}

	#sermons .controls .sermon-attachment {
		background-image: url(/pages/sermons/images/icon-sermon-attachment-2x.png) !important;
		background-size: 16px !important;
		}
	
	a.jp-play {
		background-image: url(/pages/sermons/images/icon-sermon-play-2x.png) !important;
		background-size: 16px !important;
		}
	a.jp-loading{
		background-image: url(ajax-loader.gif) !important;
		background-size: 16px !important;
	}
	
	a.jp-pause {
		background-image: url(/pages/sermons/images/icon-sermon-pause-2x.png) !important;
		background-size: 16px !important;
		}
	}


/* RESPONSIVENESS */

@media screen and (max-width:640px) {
	.hero .text {
		left: 20px !important;
		top: 50% !important;
		margin-top: -21px !important;
		font-size: 85%;
		}
	
	.hero .text h2 {
		display: none !important;
		}
	
	.hero .button {
		margin: 0 !important;
		}
	
	.livestream {
		padding-right: 20px !important;
		padding-bottom: 25px !important;
		}
	
	.status {
		position: relative !important;
		right: auto !important;
		top: auto !important;;
		margin: 20px 40px 0 0 !important;
		padding: 10px 45px 10px 30px;
		}
	
	#sermons .sermon {
		padding-bottom: 75px !important;
		}
	
	.jp-audio {
		bottom: 30px !important;
		height: 45px !important;
		}
	
	.jp-controls {
		top: 0 !important;
		}
	
	.jp-progress {
		left: 60px !important;
		height: 45px !important;
		bottom: 0 !important;
		background: transparent !important;
		overflow: hidden;
		}
	
	.jp-play-bar {
		background: rgba(255,255,255,0.2) !important;
		}
	
	.jp-play-head {
		right: 0 !important;
		top: 0 !important;
		width: 2px !important;
		height: 100% !important;
		margin-top: 0 !important;
		background: rgba(255,255,255,0.2) !important;
		-webkit-box-shadow: none !important;
		-moz-box-shadow: none !important;
		box-shadow: none !important;
		-webkit-border-radius: 0 !important;
		   -moz-border-radius: 0 !important;
		    -ms-border-radius: 0 !important;
		     -o-border-radius: 0 !important;
		        border-radius: 0 !important;
		}
	
	.jp-audio .jp-time-holder {
		top: 0 !important;
		line-height: 45px !important;
		}
	
	#sermons .tip {
		display: none !important;
		}
	
	#sermons .controls {
		background-color: #48423c;
		width: 100%;
		}
	
	}


/* SITE SPECIFIC STYLES */

.livestream {
	position: relative;
	z-index: 1;
	padding: 10px 240px 10px 60px;
	color: #333333;
	background: #bbb5ab url(/pages/Sermons/images/icon-livestream.png) 20px 20px no-repeat;
	}

.livestream .label {
	display: block;
	font-size: 110%;
	}

.status {
	position: absolute;
	text-align: center;
	right: 20px;
	top: 50%;
	margin-top: -27px;
	display: block;
	background-color: #ffffff;
	padding: 10px 45px 10px 30px;
	cursor: pointer;
	background-image: url(/images/button-arrow-dark.png);
	background-position: right center;
	background-repeat: no-repeat;
	-webkit-border-radius: 50px;
	    -ms-border-radius: 50px;
	     -o-border-radius: 50px;
	        border-radius: 50px;
	}

.status .subtext {
	color: #999999;
	}


/* SERMON STYLES */

#sermons .sermon {
	position: relative;
	background: #ffffff;
	margin: 30px 0;
	padding-bottom: 34px;
	-webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.3);
	box-shadow: 0 2px 4px rgba(0,0,0,0.3);
	line-height: 1.4em;
	}

#sermons .sermon.empty {
	overflow: hidden;
	font-size: 130%;
	text-align: center;
	padding: 10px 20px;
	}

#sermons .sermon-info {
	padding: 20px;
	}

#sermons .sermon-image {
	position: absolute;
	left: 20px;
	top: 20px;
	width: 160px;
	height: 110px;
	overflow: hidden;
	}

#sermons .sermon-image img {
	display: block;
	}

#sermons .sermon.has-image .sermon-info {
	padding-left: 200px;
	min-height: 110px;
	}

#sermons .sermon-details {
	margin-top: 8px;
	}

.sermon-additional {
	overflow: hidden;
	display: none;
	margin-top: 15px;
	border-top: 3px solid #edeae5;
	}


/* SERMON CONTROLS */

#sermons .controls {
	position: absolute;
	z-index: 3;
	bottom: 0;
	right: 0;
	height: 30px;
	}

#sermons .controls > a,
#sermons .controls > span {
	position: relative;
	cursor: pointer;
	display: block;
	float: left;
	height: 100%;
	width: 40px;
	background-color: transparent;
	background-position: center;
	background-repeat: no-repeat;
	}

#sermons .controls > a:hover,
#sermons .controls > span:hover {
	background-color: #48423c;
	}

#sermons .controls .sermon-video {
	background-image: url(/pages/sermons/images/icon-sermon-video.png);
	}

#sermons .controls .sermon-sermonaudio {
	background-image: url(/pages/sermons/images/icon-sermon-sermonaudio.png);
	}

#sermons .controls .sermon-download {
	background-image: url(/pages/sermons/images/icon-sermon-download.png);
	}
	
#sermons .controls .sermon-share {
	background-image: url(/pages/sermons/images/icon-sermon-share.png);
	}

#sermons .controls .sermon-notes {
	background-image: url(/pages/sermons/images/icon-sermon-notes.png);
	}

#sermons .controls .sermon-attachment {
	background-image: url(/pages/sermons/images/icon-sermon-attachment.png);
	}

#sermons .controls .tip {
	visibility: hidden;
	opacity: 0;
	position: absolute;
	display: block;
	top: -42px;
	right: 0;
	background: #3a3430;
	color: #edeae5;
	padding: 4px 10px;
	white-space: nowrap;
	font-size: 80%;
	-webkit-transform: translateY(10px);
	-webkit-transition-property: opacity, visibility, -webkit-transform;
	-webkit-transition-duration: 200ms, 200ms, 0;
	-webkit-transition-delay: 0, 0, 200ms;
	transform: translateY(10px);
	transition-property: opacity, visibility, transform;
	transition-duration: 200ms;
	transition-delay: 0, 0, 200ms;
	}

#sermons .controls > a:hover .tip,
#sermons .controls > span:hover .tip {
	visibility: visible;
	opacity: 1;
	-webkit-transform: translateY(0);
	-webkit-transition-duration: 200ms;
	-webkit-transition-delay: 300ms;
	transform: translateY(0);
	transition-duration: 200ms;
	transition-delay: 300ms;
	}

#sermons .controls .tip:after {
	content: "";
	display: block;
	position: absolute;
	top: 100%;
	right: 15px;
	border: 5px solid transparent;
	border-top-color: #3a3430;
	border-bottom-width: 0;
	}

#sermons .pagination div {
	float: left;
	height: 30px;
	line-height: 30px;
	}

#sermons .pagination .label {
	padding-right: 6px;
	}

#sermons .pagination a {
	display: block;
	float: left;
	text-align: center;
	padding: 0 6px;
	min-width: 18px;
	height: 30px;
	line-height: 30px;
	margin: 0 3px 3px;
	background: #dcd7ce;
	color: #333333;
	}

#sermons .pagination a:hover {
	background: #cfcac1;
	}

#sermons .pagination a.selectedTrue {
	background: #9e1e30;
	color: #ffffff;
	font-weight: bold;
	}


/* JPLAYER */

.jp-audio {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 34px;
	}

.jp_interface {
	position: relative;
	height: 100%;
	}

.jp-controls {
	position: absolute;
	left: 0;
	top: 4px;
	right: 0;
	bottom: 0;
	background: #5e5650;
	}

a.jp-play,
a.jp-pause,
a.jp-loading {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 60px;
	height: 100%;
	background-color: #3a3430;
	background-position: center;
	background-repeat: no-repeat;
	outline: none;
	}

a.jp-play:hover,
a.jp-pause:hover
a.jp-loading:hover {
	background-color: #25211e;
	}

a.jp-play {
	background-image: url(/pages/sermons/images/icon-sermon-play.png);
	}
a.jp-loading {
	background-image: url(/pages/sermons/images/ajax-loader.gif);
	display: none;
	}

a.jp-pause {
	background-image: url(/pages/sermons/images/icon-sermon-pause.png);
	}

.jp-progress {
	position: absolute;
	z-index: 2;
	left: 0;
	bottom: 30px;
	right: 0;
	height: 4px;
	background: #b4aea9;
	-webkit-transition: height 160ms ease;
	-moz-transition: height 160ms ease;
	transition: height 160ms ease;
	}

.jp_interface:hover .jp-progress {
	height: 12px;
	}

.jp-seek-bar {
	position: relative;
	z-index: 1;
	width: 0px;
	height: 100%;
	cursor: pointer;
	}

.jp-play-bar {
	width: 0px;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: #d29d20;
	}

.jp-play-head {
	position: absolute;
	right: -4px;
	top: 50%;
	width: 8px;
	height: 8px;
	margin-top: -4px;
	background: #ffffff;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.5);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.5);
	box-shadow: 0 1px 2px rgba(0,0,0,0.5);
	-webkit-transition: all 160ms ease;
	-moz-transition: all 160ms ease;
	transition: all 160ms ease;
	-webkit-border-radius: 50%;
	   -moz-border-radius: 50%;
	    -ms-border-radius: 50%;
	     -o-border-radius: 50%;
	        border-radius: 50%;
	}

.jp_interface:hover .jp-play-head {
	right: -7px;
	width: 14px;
	height: 14px;
	margin-top: -7px;
	}

.jp-audio .jp-time-holder {
	position: absolute;
	z-index: 1;
	top: 4px;
	bottom: 0px;
	left: 70px;
	line-height: 30px;
	color: #edeae5;
	font-size: 90%;
	}