/*******************************************
AJUSTES GENERALES: Estos ajustes debería ser comunes a todas las plantillas
*******************************************/

.logo img {
    max-height: 80px;
}

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

.page-header h1 {
    line-height: 0.75;
    text-align: center;
    text-transform: uppercase;
}


/*******************************************
    AJUSTES ESPECÍFICOS

Muy claro: #2eafef;
Claro: #1885bb;
Medio-Claro: #afc8d6;
Medio: #49c5da;
Medio-Oscuro: #538e8e;
Oscuro: #215d5d;
Rojo:#AF041B;
*******************************************/

section {
    background-color: #ecf0f5;
}


/******************************************
        SLIDER
******************************************/

.theme-light.slider-wrapper {
    background-color: #ecf0f5;
    padding: 10px 0;
}

#sp-header {
    box-shadow: none;
    border-bottom: 1px solid #afc8d6;
}

a,
.sp-megamenu-parent>li.active>a,
.sp-megamenu-parent>li:hover>a {
    color: #AF041B;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item a:hover {
    background: #AF041B;
    color: white;
    font-weight: 400;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item.active>a {
    color: #AF041B;
}

.theme-light .nivo-directionNav a {
    background-color: #AF041B;
    border-radius: 3px;
    background-image: url('../../../images/recursos/arrows.png');
    background-repeat: no-repeat;
}

.theme-light .nivo-directionNav a:hover {
    background-color: #538e8e;
}

.theme-light a.nivo-nextNav {
    background-position: 129% 50%;
}

.theme-light a.nivo-prevNav {
    background-position: -31% 50%;
}

p.nivo-title {
    font-size: 23px;
    font-weight: bold;
    font-family: Roboto Condensed, sans-serif;
    color: #AF041B;
    text-transform: uppercase;
    padding: 10px;
}

.ns2-inner {
    position: relative;
}

.ns2-cuerpo {
    position: absolute;
    top: 100%;
}

.ns2-inner:hover .ns2-cuerpo {
    top: 0;
    transition: all 0.5s ease;
    background-color: rgba(0, 0, 0, 0.6);
    height: 100%;
}

.ns2-title,
.ns2-title a {
    font-size: 24px;
    text-align: center;
    color: #AF041B;
}

.ns2-introtext {
    color: #ffffff;
}

.ns2-tools div {
    color: #AF041B;
    text-align: center;
    display: block;
}

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

#sp-component {
    background-color: #ecf0f5;
    padding-top: 15px;
}

#sp-right .sp-module.mod-buscador {
    background-color: transparent;
}

#sp-right .sp-module.mod-buscador input {
    margin: 0 auto;
    width: 100%;
}

#sp-right .sp-module,
#sp-left .sp-module,
#sp-right .sp-module p,
#sp-left .sp-module p,
#sp-banner .sp-module p {
    margin: 0;
}

#sp-left .sp-module,
#sp-right .sp-module {
    background-color: #ecf0f5;
    margin-bottom: 15px;
}

.mod-eventos tbody tr:last-child {
    border-bottom: none;
}

.mod_events_latest_table tr {
    border-bottom: 1px solid #eee;
}

.mod_events_latest_table td {
    padding: 5px 10px;
}

.pad-newspro {
    padding: 3px;
}

#sp-main-body {
    padding-top: 20px;
}

#sp-slider .container,
#sp-user2,
#sp-user3,
#sp-user4,
#sp-left,
#sp-right {
    padding: 0;
    overflow: hidden;
}

#sp-user2 .sp-module .sp-module-content,
#sp-user3 .sp-module .sp-module-content,
#sp-user4 .sp-module .sp-module-content {
    overflow: hidden;
}

#sp-user2 .mod_users {
    border-right: 1px solid #9a061a;
    overflow: hidden;
    transition: 2s ease all;
}

#sp-user3 .mod_users {
    border-right: 1px solid #9a061a;
    border-left: 1px solid #9a061a;
    overflow: hidden;
    transition: 2s ease all;
}

#sp-user4 .mod_users {
    border-left: 1px solid #9a061a;
    overflow: hidden;
    transition: 2s ease all;
}

#sp-user2 img:hover,
#sp-user3 img:hover,
#sp-user4 img:hover {
    transform: scale(1.05);
    overflow: hidden;
    transition: 2s ease all;
}

