﻿/* ------------------------------------------------------------------------------
FONTS
------------------------------------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@100;200;300;400;700;800&display=swap');

/* ------------------------------------------------------------------------------
BLOQUES
------------------------------------------------------------------------------ */

body {
    margin: 0px;
    background-color: #ffffff;
    font-family: 'Nunito', Arial, Helvetica, sans-serif;
    font-size: 16px; /* 🟢 Subimos la base global de 14px a 16px: todo el sitio heredará este tamaño ideal */
    line-height: 1.5; /* 🟢 Interlineado base unificado para que todos los textos respiren bien */
}


button,
input,
select,
textarea {
    font-family: inherit;
}

.Boxed {
    margin: 0px auto;
    max-width: 1350px;
    padding: 0px 15px;
}

#divTopFixed {
    position: sticky;
    top: 0px;
    z-index: 205;
}

@media screen and (max-height: 400px) {
    #divTopFixed {
        position: static;
    }
}

#divHeader {
    display: block;
    background-image: url(/images/header.jpg);
    background-position: center center;
}

#divHeaderIn {
    display: flex;
    justify-content: space-between;
}

#divHeaderInLeft {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 65%;
}

#Logo {
}

    #Logo img {
        width: 250px;
        height: 87px;
    }

#divBuscar {
}

#divBuscarIn {
    margin: 25px auto 5px auto;
    width: 200px;
    overflow: auto;
}

#txtBuscar {
    float: left;
    margin: 1px;
    width: calc(200px - 6px - 32px); /*Widh - margin - imagebutton*/
}

#btnBuscar {
    float: left;
    margin: 0px;
    padding: 0px;
    width: 32px;
}

#divAccesoUsuarios {
}

#divAccesoUsuariosIn {
    display: block;
    float: right;
    margin: 5px 0px;
    padding-left: 50px;
    min-height: 84px;
    background-image: url(/images/anclaje.png);
    background-repeat: no-repeat;
}

#divAccesoUsuarios h3 {
    font-size: 14px;
    font-weight: 600;
    color: #555555;
}

#divAccesoUsuarios a:link, #divAccesoUsuarios a:visited {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    text-align: center;
    max-width: 150px;
}

#PubliAdsense {
    float: right;
    height: 87px;
    margin: 5px 0px;
}

#Pie {
    overflow: auto;
    background-color: #303030;
    background-image: url(/images/bg-pie.png);
    background-repeat: repeat-x;
}

#PieIn {
    overflow: auto;
    padding-top: 25px;
    padding-bottom: 25px;
    color: #ffffff;
}

/* ------------------------------------------------------------------------------
MENU
------------------------------------------------------------------------------ */

#MenuIcon {
    display: none;
    position: relative;
    cursor: pointer;
    background-color: #303030;
    background-image: url(/images/bg-menu.png);
    background-repeat: repeat-x;
    /*border: 1px solid #303030;*/
    color: #ffffff;
    padding: 15px;
    margin: 0px 0px;
    /*max-width: 60px;
    border-radius: 5px; 
    -moz-border-radius: 5px; /* Firefox */
    /*-webkit-border-radius: 5px; /* Safari y Chrome */
}

    #MenuIcon:hover {
        /*background-color: #c10608;
    background-image: none;*/
        background-color: #680405;
        background-image: url(/images/bg-red.png);
    }

#MenuFullWidth {
    display: block;
    background-color: #303030;
    background-image: url(/images/bg-menu.png);
    background-repeat: repeat-x;
}

    #MenuFullWidth > .Boxed {
        padding: 0px;
    }

#Menu {
    overflow: visible;
    position: relative;
    z-index: 210; /* IE8-Hack = Debe ser mayor que el z-index de la capa absolute del submenu */
}

#MenuIn {
    overflow: auto;
}

.DivLinkMenu {
    float: left;
}

.LinkMenu:link, .LinkMenu:visited {
    display: block;
    float: left;
    min-height: 15px;
    padding: 15px 40px;
    /*border-right: 1px solid #ffffff;*/
    background-color: #303030;
    background-image: url(/images/bg-menu.png);
    background-repeat: repeat-x;
    color: #ffffff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    text-shadow: 1px 1px 2px #000000;
}

