﻿/* 
	Theme Name: Epic
	Theme URI: https://www.organizedthemes.com/theme/epic/
	Description: A responsive WordPress theme for churches
	Author: Organized Themes
	Author URI: https://www.organizedthemes.com
	Version: 3.6
	License: GNU General Public License
	License URI: license.txt
*/

 @import url('https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css');

/* Reset
----------------------------------------------- */

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, hr, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figure, figcaption, hgroup, menu, footer, header, nav, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; }

article, aside, canvas, figure, figure img, figcaption, hgroup, footer, header, nav, section, audio, video { display: block; }

a img { border: 0 }

html { 
	height: 100%; 
	font-size: 100%; 
	overflow-y: scroll; 
	-webkit-text-size-adjust: 100%; 
} 

body { 
	margin: 0; 
	min-height: 100%;
	height: auto !important;
	-webkit-font-smoothing: antialiased; 
	font-smoothing: antialiased;
}

figure 			   { margin: 0 }
img, object, embed { max-width: 100%; height: auto; } /* Fluid images */
video 			   { width: 100%; height: auto; }
img 			   { border: 0;	-ms-interpolation-mode: bicubic } /* IE Images */
svg:not(:root) 	   { overflow: hidden } /* Correct IE9 overflow */

* { 
	-moz-box-sizing: border-box; 
	-webkit-box-sizing: border-box; 
	box-sizing: border-box; 
}

.jquery-lightbox { /* Fixes box sizing bug in lightbox evolution */
	box-sizing: content-box;
	-moz-box-sizing: content-box; 
	-webkit-box-sizing: content-box; 
}

/* Dark Version Styles
----------------------------------------------- */
body.dark .wrap {
color:#999;
}

body.dark p.job-title {
    color: #fff;
}

body.dark  article.staff-list img {
    border: 1px solid #555;
}

body.dark .staff-meta span.info_optional:before {
    background: #6addff;
}

body.dark .staff-meta span {
    background-color: #6addff;
}

body.dark article.staff-list {
    border-bottom: 1px solid #555;
}

body.dark .staff-meta span.info_optional, 
body.dark .staff-meta span.phone {
    color: #6addff;
background:transparent;
}

body.dark .staff-meta span.phone:before ,
body.dark .staff-meta span.info_optional:before {
    background: #6addff;
}

body.dark .staff-meta span.phone:hover:before ,
body.dark .staff-meta span.info_optional:hover:before {
    background: #39add0;
}

body.dark .staff-meta span:hover {
    background-color: #39add0;
}

body.dark .staff-meta span.info_optional:hover,
body.dark .staff-meta span.phone:hover {
    color: #39add0;
background:transparent;
}


body.dark h2.widget-title,
body.dark h3.widget-title,
body.dark .widget-title a,
body.dark .widget-title a:visited,
body.dark h2.widget-title,
body.dark h3.widget-title,
body.dark .widget-title a,
body.dark .widget-title a:visited {
    color: #ffffff;
}

article.staff-list img {
    border: 1px solid #444;
}

body.dark #tagline p, body.dark #tagline h2 {
    color: #666;
}

body.dark header.primary .menu li a,
body.dark header.primary .menu li a:visited {
	color:#fff;
}

body.dark .contact-map + ul {
    border-bottom: 1px solid #444;
}

body.dark .contact-map + ul + ul {
    border-bottom: 1px solid #444;
}

body.dark .tribe-events-list-widget .tribe-list-widget {
    border: 1px solid #444;
}

body.dark .tribe-events-list-widget .tribe-events-list-widget-events {
    border-bottom: 1px solid #444;
}

body.dark .tribe-events-list .type-tribe_events {
    border: 1px solid #444 !important;
}

body.dark .map-iframe {
    border: 1px solid #444;
}

body.dark .single-tribe_events .tribe-events-venue-map {
    background: #111;
    border: 1px solid #444;
}

body.dark .comment-form-comment textarea {
    border:1px solid #444 !important;
}

body.dark .widget select {
	border:1px solid #444;
}

body.dark .widget.widget_rss li {
	border-bottom:1px solid #444;
}

body.dark .widget.widget_tag_cloud a {
	border: 1px solid #444;
}

body.dark .widget {
    color: #999;
}

/* Forms
----------------------------------------------- */

textarea,
input[type="text"]
input[type="password"] {
	border: 1px solid #ddd;
	color: #3e3e3e;
	font-size: 14px;
}

input[placeholder] { 
	text-overflow: ellipsis; 
}

::-moz-placeholder { /* firefox 19+ */
	text-overflow: ellipsis; 
}

input:-moz-placeholder { 
	text-overflow: ellipsis; 
}

a.button,
input.button,
input[type="button"],
input[type="submit"] {
	transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
	color: #fff;
	cursor: pointer;
	font-weight: bold;
	padding: 12px 18px;
	text-decoration: none;
	border: none;
	background-color: #6addff;
	-webkit-appearance: none;
	-webkit-background-clip: padding-box;
}

a:hover.button,
input:hover.button,
input:hover[type="button"],
input:hover[type="submit"] {
	background-color: #333;
}

select.tinynav:focus,
input:focus,
textarea:focus {
	outline: none;
}

/* Typography
----------------------------------------------- */

body {
	font: 16px/1.3 Lucida, Verdana, sans-serif;
}

p {
    margin: 0 0 25px;
    font-size: 14px;
    line-height: 24px;
}

.lead {
  margin-bottom: 20px;
  font-size: 21px;
  font-weight: 200;
  line-height: 30px;
}

small {
  font-size: 85%;
}

strong {
  font-weight: bold;
}

em {
  font-style: italic;
}

cite {
  font-style: normal;
  font-size: 14px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 10px;
	font-weight: 400;
	line-height: 20px;
	color: inherit;
	text-rendering: optimizelegibility;
	color: #fff;
	font-family: Lucida, Verdana, sans-serif;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  font-size: 48.5px;
}

h2 {
  font-size: 31.5px;
}

h3 {
  font-size: 24.5px;
}

h4 {
  font-size: 17.5px;
}

h5 {
  font-size: 14px;
}

h6 {
  font-size: 11.9px;
}

.page-header {
  padding-bottom: 9px;
  margin: 20px 0 30px;
  border-bottom: 1px solid #eeeeee;
}


ul,
ol {
  padding: 0;
  margin: 0 0 25px 25px;
}

ul ul,
ul ol,
ol ol,
ol ul {
  margin-bottom: 0;
}

li {
  line-height: 20px;
}

ul.unstyled,
ol.unstyled {
  margin-left: 0;
  list-style: none;
}

dl {
  margin-bottom: 20px;
}

dt,
dd {
  line-height: 20px;
}

dt {
    font-weight: bold;
    margin-bottom: 10px;
}

dd {
    margin-left: 10px;
    margin-bottom: 7px;
}

.dl-horizontal {
  *zoom: 1;
}

.dl-horizontal:before,
.dl-horizontal:after {
  display: table;
  content: "";
  line-height: 0;
}

.dl-horizontal:after {
  clear: both;
}

