/*
Theme Name: Embassy of Philippines Madrid
Theme URI: http://www.phinisiweb.se/
Description: This is a customized Wordpress theme for Embassy of Philippines Madrid
Author: Willy Jansen
Version: 1.0
Tags: phinisiweb
*/

utf-8
body {
	font-family: 'Voces', cursive;
	background: #f8f8f8;
	margin: 0px auto 0px;
	padding: 0px;
	color: #000;
}

/* ~~ Element/tag selectors ~~ */
ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
	padding: 0;
	margin: 0;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 5px 0;	 /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
	font-family: 'Voces', cursive;
	padding-right: 5px;
	padding-left: 5px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
	
}

p {
	clear: left;
	margin: 5px;
	padding: 5px;
	display: block;
}

h1 {
	font-size: 18px;
}

h2 {
	font-size: 16px;
}

h3 {
	font-size: 14px;
}

hr {
	border-left: none;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #fff;
	margin: 10px 25px 10px 15px ;
	
}

table {
	margin: 5px;
	padding: 5px;
}


a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
	border: none;
}

/* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
a:link {
	text-decoration: none; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
	color: #FF4500;
}
a:visited {
	text-decoration: none; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
	color: #FF4500;
}
a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
	text-decoration: underline;
	color: #FF4500;
}

.sp-title-link:link {
	text-decoration: none; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
	color: #18104C;
}
.sp-title-link:visited {
	text-decoration: none; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
	color: #18104C;
}
.sp-title-link:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
	text-decoration: underline;
	color: #18104C;
}

/* ~~this fixed width container surrounds the other divs~~ */
.container {
	position: relative;	
	background: url(images/headers/bg_main_blue_new_tall.png) repeat-x #f8f8f8;
}

/* ~~ the header is not given a width. It will extend the full width of your layout. It contains an image placeholder that should be replaced with your own linked logo ~~ */
.header {
	height:285px;
	width:960px;
	margin: 0 auto;
}

.header #banner {
	margin-bottom: 5px;
}

.headermenu {
	display: block;
	overflow: hidden;
	clear: left;
	background: #ADB96E;
	width: 960px;
}

/* ~~ These are the columns for the layout. ~~ 

1) Padding is only placed on the top and/or bottom of the divs. The elements within these divs have padding on their sides. This saves you from any "box model math". Keep in mind, if you add any side padding or border to the div itself, it will be added to the width you define to create the *total* width. You may also choose to remove the padding on the element in the div and place a second div within it with no width and the padding necessary for your design.

2) No margin has been given to the columns since they are all floated. If you must add margin, avoid placing it on the side you're floating toward (for example: a right margin on a div set to float right). Many times, padding can be used instead. For divs where this rule must be broken, you should add a "display:inline" declaration to the div's rule to tame a bug where some versions of Internet Explorer double the margin.

3) Since classes can be used multiple times in a document (and an element can also have multiple classes applied), the columns have been assigned class names instead of IDs. For example, two sidebar divs could be stacked if necessary. These can very easily be changed to IDs if that's your preference, as long as you'll only be using them once per document.

4) If you prefer your nav on the left instead of the right, simply float these columns the opposite direction (all left instead of all right) and they'll render in reverse order. There's no need to move the divs around in the HTML source.

*/
.maincol {
	clear: both;
	overflow:hidden;
	width: 960px;
	margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout */
	padding-bottom: 10px;
	font-family: 'Voces', cursive;
}
.slideshow {
	clear: both;
	overflow:hidden;
	width: 960px;
	padding: 10px 10px 0 0;
}

.sidebar1 {
	float: right;
	width: 279px;
	margin-top: 15px;
	padding-bottom: 10px;
}

.sidebar2 {
	float: left;
	width: 279px;
	margin-top: 30px;
	padding-bottom: 10px;
}

.sidebar_president {
	float: right;
	width: 360px;
	margin-top: 15px;
	padding-bottom: 10px;
}

.sidebar_government {
	float: right;
	width: 480px;
	margin-top: 15px;
	padding-bottom: 10px;
}

.content {
	float: right;
	width: 680px;
}

.content_president {
	float: right;
	width: 600px;
}

.content_government {
	float: right;
	width: 480px;
}

/* ~~ This grouped selector gives the lists in the .content area space ~~ */
.content ul, .content ol { 
	padding: 0 15px 15px 40px; /* this padding mirrors the right padding in the headings and paragraph rule above. Padding was placed on the bottom for space between other elements on the lists and on the left to create the indention. These may be adjusted as you wish. */
}

/* ~~ The navigation list styles (can be removed if you choose to use a premade flyout menu like Spry) ~~ */
ul.nav {
	list-style: none; /* this removes the list marker */
	/*margin: 196px 0 0;  this creates the space between the navigation on the content below */
	float: left;
	width: 960px;
	height: 36px;
}

ul.nav li {
	float: left;
	margin: 0;
	position: relative;
}

ul.nav a, ul.nav a:visited { /* grouping these selectors makes sure that your links retain their button look even after being visited */
	padding: 10px 10px 5px 7px;                                                                                                            
	display: block;
	color: #fff;
	text-decoration: none;
	float: left;
	font-size: 18px;
	background: url(images/boxes/nav_bg.jpg) no-repeat 100% 50%;
}

