/*
Theme Name: CFR
Author: La Sastrería Comunicación
Author URI: http://www.lasastreriacomunicacion.com
Description: Estilo de la Web creada por laSastrería.
*/

/*Reset*/

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong,
sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table,
caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer,
header, hgroup, menu, nav, section, menu, time, mark, audio, video {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: 0 none;
    font-size: 100%;
    margin: 0;
    outline: 0 none;
    padding: 0;
    vertical-align: baseline;
}
body {
    line-height: 1;
}

strong {
  font-weight: 600;
}
article, aside, dialog, figure, footer, header, hgroup, nav, section {
    display: block;
}
nav ul {
    list-style: none outside none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
    content: none;
}
a {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: 0 none;
    font-size: 100%;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
    text-decoration: none;
}
ins {
    background-color: #FFFF99;
    color: #000000;
    text-decoration: none;
}
mark {
    background-color: #FFFF99;
    color: #000000;
    font-style: italic;
    font-weight: bold;
}
del {
    text-decoration: line-through;
}
abbr[title], dfn[title] {
    border-bottom: 1px dotted #000000;
    cursor: help;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
hr {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: #CCCCCC -moz-use-text-color -moz-use-text-color;
    border-image: none;
    border-right: 0 none;
    border-style: solid none none;
    border-width: 1px 0 0;
    display: block;
    height: 1px;
    margin: 1em 0;
    padding: 0;
}
input, select {
    vertical-align: middle;
}

/*Fin de reset*/

*, body{
  font-family: 'Open Sans', sans-serif;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

p, .contenido ul, .contenido ol {
  margin-bottom: 15px;
}

p, .contenido li {
  color: #666666;
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
  list-style-position: inside;
}

.contenido{
  color: #666666;
  font-size: 13px;
  font-weight: 300;
  line-height: 18px;
}

.contenido iframe, .contenido object, .contenido embed{
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6{
  font-family: 'Open Sans Condensed',sans-serif;
}

a, a img{
  color: #7ba3dc;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

a:hover{
  color: #5b77a1;
}

a img:hover{
  opacity: 0.5;
}

img{
  max-width: 100%;
  height: auto;
}


::-moz-selection {
 background: #7ba3dc;
 color: #FFF;
}
::selection {
  background: #7ba3dc
  color: #FFF;
}

.alignleft{
  float: left;
  margin-right: 10px;
  margin-bottom: 15px;
}

.aligncenter{
  float: none !important;
  margin: 15px auto;
}

.alignright{
  float: right;
  margin-left: 10px;
  margin-bottom: 15px;
}

li ol, li ul{
  margin-left: 15px;
  margin-bottom: 10px;
}


/*Header*/

header{
  float: left;
  width: 100%;
  height: 120px;
  padding-top: 20px;
}

header #logo{
    background: url("http://www.consorciofernandodelosrios.es/wp-content/themes/consorcio/images/logotipo-cfr.png") no-repeat scroll center center transparent;
    height: 85px;
    width: 171px;
    float: left;
    overflow: hidden;
    text-indent: -300em;
}

header #logotipos{
  float: right;
  text-align: right;
}

header #logotipos p{
  font-size: 12px;
  margin-right: 15px;
}


header #logotipos ul li{
  list-style: none;
  float: left;
}

/*Navegación*/

#navegacion{
  width: 100%;
  height: 40px;
  background-color: #7ba3dc;
  float: left;
  position: relative;
}

#navegacion #buscar{
  float: right;
  padding: 5px 0;
}

#navegacion #buscar .screen-reader-text{
  display: none;
}

input, textarea, select{
  background-color: #5b77a1;
  border: medium none;
  color: #fff;
  font-family: 'Open Sans',sans-serif;
  font-size: 14px;
  padding: 5px 10px;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

#navegacion #buscar #s{
  width: 90px;
}

#navegacion #buscar #s:focus{
  width: 200px;
}


#navegacion #buscar #botonBuscar{
  background: url("http://www.consorciofernandodelosrios.es/wp-content/themes/consorcio/images/multimagen.png") no-repeat scroll -37px -281px #cfd8e6;
  border: none;
  float: right;
  height: 30px;
  overflow: hidden;
  text-indent: -300em;
  width: 30px;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

#navegacion #buscar #botonBuscar:hover{
  background: url("http://www.consorciofernandodelosrios.es/wp-content/themes/consorcio/images/multimagen.png") no-repeat scroll -2px -281px #5b77a1;
  cursor: pointer;
}

/*Menu*/

ul#menu-principal{
  display:block;
  float: left;
}
 
ul#menu-principal li{
  display: inline-block;
  position: relative;
  z-index:100;
}
 
ul#menu-principal li a {
  background: url("http://www.consorciofernandodelosrios.es/wp-content/themes/consorcio/images/flechaNav.png") no-repeat scroll center 50px rgba(0, 0, 0, 0);
  color: #cfd8e6;
  float: left;
  font-family: "Open Sans Condensed",sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 40px;
  margin-right: 15px;
  text-transform: uppercase;
  display:block;
  -webkit-transition: all 0.2s ease-in-out 0s;
  -moz-transition: all 0.2s ease-in-out 0s;
  -o-transition: all 0.2s ease-in-out 0s;
  -ms-transition: all 0.2s ease-in-out 0s;
  transition: all 0.2s ease-in-out 0s;
}
 
