body {
	margin-top: 40px;
	background-color: #fafafa;
	color: #806060;
	font-family: 'Ubuntu';
	font-size: 15px;
	font-weight: normal;
}

body > .container {
	background-color: white;
	border-left: 5px solid #f0f0f0;
	border-right: 5px solid #f0f0f0;
}

p, div {
	font-family: 'Ubuntu';
	font-size: 15px;
	font-weight: normal;
}

p {
	margin: 15px 0;
}

a,
a:visited {
	color:#3070c0;
	text-decoration:none;
}

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

.pasapaginas {
	padding: 8px 4px;
	margin-top: 15px;
	margin-bottom: 30px;
	border-top: 1px solid #c0c0c0;
	border-bottom: 1px solid #c0c0c0;
	background: #F2F2F2;
}

.pasapaginas .pp-elem {
	text-align:center;
	font-weight:bold;
}



/**************************************************
	BARRA-TOP
**************************************************/

#barra-top {
	width: 100%;
	height: 40px;
	background-color: black;
	color: white;
	
	/* necesario para hacerla flotante */
	display: block;
	position: fixed;
	top: 0;
	z-index: 10;
}

#barra-top a {
	color: white;
	text-decoration: none;
}

#barra-top a:hover {
	color: lightgray;
	text-decoration: none;
}

#barra-top .bloque {
	max-height: 40px;
	float: left;
	margin: 0;
	margin-right: 10px;
	font-size: 17px;
}

#barra-top .barra-top-logo img {
	width: 40px;
	height: 40px;
	border: 0;
}

#barra-top .dropdown {
	float: right;
	line-height: 40px;
}

#barra-top .dropdown > a > .glyphicon,
#barra-top .dropdown > a > .fa-power-off {
  padding: 5px;
	border: 1px solid rgb(165, 165, 165);
  border-radius: 50px;
	color: rgb(215, 255, 253);
}

#barra-top .enlace-simple {
	line-height: 40px;
}

#barra-top .dropdown li a {
	color: #806060;
}

#barra-top .barra-top-avatar {
	width: 32px;
	height: 32px;
	margin: 0;
	border-radius: 3px;
}

/* Oculta elementos en resoluciones bajas */
@media screen and (max-width:650px) {
	#barra-top .dropdown { width: 30px; }
	#barra-top .dropdown-txt-top { visibility: hidden; }
}



/**************************************************
	CAB
**************************************************/

.cab-logo {
	margin-top: 15px;
	padding: 0;
	text-align: center;
	color: #D40D12;
	letter-spacing: 0.6px;
}

.cab-logo img {
	width: 100%;
	/* A continuación, definimos ambos valores para que IE8 no deforme la imagen */
	max-width: 320px; /* 91,43% del ancho original */
	max-height: 46px; /* 91,43% del alto original */
}

.cab-logo strong {
	font-weight: normal;
}

.adsense200x90top {
	text-align: right;
  padding-right: 50px;
  padding-top: 10px;
}

.cab-adsense {
	margin: 20px auto;
}

.cab-buscador {
	margin: 0 auto;
	margin-top: 25px;
	width: 70%;
}

.cab-buscador .custom-search-form{
  margin-top:5px;
}

.info-extra-cab {
  margin-top: 10px;
  margin-bottom: 0px;
  text-align: center;
  font-size: 14px;
  line-height: 22px;
}

.h1-premigas {
	margin-top: 10px;
	padding: 3px 3px;
	overflow: hidden;
	background-color: #ddd;
}

.h1-premigas h1 {
	margin: 0;
	font-size: 15px;
	line-height: 1.43;
}

.migas {
	padding: 3px 10px;
	background-color: #eee;
}

.migas2 {
	margin-bottom: 0;
	padding: 3px 10px;
	background-color: #f9f9f9;
}



/**************************************************
	PIE
**************************************************/

