/*  
Theme Name: Torrijos Magazine Publicidad
Theme URI: http://www.segunlospadresloshijos.com
Description: Torrijos Magazine Publicidad
Author: Segun los padres los hijos
Author URI: http://www.segunlospadresloshijos.com

*/

/* Begin Typography & Colors */
#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
/* End Typography & Colors */

/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */

html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
	text-indent: -10px;
	} 

html>body .entry li {
	margin: 7px 0 8px 10px;
	list-style:disc outside url("images/list2.gif");	
	padding-left:5px;
	}

.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}


/***Publicidad***/

#left_sidebar{
	float:left;
	margin-right:30px;
	margin-left:20px;
	margin-top:55px;
	width: 150px;
}


#left_sidebar ul{
	margin: 0px;
	padding: 0px;
}

#left_sidebar li {
	background-color: #FFF;
	list-style-type: none;
	margin: 5px auto;
	border: 2px solid #b6b157;
}


#left_sidebar p{
	margin: 24px;
	text-align: center;
	font-size:16px;
	font-weight: bold;	
}

#sidebar ul {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
}

#sidebar li {
	list-style-type: none;
}



/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 5px 3px; 
	text-align: center;
	}

#sidebar #searchform #s {
	width: 108px;
	padding: 2px;
	border: 1px solid #b6b157;
	background-color: #D3D9DB;
	}

#sidebar #searchsubmit {
	padding: 1px;
	background: #F5C400;
	color: #fff;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 100%;
	padding: 2px;
	}

#commentform #submit {
	margin: 0;
	float: right;
	}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	list-style:none;
	margin-bottom:10px;
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 3px;
	padding: 5px 10px 3px;
	list-style: none;
	}

.commentlist p {
	margin: 10px 5px 10px 0;
	}
.commentlist img {
	float: left;
	}

.commentlist cite {
	padding: 7px;
	display:block;
	font-style:normal;
	border-top:1px solid ##B6B157;
	border-bottom:1px solid ##B6B157;
	color:#87811C;
	font-size:1.2em;
	}	


.commenttext {
	background: #F7FBE5;
	border-top:1px solid #B6B157;
	padding: 0 20px 10px 20px;
	color:#000;
	}


#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}

/* End Comments */



/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

hr {
	display: none;
	}

a img {
	border: none;
	padding: 3px;
	}
	
img {
 	border: none;
	padding: 3px;
}		
	
/* End Various Tags & Classes*/

/***Begin Web 2.0 Specific CSS***/
body {
	background-image: url("images/bg.gif");
	background-repeat: repeat-x;
	padding: 0px;
	margin: 0px;
	font-family: Arial;
	font-size: 12px;
}

#mainbox {
	margin: 0px auto;
	width: 998px;
	font-family: "Helvetica LT Std", Arial, sans-serif;
	font-size:12px;
	font-style: normal;
	color: #000;

}

.bringdown {
	clear: both;
}

.alignleft {
	float: left;
	margin-bottom: 10px;
	margin-right: 10px;
}

.alignright {
	float: right;
	margin-bottom: 15px;
}

a:link {
	color: #87811C;
	text-decoration: none;
}

a:visited {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

/***Header Stuff***/
#header {
	margin-bottom:40px;
}


#logo_img {
	background-image: url("images/logo.png");
	height: 95px;
	width: 180px;
	float: left;
	margin-left: 50px;
}

#logo {
	height: 36px;
	float: left;
	margin-top: 15px;
	margin-left: 30px;
}

#logo h1 {
	color: #FFF;
	font-weight: bold;
	font-size: 40px;
	margin: 0px;
	padding: 0px;
	font-family: 'Trebuchet MS', Verdana, Arial, Sans-Serif;
}

#logo h1 a {
	color: #FFF;
	font-weight: bold;
	font-size: 40px;
	margin: 0px;
	padding: 0px;
}
#logo h1 a:hover {
    text-decoration: none;
	
}

#sublogo  {
	color: #FFF;
	font-weight: bold;
	font-size: 20px;
	margin: 0px;
	padding: 0px;
	font-family: 'Trebuchet MS', Verdana, Arial, Sans-Serif;
}

#sublogo a {
	color: #FFF;
	font-weight: bold;
	font-size: 20px;
	margin: 0px;
	padding: 0px;
}
#sublogo a:hover {
    text-decoration: none;
	
}
#headerdec {
	width: 179px;
	height: 97px;
	margin-left: 526px;
}

