/*******************************************
AJUSTES GENERALES: Estos ajustes debería ser comunes a todas las plantillas
*******************************************/
.logo img {
    max-height: 150px;
}

.page-header,
.page-header h1 {
    margin-top: 10px;
}

.page-header h1 {
    line-height: 1.1;
}


.clipped {
    position: absolute;
    clip: rect(0, 0, 0, 0);
}


.btn-default {
    border: 1px solid #ddd;
    border-bottom: 2px solid #3989a9;
    border-radius: 0;
    margin-bottom: 15px;
}

.btn-default:hover {
    background: #3989a9;
    border: 1px solid #3989a9;
    border-bottom: 2px solid #3989a9;
    color: #fff;
}

.body-innerwrapper>section {
    background-color: #58a3c1;
}

.body-innerwrapper>section#sp-top-bar {
    background-color: #C4E9F8;
}

a {
    color: #8ab112;
}

a:hover {
    color: #3989a9;
}

.flatcal_main_t {
    width: 100%;
}

.rojo {
    color: #ff0000;
    font-family: Fredoka One, sans-serif;

}

.amarillo {
    color: #d6d100;
    font-family: Fredoka One, sans-serif;
}

.verde {
    color: #32b132;
    font-family: Fredoka One, sans-serif;
}

.azul {
    color: #0000ff;
    font-family: Fredoka One, sans-serif;
}

h1 {
    background: #9ac516;
    border-left: 3px solid #526a08;
    color: #fff;
    text-transform: uppercase;
    font-size: 24px;
    padding: 10px 20px;
    margin-top: 10px;
}

.entry-header>h2,
.entry-header>h2>a {
    color: #8ab112;
}

.entry-header>h2:hover>a {
    color: #227190;
}

.blog-featured article,
.blog article {
    border-bottom: 1px dotted #ddd;
}

.contact h2 {
    background-color: #58a3c1;
    border-left: 3px solid #227190;
    font-size: 24px;
    padding: 5px 10px;
    color: #fff;
}

article h3 {
    color: #227190;
    margin-top: 50px;
    border-bottom: 2px solid #227190;
}

li ul {
    padding-bottom: 10px;
    padding-top: 2px;
}

/******************************************
                AREA SUPERIOR
*******************************************/
#sp-header {
    background-color: #227190;
}

#mod-search-searchword {
    border-color: #58a3c1;
}

#sp-top-bar p {
    margin: 0;
}

#sp-top1,
#sp-top2 {
    margin-top: 35px;
}

#sp-position3 {
    margin-top: 21px;
    padding-left: 40px;
}

#sp-position3 .btn-default {
    border: 1px solid #3989a9;
    border-bottom: 2px solid #3989a9;
    border-radius: 0;
}

#sp-top-bar .fa-paper-plane {
    padding-right: 3px;
}

.social-icons .fa {
    display: block;
    width: 34px;
    height: 34px;
    line-height: 33px;
    border: 1px solid #3989a9;
    color: #3989a9;
    border-radius: 100%;
    font-size: 16px;
    text-align: center;
}

.social-icons .fa:hover {
    border: 1px solid #3989a9;
    color: #3989a9;
}

#sp-header {
    border-top: 3px solid #58a3c1;
    border-bottom: 1px solid #C4E9F8;
    box-shadow: none;
    height: 50px;
}

.sp-megamenu-parent>li>a,
#offcanvas-toggler {
    line-height: 50px;
}

.sp-megamenu-parent {
    margin-top: -3px;
    float: left;
}

.sp-megamenu-parent>li>a,
.sp-megamenu-parent>li>span {
    color: #c4e9f8;
}

#offcanvas-toggler>i {
    color: #c4e9f8;
}

.sp-megamenu-parent>li {
    border-top: 3px solid #58a3c1;
}

.sp-megamenu-parent>li:hover,
.sp-megamenu-parent>li.active {
    border-top: 3px solid #ffffff;
}

.sp-megamenu-parent>li.active>a,
.sp-megamenu-parent>li:hover>a,
#offcanvas-toggler>i:hover {
    color: #ffffff;
}

.sp-megamenu-parent>li>a {
    font-size: 16px;
}