ul#menu-principal li a:hover, ul#menu-principal li.current-menu-item > a{
  color: #ffffff;
}

ul#menu-principal li.menu-item-has-children > a:hover{
  background: url("http://www.consorciofernandodelosrios.es/wp-content/themes/consorcio/images/flechaNav.png") no-repeat scroll center bottom #7ba3dc;
}


/* hide the second level menu */
ul#menu-principal ul {
  display: none;
  margin: 0;
  padding: 0;
  width: 250px;
  position: absolute;
  top: 39px;
  left: 0px;
}
 
/* display second level menu on hover */
ul#menu-principal li:hover > ul{
  display: block;
}
 
ul#menu-principal ul li {
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
  display: block;
  float: left;
  margin: 1px 0 0;
  padding: 0;
  width: 100%;
}
 
ul#menu-principal ul li a {
  background: none repeat scroll 0 0 #5b77a1;
  border-left: 3px solid #7ba3dc;
  color: #f0f0f0;
  display: block;
  font-size: 16px;
  font-weight: normal;
  padding: 0px 15px;
}
 

ul#menu-principal li ul li a:hover, ul#menu-principa li ul li:hover > a, ul#menu-principal li ul li.current-menu-item > a{
  background: none repeat scroll 0 0 #5b77a1;
  border-left: 8px solid #7ba3dc;
  color: #fff;
}

/* change level 3 menu positions */
ul#menu-principal ul ul {
  left: 149px;
  top: 0px;
}

.mobile-menu{
  display:none;
  background: url("http://www.consorciofernandodelosrios.es/wp-content/themes/consorcio/images/flechaNav.png") no-repeat scroll center bottom rgba(0, 0, 0, 0);
  color: #ffffff;
  float: left;
  font-family: "Open Sans Condensed",sans-serif;
  font-size: 18px;
  font-weight: 700;
  height: 40px;
  letter-spacing: 0.2px;
  line-height: 40px;
  margin-left: 15px;
  text-transform: uppercase;
}


@media (max-width: 850px) {
 
  .menu{display:none;}
   
  .mobile-menu{
    display:block;
}
   
  nav{margin:0;
  background:none;}
   
  .menu li{display:block;
  margin:0;
width: 100%;}
   
  .menu li a {background:#ffffff;
  color:#797979;
  border-top:1px solid #e0e0e0;
  border-left:3px solid #ffffff;}
   
  .menu li a:hover, .menu li:hover > a{
  background:#f0f0f0;
  color:#797979;
  border-left:3px solid #9CA3DA;}
   
  /*level 2 and 3 - make same width as all items*/
  .menu ul {display:block;
  position:relative;
  top:0;
  left:0;
  width:100%;}
   
  .menu ul ul {left:0;}
 
}/*end media queries*/

/*Banner*/

#banner {
  background: url("http://www.consorciofernandodelosrios.es/wp-content/themes/consorcio/images/bgBanner.png") no-repeat scroll center 254px #f7f7f7;
  float: left;
  margin-bottom: 10px;
  padding: 10px 0;
  position: relative;
  width: 100%;
}

#banner ul{
    float: left;
    position: relative;
    width: 100%;
    max-width: 980px;
    overflow: hidden;
    padding: 0 15px;
}

#banner li{
  list-style: none;
}

#banner ul .owl-stage-outer {
    float: left;
    max-height: 260px;
    width: 100%;
}

#banner a span h1 {
  
  color: #fff;
  font-family: "Open Sans Condensed",sans-serif;
  font-size: 20px;
  left: 30px;
  letter-spacing: 0.5px;
  line-height: 22px;
  max-width: 35%;
  padding: 15px;
  position: absolute;
  text-transform: uppercase;
  top: 10px;
}

#banner .owl-prev, #banner .owl-next{
  height: 100%;
  width: 35px;
  position: absolute;
  z-index: 999;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

#banner img{
  height: auto;
}

#banner a img:hover{
  opacity: 100;
}

#banner .owl-prev{
  background: url(http://www.consorciofernandodelosrios.es/wp-content/themes/consorcio/images/flechaLeft.png) no-repeat right center #cfd8e6;
  left: 0;
}

#banner .owl-next{
  background: url(http://www.consorciofernandodelosrios.es/wp-content/themes/consorcio/images/flechaRight.png) no-repeat right center #cfd8e6;
  right: 0;
}

#banner .owl-prev:hover{
  background: url(http://www.consorciofernandodelosrios.es/wp-content/themes/consorcio/images/flechaLeft.png) no-repeat left center #5b77a1;
}

#banner .owl-next:hover{
  background: url(http://www.consorciofernandodelosrios.es/wp-content/themes/consorcio/images/flechaRight.png) no-repeat left center #5b77a1;
}

