/**
 * Theme: Flat Bootstrap
 * 
 * The stylesheet for basic WordPress styles
 *
 * Contains padding, margins, list styles, etc.
 *
 * @package flat-bootstrap
 */
 
/** 
 * SET SOME REASONABLE DEFAULT WORDPRESS STYLES. MOST OF THESE ARE REQUIRED BY ALL
 * WORDPRESS THEMES.
 * ALSO INCLUDES HEADER NAV STYLINGS.
 */

/* Text meant only for screen readers. Required only for WordPress as Bootstrap uses
 * .sr-only and we apply that in this theme.
 */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	text-decoration: none;
}
p.screen-reader-text {
	margin-bottom: 0;
}
.screen-reader-text:focus {
	background-color: #f1f1f1;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: 700;
	height: auto;
	line-height: normal;
	padding: 15px 23px 14px;
	position: absolute;
	left: 5px;
	top: 5px;
	text-decoration: none;
	text-transform: none;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}

/* Style tables like TwentyEleven theme with lines between entries */
h3.entry-title, .feedzy-rss .rss_item h3 {
	font-weight:normal;
	font-family:UniversLight;
	font-size:1.6em;
}

.entry-content table,
.comment-content table {
	border-bottom: 1px solid #ddd;
	margin: 0 0 1.625em;
	width: 100%;
}
.entry-content th,
.comment-content th {
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 2.6em;
	text-transform: uppercase;
}
.entry-content td,
.comment-content td {
	border-top: 1px solid #ddd;
	padding: 6px 10px 6px 0;
}

/* Clearing floats */
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.entry-meta:before,
.entry-meta:after,
.pager:before,
.pager:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: '';
	display: table;
}

.clear:after,
.entry-content:after,
.entry-meta:before,
.entry-meta:after,
.pager:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/* Required WordPress Alignment */
.alignleft, .align-left, .left {
	display: inline;
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
}
.alignright, .align-right, .right {
	display: inline;
	float: right;
	margin-left: 10px;
	margin-bottom: 10px;
}
.aligncenter, .align-center, .center {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	margin-bottom: 10px;
}
.nocenter {
	text-align: left;
}

/* Normal WordPress captions */
.wp-caption {
	max-width: 100%;
}
.wp-caption-text,
.gallery-caption {
	text-shadow: none;
	font-size: 16px;
}

/* CALLOUTS */

.calloutBlock {
	margin: 16px 10% 16px 6%;
	padding: 18px 16px 24px;
}

h2.calloutTitle {margin:0; font-weight:bold;}
h2.calloutTitle a, h2.calloutTitle a:not(.btn) {text-decoration:none;}

.calloutImage img {
	max-width:46%; 
	margin: 14px;
}

.calloutText {padding:12px;}

aside.callout_widget {
	padding: 0px 24px 24px;
}

aside.callout_widget h2 a, h2.widget-title, h2.widget-title a {
	text-decoration:none !important; 
	font-weight: bold;
	text-transform: uppercase;
	font-family: UniversCondensed, san-serif; 
	font-size:26px;
}
aside.callout_widget .textwidget {line-height:18px;}

aside.callout_widget input {color:#000;}

/* Center the thumbnails since WordPress centers the caption text */
.gallery-icon img {
	margin: auto;
}

/* Mark "sticky" (featured) posts as "Featured" */
/* EDIT: Not accessible */
/*.sticky .entry-title:after {
	content: "Featured";
	display: inine-block;
	font-size: 20px;
	margin-left: 15px;
	padding: 10px;
	vertical-align: middle;
}*/

.bypostauthor {
}

/* Come on now, of course we need a margin before their name and comment */
.avatar {
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
}

/* For standard WordPress slideshow, get rid of black background. We want to leave 
 * whatever color background we have 
 */
.slideshow-window {
	background-color: transparent !important; 
	border: none !important;
}

/** 
 * STYLE THE CORE COMPONENTS OF THIS THEME. MOST OF THESE CLASSES ARE FROM THE UNDERLYING
 * _S (STARTER) THEME.
 */

/* Limit the page for really wide screens, such as an iMac */
#page, .nav /*.after-footer*/ {
	max-width: 1600px;
	margin: 0 auto;
}
.after-footer {}