.dl-horizontal dt {
  float: left;
  width: 160px;
  clear: left;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dl-horizontal dd {
  margin-left: 180px;
}

hr {
  margin: 20px 0;
  border: 0;
  border-top: 1px solid #eeeeee;
  border-bottom: 1px solid #ffffff;
}

abbr[title],
abbr[data-original-title] {
  cursor: help;
  border-bottom: 1px dotted #999999;
}

abbr.initialism {
  font-size: 90%;
  text-transform: uppercase;
}

address {
  display: block;
  margin-bottom: 20px;
  font-style: normal;
  line-height: 20px;
}

code,
pre {
  padding: 0 3px 2px;
  font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
  font-size: 12px;
  color: #333333;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

code {
  padding: 2px 4px;
  color: #d14;
  background-color: #f7f7f9;
  border: 1px solid #e1e1e8;
}

pre {
  display: block;
  padding: 9.5px;
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 20px;
  word-break: break-all;
  word-wrap: break-word;
  white-space: pre;
  white-space: pre-wrap;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.15);
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

pre.prettyprint {
  margin-bottom: 20px;
}

pre code {
  padding: 0;
  color: inherit;
  background-color: transparent;
  border: 0;
}

.pre-scrollable {
  max-height: 340px;
  overflow-y: scroll;
}

blockquote {
	border: none;
	margin: 5px 5px 20px;
	position: relative;
	padding: 25px 30px 5px 77px;
}

blockquote:before {
	content: "\e0c8";
	left: 5px;
	top: 0;
	position: absolute;
	color: #ccc;
	font: 60px 'Icons';
}

blockquote p {
	color: #514f4f;
	font-style: italic;
}

blockquote cite {
	display: block;
	text-align: right;
}

blockquote cite:before {
	content: '\2014';
	margin-right: 2px;
}

table {
  max-width: 100%;
  background-color: transparent;
  border-collapse: collapse;
  border-spacing: 0;
  margin-bottom: 20px;
}

table th,
table td {
  padding: 8px;
  line-height: 20px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid #dddddd;
}

table th {
  font-weight: bold;
}

table thead th {
  vertical-align: bottom;
}

@font-face {
	font-family: 'Icons';
	src:url('font/Icons.eot');
	src:url('font/Icons.eot?#iefix') format('embedded-opentype'),
		url('font/Icons.woff') format('woff'),
		url('font/Icons.ttf') format('truetype'),
		url('font/Icons.svg#Icons') format('svg');
	font-weight: normal;
	font-style: normal;
}

h1.title,
h2.title {
	font-size: 40px;
}

/* Global Styles
----------------------------------------------- */

body {
	color: #D7D7D7;
	background: no-repeat center top #3a393a;
}

a, 
a:visited { 
	color: #325267; 
	text-decoration: none; 
}

a:hover { 
	color: #474847; 
}

.left { 
	float: left; 
}

.right { 
	float: right; 
}

.clear { 
	clear: both; 
}

.clearfix:before,
.clearfix:after {
    content:"";
    display:table;
}

.clearfix:after {
    clear:both;
}

.wrap {
	margin: 105px auto 0;
	width: 1060px;
	position: relative;
	background-color: #363636;
	box-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
	padding-bottom: 25px;
	overflow: hidden;
	background-image: -moz-linear-gradient(180deg, #181718 0%, #363636 48.9%, #181718 100%);
}

.outside-logo { /*positions logo above navigation bar*/
	width: 1060px;
	margin: 45px auto 18px;
	position: relative;
}

.outside-logo #logo, .outside-logo #text-logo {
    float: none;
    margin: 0 auto;
    display: table;
}

.outside .wrap {
	margin-top: 7px;
}

header.primary nav {
	float: right;
}

.outside header.primary nav {
    float: none;
    margin: 0 auto;
    display: table;
}

.round {
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.shadow {
	opacity: 1;
}

.archive img.feature,
.single-podcast img.shadow {
	width: 100%;
}

.hidden {
	display: none;
}

hr {
	border-top: 1px dotted #6a6a6a;
	margin-bottom: 20px;
}

/* Header
----------------------------------------------- */

header.primary {
	position: relative;
	z-index: 20;
	background-color: #141414;
}

header.primary a, header.primary a:visited {
	color: #fff;
}

#tagline {
	position: absolute;
	top: -35px;
	right: 0;
	color: #ccc;
}

.outside #tagline {
    position: relative;
    top: auto;
    right: auto;
    float: none;
    margin-top: 0 !important;
    display: table;
    margin: -22px auto 0 !important;
    left: 8px;
    font-size: 6px;
}

#tagline p, #tagline h2 {
    margin: 0;
    padding: 0;
    font-size: 14px !important;
    font-style: none;
    text-transform: capitalize;
    letter-spacing: 1px;
    position: relative;
    top: -6px;
}

#logo, #text-logo {
	float: left;
}

#logo img {
	max-width: 100%;
	height: auto;
}

#logo p,
#logo h1 {
	margin: 0;
	padding: 0;
}

#text-logo h1,
#text-logo p {
	margin: 0;
	padding-top: 2px;
	padding-left: 10px;
	font-size: 26px;
	line-height: 1;
}

.outside #text-logo h1,
.outside #text-logo p {
	font-size: 40px;
	margin-bottom: 10px;
}

/* Navigation
----------------------------------------------- */

#mobile-menu { 
	display: none;
}

header.primary .menu,
header.primary .menu * { 
	margin: 0; 
	padding: 0; 
	list-style: none; 
}

header.primary .menu { 
	line-height: 1.0; 
}

header.primary .menu ul {
	position: absolute; 
	top: -999em; 
	width: 10em;
}

header.primary .menu ul li { 
	width: 100%;
}

header.primary .menu li:hover { 
	visibility: inherit;  
}

header.primary .menu li { 
	float: left; 
	position: relative; 
}

header.primary .menu a { 
	display: block; 
	position: relative; 
}

header.primary .menu li:hover ul,
header.primary .menu li.sfHover ul { 
	top: 26px; 
	z-index: 99; 
}

header.primary ul.menu li:hover li ul,
header.primary ul.menu li.sfHover li ul { 
	top: -999em;
}

header.primary .menu li:hover ul,
header.primary.menu li.sfHover ul { 
	left: 0; 
	top: 26px; 
	z-index: 99; 
}

header.primary .menu a.sf-with-ul { 
	padding-right: 2.25em; 
	min-width: 1px; 
}

header.primary ul.menu li li:hover ul,
header.primary ul.menu li li.sfHover ul {
	width: 200px;
	left:  200px; /* match ul width */
	top: 0;
}

header.primary ul.menu li li li:hover ul,
header.primary ul.menu li li li.sfHover ul {
	left:	200px; /* match ul width */
	top:	0;
}

header.primary .menu li {
	font-size: 16px;
}

