@font-face {
    font-family: 'Open Sans';
    src: url('fonts/OpenSans-Regular.eot?') format('eot'), url('fonts/OpenSans-Regular.woff') format('woff'), url('fonts/OpenSans-Regular.ttf') format('truetype'), url('fonts/OpenSans-Regular.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

html {
    font-size: 100%;
}

body {
    text-align: center;
    height: 100%;
    background: #fff;
    color: #575757;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 1rem;
    background: url('../imgTemplate/bg-body.png');
}


/* --------------------CABECERA-------------------- */

#banderas {
    position: absolute;
    right: 0;
    top: 2px;
}

#cabecera {
    position: relative;
    text-align: center;
    width: 100%;
}

#cabeceraContainer {
    background: url("../imgTemplate/bg-header-container.png");
    position: relative;
    margin: auto;
    max-width: 980px;
    height: 131px;
    text-align: left;
    color: #FFFFFF;
}

#ContactInformationHeader {
    height: 66px;
    position: absolute;
    right: 20px;
    top: 22px;
    width: 400px;
    background: url('../imgTemplate/icon-telephone.png') no-repeat left center;
}

#ContactInformationHeader .ContactInformationMail {
    position: absolute;
    left: 44px;
    bottom: 5px;
    text-align: left;
}

#ContactInformationHeader .ContactInformationMail a {
    color: #6b533d;
    font-size: 13px;
    font-weight: normal;
}

#ContactInformationHeader .ContactInformationPhone {
    position: absolute;
    left: 44px;
    top: 5px;
    text-align: left;
    color: #6b533d;
    font-size: 27px;
    font-weight: bold;
}

#HeaderIcons {
    height: 30px;
    left: 20%;
    position: absolute;
    top: 5px;
    z-index: 201;
}

#logoCabecera {
    left: 20px;
    position: absolute;
    top: 27px;
}

#menu {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 200;
}

#SearchBox {
    background: url("../imgTemplate/search-input.png") no-repeat;
    height: 43px;
    position: absolute;
    left: 270px;
    top: 34px;
    width: 263px;
    z-index: 201;
}

#SearchBoxButton {
    border: medium none;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 15px;
    top: 10px;
}

#SearchBoxInput {
    border: 0px none;
    color: #828386;
    font-size: 14px;
    height: 23px;
    left: 9px;
    padding: 0;
    position: absolute;
    top: 8px;
    width: 205px;
}


/* --------- Pie --------- */

#pie {
    position: relative;
    text-align: center;
    width: 100%;
}

#pieContainer {
    position: relative;
    clear: both;
    max-width: 980px;
    height: 121px;
    margin: auto;
    background: url(../imgTemplate/bg-footer-container.png) no-repeat center top;
}

#pieContainer a {
    color: #3e3e3e;
}

#dusnic {
    bottom: 20%;
    position: absolute;
    right: 1%;
    z-index: 15;
}

#logoText {
    bottom: 20%;
    position: absolute;
    left: 1%;
    z-index: 15;
}

#dusnic a:hover {
    text-decoration: underline;
}

#legal {
    bottom: 60%;
    left: 0;
    position: absolute;
}

#dusnic a,
#legal a {
    color: #f39400;
    padding-right: 20px;
}

#ContactInformationFooter {
    bottom: 19%;
    right: 31%;
    position: absolute;
}

#ContactInformationFooter .ContactInformationMail {
    display: inline-block;
    text-align: left;
    padding: 0 2rem;
}

#ContactInformationFooter .ContactInformationMail a {
    color: #FFF;
    font-size: 1.1rem;
    font-weight: normal;
}

#ContactInformationFooter .ContactInformationPhone {
    font-size: 1.2rem;
    font-weight: bold;
    display: inline-block;
}

#separador {
    clear: both;
}

#social_footer {
    position: relative;
    text-align: center;
    width: 100%;
}

#social_footer a {
    display: inline-block;
    margin: 0 5px;
}

