/* ========================================= Marcas ================================================= */
* {
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    /*font-family: "Segoe UI","Segoe",Tahoma,Helvetica,Arial,sans-serif;*/
    font-size: 1em;
    color: rgb(68,68,68);
    line-height: 1.42857143;
    margin: 0px;
    padding-bottom: 0px;
    min-height: 100%; /*Footer*/
    position: relative; /*Footer*/
}

article, aside, footer, header, nav, section, main {
    display: block;
}

aside {
    position: relative;
}

h1 {
    color: rgb(0,114,198) !important;
    font-family: inherit;
    font-size: 2em;
    font-weight: bold;
    margin: .67em 0;
}

h2 {
    color: rgb(68,68,68) !important;
    font-family: inherit;
    font-size: 1.5em;
    font-weight: bold;
    margin: .67em 0;
}

h3 {
    color: rgb(68,68,68) !important;
    font-family: inherit;
    font-size: 1.17em;
    margin: .67em 0;
}

p {
    text-align: justify;
}

.madInicio1, .madInicio3, .madInicio0 {
    background-color: #ffd276;
}

.madInicio2 {
}

.pcenter {
    text-align: center;
}

.labelInfo {
    font-weight: bold;
    color: darkblue;
    font-size: larger;
}

a {
    text-decoration: none;
    color: rgb(0,0,255);
    /*color:rgb(68,68,68);*/
}

    a:visited {
        color: rgb(0,114,198);
    }

    a:hover {
        color: rgb(255,138,0);
        /*color:rgb(0,114,198);*/
        text-decoration: none;
    }

ul {
    margin: 0px;
    padding: 0px;
}

img {
    border: 0px;
    max-width: 100%;
    height: auto;
}

/* ======================================= Clases genéricas ======================================== */
/* Columnas */
[class*="t-col-"], [class*="d-col-"] {
    float: left;
    width: 100%;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.clearfixCenter {
    content: "";
    clear: both;
    display: table;
    text-align: center;
}

/* ============================================== Master ============================================= */
/* ============================================== Header ============================================= */
header {
    color: rgb(1, 166, 255);
    background-color: rgb(245,245,245);
    padding: 10px 10px;
}

/* Logotipo */
#siteIcon {
    text-align: center;
    line-height: inherit;
    height: auto;
    /*201902 min-width: auto;*/
    margin-right: auto;
    width: 100%; /*201902 nuevo*/
}


/* Administración presupuestaria */
#madPAP {
    display: none;
    padding-right: 10px;
    font-size: 1.6em;
    color: rgb(64,64,64);
}


/* ======================================== Hamburguer-Button ==================================== */
.madMenu button {
    border: none;
    background-color: transparent;
    margin: 4px 0px;
    padding: 0px;
    min-width: 0; /* Core.css */
    font-size: 0.825em; /* Core.css */
}

    .madMenu button:active {
        position: relative;
        top: -1px;
        left: -1px;
    }

    .madMenu button i {
        cursor: pointer;
        width: 35px;
    }

        .madMenu button i.fa-2x {
            font-size: 1.6em;
        }

        .madMenu button i .visuallyhidden {
            display: none;
        }

.madMenu .hamburguer_button[aria-expanded=false] ~ ul {
    display: none;
}

.madMenu .hamburguer_button[aria-expanded=true] ~ ul {
    display: block;
}


