:root {
    color-scheme: light;
    --mgw-blue: #364F6A;
    --mgw-blue-dark: #2d4259;
    --mgw-purple: #57517b;
    --mgw-green: #3D9400;
    --mgw-border: #CDCDCD;
    --mgw-panel: #F5F4F9;
    --mgw-panel-bottom: #ECEAF3;
    --mgw-text: #000;
    --mgw-muted: #7F7F7F;
}

@font-face {
    font-family: FontAwesome;
    src: url('/assets/plugins/font-awesome/fonts/fontawesome-webfont.woff?v=4.1.0') format('woff'),
         url('/assets/plugins/font-awesome/fonts/fontawesome-webfont.ttf?v=4.1.0') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fa-user:before { content: "\f007"; }
.fa-lock:before { content: "\f023"; }
.fa-eye:before { content: "\f06e"; }
.fa-arrow-circle-right:before { content: "\f0a9"; }
.fa-building-o:before { content: "\f0f7"; }
.fa-remove-sign:before { content: "\f057"; }

* { box-sizing: border-box; }

body {
    color: var(--mgw-text);
    direction: ltr;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    margin: 0;
    padding: 0 !important;
    background: #fff;
}

body.bg_style_1 {
    background: #f1f1f1;
}

a,
a:focus,
a:hover,
a:active {
    outline: 0 !important;
}

.navbar {
    min-height: 48px;
    border: 0;
    border-radius: 0;
    background: #2d4259;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .35);
}

.navbar-fixed-top {
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
}

.navbar-header .logo {
    display: block;
    min-width: 216px;
    padding: 2px 0;
}

.navbar-header img {
    display: block;
    height: 44px;
    width: 216px;
}

.navbar-tools {
    align-items: center;
    display: flex;
    gap: 10px;
}

.navbar-tools form {
    margin: 0;
}

.main-container {
    display: flex;
    margin-top: 48px;
    min-height: calc(100vh - 48px);
}

.navbar-content {
    background: #f7f7f7;
    border-right: 1px solid #c8c7cc;
    flex: 0 0 225px;
    min-height: calc(100vh - 48px);
}

.main-navigation {
    color: #707070;
    font-weight: normal;
}

.navigation-toggler {
    background: #eceaf3;
    border-bottom: 1px solid #c8c7cc;
    color: #777;
    height: 32px;
    line-height: 32px;
    text-align: center;
}

ul.main-navigation-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.main-navigation-menu > li {
    border: 0 none;
    display: block;
    margin: 0;
    padding: 0;
}

ul.main-navigation-menu > li > a {
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #fff;
    color: #555;
    display: block;
    font-size: 14px;
    font-weight: 300;
    margin: 0;
    padding: 10px 15px;
    position: relative;
    text-decoration: none;
}

ul.main-navigation-menu > li.active > a,
ul.main-navigation-menu > li > a:hover {
    background: #e6e6e6;
    color: #2d4259;
}

ul.main-navigation-menu > li.disabled > a {
    color: #aaa;
    cursor: not-allowed;
}

.menu-icon {
    display: inline-block;
    font-size: 15px;
    margin-right: 5px;
    width: 16px;
}

.main-content {
    background-color: #fff;
    flex: 1;
    margin-top: 0;
    min-width: 0;
    padding: 0;
}

.container {
    max-width: none !important;
    padding: 15px;
    width: auto !important;
}

.page-header {
    border-bottom: 1px solid #eee;
    margin: 20px 0;
    padding-bottom: 9px;
}

.page-header h1 {
    color: #666;
    font-weight: 200;
    letter-spacing: -1px;
    margin: 0;
    padding: 0;
}

.page-header h1 small {
    color: #888;
    font-size: 14px;
    font-weight: 300;
}

.panel {
    background: #fafafa;
    border: 1px solid var(--mgw-border);
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
    clear: both;
    margin-bottom: 20px;
}

.panel-heading {
    background-color: var(--mgw-panel);
    background-image: linear-gradient(to bottom, var(--mgw-panel) 0%, var(--mgw-panel-bottom) 100%);
    border-bottom: 1px solid var(--mgw-border);
    border-radius: 6px 6px 0 0;
    box-shadow: 0 1px 0 #fff inset;
    color: #555;
    font-weight: 600;
    height: 36px;
    padding-left: 40px;
    position: relative;
}

.panel-heading > [class^="fa-"],
.panel-heading > [class*=" fa-"],
.panel-heading > [class^="icon-"],
.panel-heading > [class*=" icon-"],
.panel-heading > [class^="clip-"],
.panel-heading > [class*=" clip-"],
.panel-heading .panel-icon {
    border-right: 1px solid var(--mgw-border);
    box-shadow: 1px 0 0 0 #fff;
    height: 36px;
    left: 0;
    opacity: .7;
    padding: 12px 10px 8px;
    position: absolute;
    text-align: center;
    top: 0;
    width: 34px;
}

.panel-body {
    background: #fff;
    border-radius: 0 0 6px 6px;
    padding: 15px;
}

.toolbar {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.form-control {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    color: #555;
    display: block;
    font-size: 14px;
    height: 34px;
    line-height: 1.42857143;
    padding: 6px 12px;
    width: 100%;
}

.input-group {
    border-collapse: separate;
    display: table;
    position: relative;
    width: 180px;
}

.input-group .form-control {
    display: table-cell;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

.input-group-addon {
    background-color: #eee;
    border: 1px solid #ccc;
    border-left: 0;
    border-radius: 0 4px 4px 0;
    color: #555;
    display: table-cell;
    padding: 6px 10px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    width: 1%;
}

.btn {
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    margin-bottom: 0;
    padding: 6px 12px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

.btn-xs {
    border-radius: 3px;
    font-size: 12px;
    line-height: 1.5;
    padding: 1px 5px;
}

.btn-blue {
    background-color: var(--mgw-blue);
    border-color: var(--mgw-blue-dark);
    color: #fff;
}

.btn-blue:hover {
    background-color: var(--mgw-blue-dark);
    border-color: #253648;
}

.btn-green {
    background-color: var(--mgw-green);
    border-color: #327b00;
    color: #fff;
}

.btn-green:hover {
    background-color: #327b00;
    border-color: #286100;
}

.btn-purple {
    background-color: var(--mgw-purple);
    border-color: #413d5c;
    color: #fff;
}

.btn-purple:hover {
    background-color: #4c476c;
    border-color: #413d5c;
}

.btn-dark-grey {
    background-color: #333;
    border-color: #333;
    color: #fff;
}

.btn-dark-grey:hover {
    background-color: #262626;
    border-color: #1a1a1a;
}

.btn-success,
.btn-primary,
.btn-warning,
.btn-info {
    color: #fff;
}

.btn-success { background-color: #3D9400; border-color: #327b00; }
.btn-primary { background-color: #428bca; border-color: #357ebd; }
.btn-warning { background-color: #f0ad4e; border-color: #eea236; }
.btn-info { background-color: #5bc0de; border-color: #46b8da; }

.btn-bricky {
    background-color: #C83A2A;
    border-color: #b33426;
    color: #fff;
}

.table {
    background-color: transparent;
    border-collapse: collapse;
    border-spacing: 0;
    max-width: 100%;
    width: 100%;
}

.table-bordered {
    border: 1px solid #ddd;
}

.table > thead > tr > th,
.table > tbody > tr > td {
    border-top: 1px solid #ddd;
    line-height: 1.42857143;
    padding: 8px;
    vertical-align: middle;
}

.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > td {
    border: 1px solid #ddd;
}

.table > thead > tr > th {
    border-bottom: 2px solid #ddd;
    vertical-align: bottom;
}

.table-hover > tbody > tr:hover {
    background-color: #f5f5f5;
}

.well {
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
    margin-bottom: 15px;
    min-height: 20px;
    padding: 12px;
}

.well span {
    display: block;
    margin-top: 4px;
}

.muted,
.help-block {
    color: var(--mgw-muted);
}

.mgw-home-hero {
    background: #f7f7f7;
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    margin-bottom: 12px;
    padding: 15px;
}

.mgw-home-hero h3 {
    color: #555;
    font-weight: 300;
    margin: 0 0 6px;
}

.mgw-home-hero p {
    color: #777;
    margin: 0;
}

.mgw-home-table td:first-child {
    background: #f7f7f7;
    font-weight: 600;
    width: 170px;
}

.row::before,
.row::after {
    content: " ";
    display: table;
}

.row::after {
    clear: both;
}

.col-md-6 {
    float: left;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
    width: 50%;
}

.venta-layout {
    margin-left: 0;
    margin-right: 0;
}

.venta-semana-controles {
    background: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 8px;
    padding: 8px;
}

.venta-semana-form {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.venta-semana-fechas,
.venta-semana-nav {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.table-container {
    overflow-x: auto;
}

.table-container table {
    border-collapse: collapse;
    width: 100%;
}

.table-container th,
.table-container td {
    border: 1px solid #ddd;
    line-height: 1.42857143;
    padding: 5px;
}

.table-container th {
    background: #f5f5f5;
}

.padding_5 th,
.padding_5 td {
    padding: 5px !important;
}

.fila_dia:hover,
.fila_movimiento:hover {
    background: #f5f5f5;
}

.dia_actual {
    background: #DFF0D8 !important;
    font-weight: 700;
}

.tr_seleccionado {
    background: #FAFFCA !important;
}

.elimina2 {
    background: #ff3636;
    color: #fff;
    font-weight: bold;
}

.cancela2 {
    background: #ddd !important;
    color: #777;
}

.gris {
    color: #888;
    font-size: 11px;
}

.ventas-importe-sort {
    display: none;
}

.venta-mobile-info-data,
.tabla-ventas-mobile {
    display: none;
}

.modal {
    background: rgba(0,0,0,.45);
    bottom: 0;
    display: none;
    left: 0;
    overflow: auto;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 2000;
}

.modal.in {
    display: block;
}

.modal-dialog {
    margin: 40px auto;
    max-width: 900px;
    width: 80%;
}

.modal-wide {
    max-width: 1180px;
    width: 97%;
}

.modal-content {
    background: #fff;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 6px;
    box-shadow: 0 3px 9px rgba(0,0,0,.5);
}

.modal-header {
    border-bottom: 1px solid #e5e5e5;
    min-height: 16px;
    padding: 12px 15px;
}

.modal-header h4 {
    color: #555;
    font-weight: 300;
    margin: 0;
}

.modal-body {
    padding: 15px;
}

.close {
    background: transparent;
    border: 0;
    color: #000;
    cursor: pointer;
    float: right;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
    opacity: .5;
}

.alert-info {
    background-color: #d9edf7;
    border-color: #bce8f1;
    color: #31708f;
}

.alert-warning {
    background-color: #fcf8e3;
    border-color: #faebcc;
    color: #8a6d3b;
}

body.loading::after {
    background: rgba(255,255,255,.62);
    border-radius: 4px;
    color: #555;
    content: "Cargando...";
    left: 50%;
    padding: 8px 12px;
    position: fixed;
    top: 58px;
    transform: translateX(-50%);
    z-index: 3000;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.pull-right { float: right; }

.alert {
    background-color: #f2dede;
    border: 1px solid #ebccd1;
    border-radius: 4px;
    color: #a94442;
    margin: 10px 0;
    padding: 10px;
}

.alert-danger {
    background-color: #f2dede;
    border-color: #ebccd1;
    color: #a94442;
}

.no-display {
    display: none;
}

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

code {
    background: #f9f2f4;
    border-radius: 4px;
    color: #c7254e;
    padding: 2px 4px;
}

body.login {
    color: var(--mgw-muted);
    min-height: 100vh;
}

body.login.example2 {
    background-color: rgba(255,255,255,0);
    background-image: url("https://www.migestionweb.pro/assets/images/bg_2.png");
}

body.login .main-login {
    margin: 60px auto 0;
    width: 360px;
    max-width: calc(100% - 30px);
}

body.login .logo {
    padding: 20px;
    text-align: center;
}

body.login .logo img {
    display: inline-block;
    height: auto;
    max-width: 100%;
}

body.login .box-login {
    background: #FFFFFF;
    border-radius: 5px;
    box-shadow: -30px 30px 50px rgba(0, 0, 0, 0.32);
    overflow: hidden;
    padding: 15px;
}

body.login .box-login h3 {
    color: #666;
    font-size: 24px;
    font-weight: 300;
    line-height: 1.1;
    margin: 0 0 10px 0;
}

body.login .box-login p {
    font-size: 14px;
    margin: 0 0 10px 0;
}

body.login .form-login fieldset {
    border: none;
    margin: 0;
    padding: 10px 0 0;
}

body.login .form-group {
    margin-bottom: 15px;
}

body.login label {
    color: #7F7F7F;
    display: block;
    font-size: 14px;
    font-weight: normal;
    margin-top: 5px;
}

span.input-icon,
span.input-help {
    display: block;
    position: relative;
}

.input-icon > input {
    padding-left: 25px;
    padding-right: 6px;
}

.input-icon > [class*="fa-"],
.input-icon > [class*="clip-"] {
    bottom: 0;
    color: #909090;
    display: inline-block;
    font-size: 14px;
    left: 5px;
    line-height: 35px;
    padding: 0 3px;
    position: absolute;
    top: 0;
    z-index: 2;
}

.input-icon > input:focus + [class*="fa-"],
.input-icon > input:focus + [class*="clip-"] {
    color: #557799;
}

body.login a.forgot {
    color: #909090;
    font-size: 12px;
    position: absolute;
    right: 10px;
    text-decoration: none;
    text-shadow: 1px 1px 1px #FFFFFF;
    top: 9px;
}

body.login a.forgot:hover {
    color: #666;
}

body.login input.password {
    padding-right: 130px;
}

body.login .input-password-icon #togglePassword {
    color: #888;
    cursor: pointer;
    left: 0;
    line-height: 1;
    padding: 0;
    position: absolute;
    top: 3px;
}

body.login .form-actions:before,
body.login .form-actions:after {
    content: "";
    display: table;
    line-height: 0;
}

body.login .form-actions:after {
    clear: both;
}

body.login .form-actions {
    border-top: 1px dotted #EEEEEE;
    display: block;
    margin-top: 15px;
    min-height: 46px;
    padding-top: 10px;
}

body.login .copyright {
    clear: both;
    font-size: 11px;
    line-height: 17px;
    margin: 0 auto;
    padding: 10px 10px 0;
    text-align: center;
}

body.login .copyright span,
body.login .copyright em {
    display: block;
}

body.login .copyright em {
    font-style: italic;
}

@media (max-width: 760px) {
    .main-container {
        display: block;
    }

    .navbar-content {
        min-height: 0;
    }

    .toolbar,
    .navbar .container,
    .venta-semana-form {
        align-items: stretch;
        display: grid;
    }

    .input-group {
        width: 100%;
    }

    body.login .main-login {
        margin-top: 0;
        max-width: 680px;
        width: calc(100% - 30px);
    }

    body.login .logo {
        padding: 20px 15px 17px;
    }

    body.login .logo img {
        width: 270px;
        max-width: 86vw;
    }

    body.login .box-login {
        padding: 15px 15px 14px;
    }

    .col-md-6 {
        float: none;
        width: 100%;
    }

    .modal-dialog {
        margin: 10px auto;
        width: calc(100% - 20px);
    }
}