.social_button {
    width: 35px;
    height: 35px;
    display: block;
    margin: 5px 0;
    background: url("../imgTemplate/icons-social-networks.png")no-repeat;
}

.social_button.facebook {
    background-position: 0 0;
}

.social_button.twitter {
    background-position: -45px 0;
}

.social_button.facebook:hover {
    background-position: 0 -35px;
}

.social_button.twitter:hover {
    background-position: -45px -35px;
}


/* ----------CUERPO----------- */

#cuerpo {
    background: #ffffff url("../imgTemplate/fondoCuerpo.jpg") repeat-x scroll center top transparent;
    position: relative;
    text-align: center;
    width: 100%;
}

#cuerpoContainer {
    position: relative;
    max-width: 980px;
    margin: auto;
    text-align: left;
    background: #fff;
}


/* --------- Columna lateral --------- */

#columnaLateral {
    float: left;
    margin-left: 20px;
    overflow: hidden;
    width: 220px;
}

.boxTitle {
    position: relative;
    width: inherit;
    height: 43px;
    background: url(../imgTemplate/bg-block-title.jpg) no-repeat;
    width: 245px;
}

.boxTitleText {
    font-weight: bold;
    font-size: 11pt;
    position: absolute;
    top: 10px;
    left: 10px;
    color: #FFF;
}

.boxContent {
    padding: 10px;
}

#subColumnaLateral {
    float: left;
    margin-left: 20px;
    overflow: hidden;
    max-width: 220px;
}

#columnaLateralBanner {
    background: url('../imgTemplate/bg-slogan.png') no-repeat;
    position: relative;
    width: 220px;
    height: 186px;
    margin-top: 20px;
}

#columnaLateralBannerTexto {
    font-size: 14px;
    margin-top: 40px;
    color: #666a6a;
    position: absolute;
    padding: 10px;
    text-align: center;
}

#columnaLateralMenuPers {
    position: relative;
    margin: 15px 0px;
}

#columnaLateralMenuPersTitle {
    color: #f39400;
    font-size: 30px;
}

.columnaLateralMenuPersLink a {
    display: block;
    border-bottom: 1px dotted #baafa4;
    font-size: 13px;
    color: #6b533d;
    padding: 5px 0px;
}

.columnaLateralMenuPersLink a:hover {
    text-decoration: none;
    color: #f39400;
}


/*------ CONTENIDO -----*/

#contenido {
    padding: 0 20px;
    position: relative;
    width: 700px;
    float: right;
    min-height: 300px;
}


/*INICIO DE BOXES*/

.boxLogin .error {
    left: 10px;
    position: absolute;
    width: 198px;
}

.boxLogin p {
    font-size: 9px;
    padding: 5px;
    margin: 0px;
    color: red;
}

.noticiaBox {
    position: relative;
}

.tituloNoticiaBox {
    position: relative;
    margin-bottom: 10px;
    margin-left: 5px;
    z-index: 50;
}

.tituloNoticiaBox a {
    font-size: 12px;
    text-decoration: none;
    font-weight: bold;
}

.imgNoticiaBox {
    margin-left: 10px;
    z-index: 50;
}

.resumenNoticiaBox {
    position: relative;
    margin: 10px;
    z-index: 50;
    font-size: 11px;
}

.leerMasNoticaBox {
    margin-left: 10px;
    z-index: 50;
}


/* ------------ ESTILOS DE LISTADO DE PRODUCTOS --------------------------*/

.cuadroProd {
    border: 1px solid #E5E1D8;
    display: inline-block;
    margin: 1.3%;
    position: relative;
    vertical-align: top;
    width: 30%;
}

.cuadroProd:hover {
    border: 1px solid #F39400;
}

.listadoImagenProducto {
    text-align: center;
    padding: .5rem;
}

.listadoProductosNombre {
    padding: .5rem;
    text-align: center;
}

