﻿@font-face {
    font-family: 'Avenir Black';
    font-style: normal;
    font-weight: normal;
    src: local('Avenir Black'), url('/Styles/recursos/fonts/AvenirBlack/275de2221d9f0c4c9257d17f5a1e4006.ttf') format('truetype');
    src: local('Avenir Black'), url('/Styles/recursos/fonts/AvenirBlack/275de2221d9f0c4c9257d17f5a1e4006.svg#Avenir Black') format('svg');
    src: local('Avenir Black'), url('/Styles/recursos/fonts/AvenirBlack/275de2221d9f0c4c9257d17f5a1e4006.woff') format('woff');
    src: local('Avenir Black'), url('/Styles/recursos/fonts/AvenirBlack/275de2221d9f0c4c9257d17f5a1e4006.woff2') format('woff2');
}

* {
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
}

body {
    /*minimo 1024 (ipad), maximo 100%*/
    width: 100%;
    width: 100vw;
    /*max-width: 100%;*/
    /*minimo 768 (ipad), maximo 100%*/
    height: 100%;
    height: 100vh;
    /*max-height: 100%;*/
    background: white;
    /*float: left;*/
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: Verdana, Arial, Helvetica, Arial;
}

input[type=search], input[type=time], input[type=text] {
    -webkit-appearance: none !important;
    width: 129px;
    height: 20px;
}

form {
    height: 100vh;
}

#big_wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
    /* PRUEBA min-height: 200px; */
    /* 768 minimo del body - 68 header - 22 footer*/
    height: calc(100% - 90px - 0.2em);
    /*position: absolute;*/
}

