html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code, del, dfn, em,  ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, 
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	border: 0;
	font-size: 100%;
	vertical-align: middle;
	font-family: inherit;
	padding: 0;
}
img{
	width: auto;
	height: auto;
	border: 1px solid #7aa8c7;
    padding: 0px;
	}

h2 {
    color: inherit;
	font-family: Arial, Helvetica, sans-serif;
font-size: inherit;
font-weight: bold; 
}
	
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1.2em;
}
body.custom-background { 
	background-color: #f7f4d6; 
	 }
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
	
	
}

/* General Styles
-------------------------------------------------------------- */
html {
	font-size: 100%;
}
body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1em;
	border: 0;
	color: #111;
}

/* Links */
a, a:link, a:visited{
	color: #040492;
	text-decoration: underline;
	font-weight: bold;
}
a:hover, a:active {
	text-decoration: none;
	color: #005575;
}

/* Form Elements */

	
input, textarea {
	padding: 0.7em;
	background: #fff;
	border: 1px solid #b9ecf3;
	font-size: 0.8em;
	color: #333;
	font-family: 'PT Sans', Tahoma, Verdana, Arial;
}
input[type="submit"] {
	border: none;
	color: #fff;
	background-color: #002466;
}
input[type="submit"]:hover {
	background-color: #009966;
	cursor: pointer;
}

/* Clearing Floats */
.clearfix:before, .clearfix:after {  
	content: " ";
	display: table;  
}  
.clearfix:after {  
	clear: both;
}  
.clearfix {
    *zoom: 1; /* For IE 6/7 only */  
}
.cabecera {
	color: #fff;
	text-decoration: none;
	padding-top: 10px;
	padding-right: 0;
	padding-bottom: 1em;
	padding-left: 1em;
	
}
.cabecera a:link, .cabecera a:visited, .cabecera a:active {
	padding: 1em 0;
	color: #fff;
	text-decoration: none;
}
.cabecera a:hover  {
	padding: 1em 0;
	color: #fff;
	text-decoration: underline;
}


	
	
/* Make Form Elements responsive */
input, textarea, select {
	max-width: 100%;
}

/* Basic Structure 
-------------------------------------------------------------- */
#wrapper {
	width: 100%;
}
#header-wrap {
	background-color: #0197b7;
}
#header {
	padding: 2em 0;
}
#wrap {
	clear: both;
	margin: 2em auto 0;
}
#content {
	float: left;
	width: 65%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#sidebar {
	margin-left: 65%;
	width: 35%;
	padding-left: 2em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.container {
	max-width: 1340px;
	width: 90%;
	margin: 0 auto;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.form{
	width: 90%;
	height: 30px;
	border-radius: 1px;
	background-color: #e0f2fe;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 5px;
	margin-left: auto;
	padding-top: 0;
	padding-right: 1%;
	padding-bottom: 0;
	padding-left: 1%;
}
.form1{
	width: 90%;
	height: 150px;
	border-radius: 1px;
	background-color: #e0f2fe;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 5px;
	margin-left: auto;
	padding-top: 0;
	padding-right: 1%;
	padding-bottom: 0;
	padding-left: 1%;
}
.form2{
	width: 20%;
	height: 30px;
	border-radius: 1px;
	background-color: #e0f2fe;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 5px;
	margin-left: auto;
	padding-top: 0;
	padding-right: 1%;
	padding-bottom: 0;
	padding-left: 1%;
}

/* Header
-------------------------------------------------------------- */
#logo {
	max-width: 100%;
	margin-top: 0.5em;
	margin-right: 3;
	margin-bottom: 1.5em;
	margin-left: 3em;
}
#logo .logo-image {
	border: 0;
	max-width: 100%;
	height: auto;
	padding-right: 50px;
	padding-bottom: 1.5em;
}
#logo .site-title {
	font-size: 2.5em;
	color: #fff;
	font-family: 'Arimo', Tahoma, Verdana, Arial;
}
#logo a:hover {
	text-decoration: none;
}
#logo a:hover .site-title {
	text-decoration: underline;
}
#logo .site-description {
	margin-top: 0.4em;
	color: #fff;
}

