@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
body,
.content-wrapper {
    background-color: #FAFAFA !important;
    font-family: 'Roboto', sans-serif !important;
    font-size: 12px;
}
body a {
    color: #181797;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto', sans-serif !important;
}

.ew-table {
    border: 0;
    border-collapse: collapse;
    font-size: 12px;
    width: 100% !important;
    margin-left: 0;
    margin-right: 0
}

.ew-table td,
.ew-table th {
    padding: 3px;
    border: 0;
    border-color: #d5d5d5
}

.ew-table .ew-table-header td,
.ew-table .ew-table-header th {
    background-image: none;
    background-color: transparent;
    color: #fff;
    vertical-align: top
}

.ew-table .ew-table-row,
.ew-table .ew-table-row td {
    background-color: #fff
}

.ew-table .ew-table-alt-row,
.ew-table .ew-table-alt-row td {
    background-color: #f8edef
}

.ew-table .ew-table-footer td {
    background-color: #f5f5f5
}

.ew-table .ew-table-column-row {
    background-color: #f8edef
}

.ew-rpt-grp-header-1 {
    color: inherit;
    background-color: #fff5ee;
    font-weight: bold
}

.ew-rpt-grp-header-1 a:link,
.ew-rpt-grp-header-1 a:active,
.ew-rpt-grp-header-1 a:visited {
    color: inherit;
    text-decoration: none
}

.ew-rpt-grp-field-1 {
    background-color: #fff5ee
}

.ew-rpt-grp-summary-1 {
    color: inherit;
    background-color: #ffe4e1
}

.ew-rpt-grp-header-2 {
    color: inherit;
    background-color: inherit;
    font-weight: bold
}

.ew-rpt-grp-header-2 a:link,
.ew-rpt-grp-header-2 a:active,
.ew-rpt-grp-header-2 a:visited {
    color: inherit;
    text-decoration: none
}

.ew-rpt-grp-field-2 {
    background-color: inherit
}

.ew-rpt-grp-summary-2 {
    color: inherit;
    background-color: inherit
}

.ew-rpt-grp-header-3 {
    color: inherit;
    background-color: #fff5ee;
    font-weight: bold
}

.ew-rpt-grp-header-3 a:link,
.ew-rpt-grp-header-3 a:active,
.ew-rpt-grp-header-3 a:visited {
    color: inherit;
    text-decoration: none
}

.ew-rpt-grp-field-3 {
    background-color: #fff5ee
}

.ew-rpt-grp-summary-3 {
    color: inherit;
    background-color: #ffe4e1
}

.ew-rpt-grp-header-4 {
    color: inherit;
    background-color: inherit;
    font-weight: bold
}

.ew-rpt-grp-header-4 a:link,
.ew-rpt-grp-header-4 a:active,
.ew-rpt-grp-header-4 a:visited {
    color: inherit;
    text-decoration: none
}

.ew-rpt-grp-field-4 {
    background-color: inherit
}

.ew-rpt-grp-summary-4 {
    color: inherit;
    background-color: inherit
}

.ew-rpt-grp-header-5 {
    color: inherit;
    background-color: #fff5ee;
    font-weight: bold
}

.ew-rpt-grp-header-5 a:link,
.ew-rpt-grp-header-5 a:active,
.ew-rpt-grp-header-5 a:visited {
    color: inherit;
    text-decoration: none
}

.ew-rpt-grp-field-5 {
    background-color: #fff5ee
}

.ew-rpt-grp-summary-5 {
    color: inherit;
    background-color: #ffe4e1
}

.ew-rpt-grp-header-6 {
    color: inherit;
    background-color: inherit;
    font-weight: bold
}

.ew-rpt-grp-header-6 a:link,
.ew-rpt-grp-header-6 a:active,
.ew-rpt-grp-header-6 a:visited {
    color: inherit;
    text-decoration: none
}

.ew-rpt-grp-field-6 {
    background-color: inherit
}

.ew-rpt-grp-summary-6 {
    color: inherit;
    background-color: inherit
}

.ew-rpt-grp-aggregate {
    font-weight: bold
}

.ew-rpt-page-summary {
    color: inherit;
    background-color: #fff0f5
}

.ew-rpt-grand-summary {
    color: inherit;
    background-color: inherit
}

.ew-rpt-col-summary {
    background-color: #b1174d;
    color: #fff;
    border: 0
}

.ew-rpt-col-header {
    background-color: #b1174d;
    color: #fff;
    border: 0
}

.ew-page-break {
    page-break-before: always
}


/*sands css*/

body .btn-default,
div#detpedido_cs_buttons .btn {
    background-color: #181797;
    border-color: #ffffff;
    color: #fff;
}

div#detpedido_cs_buttons .btn:hover {
    opacity: 0.8;
}

body .btn-primary:not(:disabled):not(.disabled):active:focus,
body .btn-primary:not(:disabled):not(.disabled).active:focus,
body .show>.btn-primary.dropdown-toggle:focus,
body .btn-primary:focus,
body .btn-primary.focus,
body .form-control:focus {
    box-shadow: none;
    outline: none;
}

ul#ew-navbar a.nav-link,
ul#ew-navbar-right a.nav-link {
    color: #181797;
    font-size: 16px;
}

ul#ew-navbar a.nav-link {
    font-size: 18px;
}

.main-header.navbar-danger {
    background-color: #fff;
}

.layout-fixed .main-sidebar {
    background: #FAFAFA;
    min-height: 51px;
    border-right: 1px solid #dee2e6;
}

a.brand-link {
    background: #fff;
    border-bottom: 1px solid #dee2e6 !important;
    color: #181797 !important;
    font-weight: bold;
    font-size: 34px;
    padding: 0 15px;
    min-height: 51px;
    display: flex;
    align-self: center;
}

body .brand-link .brand-image {
    max-height: 30px;
    width: auto;
    margin: auto;
}

[class*='sidebar-dark-'] .sidebar a,
nav#ew-menu .sidebar a,
[class*='sidebar-dark-'] .nav-treeview>.nav-item>.nav-link {
    color: #999999;
}

.sidebar-dark-danger .nav-sidebar>.nav-item>.nav-link,
.sidebar-light-danger .nav-sidebar>.nav-item>.nav-link,
body ul.nav.nav-treeview>li>a {
    font-weight: 500;
    font-size: 14px;
    color: #999999;
}

.sidebar-dark-danger .nav-sidebar>.nav-item>.nav-link i,
.sidebar-light-danger .nav-sidebar>.nav-item>.nav-link i,
body ul.nav.nav-treeview>li>a i {
    color: #D8D8D8;
}

.sidebar-dark-danger nav#ew-menu .nav-sidebar .nav-item.menu-open:not(.active)>.nav-link,
.sidebar-dark-danger nav#ew-menu .nav-sidebar .nav-item.menu-open>.nav-link i {
    color: inherit;
    background-color: transparent;
    color: #181797;
}

.sidebar-dark-danger .nav-sidebar .nav-item>.nav-link span {
    outline: none !important;
    border: 0 !important;
}

