/*
Theme Name: DASA Main
Author: Jen McFarland, OIT Design
Author URI: https://design.oit.ncsu.edu
Description: DASA NCSU-branded theme built atop the Flat Bootstrap by XtremelySocial. It automatically adapts for desktops, tablets, and phones. It is based on the WordPress standard starter theme (_S) and the Twitter Bootstrap CSS framework. Features include a mobile navigation bar, multiple columns (grid), buttons, icons, labels, badges, tabbed content areas, collapsible content areas, progress bars, alert boxes, carousels (sliders) and much, much more. For a demo of the base theme go to http://xtremelysocial.com/wordpress/flat/.
Version: 3.932
Text Domain: dasa-main
GitHub Theme URI: https://github.ncsu.edu/oitdesign/dasa-main
GitHub Branch: master
GitHub Enterprise: https://github.ncsu.edu
Domain Path: /languages/
Tags: one-column, right-sidebar, left-sidebar, fluid-layout, responsive-layout, custom-header, custom-menu, featured-images, featured-image-header, full-width-template, flexible-header, theme-options, sticky-post, threaded-comments, light, translation-ready, rtl-language-support, custom-background

Flat Bootstrap WordPress theme, Copyright (C) 2014 XtremelySocial
Flat Bootstrap WordPress theme is licensed under the GPL.
See readme.txt file for license information on components used in this theme.
*/

/*
** THEME-SPECIFIC STYLES HERE TO OVERRIDE BOOTSTRAP, THEME-BASE, AND THEME-FLAT CSS
** STYLES TO OVERRIDE SOME OF THE REQUIRED PLUGIN STYLING
*/

