/*
 * Theme Name: eOSU 2.1
 * Theme URI: http://osu.up.edu.ph
 * Description: The 2013 eOSU theme for the Office of the Secretary of the University
 * Author: UP ITDC
 * Author URI: http://itdc.up.edu.ph
 * 
*/

html, body {
	height:100%;
}

body {
	background-color: #dddddd;
	margin: 0;
	padding: 0;
	font-size: 14px;
	font-family: 'Lato', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Goudy Old Style", Garamond, "Big Caslon", "Times New Roman", serif;
	color: #380a0a;
}

.h1-large { font-size: 140%; }
h1.first-letter::first-letter { font-size: 140%; }

.body-container {
	min-height: 100%;
	background-color: #fff;
	box-shadow: 0 0 15px #666;
	-webkit-box-shadow: 0 0 15px #666;
	-moz-box-shadow: 0 0 15px #666;
}

.gsc-control-cse {
	background-color: transparent !important;
	border: 0 !important;
}

.gsc-search-box {
	margin-top: 30px !important;
}

.cse .gsc-control-cse, .gsc-control-cse {
	padding: 0 !important;
}

input.gsc-input {
	font-size: 13px !important;
	font-family: 'Lato', sans-serif !important;
}

.seal { 
	width: 80px;
	margin-left: 20px;
}

.headline.maroon { 
	color: #380a0a !important;
	border-bottom: 5px solid #380a0a;	
}

.headline.green { 
	color: #184413 !important;
	border-bottom: 5px solid #184413;
}

.text-center {
	text-align: center;
}

/* --------------------------------------------------------------- */
/*                             HEADER                              */
/* --------------------------------------------------------------- */

.header {
	min-height: 110px;
	border-bottom: 5px solid #184413;
	background-image: url("img/header-bg.png");
	padding: 15px 0;
}

.header .up-logo {
	text-align: right;
}

.header .up-logo img {
	max-height: 80px;
	margin-top: 5px;
}

@media (max-width: 999px){
	.header .up-logo {
		text-align: center;
	}

	.seal {
		margin-left: 0;
	}
}

.header .text {
	float: left;
	
}

.header .up {
	text-align: left;
	font-size: 18px;
	margin-top: 10px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.header .osu {
	text-align: left;
	font-size: 25px;
	color: #570b0b;
	text-transform: uppercase;
	border-top: 1px solid #222;
	font-family: 'Old Standard TT', serif;
}

.header .osu span {
	font-size: 35px;
}

.carousel-control { width: 7%; }
.carousel img { min-width: 100%; }
.carousel {border-bottom: 5px solid #184413;}

/* --------------------------------------------------------------- */
/*                             FOOTER                              */
/* --------------------------------------------------------------- */

.footer {
	border-top: 3px solid #D49A39;
	min-height: 100px;
}

.footer address {
	font-size: 12px;
	line-height: 13px;
	margin-top: 20px;
	margin-left: 10px;
}

.footer address.right {
	margin-left: 0;
	margin-right: 10px;
	text-align: right;
}

.footer .system-links {
	margin-top: 15px;
	text-align: center;
}

.footer .system-links span.up {
	font-size: 13px;
	font-weight: bold;
}

.footer .system-links ul {
	text-align: center;
	font-size: 11px;
}

.footer .system-links ul li img {
	width: 50px;
}

.footer .system-links .up-system {
	text-align: center;
	display: block;
	margin-bottom: 10px;
}

.footer .system-links .up-system img {
	width: 80px;
}

.footer .system-links .up-system span {
	display: block;
}

.footer .system-links span.copyright {
	font-size: 11px;
}

/* --------------------------------------------------------------- */
/*                             MOBILE                              */
/* --------------------------------------------------------------- */

@media (max-width: 992px) {
	.header .text, .header .up, .header .osu, .footer {
		text-align: center;
	}

	.footer address.right { text-align: center;	}
}

/* --------------------------------------------------------------- */
/*                           NAVIGATION                            */
/* --------------------------------------------------------------- */
.navbar {
	border-top: 3px solid #d49a39;
	min-height: 30px;
	background-color: #380a0a;
	border-radius: 0;
	margin: 0;
}

.navbar-default { border: 0; border-top: 3px solid #d49a39; }
.navbar-default .navbar-collapse, .navbar-default .navbar-form { border: 0; }

.navbar-brand {
	color: #FFFFFF !important;
	text-decoration: none;
	font-size: 15px;
	padding-left: 20px;
	padding-right: 20px;
	margin: 0;
	font-family: Cambria, Georgia, serif;
	text-transform: uppercase;
}

.navbar-brand:hover {
	color: #d49a39 !important;	
}

.navbar .nav {
	margin: 0 !important;
	
}

.navbar .nav > li {
	height: 50px;
	line-height: 20px;
}

.navbar .nav > li > a {
	color: #FFFFFF;
	text-decoration: none;
	text-transform: uppercase;
	font-family: Cambria, Georgia, serif;
	font-size: 15px;
	padding-left: 10px;
	padding-right: 10px;
}

.navbar .nav > li:hover > a {
	color: #d49a39;
	background:rgba(112, 22, 27, 0.9);
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #d49a39;
  background:rgba(112, 22, 27, 0.9);
}

.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
  color: #d49a39;
  background:rgba(112, 22, 27, 0.9);
}

.dropdown:hover > .dropdown-menu {
  display: block !important;
}

.navbar-nav > li > .dropdown-menu {
  margin-top: 0;
  margin-left: 0;
}

.dropdown-menu {
  background:rgba(112, 22, 27, 0.9);
}

.dropdown-menu > li {
  padding: 5px 0;
  border-bottom: 1px dotted rgba(255,255,255,0.1);
}

.dropdown-menu > li > a {
  color: #fff;
  text-transform: uppercase;
  font-family: Cambria, Georgia, serif;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  color: #d49a39;
  text-decoration: none;
  background-color:rgba(0,0,0,.2);
}

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
  color: #d49a39;
  text-decoration: none;
  background-color: #6e0f0f;
  outline: 0;
}

/* --------------------------------------------------------------- */
/*                            BUTTONS                              */
/* --------------------------------------------------------------- */

.btn-primary {
  color: #fff;
  background-color: #380a0a;
  border-color: #380a0a;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
  color: #fff;
  background-color: #6e0f0f;
  border-color: #380a0a;
}
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
  background-image: none;
}
.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
  background-color: #380a0a;
  border-color: #380a0a;
}
.btn-primary .badge {
  color: #380a0a;
  background-color: #fff;
}

