h2 {
    font-size: 32px;
}

h3 {
    font-size: 28px;
}

h4 {
    font-size: 24px;
}

h1, h2, h3, h4, h5, h6 {font-family:'Roboto Condensed';}

a:hover, a:focus, a:active {color: #fc0; text-decoration:none;}

.t4-section .t4-row {
    padding: 8px 20px;
    margin-left: 0;
}

.djacc-popup .djacc__openbtn--default {background:#8C006D !important;}

#t4-header {
    background-color: rgb(0, 70, 140);
}

#t4-header header {
    padding: 0;
}

#t4-header .anuncios-head .n2-ss-section-main-content {
    align-items: center;
    justify-content: center;
}

#t4-header .anuncios-head p {
    width: auto;
    display: inline-block;
    font-size: 15px !important;
}

#t4-header .anuncios-head .titulo {
    text-transform: uppercase;
    font-weight: bold;
}

#t4-header .anuncios-head .nextend-arrow img {
    width: 20px;
}

.anuncios-head a {color: #fc0 !important;}

#t4-rrss-y-ta {
    background: rgb(68, 68, 68);
    background: linear-gradient(90deg, rgba(68, 68, 68, 1) 0%, rgba(0, 0, 0, 1) 100%);
}

#t4-rrss-y-ta .redes-sociales p {
    margin-bottom: 0;
}

#t4-rrss-y-ta .redes-sociales img {
    margin-right: 10px; max-width: 24px;
}

#t4-rrss-y-ta .banners-transparencias {display: flex; justify-content: flex-end; column-gap: 2rem;}
#t4-rrss-y-ta .banners-transparencias ._enlaces-ta {gap: 2rem; flex-direction: row;}
#t4-rrss-y-ta .banners-transparencias li img {margin-top: 4px;}
#t4-rrss-y-ta .banners-transparencias form input { background-color: transparent; border: 1px solid #fff !important; border-radius: 20px; max-width: 360px; width: 160px; color: #fff !important; max-height: 31px;}
#t4-rrss-y-ta .banners-transparencias form button {
    background-color: transparent !important;
    border: none;
    position: absolute;
    right: 0px;
}

#t4-mainnav {background-color: rgb(18, 37, 54); border-bottom:0px; border-top:0px;}
#t4-mainnav .navbar {padding-left: 35px; max-height: 50px; min-height: 50px;}
.t4-megamenu .navbar-nav > li.active > a, .t4-megamenu .navbar-nav > li.active > .nav-link {font-size: 1.2rem;}
#t4-mainnav .navbar .nav-item {margin-right: 60px;}
#t4-mainnav .navbar .dropdown-menu-inner .nav-item {border-right: 1px dashed #fff;}
#t4-mainnav .navbar .nav-item span, #t4-mainnav .navbar .nav-item a {color: #fff; font-size: 1.2rem; width: 100%; display: block;}
#t4-mainnav .navbar .nav-item span:hover, #t4-mainnav .navbar .nav-item a:hover {color: #fc0 !important;}
.t4-megamenu .dropdown-menu li {width:100%; display:block;}
.t4-megamenu .dropdown-menu li a:hover {color: #fc0 !important; background:rgba(256,256,256, .1);}
.t4-megamenu .navbar-nav > li > a, .t4-megamenu .navbar-nav > li > .nav-link {font-size: 1.2rem;}
#t4-mainnav .navbar .dropdown-menu.show-menu {display: block;}
#t4-mainnav .navbar .nav-item .item-caret {border-top: 4px solid #F5BB00;}
#t4-mainnav .navbar .nav-item  .separator::after {display: inline-block; margin-left: 0.25rem; vertical-align: middle; border-top: 4px solid #F5BB00; border-left: 4px solid transparent; border-right: 4px solid transparent; content: ""; margin-left: 8px;}
.t4-megamenu .dropdown-toggle::after {margin-top: 0.8rem;}
#t4-mainnav .navbar .dropdown-menu {width: 100vw; padding: 30px; background: #122536CC;}
#t4-mainnav .navbar .dropdown-menu ul {display: grid; grid-template-columns: repeat(3, 1fr); width: 50%;  justify-self: center;}

.whatsappchat {top: 30% !important;}
.whatsappchat .popup-section .help-you-btn {padding:12px 4px;}

#t4-main-body {
    top: -120px;
    padding-bottom: 0;
    margin-bottom: -100px;
}

#t4-main-body .noticias, #t4-main-body .novedades, #t4-main-body .banners {margin-bottom: 0; padding-left: 0; padding-right: 0;}
#t4-main-body .banners {margin-top: 30px;}

