﻿::selection { background: rgba(150, 150, 220, 0.3); }

:focus {
    outline-color: transparent;
    outline-style: none;
}

input[type='number'] {
    -moz-appearance:textfield!important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

*, *::before, *::after { box-sizing: border-box; }

html,
body {
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

.bd-example {
    border: solid #f7f7f9;
    border-width: .2rem 0 0;
    margin: auto;
    max-width: 920px;
    padding: 1rem;
    position: relative;
}


input:hover
input:active, 
input:focus, 
textarea:active,
textarea:hover,
textarea:focus, 
button:focus,
button:active,
button:hover,
select:focus,
select:active,
select:hover
{
    outline:0px !important;
    box-shadow: none !Important;
  
}

* {
    outline-color: transparent;
    outline-style: none;
}


select::-ms-expand {
    display: none;
}
select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #000;
}

input.bmd-control:not([type="button"]),
input.bmd-control:not([type="submit"]),
textarea.bmd-control, select.bmd-control {
    -moz-appearance: none;
    -webkit-appearance: none;
    background-clip: padding-box;
    background-color: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    color: black;
    color: rgba(0, 0, 0, 0.9);
    display: inline-block;
    letter-spacing: normal;
    line-height: 1.4rem !important;
    height: auto !Important;
    text-align: start;
    text-indent: 0px;
    text-rendering: auto;
    text-shadow: none;
    text-transform: none;
    word-spacing: normal;
    outline: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    outline-color: transparent;
    outline-style: none;
    padding: 0;
    font-weight: normal !Important;
}

input.bmd-control:not(.bmd-parent-input-group):not([type="button"]),
input.bmd-control:not(.bmd-parent-input-group):not([type="submit"]),
div.bmd-input-group,
textarea.bmd-control:not(.bmd-parent-input-group) {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' height='auto' width='1080'%3E%3Cline x1='0' y1='0' x2='1080' y2='0' style='stroke:red;stroke-width:5px' /%3E%3C/svg%3E"), url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' height='auto' width='1080'%3E%3Cline x1='0' y1='0' x2='1080' y2='0' style='stroke:purple;stroke-width:5px' /%3E%3C/svg%3E"), url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' height='auto' width='1'%3E%3Cline x1='0' y1='0' x2='1' y2='0' style='stroke:gray;stroke-width:1px' /%3E%3C/svg%3E");
    background-position: 0% 100%, 0% 100%, 0% 100%, right center;
    background-repeat: no-repeat, no-repeat, repeat-x, no-repeat;
    background-size: 0 2px, 0 2px, auto 1px, 16px 16px;
    transition: background-size 0s ease-in-out;
}

select.bmd-control:not(.bmd-parent-input-group) {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' height='auto' width='1080'%3E%3Cline x1='0' y1='0' x2='1080' y2='0' style='stroke:red;stroke-width:5px' /%3E%3C/svg%3E"), url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' height='auto' width='1080'%3E%3Cline x1='0' y1='0' x2='1080' y2='0' style='stroke:purple;stroke-width:5px' /%3E%3C/svg%3E"), url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' height='auto' width='1'%3E%3Cline x1='0' y1='0' x2='1' y2='0' style='stroke:gray;stroke-width:1px' /%3E%3C/svg%3E"), url(/Almacen/css/caret-down.svg);
    background-position: 0% 100%, 0% 100%, 0% 100%, right center;
    background-repeat: no-repeat, no-repeat, repeat-x, no-repeat;
    background-size: 0 2px, 0 2px, auto 1px, 16px 16px;
    padding-right: 22px;
    transition: background-size 0s ease-in-out;
}

select[is="bmd-select"], 
select[is="bmd-select"] option {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance:none;

}



.bmd-control[disabled] {
    background-position: 0% 0%;
    background-color: lightgray;
    background-image: none!important;
    cursor: not-allowed;
    background-repeat: repeat !important;
    background-attachment: scroll !important;
}

span.bmd-span-display {
    border: none;
    height: auto !Important;
    padding-left: 0;
    padding-right: 0;
}

.bmd-control-label-previous + .bmd-control + .bmd-span-display {
    margin-top: 1.5rem !important;
    display: inline-block;
}

.md-focused,
.input-group-focused 
{

    background-size: 0% 2px, 100% 2px, auto 1px, 16px 16px !important;
    border: none;
    box-shadow: none;
    clear: both;
    clear: both;
    outline: none;
    transition-duration: 0.6s !important;
}

.bmd-control.o_field_invalid {
    background-size: 100% 2px, 100% 2px, auto 1px, 16px 16px !important;
    border: none;
    box-shadow: none;
    clear: both;
    clear: both;
    outline: none;
    transition-duration: 0.6s !important;
}

.bmd-input-group .input-group-append,
.bmd-input-group .input-group-append .input-group-text {
    background: none;
    border: none;
}

.form-group-md {
    margin-bottom: 0;
    margin-top: 0;
    position: relative;
}