#search {
	margin-left: 451px;
	margin-top: -71px;
	color: #FFF;
	width: 400px;
	height: 30px;
}


#search ul{
	margin: 0px;
	padding: 0px;
}

#search li {
	list-style-type: none;
	width: 380px;
	height: 40px;
	margin: 0px auto;
	padding: 4px;
	border: 2px solid #b6b157;
}


input#submit {
	width: 50px;
	height: 21px;
	position: absolute;
	margin-left: 2px;
	padding: 1px;
	background: #F5C400;
	color: #fff;
}

ul#menu {
	padding: 0px;
	margin: 0px;
	margin-top: 30px;
}

html>body ul#menu {
	margin-top: 51px;
}

#menu li {
	list-style-type: none;
	width: 80px;
	height: 24px;
	background-image: url("images/navbg.gif");
	float: left;
	text-align: center;
	padding-top: 5px;
}

li#lastlink {
	width: 81px;
}

#menu a {
	color: #000;
	font-size: 14px;
}

#menu a:link {
	text-decoration: none;
}

#menu a:visited {
	text-decoration: none;
}

#menu a:hover {
	text-decoration: underline;
}

/***Main Area Stuff***/
#content {
	float: left;
	width: 764px;
	padding-bottom: 10px;
	padding-top: 25px;
}

#sidebar {
	float: left;
	width: 190px;
	padding-bottom: 10px;
	margin-top: 33px;
	margin-left: 44px;
}

/***Footer Stuff***/
#footer {
	clear: both;
	background-image: url("images/foot-top.gif");
	background-repeat: no-repeat;
	width: 740px;
	padding-top: 8px;
	color: #FFF;
	font-family: Tahoma;
	font-size: 11px;
}

#footbar {
	background-image: url("images/foot-bar.gif");
	width: 739px;
	height: 20px;
	margin: 0px auto;
	text-align: center;
	font-size: 12px;
	margin-top: 5px;
	margin-bottom: 5px;
	color: #000;
	padding-top: 5px;
	font-family: Verdana;
	font-weight: bold;
}
#footbar a {
 color: #87811C;
 font-size: 12px;
 }

#footercontent {
	background-image: url("images/foot-bottom.gif");
	background-repeat: no-repeat;
	width: 730px;
	background-color: #434F54;
	background-position: bottom left;
	padding: 5px;
	padding-top: 0px;
	height: 50px;
}

#footer h2 {
	background-image: url("images/subhead.gif");
	width: 154px;
	height: 20px;
	text-align: center;
	font-size: 11px;
	font-weight: bold;
	color: #FFF;
	padding-top: 4px;
	margin: 0px;
	font-family: Tahoma;
	margin: 0px auto;
}

#footer h3 a {
	margin: 0px;
	padding: 0px;
	color: #E7EC6A;
	font-size: 11px;
	font-weight: bold;
	font-family: Tahoma;
}

#footer a {
	margin: 0px;
	padding: 0px;
	font-size: 11px;
	font-weight: bold;
	color:#FFF;
}

#footer h3 {
	margin: 0px;
	padding: 0px;
}

.recentcontent {
	margin-bottom: 5px;
}

.recentcontent p {
	margin: 0px;
	padding: 0px;
}

.footbox {
	width: 240px;
	float: left;
	text-align: center;
	margin-bottom: 15px;
}

/***Post Stuff***/
.post {
}

.posttitle {
	float: left;
	font-family: Tahoma;
	font-size: 11px;
	color: #7F7F7F;
}

.post h2 a {
	font-family: Arial Rounded MT Bold, Arial;
	color: #87811C;
	font-size: 28px;
	margin: 0px;
	padding: 0px;
	margin-bottom: 3px;
}

.posttitle small {
	font-family: Tahoma;
	font-size: 11px;
	color: #7F7F7F;
	margin-top: 1px;
	position: absolute;
}

.post a:link {
	text-decoration: none;
}

.post a:visited {
	text-decoration: none;
}

.post a:hover {
	text-decoration: underline;
}

.commentsquare {
	width: 40px;
	height: 45px;
	background-image: url("images/c-box.gif");
	color: #FFF;
	font-size: 23px;
	float: right;
	text-align: center;
	margin-left:10px;
}

.commentsquare a {
	color: #FFF;
	font-size: 23px;
	text-decoration: none;
}

.commentsquare a:link {
	text-decoration: none;
}

