﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
    position: relative;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column

 */

.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    /*max-width: 280px;*/
}



.typeahead:disabled {
    background: #EEEEEE !important;
    border-color: #CCCCCC !important;
    cursor: not-allowed;
}

/*Automcomplete typeahead*/
.typeahead, .tt-query, .tt-hint {
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    /*-webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;*/
    outline: none;
    font-size: 12px;
}

.typeahead {
    background-color: #fff;
}

.typeahead:focus {
    border: 1px solid #0097cf;
}

.tt-query {
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
    color: #999;
}

.tt-dropdown-menu {
    width: 100%;
    margin-top: 4px;
    padding: 8px 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    z-index: 100000000;
    font-size: 12px;
}

.tt-suggestion {
    padding: 3px 20px;
    font-size: 12px;
    line-height: 12px;
    max-height: 50px;
}

.tt-suggestion.tt-cursor {
    color: #fff;
    background-color: #579;
}

.tt-suggestion p {
    margin: 0px;
    padding: 0px;
    font-size: 12px;
}

.search-dropdown .tt-dropdown-menu {
    max-height: 50px;
    overflow-y: auto;
}

#scrollable-dropdown-menu .tt-dropdown-menu {
    max-height: 50px;
    overflow-y: auto;
}

/*typeahead*/
span.twitter-typeahead .tt-menu,
span.twitter-typeahead .tt-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    font-size: 14px;
    text-align: left;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    background-clip: padding-box;
}

span.twitter-typeahead .tt-suggestion {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333333;
    white-space: nowrap;
}

span.twitter-typeahead .tt-suggestion.tt-cursor,
span.twitter-typeahead .tt-suggestion:hover,
span.twitter-typeahead .tt-suggestion:focus {
    color: #ffffff;
    text-decoration: none;
    outline: 0;
    background-color: #337ab7;
}

.input-group.input-group-lg span.twitter-typeahead .form-control {
    height: 46px;
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.3333333;
    border-radius: 6px;
}

.input-group.input-group-sm span.twitter-typeahead .form-control {
    height: 30px;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

span.twitter-typeahead {
    width: 100%;
}

.input-group span.twitter-typeahead {
    display: block !important;
    height: 34px;
}

.input-group span.twitter-typeahead .tt-menu,
.input-group span.twitter-typeahead .tt-dropdown-menu {
    top: 32px !important;
}

.input-group span.twitter-typeahead:not(:first-child):not(:last-child) .form-control {
    border-radius: 0;
}

.input-group span.twitter-typeahead:first-child .form-control {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group span.twitter-typeahead:last-child .form-control {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.input-group.input-group-sm span.twitter-typeahead {
    height: 30px;
}

.input-group.input-group-sm span.twitter-typeahead .tt-menu,
.input-group.input-group-sm span.twitter-typeahead .tt-dropdown-menu {
    top: 30px !important;
}

.input-group.input-group-lg span.twitter-typeahead {
    height: 46px;
}

.input-group.input-group-lg span.twitter-typeahead .tt-menu,
.input-group.input-group-lg span.twitter-typeahead .tt-dropdown-menu {
    top: 46px !important;
}
/*Automcomplete typeahead*/
td input {
    border-radius: 0px !important;
    border-color: transparent !important;
    box-shadow: none !important;
    padding: 6px !important;
    height: 30px !important;
}

td {
    padding: 2px !important;
}

.search-box-cql {
    width: 100%;
}

#customerNameSelect {
    min-width:100%;
    display: inline-block;
}

#customerCodeSelect {
    width: 100%;
    font-size: 14px;
    display: inline-block;
}

.twitter-typeahead {
    width: 100%;
}

/*tabla factura*/
td input {
    border-radius: 0px !important;
    border-color: transparent !important;
    box-shadow: none !important;
    padding: 6px !important;
    height: 30px !important;
}

td {
    padding: 2px !important;
}



.thh1 {
    min-width: 150px !important;
    text-align: right;
}

#thstck {
    max-width: 20px;
    min-width: 20px !important;
    text-align: right;
}



.thh2 {
    min-width: 200px !important;
    text-align: right;
}

#th1 {
    min-width: 300px !important;
    text-align: left;
}

#th3 {
    min-width: 150px !important;
    text-align: right;
}

#th6 {
    min-width: 100px !important;
    text-align: right;
}

#th2, #th5, #th4, #th7, #th8, #th9, #th10, #th11 {
    min-width: 60px !important;
    text-align: left;
}

/*DETALLE NUMERO DE ORDEN INTERNO SAP*/
.ordDocNum {
    background-color: antiquewhite;
    border: dotted 1px;
    border-color: burlywood;
    min-height: 100px;
    width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    border-radius: 5px;
    vertical-align: middle;
    font-size: 14px;
    color: black;
}

.ordDoc, .ordDocs {
    vertical-align: middle;
    font-size: 30px;
    font-weight: bold;
    color: black;
}

.ordDocs {
    font-size: 15px;
}
/*FIN*/

.connectionsOpt {
    background-color: #F5F6CE;
}

.invAlerts {
    min-height: 17px;
    border: 0.5 solid;
    border-color: #B9B9B4;
    border-radius: 2px;
    background-color: #E9E8E5;
    font-size: 12px;
}

/*print*/
.hidePrint {
    display: none;
}

.reduceMargin {
    margin: 0px;
}

.reducePadding{
    padding: 0px;
}

.reducePaddingTable {
    padding: 0px;
    display: inline-block;
}

.reduceBorder{
    border: 0px;
}

.sizeSmaller {
    font-size: 12px !important;
}

@media print {

    .sizeSmaller {
        font-size: 10px !important;
    }           
}

/**cierre de caja*/
/*.header-fixed {
    width: 100%
}

    .header-fixed > thead,
    .header-fixed > tbody,
    .header-fixed > thead > tr,
    .header-fixed > tbody > tr,
    .header-fixed > thead > tr > th,
    .header-fixed > tbody > tr > td {
        display: block;
    }

        .header-fixed > tbody > tr:after,
        .header-fixed > thead > tr:after {
            content: ' ';
            display: block;
            visibility: hidden;
            clear: both;
        }

    .header-fixed > tbody {
        overflow-y: auto;
        height: 150px;
    }

        .header-fixed > tbody > tr > td,
        .header-fixed > thead > tr > th {
            width: 11%;
            float: left;
        }*/


.m-10px {
    margin: 10px !important;
}

.w-98 {
    width: 98% !important;
}

.m-2px {
    margin: 2px !important;
}



