body {
    font-family: 'Lato', sans-serif;
}
/*Header*/
header {
    margin-top: 25px;
    padding-bottom: 15px;
}
header .logo {
    margin-top: 0;
    padding-bottom: 0;
}
header .logo img {
    width: 500px;
    height: 110px;
    object-fit: contain;
}
@media (min-width: 768px) and (max-width: 768px) {
    header .row .logo {
        margin-top: 25px;
    }
}
header .escudo {
    width: 254px;
    height: 38px;
}
header .buscador {
    margin-top: 8px;
}
header .buscador .glyphicon-search {
    color: #fff;
}
header .buscador input {
    background-color: white;
    border: 1px solid #002F87;
    height: 34px;
    font-size: 12px;
    font-style: italic;
}
header .buscador input:focus {
    border-color: #002F87;
}
header .buscador button {
    border: 1px solid #002F87;
    background-color: #002F87;
    border-radius: 0 4px 4px 0;
}
header nav ul {
    margin: 5px 0 0 0;
    padding: 0;
}
header nav ul li {
    display: inline-block;
}
header nav ul li:before {
    content: "|";
    margin: 0 10px;
}
header nav ul li:first-child:before {
    content: "";
    margin: 0;
}
header nav ul li a {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    color: #000;
}
@media (max-width: 768px) {
    header {
        margin-top: 10px;
        padding-bottom: 10px;
    }
    header .logo {
        margin: 0 !important;
    }
}
/*Enlaces*/
.x-enlaces {
    background-color: #e2e3e4;
}
/*Fin Enlaces*/

/*Fin del header*/

.border{
    height: 5px;
    background: #00953A;
}
footer{
    width: 100%;
    background-color: #231F20;
}
footer .menufooter h3 {
    text-decoration: underline;
    font-size: 16px;
    color: white;
    font-family: 'Raleway', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    margin-top: 54px;
}
footer .menufooter ul{
    list-style: none;
    margin: 17px 0 0 0;
    padding: 0;
}
footer .menufooter ul li {
    display: block;
    margin-bottom: 15px;
}
footer .menufooter .sobreno ul li:nth-child(2n+1) {
    display: none;
}
footer .menufooter ul li a {
    display: block;
    text-transform: uppercase;
    font-size: 12px;
    color: white;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
}
footer .menufooter {
    margin-top: 8px;
}
footer .menufooter .glyphicon-search {
    color: #fff;
}
footer .menufooter input {
    background-color: white;
    border: 1px solid #2c8d44;
    height: 34px;
}
footer .menufooter input:focus {
    border-color: #21b044;
}
footer .menufooter button {
    border: 1px solid #2c8d44;
    background-color: #2c8d44;
    border-radius: 0 4px 4px 0;
}
footer .loguitos {
    text-align: center;
    margin-top: 55px;
}
footer .loguitos img {
    margin: 10px 30px;
}
footer .copy {
    display: block;
    text-align: center;
    color: white;
    padding-bottom: 35px;
}
footer .copy h4 {
    font-size: 18px;
    padding-top: 15px;
    margin-bottom: 5px;
    font-weight: bold;
}
footer .copy p {
    margin-bottom: 7px;
}
footer .copy a {
    margin-top: 5px;
    color: white;
}
footer .copy a {
    margin-top: 5px;
    text-transform: initial;
    color: white;
}
footer .menu-footer ul {
    margin: 0 0 7px 0;
    padding: 0;
}
footer .menu-footer li {
    display: inline-block;
}
footer .menu-footer li:before {
    content: "|";
    padding: 0 7px 0 7px;
}
footer .menu-footer li:first-child:before {
    content: "";
}
footer .m-top a {
    display: inline-block;
    background-color: transparent;
    border-radius: 20px;
    border: #00953a solid 1px;
    padding: 10px 20px;
    line-height: normal;
    font-size: 10px;
    text-decoration: none;
}