/* ===================================== madMenu1 (Menú Principal) ================================ */
/* Menú Principal */
#madMenu1 {
    padding: 4px 10px;
    /* Theme */
    color: rgb(255, 255, 255);
    background-color: rgb(98,108,98);
}


    /* Hamburguer-Button */
    #madMenu1 #hamburguer_button1 {
        /* Theme */
        color: rgb(255,255,255);
    }


    /* ul */
    /* Común */
    #madMenu1 ul {
        list-style: none;
    }


        /* a */
        /* Común */
        #madMenu1 ul li a {
            display: block; /* 100% en Smartphone */
            padding: 4px 10px;
            /* Theme */
            color: rgb(255,255,255);
            border-bottom: 1px solid rgb(128,128,128);
        }

    #madMenu1 > ul > li:last-child > a {
        cursor: pointer;
        border-bottom: none !important;
    }
    /* Hover */
    #madMenu1 ul li a:hover {
        /* Theme */
        color: rgb(0,0,0);
        background-color: rgb(255,210,0);
    }
    /* Página actual */
    #madMenu1 ul li a[aria-current] {
        /* Theme */
        color: rgb(0,0,0);
        background-color: rgb(255,210,0);
    }
    /* Ancestros de la página actual */
    #madMenu1 ul li a.madAncestro {
        /* Theme */
    }
    /* Padre de la página actual */
    #madMenu1 ul li a.madRoot {
        /* Theme */
    }
    /* Foco */
    #madMenu1 ul li a:focus {
        /* Theme */
    }


/* ============================================= madIdReg ========================================== */
#madIdReg {
    color: rgb(255, 255, 255);
    background-color: rgb(22,82,9);
    /*background-color:rgb(98,108,98);*/
    padding: 1px 10px;
}

    #madIdReg ul {
        list-style: none;
    }

        #madIdReg ul li {
        }

            #madIdReg ul li a {
                width: 100%;
                display: inline-block;
                color: inherit;
                padding: 4px 10px;
                border-top: 1px solid rgb(128,128,128);
            }

                #madIdReg ul li a:hover {
                    color: rgb(0,0,0);
                    background-color: rgb(255,210,0);
                }

            #madIdReg ul li:first-child a {
                border-top: none !important;
            }

            #madIdReg ul li:last-child a {
                /*border-bottom:none !important;*/
            }


/* ============================================== Centro =========================================== */
#madCenter {
    padding: 0em 20px;
}

/* madMain (PlaceHolderMain) */
.madTable {
    /*padding:1px 10px;*/
}


/* ============================================== Footer =========================================== */
footer {
    color: rgb(102,102,102);
    background-color: rgb(243,243,243);
    padding: 10px 10px; /*descomentado 201902*/
    width: 100%;
    height: auto;
    text-align: center;
}

    footer #madBanners {
        background-color: rgb(143,143,143);
        /*padding: 0.3em 0.3em 1em 0.3em; /*descomentado 201902*/
        text-align: center;
        margin-bottom: 1em; /*descomentado 201902*/
    }

        footer #madBanners ul {
            margin: 0px;
            padding: 0px;
            list-style: none;
        }

            footer #madBanners ul li {
                /*display: inherit;*/ /*201902 Comentado*/
                display: inline-block;
            }

                footer #madBanners ul li a {
                    width: 141px;
                    height: 78px;
                }

                footer #madBanners ul li img {
                    width: 141px;
                    height: 70px;
                }

                    footer #madBanners ul li img:hover {
                        transform: scale(1.04,1.04);
                        transition: transform 0.2s;
                    }

    footer ul {
    }

        footer ul li {
            display: inherit;
        }

            footer ul li a {
                display: inherit;
                color: rgb(68,68,68);
                padding: 5px 10px;
            }

                footer ul li a:visited {
                    color: rgb(68,68,68);
                }

                footer ul li a:hover {
                    color: rgb(255, 138, 0);
                }

#madfechaActualizacion {
    padding-left: 10px;
}

    #madfechaActualizacion strong {
        color: rgb(190, 0, 0);
        font-weight: bold;
    }

#madMenuPie ul li a {
    border-bottom: 1px solid rgb(228,228,228);
}

#madMenuPie ul li:last-child a {
    border-bottom: none;
}

#madAccesibilidad ul li img {
    width: 70px;
}

#madAccesibilidad ul li:last-child img {
    width: auto;
    height: 25px;
}


/* =========================================== Layouts ============================================= */
/* =========================================== Común =============================================== */
/* Título */
#madTitle {
}

    #madTitle h1 {
        margin: 0.5em 0em 0.5em 0em;
    }

/* Primer párrafo */
#madFirstP {
    margin-bottom: 1em;
    color: rgb(0,114,198);
    font-style: italic;
    margin-top: -16px;
    margin-bottom: 0em;
}