#top_header {
    width: auto;
    /*tamaño calculado de otros items como el margin*/
    height: 68px;
    max-height: 68px;
    /*asegurarse del máximo*/
    /*background: #021b35; #b22 url(../Images/header-01.png) no-repeat;*/
    /*line-height:68px;*/
    vertical-align: middle;
    /*padding: 0.2em;*/
    /*background: #25aae2;*/
    /* background: #25aae2;
    background: -moz-linear-gradient(top, rgba(64, 154, 204, 1) 0%, rgba(15, 128, 190, 1) 44%, rgba(11, 116, 180, 1) 100%);
    background: -webkit-linear-gradient(top, rgba(64, 154, 204, 1) 0%, rgba(15, 128, 190, 1) 44%, rgba(11, 116, 180, 1) 100%);
    background: linear-gradient(to bottom, rgb(64, 154, 204) 0%, rgb(15, 128, 190) 44%, rgb(11, 116, 180) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#25aae2', endColorstr='#25aae2', GradientType=0); */
    /* box-shadow: inset black 0px 0px 10px 0px; */
    background: #243a85;
    background: -moz-linear-gradient(left, #243a85 0%, #22529c 54%, #2180d4 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, #243a85), color-stop(54%, #22529c), color-stop(100%, #2180d4));
    background: -webkit-linear-gradient(left, #243a85 0%, #22529c 54%, #2180d4 100%);
    background: -o-linear-gradient(left, #243a85 0%, #22529c 54%, #2180d4 100%);
    background: -ms-linear-gradient(left, #243a85 0%, #22529c 54%, #2180d4 100%);
    background: linear-gradient(to right, #243a85 0%, #22529c 54%, #2180d4 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#243a85', endColorstr='#2180d4', GradientType=1);
}

    #top_header #logo {
        height: 50px;
        width: auto;
        margin: 9px;
        float: left;
    }

#headIzquierda {
    height: 68px;
    width: 150px;
    float: left;
    background: url("../Images/LogoPrincipal.png") no-repeat left;
    /*-moz-background-size: auto 68px;
    -o-background-size: auto 68px;
    -webkit-background-size: auto 68px;*/
    background-size: auto 150px;
    margin-left: 10px;
}

#headDerecha {
    height: 68px;
    width: auto;
    padding-right: 50px;
    float: right;
    /* background: url("../Images/master-03.png") no-repeat right; */
    /* -moz-background-size: auto 68px;
    -o-background-size: auto 68px;
    -webkit-background-size: auto 68px; */
    background-size: auto 68px;
}

#top_menu {
    display: flex;
    justify-content: start;
    float: left;
    background-color: #9d9d9d;
    /*heredado,izquierda*/
    /*background: white;*/
    /*border-right: 1px solid grey;
    border-bottom: 1px solid grey;*/
    /*background: #F2F5F6;
    background: -moz-linear-gradient(top, rgba(242, 245, 246, 1) 0%, rgba(227, 234, 237, 1) 37%, rgba(200, 215, 220, 1) 100%);
    background: -webkit-linear-gradient(top, rgba(242, 245, 246, 1) 0%,rgba(227, 234, 237, 1) 37%,rgba(200, 215, 220, 1) 100%);
    background: linear-gradient(to bottom, rgba(242, 245, 246, 1) 0%,rgba(227, 234, 237, 1) 37%,rgba(200, 215, 220, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#F2F5F6', endColorstr='#C8D7DC',GradientType=0 );*/
    /* background: #F2F5F6;
    background: url("../Images/master-01.png"), -moz-linear-gradient(top, rgba(242, 245, 246, 1) 0%, rgba(185, 185, 185, 1) 37%, rgba(200, 215, 220, 1) 100%);
    background: url("../Images/master-01.png"), -webkit-linear-gradient(top, rgba(242, 245, 246, 1) 0%, rgba(185, 185, 185, 1) 37%, rgba(200, 215, 220, 1) 100%);
    background: url("../Images/master-01.png"), linear-gradient(to bottom, rgba(242, 245, 246, 1) 0%, rgba(185, 185, 185, 1) 37%, rgba(200, 215, 220, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#F2F5F6', endColorstr='#C8D7DC', GradientType=0);
    -moz-background-size: 150px auto;
    -o-background-size: 150px auto;
    -webkit-background-size: 150px auto;
    background-size: 150px auto;
    background-repeat: no-repeat;
    background-position-y: bottom; */
    width: 150px;
    /*valor por defecto*/
    /*max-width: 150px;*/
    /*asegurarse maximo*/
    /*min-height: 678px;*/
    /* 768 minimo del body - 68 header - 22 footer*/
    height: 100%;
    /* box-shadow: rgba(0, 0, 0, 0.75) 1px 0px 5px; */
    position: relative;
}

#main_section {
    margin: 0px;
    padding: 5px;
    width: 100%;
    height: 100%;
    background: #b0b4b7 url(../Images/fondoPrincipal.jpg) no-repeat;
    font-size: 12px;
    overflow: auto;
    background-position: right bottom;
    background-size: cover;
}

#side_news {
    /*border-left: 1px solid grey;
    border-bottom: 1px solid grey;
    border-top: 1px solid grey;*/
    background: rgba(221, 221, 221, 0.90);
    float: right;
    /*derecha*/
    width: 120px;
    max-width: 120px;
    height: 100%;
    /*min-height: 678px;*/
    /* 768 minimo del body - 68 header - 22 footer*/
    font-size: 10px;
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.75) -1px 0px 5px;
}

    #side_news * {
        margin: 2px;
    }

#the_footer {
    clear: both;
    font: bold 10px Arial;
    text-align: center;
    vertical-align: central;
    background: black;
    color: white;
    /*position: absolute;
    bottom: 0;*/
    border-top: 2px solid black;
    width: 100%;
    height: 20px;
    max-height: 20px;
}