.listadoProductosNombre a {
    font-size: 1.1rem;
    color: #044C72;
}

.listadoProductosDescripcion {
    font-size: 0.9rem;
    text-align: justify;
    overflow: hidden;
    color: #575757;
    padding: .5rem;
    min-height: 6rem;
}

.listadoProductosBotonIr {
    padding: .5rem;
}

.listadoProductosBotonIr a {
    font-size: 0.9rem;
    color: #044C72;
}

.numeroPaginas a {
    color: #333;
    text-decoration: none;
}

.numeroPaginas a:hover {
    text-decoration: underline;
}

.paginaActual {
    font-size: 14px;
    font-weight: bold;
}


/* ------------ FIN DE ESTILOS LISTADO DE PRODUCTOS -------------------*/

.button_back {
    display: block;
    margin: 2rem auto;
    background: #F6F5F2;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    width: 3rem;
    text-align: center;
    color: #6E5640;
    font-weight: normal;
    border: 1px solid #ccc;
}

.button_back:hover {
    background: #F39400;
    text-decoration: none;
    color: #fff;
}

.button_back {
    display: inline-block;
    margin: 10px 0px 25px;
    background: #F6F5F2;
    padding: 0.2em 1rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    width: 4rem;
    text-align: center;
    color: #6E5640;
    font-weight: normal;
}

.button_back:hover {
    background: #F39400;
    text-decoration: none;
    color: #fff;
}

.nombreSeccion a {
    font-size: 20px;
    color: #F39400;
}


/* ------------ ESTILOS DE LISTADO DE NOTICIAS --------------------------*/

.cuadroNoticia {
    margin: 1rem 0;
    position: relative;
    width: 100%;
}

h2 a {
    color: inherit;
}

.listadoNoticiaImagen {
    display: inline-block;
    margin: 1%;
    vertical-align: top;
    width: 20%;
}

.listadoNoticiaTitulo {}

.listadoNoticiaContenido {
    display: inline-block;
    margin: 1%;
    vertical-align: top;
    width: 75%;
}

.listadoNoticiamasInfo {
    margin: 0.5rem;
    text-align: right;
}


/* ------------ FIN DE ESTILOS LISTADO DE NOTICIAS -------------------*/


/* ------------- Asteriscos de Contactar -------------- */

.asterisco {
    font-size: 16px;
    color: #E37F41;
}


/* ------------ FIN DE ESTILOS LISTADO DE SECCIONES -------------------*/

.imagenes_secciones {
    display: inline-block;
    margin: 2%;
    width: 20%;
}


/* ESTILOS GENERALES */

h1 {
    color: #6b533d;
    font-size: 1.7rem;
    margin-bottom: 0.6rem;
    margin-top: 0.6rem;
    font-weight: normal;
}

h2 {
    color: #6b533d;
    font-size: 1.2rem;
    font-weight: normal;
    margin: 1rem 0rem;
    padding: 0;
}

a {
    color: #000;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #000;
}

table {
    width: 100%;
}

p,
li {
    font-size: 0.95rem;
    line-height: 1.3rem;
}

p {
    margin: 0.5rem 0rem;
}

strong,
b {
    font-weight: bold;
    color: #044C72;
}

input {
    border: 1px solid #999999;
    margin: 0.1rem;
    padding: 0.1rem;
}

td input,
textarea {
    max-width: 300px;
    width: 90%;
}

img {
    border: none;
    max-width: 100%;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

td {
    font-size: 0.9em;
}


/*^-----------COOKIES------------*/

#cookies-message {
    bottom: 0;
    font-family: Arial, Verdana;
    font-size: 14px;
    position: fixed;
    text-align: center;
    width: 100%;
    z-index: 999999999;
    background: none repeat scroll 0 0 rgba(221, 221, 221, 0.9);
    border-top: 1px solid #AAAAAA;
}

