﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification\ 
for details on configuring this project to bundle and minify static web assets. */
body {
    padding-top: 45px;
    padding-bottom: 20px;
}

body.swal2-height-auto {
    height: 100% !important;
}
/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

.body-content #app {
    margin: 15px 0px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    /* Set the fixed height of the footer here */
    height: 60px;
    line-height: 60px; /* Vertically center the text there */
}

.btn.add::before {
    font-family: fontAwesome;
    content: "\f067\00a0";
}

.navbar-inverse {
    background-color: black !important;
}

.btn-catalogo {
    background: url("../images/icon/catalogo.png") !important;
    background-position: 2px center !important;
    background-repeat: no-repeat !important;
    background-size: 20px auto !important;
    padding-left: 34px !important;
    padding-right: 6px !important;
    color: #000;
}

.btn-documento {
    background: url("../images/icon/nomina.png") !important;
    background-position: 2px center !important;
    background-repeat: no-repeat !important;
    background-size: 28px auto !important;
    padding-left: 34px !important;
    padding-right: 6px !important;
    color: #000;
}

.btn-configuracion {
    background: url("../images/icon/seguridad.png") !important;
    background-position: 2px center !important;
    background-repeat: no-repeat !important;
    background-size: 28px auto !important;
    padding-left: 34px !important;
    padding-right: 6px !important;
    color: #000;
}

.btn-ayuda {
    background: url("../images/icon/ayuda.png") !important;
    background-position: 2px center !important;
    background-repeat: no-repeat !important;
    background-size: 28px auto !important;
    padding-left: 34px !important;
    padding-right: 6px !important;
    color: #000;
}

.nav-menu > li {
    border-right: 1pt solid #404040;
}

.nav-menu > li.active {
    background-color: #404040 !important;
    opacity: 1;
    border-bottom: 2pt solid #fff !important;
}

.btn.btn-catalogo {
    padding: 11.5px 12px !important;
    background-color: #e1e1e1 !important;
    border-top-right-radius: 3px !important;
    border-bottom-right-radius: 3px !important;
}

#menu-botones {
    min-height: unset;
    z-index: 999;
}

.panel-button {
    margin: 0px 15px !important;
    border-bottom: none;
    box-shadow: unset;
}

.panel-button .panel-body {
    padding: 5px 0px !important;
}

.ui-autocomplete {
    max-height: 250px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

#page-content {
    padding: 0px;
    height: calc(100% - 105px);
    overflow: hidden;
}

#page-content.without-footer {
    height: calc(100% - 65px) !important;
}

#page-content .header-content {
    height: 40px;
}

.header-content {
    padding: 5px 10px;
}

.body-content {
    padding: 0px;
    margin-bottom: 0px;
}

#page-content .header-content span {
    font-size: 16px;
    font-weight: bold;
}

/*.blog-item .btn .label {
    position: absolute;
    top: 0px;
    right: 25px;
    left: -12px;
}
*/
.body-content .panel {
    margin-bottom: 0px;
}

.header-content .btn-group .btn {
    margin-left: 4px;
}

#sidebar-left::after {
    background-color: #fff;
    border-right: 1px #ddd solid;
}

.navbar-right .navbar-profile a.dropdown-toggle {
    padding-top: 7px;
}

@media (max-width: 768px) {
    #page-content {
        padding: 0px;
        margin-top: 50px;
        height: calc(100% - 140px);
        overflow: hidden;
    }

    #page-content .header-content {
        padding: 5px 10px;
    }

    #page-content.without-footer {
        height: calc(100% - 100px) !important;
    }

    .header-content .btn-group {
        float: right;
    }

    /* #header .header-left {
        display: none;
    }

    #header .header-right {
        top: 0px;
    }*/

    #header .navbar-toolbar .navbar-form input {
        min-width: 350px;
    }
    /*#header .header-right .navbar-minimize {
        display: block;
    }*/
}

@media (max-width: 360px) {
    #header .navbar-toolbar .navbar-right .navbar-message .dropdown-menu {
        right: -69px !important;
    }

    #carrito .dropdown-menu {
        left: -91px !important;
    }
}