.sidebar-dark-danger .nav-sidebar>.nav-item>.nav-link.active,
.sidebar-light-danger .nav-sidebar>.nav-item>.nav-link.active,
.sidebar-dark-danger .nav-sidebar>.nav-item>.nav-link.active i,
.sidebar-light-danger .nav-sidebar>.nav-item>.nav-link.active i,
.sidebar-dark-danger .nav-sidebar>.nav-item>.nav-link:hover,
.sidebar-light-danger .nav-sidebar>.nav-item>.nav-link:hover,
.sidebar-dark-danger .nav-sidebar>.nav-item>.nav-link:hover i,
.sidebar-light-danger .nav-sidebar>.nav-item>.nav-link:hover i,
.nav-treeview>li>a:hover i,
body nav#ew-menu .nav-sidebar ul.nav.nav-treeview>li>a.nav-link.active,
body nav#ew-menu .nav-sidebar ul.nav.nav-treeview>li>a.nav-link:hover,
.sidebar-dark-danger nav#ew-menu .nav-sidebar .nav-item.menu-open>.nav-link {
    background-color: transparent;
    color: #181797;
}

.sidebar-dark-danger .nav-sidebar>.nav-item>.nav-link:focus,
.sidebar-light-danger .nav-sidebar>.nav-item>.nav-link:focus,
.sidebar-dark-danger .nav-sidebar>.nav-item>.nav-link:active,
.sidebar-light-danger .nav-sidebar>.nav-item>.nav-link:active,
.sidebar-dark-danger .nav-sidebar .nav-item.menu-open:not(.active)>.nav-link {
    color: #181797;
    background-color: rgba(255, 255, 255, 0.1);
    border: 0 !important;
    outline: 0;
}

.card.ew-card.ew-grid.necesitos {
    width: 100%;
    margin-top: 15px;
}

.bonificaciones_wrapper {
    display: block;
    position: relative;
    min-height: 60px;
    max-width: 250px;
    min-width: 250px;
    margin-left: 30px;
}

.bonificaciones_wrapper span {
    display: inline-block;
    line-height: 1.2;
    margin-bottom: 3px;
}

.bonificaciones_wrapper span:after {
    display: inline-block;
    content: "";
    vertical-align: middle;
    margin: 0 6px;
    width: 12px;
    height: 1px;
    background: gray;
}

.bonificaciones_wrapper span:last-child:after {
    display: none;
}

.bonificaciones_wrapper span:before {
    position: absolute;
    left: -20px;
    width: 13px;
    height: 13px;
    background: gray;
    top: 4px;
    z-index: 55;
    display: none;
    content: "";
}

.bonificaciones_wrapper span:nth-child(1):before {
    display: block;
}

.bonificaciones_wrapper span:nth-child(2):before {
    top: 20px;
    display: block;
}

.bonificaciones_wrapper span:nth-child(3):before {
    top: 4px;
    left: -36px;
    display: block;
}

.bonificaciones_wrapper span:nth-child(4):before {
    top: 20px;
    left: -36px;
    display: block;
}

.bonificaciones_wrapper span:nth-child(5):before {
    top: 36px;
    display: block;
}

.bonificaciones_wrapper span:nth-child(6):before {
    top: 36px;
    left: -36px;
    display: block;
}

.bonificaciones_wrapper span:nth-child(7):before {
    display: block;
    top: 52px;
}

.bonificaciones_wrapper span:nth-child(8):before {
    top: 52px;
    display: block;
    left: -36px;
}

.bonificaciones_wrapper span:nth-child(9):before {
    top: 68px;
    left: -20px;
    display: block;
}

.bonificaciones_wrapper span:nth-child(10):before {
    top: 68px;
    left: -36px;
    display: block;
}

.bonificaciones_wrapper span:nth-child(11):before {
    top: 84px;
    display: block;
}

.bonificaciones_wrapper span:nth-child(12):before {
    top: 84px;
    left: -36px;
    display: block;
}

.bonificaciones_wrapper span.Rosa:before {
    background: #c90987;
}

.bonificaciones_wrapper span.Verde:before {
    background: #009f37;
}

.bonificaciones_wrapper span.Amarillo:before {
    background: #E6BB03;
}

.bonificaciones_wrapper span.Morado:before {
    background: #5a51de;
}

.bonificaciones_wrapper span.Cian:before {
    background: #03CCE6;
}

.bonificaciones_wrapper span.Rojo:before {
    background: #E60C0C;
}

.bonificaciones_wrapper span.Naranja:before {
    background: #BF7F06;
}

.bonificaciones_wrapper span.Azul:before {
    background: #0606BF;
}

.bonificaciones_wrapper span.Manzana:before {
    background: #9CBF06;
}

.bonificaciones_wrapper span.Granate:before {
    background: #9B2805;
}

body .ew-grid {
    width: 100%;
}

body .ew-grid .ew-table>thead>tr>th,
body .ew-grid .ew-table>thead>tr>td {
    font-weight: normal;
    background-color: #FAFAFA;
    color: #999999;
    border-bottom: 0;
    border-right: 0;
    border-color: none;
    background-repeat: repeat-x;
    vertical-align: middle;
    font-size: 12px;
    padding: 15px 20px;
}

body .ew-grid .ew-table>tbody>tr>td,
body .ew-grid .ew-table>tfoot>tr>td {
    padding: 15px 10px;
    border-bottom: 1px solid;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-color: #dee2e6;
    vertical-align: middle;
    color: #7F7F7F;
    background: #fff;
    font-weight: 500;
    text-align: left !important;
}
body .ew-grid .ew-table>tbody>tr>td:not(:last-child),
body .ew-grid .ew-table>tfoot>tr>td:not(:last-child) {
    min-width: 100px;
}
body .ew-grid .ew-table>tbody>tr>td[data-name*="codproducto"]{
    min-width: 250px;
}
body .ew-grid .ew-table>tbody>tr>td[data-name*="codproducto"] span , 
body .ew-grid .ew-table>tbody>tr>td[data-name*="codproducto"] input{
    width: 100%;
    display: block;
}
body .ew-grid .ew-table>tbody>tr.ew-table-highlight-row>td,
body .ew-grid .ew-table>tfoot>tr.ew-table-highlight-row>td {
    background: #f2f2f2 !important;
}

body .d-none {
    display: none !important;
}

body .ew-grid .ew-table .ew-table-select-row>td {
    background-color: #009F37;
    color: #fff;
}

body .ew-grid .ew-table>tbody>tr>td a {
    
}
body .ew-grid .ew-table .ew-table-select-row > td a{
    color: #fff;
}

body .ew-grid .ew-table>tbody>tr>td a:hover {
    text-decoration: none;
}

body .ew-grid .ew-table>tfoot>tr>td a,
body .ew-table a.btn.btn-default.ew-grid-link,
body .ew-grid .ew-table>tbody>tr>td a.ew-row-link i {
    color: #D8D8D8;
}

body .ew-table a.btn.btn-default.ew-grid-link {
    background: transparent;
}

body .ew-grid .ew-table>tbody>tr>td a:hover,
body .ew-grid .ew-table>tfoot>tr>td a:hover,
body .ew-table a.btn.btn-default.ew-grid-link:hover,
body .ew-grid .ew-table>tbody>tr>td a.ew-row-link i:hover {
    color: #181797;
    text-decoration: none;
}

body .ew-grid .ew-table .ew-table-alt-row {
    background-color: #fff;
}

body .ew-grid {
    padding: 0;
    border: 0;
}