/* Custom Header Image */
#custom-header {
	margin-top: 2em;
}
#custom-header img {
	max-width: 1340px;
	vertical-align: top;
	width: 100%;
	height: auto;
}
/* Navigation Menu
-------------------------------------------------------------- */
#mainnav-icon {
	display: none;
}
#mainnav {
	float: right;
}
#mainnav-menu {
	list-style-type: none;
	list-style-position: outside;
	position: relative;
}
#mainnav-menu li{
	float:left;
	position:relative;
	margin: 0 1px 1px 0;
}
#mainnav-menu a {
	display: block;
	padding: 0.6em;
	text-decoration: none;
	font-size: 0.98em;
	-webkit-transition: all 0.2s ease-out;
	-moz-transition: all 0.2s ease-out;
	-ms-transition: all 0.2s ease-out;
	-o-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
	background-color: #003c65;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #FFF;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #999;
}
#mainnav-menu a:link, #mainnav-menu a:visited{
	color: #fff;
	text-decoration: none;
	font-weight: normal;
}
#mainnav-menu a:hover {
	background-color: rgba(0,51,153,0.2);
}
#mainnav-menu ul {
	position: absolute;
	display: none;
	z-index: 99;
	background: #fefce7;
	box-shadow: 0 0 5px #bbb;
}
#mainnav-menu ul li{
	margin: 0;
}
#mainnav-menu ul a {
	width: 300px;
	width: 20rem;
	padding: 0.8em;
	float: left;
	font-weight: normal;
	color: #555;
	border: none;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	background-color: #c7ecf5;
}
#mainnav-menu ul a:link, #mainnav-menu ul a:visited{
	color: #003;
	text-decoration: none;
}
#mainnav-menu ul a:hover {
	border: none;
	background-color: #fff;
	color: #003F3F;
	text-decoration: underline;
}
#mainnav-menu ul ul{
	border: none;
}
#mainnav-menu li ul ul {
	margin-left: 300px;
	margin-left: 16rem;
}
#mainnav-menu li:hover ul ul, #mainnav-menu li:hover ul ul ul, #mainnav-menu li:hover ul ul ul ul{
	display:none;
}
#mainnav-menu li:hover ul, #mainnav-menu li li:hover ul, #mainnav-menu li li li:hover ul, #mainnav-menu li li li li:hover ul{
	display:block;
}

#mainnav-menu li.current_page_item ul li a, #mainnav-menu li.current-menu-item ul li a{
	border: none;
}
#mainnav-menu ul li.current_page_item a, #mainnav-menu ul li.current-menu-item a {
	border: none;
	text-decoration: underline;
}
#mainnav-menu ul li.current_page_item ul li a, #mainnav-menu ul li.current-menu-item ul li a{
	text-decoration: none;
}


/* Widget Styling
-------------------------------------------------------------- */
.widget {
    margin-bottom: 2em;
    background: #fff;
    padding: 0.5em;
}
.widgettitle {
	font-size: 1.0em;
	font-family: Arial;
	padding: 0.8em 1em;
	margin: -1.5em -1.5em 1.5em;
	color: #fff;
	background-color: #003c65;
}
.widget .textwidget {
	line-height: 2em;
}
.widget .textwidget p {
	margin-top: 1em;
}
.widget ul {
	line-height: 0.8em;
}
.widget ul {
	list-style: circle inside;
	color: #555;
}
.widget ul .children {
	padding: 0;
	margin: 0.5em 0 0.5em 1em;
}
.widget a:link, .widget a:visited  {
	text-decoration: none;
	color: #000099;
}
.widget a:hover, .widget a:active {
	text-decoration: underline;
}
.widget img {
	max-width: 100%;
	height: auto;
}
.iconos {
	max-width: 100%;
	height: auto;
	padding-top: 7px;
	padding-bottom: 3px;
	border: none;
}
.casas{
	width: 70px;
	height: 52;
	padding: 0;
}
/* Custom Widgets
-------------------------------------------------------------- */


