/*
Theme Name: deped_dagupan
Theme URI: http://underscores.me/
Author: Pixelhub Creative
Author URI: http://www.wearepixelhub.com/
Description: A wordpress theme for DepEd Dagupan Site
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: deped-dagupan
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

deped_dagupan is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
    ## Posts and pages
	## Asides
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700);
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
	text-decoration: none;
}

a:active,
a:hover {
	outline: 0;
	text-decoration: none;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"] {
	-webkit-appearance: textfield;
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #404040;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 0;
}

ul {
	list-style: disc;
	font-size: 12px;
}

ol {
	list-style: decimal;
	font-size: 12px;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 3px;
}

textarea {
	padding-left: 3px;
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: blue;
}

a:visited {
	color: navy;
}

a:hover,
a:focus,
a:active {
	color: navy;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
	text-decoration: underline;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.sumome-discover-service {
display:none !important;
}
.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation li {
	float: left;
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 1.5em;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul li {

}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a {
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content: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,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/* Search widget. */
.widget_search .search-submit {
	display: none;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.entry-content .sumome-discover-service{
display:none;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0 auto;
}

.wp-caption-text {
	text-align: center;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}



/*
*
*	=Custom Styles
*
*/

body{
	font-family: 'Open Sans', arial, sans-serif;
	background: #fff url('img/bg.jpg');
	font-weight: 400;
}
header{
	position: relative;
}
main.site-main{
	margin: 15px 0 10px;
}
.bg-link-yellow{
	background: #febc38 url('img/yellow.jpg') no-repeat 0px 0px;
}
.bg-link-red{
	background: #ed2c3c url('img/red.jpg') no-repeat 0px 0px;
}
.bg-link-orange{
	background: #f67634 url('img/orange.jpg') no-repeat 0px 0px;
}
.bg-link-blue{
	background: #1c89dd url('img/blue.jpg') no-repeat 0px 0px;
}
a.more-link{
	background-color: #0bd41e;
	color: #fff;
	padding: 5px 10px;
	transition: background-color 0.3s;
	display: table;
	text-decoration: none;
	margin-top: 10px;
	text-transform: uppercase;
	font-size: 10px;
	font-weight: bold;
}
a.more-link:hover{
	background-color: #27ae60;
}
.spacer {
  height: 90px;
  width: 0px;
  float: right;
}
.shadowed-box{
	-webkit-box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.3);
	box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.3);
	height: 90px
}
h6{
	clear: none;
	margin-top: 0;
}
h6 small{
	color: #979797;
	font-size: 11px;
}
h6 small a{
	color: #979797;
}
h6 small a:hover{
	color: #777;
}
ul.page-numbers{
	text-align: center;
	margin-left: 0;
}
ul.page-numbers li{
	display: inline;
	margin-right: 5px;
}
span.page-numbers.current{
	background-color: #0bd41e;
	color: #fff;
	padding: 5px 10px;
}
ul.page-numbers li a{
	text-decoration: none;
	border: 1px solid #979797;
	padding: 5px 10px;
	color: #005ca8;
}
ul.page-numbers li a:hover{
	background-color: #0bd41e;
	color: #fff;
}
/*
*
*	=HEADER
*
*/
.site-header{
	height: auto;
}
.site-header .main-menu{
	position: absolute;
	top: 25px;
	left: 0;
	right: 0;
	z-index: 200;
	margin: 0 auto;
}
.site-header .main-menu .navbar{
	background: #005ca8 url('img/bg-navbar.jpg') no-repeat top right;
	border: 0;
	margin: 0;
	border-radius: 0;
	padding: 0 0 0 10px;
	position: relative;
}
.site-header .main-menu .navbar .navbar-brand{
	padding: 0 0 0 15px;
}
.site-header .main-menu .navbar .navbar-brand img{
	padding: 7.5px 0;
}
.site-header .navbar-default .navbar-toggle{
	border: 0;
	box-shadow: none;
	color: #fff;
	text-shadow: none;
	margin: 0;
	height: 60px;
	text-align: left;
	padding-left: 20px;
	border-radius: 0;
}
.site-header .navbar-default .navbar-toggle:hover{
	background-color: #00237c;
}

