html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    box-sizing: border-box;
}

body {
    line-height: 1;
    overflow-x: hidden;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}


:focus {
    outline: 0;
}


ins {
    text-decoration: none;
}

del {
    text-decoration: line-through;
}


table {
    border-collapse: collapse;
    border-spacing: 0;
}

.clear {
    clear: both;
    
    display: block;
    height: 100%;
}

.left {
    float: left;
}

h1 {
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 600;
    font-size: 40px;
    float: right;
    color: rgb(20, 143, 179);
    text-transform: uppercase;
}

h2 {
    font-family: "Source Sans Pro", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: rgb(0, 0, 0);
    margin-bottom: 15px;
}

h3 {
    font-size: 15px;
    color: #0786CE;
    margin-bottom: 10px;
    margin-top: 10px;
}

body {
    background-color: rgb(236, 236, 236);
    background-image: url(../img/bg.png);
    background-repeat: no-repeat;
    background-position: top;
    background-position-y: 150px;
    font-family: "Source Sans Pro", sans-serif;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#contenedor {
    padding: 0.5em 0.5em;
    margin: 1em 7%;
}

#contenedor:before {
    content: "";
    position: absolute;
    height: 185px;
    left: 0;
    right: 0;
    background: -o-linear-gradient(left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
    background: -moz-linear-gradient(left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#00ffffff', GradientType=1);
    z-index: -9999;
}

#cabecera {
    height: 185px;
    background-repeat: no-repeat;
    background-image: url('../img/logo_ministerio.gif');
    background-position: 0 25px;
}

#cabecera:before {
    position: relative;
    content: url('../img/logo.png');
    left: 286px;
    top: 25px;
}

#cabecera h1 {
    line-height: 185px;
}



#menu {
    height: auto;
    position: relative;
    width: 100%;
    float: right;
    clear: both;
}

#menu ul {
    color: #FFFFFF;
    font-family: "Source Sans Pro", sans-serif;
    position: relative;
    float: right;
    margin: -50px 0 0 0;
}

#menu ul li {
    float: left;
    list-style-type: none;
    width: auto;
    margin: 0 25px;
}

#menu ul li a {
    color: rgb(87, 87, 86);
    text-decoration: none;
    display: block;
    text-align: center;
    height: 29px;
    padding-top: 10px;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 600;
    font-size: 15px;
    text-transform: lowercase;
}

#menu ul li.main-left {
}

#menu ul li.main-right {
    border: none;
    margin-right: 0;
}

#menu ul li a:hover, #menu ul li a.active {
    height: 29px;
}

#menu ul li a:hover, #menu ul li a.active,
#menu ul li.main-left a:hover, #menu ul li a.active-left,
#menu ul li.main-right a:hover, #menu ul li a.active-right{
    color: rgb(20, 143, 179);
}

#contenido {
    display: block;
    padding-top: 26px;
}

#col_izq {
    float: left;
    width: 300px;
    padding: 0 25px 25px 0;
    background-position: top;
}

#col_izq span.pie {
    background-image: url(../img/bg_pie_col_izq.gif);
    height: 15px;
    width: 222px;
    background-repeat: no-repeat;
    display: block;
    background-color: #FFF;
}

#col_izq span.cabeza {
    display: none;
}

ul#nav {
    margin: 0px;
    float: left;
    padding: 15px 25px;
    border: 1.25px solid rgb(20, 143, 179);
    background: #fff;
    border-top-width: 7px;
    width: 100%;
}

ul#nav li {
    display: block;
    padding: 5px 0;
    background: #fff;
    width: 100%;
    float: left;
    clear: both;
}

ul#nav li a {
    background: rgb(209, 213, 221);
    color: rgb(103, 103, 103);
    float: left;
    font-family: "Source Sans Pro", sans-serif;
    text-transform: lowercase;
    font-size: 14px;
    font-weight: 400;
    padding: 1em 22px;
    text-decoration: none;
    width: 100%;
}

ul#nav li a:hover, ul#nav li a.active {
    color: rgb(29, 29, 27);
    font-weight: 400;
    background-color: rgba(20, 143, 179, 0.3);
    
}

ul#nav li ul {
    background: none repeat scroll 0 0 transparent;
    padding: 0;
}

ul#nav li ul li {
    background: none repeat scroll 0 0 transparent;
    font-size: 12px;
    padding: 0;
}

ul#nav li ul li a {
    font-size: 12px;
    list-style: none outside none;
    padding: 6px 0 6px 45px;
}

ul#nav li ul li a:hover, ul#nav li ul li a.active {
}

