/*
BASE (MOBILE) SIZE
	These are the mobile styles. It's what people see on their phones.
	Remember, keep it light: Speed is Important.
*/

/* typography */
body{
	color:#666;
	font-family:'Ubuntu', Arial, Helvetica, sans-serif;
	font-size:1em;
	line-height:1.4em;
	font-weight:normal;
	margin:0;
}
h1, h2, h3, h4, h5, h6{
	font-weight:normal;
	line-height:1.5em;
	margin:.45em 0;
	padding:0;
}


/* links */
a,
a:visited,
a:active,
a:hover{color:#3675CA;}
a:hover{ text-decoration:none;}
.ofuscaEnlace {
	cursor:hand;cursor:pointer;
}

/* Box sizing. Awesome thing. Read about it here: http://www.w3schools.com/cssref/css3_pr_box-sizing.asp */
*{	box-sizing:border-box;
	-moz-box-sizing:border-box;}

table {
	border:1px solid #1a78ab;
	margin:10px 0 10px 0;
	border-spacing: 3px;
	border-collapse:inherit;
}
th {
	background-color:#1a78ab;
	color:#FFF;
	padding:1px 5px 1px 5px;
}
td {
	/*word-break:break-all;*/
	padding:2px;
	border-spacing: 10px;
}
.fondofila1 { background-color:#FFF;}
.fondofila2 { background-color:#EEE;}

input, select, textarea, button {
	border:1px solid #565F72;
	font-size:0.85em;
	padding:5px 5px;
	border-radius:4px;
}
input[type=submit],button[type=submit] {
	border-color:#3675CA;
	background-color:#3675CA;
	color:#FFF;
	padding:5px 10px;
}

hr {
	border:1px solid #e2e2e2;
}

/* structure */
.wrapper{
	width: 92%;
	margin: 0 auto;
}
header{
	padding:15px 0;
}
#banner{
	text-align:center;
}

#hero,
#page-header{
	background:#f3f3f3;
	border-top:1px solid #e2e2e2;
	border-bottom:1px solid #e2e2e2;
	padding:20px 0;
}
#hero h1{
	line-height:1.2em;
	margin-top:0px;
	margin-bottom:10px;}

.flexslider{
	display:none;
}

#content {
	margin:20px 0;
}

aside {
	margin:40px 0;
}

p{ margin:0 0 1.5em;}


/* RESPONSIVE IMAGES */
img{ max-width:100%; height:auto;}

/*USER MENU*/
#userBar {
	position: fixed;
	background-color: #069;
	height:30px;
	line-height:30px;
	width:100%;
	z-index:9999;
	border-bottom:1px solid #FFF;
	-webkit-box-shadow: 0px 2px 15px rgba(50, 50, 50, 0.75);
	-moz-box-shadow:    0px 2px 15px rgba(50, 50, 50, 0.75);
	box-shadow:         0px 2px 15px rgba(50, 50, 50, 0.75);
}
#userBarCont {
	width:990px;
	margin:0px auto;
	color:#FFF;
}
#userBarCont .menu-toggle{
	display:block;
	padding:0px 10px;
	/*margin:20px 0 0;*/
	background:#666;
	color:#fff;
	cursor:pointer;
	text-transform:uppercase;
	font-size:20px;
}
#userBarCont .menu-toggle.toggled-on{
	background:#0099ff;
}

/*MAIN MENU*/
#mainnav .menu-toggle{
	display:block;
	padding:10px;
	margin:20px 0 0;
	background:#666;
	color:#fff;
	cursor:pointer;
	text-transform:uppercase;
	font-size:20px;
}
#mainnav .menu-toggle.toggled-on{
	background:#0099ff;
}

.srt-menu{
	display:none;
}
.srt-menu.toggled-on{
	display:block;
	position:relative;
	z-index:10;
}
.srt-menu{
	clear:both;
	margin-bottom:60px;

}
.srt-menu li a, .srt-menu li span {
	background:#dadada;
	display:block;
	margin:1px 0;
	padding:10px;
	text-decoration:none;
}
.srt-menu li a:hover, .srt-menu li span:hover{
	background:#0099ff;
	color:#fff;
}
.srt-menu li li a, .srt-menu li li span {
	background:#e8e8e8;
	padding-left:40px;
}
.srt-menu li li li a, .srt-menu li li li span {
	background:#efefef;
	padding-left:80px;
}


/*SECONDARY MENU*/
#secondary-navigation{
	margin-bottom:60px;
}
#secondary-navigation ul{
	margin:0;
	padding:0;
}
#secondary-navigation ul li a{
	background:#E6E6E6;
	display:block;
	margin:5px 0;
	padding:10px;
	text-decoration:none;
}
#secondary-navigation ul li a:hover,
#secondary-navigation ul li.current a{
	background:#0099ff;
	color:#fff;
}