.LinkMenu:hover {
    /*background-color: #c10608;
    background-image: none;*/
    background-color: #680405;
    background-image: url(/images/bg-red.png);
}

#LinkMenuInicio:link, #LinkMenuInicio:visited {
    padding: 12px;
    background-color: #222222;
    background-image: none;
}

#LinkMenuInicio:hover {
    /*background-color: #c10608;*/
    background-color: #680405;
    background-image: url(/images/bg-red.png);
}

.TopMenu {
    position: absolute;
    top: 45px;
    left: 0px;
    width: 100%;
    background-color: #303030;
    background-image: url(/images/bg-menu.png);
    background-repeat: repeat-x;
    display: none;
}

.TopMenuIn {
    background-color: #ffffff;
    margin: 5px;
    padding: 15px;
    overflow-y: scroll;
    height: 40vh;
}

.TopMenuCol {
    float: left;
    width: 20%;
    min-height: 120px;
    margin-top: 15px;
}

.TopMenuColTitle {
    font-family: inherit;
    font-size: 14px;
}

.TopMenuCol a:link, .TopMenuCol a:visited {
    display: block;
    padding: 2px;
    font-family: inherit;
    font-size: 11px;
    color: #303030;
}

.TopMenuCol a:hover {
    font-weight: bold;
    color: #c10608;
}

/* ------------------------------------------------------------------------------
    SOCIAL ICONS
------------------------------------------------------------------------------ */

#social-icons {
    float: right;
    margin-top: 6px;
}

@media screen and (max-width: 1395px) {
    #social-icons {
        padding-right: 15px;
    }
}

#social-icons-mobile {
    position: absolute;
    top: 6px;
    right: 15px;
}

    #social-icons span, #social-icons-mobile span {
        display: block;
        float: left;
        margin: 9px 5px 0px 0px;
        color: #bbbbbb;
        font-size: 11px;
        text-shadow: 1px 1px 2px #000000;
    }

    #social-icons a, #social-icons a:link, #social-icons a:visited,
    #social-icons-mobile a, #social-icons-mobile a:link, #social-icons-mobile a:visited {
        display: block;
        float: left;
        overflow: auto;
        padding: 5px;
        border: 1px solid #555555;
        border-radius: 3px;
    }

        #social-icons a:active, #social-icons-mobile a:active {
            border: 1px solid #ffffff;
            border-radius: 3px;
        }

@media (hover: hover) {
    /* Execute only if the device allows hover, for other devices use :active status */
    #social-icons a:hover, #social-icons-mobile a:hover {
        border: 1px solid #ffffff;
        border-radius: 3px;
    }
}
/* ------------------------------------------------------------------------------
REVOLUTION SLIDER
------------------------------------------------------------------------------ */
.tp-banner-container {
    width: 100%;
    position: relative;
    padding: 0;
}

.tp-banner {
    width: 100%;
    position: relative;
}

.tp-banner-fullscreen-container {
    width: 100%;
    position: relative;
    padding: 0;
}

.tp-bannertimer {
    display: none; /* hide timer-bar on the top */
}

/* ------------------------------------------------------------------------------
OVERRIDE jQuery widget
------------------------------------------------------------------------------ */
.ui-widget {
    font-family: inherit;
    font-size: 14px;
}

    .ui-widget input,
    .ui-widget select,
    .ui-widget textarea,
    .ui-widget button {
        font-family: inherit;
        font-size: 14px;
    }

/* ------------------------------------------------------------------------------
BLOG
------------------------------------------------------------------------------ */

#BlogContenido {
    float: left;
    width: 80%;
}

#BlogSideBar {
    margin-left: 2%;
    float: left;
    width: 18%;
}

.LinkTagsPopulares, .LinkTagsPopulares:link, .LinkTagsPopulares:visited {
    float: left;
    padding: 5px 15px;
    margin-right: 5px;
    margin-bottom: 5px;
    background-color: #f7f7f7;
    font-size: 13px;
}

    .LinkTagsPopulares:hover {
        background-color: #c10608;
        color: #ffffff;
    }