body .ew-grid-lower-panel.card-footer,
body .card-header.ew-grid-upper-panel {
    background-color: #fafafa;
    padding: 15px 20px;
    vertical-align: middle;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

body .card-header.ew-grid-upper-panel {
    border-color: #efefef;
}

body .ew-grid-lower-panel.card-footer a.btn.btn-default i,
body .card-header.ew-grid-upper-panel a.btn.btn-default i,
.ew-pager .btn-default i {
    font-size: 22px;
}

body .ew-grid-lower-panel.card-footer a.btn.btn-default,
body .card-header.ew-grid-upper-panel a.btn.btn-default,
body .ew-pager .ew-prev-next .input-group-prepend .btn-default {
    background: transparent;
    color: #7F7F7F;
    font-size: 15px;
    padding: 0 5px;
    border-color: transparent;
}

body .ew-grid-lower-panel.card-footer .ew-pager .input-group>input.form-control[name=pageno],
body .ew-pager .input-group>input.form-control[name=pageno] {
    box-shadow: none;
    border: 1px solid #D8D8D8;
    border-radius: 2px;
    height: auto !important;
}

span#el_subastas_codestado .btn-group.ew-dropdown-list .btn-group {
    width: 100%;
}

body .ew-grid-lower-panel.card-footer .ew-pager.ew-rec,
body .ew-grid-lower-panel.card-footer .ew-pager,
body .card-header.ew-grid-upper-panel .ew-pager,
body .card-header.ew-grid-upper-panel .ew-pager.ew-rec {
    font-size: 12px;
    color: #7F7F7F;
}

button#btn-reset {
    display: none;
}

form#favisossearch .col-sm-10 span.ew-search-field {
    display: block;
}

body .ew-grid-lower-panel.card-footer .ew-add-edit-option a.btn.btn-default,
body .card-header.ew-grid-upper-panel .ew-add-edit-option a.btn.btn-default {
    color: #181797;
}

body .ew-quick-search input.form-control,
.modal-body input,
.modal-body select {
    height: 45px;
    border: 1px solid #e0e0e0;
    border-radius: 0 !important;
    margin-right: 0;
    font-size: 13px;
    color: #999999;
}

.ew-quick-search.input-group button#btn-submit {
    height: 45px;
    max-height: 45px;
}

body .input-group-append {
    position: absolute;
    right: 10px;
    top: 0;
    /*height: 100%;*/
    background: transparent;
    z-index: 555;
}

body .input-group-append .btn-default {
    color: #999;
    background: transparent !important;
    border: 0;
    font-size: 15px;
}

.ew-prev-next .input-group-append {
    position: static;
}

.input-group .twitter-typeahead input[name^=sv_] {
    border-top-right-radius: 25px !important;
    border-bottom-right-radius: 25px !important;
}

body .ew-quick-search .input-group-append {
    display: flex;
    flex-direction: row-reverse;
    position: relative;
    border-radius: 0;
}

body .ew-quick-search span#searchtype {
    color: #999999;
}

body .dropdown-item.active,
body .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #181797;
}

body .btn-primary:not(:disabled):not(.disabled):active,
div#ew-modal-dialog .modal_recibido_pedido button.btn.btn-primary {
    color: #fff;
    background-color: #181797;
    border-color: #181797;
}

body .ew-quick-search .dropdown-toggle.btn {
    background: #fff;
    border-radius: 0;
    border: 1px solid #dee2e6;
    min-width: 45px;
    line-height: 1.2;
    vertical-align: middle;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45px;
}

body .ew-quick-search .dropdown-toggle.btn:after {
    border-top: 8px solid #D8D8D8;
    border-right: 6px solid transparent;
    border-bottom: 0;
    border-left: 6px solid transparent;
}

div#necesitoslist button {
    padding: 0;
    margin: 0;
    border: 0;
}

.ew-extended-search div#detsubastaslist {
    margin-top: 40px;
}

div#ew-modal-dialog .modal_edit_detalle_reparto_farmacia {
    text-align: center;
}
body .ew-quick-search button#btn-submit,
a.btn.btn-default.ew-row-link.ew-detail,
body button[type="submit"],
body .modal-footer button.btn.btn-primary,
div#necesitoslist button a,
.ew-extended-search div#detsubastaslist a,
.modal_reparto_subasta button,
div#albaraneslist a.btn,
div#ew-modal-dialog .modal_recibido_pedido button.btn.btn-primary,
div#ew-modal-dialog .modal_recibido_pedido button,
div#detpedidolist a.btn,
div#ew-modal-dialog .modal_anadir_productos button.btn.btn-primary,
div#ew-modal-dialog .modal_anadir_productos button,
div#gmp_avisos_atendidos a.btn.btn-default,
div#gmp_avisos_atendidos a.btn,
div#detsubastas_cs_buttons a,
div#albaranes_cs_buttons a.btn,
div#albaranes_cs_buttons a.btn:hover,
div#ew-modal-dialog .modal-body .modal_crear_albaranes_pedido_laboratorio button.btn a,
div#ew-modal-dialog .modal_alta_factura a,
div#ew-modal-dialog .modal_crear_albaranes_pedido_laboratorio a,
div#ew-modal-dialog .modal_crear_albaranes_pedido_laboratorio button a,
div#ew-modal-dialog .modal_crear_reparto button.btn a,
div#ew-modal-dialog .modal_crear_reparto button a,
div#ew-modal-dialog .modal_crear_pedidos button a,
div#ew-modal-dialog .modal_crear_pedido button a,
div#ew-modal-dialog .modal_crear_albaranes_para_farmacias button a ,
.modal_edit_detalle_reparto_farmacia button.btn.btn-primary,
div#ew-modal-dialog .modal_edit_detalle_reparto_farmacia button,
div#mis_albaranes_cs_buttons a.btn,
div#ew-modal-dialog .modal_edit_detalle_reparto_farmacia .max-600 .main-btn-site,
div#gmp_mis_avisos_atendidos a.btn{
    margin-left: 15px;
    border-radius: 25px;
    min-width: 130px !important;
    font-size: 15px;
    background: #181797;
    transition: all 500ms;
    border-color: #181797;
    color: #fff;
    outline: none;
    display: inline-block;
}


div#albaranes_cs_buttons a.btn,
div#ew-modal-dialog .modal_crear_reparto button a {
    padding: 6px 20px !important;
}

div#ew-modal-dialog .modal_alta_factura a,
div#ew-modal-dialog .modal-body .modal_crear_albaranes_pedido_laboratorio button.btn a,
div#ew-modal-dialog .modal_crear_albaranes_pedido_laboratorio button a,
div#ew-modal-dialog .modal_crear_reparto button.btn a,
div#ew-modal-dialog .modal_crear_reparto button a,
div#ew-modal-dialog .modal_crear_pedido button a,
div#ew-modal-dialog .modal_crear_albaranes_para_farmacias button a,
div#gmp_mis_avisos_atendidos a.btn {
    padding: 5px 15px !important;
}

div#albaranes_cs_buttons ,
div#mis_albaranes_cs_buttons a.btn {
    margin-bottom: 30px;
}

div#detsubastas_cs_buttons button,
div#ew-modal-dialog .modal_alta_factura button,
div#ew-modal-dialog .modal-body .modal_crear_albaranes_pedido_laboratorio button,
div#ew-modal-dialog .modal_crear_albaranes_pedido_laboratorio button.btn,
div#ew-modal-dialog .modal_crear_reparto button.btn,
div#ew-modal-dialog .modal_crear_reparto button,
div#ew-modal-dialog .modal_crear_pedidos button,
div#ew-modal-dialog .modal_crear_pedido button,
div#ew-modal-dialog .modal_crear_albaranes_para_farmacias button {
    background: transparent;
    border: 0;
    padding: 0;
}

