/*-----------------------------------------------------------------------------------

Theme Name: AGEPEBA
Description: Plantilla hijo para la web de la Agencia AGEPEBA
Version: 1.0
Theme URI: http://www.agepeba.org
Author: alegalviz
Author URI: http://www.agepeba.org
Template: agepeba


/*---------------------------------
    Estilos propios
---------------------------------*/

/***** FRONT END  *****/
body {
    line-height: 1.7em;
    font-family: 'Open Sans', sans-serif;
    background: white;
    color: #000000 !important;
}
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover, .mom-main-color, .mom-main-color a {
    color: #499bcc;
}
.scrollToTop:hover {
    color: #499bcc;
}
.copyrights-text a:hover {
    color: #499bcc;
}
.base-box .read-more-link {
    color: #499bcc;
}
.mom-post-meta a:hover {
    color: #499bcc;
}
.news-box .nb1-older-articles ul li a:hover {
    color: #499bcc;
}
.header span.header-bajada {
    font-size: 14px;
    color: white;
}

.breaking-news .bn-title {
    float: left;
    background: #204D67;
    line-height: 34px;
    height: 34px;
    padding: 0 8px;
    color: #ffffff;
    position: relative;
    z-index: 2;
    text-align: center;
    width: 145px;
    font-size: 14px;
}
.breaking-news .bn-title:after {
    left: 100%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(205, 33, 34, 0);
    border-left-color: #204D67;
    border-width: 20px 20px 18px 10px;
    margin-top: -20px;
    z-index: 1;
    border-left-width: 10px;
}
.button, #commentform #submit-comment, input[type="submit"], #bbpress-forums #bbp-single-user-details+ul li a {
    display: inline-block;
    padding: 0 16px;
    line-height: 36px;
    border: 0;
    background: #204D67;
    color: #ffffff;
    font-weight: 400;
    border-style: solid;
    border-width: 0;
}
.header {
    background: #204D67;
    clear: both;
}
.header > .inner, .header .logo {
    line-height: 90px !important;
    height: 90px !important;
}
.breaking-news {
    background: #204d67;
    border-bottom: 1px solid #405f71;
}
.breaking-news .bn-title {    
    height: 20px;
    line-height: 20px;
    font-size: 12px;
}
.news-ticker {
    height: 20px;
    line-height:20px;
    font-size: 11px;
}

.tickercontainer {
    height: 20px;
}

.tickercontainer .mask {
    height: 20px;
}

.breaking-news {
    height: 20px;
}
.search-form input {
    height: 22px;
    font-size: 12px;
}

.breaking-news .search-form .button {
    line-height: 22px;
}
#navigation .main-menu > li:hover > a:before, #navigation .main-menu > li.current-menu-item > a:before, .navigation_highlight_ancestor #navigation .main-menu > li.current-menu-ancestor > a:before, .navigation_highlight_ancestor #navigation .main-menu > li.current-menu-parent > a:before {
    content: '';
    position: absolute;
    width: 102%;
    height: 3px;
    background: #fff;
    left: -1px;
    bottom: -3px;
}
#navigation .main-menu > li:hover > a, #navigation .main-menu > li.current-menu-item > a, .navigation_highlight_ancestor #navigation .main-menu > li.current-menu-ancestor > a, .navigation_highlight_ancestor #navigation .main-menu > li.current-menu-parent > a {
    background-color: #204d67;
}
#navigation {
    background: #204d67;
    border: 1px solid #405f71;
    border-left: 0;
    border-right: 0;
}
#navigation .main-menu > li {
    float: left;
    font-size: 14px;
    border-left: 1px solid #1d4a65;
    border-right: 1px solid #405f71;
}
#navigation ul.main-menu {
    border-left: 1px solid #405f71;
    border-right: 0;
}
#navigation .main-menu > li:last-child {
    border-left: 0;
}
.nb_wrap .nb-header .nb-title a, .nb_wrap .nb-header .nb-title span {
    padding: 7px 20px;
    display: inline-block;
    background: #204D67;
    line-height: 20px;
    color: #fff;
}
.single-post .about-the-author {
    display:none;
}
.copyrights-area {
    height: auto;
    line-height: 20px;
    padding-bottom: 1em;
}
.mom_breadcrumb .sep {
    color: #204d67;
}
.chat-speaker-2 .chat-author {
    color: #52a749;
}
/**** bloques en home */
.home a.comment_number {
    display: none;
}