header.primary .menu li a, header.primary .menu li a:visited {
    padding: 13px 20px;
    border-right: 0;
    margin: 0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

header.primary .menu li a {
	transition:.4s;
	-webkit-transition:.4s;
	-moz-transition:.4s;
}

header.primary .menu li a:hover {
	background-color: #0ea0d7 !important;
	transition:.4s;
	-webkit-transition:.4s;
	-moz-transition:.4s;
}

header.primary .menu li ul {
    background-color: #0ea0d7 !important;
    margin-top: 20px !important;
}

header.primary .menu li:last-child a {
	border: none;
}

header.primary .menu li ul li a,
header.primary .menu li ul li a:visited {
	border: none;
	background: transparent;
}

header.primary .menu li a:hover {
	background-color: #0ea0d7 !important;
	transition:.4s;
	-webkit-transition:.4s;
	-moz-transition:.4s;
}

header.primary .menu li:hover a {
    background-color: #0ea0d7 !important;  
}

header.primary .menu li ul {	
	background-color: #2a2a2a;
	margin-top: 5px;
}

header.primary .menu li ul li ul {
	margin-top: 0;
}

header.primary .menu li ul.sub-menu {
	margin-left: 0;
	overflow: visible !important;
}

header.primary .menu li ul li a:hover {
	background-color: rgba(0,0,0,0.1) !important;
}

header.primary .menu li ul.sub-menu {
	margin-left: 0;
	opacity: 0;
	visibility: hidden !important;
    display: block !important;
	top: 6px;
	transition:.4s !important;
	-webkit-transition:.4s !important;
	-moz-transition:.4s !important;
	max-height: 1px;
	/*overflow: hidden !important;*/
}

.menu ul ul, .menu ul ul ul, .menu ul ul ul ul {
    top: 0 !important;
    left: 100% !important;
    visibility: hidden !important;
    display: none;
}

header.primary .menu li:hover > ul.sub-menu, .menu ul ul ul, .menu ul ul ul ul {
	visibility: visible !important;
    display: block !important;
	opacity: 1 ;
	top: 26px;
	max-height: 100vh;
}

header.primary .menu li.no-click a,
body.light header.primary .menu li.no-click a {
	background: none;
	cursor: default;
}

/*** arrows (for all except IE7) **/
.sf-arrows .sf-with-ul {
    padding-right: 2.5em;
    *padding-right: 1em; /* no CSS arrows for IE7 (lack pseudo-elements) */
}
/* styling for both css and generated arrows */
.sf-arrows .sf-with-ul:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1em;
    margin-top: -3px;
    height: 0;
    width: 0;
    /* order of following 3 rules important for fallbacks to work */
    border: 5px solid transparent;
    border-top-color: #dFeEFF; /* edit this to suit design (no rgba in IE8) */
    border-top-color: rgba(255,255,255,.5);
}
.sf-arrows > li > .sf-with-ul:focus:after,
.sf-arrows > li:hover > .sf-with-ul:after,
.sf-arrows > .sfHover > .sf-with-ul:after {
    border-top-color: white; /* IE8 fallback colour */
}
/* styling for right-facing arrows */
.sf-arrows ul .sf-with-ul:after {
    margin-top: -5px;
    margin-right: -3px;
    border-color: transparent;
    border-left-color: #dFeEFF; /* edit this to suit design (no rgba in IE8) */
    border-left-color: rgba(255,255,255,.5);
}
.sf-arrows ul li > .sf-with-ul:focus:after,
.sf-arrows ul li:hover > .sf-with-ul:after,
.sf-arrows ul .sfHover > .sf-with-ul:after {
    border-left-color: white;
}

.home-top {
    padding: 0;
    margin-bottom: 25px;
    width:100%;
    height: auto;
    position:relative;
    overflow: hidden;
}

.home #top-sidebar {
  height:auto;
  float:left;
}

.home .top-sidebar {
  height:100%;
  /*position:absolute;*/
  position: relative;
  right:0px;
  float:right;
  overflow:auto;
  overflow-x:hidden;
  padding: 20px 22px;
  width: 350px !important;
}

/* Flexslider
----------------------------------------------- */

.flexslider {
	width: 100%; 
	margin: 0 0 20px; 
	padding: 0;
	position: relative; 
	zoom: 1;
}

.home .flexslider {
	margin-bottom: 0;
}

.flexslider ul {
	margin: 0;
	list-style: none;
}

.flexslider .slides > li {
	display: none; 
	-webkit-backface-visibility: hidden; /* Hide the slides before the JS is loaded. Avoids image jumping */
} 

.flexslider .slides img {
	width: 100%; 
	display: block;
}

.no-js .slides > li:first-child {
	display: block; /* Fallback for people without javascript */
}

.flexslider .slides {
	zoom: 1;
}

.flexslider .slides > li {
	position: relative;
}

.flex-container {
	zoom: 1; 
	position: relative;
}

.ie8 .flex-caption { /* IE rgba() hack */
	background:none; 
	filter:filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000', GradientType=1 ); 
	zoom: 1;
}

.flex-caption {
	width: 96%; 
	padding: 2%;
	margin: 0; 
	position: absolute; 
	left: 2%; 
	bottom: 15px; 
	background: rgba(0,0,0,.7); 
	color: #fff; 
	font-size: 16px; 
	line-height: 18px;
}

.flex-direction-nav a {
	margin: 0; 
	padding: 0;
	line-height: 0;
	width: 0;
	height: 0;
	display: block;
	position: absolute;
	z-index: 1000;
	cursor: pointer; 
	-webkit-transition: all .3s ease;
	top: 50%;
	font-family: 'Icons';
	font-size: 0;
	opacity: 0;
}

.flex-direction-nav .flex-next {
	right: 35px;
}

.flexslider:hover .flex-direction-nav .flex-next {
	right: 53px;
	opacity: .7;
}

.flex-direction-nav a:active.flex-next,
.flex-direction-nav a:active.flex-prev {
	opacity: 1;
	-webkit-transform: scale(.9);
	-moz-transform: scale(.9);
	-o-transform: scale(.9);
	transform: scale(.9);
	
	-webkit-transition: all .1s linear;
	-moz-transition: all .1s linear;
	-ms-transition: all .1s linear;
	-o-transition: all .1s linear;
	transition: all .1s linear;
}

.flex-direction-nav .flex-next:before {
	content: "\e0e4";
	font-size: 30px;
	padding: 10px 5px;
	background-color: #000;
	color: #fff;
}

.flex-direction-nav .flex-prev {
	left: 0;
}

.flexslider:hover .flex-direction-nav .flex-prev {
	left: 12px;
	opacity: .7;
}

.flex-direction-nav .flex-prev:before {
	content: "\e0e6";
	font-size: 30px;
	padding: 10px 5px;
	background-color: #000;
	color: #fff;
}

.flex-control-nav {
	display: none;
}

/* Home Page
----------------------------------------------- */

.static {
    padding: 20px 20px 0;
}

.static-1.fit-video {
	width: 621px;
	float: left;
	margin-right: 10px;
}

.static .static-2.fit-video {
	width: 296px;
	height: 197px;
	float: left;
}

.static img {
	float: left;
	background-color: #000000;
	margin-bottom: 9px;
}

.static:hover img {
	opacity: .7;
	transition: all .4s;
	-moz-transition: all .4s; 
	-webkit-transition: all .4s; 
	-o-transition: all .4s;
}

.static:hover img:hover {
	opacity: 1;
	transition: all .4s;
	-moz-transition: all .4s; 
	-webkit-transition: all .4s; 
	-o-transition: all .4s;
}

.static img.attachment-primary {
    margin-right: 9px;
    width: 715px;
    height: 403px;
}

.static img.attachment-secondary {
	width: 296px;
	height: 197px;
}

#top-sidebar.flexslider {
	float: left;
	width: 683px;
}

.top-sidebar {
	float: right;
	width: 290px;
}

.top-sidebar .widget {
	margin-left: 0;
	margin-right: 0;
	float: right;
}

/* Page Layouts
----------------------------------------------- */

#content {
	float: left;
	margin-top: 30px;
	margin-left: 30px;
	width: 680px;
	word-wrap: break-word;
}