#t4-main-body .noticias .mod-articles-item, #t4-main-body .novedades .mod-articles-item {
    padding: 20px 30px;
    border-radius: 20px;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 380px;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-content: flex-start;
    position: relative;
}

#t4-main-body .noticias .mod-articles-item .velo, #t4-main-body .novedades .mod-articles-item .velo {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: rgb(255, 255, 255);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 20%, rgba(0, 0, 0, 1) 100%);
    top: 0;
    left: 0;
}

#t4-main-body .noticias .mod-articles-item .mod-articles-item-content, #t4-main-body .novedades .mod-articles-item .mod-articles-item-content {
    z-index: 999;
    width: 100%
}

#t4-main-body .noticias .mod-articles-item .readmore, #t4-main-body .novedades .mod-articles-item .readmore {
    text-align: center;
}

#t4-main-body .noticias .mod-articles-item .readmore a, #t4-main-body .novedades .mod-articles-item .readmore a {color: #fff; background-color: #8C006D; border-radius: 20px; padding: 5px 25px;}
#t4-main-body .noticias .mod-articles-item .readmore a:hover, #t4-main-body .novedades .mod-articles-item .readmore a:hover {color: #fc0;}

#t4-main-body .novedades {margin-top: 0;}

#t4-main-body .novedades .moduletable {
    margin-top: 0;
    padding: 0;
    border: none;
}

#t4-main-body .novedades h3 {
    color: #00468C;
    text-transform: none;
    font-size: 28px;
    margin-top: 0;
}

#t4-main-body .novedades .mod-articles-item .readmore a {
    background-color: #8C5900;
}

#t4-main-body .noticias ._btn-blog-noticias, #t4-main-body .novedades ._btn-blog-novedades {width: fit-content; margin-top: 30px; margin-bottom: 50px; padding: 0; border: none;}

#t4-main-body .noticias ._btn-blog-noticias .custom, #t4-main-body .novedades ._btn-blog-novedades .custom {
    background-color: #8C006D;
    padding: 5px 25px;
    border-radius: 20px;
}

#t4-main-body .novedades ._btn-blog-novedades .custom {
    background-color: #8C5900;
}

#t4-main-body .banners li img {border: 3px solid #DFDFD0 !important; border-radius: 20px;}

#t4-main-body .banners .djslider-default {width: 100% !important; max-width: 100% !important;}
#t4-main-body .banners .djslider-default .navigation-container {margin: 0 -2.3% !important; top: 40% !important;}
#t4-main-body .banners .djslider-default .navigation-container img {width: 25px;}

#t4-main-body .novedades .eventset {
    display: flex;
    gap: 1rem;
}

#t4-main-body .novedades .eventset .evento {
    display: flex;
    flex-direction: row;
    width: 33%;
}
#t4-main-body #jemmoduleteaser .event-title {line-height: 27px;}
#t4-main-body .novedades .eventset .evento .jem-teaser-event .event-title a {color: #00468C;}

#t4-main-body .novedades .eventset .evento .jem-event-image-teaser img {
    border-radius: 20px;
}

#t4-main-body .novedades .eventset .evento .jem-teaser-event {
    flex-direction: column !important;
    flex: 1;
}

#t4-main-body .novedades .eventset .evento .jem-teaser-datecat .fecha-hora span {
    font-weight: bold;
}

#t4-main-body .novedades .eventset .evento .jem-teaser-datecat .badge {
    background-color: rgb(0, 70, 140);
    color: #fff;
}

#t4-main-body .novedades .eventset .evento .btn-readmore {color: #fff; background-color: #8C006D; border-radius: 20px; padding: 5px 25px; margin-top: 1rem;}
#t4-main-body .novedades .eventset .evento .btn-readmore:hover {color: #fc0;}

#t4-main-body .novedades .jem-eventimg-teaser {width: 100%;}
#t4-main-body .novedades .jem-eventimg-teaser .imagen {width: 100%; height: 300px; border-radius: 20px; background-size: cover; background-position: center;}

#t4-mainbottom .t4-row, #t4-mainbottom .t4-row .video-youtube {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
}

#t4-mainbottom .video-youtube iframe {
    border: 0;
    box-shadow: none;
}

#t4-mainbottom .sesiones-consejo {
    background-color: #00468C;
    padding: 50px 55px;
}

#t4-mainbottom .sesiones-consejo a {
  color: #fc0;
}

