/*
Theme Name: NHC News
Author: Ginny Brinkman
Description: New Hanover County News - NHC WordPress Theme
Version: 1.0
Text Domain: nhc
*/

/********/
/* Main */
/********/

body {
	
}

#main h1, #main h3 {
    color: #4f8bc8;
}

#main ul, #main ol {
    font-size: 14px;
}

#main ul ul, #main ul ul ul {
    font-size: 14px;
}

.dept-info {
    background: #4f8bc8;
}

.panel-title a {
   background-color: #7eba00;
   color: #fff;
   -moz-transition: all .4s ease;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}

.panel-title a.collapsed {
    background-color: #f5f5f5;
    color: #333;
}

.open > .dropdown-menu {
	left: auto;
}

/**********/
/* Header */
/**********/

#nhc-main-navigation {
	background: #7eba00;
	background: rgba(127,186,0,1);
	background: -moz-linear-gradient(top, rgba(127,186,0,1) 0%, rgba(119,175,0,1) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(127,186,0,1)), color-stop(100%, rgba(119,175,0,1)));
	background: -webkit-linear-gradient(top, rgba(127,186,0,1) 0%, rgba(119,175,0,1) 100%);
	background: -o-linear-gradient(top, rgba(127,186,0,1) 0%, rgba(119,175,0,1) 100%);
	background: -ms-linear-gradient(top, rgba(127,186,0,1) 0%, rgba(119,175,0,1) 100%);
	background: linear-gradient(to bottom, rgba(127,186,0,1) 0%, rgba(119,175,0,1) 100%);
}

#nhc-main-navigation a:hover {
	background: #7eba00;
}

#nhc-main-navigation .nav > li > a {
	position: relative;
	display: block;
	padding: 10px 7px;
}

#nhc-main-navigation .nav > li#menu-item-14 > a {
	padding: 10px 7px 10px 0px;
}

#nhc-main-navigation .nav > li#menu-item-17 > a {
	padding: 10px 0px 10px 7px;
}

#nhc-main-navigation .dropdown-menu a {
    background-color: #4f8bc8;
    background-color: rgba(79,139,200,0.95);
}

#nhc-main-navigation .dropdown-menu a:hover {
    background-color: #306ba6;
    background-color: rgba(48,107,166,0.95);
}

h2.sub-title  {
	color: #5289c1;
}

#news-lists h3 {
	font-size: 24px;
	margin-bottom: 10px;
	font-weight: 400;
	background: #4F8BC8;
	padding: 10px 10px 7px;
	color: #FFF;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
	border-top: 3px solid #012B55;
}

#news-lists ul {
	padding-left: 25px;
	margin-bottom: 15px;
}

#news-lists ul li {
	margin-bottom: 3px;
}

li#menu-item-420, li.menu-item-420 {
	display: none !important;
}



/********/
/* Home */
/********/

#top #buttons a {
    background: #7eba00;
    color: #fff;
    display: block;
    padding: 17px 20px;
    margin-bottom: 5px;
    -moz-transition: all .4s ease;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
    font-size: 14px;
	border-bottom: 3px solid #ddd;
	text-align: center;
	line-height: 14px;
}

#top #buttons a:hover {
    background: #4f8bc8;
    text-decoration: none;
}

#top ul#buttons {
	list-style: none;
	padding: 0px;
	margin-top: 10px;
}

#top ul#buttons li {
}

#top ul#buttons li:first-child {
	padding-right: 0px;
}

#top a#subscribe {
	background-image: url(images/newsletter.png) !important;
	background-repeat: no-repeat !important;
	background-position: 15px 50% !important;
	padding: 17px 0px 17px 60px !important;
	background-color: #7eba00 !important;
	font-size: 14px;
	text-align: left;
	line-height: 14px;
}

#top a#subscribe:hover {
	background-color: #428BCA !important;
}

/*********************/
/* Social Media Feed */
/*********************/

#social-media-feed {
	margin-top: 15px;
}

.home #social-media-feed {
	margin-top: 0px;
}

#social-media-feed .nav-tabs {
}

#social-media-feed .tab-pane {
	border: 1px solid #ddd;
	border-top: 0px;
	padding: 10px 15px;
}

.fts-tweeter-wrap .tweeter-info, .fts-jal-fb-right-wrap {
	font-size: 13px;
}

.tweeter-info .fts-twitter-image, .tweeter-info .time, a.fts-powered-by-text,
.fts-jal-fb-header, .fts-jal-fb-user-thumb {
	display: none !important;
}

.tweeter-info .right, .fts-jal-fb-right-wrap {
	margin-left: 0px;
	padding-left: 0px;
}

.fts-twitter-div a, .fts-jal-single-fb-post a {
	color: #002B54;
}