#content.page-full, .content-full #content {
    width: 100%;
    padding: 0 50px;
    margin-right: auto;
    margin-left: auto;
}

.single-tribe_events #tribe-events-pg-template {
    padding: 30px 150px;
}

.content-right #content {
	float: right;
	margin-left: 0px;
	margin-right: 30px;
}

#sidebar {
	width: 300px;
	float: right;
	margin-top: 30px;
	margin-right: 15px;
}

.content-full #sidebar {
	display: none;
}

.content-right #sidebar {
	float: left;
	margin-right: 0;
	margin-left: 30px;
}

#sidebar .widget {
	margin-right: 0;
	margin-left: 0;
}

.blog article,
.archive article {
	margin-bottom: 32px;
	padding-bottom: 32px;
	overflow: hidden;
	border-bottom: 1px solid #d8d8d8;
}

.archive article .video {
	margin-bottom: 15px;
}

article.post > a img {
	width:100%;
}


p.post-meta {
	margin-bottom: 15px;
	font-size: 14px;
}

.archive article .wp-post-image {
	margin-bottom: 20px;
}

.pagination {
	text-align: center;
	position: relative;
}

body.dark .pagination a {
	position: relative;
	border:1px solid #777;
	padding:0 5px;
	width:25px;
	height:25px;
	display:inline-block;
	line-height:25px;
	color:#999 !important;
}

body.dark .pagination span.current:hover ,
body.dark .pagination a:hover {
	border:1px solid #6addff;
	background-color:#6addff;
	color:#fff !important;
	cursor:pointer;
}

body.dark .pagination span.current {
	position: relative;
	border:1px solid #777;
	padding:0 5px;
	width:25px;
	height:25px;
	display:inline-block;
	line-height:25px;
}

body.dark a.next.page-numbers ,
body.dark a.prev.page-numbers {
	position: relative;
	top: 3px;
	font: 17px 'Icons';
	width:25px;
	height:25px;
	display:inline-block;
	line-height:25px;
    padding: 0 0 0 2px !important;
}


body.light  .pagination a {
	position: relative;
	border:1px solid #ccc;
	padding:0 5px;
	width:25px;
	height:25px;
	display:inline-block;
	line-height:25px;
	color:#999 !important;
}

body.light .pagination span.current:hover ,
body.light .pagination a:hover {
	border:1px solid #1c3554;
	background-color:#1c3554;
	color:#fff !important;
	cursor:pointer;
}

body.light .pagination span.current {
	position: relative;
	border:1px solid #ccc;
	padding:0 5px;
	width:25px;
	height:25px;
	display:inline-block;
	line-height:25px;
}

body.light a.next.page-numbers ,
body.light a.prev.page-numbers {
	position: relative;
	top: 3px;
	font: 17px 'Icons';
	width:25px;
	height:25px;
	display:inline-block;
	line-height:25px;
    padding: 0 0 0 2px !important;
}

.video-iframe {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
}

.video-iframe iframe,
.video-iframe object,  
.video-iframe embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}



/* Staff
----------------------------------------------- */

article.staff-list {
    clear: both;
    margin-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 30px;
    margin-top: 10px;
}

article.staff-list h2 {
	font-size: 28px;
}

article.staff-list img {
    float: left;
    margin-right: 20px;
    height: auto;
    border: 1px solid #e5e5e5;
    padding: 5px;
}

