* {
    font-family: 'Roboto', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html, body {
    padding: 0;
    margin: 0;
}

html {
    height: 100%;
}

body {
    background-color: #EFEFEF;
    background-repeat: repeat;
    min-height: 100%;
    max-width: 100%;
    margin-bottom: 45px;
    font-size: 14px;
    line-height: 1.4285;
    padding-top: 70px;
}

input[type=checkbox], input[type=radio] {
    /* Double-sized Checkboxes */
    -ms-transform: scale(1.5); /* IE */
    -moz-transform: scale(1.5); /* FF */
    -webkit-transform: scale(1.5); /* Safari and Chrome */
    -o-transform: scale(1.5); /* Opera */
    padding: 10px;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/Roboto-Light.eot') format('embedded-opentype'), local('Roboto Light'), local('Roboto-Light'), url(../fonts/Roboto-Light.ttf) format('truetype');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/Roboto-Regular.eot?#iefix') format('embedded-opentype'), local('Roboto'), local('Roboto-Regular'), url(../fonts/Roboto-Regular.ttf) format('truetype');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/Roboto-Medium.eot?#iefix') format('embedded-opentype'), local('Roboto Medium'), local('Roboto-Medium'), url(../fonts/Roboto-Medium.ttf) format('truetype');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/Roboto-Bold.eot?#iefix') format('embedded-opentype'), local('Roboto Bold'), local('Roboto-Bold'), url(../fonts/Roboto-Bold.ttf) format('truetype');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.center-v {
    display: flex;
    align-items: center;
    height: 55px;
}

.card-body.pgm-encabezado {
    padding: .5rem 1.25rem 0 1.25rem;
}

.pgm-titulo {
    font-size: 16pt;
    font-family: Arial;
    color: white;
    padding: 1px;
    width: 100%;
    text-align: center;
}

.rutas {
    font-family: 'Roboto', sans-serif;
    color: white;
    padding: 1px;
    overflow: hidden;
    max-height: 55px;
}

    .rutas a {
        color: white;
        text-transform: capitalize;
        font-weight: lighter;
    }

        .rutas a:hover {
            text-decoration: none;
            color: lightgray;
        }

.navbar {
    background-color: #31538A !important;
    min-height: 55px;
    border: none;
    box-shadow: 0 8px 16px rgba(0,0,0,.05), inset 0 -1px 0 rgba(0,0,0,.1);
}

    .navbar .nav-item {
        border: 1px solid lightgray;
        padding: 0 2.5px;
        margin: 0 5px;
        border-radius: 2.5px;
    }

.item-text {
    display: none;
}

.navbar .nav-item:hover .item-text {
    display: inline-block;
}

.navbar a.nav-link {
    color: white !important;
    text-transform: uppercase;
}

@media(min-width: 992px) {
    .navbar {
        max-height: 55px;
    }

    .nav-item {
        max-height: 37px;
    }

    a.nav-link {
        white-space: nowrap;
    }

    .rutas {
        white-space: nowrap;
        text-overflow: ellipsis;
    }
}