label.bmd-control-label:not(.bmd-control-label-previous) {
    font-size: inherit;
    line-height: 1.5;
    font-weight: 500;
    padding-right: 0;
    color: #091124;
}

label.bmd-control-label-previous {
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
    color: #AAA;
    font-weight: bolder;
    left: 0px;
    pointer-events: none;
    position: absolute;
    top: 0.75rem;
    transition: 0.2s ease all;
    padding-bottom: 0;
    padding-right: 0;
    margin-bottom: 0;
    background-color: white;
}
label.bmd-control-label-previous {
    margin-top: 1rem;
}

.bmd-control-light .bmd-control {
    left: 0.3rem;
}
div.form-group[class^="col-"] label.bmd-control-label-previous{
    left: 15px;
    left: calc(0.5rem + 15px);
}

div.is-group-filled.form-group[class^="col-"] label.bmd-control-label-previous,
div.is-group-focused.form-group[class^="col-"] label.bmd-control-label-previous{
   
    left: 15px!important;
}


.bmd-control-light .bmd-span-display,
.bmd-control-light .bmd-control{
    background-color: rgb(245,245,245)!important;
    border-radius: 0.25rem!important;
    padding: 0.5rem!important;
}

.is-group-error > label.bmd-control-label-previous,
.is-group-focused > label.bmd-control-label-previous,
.is-group-filled > label.bmd-control-label-previous {
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
    color: gray;
    color: rgba(0,0,0,0.7);
    font-size: 16px;
    font-size: 0.9rem;
    font-weight: bold;
    left: 0px;
    pointer-events: none;
    position: absolute;
    top: 3px;
    transition: 0.2s ease all;
    margin-top: 0!important;
    
}

.form-group-md-with-moving-label {
    margin: 0 !important;
    margin-bottom: 0.2rem !Important;
    /*overflow: hidden;*/
}

.bmd-control.is-moving-label {
    margin-top: 1.5rem !important;
    height: auto;
    line-height: 1.2rem !important;
}

label.bmd-control-label-previous + .bmd-control::placeholder {
    color: transparent !important;
    opacity: 0;
}


/*o-table-editable ------------------>*/

.o-table-editable td > .form-group-md {
    margin: 0 !important;
    padding: 0 !important;
}

.o-table-editable thead th { border-top: none !important; }

.o-table-editable tr.o_selected_row td { background-color: white; }

.o-table-editable tr.o-table-row-capture { display: none; }

.o-table-editable tr.o-table-row-capture.o_selected_row { display: table-row; }

.o-table-editable tr.o-editable,
.o-table-editable tr.o-editable td { cursor: pointer; }

.o-table-editable tr td.td-delete-o-row { vertical-align: middle !important; }

.o-table-editable .delete-o-row {
    color: #666666;
    cursor: pointer;
    font-size: 0.95rem;
}

.o-table-editable .delete-o-row:hover { color: red; }

.o-table-editable td .form-control:not(span) { height: 2.5rem !important; }

.o-table-editable.table-sm td .form-control:not(span) { height: 2rem !important; }

.o-table-editable tbody .form-control,
.o-table-editable tbody .bmd-span-display {
    color: #212529;
    font-family: 'Roboto', sans-serif !important;
    font-weight: 400;
    line-height: 1.1;
}

.o-table-editable tbody .bmd-span-display { color: #666666; }

.o-table-editable [data-toggle="o-table-row-capture"] {
    color: cornflowerblue !important;
    cursor: pointer;
    display: inline-block;
    font-family: 'Roboto', sans-serif !important;
    font-weight: 400;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    position: relative;
}

.o-table-editable [data-toggle="o-table-row-capture"]:hover { color: purple !important; }

.o-table-editable thead tr:first-child th {
    font-family: 'Roboto', sans-serif !important;
    padding-bottom: 0.375rem;
    padding-top: 1rem;
}

.o-table-editable tbody:first-of-type > tr:first-child:not(.o_group_header) { box-shadow: inset 0px 5px 10px -4px rgba(0, 0, 0, 0.1); }


.o-table-editable input[type="number"],
.o-table-editable input[type="text"],
.o-table-editable select,
.o-table-editable textarea,
.o-table-editable .bootstrap-select .dropdown-toggle {
    border: 0;
    border-radius: 0;
    margin: 0;
    padding: 0;
}

.o-table-editable tr.o_selected_row input[type="number"],
.o-table-editable tr.o_selected_row input[type="text"],
.o-table-editable tr.o_selected_row select,
.o-table-editable tr.o_selected_row textarea,
.o-table-editable tr.o_selected_row .bootstrap-select .dropdown-toggle {
    border-bottom: 0.25em solid gray;
    background: none !Important;
    background-color: transparent !Important;
}

.o-table-editable tr.o_selected_row .o_field_invalid {
    border-bottom-color: red !important;
}

table.o-table-editable tbody[data-empty]:empty::after {
    clear: both;
    content: "";
    display: none;
}

table.o-table-editable tbody[data-empty]:empty { height: 0; }

table.o-table-editable:not(.o-table-editable-focused) tbody[data-empty]:empty { height: 60px; }

table.o-table-editable:not(.o-table-editable-focused) tbody[data-empty] + tfoot td { border-top: none !Important; }

table.o-table-editable:not(.o-table-editable-focused) tbody[data-empty]:empty::after {
    background-color: rgb(250, 250, 250);
    border-top: none;
    box-shadow: inset 0px 5px 10px -4px rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.2);
    content: attr(data-empty);
    display: block;
    font-size: medium;
    font-weight: bold;
    line-height: 60px;
    position: absolute;
    text-align: center;
    width: 100%;
    width: calc(100% - 2px);
}

