a {
	color: #1a881f;
}
a:hover {
	color: #1b8f21;
}

.hentry img {
	padding: 4px;
	background: #fafafa;
	border: 1px solid #e1e1e1;
}
.hentry .wp-caption img,
.portfolio-item a.item img {
	padding: 4px 0;
	background: transparent;
	border: 0 none;
}
.portfolio-item a.item img {
	padding: 0;
}

#header {
	background: transparent url('images/bg-header.png') 0 0 repeat-x;
	padding: 0;
	border-bottom: 1px solid #56af5a;
}
#header .social-search {
	float: right;
	width: 252px;
	margin-top: 24px;
}
#header .search_main {
	float: none !important;
	width: auto !important;
}
#header .search_main .searchform {
	border-radius: 0;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
}
#header .social {
	margin-top: 20px;
}
#header .social h3 {
	display: block;
	margin: 0;
	padding: 0;
	float: left;
	text-indent: -999999px;
	width: 90px;
	height: 32px;
	background: transparent url('images/text-connect.png') 0 0 no-repeat;
}
#header .social ul {
	display: block;
	margin: 0;
	padding: 0;
	float: right;
}
#header .social ul li {
	display: block;
	margin: 0 0 0 7px;
	padding: 0;
	float: left;
}
#header .social ul li a {
	display: block;
	width: 32px;
	height: 32px;
	text-indent: -999999px;
	background: transparent url('https://bangsamorodevelopment.org/wp-content/themes/bda/custom.css') 0 0 no-repeat;
}
#header .social ul li .facebook {
	background-image: url('images/icon-facebook.png');
}
#header .social ul li .twitter {
	background-image: url('images/icon-twitter.png');
}
#header .social ul li .flickr {
	background-image: url('images/icon-flickr.png');
}
#header .social ul li .youtube {
	background-image: url('images/icon-youtube.png');
}

.nav a {
	color: #fff;
	padding: 8px 20px;
	margin-right: 0;
	line-height: 24px;
	font-weight: bold;
}
.nav a:hover {
	background: #38c33f none;
	color: #fefa41;
	text-decoration: none;
}
.nav li {
	float: left;
	width: auto;
}
.nav li.current_page_item > a,
.nav li.current_page_parent > a,
.nav li.current-menu-ancestor > a,
.nav li.current-cat > a,
.nav li.current-menu-item > a {
	background: #38c33f;
	color: #fefa41;
	text-shadow: none;
	text-decoration: none;
}

#intro {
	background: transparent url('images/bg-intro.png') 0 0 repeat-x;
	color: #19821e;
	border-bottom: 0 none;
}
#intro h1 {
	color: #19821e;
}

#content {
	padding-top: 1em;
}
.home #content {
	padding: 0 20px;
}

.home-section {
	padding-left: 20px;
	padding-right: 20px;
}

.home-section header h1 {
	font-size: 1.3em;
	font-weight: bold;
}
.home-section header a.more {
	color: #333;
	text-decoration: underline;
	background: url('images/icon-more.png') 0 2px no-repeat;
	line-height: 16px;
}
.home-section header a.more:hover {
	color: #00f;
	text-decoration: underline;
}

/** Featured **/
#features {
	padding-top: 2em;
	border-bottom: 0 none;
	margin: 0;
}
#features ul li a.more {
	color: #333;
	padding: 2px 3px 2px 22px;
	text-decoration: underline;
	background: transparent url('images/icon-more.png') 0 2px no-repeat;
	line-height: 16px;
}
#features ul li a.more:hover {
	color: #00f;
}

/** News **/
#news-galleries {
	margin: 0 -20px;
	padding-top: 2em;
	padding-bottom: 1em;
	background: transparent url('images/bg-news-galleries.png') 0 0 repeat;
	border-bottom: 0 none;
}
#news-galleries p.more {
	margin-top: 2em;
}
#news-galleries a.more {
	color: #333;
	padding: 2px 3px 2px 22px;
	text-decoration: underline;
	background: transparent url('images/icon-more.png') 0 2px no-repeat;
	line-height: 16px;
}
#news-galleries h1 {
	margin: 0 0 1em 0;
	font-size: 18px;
}
#news-galleries .news ul {
	float: none;
	width: auto;
}
#news-galleries .news ul li {
	float: none;
	margin: 0 0 1em 0;
	width: auto;
}
#news-galleries .news ul li h2 {
	font-size: 13px;
	line-height: 1.25em;
	margin: 0;
}
#news-galleries .news ul li h2 a {
	color: #333;
	text-decoration: underline;
}
#news-galleries .news ul li h2 a:hover {
	color: #00f;
}
#news-galleries .news ul li p {
	margin: 0.5em 0 0 0;
	font-size: 11px;
	font-style: italic;
}
#news-galleries .galleries .video {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
#news-galleries .galleries .video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}