div#ew-modal-dialog .modal-body .modal_crear_albaranes_pedido_laboratorio,
div#ew-modal-dialog .modal_alta_factura,
div#ew-modal-dialog .modal_crear_albaranes_pedido_laboratorio,
div#ew-modal-dialog .modal_crear_albaranes_pedido_laboratorio,
div#ew-modal-dialog .modal_crear_reparto,
div#ew-modal-dialog .modal_crear_pedidos,
div#ew-modal-dialog .modal_crear_pedido,
div#ew-modal-dialog .modal_crear_albaranes_para_farmacias {
    text-align: center;
}

body button.btn.btn-primary a,
div#ew-modal-dialog button a,
div#detsubastas_cs_buttons a,
div#ew-modal-dialog .modal_anadir_productos button.btn.btn-primary a,
div#gmp_avisos_atendidos a.btn.btn-default,
div#ew-modal-dialog .modal_crear_albaranes_pedido_laboratorio a,
div#ew-modal-dialog .modal_crear_reparto button.btn a {
    color: #fff;
}

div#ew-modal-dialog .modal_anadir_productos button a,
div#detsubastas_cs_buttons a,
div#ew-modal-dialog .modal_crear_albaranes_pedido_laboratorio a,
div#ew-modal-dialog .modal_crear_reparto button.btn a,
div#ew-modal-dialog .modal_crear_pedidos button a,
div#ew-modal-dialog .modal_crear_pedido button a,
div#ew-modal-dialog .modal_crear_albaranes_para_farmacias button a,
div#mis_albaranes_cs_buttons a.btn,
.modal-body .max-600 .main-btn-site,
div#ew-modal-dialog .modal_edit_detalle_reparto_farmacia .max-600 .main-btn-site,
div#gmp_mis_avisos_atendidos a.btn{
    margin-left: 0;
    margin-top: 10px;
    padding: 6px 20px;
    outline: none;
    display: inline-block;
}
div#detsubastas_cs_buttons,
div#gmp_mis_avisos_atendidos a.btn {
    margin-bottom: 30px;
}
div#ew-modal-dialog .modal_crear_reparto p {
    margin-bottom: 0.5rem;
}
div#ew-modal-dialog .modal_crear_reparto input,
div#ew-modal-dialog .modal_crear_reparto select,
div#ew-modal-dialog .modal_crear_pedidos.md-common input,
div#ew-modal-dialog .modal_crear_pedidos.md-common select,
select#cs_fecha_entrega, select#cs_farmacia_proveedora {
    width: 100%;
    max-width: 400px;
    display: block;
    margin: 5px auto;
    border-radius: 25px !important;
    padding: 5px 20px;
}
div#albaraneslist a.btn,
div#ew-modal-dialog .modal_recibido_pedido button,
div#gmp_avisos_atendidos a.btn.btn-default,
div#gmp_avisos_atendidos a.btn,
div#detpedidolist a.btn,
div#gmp_avisos_sin_atender a.btn,
div#detsubastas_cs_buttons button a {
    margin-left: 0;
    margin-top: 20px !important;
}
div#detsubastas_cs_buttons button a {
    margin: 0;
}
div#ew-modal-dialog .modal_recibido_pedido button.btn.btn-primary,
div#ew-modal-dialog .modal_recibido_pedido button,
div#ew-modal-dialog .modal_anadir_productos button.btn.btn-primary {
    margin-top: 10px;
}
div#detpedidolist a.btn,
div#gmp_avisos_sin_atender a.btn {
    padding: 10px 25px;
    display: inline-block;
}
.btn:focus,
.btn.focus {
    outline: 0;
    box-shadow: none !important;
}
.ew-extended-search div#detsubastaslist button {
    padding: 0;
    border: 0;
    background: transparent;
}
.ew-extended-search div#detsubastaslist a,
.modal_reparto_subasta button {
    display: inline-block;
    font-weight: 400;
    color: #fff;
    text-align: center;
    padding: .55rem 1.5rem;
    line-height: 1.5;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    margin-left: 0;
    margin-right: 15px;
}
div#gmp_mis_avisos_atendidos {
    background: #FAFAFA !important;
    border: 0 !important;
    box-shadow: none;
    display: flex;
    flex-wrap: wrap;
}
.modal_reparto_subasta button {
    display: block;
    margin: 15px auto 0;
}

div#ew-modal-dialog .modal_anadir_productos {
    text-align: center;
}

.modal_reparto_subasta button a {
    color: #fff;
}
.card.ew-card.ew-grid.vdetallerepartofarmacias {
    background: transparent;
    border: 0;
}

div#tpsd_necesitoslist {
    text-align: center;
}

div#tpsd_necesitoslist h3 {
    color: #999999;
    font-size: 16px;
    line-height: 1.1;
    margin: 0;
}

div#fnecesitoslistsrch-search-panel .ew-extended-search {
    position: relative;
}

div#fnecesitoslistsrch-search-panel .ew-extended-search div#necesitos_cs_buttons {
    position: absolute;
    right: 20px;
    top: 0;
    z-index: 55;
    text-align: center;
    font-size: 12px;
    max-width: 300px;
}

div#necesitos_cs_buttons h3,
div#necesitos_cs_buttons h2.blue-txt {
    color: #B4B4B4;
    font-weight: normal;
    margin: 5px 0;
    font-size: 14px;
    width: 100%;
}

div#necesitos_cs_buttons h2.blue-txt,
div#necesitos_cs_buttons h2.blue-txt a {
    font-size: 16px;
    margin: 0;
    color: #7F7F7F;
}

div#fnecesitoslistsrch-search-panel .ew-extended-search div#xsr_1 {
    float: none;
    width: 100%;
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

div#xsr_1 {
    order: 3;
}

div#necesitos_cs_buttons {
    order: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-left: auto;
    margin-right: 10px;
}

div#xsr_2 {
    width: 100%;
    order: 1;
}

div#tpsd_necesitoslist h2.blue-txt a {
    color: #7F7F7F;
    font-size: 16px;
    line-height: 1.1;
}

div#necesitoslist div#necesitoslist button {
    margin: 0 0 10px;
}

form#fnecesitoslistsrch {
    width: 100%;
}

div#necesitoslist button a {
    border-radius: 0;
    margin: 0;
    padding: 7px 30px;
    display: inline-block;
    color: #fff;
}

div#necesitoslist button a:hover,
.modal_reparto_subasta button.btn.btn-primary:hover,
div#gmp_avisos_atendidos a.btn:hover {
    text-decoration: none;
    opacity: 0.8;
}

div#necesitoslist button a i {
    color: #fff;
    margin-right: 5px;
}

div#fnecesitoslistsrch-search-panel .ew-extended-search {
    flex-direction: row-reverse;
    align-items: flex-start;
    justify-content: space-between;
}

body button[type="submit"],
body .modal-footer button.btn.btn-primary {
    min-width: 150px;
    margin-left: 0;
    display: block;
}

body a.btn.btn-default.ew-row-link.ew-detail {
    font-size: 12px;
    padding: 5px 15px;
    color: #fff;
}