.table-hover > tbody > tr:hover,
.table-hover > tbody > tr:hover td {
    background-color: #d2d2d2;
}

#app > div:first-child {
    position: absolute;
    width: 100%;
    height: 100%;
}

#app .body-content {
    height: calc(100% - 40px);
}

body.dialog .body-content {
    height: 100%;
}

#app .body-content .panel {
    height: 100%;
}


fieldset legend {
    width: auto;
    padding: 0px 5px;
    border-bottom: none;
    margin-bottom: 3px !important;
    font-family: Calibri, Arial, Helvetica, sans-serif;
}

@media (max-width: 300px) {
    #page-content .header-content {
        padding: 5px;
    }
    .header-content .btn-group {
        position: absolute;
        right: 0px;
    }

    #modal-iframe .modal-dialog {
        margin: 2% auto;
        max-width: 98%;
        width: 98%;
        max-height: 98%;
        height: 98%;
    }
}

    @media (min-width: 481px) {
        #modal-iframe .modal-dialog.tm-sm {
            width: 30% !important;
        }

        #modal-iframe .modal-dialog.tm-nm {
            width: 50% !important;
        }

        #modal-iframe .modal-dialog.tm-lg {
            width: 80% !important;
        }

    #modal-iframe .modal-dialog.tm-max {
        width: 100% !important;
    }

        #modal-iframe .modal-dialog.tm-sm.hg100,
        #modal-iframe .modal-dialog.tm-nm.hg100,
        #modal-iframe .modal-dialog.tm-lg.hg100 {
            height: 100px;
        }

            #modal-iframe .modal-dialog.tm-sm.hg200,
            #modal-iframe .modal-dialog.tm-nm.hg200,
            #modal-iframe .modal-dialog.tm-lg.hg200 {
                height: 200px;
            }

            #modal-iframe .modal-dialog.tm-sm.hg300,
            #modal-iframe .modal-dialog.tm-nm.hg300,
            #modal-iframe .modal-dialog.tm-lg.hg300 {
                height: 300px;
            }

            #modal-iframe .modal-dialog.tm-sm.hg400,
            #modal-iframe .modal-dialog.tm-nm.hg400,
            #modal-iframe .modal-dialog.tm-lg.hg400 {
                height: 400px;
            }

            #modal-iframe .modal-dialog.tm-sm.hg500,
            #modal-iframe .modal-dialog.tm-nm.hg400,
            #modal-iframe .modal-dialog.tm-lg.hg500 {
                height: 500px;
            }

        #modal-iframe .modal-dialog.tm-sm.hg600,
        #modal-iframe .modal-dialog.tm-nm.hg600,
        #modal-iframe .modal-dialog.tm-lg.hg600 {
            height: 600px;
        }

        #modal-iframe .modal-dialog.tm-sm.hg100 .modal-content,
        #modal-iframe .modal-dialog.tm-nm.hg100 .modal-content,
        #modal-iframe .modal-dialog.tm-lg.hg100 .modal-content {
            min-height: 100px !important;
        }

            #modal-iframe .modal-dialog.tm-sm.hg200 .modal-content,
            #modal-iframe .modal-dialog.tm-nm.hg200 .modal-content,
            #modal-iframe .modal-dialog.tm-lg.hg200 .modal-content {
                min-height: 200px !important;
            }

            #modal-iframe .modal-dialog.tm-sm.hg300 .modal-content,
            #modal-iframe .modal-dialog.tm-nm.hg300 .modal-content,
            #modal-iframe .modal-dialog.tm-lg.hg300 .modal-content {
                min-height: 300px !important;
            }

            #modal-iframe .modal-dialog.tm-sm.hg400 .modal-content,
            #modal-iframe .modal-dialog.tm-nm.hg400 .modal-content,
            #modal-iframe .modal-dialog.tm-lg.hg400 .modal-content {
                min-height: 400px !important;
            }

            #modal-iframe .modal-dialog.tm-sm.hg500 .modal-content,
            #modal-iframe .modal-dialog.tm-nm.hg400 .modal-content,
            #modal-iframe .modal-dialog.tm-lg.hg500 .modal-content {
                min-height: 500px !important;
            }
    }

    input.wd100,
    select.wd100 {
        width: 100%;
    }

    input.wd50,
    select.wd50 {
        width: 50%;
    }

    input.wd25,
    select.wd25 {
        width: 25%;
    }

    .titulo-tabla label {
        padding: 2.5px;
    }

    body.page-footer-fixed #page-content .footer-content {
        z-index: 300 !important;
    }

    i.fa-carrito {
        background-image: url('/images/icon/navbar/CarritoBlanco.png');
        height: 21px;
        width: 21px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center bottom;
    }

    i.fa-factura {
        background-image: url('/images/icon/buttons/xml.png');
        background-size: contain;
        height: 21px;
        width: 21px;
        background-repeat: no-repeat;
        background-position: bottom center;
    }

    [class^='col-lg'], [class^='col-sm'], [class^='col-md'], [class^='col-xs'] {
        padding: 0px 5px;
    }

    #app table th, #app table td {
        font-family: Calibri;
        color: black;
    }

        #app table td input {
            font-family: Calibri;
            color: black !important;
            font-size: 12px;
        }

