﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #0f579e;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 12px;
}

@media (min-width: 768px) {
    html {
        font-size: 14px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

fieldset {
    border-radius: 4px;
    border: 1px solid #a6c5c8;
    padding: 3px 0px 3px 0px;
}

legend {
    background-color: #fff;
    border: 1px solid #a6c5c8;
    border-radius: 4px;
    color: var(--blue);
    font-size: 14px;
    font-weight: bold;
    padding: 3px 7px 3px 7px;
    width: auto;
}

.align-as-number {
    text-align: right;
}

.alert-title {
    background-color: #f4f8fa;
    border-color: #5bc0de;
    margin: 20px 0;
    padding: 20px;
    border-left: 3px solid #eee;
}

    .alert-title h4 {
        color: #5bc0de;
        margin-top: 0;
        margin-bottom: 5px;
    }

    .alert-title p:last-child {
        margin-bottom: 0;
    }

    .alert-title code {
        background-color: #fff;
        border-radius: 3px;
    }

/* Tamaños de las fuentes */
.font-size-150 {
    font-size: 150%;
}

.font-size-140 {
    font-size: 140%;
}

.font-size-130 {
    font-size: 130%;
}

.font-size-120 {
    font-size: 120%;
}

.font-size-110 {
    font-size: 110%;
}

.font-size-100 {
    font-size: 100%;
}

.font-size-90 {
    font-size: 90%;
}

.font-size-80 {
    font-size: 80%;
}

.font-size-70 {
    font-size: 70%;
}

.font-size-60 {
    font-size: 60%;
}

.font-size-50 {
    font-size: 50%;
}

.font-size-40 {
    font-size: 40%;
}

.img-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

/* Tablas responsivas                             */
/* https://codepen.io/AllThingsSmitty/pen/MyqmdM  */
table {
    border: 1px solid #ccc;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
}

    table caption {
        /*font-size: 1.2em;*/
        font-size: .8em;
        margin: .5em 0 .75em;
        caption-side: top;
    }

    table tr {
        background-color: #f8f8f8;
        border: 1px solid #ddd;
        padding: .35em;
    }

    table th,
    table td {
        font-size: .8em;
        padding: .625em;
        text-align: center;
    }

    table th {
        letter-spacing: .1em;
        text-transform: uppercase;
    }

@media screen and (max-width: 600px) {
    table {
        border: 0;
    }

        table caption {
            font-size: .8em;
            /*font-size: 1.2em;*/
        }

        table thead {
            border: none;
            clip: rect(0 0 0 0);
            height: 1px;
            margin: -1px;
            overflow: hidden;
            padding: 0;
            position: absolute;
            width: 1px;
        }

        table tr {
            border-bottom: 3px solid #ddd;
            display: block;
            margin-bottom: .625em;
        }

        table td {
            border-bottom: 1px solid #ddd;
            display: block;
            font-size: .8em;
            text-align: right;
        }

            table td::before {
                /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
                content: attr(data-label);
                float: left;
                font-weight: bold;
                text-transform: uppercase;
            }

            table td:last-child {
                border-bottom: 0;
            }
}