/* ---------------------------------------
 * @copyright	ULAP - Union of Local Authorities of the Philippines
 * Developed and Designed by: Inventive Media
 * Author: Henry N. Ong II
 * Author Website: http://www.inventivemedia.com.ph
 * @license ULAP
 * @version 1.0
-----------------------------------------*/


html {
  height: 101%;
}

body {
  margin: 0;
  padding: 0;
}

* {
    padding: 0;
    margin: 0;
}

.flexiblecolumn {
	min-height: 1px;
}

.clr {
	clear : both;
}

table img {
	max-width: none;
}


.column.column1 {
    width: 25%;
}

.column.column2 {
    width: 33.333333333333%;
}

.column.main {
    width: 75%;
}

.column.center {
    width: 66.666666666667%;
}

.noleft .center {
    width: 75%;
}

.noleft .column2 {
    width: 25%;
}

.noleft .main {
    width: 100%;
}

.noright .column.center {
    width: 100%;
}

.flexiblemodule, .column, .logobloc, .flexiblecolumn {
    float: left;
}

.rtl .flexiblemodule, .rtl .column, .rtl .logobloc, .rtl .flexiblecolumn {
    float: right;
}

/* for equalheights */
.equalheights > .inner > .clr {
	display: none;
}

.equalheights > .inner,
.equalheights .maincenter > .inner {
	display: flex;
}

.equalheights .flexiblemodule,
.equalheights .column {
	display: flex;
}

.equalheights .flexiblemodule > .inner,
.equalheights .column > .inner {
	max-width:100%;
	width: 100%;
	box-sizing: border-box;
}

.videobackground { 
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	z-index: -1;
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
	/*background: url(polina.jpg) no-repeat;*/
	background-size: cover; 
}

.hasvideobackground {
	position: relative;
	overflow: hidden;
}

/* ---------------------------------------
	Custom styling
-----------------------------------------*/

.container, .container-fluid {
	margin: 0 auto;
}

.container {
	width: 1200px;
}

.container-fluid {
	max-width: 1200px;
}

body {
	color: #363636;
	text-align: left;
	line-height: 24px;
	font-size: 14px;
	font-family: Open Sans;
}

a {
	color: #242424;
}


a:hover {
	color: #004a80;
}

h1, div.componentheading {
	font-size: 36px;
	font-family: Oxygen;
}

h2, div.contentheading {
	font-size: 30px;
	font-family: Oxygen;
}

h3 {
	font-size: 24px;
	font-family: Oxygen;
}

h4 {
	font-size: 20px;
	font-family: Oxygen;
}

h5 {
	font-size: 18px;
	font-family: Oxygen;
}

h6 {
	font-size: 16px;
	font-family: Oxygen;
}

.button, button, button.btn, input.btn, .btn, .btn-group > .btn.active {
    border: none;
	background: #26abff;
	color: #ffffff;
	padding: 5px;
	text-align: center;
	font-weight: bold;
}

.button:hover, button:hover, button.btn:hover, input.btn:hover, .btn:hover {
	background: #337ab7;
}

.readmore a, .readmore .btn {
	background: #26abff;
}

.invalid {border: red;}
                
input.inputbox, .registration input, .login input, .contact input, .contact textarea,  select,
textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
    border: none;
	height: auto;
	border: #bebebe 1px solid;
	color: #bebebe;
	padding: 4px;
	text-align: left;
}

input:focus, input.inputbox:focus, .registration input:focus, .login input:focus, .contact input:focus, .contact textarea:focus,  select:focus,
textarea:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, input[type="number"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="color"]:focus, .uneditable-input:focus {
	border: #000000 1px solid;
}

#header-wrapper {
	margin: 0 auto;

                    }

#logo-mod > div.inner {
	margin-top: 20px;
	margin-bottom: 20px;
}

#logo-mod div.moduletable, #logo-mod div.module,
#logo-mod div.moduletable_menu, #logo-mod div.module_menu {
	margin-right: 10px;
	margin-left: 10px;
}