p.job-title {
    font-weight: 600;
    margin: -5px 0 10px;
    color: #000;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

p.staff-meta {
	margin-bottom: 5px;
}

.single article.staff-list {
	height: auto;
}

.staff-meta span {
 font-size:0px;
 width: 30px;
 height: 30px;
 background-color:#1C3554;
 float: left;
 margin-right: 6px;
 border-radius: 50%;
transition:.4s;
}

.staff-meta span:hover {
	background:#000;
	transition:.4s;
}

.staff-meta span.info_optional ,
.staff-meta span.phone {
    font-size: 14px;
    width:auto;
 background-color:transparent;
 line-height:30px;
 color:#1C3554;
 padding:0 0 0 35px;
 position:relative;
transition:.4s;
}

.staff-meta span.info_optional:hover ,
.staff-meta span.phone:hover {
cursor:pointer;
 background-color:transparent;
color:#000;
transition:.4s;
}

.staff-meta span a {
 display:table;
 position:relative;
}

.staff-meta span a:before {
 content:"";
 font-size:18px;
 color:#fff;
 line-height:30px;
 width:30px;
 text-align:center;
 position:absolute;
 top:0;
 left:0;
}

.staff-meta span.phone:before {
 content:"\260F";
 font-size:16px;
 color:#fff;
 line-height:30px;
 width:30px;
 text-align:center;
 position:absolute;
 top:0;
 left:0;
 background:#1C3554;
 border-radius:50%;
        transition:.4s;
}

.staff-meta span.info_optional:before {
 content:"\2139";
 font-size:18px;
 color:#fff;
 line-height:30px;
 width:30px;
 text-align:center;
 position:absolute;
 top:0;
 left:0;
 background:#1C3554;
 border-radius:50%;
        transition:.4s;
}

.staff-meta span.info_optional:hover:before ,
.staff-meta span.phone:hover:before {
	background:#000;
        transition:.4s;
}

.staff-meta span.email a:before {
 content:"\2709";
}

.staff-meta span.twitter-link ,
.staff-meta span.facebook-link {
    font-family:'Icons';
    font-size:0px;
}

.staff-meta span.facebook-link a:before {
 content: "\e03c";
 font-size:15px;
}

.staff-meta span.twitter-link a:before {
 content: "\e02a";
 font-size:15px;
}

.single-staff .staff-meta {
    float: none;
    margin: 0px 0 20px;
    display: table;
}

/* Podcasting
----------------------------------------------- */

.single-podcast .wp-video,
.single-podcast .mejs-container,
.single-podcast .mejs-mediaelement,
.single-podcast .mejs-layer {
    width: 100% !important;
}

body.dark .podcast-details .series:before ,
body.dark .podcast-details .speaker:before ,
body.dark .podcast-details .download:before,
body.dark .podcast-details .listen:before,
body.dark .podcast-details .notes:before {
        color:#777;
}

ul.podcast-details {
    margin: 0 0 0 10px !important;
}

.podcast-details .series:before ,
.podcast-details .speaker:before {
	margin-right: 10px;
	font-size:15px;
        color:#1c3554;
 	width: 15px;
	float: left;
}

.podcast-details .download:before,
.podcast-details .listen:before,
.podcast-details .notes:before {
	font-family: 'Icons';
	font-size:15px;
        color:#1c3554;
 	width: 25px;
	float: left;
}

.podcast-details .download:before {
	content: "\e0b0";
	position: relative;
}

.podcast-details .listen:before {
	content: "\e005";
	position: relative;
}

.podcast-details .notes:before {
	content: "\e09d";
	position: relative;
}

.podcast-details .series:before {
    content: "\f140";
    font-family: "Ionicons";
}

.podcast-details .speaker:before {
    content: "\f213";
    font-family: "Ionicons";
}

ul.podcast-list {
	list-style: none;
	margin: 0;
}

.description {
	clear: both;
	padding: 20px;
}

.description p:last-of-type {
	margin-bottom: 0;
}

li.top-podcast h2 {
	margin-top: 5px;
}

li.podcast-episode {
    border: 1px solid #e5e5e5;
    margin-bottom: -1px;
    background: #fff;
    padding: 12px 12px 7px;
}

li.podcast-episode h3 {
    margin: 3px 0 0;
    font-size: 19px;
    font-weight: lighter;
    text-shadow: none;
}

li.podcast-episode img {
	float: left;
	margin-right: 10px;
	margin-bottom: 5px;
}

li.podcast-episode p {
	margin-bottom: 0;
	font-size: 14px;
}

ul.podcast-details {
	margin: 0;
	list-style-type: none;
}

ul.podcast-details li {
    font-size: 16px;
    padding-top: 3px;
    padding-bottom: 3px;
    margin-bottom: 5px;
}

ul.podcast-details li:before {
	font-family: 'Icons';
}

.mejs-container.mejs-audio {
	margin-top: 15px;
	margin-bottom: 15px;
}

ul.podcast-series {
    list-style-type: none;
    margin-right: -15px;
    margin-left: -15px;
    display: inline-block;
}

li.podcast-series-item {
    width: 50%;
    max-height: none;
    float: left;
    margin: 0 0 -6px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 10px solid #fff;
    max-height: 245px;
}

li.podcast-series-item img {
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    height: auto;
    position: relative;
    transform: scale(1);
    transition: .5s;
}

li.podcast-series-item:hover img {
    transform: scale(1.2);
    transition: 1s;
}

li.podcast-series-item .series-title {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    -webkit-transition: opacity .2s linear;
    -moz-transition: opacity .2s linear;
    -ms-transition: opacity .2s linear;
    -o-transition: opacity .2s linear;
    transition: opacity .2s linear;
    background-color: rgba(0, 0, 0, 0.5);
}

li.podcast-series-item .series-title a {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

li.podcast-series-item:hover .series-title {
	opacity: 1;
	-webkit-transition: opacity .2s linear;
	-moz-transition: opacity .2s linear;
	-ms-transition: opacity .2s linear;
	-o-transition: opacity .2s linear;
	transition: opacity .2s linear;
}

li.podcast-series-item .series-title a h3 {
    color: #fff;
    position: relative;
    top: 50%;
    margin-right: 10%;
    margin-left: 10%;
    transform: translateY(-50%);
}


.ie8 li.podcast-series-item .series-title {
	display: none;
}

.speaker_detail {
    display: table;
    width: 100%;
    margin-bottom: 30px;
    border: 1px solid #ddd;
    padding-right:20px;
}

.speaker_detail img {
	float:left;
	max-width:150px;
	margin-right:25px;
	padding:5px;
}

#tribe-events-pg-template {
    max-width: 1060px;
}

.speaker_detail h1 {
	margin-top:3%;
}

/* Widgets
----------------------------------------------- */

.home-lower {
	position: relative;
	margin: 0;
	padding: 0 20px 20px;
}

.widget {
	position: relative;
	float: left;
	width: 288px;
	padding: 10px;
	margin: 0 0 28px;
	background-color: #171617;
	word-wrap: break-word;
}

.home .widget {
	width: 324px;
}

.widget p:last-child {
	margin-bottom: 0;
}

.organizedthemes_contact ul {
	list-style: none;
}

.organizedthemes_contact li.tel {
    margin: 0 !important;
}

.organizedthemes_contact iframe {
	width: 100%;
}

h2.widget-title, h3.widget-title {
    margin: -10px -11px 15px;
    padding: 10px 15px;
    font-size: 24px;
    color: #fff;
    background-color: #DB3E25;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.widget-title a,
.widget-title a:visited {
	color: #fff;
}

ul.address,
ul.times,
ul.social-icons {
	margin: 15px 0 0;
}

ul.times {
	border-bottom: 1px solid #d5d5d5;
}

ul.times li {	
	font-size: 16px;
}


ul.social-icons {
	margin:15px auto 0 !important;
	display: table;
}

ul.social-icons li {
    float: left;	
}

ul.social-icons li a {
    float: left;
    margin:3px 1.5px;
    color: #fff;
    padding: 8px;
    border-radius: 50%;
    background-color: #444;
    font: 18px 'Icons';
    font-size: 12px;
    padding: 0;
    line-height: 30px;
    width: 30px;
    text-align: center;
}

ul.social-icons li a:visited {
	color: #fff;
}

ul.social-icons li a:hover {
	background-color: #e03d1d;
}

li#facebook a:before {
	content: "\e03c";
}

li#twitter a:before {
	content: "\e02a";
}

li#google a:before {
	content: "\e038";
}

li#flickr a:before {
	content: "\e03b";
}

li#yelp a:before {
	content: "\e024";
}

li#itunes a:before {
	content: "\e070";
}

li#rss a:before {
	content: "\e04e";
}

li#vimeo a:before {
	content: "\e028";
}

li#youtube a:before {
	content: "\e023";
}

li#pinterest a:before {
	content: "\e031";
}

p.newsletter-into {
    clear: both;
    font-size: 13px;
    margin-bottom: 3px;
    margin-top: 10px;
    text-transform: uppercase;
    text-align: center;
    border-top: 1px solid #ddd;
    margin: -5px 0 0;
    padding: 10px 0;
}

.newsletter input#email {
    border: none;
    background-color: #000;
    color: #6D6D6D;
    font-style: italic;
    width: 200px;
    padding: 6px;
    height: 47px;
    padding: 0 15px;
}

.newsletter input.button {
	margin-left: -5px;
	padding: 5px 8px 6px;
	border-radius: 0;
	height:47px;
}

.last-podcast h4 a {
	color: #fff;
}

.last-podcast h4 {
	margin-bottom: 5px;
	margin-top: 3px;
	font-size: 20px;
}

.last-podcast p,
.last-podcast .meta a,
.last-podcast .meta a:visited {
	color: #E6E6E6;
	margin-bottom: 7px;
}

.last-podcast p.meta {
	font-size: 12px;
	font-style: italic;
}

.last-podcast span:before {
	font-family: 'Icons';
}

.podcast-meta .download:before,
.podcast-meta .listen:before,
.podcast-meta .notes:before {
	font-family: 'Icons';
	margin-right: 6px;
}

.podcast-meta .download:before,
.last-podcast .download:before {
	content: "\e0b0";
	margin-right: 3px;
}

.podcast-meta .listen:before,
.last-podcast .listen:before {
	content: "\e005";
	position: relative;
	top: 1px;
	margin-right: 3px;
}

.podcast-meta .notes:before,
.last-podcast .notes:before {
	content: "\e09d";
	margin-right: 2px;
	position: relative;
	top: 1px;
}

.last-podcast p.podcast-meta {
	margin-bottom: 5px;
}

.full-archive {
	margin-top: 20px;
	margin-bottom: 4px;
	text-align: right;
}

.full-archive a.button {
	padding: 5px 12px;
}

ul.tweets {
	list-style: none;
	margin: 0 5px;
}

ul.tweets li {
	position: relative;
	padding: 5px 7px;
	margin-bottom: 10px;
	background-color: #1f1f1f;
}

.home-lower .widget.featured-posts {
	width: 603px;
}

.featured-posts .post {
	margin-bottom: 20px;
	border-bottom: 1px solid #d8d8d8;
	padding-bottom: 20px;
}

.post-highlight h4 {
	font-size: 26px;
	margin-bottom: 5px;
}