/* ------------------------------------------------------------------------------
ADMIN
------------------------------------------------------------------------------ */

#tableAdmin {
    border-collapse: separate;
    border-spacing: 1px;
}

    #tableAdmin td {
        padding: 4px;
    }

    #tableAdmin .tableAdminNormal td {
        background-color: #fcfcfc;
    }

    #tableAdmin .tableAdminAlternative td {
        background-color: #eaeaea;
    }

    #tableAdmin .tableAdminHeader td {
        background-color: #5a5a5a;
        color: #ffffff;
    }

/* ------------------------------------------------------------------------------
HTML
------------------------------------------------------------------------------ */

h1 {
    margin: 15px 0px;
    color: #303030;
    font-family: inherit;
    font-size: 1.75rem; /* 28px - Escalado proporcional al tamaño del body */
    font-weight: 800;
    display: block;
}

h2 {
    display: block;
    margin-top: 35px;
    margin-bottom: 12px;
    font-family: inherit;
    font-size: 1.4rem; /* ~22px - Proporcional para los títulos de sección */
    font-weight: 700;
    color: #303030;
}

h3 {
    display: block; /* Cambiado de inline a block para saltar de línea y respetar márgenes */
    font-family: inherit;
    font-size: 1.15rem; /* ~18.5px - Grosor destacado para los subtítulos (Tramo 1, Tramo 2) */
    font-weight: 700;
    color: #303030;
    margin-top: 25px;
    margin-bottom: 8px;
}

p {
    display: block;
    margin: 0px 0px 12px 0px; /* 🟢 Eliminamos el margen superior. Solo 12px abajo para compactar interlineados */
    font-size: inherit; /* 🟢 Hereda directamente los 16px limpios del body sin forzar familias tipográficas distintas */
    line-height: inherit; /* 🟢 Hereda el interlineado de 1.5 del body de forma limpia */
}

img {
    border-width: 0px;
}

form {
    margin: 0px;
    padding: 0px;
}

ul {
    margin: 0px;
}

textarea {
    font-family: inherit;
    font-size: 16px;
}


/* ------------------------------------------------------------------------------
HTML - TABLES
------------------------------------------------------------------------------ */

/* cellpadding */
th, td {
    padding: 0px;
}

/* cellspacing */
/*table { border-collapse: separate; border-spacing: 5px; }  cellspacing="5" */
table {
    border-collapse: collapse;
    border-spacing: 0;
}
/* cellspacing="0" */

/* valign */
/*th, td { vertical-align: top; }*/

/* align (center) */
/*table { margin: 0 auto; }*/

/* ------------------------------------------------------------------------------
LINKS
------------------------------------------------------------------------------ */

a, a:link, a:visited {
    text-decoration: none;
    color: #c10608;
}

    a:active {
        color: #ea0d0c;
    }

@media (hover: hover) {
    /* Execute only if the device allows hover, for other devices use :active status */
    a:hover {
        color: #ea0d0c;
    }
}

#Pie a, #Pie a:link, #Pie a:visited {
    text-decoration: none;
    color: #e5e5e5;
}

    #Pie a:active {
        color: #ffffff;
    }

@media (hover: hover) {
    /* Execute only if the device allows hover, for other devices use :active status */
    #Pie a:hover {
        color: #ffffff;
    }
}

.back-to-top, .back-to-top:link, .back-to-top:visited {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 64px;
    height: 64px;
    z-index: 9999;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s ease-out;
    opacity: 0.8;
    background-image: url(/images/back-to-top.png);
}

    .back-to-top:active {
        opacity: 0.6;
    }

@media (hover: hover) {
    .back-to-top:hover {
        opacity: 0.6;
    }
}

/* ------------------------------------------------------------------------------
CONTROLES
------------------------------------------------------------------------------ */

.Boton, .Boton:link, .Boton:visited {
    display: inline-block;
    border: 1px solid #303030;
    padding: 5px 15px;
    background-color: transparent;
    font-family: inherit;
    font-size: 13px;
    color: #303030;
    cursor: pointer;
    border-radius: 3px;
    -moz-border-radius: 3px; /* Firefox */
    -webkit-border-radius: 3px; /* Safari y Chrome */
}

    .Boton:active {
        background-color: #303030;
        background-image: url(/images/bg-menu.png);
        background-repeat: repeat-x;
        color: #ffffff;
    }

