@charset "utf-8";
@import url("reset.css");

.clear {clear:both;}
.clearL{clear:left;}
.clearR{clear:right;}

/*@font-face {
    font-family: 'DBlack';
    src: url('../fonts/ff_din_black-webfont.eot');
    src: url('../fonts/ff_din_black-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/ff_din_black-webfont.woff') format('woff'),
         url('../fonts/ff_din_black-webfont.ttf') format('truetype'),
         url('../fonts/ff_din_black-webfont.svg#DINBlackRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'DLight';
    src: url('../fonts/ff_din_light-webfont.eot');
    src: url('../fonts/ff_din_light-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/ff_din_light-webfont.woff') format('woff'),
         url('../fonts/ff_din_light-webfont.ttf') format('truetype'),
         url('../fonts/ff_din_light-webfont.svg#DINLightRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}*/

@font-face {
	font-family: 'Candy';
	src: url('../fonts/CandySquareBTN.eot');
	src: local('☺'), url('../fonts/CandySquareBTN.woff') format('woff'), url('../fonts/CandySquareBTN.ttf') format('truetype'), url('../fonts/CandySquareBTN.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

body {
	background: #313140 url(../images/body-bg.png) no-repeat center top;
	font: normal 13px/140% Arial, Helvetica, sans-serif;
	color: #000;
}

@media all and (max-width: 960px) {
	
	body {
		background: #313140 url(../images/body-bg.png) no-repeat -72px top;
	}
}

h1, h2, h3, h4 {
	font-family: 'Candy';
	font-weight:normal;	
}

blockquote {
	padding-left:30px;
}

header {
	width: 960px;
	height: 455px;
	margin:0 auto;
	position: relative;
	z-index:666;
}

header h1 {
	display:none;
	visibility:hidden;
}

header .logo {
	display:block;
	position:absolute;
	left:3px;
	top:21px;
	width:161px;
	height:88px;
}

header .piojo-top {
	position: absolute;
	left: 267px;
	top: 17px;
	width: 90px;
	height: 120px;
	z-index:999;
	background: url(../images/piojo-top.png) no-repeat;
}

header #cabecera {
	width:960px;
	height:263px;
	position:absolute;
	top:127px;
	left:0;
	overflow:hidden;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;	
}

header #cabecera .sombra {
	bottom: 0;
	height: 37px;
	position:absolute;
	width:960px;
	background: url(../images/cabecera-sombra.png) no-repeat;
}

header .social {
	position:absolute;
	top:36px;
	right:9px;	
}

header .social li {
	display:inline;
}

header .social li a {
	display:block;
	float:left;
	width:25px;
	height:25px;
	text-indent:-5000px;
	margin-left:5px;	
}

header .social li a.fb {background: url(../images/socialtop.png) no-repeat left top;}
header .social li a.tw {background: url(../images/socialtop.png) no-repeat -25px top;}
header .social li a.yt {background: url(../images/socialtop.png) no-repeat right top;}

header .social li a.fb:hover {background: url(../images/socialtop.png) no-repeat left bottom;}
header .social li a.tw:hover {background: url(../images/socialtop.png) no-repeat -25px bottom;}
header .social li a.yt:hover {background: url(../images/socialtop.png) no-repeat right bottom;}

header nav {
	width:960px;
	background-color:#FFF;
	height:70px;
	position:absolute;
	bottom:0;
	left:0;	
}


/*------------MENU1---------------*/
.sf-menu ul {
	position:		absolute;
	top:			-999em;
	width:			193px; /* left offset of submenus need to match (see below) */
	padding:0;
}
.sf-menu ul li {
	width:			100%;
}
.sf-menu li:hover {
	visibility:		inherit; /* fixes IE7 'sticky bug' */
}
.sf-menu li {
	float:			left;
	position:		relative;
}
.sf-menu a {
	display:		block;
	position:		relative;
}
.sf-menu li:hover ul,
.sf-menu li.sfHover ul {
	left:			15px;
	top:			56px; /* match top ul list item height */
	z-index:		99;
}
ul.sf-menu li:hover li ul,
ul.sf-menu li.sfHover li ul {
	top:			-999em;
}
ul.sf-menu li li:hover ul,
ul.sf-menu li li.sfHover ul {
	left:			10em; /* match ul width */
	top:			0;
}
ul.sf-menu li li:hover li ul,
ul.sf-menu li li.sfHover li ul {
	top:			-999em;
}
ul.sf-menu li li li:hover ul,
ul.sf-menu li li li.sfHover ul {
	left:			10em; /* match ul width */
	top:			0;
}

/*** DEMO SKIN ***/
.sf-menu {
	position:absolute;
	z-index:666;
	left:10px;
	top:-10px;
	width:950px;
}