.post-highlight p:last-child {
	margin-bottom: 25px;
}

.post-highlight p.post-meta {
	margin-bottom: 5px;
	font-size: 12px;
}

.featured-posts a.more-posts {
	display: block;
	margin-bottom: 8px;
}

a.rsswidget img {
	display: none;
}

form#searchform label {
	display: none;
}

input#s {
	padding: 11px;
	width: 165px;
}

.ot-facebook iframe {
	max-width: 100%;
	max-height:214px;
}

.widget ul,
.widget ol {
    padding: 0;
    margin: 0 0 0 25px;
}

.tribe-events-list-widget .tribe-list-widget {
    border: 1px solid #ddd;
	border-bottom:none;
}

.tribe-events-list-widget .tribe-events-list-widget-events {
    padding: 0 24px 18px !important;
    margin-bottom: 20px;
	margin-top: 20px;
    border-bottom: 1px solid #ddd;
}

.tribe-events-list-widget .tribe-events-list-widget-events:last-child {
    margin-bottom: 0px !important;
}

.tribe-events-list-widget .tribe-event-title {
    margin-bottom: 7px;
    font-size: 16px;
}

.tribe-events-widget-link a {
	margin-top:10px;
	position:relative;
	display:table;
    font-size: 13px !important;
}

.tribe-events-widget-link a:after {
	content:"\2192";
	margin-left:5px;
}

.more-link {
	position:relative;
	display:table;
    font-size: 13px !important;
	font-weight:600;
}

.more-link:after {
	content:"\2192";
	margin-left:5px;
}


#tribe-geo-results h2.tribe-events-page-title, h2.tribe-events-page-title {
    font-weight: 400;
}

.tribe-events-list .tribe-events-loop .tribe-event-featured .tribe-events-content {
    padding-bottom: 12px !important;
}

.tribe-events-list .tribe-events-event-image {
    display: inline-block;
    float: none;
    margin: 0 0 12px;
    width: 100%;
}

.tribe-events-list .tribe-events-event-image+div.tribe-events-content {
    float: none;
    position: relative;
    width: 100%;
}

#tribe-events-content a {
	font-weight: 100;
}

.tribe-address span {
	margin-bottom:5px;
	display:inline-block;
}

.tribe-event-schedule-details {
	margin-bottom:15px;
}

.tribe-events-list .type-tribe_events {
    padding: 30px;
    border: 1px solid #ddd !important;
}

.type-tribe_events.tribe-event-featured {
	border:none;
}

#tribe-events .tribe-events-button, #tribe-events .tribe-events-button:hover, #tribe_events_filters_wrapper input[type=submit], .tribe-events-button, .tribe-events-button.tribe-active:hover, .tribe-events-button.tribe-inactive, .tribe-events-button:hover, .tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-], .tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-]>a {
    background-color: #0ea0d7;
}


.map-iframe {
    border: 1px solid #ddd;
    padding: 7px 7px 2px;
}

/* Footer
----------------------------------------------- */

footer.primary {
	width: 1060px;
	margin: 15px auto 20px;
	padding-bottom: 0;
	border: none;
	padding: 16px !important;
	height: auto;
    -webkit-box-shadow: 0px 7px 50px 0px rgba(38,50,56,0.07);
    -moz-box-shadow: 0px 7px 50px 0px rgba(38,50,56,0.07);
    box-shadow: 0px 7px 50px 0px rgba(38,50,56,0.07);	
    background:#fff;
}

footer.primary p {
	margin:0;
}

footer.primary,
footer.primary a,
footer.primary a:visited {
	color: #a5a5a5;
}

footer.primary p {
	font-size: 14px;
}

/* Images
----------------------------------------------- */

.alignleft {
    float: left;
    margin: 0 15px 30px 0;
}

.aligncenter {
    display: block;
    margin: 0 auto 30px auto;
}

.alignright {
    float: right;
    margin: 0 0 30px 15px;
}

.alignnone {
    float: none;
    display: block;
    margin: 0 0 30px 0;
}

p.size-full {
    width: 100%;
    height: auto;
    margin: 5px 0 30px 0;
}

.wp-caption {
	text-align: center;
	max-width: 100%;
	padding: 1.2%;
	border: 1px solid #d8d8d8;
	border-radius: 2px;
}

.wp-caption p,
.gallery-caption {
	margin-bottom: 0;
	font-size: 12px;
	font-style: italic;
}

/* Comments
----------------------------------------------- */

#comments {
	clear: both;
}

h2.comments-title {
	border-bottom: 1px solid #444;
	padding-bottom: 2px;
	margin-bottom: 20px;
	margin-top: 30px;
}

ol.commentlist {
	margin: 0;
	list-style: none;
}

.commentlist li.comment {
	clear: both;
	list-style-type: none;
	margin-bottom: 20px;
	position: relative;
	min-height: 98px;
	border-bottom: 1px solid #444;
}

.commentlist > li ul {
	margin-bottom: 10px;
}

.commentlist li.pingback {
	min-height: 0;
}

.commentlist li .avatar {
	float: left;
	margin-right: 20px;
	margin-bottom: 20px;
}

.commentlist cite.fn {
	font-size: 20px;
}

.comment-meta {
	font-size: 12px;
	margin-bottom: 5px;
}

.commentlist li .reply {
	/*opacity: 0;*/
}

.commentlist li:hover .reply {
	opacity: 1;
}

#comments .reply {
	position: absolute;
	top: 0;
	right: 0;
}

#comments .reply p {
	margin: 0;
}

#commentform input#author,
#commentform input#email,
#commentform input#url,
#commentform textarea#comment {
	width: 100%;
	border: none;
	padding: 10px;
	-moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.19);
	-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.19);
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.19);
	background-color: #e8e8e8;
}

#commentform input:focus#author,
#commentform input:focus#email,
#commentform input:focus#url,
#commentform textarea:focus#comment {
	background-color: #fff;
}

p.form-allowed-tags {
	display: none;
}

/* The Event Calendar
----------------------------------------------- */

#tribe-events-pg-template {
	width: 100%;
	padding: 30px;
	margin-right: auto;
	margin-left: auto;
}

.single-tribe_events .tribe-events-single-event-title {
    font-size: 50px;
}

.single-tribe_events .tribe-events-schedule h2 {
    font-size: 17px;
}

.tribe-events-event-meta .column, .tribe-events-event-meta .tribe-events-meta-group {
    padding: 10px 15px;
}

.single-tribe_events .tribe-events-venue-map {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 0;
    display: inline-block;
    float: right;
    margin: 20px 4% 2% 0;
    padding: 5px;
    vertical-align: top;
    width: 90%;
    zoom: 1;
}

body.light #tribe-events-content h2.entry-title a,
body.light #tribe-events-content h2.entry-title a:visited {
	color: #1C3554;
}

.tribe-events-button.tribe-events-gcal,
.tribe-events-button.tribe-events-ical {
	padding: 9px 20px;
	transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
}

.tribe-events-button.tribe-events-gcal:hover,
.tribe-events-button.tribe-events-ical:hover {
	color: #ffffff;
}

.tribe-events-event-list-meta table tbody td {
	background: transparent;
	color: #ccc;
}

.light .tribe-events-event-list-meta table tbody td {
	color: #000;
}

/* Light Style
----------------------------------------------- */