/* --------------------------------------------------------------- */
/*                          SAME HEIGHT                            */
/* --------------------------------------------------------------- */
.container-xs-height {
    display:table;
    padding-left:0px;
    padding-right:0px;
}
.row-xs-height {
    display:table-row;
}
.col-xs-height {
    display:table-cell;
    float:none;
}
@media (min-width: 768px) {
    .container-sm-height {
        display:table;
        padding-left:0px;
        padding-right:0px;
    }
    .row-sm-height {
        display:table-row;
    }
    .col-sm-height {
        display:table-cell;
        float:none;
    }
}
@media (min-width: 992px) {
    .container-md-height {
        display:table;
        padding-left:0px;
        padding-right:0px;
    }
    .row-md-height {
        display:table-row;
    }
    .col-md-height {
        display:table-cell;
        float:none;
    }
}
@media (min-width: 1200px) {
    .container-lg-height {
        display:table;
        padding-left:0px;
        padding-right:0px;
    }
    .row-lg-height {
        display:table-row;
    }
    .col-lg-height {
        display:table-cell;
        float:none;
    }
}

.col-top {
    vertical-align:top;
}
.col-middle {
    vertical-align:middle;
}
.col-bottom {
    vertical-align:bottom;
}

/* --------------------------------------------------------------- */
/*                           HOME PAGE                             */
/* --------------------------------------------------------------- */

.banner {
	border-top: 3px solid #d49a39;
	margin-bottom: 30px;
	background-color: #ebebeb;
	border-bottom: 2px solid #dedede;
}

.banner .wrapper {
	padding: 20px;
}

.osu-welcome .wrapper {
	padding: 20px 30px;
	font-size: 1.2em;
	color: #757575;
}

.osu-welcome .item {
	text-align: center;
}

.osu-welcome .item .banner-title {
	display: block;
	min-height: 50px;
	line-height: 50px;
	font-size: 35px;
	font-family: 'Lato', sans-serif;
	color: #b0120a;
}

.osu-welcome .item .main-text {
	width: 80%;
	margin: 15px auto;
}

.latest-gazette {
	text-align: center;
}

.latest-gazette img {
	width: 50%;
}

.three-columns {
	padding-bottom: 20px;
}

.tabbed-box .tabbed-title {
	width: 100%;
	border-bottom: 3px solid #380a0a;
	margin-bottom: 5px;
}

