html {
    width: 100% !important;
    height: 100% !important;
    padding: 0 0 0 0 !important;
    margin: 0 0 0 0 !important;
}

body {
    /*background: #fafae0;*/
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    padding: 0 0 0 0 !important;
    margin: 0 0 0 0 !important;
    z-index: 0 !important;
}

.align-right {
    text-align: right;
}

.align-left {
    text-align: left;
}

.fullwidth {
    width: 100%;
}

.fullheight {
    height: 100%;
}

table.raw *{
    font-size: 14px !important;  
    font-weight: 600;
    text-shadow: 0px 0px 0px #0000 !important;        
}
.borderless, .borderless td,
table.raw tr, table.raw tr td {
    border: none !important;
}
select {
    box-sizing: border-box;
    margin: 0px 0px 0px 0px;
}
select + span {
    display:inline-block !important;
    width: 100% !important;
    border: none !important;
    box-sizing: border-box !important;
    margin: 0px 0px 0px 0px !important;
    padding: 0px 0px 0px 0px !important;
}
.red {
    background-color: #601010;
    color: #ff0000;        
    font-weight: 600 !important;
}
.green {
    background-color: #8fff00;
    color: #00000080;
}
.lcd::-webkit-outer-spin-button,
.lcd::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.toolbar-button:disabled img{
    filter: grayscale() sepia() saturate(2.0) hue-rotate(-45deg);
}

.toolbar-button:focus {
    outline: none !important;
    -webkit-outline: none !important;
    -moz-outline: none !important;
    border-color: inherit !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.toolbar-button {
    border-radius: 1px 1px 1px 1px !important;
    overflow: hidden;    
    border: 1px solid #0000 !important; 
 }
.toolbar-button img {
    filter: opacity(0.85);
    padding-right: 1px !important;
    padding-bottom: 1px !important;    
    padding-top: 0px !important;
    padding-left: 0px !important;
}
.toolbar-button:hover {
    border: 1px outset #8888 !important;    
    background: #8080ff20 !important;
}
.toolbar-button:active {
    border: 1px inset #8888 !important;    
    box-shadow: -1px -1px 0px #8888 inset;    
}
.toolbar-button:hover img {
    filter: opacity(1) !important;
}
.toolbar-button:active img {
    padding-left: 1px !important;
    padding-top: 1px !important;
    padding-right: 0px !important;
    padding-bottom: 0px !important;
    filter: opacity(1) !important;
}

.lcd {
    
    font-family: 'Digital', 'Courier New', Courier, monospace;
    font-size: 18px !important;
    border: 3px ridge #80808080 !important;
    font-weight: 600;
    height: 100%; 
    text-align: center;
    box-sizing: border-box;
    margin: 0px 0px 0px 0px !important;
    border-radius: 1px 1px 1px 1px;
}

.center {
    text-align: center;
}

.nav-pills .nav-link.active {
    background-color: #d30dfd;
}

h1 {
    max-height: 86px  !important;
    min-height: 86px  !important;
    height: 86px      !important;
    line-height: 86px !important;
    box-sizing: border-box;
}

.tab-content .nav-link.active {
    background-color: rgb(238,238,238);
    border-bottom: 1px solid #0000;
}
#nav-qs,
#nav-anuncios,
#nav-caja,
#nav-clientes,
#nav-ventas,
#nav-repairs,
#nav-pedidos,
#nav-empenos,
#nav-warehouse,
#nav-depositos {
    height: calc(100% - 177px);
    background-color: rgb(238,238,238);
}

.client_table tr td {
    font-weight: 600;
    font-size: 14px !important;
    border: 0px solid #0000;
}

#table_clientes tr td {
    /*background: #fcfcfc;*/
    cursor: pointer;
    font-size: 14px;
    
}
table tbody tr td, table thead tr th{
    user-select: none !important;
}

table tr:hover td {
    background: #f30ffd !important;
    color: #ffff80;
    cursor: pointer;
}


table.layout tr:hover td,
.client_table tr:hover td,
table.raw tr:hover td {
    background: transparent !important;
    color: #111;
    cursor: auto !important;
}

#table_qqs tbody {
    overflow-y: auto; 
    overflow-x: hidden; 
    width: 100%; 
    height: calc(100% - 48px);
}

/* ---------- WIDGET STYLE ------------- */

.toolbar {
    background-image: linear-gradient(#ffffff, rgb(219,219,219));
    border-color: rgb(122,138,153); 
    border-width: 1px;
    border-style: ridge;
    border-right: none;
    border-left: none;
    height:     34px;
    max-height: 34px;
    min-height: 34px;
}

.table-wrapper {
    min-height: 16px !important;
    height:     16px !important;
    max-height: 16px !important;
    width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    line-height: 15px;
}

.selected-row, .selected-row td .selected-row div input{
    background: #ff00ff40 !important;
}

table[id^="table_"] input {
    background: transparent !important;
}

.selected-row div input:focus {
    background: #fffffc !important;
    border: 1px #solid #0000 !important;
    outline: none !important;
    border-radius: 1px 1px 1px 1px !important;
}

button[id^="settings-tabs"].active {
    background: #e030e0 !important;
    color: #ffff00 !important;
    border-left: 1px #8880 solid;
}

.settings-button {
    width: 100%;
    border: 2px outset #c0c0f0;
    background: #808080;
    background-image: linear-gradient(#b0c0c0, #d0f0f0);
    cursor: pointer;
    font-size: 12px;
    color: #000000B0 !important;
    text-shadow: 1px 1px 0px #ffffffe0;
}
.settings-button:hover {
    
    background-image: linear-gradient(#c0d0d0, #e0f0f0) !important;    
}
.settings-button:active {
    border: 2px inset #c0c0f0 !important;
    
}

.purple {
    color: #a030b0;
    font-size: 12px !important;
}
table.raw .purple {
    font-size: 12px !important;
}