/*Content*/

#full{
  float: left;
  margin-bottom: 25px;
}

.content{
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  display: block;
  padding:0 15px;
}

.contenido{
    padding: 25px;
    background-color: #f7f7f7;
    margin-bottom: 20px;
    float: left;
}

.two-third {
    float: left;
    margin-bottom: 25px;
    width: 67%;
}

.one-third {
  float: left;
  margin-left: 0.8%;
  width: 32.8%;
}

.sidebar.one-third {
  margin-left: 0;
  width: 31.8%;
  float: right;
}

.widgets_sociales .one-third:nth-child(3n+3){
  margin-left: 0;
  width: 31.8%;
  float: right;
}

.full-width {
  width: 100%;
  padding: 25px;
  background-color: #f7f7f7;
  margin-top: 10px;
  float: left;
}

/* Barras de titulos */

.titulo_pagina {
  width:100%;
  float: left;
  background-color:#F7F7F7;
  margin-bottom: 25px;
}

.titulo_pagina h2{
  width:100%; 
  max-width:980px;
  margin: 0 auto;
  color:#5B77A1;
  padding:10px 15px;
  text-transform:uppercase;
  font-size:18px;
}

.titulo_pagina h2 span{
    background: url("http://www.consorciofernandodelosrios.es/wp-content/themes/consorcio/images/multimagen.png") no-repeat scroll -45px -77px transparent;
    float: left;
    height: 20px;
    width: 25px;
}

.barra{
  height: 35px;
  width: 100%;
  float: left;
  background-color: #5b77a1;
  color: #fff;
  text-transform:uppercase;
  font-size:18px;
  margin-bottom: 1px;
}

.barra h2{
  float: left;
  padding: 8.5px 0;
}

.sidebar .barra{
  background-color: #7ba3dc;
}

.barra span{
  width: 35px;
  height: 35px;
  float: left;
  background: url("http://www.consorciofernandodelosrios.es/wp-content/themes/consorcio/images/multimagen.png") no-repeat scroll left -70px transparent;
}

.barra a{
  width: 35px;
  height: 35px;
  float: right;
  text-indent: -300em;
  overflow: hidden;
  background: url("http://www.consorciofernandodelosrios.es/wp-content/themes/consorcio/images/multimagen.png") no-repeat scroll -34px -244px #cfd8e6;
}

.barra a:hover{
  background: url("http://www.consorciofernandodelosrios.es/wp-content/themes/consorcio/images/multimagen.png") no-repeat scroll left -244px #7ba3dc;
}

.sidebar .barra a:hover{
  background: url("http://www.consorciofernandodelosrios.es/wp-content/themes/consorcio/images/multimagen.png") no-repeat scroll left -244px #5b77a1;
}

.barra .desplegar.active{
  background: url("http://www.consorciofernandodelosrios.es/wp-content/themes/consorcio/images/multimagen.png") no-repeat scroll left -244px #7ba3dc;
}

.barra.actualidad span{
  background-position: left -70px;
}

.barra.agenda span{
  background-position: left -140px;
}

.widgets_sociales .barra{
  background-color: #ffffff;
  color: #5b77a1;
}

.barra.blog span{
  background-position: -35px -70px;
}

.barra.facebook span{
  background-position: right top;
}

.barra.twitter span{
  background-position: right -35px;
}

/* Listas */

.lista li, .lista-noticias li{
    float: left;
    list-style: none outside none;
    width: 100%;
    position: relative;
}

.lista li a, .lista-noticias li a{
  width: 100%;
  margin-bottom: 2px;
  background-color: #f7f7f7;
  padding: 12px 10px;
  float: left;
  position: relative;
}

.lista li a:hover, .lista-noticias li a:hover{
  background-color: #ebebeb;
}

.contratante li a {
  background-image: url('http://www.consorciofernandodelosrios.es/wp-content/themes/consorcio/images/bgLink.png') !important;
  padding:10px 10px 10px 33px !important;
  background-repeat: no-repeat;
  -webkit-background-size: 24px auto;
  background-size: 24px auto;
  background-position: 4px 6px;
  -webkit-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;

}

.contratante li a:hover {
  background-image: url('http://www.consorciofernandodelosrios.es/wp-content/themes/consorcio/images/bgLink-hover.png') !important;

}

.widgets_sociales .lista li a{
  background-color: #ffffff;
}

.widgets_sociales .lista li a:hover{
  background-color: #f7f7f7;
}

.widgets_sociales .fb_iframe_widget {
  background-color: #ffffff;
  width: 100%;
}

.widgets_sociales .fb_iframe_widget span, .widgets_sociales .fb_iframe_widget iframe,
.widgets_sociales #twitter-widget-0{
  width: 100% !important;
}

.lista li a img{
  float: left;
  margin-right: 10px;
  width: 60px;
  height: 60px;
}

.lista li a h3{
    color: #666666;
    font-family: 'Open Sans',sans-serif;
    font-size: 13px;
    font-weight: 300;
    line-height: 17px;
}

