/* =Player
---------------------------------------------------------------------
*/

#video-player video {
	width: 100%;
	height: auto;
}


/* =Sidebar
---------------------------------------------------------------------
*/

aside.left h6 {
	color:#999999;
	text-transform:uppercase;
	margin-bottom:8px!important;
	font-size:1.5em;
}

aside .aside-image-link {
	margin-bottom:10px;
	display:block;
}


/* =List
---------------------------------------------------------------------
*/


.items {
	overflow:hidden;
}

.items h3.groupby-heading {
	/*font-size: 18px;*/
	/*color: #333;*/
	margin-bottom: 15px;
}

.items article {
	border-bottom:#f1f1f1 solid 1px;
	overflow:hidden;
	padding:10px 5px;
	    padding-top: 16px;
    padding-bottom: 12px;
}

.items article.odd {
	/*background: #f9f9f9;*/
	/*background: -moz-linear-gradient(top, #ffffff, #f9f9f9);*/
	/*background: -webkit-gradient(linear,left top, left bottom, from(#f9f9f9), to(#ffffff));*/
	/* MSIE */
	/*filter: progid:DXImageTransform.Microsoft.Gradient(*/
	              /*StartColorStr='#ffffff', EndColorStr='#f9f9f9', GradientType=0);*/
}

.items article.last {
	border:0;
}

article .meta {
	width:100%;
	padding: 42px 0 12px;
	font-size:1.0em;
	line-height:1.0em;
	color:#666;
}

article .meta p {
	margin-bottom: 15px;
}

article .meta span {
	font-weight: bold;
	color:#717171;
}

article .meta a {
	text-decoration:none;
}

article .meta img {
	display:block;
	float:right;
	margin: 0 0 20px 20px;
}

article .highlight,aside ul[id*=list] .highlight,aside ul[class*=list] .highlight {
	border-radius:3px;
	color:#fff!important;
}

article h3 {
	font-size:20px;
	float:left;
	display:inline-block;
	margin-bottom:0;
	line-height: 10px;
}

article h3 a {
	text-decoration:none;
	/*color:#666;*/
	line-height:1em;
	font-weight:bold!important;
}

article h3 a:active {
	color:#333;
}

#content article .time {
	font-size:1.2em;
	/*color:#bbb;*/
	display:inline-block;
	font-weight:bold;
	float:left;
	margin-right:10px;
}

#content article .media {
	float:right;
	margin:0;
	padding:0;
	margin-top: -4px;
}

#content article .media li {
	line-height:1em;
	font-size:1.2em;
	display:block;
	float:left;
	padding:0;
	margin-left:5px;
	overflow:hidden;
}

#content article .media li.video {
	margin-right: 2px;
}

#content article .media li a {
	text-decoration:none;
	color:#999999;
	text-transform:uppercase;
	display:block;
	background:transparent url(/_assets/img/media-icons.png) no-repeat;
	height:22px;
	text-indent:-9999em;
	padding: 0px;
	border: 0px;
	-webkit-filter: brightness(0.8);
    filter: brightness(0.8);
    cursor: pointer;

}

#content article .media li.listen a {
	background-position:left top;
	width:14px;
}

#content article .media li.video a {
	background-position:-24px top;
	width:20px;
}

#content article .media li.notes a {
	background-position:-54px top;
	width:16px;
}

#content article .media li.download a {
	background-position:-82px top;
	width:16px;


}

#content article .media li.listen a:hover,
#content article .media li.listen a.current {
	background-position:left -27px;
	    -webkit-filter: hue-rotate(180deg);
    filter: hue-rotate(180deg);
}

#content article .media li.video a:hover,
#content article .media li.video a.current {
	background-position:-24px -27px;
	    -webkit-filter: hue-rotate(180deg);
    filter: hue-rotate(180deg);

}

#content article .media li.notes a:hover,
#content article .media li.notes a.current {
	background-position:-54px -27px;
	    -webkit-filter: hue-rotate(180deg);
    filter: hue-rotate(180deg);
}

#content article .media li.download a:hover,
#content article .media li.download a.current {
	background-position:-82px -27px;
	    -webkit-filter: hue-rotate(180deg);
    filter: hue-rotate(180deg);
}

#content article .media li a:active {
	background-color:#dbdbdb;
}

article.detail {
	border:0;
}

article.detail .summary {
	font-size:1.3em;
	line-height:1.6em;
	color:#333333;
	margin-top:25px;
}

.filters {
	margin-bottom:25px;
	overflow:hidden;
	/*background:#f1f1f1;*/
	padding:10px;
	padding-top:15px;
	border-radius:3px;
	-moz-border-radius:3px;
	border:#e5e5e5 solid 1px;
}

.filters h6 {
	float:left;
	margin-right:20px;
	margin-bottom:0;
	padding-top:5px;
  margin-top:5px;
  font-size: 14px;
}

#video-wrap {
	margin-bottom:15px;
	overflow:hidden;
	background: url(/_assets/img/ajax-loader.gif) no-repeat center center;
}

.paginate-label {
	float:left;
	padding-top:10px;
	margin-left:10px;
	font-size:1.2em;
	color:#999;
	font-weight:bold;
	margin-right:24px;
}

/* Pagination (You may want to use this in your main stylesheet). */
#pagination {
	padding:10px;
	/*background-color:#f1f1f1;*/
}

#pagination a {
	/*padding:5px 8px;*/
	    padding: 0px 10px;
	text-decoration:none;
	-webkit-border-radius:2px;
	-moz-border-radius:2px;
	border-radius:2px;
	color:#555555;
	margin-right:3px;
}

#pagination a:hover {
	color:#ffffff;
}