/*SPACE GRID ELEMENTS VERTICALLY, SINCE THEY ARE ONE UNDER ANOTHER SO FAR*/
.grid_1,
.grid_2,
.grid_3,
.grid_4,
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_11,
.grid_12 {
	margin-bottom:40px;
	/*positioning and padding*/
	position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
}

/*FOOTER*/
footer{
	clear:both;
	font-size:80%;
	padding:20px 0;
}
footer ul{
	margin:0;
	padding:0;
}

/*colors and backgrounds*/
body{
	background:#fff;
}
h1, h2, h3, h4, h5, h6{
	color:#333;
}

footer{
	background:#333;
	color:#ccc;
}
footer h1, footer h2, footer h3, footer h4{
	color:#CCC;
	margin-bottom:10px;
}
footer ul{
	margin:0 0 0 8%;
}

a.buttonlink{
	background:#3675CA;
	border-radius:7px;
	color:#fff;
	display:block;
	float:left;
	margin:10px 15px 10px 0;
	padding:10px;
	text-decoration:none;
}
a.buttonlink:hover{
	background:#67AED4;
}
.greenelement{
	background:#5ec79e;
	color:#fff;
}
.violetelement{
	background:#887dc2;
	color:#fff;
}



/* Contain floats*/
.clearfix:before,
.clearfix:after,
.row:before,
.row:after {
  content: " ";
  display: table;
}
.clearfix:after,
.container:after,
.row:after{
  clear: both;
}




.imgPerfil {
	border:1px solid #096;
	padding:4px;
}

#datosPerfil {
	margin:0px;
	padding:0px;
	list-style-position:outside;
	list-style-type:none;
}
#datosPerfil li {
	margin-bottom:5px;
}

#divComentarios {
	font-size:0.85em;
}
#divComentarios p {
	margin:0 0 0.1em 0;
}

#divSeguidores {
	float:right;
	width:100px;
	background-color:#069;
	color:#FFF;
	font-size:12px;
	font-family:Arial, Helvetica, sans-serif;
	padding:5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	text-align:center;
}
#countSeguidores {
	font-weight:bold;
}
.btnSeguir {
	float:right;
	width:100px;
	margin:5px 0px 0px 0px;
	border:1px solid #999;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	color:#06C;
	text-align:center;
	cursor:pointer;
}
.btnSeguir.off {
	color:#AAA;
	background-color:#EEE;
}

.divIconFavorito {
	float: right;
	/*background-color:#AAA;*/
	border: 1px solid #AAA;
	color:#FFF;
	/*
	font-size:11px;
	line-height:16px;
	font-family:Arial, Helvetica, sans-serif;
	*/
	padding:3px 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	cursor:pointer;
}

a.bigSquareButton {
	display: block;
	text-align: center;
	border: 1px solid #aaa;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	padding: 15px 10px;
	text-decoration: none;
}
a.bigSquareButton:hover {
	text-decoration: underline;
}

/***********************************************************************
Paginación
***********************************************************************/
.pagination {
	overflow:hidden;
	margin:0px;
	padding:3px 0px;
	list-style:none;
	background:#f3f3f3;
	border-top:1px solid #e2e2e2;
	border-bottom:1px solid #e2e2e2;
	border-radius: 4px;
	-moz-border-radius: 4px;
}
.pagination li {
	float:left;
	margin-left: 4px;
	text-align: center;
	color:#09F;
	border: solid 1px #09F;
	border-radius: 4px;
	-moz-border-radius: 4px;
	background-color:#FFF;
}
.pagination li.active {
	background-color: #09F;
	border: solid 1px #09F;
}
.pagination li a {
	display:block;
	/*width: 20px;*/
	height: 20px;
	padding:0px 6px;
	text-decoration:none;
}
.pagination li.active a {
	color:#FFF;
}
/***********************************************************************
Barra para compartir en redes sociales
***********************************************************************/
#social_nav_horizontal {
	margin-left: 0px;
	font-family: Futura, Verdana, Sans-Serif;
	font-size: 12px;
	color: #8E9090;
	height: 80px;
}
#social_nav_horizontal ul {
	margin: 0;
	padding: 0;
	margin-top: 10px;
}
#social_nav_horizontal ul li {
	float: left;
	padding: 5px 0 0 5px;
	margin-left: 5px;
	list-style-type: none;
}
#social_nav_horizontal ul li a {
	padding: 4px 0 0 2px;
	height: 32px;
	color: #999;
	text-decoration: none;
}
#social_nav_horizontal ul li a:hover {
	color: #6DCAFF;
	text-decoration: underline;
}