/* Posts and Pages
-------------------------------------------------------------- */
.type-post, .type-page, .type-attachment  {
	background: #fff;
	border-top: 8px solid #007fe0;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 2em;
	margin-left: 0;
	padding-top: 0.5em;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
}
.page-title, .post-title {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 700;
	color: #000066;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
	padding: 0.5em;
	margin-right: 0.5em;
	margin-left: 0.5em;
	font-size:1.1em;
	background-color: rgb(184, 242, 251);
}
.page-titleazul, .post-titleazul {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 700;
	color: #000066;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
	padding: 0.5em;
	margin-right: 0.5em;
	margin-left: 0.5em;
	font-size:0.9em;
	background-color: rgb(184, 242, 251);
}
.page-title span {
	font-size: 1.6em;
	font-weight: bold;
	line-height: 2em;
}
.post-title span, .post-title a {
    font-size: 1.4em;
	font-weight: bold;
	color: #444;
	line-height: 1.4em;
}
.post-title a:link, .post-title a:visited {
	color: #444;
	text-decoration: none;
}
.post-title a:hover, .post-title a:active{
	color: #007fe0;
}
.sticky {
	border-left: 8px solid #ccc;
	margin-left: 2em;
}

/* Page Links | wp_link_pages() */
.page-links {
	margin: 0;
	word-spacing: 1em;
}



/* Text Elements
-------------------------------------------------------------- */
.entry {
	margin: 0;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
	background-color: #FFF;
	padding-top: 0.5em;
	padding-right: 0.5em;
	padding-bottom: 0.5em;
	padding-left: 0.5em;
}.entry2 {
	margin: 0;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
	background-color: #FFF;
	padding-top: 0.5em;
	padding-right: 0.5em;
	padding-bottom: 0.5em;
	padding-left: 0.5em;
}
.entry p, .comment p {
	margin: 0.75em 0;
}
.entry h1, .comment h1,
.entry h3, .comment h3,
.entry h4, .comment h4,
.entry h5, .comment h5,
.entry h6, .comment h6 {
	color: #222;
	font-weight: bold;
	line-height: 1.0em;
	margin-top: 0em;
	margin-right: 0;
	margin-bottom: 0.3em;
	margin-left: 0;
}

.entry ul, .comment ul{
	list-style: square inside;
	margin: 0 0 1.5em 2em;
}
.entry ol, .comment ol{
	list-style: decimal inside;
	margin: 0 0 1.5em 2em;
}
.entry ol ol, .comment ol ol{
	list-style: upper-alpha inside;
}
.entry ol ol ol, .comment ol ol ol{
	list-style: lower-roman inside;
}
.entry ol ol ol ol, .comment ol ol ol ol{
	list-style: lower-alpha inside;
}
.entry ul ul, .comment ul ul,
.entry ol ol, .comment ol ol,
.entry ul ol, .comment ul ol
.entry ol ul, .comment ol ul {
	margin-bottom: 0.2em;
}
.entry table {
	border-collapse: collapse;
	border-spacing: 0;
	border: 1px solid #b9ecf3;
	margin: 1em 0;
	text-align: left;
	width: 100%;
}
.entry tr th,
.entry thead th {
	background: #e5e5e5;
	font-weight: bold;
	padding: 0.2em 1em;
}
.entry tr td {
	border-top: 1px solid #b9ecf3;
	padding: 0.2em 1em;
}
.entry2 tr td {
	border-top: 1px solid #00000;
	padding: 0.2em 1em;
}
.entry tr.alternate td {
	background: #f5f5f5;
}

/* Page Templates
-------------------------------------------------------------- */

/* Fullwidth Template */
.fullwidth {
	float: none !important;
	width: 100% !important;
	padding: 0 !important;
}

