﻿@font-face {
    font-family: glyphicons;
    src: url(../fonts/glyphicons-halflings-regular.woff);
}

@font-face {
    font-family: fontawesome;
    src: url(../fonts/fa-solid-900.woff);
}

body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Tahoma;
    font-size: 8pt;
    overflow: hidden;
}

html {
    height: 100%;
}

.FullHeight {
    height: 100%;
}

.Centered {
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
}

.Invisible {
    visibility: hidden;
}

.Oculto {
    display: none;
}

.PopupInfo {
    margin: 0;
    padding: 0;
    height: 1em;
}

    .PopupInfo li {
        list-style: none;
        float: left;
    }

        .PopupInfo li a {
            display: block;
            padding: 3px 8px;
            /*background-color: #5e8ce9;*/
            /*color: #fff;*/
            text-decoration: none;
            color: black;
        }

        .PopupInfo li ul {
            display: none;
            width: 10em;
            /* Width to help Opera out */
            background-color: #d2d5e2;
            border: 1px solid #7983a1;
        }

        .PopupInfo li:hover ul {
            display: block;
            position: absolute;
            margin: 0;
            padding: 0;
            margin-left: 30px;
            margin-top: -30px;
            padding: 5px;
        }

        .PopupInfo li:hover li {
            float: none;
        }

            .PopupInfo li:hover li a {
                background-color: #69f;
                border-bottom: 1px solid #fff;
                color: #000;
            }

        .PopupInfo li li a:hover {
            background-color: #8db3ff;
        }

    .PopupInfo span {
        display: block;
        background-color: #d2d5e2;
    }

.FondoModal {
    background-color: black;
    filter: alpha(opacity=70);
    opacity: 0.7;
}