body .ew-quick-search button#btn-submit:hover,
body a.btn.btn-default.ew-row-link.ew-detail:hover,
button[type="submit"]:hover,
body .modal-footer button.btn.btn-primary:hover,
.ew-extended-search div#detsubastaslist a:hover,
body .btn-default:hover,
div#albaraneslist a.btn:hover,
div#detpedidolist a.btn:hover,
div#detpedido_cs_buttons .btn:hover,
div#albaranes_cs_buttons a.btn:hover {
    text-decoration: none;
    opacity: 0.8;
}
.modal-header {
    min-height: 50px;
}
.modal_edit_detalle_reparto_farmacia button.btn.btn-primary + .btn.btn-primary {
    display: none !important;
}
.modal_edit_detalle_reparto_farmacia button.btn.btn-primary{
    margin-top: 20px;
}
body .content-header h1.text-dark {
    font-size: 1.8rem;
    margin: 0;
    color: #7F7F7F !important;
    font-family: inherit;
}

body .modal-footer {
    border-top: 0;
    padding: 0 0 50px;
    justify-content: center;
}

button.ew-close-btn,
.modal-footer button.btn.btn-default {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: 0;
    font-size: 0;
    padding: 0;
    min-width: auto;
    width: 20px;
    height: 20px;
    background: url(../images/close-icon.png) no-repeat center center;
    background-size: 18px auto;
    opacity: 0.5;
}

button.ew-close-btn:hover,
.modal-footer button.btn.btn-default:hover {
    opacity: 1;
}

.mx-700 {
    max-width: 600px;
}

.btn-download {
    border-radius: 0;
    padding: 12px 40px;
    font-size: 16px;
    display: block;
    text-align: center;
    margin-top: 20px;
    padding-left: 50px;
    position: relative;
}

.btn-download i {
    position: absolute;
    width: 40px;
    top: 50%;
    transform: translateY(-50%);
    left: 10px;
}

.txt-sub {
    color: #7F7F7F;
    font-size: 14px;
}

body button.ew-close-btn:before,
body .modal-footer button.btn.btn-default:before {
    display: none;
}

.ew-grid .ew-table {
    min-width: 900px;
}

body .modal-xl {
    max-width: 840px;
}

div#fnecesitoslistsrch-search-panel .ew-extended-search {
    display: flex;
    flex-wrap: wrap;
}

button#btn-cancel {
    display: none;
}

body .input-group>.form-control:not(:last-child),
body .input-group>.custom-select:not(:last-child),
input#mrp_id_salida,
.modal-body select,
.modal-body input {
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    border-radius: 25px;
    height: 45px;
    display: flex;
    align-items: center;
}

div#ew-modal-dialog .modal_recibido_pedido {
    text-align: center;
}

div#ew-modal-dialog .modal_recibido_pedido h2 {
    margin-bottom: 30px;
}

div#ew-modal-dialog .modal_recibido_pedido button.btn.btn-primary+button.btn.btn-primary,
div#ew-modal-dialog .modal_anadir_productos button.btn.btn-primary+button.btn.btn-primary {
    display: none;
}

div#ew-modal-dialog .modal_recibido_pedido button.btn.btn-primary a {
    display: block;
    padding: 3px 15px;
}

div#ew-modal-dialog .modal_recibido_pedido button.btn.btn-primary a:hover {
    text-decoration: none;
}

.modal_recibido_pedido input#mrp_id_salida {
    background-color: #fff;
    background-image: url(../images/search-icon.png) !important;
    background-repeat: no-repeat !important;
    background-position: calc(100% - 20px) center !important;
    background-size: 12px auto !important;
    max-width: 400px;
    margin: 5px auto 20px;
    padding-right: 35px;
}

body .modal-header {
    border: 0;
    box-shadow: 0 1px 2px #F5F5F5;
}

body .modal-title {
    margin-bottom: 0;
    line-height: 1.5;
    color: #7F7F7F;
    font-size: 16px;
}

body .modal-body {
    padding: 2.5rem 1.5rem 2.5rem;
    font-size: 15px;
    color: #999;
}

body .modal-body .modal_reparto_subasta {
    padding: 0 20px;
}

body .modal-body .modal_reparto_subasta ol {
    padding: 0;
    counter-reset: section;
    list-style: none;
}

body .modal-body .modal_reparto_subasta ol li {
    position: relative;
    display: block;
    margin-top: 0;
    margin-bottom: 1rem;
    padding-left: 20px;
}

body .modal-body .modal_reparto_subasta ol li:before {
    counter-increment: section;
    content: counters(section, ".") ". ";
    position: absolute;
    left: 0;
    top: 0;
}

body .custom-file {
    position: relative;
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    margin-bottom: 0;
    height: 45px;
    max-width: 200px;
    margin: auto;
}

body .custom-file-label {
    border-radius: 25px;
    min-width: 130px;
    font-size: 15px;
    background: #181797;
    transition: all 500ms;
    border-color: #181797;
    color: #fff;
    padding-left: 55px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 500ms;
}

body .custom-file-label:hover {
    opacity: 0.7;
}

body .custom-file-label::after {
    right: auto;
    left: 0;
    background: transparent;
    color: #fff;
    border: 0;
    top: 48%;
    transform: translateY(-50%);
    left: 15px;
}

body .ew-extended-search {
    display: flex;
    flex-direction: column-reverse;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 20px;
}

body div#fnecesitoslistsrch-search-panel {
    width: 100%;
}

body .ew-extended-search .ew-cell.form-group {
    width: 100%;
    margin-top: 30px;
    justify-content: center;
}

body .ew-extended-search .custom-radio .custom-control-label::before,
body .ew-extended-search .custom-radio .custom-control-label::after {
    display: none;
}

form#falbaraneslistsrch .ew-extended-search div#xsr_1 div#xsc_tipoalbaran {
    margin-top: 0;
}

body .ew-extended-search .custom-radio .custom-control-label {
    text-align: center;
    min-width: 170px;
    padding: 10px 20px;
    background: #D8D8D8;
    color: #fff;
    border-radius: 0;
    margin: 5px 0;
    display: block;
    cursor: pointer;
    transition: all 500ms;
    font-size: 14px;
}

body .ew-extended-search .custom-radio .custom-control-label:hover,
body .ew-extended-search .custom-radio .custom-control-label:focus {
    background: #181797;
}

body .ew-extended-search .custom-radio .custom-control-input:checked~.custom-control-label {
    background: #181797;
}

body .ew-extended-search label.ew-search-caption.ew-label {
    display: none;
}

body .ew-extended-search .custom-control.custom-radio,
body .ew-extended-search .ew-item-table .d-table-cell {
    padding-left: 0;
    padding-right: 0;
}

body .ew-extended-search .card.ew-card.ew-grid.avisos {
    width: 100%;
}

body .ew-search-panel.collapse {
    width: 100%;
}

body .ew-grid-lower-panel.card-footer .ew-list-other-options a.btn.ew-detail-add,
body .card-header.ew-grid-upper-panel .ew-list-other-options a.btn.ew-detail-add,
div#ver_avisos_atendidos a.btn.btn-default {
    display: inline-block;
    padding: 10px 20px !important;
    background: #181797;
    color: #fff;
    border-radius: 25px;
    font-size: 13px;
    vertical-align: middle;
    margin-left: 10px;
}

div#ver_avisos_atendidos a.btn.btn-default {
    margin-left: 0;
    font-size: 15px;
}

body .col-form-label.col-sm-2 {
    text-align: right;
}