#col_central {
    font-size: 14px;
    font-weight: 400;
    color: rgb(87, 87, 86);
    line-height: normal;
    float: left;
    padding: 15px 25px;
    border: 1px solid rgb(20, 143, 179);
    background: #fff;
    margin-bottom: 26px;
    max-width: calc(100% - 300px);
    min-width: 450px;
}

#col_central.peq {
}

.gra {
    max-width: calc(100% - 358px);
    min-width: 500px;
}

#col_central p {
}
#contacto p a,
#col_central p a {
    color: rgb(20, 143, 179);
    text-decoration: none;
}

#col_central .siguiente a {
    color: rgb(20, 143, 179);
    display: block;
    float: right;
    font-size: 14px;
    text-decoration: none;
    background-image: url(../img/bg_siguiente.png);
    background-repeat: no-repeat;
    background-position: right;
    line-height: normal;
    font-weight: 600;
    padding-right: 25px;
    margin-top: 10px;
}

#col_central .siguiente a:hover {
    text-decoration: underline;
}

#col_central ul li {
    background-image: url(../img/bullet_central.gif);
    background-repeat: no-repeat;
    background-position: left 6px;
    padding-left: 12px;
    display: block;
    margin-top: 5px;
}

#col_central img {
    margin-right: 3px;
    margin-left: 3px;
}

#col_central img.centrada {
    display: block;
    margin-top: 25px;
    margin-right: auto;
    margin-bottom: 25px;
    margin-left: auto;
}

#col_central span.numero {
    font-weight: bold;
    color: #09c;
}

#col_dcha {
    font-size: 14px;
    font-weight: 400;
    color: rgb(87, 87, 86);
    line-height: normal;
    padding: 15px 25px;
    border: 1.25px solid rgb(20, 143, 179);
    background: #fff;
    float: right;
    margin: 0 0 26px 26px;
    width: 100%;
}

#col_dcha {
    width: 200px;
}

#col_dcha h3 {
    font-family: "Source Sans Pro", sans-serif;
    color: rgb(0, 0, 0);
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 5px;
}

#col_dcha ul {
    float: left;
}

#col_dcha li a {
    color: rgb(87, 87, 86);
    font-size: 14px;
    text-decoration: none;
    font-family: "Source Sans Pro", sans-serif;
    display: block;
    margin: 0;
    float: left;
    padding: 5px 0 5px 40px;
}

#col_dcha li {
    display: block;
    float: left;
    clear: both;
    background-position: 10px 50%;
    line-height: normal;
    padding: 1px 0 1px 0;
}

#col_dcha li.zoom {
    background-image: url(../img/icono_zoomcaja.png);
    background-repeat: no-repeat;
    background-size: 23px
}

#col_dcha li.mover {
    background-image: url(../img/mover_icon.png);
    background-repeat: no-repeat;
}

#col_dcha li.extension_total {
    background-image: url(../img/icono_inicio.png);
    background-repeat: no-repeat;
    background-size: 23px
}

#col_dcha li.identificar {
    background-image: url(../img/icon_identificar.png);
    background-repeat: no-repeat;
    background-size: 23px
}
#col_dcha li.saih {
    background-image: url(../img/icono_saih.png);
    background-repeat: no-repeat;
    background-size: 26px
	}
#col_dcha li.aforos {
    background-image: url(../img/icono_aforos.png);
    background-repeat: no-repeat;
    background-size: 23px
}
#col_dcha li.snczi {
    background-image: url(../img/icono_snczi.png);
    background-repeat: no-repeat;
    background-size: 24px
}
#col_dcha li.rrss {
    background-image: url(../img/icono_rrss.png);
    background-repeat: no-repeat;
    background-size: 26px
}
#col_dcha li.contacto {
    background-image: url(../img/icono_contacto.png);
    background-repeat: no-repeat;
    background-size: 24px
}

#col_dcha li.coordenadas {
    background-image: url(../img/icono_coordenadas.png);
    background-repeat: no-repeat;
    background-size: 24px
}

#col_dcha li.medir {
    background-image: url(../img/icono_medir.png);
    background-repeat: no-repeat;
    background-size: 23px
}

#col_dcha li.limpiar {
    background-image: url(../img/limpiar_icon.png);
    background-repeat: no-repeat;
}

#col_dcha li.sigpac {
    background-image: url(../img/icono_sigpac.gif);
    background-repeat: no-repeat;
}

#col_dcha li.imprimir {
    background-image: url(../img/imprimir_icon.png);
    background-repeat: no-repeat;
}

#col_dcha li.tematicos {
    background-image: url(../img/icono_tematicos.gif);
    background-repeat: no-repeat;
}