#t4-mainbottom .sesiones-consejo a:hover {
  color: #fff;
}

#t4-mainbottom .sesiones-consejo h2 {
    color: #fff;
    margin-top: 0;
    margin-bottom: 30px;
}

#t4-mainbottom .sesiones-consejo h4 {
    color: #FFC600;
    margin-top: 0;
    margin-bottom: 50px;
}

#t4-mainbottom .sesiones-consejo ._btn-sesiones-anteriores {
    padding: 0;
    text-align: center;
    margin-top: 40px;
}

#t4-mainbottom .sesiones-consejo ._btn-sesiones-anteriores a {color: #fff; background-color: #8C0000; border-radius: 20px; padding: 5px 25px;}
#t4-mainbottom .sesiones-consejo ._btn-sesiones-anteriores a:hover {color: #fc0;}

#t4-footer {padding-bottom: 40px; font-size: 15px;  min-height: 450px;}

#t4-footer .t4-section-inner, #t4-footer .t4-section-inner .t4-row, #t4-footer .t4-section-inner .t4-row .footer, #t4-footer .t4-section-inner .t4-row .footnav-1, #t4-footer .t4-section-inner .t4-row .footnav-2, #t4-footer .t4-section-inner .t4-row .footnav-3, #t4-footer .t4-section-inner .t4-row .footnav-4, #t4-footer .t4-section-inner .t4-row .footnav-1 .moduletable, #t4-footer .t4-section-inner .t4-row .footnav-2 .moduletable, #t4-footer .t4-section-inner .t4-row .footnav-3 .moduletable, #t4-footer .t4-section-inner .t4-row .footnav-4 .moduletable {
    padding-left: 0;
    padding-right: 0;
}

#t4-footer .t4-section-inner .t4-row .footer img {
    width: 200px;
}

#t4-footer .footnav-1 h3, #t4-footer .footnav-2 h3, #t4-footer .footnav-3 h3, #t4-footer .footnav-4 h3 {color: #fff; text-transform: none; font-weight: bold; font-size: 20px; font-family: 'Roboto Condensed';}

#t4-footer .navbar {
    padding: 0;
}

#t4-footer .navbar a {
    text-transform: none;
    font-size: 15px;
}

#t4-footer .navbar .nav li:before {
    content: none;
}

#t4-footer .footnav-1 .moduletable, #t4-footer .footnav-3 .moduletable, #t4-footer .footnav-4 .moduletable {border: 0; border-right: 1px dashed #fff; width: 90%; margin-right: 10%; padding:0; margin-top: 40px; border-radius:0; height: 100%;}

#t4-footer .footnav-1 ul, #t4-footer .footnav-2 ul, #t4-footer .footnav-3 ul, #t4-footer .footnav-4 ul {
    display: flex;
    flex-direction: column;
    list-style: none;
}

#t4-footer .footnav-1 ul, #t4-footer .footnav-2 ul, #t4-footer .footnav-3 ul, #t4-footer .footnav-4 ul {
    display: flex;
    flex-direction: column;
    list-style: none;
}

#t4-footer .footnav-1 ul li::before, #t4-footer .footnav-2 ul li::before, #t4-footer .footnav-3 ul li::before, #t4-footer .footnav-4 ul li::before {
    content: none;
}

#t4-footer .footnav-1 ul li a, #t4-footer .footnav-2 ul li a, #t4-footer .footnav-3 ul li a, #t4-footer .footnav-4 ul li a {text-transform: none; font-size: 18px; width: 100%;}
#t4-footer .footnav-1 ul li a:hover, #t4-footer .footnav-2 ul li a:hover, #t4-footer .footnav-3 ul li a:hover, #t4-footer .footnav-4 ul li a:hover {color:#fc0; border-bottom: 0;}

#t4-footer .footnav-1, #t4-footer .footnav-2, #t4-footer .footnav-3, #t4-footer .footnav-4, #t4-footer .footnav-5 {
    width: 20%;
    flex: 0 0 20%;
}

#t4-footer .footnav-5 {
    position: absolute;
    right: 0;
    top: -100px;
}

