html {
    background-color: #333333;
}

body {
    display: block;
    max-width: 1024px;
    margin: auto;
    background-color: #d2dcdf;
    height: auto;
    min-height: 100%;
}

div#header {
    height: 74px;
    background-repeat: no-repeat;
}

div#appHead {
    height: 30px;
    padding-bottom: 0;
    color: gray;
    font-weight: 900;
    margin-top: 20px;
    vertical-align: middle;
    line-height: 30px;
    box-sizing: border-box;
}

div#appHead *, div#appHead {
    font-size: 9pt;
}

.appName {
    color: #0C56A0;
    margin-right: 5px;
}

#appHead, #appMain, #appMenu {
    margin-left: 20px;
    margin-right: 20px;
}

div#appMain {
    padding: 15px;
    background-color: white;
    overflow: hidden;
}

h1, h2, h3 {
    font-weight: normal;
}

h1 {
    font-size: 22px;
    color: #ec7627;
    text-shadow: #CCC 1px 1px 2px;
}

h2 {
    font-weight: bold;
    font-size: 14px;
    color: #EC7627;
    margin-top: 20px;
    margin-bottom: 20px;
}

h3 {
    font-size: 15px;
    color: #38445e;
}

.version {
    padding: 20px;
    color: gray;
    font-size: 10px;
}

.mensajeGlobal {
    background-color: white;
    border: 1px solid silver;
    padding: 10px;
    width: 70%;
    margin: auto;
    margin-top: 20px;
    border-radius: 5px;
}

.mensajeGlobal.warn {
    background-color: #FDFFC4;
}

div#headermobile {
    display: none;
}

@media screen and (min-width:480px) and (max-width:768px) {
    #appHead, #appMain, #appMenu {
        margin-left: 10px;
        margin-right: 10px;
    }
}

@media screen and (max-width:480px) {
    div#header {
        height: 50px;
        background-image: none;
        background-color: #2D517C;
    }

    div#headermobile {
        display: block;
        height: 50px;
        background-repeat: no-repeat;
        background-position: 5px center;
    }

    div#appMain {
        padding: 10px;
        margin: 0;
    }

    div#appHead {
        border-radius: 0;
        margin-top: 0;
        overflow: hidden;
        padding-top: 0;
    }

    div#appHead, .appName {
        vertical-align: top;
    }

    div#appHead *, div#appHead {
        font-size: 8pt;
    }

    #appHead, #appMain, #header, #appMenu {
        margin-left: 0;
        margin-right: 0;
    }

    h1 {
        font-size: 18px;
    }

    h2 {
        margin-top: 10px;
        margin-bottom: 10px;
        font-size: 10pt;
        color: #0C56A0;
        text-align: center;
    }
}

table.styled-table {
    border: 1px solid gray;
    cellspacing: 0;
    border-spacing: 0;
    color: black;
}