#madLastP p {
    font-style: italic;
}

.madAccesoUsuarios h2 {
    margin-top: 0.2em;
    margin-bottom: 0.2em;
    text-align: center;
    /*background-color:rgb(234,234,234);	
	padding:0px 0px;	
	box-shadow:3px 3px 4px rgba(128,128,128,0.6);
	border-radius:4px;
	margin-bottom:0.3em;
	margin-right:0.3em;*/
}

.madTiposAcceso {
    margin-bottom: 0em;
}

    .madTiposAcceso p {
        padding: 0px 10px;
        text-align: left;
        font-size: 0.94em;
    }

    .madTiposAcceso ul {
        list-style-type: none;
        padding: 0px 10px;
        font-size: 0.94em;
    }

#col1, #col2, #col3 {
    padding: 0em 0.5em 1em 0em;
}

.madTiposAcceso .madCol {
    min-height: 370px;
    background-color: rgb(245,245,245);
    padding: 7px 5px;
    box-shadow: 3px 3px 4px rgba(128,128,128,0.6);
    border-radius: 4px;
}

.madTiposAcceso img:hover, .madTiposAcceso input[type=image]:hover {
    transform: scale(1.04,1.04);
    transition: transform 0.2s;
}

#col2 .form-group {
    text-align: center;
    padding-top: 22px;
}

#col3 .form-group {
    text-align: center;
    padding-top: 22px;
}

/* Formularios */
.madForm {
    margin: 0px 0px;
    padding: 0em 0em;
    font-size: 0.80em;
}

    .madForm h2 {
        font-family: inherit;
        font-weight: bold;
        margin-top: 0px;
        margin-bottom: .67em;
        color: rgb(98,108,98);
    }

    /* Fieldset */
    .madForm fieldset {
        display: block;
        margin-bottom: 1em;
        padding-top: 0.35em;
        padding-bottom: 0.625em;
        padding-left: 0.75em;
        padding-right: 0.75em;
        border: 0px solid rgb(204,204,204);
        min-height: 210px;
        background-color: rgb(234,234,234);
        border-radius: 4px 4px 0px 0px;
    }

    .madForm legend {
        color: rgb(78,88,78);
        font-size: 1.1em;
        font-weight: bold;
        display: block;
        padding-top: 10px;
        padding-left: 2px;
        padding-right: 2px;
        border: none;
        display: table;
        min-height: 50px;
    }
    /* Form groups */
    .madForm .form-group {
        width: 100%;
        margin-bottom: 10px;
    }

        .madForm .form-group:after {
            content: "";
            clear: both;
            display: table;
        }
    /* Labels */
    .madForm label {
        display: inline-block;
        color: rgb(78,88,78);
        font-weight: bold;
        padding-right: 10px;
        min-width: 100px;
    }

        .madForm label abbr {
            color: rgb(255,0,0);
        }

.madHidden {
    display: none;
    /*height: 1px;
    width: 1px;
    overflow: hidden;
    padding: 0;
    margin: 0;*/
}

/* Inputs */
.madForm .form-control {
    width: 100%;
    color: rgb(64,64,64);
    padding: 6px 12px;
    border: 1px solid rgb(204,204,204);
    border-radius: 4px;
    box-sizing: border-box;
}

.madForm input:focus {
    /*border:1px solid rgb(42,141,212);*/
    border: 1px solid rgb(0,114,198);
    box-shadow: 0px 1px 1px rgba(0,0,0,0.075) inset, 0px 0px 8px rgba(102,175,233,0.6);
}

    .madForm input:focus:valid {
        font-weight: bold;
        color: rgb(60,118,61);
    }

    .madForm input:focus:invalid {
        font-weight: bold;
        color: rgb(169,68,66);
    }