#logo-mobile-mod > div.inner {
	margin-top: 20px;
	margin-bottom: 20px;
}

#logo-mobile-mod div.moduletable, #logo-mobile-mod div.module,
#logo-mobile-mod div.moduletable_menu, #logo-mobile-mod div.module_menu {
	margin-right: 10px;
	margin-left: 10px;
}

#nav-wrapper {
	border-top: #cccccc 1px solid;
	border-bottom: #cccccc 1px solid;

                    }

#about-wrapper {
	background: #eef2f3;

                    }
#about-block .n1 > .flexiblemodule { width: 100%; }
#about-block .n2 > .flexiblemodule { width: 50%; }
#about-block .n2 > .flexiblemodule + div { width: 50%; }
#about-block .n3 > .flexiblemodule { width: 33.333333333333%; }
#about-block .n3 > .flexiblemodule + div { width: 33.333333333333%; }
#about-block .n3 > .flexiblemodule + div + div { width: 33.333333333333%; }
#about-block .n4 > .flexiblemodule { width: 25%; }
#about-block .n4 > .flexiblemodule + div { width: 25%; }
#about-block .n4 > .flexiblemodule + div + div { width: 25%; }
#about-block .n4 > .flexiblemodule + div + div + div { width: 25%; }

#about-block > div.inner {
	margin-top: 15px;
	margin-bottom: 15px;
}

#about-mod1 > div.inner {
	text-align: left;
}

#about-mod1 div.moduletable, #about-mod1 div.module,
#about-mod1 div.moduletable_menu, #about-mod1 div.module_menu {
	margin-right: 10px;
	margin-left: 10px;
}

#about-mod1 div.moduletable h3, #about-mod1 div.module h3,
#about-mod1 div.moduletable_menu h3, #about-mod1 div.module_menu h3 {
	text-align: left;
}

#about-mod2 div.moduletable, #about-mod2 div.module,
#about-mod2 div.moduletable_menu, #about-mod2 div.module_menu {
	margin-right: 10px;
	margin-left: 10px;
}

#about-mod3 div.moduletable, #about-mod3 div.module,
#about-mod3 div.moduletable_menu, #about-mod3 div.module_menu {
	margin-right: 10px;
	margin-left: 10px;
}

#about-mod4 div.moduletable, #about-mod4 div.module,
#about-mod4 div.moduletable_menu, #about-mod4 div.module_menu {
	margin-right: 10px;
	margin-left: 10px;
}

#featured-news-block > div.inner {
	margin: 10px;
}

#featured-news-block div.moduletable, #featured-news-block div.module,
#featured-news-block div.moduletable_menu, #featured-news-block div.module_menu {
	margin: 10px;
}

#maincontent > div.inner {
	margin-top: 10px;
}

#left > div.inner {
	margin-right: 10px;
	margin-bottom: 100px;
	padding: 10px;
}

#left div.moduletable, #left div.module,
#left div.moduletable_menu, #left div.module_menu {
	margin-bottom: 15px;
}

#left div.moduletable h3, #left div.module h3,
#left div.moduletable_menu h3, #left div.module_menu h3 {
	border-bottom: #f2f2f2 2px solid;
	text-transform: uppercase;
	font-size: 16px;
}

#main > div.inner {
	border-left: #f2f2f2 1px solid;
}

#maintopmodule > div.inner {
	padding: 10px;
}

#center > div.inner {
	margin-top: 10px;
	margin-right: 10px;
	margin-bottom: 10px;
	margin-left: 20px;
}

#centerbottommodule > div.inner {
	padding: 10px;
}

#right > div.inner {
	margin-left: 10px;
	padding: 10px;
}

#right div.moduletable, #right div.module,
#right div.moduletable_menu, #right div.module_menu {
	margin-bottom: 15px;
}

#right div.moduletable h3, #right div.module h3,
#right div.moduletable_menu h3, #right div.module_menu h3 {
	border-bottom: #f2f2f2 2px solid;
	text-transform: uppercase;
	font-size: 16px;
}