#pagination a#current {
	color:#fffeff;
}

#pagination a#off {
	color:#cccccc;
}

#pagination a#off:hover {
	background-color:transparent;
	color:#cccccc;
}

#pagination a#next {

}

#pagination a#previous {

}



/* =Selectmenu
---------------------------------------------------------------------
*/

.content select.sorter {
	float:left;
  margin-right:12px;
}

.ui-selectmenu {
	display:block;
	float:left;
	position:relative;
	height:24px;
	width:125px;
	text-decoration:none;
	margin-right:5px;
	background:#dedede url(/_assets/img/article_selectmenu_icon.png) no-repeat 95% 50%;
	padding:4px 0 6px 0;
	overflow:hidden;
}

#content a.ui-selectmenu:hover {
	text-decoration:none;
}

.ui-selectmenu-icon {
	position:absolute;
	right:6px;
	margin-top:-8px;
	top:50%;
}

.ui-selectmenu-menu {
	padding:0;
	margin:0;
	list-style:none;
	position:absolute;
	z-index:1001;
	top:0;
	visibility:hidden;
	-moz-border-radius:0px;
	-webkit-border-radius:0px;
	/*background:#f1f1f1;*/
	height:auto;
	max-height: 250px;
	width:150px!important;
}

.ui-selectmenu-open {
	visibility:visible;
	overflow:auto;
}

.ui-selectmenu-menu-popup {
	margin-top:-1px;
}

.ui-selectmenu-menu-dropdown {
  margin:0;
  padding:0;
  overflow:auto;
	height:auto !important;
	width:150px!important;
}

.ui-selectmenu-menu li {
	padding:0;
	margin:0;
	display:block;
	border-top:1px dotted transparent;
	border-bottom:1px dotted transparent;
	border-right-width:0!important;
	border-left-width:0!important;
	font-weight:400!important;
}

.ui-selectmenu-menu li a,.ui-selectmenu-status {
	line-height:1.4em;
	display:block;
	padding:0.2em 1.5em 0.2em 1em;
	outline:none;
	text-decoration:none;
	color:white;
	/*font-size:11px;*/
}

.ui-selectmenu-menu li.ui-selectmenu-hasIcon a,.ui-selectmenu-hasIcon .ui-selectmenu-status {
	padding-left:20px;
	position:relative;
	margin-left:5px;
}

.ui-selectmenu-menu li .ui-icon,.ui-selectmenu-status .ui-icon {
	position:absolute;
	top:1em;
	margin-top:-8px;
	left:0;
}

.ui-selectmenu-status {
	line-height:17px;
	height:17px;
	overflow:hidden;
	color:#999;
	font-size:15px;
	font-weight:700;
}

.ui-selectmenu-open li.ui-selectmenu-item-focus a {
	/*background:#ebebeb;*/
}

.ui-selectmenu-open li.ui-selectmenu-item-selected {
}

.ui-selectmenu-menu li span,.ui-selectmenu-status span {
	display:block;
	margin-bottom:.2em;
}

.ui-selectmenu-menu li .ui-selectmenu-item-header {
	font-weight:700;
}

.ui-selectmenu-menu li .ui-selectmenu-item-content {
}

.ui-selectmenu-menu li .ui-selectmenu-item-footer {
	opacity:.8;
}

/*for optgroups*/
.ui-selectmenu-menu .ui-selectmenu-group {
	font-size:1em;
}

.ui-selectmenu-menu .ui-selectmenu-group .ui-selectmenu-group-label {
	line-height:1.4em;
	display:block;
	padding:.6em .5em 0;
	font-weight:700;
}

.ui-selectmenu-menu .ui-selectmenu-group ul {
	margin:0;
	padding:0;
}


/* =Accent color
---------------------------------------------------------------------
*/
article .meta a,
article h3 a:hover {
	/*color:#5d7b9d;*/
}

article .highlight,
aside ul[id*=list] .highlight,
aside ul[class*=list] .highlight,
#pagination a:hover,
#pagination a#current {
	/*background-color:#5d7b9d;*/
}



/* =Override
---------------------------------------------------------------------
*/
.content {
	width:75%;
	padding: 0;
	float: right;
	margin-bottom: 5em;
}

aside.left {
	width:25%;
	margin-left: 0px;
	float: left;
}

#content #text .filters h6 {
	margin-top: 0px;
}

#content .ui-selectmenu.ui-state-active {
	color: white;
}

#content .ui-selectmenu.ui-state-active  .ui-selectmenu-status {
	color: white;
}

#content article .media li.notes.icon-file1:before {
	content: '';
}


#content article .media li a:hover {
	background-color: transparent;
}


@media only screen and (max-width: 768px) {
		aside.left,
	.content {
		width: 100%;
		float: none;
	}
	.filters h6,
	.ui-selectmenu {
		display: block;
		float: none;
	}

	.ui-selectmenu{
		margin-bottom: 10px;
		margin-left: auto;
    margin-right: auto;
	}

	aside .aside-image-link a img {
		width: 100%;
	}

}

@media only screen and (max-width: 425px){
	article h3 {
    	max-width: 180px;
    	word-wrap: break-word;
    	height: 20px;
    	overflow: hidden;
    	white-space: normal;
    	word-spacing: normal;
    	white-space: nowrap;
    	overflow: hidden;
    	text-overflow: ellipsis;
    	font-size: 16px;
	}

	#sermon-template #content article .time {
		font-size: 16px;
	}
}

@media only screen and (max-width: 375px){
	article h3 {
    	max-width: 150px;
	}
}


@media only screen and (max-width: 320px){
	article h3 {
    	max-width: 100px;
	}
}