#sp-position3 .sp-module {
    margin: 13px 0px 0 -27px;
}

/*****************************************
                TABLAS
******************************************/


article tr,
article td {
    border: 1px solid #227190;
}

article td {
    padding: 2px 8px;
}

article table {
    margin-bottom: 25px;
    width: 100%;
}

article table tr {
    background-color: #c1e2ef;
}

article table tr:first-child {
    background-color: #9ac516;
    color: #fff;
}

article table tr:nth-child(2n+3) {
    background-color: #e0f4fb;
}

table .vacio {
    background-color: #fff;
    border: none;
}

article table.tabla-completa thead tr {
    background-color: #9ac516;
    color: #fff;
    border: none;
}

article table.tabla-completa tbody tr {
    background-color: #c1e2ef;
    color: #000;
}

article table.tabla-completa tbody tr:nth-child(2n+3) {
    background-color: #e0f4fb;
}

article table.tabla-completa tr {
    text-align: center;
}

article table.tabla-completa tfoot tr:last-child {
    background-color: #46a7ce;
}

/*****************************************
            SLIDER Y BANNERS
*****************************************/

/* .nivo-caption {
    display: none !important;
} */

.nivo-caption .nivo-title {
    display: none !important;
}


.theme-default .nivo-controlNav {
    position: absolute;
    bottom: 0;
    right: 22px;
    margin: 0 auto;
    z-index: 999;
    padding: 0;
}

.theme-default .nivo-controlNav a {
    display: inline-block;
    width: 20px;
    height: 15px;
    border: 1px solid rgba(118, 153, 12, 0.4);
    background-color: rgba(255, 255, 255, 0.3);
    background-image: none;
}

.theme-default .nivo-controlNav a.active {
    border: 1px solid rgba(118, 153, 12, 1);
    background-color: rgba(255, 255, 255, 0.5);
}

.theme-default .nivoSlider {
    box-shadow: none;
    margin-top: 15px;
    margin-bottom: 0;
}

#sp-slider .container {
    padding: 0;
}

#sp-banner .container {
    background-color: #fff;
    border-bottom: 3px solid #ddd;
}

#sp-banner .col-xs-3 {
    padding-right: 0;
}

#sp-banner h2 {
    font-size: 24px;
    margin-top: 12px;
}

#sp-banner a:after {
    content: "\f178";
    font-family: 'Font Awesome 5 Free';
    margin-left: 5px;
    font-size: 12px;
    transition: all 0.2s linear;
    font-weight: 700;
}

#sp-banner a:hover:after {
    margin-left: 10px;
}

/*****************************************
            CONTENIDOS
****************************************/

#sp-superior {
    padding-top: 40px;
}

#sp-superior .container>.row,
#sp-inferior .container>.row {
    background-color: #fff;
}

#sp-position1,
#sp-position2,
#sp-position4,
#sp-position5 {
    padding-top: 15px;
}

/*#sp-right {
    border-left: 2px solid #f0f0f0;
}

#sp-component {
    border-right: 2px solid #f0f0f0; 
}*/

#sp-left {
    border-right: 2px solid #f0f0f0;
    border-left: 2px solid #f0f0f0;
}

#sp-position2,
#sp-position5,
#sp-position3,
#sp-position6 {
    border-left: 2px solid #f0f0f0;
}

#sp-position1,
#sp-position4,
#sp-position6,
#sp-position3 {
    border-right: 2px solid #f0f0f0;
}

#sp-superior h2,
#sp-inferior h2 {
    margin-top: 0;
}

#sp-superior h2:first-letter,
#sp-inferior h2:first-letter {
    color: #9ac516;
}

#sp-superior .col-xs-8,
#sp-inferior .col-xs-8 {
    padding-left: 0;
}

#sp-superior .fa-home,
#sp-superior .fa-camera-retro,
#sp-inferior .fa-home,
#sp-inferior .fa-camera-retro {
    font-size: 18px;
    padding-right: 3px;
    vertical-align: bottom;
}

#sp-superior .btn,
#sp-inferior .btn {
    margin-top: 0;
}