.lista-noticias li a h3{
    font-size: 22px;
    font-weight: 600;
    line-height: 28px;
    margin: 0 0 10px;
}

.lista-noticias li a img {
    float: left;
    height: auto;
    margin-bottom: 15px;
    margin-right: 15px;
    margin-top: 5px;
    max-width: 20%;
    width: 100%;
}

.lista-noticias.blog li{
  margin-bottom: 15px;
}

.lista-noticias li .contLi{
    display: block;
    float: left;
    width: 75%;
}

.lista-noticias.blog li a img {
    display: block;
    float: none;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    max-width: 615px;
    width: inherit;
}

.lista-noticias.blog li .contLi{
    width: 100%;
}

.lista-noticias.archive-agenda li .contLi{
    width: 86%;
}

.lista li a.boton-compartir {
  background: url('http://www.consorciofernandodelosrios.es/wp-content/themes/consorcio/images/compartir.png') no-repeat !important;
  background-position: center;
  -webkit-background-size: 28px auto !important;
  background-size: 28px auto !important;
  width: 28px !important;
  height: 28px !important;
  position: absolute;
  bottom: 3px;
  right: 0;
  padding: 0 !important;
  margin: 0 !important;
}


.lista li a span.fecha{
  color: #5b77a1;
  font-size: 12px;
  margin-top: 5px;
  float: left;
}

.lista.agenda li a span{
    background-color: #7ba3dc;
    color: #fff;
    float: left;
    font-size: 32px;
    height: 60px;
    margin-top: 0;
    padding-top: 5px;
    text-align: center;
    text-transform: uppercase;
    width: 60px;
    margin-right: 10px;
}

.lista.agenda li a span p{
    color: #fff;
    font-size: 12px;
    line-height: 14px;
    margin: 0;
}

.lista.agenda li a img, .archive-agenda li a img{
  position: absolute;
  left: 10px;
  top: 12px;
  opacity: 0;
  transform: rotateY(90deg);
}

.lista.agenda li a:hover img, .archive-agenda li a:hover img{
  opacity: 1;
  transform: rotateY(0deg);
}

.lista-blog li a{
  font-size: 13px;
  font-weight: 300;
}

.archive-agenda li a img{
  float: left;
  width: 70px;
  height: 70px;
  margin: 0;
  padding: 0;
}

span.fecha-agenda { 
  width: 70px;
  height: 70px;
  color:#7ba3dc;
  float: left;
  vertical-align: middle;
  text-align: center;
  margin: 0 15px 10px 0;
  background-color: transparent;
  border:2px solid #7ba3dc;
  font-size: 24px;
  padding-top: 11px;
  -webkit-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

span.fecha-agenda p{ 
color:#7ba3dc;
font-size: 18px;
-webkit-transition: all 0.2s ease-out;
-o-transition: all 0.2s ease-out;
transition: all 0.2s ease-out;
}

.archive-agenda li:hover span.fecha-agenda { 
  color:#fff;
  background-color: #7ba3dc;
  border:2px solid transparent;
}

.archive-agenda li:hover span.fecha-agenda p{ 
color:#fff;
}

.archive-agenda li a h3, .archive-agenda li a .contLi p { 
  float: left;
}

.sidebar .rscompartir{
  position: relative;
  right: 0;
  bottom: 0;
  background: none;
  display: block;
  width: 100%;
  height: auto;
  padding: 0;
}

.sidebar .rscompartir li, .sidebar .rscompartir a{
  width: 38px;
  height: 38px;
}

.sidebar .rscompartir li:first-child {
  margin-left: 0;
}

.sidebar .rscompartir a{
  background-size: 145px auto;
}

.sidebar .rscompartir li a.comface{
  background-position: -108px -143px;
}

.sidebar .rscompartir li a.comface:hover{
  background-position: -72px -143px;
}

.sidebar .rscompartir li a.comtwit{
  background-position: -107px -179px;
}

.sidebar .rscompartir li a.comtwit:hover{
  background-position: -72px -179px;
}

.sidebar .rscompartir li a.comimpre{
  background-position: -108px -107px;
}

.sidebar .rscompartir li a.comimpre:hover{
  background-position: -72px -107px;
}

.sidebar .rscompartir li a.commail{
  background-position: -108px -70px;
}

.sidebar .rscompartir li a.commail:hover{
  background-position: -72px -70px;
}

.icono-compartir span {
  background-position: 0px 0px;
}

.icono-faq span{
  background-position: -35px -383px;
}

.rscompartir {
  background-image: url("http://www.consorciofernandodelosrios.es/wp-content/themes/consorcio/images/bgshare.png");
  bottom: -48px;
  display: none;
  height: 60px;
  padding: 19px;
  position: absolute;
  right: -49px;
  z-index: 10;
}

.rscompartir:hover {
  display: block;
}

.rscompartir li {
  float: left;
  margin-left: 1px;
  width: 28px;
  height: 28px;
}

.rscompartir li a{
  height: 28px;
  background-color: #cfd7e6;
  text-indent: -4000px;
  overflow: hidden;
  width: 28px;
  background-image:url("http://www.consorciofernandodelosrios.es/wp-content/themes/consorcio/images/multimagen.png");
  background-repeat: no-repeat;
}

.rscompartir li a:hover{
  background-color: #77a4dc !important;
}

.rscompartir li a.comface{
  background-position: -108px -143px;
}

.rscompartir li a.comface:hover{
  background-position: -72px -143px;
}

.rscompartir li a.comtwit{
  background-position: -107px -177px;
}

.rscompartir li a.comtwit:hover{
  background-position: -72px -176px;
}

.rscompartir li a.comimpre{
  background-position: -108px -108px;
}

.rscompartir li a.comimpre:hover{
  background-position: -72px -108px;
}

.rscompartir li a.commail{
  background-position: -108px -73px;
}

.rscompartir li a.commail:hover{
  background-position: -72px -73px;
}

#adjuntos{
  float: left;
  width: 100%;
  padding: 15px;
  background-color: #f7f7f7;
}

