/* 
    Created on : 22/07/2016, 11:51:27 AM
    Author     : Alejo
*/


/*******************************
*** Personalizacion del tema ***
********************************/

@media screen {
    body {
        font-size: 14px;
        font-family: 'Muli', sans-serif;
    }
}

@media print {
    body .documento {
        font-family: 'Muli', sans-serif;
    }
    .oculto-impresion,
    .oculto-impresion * {
        display: none !important;
    }
}

#wrapper .navbar-default {
    font-family: 'Comfortaa', cursive;
}

#wrapper .navbar-default .nav>li.active {
    border-left: 4px solid #a5c23a;
}

.panel-primary {
    border-color: #a5c23a;
}

.panel-primary>.panel-heading {
    background-color: #a5c23a;
    border-color: #a5c23a;
}

.panel-info {
    border-color: #18afc1;
}

.panel-info>.panel-heading {
    background-color: #18afc1;
    border-color: #18afc1;
    color: #ffffff;
}

.ibox {
    box-shadow: 0 2px 1px rgba(0, 0, 0, 0.05);
}

.label-primary,
.btn-primary {
    color: #fff;
    background-color: #a5c23a;
    border-color: transparent;
}

.btn-primary[disabled],
.btn-primary[disabled]:hover,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    color: #fff;
    background-color: #91a938;
    border-color: transparent;
}

.label-info,
.product-price,
.btn-info:not(.btn-outline) {
    color: #fff;
    background-color: #18afc1;
    border-color: transparent;
}

.form-control:focus,
.single-line:focus {
    border-color: #91a938;
}