#sp-position1,
#sp-position2,
#sp-position4,
#sp-position5,
#sp-position3,
#sp-position6 {
    border-bottom: 3px solid #ddd;
}


#sp-main-body {
    padding: 40px 0;
}

#sp-main-body .container {
    background-color: #fff;
    border-bottom: 3px solid #ddd;
}

#sp-especial {
    position: relative;
}

#sp-position8 {
    position: absolute;
    top: 40px;
    z-index: 1;
}

#sp-position8 h2 {
    background: #9ac516;
    border-left: 3px solid #526a08;
    color: #fff;
    text-transform: uppercase;
    font-size: 20px;
    padding: 10px 20px;
    width: 35%;
}

#sp-position8 h2::before {
    content: "\f09e";
    font-family: 'Font Awesome 5 Free';
    padding-right: 10px;
    font-weight: 700;

}

.recursos h2,
.enlaces h2 {
    background: #9ac516;
    border-left: 3px solid #526a08;
    color: #fff;
    text-transform: uppercase;
    font-size: 20px;
    padding: 10px 20px;
}

.recursos h2:before {
    content: "\f274";
    font-family: 'Font Awesome 5 Free';
    padding-right: 10px;
    font-weight: 700;

}

.enlaces h2:before {
    content: "\f0c1";
    font-family: 'Font Awesome 5 Free';
    padding-right: 10px;
    font-weight: 700;

}

#sp-right .sp-module-title,
#sp-left .sp-module-title {
    border-bottom: 1px solid #444;
    font-size: 18px;
    padding-bottom: 5px;
    color: #444;
}

#sp-right .sp-module-title:first-letter,
#sp-left .sp-module-title:first-letter {
    color: #9ac516;
}

#sp-right .sp-module,
#sp-left .sp-module {
    margin-top: 30px;
}

#sp-left .sp-module.enlaces,
#sp-right .sp-module.recursos {
    margin-top: 18px;
}

.blog-featured.pagina-inicio {
    padding-top: 80px;
}

.pagina-inicio .entry-image {
    width: 25%;
    margin-right: 1%;
    float: left;
}

.pagina-inicio .entry-cuerpo {
    width: 74%;
    float: left;
}

.pagina-inicio .article-info {
    display: none;
}

.pagina-inicio .entry-header h2 {
    margin: 0;
    font-size: 18px;
}

.pagina-inicio .entry-header {
    margin-bottom: 5px;
}

.pagina-inicio .entry-header h2 a {
    color: #8ab112;
}

.pagina-inicio .entry-header h2:hover a {
    color: #3989a9;
}

.pagina-inicio .readmore {
    /*display: none;*/
    text-align: right;
}

.pagina-inicio article.item {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

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

#sp-bottom .sp-module .sp-module-title {
    border-bottom: 1px solid #444;
    font-size: 20px;
    text-transform: uppercase;
}

#sp-bottom .sp-module .sp-module-title:first-letter {
    color: #3989a9;
}

#sp-bottom4 {
    padding: 0;
}

#sp-inferior {
    padding-bottom: 25px;
}

#sp-footer {
    background-color: #227190;
    color: #ffffff;
    text-align: left;
}

#sp-footer a {
    color: #94C9DF;
    float: right;
}

#sp-footer a:hover {
    color: inherit;
    text-decoration: underline;
}

.pngfile.jg_icon.jg-icon-arrow,
.pngfile.jg_icon.jg-icon-new,
.pngfile.jg_icon.jg-icon-home,
.pngfile.jg_icon.jg-icon-key {
    display: none;
}

.gallery li {
    font-size: 14px;
    line-height: 18px;
    font-weight: bold;
}

.gallery div {
    font-style: 14px;
}

.jg_catcountsubcats,
.jg_gallerystats,
.jg_back {
    display: none;
}

img.jg_photo {
    margin: 0 auto;
}

/* Añadir modificaciones*/
/*busqueda inteligente */
.filter-branch {
    display: none;
}

/**/
@media (min-width: 768px) {
    .sp-retina-logo {
        display: none;
    }
}

@media (max-width: 750px) {
    #sp-position8 h2 {
        width: 100%;
    }
}