#col_dcha li.sanidad_animal {
    background-image: url(../img/icono_sanidad_animal.gif);
    background-repeat: no-repeat;
}

#col_dcha li.recordar {
    background-image: url(../img/icono_guardar.png);
    background-repeat: no-repeat;
    background-size: 23px
}

#col_dcha li.marcadores {
    background-image: url(../img/icon_marcadores.png);
    background-repeat: no-repeat;
    background-size: 23px
}

#col_dcha li.geolocalizacion {
    background-image: url(../img/icono_geolocalizacion.gif);
    background-repeat: no-repeat;
}

#col_dcha li.ayuda {
    background-image: url(../img/icono_ayuda.png);
    background-repeat: no-repeat;
    background-size: 23px
}
#col_dcha li.guia-playas {
    background-image: url(../img/icon_playas.png);
    background-repeat: no-repeat;
    background-size: 24px
}
#col_dcha li.compartir {
    background-image: url(../img/icono_redes_sociales.png);
    background-repeat: no-repeat;
    background-size: 23px
}

#col_dcha li.leyenda {
    background-image: url(../img/icono_leyenda.gif);
    background-repeat: no-repeat;
}

#col_dcha li.localizar {
    background-image: url(../img/icon_localizar.png);
    background-repeat: no-repeat;
    background-size: 23px
}

#col_dcha li.situacion {
    background-image: url(../img/icono_situacion.gif);
    background-repeat: no-repeat;
}

#col_dcha li.mora{
	background-image:url(../img/icono-mora-dano.png);
	background-repeat:no-repeat;
	background-size: 23px
	}
	
#col_dcha li.busqueda_metadatos {
    background-image: url(../img/metadatos_icon.png);
    background-repeat: no-repeat;
}
#col_dcha li.alimentacion {
    background-image: url(../img/icon_alimentacion.png);
    background-repeat: no-repeat;
    background-size: 24px
} 
#col_dcha li.perfil {
    background-image: url(../img/icono_perfil_23px.png);
    background-repeat: no-repeat;
    background-size: 23px
}
#col_dcha li.cultivos{
	background-image:url(../img/icono_cultivos.png);
	background-repeat:no-repeat;
    background-size: 23px
	}
#col_dcha li.estaciones{
	background-image:url(../img/icono_estaciones.png);
	background-repeat:no-repeat;
    background-size: 23px
	}
#col_dcha li a:hover, #col_dcha li a.active {
    color: rgb(20, 149, 173);
}

#pie {
    margin: 0 auto;
    width: 100%;
    padding: 0;
}

#contacto {
    position: relative;
    margin: 0 -9600rem;
    padding: 1rem 9600rem;
    background: #666;
    background: rgba(0, 0, 0, 0.25);
    z-index: 0;
    font-size: 12px;
    font-weight: 400;
    color: rgb(87, 87, 86);
    line-height: 30px;
    background: -o-linear-gradient(left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
    background: -moz-linear-gradient(left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#00ffffff', GradientType=1);
}

#contacto:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 9598.5rem;
    right: 9598.5rem;
}

#contacto a {
    padding: 0 35px;
    line-height: 22px;
    background: url('../img/icono_contacto.png') 5px no-repeat;
    background-size: 22px;
    display: inline-block;
}



#contenido .caja {
    border: 1px solid #CCCCCC;
    float: left;
    height: 268px;
    line-height: 1.3;
    margin: 0 10px 0 0;
    padding: 4px;
    position: relative;
    width: 198px;
}

#contenido .caja h4 {
}

#contenido .caja h4 a {
    color: #0786CE;
    text-decoration: none;
}

#contenido .caja p {
}

#contenido .caja p a {
    color: #0786CE;
    font-weight: bold;
    padding: 4px;
    text-decoration: underline;
}

#contenido .caja .espacio_superior {
    bottom: 0;
    height: 196px;
    position: absolute;
}

#contenido .caja p a {
    color: #0786CE;
    font-weight: bold;
    padding: 4px;
    text-decoration: underline;
}

#contenido .caja .espacio_superior img {
    display: inline;
    margin: 0;
}

.siguiente {
    float: right;
    clear: both;
}

#col_izq {
    width: 300px;
    padding: 0 26px 26px 0;
}

#col_dcha {
    width: 224px;
}

#col_central.gra {
    width: calc(100% - 300px)
}

#col_central.peq {
    width: calc(100% - 300px - 224px - 26px);
}