/* Footer
-------------------------------------------------------------- */
#footer-wrap {
	background-color: #003c65;
	color: #FFF;
}
#footer {
	padding: 1em 0;
	color: #fff;
	text-decoration: none;
}
#footer a {
	color: #fff;
	text-decoration: none;
}
#footer a:hover {
	color: #b9ecf3;
	text-decoration: underline;
}
/*============================ MEDIA QUERIES ============================*/

/* Small screens | <1120px */
@media only screen and (max-width: 70em) {
	.container {
		width: auto;
	}
	#mainnav-menu a {
		padding: 1.2em;
	}
}
/* Smaller screens | <1120px */
@media only screen and (max-width: 65em) {
	#mainnav-menu a {
		padding: 1em;
	}
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
	.container {
		width: 100%;
	}
	#header, #wrap, #footer, #custom-header {
		padding-left: 2em;
		padding-right: 2em;
	}
	#content {
		float: none;
		width: 100%;
		padding-right: 0;
	}
	#sidebar {
		clear: both;
		margin: 0;
		width: 100%;
		padding: 2em 0 0 0;
	}
	#logo {
		float: none;
		width: 100%;
		margin: 0 0 2em;
	}

	/* Mobile Navigation */
	
	/* Reset */
	#mainnav, #mainnav-menu, #mainnav-menu li, #mainnav-menu a, #mainnav-menu ul, 
	#mainnav-menu ul a, #mainnav-menu ul ul, #mainnav-menu li ul ul 
	{
		margin: 0;
		padding: 0;
		position: static;
		float: none;
		display: inline;
		font-size: 1.0em;
		border: none;
		box-shadow: none;
		background: none;
		top: 0;
		left: 0;
	}
	#mainnav-menu li:hover ul ul, #mainnav-menu li:hover ul ul ul, #mainnav-menu li:hover ul ul ul ul,
	#mainnav-menu li:hover ul, #mainnav-menu li li:hover ul, #mainnav-menu li li li:hover ul, #mainnav-menu li li li li:hover ul
	{
		display: inline;
	}
	
	#mainnav {
		margin: 2em 0;
		float: none;
		background: yellow;
		padding: 1em 0;
	}
	#mainnav-icon {
		display: block;
		border-top: 2px solid #fff;
		padding: 1.5em;
		text-decoration: none;
		font-size: 0.9em;
		color: #fff;
		background: #003c65; 
	}
	#mainnav-icon:hover {
		cursor: pointer;
		text-decoration:  underline;
		background: #003c65; 
	}
	#mainnav-icon:after {
		float: right;
		content: "";
		width: 32px;
		height: 30px;
		background: url(images/menu-icon.png) no-repeat 50%;
		background-color: #005690;
		margin: -0.5em 0 0 0;
	}
	#mainnav-menu {
		width: 100%;
		display: none;
		margin-top: 1px;
	}
	#mainnav-menu a {
		display: block;
		padding: 1em;
		text-decoration: none;
		font-size: 0.9em;
		border-top: none;
		border-left: 2px solid #fff;
		background: #003c65; 
		margin-bottom: 1px;
		clear: left;
	}
	#mainnav-menu a:link, #mainnav-menu a:visited{
	color: #fff;
	text-decoration: none;
	font-family: Tahoma, Geneva, sans-serif;
	font-weight: normal;
		background: #003c65; 
	}
	#mainnav-menu a:hover{
		border-top: none;
		border-left: 2px solid #fff;
		text-decoration-color: #003c65;
		background: #004a7b; 
	}
	#mainnav-menu ul {
		float: left;
		padding-left: 1em;
			padding-right: 1em;
			padding-top: 0,8em;
			padding-bottom: 0,8em;
		width: 100%;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	#mainnav-menu ul a {
	display: block;
	width: 100%;
	padding-left: 1em;
	padding-right: 1em;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	background: rgba(255,255,255,0.05);
	color: #fff;
	font-size: 0.9em;
	margin-bottom: 1px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	}
	#mainnav-menu ul a:link, #mainnav-menu ul a:visited {
		color: #fff;
		background-color: #005690;
	}
	#mainnav-menu ul a:hover {
		background: #003c65;  
	}
	#mainnav-menu ul li ul {
		float: left;
		padding: 0 0 0 1em;
		width: 100%;
		border-top: none;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	#mainnav-menu li.current_page_item a, #mainnav-menu li.current-menu-item a {
		border-top: none;
		border-left: 2px solid #fff;
	}
	#mainnav-menu li.current_page_item ul li a, #mainnav-menu li.current-menu-item ul li a{
		text-decoration: none;
	}
	#mainnav-menu ul li.current_page_item a, #mainnav-menu ul li.current-menu-item a {
		text-decoration: underline;
	}
	
	/* Frontpage Template */
	#frontpage-slider-wrap {
		padding: 2em 2em 6em;
	}
	#frontpage-intro .frontpage-intro-text {
		font-size: 1.4em;
		text-align: center;
	}
	#frontpage-widgets-one, #frontpage-widgets-two {
		margin: 0;
	}
	.frontpage-widgets .widget-col-third  {
		float: none;

		width: 100%;
		padding-right: 0;
	}
	.widget a:link, .widget a:visited  {
	font-size: 0.80em;
	text-decoration: none;
	color: #000099;
}
}

