/*
Theme Name: Archivo histórico Gabriel Valdés
Theme URI: http://www.ahgv.cl
Description: Theme para wordpress del archivo histórico Gabriel Valdés (diseño por Navaja, implementación por Hugosolar)
Author: Hugosolar.net
Version: 1.0
Tags: widgets, standards
*/

/* CONFIG *********************************************************************/
@charset "UTF-8";

/* STRUCTURE ******************************************************************/
body{
	font-family: Arial, Helvetica, sans-serif;
	background: #e9e4dd;
}
.center{
	width: 960px;
	margin: 0 auto;
}

#wrapper{}
#header{}
#main{ }
#content{}
#sidebar{}
#footer{}

strong {
	font-weight: bold;
}
/* HELPERS ********************************************************************/
.img-replace, .icon{
	display: inline-block;
	*display: block;
	*zoom: 1;
	text-align: left;
	text-decoration: none;
	text-indent: -9999em;
	background-repeat: no-repeat;
	background-position: 0 0;
}
.assistive-text{
	position: absolute;
	top: -9999em;
	left: -9999em;
}
.alignleft {
	float: left;
}
.alignright {
	float: right;
}
a {
	color: #ff592f;
}
.hide {
	display: none;
}
/* Icons -------------------------------*/
.icon{
	background-color:transparent;
	background-image: url(img/icon/icons.png);
}
.button{
	cursor: pointer;
}
/* Clearfix --------------------------------*/
/* For modern browsers */
.cf:before, .cf:after{
    content:"";
    display:table;
}
.cf:after{ clear:both; }
/* For IE 6/7 (trigger hasLayout) */
.cf{ zoom:1; }

/* HEADER *********************************************************************/
.header-content {
	background: #ffffff; /* Old browsers */
	background: -moz-linear-gradient(top,  #ffffff 0%, #efefef 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#efefef)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ffffff 0%,#efefef 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ffffff 0%,#efefef 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ffffff 0%,#efefef 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #ffffff 0%,#efefef 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#efefef',GradientType=0 ); /* IE6-9 */

	border-bottom: 2px solid #d2d2d2;
}

#main-header h1 a {
	display: block;
	float: left;
	width: 222px;
	height: 77px;
	text-indent: -1000em;
	background: url(img/logo/ahgv-logo.png);
}
#main-header .header-content div {
	padding: 20px;
}
#main-navigation ul {
	display: block;
	position: relative;
	top: 40px;
	float: right;
		font-size: 12px;

}
#main-navigation ul li {
	float: left;
}
#main-navigation ul li a {
	display: block;
	float: left;
	color: #000;
	text-transform: uppercase;
	margin: 0 10px;
	text-decoration: none;
}
#main-navigation ul li a:hover {
	color: #ff3300;
}
#main-navigation ul li:first-child a:after {
	background: none;
}
#main-navigation ul li a:after {
	content: '';
	display: block;
	position: relative;
	float: left;
	left: -14px;
	top: 4px;
	width: 6px;
	height: 6px;
	background: url(img/icon/menu-bullet.png) no-repeat;
}

#main-header .middle-bar {
	border-top: 1px solid #e5e5e5;
	background: #FFF;
}
#main-header .middle-bar .alignright a:hover {
	text-decoration: underline;
}
#main-header .middle-bar .alignright a {
	padding-top: 8px;
	color: #ff592f;
	text-decoration: none;
	display: block;
	text-align: right;
}
#main-header .middle-bar .alignright {
	padding: 8px 20px;
}
#main-header .middle-bar #breadcrumb {
	color: #ab9688;
}
#main-header .middle-bar .alignleft {
	padding: 25px 20px 8px;
}
/*searchform*/
#searchform .screen-reader-text {
	display: none;
}
#s {
	position: relative;
	width: 250px;
	height: 2.2em;
	color: #999;
	 /* Remove default */
    -webkit-appearance: none;
	padding-left: 5px;
	border-left: 1px solid #b5b5b5;
	border-top: 1px solid #b5b5b5;
	border-bottom: 1px solid #d3d3d3;
	box-shadow: 1px 2px 5px #b5b5b5 inset;
	border-right: none;
	background: #f7f7f1;
}

#searchsubmit {
	width: 39px;
	height: 2.25em;
	line-height: 2.25em;
	position: relative;
	top: 0px;
	left: -4px;
	text-indent: -1000em;
	border-top: 1px solid #31697c;
	border-left: 0;
	border-right: 1px solid #31697c;
	border-bottom: 1px solid #31697c;
	background: #438fa4 url(img/auxi/sprite-icons.png) no-repeat -36px -36px;
	cursor: pointer;
}