.custom-header-image {
	margin: 0 auto;
	background-repeat: none;
	background-position: center center;	
	max-width: 100%;
	padding: 30px 0;
}


#masthead .container h1 img {display:inline;}

#masthead .container h1 {margin-top:1.65em;}

/* interfering with callout code; hiding unless we need...? */
/* .container img {float:left;} */

.container h1 ,
.single-tribe_events h1.tribe-events-single-event-title, .tribe-events-content h1 {
	line-height:1.05em;
	font-size:2.75em;
	/*text-align:center; */
	color:#c00;
	margin:.0px 0px 20px 0px;
}

.entry-content h1 {margin-left:0px;}

.container h1 a {
	color:#000;
}
.container h1 a:hover {color:#666;}

.site-title {
	font-family: UniversCondensed, san-serif; 
}
.site-description {
	font-family: UniversCondensed, san-serif;
}

.site-title a, .site-title a:hover, .site-title a:active {
	text-decoration: none;
}
.custom-header-text-color a:hover,
.custom-header-text-color a:focus {
	opacity: 0.75;
}
 .custom-header-image h1 {
	font-weight: 700;
}
.custom-header-image h2 {
	font-size: 24px;
}

a.scroll-down, a.scroll-down:hover span, a.scroll-down:focus span, .carousel-control:hover, .carousel-control:focus {
	color: #fff;
	font-size: 20px;
}

.content-header {
    padding-top: 35px;
    padding-bottom: 35px;
}
header.content-header {
	/*min-height: 170px;*/
}
.content-header i {
    font-size: 35px;
    text-align: center;
}

.content-area {
	padding-top: 15px;
	padding-bottom: 35px;
}
.content-area-wide .comments-area {
	padding-bottom: 35px;
}

.page .entry-content {
	padding-top: 0;
}

.entry-summary {
	margin-bottom: 25px;
}

article.post {
	margin-bottom: 25px;
}

/* 
 * HOMEPAGE STYLES
 */
/* Featured Image and captions */

#landing-feature {
	margin-bottom:40px;
	background-color:#333;
	max-height:440px;
	overflow:hidden;
}

#landing-feature img {width:auto; float:left; width: 60%; margin-right:26px;}

#landing-feature .featured-caption {
	position:relative;
	margin:4%;
	color:#fff;
	font-size:1.7em;
}
#landing-feature .featured-caption a {color:#c0c0c0;}
#landing-feature .featured-caption a:hover {color:#cc0000;}

#landing-feature .featured-caption a::after {
	//content: "&rarr;";
	content:"\2794";
	position: relative;
    top: 7px;
    left: 5px;
    display: inline;
    vertical-align: top;
    font-size: 0.7em;
    font-family: 'ncsu-icons';
    font-family: icons, sans-serif;
}

#landing-feature h1 {display:none;}
#landing-feature h2 {font-weight:bold;}
#landing-feature h3 {font-size:1.2em;}


 .heroText {
 	margin:36px 56px;
 	font-family: "Glypha LT W01 55 Roman", Georgia, serif;
 	font-size:2.4em;
 	line-height:1.2em;
 	text-align:center;
 	color:#c00;
 }
 @media (max-width: 640px) {
 	.heroText {font-size:1.4em;}
 }

 .profile-row {
 	float: none;
 	text-align: center;
 	white-space: nowrap;
 }

  .profile-row .col-md-1,  .profile-row .col-md-2,  .profile-row .col-md-3,  .profile-row .col-md-4 {
  	display:inline-block;
  	float:none !important;
  	vertical-align: top;
  }
/* THE RSS FEED (FEEDZY PLUGIN) STYLING */

.feedzy-rss .rss_item {
	border:none;
	width: 31%;
	padding: 0px;
	margin: 0 12px;
	float: left;
}
.page-template-page-home .feedzy-rss .rss_item {width: auto;}

.feedzy-rss .rss_item h3 {margin-top:0px;}