.madHelp {
    margin-top: 0px !important;
    font-style: italic;
    color: rgb(78,88,78);
}
/* Checkboxes */
.madForm .checkbox, .madForm .radio {
    position: relative;
    margin-bottom: 0px;
    display: inline-block;
    margin-right: 12px;
}

    .madForm .checkbox label, .madForm .radio label {
        cursor: pointer;
        font-weight: bold;
        margin-bottom: 0px;
        padding-left: 25px;
    }

.madForm input[type=checkbox], .madForm input[type=radio] {
    position: absolute;
    /*left:3px;*/
    /*top:5px;*/
}
/* Textareas */
.madForm textarea {
}

    .madForm textarea:focus {
        font-weight: bold;
        color: rgb(60,118,61);
    }
/* Status*/
.madStatusOK {
    font-weight: bold;
    color: rgb(60,118,61);
    background-color: rgb(255,255,255);
    padding: 6px 12px;
    border: 1px solid rgb(0,118,61);
    border-radius: 4px;
}

.madStatusERROR {
    font-weight: bold;
    color: rgb(169,68,66);
    background-color: rgb(255,255,255);
    padding: 6px 12px;
    border: 1px solid rgb(169,68,66);
    border-radius: 4px;
}

.madStatusWARNING {
    font-weight: bold;
    color: rgb(255, 106, 0);
    background-color: rgb(255,255,255);
    padding: 6px 12px;
    border: 1px solid rgb(255, 106, 0);
    border-radius: 4px;
}

/* Buttons */
.madForm button {
    color: rgb(85,85,85);
    border: 1px solid rgb(146,192,224);
    background-color: rgb(230,242,250);
    font-size: 0.9em;
    font-weight: bold;
    border-radius: 4px;
    margin-left: 0px;
    margin-bottom: 15px;
    padding: 6px 12px;
}

    .madForm button:hover {
        color: rgb(0, 114, 198);
    }

/* RECAPTCHA */
/*.g-recaptcha {
    margin: 2px 0px;
}*/
/* Notas */
.madNote {
    font-weight: bold;
    color: rgb(255,138,0);
    background-color: rgb(255,255,255);
    padding: 6px 12px;
    border: 1px solid rgb(255,138,0);
    border-radius: 4px;
}

.madLOPD {
    font-style: italic;
}


/* Tablas */
.madTable {
    -ms-overflow-style: -ms-autohiding-scrollbar;
    overflow-x: auto;
}

    .madTable table {
        width: 100%;
        margin: 1em 0px;
        caption-side: top;
        border-collapse: separate;
        border-spacing: 2px 2px;
        empty-cells: show;
    }

        .madTable table caption {
            text-align: left;
            color: rgb(119,119,119);
        }

        .madTable table tr:nth-of-type(2n+1) {
            /*background-color:rgb(245,245,245);*/
        }

        .madTable table th {
            text-align: left;
            /*background-color: rgb(204,204,204);*/
            background-color: rgb(0,114,198);
            white-space: nowrap;
            padding: 8px;
            vertical-align: top;
            border: 0px solid rgb(221,221,221);
            color: whitesmoke;
        }

        .madTable table td {
            white-space: nowrap;
            padding: 8px;
            vertical-align: top;
            border-top: 0px solid rgb(221,221,221);
            background-color: rgb(245,245,245);
        }

            .madTable table td a {
                color: rgb(64,64,64);
            }

                .madTable table td a:hover {
                    color: rgb(255,138,0);
                }

    .madTable img {
        max-width: none;
    }

    .madTable table td a.disabled, hover, visited, link, active {
        color: darkgrey;
        text-decoration: none;
        cursor: default;
    }

    .madTable table td a.aspNetDisabled, hover, visited, link, active {
        color: darkgrey;
        text-decoration: none;
        cursor: default;
    }

/* =========================================== Inicio =================================================== */

/* =========================================== Escritorio =============================================== */
.madInformacion {
}

    .madInformacion #lblUser {
        color: rgb(98,108,98);
    }

    .madInformacion #lblValidation {
        color: rgb(98,108,98);
    }

    .madInformacion #LabelEntorno {
        color: rgb(98,108,98);
    }