.sidebar hr{
  float: left;
  width: 100%;
  margin-top: 25px;
  margin-bottom: 25px;
  border-color: #ccc;
}

.sidebar #adjuntos .barra{
  background-color: #666666;
}

.sidebar #adjuntos ul li a{
  background-color: #fff;
}

.sidebar #adjuntos ul li a:hover{
  background-color: #7ba3dc;
}

.sidebar #adjuntos .lista:last-child{
  margin-bottom: 0;
}

.sidebar .descargas-documentos {
  margin-bottom: 15px;
}

.sidebar .descargas-documentos span {
  background-position: left -174px;
}

/* Page */

.contenido h4, .full-width h4, .contenido h1 {
  width: 100%;
  float: left;
  margin:20px 0 15px ;
  line-height: 20px;
}

.contenido h4{
  font-size: 22px;
}

.contenido h4:first-child, .full-width h4:first-child,
.contenido h1:first-child{
  margin-top:0;
}

/* Sidebar */

.sidebar ul {
    float: left;
    margin-bottom: 10px;
    width: 100%;
}

.sidebar ul li {
  list-style:none;

}
.sidebar ul li a{
  float: left;
  background-color:#CFD8E6;
  margin-bottom: 1px;
  width: 100%;
  color:#5b77a1;
  padding: 10px;
  line-height: 16px;
}

.sidebar ul li a .fechaAgenda {
  background: none repeat scroll 0 0 #5b77a1;
  color: #cfd8e6;
  float: right;
  margin-left: 5px;
  padding: 3px 6px;
}

.sidebar ul li a:hover .fechaAgenda {
  background: none repeat scroll 0 0 #cfd8e6;
  color: #5b77a1;
}

.sidebar ul li a h3{
  font-family: 'Open Sans',sans-serif;
  font-size:12px;
  font-weight: 400;
}

.sidebar ul li a:hover, .lista-blog li.current-cat a{
  background-color: #5b77a1;
  color: #f7f7f7;
}

.sidebar .contenido-sidebar {
  background-color: #f7f7f7;
  padding:15px 10px 5px;
  float: left;
}

.sidebar .lista{
  margin-bottom: 15px;
  float: left;
  width: 100%;
}

.sidebar .lista a p {
  margin-bottom: 0;
  color:#5b77a0;
}

.sidebar .lista a:hover p {
  color:#fff;
}

/*Paginas*/

ul.componentes-consorcio li {
  float: left;
  list-style: none;
  margin-right: 20px;
}

ul.componentes-consorcio li:last-child {
  margin-right: 0px;
}

/* Proyectos */

ul.lista_proyectos {
  float: left;
  width: 100%;
  margin-bottom: 25px;
}

ul.lista_proyectos li {
  display: inline-block;
  width: 32%;
  margin:0.7%;
  padding:10px;
  background-color: #f7f7f7;
  list-style: none;
  vertical-align: top;

}

ul.lista_proyectos li img{
  width: 100%; 
  height: auto;
  margin-bottom: 15px;
  float: left;
}
ul.lista_proyectos li a {
  display: block;
  width: 100%;
  min-height: 170px;
}

ul.lista_proyectos li p{
  font-size: 14px;
  float: left;
  width: 100%;
  margin-bottom: 5px;
}

ul.lista_proyectos li a:hover p{
  color:#5b77a1;
}

ul.lista_proyectos li a:hover img {
  opacity: 0.5;
}

ul.lista_proyectos li:nth-child(3n+1) {
  margin-left: 0;
}

ul.lista_proyectos li:nth-child(3n+3) {
  margin-right: 0;
}

p.introduccion {
  margin-bottom: 20px;
  float: left;
  width: 100%;
}

/* Single Proyecto */

