/* @override http://twin-lakes-church.preview.monkcms.com/_css/layouts/mcms_sermons_4.css */

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

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


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

aside.left{
	float: left;
	padding: 20px;
}

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

aside.left h4{
	font-size: 2em;
	font-weight: 700;
	margin-bottom: 10px;
}

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


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

.content.column{
	float: right;
	padding: 20px;
}

.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;
}

.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:16px;
	float:left;
	display:inline-block;
	margin-bottom:0;
}

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

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

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

article .media {
	float:right;
	margin:0;
	padding:0;
}

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

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

article .media li a {
	text-decoration:none;
	color:#999999;
	text-transform:uppercase;
	display:block;
	background:transparent url(/_img/media-icons.png) no-repeat;
	height:22px;
	text-indent:-9999em;
}

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

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

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

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

article .media li.listen a:hover,
article .media li.listen a.current {
	background-position:left -27px;
}

article .media li.video a:hover,
article .media li.video a.current {
	background-position:-24px -27px;
}

article .media li.notes a:hover,
article .media li.notes a.current {
	background-position:-54px -27px;
}

article .media li.download a:hover,
article .media li.download a.current {
	background-position:-82px -27px;
}

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(/_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;
}

/* =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(/_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:3px;
	-webkit-border-radius:3px;
	background:#f1f1f1;
	height:200px;
	width:200px!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; */
	overflow: hidden;
	height:200px !important;
	width:200px!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:.3em 1.5em 0 1em;
	outline:none;
	text-decoration:none;
	color:#363636;
	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 {
	background-color:#5d7b9d;
}



/* =Override
---------------------------------------------------------------------
*/
.content{
	float: none;
	width:92%;
	padding: 0;
	margin-left: auto;
	margin-right: auto;
}
.content .filters h6{
	float: none;
}
@media (min-width: 69em) {
	.content{
		float: right;
		width:69%;
		padding: 0;
	}
	.content .filters h6{
		float: left;
	}
}

aside.left {
	display: none;
}
@media (min-width: 69em) {
	aside.left {
		display: block;
		float: left;
		width:22%;
		margin-left: 5px;
	}
}

@media only screen and (max-width: 700px) {

	#pagination{
		    padding: 50px 5px;
	}
	#pagination a{
		float: left;
		margin-bottom: 3px;
	}

}