/*<------------------ o-table-editable*/

/*o_notebook------------------------> */

.o_notebook 
{

    box-sizing: border-box;
    clear: both;
    margin-left: -13px;
    margin-right: -13px;
    margin-top: 1.5rem;
}

.o_notebook > .nav-tabs {
    padding-left: 17px;
    padding-right: 17px;
}

.o_notebook > .nav-tabs + .tab-content { padding: 2px !important; }

.o_notebook .nav.nav-tabs > .nav-item {
    border-radius:0;
}
.o_notebook .nav.nav-tabs > .nav-item > .nav-link {
    color: turquoise;
    border-radius: 0;
}
.o_notebook .nav.nav-tabs > .nav-item > .nav-link.active {
    background-color: white;
    color: #091124;
    border-top-color: purple;
  
}

.o_notebook .o-table-editable tr > :first-child { padding-left: 16px; }

.o_notebook .o-table-editable tr > :last-child { padding-right: 16px; }

.o_notebook .o-table-editable .link-external {
    color: lightgray;
    color: rgba(0, 0, 0, 0.1);
    cursor: pointer;
    float: right;
    margin-left: auto;
    position: relative;
}

.o_notebook .o-table-editable .link-external:hover { color: purple; }


.o_notebook table.o_total_footer {
    border-collapse: collapse;
    border-top: 1px solid rgb(222, 226, 230);
    box-sizing: border-box;
    display: inline-table;
    float: right !important;
    margin: 10px 0px;
    width: 1px;
}

.o_notebook table.o_total_footer { margin-right: 16px; }

.o_notebook table.o_total_footer > tbody > tr > td {
    min-width: 120px;
    padding: 0px;
    text-align: right;
    vertical-align: top;
    width: auto !important;
}

.o_notebook table.o_total_footer .o_td_label, .o_notebook table.o_total_footer .o_td_label span, .o_notebook table.o_total_footer .o_td_label .form-control { text-align: right; }

.o_notebook table.o_total_footer .o_total_footer_separator {
    border-top: 1px solid rgb(222, 226, 230);
    display: block;
    font-size: 1.3em;
    font-weight: bold;
    text-align: right;
    width: auto !important;
}

.o_notebook table.o_total_footer .o_td_label + td:before {
    content: ":";
    float: left;
    padding-left: 5px;
    padding-right: 5px;
    text-align: left;
}

.o_notebook table.o_total_footer .o_total_footer_amount_total { font-weight: bold; }
/*<------------------------ o_notebook*/

.bmd-input-lg {
    -webkit-writing-mode: horizontal-tb !important;
    text-rendering: auto;
    color: initial;
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: start;
    -webkit-appearance: textfield;
    background-color: white;
    -webkit-rtl-ordering: logical;
    cursor: text;
    margin: 0em;
   
    border-width: 2px;
    border-style: inset;
    border-color: initial;
    border-image: initial;

    font-size: 2.6rem;
    font-weight: 500;
}

.bmd-input-md {
    font-size: 1.3rem;
}

body[browser="Mozilla Firefox"] select.bmd-control option {
    padding-left: -5px !Important;
   
}

.bmd-span-display:not(.form-control) {
    display: block;
}

.container_tbl_editable {
    display: block;position: relative;
}



.bootstrap-select .dropdown-menu div.inner.show {
    padding-bottom: 26px;
}

textarea::placeholder {
    -webkit-text-security: none;
    color: #999!important;
    opacity: 1!Important;
    pointer-events: none !important;
}

input::placeholder, 
isindex::placeholder {
    white-space: pre;
    word-wrap: normal;
    overflow: hidden;
}


[readonly]  + .bmd-span-display,
[readonly] + .bmd-span-display + .input-group-append,
.bmd-control[readonly] {
    background: none !important;
    background-image: none;
    border-bottom: 1px dotted lightgray !important;
}
.is-group-mode-display  .bmd-input-group {
    background: none !Important;
}

.bmd-span-display + .input-group-append > button
{
    background: rgb(251,251,251)!Important;
}


input.auto-width {
    width: 50px;
    display: inline-block!important;
    min-width: 50px;
}


input.auto-width:placeholder-shown {
    min-width: 250px;
}