/*** rotador ***/
.feature-slider .fs-nav {
    display: none !important;
}
.feature-slider li .slide-caption h2 {
    font-size: 16px;
    width: 100%;
    margin-bottom: 0;
    z-index:99;
}
.feature-slider li .slide-caption {
    bottom: 0;
}
.fs-drection-nav {
    width: 100%;
    bottom: 45%;
}
.tagcloud a:hover {
    background: #204d67;
    border-color: #464646;
    color: #fff;
}
/** listado de noticias y bloques */
.news-list .nl-item {
    margin-bottom: -1px;
    position: relative;
    background: #fff;
}
.vc_col-sm-8 .nb_wrap {
    position: relative;
    margin-bottom: -1px;
}
/* bloques en home */
.news-box .recent-news h3,
.news-list .nl-item .news-summary h3 {
    font-weight: bold !important;
    font-size: 20px;
}
.news-box .recent-news h3 a,
.news-list .nl-item .news-summary h3 a {
    color: #204d67;
}

/* menos espacios */
.vc_col-xs-1, .vc_col-sm-1, .vc_col-md-1, .vc_col-lg-1, .vc_col-xs-2, .vc_col-sm-2, .vc_col-md-2, .vc_col-lg-2, .vc_col-xs-3, .vc_col-sm-3, .vc_col-md-3, .vc_col-lg-3, .vc_col-xs-4, .vc_col-sm-4, .vc_col-md-4, .vc_col-lg-4, .vc_col-xs-5, .vc_col-sm-5, .vc_col-md-5, .vc_col-lg-5, .vc_col-xs-6, .vc_col-sm-6, .vc_col-md-6, .vc_col-lg-6, .vc_col-xs-7, .vc_col-sm-7, .vc_col-md-7, .vc_col-lg-7, .vc_col-xs-8, .vc_col-sm-8, .vc_col-md-8, .vc_col-lg-8, .vc_col-xs-9, .vc_col-sm-9, .vc_col-md-9, .vc_col-lg-9, .vc_col-xs-10, .vc_col-sm-10, .vc_col-md-10, .vc_col-lg-10, .vc_col-xs-11, .vc_col-sm-11, .vc_col-md-11, .vc_col-lg-11, .vc_col-xs-12, .vc_col-sm-12, .vc_col-md-12, .vc_col-lg-12 {
    padding-left: 15px;
    padding-right: 0;
}
.nb-2col {
    width: 100%;
    margin-right: 0;
}
.wpb_row {
    margin-left: -15px;
    margin-right: 0px !important;
}
header.nb-header {
    margin-top: 10px;
}

/* interiores de noticia */
.p-single .post-tile {
    font-size: 30px;
}
/* contadores de redes sociales */
.mom-social-share .twitter span.count {
    display: none;
}
/*------------------------------------------------------------------------------*/
/*                    medias
/*------------------------------------------------------------------------------*/
@media only screen 
and (min-width : 768px) 
and (max-width : 1001px) {
    .feature-slider li .slide-caption h2 {
        font-size: 19px;
        background: rgba(0, 0, 0, 0.74);
        text-shadow: initial;
    }
    .feature-slider li .slide-caption {
        bottom:initial;
    }
    .feature-slider li .slide-caption {
        position: relative;
        left: 0;
        bottom: initial;
        width: 100%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
}
@media only screen and (min-width: 1001px) {
    .feature-slider li .slide-caption h2 {
        font-size: 2.2em;
    }
}