.feedzy-rss ul li.rss_item:before {display: none;}



 .home .calendarDisplay {border-right:solid 1px #ccc; padding-right:16px; height:100%;}
 .page-template-page-revisedhome .calendarDisplay {border: none; margin-bottom:30px;}

/*.page-posts h2, .landing-posts h2, .page-template-page-featureNews #main-grid h2 {
 	text-transform:uppercase; 
 	color:#333;
 	font-family:UniversCondensed,Arial,sans-serif;
 	font-weight:bold;
 	font-size:24px;
 }
.calendarDisplay h2 {
	text-transform:uppercase; 
 	font-family:UniversCondensed,Arial,sans-serif;
 	font-weight:bold;
 	font-size:24px;
}*/

/* THE EVENTS CALENDAR PLUGIN STYLING */
.page-template-page-revisedhome h2.tribe-events-page-title,
.page-template-page-revisedhome .tribe-events-user-recurrence-toggle,
.page-template-page-revisedhome #tribe-events-header,
.page-template-page-revisedhome .tribe-events-list-separator-month,
.page-template-page-revisedhome a.tribe-events-button,
.page-template-page-home h2.tribe-events-page-title,
.page-template-page-home .tribe-events-user-recurrence-toggle,
.page-template-page-home #tribe-events-header,
.page-template-page-home .tribe-events-list-separator-month,
.page-template-page-home a.tribe-events-button
{display:none;}

/* Styles for a 2-col (original home) and 3-col layout (revised) */
.page-template-page-revisedhome .tribe-events-list .type-tribe_events {
	border: none;
	width: 33%;
	padding: 10px 15px 20px 0px;
	float: left;
}

.page-template-page-home .tribe-events-list .type-tribe_events {
	border: none;
	width: 50%;
	/*padding: 10px 20px 10px 0px;*/
	margin: 16px 0px;
	float: left;
}

.page-template-page-revisedhome .tec-ncsu-date-block,
.page-template-page-home .tec-ncsu-date-block {
	border: solid 1px #c00;
	float: left;
	background-color:#c00;
	color:#fff;
	width:64px;
	height: 96px;
	padding: 7px;
	font-size: 1.6em;
	font-weight: 500;
	text-align: center;
	line-height: 1.1em;
	font-family: "Glypha LT W01 55 Roman", Georgia, serif;
	margin: 0px 10px 8px 0px;
}
.page-template-page-revisedhome .tec-ncsu-date-day,
.page-template-page-home .tec-ncsu-date-day {
	font-size:1.6em; line-height:1.2em;
}

.tribe-events-list-separator-month+.type-tribe_events.tribe-events-first,
.tribe-events-list .type-tribe_events:first-of-type {padding:0px !important;}

.page-template-page-revisedhome .tribe-mini-calendar-event 
.page-template-page-home .tribe-mini-calendar-event {
	border-bottom:none;
	display: block;
 	-webkit-column-break-inside: avoid; /* Chrome, Safari, Opera */
    page-break-inside: avoid; /* Firefox */
    break-inside: avoid; /* IE 10+ */
    clear:both;
    margin:12px 0px 18px;
}

.page-template-page-revisedhome .tribe-mini-calendar-event {
	border-bottom: solid 1px #f2f2f2;}
}

.page-template-page-revisedhome .tribe-mini-calendar-event .list-date,
.page-template-page-home .tribe-mini-calendar-event .list-date {
	padding:12px 8px;
	background-color:#c00;
 	color:#fff;
 	font-family: "Glypha LT W01 55 Roman", Georgia, serif;
 	font-weight:normal;
 	text-align: center;
 	font-size:1.3em;
 	line-height:0.9em;
}

.page-template-page-revisedhome h3.tribe-events-list-event-title,
.page-template-page-home h3.tribe-events-list-event-title {
	margin: 0px;
	float: left;
	clear:none;
	font-weight: normal;
	max-width:73%;
}
.page-template-page-revisedhome .tribe-events-loop .tribe-events-event-meta,
.page-template-page-home .tribe-events-loop .tribe-events-event-meta {
	margin: 0px;
	/*float: left;*/
	clear:none;
	font-weight: normal;
	max-width:73%;
}

.page-template-page-revisedhome .tribe-mini-calendar-event .list-date,
.page-template-page-home .tribe-mini-calendar-event .list-date {
	margin:0.5em 0.8em 1.0em 0;
	padding:1.4em 0.85em;
	width:auto;
	background-color:#c00;
 	color:#fff;
 	font-family: "Glypha LT W01 55 Roman", Georgia, serif;
 	font-weight:normal;
 	text-align: center;
 	
}

.page-template-page-revisedhome .tribe-mini-calendar-event .list-monthname, 
.page-template-page-home .tribe-mini-calendar-event .list-monthname {
	font-size: 1.6em;
	line-height:0.8em;
}

.page-template-page-revisedhome .tribe-mini-calendar-event .list-daynumber,
.page-template-page-home .tribe-mini-calendar-event .list-daynumber {
	font-size:2em;
	line-height:1.0em;
}

.page-template-page-revisedhome .tribe-mini-calendar-event .list-info,
.page-template-page-home .tribe-mini-calendar-event .list-info {
	float:left;
	max-width:275px;
	font-family:UniversLight;
	font-size:1.1em;
	line-height:1.2em;
}

.tribe-events-schedule h2 {font-weight: normal; font-size:2.0em;}

h3.tribe-events-title {
	margin: 0px;
	font-family:UniversLight;
	font-weight:normal;
}

/*.tribe-events-cal-links a, #tribe-events .tribe-events-button, .tribe-events-button {background-color: #992325;}*/

#tribe-events ul li::before {content: none;}


/* SIMPLE CALENDAR PLUGIN STYLING */
  .calendarDisplay nav.simcal-calendar-head {display:none !important;}
  .calendarDisplay .simcal-calendar-list {
 	-webkit-columns: 2 200px;
  	-moz-columns: 2 200px;
  	columns: 2 200px;
  	-webkit-column-gap: 2em;
  	-moz-column-gap: 2em;
  	column-gap: 2em;
 }
 .calendarDisplay .gce-navbar, .gce-list-title {display:none;}
 .calendarDisplay .gce-feed {clear:both;padding:30px 0px; }
 .calendarDisplay .simcal-calendar-list .simcal-day-label {display: none}
 .calendarDisplay .simcal-calendar-list .simcal-event-start {
 	background-color:#c00;
 	color:#fff;
 	padding:20px 15px;
	margin-right:10px;
	margin-bottom: 14px;
	min-width:95px;
	min-height: 100px;
	float:left;
 	font-size:25px;
 	line-height:34px;
 	font-family: "Glypha LT W01 55 Roman", Georgia, serif;
 	text-align: center;
 }
 ul.simcal-events {margin-top:0px !important; white-space: nowrap;}
 li.simcal-event:before {content:none;}
 li.simcal-event {
 	display: block;
 	-webkit-column-break-inside: avoid; /* Chrome, Safari, Opera */
    /*page-break-inside: avoid; /* Firefox */
    /*break-inside: avoid; /* IE 10+ */
    clear:both;
    overflow: hidden;
}
li.simcal-event p a {text-decoration:none; line-height: 18px;}

 li.simcal-event:before {content: none;}

 .calendarDisplay .simcal-calendar-list {display: block; background-color:#fff;}
 .calendarDisplay .simcal-events-list-container {vertical-align: top;}
 .calendarDisplay .simcal-calendar-list .simcal-event-title {clear:left;}
 .calendarDisplay .simcal-calendar-list .simcal-event-start {color: #fff;}
 .calendarDisplay .simcal-calendar-list .simcal-event-start span {display: block; font-size: 1.8em; color:#fff;}
 .calendarDisplay .simcal-calendar-list p {line-height:1.05em;}

 .calendarDisplay .simcal-event-details {font-size:.96em !important; }
 .calendarDisplay .simcal-event-details br {display: none;}

/* END SIMPLE CAL PLUGIN STYLING */

 .profilePosts {background-color:#e5e5e5; width:100%;}

 .profilePosts p a, .page-posts p a {text-decoration:none; font-size:1.5em;}

 .page-posts img.thumbnail {background:none; border:none; }

.page-posts article {text-align:center;}


.home .entry-content {margin:20px 10px 10px;}

.profilePosts article.post {margin-top:25px;}
.profilePosts h3.entry-title {margin-top:0px; font-weight:normal; font-family:UniversLight,Arial,sans-serif;}
.profilePosts h3.entry-title a {white-space: normal;}
.profilePosts .entry-summary p, .archive .entry-summary p {line-height:1.5em;}

/* Let's get some whitespace before the footer nav and credits */
.sidebar-footer {
	padding-top: 35px;
}
.sidebar-footer h1, 
.sidebar-footer h2, 
.sidebar-footer h3, 
.sidebar-footer h4, 
.sidebar-footer h5, 
.sidebar-footer h6 {
	margin-top: 0;
	padding-bottom: 15px;
}
.sidebar-footer aside.widget {
	margin-bottom: 35px;
}

footer.entry-meta, 
div.entry-meta, 
.edit-link {
	font-size: 16px;
}
article .entry-meta {padding-bottom:14px;}

.edit-link a {
	color: #7f8c8d;
}
.edit-link a:hover, 
.edit-link a:focus {
	color: #3bc492;
}

.after-footer {
	padding-top: 15px;
	padding-bottom: 15px;
}

/* Let's put dividers between footer menu items */
#footer-navigation ul.dividers > li:nth-child(n+2):before {
  content: "";
  display: inline-block;
  height: 10px;
  margin-right: 10px;
  border-left: 1px solid #dddddd;
}

/* Since footer nav has screen reader text, need to pad site credits to line them up */
#site-credits {
	padding-top: 10px;
	font-size:0.8em;
}

/* For sidebar, add some whitespace */
#secondary {
	padding-top: 0px;
	padding-bottom: 35px;
	margin-top:60px;
}
#secondary aside.widget {
	margin-bottom: 20px; /* Heading will add 25px */
}

/* Design quirk from the custom design - gray bar above text widget */

#secondary aside.widget_text {
	padding-bottom:24px;
	border-bottom: solid 1px #e1e1e1;
}