.sf-menu a  { /* visited pseudo selector so IE6 applies text colour*/
	color:#333;
	line-height:69px;
	text-indent:-9000px;
}

.sf-menu .btn_1 a {
	width: 182px;
	background: url(../images/menu-btn1.png) no-repeat center top;
}

.sf-menu .btn_2 a {
	width: 259px;
	margin-left:-10px;
	margin-top:-10px;
	background: url(../images/menu-btn2.png) no-repeat center top;
}
.sf-menu .btn_2:hover ul,
.sf-menu .btn_2.sfHover ul {
	top:			41px;
}

.sf-menu .btn_3 a {
	width: 197px;
	margin-left:-14px;
	z-index:1;
	background: url(../images/menu-btn3.png) no-repeat center top;
}
.sf-menu .btn_3:hover ul,
.sf-menu .btn_3.sfHover ul {
	top:			53px;
}

.sf-menu .btn_4 a {
	width: 149px;
	margin-left: -14px;
    margin-top: -8px;
	background: url(../images/menu-btn4.png) no-repeat center top;
}
.sf-menu .btn_4:hover ul,
.sf-menu .btn_4.sfHover ul {
	top:			46px;
}

.sf-menu .btn_5 a {
	width: 202px;
	margin-top:0px;
	margin-left: -11px;
	background: url(../images/menu-btn5.png) no-repeat center top;
}
.sf-menu .btn_5:hover ul,
.sf-menu .btn_5.sfHover ul {
	top:			54px;
}

.sf-menu a img {
	vertical-align:baseline;
	margin-left:3px;
}

.sf-menu li {
	margin:0;
}

.sf-menu li.sfHover > a {
	outline:0;
}

.sf-menu li:hover, .sf-menu li.sfHover, .sf-menu li.activo, .sf-menu li.sfHover > a, 
.sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active, .sf-menu a.active  {
	outline: 0;
	color: #000;
	background-position:center bottom;
}

.submenutop {
	height: 17px;
	width: 197px;
	position: absolute;
	z-index: 9999 !important; 
	
}

.btn_1 .submenutop {background:transparent url(../images/nav-sub-top1.png);}
.btn_2 .submenutop {background:transparent url(../images/nav-sub-top2.png);}
.btn_3 .submenutop {background:transparent url(../images/nav-sub-top3.png);}
.btn_4 .submenutop {background:transparent url(../images/nav-sub-top4.png);}
.btn_5 .submenutop {background:transparent url(../images/nav-sub-top5.png);}

.submenucont {
	top:17px;
	width:193px;
	padding-top:2px;
	padding-bottom:12px;
	position:absolute;
	border-bottom-right-radius: 4px;
	border-bottom-left-radius: 4px;
	border:2px solid #111;
	border-top:0;
	box-shadow:1px 1px 4px #FFF;
}

.btn_1 .submenucont {background-color:#ED3334;}
.btn_2 .submenucont {background-color:#FFFFFF;}
.btn_3 .submenucont {background-color:#12A89D;}
.btn_4 .submenucont {background-color:#FCB040;}
.btn_5 .submenucont {background-color:#313140;}

.sf-menu li li {
	margin:0;
	padding:0;
	background:none;
}

.sf-menu li li a {
	text-transform:none;
	padding:6px 0;
	width:auto !important;
	text-indent:0;
	margin:3px 14px 0 14px !important;
	font-size:12px;
	font-family:Arial, Helvetica, sans-serif;
	color:#111;
	font-weight:bold;
	line-height:16px;
	background:none	transparent !important;
	display:block;
	transition:all 100ms ease-out;
}

.sf-menu li.btn_3 li a, .sf-menu li.btn_5 li a {color:#FFF}

.sf-menu li li a img {
	position:absolute;
	right:16px;
	top:11px;
}

.sf-menu li li:hover {
	background:none transparent;
}

.sf-menu li li a:hover {
	background:none	transparent;
	margin-left:19px;
	margin-right:9px;
	color:#FFF;
	transition:all 100ms ease-in;
}

.sf-menu li.btn_3 li a:hover {color:#111}
.sf-menu li.btn_2 li a:hover, .sf-menu li.btn_5 li a:hover {color:#FCB040}

header form {
	position:absolute;
	right:6px;
	top:83px;
	width:230px;	
}

header form input {
	display:inline-block;
	width:190px;
	height:25px;
	line-height:25px;
	padding:0 5px;
	border:1px solid #666;
	background-color:#999;
	border-radius:3px;
	vertical-align:middle;
}

header form input.button {
	width:20px;
	cursor:pointer;
	font-weight:bold;
	color:#CCC;
	height:27px;
	padding:0;
}


/*----fin cabecera---*/

/*------CONTENIDO-------*/

#contenido {
	width:960px;
	padding-top:15px;
	position:relative;
	z-index:333;
	margin:0 auto;
	background:#FFF;
	padding-bottom:12px;
	border-bottom-right-radius: 4px;
	border-bottom-left-radius: 4px;
}

#main {
	width:606px;
	padding:16px;
	border:1px solid #CCCCCC;
	background:#F6F6F6;
	float:left;
	margin-left:12px;
	border-radius:2px;
	margin-right:12px;
	color:#222;
	min-height:1287px;
	margin-top: 40px;
}

#default #main {
	margin-top:0;	
}

#main h1 {
	color: #C82C2C;
	text-transform:uppercase;
    font-size: 20px;
    font-weight: normal;
    height: 55px;
    line-height: 28px;
    margin-top: -55px;
}

#main .texto-format h2 {
	padding-bottom:20px;	
	font-size: 25px;
    line-height: 110%;
    text-transform: uppercase;
}

#main .texto-format h2 .doblelinea {
	display:none;
}


#main .texto-format h3 {
	font-size:18px;	
	padding-bottom:16px;
}

#main .texto-format h4 {
	font-size:15px;	
	font-weight:bold;
	padding-bottom:16px;
}