#cookies-message-container {
    margin: 5px auto;
    text-align: center;
    position: relative;
    text-align: center;
    width: 90%;
}

@media screen and (max-width: 980px) {
    #columnaLateral {
        width: 100%;
        max-width: 100%;
        margin: 0px;
    }
    #contenido {
        padding: 0px;
        position: relative;
        max-width: 100%;
        float: right;
    }
    #columnaLateral {
        min-width: 220px;
    }
    #subColumnaLateral {
        float: none;
        margin-left: 0px;
        overflow: hidden;
        min-width: 100%;
    }
    #trigerMenu {
        display: block !important;
    }
    #trigerMenu a {
        display: block;
        width: 100%;
        background-color: #69503A;
        color: #FFF;
        padding: 10px 0px;
        text-align: center;
    }
    #trigerMenu a:hover {
        text-decoration: none;
    }
    #listenMenu {
        display: none;
    }
    #SearchBox {
        background: url("../imgTemplate/search-input.png") no-repeat;
        height: 43px;
        position: relative;
        width: 263px;
        z-index: 201;
    }
    #columnaLateralBanner {
        background: #EFEFF1 none;
        position: relative;
        width: 100%;
        height: auto;
        margin-top: 20px;
    }
    #columnaLateralBannerTexto {
        font-size: 14px;
        margin-top: 40px;
        color: #666a6a;
        position: relative;
        padding: 10px;
        text-align: center;
    }
    #cabeceraContainer {
        background: none;
        position: relative;
        margin: auto;
        max-width: 980px;
        height: auto;
        text-align: left;
        color: #FFFFFF;
    }
    #logoCabecera {
        left: 0px;
        position: relative;
        top: 0px;
        text-align: center;
    }
    #SearchBox {
        background: #FFF;
        height: 43px;
        position: relative;
        width: 100%;
        z-index: 201;
        top: 0px;
        left: 0px;
    }
    #ContactInformationHeader {
        height: auto;
        position: relative;
        right: 0px;
        top: 0px;
        width: 100%;
        background: none;
    }
    #ContactInformationHeader .ContactInformationPhone {
        position: relative;
        left: 0px;
        top: 0px;
        text-align: left;
        color: #6b533d;
        font-size: 1.3em;
        font-weight: bold;
        text-align: center;
    }
    #ContactInformationHeader .ContactInformationMail {
        position: relative;
        left: 0px;
        bottom: 0px;
        text-align: center;
    }
    #contenido {
        padding: 0px;
        position: relative;
        width: 100%;
    }
    #separadorColumna {
        clear: both;
    }
    #pieContainer {
        position: relative;
        clear: both;
        max-width: 980px;
        height: auto;
        margin: auto;
        background: #FFF none;
    }
    #logoText {
        bottom: 0px;
        position: relative;
        left: 0px;
        z-index: 15;
    }
    #legal {
        bottom: 0;
        left: 0;
        position: relative;
    }
    #dusnic {
        position: relative;
        right: 0;
        bottom: 0;
        z-index: 15;
        margin-top: 30px;
    }
    #ContactInformationFooter {
        bottom: 0;
        right: 0;
        position: relative;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 90%;
    }
    #menu {
        position: relative;
    }
    .cuadroProd {
        width: 46%;
        margin: 1%;
    }
    .imagenes_secciones {
        margin: 1%;
        width: 31%;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 85%;
    }
    #HeaderIcons {
        display: none;
    }
    #ContactInformationHeader {
        width: 100%;
    }
    #ContactInformationFooter {
        padding: 0.5rem
    }
    .cuadroProd {
        width: 100%;
        margin: 1rem 0;
        border: none;
    }
    .cuadroProd:hover {
        border: none;
    }
    .imagenes_secciones {
        margin: 5%;
        width: 40%;
    }
    .listadoNoticiaImagen {
        width: 100%;
        text-align: center;
    }
    .listadoNoticiaContenido {
        width: 98%;
        padding: 1%;
    }
}