.cuadroBusqueda {
    display: none;
    /*inline-flex;*/
    align-items: flex-start;
    /*display: inline-block;*/
    background: #fff;
    border: 1px solid #3336;
    border-radius: 3rem;
    padding: 0 0 0 10px;
    width: auto;
    margin-left: 4px;
    overflow: hidden;
}

    .cuadroBusqueda input, .cuadroBusqueda select {
        position: relative;
        float: left;
        width: 200px;
        height: 40px;
        padding: 0;
        border: none;
    }

    .cuadroBusqueda select {
        min-width: 100px;
        width: auto;
        background: url(../Images/down_arrow_select.png) no-repeat right;
        -webkit-appearance: none;
        -moz-appearance: none;
    }

    .cuadroBusqueda #divFiltros select {
        min-width: 150px;
        margin-left: 0.2em;
    }

    .cuadroBusqueda select:hover {
        background-color: #f8f8f8;
    }

    .cuadroBusqueda input[type="search"] {
        margin-left: 10px;
        color: #666;
        z-index: 1;
    }

    .cuadroBusqueda input[type="submit"] {
        font-size: 1.4em;
        width: 50px;
        background: url("../Images/buscar.png") no-repeat center;
        /* transform: translate(-100px, 0);
    transition-duration: .3s; */
        cursor: pointer;
    }

    .cuadroBusqueda select:focus {
        outline: none;
    }

    .cuadroBusqueda input:focus {
        outline: none;
    }

        .cuadroBusqueda input:focus ~ input[type="submit"] {
            transform: translate(0, 0);
            transition-duration: .3s;
        }

    .cuadroBusqueda input[type="button"] {
        font-size: 1.4em;
        width: 50px;
        background: #0072a4 url(../Images/buscar.png) no-repeat center;
        cursor: pointer;
    }

span#CBSeperador {
    font-family: 'Avenir Black', sans-serif;
    font-size: xx-large;
    color: #243a85;
    margin-left: 5px;
    margin-right: 5px;
    padding-top: 10px;
}

.ventana .cuadroBusqueda {
    margin: 10px auto;
    display: block;
    width: 350px;
}

.lblTitulo {
    font-family: 'Avenir Black';
    color: #0072a4;
    font-size: 2.2em;
    margin-top: 25px;
    float: left;
    margin-left: 10px;
    color: white;
    animation-name: mostrarTitulo;
    animation-duration: 0.8s;
    text-transform: uppercase;
}

    .lblTitulo::before {
        content: "| "
    }

div#MainContent_filtro {
    background-color: #000e35b8;
    color: white;
    border-radius: 1rem;
    padding: 2px;
}

    div#MainContent_filtro > p {
        margin: 4px;
        margin-left: 17px;
        font-weight: bold;
        font-family: sans-serif;
    }

div#divFiltros {
    display: inherit;
}
/* Dropdown of Filter */
label#dropdownFilter {
    display: none;
}

.dd-menu li select {
    width: 9rem;
    height: 2rem;
    border-radius: 1rem;
    background-color: #323435cf;
    color: white;
    font-weight: bold;
    padding-left: 7px;
    border: none;
    outline: none;
}


/* Dropdown of icons */
.barraMenuButtons {
    display: flex;
}

.dropdown-icons {
    display: none;
}

.dd-button {
    display: inline-block;
    /* border: 1px solid gray; */
    border-radius: 2rem;
    padding: 13px 25px 11px 10px;
    background-color: #ef7a13;
    cursor: pointer;
    white-space: nowrap;
    font-weight: bold;
    color: white;
}

    .dd-button:after {
        content: '';
        position: absolute;
        top: 53%;
        right: 10px;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 7px solid white;
    }

    .dd-button:hover {
        background-color: #ef7a13;
    }

.dd-input {
    display: none;
}

.dd-menu {
    position: absolute;
    top: 100%;
    /* border: 1px solid #ccc; */
    border-radius: 4px;
    padding: 0;
    margin: 0px;
    /* box-shadow: 0 0 6px 0 rgba(0,0,0,0.1); */
    /* background-color: #ffffff; */
    list-style-type: none;
}

    .dd-menu li div {
        vertical-align: middle;
        margin: 2px 0px 2px 5px;
    }

.dd-input + .dd-menu {
    display: none;
}

.dd-input:checked + .dd-menu {
    display: block;
}