.tabbed-box .tabbed-title .title {
	color: #380a0a;
	padding: 5px 10px;
	font-size: 2em;
	font-weight: 400;
	font-family: Cambria, Georgia, serif;
}

.tabbed-box .tabbed-title.maroon {
	border-bottom: 3px solid #380a0a;
}

.tabbed-box .tabbed-title.maroon .title {
	background-color: #380a0a;
	color: white;
}

.tabbed-box .tabbed-title.green {
	border-bottom: 3px solid #184413;
}

.tabbed-box .tabbed-title.green .title {
	background-color: #184413;
}

.tabbed-box .tabbed-title.gray {
	border-bottom: 3px solid transparent;
}

.tabbed-box .tabbed-title.gray .title {
	background-color: transparent;
	color: #212121;
}

.tabbed-box .tabbed-body ul {
	background-color: white;
}

.home-links .tabbed-box .tabbed-body ul {
	background-color: transparent;
}

.tabbed-box .tabbed-body ul li {
	padding: 5px;
}

.tabbed-box .tabbed-body ul li .title {
	font-weight: bold;
}

.tabbed-box .tabbed-body ul li a {
	color: #212121;
	font-size: 1.2em;
}

.home-events,
.home-announcements,
.home-gazette,
.home-links {
	margin-bottom: 20px;
}

.home-events .wrapper,
.home-announcements .wrapper,
.home-gazette .wrapper,
.home-links .wrapper {
	width: 100%;
	min-height: 300px;
}

.home-links .wrapper .tabbed-box {
	width: 100%;
	display: table;
	min-height: 300px;
}

.home-events .tabbed-title,
.home-announcements .tabbed-title,
.home-gazette .tabbed-title,
.home-links .tabbed-title {
	background-color: #380a0a;
	border-radius: 5px;
	border: 0;
	text-align: center;
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
	padding: 5px 0;
	margin: 0;
}

.home-announcements .tabbed-title {
	background-color: #004425;
}

.home-events .tabbed-title {
	background-color: #f6a946;
}

.home-links .tabbed-title {
	background-color: #212121;
}

.home-events .tabbed-title .title,
.home-announcements .tabbed-title .title,
.home-gazette .tabbed-title .title,
.home-links .tabbed-title .title {
	color: white;
	font-weight: 100;
	font-size: 20px;
}

.home-events .tabbed-body,
.home-announcements .tabbed-body,
.home-gazette .tabbed-body,
.home-links .tabbed-body {
	min-height: 300px;
	border: 1px solid #dedede;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
	padding: 10px;
}

.home-announcements .announcements li,
.home-events li {
	border-bottom: 1px dashed #dedede;
}

.home-announcements .announcements .item a {
	font-size: 13px;
}

.home-announcements .announcements,
.home-gazette .gazettes {
	position: relative;
}

.home-announcements .announcements .more-link,
.home-gazette .gazettes .more-link {
	text-align: right;
	padding: 5px 15px;
	position: absolute;
	bottom: 0;
	right: 0;
	margin: 0;
	border-top: 1px solid #dedede;
	width: 100%;
}

.home-announcements .announcements .more-link a,
.home-gazette .gazettes .more-link a {
	font-size: 1em;
	font-weight: 400;
	font-family: Cambria, Georgia, serif;
	color: #b0120a;
}

.home-events .events .item {
	clear: both;
}

.home-events .events .item table {
	margin-bottom: 0;
}

.home-events .events .item td {
	border: 0;
}

.home-events .events .item .link {
	text-align: left;
	vertical-align: middle;
}

.home-events .events .item .date-box {
	text-align: center;
	font-family: "Goudy Old Style", Garamond, "Big Caslon", "Times New Roman", serif;
	background-color: #f5f5f5;
	padding: 5px 10px;
	width: 80px;
}

.home-events .events .item .date-box span {
	margin: 0;
	display: block;
	font-family: Cambria, Georgia, serif;
}

.home-events .events .item .date-box .day,
.home-events .events .item .date-box .year {
	font-size: 16px;
	line-height: 16px;
}

.home-events .events .item .date-box .month {
	font-size: 25px;
	line-height: 25px;
	text-transform: uppercase;
	color: #380a0a;
}

.home-links .wrapper .tabbed-body {
	padding: 10px 0;
}

.home-links .quick-links li {
	padding: 7px 15px !important;
}

.home-links .quick-links li a {
	font-size: 13px !important;
}

.home-links .quick-links li .fa {
	font-size: 11px;
}

.home-links .quick-links li:hover {
	background-color: #f5f5f5;
}