.single-proyecto > img {
  max-width: 100%;
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.single-proyecto h1, .single-blog h1 {
    font-size: 30px;
    font-weight: 600;
    line-height: 40px;
    margin-bottom: 25px;
}

.single-proyecto h1, .single-blog .admin a{
    background-color: #ccc;
    color: #fff;
    display: block;
    margin-bottom: 15px;
    padding: 5px 10px;
    text-align: center;
}

.single-proyecto h1, .single-blog .admin a:hover{
    background-color: #888;
}

.single-proyecto .entradilla {
  font-weight: 600;
  font-size: 13px;
  color:#444;
}

.single-proyecto .mas-info {
  font-weight: 600;
  font-size: 13px;
  color:#5b77a0;
  background-color: #cfd8e6;
  padding: 7px 10px;
  margin-top: 10px;
  display: inline-block;
  width: 100%;
  margin-bottom: 0;
}

.single-proyecto .mas-info a{
font-weight: 300;
}

.galeria-imagenes h4 {
  margin-top: 20px !important;
  background-color: #cfd8e6;
  color: #5b77a0;
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
  padding: 7px 10px;
  width: 100%;
}

.galeria-imagenes li {
  list-style: none;
  display: inline-block;
  margin:0;
  width: 25%;
  float: left;
}

.galeria-imagenes li img{
  float: left;
  width: 100%;
  height: auto;
  padding: 1px;
}

/* Formulario contacto */

form.wpcf7-form input, form.wpcf7-form textarea, form.wpcf7-form select {
    background-color: #fff;
    color: #5b77a1;
    float: left;
    font-weight: 300;
    margin-bottom: 2px;
    padding: 10px 15px;
    width: 100%;
}

form.wpcf7-form textarea {
  max-height: 160px;
  max-width: 100%;
  min-width: 100%;
}

form.wpcf7-form .wpcf7-submit {
  background-color: #cfd8e6;
  color:#5b77a1;
  cursor:pointer;
  width: auto !important;
  float: right !important;
}

form.wpcf7-form .wpcf7-submit:hover {
  background-color: #5b77a1;
  color:#cfd8e6;
  cursor:pointer;
}

.wpcf7-form .wpcf7-not-valid{
    background-color: #edbed2;
}

.wpcf7-form .wpcf7-not-valid-tip, div.wpcf7-validation-errors{
    display: none !important;
}

/* Single noticias */

.single-blog span.fecha, ul.lista-noticias li span.fecha {
  font-size: 12px;
  color:#5b77a1;
  font-weight: 300;
}

ul.lista-noticias li span.fecha {
  margin-bottom: 10px;
  display: block;
}

ul.lista-blog {
  margin-bottom: 15px;
}

.single-blog {
  margin-bottom: 2px;
  max-width: 100%;
}

.single-blog .imgDest{
  float: left;
  width: 100%;
}

.single-blog img.wp-post-image{
    display: block;
    float: none;
    height: auto;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    width: 100%;
}

ul.ir {
  float: right;
}

ul.ir li {
  text-indent: -4000px;
  overflow: hidden;
  background-color: #b3c7e6;
  float: left;
  margin-top: 2px;
}

ul.ir li a {
  width: 45px;
  height: 45px;
  display: block;
}

ul.ir li.ir-anterior a {
  background-image: url('http://www.consorciofernandodelosrios.es/wp-content/themes/consorcio/images/single-prev.png');
}

ul.ir li.ir-siguiente a {
  background-image: url('http://www.consorciofernandodelosrios.es/wp-content/themes/consorcio/images/single-next.png');
}

ul.ir li.ir-anterior a:hover {
  background-image: url('http://www.consorciofernandodelosrios.es/wp-content/themes/consorcio/images/single-prev-hover.png');
}

ul.ir li.ir-siguiente a:hover {
  background-image: url('http://www.consorciofernandodelosrios.es/wp-content/themes/consorcio/images/single-next-hover.png');
}

ul.ir li a:hover {
  background-color: #5b77a1;
}

ul.ir li:last-child {
  margin-right: 0;
  margin-left: 2px;
}

.etiquetas {
  width: 100%;
  float: left;
  clear: both;
  margin: 30px 0;
}

.etiquetas h2{
  float: left;
  width: 100%;
  margin-bottom: 15px;
}

.etiquetas a {
  font-weight: 300;
  font-size: 13px;
  padding:5px 10px;
  background-color: #b3c7e6;
  color: #5b77a0;
  margin-right: 3px;
  margin-bottom: 3px;
  float: left;
}

.etiquetas a:hover {
  color: #fff;
  background-color: #77a4dc;
}


.relacionados h2{
  float: left;
  width: 100%;
  margin-bottom: 15px;
}

.relacionados .post-relacionados > li {
  width: 49.5% !important;
  margin-bottom: 5px;
}

.relacionados .post-relacionados > li > a.noticia {
  min-height: 85px;
}

.relacionados .post-relacionados > li:nth-child(2n+1) {
  margin-right: 1%;
}

.relacionados .post-relacionados li h3 {
  float: left;
  font-size: 15px;
  margin-bottom: 10px;
  width: 100%;
}

.visible {
  display: block !important;
}

#respond{
  float: left;
  width: 100%;
  margin-top: 20px;
}

#respond form{
  width: 100%;
  background-color: #f7f7f7;
  padding: 15px 10px;
  float: left;
  margin-top: 20px;
  border-bottom:1px solid #77a4dc;
}