/* -----------------------interna------------------------------*/
.cabecera {
    margin-top: 20px;
    min-height: 292px;
    background-color: #1B3C75;
    background-image: url('../img/header/bg.jpg');
    -webkit-background-size: cover;
    background-size: cover;
    background-position: 50% 50%;
    background-attachment: fixed;
    position: relative;
}
.cabecera:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: -moz-linear-gradient(30.77% -55.35% -45deg,rgba(0, 47, 135, 1) 0%,rgba(0, 149, 58, 1) 100%);
    background: -webkit-linear-gradient(-45deg, rgba(0, 47, 135, 1) 0%, rgba(0, 149, 58, 1) 100%);
    background: -webkit-gradient(linear,30.77% -55.35% ,88.98% 263.58% ,color-stop(0,rgba(0, 47, 135, 1) ),color-stop(1,rgba(0, 149, 58, 1) ));
    background: linear-gradient(135deg, rgba(0, 47, 135, 1) 0%, rgba(0, 149, 58, 1) 100%);
    opacity: 0.7;
}
.cabecera .container {
    z-index: 962;
    position: relative;
}
@media (max-width: 768px) {
    .cabecera {
        margin-top: 0;
        min-height: 230px;
        -webkit-background-size: cover;
        background-size: cover;
        background-position: 0% 0%;
        background-attachment: fixed;
        position: relative;
    }
    #k2Container {
        margin-top: 10px;
        font-size: 14px;
    }
}
.miga ul {
    margin: 50px 0 0 0;
    padding: 0;
}
.miga ul li:first-child {
    font-weight: bold;
    text-transform: uppercase;
}
.miga li,
.miga li span {
    display: inline-block;
    margin: 0 1px;
    color: white;
    font-weight: 300;
    font-style: italic;
    font-size: 15px;
}
.miga li a {
    color: #fff;
}
.miga .cont-head {
    margin-top: 50px;
}
.titulo h2 {
    margin: 45px 0 45px 0;
    font-size: 31px;
    color: white;
    font-weight: 900;
    font-style: italic;

    max-height: 152px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-overflow: -o-ellipsis-lastline;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    -moz-box-orient: vertical;
    -moz-line-clamp: 4;
    line-height: 38px;
}
#k2Container {
    min-height: 500px;
    margin-top: 50px;
}
#k2Container {
    margin-top: 34px;
    text-align: justify;
    font-size : 15px;
    line-height : 24px;
    color : #1E1E1E;
}
#k2Container img:first-child {
    width: 100%;
    height: auto;
}
@media (max-width: 768px) {
    .cabecera {
        margin-top: 0;
        min-height: 230px;
        -webkit-background-size: cover;
        background-size: cover;
        background-position: 0% 0%;
        background-attachment: fixed;
        position: relative;
    }
    #k2Container {
        margin-top: 10px;
        font-size: 14px;
    }
}
.menu-interno .bg-menu ul{
    height: 300px;
    width: 100%;
    background : #c3e0c9;
    list-style: none;
    margin: 0px;
    padding: 0px;
}
.masseccion {
    margin: -118px 0 50px 0;
}
.masseccion h3 {
    background-color: white;
    padding: 30px 20px;
    margin: 0;
    font-weight: 900;
    font-style: italic;
    font-size: 20px;
    color: #00953A;
    text-transform: uppercase;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 5px;
    border-radius: 3px 3px 0 0;
}
.masseccion ul {
    margin: 0;
    padding: 0;
    background-color: rgba(0, 47, 135, 0.2);
    box-shadow: 5px 0 5px rgba(0, 0, 0, 0.15);
}
.masseccion ul li {
    display: block;
    position: relative;
}
.masseccion ul li a {
    padding: 14px 25px;
    text-transform: uppercase;
    display: block;
    color: white;
    font-size: 13px;
}
.masseccion ul li.active > a,
.masseccion ul li a:focus,
.masseccion ul li a:hover {
    color: #fff;
    text-decoration: none;
    background-image: url(../img/bm.svg);
    background-color: #002F87;
    background-blend-mode: multiply;

}
.menu-interno .bg-menu ul li:hover{
    background: rgba(8,117,34,1);
    background : -moz-linear-gradient(50% -37.98% -90deg,rgba(44, 141, 68, 1) 0%,rgba(44, 110, 107, 1) 100%);
    background : -webkit-linear-gradient(-90deg, rgba(44, 141, 68, 1) 0%, rgba(44, 110, 107, 1) 100%);
    background : -webkit-gradient(linear,50% -37.98% ,50% 152.04% ,color-stop(0,rgba(44, 141, 68, 1) ),color-stop(1,rgba(44, 110, 107, 1) ));
    background : -o-linear-gradient(-90deg, rgba(44, 141, 68, 1) 0%, rgba(44, 110, 107, 1) 100%);
    background : -ms-linear-gradient(-90deg, rgba(44, 141, 68, 1) 0%, rgba(44, 110, 107, 1) 100%);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#2C8D44', endColorstr='#2C6E6B' ,GradientType=0)";
    background : linear-gradient(180deg, rgba(44, 141, 68, 1) 0%, rgba(44, 110, 107, 1) 100%);
}
.masseccion ul li .caret {
    -webkit-transform: rotate(-85deg);
    -ms-transform: rotate(-85deg);
    transform: rotate(-85deg);
}
.masseccion ul ul:before {
    content: url(../img/arrow.png);
    position: absolute;
    width: 20px;
    top: 2px;
    left: 0;
}
.masseccion ul ul {
    position: absolute;
    z-index: 999999;
    display: none;
    margin: 0;
    top: 0;
    right: -256px;
    background: transparent !important;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
    border-right: solid 2.5px rgb(0, 149, 58);
}
.masseccion ul li:hover ul {
    display: block;
}
.masseccion ul ul li {
    margin: 0;
    display: block;
    min-width: 256px;
    max-width: 256px;
    background-color: white !important;
    position: relative;
    border-bottom: 1px solid rgba(0, 128, 0, 0.05) !important;
}
.masseccion ul ul li a {
    color: #002F87;
    padding: 10px 13px;
    text-transform: initial;
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    background-color: transparent !important;
}
.masseccion ul ul li.active > a,
.masseccion ul ul li a:focus,
.masseccion ul ul li a:hover {
    border-radius: initial;
    color: #002F87;
    text-decoration: none;
    background-image: initial;
    background-color: rgba(1, 47, 135, 0.07) !important;
}
.masseccion ul ul li:first-child {
    border-radius: 2px 2px 0 0;
}
.masseccion ul ul li:last-child {

}
#lanoticias h2 {
    margin: 36px 0 0 0;
    padding: 0 0 4px 0;
    font-size: 30px;
    color: #358d37;
    font-weight: bold;
    border-bottom: 1px solid #358d37;
}
#lanoticias .panel-heading a {
    text-decoration: none;
}
#lanoticias .panel-heading h3 {
    margin: 0;
    font-size: 16px;
    color: inherit;
    text-align: left;
    font-weight: 900;
    height: 39px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-overflow: -o-ellipsis-lastline;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    -moz-box-orient: vertical;
    -moz-line-clamp: 2;
    line-height: 20px;
}
#lanoticias hr {
    margin-top: 5px;
    margin-bottom: 4px;
    border: 0;
    border-top: 1px solid rgba(238, 238, 238, 0.15);
}
#lanoticias .catItemDateCreated {
    color: rgb(237, 237, 237);
    font-style: italic;
    font-size: 12px;
    text-transform: uppercase;
}
.panel-primary>.panel-heading {
    color: #fff;
    background-color: #141b22;
    border-color: #2c8d44;
}
#lanoticias .panel-primary {
    border-color: #a0c13c;
}
#lanoticias .panel-body {
    padding: 0;
    height: 245px;
    background-color: #2c8d44;
}
#lanoticias .panel-body a {
    background-color: red;
    display: block;
    -webkit-background-size: cover;
    background-size: cover;
    background-position: 50% 50%;
    height: 245px;
}
#lanoticias .panel-body img {
    height: 225px;
    width: 100%;
    visibility: hidden;
}
#k2Pagination {
    overflow: hidden;
    clear: both;
}
#headerMobile {
    background-color: white;
    padding: 7px 0;
    position: relative;
    overflow: hidden;
    box-shadow : 0px 4px 8px rgba(35, 31, 32, 0.14);
}
#headerMobile .btnMobile {
    background-color: #2c8d44;
    border-radius: 0;
    position: absolute;
    top: 0;
    right: 0;
    padding: 0 16px;
    bottom: 0;
    color: white;
}
.la-menu ul {
    display: none;
}
.la-menu {
    background-color: #2c8d44;
    display: none !important;
}
.la-menu ul {
    margin: 0;
    padding: 0;
}
.la-menu ul li {
    display: block;
    line-height: 1;
    border-bottom: 1px solid #067E40;
}
.la-menu ul li a {
    display: block;
    color: white;
    padding: 15px 12px;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 14px;
}
.la-menu ul li a:hover,
.la-menu ul li a:focus,
.la-menu ul li.active a {
    background-color: #2c8d44;
    transition: ease all .5s;
}
.la-menu ul li ul {
    z-index: 999;
    padding-top: 3px;
}
.la-menu ul li ul li {
    display: block;
    background-color: rgb(102, 154, 115);
    border-bottom: 1px solid #067E40;
}
.la-menu ul li ul li a {
    text-transform: inherit;
    line-height: normal;
    padding: 15px 29px;
    font-style: italic;
    font-size: 12px;
}
.la-menu ul li ul li a:hover,
.la-menu ul li ul li a:focus,
.la-menu ul li ul .active a {
    background-color: #067E40;
}
#phoca-dl-categories-box .pd-subcategory, #phoca-dl-category-box .pd-subcategory {
    padding-left: 67px;
    display: block;
    min-height: 65px;
}
#phoca-dl-category-box .pd-subcategory a {
    display: block;
    text-align: left;
    /*color: #282849;*/
    line-height: 1;
    padding: 17px 0;
    text-decoration: none;
}
#phoca-dl-category-box .pd-subcategory small {
    display: none;
}

