/*
Theme Name:         Roots
Theme URI:          http://roots.io/
Description:        Roots is a WordPress starter theme based on HTML5 Boilerplate & Bootstrap. <a href="https://github.com/roots/roots/contributors">Contribute on GitHub</a>
Version:            6.5.2
Author:             Ben Word
Author URI:         http://benword.com/

License:            MIT License
License URI:        http://opensource.org/licenses/MIT
*/

* { transition: all .3s ease; -webkit-transition: all .3s ease; }

/* General */
.left { text-align:left; }
.center { text-align:center; }
.right { text-align:right; }
.justify { text-align:justify; }

table {border: 1px solid #BFBFBF; margin: 30px auto;}
table thead tr {background-color: #49CCE0 !important; }
table thead tr th {color: #FFFFFF; padding: 10px 15px; text-align: center; }
table tbody tr:nth-child(odd) {background-color: #F2F2F2; }
table tbody tr:nth-child(even) {background-color: #FFFFFF; }
table tbody tr td {border-left: 1px solid #49CCE0; padding: 10px 20px; text-align: justify; }
table tbody tr td:first-child {border-left: medium none; }

.important {background-color: #E2F0F2; border: 1px dashed #49CCE0; color: #3E818B; font-style: italic; font-weight: bold; margin: 20px 10px; padding: 30px; }
.custom_button {background-color: #DFDFDF; color: #171717; font-size: 16px; margin: 30px auto; padding: 15px 50px; text-align: center; }
.two {float: left; position: relative; }

h3 {color: #49CCE0; font-size: 14px; font-weight: bold; }
h2 {background-image: url("data:image/gif;base64,R0lGODlhAgACAIAAAHV1df///yH5BAEAAAEALAAAAAACAAIAAAIChFEAOw=="); background-position: 0 12px; background-repeat: repeat-x; line-height: 24px; font-size: 22px; margin-bottom: 20px; margin-top: 40px; }
h2 > span {background: none repeat scroll 0 0 #FFFFFF; padding-right: 10px; }
#home h2 > span {background-color: #EDEDED; }
h4 {color: #49cce0; font-size: 14px; font-style: italic; font-weight: bold; }
h4:before {background-color: #49cce0; content: " "; display: block; float: left; height: 10px; margin-right: 5px; position: relative; top: 2px; width: 10px; }
a {outline: medium none; }

#comments {display: none; } /* Anulamos la visibilidad del cuadro que no permite comentar */

/* Cuerpo */
body { background-color:#ededed; }
header.navbar {border-width: 0 0 15px; margin-bottom: 0; background-color: #ededed; }

/* Header / Nav */
.nav.navbar-nav {margin-left: 5px; margin-top: 25px; margin-bottom: 25px; border: 1px solid #CBCCCC; border-radius: 15px; }
.nav.navbar-nav > li > a {background-color: #F2F2F2 !important; background-position: 0 45px; background-repeat: repeat-x; background-size: 10px 5px; font-weight: bold; text-align: center; text-transform: uppercase;
    transition: all .3s ease;
    -webkit-transition: all .3s ease; 
}
.nav.navbar-nav > li:hover > a,
.nav.navbar-nav > li.active > a {background-position: 0 0; background-size: 10px 100%; color:#FFF !important; }

.nav.navbar-nav > li:nth-child(1) > a { /* Azul */
	color: #0082f0;
    background-image: url("data:image/gif;base64,R0lGODlhAgACAIAAAACC8P///yH5BAEAAAEALAAAAAACAAIAAAIChFEAOw==");
}
.nav.navbar-nav > li:nth-child(2) > a { /* Celeste */
	color: #00bad6;
    background-image: url("data:image/gif;base64,R0lGODlhAgACAIAAAAG61v///yH5BAEAAAEALAAAAAACAAIAAAIChFEAOw==");
}
.nav.navbar-nav > li:nth-child(3) > a { /* Verde */
	color: #74a736;
    background-image: url("data:image/gif;base64,R0lGODlhAgACAIAAAHWnNv///yH5BAEAAAEALAAAAAACAAIAAAIChFEAOw==");
}
.nav.navbar-nav > li:nth-child(4) > a { /* Naranja */
	color: #eb9131;
    background-image: url("data:image/gif;base64,R0lGODlhAgACAIAAAOuRMf///yH5BAEAAAEALAAAAAACAAIAAAIChFEAOw==");
}
.nav.navbar-nav > li:nth-child(5) > a { /* Gris */
	color: #757575;
    background-image: url("data:image/gif;base64,R0lGODlhAgACAIAAAHV1df///yH5BAEAAAEALAAAAAACAAIAAAIChFEAOw==");
}

/* Footer */
footer {background-color: #DFDFDF; min-height: 125px; padding: 20px 0; }
footer .container > div {float: left; position: relative; }
footer .container > p,
footer .container > hr {clear: both; display: block; width: 100%; }
footer .container .footer_data {padding-left: 3%; padding-right: 2%; width: 41%; }
footer .container .footer_data img {float: left; margin-bottom: 20px; margin-right: 15px; position: relative; }
footer .container .footer_data address{margin-bottom:10px; }
footer .container .footer_data p {padding-left: 54px; }
footer .container .footer_data .footer_cam {padding-left: 53px; }
footer .container .footer_data .footer_cam p {padding-left: 73px; padding-top: 3px; }
footer .container .footer_sections {width: 32%; padding-left: 4%; }
footer .container .footer_sections a {line-height: 30px; }
footer .container .footer_follow {width: 23%; padding-left: 3%; }
footer .container .footer_follow .footer_social > a {margin: 0 10px; }
footer .container .footer_follow .footer_social {margin-bottom: 20px; padding: 10px 0; }
footer .container .footer_follow > img {margin: 0 22px; }

/* Home */
/* Slide */
.a3-rslider-container .a3-cycle-slideshow > img.cycle-slide {bottom: 0 !important; left: 50% !important; margin: 0 0 0 calc(-50%) !important; max-height: inherit !important; max-width: 100%; min-height: 100% !important; top: inherit !important; width: 100% !important; }
.a3-rslider-template-1 .a3-cycle-slideshow {border:none !important; }

@media (max-width: 419px){.a3-rslider-template-1 .a3-cycle-slideshow {height: 125px !important; } }
@media (min-width: 420px) and (max-width: 739px){.a3-rslider-template-1 .a3-cycle-slideshow {height: 160px !important; } }
@media (min-width: 740px) and (max-width: 1359px){.a3-rslider-template-1 .a3-cycle-slideshow {height: 230px !important; } }
@media (min-width: 1360px){.a3-rslider-template-1 .a3-cycle-slideshow {height: 552px !important; } }


/* Accesos directos - Home */
#home-access > nav {display: table; width: 100%; }
.direct_access {background-color: #F2F2F2; border: 1px solid #CFCFCF; border-radius: 5px; box-shadow: 0 2px 1px 0 #AFAFAF, 0 2px 1px 0 #FFFFFF inset; display: table; float: left; height: 65px; min-width: 170px; padding-left: 15px; padding-right: 90px; position: relative; text-align: center; }
.direct_access > span {display: table-cell; height: 55px; margin: 0 auto !important; position: relative; text-align: center; vertical-align: middle; width: 100%; }
.direct_access > i {background-position: center center; background-repeat: no-repeat; border-left: 2px solid #CFCFCF; height: 65px; position: absolute; right: 0; top: 0; width: 75px; }

.direct_access.phone > i{ background-image: url("assets/img/phone.png"); }
.direct_access.tourism > i{ background-image: url("assets/img/tourism.png"); }
.direct_access.ordinances > i{ background-image: url("assets/img/ordinances.png"); }
.direct_access.diary > i{ background-image: url("assets/img/diary.png"); }
.direct_access.formalities > i{ background-image: url("assets/img/formalities.png"); }
.direct_access.document > i{ background-image: url("assets/img/document.png"); }

/* Destacados */
#home-important > nav {display: table; width: 100%; }
.important_news {background-color: #F2F2F2; border: 1px solid #CFCFCF; border-radius: 5px; box-shadow: 0 2px 1px 0 #AFAFAF, 0 2px 1px 0 #FFFFFF inset; display: table; float: left; height: 65px; min-width: 170px; padding-left: 15px; padding-right: 15px; position: relative; text-align: center; line-height: 5; font-size: 25px; font-weight: bold;}




/* Noticias */
#home-news { display: table; width: 100%; }
#home-news .block-home-news img {height: auto; width: 100%; }
.block-home-news {border: 1px solid #DCDCDC; float: left; margin: 1%; padding: 1% 2% calc(1% + 25px); position: relative; }
.home-news-thumbnail {float: left; margin: 10px 20px 15px 0; position: relative; }
.block-home-news > p {color: #5C5E61; font-size: 11px; }
.block-home-news > h4 {color: #3466BC; font-size: 15px; font-weight: bold; }
.date-article {background-color: #A0E6D3; bottom: 0; display: block; height: 31px; left: 0; line-height: 0; padding: 0 20px; position: absolute; right: 0; width: 100%; }
.date-article > * {color: #FFFFFF; display: table; font-size: 13px; font-weight: bold; text-transform: uppercase; }
.date-article h5 {float: left; position: relative; }
.date-article time {float: right; margin: 17px 0; position: relative; }

/* Eventos */
/*
.two .block-home-cate {display: table; width: 100%; }
.two .home-category-thumbnail {float: left; padding: 10px 15px; position: relative; width: 49%; }
.two .block-home-category {padding-left: 5%; }
.two .home-category-thumbnail .attachment-post-thumbnail.wp-post-image {height: auto; width: 100%; }
*/
#ai1ec-calendar h2.ai1ec-calendar-title {line-height: 10px !important; }

/* El tiempo */
#iframe_aemet_id18017 {display: block; height: 370px !important; margin: 0 auto !important; }
@media (max-width: 399px ){ #iframe_aemet_id18017 { transform: scale(0.53) translate(-180px, -150px); -webkit-transform: scale(0.53) translate(-180px, -150px); } }
@media (min-width: 400px ) and (max-width: 509px ){ #iframe_aemet_id18017 { transform: scale(0.75) translate(-55px, -40px);  -webkit-transform: scale(0.75) translate(-55px, -40px); } }
@media (min-width: 510px ) and (max-width: 759px ){ #iframe_aemet_id18017 { transform: scale(1);  -webkit-transform: scale(1); } }
@media (min-width: 760px ) and (max-width: 999px ){ #iframe_aemet_id18017 { transform: scale(0.75) translate(-70px, -40px);  -webkit-transform: scale(0.75) translate(-70px, -40px); } }
@media (min-width: 1000px ){ #iframe_aemet_id18017 { transform: scale(1);  -webkit-transform: scale(1); } }

/* Secciones - Home */
.table_home { border:none; }
.table_home tr { position: relative; }
.table_home tr:first-child {display: table; width: 100%; }
.table_home tr:first-child td {background: none repeat scroll 0 0 #fff; border: 1px solid #c9c9c9; margin: 0; text-align: left; vertical-align: top; }
.table_home tr:nth-child(2){background-color: transparent; }
.table_home td:first-child a,
.table_home td:first-child li:before{color:#2f76e9; }
.table_home td:nth-child(2) a,
.table_home td:nth-child(2) li:before {color:#008295 }
.table_home td:nth-child(3) a,
.table_home td:nth-child(3) li:before {color:#344b07; }
.table_home td:nth-child(4) a,
.table_home td:nth-child(4) li:before {color:#583414; }
.big_block {height: auto; padding: 10px 20px; width: 100%; }
.big_block > h1, .big_block > h2 {border-bottom: 1px solid #343333; color: #343333; display: block; font-size: 25px; font-style: italic; font-weight: bold; padding-bottom: 10px; text-align: center; width: 100%; position: relative; background: none; margin-top: 20px;}
.big_block li {list-style: none outside none; }
.big_block li:before {content: ">"; left: -5px; position: relative; }
.small_block {display: block; background-color: #FFF; padding: 20px; text-align: left; }
.small_block h1{ margin-top: 0; }
.small_block:first-child {float: left; left: 14%; }
.small_block:last-child {float: right; right: 14%; }
.small_block > h1, .small_block > h2 {color: #4c4c4c; font-family: georgia; font-size: 21px; text-align: center; background: none; margin-top: 20px;}
.small_block li {display: block; float: left; line-height: 15px; margin-right: 10px; padding-left: 10px; position: relative; }
.small_block > ul {display: table; margin: 0 auto; }
.small_block li:first-child {border-left: medium none !important; }
.small_block:first-child li a {color: #396355; }
.small_block:first-child li {border-left: 1px solid #396355; }
.small_block:last-child li {border-left: 1px solid #b07eaf; }
.small_block:last-child li a {color: #a07eaf; }
.more_see {bottom: 15px; position: absolute; }


/* Template - Seccion */

/* Colores por apartados concretos */
#ayuntamiento.inner > nav h1, #ayuntamiento.inner > nav h2 { background-color: #1663ab; }
#ayuntamiento.inner > article h1 { color: #1663ab; }
#ayuntamiento.inner > article > nav > ul li a:hover {background-color: #1663ab;}
#ayuntamiento.inner > nav a { color: #0f3f6a; }
#ayuntamiento.inner > nav li a:hover,
#ayuntamiento.inner > nav li.active a {background-color: #508cc3;}

#single_politico.inner > nav h1, #single_politico.inner > nav h2{ background-color: #1663ab; }
#single_politico.inner > article h1 { color: #1663ab; }
#single_politico.inner > article > nav > ul li a:hover {background-color: #1663ab;}
#single_politico.inner > nav a { color: #0f3f6a; }
#single_politico.inner > nav li a:hover,
#single_politico.inner > nav li.active a {background-color: #508cc3;}

#equipo_gobierno.inner > nav h1, #equipo_gobierno.inner > nav h2 { background-color: #1663ab; }
#equipo_gobierno.inner > article h1 { color: #1663ab; }
#equipo_gobierno.inner > article > nav > ul li a:hover {background-color: #1663ab;}
#equipo_gobierno.inner > nav a { color: #0f3f6a; }
#equipo_gobierno.inner > nav li a:hover,
#equipo_gobierno.inner > nav li.active a {background-color: #508cc3;}

#areas_delegaciones.inner > nav h1, #areas_delegaciones.inner > nav h2 { background-color: #49cbe0; }
#areas_delegaciones.inner > article h1 { color: #49cbe0; }
#areas_delegaciones.inner > article > nav > ul li > a:hover {background-color: #49cbe0;}
#areas_delegaciones.inner > nav a { color: #29a7ba; }
#areas_delegaciones.inner > nav li > a:hover,
#areas_delegaciones.inner > nav li.active > a {background-color: #49cbe0;}

#areas_delegaciones.inner > nav a { list-style: none; }
#areas_delegaciones.inner > nav li li a { color: #8F8F8F; }

#ciudad.inner > nav h1, #ciudad.inner > nav h2 { background-color: #7ca849; }
#ciudad.inner > article h1 { color: #7ca748; }
#ciudad.inner > article > nav > ul li a:hover {background-color: #7ca849;}
#ciudad.inner > nav a { color: #5c8f21; }
#ciudad.inner > nav li a:hover,
#ciudad.inner > nav li.active a {background-color: #A4C67D;}

.inner {background-color: #fff; display: table; width: 100%; }

/* Botonera */
.inner > nav {background-color: #f0f0f0; border: 1px solid #d2d2d2; border-radius: 3px; box-shadow: 0 0 2px 0 #fff inset; }
.inner > nav h1, .inner > nav h2 {color: #fff; display: block; font-size: 18px; font-weight: bold; line-height: 20px; margin: 1px; padding: 15px 10px;}
.inner > nav h2 {background-image: none;}
.inner > nav a { display: list-item; font-size: 14px; font-weight: bold; padding: 7px 15px 7px 30px; border-bottom: 1px solid transparent; }
.inner > nav ul {margin: 0; padding: 0; }
.inner > nav li {border-bottom: 1px solid transparent; list-style: none outside none; }
.inner > nav li > a:hover,
/*.inner > nav li.active > a { border-bottom: 1px solid #0f3f6a; }*/
.inner > nav li > a:hover,
.inner > nav li.active > a {color: #fff !important; text-decoration: none; }
.inner > nav li li a { padding: 2px 15px 2px 60px; font-weight: normal; }


.inner > nav li li {height: 0; max-height: 0; min-height: 0; border:none; transition: all 0.8s ease 0s; -webkit-transition: all 0.8s ease 0s; }
/* .inner > nav li:hover li,*/
.inner > nav li.active li {height: auto; max-height: 50px; min-height: 20px;}
.inner > nav ul ul {opacity: 0; transition: all 0.8s ease 0s; position: relative; z-index: -1; -webkit-transition: all 0.8s ease 0s;}
/* .inner > nav ul li:hover ul, */
.inner > nav ul li.active ul {opacity: 1; z-index: 1; margin-top: 6px; }

/* Contenido */
.inner > article h1 {font-size: 15px; font-weight: bold; margin: 10px 0; text-transform: uppercase; }
.inner > article .attachment-post-thumbnail.wp-post-image {height: auto; width: 100%; }
.inner > article p,
.inner > article li {color: #727272; font-size: 14px; line-height: 21px; margin: 20px 0; }
.inner > article p .size-full {height: auto; width: 100%; }

/* Botonera de contenido */
.inner > article > nav > ul {margin: 0; padding: 0; }
.inner > article > nav > ul li {display: block; list-style: none outside none; margin-bottom: 10px; }
.inner > article > nav > ul li a {background-color: #e5e5e5; color: #727272; display: block; font-size: 15px; padding: 20px 30px; text-transform: uppercase; position: relative; }
.inner > article > nav > ul li a:hover {color: #fff; text-decoration: none; }
.inner > article > nav > ul li a span {border-left: 1px solid #c9c9c9; bottom: 5px; display: block; line-height: 38px; padding: 0 25px; position: absolute; right: 0; top: 5px; }
.inner > article > nav > ul li a:hover span {border-left: 1px solid #fff; }


/* Equipo de Gobierno */
#equipo_gobierno > article > h1 {color: #1663ab; font-size: 23px; font-style: italic; font-weight: bold; margin-bottom: 20px; text-decoration: underline; }

.block-part {background-image: url("assets/img/background-part.jpg"); height: 76px; margin-bottom: 20px; }
.block-part .home-category-thumbnail {float: left; margin: 5px 10px 5px 20px; position: relative; }
.block-part .attachment-post-thumbnail.wp-post-image { height: auto; width: auto !important; }
.block-part > p {color: #0ea7e0 !important; display: block; float: left; font-size: 16px !important; font-style: italic; font-weight: bold; margin-top: 30px !important; position: relative; }

.block-person {display: table; margin-bottom: 30px; width: 100%; border-bottom: 1px solid #e4e4e4; }
.block-person .attachment-post-thumbnail.wp-post-image { width: 100% !important; }
.block-person .home-category-thumbnail {background-color: #fff; border-color: #d3d2d2; border-style: solid; border-width: 1px 1px 6px; float: left; padding: 1%; position: relative; z-index: 50; }
.block-person h2 {background: none; color: #49545d; font-size: 18px; margin-bottom: 10px; margin-top: 0; }
.block-person h2 span { background: none; }
.block-person h3 {color: #6e9dca; font-weight: normal; margin: 0; }
.block-person p {color: #49545d !important; font-size: 14px; margin: 10px 0 0 !important; padding-bottom: 10px; line-height: 18px !important; }
.block-person aside {border-top: 1px solid #e4e4e4; display: table; position: relative; width: 100%; }
.block-person aside.bottom { border-bottom: 1px solid #e4e4e4; border-top:none; }
.block-person a.email {color: #0082f0; float: left; font-size: 14px; font-style: italic; font-weight: bold; margin-top: 10px; position: relative; }
.block-person a.read_more {border-color: transparent #e4e4e4 #e4e4e4; border-style: none solid solid; border-width: 0 1px 1px; color: #0082f0; font-size: 14px; font-style: italic; font-weight: bold; padding: 10px; position: absolute; right: 0; top: 0; }
.block-person span.phone {color: #51494e; float: right; font-size: 20px; margin-top: 40px; position: relative; }
.block-person span.phone i {background-image: url("assets/img/icon_phone.png"); display: inline-block; height: 19px; margin-right: 5px; width: 19px; }

.block-person .social_block {clear: left; float: left; margin-top: 35px; position: relative; }
.social_block .social { display: inline-block; height: 24px; text-indent: -9999px; width: 24px; margin: 0 1px; background-repeat: no-repeat; }
.social_block .social.facebook { background-image: url("assets/img/social_icons.png"); background-position: 0 0; }
.social_block .social.twitter { background-image: url("assets/img/social_icons.png"); background-position: -28px 0; }
.social_block .social.linkedin { background-image: url("assets/img/social_icons.png"); background-position: -56px 0; }
.social_block .social.googleplus { background-image: url("assets/img/social_icons.png"); background-position: -84px 0; }

#single_politico .block-person table {border: 1px solid #e6e6e6; margin: 30px auto; }
#single_politico .block-person table tbody tr td {border-left: 1px solid #e6e6e6; height: 40px !important; min-width: 50px; padding: 10px 20px; text-align: center; }
#single_politico .block-person table tbody tr td:nth-child(2n+1) {background-color: #e6e6e6; }
#single_politico .block-person table tbody tr td:nth-child(2n) {background-color: #fff; }
#single_politico .block-person table tbody tr td.phone {background-image: url("assets/img/icon_phone.png"); background-position: center center; background-repeat: no-repeat; }
#single_politico .block-person table tbody tr td .phone { margin: 0; }
#single_politico .block-person table tbody tr td.mail {background-image: url("assets/img/icon_mail.png"); background-position: center center; background-repeat: no-repeat; }
#single_politico .block-person table tbody tr td .email { margin: 0; }

/* Single category area/delegaciones */
#areas_delegaciones header {display: table; width: 100%; }
#areas_delegaciones header > img {background-color: #fff; border-color: #d3d2d2; border-style: solid; border-width: 1px 1px 6px; float: left; margin: 0 0px 20px 0; padding: 1%; position: relative; z-index: 50; }
#areas_delegaciones header table {border: 1px solid #e6e6e6; margin: 30px auto 0; table-layout: fixed; width: 100%; }
#areas_delegaciones header table a { display: block; word-wrap: break-word; }
#areas_delegaciones header table.table_up {float: left; margin-top: 0; position: relative; }
#areas_delegaciones header table.table_down {margin-bottom: 20px; }
#areas_delegaciones header table tbody tr td {border-left: 1px solid #e6e6e6; color:#5d5d5d; height: 40px !important; min-width: 50px; padding: 10px 20px; text-align: center; }
#areas_delegaciones header table tbody tr td:nth-child(2n+1) {background-color: #e6e6e6; width: 50px; }
#areas_delegaciones header table tbody tr td:nth-child(2n) {background-color: #fff; text-align: left; }
#areas_delegaciones header table tbody tr td.responsable {background-image: url("assets/img/icon_responsable.png"); background-position: center center; background-repeat: no-repeat; }
#areas_delegaciones header table tbody tr td.direccion {background-image: url("assets/img/icon_address.png"); background-position: center center; background-repeat: no-repeat; }
#areas_delegaciones header table tbody tr td.horario {background-image: url("assets/img/icon_schulde.png"); background-position: center center; background-repeat: no-repeat; }
#areas_delegaciones header table tbody tr td.mail {background-image: url("assets/img/icon_mail.png"); background-position: center center; background-repeat: no-repeat; }
#areas_delegaciones header table tbody tr td.web {background-image: url("assets/img/icon_web.png"); background-position: center center; background-repeat: no-repeat; }
#areas_delegaciones header table tbody tr td.phone {background-image: url("assets/img/icon_phone.png"); background-position: center center; background-repeat: no-repeat; }

#areas_delegaciones article.contents {display: table; position: relative; width: 100%; }
#areas_delegaciones article.contents p { margin: 0 0 20px; }

#areas_delegaciones footer {background: none repeat scroll 0 0 rgba(0, 0, 0, 0); padding: 0; }
#areas_delegaciones footer h2 {background: none repeat scroll 0 0 rgba(0, 0, 0, 0); border-top: 1px solid #e5e5e5; color: #545454; font-size: 20px; font-style: italic; font-weight: bold; margin: 20px 0 10px; padding-top: 15px; }
#areas_delegaciones footer nav {display: table; width: 100%; }
#areas_delegaciones footer nav li {background: none repeat scroll 0 0 #e5e5e5; display: block; float: left; margin: 2px; padding: 10px 30px; position: relative; width: calc(50% - 4px); }
#areas_delegaciones footer nav ul {margin: 0 5px 0 0; padding: 0; }
#areas_delegaciones footer nav li a {color: #49545d; display: list-item; font-size: 12px; }
#areas_delegaciones footer div {display: block; width: 100%;}
#areas_delegaciones footer div .direct_access i { height: 100%; }

/* Single category area/delegaciones (links) */

/*#areas_delegaciones footer .links, .single-post footer .links {border-top: 1px solid #e5e5e5; margin-top: 20px; padding-top: 20px; }
#areas_delegaciones footer .links > div, .single-post footer .links > div {background: none repeat scroll 0 0 #e8eeef; border: 1px solid #5acfe2; border-top: none; padding: 20px 20px 20px 90px; position: relative; min-height: 65px; }
#areas_delegaciones footer .links > div:first-child, .single-post footer .links > div:first-child {border-top: 1px solid #5acfe2; padding-left: 20px; }
#areas_delegaciones footer .links h2, .single-post footer .links > div:first-child {border-top: medium none; padding: 0; margin: 0; }
#areas_delegaciones footer .links h3, .single-post footer .links > div:first-child {margin: 0; }
#areas_delegaciones footer .links .link_icon, .single-post footer .links > div:first-child {border-right: 1px solid #5acfe2; bottom: 0; display: block; height: 100%; left: 0; padding: 20px; position: absolute; top: 0; }
#areas_delegaciones code, .single-post footer .links > div:first-child {padding: 0; }
#areas_delegaciones #ai1ec-container, .single-post footer .links > div:first-child {display: table; }*/


footer .links {border-top: 1px solid #e5e5e5; margin-top: 20px; padding-top: 20px; }
footer .links > div {background: none repeat scroll 0 0 #e8eeef; border: 1px solid #5acfe2; border-top: none; padding: 20px 20px 20px 90px; position: relative; min-height: 65px; }
footer .links > div:first-child {border-top: 1px solid #5acfe2; padding-left: 20px; }
footer .links h2 {border-top: medium none; padding: 0; margin: 0; }
footer .links h3 {margin: 0; }
footer .links .link_icon {border-right: 1px solid #5acfe2; bottom: 0; display: block; height: 100%; left: 0; padding: 20px; position: absolute; top: 0; }
code {padding: 0; }
#ai1ec-container {display: table; }

.single footer {
    background: none;
}



/* Single category area/delegaciones (ordenanzas municipales) */
#areas_delegaciones footer aside.ordenanzas table a {display: table; margin: 0 auto; }
#areas_delegaciones footer aside.ordenanzas table td { color:#4f4f4f; font-size: 13px; }

/* Single category area/delegaciones (departamentos) */
#areas_delegaciones aside.departamento > article {background-color: #f2f2f2; border: 10px solid #fff; padding: 20px; min-height: 616px;}
#areas_delegaciones aside.departamento .row-1 {clear: both; float: left; width: 100%; }
#areas_delegaciones aside.departamento .row-1 .attachment-post-thumbnail.wp-post-image {float: left; margin-right: 10px; margin-bottom:10px; position: relative; width: 100px;}
#areas_delegaciones aside.departamento .row-1 h3 {color: #49cce1; font-size: 15px; margin: 0 0 15px;}
#areas_delegaciones aside.departamento .row-1,
#areas_delegaciones aside.departamento .row-2 {border-bottom: 1px solid #e5e5e5; margin-bottom: 20px;}
#areas_delegaciones aside.departamento p {color: #868686; font-size: 13px; margin: 0 0 20px; }
#areas_delegaciones aside.departamento p span {font-weight: bold; }
#areas_delegaciones aside.departamento .row-3 p { margin: 0; }

/* Single category area/delegaciones ( Inicio Cultura y Educación) */
#areas_delegaciones aside.know {display: table; width: 100%; }
#areas_delegaciones aside.know a {display: table; height: 155px; margin: 10px; position: relative; width: 299px; color: #2b2b2b; }
@media (max-width: 540px){ #areas_delegaciones aside.know a {padding:10px; width: 290px; } }
@media (max-width: 991px){ #areas_delegaciones aside.know a {float: none; margin: 10px auto; } }
#areas_delegaciones aside.know a span {display: table-cell; vertical-align: middle; text-align: center; }
#areas_delegaciones aside.know a span i {color: #2b2b2b; font-size: 16px; line-height: 30px; }
#areas_delegaciones aside.know a span strong {color: #2b2b2b; font-size: 20px; line-height: 30px; }
#areas_delegaciones aside.know a span p {color: #2b2b2b; font-size: 16px; line-height: 30px; margin: 0; }
#areas_delegaciones aside.know.culture a.btn_1 { background-image:url(assets/img/cultura_educacion_btn_1.jpg);}
#areas_delegaciones aside.know.culture a.btn_2 { background-image:url(assets/img/cultura_educacion_btn_2.jpg);}
#areas_delegaciones aside.know.environment a.btn_1 { background-image:url(assets/img/medio_ambiente_btn_1.jpg);}
#areas_delegaciones aside.know.environment a.btn_2 { background-image:url(assets/img/medio_ambiente_btn_2.jpg);}

/* Single category area/delegaciones ( Patrimonio Cultural ) */
#areas_delegaciones .deposit_monuments > article {background-color: #ededed; border: 1px solid #dcdcdc; display: table; position: relative; width: 100%; }
#areas_delegaciones .deposit_monuments div[class*="cell"] {display: table-cell; padding: 10px; position: relative; vertical-align: middle; }
#areas_delegaciones .deposit_monuments div[class*="cell"] > a {display: table-cell; vertical-align: middle; text-align: center; }
#areas_delegaciones .deposit_monuments div.cell-2 h6 {color: #5c5c5c; font-size: 13px; font-weight: bold; margin: 0 0 5px; }
#areas_delegaciones .deposit_monuments div.cell-2 > span {color: #5c5c5c; font-size: 12px; margin-bottom: 5px; }
#areas_delegaciones .deposit_monuments div.cell-2 > p {color: #a1a1a1; font-size: 11px; line-height: 14px; margin: 0; }
#areas_delegaciones .deposit_monuments div.cell-3 a span {color: #a1a1a1; font-size: 11px; text-align: center; }
#areas_delegaciones .deposit_monuments div.cell-4 > a {color: #a1a1a1; display: block; font-size: 14px; text-align: center; width: 100%; }

#areas_delegaciones .deposit_monuments .turismo_link {display: block; position: relative; margin-bottom: 20px; }
#areas_delegaciones .deposit_monuments .turismo_link > img {width: 100%; }
#areas_delegaciones .deposit_monuments .turismo_link > p {bottom: 0; position: absolute; margin-bottom: 15px !important; text-align: center; width: 100%; }
#areas_delegaciones .deposit_monuments .turismo_link span {color: #797979; font-size: 13px; }
#areas_delegaciones .deposit_monuments .turismo_link span strong {color: #0075ff; font-weight: normal; }
#areas_delegaciones .deposit_monuments .turismo_link u {color: #797979; font-size: 13px; }

/* Single category area/delegaciones ( Actividades y Lugares de Interes ) */
#areas_delegaciones .environment_activity > article {background-color: #ededed; border: 1px solid #dcdcdc; display: table; position: relative; width: 100%; }
#areas_delegaciones .environment_activity div.cell-2 h6 {color: #5c5c5c; font-size: 13px; font-weight: bold; margin: 0 0 5px; }
#areas_delegaciones .environment_activity div > p {color: #5c5c5c; font-size: 12px; margin-bottom: 5px; }

#areas_delegaciones .environment_activity .colapse {clear: both; display: block; float: left; position: relative; width: 100%; }
#areas_delegaciones .environment_activity .colapse h3 {margin: 10px 0 5px; padding: 10px 10px 0; width: 100%; }
#areas_delegaciones .environment_activity .attachment-post-thumbnail.wp-post-image { margin-bottom:5px; }
#areas_delegaciones .environment_activity .cell-1 {float: left; padding: 10px; position: relative; word-wrap: break-word; }
#areas_delegaciones .environment_activity .cell-2 {padding: 10px; }
#areas_delegaciones .environment_activity .more_info {background-color: #add1d6; padding: 8px 30px; }
#areas_delegaciones .environment_activity .more_info > a {color: #ffffff; font-size: 16px; }


#areas_delegaciones .environment_activity .cell-1 > p,
#areas_delegaciones .environment_activity .cell-1 > p a {color: #8b8b8b; font-style: italic; }
#areas_delegaciones .environment_activity .cell-1 > hr {border-color: #cbcbcb; margin: 0 0 5px; }



#areas_delegaciones .sports_facilities > article {background-color: #ededed; border: 1px solid #dcdcdc; display: table; position: relative; width: 100%; }
#areas_delegaciones .sports_facilities div[class*="cell"] {display: table-cell; padding: 10px; position: relative; vertical-align: middle; }
#areas_delegaciones .sports_facilities div[class*="cell"] > a {display: table-cell; vertical-align: middle; text-align: center; color: #a1a1a1; }
#areas_delegaciones .sports_facilities div.cell-1 {width: 27%; min-width: 180px;}
#areas_delegaciones .sports_facilities div.cell-2 {width: 63%; vertical-align: top;}
#areas_delegaciones .sports_facilities div.cell-3 {width: 10%; min-width: 65px; border-left: 1px solid #dcdcdc; }
#areas_delegaciones .sports_facilities div.cell-2 > h3 {margin: 0 0 5px; }
#areas_delegaciones .sports_facilities div.cell-2 h6 {color: #5c5c5c; font-size: 13px; font-weight: bold; margin: 0 0 5px; }
#areas_delegaciones .sports_facilities div.cell-2 > span {color: #5c5c5c; font-size: 12px; margin-bottom: 5px; }
#areas_delegaciones .sports_facilities div.cell-2 > p {color: #a1a1a1; font-size: 11px; line-height: 14px; margin: 0; }
#areas_delegaciones .sports_facilities div.cell-3 a span {color: #a1a1a1; font-size: 11px; text-align: center; }
#areas_delegaciones .sports_facilities div.cell-4 > a {color: #a1a1a1; display: block; font-size: 14px; text-align: center; width: 100%; }

#areas_delegaciones .sports_facilities table tbody tr td { text-align: left; }
#areas_delegaciones .sports_facilities table tbody tr td p { margin-bottom:0; font-size: 12px; }

/* News */
#news { margin: 30px 0; padding: 0 30px;border-right: 1px solid #809ac5; }
#news h1 {background-color: #f1f1f1; color: #575757; font-size: 16px; font-weight: bold; margin: 0 0 30px; padding: 15px; text-align: center; }
#news article { }
#news article > div { display:table; margin-bottom: 20px; border: 1px solid #e1e1e1; padding:10px; }
#news article:nth-child(2n+1) > div {background-color: #edf5f8; margin-left:10px; }
#news article:nth-child(2n) > div {background-color: #ffffff; margin-right:10px; }
#news article:nth-child(4n) > div {background-color: #edf5f8; }
#news article:nth-child(5n) > div {background-color: #fff; }
#news article:nth-child(2n) {clear: left; }
#news article:nth-child(2n+1) {clear: right; }
#news article > div > div {padding: 0 8px; }
#news article > div > figure {padding: 8px 8px 0; }
#news figure img {height: auto; width: 100%; }
#news article h5 {color: #3466bc; font-size: 15px; margin-top: 15px; }
#news article > div p {color: #5c5e61; font-size: 11px; text-align: justify; }
#news article > div footer {background-color: #c4d1d6; color: #ffffff; font-size: 14px; padding: 10px; }
#news article > div footer a {color: #fff; font-size: 14px; text-transform: uppercase; }
#news article > div footer time {float: right; position: relative; }

/* Sidebar */
aside.sidebar_news { margin: 30px 0; padding: 0 30px; }
aside.sidebar_news .widget {background-color: #f1f1f1; margin-bottom: 15px; padding-bottom: 5px; }
aside.sidebar_news h3 {background-color: #bfbfbf; color: #333; font-size: 15px; font-weight: normal; padding: 15px 15px 13px 45px; }
aside.sidebar_news .widget a {color: #696969; }
aside.sidebar_news .widget li {list-style: outside none none; margin: 0; padding: 0; }
aside.sidebar_news .widget ul {margin: 0; padding: 10px; }
aside.sidebar_news .widget.widget_categories a {background-color: #dee0df; display: inline-block; float: left; font-size: 12px; margin: 2px; padding: 7px; position: relative; }
aside.sidebar_news .widget.widget_categories {display: table; position: relative; padding-bottom: 20px; width: 100%; }
aside.sidebar_news .widget.widget_categories h3 {margin-top: 0; }
aside.sidebar_news .widget_text.text-2 { background-color: #FFF; padding: 0; }
aside.sidebar_news .widget_text.text-2 h3 {color:#FFF; background-color:#00a9ee; margin-bottom: 0; padding: 15px 15px 13px; }
aside.sidebar_news .widget_archive li:before {color: #898989; content: "\25BA"; font-size: 12px; margin-right: 5px; }
aside.sidebar_news .widget_archive li {border-bottom: 1px dashed #898989; padding: 5px 20px; }
aside.sidebar_news .widget_archive li:first-child {border-top: 1px dashed #898989; }
aside.sidebar_news .widget_archive li:last-child {display: none;}
aside.sidebar_news .widget_archive {background-color: #fff; }

aside.sidebar_news .widget h3 { background-image: url("assets/img/sprite_widget.png"); background-repeat: no-repeat; background-position: 15px 10px; }
aside.sidebar_news .widget.widget_categories h3 { background-position: 15px 10px; }
aside.sidebar_news .widget_text.text-2 h3 { background-position: right -106px; }
aside.sidebar_news .widget_archive h3 { background-position: 15px -48px; }

/* Single Instalaciones deportivas */

.single_facilities h2 {margin-top: 15px; }
.single_facilities h2 > span {color: #49cce1; display: block; width: 100%; }
.single_facilities h3 {border-bottom: 1px solid #49cce1; border-top: 1px solid #49cce1; font-size: 19px; font-weight: bold; padding: 15px 0 12px; text-align: center; text-transform: uppercase; }
.single_facilities .entry-summary ul {padding-left: 11px; }

.single_facilities table {border: 1px solid #e6e6e6; margin: 5px auto; width: 100%; }
.single_facilities table tbody tr td {border-left: 1px solid #e6e6e6; height: 40px !important; min-width: 50px; padding: 10px 20px; text-align: center; }
.single_facilities table tbody tr td:nth-child(2n+1) {background-color: #e6e6e6; }
.single_facilities table tbody tr td:nth-child(2n) {background-color: #fff; }
.single_facilities table tbody tr td.phone {background-image: url("assets/img/icon_phone.png"); background-position: center center; background-repeat: no-repeat; }
.single_facilities table tbody tr td .phone { margin: 0; }
.single_facilities table tbody tr td.mail {background-image: url("assets/img/icon_address.png"); background-position: center center; background-repeat: no-repeat; }
.single_facilities table tbody tr td .email { margin: 0; }

/* MODIFICACIONES 2016 */

img.f-saluda.alignleft.wp-image-725.size-full {
    max-width: 200px;
    margin-right: 1em;
    margin-bottom: 1em;
}

.block-part .attachment-post-thumbnail.wp-post-image {
	max-width: 70px;
}

.main {
    background-color: #FFF;
    padding: 15px;
	    padding-left: 0px !important;

}

.breadcrumbs {
    font-size: 11px;
    margin-left: 2em;
}

.vermas p.vm {
    display: table;
    padding: 5px 13px;
    border-radius: 10px;
    border: 1px solid #8CBFE0;
}

.vermas p.vm a:before {
    content: '► ';
    font-size: 11px;
}

.vermas p.vm:hover {
background: #428bca;
color: #fff;
text-decoration: none;
}

.vermas p.vm:hover a{
	text-decoration: none;
	color: #fff;
}

.home .main {
	background: none;
}

.inner > article li {
line-height: 3px !important;	
}

.inner > .links article h3 {
    font-size: 19px;
}

.postid-305 table {
	    margin: 0px auto;
}

.postid-305 .col-sm-9 .contents p {
	margin-bottom: 0px !important;
}

.col-sm-9 footer nav ul li {
    line-height: 20px !important;	
}

.direct_access:hover {
	    box-shadow: 0 2px 1px 0 #D7D7D7 inset;
		text-decoration: none;
}

.col-sm-12 .inner > article li {
    margin: 15px 0 !important;	
}

.content-info h4 {
color: #2960A4;
}


.content-info h4:before {
    background-color: #2960A4;
}

#areas_delegaciones footer nav li {
    width: calc(50% - 12px);
}

.col-sm-12 .inner > article li {
    margin: 15px 5px !important;
}

#areas_delegaciones article.contents li {
    line-height: 15px !important;	
}

.main #areas_delegaciones .col-sm-9 footer nav ul li {
    margin: 5px 5px !important;
}

.equipo-de-gobierno h3, .corporacion-municipal h3 {
	font-size: 16px !important;
}

.img-playa {
    margin-bottom: 1em;
}

.wrap #areas_delegaciones .col-sm-9 .contents .Playas-almunecar .playa .cnt-playa ul li {
    line-height: 4px !important;
}

.cnt-playa p {
	margin-bottom: 10px !important;
}

.cnt-playa ul {

padding-bottom: 1em;
    border-bottom: 1px solid #ccc;
    margin-bottom: 1em;
}

.playa h4 {
    background: #49CCE0;
    padding-top: 1em;
    padding-bottom: 1em;
    padding-left: 1em;
    margin-bottom: 0px;
    font-size: 17px;
    color: #fff;
    border-radius: 0px 35px 0px 0px;
}

.playa h4:before {
	background: #fff;
}

.btn.btn-alc {
    float: left;
    max-width: 214px;
}

.direct_access.video > i {
    background-image: url("assets/img/video.png");
}

.transparencia .btn.btn-alc {
    max-width: 250px;
	    padding: 0px 10px;
		
}

.transparencia .btn.btn-alc a{ 
margin: 5px 0.8%;
}

.m-top {
	margin-top: 2em !important;
}

.transparencia.alcaldia {
    display: table;
}

.postid-224 .timely.ai1ec-calendar-toolbar.ai1ec-clearfix {
    display: none;
}

.transparencia.alcaldia {
display: table;
    background: #FFFFFF;
    border: 1px solid #D3E2EC;
    border-radius: 20px;
    padding: 1.5em;
    margin-top: 0em !important;
}

.transparencia.alcaldia h3 {
    margin-bottom: 1em;
    border-bottom: 1px solid #D3E2EC;
    margin-left: 0.7em;
    /* text-align: center; */
    margin-right: 0.7em;
}


.basic-wrap{
    max-width: 844px;
    margin: 30px auto;
    text-align: left;
}

/* cambios para pagina bandos */

.page-id-1093 .inner > nav {
	display: none !important;
}

.page-id-1093 .col-sm-9 {
    width: 100%;
}

.page-id-1093 .page-header {
	display: none;
}

.page-id-1093 .inner {
	background: none;
}

/* fin bandos*/

/* Cambios para calendario */


.calendar-single h2 {
background-image: none;
    /* background-position: 0px 21px; */
    /* background-repeat: repeat-x; */
    border-bottom: 3px solid #555;
    line-height: 24px;
    font-size: 22px;
    margin-bottom: 20px;
    margin-top: 40px;
}

footer.content-info {
    background-color: #DFDFDF !important;	
}

.ai1ec-single-event {
	margin-bottom: 2em;
}

.ai1ec-month-view .ai1ec-day-stretcher {
	height: auto !important;
}

#single_politico .block-person table tbody .ai1ec-week td {
	display: run-in !important;
}

.btn-alc.f-left {
    float: left;
       margin-left: 0.5em;
    margin-top: 0px;
    margin-bottom: 2em;
    background: #E4E4E4;
    /* padding-right: 0.5em; */
    padding: 0em 0.4em 0.4em 0.7em;
    border-radius: 0px 0px 10px 10px;
}

.btn-alc img {
   /* width: 21px;*/
    margin-left: 0.6em;
  /*  margin-top: 2px;*/
}

.btn-alc.f-left span {
line-height: 37px;
    color: #51494E;
}

img.doc {
	width: 30px;
	margin-left: 0.2em;
}

img.cam {
	width: 21px;
}

.gal-alcaldesa {
	margin-top: 2em;
}

.audio-icn {
	display: table;
	margin: 0 auto;
}

.col-100 {
	width: 100% !important;
}

input.footable-filter {
    margin-bottom: 1em;
}

.home-category-content .bottom {
	
     background-color:  transparent !important;
     border: 0px;
}

.pdf-d {
	min-width: 125px;
}

.pdf-d a {
	    display: table;
    margin: 0 auto;
}

.cofradias a h2 {
    background: none;
    font-size: 17px;
	margin-top: 20px;
}

.cofr {
    border-bottom: 1px solid #E5E5E5;
}

.single-cofradia-hermandades .attachment-post-thumbnail {
	margin-bottom: 1em;
}

.single-cofradia-hermandades article footer {
	display: none;
}

.agrupacion-de-cofradias-hermandades .inner {
    display: block;
}

.agrupacion-de-cofradias-hermandades .inner .attachment-cofradias {
    max-width: 100%;
}

.single-format-standard .attachment-post-thumbnail {
    margin-bottom: 1em;
}

.thumbnail>img, .thumbnail a>img {
	    border: 2px solid #FFF; 
}

img.attachment-enlaces.size-enlaces.wp-post-image {
    margin-left: 2.5em;
}

img.attachment-enlaces.size-enlaces.wp-post-image:hover {
    box-shadow: 0px 11px 11px #BBB;
}

.tramites-y-gestiones .inner > nav h1, .tramites-y-gestiones .inner > nav h2{
    color: #fff;
    display: block;
    font-size: 18px;
    font-weight: bold;
    line-height: 20px;
    margin: 1px;
    padding: 15px 10px;
    background: #EB9131;
}

#tramites_gestiones .col-sm-3 a {
    color: #EB9131;
}

.tramites-y-gestiones .inner > article > nav > ul li a:hover {
    color: #fff;
    text-decoration: none;
    background: #EB9131;
}

.col-sm-9 .big_block {
    float: left;
    width: 42%;
    line-height: 20px;
}

#tramites_gestiones .col-sm-9 p {
	    width: 55%;
    float: left;
}

.date-article {
    background-color: #757575;
}

.enlace-p {
    float: left;
    margin-left: 0px;
    display: table;
    margin-bottom: 2em;
}

.enlace-p img.attachment-enlaces.size-enlaces.wp-post-image {
	margin-left: 1.5em;
}

.osoigo {
    display: table;
    background: #FFF2EB;
    padding: 10px;
    border: 1px solid #F37633;
	    margin-bottom: 2em;
		    width: 100%;
}

.fleft {
	float: left;
}

.fleft.ostext {
        width: 65%;
    margin-left: 1.5em;
}

.fleft.logoigo {
    width: 30%;
}

.fleft.logoigo img {
	width: 95%;
	margin-top: 0.5em;
}

.osoigo h4 {
    color: #F37633;
    font-size: 14px;
    font-style: italic;
    font-size: 17px;
    text-transform: uppercase;
    font-weight: bold;
}

.osoigo h4:before {
	display: none;
}


/* cambios FORO BBPRESS */

#bbpress-forums span.bbp-admin-links {
	display:table;
	height: auto !important;
}

.bbp-reply-content a {
    padding: 10px !important;
    border: 1px solid #ccc !important;
}

.bbp-other {
    border-right: 8px solid #DDD !important;
}

div.bbp-no-reply {
    display: none;
}

.bbp-footer {
	    font-size: 10px;
    color: #2960A4 !important;
}

.bbp-reply-content img.aligncenter.wp-image-1256.size-full{
	    height: auto !important;
}

.bbp-author-role {
    margin-top: 1em;
}

a.bbp-author-name {
    font-size: 14px !important;
    line-height: 17px;
    margin-top: 0.5em !important;
}

.bbp-author-role {
    border-radius: 8px;
    background: #676767 !important;	
}

/*.bbp-topic-freshness a, .bbp-topic-freshness p, .bbp-topic-freshness span, .bbp-topic-freshness {
text-align: right !important;
    padding-right: 2em !important;
	float: right !important;
}*/

.topic .bbp-topic-freshness {
    text-align: right !important;
    padding-right: 2em;
}

.bbp-topic-started-by a.bbp-author-name {
    font-size: 12px !important;
}

#bbpress-forums ul.sticky li.bbp-topic-title a.bbp-topic-permalink::before {
    content: "\f0a1" !important;
    font-family: fontawesome !important;
    background: transparent !important;
        color: #2960A4 !important;
    margin-right: 7px !important;
    padding-right: 0px;
    display: table;
    width: auto !important;
}

#bbpress-forums ul.super-sticky li.bbp-topic-title a.bbp-topic-permalink::before {
	       content: "\f071" !important;
    font-family: fontawesome !important;
    background: transparent !important;
    color: #EA0000 !important;
    margin-right: 7px !important;
    padding-right: 0px;
    display: table;
    width: auto !important;
}

.environment a {
	text-decoration: none !important;
}

.environment a:hover {
	box-shadow: 0px 5px 5px #ccc;
}

.big_block > .sede_electronica:hover {
	box-shadow: 0px 5px 5px #ccc; text-decoration: none;
}
.big_block > #sede_electronica:hover {
	box-shadow: 0px 5px 5px #ccc;
}

.custom_button {
	text-transform:uppercase;	
}

.custom_button:hover {
	color: #fff;
    text-decoration: none !important;
    background: #2a6496;
}

.v-eventos {
	margin:50px auto 30px; clear:both;
}

a.t-generico {
    background: #EDEDED;
    padding: 2em;
    display: table;
    border-radius: 10px;
    text-align: center;
    margin-left: 1em;
    line-height: 33px;
    font-size: 24px;
    vertical-align: middle;
    width: 46%;
       height: 9.4em;
    float: left;
    text-decoration: none;
	    border: 1px solid #ccc;
}

a.t-generico i {
    font-size: 39px;
    margin-bottom: 0.5em;
}

a.t-generico:hover {
    border: 1px solid #2A6496;
}

.t-trabajo i {    margin-top: 0.5em;}

.page-id-1308 .active a  , .page-id-1281 .active a {
    background: #EB9131;
}

.col-sm-3 h1 {
    background: #EB9131;
    margin-bottom: 5px !important;
}

.single img.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
    max-width: 100%;
	    max-height: 500px;
}

.single-format-standard .main {
    background-color: #FFF;
    padding: 15px;
    /*padding-left: 15px !important;*/
}

.page-id-690 h3 {
    color: #FFFFFF;
    background: #7CA849;
    display: table;
    padding: 0.5em;
	    padding-top: 0.3em;
}

.page-id-690 b.it {
    color: #7CA849;
}

.page-id-690 .linea-bus h4 {
    color: #7CA849;
    font-size: 19px;
}

.page-id-690 .linea-bus h4:before {
    background-color: #7CA849;
    content: " ";
    display: block;
    float: left;
    height: 15px;
    margin-right: 5px;
    position: relative;
    top: 0px;
    width: 6px;
}

.page-id-690 ol {
    counter-reset: i 0;
		list-style: none !important;
		    padding-left: 15px;
}

.page-id-690 ol li{
	line-height: 11px !important;	
}

.page-id-690 ol li:before {
    content: counter(i);    
    counter-increment: i;
    padding-right: 0.5em;
        color: #7CA849;
    font-weight: bold;

}

.linea-bus {
padding-bottom: 1em;
    border-bottom: 2px solid #7CA849;
}

.linea-bus p {
    margin-bottom: 5px !important;
    margin-top: 5px !important;
}

.fa-bus {
    background-image: url('assets/img/bus.png');
    width: 25px;
    margin-right: 4px;
    position: relative;
    top: 3px;
    padding-right: 0px;
    height: 25px;
    background-size: cover;
}

.fa:before {
	font-family: FontAwesome;
}

.links h2 {
	border-top: 0px !important;
	padding-top: 0px !important;
	margin: 0px !important;
}

.social_block {
	display: table !important;
}

#areas_delegaciones footer div {
    display: block;
    width: 100%;
    overflow: hidden;
}

#news article > div footer time {
    font-size: 12px;
    margin-top: 1px;
}

aside.sidebar_news .widget li {
    list-style: outside none none;
    margin: 0;
    padding: 0;
    line-height: 25px;
}

.block-home-news h4 {
    color: #757575;
}

.block-home-news h4:before {
	content: initial !important;
}

span.bbp-topic-started-in {
	display: none;
}

/*MODIFICACIONES 21062016*/
.transparencia.alcaldia {
    margin-top: 30px !important;
    text-align: justify;
    margin-bottom: 20px !important;
}
.block-person .home-category-content {
    margin-bottom: 15px !important;
}
.dDepartamento {
    display: inline-block;
    margin: 10px;
    width: 45%;
}
.dDepartamentoTexto {
    padding: 10px;
    background-color: #f0f0f0;
}
#catastro1 {
    background-color: rgb(255, 168, 0);
    padding: 20px;
    text-align: center;
    width: 100%;
    margin: 25px 0;
}
#catastro1 a {
    color: #fff;
    font-size: 23px;
}

#catastro2 {
    background-color: #2886a2;
    padding: 20px;
    text-align: center;
    width: 100%;
    margin: 25px 0;
}
#catastro2 a {
    color: #fff;
    font-size: 23px;
}
/*22 06 2016*/
.departamento article {
    display: block !important;
    height: 460px !important;
    min-height: 119px !important;
    position: relative !important;
}

/*PADRÓN*/
.page-id-1308 .col-sm-3 a , .page-id-1281 .col-sm-3 a {
    color: #eb9131;
}
.dCajaOrange {
    -moz-border-bottom-colors: none !important;
    -moz-border-left-colors: none !important;
    -moz-border-right-colors: none !important;
    -moz-border-top-colors: none !important;
    background: rgba(150, 150, 150, 0.04) none repeat scroll 0 0 !important;
    border-bottom: 8px solid #eb9131;
    border-image: none !important;
    border-left: 1px solid rgba(150, 150, 150, 0.5) !important;
    border-radius: 0 0 10px 10px;
    border-right: 1px solid rgba(150, 150, 150, 0.5) !important;
    border-top: 1px solid rgba(150, 150, 150, 0.5) !important;
    box-shadow: 0 2px 6px -4px rgba(10, 10, 10, 0.48);
    margin-bottom: 30px;
    text-align:justify;
}
.dCajaOrange p {
    padding: 1px 15px !important;
}
.dCajaOrange h2 {
    background-color: #eb9131;
    background-image: none;
    color: #fff;
    margin-top: 0;
    padding: 8px;
    text-align: center !important;
}

.dButtonPadronPDF {
    background: #eb9131 none repeat scroll 0 0;
    border-radius: 10px;
    font-size: 12px;
    margin: 10px auto 30px;
    padding: 10px;
    text-align: center;
    width: 40%;
}
.dButtonPadronPDF > img {
    width: 30px;
}
.dButtonPadronPDF > a {
    color: #fff;
    font-weight: bold;
    margin-left: 15px;
    text-transform: uppercase;
}
.dButtonPadronPDF > a:hover {
    text-decoration: none;
}

td.mail + td {
    width: 280px;
}

#archive {padding: 20px; }
#archive h2 {margin-top: 10px; }
#archive .block-archive { padding: 10px; margin: 5px 0px; }
#archive .block-archive:nth-child(2n+1) {background-color: #f1f1f1; }
#archive .block-archive:nth-child(2n) {background-color: #F8F8F8; }
#archive .block-archive .right {text-align: left; padding-left: 10px; }
#archive .block-archive .left {float: left; position: relative; margin-right: 0px; min-width: 200px; }
#archive .block-archive p {margin: 10px 0; }
#archive .block-archive time, #archive .block-archive .time{background-color: #0063a6; color: #fff; font-size: 10px; padding: 5px; position: absolute; }
.attachment-category.wp-post-image {
    height: auto;
    max-width: 100%;
}