body.light {
	background-color: #fbfbfb;
	color: #000;
}

body.light h1,
body.light h2,
body.light h3,
body.light h4,
body.light h5,
body.light h6 {
	color: #222;
}

body.light a,
body light a:visited {
	color: #1C3554;
}

body.light #text-logo p,
body.light #text-logo h1 {
}

body.light #tagline p,
body.light #tagline h2 {
	color: #000;
}

body.light header {
	background-color: #1c3554;
}

body.light header.primary a, body.light header.primary a:visited, body.light header.primary ul li ul li a:hover {
    color: #fff;
}

body.light header.primary li a:hover {
	background-color: #efefef;
}

body.light header.primary .menu li ul {
	background-color: #efefef;
}

body.light header.primary ul li ul li a {
	background: transparent;
}

body.light header.primary .menu li ul li a:hover {
	background-color: #dcdcdc;
}

body.light .wrap {

    background: #fff;
    -webkit-box-shadow: 0px 7px 50px 0px rgba(38,50,56,0.07);
    -moz-box-shadow: 0px 7px 50px 0px rgba(38,50,56,0.07);
    box-shadow: 0px 7px 50px 0px rgba(38,50,56,0.07);
	padding-bottom: 25px;
}

body.light .widget {
	background-color: #fff;
	border: none;
}

body.light .widget-title {
    padding: 10px 15px;
    text-transform: uppercase;
}

body.light .widget-title a,
body.light .widget-title a:visited {
	color: #fff;
}

body.light .widget.ot-facebook {
	background-color: #fff;
}

body.light .last-podcast p,
body.light .last-podcast .meta a,
body.light .last-podcast .meta a:visited {
	color: #000;
}

body.light a.button,
body.light input.button,
body.light input[type="button"],
body.light input[type="submit"],
body.light ul.social-icons li a,
body.light ul.social-icons li a:visited {
	color: #fff;
	background-color: #1C3554;
}

body.light a:hover.button,
body.light input:hover.button,
body.light input:hover[type="button"],
body.light input:hover[type="submit"],
body.light ul.social-icons li a:hover {
	color: #fff;
	background-color: #0d1927;
}

body.light input:focus,
body.light textarea:focus {
	outline-color: #1C3554;
}

body.light .newsletter input#email {
	background-color: #f4f4f4;
	border: none;
}

body.light blockquote p  {
	background-image: none;
	text-shadow: none;
}

body.light p.post-footer {
	border-bottom: 1px solid #1C3554;
}

body.light p.post-footer a.right {
	background-color: #1C3554;
	color: #fff;
}

body.light ul.tweets li {
	background-color: #f2f2f2;
}

body.light footer,
body.light footer a,
body.light footer a:visited {
	color: #000;
}

body.light hr {
	border-top: 1px solid #fff;
	border-bottom: 1px solid #e8e8e8;
}

.fit-video + .title {
margin-top:15px;
}

.comment-form-comment textarea {
border:1px solid #ddd !important;
background:none !important;
box-shadow:none !important;
moz-shadow:none !important;
}

.contact-map + ul + ul {
border-bottom:1px solid #ddd;
    margin: 0 0 10px;
    padding: 0 0 10px;
}

.contact-map + ul {
    border-bottom: 1px solid #ddd;
    margin: 7px 0 10px;
    padding: 0 0 10px;
}

.contact-map + ul li, .contact-map + ul + ul li {
    border-bottom: 0;
    padding: 3px;
}

/* Portrait Tablets
----------------------------------------------- */

@media only screen and (min-width: 768px) and (max-width: 1023px) {
	
	.wrap {
		width: 750px;
	}
	
	#logo {
		position: relative;
		width: 100%;
		text-align: center;
		left: auto;
		padding-top: 7px;
		padding-bottom: 6px;
	}
	
	.outside-logo { /*positions logo above navigation bar*/
		width: 750px;
		margin: 45px auto 18px;
		position: relative;
	}
	
	.outside-logo #logo {
		float: none;
		text-align: center;
	}
	
	#tagline {
		width: 100%;
		text-align: center;	
	}
	
	.outside-logo #tagline {
		float: none;
		text-align: center;
		margin-top: 5px;
	}
	
	header.primary nav {
		padding-bottom: 3px;
		width: 100%;
	}
	
	header.primary nav ul {
		text-align: center;
	}
	
	header.primary nav ul li {
		display: inline-block;
		float: none;
	}
	
	header.primary nav ul li ul li {
		text-align: left;
	}
	
	#top-sidebar.flexslider {
		width: 100%;
		height: auto;
		min-height: 0;
		margin: 0 0 20px;
	}
	
	.top-sidebar,
	.home-lower {
		width: 740px;
		float: none;
		margin-right: auto;
		margin-left: auto;
	}
	
	.top-sidebar .widget {
		clear: both;
		/*width: 690px;*/
		width: 100%;
		float: none;
		border: none;
		/*margin-top: 20px;*/
		min-height: 0;
	}
	
	.home-top {
		padding: 20px;
	}
	
	.static img.attachment-primary {
		margin-right: 0;
		margin-left: 40px;
		float: none;
	}
	
	.static img.attachment-secondary {
		margin-left: 31px;
	}
	
	.home-lower .widget {
		margin: 11px 0 22px;
		width: 338px;
	}
	
	.home-lower .widget.featured-posts {
		width: 699px;
		clear: both;
		margin-top: 10px;
		margin-bottom: 10px;
	}
	
	#content {
		width: 90%;
		margin: 10px auto;
		float: none;
	}
	
	.pagination {
		margin-bottom: 30px;
		margin-top: -20px;
	}
	
	#sidebar,
	.content-right #sidebar {
		width: 100%;
		margin: 20px auto;
		float: none;
	}
	
	#sidebar .widget {
		float: left;
		margin: 11px 37px 22px;
		width: 300px;
	}
	
	footer.primary {
		width: 750px;
	}

}

@media only screen and (min-width: 960px) and (max-width: 1070px) {
	
	.outside-logo ,
	footer.primary ,
	.wrap {
		width:960px;
	}

	#tribe-events-pg-template {
		max-width:1000px;
	}

	.static img.attachment-primary {
		width: 608px;
	}

	#top-sidebar.flexslider {
		width: 608px;
	}

	#content {
		width: 580px;
	}

	.home .widget {
		width: 288px;
	}

	#top-sidebar.flexslider {
		width: 70%;
	}

	.home .top-sidebar {
		width: 30% !important;
    	padding: 0 1.5% 20px;
	}

	.top-sidebar .widget {
		width: 100%;
	}

}
/* Small Tablets and Phones
----------------------------------------------- */

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

	.home .widget {
	    width: 31.333%;
	    margin: 10px 1% 0;
	    float: left;
	    position: relative !important;
	    top: 0 !important;
	    left: 0 !important;
	}

	.home .top-sidebar .widget {
		width: 100% !important;
		margin: 10px 0 0;
	}

	.home-lower {
		width: 100%;
	}

}

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

	.home .top-sidebar {
		width: 100% !important;

	}

}

