/*
Theme Name: vivirmadrid.com
Theme URI: http://www.vivirmadrid.com/
Description: Theme for vivirmadrid.com
Version: 1.5
Author: Ruben Lozano
Author URI: http://www.rubenlozano.com
*/

* { margin: 0; padding: 0; border: none; }

body {
	background-color: #EBEFF2;
	margin: 0 25px;
	font-size: 62.5%;
	font-family: 'Lucida Grande', Helvetica, Arial, sans-serif;
	color: #333; }
	
h1 {
	font-size: 2em; }
	h2 {
		font-size: 1.6em; }
		h3 {
			font-size: 1.35em; }
			h4 {
				font-size: 1.15em; }

p {
	line-height: 1.6em;
	margin: 1em 0; }

p.postinfo {
	font-size: .9em;
	margin: 0 0 .5em 0; }

	p.postinfo a:link,
	p.postinfo a:visited {
		color: #000;
		font-weight: bold;
		text-decoration: none; }

	p.postinfo a:hover,
	p.postinfo a:active,
	p.postinfo a:focus {
		text-decoration: underline; }

ul.postmetadata {
	border-top: 3px solid #EBEFF2;
	color: #666;
	font-size: .9em;
	list-style: none;
	padding: .5em 0 0 0;
	overflow: auto; }
	
	ul.postmetadata li {
		float: left;
		margin: 0 2em 0 0;
		font-weight: bold; }

		ul.postmetadata li.category {
			background: transparent url(images/folder.gif) left no-repeat;
			padding: 1px 0 0 1.7em; }
			
		ul.postmetadata li.postcomments {
			background: transparent url(images/comments.gif) left no-repeat;
			padding: 1px 0 0 1.7em; }

		ul.postmetadata li.editpost {
			background: transparent url(images/pageedit.gif) left no-repeat;
			padding: 1px 0 0 1.7em; }

		ul.postmetadata li.trackback {
			background: transparent url(images/trackback.gif) left no-repeat;
			padding: 1px 0 0 1.7em; }

		ul.postmetadata li.docomment{
			background: transparent url(images/docomment.gif) left no-repeat;
			padding: 1px 0 0 1.7em; }

		ul.postmetadata li.printpost {
			background: transparent url(images/printer.gif) left no-repeat;
			padding: 1px 0 0 1.7em; }

		ul.postmetadata li.sendmail {
			background: transparent url(images/sendmail.gif) left no-repeat;
			padding: 1px 0 0 1.7em; }
		
	ul.postmetadata a:link,
	ul.postmetadata a:visited {
		color: #666;
		text-decoration: none; }
		
	ul.postmetadata a:hover,
	ul.postmetadata a:active,
	ul.postmetadata a:focus {
		color: #333;
		text-decoration: underline; }

ul.navigation {
	list-style: none;
	float: right;
	font-weight: bold;  }
	
		ul.navigation li {
			display: block;
			float: left;
			margin: 0 0 0 1.5em; }

		ul.navigation li a:link,
		ul.navigation li a:visited {
			color: #FFF;
			text-decoration: none; }
			
		ul.navigation li a:hover,
		ul.navigation li a:active,
		ul.navigation li a:focus {
			color: #EBEFF2;
			text-decoration: underline; }
		
	.hidden {
		position: absolute;
		top: -10000px; }

	.boton {
		padding: 4px;
		background: #FFF;
		border-top: 2px solid #D4D0C8;
		border-right: 2px solid #808080;
		border-bottom: 2px solid #808080;
		border-left: 2px solid #D4D0C8;
		font-weight: bold;
		text-transform: uppercase; }

	.text,
	textarea {
		background: #FFF;
		padding: 5px;
		border-top: 2px solid #808080;
		border-right: 2px solid #D4D0C8;
		border-bottom: 2px solid #D4D0C8;
		border-left: 2px solid #808080; }

	.text:focus,
	textarea:focus {
		background: #EBEFF2; }

	.textpost {
		clear: both; }
		
		.textpost h3 {
			border: none !important;
			font-size: 1.1em;
			color: #333 !important; }
			
			.textpost h3 a:link,
			.textpost h3 a:visited {
				text-decoration: none; }

		.textpost a:link  {
			color: #333; }
		
		.textpost a:visited {
			color: #777; }

		.textpost a:hover,
		.textpost a:active,
		.textpost a:focus {
			color: #ED1C24;}

		.textpost blockquote {
			padding: 0 2em;
			margin: 1em 0;
			font-family: 'Lucida Fax';
			font-style: italic; }

			.textpost blockquote p {
				line-height: 1.4em; }

		.textpost ul {
			list-style: url(images/bulletblack.gif);
			padding: 0 0 0 5%;
			margin: 1.5em 0; }

			.textpost ul li {
				margin: .5em 0;
				padding: 0 0 0 .3em;
				line-height: 1.6em; }

		.textpost ol {
			list-style: decimal inside;
			margin: 1.5em 2%; }

			.textpost ol li {
				margin: .5em 0; }
				
			.textpost img,
			.textpost img.right {
				float: right;
				margin: .5em 0 1.5em 1.5em;
			}
			
			.textpost img.left {
				float: left;
				margin: .5em 1.5em 1.5em 0;
			}
			
			.textpost img.centre {
				float: none;
				margin: .5em 0;
			}

/* =page ------------------------------------------------------------------------ */
#wrapper { 
	width: 945px;
	margin: 0 auto; }

/* =header ------------------------------------------------------------------------ */
	#header {
		background: #3B4245 url(images/rc_header3.gif) left bottom no-repeat;
		padding: 10px 25px 15px 25px;
		margin: 0 0 25px 0;
		font-size: 1.4em;
		color: #FFF; }

		#header ul#skip {
			position: absolute;
			top: -10000px; }

		#header h1 span {
			display: inline;
			position: absolute;
			text-indent: -10000px; }

		#header ul.navigation {
			position: relative;
			top: -35px;
			font-weight: bold; }

/* =container ------------------------------------------------------------------------ */		
	#container {
		background: #FFF url(images/rc_top_container.gif) left top no-repeat;
		width: 945px;
		overflow: auto;
		font-size: 1.4em; }

/* =content ------------------------------------------------------------------------ */		
	#content,
	.page {
		width: 580px;
		float: left;
		padding: 25px 25px 0 25px; }

		* html #content, /* IE Bug */
		* html .page {
			margin: 0 -3px 0 0; }

		#content h3 {
			padding: 0;
			border-bottom: 3px solid #EBEFF2;}
		
		#content .post {
			margin: 0 0 4em 0; }
		* html #content .post { /* IE Bug */
			margin: 0 0 5em 0; }
		
			#content .post h2 {
				color: #ED1C24; }
				
				#content .post h2 a:link,
				#content .post h2 a:visited {
					color: #ED1C24;
					text-decoration: none; }
					
				#content .post h2 a:hover,
				#content .post h2 a:active,
				#content .post h2 a:focus {
					text-decoration: underline; }

			#content .post p.preamble {
				font-weight: bold; }

		#content #comments { }

			#content #comments h3 {
				padding: .3em 1.2em;
				background: transparent url(images/comments.gif) left center no-repeat; }

			#content #comments ol {
				list-style: none; }

				#content #comments ol li {
					border-bottom: 2px solid #EBEFF2; }

			#content p.commentator {
				font-size: .9em; }

				#content p.commentator span {
					font-weight: bold; }

				#content p.commentator .gravatar {
					border: 1px solid #CCC;
					margin: .25em .6em 0 0;
					padding: 0;
					float: left; }

				#content p.commentator a:link,
				#content p.commentator a:visited {
					color: #ED1C24;
					text-decoration: none;
					font-weight: bold; }

				#content p.commentator a:hover,
				#content p.commentator a:active,
				#content p.commentator a:focus {
					text-decoration: underline; }		

		#content #formcomments { }

			#content #formcomments h3 {
				margin: 6% 0 0 0;
				padding: .3em 1.2em;
				background: transparent url(images/docomment.gif) left center no-repeat; }

			#content #formcomments fieldset {
				border: none; }

				#content #formcomments legend {
					display: none; }

				#content #formcomments label {
					font-weight: bold;
					display: block; }

					#content #formcomments label span {
						color: #ED1C24;
						font-weight: normal; }

				#content #formcomments input {
					display: block;
					width: 47%;
					margin: .3em 0 1em 0; }

					#content #formcomments input.boton {
						width: 14em; }

				#content #formcomments textarea {
					width: 97%;
					margin: .3em 0 1em 0;
					font-size: .9em;
					font-family: 'Lucida Grande', Arial, Sans-Serif; }

		.navposts {
			margin: 3% 0 0 0;
			font-size: .9em; }

			.navposts ul {
				list-style: none; }

				.navposts ul li {
					width: 100%; }

			.navposts .next {
				border-left: 2px solid #C5D2DC; }
			.navposts .next a {
				background: transparent url(images/next.gif) right center no-repeat;
				padding: 0 1.5em 0 1em; }

			.navposts .previous a {
				background: transparent url(images/previous.gif) left center no-repeat;
				padding: 0 1em 0 1.5em;
				float: left; }
			
			.navposts a:link,
			.navposts a:visited {
				color: #333;
				text-decoration: underline; }

			.navposts a:hover,
			.navposts a:active,
			.navposts a:focus {
				color: #ED1C24;
				text-decoration: underline; }
		
		#content .publicity {
			margin: 3em 0 1em 0;
			text-align: center; }

			#content .publicity h3 {
				margin: 2em 0 1em 0;
				padding: .3em 0;
				text-align: left; }

		.page h2 {
			color: #ED1C24;
			padding: 0 0 .3em 0;
			margin: 0 0 1em 0;
			border-bottom: 3px solid #EBEFF2; }

			.page h2 span {
				color: #333; }

			.page h3 {
				padding: 0;
				margin: 1.5em 0 .5em 0;
				color: #111; }

				.page h4 {
					font-size: 1em;
					margin: 0; }

		.page .person { 
			margin: 1.5em 0;}

			.page .person img {
				float: left;
				border: 1px solid #EBEFF2;
				padding: .3em;
				margin: 0 1em 0 0; }

			.page .person h4 a:link,
			.page .person h4 a:visited {
				text-decoration: none; }

			.page .person h4 a:hover,
			.page .person h4 a:active,
			.page .person h4 a:focus {
				}

			.page .person h4 span {
				display: block;
				font-size: .9em;
				color: #555;
				font-weight: normal;
				font-style: italic; }

		.page p {
			margin: .5em 0 1em 0; }

		.page ol#searchcategory {
			list-style: none; }

			.page ol#searchcategory h3 { }

				.page ol#searchcategory h3 a:link,
				.page ol#searchcategory h3 a:visited {
					color: #ED1C24;
					text-decoration: none; }

				.page ol#searchcategory h3 a:hover,
				.page ol#searchcategory h3 a:active,
				.page ol#searchcategory h3 a:focus {
					text-decoration: underline; }

			.page ol#searchcategory p {
				margin: .5em 0 .5em 0; }
				.page ol#searchcategory p.postinfo { }

				.page ol#searchcategory p a:link,
				.page ol#searchcategory p a:visited {
					color: #333; }

				.page ol#searchcategory p a:hover,
				.page ol#searchcategory p a:active,
				.page ol#searchcategory p a:focus {
					}

			.page ol#searchcategory li { }

		.archive {
			}

			.archive h3 {
				margin: .5em 0;
				color: #333; }

			.archive #archcat {
				width: 50%;
				float: left; }

			.archive #archdate {
				width: 50%;
				float: right; }

			.archive ul {
				list-style: none inside none; }
				
				.archive ul li {
					margin: 1em; }

					.archive #archcat ul li a:link, 
					.archive #archcat ul li a:visited {
						background: transparent url(images/folder.gif) left center no-repeat;
						padding: 0 0 0 1.8em; }

					.archive #archcat ul li a:hover,
					.archive #archcat ul li a:active,
					.archive #archcat ul li a:focus {
						background: transparent url(images/folder_go.gif) left center no-repeat; }

					.archive #archdate ul li {
						background: transparent url(images/calendar.gif) left center no-repeat;
						padding: 0 0 0 1.8em; }

				.archive ul li a:link,
				.archive ul li a:visited {
					color: #333;
					text-decoration: none; }

				.archive ul li a:hover,
				.archive ul li a:active,
				.archive ul li a:focus {
					color: #ED1C24; }

/* =sidebar ------------------------------------------------------------------------ */
	#sidebar {
		width: 290px;
		float: right;
		padding: 25px 25px 0 0; }

		#sidebar a:link,
		#sidebar a:visited {
			color: #333;
			text-decoration: none; }

		#sidebar a:hover,
		#sidebar a:active,
		#sidebar a:focus {
			}
		
		#sidebar div {
			height: 1%; /* IE Bug */
			margin: 0 0 2.5em 0;
			padding: 0 0 10% 0;
			background: #EBEFF2 url(images/rc_bottom_sidebar.gif) left bottom no-repeat; }

		#sidebar h3 {
			font-size: 1.1em;
			padding: 10% 10% 2.5% 10%;
			background: #EBEFF2 url(images/rc_top_sidebar.gif) left top no-repeat;
			text-transform: uppercase; }

		#sidebar iframe {
			font-size: 1.1em;
			padding: 0 10% 2.5% 10%; }
			
		#sidebar ul {
			list-style: none;
			height: 1%; /* IE Bug */
			margin: 0 10%;
			border-top: 3px solid #C5D2DC; }

		#sidebar div.textlinkads ul {
			margin: 0 0 0 10% !important;
			width: 80% !important; }

			#sidebar ul li {
				padding: 5% 0;
				border-bottom: 1px solid #C5D2DC; }

			#sidebar ul li a:link,
			#sidebar ul li a:visited {
				}

			#sidebar ul li a:hover,
			#sidebar ul li a:active,
			#sidebar ul li a:focus {
				color: #ED1C24 !important; }

		#sidebar #search {
			padding: 0 0 10% 0;
			background: #EBEFF2 url(images/rc_bottom_sidebar.gif) left bottom no-repeat; }

			#sidebar #search form {
				padding: 10% 10% 0 10%;
				background: #EBEFF2 url(images/rc_top_sidebar.gif) left top no-repeat; }

				#sidebar #search form fieldset {
					border: none; }

				#sidebar #search form legend {
					display: none; }

				#sidebar #search form input#s {
					margin: 0 3% 0 0;
					width: 116px;
					font-size: .9em; }

					#sidebar #search form input#s:focus {
						background: #FFF; }

				#sidebar #search form input#searchsubmit {
					width: 39%;
					padding: 1.8% 5%;
					color: #F00; }				
			
		#sidebar #categories { }

			#sidebar #categories ul li {
				font-size: .9em; }

			#sidebar #categories ul li a:link,
			#sidebar #categories ul li a:visited {
				padding: 0 0 0 1.8em;
				background: transparent url(images/folder.gif) left center no-repeat;
				font-size: 1.2em; }

			#sidebar #categories ul li a:hover,
			#sidebar #categories ul li a:active,
			#sidebar #categories ul li a:focus {
				background: transparent url(images/folder_go.gif) left center no-repeat; }
			
		#sidebar #sindication { }

			#sidebar #sindication span {
				font-size: .9em; }

			#sidebar #sindication ul li { }

			#sidebar #sindication ul li a:link,
			#sidebar #sindication ul li a:visited {
				padding: 0 0 0 1.8em;
				background: transparent url(images/feedicon.gif) left top no-repeat; }

			#sidebar #sindication ul li a:hover,
			#sidebar #sindication ul li a:active,
			#sidebar #sindication ul li a:focus { }

/* =footer ------------------------------------------------------------------------ */
	#footer {
		background: #3B4245 url(images/rc_footer.gif) left top no-repeat;
		clear: both;
		padding: 95px 25px 15px 25px;
		color: #CCC;
		font-size: 1.3em; }

		#footer p {
			margin: 0; }
		
		#footer p a:link,
		#footer p a:visited {
			color: #FFF;
			text-decoration: none; }
			
		#footer p a:hover,
		#footer p a:active,
		#footer p a:focus {
			text-decoration: underline; }