ul.nav a:hover, ul.nav a:active, ul.nav a:focus { /* this changes the background and text color for both mouse and keyboard navigators */
	padding: 10px 10px 5px 7px;
	color: #D0E523;
	text-decoration: underline;
}

ul.nav li ul.subnav{
	list-style: none; /* this removes the list marker */
	position: absolute;
	left: 0px;
	top: 30px;
	margin: 0;
	padding: 0;
	display: none;
}

ul.nav li ul.subnav li{
	margin: 0;
	padding: 0;
	background: #0a2a37;
	clear: both;
	width: 170px;
}

ul.subnav a, ul.subnav a:visited { /* grouping these selectors makes sure that your links retain their button look even after being visited */
	background: none;
}

ul.subnav_child {
	list-style: none; /* this removes the list marker */
	display: none;
}

ul.embassynav {
	list-style: none; /* this removes the list marker */
	/*margin: 196px 0 0;  this creates the space between the navigation on the content below */
	float: left;
	width: 960px;
	height: 36px;
}

ul.embassynav li {
	float: left;
	margin: 10px;
	position: relative;
}

ul.governmentnav {
	list-style: none; /* this removes the list marker */
	/*margin: 196px 0 0;  this creates the space between the navigation on the content below */
	float: left;
	width: 960px;
	height: 36px;
}

ul.governmentnav li {
	float: left;
	margin: 10px;
	position: relative;
}

ul.phlspainnav {
	list-style: none; /* this removes the list marker */
	/*margin: 196px 0 0;  this creates the space between the navigation on the content below */
	float: left;
	width: 960px;
	height: 36px;
}

ul.phlspainnav li {
	float: left;
	margin: 10px;
	position: relative;
}

ul.calorgnav {
	list-style: none; /* this removes the list marker */
	/*margin: 196px 0 0;  this creates the space between the navigation on the content below */
	float: left;
	width: 960px;
	height: 36px;
}

ul.calorgnav li {
	float: left;
	margin: 10px;
	position: relative;
}

ul.csnav {
	list-style: none;
	float: left;
	width: 279px;
	margin: 10px 0;
}

ul.csnav li{
	margin: 10px 0 0 5px;
}

ul.csnav li ul.sub-menu {
	list-style: none;
	margin-left: 10px;
}

ul.linknav{
	list-style: none;
	clear: left;
	margin: 10px 0;
}

.linknav li{
	margin: 5px 0 0 5px;
}
/* ~~ End of navigation list ~~ */

.sb_wizard {
	overflow: hidden;
	clear: left;
	margin: 15px 0 10px 0;
}

.sb_content, .sidebar1 .sb_wizard .textwidget {
	margin: 0 10px;
	padding: 5px;
	border-left: 1px solid #D8D8D8;
	border-right: 1px solid #D8D8D8;
	border-bottom: 1px solid #D8D8D8;
	font-family: 'Voces', cursive;
}

.sb_content ol{
	padding-left: 25px;
}

.sb_content ol li{
	margin: 5px 0;
}

#page-377 ol li{
	margin: 5px 3
	0px;
}

.sb_header {
	margin: 0px 10px;
	background: #18104c;
    border-bottom: 1px solid #CCCCCC;
    clear: left;
	height: 38px;
}

.sb_header h2 {
	padding-top: 6px;
	font-size: 18px;
	color: #FFF;
}

.cn_window {
	overflow: hidden;
	clear: left;
	margin-top: 30px;
}

.cn_content {
	margin: 0 10px;
	padding: 5px;
	border-left: 1px solid #D8D8D8;
	border-right: 1px solid #D8D8D8;
	border-bottom: 1px solid #D8D8D8;
}

.cn_windnone {
	margin: 10px 0;
	overflow: hidden;
	clear: left;
}

.cn_windnone_left {
	width: 320px;
	margin-left: 10px;
	float: left;
}

.cn_windnone_right {
	width: 320px;
	margin-right: 10px;
	float: right;
}

.cn_windnone_content {
	padding: 5px 0;
	width: 318px;
	border-left: 1px solid #D8D8D8;
	border-right: 1px solid #D8D8D8;
	border-bottom: 1px solid #D8D8D8;
}

.cn_ticker {
}

.cn_header {
	margin: 0 10px;
    background: #18104c;
    border-bottom: 1px solid #CCCCCC;
    clear: left;
	height: 38px;
	width: 660px;
}

.cn_header h2 {
	padding-top: 6px;
	color: #FFF;
	font-size: 18px;
	font-weight: Arial;
}

.cn_windnone_header {
    background: #18104c;
    border-bottom: 1px solid #CCCCCC;
    clear: left;
	height: 38px;
	width: 320px;
}

.cn_windnone_header h2 {
	padding-top: 6px;
	color: #FFF;
	font-size: 18px;
}

.cn_post_detail {
	margin: 10px 0 0 0;
}

.cnw_post_detail {
	margin: 10px 0 0 0;
}

ul.useful_link {
	list-style: none;
}

