@media (min-width: 992px) {
    #header .header-nav-main {
        float: left;
        margin: 0;
        min-height: 45px;
    }

    html.sticky-header-active #header.header-home .header-nav {
        padding-left: 220px;
    }

    html.sticky-header-active #header.header-narrow .header-logo img {
        margin: 12px 12px 12px 0;
    }

    #header .header-nav-main nav > ul > li.dropdown .dropdown-menu {
        border-radius: 0;
    }
    #header .header-nav.header-nav-dark-dropdown nav > ul > li.dropdown .dropdown-menu {
        background: #067FB0;
    }

    #header .header-nav.header-nav-dark-dropdown nav > ul > li.dropdown .dropdown-menu > li > a {
        color: #ffffff;
        font-family: 'Oswald', sans-serif;
        font-size: 1.2em;
    }

    #header .header-nav.header-nav-dark-dropdown nav > ul > li.dropdown li a {
        border-bottom-color: #0088cc;
    }

    #header .header-nav.header-nav-dark-dropdown nav > ul > li.dropdown .dropdown-menu > li > a:hover {
        background: #ffffff;
        color: #067FB0;
    }

}
.page-header-custom-background div.overlay-container{
    display: table;
    margin-bottom: 10px;
    margin-top: 10px;
}
.page-header-custom-background .tp-caption-overlay-primary {
    font-family: 'Oswald', sans-serif;
    background: #007DBA;
    opacity: .8 !important;
    visibility: inherit;
    transition: none;
    text-align: inherit;
    line-height: 42px;
    border-width: 0;
    margin: 0;
    padding: 10px;
    letter-spacing: 0;
    font-weight: 800;
    font-size: 62px;
}


.page-header-custom-background .tp-caption {
    transition: none;
    text-align: inherit;
    border-width: 0;
    margin: 0;
    padding: 10px;
    letter-spacing: 0;
    font-weight: 300;
    white-space: nowrap;
    min-height: 0;
    min-width: 0;
    max-height: none;
    max-width: none;
    position: relative;
    display: block;
    -webkit-font-smoothing: antialiased!important;
    z-index: 1;
    float: left;
}

.page-header-custom-background h1.tp-caption{
    font-size: 62px;
    line-height: 62px;
    float:left;
}
.page-header-custom-background span.tp-caption{
    font-size: 20px;
    font-weight: 600;
    line-height: 20px;
    float:left;
}

.page-header-custom-background .tp-caption-overlay-opacity {
    background: rgba(0, 0, 0, 0.9);
    padding: 10px;
}

.page-header-custom-background .tp-caption-overlay-light {
    background: rgba(255, 255, 255, 0.8);
    padding: 10px;
}

.page-header-custom-background .bottom-label {
    color: #FFF;
    font-size: 20px;
    line-height: 20px;
    font-weight: 300;
}

.page-header-custom-background .bottom-label-black {
    color: #000000;
    font-size: 20px;
    line-height: 20px;
    font-weight: 300;
}


.captcha {
    clear: both;
    overflow: visible;
    background: #F2F2F2;
    text-align: center;
    margin-bottom: 20px;
    max-width: 100%;
    height: auto;
    position: relative;
}

#header .header-nav-main nav > ul > li.active > a:before {
    bottom: 0!important;
}

.header-container .breadcrumb{
    background: none;
    margin-bottom: 0;
}

.section .section-box-icon {
    background: #007DBA;
    border-radius: 40px;
    color: #FFF;
    display: inline-block;
    float: left;
    height: 40px;
    line-height: 38px;
    margin-right: 20px;
    position: relative;
    text-align: center;
    top: 5px;
    width: 40px;
}
.section .section-box-icon span{
    font-family: 'Oswald', sans-serif;
    font-size: 2.2em;
    font-weight: 300;
}

.section .section-title{
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 2.6em;
    letter-spacing: normal;
    padding-top: 4px;
    text-align: left;
}

#footer{
    padding: 0 !important;
    margin-top: 0 !important;
    background: #057EB5;
    border-top: none;
}

#footer .footer-copyright {
    margin-top: 0 !important;
    background: none !important;
    border-top: none !important;
    /* margin-top: 40px; */
    padding: 30px 0 10px;
}
#footer .footer-copyright nav {
    float: none;
    color: #eeeeee;
    margin-top: 10px;
}

#footer .footer-copyright nav ul li {
    border-left: none !important;
    font-size: 1.3em;
}

#footer .footer-copyright p.leap {
    float: none;
    color: #eeeeee;
    font-size: 1.3em;
}

.header-nav-top li{
    font-size: 1.3em !important;
}

.header-nav-top li a{
    color: #000000 !important;
}

.flag.flag-galego {
    background-position: -224px -165px;
}

.home-news{
    background-color: #ffffff;
    margin-bottom: 10px;
}

.home-axenda{
    background-color: #d5ecf4;
    margin-bottom: 10px;
}


.home-axenda .thumb-info{
    background-color: #d5ecf4 !important;
}

.article-place {
    color: #007DBA;
}

.article-content {
    text-align: left;
    margin-left: -15px;
}