#menu03 {
    margin-top: 1em;
    margin-bottom: 1em;
    list-style: none;
}

    #menu03 li img {
        vertical-align: middle;
    }


/* Popups */
#divAviso, #divUC, #divHA {
    position: absolute;
    z-index: 1;
    background-color: rgb(235,235,245);
    padding: 0px 8px 12px 8px;
    box-shadow: 3px 3px 4px rgba(128,128,128,0.6);
    border-radius: 4px;
    margin: 0em;
}

    #divAviso h1, #divUC h1, #divHA h1 {
        font-size: 0.9em;
        text-align: center;
        padding: 2px 4px 2px 4px;
    }

    #divAviso ul, #divUC ul, #divHA ul {
        list-style-type: none;
        margin: 0em 0.5em 0em 0.5em;
    }

        #divAviso ul li, #divUC ul li, #divHA ul li {
            font-size: 0.9em;
            padding: 0em 0em 0.3em 0em;
        }

            #divAviso ul li:last-child, #divUC ul li:last-child, #divHA ul li:last-child {
                border-bottom: none;
            }

/* Avisos */
#divAviso {
    width: 240px;
}

    #divAviso h1 {
        background-color: rgb(221,0,16);
        color: rgb(255,255,255) !important;
    }

    #divAviso ul li {
        border-bottom: 1px solid rgb(221,0,16);
    }

/* Tooltips */
#divUC {
    width: 240px;
}

    #divUC h1 {
        background-color: rgb(253,217,14);
        color: rgb(64,64,64) !important;
    }

    #divUC ul li {
        border-bottom: 1px solid rgb(253,217,14);
    }

/* Histórico de accesos */
#divHA {
    width: 280px;
}

    #divHA h1 {
        background-color: rgb(0,81,139);
        color: rgb(255,255,255) !important;
        text-align: left;
    }

        #divHA h1 img {
            position: absolute;
            right: 10px;
        }

    #divHA ul li {
        border-bottom: 1px solid rgb(0,81,139);
    }

    #divHA table {
        border: 1px solid rgb(228,228,228);
        width: 100%;
        font-size: 0.9em;
        margin-top: 1em;
    }

        #divHA table .trH {
            display: none;
        }

        #divHA table th {
            color: rgb(64,64,64);
            background-color: rgb(253,217,14);
            padding: 2px 4px 2px 4px;
        }

        #divHA table td {
            background-color: rgb(243,243,243);
            padding: 2px 4px 2px 4px;
        }