.modal-dialog-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0 !important;
}

.modal-dialog-left .modal-content {
    min-height: 100%;
    border-width: 0;
    border-radius: 0;
}

.modal-dialog-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 60%;
    max-height: 50%;
    height: 50%;
    margin: 0 auto !important;
}

.modal-dialog-bottom .modal-content {
    min-height: 50%;
    height: 100%;
    border-width: 0;
    border-radius: 0;
}

.table > thead .col-drap-drop {
    width: 15px;
}

.table > tbody .col-drap-drop {
    cursor: move;
    width: 15px;
    text-align: center;
    color: darkgray !important;
}

    .table > tbody .col-drap-drop:hover {
        color: forestgreen;
    }

.row-dragging {
    -moz-box-shadow: inset 0px 1px 3px 0.5px #888888;
    -webkit-box-shadow: inset 0px 1px 3px 0.5px #888888;
    box-shadow: inset 0px 0px 0px 2px #888888;
}

.panel.panel-center {
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    margin: auto;
    width: 500px;
    height: auto !important;
    min-height: 400px;
    margin-top: 50px;
    border-radius: 10px !important;
}

.panel.panel-shadow {
    box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.19);
    -webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.19);
    -moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.19);
}

.tablero-captura-importe {
    z-index: 10000;
    border: solid 1px gainsboro;
    font-size: 18px;
}

    .tablero-captura-importe table > tbody > tr > td {
        text-align: center;
        width: 33.33%;
        height: 64px;
    }


    .tablero-captura-importe table > tbody > tr > td > button {
        width: 100%;
        height: 100%;
        font-size: 18px;
        font-weight: bold;
        color: gray;
    }

    .tablero-captura-importe .panel-body {
        border-radius: 10px;
    }

@media (max-width: 360px) {
    .tablero-captura-importe {
        width: 90% !important;
    }

    .half{
        width: 100% !important;
    }
}

.sidebar-menu > li:first-child .text {
    color: #777;
}

.sidebar-menu > li:first-child:hover .text {
    color: #3A3845;
    font-weight: bold;
}

.sidebar-menu ul li a {
    color: #3A3845;
}

.sidebar-menu ul li a:hover {
    color: white;
}

.sidebar-menu ul li.active a {
    color: #243D25;
    font-weight: bold;
}

.sidebar-menu li.submenu:hover > .no-login .text {
    color: white;
}

.btn-mensaje-modal {
    min-width: 50px;
}

#dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

#dialog-box {
    background: white;
    padding: 20px;
    border-radius: 5px;
    width: 50vw;
    height: 30vh;
}

.btn-add {
    border: none;
    background-color: transparent;
    color: green;
    line-height: 0.5;
}

.btn-add:hover {
    text-decoration: underline;
}