#main .texto-format p {
	padding-bottom:16px;	
}

#main .texto-format ul {
	list-style:inside disc;	
	padding-bottom:16px;	
	margin-left:10px;
}

#main .texto-format .masterimg {
	float:left;	
	width:300px;
	overflow:hidden;
	border-radius:2px;
	line-height:0;
	margin:0 16px 16px 0;
	background:#333333;
	border:2px solid #000;
	box-shadow:7px 7px 0px #999;
}

#main .texto-format .resumen {
	font-weight:bold;
	float:left;	
	width:286px;
}

#main .texto-format .fecha {
	color:#868686;
	margin-right:10px;
	font-style:italic;
}

#main .texto-format .files ul {
	list-style:inside none;
	margin:0 0 25px 0;
}

#main .texto-format .files ul a {
	color: #C82C2C;
	padding-bottom:5px;
}

#main .texto-format .files ul a:hover {
	text-decoration:underline;
}

#main .texto-format .separador {
	border-bottom:1px solid #CCC;
	height:1px;
	margin:20px 0;
}

aside {
	float: left;
	position: relative;
	width: 284px;
	min-height: 700px;
	border: 1px solid #CCCCCC;
	background: url(../images/aside-bg.jpg) repeat;
	border-top: 0;
	border-radius:2px;
	overflow:hidden;
}

.catalogo {
	display: block;
	width: 254px;
	height: 165px;
	position:relative;
	background: url(../images/catalogo2.jpg) no-repeat;
	margin:0 0 20px 10px;
}

.catalogo span {
	position:absolute;
	display:block;
	left:0;
	top:110px;
	line-height:34px;
	font-family: 'Candy';
	color:#212121;
	font-size:16px;
	width:192px;
	text-align:center;
	border-radius:6px;
	box-shadow:0 0 0 #000;
	transition:box-shadow 200ms ease-in;
}

.catalogo:hover span {
	box-shadow:1px 1px 6px #000;
	transition:box-shadow 50ms ease-in;
}

.catalogo span img {
	vertical-align:middle;
}

.fb-container {
    width: 258px;
	margin:0 auto 20px auto;
    overflow: hidden;
}

.fb-container > div {
     margin: -1px 0px 0px -1px;  
}

.intro-container {
    width: 258px;
	margin:0 auto 20px auto;
    overflow: hidden;
	color:#444444;
}

aside .title-fb, aside .title-tw, aside .title-intro {
	text-indent:-5000px;
	height:48px;
	margin-bottom:8px;
}

aside .title-fb {background: url(../images/title-fb.jpg);}
aside .title-intro {height:51px;background: url(../images/title-intro.jpg);}
aside .title-tw {background: url(../images/title-tw.jpg);}


.tw-container {
	margin:12px 12px 22px 12px;
}

.twtr-widget .twtr-tweet-wrap {
    overflow: hidden;
    padding: 0 0 14px 0 !important;
	border-bottom:1px solid #CCC;
	margin-bottom:14px;
}

.twtr-hd {
    display:none !important;
}

.inscripcion {
	display:block;
	background:#FCB040;	
	font-family: 'Candy';
	font-size:13px;
	color:#000;
	padding:12px 10px 8px 10px;
	transition:padding 60ms linear;
}

.inscripcion strong {
	font-size:26px;
	font-weight:normal;
}

.inscripcion:hover {
	padding:12px 6px 8px 14px;
}

.banner-red {
	margin:10px 0 16px 12px;
	width:260px;
}

.logo-car {
	display: block;
	height: 59px;
	width: 185px;
	text-indent:-5000px;
	margin:0 auto;
	position:absolute;
	bottom:30px;
	left:45px;
	background: url(../images/logo-car.png) no-repeat center top;
}