/** Programs Galleries **/
#programs-galleries {
	margin: 0 -20px;
	padding-top: 2em;
	padding-bottom: 1em;
	background: transparent url('images/bg-news-galleries.png') 0 0 repeat;
	border-bottom: 0 none;
}
#programs-galleries p.more {
	margin-top: 1em;
}
#programs-galleries a.more {
	color: #333;
	padding: 2px 3px 2px 22px;
	text-decoration: underline;
	background: transparent url('images/icon-more.png') 0 2px no-repeat;
	line-height: 16px;
}
#programs-galleries h1 {
	margin: 0 0 1em 0;
	font-size: 18px;
}
#programs-galleries .programs article .content h2 {
	margin: 0.5em 0 0 0;
}
#programs-galleries .programs article .content h2 a {
	color: #1a881f;
}
#programs-galleries .programs article .content h2 a:hover {
	color: #1b8f21;
}
#programs-galleries .programs article .content p {
	margin: 0;
}
#programs-galleries .galleries .video {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
#programs-galleries .galleries .video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}

#news ul li h2 {
	margin: 0.5em 0 0 0;
	font-family: "Signika", sans-serif;
	font-size: 16px;
	line-height: 1.25em;
}
#news ul li h2 a {
	color: #000;
	text-decoration: none;
}
#news ul li h2 a:hover {
	color: #000;
	text-decoration: underline;
}
#news ul li p {
	font-size: 11px;
	margin: 0;
}

.home-section#portfolio {
	padding-top: 2em !important;
	padding-left: 20px;
	padding-right: 20px;
}
.home-section#news {
	padding-top: 2em !important;
	padding-left: 20px;
	padding-right: 20px;
}

/** Page **/
#post-author .profile-link .meta-nav {
	background: transparent url(images/icon-more.png) no-repeat left center;
}
#post-entries .nav-prev .meta-nav {
	background: url(images/icon-previous.png) no-repeat left center;
}
#post-entries .nav-next .meta-nav {
	background: url(images/icon-more.png) no-repeat right center;
}
.nav-entries a, #post-entries a {
	color: #333;
	text-decoration: none;
}
.nav-entries a, #post-entries a:hover {
	color: #00f;
	text-decoration: none;
}
.woo-pagination {
	border-top: 1px solid #e1e1e1;
}
.woo-pagination .page-numbers {
	color: #555555;
}
.woo-pagination .page-numbers.current {
	background: #b72020;
	border-color: #2f2f2f;
	color: #fff;
}

/** Footer **/
#footer-widgets {
	background: #02074a url('images/bg-footer-widgets.png') 0 0 repeat;
}
#footer-widgets .widget ul li {
	background: transparent url('images/bu-footer.png') 0 1px no-repeat;
	padding: 0 0 0 17px;
}
#footer-widgets .widget ul li a {
	color: #b0b0b0;
	text-decoration: none;
}
#footer-widgets .widget ul li a:hover {
	color: #ffe700;
	text-decoration: underline;
}
#footer-widgets .widget h3 {
	font-size: 1.3em;
}
#footer p {
	font-weight: normal;
	font-size: 12px;
	line-height: 36px;
}
#footer #credit p {
	padding-right: 60px;
	background: transparent url('images/flag-eu.png') 100% 0 no-repeat;
}