/* Fix RSS icon */
h2.widget-title a.rsswidget img {float: left; margin:10px;}


/* Center the text after the footer for smartphones */
@media (max-width: 640px) {
	.footer-nav-menu, .site-credits {
		text-align: center;
		float: none !important;
	}
	.site-credits {
		padding-bottom: 15px;
	}
}

/* Make sure no content breaks the layout */
img, embed, iframe, media, swf, pre, code, container, select, .videopress-placeholder {
	display: block;
	max-width:100%;
	/*height: auto;*/ /* this messes up embedded videos */
	overflow:hidden;
	white-space: pre;           /* CSS 2.0 */
	white-space: pre-wrap;      /* CSS 2.1 */
	white-space: pre-line;      /* CSS 3.0 */
	white-space: -pre-wrap;     /* Opera 4-6 */
	white-space: -o-pre-wrap;   /* Opera 7 */
	white-space: -moz-pre-wrap; /* Mozilla */
	white-space: -hp-pre-wrap;  /* HP Printers */
	word-wrap: break-word;      /* IE 5+ */
}
img, .videopress-placeholder {
	height: auto;
}

/* Get rid of bullets on comment <ul> and set some padding and indenting */
.comment-list,
.comment-list .children {
	list-style-type: none;
	padding: 0;
}