#social-media-feed .ik_fb_feed_item {
	font-size: 10px;
}

#social-media-feed .ik_fb_feed_item p {
	margin-bottom: 0px;
}


#social-media-feed li a {
	color: #333 !important;
	text-shadow: 0px 0px 0px !important;
	font-size: 14px !important;
	padding: 5px 10px !important;
	background: none !important;
	margin-bottom: 0px !important;
	border-radius: 0px 5px 0px 0px;
}

#social-media-feed .ik_fb_feed_item a {
	padding: 0px !important;
	font-size: 14px !important;
	color: #428BCA !important;
}

#social-media-feed .ik_fb_facebook_description, #social-media-feed .ik_fb_facebook_link,
#social-media-feed .tweet_profile_img, #social-media-feed .tweet_primary_meta,
#social-media-feed .tweet_secondary_meta  {
	display: none;
}

#social-media-feed li.active a {
	color: #fff !important;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3) !important;
	background: #4f8bc8 !important;
}

#social-media-feed .tweet_content {
	margin-bottom: 10px;
	font-size: 12px;
	line-height: 18px;
}

/*********/
/* Staff */
/*********/

#staff ul {
    list-style: none;
    padding: 0px;
    font-size: 14px;
}

#staff-members h3 {
    font-size: 22px;
}

.staff-member .name {
    font-weight: 700;
    font-size: 16px;
}

.staff-member:nth-child(2n+1) {
    clear: both;
}

.staff-member {
    margin-bottom: 20px;
}

.staff-member .title {
    font-weight: 700;
}

.staff-member .phone {
    margin-top: 5px;
}

.staff-member .resp {
    font-style: italic;
}

.staff-member .photo, .staff-member .info {
    padding-right: 0px;
}

ul.contacts {
	list-style: none;
	padding: 0px;
}

#media-resources .staff-member {
	padding-left: 0px;
}

#media-resources #collapseTwo ul, #media-resources #collapseThree ul {
	list-style: none;
	padding-left: 10px;
}


#media-resources #collapseTwo ul li, #media-resources #collapseThree ul li {
	padding: 5px 0px;
	border-bottom: 1px solid #dedede;
}

#media-resources #collapseTwo ul li:last-child, #media-resources #collapseThree ul li:last-child {
	border-bottom: 0px;
}

#media-resources #collapseThree ul li .title {
	font-weight: 700;
}

/***********/
/* Sidebar */
/***********/

#content-right ul li.menu-item, #content-right ul li.menu-item.current-menu-parent a {
    display: none;
}

#content-right ul li.menu-item.current-menu-parent, 
#content-right ul li.menu-item.current-menu-parent ul.sub-menu li.menu-item,
#content-right ul li.menu-item.current-menu-parent ul.sub-menu li.menu-item a {
    display: block;
}

#content-right li a {
    background: #4f8bc8;
    color: #fff;
    display: block;
    padding: 15px 20px;
    margin-bottom: 5px;
    -moz-transition: all .4s ease;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
    font-size: 16px;
}

#content-right li a:hover {
    background: #7eba00;
    text-decoration: none;
}

#content-right ul {
    padding-left: 0px;
    list-style: none;
}

#content-right li.no-hover a {
    text-transform: uppercase;
    padding: 0px;
    background: none;
    color: #333;
    font-weight: 700;
    text-shadow: 0px 0px 0px;
    font-size: 14px;
    cursor: default;
}

#content-right li.widget, #content-right li.widget a {
	list-style: none;
	font-size: 16px;
}

#content-right .textwidget h3 {
	font-size: 26px;
}

#content-right .widget_categories a {
	font-size: 13px !important;
}

#content-right #subscribe a {
	padding: 20px 0 20px 20px !important;
	background-color: #7eba00 !important;
	font-size: 16px;
}

#btm a#subscribe {
	font-size: 12px;
}

#content-right #subscribe a#enews {
	background-image: url(images/newsletter.png) !important;
	background-repeat: no-repeat !important;
	background-position: 15px 50% !important;
	padding: 20px 0px 20px 60px !important;
}

#content-right #subscribe a:hover {
	background-color: #007AC3 !important;
}

/********/
/* Film */
/********/

.sidebar-box {
	margin-top: 20px;
}

.sidebar-box .inner {
	border: 1px solid #ddd;
	border-top: 0;
	position: relative;
	top: -12px;
	padding: 12px 20px 0px;
	background: #f5f5f5;
}

.sidebar-box h3 {
	background: url(images/sidebar-header.png) no-repeat;
	font-size: 15px;
	font-weight: 700 !important;
	font-family: 'Open Sans';
	padding: 12px 14px 22px;
	color: #fff !important;
	position: relative;
	z-index: 9001;
}