/* MAIN ***********************************************************************/
#content {
	min-height: 400px;
	padding: 5px 20px 90px 20px;
	background: #FFF;
}
#content img {
	box-shadow: 1px 2px 2px #949494;
}
#content .images-categories img {
	box-shadow: none;
}
#content .content-single p {
	margin: 8px 0;
}
#content .related-photos {
	padding-top: 10px;
}
#content .related-photos .img-item a:hover {
	text-decoration: underline;
}
#content .related-photos .img-item a {
	text-decoration: none;
}
#content .related-photos .img-item p {
	padding-top: 5px;
	font-size: 85%;
	color: #322c27;
	text-align: left;
}
#content .related-photos .img-item.first {
	margin-left: 0;
}
#content .related-photos .img-item {
	width: 145px;
	float: left;
	margin-left: 10px;
}
#content .related-photos h2 {
	color: #339999;
	padding: 5px 0;
	margin-bottom: 10px;
	border-bottom: 1px solid #ab9688;
	font-size: 108%;
}
#content .related-photos {
	clear: both;
}
#content .content-single {
	width: 31%;
}
#content .content-single h2:first-child {
	margin-top: 0;
}
#content .content-single h2 {
	font-size: 138.5%;
	margin: 10px 0;
}
.search-results {
	clear: both;
}
.page-template-advanced-search-php .item-search {
	margin: 15px 0;
}
.page-template-advanced-search-php .search-results h3 {
	margin-top: 20px;

	font-size: 130% !important;
	padding: 10px 0;
	border-bottom: 1px solid #C0C0C0;
}
.page-template-advanced-search-php h2 {
	font-size: 150% !important;
}
#search-toggle {
	display: block;
	margin: 10px 0;
}
#search-toggle:after {
	content: '+';
}
/*Layouts fotografias*/
#content.fotografias h2 {
	font-family: "adelle",serif;
	font-size: 150%;
}
.fotografias .list-item:first-child, .fotografias .gallery-item:first-child {
	border-top: 0;
}
.fotografias .list-item, .fotografias .gallery-item {
	margin: 10px 0;
	padding: 10px 0;
	border-top: 1px dashed #C0C0C0;
}

.fotografias .list-item a:hover, .fotografias .gallery-item a:hover {
	text-decoration: underline;
}
.fotografias .list-item a, .fotografias .gallery-item a {
	display: block;
	margin-bottom: 5px;
	font-weight: bold;
	font-size: 115%;
	text-decoration: none;
}
.fotografias .gallery-item-content {
	width: 80%;
	margin-left: 8px;
}

.wp-pagenavi {
	padding: 15px 0;
	margin-top: 20px;
}
/*Destacados*/
.feature-loop {
	position: relative;
	margin: 0 auto;
	width: 920px;
	height: 300px;
}
.feature-entry {
	position: absolute;
}

.destacados-content {
	position: relative;
}
.destacados-content img {
	box-shadow: 1px 2px 2px #949494
}
.destacados-content .arrow {
	display: block;
	position: absolute;
	width: 22px;
	height: 60px;
	top: 108px;
	background: url(img/auxi/sprite-icons.png) no-repeat;
	z-index: 10;
}
.destacados-content .arrow-left {
	left: 16px;
	background-position: 0 -78px;
}
.destacados-content .arrow-right {
	right: 16px;
	background-position: 0 -1px;
}
/* SIDEBAR ********************************************************************/
.sidebar-home {
	margin-top: 14px;
}
.sidebar-home .widget-page:first-child {
	margin-left: 0;
}
.sidebar-home .widget-page{
	margin-left: 29px;
}
.widget-page img {
	box-shadow: 1px 2px 2px #949494;
}
.widget-page {
	float: left;
	width: 287px;
	position: relative;
}
/*Galerias de imagenes*/
.widget-page.item-img .page-info {
	position: absolute;
	width: 287px;
    height: 50px;
	left: 0;
	bottom: 0;
	top: auto;
	background: rgba(171,151,137,0.7);
}

.widget-page.item-img .page-info p {
	position: absolute;
	bottom: 10;
	color: #FFF;
	font-weight: bold;
	font-size: 65%;
	line-height:130% ;
	text-align: left;
	text-decoration: none;
	padding: 10px;
	/* padding: 20px 20px 0 20px;*/
	border: none;
}
/*Home del sitio*/
.widget-page .page-info{
	position: absolute;
	width: 287px;
	height: 196px;
	left: 0;
	top: 0;
	background: rgba(171,151,137,0.7);
}

.widget-page .page-info p {
	color: #FFF;
	font-weight: bold;
	font-size: 150%;
	text-transform: uppercase;
	text-align: center;
	padding-top: 87px;
}

/* FOOTER *********************************************************************/

#main-footer {
	margin-top: 37px;
	min-height: 100px;
}

#main-footer a{
text-decoration: none;
}
#main-footer .sponsor {
	float: left;
	width: 600px;
	height: 60px;
}

#main-footer .sponsor img {
width:100px;
margin-left:16px ;
}



#main-footer address {
	float: right;
}
#main-footer address a {
	float: left;
	margin-right: 10px;
	color: #000;
	font-size: 100%;
	text-decoration: none;
}

footer .icon {
	display: block;
	width: 16px;
	height: 16px;
	background: url(img/auxi/sprite-icons.png) no-repeat;
}
footer .icon-facebook {
	text-indent: -1000em;
	background-position: -47px 0;
}
footer .icon-twitter {
	text-indent: -1000em;
	background-position: -47px -18px;
}
footer .copyright {
	padding-top: 20px;
	text-align: right;
	color: #ab9688;
}