table.styled-table>thead>tr {
    background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#c0c0c0));
    background-image: -moz-linear-gradient(top, #ffffff 0%, #c0c0c0 100%);
    background-image: -o-linear-gradient(top, #ffffff 0%, #c0c0c0 100%);
    background-color: #c0c0c0;
}

table.styled-table>thead>tr>th {
    padding: 5px;
    border-bottom: 1px solid gray;
    text-shadow: 0 1px 0 #ffffff;
}

table.styled-table>tfoot>tr {
    background-color: #48668a;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#48668a), to(#233c60));
    background-image: -moz-linear-gradient(top, #48668a 0%, #233c60 100%);
    background-image: -o-linear-gradient(top, #48668a 0%, #233c60 100%);
    background-position: top;
    background-repeat: repeat-x;
    padding: 3px;
    color: white;
    font-weight: bold;
}

table.styled-table>tfoot>tr>td {
    padding: 5px;
    border-top: 1px solid gray;
}

table.styled-table td:not(:last-child), table.styled-table th:not(:last-child) {
    border-right: 1px solid gray;
}

table.styled-table>tbody>tr:nth-child(even) {
    background-color: #edf7ff;
}

table.styled-table>tbody>tr:nth-child(odd) {
    background-color: white;
}

table.styled-table>tbody>tr>td {
    padding: 4px;
}

table.styled-table:not(.vertical)>tbody>tr:hover {
    background-color: #c0d1ee;
}

table.styled-table.vertical tr>td:first-child {
    font-weight: bold;
    text-align: right;
    padding-right: 5px;
    color: #4d4d4d;
}

@media screen and (max-width:480px) {
    table.styled-table {
        width: 92%;
        margin-left: 4%;
    }

    table.styled-table thead {
        display: none;
    }

    table.styled-table tbody tr td {
        padding: 5px;
        padding-left: 30%;
        display: block;
        box-sizing: border-box;
    }

    table.styled-table tbody tr td:before {
        color: gray;
        margin-left: -75px;
        float: left;
    }

    table.styled-table tbody tr:hover {
        background-color: transparent;
    }
}

div#appMenu {
    height: 35px;
    background-color: #162d50;
    background-image: -moz-linear-gradient(top, #162d50 0%, #2c5aa0 100%);
    background-image: -o-linear-gradient(top, #162d50 0%, #2c5aa0 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#162d50), to(#2c5aa0));
    box-sizing: border-box;
}

div#appMenu .boton {
    height: 35px;
    min-width: 110px;
    max-width: 150px;
    color: white;
    line-height: 35px;
    overflow: hidden;
    text-align: center;
    border-right: 1px solid gray;
    float: left;
    box-sizing: border-box;
}

div#appMenu .boton img, div#appMenu .boton span {
    vertical-align: middle;
    margin-right: 5px;
    height: 21px;
    width: 21px;
}

div#appMenu .boton span {
    background-repeat: no-repeat;
    display: inline-block;
    background-repeat: no-repeat;
}

div#appMenu .boton:not(.seleccionado):hover {
    background-color: #3771c8;
    background-image: -moz-linear-gradient(top, #214478 0%, #3771c8 100%);
    background-image: -o-linear-gradient(top, #214478 0%, #3771c8 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#214478), to(#3771c8));
}

div#appMenu .boton.seleccionado {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAHCAYAAAAxrNxjAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAACYSURBVBiVdY4xDoJAEEXf7G6BDQcwFhuxsKOn8CJeRa/BDbiIhT2dCWC2IF7BBhgL0axRXzWZeX9mRFWJaa/9HmCzXlVxX2LxEoJ36mqAQYZ86314zUwUsg5XASmQzrX9Ettrf0Qp3jGlaEN/+DjddbdCzXSKN8yMMpldli3P0jRNKnZRK+r5gSBBx3tusEn5T3p+oB6blA80ajdE2Sp32QAAAABJRU5ErkJggg==');
    background-repeat: no-repeat;
    background-position: center bottom;
}

div#appMenu div#btnLogout {
    float: right;
    width: 50px;
    min-width: 0;
    border: 0;
    border-left: 1px solid gray;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAXCAYAAAALHW+jAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAGySURBVDiNtZW7axVBFIe/ndwoWmmwNCgKsTCGkCJIbJJewSJiaWEjPqJi4wPsFfwPREwjiKWVj0awCCaGq6WVYmERMUSQoFf4LO4unntZsnMFDwycPb/HzOzOnC1UGmIPsAgMAaeBjS3ZatO47N9YaOKnpuUBO0I+0kTOMRwo/qvhMHAJOJupLYAzwAWgVRVbgXAXuFLmn4HnDYbHgIdlfhg4H1c4AywE8reMFf4O+TlgrjLcDjwI5o+BlQzDJbrnE7rbvw/sTMBJ4FAJrAEXM8yquAp8KfMDwKkETAfCPeDrAIbrwJ3wPJ2AqVB4O4BZnWYqAROh8O4fDN8DVUOYSEAngNtqBJsh79Tgw3Q/CkAnAe0ATtYIHgGfgI/Akxo8atoJWA2FmRrBGrAfGAM+1OBRs4p6PLSnH+rBjJZWjX3q96CfR03q61B8pRYZZoX6MujeqEMVOKZuBvCZOrqF2V71ReD/VMfVno59zd7YUG+qc+pudZc6q15X1/u4tyqf/plvlLPlxi/1tuEV1W1nXF3OMFtRj/TrC+v/ei3gBHCU7tWszlq7PGZLwFN6WxgAfwAWxg+XHZxaEQAAAABJRU5ErkJggg==');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 18px 18px;
}

div#appMain, div#panel, div#main {
    padding: 10px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

div#panel, div#main {
    min-height: 500px;
}

div#appMain {
    padding: 0;
}

div#panel {
    width: 25%;
    float: left;
    background-color: #dbdee3;
    background-image: -moz-linear-gradient(top, #dbdee3 0%, #939dac 100%);
    background-image: -o-linear-gradient(top, #dbdee3 0%, #939dac 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#dbdee3), to(#939dac));
}

div#main {
    width: 75%;
    float: right;
}

.version {
    position: fixed;
    bottom: 0;
}

h1 {
    color: #0C56A0;
}

div.moduleHeader {
    background-color: #d9dce2;
    min-height: 30px;
    padding: 10px;
    box-sizing: border-box;
}

div.moduleHeader h1 {
    margin: 0;
    font-size: 10pt;
    font-weight: bold;
}