#respond form textarea{
  width: 100%;
  float: left;
  margin-left: 3%;
  background-color: #fff;
  color:#b3b3b3;
  font-size: 13px;
  font-weight: 300;
  padding:10px;
  max-height: 125px;
  min-height: 125px;
}

#respond form input{
  float: right;
  width: 100%;
  background-color: #fff;
  color:#b3b3b3;
  font-size: 13px;
  font-weight: 300;
  padding:10px;
}

#respond form p.comment-form-comment textarea {
  padding-left: 25px;
  background-image: url('http://www.consorciofernandodelosrios.es/wp-content/themes/consorcio/images/bg-form-comment.png');
  background-position: 5px 9px;
   background-repeat: no-repeat;
}

#respond form p.comment-form-author input {
  padding-left:30px;
  background-image: url('http://www.consorciofernandodelosrios.es/wp-content/themes/consorcio/images/bg-form-author.png');
  background-position: 5px 10px;
   background-repeat: no-repeat;
   -webkit-background-size: 17px auto;
   background-size: 17px auto;
}

#respond form p.comment-form-email input {
  padding-left:30px;
  background-image: url('http://www.consorciofernandodelosrios.es/wp-content/themes/consorcio/images/bg-form-email.png');
  background-position: 5px 9px;
   background-repeat: no-repeat;
    -webkit-background-size: 17px auto;
   background-size: 17px auto;
}



#respond form input#submit {
  background-color: #77a4dc;
  height: 40px;
  width: 40px;
  text-indent: -4000px;
  overflow: hidden;
  background-image: url('http://www.consorciofernandodelosrios.es/wp-content/themes/consorcio/images/bg-form-send.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 25px auto;
  cursor:pointer;
  -webkit-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

#respond form p {
  float: left;
  margin-bottom: 5px;
  width: 48%;
}

#respond form p.comment-form-comment {
  margin-top: -44px;
}


#respond form p.comment-form-author, 
#respond form p.comment-form-email,
#respond form p.form-submit {
  float: right;
  clear:right;
}

#respond form p.logged-in-as{
  margin-bottom: 55px;
  width: 100%;
}

#respond form input#submit:hover {
  background-color: #5b77a1 !important;
}

ul.commentlist {
  float: left;
  width: 100%;
  padding:20px;
  background-color: #f7f7f7;
}

ul.commentlist li{
  list-style: none;
  border-left: 4px solid #77a4dc;
  padding-left: 10px;
  margin-bottom: 20px;
}

ul.commentlist li .comment-author img,
ul.commentlist li .comment-author .says,
ul.commentlist li .comment-meta,
ul.commentlist li .reply{
  display: none;
}

ul.commentlist li .comment-author .fn{
  font-style: normal;
  color:#77a4dc;
  font-size: 17px !important;
  font-weight: 300;
  margin-bottom: 10px;
  width: 100%;
  display: block;
}

ul.commentlist li .comment-awaiting-moderation {
  font-size: 12px;
  color:#ccc;
  display: block;
  width: 100%;
}

/*Widgets sociales*/

.widgets_sociales{
  width: 100%;
  background-color: #f7f7f7;
  float: left;
  margin-top: 25px;
  padding: 25px 0;
}

/*Tablas*/

ul.tabla{
    float: left;
    margin-bottom: 10px;
    width: 100%;
}

ul.tabla li{
  list-style: none;
  width: 100%;
  float: left;
  margin-bottom: 2px;
  background-color: #f7f7f7;
}

ul.tabla > li:nth-child(2n+1){
  background-color: #ebebeb;
}

ul.tabla li span{
  float: left;
  padding: 10px;
  font-size: 12px;
}

ul.tabla li span.Tfecha{
  width: 15%;
  text-align: left;
}

ul.tabla li span.Ttitulo{
  width: 65%;
}

ul.tabla li span.Ttitulo h3{
    font-family: 'Open Sns',sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
}

ul.tabla li span.Tdescarga {
  background: url("http://www.consorciofernandodelosrios.es/wp-content/themes/consorcio/images/multimagen.png") no-repeat scroll -35px -175px transparent;
  float: right;
  height: 35px;
  margin-right: 10px;
  overflow: hidden;
  text-indent: -300em;
  width: 35px;
}

ul.tabla li.cabecera{
    background-color: #7ba3dc;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

.hide li{
  display: none;
}

.categorias-movil {
  display: none;
}

.wp-pagenavi {
  margin-top: 20px;
  float: left;
}

.wp-pagenavi a, .wp-pagenavi span{
  border:none !important;
  box-shadow: none;
  font-size: 12px;
  font-weight: 300;
  background-color:#7ba3dc; 
  color:#fff;
  padding:5px 10px !important;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current{
  background-color: #5b77a1;
}

/*Footer*/

footer {
    background-color: #666666;
    float: left;
    min-height: 100px;
    width: 100%;
    padding: 20px;
    position: relative;
}

footer .rs{
  float: left;
  position: relative;
  z-index: 99;
}

footer .rs li{
  list-style: none;
  float: left;
}

footer .rs li a{
  width: 30px;
  height: 30px;
  float: left;
  text-indent: -300em;
  overflow: hidden;
  margin-right: 5px;
  background: url("http://www.consorciofernandodelosrios.es/wp-content/themes/consorcio/images/multimagen.png") no-repeat scroll right top #cfd8e6;
}

footer .rs li a:hover{
  background-color: #ffffff;
}

footer .rs li a.facebook{
  background-position: -107px -141px;
}

footer .rs li a.twitter{
  background-position: -107px -176px;
}

footer .rs li a.rss{
  background-position: -107px -316px;
}

footer #logos{
    position: absolute;
    right: 0;
    top: 0;
}

footer #logos img{
  float: left;
  margin-left: 10px;
}