.site-header .navbar-default .navbar-toggle .icon-bars{
	display: inline-block;
	vertical-align: middle;
	padding-right: 10px;
}
.site-header .navbar-default .navbar-toggle .icon-bar{
	background-color: #fff;
}
.site-header .navbar-default .navbar-toggle .toggle-text{
	display: inline-block;
	vertical-align: middle;
	font-size: 15px;
}
.site-header .navbar.navbar-default .container-fluid{padding: 0;}
.navbar-default .navbar-nav>li>a, .site-header .dropdown-menu a{
	color: #fff !important;
	font-size: 13px;
	transition: all 0.3s;
}
.navbar-default .navbar-nav>li.current-menu-item>a{
	background-color: #00237c;
}

.navbar-default .navbar-nav>li.active>a, 
.navbar-default .navbar-nav>li>a:hover, 
.navbar-default .navbar-nav>li.current-menu-item>a:hover,
.navbar-default .navbar-nav>.open>a, 
.navbar-default .navbar-nav>.open>a:hover, 
.navbar-default .navbar-nav>.open>a:focus,
.site-header .dropdown-menu a:hover,
.site-header .dropdown-menu a:focus{
	background-color: #00237c !important;
	color: #fff !important;
}
.site-header .dropdown-menu{
	background-color: #005ca8;
}
.primary-menu-search a{
	background: transparent url('img/search-ico.png') no-repeat center center;
	width: 50px;
	text-indent: -9999px;
}
.site-header .navbar .search-form-container{
	position: absolute;
	top: 0;
	right: 60px;
	display: none;
}
.search-form-container input[type="search"]{height: 52px; border-radius: 0;}
.site-header .navbar .search-form-container input[type=submit]{
	display: none;
}
.site-header .slider{
	position: relative;
	height: 410px;
}
.site-header .slider .wrapper{
	position: absolute;
	top: 230px;
	left: 0;
	right: 0;
	z-index: 88;
}
.site-header .slider .slider-texts{
	color: #fff;	
	list-style-type: none;
	display: none;
	margin: 0 0 0 30px;
	padding: 0;
}
.site-header .slider .slider-texts li:not(:first-child){
	display: none;
}
.site-header .slider .slider-texts h1{
	margin: 0;
	display: table;
	padding: 5px 20px;
	margin-bottom: 5px;
}
.site-header .slider .slider-texts h1.slider-text-1{
	background-color: rgba(236, 28, 45, 0.8);
}
.site-header .slider .slider-texts h1.slider-text-2{
	background-color: rgba(254, 182, 39, 0.8);
}
.nav>li>a{
	padding-left: 10px;
	padding-right: 10px;
}