.VentanaModal {
    border-width: 4px;
    border-color: #7983a1;
    border-style: solid;
    background-color: white;
    background-image: url('../Images/Gradients/Content.jpg');
    padding-bottom: 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

    .VentanaModal div {
        padding: 10px;
    }

    .VentanaModal table {
        width: 100%;
    }

.ContenidoVentanaModal {
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
}

.LoginPanel {
    position: absolute;
    left: 0px;
    top: 59px;
    right: 0;
    bottom: 0;
    padding: 5px;
    background-color: #d2d5e2;
    /*background-image: url('../Images/Gradients/Content.jpg');*/
    background-image: url('../Images/BackG/BackG2.jpg');
    background-repeat: repeat-x;
}

.FrameContent {
    border-style: none;
    width: 100%;
    height: 100%;
}

.PanelEstados {
    border: 1px solid black;
    background-color: White;
}

.TextBox {
    border: 1px solid #d2d5e2;
    font-family: Tahoma;
    font-size: 8pt;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: 17px;
}

.TextArea {
    border: 1px solid #d2d5e2;
    font-family: Tahoma;
    font-size: 8pt;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: auto !important;
    tab-size: 10px;
}

.NumericField {
    border: 1px solid #d2d5e2;
    font-family: Tahoma;
    font-size: 8pt;
    width: 100%;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    text-align: right;
    height: 17px;
}

.ComboBox {
    border: 1px solid #d2d5e2;
    font-family: Tahoma;
    font-size: 8pt;
    width: 100%;
    height: 17px;
}

.FileField {
    width: 100%;
}

.Label {
    white-space: nowrap;
    color: #0d1942;
    font-family: Tahoma;
    font-size: 8pt;
}

.CheckBox {
    font-family: Tahoma;
    font-size: 8pt;
}

.OptionButton {
    font-family: Tahoma;
    font-size: 8pt;
}

.AutoComplete {
    background-position: 1px;
    background-image: url('../Images/Toolbar/filtro.png');
    background-repeat: no-repeat;
    padding-left: 20px;
    width: 100%;
    border: 1px solid #d2d5e2;
    font-family: Tahoma;
    font-size: 8pt;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.ACProcStyle {
    background-position: 1px;
    background-image: url('../Images/Toolbar/wait.png');
    background-repeat: no-repeat;
    padding-left: 20px;
    border: 1px solid #d2d5e2;
    font-family: Tahoma;
    font-size: 8pt;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.ColLabels {
    width: 13%;
    text-align: right;
    padding-right: 5px;
}

.ColFields {
    /*width:20%;*/
    /*white-space:nowrap;*/
}

.ColSep {
    width: 0.5%;
}

.Ancho30 {
    width: 30%;
}

.Ancho70 {
    width: 70%;
}

.DateFieldText {
    font-size: 8pt;
    border: solid 1px #d2d5e2;
    color: #002663;
}

.DateField {
    width: 100%;
}

    .DateField .ajax__calendar_container {
        border: 1px solid #646464;
        background-color: white;
        z-index: 100;
    }

    .DateField .ajax__calendar_header {
        padding-top: 5px;
        border: 1px solid #646464;
        background-color: #4c577b;
        color: white;
    }

    .DateField .ajax__calendar_title {
        background-color: #4c577b;
        color: white;
    }

    .DateField .ajax__calendar_active {
        border: 1px solid #646464;
        background-color: #FFD52D;
    }

    .DateField .ajax__calendar_dayname {
        font-weight: bold;
        text-align: center;
    }

    .DateField .ajax__calendar_day {
        text-align: center;
    }

    .DateField .ajax__calendar_hover {
        background-color: #FFF2D5;
    }

.Boton {
    font-size: 8pt;
    background-color: #4c577b;
    color: white;
    font-weight: bold;
    border: 1px solid #0d1942;
    cursor: pointer;
    height: 20px;
    margin-right: 5px;
    margin-top: 10px;
}

    .Boton:hover {
        background-color: #d2d5e2;
        color: #4c577b;
    }

.TituloModal {
    background-position: 5px center;
    background-image: url('../Images/Toolbar/gears.png');
    background-repeat: no-repeat;
    background-color: #0d1942;
    display: block;
    color: #d2d5e2;
    font-weight: bold;
    font-size: 13px;
    border-bottom: #7983a1;
    height: 25px;
    padding: 5px 5px 5px 35px;
}

.IconoLogin {
    background-image: url('../Images/Pages/lock_ok.png');
}

.TablaCampos1Izq {
    table-layout: fixed;
    border-collapse: collapse;
    width: 100%;
    empty-cells: show;
    margin-bottom: 5px;
}

    .TablaCampos1Izq .ColLabels {
        width: 35%;
        text-align: left;
    }

    .TablaCampos1Izq .ColFields {
        width: 65%;
    }

    .TablaCampos1Izq tr {
        height: 22px;
    }

.TablaCampos2 {
    table-layout: fixed;
    border-collapse: collapse;
    width: 100%;
    empty-cells: show;
    margin-bottom: 5px;
}

    .TablaCampos2 .ColLabels {
        width: 24%;
    }

    .TablaCampos2 .ColFields {
        /*width:25%;*/
    }

    .TablaCampos2 .ColSep {
        width: 2%;
    }

    .TablaCampos2 tr {
        height: 22px;
    }

.Required {
    background-image: url('../Images/Gradients/required.png');
    background-repeat: no-repeat;
    background-position: right 50%;
}

.Upload {
    border: 1px solid #d2d5e2;
    font-family: Tahoma;
    font-size: 8pt;
    color: #0d1942;
}

.TabHeader {
    background-position: center bottom;
    background-image: url('../Images/Tabs/header_back.gif');
    background-repeat: repeat-x;
    background-attachment: scroll;
    height: 21px;
}

.TabActive {
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-left: 1px solid #999999;
    border-right: 1px solid #999999;
    background-image: url('../Images/Tabs/tab_back_active.gif');
    background-repeat: repeat-x;
    padding-bottom: 3px;
    padding-left: 3px;
    padding-right: 3px;
    padding-top: 3px;
    display: inline-block;
    height: 15px;
    background-color: White;
    margin-right: 1px;
    text-decoration: none;
    color: Black;
}

.Tab {
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-left: 1px solid #999999;
    border-right: 1px solid #999999;
    background-image: url('../Images/Tabs/tab_back.jpg');
    background-repeat: repeat-x;
    background-position: center bottom;
    padding-bottom: 3px;
    padding-left: 3px;
    padding-right: 3px;
    padding-top: 0px;
    display: inline-block;
    height: 13px;
    background-color: White;
    vertical-align: bottom;
    border-bottom: 1px solid #999999;
    border-top: 1px solid #999999;
    margin-right: 1px;
    text-decoration: none;
    color: Black;
}

.TabContent {
    border-left: 1px solid #999999;
    border-bottom: 1px solid #999999;
    border-right: 1px solid #999999;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    padding: 10px;
    background-color: White;
}

.ImageField {
    width: 100%;
    background-color: White;
    border: 1px solid black;
}

.DateRange {
    width: 100%;
}

    .DateRange span {
        width: 50%;
        display: inline-block;
    }

.TituloPrincipal {
    background-color: #b90000;
    padding: 5px 5px 5px 5px;
    font-weight: bold;
    color: white;
    font-size: 14px;
    margin-bottom: 10px;
}

.DataSeeker .DSText {
    border: 1px solid #d2d5e2;
    font-family: Tahoma;
    font-size: 8pt;
    width: 100%;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    height: 17px;
}

.DataSeeker .DSLink {
    position: absolute;
    border: solid 1px black;
    left: 100%;
    background-color: white;
    white-space: nowrap;
    display: none;
    color: black;
    text-decoration: none;
    padding: 2px;
}

.DSLink:hover {
    text-decoration: underline;
}

.DataSeeker:hover .DSLink {
    display: inline-block;
}

.DataSeeker {
    position: relative;
}

.noclose .ui-dialog-titlebar-close {
    display: none;
}

.LookupPanel {
    width: 100%;
    height: 100%;
    position: relative;
}

.LookupGridPanel {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    border: 1px solid #7983a1;
    width: 100%;
    overflow: auto;
    background-color: White;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.LookupGrid {
    width: 100%;
    font-family: Tahoma;
    font-size: 8pt;
}

    .LookupGrid .GridRowSelected td {
        background-color: #d2d5e2;
        border-bottom: 1px solid #7983a1;
    }

.GenericToolbar {
    height: 24px;
}

    .GenericToolbar a {
        border: 1px solid transparent;
        background-color: transparent;
        font-family: Tahoma;
        font-size: 8pt;
        cursor: pointer;
        color: transparent;
        background-image: url('../Images/Toolbar/default.png');
        background-repeat: no-repeat;
        background-position: 2px 2px;
        width: 20px;
        height: 20px;
        margin: 0px 0px 0px 0px;
        display: inline-block;
        margin-top: 1px;
    }

        .GenericToolbar a:hover {
            border: 1px solid #ffb74c;
            background-color: #ffe6a0;
        }

    .GenericToolbar .IconoLayout {
        background-image: url('../Images/Toolbar/edit_layout.png');
    }

    .GenericToolbar .IconoViewEntity {
        background-image: url('../Images/Toolbar/view_entity.png');
    }

.Unavailable {
    display: none;
}

.HoverMenuParent {
    position: relative;
}

    .HoverMenuParent:hover .HoverMenu {
        display: inline-block;
    }

.HoverMenu {
    position: absolute;
    left: 0%;
    top: 100%;
    border: 1px solid black;
    background-color: white;
    display: none;
}

    .HoverMenu a {
        padding: 5px 10px 5px 10px;
        display: inline-block;
        text-decoration: none;
    }

        .HoverMenu a:hover {
            background-color: #4c577b;
            color: white;
        }

.ContextButtonContainer {
    position: relative;
}

    .ContextButtonContainer input::-ms-clear {
        display: none;
    }

.ContextButton {
    position: absolute;
    width: 20px;
    height: 20px;
    right: 0px;
    top: 0px;
    display: none;
    cursor: pointer;
    font-family: 'GLYPHICONS Halflings';
    line-height: 20px;
    text-align: center;
    font-size: 15px;
    border-width: 1px;
    border-style: solid;
    border-color: transparent;
}

    .ContextButton:hover {
        border: 1px solid #d2d5e2;
        background-color: #eaecf2;
    }

.ContextButtonContainer:hover .ContextButton {
    display: inline-block;
}

.ModalFrame {
    width: 100%;
    height: 100%;
}

.ChartPlaceHolder {
    background-image: url('../Images/Loading/EvolverLoading.gif');
    background-repeat: no-repeat;
    background-position: center;
    min-width: 117px;
    min-height: 77px;
}

.ChartField {
    background-color: white;
    border: 1px solid #d2d5e2;
}

.ui-dialog .ui-dialog-content {
    padding: 0;
}
/*Deben estar al final*/
.DateField tr td {
    padding-top: 0px;
}
/*Nuevo*/
html.theme-jd {
    font-size: 10px;
    color: #1d1d1d;
    /*font-family: 'Open Sans';*/
    /*input[type=checkbox] {
        -webkit-appearance: none;
        -moz-appearance: none;
        -ms-appearance: none;
        -o-appearance: none;
        appearance: none;
        position: relative;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        height: 2rem;
        width: 2rem;
        transition: all 0.15s ease-out 0s;
        background: #cbd1d8;
        border: none;
        color: #fff;
        cursor: pointer;
        display: inline-block;
        margin-right: 0.5rem;
        outline: none;
        border-radius: 0.5rem;
    }

    input[type=checkbox]:hover {
        background: #9faab7;
    }

    input[type=checkbox]:checked {
        background: #15428b;
    }

    input[type=checkbox]:checked::before {
        height: 2rem;
        width: 2rem;
        position: absolute;
        content: '✔';
        display: inline-block;
        font-size: 1.1rem;
        text-align: center;
        line-height: 2rem;
    }*/
    /*input[type=checkbox] + label {
        display: inline-block;
        top: -0.75rem;
        position: relative;
    }*/
}

    html.theme-jd body {
        font-size: 1rem;
        color: #1d1d1d;
        /*font-family: 'Open Sans';*/
    }

    html.theme-jd input.TextBox {
        /*font-size: 1.4rem;*/
        min-height: 3rem;
        border-radius: 0.5rem;
        border: 1px solid #cccccc;
        background-color: white;
        padding: 0 0.5rem;
        color: #1d1d1d;
        font-family: 'Open Sans';
    }

    html.theme-jd .Label,
    html.theme-jd label {
        white-space: nowrap;
        color: #1d1d1d;
        font-family: 'Open Sans';
        /*font-size: 1.4rem;*/
    }

    html.theme-jd iframe {
        border: 0;
        margin: 0 0;
    }