.logo-car:hover {
	background: url(../images/logo-car.png) no-repeat center bottom;
}


/*-----FOOTER---*/

footer {
	background:#C82C2D;
	height:368px;
	position:relative;
	z-index:222;
	padding-top:60px;
	margin-top:-60px;
}

footer #footercont {
	width:960px;
	margin:0 auto;
	padding-top:30px;
}

#footercont .left {
	float:left;
	height:230px;
	width:487px;	
	border-right:1px solid #BE2B2C;
}

#footercont .copy {
	border-radius:3px;
	background-color:#660000;
	font-size:11px;
	color:#FFF;
	position:relative;
	padding:16px;
	margin-right:22px;
}

#footercont .copy img{
	position:absolute;
	right:10px;
	top:10px;
}

#footercont .copy strong {
	font-size:13px;
}

#footercont .copy a {
	color:#FBB641;
}

#footercont .tttlink {
	text-align:right;
	font-size:11px;
	color:#1F1F1F;
	margin-right:22px;
	margin-top:20px;
}

#footercont .tttlink a {
	color:#FFF;
}

#footercont .tttlink a:hover {
	text-decoration:underline;
}

#footercont .right {
	width:440px;
	float:left;
	padding-left:22px;
	height:230px;
	border-left:1px solid #CA3739;
}


/*-----HOME---*/


#sliderhome {
	width:640px;
	margin-left:12px;
	margin-bottom:13px;
	height:240px;
	background-color:#FFF;	
	transition:border-color 300ms ease-out;
}

#default aside {
	margin-top:-254px;
}

.lista-publicaciones article:last-child {
	padding-bottom:0px;
	margin-bottom:0px;
	border-bottom:0;
}

.lista-publicaciones article {
	padding-bottom:20px;
	border-bottom:1px solid #CCC;
	margin-bottom:20px;
}

.lista-publicaciones article figure {
	width: 177px;
	height: 177px;
	float: left;
	border-radius: 2px;
	overflow: hidden;
	position: relative;
}

.lista-publicaciones article figure .mask {
	display:block;
	width:177px;
	height:177px;
	position:absolute;
	top:0;
	left:0;
	z-index:111;
	background: url(../images/thumb-mask.png) no-repeat;
}


.lista-publicaciones article figure a {
	display:block;
	width:177px;
	height:177px;
	position:absolute;
	top:0px;
	left:0px;
}

.lista-publicaciones article a {
	color:#222;
}

.lista-publicaciones article h3 {
	font-size:25px;
	margin-left:187px;
	padding-bottom:6px;
	line-height:110%;
	text-transform: uppercase;
}

.lista-publicaciones article h3 .doblelinea {
	display:none;
}


.lista-publicaciones article p {
	margin-left:187px;
	padding-bottom:10px;
}

.lista-publicaciones article .masinfo span {
	color:#868686;
	margin-right:10px;
	font-style:italic;
	display:inline-block;
	vertical-align: middle;
}

.lista-publicaciones article .masinfo a {
	display: inline-block;
	vertical-align: middle;
	width: 99px;
	height: 31px;
	text-indent:-6000px;
	background: url(../images/seguir-bg.jpg) no-repeat center top;
}

.lista-publicaciones article .masinfo a:hover {
	background-position: center bottom;
}

.lista-publicaciones article .social {
	opacity:0;
	margin-left:187px;
	transition:opacity 250ms ease-out;
}

.lista-publicaciones article:hover .social {
	opacity:1;
	transition:opacity 150ms ease-in;
}

/*---PUBLICACIONES---*/

.paginacion {
	margin-top:40px;
}

.paginacion td {
	padding:6px;	
}

.social {
	position:relative;
	z-index:888;
}

.social ul li {
	display:inline-block;
	margin-right:10px;
	vertical-align:top;
}

.social ul li.comments {
	display:none;
	width: 24px;
	font-family: 'Candy';
	font-size:13px;
	margin-right:6px;
	height: 20px;
	text-align:center;
	line-height:16px;
	color:#111;
	background: url(../images/commentario.png) no-repeat;
}

.filtraletra {
	margin-bottom:20px;
	padding-bottom:10px;
	border-bottom:1px solid #666;
}

.filtraletra li {
	display:inline;
}

.filtraletra li a {
	display:block;
	background-color:#333;
	float:left;
	width:22px;
	line-height:25px;
	text-align:center;
	color:#999;
	height:25px;
	margin-right:4px;
	font-family: 'Candy';
	border-radius:3px;
	margin-bottom:4px;
}

.filtraletra li a:hover, .filtraletra li a.activo {
	background-color:#555;
	color:#333;
}

#programaxsede h4, #programaxdia h4 {
	padding-top:10px;	
}