/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */
@import url('load_effect.css');

@font-face{
    
    font-family: 'Roboto';
    src: url('../fonts/roboto/Roboto-Light.ttf');
    /*src: url('../fonts/droidsans/DroidSans.ttf');*/
}

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body{
    background: #314159;
    color: #444;
    font-family: 'Roboto', sans-serif;
    font-size: .8em;
    overflow-x: hidden;
}
b, strong{ color: #000; }
b{ font-weight: normal; }
.block{ display: inline-block; }
.bold{ font-weight: bold; }

small{
    color: inherit;
    text-align: inherit;
}
table th, table td{
    vertical-align: middle;
}


#Contenedor{
    
}

header{

}
#main_header{
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 3;
}

footer{
    bottom: 0;
    height: auto;
    padding-bottom: 5%;
    position: absolute;
    width: 100%;
}
footer nav{
    display: block;
    margin: 0 auto;
    text-align: center;
    width: 420px;
}
footer nav a{
    display: inline-block;
    color: rgba(255,255,255,.5);
    padding: 5px 20px;
    width: auto;
}
footer .firma{
    margin-top: 20px;
    color: #1EB1D1;
    position: absolute;
    right: 3%;
}
footer .firma a{
    color: inherit;
}

.bg_design{
    height: 100%;
    left: 0;
    position: absolute;
    overflow: hidden;
    top: 0;
    width: 100%;
}
.bg_color1, .bg_color2{
    display: block;
    height: 23%;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 0;
}
.bg_color1{
    background: rgb(255,0,0);
    background: -moz-linear-gradient(left,  rgba(200,26,63,1) 0%, rgba(200,65,157,1) 61%);
    background: -webkit-linear-gradient(left,  rgba(200,26,63,1) 0%,rgba(200,65,157,1) 61%);
    background: linear-gradient(to right,  rgba(200,26,63,1) 0%,rgba(200,65,157,1) 61%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff0000', endColorstr='#c8419d',GradientType=1 );
    transform: rotateZ(30deg);
    left: -25%;
}
.bg_color2{
    background: rgb(20,151,140);
    background: -moz-linear-gradient(left,  rgba(20,151,140,1) 0%, rgba(12,183,78,1) 54%);
    background: -webkit-linear-gradient(left,  rgba(20,151,140,1) 0%,rgba(12,183,78,1) 54%);
    background: linear-gradient(to right,  rgba(20,151,140,1) 0%,rgba(12,183,78,1) 54%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#14978c', endColorstr='#0cb74e',GradientType=1 );
    background: rgb(38,175,84);
    /*transform: rotateZ(-30deg);*/
    /*right: -25%;*/
}

#logotipo{
    color: #FFF;
    margin: 0 auto;
    text-align: center;
    width: 160px;
    vertical-align: top;
}
#logotipo img{
    display: block;
    margin: 0 auto 9px;
    vertical-align: top;
}
.login_container{
    background: -moz-linear-gradient(top,  rgba(247,247,247,0.95) 0%, rgba(242,242,242,0.98) 100%);
    background: -webkit-linear-gradient(top,  rgba(247,247,247,0.95) 0%,rgba(242,242,242,0.98) 100%);
    background: linear-gradient(to bottom,  rgba(247,247,247,0.95) 0%,rgba(242,242,242,0.98) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f7f7f7', endColorstr='#faf2f2f2',GradientType=0 );
    border-radius: 15px;
    box-sizing: border-box;
    height: 410px;
    left: 50%;
    padding: 30px;
    position: absolute;
    margin-left: -160px;
    width: 320px;
    top: 25%;
    z-index: 1;
}
.login_container input{
    background:#FFF;
    border: 0;
    margin: 0 0 2px;
    min-width: 100px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    width: 100%;
}
.login_container input:-moz-placeholder,
.login_container input::-moz-placeholder,
.login_container input:-ms-input-placeholder{
    color: #444;
}
.login_container input::-webkit-input-placeholder{
    color: #444;
}

.login_container button{
    display: block;
    margin: 0 auto;
    padding: 9px 40px;
}
.login_container .icon_user{
    background: #314159;
    box-sizing: content-box !important;
    border: 9px solid #314159;
    border-radius: 50%;
    display: block;
    height: 100px;
    margin: -70px auto;
    padding: 0;
    width: 100px;
}
.login_container a{
    color: inherit;
}

#topbar{
    background:#444;
    color: #FFF;
    height: 40px;
    width: 100%;
}
header aside{
    background: #f0f2f7;
    height: 96px;
    width: 100%;
}