ul.useful_link li{
	margin: 5px 0;
}

/* ~~ The addnav ~~ */
.addnav {
	color: #FFF;
}

.addnav_date {
	font-family: 'Voces', cursive;
	float: left;
	margin: 5px 0 0 5px;
	font-size: 12px;
}

.addnav_search {
	float: right;
}

/* ~~ End of addnav ~~ */

.menu {
	font-family: 'Voces', cursive;
}

/* ~~ The contact us form ~~ */

.pwcu_form div label{
	display: block;
	width: 100%;
}

.pwcu_error {
	color: #f00;
}
	
/* ~~ End of contact us form ~~ */

/* ~~ The navigation ~~ */

.navigation {
	clear: left;
	margin: 5px;
}

/* ~~ End of navigation ~~ */

/* ~~ The Page and Post ~~ */

.post, .page {
}

.post-1398 h2 a {
	text-transform: uppercase;
	margin: 5px 0;
	display: block;
}

/* ~~ End of Page and Post ~~ */

/* ~~ The Entry & sp (single post) ~~ */
.entry-title, .category-title {
    background: #18104c;
    border-bottom: 1px solid #CCCCCC;
    clear: left;
	padding: 5px 0 5px 5px;	
}

.entry-title h1, .entry-title h2, .category-title h1 {
	color: #FFF;
}

.entry-meta {
	padding: 0 5px;
	font-size: 11px;
	border-left: 1px solid #D8D8D8;
	border-right: 1px solid #D8D8D8;
}

.entry-content {
	font-size: 18px;
}

.entry-content, .category-content{
	padding: 5px;
	border-left: 1px solid #D8D8D8;
	border-right: 1px solid #D8D8D8;
	border-bottom: 1px solid #D8D8D8;
}

.entry-content img {
    height:auto;
    margin: 0 0 18px 0;
    max-width:100%;
}

.entry-content ul li {
	margin-left: 20px;
}

.entry-more {
    background: #18104c;
    border-bottom: 1px solid #CCCCCC;
    clear: left;
	padding: 5px 0 5px 5px;
}

.entry-more a {
	color: #FFF;
}

.entry-date {
	font-size: 12px;
}

.sp-meta {
	margin: 0 5px;
	color: gray;
}

.sp-content {
	margin: 0 5px;
}

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

/* ~~ End of entry~~ */

/* ~~ The footer ~~ */
.footer {
	border-top: 1px solid #D8D8D8;
	padding: 10px 0;
	background: #FFF;
	position: relative;/* this gives IE6 hasLayout to properly clear */
	clear: both; /* this clear property forces the .container to understand where the columns end and contain them */
}

.ft_content {
	margin: 0 auto;
	width: 960px;
}

.footer-widget-title {
	display: none;	
}

/* ~~ End of The footer ~~ */

.fltrt { 
	float: right;
	margin-left: 8px;
}
.fltlft {
	float: left;
	margin-right: 8px;
}
.clearfloat {
	clear:both;
	height:0;
	font-size: 1px;
	line-height: 0px;
}

.wp-table-reloaded {
	border-spacing: 1px 1px;
	background-color: #CDCDCD;
	border-collapse: separate;
	font-size: 12px;
	margin: 10px 0px 15px;
	text-align: left;
	width: 100%;
}

.wp-table-reloaded th {
	background-color: #E6EEEE;
	border: 1px solid white;
	padding: 4px;
	text-align: left;
	width: 314px;
}

.wp-table-reloaded td {
	background-color: white;
	color: #3D3D3D;
	padding: 4px;
	vertical-align: top;
	width: 314px;
}

.wp-caption {
	background-color: #EEE;
	border: 1px solid #DDD;
	border-bottom-left-radius: 3px 3px;
	border-bottom-right-radius: 3px 3px;
	border-top-left-radius: 3px 3px;
	border-top-right-radius: 3px 3px;
	padding: 4px 0px 5px;
	text-align: center;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 14px;
	font-weight: normal;
	font-style: italic;
	margin: 0px;
	padding: 0px;
}

.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}

.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}

.wp-caption p.wp-caption-text {
	margin: 0;
	padding:5px;
font-size: 14px;
	font-weight: normal;
	font-style: italic;
	}

.gallery img {
    margin:0;
}

.wp-smiley { /* Prevent the smileys from breaking line-height */
	max-height:12px;
	margin:0 !important;
}

.consular-fee-table h3 {
	font-family: 'Voces', cursive;
	padding: 10px 0;
}

.consular-fee-table td.indent-20 {
	margin-left: 20px;
}

.consular-fee-table td.indent-40 {
	margin-left: 40px;
}

.consular-fee-column-fee {
	text-align: center;
	font-weight: bold;
}

.former-ambassador-table {
	text-align: center;
	font-weight: bold;
}

.former-ambassador-column-picture {
	text-align: center;
	width: 250px;
}

.block-paragraph {
	display: block;
	clear: left;
	overflow: hidden;
}

#jwplayer-1-div {
	padding-left: 30px;
}

.apolo-informatica {
	font-family: 'Voces', cursive;
	font-size: 12px;
}