.sidebar-box ul {
	padding-left: 0;
	list-style: none;
}

.sidebar-box ul li {
	padding: 5px 0;
	border-bottom: 1px dotted #ddd;
}

.sidebar-box ul li:last-child {
	border-bottom: 0;
}

#content-right .sidebar-box li a {
    background: none;
    color: #337ab7;
    display: block;
    padding: 0px;
    margin-bottom: 0px;
    -moz-transition: all .4s ease;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
    text-shadow: 0px 0px 0px rgba(0,0,0,0.3);
    font-size: 14px;
}

#content-right .sidebar-box li a:hover {
	text-decoration: underline;
}

#content-right #permit a {
	font-size: 16px;
    display: block;
    padding: 15px 20px;
    color: #fff;
	background: #7eba00;
	-moz-transition: all .4s ease;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
	text-decoration: none;
	margin-bottom: 30px;
}

#content-right #permit a:hover {
	background: #4f8bc8;
    text-decoration: none;
}

#film-locations select#cat-select {
	-webkit-appearance: button;
	-webkit-border-radius: 2px;
	-webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
	-webkit-padding-end: 20px;
	-webkit-padding-start: 2px;
	-webkit-user-select: none;
	background-image: url(images/select-arrow.png), -webkit-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
	background-position: 97% center;
	background-repeat: no-repeat;
	border: 1px solid #AAA;
	color: #555;
	font-size: inherit;
	margin: 20px;
	overflow: hidden;
	padding: 5px 10px;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-width: 300px;
	max-width: 100%;
	font-size: 16px;
	margin: 0;
}

#film-locations .category h4 {
	margin: 20px 0 10px;
	color: #4f8bc8;
    text-transform: uppercase;
    font-size: 25px;
}

#film-locations .category {
	display: block;
    background: #fefefe;
    border: 1px solid #efefef;
    padding: 0px 20px;
    margin-top: 20px;
	box-shadow: 3px 3px 0px rgba(0,0,0,0.1);
}

#film-locations .loc {
	margin-bottom: 20px;
}

#film-locations .loc img {
	width: 100%;
}

#film-locations .loc .desc {
	font-size: 14px;
    background: #4f8bc8;;
    color: #fff;
    padding: 10px 15px;
    font-weight: 700;
	line-height: 17px;
}

#film-locations .loc a:hover {
	-moz-transition: all .4s ease;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}

#film-locations .loc a:hover, #film-locations .loc a:focus {
	text-decoration: none;
	opacity: 0.9;
}


/**************/
/* Newsletter */
/**************/

#newsletter #header img {
	max-width: 100%;
}

#newsletter #header #month-year {
	position: absolute;
	top: 20px;
	right: 20px;
	background: #002b54;
	font-size: 40px;
	padding: 20px 30px 20px 20px;
	color: #fff;
	font-weight: 300;
}

#newsletter .box {
	background: #efefef;
	padding: 18px 20px;
	height: 180px;
	border: 1px solid #d3d3d3;
	box-shadow: 2px 2px 1px rgba(0,0,0,0.15);
	margin-bottom: 25px;
}

#newsletter .box h2 {
	margin-top: 0px;
	font-size: 22px;
	font-weight: 400;
	line-height: 30px;
}

#newsletter .box h2 a {
	color: #5296cc;
}

#newsletter #header {
	margin-bottom: 15px;
}

#newsletter #divider {
	height: 1px;
	margin: 20px 0px 30px;
	background: url(images/divider.png);
	min-height: 1px;
	width: 100%;
}

#newsletter #content-right ul#watch {
	padding-left: 0px;
}

#newsletter #content-right ul#watch li {
	border-bottom: 0px;
}

#newsletter #content-right ul#watch li a {
	-moz-transition: all .4s ease;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
	overflow: hidden
}

#newsletter #content-right ul#watch li a:hover {
	opacity: 0.7;
}

#newsletter #content-right h3 {
	font-size: 28px;
	margin-bottom: 10px;
	font-weight: 400;
	background: #5296cc;
	padding: 15px 15px 10px;
	color: #FFF;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
	border-top: 6px solid #012b55;
}

#newsletter #content-right ul {
	padding-left: 10px;
}

#newsletter #content-right li a {
	background: none;
	color: #5296cc;
	display: block;
	padding: 9px 0px 5px;
	margin-bottom: 5px;
	-moz-transition: none;
	-webkit-transition: none;
	transition: none;
	text-shadow: 0px 0px 0px rgba(0,0,0,0);
	font-size: 16px;
}

#newsletter #content-right #watch li a {
	padding-top: 0px;
}

#newsletter #content-right li {
	border-bottom: 1px dotted #d1d1d1;
}