@media only screen and (min-width: 993px) and (max-width: 1280px) {

    #col_central.gra,
    #col_central.peq {
        float: right;
        max-width: none;
        width: calc(100% - 250px);
    }

    #col_izq {
        width: 250px;
    }

    #col_dcha {
        float: left;
        margin: 0;
    }
}

@media only screen and (min-width: 769px) and (max-width: 992px) {

    #contenedor {
        padding: 0 26px;
        margin: 0;
    }

    #col_izq {
        width: 250px;
        padding: 0 26px 26px 0;
    }

    #col_central.gra,
    #col_central.peq {
        float: right;
        width: calc(100% - 250px);
        max-width: none;
    }

    #col_dcha {
        float: left;
        margin: 0 0 26px 0;
    }
}

@media only screen and (min-width: 651px) and (max-width: 768px) {

    #contenedor {
        padding: 0 26px;
        margin: 0;
    }

    #col_central.gra,
    #col_central.peq {
        max-width: none;
        float: right;
        clear: none;
        width: 100%;
    }

    #col_izq {
        width: 100%;
        padding: 0 0 26px;
    }

    #col_dcha {
        width: 100%;
    }
}

@media only screen and (min-width: 569px) and (max-width: 650px) {

    #cabecera,
    #contenedor:before {
        float: left;
        clear: both;
        width: 100%;
    }
    
    #cabecera {
        background-position: 0 0;
        height: auto;
        margin-bottom: 26px;
        background-position: center top;
    }
    
    #cabecera:before {
        position: relative;
        left: 0;
        top: 0;
        float: left;
        margin-top: 72px;
        max-width: 40%;
        padding: 5px 10% 5px 0;
    }
    
    #cabecera h1 {
        position: relative;
        float: left;
        clear: both;
        line-height: 40px;
        width: 100%;
        text-align: center;
        padding: 15px 0;
    }

    #cabecera h1 {
        float: right;
        text-align: left;
        margin-left: 20px;
        max-width: 40%;
        width: auto;
        clear: none;
        margin-top: 72px;
        padding: 5px 0 5px;
    }
    
    #menu {
        width: 100%;
        float: left;
        clear: both;
        height: auto;
        padding: 0 10%;
    }
    
    #menu ul {
        position: relative;
        width: 100%;
        float: left;
        clear: both;
        margin: 0;
    }

    #menu ul li {
        width: 25%;
        margin: 0;
    }

    #menu ul li a {
        width: 100%;
    }

    #col_central.gra,
    #col_central.peq {
        max-width: none;
        float: right;
        clear: none;
        width: 100%;
    }

    #col_izq {
        width: 100%;
        padding: 0 0 26px;
    }

    #col_dcha {
        width: 100%;
    }
}

@media only screen and (max-width: 568px) {

    #cabecera,
    #contenedor:before {
        float: left;
        clear: both;
        width: 100%;
    }

    #cabecera {
        background-position: 0 0;
        height: auto;
        margin-bottom: 26px;
    }

    #cabecera:before {
        float: right;
        position: relative;
        left: 0;
        top: 0;
        padding: 5px 26px 0 0;
    }

    #cabecera h1 {
        float: left;
        clear: both;
        line-height: 40px;
        width: 100%;
        text-align: center;
        padding: 15px 0;
        position: relative;
    }

    #contenedor {
        margin: 0;
        padding: 0;
    }
    #pie {
        padding: 0 15px;
    }
    #menu {
        width: 100%;
        float: left;
        clear: both;
        height: auto;
        padding: 0 10%;
    }

    #menu ul {
        position: relative;
        width: 100%;
        float: left;
        clear: both;
        margin: 0;
    }

    #menu ul li {
        width: 25%;
        margin: 0;
    }

    #menu ul li a {
        width: 100%;
    }

    #col_dcha, #col_central, #col_izq, ul#nav, ul#nav li, ul#nav li a {
        width: 100%;
        border: none;
    }

    #col_izq {
        padding: 0;
    }

    #col_central {
        margin: 20px 0;
    }

    #col_central.peq,
    #col_central.gra {
        min-width: 0;
        max-width: none;
        width: 100%;
    }

    #col_central {
        width: 100%;
    }

    #cabecera {
        background-position: center top;
    }

    #cabecera:before {
        float: left;
        margin-top: 72px;
        max-width: 40%;
        padding: 5px 10%;
    }

    #cabecera h1 {
        float: right;
        text-align: left;
        margin-left: 20px;
        max-width: 40%;
        width: auto;
        clear: none;
        margin-top: 72px;
        padding-right: 10%;
    }

    #menu ul li {
        float: left;
        text-align: left;
        width: auto;
        margin: 0 10px;
    }
}