@media(max-width: 992px) {
    .navbar .nav-item {
        border: 1px solid lightgray;
        padding: 2.5px 10px;
        margin: 5px 5px;
        border-radius: 2.5px;
    }

        .navbar .nav-item .item-text {
            display: inline-block;
        }

    .rutas {
        overflow-y: hidden;
        overflow-x: scroll;
        padding-left: 5px;
        padding-right: 5px;
        max-width: 86%;
    }

    .menu-item {
        min-width: 100%;
    }

    body {
        overflow-y: scroll;
        max-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .rutas {
        max-width: 80%;
        margin: 0;
    }
}

@media screen and (max-width: 768px) {
    .table-mobile {
        border: 0;
    }

        .table-mobile caption {
            font-size: 1.3em;
        }

        .table-mobile thead {
            border: none;
            clip: rect(0 0 0 0);
            height: 1px;
            margin: -1px;
            overflow: hidden;
            padding: 0;
            position: absolute;
            width: 1px;
        }

        .table-mobile tr {
            border-radius: 4px;
            /*background-color: rgb(26, 32, 41);*/
            display: block;
            margin-bottom: 0em;
            margin: .5em;
            border: .1em solid gray;
        }

        .table-mobile td {
            display: block;
            font-size: .8em;
            text-align: right !important;
        }

            .table-mobile td:not(:first-child) {
                border-top: .1em solid darkgray;
            }

            .table-mobile td:first-child {
                border-top: none;
            }

            .table-mobile td:empty {
                display: none;
            }

            .table-mobile td:not(:empty):before {
                content: attr(data-label);
                float: left;
                font-weight: bold;
                text-transform: uppercase;
            }

            .table-mobile td:last-child {
                border-bottom: 0;
            }
}

.pgm-estado {
    height: 25px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

    .pgm-estado span {
        color: white;
        line-height: 20px;
        padding-top: 2.5px;
        padding-bottom: 2.5px;
        padding-left: 16px;
    }

tr.pgm-tabla-seleccion:hover {
    background-color: #d9edf7 !important;
}

tr.pgm-tabla-seleccion > td:not(.except):hover {
    cursor: pointer;
}

.pgm-bg-primary {
    background-color: #31538A;
}

.pgm-file-picker {
    display: inline-block;
    font-weight: 400;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    font-size: 1rem;
    line-height: 2.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    border: 1px solid #31538A;
    width: 100%;
}

    .pgm-file-picker.file-uploaded {
        background-color: #31538A;
        color: white;
    }

    .pgm-file-picker i {
        border-right: 1px solid lightgray;
        padding: .375rem .75rem;
        background-color: #31538A;
        color: white;
        line-height: 2.5;
    }

    .pgm-file-picker span {
        cursor: pointer;
        width: 100%;
        display: inline-block;
        line-height: 2.5;
    }

    .pgm-file-picker:not([disabled]):focus,
    .pgm-file-picker:not([disabled]):hover {
        background-color: #31538A;
        color: white;
    }

    .pgm-file-picker[disabled] {
        opacity: .65;
    }

        .pgm-file-picker[disabled] span {
            cursor: not-allowed;
        }

input[type=file] {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

code {
    color: black;
}

/*.tooltip-inner {
    min-width: 300px;
    max-width: 300px;
    text-align: left;
}*/

.mantenimiento {
    left: 0;
    position: fixed;
    bottom: 0;
    _position: absolute;
    _top: expression(eval(document.compatMode && document.compatMode=='CSS1Compat') ? documentElement.scrollTop +(documentElement.clientHeight-this.clientHeight) : document.body.scrollTop +(document.body.clientHeight-this.clientHeight));
    min-height: 25px !important;
    line-height: 16px !important;
    background-color: #fa2d2d !important;
    opacity: 0.85 !important;
    filter: alpha(opacity=85) !important;
    font-size: 11px !important;
    color: #ffffff !important;
    font-family: 'source-sans-pro', sans-serif !important;
    font-weight: 300 !important;
    padding: 3px 1% !important;
}

.mantenimientoCancelado {
    background-color: #2C6700 !important;
}

.mantenimiento a:visited,
.mantenimiento a:active,
.mantenimiento a:link {
    text-decoration: underline;
    font-size: 11px;
    color: #ffffff;
    text-align: center;
}

.spanTitle {
    margin-bottom: 5px;
    font-size: 16px;
    font-family: Arial;
    font-weight: bold;
}

.containerAyuda {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

tr.selected {
    background-color: #31538a6e !important;
}

.modal {
    overflow: auto !important;
}

.mensajeValidacion {
    color: red;
    font-style: italic;
    font-size: x-small;
}

.mensajeValidacionSmall {
    color: red;
    font-style: italic;
    font-size: small;
}

.mensajeInformativo {
    font-style: italic;
    font-size: small;
    color: gray;
    text-align: right;
}