.dd-menu li {
    padding: 0px;
    cursor: pointer;
    white-space: nowrap;
    background-color: #323435cf;
    margin: 1px;
    border-radius: 2rem;
    width: 9rem;
    display: flex;
    flex-flow: row;
    align-items: center;
    transition: all 0.4s ease 0s;
    text-decoration: none;
    outline: none;
}

    .dd-menu li:hover {
        background-color: #25aae2;
        letter-spacing: 1px;
        -webkit-box-shadow: 0px 5px 40px -10px rgba(0, 0, 0, 0.57);
        -moz-box-shadow: 0px 5px 40px -10px rgba(0, 0, 0, 0.57);
        box-shadow: 5px 40px -10px rgba(0, 0, 0, 0.57);
        transition: all 0.4s ease 0s;
    }


    .dd-menu li a {
        font-family: 'Avenir Black';
        margin-left: 0.5rem;
        color: white;
    }

    .dd-menu li.divider {
        padding: 0;
        border-bottom: 1px solid #cccccc;
    }




@keyframes mostrarTitulo {
    0% {
        margin-left: 0px;
        opacity: 0;
    }

    100% {
        margin-left: 10px;
        opacity: 1;
    }
}

@-moz-keyframes mostrarTitulo {
    0% {
        margin-left: 0px;
        opacity: 0;
    }

    100% {
        margin-left: 10px;
        opacity: 1;
    }
}

@-webkit-keyframes mostrarTitulo {
    0% {
        margin-left: 0px;
        opacity: 0;
    }

    100% {
        margin-left: 10px;
        opacity: 1;
    }
}

.bg {
    display: none;
}

/* Intento responsivo*/

/*+++++++++++++++++++++++++++++++++++++++
            PANEL INICIAL
+++++++++++++++++++++++++++++++++++++++*/

.toBarPanelInicial {
    display: flex;
    position: relative;
    background: #adadad;
    margin-bottom: 6px;
}

.contentFiltro {
    font-size: 1.1em;
    font-weight: 600;
    margin: 4px;
    color: white;
    align-self: center;
    font-family: "BebasNeue", sans-serif;
    /*font-size: 0.9em;
    font-weight: bold;
    margin: 4px;
    color: white;
    align-self: center;*/
}

.filtroPI {
    display: flex;
    flex-direction: row;
    vertical-align: middle;
    align-self: center;
    width: auto;
    background-color: white;
    margin: 4px;
    border-radius: 15px;
    padding: 1px;
}

.contenedorLabel {
    color: #5c5c5c;
    font-family: sans-serif;
    font-weight: 700;
    margin-left: 6px;
    margin-right: 6px;
    vertical-align: middle;
    align-self: center;
}

.dropDL {
    margin-left: 6px;
    margin-right: 20px;
    vertical-align: middle;
    align-self: center;
}

    .dropDL select {
        direction: ltr;
        border: none;
        outline: none;
        color: darkblue;
        font-weight: bolder;
        padding: 0 0 0 2em;
        background: url(../Images/IconDownArrow.png) no-repeat right;
        -webkit-appearance: none;
        background-position-x: 0px;
        background-position-y: 0px;
        background-size: 24px;
        height: 25px;
    }

.existenciaTabla {
    display: none;
}

#MainContent_ordenesEnProceso1_aepddlTipo:hover,
#MainContent_ordenesEnProceso1_aepddUsuario:hover,
#MainContent_ordenesParaValidar1_aepddlTipo:hover,
#MainContent_ordenesParaValidar1_aepddUsuario:hover {
    background-position-y: -27px;
}

#MainContent_ordenesEnProceso1_aepddlTipo:active,
#MainContent_ordenesEnProceso1_aepddUsuario:active,
#MainContent_ordenesParaValidar1_aepddlTipo:active,
#MainContent_ordenesParaValidar1_aepddUsuario:active {
    background-position-y: -54px;
}

.contentRowPag {
    display: flex;
    flex-flow: row;
    position: absolute;
    right: 0px;
    margin: 4px 15px 4px 4px;
    align-self: center;
}