#newsletter #content-right li:last-child {
	border-bottom: 0px;
}

#newsletter #mm, #newsletter #cm {
	background: #efefef;
	padding: 0px 20px 0px 20px;
	border: 1px solid #d3d3d3;
	box-shadow: 2px 2px 1px rgba(0,0,0,0.15);
	margin-bottom: 25px;
}

#newsletter #mm h3 a, #newsletter #cm  h3 a {
	color: #5296cc;
	font-size: 22px;
	font-weight: 400 !important;
	font-family: 'Open Sans';
}

#newsletter #mm h2, #newsletter #cm  h2 {
	font-size: 30px;
	background: #5296cc;
	display: inline-block;
	padding: 13px 20px 9px 25px;
	margin-left: -25px;
	margin-top: 10px;
	color: #fff;
	font-family: 'Oswald';
	font-weight: 300;
}

/********/
/* Form */
/********/

.gform_wrapper.two-column_wrapper ul.gform_fields {
	display: none;
}
.gform_wrapper.two-column_wrapper ul.gform_fields.gform_column {
	display: block;
	float: left;
	width: 50%;
}
.gform_wrapper.two-column_wrapper ul.gform_column li.gsection:first-child {
	display: none;
}

.gform_body ul.gform_column:nth-child(odd) {
	border: 1px solid grey;
	padding: 0px 20px 20px;
	width: 40% !important;
}

.gform_body ul.gform_column:nth-child(even) {
	padding: 0px 20px 0px 0px;
	width: 60% !important;
}

.ginput_container input, .ginput_container select {
	background-image: none !important;
	border: 1px solid #cccccc;
}

.ginput_container select {
	padding: 8px 0 7px !important;
}

.gform_wrapper input[type=text], .gform_wrapper input[type=url], .gform_wrapper input[type=email], .gform_wrapper input[type=tel], .gform_wrapper input[type=number], .gform_wrapper input[type=password] {
	font-size: 14px !important;
}

.gform_wrapper .ginput_complex label, .gform_wrapper .gfield_time_hour label, 
.gform_wrapper .gfield_time_minute label, .gform_wrapper .gfield_date_month label, 
.gform_wrapper .gfield_date_day label, .gform_wrapper .gfield_date_year label, 
.gform_wrapper .instruction, .gform_wrapper .gfield_checkbox li label, 
.gform_wrapper .gfield_radio li label, .gform_wrapper .ginput_left input:focus+label,
.gform_wrapper .ginput_right input:focus+label, .gform_wrapper .ginput_full input:focus+label  {
	font-weight: 400 !important;
}

#field_1_13 label {
	display: none;
}

#field_1_13 .gfield_description {
	font-size: 14px;
}

#field_1_8 {
	display: none;
}

.gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type=submit] {
	font-size: 14px !important;
	background: #007AC3;
	color: #FFF;
	border: 0px;
	padding: 7px 20px;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
	-moz-transition: all .4s ease;
	-webkit-transition: all .4s ease;
	transition: all .4s ease;
}

.gform_wrapper .gform_footer input.button:hover, .gform_wrapper .gform_footer input[type=submit]:hover {
	background: #7eba00;
}

#gform_confirmation_message_1 {
	font-size: 14px;
}

/*************/
/* Resources */
/*************/

#resources #content-left ul {
	margin-top: 5px;
}

/************/
/* Schedule */
/************/

.ai1ec-calendar-toolbar {
	display: none;
}



/*****************/
/* Media Queries */
/*****************/

@media (max-width: 767px) {
    #video iframe {
        height: 220px !important;
    }
    
    #slider {
        margin-bottom: 20px;
    }
	
	.gform_body ul.gform_column:nth-child(odd) {
		width: 100% !important;
	}

	.gform_body ul.gform_column:nth-child(even) {
		width: 100% !important;
	}
	
	#top ul#buttons li:first-child {
		padding-right: 15px;
	}
	
	#newsletter #header #month-year {
		position: absolute;
		top: 5px;
		right: 15px;
		background: #002b54;
		font-size: 20px;
		padding: 5px 30px 5px 20px;
		color: #fff;
		font-weight: 300;
	}
	
	#film-locations .loc:nth-child(2n+1) {
		clear: both;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
    #video iframe {
        height: 400px !important;
    }
    
    #slider {
        margin-bottom: 20px;
    }
	
	#film-locations .loc:nth-child(3n+1) {
		clear: both;
	}
}

@media (min-width: 992px) and (max-width: 1199px) {
    #video iframe {
        height: 220px !important;
    }
	
	#film-locations .loc:nth-child(4n+1) {
		clear: both;
	}
}

@media (min-width: 1200px) {
	#film-locations .loc:nth-child(4n+1) {
		clear: both;
	}
}