/*
*
*	=MAIN CONTENT
*
*/
div#content{
	background: transparent url('img/clipart-overlay.png') repeat-y;
	background-size: 100%;
}
div#primary, section#primary{
	background: rgba(253, 253, 253, 0.8);
	position: relative;
}
div#primary{
	width: 1160px;
	padding: 0 10px;
}
.custom-links{
	position: absolute;
	top: -35px;
	z-index: 20;
	padding: 0 10px;
	left: 0;
	right: 0;
	margin: 0 auto;
	width: 1160px;
}
.custom-link{
	background-size: cover;
	text-align: center;
	padding: 0;
}
.custom-link a{
	text-decoration: none;
	color: #fff;
	display: block;
}
.custom-link img{
	vertical-align: middle;
}
.custom-link h3{
	display: inline;
    vertical-align: middle;
    margin: 0 0 0 12px;
    height: 100%;
    line-height: 90px;
    font-weight: bold;
    text-transform: uppercase;
}
.hr{
	border-bottom: 2px solid #979797;
}
.category-posts:first-child h2{
	margin-top: 0;
}
.category-posts:last-child .hr{
	border: 0;
}
.category-posts h2{
	font-weight: normal;
	line-height: 25px;
	margin-bottom: 14px;
}
.category-posts a{
	text-decoration: none;
}
.category-posts h4{
	clear: none;
	font-weight: bold;
	color: #005ca8;
	margin: 0 0 4px;
}
.category-posts p{
	font-size: 12px;
	margin: 0;
}
.category-posts .category-post{
	padding-bottom: 15px;
}
#news-and-events .article-normal img{width: 110px; height: auto;}
#news-and-events .article-feat img{width: 256px; height: auto;}
#news-and-events .article-normal p{margin-left: 125px;}
#news-and-events .article-feat p{margin-left: 271px;}
#deped-co-iss .category-post:not(:last-child), #facts-and-figures .category-post:not(:last-child){padding-right: 5px;}
#deped-co-iss .category-post:not(:nth-child(2)), #facts-and-figures .category-post:not(:nth-child(2)){padding-left: 5px;}
#deped-co-iss .category-post img, #facts-and-figures .category-post img{width: 100%; height: auto;}
#deped-co-iss .category-post p, #facts-and-figures .category-post p{width: 90%;}
#deped-co-iss .category-post h4, #facts-and-figures .category-post h4{margin-top: 10px;}
#deped-co-iss .category-post{padding-bottom: 20px;}
#facts-and-figures .category-post{padding-bottom: 30px;}
/*
*
*	=SIDEBAR
*
*/
div#secondary div.announcement{
	background: #fff url('img/message-bg.jpg') no-repeat right bottom;
	background-size: cover;
	color: #fff;
	position: relative;
	overflow: hidden;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	height: 300px;
}
div#secondary div.announcement img{
	float: right;
	clear: right;
	margin: 0 -50px -15px 0;
}
div#secondary div.announcement h3{
	padding: 10px 0 0 10px;
	margin: 0;
	color: #fedd27;
	text-transform: uppercase;
	font-size: 18px;
	line-height: 1.15em;
	margin-bottom: 5px;
	font-weight: bold;
}
div#secondary div.announcement h3>small{
	font-size: 16px;
	color: #fedd27;
	font-weight: bold;
}
div#secondary div.announcement p{
	padding: 0 10px;
	margin: 0;
	font-size: 12px;
}
div#secondary div.announcement .more-link{
	background-color: transparent;
	color: #fedd27;
	font-weight: bold;
	padding: 0;
	margin: 0;
	font-size: 10px;
}
div#secondary div.announcement .more-link:hover{
	color: #dbbd1a;
}
div#secondary div.announcement div.message-by{
	position: absolute;
	bottom: 15px;
}
div#secondary div.announcement div.message-by h4{
	color: #fedd27;
	font-size: 11px;
	font-weight: bold;
	padding-left: 10px;
	clear: none;
	margin: 0 0 2px 0;
}
div#secondary div.announcement div.message-by h5{
	margin: 0;
	font-weight: normal;
	font-size: 10px;
	padding-left: 10px;
	clear: none;
}
/*----UPCOMING EVENTS----*/
/*#secondary div.upcoming-events .upcoming-event:nth-of-type(2)>a>.event_date{position: absolute;}*/
div.upcoming-events{
	margin-top: 10px;
	margin-bottom: 25px;
}
div.upcoming-event a{
	text-decoration: none;
	color: #fff;
	line-height: 20px;
	display: block;
	height: 100%;
}
div.upcoming-event{
	background-color: #00539c;
	border-bottom: 1px solid #eff7f8;
	height: auto;
}
div.upcoming-events .event_date h5, div.upcoming-events .event_date h3{
	margin: 0;
	text-transform: uppercase;
	font-weight: normal;
}
div.upcoming-events h4{
	text-transform: uppercase;
	margin: 15px 0 11px;
}
div.upcoming-events .event_date{
	float: left;
	text-align: center;
	padding: 4px;
	width: 20%;
}
div.upcoming-events div.title{
	float: left;
	padding: 4px 4px 4px 10px;
	font-size: 12px;
	width: 80%;
	background: #fff url('img/bg-event.jpg');
	min-height: 49px;
}
div.transparency-seal{
	margin-top: 14px;
	text-align: center;
	border-top: 3px solid #979797;
	padding-top: 14px;
}
div.transparency-seal img{
	width: 150px;
	height: 150px;
}
div.philgeps, div.citizens-charter{
	margin-top: 10px;
	text-align: center;
}
div#secondary ul.social-links{
	list-style-type: none;
	padding: 0;
	margin: 20px 0  30px;
}
div#secondary ul.social-links li{
	display: inline;
	margin-right: 8px;
}
.widget{margin-bottom: 10px;}
/*
*
*	=FOOTER
*
*/
footer.site-footer{
	background-color: #005ca8;
	color: #fff;
	padding: 0;
	padding-top: 30px;
}
footer.site-footer h4{
	font-weight: normal;
	text-transform: uppercase;
	margin: 0 0 10px;
	font-size: 16px;
	display: inline-block;
}
footer .footer-logo{
	width:90px;
	height: auto;
	display: inline-block;
	float: left;
	margin-right: 15px;
}
footer.site-footer #footer-top{
	position: relative;
	padding-bottom: 30px;
}
footer.site-footer .site-info p{
	margin: 0;
	font-size: 13px;
	line-height: normal;
	display: block;
}
footer.site-footer ul.menu li{
	margin-bottom: 5px;
}
footer.site-footer ul{
	list-style-type: none;
	margin: 0;
	padding: 0;
	line-height: 1em;
	float: left;
}
footer.site-footer ul:not(:last-child){margin-right: 45px;}
footer.site-footer ul li a{
	color: #fff;
	text-decoration: none;
	font-size: 13px;
	font-weight: bold;
}
footer.site-footer ul li a:hover{
	color: #f0f0f0;
	text-decoration: underline;
}
footer.site-footer ul.social-links{
	width: 100%;
}
footer.site-footer ul.social-links li{
	display: inline;
	margin-right: 8px;
}
footer.site-footer ul.social-links li img{
	width: 30px;
	height: 30px;
}