/* TYPE ***********************************************************************/

i {}

#content.text-content p{
	text-align: justify;
	margin-top:0px;

	}

#content.text-content .left{
	margin-top:16px;
	width:510px;
	float:left;
		font-size:13px;
	line-height:20px;
	}


#content.text-content h1 {
	font-family: "adelle",serif;
	color:#fff;
	font-size:60px;
	position:absolute;
	padding:160px 0 0 500px;
	z-index:0;
}

#content.text-content h2 {
  	font-family: "adelle",serif;
  	font-size:14px;
	color:#4f655b;


  	}
#content.text-content h3{
  	font-family: "adelle",serif;
  	margin-bottom:10px ;
  	height: 10px;
  	font-size:14px;
  	color:#4f655b;

}
#content.text-content h4 {
	font-family: "adelle",serif;
	font-size:18px ;
	margin-top:20px;
}
#content.text-content h5 {}
#content.text-content ul li {}
#content.text-content strong {}

table { float:right; width:820px; height:20px;margin-right: 40px }
tr {float:right;width: 80px;}



/* Contact Form***************************/

#contact{
	list-style:none;
	margin:0;
}
#contact li{
	float: left;
    height: 60px;
	margin:16px 0 20px;
    position: relative;
    width: 540px;
}
#contact li .text{
	background: #F0EFEF;
	padding:15px 10px 10px 0;
	position:absolute;
	z-index:100;
	min-width:85px;
	border-bottom-right-radius: 5px;
	-moz-border-radius-bottomright:5px;
	-webkit-border-bottom-right-radius:5px;
	border-top-left-radius: 5px;
	-moz-border-radius-topleft:5px;
	-webkit-border-top-left-radius:5px;
	text-indent: 5px;
}
#contact li .required{
	position:absolute;
	right:10px;
	top:10px;
	z-index:100;
}
#contact li .wpcf7-form-control-wrap{
	position: absolute;
}
#contact li .wpcf7-form-control-wrap input, #contact li .wpcf7-form-control-wrap textarea{
	background:#fff;
	border:solid 5px #F0EFEF;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	padding:15px 10px 25px;
	width: 509px;
	text-indent:95px;
	z-index:100;
	margin:0;
}
#contact li .wpcf7-form-control-wrap input:focus, #contact li .wpcf7-form-control-wrap textarea:focus{
	background:#F0EFEF
}
#contact li .wpcf7-form-control-wrap textarea{
	line-height: 28px;
    padding: 10px;
	height:200px;
}
#contact li#message{
	min-height:220px;
}
#contact li#submit input .avanzada .input-submit{
	color:#fff;
	text-decoration:none;
	margin:10px 30px 0 0;
	background:#7d9d90;
	border:none;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	-0-border-radius:3px;
	border-radius:3px;
	display:block;
	padding:10px 25px;
	text-align:center;
	text-transform:uppercase;
}
#contact li#submit input:hover{
	background:#4f655b;
	color:#ffff;
	text-transform:uppercase;
	cursor:pointer;
}
div.wpcf7-validation-errors {
    clear: left;
}


/* ADVANCED SEARCH*/


.input-submit{
	color:#fff;
	text-decoration:none;
	margin:10px 30px 0 0;
	background:#7d9d90;
	border:none;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	-0-border-radius:3px;
	border-radius:3px;
	display:block;
	padding:10px 25px;
	text-align:center;
	text-transform:uppercase;
}

.input-submit:hover{
	background:#4f655b;
	color:#ffff;
	text-transform:uppercase;
	cursor:pointer;
}

.avanzada .text{
	background:#fff;
	border:solid 5px #F0EFEF;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	padding:5px 10px 55px;
	width: 509px;
	text-indent:95px;
	z-index:100;
}

.avanzada fieldset{
	margin:5px 0 10px 0;
	float: left;
    position: relative;
    width: 540px;
}


.avanzada p{
	margin:5px 0 10px 0;
	text-align: left;

}

 .input-short{
	background:#fff;
	border:solid 5px #F0EFEF;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	width: 200px;
	z-index:100;
	height: 20px;
	clear: both;
}

.avanzada .txt {width: 130px; float:left; text-align:right; display: block; margin: 5px 5px 0 0;}
.avanzada .radio {width: 80px; text-align:right; margin: 5px 5px 0 120px;}



.documents-categories a {background-color:#dadaba; display: block; width: 160px; height: 60px; text-align: center ; padding-top:40px; margin:5px; color:#fff; font-size:26px; text-decoration: none;}

.documents-categories a:hover {background-color:#ff6600;}

.images-categories p{margin:5px 0 15px 0; padding:5px 0 ; line-height: 18px; font-size:12px; border-bottom: dashed; border-width: thin;}
.images-categories a{font-size: 14px;text-decoration: none;}
.images-categories a:hover{text-decoration:underline;}