.comment-list .children {
	margin-left: 25px;
}

.reply {
	margin-bottom: 25px;
}

/* Get rid of the word "says" from comments */
.says {
	display: none;
}

li.pingback {
	margin-bottom: 15px;
}

.cat-links, .tags-links {
	margin-right: 10px;
}

.posted-on {
	margin-right: 5px;
}
.by-line, .comments-link {
	/*margin-left: 5px;
	margin-right: 5px;*/
}

/* Get rid of bullets on sidebar lists and in our footer columns */
#secondary ul, 
footer#colophon.site-footer ul {
	list-style: none;
	padding-left: 0;
}
#secondary ul ul, 
footer#colophon.site-footer ul ul {
	list-style: none;
	padding-left: 25px;
}

#secondary ul li, 
footer#colophon.site-footer ul li {
	margin-top: 10px;
}

/* Style comments */
.comment-list .children {
	margin-left: 5%;
}

.comment-form [for="author"],
.comment-form [for="email"],
.comment-form [for="url"],
.comment-form [for="comment"] {
	float: left;
	width: 80px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
	max-width: 310px;
	width: 70%;
}

.comment-form, 
.comment-textarea, 
textarea {
	max-width: 100%;
	border-color: #ccc;
}


/* Styles for default WordPress comments */
textarea#comment {
	max-width: 743px; /*largest width of content area w/sidebar*/
	width: 100%;
	/*max-height: 70px;*/
	max-height: 140px;
}
/*
textarea#comment:active,
textarea#comment:focus {
	max-height: 140px;
}
*/