footer.site-footer div#footer-bottom{
	background-color: #00539c;
	padding: 10px 0;
	color: #fff;
}
footer.site-footer #footer-bottom p{
	font-size: 11px;
}
#footer-bottom p{
	margin: 0;
}



/*
*----------------------------
*|	  =Responsive Slides 	 |
*----------------------------
*/


.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  height: 100%;
  }

.rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  height: 100%;
  }

.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }

.rslides img {
  display: block;
  height: 100%;
  float: left;
  width: 100%;
  border: 0;
  background-size: cover !important;
  }

/*
*
*	=INNER PAGE
*
*/
.entry-content p:last-child{
	margin-bottom: 0;
}

/*
*
*	=GALLERY PAGE
*
*/
article.custom-gallery h2.entry-title{
	margin: 0;
	margin-bottom: 5px;
}
article.custom-gallery .entry-content{
	margin-top: 15px;
	font-size: 12px;
}
ul.gallery{
	list-style-type: none;
	margin: 0;
	padding: 0;
}
ul.gallery li{
	float: left;
	margin: 0 10px 10px 0;
}
ul.gallery a img{
	border: 3px solid #005ca8;
	transition: all 0.3s;
}
ul.gallery a img:hover{
	border-color: #55a8df;
}

.subpages__banner-image{height: 410px; text-align: center; background-color: #fff;}
.subpages__banner-image div{background-size: cover !important; height: 100%;}

#home-bottom-widget-area .widget-title a{
	font-weight: normal;
    line-height: 25px;
    margin-bottom: 14px;
    color: #333;
    font-size: 30px;
}
#home-bottom-widget-area .widget-title img{
	display: none;
}
#home-bottom-widget-area .widget_rss ul{
	padding-left: 0;
	margin-bottom: 20px;
	margin-left: 0;
}
#home-bottom-widget-area .widget_rss ul>li{
    position: relative;
    display: block;
    padding: 10px 200px 10px 15px;
    margin-bottom: -1px;
    background-color: #fff;
    border: 1px solid #ddd;
}
#home-bottom-widget-area .widget_rss ul>li:after{
	content: "";
	display: table;
	clear: both;
}
#home-bottom-widget-area .widget_rss ul>li:first-child{
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
#home-bottom-widget-area .widget_rss ul>li a{
	color: #404040;
	font-size: 15px;
}
#home-bottom-widget-area .widget_rss ul>li a:hover{
	color: #00539c;
}
#home-bottom-widget-area .widget_rss .rss-date{
	position: absolute;
	top: 10px;
	right: 15px;
    min-width: 10px;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background-color: #27ae60;
    border-radius: 10px;
}

.scrollTop{
	width: 50px;
	height: 50px;
	position: fixed;
	right: 5%;
	bottom: 10%;
	z-index: 999;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	transition: all 1 ease;
	display: none;
}
.scrollTop a{
	display: block;
	border: 1px solid rgba(0, 0, 0, 0.7);
	font-size: 30px;
	text-align: center;
	line-height: 48px;
}
.scrollTop a>span{
	line-height: 48px;
}
.widget_recent_entries ul{
	margin-left: 0;
	margin-bottom: 20px;
	list-style-type: none;
	padding: 0;
}
.widget_recent_entries li{
	border: 1px solid #005ca8;
	padding: 10px;
}
.widget_recent_entries a{
	color: #333;
	font-size: 14px;
	font-weight: bold;
}
.widget_recent_entries a:hover{
	text-decoration: underline;
}
.archive-description p{
	font-size: 14px;
}
.navbar-brand>a{
	display: block;
}
.deped-dagupan-logo,
.deped-main-logo{
	height: 60px;
	width: auto;
	display: inline-block !important;
}
.deped-dagupan-logo{
	padding-top: 0 !important;;
}
.site-title{
	color: #fff;
	font-size: 18px;
	display: inline-block;
	margin: 10px 15px 0;
}
.site-title small{
	color: #fff;
}
.entry-content ul,
.entry-content ol{
	font-size: 12px;
}
  /*
  *
  *	=MEDIA QUERIES
  *
  */