.article-content h2{
    font-family: 'Open Sans', sans-serif;
    font-size: 1.7em;
    padding-top: 20px;
    padding-left: 0;
    padding-right: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.article-content h3{
    text-transform: none;
}

.newsletter{
    padding: 30px 0;
}

.article-content h2 a{
    color: #000000;
}

.article-date{
    background-color: #007DBA;
    float:left;
    width: 20%;
    height: 196px;
    text-align: center;
}

.article-image{
    float:left; width: 80%;
    max-height: 196px;
    overflow: hidden;
}

.article-image .thumb-info-wrapper{
    width: 340px;
}

.article-date-day,
.article-date-month,
.article-date-year{
    display: block;
    color: #ffffff;
    font-size: 2em;
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    line-height: 1.6em;
}

.article-date-day{
    padding-top: 20px;
}

.thumb-info .thumb-info-title{
    font-family: 'Oswald', sans-serif;
    font-size: 1.7em;
    font-weight: 400 !important;
    letter-spacing: 1px !important;
    text-transform: none;
    background: rgba(0, 125, 186, 0.8);
}

html section.section-white {
    background-color: #ffffff !important;
    border: none !important;
}

html .slider-container .tp-caption-overlay-primary {
    font-family: 'Oswald', sans-serif;
    background: #007DBA;
    opacity: .8 !important;
}

#header .header-nav-main nav > ul > li > span.icon-nav {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6em;
    font-weight: 400;
    background: transparent !important;
    color: #000 !important;
    -webkit-transition: ease color 300ms;
    -moz-transition: ease color 300ms;
    transition: ease color 300ms;
    display: inline-block;
    border-radius: 4px;
    font-style: normal;
    line-height: 20px;
    padding: 18px 13px;
    text-transform: uppercase;

}

#header .header-nav-main nav > ul > li > a.dropdown-toggle:after {
    border: none;
}

#header .logo-pages a img{
    margin: 6px 12px 0 0 !important;
}

#header .header-nav-main nav > ul > li > a {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6em;
    font-weight: 400;
    background: transparent !important;
    color: #000 !important;
    -webkit-transition: ease color 300ms;
    -moz-transition: ease color 300ms;
    transition: ease color 300ms;
}

#header .header-nav-main.nav-main-pages nav > ul > li > a {
    font-size: 1.6em !important;
}

@media (min-width: 992px) and (max-width: 1060px) {
    #header .header-nav-main nav > ul > li > a {
        padding: 10px 9px;
    }
}
#header .header-nav-main nav > ul > li:hover > a, #header .header-nav-main nav > ul > li.active > a {
    color: #019fdc !important;
}
#header .header-nav-main nav > ul > li.active > a:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: -15px;
    border-bottom: 3px solid #019fdc;
    width: 100%;
}
@media (max-width: 991px) {
    #header .header-nav-main nav > ul > li.active > a:before {
        bottom: 0;
        border-width: 2px;
    }
}
#header .header-nav-main nav > ul li {
    border-bottom: 0;
}

.letter-box{
    font-family: "Oswald";
    font-size: 2em;
    line-height: 1.15em;
}

.content-list-by-terms div h3{
    text-transform: none;
    color: #007DBA;
    /*margin-top: 16px;*/
    margin-bottom: 6px;
    line-height: 1.4em;
}

.content-list-by-terms>div {
	margin-bottom: 15px;
}

.content-list-by-terms div h4{
    text-transform: none;
    color: #007DBA;
}
.content-list-by-terms div h3 a{
    color: #000000;
}
.content-list-by-terms .img-conatiner{
    width: 70px;
    height: 100px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    border: solid 3px #007DBA;
    margin-bottom: 10px;
}

.content-list-by-terms .img-conatiner img.term-no-image{
    width: 80px;
    left: 50%;
    margin-left: -40px;
    position: absolute;
}

.content-list-by-terms div p{

}

.article-img{
    margin-right: 10px;
}

article.post-large h2 {
    font-family: 'Oswald', sans-serif;
    margin-bottom: 30px;
    font-size: 3em;
    line-height: 1.5em;
    color: #4D4D4D;
}

html #header.header-semi-transparent-light .header-body:before {
    opacity: 0.3;
}

#header.header-narrow .header-logo img {
    margin: 0 12px 12px 0 !important;
}

.featured-box-primary .box-content h4 a{
    color:#000000;
}

.row-flex{
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

footer #bottom-menu ul li a{
    font-size: 1.2em;
}

.block-simplenews h2{
    visibility: hidden;
}

#block-simplenews-23{
    margin-top: -32px;
}

.newsletter {
    padding: 0;
}

.newsletter p{
    font-size: 1.6em;
    margin-bottom: 0;
    color: #1d2127;
    font-weight: 600;
    line-height: 42px;
}

.newsletter .simplenews-subscribe .form-submit{
    color: #fff;
    background-color: #08c;
    border-color: #08c #08c #069;
    border: 0;
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.3333333;
    border-radius: 6px;
    margin-top: 30px;
}

.block-simplenews section{
    margin-top: 0;
}

.block-simplenews h2.section-title{
    visibility: visible;
}


.simplenews-subscribe .form-item label{
    display: none;
}

.simplenews-subscribe .form-item input#edit-mail{
    height: 46px;
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.3333333;
    border-radius: 6px;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

#block-views-axenda-page-block-block h3{
    line-height: 1.7em;
}

.content-list-by-terms .img-conatiner-custom{
    width: 220px;
    height: 120px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    border: solid 3px #007DBA;
    margin-bottom: 10px;
}

.featured-boxes.featured-boxes-style-2{
    width: 100%;
}