#topbar .titulos{
    background: rgba(255,255,255,.1);
    color:#FFF;
    font-size: .9em;
    height: 100%;
}
#topbar small{
    color: #999;
}
#topbar thead th{
    padding-top: 7px;
    color: #CCC;
}
#topbar .options{
    box-sizing: border-box;
    display: inline-block;
    height: 40px;
    padding: 0 0 0 20px;
    width: 20%;
}
#topbar .options a{
    color: #999;
    box-sizing: border-box;
    display: inline-block;
    line-height: 40px;
    padding: 0 15px 0 5px;
}
#topbar .options a:hover{
    background: rgba(255,255,255,.1);
}
.c_green1{ background: #1aa75a; }
.c_green2{ background: #247549; }


.tb_lista_precio th{ font-weight: normal; }
.tb_lista_precio td{ background: #FFF; }
.tb_lista_precio label{
    color: #FFF;
    font-size: 1em;
    padding-top: 7px;
}
.tb_lista_precio input[type="text"]{
    border-left: none;
    border-top: none;
    border-color: rgba(0,50,100,.15);
    height: 24px;
    min-width: 100%;
    text-align: center;
    width: 100%;
}
.tb_lista_precio tr:last-child input{
    border-bottom: none;
}
.tb_lista_precio td:first-child{
    color: #89A;
    padding-left: 9px;
}
.tb_lista_precio td{
    padding: 0;
}

#save{
    background: #2bb6b9;
    box-sizing: border-box;
    color: #FFF;
    height: 96px;
    padding: 9px;
    text-align: center;
}
#save:hover{
    background: #3cc7ca;
}
#save img{
    margin-bottom: 5px;
}
#guardar{
    height: 96px;
    padding: 9px;
}

span.circle{
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 50%;
    display: inline-block;
    height: 6px;
    margin-right: 5px;
    width: 6px;
}

.loading{
    background: #0EF;
    box-shadow: 0 1px 11px 2px #0EF;
    clear: both;
    display: block;
    height: 2px;
    position: absolute;
    top: 0;
    width: 1px;
}
.white_black{
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

.tb_border th{
    background: #F5F5F7;
    border-right: 1px solid transparent;
}
.tb_border td,
.tb_border th{
    border-right: 1px solid #F0F0F2;
    border-bottom: 1px solid #F5F5F7;
    white-space: normal;
}
.tb_border th:last-child,
.tb_border td:last-child{
    border-right: 0px;
}
.tb_border thead tr:nth-child(2) th{
    font-size: .8em;
    white-space: nowrap;
    min-width: 90px;
    text-overflow: ellipsis;
    overflow: hidden;
}
tr.totales td big{
    color: #679;
    line-height: 1em;
}

section{
    background: #e1e9f0;
}

#drop-area{
    background: #000;
    display: block;
    border-radius: 9px;
    height: 320px;
    width: 400px;
}

.work_area{
    width: 100%;
    /*overflow: auto;*/
}
.work_area article{

}
.sheet_content{
    position: relative;
    overflow: auto;
}

.work_area, .sheet_content, .Tabs article{
    backface-visibility: hidden;perspective: 1000;
    -webkit-transform: translateZ(0);
    /*-webkit-transform: translate3d(0, 0, 0);*/
    -webkit-backface-visibility: hidden;
}
img[src$=".gif"]{
    image-rendering: optimizeSpeed;
    image-rendering: -moz-crisp-edges;
    image-rendering:   -o-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
}

.header_list, .header_row{
    background: #FFF;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}
.header_row{
    z-index: 1;
}
.header_row tr.bg_gris th{
    background-color: inherit;
}
.header_row th{
    cursor: pointer;
}
.header_row th:hover{
    background-color: #A2E6CC;
}
.active_main_cel{
    background: #CAD8DC !important;
    color: #239876;
    font-size: 1.1em;
    font-weight: bold;
    border-bottom: 3px solid #239876;
    /*transition: all .2s ease;*/
}

#excel_sheet{
    background: #FFF;
    width:auto;
    height: auto;
    /*display:table;*/
}
.sheet_content #excel_sheet .bg_gris{
    background-color: #F1F1F7 !important;
}
#excel_sheet thead tr th,
#excel_sheet tbody tr th{
    text-align: center;
    min-height: 16px;
    line-height: 16px;
    min-width: 24px;
}
/* Para el botón de opciones de cabecera */
#excel_sheet thead tr:nth-child(2) th{
    padding-right: 13px;
    position: relative;
    max-width: 90px;
}
#excel_sheet tbody td{
    /*background-color: #FFF;*/
    box-sizing: border-box;
    min-width: 60px;
    overflow: hidden;
    outline: 0;
    min-height: 26px;
    line-height: 1.1em;
    min-width: 90px;
    max-width: 90px; /* Misma que el ancho minimo en .tb_border */
    white-space: nowrap;
    text-overflow: ellipsis;
    /*transition: .1s all ease;*/
}
#excel_sheet tbody td.selected{
    background: rgba(0,50,100,.1) !important;
}