/* Hide the label "Comment" above the comment box as its pretty obvious already */
.comment-form-comment label {
	display: none;
}
p.comment-subscription-form {
	margin-bottom: 10px;
}

/* Style the WordPress calendar widget because Bootstrap doesn't even add a 'table'
 * class to tables
 */
#calendar_wrap {
	font-size: 14px;
	max-width: 300px;
}
.widget_calendar #wp-calendar {
	color: #555;
	width: 95%;
	text-align: center;
}
.widget_calendar #wp-calendar caption,
.widget_calendar #wp-calendar td,
.widget_calendar #wp-calendar th {
	text-align: center;
}
.widget_calendar #wp-calendar caption {
	font-weight: 500;
	padding: 5px 0 5px 0;
	text-transform: uppercase;
}
.widget_calendar #wp-calendar th {
	background: #f4f4f4;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	font-weight: bold;
}
.widget_calendar #wp-calendar tfoot td {
	background: #f4f4f4;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

/**
 * SET SOME BOOTSTRAP STYLES AS A BASE FOR ALL THEMES
 */

/* When full-width pages are changed back to sidebar, fix the layout */
.content-area .entry-content .container {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}
.content-area .entry-content .container .row {
	margin-left: 0;
	margin-right: 0;
}
 
.lead {
	font-size: 22px;
}


/* Bolder text for site name in navbar */
.navbar-brand {
	font-weight: 500;
	height: 50px; /* Fixes layout if nav bar wraps before collapsing for mobile */
}


/* Header (audience) Nav Stylings */

a .glyphicon-thin-arrow, a .glyphicon-roman-arrow {
     font-size: 1.5em;
    vertical-align: top;
    left: 0;
    -webkit-transition: left .2s ease;
	transition: left .2s ease;
}

.page-template-page-featureNews a .glyphicon-thin-arrow, a .glyphicon-roman-arrow {line-height:15px;}

a:hover .glyphicon-thin-arrow, a:focus .glyphicon-thin-arrow, a:active .glyphicon-thin-arrow, a:hover .glyphicon-roman-arrow, a:focus .glyphicon-roman-arrow, a:active .glyphicon-roman-arrow {
     left: 0.25em;
     -webkit-transition:left .2s ease;
     transition:left .2s ease;
}

.audience-menu {
	font-family: UniversLightCondensed;
	font-size: 1.1em;
	position: relative;
	/*right: -15px;*/
	float: right;
	margin: 11px 0;
}

.audience-menu li {
float:left;
}
.audience-menu li+li {
border-left: 1px solid #999;
}

.audience-menu a {
	padding: 0 0.7em;
}

ul.header-nav, ul.navbar-nav {
	display: inline;	
	padding: 0px;
}