/* Google font similar to Glypha until we're allowed to use that */
@import url(https://fonts.googleapis.com/css?family=Slabo+27px);

/* NC STATE BRAND BAR */
.ncstate-utility-bar-home {
  background-image: url("https://cdn.ncsu.edu/brand-assets/utility-bar/img/ncstate-brick-2x2-red.jpg");
  background-repeat: no-repeat;
  background-size: contain;
  height: 60px;
}
.ncstate-utility-bar-home a {
  height: 60px;
  color: transparent !important;
  background-image: none !important;
}
.ncstate-utility-bar-home a:hover {
  background-color: transparent !important;
}

.ncstate-utility-bar-primary-util {
  padding-top: 30px !important;
}


/* BRAND LINE */

header#masthead .container {border-bottom:solid 1px #ccc; }

#content {}
/* Set page header to red */
.content-header {
	background-color: #a20000;
	color: #fff;
}
.content-header h1, 
.content-header h2, 
.content-header h3 {
	color: #fff;
}

.glyphicon-bold-arrow, .glyphicon-roman-arrow, .glyphicon-thin-arrow {
	font-size:1.5em; 
	line-height:1em;
	color: #333;
	vertical-align: middle;
    display: inline-block;
    transition: left .2s ease;
}

/* Tweak bootstrap default nav styles */

/* Make nav align to Site title */
.navbar .container {padding-left:0px; padding-right:0px;}
.navbar-collapse {padding-left:0px !important; padding-right:0px !important;}

#main {padding-left:12px; margin-top: 40px; margin-bottom:18px; }

/* Make up for loss of padding to primary content */

/* Fix homepage News feed articles */
.feedzy-rss ul {margin:0;}
.feedzy-rss .rss_item .rss_content small {font-style:normal;}

.home .feedzy-rss .rss_item {
	margin:1%;
	border-bottom: none;
}

#primary .landing-posts article {padding-top:4px;}
#primary .landing-posts article h3.entry-title {margin-top:6px;}
/* End that mess, back to the navbar */

.navbar {border:none !important; margin-bottom:14px !important;}


.navbar-nav a {color:#000; }
.navbar-collapse li {}
.navbar-nav li a:hover, .navbar-nav li a:active, .navbar-nav li a:focus {background-color:transparent !important; }
/*.navbar-nav li.current-page-ancestor, .navbar-nav li.current-menu-item>a:hover, */.navbar-nav li.current-menu-item>a:active/*, .navbar-nav li.current-menu-ancestor a*/ {
	background-color:transparent; 
	color:#a20000;
}
/*, .navbar-nav li.current-menu-item>a, */
.navbar-nav li.current-page-ancestor li a {font-weight:normal;}

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

/* REDO NAVIGATION */

.navbar-nav>li>ul.dropdown-menu {
	position:absolute;
	min-width:150px;
	margin:0;
	border:none; 
	box-shadow:none;
	background-color:#333;
}
.navbar-nav li.current-menu-ancestor:focus, .navbar-nav li.current-menu-ancestor:active {background-color: transparent;}

.navbar-nav>li>ul.dropdown-menu li a:hover, .navbar-nav .dropdown-menu>.active>a {color:#ccc; background-color:#333;}

.navbar-nav ul li:hover > ul, .navbar-nav ul li:active > ul, .navbar-nav ul ul li:hover > ul, .navbar-collapse ul ul li:active > ul {
	display: inherit;
	background-color:#333 !important;
	border:none;
	box-shadow:none;
	left:100%;
	position: absolute;
	top:0;
	margin:0;
}
.navbar-nav ul ul li:hover > ul:before, .navbar-nav ul ul li:active > ul:before {
	display:none;
}

/* Archive heading clean-up */
.archive h1.page-title {text-transform: capitalize;}

/* Tweak sidebar list styles */
ul li:before {margin-left:0em !important;}


/* Set initial image background so light text is readable before image loads */
.content-header-image {
	background-color: #e7e7e7;
}

/* Single Post sidebar customization */
.relatedposts { 
	border-top:solid 1px #e1e1e1; 
	/*border-bottom:solid 1px #e1e1e1;*/
	margin-top:16px;
}
.relatedthumb {padding:2px 0px 6px 6px;}

.relatedthumb p {line-height:20px;}

/* About Us sidebar */

.social-links {display: inline; float: left;}
.social-links i {padding:0px 3px;}
.social-links a {color:#333;}
.social-links a:hover {color:#ccc; text-decoration: none;}


/* Featured images tweaks */

article .archives .thumbnail {border:none; margin:8px;}

article img.wp-post-image {margin-bottom:28px;}

/* Feature News Page Styling */

.page-template-page-featureNews .post-thumbnail {
	max-height: 315px;
	overflow: hidden;
	margin-bottom:20px;
}
.page-template-page-featureNews .shorty .post-thumbnail {
	max-height: 215px;
	overflow: hidden;
}
.page-template-page-featureNews .post-thumbnail img {
	width: 100%;
	clear:both;
}


/* Weird cirlce on callout images */

.img-circle {
	border-top-left-radius: 0% !important;
	border-top-right-radius: 0% !important;
	border-bottom-right-radius: 0% !important;
	border-bottom-left-radius: 0% !important;
}

/* Archives page styling */

article.post.archives {margin: 40px 0px 30px; min-height:100px;}

.archives img {float:left;}

.archives h3.entry-title {margin:6px 0px;}

/* Search box sidebar */

aside.widget_search .form-group {margin: 10px 0 20px 10px;}

/* Landing Page Template Widgets */

.row.landing-widgets {margin-bottom:40px;}

/* Widget Styling */

h2.widget-title {}

/*
** FOOTER STUFF 'N THINGS'
*/

/*
@media screen and (min-width: 1200px) {
footer {width:1240px; margin:0 auto;}
}*/

/* Set our footer to "almost" black */
.sidebar-footer {
	background-color: #a20000;
	color: white;
}
.sidebar-footer h1, 
.sidebar-footer h2, 
.sidebar-footer h3 {
	color: #fff;
}

/* Fix site name text size at top of footer area */
footer .site-description, footer .site-title {font-size:1.75em;}

/* Fix footer widget headers to size down a smidge */

footer h2.widget-title {
	font-size:18px;
	font-weight: bold;
	text-transform: uppercase;
	font-family: UniversCondensed, san-serif; }

/* Fix footer p tags and spacing for address and social media areas */

footer .address p {line-height:1.15em; margin:14px 0px;}
footer .address p a {text-decoration: none;}

/* Set link colors to off white and text to gray for footer */
.sidebar-footer,
.footer-nav-menu {
	color: #fff;
}
.sidebar-footer a:not(.btn),
.footer-nav-menu a:not(.btn),
.after-footer a:not(.btn) {
	/*color: #95a5a6;*/
	color: #f2f2f2;
}
.sidebar-footer a:hover:not(.btn), 
.sidebar-footer a:focus:not(.btn), 
.footer-nav-menu a:hover:not(.btn),
.footer-nav-menu a:focus:not(.btn),
.after-footer a:hover:not(.btn),
.after-footer a:focus:not(.btn) {
	/*color: #c0392b;*/
	color: #fff;
	text-decoration: underline;
}
footer ul li:before {color:#fff;}

.entry-meta,
.comment-edit-link {
	font-size: 16px;
}

/* Set our site credits to "not quite" black */
.after-footer {
	background: #a20000;
	color: white;
	font-size: 16px;
	max-width: none;
}

/*
 * STYLE SOME COMMON WORDPRESS WIDGETS AND PLUGINS
 */

/* Get WordPress Jetpack Popular Posts Widget to look like other thumbnail posts */
.widgets-list-layout-links {
	float: left !important;
	margin-left: 15px !important;
	/*margin-left: 1.625em !important;*/
}

/* Hide JetPack's sharing module from pages with posts */
.page-posts .sharedaddy {
	display: none;
}

form.contact-form textarea {
	height: 108px;
}

/*
 * PLUGIN STYLES
 */

/* The EVENTS CALENDAR */

/* fix to hide brand caret */
#tribe-events-bar ul li:before, ul.tribe-bar-views-list li:before, ul.tribe-events-sub-nav li:before, .tribe-events-notices li:before {
	content: none;
	padding: 0;
}

/* Hide event organizer */
.tribe-events-meta-group.tribe-events-meta-group-organizer {
	display: none;
}

/* Hide brand caret for Gallery Block */
.wp-block-gallery li:before {
	content: none;
}