.modal-header {
    /* background-color: #1D2B36; */
    background: rgba(3, 171, 213, 1);
    background: -moz-linear-gradient(-45deg, rgba(3, 171, 213, 1) 0%, rgba(138, 190, 83, 1) 100%);
    background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(3, 171, 213, 1)), color-stop(100%, rgba(138, 190, 83, 1)));
    background: -webkit-linear-gradient(-45deg, rgba(3, 171, 213, 1) 0%, rgba(138, 190, 83, 1) 100%);
    background: -o-linear-gradient(-45deg, rgba(3, 171, 213, 1) 0%, rgba(138, 190, 83, 1) 100%);
    background: -ms-linear-gradient(-45deg, rgba(3, 171, 213, 1) 0%, rgba(138, 190, 83, 1) 100%);
    background: linear-gradient(135deg, rgba(138, 190, 83, 1) 0%, rgba(3, 171, 213, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#03abd5', endColorstr='#8abe53', GradientType=1);
    color: white;
}

.modal-body {
    background-color: white !important;
    /* background-color: #f8fafb */
}

.modal-footer {
    background-color: #1D2B36;
}

.modal-icon {
    font-size: 50px !important;
    color: white !important;
}

select.form-control {
    border-radius: 0px;
}

.sweet-alert button {
    border-radius: 3px;
}


/***********************************
*** END Personalizacion del tema ***
************************************/

#info-business,
.navbar .info-business {
    max-width: 400px;
}

#info-business>*,
.navbar .info-business>* {
    display: inline-block;
}

#info-business>div,
.navbar .info-business>div {
    padding: 5px 0;
}

#info-business h3,
#info-business h4,
.navbar .info-business h3,
.navbar .info-business h4 {
    margin: 0;
    padding: 4px 0;
}

#info-business .logo-company,
.navbar .info-business .logo-company {
    max-height: 60px;
    max-width: 200px;
    margin: 0 10px;
    float: left;
}

.navbar .info-business h3 {
    font-family: 'Comfortaa', cursive;
    text-transform: uppercase;
}

.panel-invoice-detail {
    position: fixed;
    top: 20px;
}

.select2-container--open {
    z-index: 9999;
}

.table-center th,
.table-center td {
    text-align: center;
}

.angular-ui-tree-handle {
    background: none repeat scroll 0 0 #f3f3f4;
    border: 1px dashed #e7eaec;
    color: inherit;
    padding: 10px;
    font-weight: normal;
}

.angular-ui-tree-handle:hover {
    font-weight: bold;
    cursor: pointer;
}

.angular-ui-tree-placeholder {
    background: #f0f9ff;
    border: 1px dashed #bed2db;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.group-title {
    background-color: #687074 !important;
    color: #FFF !important;
}

.tree-node {
    background: none repeat scroll 0 0 #f3f3f4;
    border: 1px dashed #e7eaec;
    color: inherit;
    padding: 10px;
    border-radius: 3px;
}

.tree-node .btn {
    min-width: 22px;
    margin-right: 4px;
}

.tree-node-content {
    margin: 5px 5px 5px 0;
}

.tree-handle {
    background: none repeat scroll 0 0 #f3f3f4;
    border: 1px dashed #e7eaec;
    color: inherit;
    padding: 10px;
}

.angular-ui-tree-placeholder {
    background: #f0f9ff;
    border: 1px dashed #bed2db;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.angular-ui-tree-node,
.angular-ui-tree-placeholder {
    min-height: 0;
}

.dz-upload-files .dz-preview {
    display: none !important;
}

.dropzone.dz-started .dz-message {
    display: block !important;
}

.dz-table-preview .dz-preview .dz-progress {
    opacity: 0 !important;
}

.table-center-vertical th,
.table-center-vertical td,
.dz-table-preview th,
.dz-table-preview td {
    vertical-align: middle !important;
    text-align: center;
}

.table-nomina-empleado td {
    vertical-align: middle !important;
}

.table-nomina-empleado tr {
    height: 60px;
}

div[date-picker-wrapper] {
    z-index: 250 !important;
}

.file-box .file .file-name strong {
    display: block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.fondo {
    background-image: url(../img/img_Login.jpg);
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-repeat: no-repeat;
    background-size: cover;
}

.app-bg {
    background-color: #F0F0F0;
    position: absolute;
    width: 100%;
    top: 0;
}

.loginscreen .middle-box {
    width: 360px;
}

.loginscreen .logo {
    margin: 0 auto;
    max-width: 520px;
    position: relative;
    left: 20px;
    margin-top: 40px;
}

.no-outline:focus {
    outline: 0px !important;
}

.io-inventario td p {
    margin: 0;
}


/**
** seccion utilizada para mostrar los atributos de cada producto en facturacion
***/

.wrapper-attrs-product {
    max-width: 100%;
}

.wrapper-attrs-product .label {
    display: inline-block;
}


/**
*** END seccion utilizada para mostrar los atributos de cada producto en facturacion
***/

.wrapper-table {
    overflow: auto;
}

.select2 .select2-selection--multiple,
.select2 .select2-selection--single {
    border-radius: 3px;
    background-color: white;
    border-color: #e5e6e7;
}

.select2-container--open .select2-dropdown,
.select2-container--open .select2-selection--multiple,
.select2-container--open .select2-selection--single {
    border-color: #a5c23a !important;
}

.select2-selection.select2-selection--multiple {
    min-height: 40px;
}

.select2-container--classic .select2-results__option--highlighted[aria-selected] {
    background-color: #a5c23a;
}

.select2-container--classic .select2-selection--multiple .select2-selection__choice {
    background: #f1f1f1;
    border: 1px solid #e5e6e7;
    border-radius: 2px;
    box-shadow: none;
    color: #333333;
    cursor: default;
    line-height: 13px;
    margin: 3px 0 3px 5px;
    padding: 3px 20px 3px 5px;
    position: relative;
}

.select2-container .select2-selection--multiple .select2-search__field {
    width: 80px !important;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
    padding: 3px 5px;
}

.ng-table-counts {
    display: none;
}

.content-invoice .logo {
    max-width: 140px !important;
    display: block;
}

.text-info-invoice>div:last-of-type {
    text-align: right;
}

#modal-registro-rapido .modal-body .btn {
    display: block;
    width: 200px;
    margin: 10px auto;
    text-align: left;
    font-weight: 700;
}


/******************************
**  Impresion de Documentos ***
/******************************/

.documento {
    padding: 40px;
    font-size: 14px;
}

.documento .logo-company {
    max-width: 150px;
    max-height: 135px;
    position: relative;
}

.documento .media {
    display: flex;
    align-items: flex-start;
}

.documento .media .media-body {
    flex: 1;
}

.documento .info-company-customer .media ul {
    margin-left: 20px;
}

.documento .info-company-customer>div:last-of-type {
    text-align: right;
}

.documento .info-company-customer h2 {
    font-weight: 500;
}

.documento .invoice-customer-details {
    margin-bottom: 10px;
}

.documento .invoice-customer-details>div:first-of-type p {
    text-align: left;
}

.documento .invoice-customer-details>div:last-of-type ul {
    line-height: 1.8;
}

.documento .invoice-customer-details>div:last-of-type p {
    text-align: right;
}

.documento .payment-methods table td {
    border: none;
}

.documento .totals table tr:first-of-type td {
    border-top: 1px solid #818a91;
}

.documento .lead {
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 15px;
}

.documento h6 {
    font-size: 16px;
    font-weight: 100;
}

.documento .invoice-footer {
    display: flex;
    flex-direction: row;
}

.documento .invoice-footer .terms {
    position: absolute;
    bottom: 0;
    text-align: justify;
}

.documento .invoice-footer>div:first-of-type {
    width: calc(100% - 300px);
    position: relative;
}

.documento .invoice-footer>div:last-of-type {
    width: 300px;
}

.text-pink {
    color: #E91E63 !important;
}

.bg-grey {
    background-color: #F5F5F5
}


/**********************************
**  END Impresion de Documentos ***
/**********************************/

@media screen {
    .hidden-screen {
        display: none !important;
    }
    .documento .info-company-customer .media ul {
        margin-left: 20px;
        line-height: 1.8;
        font-weight: 400;
        font-size: 14px;
    }
    .documento .info-company-customer .text-separator {
        height: 40px;
    }
}

@media print {
    /******************************
    **  Impresion de Documentos ***
    /******************************/
    .documento {
        padding: 0;
        max-width: 670px;
        width: 100%;
        margin: 0 auto;
        font-size: 12px;
    }
    .documento .info-company-customer .text-separator {
        height: 20px;
    }
    .documento .logo-company {
        max-width: 150px !important;
        max-height: 115px;
    }
    .documento p {
        margin: 0 0 5px;
    }
    .documento p .text-muted {
        font-weight: 600;
    }
    .documento .table>thead>tr>th,
    .documento .table>tbody>tr>th,
    .documento .table>tfoot>tr>th,
    .documento .table>thead>tr>td,
    .documento .table>tbody>tr>td,
    .documento .table>tfoot>tr>td {
        padding: 5px;
    }
    /*********************************
    ** END Impresion de Documentos ***
    /*********************************/
    #page-wrapper {
        padding: 0;
        min-height: auto !important;
    }
    html,
    body {
        height: inherit !important;
    }
    .ibox-content {
        border: none !important;
    }
    /*********************************
    ***** Impresion de FACTURAS ******
    /*********************************/
    .content-invoice {
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 40px;
        padding-top: 20px;
        border-bottom: thin dashed #969494;
    }
    .content-invoice .ibox-content {
        padding: 0;
    }
    .content-invoice,
    .content-invoice .ibox-content {
        margin: 0 auto;
    }
    .content-invoice b,
    .content-invoice strong {
        font-weight: 800;
    }
    .content-invoice address {
        margin-bottom: 10px;
        font-weight: 400;
    }
    .content-invoice h4 {
        margin: 0;
    }
    .content-invoice .invoice-table th,
    .content-invoice .invoice-table td {
        padding: 5px;
    }
    .content-invoice .invoice-total td {
        padding: 5px;
    }
    .content-invoice .m-t {
        margin-top: 5px;
    }
    .content-invoice .logo-pos {
        margin: 0 auto;
        max-height: 60px;
    }
    /*********************************
    *** END Impresion de FACTURAS ****
    /*********************************/
    .col-print-1,
    .col-print-2,
    .col-print-3,
    .col-print-4,
    .col-print-5,
    .col-print-6,
    .col-print-7,
    .col-print-8,
    .col-print-9,
    .col-print-10,
    .col-print-11,
    .col-print-12 {
        float: left;
    }
    .col-print-12 {
        width: 100%;
    }
    .col-print-11 {
        width: 91.66666667%;
    }
    .col-print-10 {
        width: 83.33333333%;
    }
    .col-print-9 {
        width: 75%;
    }
    .col-print-8 {
        width: 66.66666667%;
    }
    .col-print-7 {
        width: 58.33333333%;
    }
    .col-print-6 {
        width: 50%;
    }
    .col-print-5 {
        width: 41.66666667%;
    }
    .col-print-4 {
        width: 33.33333333%;
    }
    .col-print-3 {
        width: 25%;
    }
    .col-print-2 {
        width: 16.66666667%;
    }
    .col-print-1 {
        width: 8.33333333%;
    }
    #hubspot-messages-iframe-container {
        display: none !important;
        top: 0 !important;
        visibility: hidden !important;
        z-index: -1 !important;
    }
}


/* Small devices (tablets, 768px and up) */

@media (min-width: 768px) {
    .navbar-static-side {
        display: inline-block;
        height: 100%;
    }
    #side-menu,
    #wrapper {
        background-color: #1D2B36;
    }
}

@media (max-width: 768px) {
    .loginscreen .logo {
        margin: 0 auto;
        max-width: 186px!important;
        position: relative;
        left: 20px;
        margin-top: 40px;
    }
}

@media (min-width: 992px) {
    /* cambiamos las dimensinoes de la modal para cuando es laptop */
    .modal-lg {
        width: 1100px;
    }
}


/* Medium devices (desktops, 992px and up) */


/*@media (min-width: @screen-md-min) { ... }*/


/* Large devices (large desktops, 1200px and up) */


/*@media (min-width: @screen-lg-min) { ... }*/

#FacturacionElectronicaConfig {
    position: relative;
    z-index: 1001;
}

#FacturacionElectronicaConfig h5 {
    margin: auto 1em;
}

#iconos-categoria-pos{
    height: 300px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.icon-card{
    text-align: center;
    padding: 15px;
}

#icon-selected{
    height: 300px;
    line-height: 300px;
}


/*******************************
 *** MODAL SELECCION EMPRESA ***
/*******************************/