footer #creditos{
    position: absolute;
    text-align: center;
    width: 100%;
}

footer #creditos p{
    color: #ffffff;
    font-size: 12px;
    font-weight: 300;
    text-align: center;
}

/*RESPONSIVE*/

@media screen and (max-width:850px){

  ul#menu-principal{
    display: none;
  }

  #navegacion #buscar {
    position: absolute;
    right: 5px;
    top: 0;
  }

  .contenido iframe, .contenido object, .contenido embed{
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
  }

  header #logotipos p {
    display: none;
  }

  header #logotipos ul li {
    float: right;
  }

  header #logotipos {
    width: 60%;
  }

  
  #banner a span h1 {
    max-width: 65%;
  }
    
  .one-third {
    width: 49%;
    margin-left: 2%;
  }

  .one-third:first-child {
    margin-left: 0;
  }

  .sidebar.one-third {
    width: 100%;
   
  }
  
  .sidebar.one-third .group{
    width: 32.8%;
    float: left;
    margin-left:0.8%;
     margin-top: 35px;
  }

  .sidebar.one-third .group:first-child{
    margin-left: 0;
  }

  .widgets_sociales {
    padding-bottom: 0;
  }

  .widgets_sociales .one-third:first-child{
    display: none;
  }

  .widgets_sociales .one-third:nth-child(2){
    margin-left: 0;
  }

  .widgets_sociales .one-third:last-child{
    width: 49%;
  }

  .sidebar .barra h2 {
    width: 60%;
  }

  .tabla .barra h2 {
    width: 75%;
  }

  .sidebar .barra {
    height: auto;
  }

  .two-third {
    width: 100%;
    margin-left: 0;
  }

  .categorias-movil {
  display: block !important;
  }

  .categorias-blog {
    display: none;
  }

  ul#menu-principal li a {
    background-color: #7ba3dc;
    background-image: none;
    border: medium none;
    float: left;
    margin-right: 0;
    margin-top: 1px;
    padding: 5px 15px;
    width: 100%;
  }

  ul#menu-principal ul li a {
    margin-right: 0;
    margin-top: 0;
  }

  ul#menu-principal ul {
    float: left;
    position: relative;
    top: 0;
    width: 100%;
  }

  #navegacion .content{
    max-width: 100%;
    padding: 0;
  }


}

@media screen and (max-width:620px){
  
  footer .rs, footer #creditos, footer #logos {
    position: relative;
    float: left;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }

  footer #creditos {
    margin-bottom: 5px !important;
  } 

  footer .rs li, footer #logos img {
    display: inline-block;
    float: none;
  }

  ul.lista_proyectos li, ul.lista_proyectos li:nth-child(3n+1),
  ul.lista_proyectos li:nth-child(3n+3) {
    width: 49%;
    margin: 0.5%;
  }

  ul.lista_proyectos li:nth-child(2n+1) {
    margin-left: 0;
  }

  ul.lista_proyectos li:nth-child(2n+2) {
    margin-right: 0;
  }


}

@media screen and (max-width:480px){

  .one-third, .sidebar.one-third .group {
    width: 100%;
    margin-left: 0;
  }

  .sidebar.one-third .group:last-child img {
    width: 100%;
    height: auto;
  }

  #logotipos, ul.actualidad li:nth-child(4), ul.actualidad li:nth-child(5),
  ul.agenda li:nth-child(4), ul.agenda li:nth-child(5),
  .widgets_sociales {
    display: none;
  }

  header #logo {
    padding: 0 50%;
  }

  .sidebar .barra, .barra {
    height: 35px;
  }

  .one-third, .sidebar.one-third {
    float: left;
    margin-left: 0;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100%;
  }

  #banner{
    display: none;;
  }

  .tabla .barra {
    height: auto;
  }

   .barra.contacto, .categorias-blog .barra, .categorias-movil .barra{
    height: auto;
  }

  ul.lista_proyectos li, .relacionados .post-relacionados > li {
    width: 100% !important;
    margin: 0.5% !important;
  }

.galeria-imagenes li {
  width: 50%;
}

  #respond form p {
    width: 97%;
  }

  #respond form p.comment-form-comment {
    margin-top: 0;
  }

}

@media screen and (max-width:380px){
    .relacionados .post-relacionados > li{
      width: 100% !important;
    }

}