/* =========================================== Tablets =============================================== */
@media only screen and (min-width: 768px) {
    /* == Anchuras columnas == */
    .t-col-1 {
        width: 8.33% !important;
    }

    .t-col-2 {
        width: 16.66% !important;
    }

    .t-col-3 {
        width: 25% !important;
    }

    .t-col-4 {
        width: 33.33% !important;
    }

    .t-col-5 {
        width: 41.66% !important;
    }

    .t-col-6 {
        width: 50% !important;
    }

    .t-col-7 {
        width: 58.33% !important;
    }

    .t-col-8 {
        width: 66.66% !important;
    }

    .t-col-9 {
        width: 75% !important;
    }

    .t-col-10 {
        width: 83.33% !important;
    }

    .t-col-11 {
        width: 91.66% !important;
    }

    .t-col-12 {
        width: 100% !important;
    }

    /* ============== Master ============= */
    /* == Header == */
    header {
        min-width: 992px;
        /*min-width:auto;*/
    }
    /* Logotipo*/
    #siteIcon {
        text-align: left;
        /*height: 132px;*/
        height: auto;
    }

    /* Contenedor */
    #madHeaderContainer {
        position: relative;
        height: 90px;
    }
    /* Administración presupestaria */
    #madPAP {
        display: block;
        position: absolute;
        right: 0px;
        top: 16px;
    }

    /* == Hamburguer-Button == */
    #madMenu1 .hamburguer_button {
        display: none;
    }

        #madMenu1 .hamburguer_button[aria-expanded=false] ~ ul {
            display: block;
        }

    /* == madMenu1 == */
    #madMenu1 {
        overflow: auto;
        /* Theme */
        font-size: 0.9em;
        padding: 1px 10px;
    }

        /* li */
        #madMenu1 > ul > li {
            float: left; /* Presentación horizontal de los primeros elementos */
        }

            /* a */
            #madMenu1 > ul > li > a {
                border-bottom: none !important;
            }

    /* == madIdReg == */
    #madIdReg {
        font-size: 0.9em;
        /*color:rgb(255, 255, 255);
		background-color:rgb(0,114,198);
		padding:1px 10px;*/
        position: absolute;
        right: 0px;
        top: 0px;
    }

        #madIdReg ul {
            /*list-style:none;*/
        }

            #madIdReg ul li {
                display: inline-block;
            }

                #madIdReg ul li a {
                    /*width:100%;
		display:inline-block;
		color:inherit;
		padding:5px 10px;
		border-top:1px solid rgb(128,128,128);*/
                    width: auto;
                    border-top: none;
                }

                    #madIdReg ul li a:hover {
                        /*color:rgb(0,0,0);
		background-color:rgb(255,210,0);*/
                    }

                #madIdReg ul li:last-child a {
                    /*border-bottom:none !important;*/
                }


    /* == Centro == */
    /* Aplica un 80% a las páginas de contenido */
    #madCenter {
        width: 90%;
        margin: 0px auto;
        padding-bottom: 220px; /*Altura Footer*/
        /*min-height:100%;*/
    }

    /* == Footer == */
    footer {
        text-align: center;
        height: 220px; /*Altura Footer*/
        position: absolute;
        bottom: 0px;
    }

        footer #madBanners ul {
            display: inline-block;
        }

            footer #madBanners ul li a {
                display: inherit;
            }

    #madMenuPie ul {
        font-size: 0.9em;
        display: inline-block;
    }

        #madMenuPie ul li a {
            border-bottom: none;
        }

    #madAccesibilidad ul {
        display: inline-block;
    }

    /* ============== Layouts ============= */
    /* ============== Común =============== */
    /* Primer párrafo */
    #madFirstP ul {
        margin-left: 115px;
    }

    #madFirstP .MadMarginFirstP ul {
        margin-left: 0;
        text-align: justify
    }

    #col1, #col2, #col3 {
        padding: 0em 0.5em 0em 0em;
    }

    /* Forms */
    .madForm label {
        text-align: left;
    }

    .madHelp {
        margin-left: 25% !important;
    }

    .madForm .checkbox, .madForm .radio {
        display: inline-block;
        margin-right: 12px;
    }
    /* RECAPTCHA */
    .g-recaptcha {
    }

    /* Tables */
    .madTable table th {
        white-space: normal;
        text-align: center;
    }

    .madTable table td {
        white-space: normal;
    }

    /* Escritorio */
    #menu03 {
        text-align: center;
        margin-bottom: 2em;
    }

        #menu03 li {
            display: inline-block;
            padding-right: 1em;
        }
}


/* ============================================ Monitores ============================================ */
/*@media only screen and (max-width: 992px) */
@media only screen and (max-width: 992px) {
    /* == Anchuras columnas == */
    .d-col-1 {
        width: 8.33%;
    }

    .d-col-2 {
        width: 16.66%;
    }

    .d-col-3 {
        width: 25%;
    }

    .d-col-4 {
        width: 33.33%;
    }

    .d-col-5 {
        width: 41.66%;
    }

    .d-col-6 {
        width: 50%;
    }

    .d-col-7 {
        width: 58.33%;
    }

    .d-col-8 {
        width: 66.66%;
    }

    .d-col-9 {
        width: 75%;
    }

    .d-col-10 {
        width: 83.33%;
    }

    .d-col-11 {
        width: 91.66%;
    }

    .d-col-12 {
        width: 100%;
    }

    #madIdReg ul li i {
        display: none;
    }

    .celdaCatsis {
        display: none;
    }

    .celdaAcceso {
        display: none;
    }
}

#loading {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none;
    background-color: gainsboro;
    z-index: 999;
}