@media (hover: hover) {
    /* Execute only if the device allows hover, for other devices use :active status */
    .Boton:hover {
        background-color: #303030;
        background-image: url(/images/bg-menu.png);
        background-repeat: repeat-x;
        color: #ffffff;
    }
}

.BotonFill, .BotonFill:link, .BotonFill:visited {
    display: inline-block;
    border: 1px solid #303030;
    padding: 5px 15px;
    background-color: #303030;
    background-image: url(/images/bg-menu.png);
    background-repeat: repeat-x;
    font-family: inherit;
    font-size: 13px;
    color: #ffffff;
    cursor: pointer;
    border-radius: 3px;
    -moz-border-radius: 3px; /* Firefox */
    -webkit-border-radius: 3px; /* Safari y Chrome */
}

    .BotonFill:active {
        background: none;
        background-color: #ffffff;
        color: #303030;
    }

@media (hover: hover) {
    /* Execute only if the device allows hover, for other devices use :active status */
    .BotonFill:hover {
        background: none;
        background-color: #ffffff;
        color: #303030;
    }
}

.BotonWhite, .BotonWhite:link, .BotonWhite:visited {
    display: inline-block;
    border: 1px solid #ffffff;
    padding: 5px 15px;
    background-color: transparent;
    font-family: inherit;
    font-size: 13px;
    color: #ffffff;
    cursor: pointer;
    border-radius: 3px;
    -moz-border-radius: 3px; /* Firefox */
    -webkit-border-radius: 3px; /* Safari y Chrome */
}

    .BotonWhite:active {
        background-color: #ffffff;
        color: #303030;
    }

@media (hover: hover) {
    /* Execute only if the device allows hover, for other devices use :active status */
    .BotonWhite:hover {
        background-color: #ffffff;
        color: #303030;
    }
}

.BotonSalir, .BotonSalir:link, .BotonSalir:visited {
    display: inline-block;
    border: 1px solid #303030;
    padding: 5px 15px;
    background-color: #303030;
    background-image: url(/images/bg-red.png);
    background-repeat: repeat-x;
    font-family: inherit;
    font-size: 13px;
    color: #ffffff;
    cursor: pointer;
    border-radius: 3px;
    -moz-border-radius: 3px; /* Firefox */
    -webkit-border-radius: 3px; /* Safari y Chrome */
}

    .BotonSalir:active {
        background: none;
        background-color: #c10608;
    }

@media (hover: hover) {
    /* Execute only if the device allows hover, for other devices use :active status */
    .BotonSalir:hover {
        background: none;
        background-color: #c10608;
    }
}

.CajaTexto {
    width: 100%;
    margin: 0px;
    box-sizing: border-box;
    padding: 3px;
    border-radius: 5px;
    font-family: inherit;
    font-size: 14px;
    /*box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);*/
}

    .CajaTexto:focus {
        outline: 1px solid #c10608;
    }

/* ------------------------------------------------------------------------------
COLORES
------------------------------------------------------------------------------ */

.Negro {
    color: #000000;
}

.Blanco {
    color: #ffffff;
}

.Gris {
    color: #cccccc;
}

.Verde {
    color: #668811;
}

.Rojo {
    color: #c10608;
}

.Naranja {
    color: #ff6900;
}

.Azul {
    color: #196bb2;
}

.shadow-20 {
    background-image: url(/images/shadow-20.png);
    background-repeat: repeat-x;
    height: 20px;
}

.shadow-20-invert {
    background-image: url(/images/shadow-20-invert.png);
    background-repeat: repeat-x;
    height: 20px;
}

/* ------------------------------------------------------------------------------
SVG
------------------------------------------------------------------------------ */

.svgPower {
    background-color: #fff;
    -webkit-mask: url(/images/power-outline.svg) no-repeat center;
    mask: url(/images/power-outline.svg) no-repeat center;
}