.mod_users img {
    transition: 2s ease all;
}

#sp-main-body>.container>.row {
    background-color: #ecf0f5;
}

#sp-banner .sp-module-title,
#sp-left .sp-module-title,
#sp-right .sp-module-title {
    background-color: #AF041B;
    margin-bottom: 0;
    padding: 10px 0px 10px 15px;
    color: #fff;
    font-weight: 300;
    font-size: 16px;
}

#sp-banner .sp-module-title {
    text-align: center;
    border-left: 1px solid #9a061a;
    border-right: 1px solid #9a061a;
}

.flatcal_main_t {
    width: 100%;
}

#flatcal_minical .flatcal_busylink:link,
#flatcal_minical .flatcal_busylink:visited {
    color: #fff;
    text-decoration: none;
    background-color: #215d5d;
    padding: 2px;
    border-radius: 2px;
}

.jev_toprow div.previousmonth,
.jev_toprow div.nextmonth {
    background-color: #215d5d;
    border: 1px solid #215d5d;
}

.jev_toprow div.currentmonth {
    border-top: 1px solid #215d5d;
    border-bottom: 1px solid #215d5d;
}

#jevents_body .nav-items div.active a,
.jev_header2 .active a {
    background-color: #215d5d;
}

.nav-items>div:last-child {
    border-right: 1px solid #215d5d;
}

.nav-items>div {
    border: 1px solid #215d5d;
}

#jevents_body .nav-items>div a:hover {
    border-left: 1px solid #215d5d;
}

.nav-items>div:first-child {
    border-left: 1px solid #215d5d;
}

.mod_events_latest_table .icon-calendar:before,
.mod_events_latest_table .icon-time:before,
.mod_events_latest_table .icon-hand-right:before {
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    color: #215d5d;
    padding-right: 3px;
}

.mod_events_latest_table .icon-calendar:before {
    content: "\f073";
}

.mod_events_latest_table .icon-time:before {
    content: "\f017";
}

.mod_events_latest_table .icon-hand-right:before {
    content: "\f0a4";
}

.jevbootstrap [class^="icon-"],
.jevbootstrap [class*=" icon-"] {
    background-image: none;
}

#sp-footer {
    background-color: #215d5d;
}

img.jg_photo {
    margin: 0 auto;
}

.sp-title {
    background: #0000009e;
    padding-bottom: 5px;
    padding-top: 5px;
    margin-top: 0px;
}

.sp-title a {
    color: white;
    font-style: italic;
}

.sp-title a:hover {
    color: #9a061a;
}

div.pd-cb~div {
    display: none;
}

p.racima {
    margin: 0 auto;
    background: #fff;
}


/* .sp-slider-item .sp-slider-content {
display: none;
} */

.ltr .sp-optima-layout .sp-slider-controllers>a {
    width: 60px;
    height: 60px;
    margin: -40px 5px 0;
    border-radius: 100%;
    background-color: #af041b;
    color: #ffffff;
}

.sp-optima-layout .sp-slider-controllers>a span {
    line-height: 48px;
}

.ltr .sp-optima-layout .sp-slider-controllers>a:hover {
    background-color: #df344a;
}

.dl-horizontal dt {
    margin: 0px 0;
}

dd,
dt {
    line-height: 2.5;
}

.entry-header h2 a {
    color: #af041b;
}

.entry-header h2 {
    border-bottom: 1px solid #af041b;
}


/*galeria*/

.gallery .jg_gallerystats {
    display: none;
}

.pagination {
    width: 100%;
    margin: 0 auto;
    padding-left: 100px;
}

.jg_back {
    display: block;
    margin: 0 auto;
    padding-left: 200px;
}

.jg_element_txt {
    padding-top: 5px;
}

article img {
    margin: 15px;
}


/*botones de descarga Phoca*/

.pd-button-download .btn.btn-success {
    background: #AF041B;
    border: #AF041B;
    transition: 0.5s ease all;
}

.pd-button-download a:hover.btn.btn-success {
    background: #9a061a;
    border: #9a061a;
    transition: 0.5s ease all;
}

.pdtop {
    display: none;
}

@media (min-width: 768px) {
    .dl-horizontal dd {
        margin-left: 30px;
    }
    .dl-horizontal dt {
        width: 21px;
    }
}