@media only screen and (max-width : 1199px) {
	div#primary, .custom-links{width: 960px; padding: 0 10px;}
}
/* Medium Devices, Desktops */

@media only screen and (max-width : 1100px) {
	div.slider .wrapper{top: 225px !important;}
	.nav>li>a{
		padding-left: 10px;
		padding-right: 10px;
	}
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
	.site-content{padding: 0 15px;}
	.navbar-toggle{margin-right: 0;}
	.nav>li>a{
		padding-left: 6px;
		padding-right: 6px;
	}
	div#secondary{max-width: 250px; margin: 0 auto;}
	footer #footer-top-md{display: none;}
	footer #footer-top-xs{display:block !important;}
	footer #footer-top-xs{text-align: center;}
	footer.site-footer .site-info{background-position: left center;}
	footer.site-footer #footer-top>.container>.row#footer-top-xs>div:not(:nth-child(3)){margin-bottom: 15px;}
	footer .site-map{margin: 0 auto; display:inline-block;}
	footer .site-map ul{text-align: left;}
	footer .site-info{display: inline-block; text-align: left;}
}
@media only screen and (max-width : 991px) {
	.site-header>div.container, .slider>.container{width: 100%;}
	.custom-links{width: 90%;}
	.custom-links{width: -moz-calc(100% - 20px); width: -webkit-calc(100% - 20px); width: calc(100% - 20px);}
	div#primary, .custom-links{padding: 0 10px;}
	div#primary{width: 100%; padding: 0 20px;}
	.shadowed-box{height: 180px;}
}
@media only screen and (max-width : 870px){
	.site-header .main-menu{
		position: relative;
		top: 0;
		padding: 0;
		width: 100%;
	}
}
/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
	.site-header .slider{height: 350px;}
	.site-header .main-menu .navbar{padding: 0;}
	div.slider .wrapper{top: 170px !important;}
	.site-content{padding: 0 10px;}
	div#primary, .custom-link{width: 100%; padding: 0 10px;}
	#facts-and-figures .category-post, #deped-co-iss .category-post{padding: 0 15px 15px !important;}
	.shadowed-box{height: 360px;}
	#footer-bottom p{text-align: center;}
}

@media only screen and (max-width: 767px){
	.container-fluid>.navbar-header{margin-right: -15px;}
	.site-header .navbar.navbar-default .container-fluid{padding: 0 15px;}
	.site-header .main-menu ul li a{text-align: center; font-weight: bold; text-transform: uppercase;}
	.site-header .main-menu .navbar .navbar-brand img{ width: initial; padding: 7.5px 10px;}
	.primary-menu-search {display: none !important;}
	.site-header .navbar .search-form-container{position: relative; top: 0; right: 0;}
	.search-form-container{display: block;}
	.search-form-container form{padding-bottom: 10px;}
	.search-form-container input[type="search"]{width: 100%; text-align: center; padding: 3px 0;}
}
@media only screen and (max-width : 600px) {
	#news-and-events .article-normal{width: 100%;}
	#news-and-events .article-feat img{float: none; display: block; margin: 0; width: 100%; height: auto;}
	#news-and-events .article-feat p{margin-left: 0;}
	
}
/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 480px) {
	.navbar-toggle{
		float: none;
		display: block;
		width: 100%;
		padding-left: 35px !important;
	}
	.site-header .slider{height: 290px;}
	.site-header .main-menu .navbar .navbar-brand {padding: 0 0 0 5px;}
	div#primary, .custom-links{padding: 0 5px;}
	#news-and-events .article-normal img{margin-right: 10px; margin-bottom: 10px;}
	#news-and-events .article-normal p{margin-left: 0;}
	#deped-co-iss .category-post,
	#facts-and-figures .category-post{width: 100%;}
}

/* Custom, iPhone Retina */ 
@media only screen and (max-width : 320px) {
	footer>#footer-top-xs{text-align: left;}
}