/*Version Movil*/
#headerMobile {
    background-color: white;
    max-height: 70px;
    position: relative;
    overflow: hidden;
    box-shadow : 0px 4px 8px rgba(35, 31, 32, 0.14);
}
#headerMobile .btnMobile {
    background-color: #2c8d44;
    border-radius: 0;
    position: absolute;
    top: 0;
    right: 0;
    padding: 0 16px;
    bottom: 0;
    color: white;
}
#headerMobile .rdMobile {
    padding: 12px 80px;
}
.controles {
    background-color: rgba(0, 47, 135, 0.1);
    overflow: hidden;
    min-height: 50px;
}
.controles .input-group-btn {
    display: none !important;
}
.controles .part-m {
    padding: 0;
}
.controles .input-group {
    width: 95%;
}
.controles input {
    width: 100px;
    height: 40px;
    background-color: white;
    border: solid 1px #002F87;
    border-radius: 5px !important;
    margin: 5px;

    font-style : italic;
    font-size : 15px;
    color : #1E171C;
}
.controles button {
    background-color: #002F87;
    width: 100%;
    display: block;
    color: white;
    border: none;
    border-radius: 0;
    line-height: 15px;
    padding: 12px 0;
}
.controles button:focus {
    color: white;
}
.la-menua {
    background-color: #002F87;
}
.la-menua ul {
    display: none;
    margin: 0;
    padding: 0;
}
.la-menua li {
    display: block;
    border-bottom: solid 1px rgba(255, 255, 255, 0.17);
}
.la-menua ul .parent a .caret {
    margin-left: 7px;
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
}
.la-menua li a {
    display: block;
    color: white;
    padding: 12px 15px !important;
}
.la-menua li a:hover,
.la-menua li a:focus {
    background-color: #002F87;
    color: white;
}
.la-menua ul ul {
    background-color: #4e6ebf;
    display: none;
}
/*Fin de la version  movil*/
#sellos {
    position: absolute;
    right: 0;
}
#sellos .sellos {
    display: inline-block;
    margin: 40px 2px;
}
select {
    box-shadow: 0 0 9px 0px rgba(0, 0, 0, 0.11);
    padding: 10px 15px;
    border: none;
    margin-left: 7px;
    border-radius: 7px;
    color: #908787;
}
select:focus {
    outline: none;
}

/*Controles*/
#controles ul {
    padding: 0;
    margin: 0 0 25px 0;
    border-top: solid 1px rgba(0, 9, 71, 0.09);
    border-bottom: solid 1px rgba(0, 9, 71, 0.09);
}
#controles ul li {
    display: inline-block;
    margin-right: 12px;
}
#controles ul li a {
    font-size: 1.1em;
    padding: 12px 0 12px;
    display: block;
}

/*Fin de los Controles*/

#k2Container .jsn-captcha-image {
    width: initial !important;
}
#k2Container .highlight {
    color: black;
    padding: 0 5px;
    display: inline-block;
}