.pie-adsense200x90 {
	width: 200px;
	height: 90px;
	margin: 5px auto;
	margin-top: 30px;
}

.ini-pie {
	padding: 25px 0;
}

.ini-pie .txt-ini-pie {
	padding-top: 0px;
	padding-bottom: 10px;
	text-align: center;
}

.ini-pie .buscador2 {
	padding-top: 10px;
	padding-bottom: 0px;
}

.ini-pie .buscador2 form {
	width: 95%;
	margin: 0 auto;
}

.adsense-cont-relac {
	padding-bottom: 30px;
}

.avatar-pie-online {
	width:50px;
	margin-right:10px;
	margin-bottom:10px;
	border:1px solid white;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	box-shadow: 0 0 3em 0.1em #eee;
	-webkit-box-shadow: 0 0 3em 0.1em #eee;
}

.pie-link-blog {
	text-align: right;
}

.pie-olegif-alea {
	
}

.pie-olegif-alea p {
	text-align: center;
	margin:	5px 0;
}

.pie-olegif-alea img {
	width: 100%;
	max-width: 300px;
}

.txt-fin-pie {
	margin: 20px 0;
	margin-bottom: 75px;
	text-align: center;
}

.txt-fin-pie strong {
	font-size: 20px;
}



/**************************************************
	AVISO COOKIES
**************************************************/

#aviso_cookies {
	width: 100%;
	padding: 7px 10px;
	line-height: 18px;
	border-top: 3px solid lightgray;
	background: #f5f5f5;
	text-align: center;
	
	/* necesario para hacerla flotante */
	display: block;
	position: fixed;
	bottom: 0;
	z-index: 10;
}



/**************************************************
	ALERTA TEMPORAL SUPERIOR
**************************************************/

#alertaTop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0 auto;
	z-index: 15;
}

#alertaTop-interior {
  padding: 10px 0;
  text-align: center;
  font-size: 18px;
  height: 50px
}

#alertaTop-interior button {
	font-size: 30px;
}



/***********************************************************
	PANELS WITH NAV TABS
	(solo panel-default)
http://bootsnipp.com/snippets/featured/panels-with-nav-tabs
***********************************************************/

.panel.with-nav-tabs {
	margin: 0 -15px;
}

.panel.with-nav-tabs .panel-heading {
  padding: 5px 5px 0 5px;
}

.panel.with-nav-tabs .nav-tabs {
	border-bottom: none;
}

.panel.with-nav-tabs .nav-justified {
	margin-bottom: -1px;
}

/*** PANEL DEFAULT ***/

.with-nav-tabs.panel-default .nav-tabs > li > a,
.with-nav-tabs.panel-default .nav-tabs > li > a:hover,
.with-nav-tabs.panel-default .nav-tabs > li > a:focus {
  color: #777;
}

.with-nav-tabs.panel-default .nav-tabs > .open > a,
.with-nav-tabs.panel-default .nav-tabs > .open > a:hover,
.with-nav-tabs.panel-default .nav-tabs > .open > a:focus,
.with-nav-tabs.panel-default .nav-tabs > li > a:hover,
.with-nav-tabs.panel-default .nav-tabs > li > a:focus {
  color: #777;
	background-color: #ddd;
	border-color: transparent;
}

.with-nav-tabs.panel-default .nav-tabs > li.active > a,
.with-nav-tabs.panel-default .nav-tabs > li.active > a:hover,
.with-nav-tabs.panel-default .nav-tabs > li.active > a:focus {
	color: #555;
	background-color: #fff;
	border-color: #ddd;
	border-bottom-color: transparent;
}

.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu {
  background-color: #f5f5f5;
  border-color: #ddd;
}

.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > li > a {
  color: #777;   
}

.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > li > a:hover,
.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > li > a:focus {
  background-color: #ddd;
}

.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > .active > a,
.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > .active > a:hover,
.with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > .active > a:focus {
  color: #fff;
  background-color: #555;
}