/** DISEÑO GRID CON DIVS */

.row{
    border-bottom: 1px solid #F5F5F7;
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
}
.cell{
    border-right: 1px solid #F0F0F2;
    display: inline-block;
    padding: 0;

    box-sizing: border-box;
    min-width: 60px;
    overflow: hidden;
    outline: 0;
    min-height: 26px;
    line-height: 1.1em;
    min-width: 90px;
    max-width: 90px; /* Misma que el ancho minimo en .tb_border */
    white-space: nowrap;
    text-overflow: ellipsis;
}
.cell:last-child{
    border-right: 0px;
}

.outline{
    background-color: rgba(0,50,100,.05);
    outline: 0;
    position: relative;
    /*transition: .1s all ease-out;*/
    text-overflow: clip;
}


.magic_selection{
    border: 2px solid #2EC9CD;
    left: -1000px;
    min-width: 20px;
    outline: 0;
    position: absolute;
    top: -1000px;
    width: auto;
    z-index: 1;
}
.magic_input{
    background: #FFF;
    border: 2px solid #2bb6b9;
    left: -1000px;
    min-width: 20px;
    outline: 0;
    position: absolute;
    top: -1000px;
    /*transition: .1s all ease;*/
    width: auto;
    z-index: 2;
}
.field_readonly{
    background: #CCC !important;
}
.field_readonly{
    border-color: #CCC !important;
}
.magic_input span.control{
    background: #2bb6b9;
    border: 1px solid #FFF;
    bottom: -4px;
    display: block;
    height: 4px;
    position: absolute;
    right: -4px;
    width: 4px;
    z-index: 2;
}
.magic_input input{
    background-color: #FFF;
    border: none;
    box-sizing: border-box;
    color: #444;
    height: inherit;
    padding: 3px 1px 2px;
    width: inherit;
}
.magic_input input:focus{
    background-color: #F4F4F9;
}
.length_input{
    display: none;
    box-sizing: border-box;
    font-size: inherit;
    font-family: inherit;
    padding: 2px 3px;
    margin: 0;
    width: auto;
}

.ui-menu-item{
    white-space: nowrap;
}


/* Panel de Opciones Cabercera */
.col_option,
.filtered{
    border: 1px solid rgba(0,50,100,.2);
    background: url('../img/icons/col_option.png') no-repeat center rgba(255,255,255,.5);
    background-size: 10px;
    cursor: pointer;
    display: block;
    height: 10px;
    position: absolute;
    vertical-align: top;
    right: 1px;
    top: 5px;
    width: 10px;
}
.filtered{
    background-image: url(../img/icons/filter.png) !important;
    background-size: 12px !important;
    height: 14px;
    width: 16px !important;
    top: 2px;
}
.col_option:hover{
    background-color: rgba(255,255,255,.75);
    border-color: rgba(0,50,100,.4);
}
#panel_options{
    background-color: #FFF;
    box-shadow: 0 3px 11px rgba(0,50,100,.3);
    box-sizing: border-box;
    border: 1px solid #F4F4F9;
    display: none;
    padding: 5px;
    min-height: 300px;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    width: 260px;
    z-index: 9;
}
#panel_options #col_titulo{
    border-bottom: 1px solid #F4F4F9;
    box-sizing: border-box;
    display: block;
    color: #000;
    margin-bottom: 5px;
    padding-bottom: 9px;
    text-overflow: ellipsis;
    overflow: hidden;
    vertical-align: top;
    white-space: nowrap;
    width: 243px;
    max-width: 243px;
}
#panel_options .col_filters{
    border: 1px solid #DDD;
    box-sizing:  border-box;
    padding: 9px 5px;
    overflow: auto;
    height: 220px;
    width: 243px;
    max-width: 243px;
}
#panel_options .col_filters label{
    color: inherit;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 90%;
}
#panel_options .col_filters input[type="checkbox"]{
    width: 12px; height: 12px;
}
#panel_options .bt_save{
    margin-right: 9px;
}


#second_panel{
    background: #FFF;
    box-sizing: border-box;
    box-shadow: 0 3px 11px rgba(0,50,100,.3);
    height: auto;
    display: none;
    left: 0;
    padding: 9px 5px;
    position: absolute;
    width: 160px;
    top: 0;
    z-index: 3;
}
#second_panel a{
    cursor: pointer;
    color: inherit;
    box-sizing: border-box;
    display: block;
    padding: 3px 5px;
    width: 100%;
}
#second_panel a:hover{
    background: rgba(0,50,100,.05);
    color: #09F;
}