/***********************************************************************
Listado de artículos
***********************************************************************/
#ulArticulos {
	list-style: none;
	margin:0;
	padding:0;
}

#ulArticulos li {
	clear: both;
	margin: 25px 0px 25px 0px;
	overflow: hidden;
	padding-bottom: 10px;
	border-bottom: 1px dotted #999;
}

#ulArticulos li a {
	text-decoration: none;
}

#ulArticulos li img {
	float: left;
	display: block;
	margin-right: 20px;
}

/***********************************************************************
Clases genericas
***********************************************************************/
.fl { float:left; }
.fr { float:right; }
.oh { overflow:hidden; }
.block { display:block; }
.clearfloat {
	clear:both;
	height:1px;
}

.mt10 { margin-top:10px; }
.mt20 { margin-top:20px; }
.mb10 { margin-bottom:10px; }
.mb20 { margin-bottom:20px; }
.ml10 { margin-left:10px; }
.ml20 { margin-left:20px; }
.mr10 { margin-right:10px; }
.mr20 { margin-right:20px; }


label.error, p.error {
	display: block;
	color: red;
	font-style: italic;
	font-weight: normal;
}
input.error, select.error, textarea.error {
	border: 1px solid #F03;
}




/* tablas en dispositivos móviles pequeños / medianos */
@media only screen and (max-width: 610px) {
th, td{
    /*border:1px solid #999;*/
    position:relative;
    float:left;
    clear:both;
    width:100%;
    text-align:left
}
}

/* listado de artículos para pantallas grandes */
@media only screen and (min-width: 610px) {
#ulArticulos li img {
	max-width: 250px;
}
}

/*
LARGER MOBILE DEVICES
This is for mobile devices with a bit larger screens.
*/
@media only screen and (min-width: 481px) {
#banner{
	float:left;
	text-align:left;
	margin-bottom:-20px;/*this depends on the height of the logo*/
}
#mainnav .menu-toggle{/*make menu float right, instead of sitting under the logo*/
	margin-top:10px; /*this depends on the height of the logo*/
	float:right;
}

}

/*
TABLET & SMALLER LAPTOPS
The average viewing window and preferred media query for those is 768px.
But I think that some more breathing space is good:)
*/
@media only screen and (min-width: 920px) {
#mainnav { float:right;}
.wrapper{
	max-width: 1200px;
	/*margin: .75em auto;*/
}

#banner{
	float:left;
	text-align:left;
	margin-bottom:0px;
}
header{
	padding:50px 0 0 0;
}
#content {
	float:left;
	width:65%;
}
#content.wide-content{
	float:none;
	width:100%;
}

.flexslider{
display:block;
/*demo 1 slider theme*/
margin: 0 0 60px;
background: #fff;
border: 4px solid #fff;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
-o-border-radius: 4px;
border-radius: 4px;
box-shadow: 0 1px 4px rgba(0,0,0,.2);
-webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2);
-moz-box-shadow: 0 1px 4px rgba(0,0,0,.2);
-o-box-shadow: 0 1px 4px rgba(0,0,0,.2);
}


aside {
	float:right;
	width:30%;
}

/*** MAIN MENU - ESSENTIAL STYLES ***/
#userBarCont .menu-toggle, #mainnav .menu-toggle{display:none;}
#menu-main-navigation, .menu-top-navigation{display:block;}

.srt-menu, .srt-menu * {
	margin:			0;
	padding:		0;
	list-style:		none;
}
.srt-menu ul {
	position:		absolute;
	display:none;
	width:			14em; /* left offset of submenus need to match (see below) */
}
.srt-menu ul li {
	width:			100%;
}
.srt-menu li:hover {
	visibility:		inherit; /* fixes IE7 'sticky bug' */
}
.srt-menu li {
	float:			left;
	position:		relative;
	margin-left:1px;
}
.srt-menu li li {
	margin-left:0px;
}
.srt-menu a {
	display:		block;
	position:		relative;
	text-decoration:none;
}
.srt-menu li:hover ul,
.srt-menu li.sfHover ul {
	display:block;
	left:			0;
	top:			35px; /* match top ul list item height */
	z-index:		99;
	-webkit-box-shadow:  2px 3px 2px 0px rgba(00, 00, 00, .3);
    box-shadow:  2px 3px 2px 0px rgba(00, 00, 00, .3);
}
ul.srt-menu li:hover li ul,
ul.srt-menu li.sfHover li ul {
	top:			-999em;
}
ul.srt-menu li li:hover ul,
ul.srt-menu li li.sfHover ul {
	left:			12em; /* match ul width */
	top:			0;
}
ul.srt-menu li li:hover li ul,
ul.srt-menu li li.sfHover li ul {
	top:			-999em;
}
ul.srt-menu li li li:hover ul,
ul.srt-menu li li li.sfHover ul {
	left:			10em; /* match ul width */
	top:			0;
}