.commentsquare a:visited {
	text-decoration: none;
}

.commentsquare a:hover {
	text-decoration: underline;
}

.postcontent {
	list-style:disc outside url("images/list2.gif");
	clear: both;
}

.postfoot {
	border-top: 1px solid #B6B157;
	padding-top: 6px;
	padding-bottom: 6px;
	margin-top: 15px;
	float:left;
}

.postlistfoot {
	border-bottom: 1px solid #B6B157;
	padding-top: 6px;
	padding-bottom: 6px;
	margin-top: 13px;
}

.mainfoot {
	border-top: 1px solid #B6B157;
	padding-top: 6px;
	padding-bottom: 6px;
	margin-top: 15px;
}


/***Sidebar Items***/
#sidebar h2 {
	background-image: url("images/sideheader.gif");
	width: 188px;
	height: 28px;
	padding: 0px;
	margin: 0px;
	font-family: Arial;
	font-weight: bold;
	font-size: 20px;
	color: #FFF;
	margin-top: 16px;
	margin-bottom: 2px;
	text-align: center;
}


/***recent post Items***/
#recent_post h2 {
	background-image: url("images/recentheader.gif");
	width: 488px;
	height: 28px;
	padding: 0px;
	margin: 0px;
	font-family: Arial;
	font-weight: bold;
	font-size: 20px;
	color: #FFF;
	margin-top: 16px;
	margin-bottom: 20px;
	text-align: center;
}


#recent_post ul {
	padding: 0px;
	margin: 0px;
	width: 488px;
	margin-top: 16px;
	padding-bottom: 3px;
}

#recent_post li{
	list-style-image: url("images/list2.gif");
	margin-top: 6px;
	margin-left: 27px;
}

.showcase {
	background-color: #D2DE50;
	background-image: url("images/showcase-bot.gif");
	background-repeat: no-repeat;
	background-position: bottom left;
	width: 177px;
	color: #FFF;
	font-family: Tahoma;
	font-size: 11px;
	font-weight: bold;
	padding: 5px;
	text-align: center;
}

.showcase img {
	margin-bottom: 8px;
	width: 177px;
	height: 139px;
	margin: 0px auto;
}

.archivebox {
	background-image: url("images/list1.gif");
	background-repeat: repeat-y;
	width: 186px;
	padding-bottom: 3px;
	border: 1px solid #DFE882;
}

.archivebox ul {
	padding: 0px;
	margin: 0px;
}

.archivebox li {
	list-style-type: none;
	margin-top: 6px;
	margin-left: 27px;
}

.archivebox a {
	color: #767006;
	font-size: 12px;
}

.archivebox a:link {
	text-decoration: none;
}

.archivebox a:visited {
	text-decoration: none;
}

.archivebox a:hover {
	text-decoration: underline;
	color: #C0440D;
}

#sidebar ul ul{
	padding: 0px;
	margin: 0px;
	width: 186px;
	padding-bottom: 3px;
	border: 1px solid #DFE882;
	background-color:#F7FBE5;
}

#sidebar li li{
	list-style-image:url("images/list2.gif");
	list-style-type: none;
	margin-top: 6px;
	margin-left: 20px;
}


#sidebar ul ul ul{
	padding: 0px;
	margin: 0px;
	width: 166px;
	padding-bottom: 3px;
	border: none;
	background-color:#F7FBE5;
}
#tag_cloud{
	padding: 0px;
	margin: 0px;
	width: 186px;
	padding-bottom: 3px;
	border: 1px solid #DFE882;
	background-color:#F7FBE5;
}

#sidebar a {
	color: #767006;
	font-size: 12px;
}

#sidebar a:link {
	text-decoration: none;
}

#sidebar a:visited {
	text-decoration: none;
}

#sidebar a:hover {
	text-decoration: underline;
	color: #C0440D;
}

/***Text Wigit***/
h2.widgetitle {
	background-image: none;
	font-size: 0px;
	color: #FFF;
}

li.wigit_text {
	background-image: none;
	background-color: transparent;
	border: none;
}

/***Other Stuff***/
.footbox li {
	list-style-type: none;
	margin-top: 3px;
}

.footbox li a {
	color: #E7EC6A;
}


ul#metafoot {
	margin-left: 0px;
	margin-top: 0px;
}

html>body ul#metafoot {
	margin-left: -40px;
}

ul#metafoot2 {
	margin-left: 0px;
	margin-top: 0px;
}