/* --------------------------------------------------------------- */
/*                          ABOUT PAGE                             */
/* --------------------------------------------------------------- */
.sidebar {
	background-color: #f6f6f6;
	vertical-align: top;
}

.sidebar .featured-image {
	margin-top: 30px;
}

.sidebar .tabbed-box {
	padding: 30px 0;	
}

.sidebar .tabbed-box .sidebar-menu {
	display: block;
	font-size: 20px;
	text-transform: uppercase;
	min-height: 30px;
	line-height: 30px;
	padding: 5px 10px;
	color: #F8AF25;
	border-bottom: 1px dotted #dedede;
}

.sidebar .tabbed-box ul {
	background-color: #f6f6f6;
	border-bottom: 0;
	-webkit-padding-start: 20px;
}

.sidebar .tabbed-box li {
	background-color: #f5f5f5;
	border-bottom: 1px dotted #dedede;
	-o-transition:.5s;
	-ms-transition:.5s;
	-moz-transition:.5s;
	-webkit-transition:.5s;
	/* ...and now for the proper property */
	transition:.5s;
	font-size: 13px;
	min-height: 30px;
	line-height: 30px;
	padding: 0 5px !important;
}

.sidebar .tabbed-box .page_item {
	background-color: #ffffff;	
}

.sidebar .tabbed-box .page_item > a {
	color: #F8AF25 !important;
	font-weight: 600;
}

.sidebar .tabbed-box li {
	min-height: 20px;
}

.sidebar .tabbed-box li:hover {
	background-color: #e0e0e0;
}

.sidebar .tabbed-box li.menu-item-has-children {
	position: relative;
}

.sidebar .tabbed-box li.menu-item-has-children:hover {
	/* margin-bottom: 30px; */
}

.sidebar .tabbed-box li.menu-item-has-children:hover ul.sub-menu {
	display: block;
	background-color: #e0e0e0;
}

.sidebar .tabbed-box ul.sub-menu {
	/* position: absolute; */
	/* top: 30px; */
	left: 0;
	-webkit-padding-start: 20px;
	width: 100%;
	display: none;
	z-index: 9999;
	margin: 0;
}

.sidebar .tabbed-box ul.sub-menu li {
	width: 100%;
	padding-left: 5px !important;
	background-color: #e0e0e0;
}

.history-secretary .item {
	clear: both;
	padding: 10px 0;
	border-bottom: 1px solid #dedede;
}

.history-secretary .item:last-child {
	border-bottom: 0;
}

.history-secretary .item .image {
	width: 100px;
	height: 100px;
	float: left;
	margin-right: 10px;
	background-size: cover !important;
}

.history-secretary .item .image img {
	width: 100%;
	height: auto;
}

.history-secretary .item .info {
	float: left;
}

.history-secretary .item .info .name {
	font-family: Cambria, Georgia, serif;
	font-size: 20px;
	line-height: 30px;
	color: #380a0a;
	text-decoration: none !important;
	cursor: text;
}

.history-secretary .item .info .designation {
	color: #757575;
}

.history-secretary .item a {
	color: #380a0a !important;
}

.assistant-secretary {
	margin-bottom: 20px;
}

.assistant-secretary .featured-image {
	float: left;
	width: 25%;
	min-height: 50px;
	text-align: right;
}

.assistant-secretary .featured-image img {
	max-width: 150px;
	height: auto;
	border: 1px solid #184413;
}

.assistant-secretary .text-container {
	float: left;
	width: 75%;
	min-height: 50px;
	font-size: 16px;
}

.assistant-secretary .text-container .headline {
	padding-left: 10px;
}

.assistant-secretary .text-container ul,
.assistant-secretary .text-container p {
	font-size: 16px;
	padding-left: 10px;
}

.osu-members {
	padding: 20px 30px;
}

.osu-members .item {
	margin-bottom: 10px;
}

.osu-members .item .image-container img {
	width: 100%;
	margin-bottom: 10px;
}

.osu-members .item.left .image-container {
	width: 35%;
	min-height: 200px;
	float: left;
}

.osu-members .item.left .image-container img {
	border: 3px solid #380a0a;
}

.osu-members .item.left .text-container {
	width: 65%;
	min-height: 200px;
	float: left;
	text-align: left;
}

.osu-members .item.left .text-container .headline {
	padding-left: 10px;
}

.osu-members .item.left .text-container p {
	padding-left: 10px;
	font-size: 16px;
}