/*** DEMO1 SKIN ***/
#mainnav .srt-menu {
	float:right;
	margin: .35em 0 0 0;
}
#mainnav .srt-menu a {
	text-decoration:none;
}
#mainnav .srt-menu li a, #mainnav .srt-menu li span {
	background:#fff;
	margin:0;
	padding:5px 15px;
	height:35px;
}
#mainnav .srt-menu a, #mainnav .srt-menu a:visited, #mainnav .srt-menu span  { /* visited pseudo selector so IE6 applies text colour*/
	color:			#565F72;
}
#mainnav .srt-menu li li a, #mainnav .srt-menu li li span {
		border-top:		1px solid rgba(255,255,255,.2);
		background:		#333; /*fallback for old IE*/
		background:rgba(0,0,0,.7);
		color:	#fff;
		padding-left:20px;
		height:auto;
}
#mainnav .srt-menu li li a:visited{color:#fff;}
#mainnav .srt-menu li li li a,
#mainnav .srt-menu li li li span,
#mainnav .srt-menu li.current * li a,
#mainnav .srt-menu li.current * li span{
	padding-left:20px;
	background:rgba(0,0,0,.7);
}

#mainnav .srt-menu li:hover > a, #mainnav .srt-menu li:hover > span,
#mainnav .srt-menu li.current a, #mainnav .srt-menu li.current span{
	color:#fff;
	background:#67AED4;
}
#mainnav .srt-menu li li:hover > a, #mainnav .srt-menu li li:hover > span{
	color:#fff;
	background:#67AED4;
}



#userBar .srt-menu li a {
	background:none;
	display:block;
	margin:0;
	padding:0px;
}
#userBar .srt-menu li a:hover{
	background:#0099ff;
	color:#fff;
}


#userBar .srt-menu a {
	text-decoration:none;
}
#userBar .srt-menu li a {
	color:#FFF;
	padding:0px 10px;
}
#userBar .srt-menu li:hover ul,
#userBar .srt-menu li.sfHover ul {
	top:			30px; /* match top ul list item height */
}

#userBar .srt-menu li li a {
		background:		#069;
}
#userBar .srt-menu li:hover > a,
#userBar .srt-menu li.current a{
	background:#67AED4;
}




/*GRID*/
/*
 & Columns : 12

 */
 .row{
	 margin-left: -15px;
     margin-right: -15px;
}

.grid_1 { width: 8.33333333%; }
.grid_2 { width: 16.66666667%; }
.grid_3 { width: 25%; }
.grid_4 { width: 33.33333333%; }
.grid_5 { width: 41.66666667%; }
.grid_6 { width: 50%; }
.grid_7 { width: 58.33333333%; }
.grid_8 { width: 66.66666667%; }
.grid_9 { width: 75%; }
.grid_10 { width: 83.33333333%; }
.grid_11 { width: 91.66666667%; }
.grid_12 { width: 100%; }

.grid_1,
.grid_2,
.grid_3,
.grid_4,
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_11,
.grid_12 {
	float: left;
	display: block;
}

.rightfloat{float:right;}
/* @notation inspired by tinyGrid, .row and percentage by Twitter Bootstrap
 */

#hero [class*="grid_"] { margin-bottom:-20px;}

}





/*
DESKTOP
This is the average viewing window. So Desktops, Laptops, and
in general anyone not viewing on a mobile device. Here's where
you can add resource intensive styles.
*/
@media only screen and (min-width: 1030px) {

}

/*
LARGE VIEWING SIZE
This is for the larger monitors and possibly full screen viewers.
*/
@media only screen and (min-width: 1240px) {

}

/*
RETINA (2x RESOLUTION DEVICES)
This applies to the retina iPhone (4s) and iPad (2,3) along with
other displays with a 2x resolution.
*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min--moz-device-pixel-ratio: 1.5),
       only screen and (min-device-pixel-ratio: 1.5) {


}

/*
iPHONE 5 MEDIA QUERY
iPhone 5 or iPod Touch 5th generation styles (you can include your own file if you want)
*/
@media (device-height: 568px) and (-webkit-min-device-pixel-ratio: 2) {


}

/*
PRINT STYLESHEET
*/
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}