html>body ul#metafoot2 {
	margin-left: -40px;
}


/***Added ***/

.versales {font-family: Arial, Helvetica, sans-serif;
	font-size: 32px;
	font-weight: bold;
	color: #87811C;
       margin:15px 20px;	
	text-decoration: none;
	font-variant:small-caps;
	text-transform:none;
	text-align:center;}

p{
  line-height: 150%;
  margin: 4px 0 8px;
  text-align: justify;
}

.post .postheader{
  display: block;
  margin-left:0;
}

.post img{
  padding: 3px;
  margin: 4px 10px;
  border: 1px solid #E7E8E6;
}

.post img.alignleft{ margin-left: 0; }
.post img.alignright{ margin-right: 0; }

.wp-caption p.wp-caption-text {
font-size:11px;
text-align:center;
}
.aligncenter {
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
}

.alignright {
  float: right;
}

/* Apaņo para el plugin sociable */

div.sociable { 
margin: 16px 0; 
border-top-color:#B6B157;
border-top-style:solid;
border-top-width:1px;
}

span.sociable_tagline { position: relative; }
span.sociable_tagline span { display: none; width: 14em; }
span.sociable_tagline:hover span {
	position: absolute;
	display: block;
	top: -5em;
	background: #ffe;
	border: 1px solid #ccc;
	color: black;
	line-height: 1.25em;
}
.sociable span {
	display: block;
}
.sociable ul {
	display: inline;
	margin: 0 !important;
	padding: 0 !important;
}
.sociable ul li {
	background: none;
	display: inline !important;
	list-style-type: none;
	margin: 0;
	padding: 1px;
}
.sociable ul li:before { content: ""; }
.sociable img {
	float: none;
	width: 16px;
	height: 16px;
	border: 0;
	margin: 0;
	padding: 0;
}

.sociable-hovers {
	opacity: .4;
	-moz-opacity: .4;
	filter: alpha(opacity=40);
}
.sociable-hovers:hover {
	opacity: 1;
	-moz-opacity: 1;
	filter: alpha(opacity=100);
}


/* =Navigation
-------------------------------------------------------------- */

.navigation {
	font-size:  12px;
	line-height: 18px;
	overflow: hidden;
	color: #888;
}
.navigation a:link,
.navigation a:visited {
	color: #888888;
	text-decoration: none;
}
.navigation a:active,
.navigation a:hover {
	color: #FF4B33;
}


/* =Menu superior
-------------------------------------------------------------- */

#access {
	background: #B6B157;
	margin: 0 auto;
	display:block;
}
#access .menu-header,
div.menu {
	font-size: 14px;
	margin-left: 12px;
	font-weight: bold;
}
#access .menu-header ul,
div.menu ul {
	list-style: none;
	margin: 0;
}
#access .menu-header li,
div.menu li {
	float:left;
	position: relative;
}
#access a {
	display:block;
	text-decoration:none;
	color:#FFF;
	padding:0 10px;
	line-height:38px;
}
#access ul ul {
	display:none;
	position:absolute;
	top:38px;
	left:0;
	float:left;
	box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	width: 180px;
	z-index: 99999;
}
#access ul ul li {
	min-width: 180px;	
}
#access ul ul ul {
	left:100%;
	top:0;
}
#access ul ul a {
	background:#333;
	height:auto;
	line-height:1em;
	padding:10px;
	width: 160px;
}
#access li:hover > a,
#access ul ul :hover > a {
	color:#fff;
	background:#D1DD4A;	
	font-size: 16px;
}
#access ul li:hover > ul {
	display:block;
}
#access ul li.current_page_item > a,
#access ul li.current-menu-ancestor > a,
#access ul li.current-menu-item > a,
#access ul li.current-menu-parent > a {
	color: #fff;
}

* html #access ul li.current_page_item a,
* html #access ul li.current-menu-ancestor a,
* html #access ul li.current-menu-item a,
* html #access ul li.current-menu-parent a,
* html #access ul li a:hover {
	color:#fff;
}

/*Magazine style*/

.date{
	font-weight: bold;
}

.ind-post, .post {
	float: left;
	border-bottom: 3px solid #B6B157;
	margin-bottom: 10px;
	padding-bottom: 10px;
	width: 100%;
}

.ind-post img {
	margin: 0px 10px 5px 0;		
}
#content .ind-post h2{
	margin-top: 5px;
	font-size: 36px;
	font-family: Georgia, Times, serif;
	font-weight: normal;
	line-height: 38px;
	color: #222;
	}