.osu-members .item.right .image-container {
	width: 35%;
	min-height: 200px;
	float: left;
}

.osu-members .item.right .image-container img {
	border: 3px solid #184413;
}

.osu-members .item.right .text-container {
	width: 65%;
	min-height: 200px;
	float: left;
	text-align: right;
}

.osu-members .item.right .text-container .headline {
	padding-right: 10px;
}

.osu-members .item.right .text-container p {
	padding-right: 10px;
	font-size: 16px;
}

.org-chart {
	text-align: center;
}

.org-chart img {
	width: 80%;
	height: auto;
}

/* --------------------------------------------------------------- */
/*                        GAZETTE PAGE                             */
/* --------------------------------------------------------------- */
.gazette-header {
	text-align: center;
}

.gazette-img {
	width: 80%;	
}

.gazette-header p {
	text-align: left;
	font-size: 16px;
}

/* --------------------------------------------------------------- */
/*                            BOR PAGE                             */
/* --------------------------------------------------------------- */
.up-bor-members .item {
	clear: both;
	padding: 10px 0;
}

.up-bor-members .item .image {
	width: 100px;
	height: 100px;
	float: left;
	margin-right: 10px;
	background-size: cover !important;
}

.up-bor-members .item .image img {
	width: 120px;
	height: auto;
}

.up-bor-members .item .info {
	float: left;
	width: 70%;
}

.up-bor-members .item .info .name {
	font-family: Cambria, Georgia, serif;
	font-size: 20px;
	line-height: 25px;
	color: #380a0a;
	display: block;
	cursor: text;
	text-decoration: none;
}

.up-bor-members .item .info .bor-designation {
	font-family: Cambria, Georgia, serif;
	font-size: 15px;
	line-height: 20px;
	color: #380a0a;
	display: block;
}

.up-bor-members .item .info .designation {
	font-size: 12px;
	line-height: 15px;
	color: #380a0a;
	display: block;
	font-style: italic;
}

/* --------------------------------------------------------------- */
/*                            FAQ PAGE                             */
/* --------------------------------------------------------------- */
.faqs .faq-item:last-child {
	border-bottom: 0;
}

.faq-item {
	padding-bottom: 30px;
	margin-top: 20px;
	margin-bottom: 15px;
	border-bottom: 1px solid #dedede;
}

/* --------------------------------------------------------------- */
/*                      OFFICE SERVICES PAGE                       */
/* --------------------------------------------------------------- */
.table ul {
	-webkit-padding-start: 15px;
}

.table-striped > tbody > tr:nth-child(odd) > td,
.table-striped > tbody > tr:nth-child(odd) > th {
  background-color: #ffe9e8;
}

.table-striped > tbody > tr:nth-child(1) > td,
.table-striped > tbody > tr:nth-child(1) > th {
  background-color: #c05851;
  color: white;
}

.fa-space {
	margin-right: 5px;
}

.bor-matters-items {

}

.bor-matters-items .item {
	padding-bottom: 20px;
	border-bottom: 1px dotted #dedede;
	margin-bottom: 20px;
}

.bor-matters-items .item:last-child{
	border-bottom: 0;
}

.up-directory {
	text-align: center;
	padding: 20px 0;
	padding-bottom: 100px;
}

.up-directory .up-system {
	margin-bottom: 20px;
	clear: both;
	display: block;
	color: #380a0a !important;
}

.up-directory .up-system img {
	width: 125px;
	height: auto;
	margin-bottom: 10px;
}

.up-directory .up-system .maroon {
	color: #380a0a !important;
	text-decoration: none;	
}

.up-directory .up-system a:hover {
	text-decoration: none;
}

.up-directory .links {
	padding: 0 15px;
}

.up-directory .links > li {
	width: 12%;
	height: auto;
	padding: 0;
}

@media (max-width: 999px){
	.up-directory .links > li {
		width: 24%;
		height: auto;
		padding: 0;
	}
}

.up-directory .links > li > a  > img {
	width: 100%;
	height: auto;
}

.up-system-offices {
	padding: 10px 15px;
}

.up-system-offices .panel {
	border: 0 !important;
}

.up-system-offices .panel .panel-heading {
	border: 0;
	background-color: white;
	padding-left: 0;
}

.up-system-offices .panel .panel-heading a {
	text-decoration: none;
}

.up-system-offices .panel .panel-heading .panel-title {
	font-size: 28px;
}

.up-system-offices .panel .panel-body .office a {
	color: #b0120a !important;
}

.maroon-a a {
	color: #380a0a !important;	
}