#mainbottommodule > div.inner {
	padding: 10px;
}
#news-block .n1 > .flexiblemodule { width: 100%; }
#news-block .n2 > .flexiblemodule { width: 66.7%; }
#news-block .n2 > .flexiblemodule + div { width: 33.3%; }
#news-block .n3 > .flexiblemodule { width: 33.333333333333%; }
#news-block .n3 > .flexiblemodule + div { width: 33.333333333333%; }
#news-block .n3 > .flexiblemodule + div + div { width: 33.333333333333%; }

#news-block > div.inner {
	margin: 10px;
}

#news-mod1 > div.inner {
	margin: 10px;
}

#news-mod2 > div.inner {
	margin: 10px;
}

#news-mod3 > div.inner {
	margin: 10px;
}
#resources-block .n1 > .flexiblemodule { width: 100%; }
#resources-block .n2 > .flexiblemodule { width: 50%; }
#resources-block .n2 > .flexiblemodule + div { width: 50%; }
#resources-block .n3 > .flexiblemodule { width: 33.333333333333%; }
#resources-block .n3 > .flexiblemodule + div { width: 33.333333333333%; }
#resources-block .n3 > .flexiblemodule + div + div { width: 33.333333333333%; }
#resources-block .n4 > .flexiblemodule { width: 25%; }
#resources-block .n4 > .flexiblemodule + div { width: 25%; }
#resources-block .n4 > .flexiblemodule + div + div { width: 25%; }
#resources-block .n4 > .flexiblemodule + div + div + div { width: 25%; }

#resources-block > div.inner {
	background: #efefef;
	border: #e0e0e0 2px solid;
	margin-top: 10px;
	margin-right: 10px;
	margin-bottom: 50px;
	margin-left: 10px;
	padding: 10px;
}

#resources-mod1 > div.inner {
	margin: 10px;
	margin-top: 10px;
	margin-right: 10px;
	margin-bottom: 10px;
}

#resources-mod1 div.moduletable h3, #resources-mod1 div.module h3,
#resources-mod1 div.moduletable_menu h3, #resources-mod1 div.module_menu h3 {
	color: #293039;
	padding-top: 10px;
	text-align: center;
	line-height: 22px;
	font-size: 16px;
}

#resources-mod2 > div.inner {
	margin: 10px;
}

#resources-mod2 div.moduletable h3, #resources-mod2 div.module h3,
#resources-mod2 div.moduletable_menu h3, #resources-mod2 div.module_menu h3 {
	border-bottom: #5c5c5c 5px solid;
	color: #293039;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 30px;
	line-height: 22px;
	font-size: 16px;
}

#resources-mod3 > div.inner {
	margin: 10px;
}

#resources-mod3 div.moduletable h3, #resources-mod3 div.module h3,
#resources-mod3 div.moduletable_menu h3, #resources-mod3 div.module_menu h3 {
	border-bottom: #5c5c5c 5px solid;
	color: #293039;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 30px;
	line-height: 22px;
	font-size: 16px;
}

#resources-mod4 > div.inner {
	margin: 10px;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 10px;
}

#resources-mod4 div.moduletable h3, #resources-mod4 div.module h3,
#resources-mod4 div.moduletable_menu h3, #resources-mod4 div.module_menu h3 {
	border-bottom: #5c5c5c 5px solid;
	color: #293039;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 30px;
	line-height: 22px;
	font-size: 16px;
}

#footer-wrapper {
	background: #414a52;

                    }

#footer-wrapper > div.inner {
	color: #909090;
	font-size: 15px;
}

#footer-wrapper a {
	color: #bfbfbf;
}