.storycontent {
	line-height: 18px;
	word-wrap: break-word;
	}
.content .storycontent .alignleft,
.search .storycontent .alignleft,
.archive .storycontent .alignleft { 
	margin-top: 0; 
	}


.storycontent p {
	padding:5px;
	}

.storycontent br {
	clear:none;
	}	
#threecol {
	float: left;
	margin-top: 3px;
	width: 100%;
	border-bottom: 3px solid #B6B157;
	padding-bottom:15px;
	}

#threecol2 {
	float: left;
	padding: 0;
	width: 100%;
}

#threecol img {
	margin: 0px 5px 5px 0;
}
		
#content .threepost h2 {
	margin-top: 5px;
	font-size: 36px;
	font-family: Georgia, Times, serif;
	font-weight: normal;
	line-height: 38px;
	color: #222;
	}
#content .threepost h2 {
	font-size: 20px;
	line-height: 22px;
}
.threepost {
	width: 29%;
	float: left;
	border-top: 3px solid #B6B157;
	padding-top: 10px;
	}

	.threepost2, .threepost5 {
		padding: 10px 0 0;
		margin: 0 6%;
		}
		
	.threepost1, .threepost2, .threepost3 {
		border-top: 0;
		}
		
	.threepost1, .threepost4 {
		clear: left;
		}
		
		
/* THREE CATEGORIES*/
		

#content .threecat h2 {
	margin-top: 5px;
	font-family: Georgia, Times, serif;
	font-weight: bold;
	font-size: 20px;
	line-height: 22px;
	background: #D1DD4A;
	color:#FFF;	
	padding:10px;
	text-align:center;
	}

#content .threecat h2 a{
	color:#FFF;	
}
	
#content .threecat h3 {
	font-size: 13px;
	line-height: 15px;
	border-bottom: 1px solid #B6B157;
	padding-bottom:3px;
	
}
#content .threecat .storycontent p{
	font-size: 12px;
	line-height: 14px;
}
.threecat {
	width: 29%;
	float: left;
	border-top: 3px solid #B6B157;
	padding-top: 10px;
	}

.threecat2, .threecat5 {
	padding: 10px 0 0;
	margin: 0 6%;
	}
	
.threecat1, .threecat2, .threecat3 {
	border-top: 0;
	}
	
.threecat1, .threecat4 {
	clear: left;
	}

.threecat.storycontent {
	line-height: 11px;
	font-size: 13px;
	word-wrap: break-word;
}


		
/* THREE RELATED*/
		
.related  {
	margin-top: 20px;
	font-family: Georgia, Times, serif;
	font-weight: bold;
	font-size: 15px;
	line-height: 18px;
	background: #B6B157;
	color:#FFF;	
	padding:5px;
	text-align:center;
	width:100%;
	margin-bottom:10px;
	}

#content .threerelated h3 {
	font-size: 14px;
	line-height: 14px;
	border-bottom: 1px solid #B6B157;
	padding-bottom:3px;
	
}
#content .threerelated .storycontent p{
	font-size: 12px;
	line-height: 14px;
}
.threerelated {
	width: 29%;
	float: left;
	border-top: 3px solid #B6B157;
	padding-top: 10px;
	}

.threerelated2, .threerelated5 {
	padding: 10px 0 0;
	margin: 0 6%;
	}
	
.threerelated1, .threerelated2, .threerelated3 {
	border-top: 0;
	}
	
.threerelated1, .threerelated4 {
	clear: left;
	}

.threerelated.storycontent {
	line-height: 10px;
	font-size: 12px;
	word-wrap: break-word;
}


/*More link */

#content a.more-link {
	clear: both;
	width: 81px;
	text-align: center;
	color: #fff;
	margin-top: 12px;
	background: #aaa;
	padding: 4px 8px;
	font-size: 11px;
	line-height: 20px;
	}
	
#content a:hover.more-link {
	text-decoration: none;
	background: #666;
}

/*Patrocinados*/

#patrocinado {
	background-image: url("images/patrocinado.png");
	height: 20px;
	width: 200px;
	margin-bottom: 10px;
}
.publicidad-main{
	margin-top:100px;
}
.publicidad-2{
	text-align:center;
	margin-top:135px;
}
.publicidad-6{
	text-align:center;
	margin-top:135px;
}
.publicidad-7{
	text-align:center;
	margin-top:135px;
}