body .col-form-label.col-sm-2,
div#ew-modal-dialog .modal_edit_detalle_reparto_farmacia label,
div#ew-modal-dialog .modal_edit_detalle_reparto_farmacia b {
    font-size: 12px;
    color: #7F7F7F;
}
div#ew-modal-dialog .modal_edit_detalle_reparto_farmacia b {
    display: inline-block;
    text-align: right;
    margin-right: 10px;
}
div#ew-modal-dialog .modal_edit_detalle_reparto_farmacia label{
    width: 100%;
    display: flex;
    align-items: center;
}
div#ew-modal-dialog .modal_edit_detalle_reparto_farmacia p{
    margin-bottom: 10px;
}
.modal-body .max-600 {
    margin: auto;
    text-align: left;
}
.modal-body .max-600 h2{
    margin-bottom: 30px;
}
div#ew-modal-dialog .modal_edit_detalle_reparto_farmacia .paragraph-box p{
    font-size: 12px;
}
.font-normal {
    font-weight: normal;
}
body .ew-add-div .form-group .col-sm-10 {
    max-width: 400px;
}
.col-input {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 0 15px;
}
div#ew-modal-dialog .modal_edit_detalle_reparto_farmacia .col-input label{
    width: 140px;
    padding-right: 15px;
}

body .form-group .form-control,
body .form-group select,
.modal input[type="search"],
input#mrp_id_salida,
div#ew-modal-dialog .modal_edit_detalle_reparto_farmacia input {
    height: 45px;
    border-radius: 25px;
    background: #fff;
    border: 1px solid #F0F0F0;
    padding: 5px 15px;
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
}
div#ew-modal-dialog .modal_edit_detalle_reparto_farmacia input {
    border-radius: 25px !important;
    width: calc(100% - 150px);
    margin-left: auto;
    max-width: 600px !important;
}

.modal-body table.ewjtable thead th {
    border-bottom: 0;
}

.modal-body table.ewjtable {
    display: block;
}

.modal-body table.ewjtable tbody {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border: 0;
}

.modal-body table.ewjtable tbody tr {
    display: flex;
    align-items: center;
    border: 0;
    overflow: hidden;
    margin-right: 15px;
    margin-bottom: 10px;
}

.modal-body table.ewjtable tbody tr:last-child {
    margin-right: 0;
}

.modal-body table.ewjtable tbody tr td {
    border: 0;
}

.modal-body .custom-control-input:checked~.custom-control-label::before {
    border-color: #181797;
    background-color: #181797;
}

body .d-sm-flex.d-none {
    display: none !important;
}

body .form-group textarea.form-control {
    height: 100px;
    padding: 15px;
}

body .input-group.date .form-control,
input#mrp_id_salida {
    border-radius: 25px !important;
}

body form .form-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

body .ew-add-div+.form-group.row button#btn-cancel {
    display: none;
}

.content-wrapper>.content {
    padding: 0 1rem;
    min-height: calc(100vh - 182px);
}

form#ffarmaciasview table,
form#fnecesitosview table.table {
    max-width: 350px;
    border: 1px solid #dee2e6;
}

form#fnecesitosview table.table {
    max-width: 100%;
}

form#ffarmaciasview table {
    max-width: 600px;
}

table#tbl_subastasmaster tr td,
form#ffarmaciasview table tr td {
    width: 50%;
    text-align: left;
}

body table#tbl_subastasmaster tr td body form#ffarmaciasview table tr td,
form#fnecesitosview table.table tr td {
    width: 50%;
    text-align: left;
    color: #7F7F7F;
    font-weight: normal;
}

form#fnecesitosview table.table tr td {
    padding: .75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
    text-align: left !important;
    color: #7F7F7F;
}

form#fnecesitosview table.table tr td a {
    color: #7F7F7F;
}

div#detsubastaslist {
    margin-top: 10px;
}

body form#ffarmaciasview table tr td,
form#fnecesitosview table.table.table-striped tbody tr:nth-of-type(odd) {
    background: #fff;
    padding: .75rem;
    color: #7F7F7F;
    font-weight: normal;
}

body form#ffarmaciasview table tr td:last-child {
    font-weight: 700;
}

body .custom-checkbox .custom-control-input:disabled:checked~.custom-control-label::before {
    background-color: #181797;
    border-color: #181797;
}

.ew-pager input.form-control {
    height: auto !important;
    margin: 0 5px;
}

table#tbl_pedidosmaster,
form#fproductosview table.table-striped,
table#tbl_productosmaster,
table#tbl_perdidasmaster,
table#tbl_facturasmaster,
table#tbl_facturasmaster,
table#tbl_albaranesmaster,
table.table.ew-table.tbl,
table#tbl_pedidoslaboratoriomaster,
table#tbl_vunidadespedidasmaster,
table#tbl_laboratoriosmaster,
table#tbl_laboratoriosmaster {
    width: 100%;
    max-width: 420px;
    border: 1px solid #dee2e6;
    margin-bottom: 50px;
}
form#fproductosview table.table-striped {
    max-width: 100%;
    margin: 15px auto;
}
table#tbl_pedidosmaster td,
form#fproductosview table.table-striped td,
table#tbl_productosmaster td,
table#tbl_perdidasmaster td,
table#tbl_facturasmaster td,
table#tbl_facturasmaster td,
table#tbl_albaranesmaster td,
table.table.ew-table.tbl td,
table#tbl_subastasmaster,
table#tbl_pedidoslaboratoriomaster td,
table#tbl_vunidadespedidasmaster td,
table#tbl_laboratoriosmaster td,
table#tbl_laboratoriosmaster td {
    color: #7F7F7F;
    max-width: 350px;
    font-weight: 600;
    padding: 15px 20px;
    background: #fff !important;
    font-size: 12px;
}

table#tbl_pedidosmaster td:first-child,
form#fproductosview table.table-striped td:first-child,
table#tbl_productosmaster td:first-child,
table#tbl_perdidasmaster td:first-child,
table#tbl_facturasmaster td:first-child,
table#tbl_albaranesmaster td:first-child,
table.table.ew-table.tbl td:first-child,
table#tbl_pedidoslaboratoriomaster td:first-child,
table#tbl_vunidadespedidasmaster td:first-child,
table#tbl_laboratoriosmaster td:first-child,
table#tbl_laboratoriosmaster td:first-child{
    font-size: 12px;
    text-align: left;
    font-weight: normal;
    color: #7F7F7F;
    min-width: 140px;
}

form#fproductosview table.table-striped td:first-child,
table#tbl_pedidoslaboratoriomaster:first-child {
    min-width: 160px;
}


/*escritorio. page*/

.blue-txt {
    color: #181797;
}

.flex-bx-align-mdl {
    display: flex;
    justify-content: center;
    align-items: center;
}

.fas+span {
    margin-left: 10px;
}

body .btn-primary,
body .btn-primary:hover,
div#detpedidolist a.btn:hover,
div#gmp_avisos_sin_atender a.btn.btn-default:hover {
    color: #fff;
    background-color: #181797;
    border-color: #181797;
}

body .btn-primary:hover,
div#gmp_avisos_sin_atender a.btn.btn-default:hover {
    opacity: 0.8;
}

.max-600 {
    max-width: 600px;
}

.row.list-btn {
    margin-bottom: 5px;
    display: flex;
    border: 1px solid #D8D8D8;
    margin-right: 0;
    margin-left: 0;
    justify-content: stretch;
}

.row.list-btn .col-3 {
    flex: 0 0 100%;
    max-width: 140px;
    padding: 0;
}