@media only screen and (max-width: 767px) {
	.tribe-events-loop .tribe-events-event-meta {
	    background: transparent;
	    border: none;
	    margin-top: 0;
	    padding: 0;
	}

	.single-tribe_events #tribe-events-pg-template {
	    padding: 30px 30px;
	}


	#content.page-full, .content-full #content {
	    padding: 0 20px;
	}

	#tribe-events-pg-template {
	    padding: 30px 15px;
	}

	.wrap {
		width: 90%;
	}
	
	#logo,
	#text-logo {
		position: relative;
		width: 100%;
		text-align: center;
		left: auto;
		padding-top: 7px;
		padding-bottom: 6px;
	}
	
	.outside-logo { /*positions logo above navigation bar*/
		width: 90%;
		margin: 10px auto;
		position: relative;
	}
	
	.outside-logo #logo {
		float: none;
		text-align: center;
	}
	
	.outside-logo #tagline {
		float: none;
		width: 100%;
		text-align: center;
		margin-top: 0;
	}
	
	#tagline {
		width: 100%;
		text-align: center;
		margin: 0 auto 5px;
	}
	
	#logo {
		position: relative;
		left: auto;
		float: left;
		padding: 6px 2px 2px;
	}
	
	header.primary nav {
		display: none !important;
	}
	
	#mobile-menu ul {
		display: none;
	}
	
	#mobile-menu { 
		display: block;
	}
	
	select.tinynav {
		border: none;
		width: 92%;
		background-color: #1b3554;
		color: #fff;
		font-weight: 700;
		-webkit-background-clip: padding-box;
		padding: 4px 0;
		margin: 4%;
	}
		
	.wrap .flexslider,
	#top-sidebar.flexslider {
		width: 100%;
		height: auto;
		min-height: 0;
		margin: 0 0 10px;
		clear: both;
	}
	
	.static img.attachment-primary {
		margin-right: 9px;
		width: auto;
		max-width: 100%x;
		height: auto;
	}
	
	.flex-caption {
		position: relative; 
		bottom: auto; 
		background-color: #000; 
		color: #fff;
		margin: 0;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
	}
	
	.top-sidebar {
		width: 100%;
		margin: 0;
	}
	
	.top-sidebar .widget,
	.home-lower .widget,
	#sidebar .widget {
		width: 90%;
		border: none;
		float: none;
		min-height: 0;
		margin-left: 3%;
	}
	
	.home-lower .widget.featured-posts {
		width: 90%;
	}
	
	#sidebar,
	.content-right #sidebar,
	.home-lower {
		width: 100%;
		margin: 0 auto;
	}
	
	p.podcast-link {
		float: none;
		position: relative;
		text-align: left;
	}
	
	.mejs-container {
		max-width: 100%;
	}
	
	#home-posts {
		width: 90%;
		margin-left: 10px;
	}
	
	#content,
	.content-right #content,
	.content-full #content,
	.content-left #content {
		width: 90%;
		margin: 10px auto;
		float: none;
	}
	
	article.staff-list {
		height: auto;
	}
	
	footer.primary {
		width: 90%;
	}
	
	footer.primary p {
		margin-bottom: 5px;
	}
	
	.footer-left,
	.footer-right {
		height: auto;
		width: 100%;
		float: none;
		text-align: center;
	}
	
	#content .tribe-events-event-entry,
	#content .tribe-events-event-list-meta {
		width: 100%;
		padding: 0;
		margin-bottom: 10px;
		border: none; 
	}
	
	#content span.tribe-events-calendar-buttons,
	#content span.tribe-events-month-nav {
		display: block;
		clear: both;
		float: none;
		position: relative;
		text-align: center;
	}
		
}

@media only screen and (min-width: 768px) and (max-width: 950px) {

	li.podcast-series-item {
	    width: 46%;
	}

}

/* Small Tablets Only
----------------------------------------------- */
@media only screen and (min-width: 550px) and (max-width: 767px) {
	
	ul.podcast-series {
		margin:0 -10px !important;
	}

	li.podcast-series-item {
	    width: 50%;
	    max-height: none;
	    float: left !important;
	    margin: 0 0 -6px !important;
	    text-align: center;
	    position: relative;
	    overflow: hidden;
	    border: 10px solid #fff;
	    max-height: none;
	}

	.home .home-lower .widget {
	    width: 41% !important;
	}

	li.podcast-series-item {
	    float: none;
	    margin: 0 auto 30px;
	    display: table;
	}

	.home-lower .widget {
		width: 42%;
		float: left;
		margin: 10px 1%;
	}
	
	#sidebar .widget {
		width: 42%;
		float: left;
		margin: 10px 4%;
	}
	
	#home-posts {
		margin: 20px auto;
		float: none;
		clear: both;
	}
	
	.newsletter input#email {
		width: 60%;
	}	

	ul.podcast-series {
	    text-align: center;
	    margin: 0 auto;
	    display: table;
	}

}

/* Smartphones Only
----------------------------------------------- */
@media only screen and (max-width: 549px) {
	
	.podcast-episode h3 {
		display:inline-block;
		margin:4px 0 5px;
		width:100%;
	}

	li.podcast-series-item {
	    width: 100%;
	}

	article.staff-list img {
	    float: none;
	}

	#sidebar .widget {
		width: 90%;
		float: none;
		margin: 10px auto;
	}
	
	.home-lower .widget {
		width: 88%;
		float: none;
		margin: 10px auto;
	}
	
	h1.title,
	h2.title {
		font-size: 32px;
	}
	
	h1 {
	  font-size: 40px;
	}
	
	h2 {
	  font-size: 26px;
	}
	
	h3 {
	  font-size: 20px;
	}
	
	input#s {
		width: 125px;
	}
	
	.newsletter input#email {
		width: 160px;
	}
	
	li.podcast-series-item {
		max-width: 100%;
		height: auto;
		float: none;
		overflow: hidden;
		margin-left: auto;
		margin-right: auto;
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
		box-shadow: none;
	}
	
	li.podcast-series-item img {
		position: relative;
	}
	
	li.podcast-series-item .series-title {
		max-width: 100%;
		height: 100%;
	}
	
	li.podcast-series-item .series-title a {
		max-width: 100%;
		height: 100%;
	}
	
}

/* THEME CHECK */

.widget select {
	width:100%;
	padding:10px;
	border:1px solid #ddd;
}

.widget ul li {
	margin-bottom:4px;
}

.widget.widget_rss ul {
	margin:0;
}

.widget.widget_rss li {
	list-style:none;
	padding:0 0 15px;;
	margin:0 0 15px;
	border-bottom:1px solid #ddd;
}

.widget.widget_rss li a {
	display:block;
	font-weight:600;
	font-size:16px;
}

.widget.widget_rss li span {
	font-size:13px;
	margin:5px 0;
	display:block;
	color:#888;
}

.podcast-meta span {
	margin-right:10px;
}

.widget.widget_tag_cloud a {
	color:#1c3554;
	font-size:14px !important;
	padding:4px 8px;
	border: 1px solid #ccc;
}

.widget.widget_tag_cloud a:hover {
	color:#fff;
	font-size:14px !important;
	padding:4px 8px;
	border: 1px solid #1c3554;
	background-color:#1c3554;
}







/*Fix new event calendar view issues*/

body.light .tribe-events-widget-events-list__header-title {
    color: white !important;
    padding: 10px 15px;
    text-transform: uppercase;
    font-size: 15px;
    font-family: var(--tec-font-family-sans-serif);
    var(--tec-font-family-sans-serif); }

body.light .tribe-events-widget-events-list__event-header, body.light .tribe-events-calendar-list__event-header {
    background: transparent;
}