@media only screen and (min-width: 768px) {
	/** Header **/ 
	#header #logo {
		display: block;
		float: left;
	}

	/** Navigation **/
	#navigation {
		float: none !important;
		margin-top: 0 !important;
		height: 40px;
		background: #31b238 none;
	}
	#navigation .nav li a {
		-webkit-border-radius: 0 !important;
		-moz-border-radius: 0 !important;
		border-radius: 0 !important;
	}
	#navigation .nav li:hover > a {
		background: #38c33f;
	}
	#navigation .nav li.parent > a::after {
		border: 0.3em solid #fff;
		border-color: rgb(255, 255, 225) transparent transparent transparent;
	}
	#navigation .nav li ul {
		-webkit-border-radius: 0 !important;
		-moz-border-radius: 0 !important;
		border-radius: 0 !important;
		background: #38c33f;
		padding-left: 0;
		padding-right: 0;
	}
	#navigation .nav li ul li a {
		padding-left: 15px;
		padding-right: 15px;
		width: 150px;
	}
	#navigation .nav li ul li a:hover {
		text-decoration: none;
		color: #fefa41 !important;
		background: #31b238 none;
	}
	#navigation .nav li ul li.current_page_item a, 
	#navigation .nav li ul li.current_page_parent a, 
	#navigation .nav li ul li.current-menu-ancestor a, 
	#navigation .nav li ul li.current-cat a, 
	#navigation .nav li ul li.li.current-menu-item a {
		text-decoration: none;
		color: #fefa41 !important;
		background: #31b238 none;
	}

	/** Slide Show **/
	#featured article header {
		left: 45px;
		background: rgba(0, 0, 0, 0.7);
	}

	/** Features **/
	#features {
		padding-top: 2em;
		margin: 0;
		background: transparent url('images/bg-features-t.png') 50% 0 no-repeat;
		border-bottom: 0 none;
	}
	#features .col-full {
		padding: 0 0 2em 0;
		background: transparent url('images/bg-features-b.png') 50% 100% no-repeat;
	}
	#features ul {
		float: none;
		width: auto;
	}
	#features ul li {
		width: 20.77%;
		margin-bottom: 0;
	}

	/** News and Galleries **/
	#news-galleries .news  {
		width: 48%;
		float: left;
	}
	#news-galleries .galleries  {
		width: 48%;
		float: right;
	}
	#news-galleries .galleries p.video-more {
		margin: 1em 0 2em 0;
	}
	#news-galleries .galleries ul.photos  {
		width: auto;
		float: none
	}
	#news-galleries .galleries ul.photos li {
		float: left;
		margin: 0 5px 1em 0;
		width: 24.19%;
	}
	#news-galleries .galleries ul.photos li.last {
		margin: 0 0 1em 0;
	}
	#news-galleries .galleries p.more {
		margin: 0;
	}
	
	/** Programs and Galleries **/
	#programs-galleries .programs  {
		width: 48%;
		float: left;
	}
	#programs-galleries .programs ul {
		width: auto;
		float: none;
	}
	#programs-galleries .programs ul li {
		float: left;
		width: auto;
	}
	#programs-galleries .programs article {
		margin: 0 !important;
	}
	#programs-galleries .programs ul li a {
		margin: 0;
	}
	#programs-galleries .programs ul li.last {
		margin-right: 0;
	}
	#programs-galleries .galleries  {
		width: 48%;
		float: right;
	}
	#programs-galleries .galleries p.video-more {
		margin: 1em 0 2em 0;
	}
	#programs-galleries .galleries ul.photos  {
		width: auto;
		float: none
	}
	#programs-galleries .galleries ul.photos li {
		float: left;
		margin: 0 5px 1em 0;
		width: 24.19%;
	}
	#programs-galleries .galleries ul.photos li.last {
		margin: 0 0 1em 0;
	}
	#programs-galleries .galleries p.more {
		margin: 0;
	}

	/** Portfolio **/
	#portfolio {
		background: transparent url('images/bg-features-t.png') 50% 0 no-repeat;
		border-bottom: 0 none;
		margin: 0;
	}
	
	/** News **/
	#news {
		background: transparent url('images/bg-features-t.png') 50% 0 no-repeat;
		border-bottom: 0 none;
		margin: 0;
	}
	#news ul li {
		float: left;
		width: 48%;
		margin-right: 4%;
	}
	#news ul li.last {
		float: left;
		width: 48%;
	}

}

@media only screen and (max-width: 870px) and (min-width: 768px) {
	#header #logo {
		width: 60%;
		height: 140px;
	}
}

@media only screen and (max-width: 980px) and (min-width: 768px) {
	#header #logo {
		display: block;
		float: left !important;
		margin: 0 0 0 20px;
	}
	#header .social-search {
		margin-right: 20px;
	}
	#header .search_main {
		position: relative;
	}
	#navigation {
		float: none !important;
		margin: 0 !important;
	}
	
}

@media only screen and (max-width: 767px) {
	#header {
		background: #1a881f none;
		padding: 0 20px 20px 20px;
	}
	#header #logo {
		display: block;
	}
	#header hgroup {
		margin: 0;
	}
	#header hgroup {
		margin: 0;
	}
	.nav-toggle {
		position: absolute;
		top: 154px;
		right: 20px;
		background: #e1e1e1 none;
		padding: 7px;
		border-radius: 3px;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
	}
	#header .social-search {
		float: none;
		width: auto;
		margin-top: 1em;
	}
	#header .search_main {
		float: left !important;
		width: 250px !important;
	}
	#header .search_main .searchform {
		border-radius: 0;
		-webkit-border-radius: 0;
		-moz-border-radius: 0;
	}
	#header .social {
		margin-top: 0;
		margin-right: 50px;
		float: right;
	}

	#featured article header {
		background: rgba(0, 0, 0, 0.9);
	}

	.controls-container .flex-direction-nav {
		bottom: 110px;
	}

	#intro {
		background: #ffdc00 none;
	}

	.home-section#portfolio {
		padding: 20px;
	}

	#footer-widgets {
		background: #02074a none;
	}
}


@media only screen and (max-width: 619px) { 
	#header {
		position: relative;
	}
	.nav-toggle {
		top: auto;
		bottom: 22px;
	}
	#header .social-search {
		float: none;
		width: auto;
		margin-top: 1em;
	}
	#header .search_main {
		float: none !important;
		width: auto !important;
	}
	#header .search_main .searchform {
		border-radius: 0;
		-webkit-border-radius: 0;
		-moz-border-radius: 0;
	}
	#header .social {
		margin-top: 20px;
		margin-right: 50px;
		float: right;
	}

}

@media only screen and (max-width: 361px) {
	#header .social h3 {
		display: none;
	}
}

 /**Added by Vic**/
.ie8 #featured article header {
	background: none repeat scroll 0 0 rgba(0, 0, 0, 0.7);
	left: 45px;
}

.woo-pagination .page-numbers.current {
    background: none repeat scroll 0 0 #31B238;
}
.ie9 #featured article header {
	background: none repeat scroll 0 0 rgba(0, 0, 0, 0.7);
	left: 45px;
}