/* Tablets (portrait) | <800px */
@media only screen and (max-width: 50em) {
	#logo .site-title {
		font-size: 1.1em;
		text-align: center;
	}
	#frontpage-widgets-three {
		margin: 0;
	}
	.frontpage-widgets .widget-col-half  {
		float: none;
		width: 100%;
		padding-right: 0;
	}
	#frontpage-intro .frontpage-intro-text {
		font-size: 0.95em;
	}
	
	.entry h1, .comment h1 {
	font-size: 0.95em;
	}
	.entry h2, .comment h2 {
		font-size: 1em;
	}
	.entry h3, .comment h3 {
		font-size: 0.80em;
	}
	.entry tr th,
	.entry thead th {
		padding: 0.2em 0.4em;
	}
	.entry tr td {
		padding: 0.2em 0.4em;
	}


/* Phablets (portrait) | <640px */
@media only screen and (max-width: 40em) {
	.page-title span {
	font-size: 0.85em;
	}
	.post-title span, .post-title a {
	font-size: 0.80em;
	}
}


/* Smartphones | <480px */
@media only screen and (max-width: 30em) {
	#logo .site-title {
		font-size: 0.90em;
	}
	.alignright, .alignleft {
		float: none;
		margin: 1em 0;
	}
	.page-title span {
	font-size: 0.80em;
	}
	.post-title span, .post-title a {
		font-size: 0.80em;
	}

	/* Margins */
	#wrap {
		margin-top: 1em;
	}
	#sidebar {
		padding-top: 1em;
	}
	#header {
		padding: 1.7em 1em 1em;
	}
	#custom-header {
		margin-top: 1em;
	}
	#wrap, #footer, #custom-header {
		padding-left: 1em;
		padding-right: 1em;
	}
	.widget, .type-post, .type-page, .attachment, 
	.post-pagination, .wp-pagenavi, #image-nav, #frontpage-intro,
	#comments, #comments .comments-title, #respond #reply-title, .commentlist {
		margin-bottom: 1em;
	}
}

/* Smartphones | <320px */
@media only screen and (max-width: 20em) {
	.postmeta span, .postinfo span {
		display: block;
	}
	.postmeta .sep, .postinfo .sep, .postmeta .post-edit-link {
		border: none;
		margin: 0;
		padding: 0;
	}
}

/* Big Screens Navi Fix | >720px */
@media only screen and (min-width: 60em) {
	/* ensure #nav is visible on desktop version */
	#mainnav-menu {
		display: block !important;
	}
}