.row.list-btn .col-9 {
    flex: 0 0 100%;
    max-width: calc(100% - 140px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.row.list-btn .col-3 button.btn.btn-primary {
    width: 100%;
    border-radius: 0;
    padding: 7px 15px;
    height: 100%;
}

.row.list-btn .col-3 button.btn.btn-primary:hover {
    opacity: 0.8;
}

.row.list-btn .col-3 button.btn.btn-primary i {
    margin-right: 0;
}

.btn-radius {
    margin-left: 0;
    border-radius: 25px;
    min-width: 130px !important;
    font-size: 15px;
    background: #181797;
    transition: all 500ms;
    border-color: #181797;
    padding: 10px 20px;
    line-height: 1.1;
}

.btn-box {
    margin-top: 30px;
}

.row.button-box {
    margin-top: 50px;
}


/*css-d-9/1/2020*/

.detail-box .row {
    border: 1px solid #F0F0F0;
    padding: 15px;
}

.detail-box .row span {
    color: #7F7F7F;
}

.detail-box {
    max-width: 290px;
}

h6.sm-head {
    font-size: 18px;
    color: #7F7F7F;
    margin-bottom: 25px;
}

.row.new-row .sm-head {
    margin-top: 60px;
}

.tbl tbody tr td {
    padding: 15px 20px;
    border-bottom: 1px solid;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-color: #dee2e6;
    vertical-align: middle;
    color: #7F7F7F;
    background: #fff;
    font-weight: 500;
    text-align: left !important;
}

.table-max {
    max-height: 285px;
    overflow-y: scroll;
}

.cst-modal .modal-header {
    padding: 26px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.in-bx {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 290px;
    margin: 0 auto;
    text-align: center;
}

.in-bx span {
    color: #7F7F7F;
    font-size: 12px;
    line-height: 1.9;
}

.cst-modal .modal-content {
    border-radius: 0;
    border: 1px solid #0000000F;
}

.cst-modal .modal-body {
    padding-top: 25px;
}

.in-bx>a {
    color: #181797;
    font-weight: 400;
    line-height: 1.8;
}

.in-bx input[type="text"],
.inb-x-3 select {
    border: 2px solid #F0F0F0;
    border-radius: 100px;
    height: 50px;
    text-align: center;
    color: #B2B2B2;
    text-transform: capitalize;
    font-weight: 400;
    width: 100%;
    max-width: 230px;
    min-width: 0 !important;
}

.inb-x-3 form {
    width: 100%;
}

.inb-x-3 .row {
    margin: 10px 0;
}

.in-bx a.btn {
    width: 100%;
    padding: 15px;
    max-width: 150px;
    margin: 0 auto;
    display: block;
}

button.btn.btn-float {
    background: #009F37;
    border-radius: 0;
    color: #fff;
    max-width: 189px;
    width: 100%;
    height: 36px;
    position: fixed;
    bottom: 0;
    right: 10%;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.information .modal-header {
    padding: 6px 20px;
    border: none;
    box-shadow: none;
}

.information .modal-body {
    padding: 0 50px 60px;
}

input[type="text"]:focus {
    outline: none;
}

.in-bx-2 h5 {
    font-size: 22px;
    color: #7F7F7F;
    font-weight: 500;
    margin-bottom: 12px;
}

.in-bx-2 p {
    font-size: 12px;
    color: #7F7F7F;
    line-height: 1.7;
    margin-bottom: 0 !important;
}

button.btn.btn-float i {
    font-size: 20px;
}

.in-bx form {
    margin-top: 12px;
}

.in-bx label {
    display: block;
    color: #7F7F7F;
    font-weight: 400 !important;
    margin-top: 10px;
    margin-bottom: 15px;
}

.cst-modal .modal-header button.close {
    font-size: 35px;
    font-weight: 200;
    color: #cacaca;
}

.side-box h2.sm-text {
    margin-top: 0;
    line-height: 0;
    font-size: 16px;
}

.side-box.full-wdth {
    max-width: 100%;
}

.side-box .inner h2 {
    font-weight: 500;
}

.inner.flex {
    display: flex;
    justify-content: center;
    align-items: center;
}

.inner.flex i {
    margin-right: 10px;
}

.inner.flex .fas {
    margin-right: 30px;
}

.maroon-txt {
    color: #9B2805;
}

.in-bx.inb-x-3 {
    max-width: 495px;
}

.inb-x-3 input[type="text"],
.inb-x-3 select {
    max-width: 100%;
    text-align: left;
    padding-left: 20px;
    padding-right: 10px;
}

.search {
    position: relative;
}

span.highligh-font {
    color: #181797;
    font-size: 28px;
    margin: 0 5px;
}

h4.flex-head {
    display: flex;
    align-items: center;
    color: #7F7F7F;
    font-size: 18px;
    font-weight: 500;
}

.search i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #c5c5c5;
    font-size: 12px;
}

.inb-x-3 a.btn.btn-radius.btn-primary {
    padding: 10px 20px;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

div#Necesitoproducto .modal-body {
    padding-bottom: 55px;
}

.modal-dialog {
    max-width: 600px;
}

.inb-x-3 a.btn.btn-radius.btn-primary>i {
    margin-right: 5px;
}

.new-sec {
    padding: 85px 8px 0px;
    max-width: 95%;
    margin-left: auto;
}

.margin-0 .side-box {
    margin-right: 0;
}

.list-btn .col-9 {
    color: #7F7F7F;
}

.list-btn .col-9 span {
    color: #181797;
    font-weight: 500;
}

.new-sec .side-box.text-center.col-md-6:nth-child(3) {
    margin-right: 0;
}

.new-sec .side-box.text-center.col-md-6 {
    max-width: 48%;
    margin-right: 4%;
}

.row.new-row {
    margin-top: -28px;
}

.row.ne-row {
    max-width: 97%;
}


/*css-d-9/1/2020*/

.btn-white {
    width: 100%;
    border: 0;
    background: #fff;
    color: #7F7F7F;
    font-size: 18px;
    font-weight: 500;
    padding: 15px;
    margin-bottom: 15px;
    border: 0;
    box-shadow: 0 3px 4px #00000029;
    cursor: pointer;
    text-align: center;
    height: 70px;
    transition: all 500ms ease-in-out;
}

button:focus {
    outline: none;
}

.btn-white:hover {
    color: #fff;
    background-color: #181797;
    border-color: #181797;
    opacity: 0.8;
    box-shadow: none;
    text-decoration: none;
}

.side-box {
    background: #fff;
    padding: 20px;
    margin-bottom: 30px;
    max-width: 350px;
    margin: 0 auto 30px;
}

.side-box:last-child {
    margin-bottom: 0;
}

.side-box .fas {
    font-size: 30px;
    color: #D8D8D8;
    margin: 0 0 10px;
}

.side-box h3 {
    color: #7F7F7F;
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 15;
}

.side-box h2 {
    font-size: 25px;
    line-height: 1.2;
    margin: 5px 0;
    padding: 0;
    font-weight: 600;
}

.sub-txt {
    font-size: 14px;
    color: #7F7F7F;
    margin: 0;
    padding: 0;
    line-height: 1.1;
}


/*end escritorio. page*/


/*login*/

.login nav {
    display: none;
}

.login aside {
    display: none;
}

.login .content-wrapper {
    margin-left: 0 !important;
}

.login .content-wrapper {
    background: inherit !important;
}

.login .content-wrapper {
    background: inherit !important;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login .content-header {
    display: none;
}

.login section.content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login .card {
    background: inherit;
    border: none;
    margin: 0;
}

.login {
    background: url(http://asefarma.servidoremc32.com/images/Login-imag.png);
}

.logo-img {
    text-align: center;
    margin-bottom: 25px;
}

.login input::placeholder {
    color: #d8d8d8;
}

.login .card-body {
    max-width: 230px;
    margin: 0 auto;
    padding: 0 !important;
    width: 100%;
}

.login input {
    min-width: 0 !important;
    width: 100% !important;
    height: 50px !important;
    background-image: url(http://asefarma.servidoremc32.com/images/user.png) !important;
    background-size: 18px !important;
    background-repeat: no-repeat !important;
    background-position: 10% center !important;
    padding-left: 55px !important;
    background-color: inherit !important;
    border: 2px solid #F0F0F0!important;
    color: #fff !important;
}

.login input#password {
    background: url(http://asefarma.servidoremc32.com/images/password.png) !important;
    background-repeat: no-repeat !important;
    background-position: 10% center !important;
}

.login .form-group.row {
    margin-bottom: 10px;
}

.login footer.main-footer {
    display: none;
}

.login button#btn-submit {
    width: 100%;
    height: 52px;
    font-size: 16px;
    margin-top: 25px;
}

.login i {
    color: #fff;
}

.login input {
    min-width: 0 !important;
    width: 100% !important;
}

a.forgot {
    display: block;
    text-align: center;
    color: #fff;
    font-weight: 500;
    font-family: Roboto;
    margin-top: 10px;
}


/*login*/


/*side menubar*/

.sidebar ul.nav {
    margin: 0 -10px 1rem;
}

.sidebar ul.nav-sidebar li:nth-child(3) a,
.sidebar ul.nav-sidebar li:nth-child(15) a,
.sidebar ul.nav-sidebar li:nth-child(19) a {
    margin-top: 15px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6
}


/*new-fixes-css*/

table#tbl_avisos_sin_atenderlist .avisos_sin_atender_edit a {
    background: #181797;
    border-radius: 20px;
    min-width: 139px;
    display: inline-block;
    width: auto;
    padding: 10px 37px 10px 23px;
    text-align: center;
}

table#tbl_avisos_sin_atenderlist .avisos_sin_atender_edit a {
    color: #fff;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    align-items: center;
}

table#tbl_avisos_sin_atenderlist .avisos_sin_atender_edit a span {
    margin-left: 12px;
}

table#tbl_avisos_sin_atenderlist .avisos_sin_atender_edit a a i {
    display: inline-block;
}

table#tbl_avisos_sin_atenderlist .avisos_sin_atender_edit a a i:before {
    content: "\f4bd";
    color: #fff;
    font-size: 18px;
    position: relative;
    top: -5px;
}