#window_alert{
    min-height: 180px;
    max-height: 180px;
    left: 50%;
    margin-left: -180px;
    padding: 20px 30px;
    top: 25%;
    width: 300px;
}
#window_alert p{
    box-sizing: border-box;
    padding: 20px 11px;
    width: 100%;
}
#window_alert button{
    margin-right: 15px;
    min-width: 75px;
}

/**
 *   D I S E Ñ O    I M P R E S I O N E S
 */

@page{
    size: A4 portrait;
    margin-left: 1cm;
}
.printeable{
    visibility: hidden;
}

@media print {

    body, html{
        background: none;
        width: 100%;
        /*height: 100%;*/
    }

    
}

/* M O Z I L L A */
@-moz-document url-prefix() {
  header{
     /*margin-left: 3px;*/
  }
}


@media screen and (max-width: 480px){

}

@media screen and (max-width: 800px){

}

@media screen and (max-width: 1024px) {

}

@media screen and (min-width: 1440px) {
    
}














/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


/*-------------------------
    Dropbox Element
--------------------------*/
.upload_section{
    overflow: auto;
    width: 100%;
}
.content{
    background: rgba(0,50,100,.1);
    box-shadow: 0 0 100px rgba(0,50,100,.1) inset, 0 0 9px rgba(0,50,100,.15) inset;
    border-radius:9px;
    display: block;
    min-height: 320px;
    margin: 50px auto;
    overflow: hidden;
    position: relative;
    text-align: center;
}
#dropbox .message{
    border: 5px dashed rgba(0,50,100,.1);
    box-sizing:border-box;
    display: block;
    height: 240px;
    margin: 9% auto;
    padding-top:50px;
    text-align: center;
    width: 80%;
}
#dropbox .file_hover{
    background: rgba(255,255,255,.35);
    border-color: rgba(255,255,255,.5);
    padding: 40px;
    padding-top: 50px;
    /*width: 75%;*/
}

#dropbox .message i{
    color:#ccc;
    font-size:.9em;
}

#dropbox:before{
    border-radius:3px 3px 0 0;
}

/*-------------------------
    Image Previews
--------------------------*/

.content .preview{
    width:245px;
    height: 150px;
    padding-top: 30px;
    margin: 11% auto;
    position: relative;
    text-align: center;
}
.content .preview p{
    margin: 9px 0;
    text-align: center;
    width: 100%;
}

#dropbox .preview img{
    background: #FFF;
    border:1px solid #CCC;
    display: block;
    box-shadow:0 3px 5px rgba(0,0,0,.25);
    padding: 10px 6px 26px;
}

#dropbox .imageHolder{
    display: inline-block;
    position:relative;
}

#dropbox .uploaded{
    background: url('../img/icons/done.png') no-repeat bottom right;
    background-size: 24px;
    display: none;
    height:90px;
    left:0;
    position: absolute;
    top:0;
    text-align: center;
    width:66px;
}

#dropbox .preview.done .uploaded{
    display: block;
}

/*-------------------------
    Progress Bars
--------------------------*/

#dropbox .progressHolder{
    position: absolute;
    background-color:#252f38;
    height:7px;
    width:100%;
    left:0;
    bottom: 0;
    box-shadow:0 2px 5px rgba(0,0,0,.1);
}

#dropbox .progress{
    background-color:#68D227;
    position: absolute;
    height:100%;
    left:0;
    width:0;
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.5) inset;
    -moz-transition:0.25s;
    -webkit-transition:0.25s;
    -o-transition:0.25s;
    transition:0.25s;
}

#dropbox .preview.done .progress{
    width:100% !important;
}

.bg_amarillo, .bg_olivo, .bg_gris, .bg_rojo, .bg_blanco, .bg_magenta{
    color: #444 !important;
}
.bg_rojo{
    color: #FFF !important;
}
.bg_verde, .bg_fucsia{ color: #FFF !important; }
.bg_amarillo { background-color: #FFDF12 !important; }
.bg_olivo{ background-color: #B6D56D !important; }
.bg_gris{ background-color: #BED6DF !important; }
.bg_verde{ background-color: #41BE64 !important; }
.bg_rojo{ background-color: #DD2D28 !important; }
.bg_fucsia{ background-color: #F83895 !important; }
.bg_blanco{ background-color: #F4F4F9 !important; }
.bg_magenta{ background-color: #FFAFBD !important; }