.popup_holder {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.popup_holder .background {
    position: fixed;
    display: block;
    background-color: black;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    filter: alpha(opacity=80);
}

.popup_holder .mensaje {
    position: absolute;
    left: 30%;
    width: 40%;
    background-color: white;
    padding: 10px;
    z-index: 100;
    top: 0;
    border-radius: 3px;
}

.popup_holder .mensaje.error {
    border: 1px solid #DE6464;
    background-color: #FFE6E6;
}

@media screen and (min-width:480px) and (max-width:940px) {
    #appMain, #appMenu {
        margin: 0;
    }

    div#header, div#headermobile, div#appHead {
        display: block;
        height: 40px;
    }

    div#appHead {
        line-height: 40px;
        position: absolute;
        right: 0;
        top: 0;
        margin-top: 0;
        background-color: transparent;
        color: white;
    }

    .appName {
        color: silver;
    }

    div#header {
        background-image: none;
        background-color: #2D517C;
    }

    div#headermobile {
        background-repeat: no-repeat;
        background-position: 5px center;
        background-size: 180px 25px;
    }
}

table.timeChart {
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
    margin-top: 0;
    table-layout: fixed;
}

table.timeChart td:first-child {
    width: 120px;
    background-color: #e6e6e6;
    padding: 5px;
    text-align: right;
    padding-right: 10px;
    min-width: 115px;
    overflow: hidden;
    border-right: 1px solid gray;
    font-family: Helvetica, Arial, Verdana;
}

table.timeChart thead td:nth-child(2) {
    border-top: 0;
}

table.timeChart td:nth-child(2) {
    border-bottom: 1px solid gray;
    width: 87%;
    background-color: white;
}

table.timeChart tbody tr:hover td:first-child {
    background-color: #3367b9;
    color: white;
    background: -webkit-gradient(linear, left top, left bottom, from(#3367b9), to(#21457a));
}

table.timeChart tr, table.timeChart tr td {
    height: 25px;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    margin: 0;
    overflow: hidden;
    line-height: 0;
    font-size: 8pt;
}

table.timeChart #btnTodos {
    width: 100%;
    line-height: 15px;
    vertical-align: middle;
}

table.timeChart #btnTodos img {
    display: none;
}

.unSelected {
    text-decoration: underline;
    color: #3367B9;
    font-weight: bold;
}

table.timeChart td.institucionSeleccionada {
    font-weight: bold;
    color: white;
    background-color: #3367b9;
    background: -webkit-gradient(linear, left top, left bottom, from(#3367b9), to(#21457a));
}

table.timeChart tfoot tr td:first-child {
    margin: 0;
    padding: 5px;
    height: auto;
    background-color: #E6E6E6;
}

table.detalle thead td {
    font-weight: bold;
}

table.detalle td:first-child, table.detalle td:nth-child(2) {
    border: 0;
    background-image: none;
    width: 50%;
    font-weight: normal;
    padding: 5px;
    background-color: #212121;
    color: white;
    font-size: 9pt;
}

table.styled-table {
    table-layout: fixed;
    width: 100%;
}

div#appMain {
    padding: 0;
    border: 1px solid silver;
    background-color: #B3B3B3;
    border-top: none;
    min-height: 0;
    height: auto;
}

div#header {
}

div#appHead {
    background-color: #A7A8AA;
    height: 30px;
    padding-left: 5px;
    padding-bottom: 0;
    color: white;
    font-weight: 900;
    border-radius: 5px 5px 0 0;
    margin-top: 20px;
    vertical-align: middle;
    line-height: 30px;
    box-sizing: border-box;
}

#appMain div.header {
    width: 100%;
    margin-bottom: 0;
    height: 30px;
    background-color: #E6E6E6;
    background: -webkit-gradient(linear, left top, left bottom, from(#b3b3b3), to(#e6e6e6));
    color: #2b589c;
    font-size: 11pt;
    font-weight: bold;
    line-height: 40px;
    vertical-align: center;
    padding-left: 10px;
    box-sizing: border-box;
}

#appMain div.header div {
    float: left;
    line-height: 30px;
    font-family: Helvetica, Arial, Verdana;
    font-size: 11px;
}

#appMain div.header div.mensaje {
    font-size: 8pt;
}

#divFechaOperacion {
    height: 100%;
    float: left;
    margin-left: 10%;
    color: gray;
    text-shadow: 0px 1px 0px rgba(255, 255, 255, .5);
}

#loader {
    float: right;
    margin: 5px;
}

.detalleConexiones {
    padding: 10px;
    text-align: left;
    background-color: #E6E6E6;
    background: -webkit-gradient(linear, left top, left bottom, to(#B3B3B3), from(#E6E6E6));
    height: auto;
    min-height: 80px;
    display: table;
    width: 100%;
    box-sizing: border-box;
}

#mensajePantallaCompleta {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}

#mensajePantallaCompleta .mensajeGlobal {
    margin-top: 20%;
    width: 600px;
}

.detalleConexiones div {
    width: 50%;
    float: left;
    line-height: 15pt;
    font-size: 9pt;
}

@media screen and (max-width:480px) {
    #divFechaOperacion {
        margin-left: 0;
    }

    #appMain div.header div.mensaje {
        display: none;
    }
}