/*ul.navbar-nav li:hover {background:none;}*/
ul.header-nav li a, ul.navbar-nav li a {color:#333; padding: 12px;}
ul.header-nav li a:hover {color:#a20000;}

ul.header-nav li:before {
	content: none;
}
ul.header-nav li:first-child:before {visibility: hidden;}

ul.navbar-nav li:first-child a {padding-left:0px;}
ul.navbar-nav li:last-child a {padding-right:0px;}


ul.dropdown {
	width:100%;
	min-height:46px;
	display:inline-block;
	padding:8px 20px;
	border-top: solid 1px #e1e1e1;
	border-bottom: solid 1px #e1e1e1;
	margin-bottom: 10px;
}

ul.subNav li {
	float:left;
	padding:2px 12px;
}
ul.subNav li:before {display:none;}

ul.dropdown-menu li a {color:#fff; padding-left:12px !important; padding-right:12px !important;}
ul.dropdown-menu {background-color:#333; border:none;}

.header-nav-title {color: #000; font-size:1.2em;}

.menu-taxonomy-links-container {padding-left:3px;}

/* TOP (AUDIENCE) MENU MOBILE NAV FIXES */

div.parent-info div.audience-menu {float:left; margin-left:-10px;}

#navToggle {display: none;}


/* Set a hover effect for the custom header image (logo) */
/*.navbar-inverse .navbar-brand:hover, 
.navbar-inverse .navbar-brand:focus, 
.navbar-default .navbar-brand:hover, 
.navbar-default .navbar-brand:focus {
	opacity: 0.75; 
}*/

header.site-header.page-header {
	border-bottom: 0;
}

.carousel-inner img {
	margin-left: auto;
	margin-right: auto;
}
.carousel-caption {
	max-width: 100%;
	text-shadow: none;
	padding-left: 10px;
	padding-right: 10px;	
}

/* Bootstrap uses "active" style on the <li>, but WordPress paginate_links() uses 
 * "current" in a <span> tag on the link. Also set the hover to match the primary 
 * button color. 
 */
/*
.pagination>li>a:hover, 
.pagination>li>span:hover, 
.pagination>li>a:focus,
.pagination>li>span:focus, 
span.page-numbers.current {
  background-color: #16a085; /*darkgreen*/
  /*border-color: #16a085;
}
*/

.jumbotron {
	margin-bottom: 0;
}
/*
.nav-tabs>li.active>a, 
.nav-tabs>li.active>a:hover, 
.nav-tabs>li.active>a:focus {
	color: inherit;
	font-weight: 500;	
}*/



/* Style <code> tag like <pre> tag so its white instead of red */
code {
    /*font-weight: 300;
    font-size: 15px;
    line-height: 1.428571429;*/
    word-break: break-all;
    word-wrap: break-word;
    color: #2f2f2f;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

/**
 * ADD NEW STYLES TO HANDLE THEME FEATURES, SUCH AS HEADER IMAGES AND FEATURED IMAGES
 */
.section-image, 
.cover-image {
  	display: table;
	background-repeat: no-repeat;
	text-align:center;
	background-attachment: scroll;
	background-position: top center;
	background-color: #e7e7e7; /*gray*/
	width: 100%;
  	position: relative;
  	vertical-align: top;
	
	-webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.section-image-overlay, 
.cover-image-overlay {
  	display: table-cell;
  	vertical-align: middle;
	overflow: hidden;
	padding: 50px;
	padding: 5%;
	z-index: 2;	
}
.cover-image, 
.cover-image-overlay {
  height: 100%; /* For at least Firefox */
  min-height: 480px;
}
.section-image, 
.section-image-overlay {
	min-height: 340px;
}
.section-image h1, 
.cover-image h1 {
	font-size: 42px;
	color: #fff;
	line-height: 1.1;
}
.section-image h2, 
.cover-image h2 {
	font-size: 30px;
	color: #fff;
	line-height: 1.1;
}
.section-image h3, 
.section-image h4, 
.section-image p, 
.cover-image h2, 
.cover-image h3, 
.cover-image h4, 
.cover-image p {
	color: #fff;
}

.cover-image .spacer {
    margin-top: 100px
}

.section-featured h1 {
	font-size: 42px;
	line-height: 1.1;
}
.section-featured h2 {
	font-size: 30px;
	line-height: 1.1;
}
.section-featured {
	padding-top: 60px;
	border-bottom: #bdc3c7 solid 5px;
}

@media (max-width: 768px) {
	.audience-menu {display:none;}/*
	.audience-menu ul.header-nav {
		float:right;
		display:block;
	}
	.audience-menu ul.header-nav li {
		float: right; clear: right; border-left: none;
	}*/
	#navToggle {
    	display:block; 
    	margin: 10px;
    }
    #navToggle a {color:#000;}
  	.menuUp nav {position:absolute; right:1000px;}
  	.menuDown nav {position:inherit;}


	#masthead .container h1 {
		clear:right; line-height:30px;
	}
	header#masthead .container {border-bottom:none !important; }

	#landing-feature {overflow: hidden; max-height:600px;}
	#landing-feature img {float:left; width:100%; margin-bottom:8px;}

	#landing-feature .featured-caption {
		float:none;
		padding:10px;
		font-size:1.2em;
	}

	/* MAIN MENU MOBILE */
	.navbar-nav>li>ul.dropdown-menu li a {color:#333;}
	.navbar-nav>li>ul.dropdown-menu li li a {color:#fff;}
	.navbar-nav>li>ul.dropdown-menu li li ul {display:none;}

	.navbar-nav .dropdown-menu:before {
	border-bottom: 4px solid #333;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	bottom: 100%;
	content: '';
	left: 0em;
	top:1.3em;
	position: absolute;
	transform: translateX(-50%);
	-wekbkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	-o-transform: translateX(-50%);
}
	 .calendarDisplay {border:none; padding-right:0px; height:100%;}
	 .landing-feature .featured-caption {font-size:1em; margin:10px !important;}

	/* Mobile Menu */
	#menu-icon {
		display: hidden;
		width: 34px;
		height: 44px;
		background:url(../images/mobile-menu-icon.png) center;
		background-repeat:no-repeat;
	}

	.profile-row {white-space: normal;}
	.profile-row .col-md-1,  .profile-row .col-md-2,  .profile-row .col-md-3,  .profile-row .col-md-4 {
  	float:left;
  	vertical-align: top;
  	}


}


/* For larger screens, increase font size and spacing */
@media (min-width: 768px) {
	.cover-image h1,
	.section-image h1,
	.section-featured h1,
	.wp-caption-text-fullwidth h1 {
		font-size: 70px;
		letter-spacing: 3px;
	}
	.cover-image h2,
	.section-image h2,
	.section-featured h2,
	.wp-caption-text-fullwidth h2 {
		font-size: 42px;
		letter-spacing: 2px;
	}
	.cover-image .spacer {
		margin-top: 200px;
	}
	.cover-image, .cover-image-overlay {
		min-height: 700px;
	}
	.section-image, .section-image-overlay {
		min-height: 400px;
	}
}

/* use <span> tags for glpyicons because WordPress visual editor strips empty <i> tags.
 * to make them large as in using for icons, add "icon-lg" class. 
 */
span.icon-lg,
i.icon-lg {
    font-size: 50px;
	padding: 20px;
}
span.icon-xlg,
i.icon-xlg {
    font-size: 50px;
	padding: 20px;
}

/* 
 * PADDING AND OTHER UTILITIES
 */
 .padding {
 	padding: 25px;
 }
.padding-top {
	padding-top: 25px; /* Match Hx tag top margins */
}
.padding-bottom {
	padding-bottom: 25px;
}
.padding-top-bottom {
	padding-top: 25px;
	padding-bottom: 25px;
}
.padding-right {
	padding-right: 35px; /* Match grid gutters */
}
.padding-left {
	padding-left: 35px; /* Match grid gutters */
}
.padding-left-right {
	padding-left: 35px; /* Match grid gutters */
	padding-right: 35px; /* Match grid gutters */
}
.nopadding-nomargin {
    margin: 0;
    padding: 0;
}
.centered {
    text-align: center;
}



.page-subpages, .page-posts {background-color:#f2f2f2; margin:30px 0;  padding-top:22px;}
.page-subpages .container {padding:0px;}

/* 
 * STYLE SOME COMMON WORDPRESS PLUGINS, SUCH AS JETPACK
 */

/* Globally hidden elements when Infinite Scroll is supported and in use.
 * Older / Newer Posts Navigation (always hidden)
 * Theme Footer and Page Bottom widget area (when set to scrolling) 
 */
.infinite-scroll .paging-navigation, 
.infinite-scroll.neverending .site-footer,
.infinite-scroll.neverending .sidebar-pagebottom { 
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that
 * were hidden before (via .neverending) 
 */
.infinity-end.neverending .site-footer,
.infinity-end.neverending .sidebar-pagebottom {
	display: block;
}

/* Get rid of the smiley face when using Jetpack stats */
img.wp-smiley {
     display: inline-block;
}

/* Format Jetpack contact form with Bootstrap's form-control tag */
form.contact-form input[type='text'], 
form.contact-form input[type='email'], 
form.contact-form textarea {
    display: block;
    width: 98%;
    height: 36px;
    padding: 6px 12px;
    font-size: 16px;
    line-height: 1.428571429;
    color: #a1a1a1;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s
}
form.contact-form input[type='text']:focus, 
form.contact-form input[type='email']:focus, 
form.contact-form textarea:focus {
    color: #555;
}