div#tpsd_albaraneslist #albaraneslist .btn.btn-default i.fas.fa-box-open {
    margin-right: 8px;
}

div#tpsd_albaraneslist #albaraneslist .btn.btn-default,
form#favisos_sin_atenderlist div#gmp_avisos_sin_atender>.btn.btn-default,
form#favisos_atendidoslist #gmp_avisos_atendidos>.btn.btn-default,
div#detpedido_cs_buttons .btn {
    border-radius: 25px;
    padding: 10px 20px;
    margin-top: 16px;
    font-size: 15px;
}

div#detpedido_cs_buttons {
    margin-bottom: 60px;
}

form#favisos_sin_atenderlist div#gmp_avisos_sin_atender>.btn.btn-default,
form#favisos_atendidoslist #gmp_avisos_atendidos>.btn.btn-default {
    margin-top: 0;
    margin-bottom: 25px;
}

form#favisos_sin_atenderlist div#gmp_avisos_sin_atender,
form#favisos_atendidoslist #gmp_avisos_atendidos {
    background-color: #FAFAFA;
}

form#favisos_sin_atenderlistsrch {
    margin-bottom: 0;
}

div#gmp_albaranes table#tbl_albaraneslist i.fas.fa-file-invoice-dollar {
    font-size: 23px;
}

div#gmp_albaranes table#tbl_albaraneslist a.gray i {
    color: #B4B4B4;
}

div#gmp_albaranes table#tbl_albaraneslist a.blue i {
    color: #181797;
}

div#gmp_albaranes table#tbl_albaraneslist .albaranes_warning_equal i.cs-icon-warning.fas.fa-exclamation-triangle {
    color: #E6BB03;
    font-size: 17px;
}

table#tbl_pedidosmaster.table td:last-child {
    font-size: 12px;
}

.card-footer .input-group-prepend,
.card-footer .input-group-append,
.card-footer .input-group {
    align-items: center;
}

i.fa-trash,
i.icon-edit.ew-icon {
    color: #181797;
    font-size: 18px !important;
}

form#favisos_sin_atenderedit input {
    border-radius: 25px !important;
    padding: 5px 20px;
}
.table-responsive.os-theme-light>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle {
     background: #192170 !important;
}

.table-responsive.os-theme-dark>.os-scrollbar>.os-scrollbar-track, 
.table-responsive.os-theme-light>.os-scrollbar>.os-scrollbar-track {   
    background: #d7d7d7 !important;
}
.table-responsive .os-size-auto-observer{
    height: auto !important;
}


/*new-fixes-css*/

@media (max-width: 1300px) {
    div#fnecesitoslistsrch-search-panel .ew-extended-search div#necesitos_cs_buttons {
        position: relative;
        right: 0;
        max-width: 300px;
        margin: 60px auto 0;
    }
}

@media (max-width: 980px) {
    .new-sec {
        padding: 85px 0 0;
        max-width: 100%;
        margin: auto;
    }
    .row.new-row {
        margin-top: 50px;
    }
    div#tpsd_necesitoslist {
        text-align: center;
        margin: 0 auto 30px;
    }
    div#fnecesitoslistsrch-search-panel .ew-extended-search {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        margin: auto;
    }
    div#fnecesitoslistsrch-search-panel div#xsr_2 {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .new-sec .side-box.text-center.col-md-6 {
        max-width: 100%;
        margin-right: 0;
    }
    .margin-0 .side-box {
        margin-right: auto;
    }
}

@media (min-width: 576px) {
    body .ew-table .input-group>.form-control.ew-lookup-text {
        min-width: 20em !important;
    }
}

@media (max-width: 575px) {
    body .col-form-label.col-sm-2 {
        text-align: left;
    }
    .modal-open .modal {
        padding: 10px !important;
    }
    .inner.flex {
        display: block;
    }
    h6.sm-head {
        text-align: center;
        margin-bottom: 15px;
        margin-top: 25px;
    }
    .inner.flex i {
        margin-right: 0;
    }
    .information .modal-body {
        padding: 0 20px 40px;
    }
    .ew-item-list,
    .ew-search-field {
        width: 100%;
        margin-right: 0;
    }
    .ew-item-list .d-table.ew-item-table {
        width: 100%;
    }
    .ew-extended-search .ew-cell.form-group {
        margin-right: 0;
    }
    div#xsr_2 div#xsc_codclasealbaran,
    div#xsr_2 {
        margin-bottom: 0;
    }
    div#ew-modal-dialog .modal_edit_detalle_reparto_farmacia label{
        display: block;
    }
    div#ew-modal-dialog .modal_edit_detalle_reparto_farmacia input {
        width: 100%;
    }
    div#ew-modal-dialog .modal_edit_detalle_reparto_farmacia b {
        min-width: auto;
        display: inline-block;
        text-align: left;
        margin-right: 15px;
    }
}
.table.ew-table.table-head-fixed thead tr:nth-child(1) th {
    background-color: #181797;
    color: #fff;
    box-shadow: none;
    z-index: 999;
}