#t4-footer .footnav-5 ._datos-alcalde, #t4-footer .footnav-5 ._datos-contacto {margin-top: 0; padding: 0; padding-bottom: 10px; border:0; border-bottom: 1px dashed #c3c3c3; border-radius: 0;}
#t4-footer .footnav-5 ._datos-alcalde h3 {font-weight: bold; font-size: 20px; text-transform: uppercase; line-height: 24px;}
#t4-footer .footnav-5 ._datos-alcalde img {width: 200px; height: auto; border-radius: 50%; border: 3px solid #fff;}
#t4-footer .footnav-5 ._datos-alcalde p {font-size: 18px;}
#t4-footer .footnav-5 ._datos-contacto p {font-size: 18px; font-weight: 500; line-height: 22px;}
#t4-footer .footnav-5 ._datos-contacto h4 {font-size: 22px; font-family: 'Roboto Condensed'; font-weight: bold;}

#t4-footer .footnav-5 ._logos-rrss {
    border: 0;
    padding: 0;
}

#t4-footer .footnav-5 ._logos-rrss img {
    margin-right: 10px;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1260px;
    }
}


@media (max-width: 576px) {
	
	.header-wrap {text-align: center;}
	
	#t4-mainnav .navbar .dropdown-menu ul {width: 100%; grid-template-columns: inherit;}
	
	.djacc--sticky.djacc--bottom-right {bottom: 10% !important; margin: 20px 5px !important;}
	.djacc-popup.djacc--bottom-right .djacc__panel {bottom: -110px !important;}
	.djacc-popup .djacc__footer {display: none !important;}
	
	.whatsappchat {top: 70% !important; right: 0 !important;}
    .redes-sociales {
        margin-bottom: 1rem;
        text-align: center;
    }

    #t4-rrss-y-ta .banners-transparencias {
        flex-direction: column;
        row-gap: 2rem;
    }
    
    #t4-rrss-y-ta .banners-transparencias ._enlaces-ta {
        gap: 1rem;
        flex-direction: row;
        justify-content: center;
    }
    
    #t4-rrss-y-ta .banners-transparencias ._enlaces-ta li {
        width: 46%;
    }
    
    .awesomplete {
        width: 100%;
    }
    
    #t4-rrss-y-ta .banners-transparencias form input {
        width: 100%;
    }
    
    #t4-mainnav .navbar-toggler {
        margin-right: 1rem;
    }
    
    #t4-mainnav .navbar-toggler i {
        color: #fff;
    }
    
    #t4-mainnav .navbar {
        padding-left: 0;
    }
    
    #t4-mainnav .navbar .navbar-collapse {
        background-color: rgb(18, 37, 54);
        z-index: 9999;
        position: relative;
        width: 100%;
        padding: 1rem;
    }en
    
    #t4-mainnav .navbar .dropdown-menu ul {
        display: block;
        width: 100%;
    }
    
    #t4-mainnav .navbar .nav-item {
        margin-right: 0;
    }
    
    #t4-mainnav .navbar .dropdown-menu {
        padding: 0 0 0 1rem;
    }

    #t4-main-body {
        top: 0;
        margin-bottom: 0;
    }
    
    #t4-main-body .novedades .eventset {
        flex-direction: column;
    }

    #t4-main-body .novedades .eventset .evento {
        width: 100%;
        flex-direction: column-reverse;
    }
    
    #t4-main-body .novedades .eventset .evento .jem-eventimg-teaser {
        margin-left: 0;
    }

    
    #t4-main-body .novedades .eventset .evento .jem-event-image-teaser img {
        width: 100%;
    }

    #t4-footer {
        min-height: 1500px;
    }

    #t4-footer .t4-section-inner .t4-row {
        margin-right: 0;
        padding: 8px 20px;
    }

    #t4-footer .footnav-1, #t4-footer .footnav-2, #t4-footer .footnav-3, #t4-footer .footnav-4, #t4-footer .footnav-5 {
        width: 100%;
        flex: 0 0 100%;
    }
    #t4-footer .footnav-5 {
        position: relative;
        right: 0;
        top: 0;
    }
	
	#t4-footer .footnav-1 .moduletable, #t4-footer .footnav-3 .moduletable, #t4-footer .footnav-4 .moduletable {border-right:0; width: 100%;}
	#t4-footer .footnav-1 h3, #t4-footer .footnav-2 h3, #t4-footer .footnav-3 h3, #t4-footer .footnav-4 h3 {text-align: center;}
	#t4-footer .footnav-5 ._datos-alcalde {margin-top: 50px;}
	#t4-footer .footnav-5 ._datos-alcalde .custom {text-align: center;}
	
	.t4-footer .nav > li {text-align: center;}
	
}

/*** PERSONALIZADOS ***/

.navbar-brand.logo-control img.logo-img {max-height: initial;}
.t4-section .header-block {padding: 0.7rem 1rem;}

.redes-sociales {padding: 5px 10px;}