.prevTable,
.nextTable,
.prevTableDisabled,
.nextTableDisabled {
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: url(/Images/ArrowNextPrev.png);
    background-size: 24px;
}

.prevTable {
    background-position: 0px -27px;
    margin-right: 2px;
}

.nextTable {
    background-position: 0px 0px;
    margin-left: 2px;
}

.prevTable:hover {
    background-position: 0px -81px;
}

.nextTable:hover {
    background-position: 0px -54px;
}

.prevTable:active {
    background-position: 0px 24px;
}

.nextTable:active {
    background-position: 0px 51px;
}

.prevTableDisabled {
    background-position: 0px 24px;
}

.nextTableDisabled {    
    background-position: 0px 51px;
}

.pageStyleMain {
    display: none !important;
}

tr.hiddenRow {
    display: none;
}

tr.viewRow {
    display: table-row;
}

/*:root {
    --select-border: #777;
    --select-focus: blue;
    --select-arrow: var(--select-border);
}

.divSelect::after {
    content: "";
    width: 0.8em;
    height: 0.5em;
    background-color: var(--select-arrow);
    clip-path: polygon(100% 0%, 0 0%, 50% 100%);
}

.divSelect {
    display: grid;
    grid-template-areas: "select";
    align-items: center;
}

    divSelect,
    .divSelect:after {
        grid-area: select;
    }

    .divSelect:after {
        justify-self: start;
    }
*/
@media (max-height: 500px) {
    #top_menu {
        background: -moz-linear-gradient(top, rgba(242, 245, 246, 1) 0%, rgba(185, 185, 185, 1) 37%, rgba(200, 215, 220, 1) 100%);
        background: -webkit-linear-gradient(top, rgba(242, 245, 246, 1) 0%, rgba(185, 185, 185, 1) 37%, rgba(200, 215, 220, 1) 100%);
        background: linear-gradient(to bottom, rgba(242, 245, 246, 1) 0%, rgba(185, 185, 185, 1) 37%, rgba(200, 215, 220, 1) 100%);
    }
}

@media (max-width: 600px) {
    #headIzquierda {
        display: none;
    }

    #headDerecha {
        background: none !important;
        padding-right: 2px;
        z-index: 4;
    }

    .cuadroBusqueda {
        max-height: 40px;
    }

    h3 {
        font-size: 1em;
        margin: 0.5em 0em 0.5em 0em;
    }

    .lblTitulo {
        display: none;
    }

    #top_menu {
        position: absolute;
        z-index: 4;
        display: none;
        width: 50%;
        background-size: 100% auto;
        font-size: 3rem;
    }

    .colorear {
        display: none;
        position: absolute;
        background: rgba(0, 0, 0, 0.75);
        height: 100%;
        width: 100%;
        z-index: 3;
    }
}

@media (max-width: 650px) {
    #headIzquierda {
        display: none;
    }
}

@media (max-width: 700px) {
    .panelRow {
        display: flex;
        flex-direction: column;
    }

    div.divCell3:nth-child(2) h4.panelH {
        top: 1px;
    }
}

@media (max-width: 740px) {
    .toBarPanelInicial {
        flex-flow: column;
    }

    .contentFiltro, .filtroPI {
        align-self: flex-start;
    }

    .filtroPI {
        margin-left: 6%;
    }
}

@media (max-width: 1065px) {
    .invFiltros {
        display: none !important;
    }
}

@media only screen and (max-width: 400px) {
    #top_menu {
        width: 90%;
    }

    div.dropdown-icons {
        display: inline-block;
        position: relative;
    }

    .barraMenuButtons {
        display: none;
    }
}

@media only screen and (max-width: 1010px) {
    label#dropdownFilter {
        display: inline-block;
        position: relative;
    }

    div#divFiltros {
        display: none;
    }
}

@media only screen and (min-width:980px) and (max-width:1375px) {
    .toBarPanelInicial {
        flex-flow: column;
    }

    .contentFiltro, .filtroPI {
        align-self: flex-start;
    }

    .filtroPI {
        margin-left: 6%;
    }
}