#footer-wrapper a:hover {
	color: #ffffff;
	text-decoration: none;
}
#footer-block .n1 > .flexiblemodule { width: 100%; }
#footer-block .n2 > .flexiblemodule { width: 50%; }
#footer-block .n2 > .flexiblemodule + div { width: 50%; }
#footer-block .n3 > .flexiblemodule { width: 33.333333333333%; }
#footer-block .n3 > .flexiblemodule + div { width: 33.333333333333%; }
#footer-block .n3 > .flexiblemodule + div + div { width: 33.333333333333%; }
#footer-block .n4 > .flexiblemodule { width: 25%; }
#footer-block .n4 > .flexiblemodule + div { width: 25%; }
#footer-block .n4 > .flexiblemodule + div + div { width: 25%; }
#footer-block .n4 > .flexiblemodule + div + div + div { width: 25%; }

#footer-block > div.inner {
	margin-right: 10px;
	margin-left: 10px;
}

#footer-mod1 > div.inner {
	margin: 10px;
}

#footer-mod1 div.moduletable h3, #footer-mod1 div.module h3,
#footer-mod1 div.moduletable_menu h3, #footer-mod1 div.module_menu h3 {
	color: #ffffff;
	text-transform: uppercase;
	font-size: 16px;
}

#footer-mod2 > div.inner {
	margin: 10px;
}

#footer-mod2 div.moduletable h3, #footer-mod2 div.module h3,
#footer-mod2 div.moduletable_menu h3, #footer-mod2 div.module_menu h3 {
	color: #ffffff;
	text-transform: uppercase;
	font-size: 16px;
}

#footer-mod3 > div.inner {
	margin: 10px;
}

#footer-mod3 div.moduletable h3, #footer-mod3 div.module h3,
#footer-mod3 div.moduletable_menu h3, #footer-mod3 div.module_menu h3 {
	color: #ffffff;
	text-transform: uppercase;
	font-size: 16px;
}

#footer-mod4 > div.inner {
	margin: 10px;
}

#footer-mod4 div.moduletable h3, #footer-mod4 div.module h3,
#footer-mod4 div.moduletable_menu h3, #footer-mod4 div.module_menu h3 {
	color: #ffffff;
	text-transform: uppercase;
	font-size: 16px;
}

#copyright-wrapper {
	background: #293039;
	border-top: #474a4d 1px solid;

                    }

#copyright-wrapper > div.inner {
	color: #888888;
}
#copyright-block .n1 > .flexiblemodule { width: 100%; }
#copyright-block .n2 > .flexiblemodule { width: 50%; }
#copyright-block .n2 > .flexiblemodule + div { width: 50%; }
#copyright-block .n3 > .flexiblemodule { width: 33.333333333333%; }
#copyright-block .n3 > .flexiblemodule + div { width: 33.333333333333%; }
#copyright-block .n3 > .flexiblemodule + div + div { width: 33.333333333333%; }
#copyright-block .n4 > .flexiblemodule { width: 25%; }
#copyright-block .n4 > .flexiblemodule + div { width: 25%; }
#copyright-block .n4 > .flexiblemodule + div + div { width: 25%; }
#copyright-block .n4 > .flexiblemodule + div + div + div { width: 25%; }

#copyright-block > div.inner {
	margin-top: 15px;
	margin-bottom: 15px;
}

#copyright-mod1 div.moduletable, #copyright-mod1 div.module,
#copyright-mod1 div.moduletable_menu, #copyright-mod1 div.module_menu {
	margin-right: 10px;
	margin-left: 10px;
}

#copyright-mod2 div.moduletable, #copyright-mod2 div.module,
#copyright-mod2 div.moduletable_menu, #copyright-mod2 div.module_menu {
	margin-right: 10px;
	margin-left: 10px;
}

#copyright-mod3 div.moduletable, #copyright-mod3 div.module,
#copyright-mod3 div.moduletable_menu, #copyright-mod3 div.module_menu {
	margin-right: 10px;
	margin-left: 10px;
}

#copyright-mod4 div.moduletable, #copyright-mod4 div.module,
#copyright-mod4 div.moduletable_menu, #copyright-mod4 div.module_menu {
	margin-right: 10px;
	margin-left: 10px;
}
