/*!
 * Start Bootstrap - SB Admin (http://startbootstrap.com/)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */

/* Global Styles */
html{
    height: 100%;
}

body {
    margin-top: 50px;
    height: 92%;
    background-color: #F3F3F3;
}

#wrapper {
    padding-left: 0;    
}

#page-wrapper {
    width: 100%;
    padding: 0;
    height: 100%;
}

.container-fluid{
    height: 100%;
}

#wrapper-pos{
    height: 100%;
    padding-left:50px;
}

@media(max-width:767px){
    #wrapper-pos{
      padding-left:0px;
  }
}

#page-wrapper-pos {
    width: 100%;
    padding: 0;
    padding-top:5px;
    height: 100%;
}

.huge {
    font-size: 50px;
    line-height: normal;
}

@media(min-width:768px) {
    #wrapper {
        padding-left: 225px;
    }

    #page-wrapper {
        padding: 10px;
    }
}

/* Top Navigation */

.top-nav {
    padding: 0 15px;
}

.top-nav>li {
    display: inline-block;
    float: left;
}

.top-nav>li>a {
    padding-top: 15px;
    padding-bottom: 15px;
    line-height: 20px;
    color: #999;
}

.top-nav>li>a:hover,
.top-nav>li>a:focus,
.top-nav>.open>a,
.top-nav>.open>a:hover,
.top-nav>.open>a:focus {
    color: #fff;
    background-color: #000;
}

.top-nav>.open>.dropdown-menu {
    float: left;
    position: absolute;
    margin-top: 0;
    border: 1px solid rgba(0,0,0,.15);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    background-color: #fff;
    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
}

.top-nav>.open>.dropdown-menu>li>a {
    white-space: normal;
}

ul.message-dropdown {
    padding: 0;
    max-height: 250px;
    overflow-x: hidden;
    overflow-y: auto;
}

li.message-preview {
    width: 275px;
    border-bottom: 1px solid rgba(0,0,0,.15);
}

li.message-preview>a {
    padding-top: 15px;
    padding-bottom: 15px;
}

li.message-footer {
    margin: 5px 0;
}

ul.alert-dropdown {
    width: 200px;
}

/* Side Navigation */

@media(min-width:768px) {
    .side-nav {
        position: fixed;
        top: 50px;
        left: 225px;
        width: 225px;
        margin-left: -225px;
        border: none;
        border-radius: 0;
        overflow-y: auto;
        background-color: #222;
        bottom: 0;
        overflow-x: hidden;
        padding-bottom: 40px;
    }

    .side-nav>li>a {
        width: 225px;
    }

    .side-nav li a:hover,
    .side-nav li a:focus {
        outline: none;
        background-color: #000 !important;
    }
}

.side-nav>li>ul {
    padding: 0;
}

/*second level*/
.side-nav>li>ul>li>a
{
    display: block;
    padding: 10px 15px 10px 38px;
    text-decoration: none;
    color: #999;
}

/*third level*/
.side-nav>li>ul>li>ul>li>a
{
    display: block;
    padding: 10px 15px 10px 18px;
    text-decoration: none;
    color: #999;
}

.side-nav>li>ul>li>a:hover,
.side-nav>li>ul>li>ul>li>a:hover{
    color: #fff;
}

/* Side-nav POS*/
@media(min-width:768px) {
    .side-nav-pos {
        position: fixed;
        top: 50px;
        left: 50px;
        width: 64px;
        margin-left: -50px;
        border: none;
        border-radius: 0;
        overflow-y: auto;
        background-color: #222;
        bottom: 0;
        overflow-x: hidden;
        padding-bottom: 40px;
    }

    .side-nav-pos>li>a {
        width: 64px;
    }

    .side-nav-pos li a:hover,
    .side-nav-pos li a:focus {
        outline: none;
        background-color: #000 !important;
    }
}
/*END Side-nav POS*/

/* Flot Chart Containers */

.flot-chart {
    display: block;
    height: 400px;
}

.flot-chart-content {
    width: 100%;
    height: 100%;
}

/* Custom Colored Panels */

.huge {
    font-size: 40px;
}

.panel-green {
    border-color: #5cb85c;
}

.panel-green > .panel-heading {
    border-color: #5cb85c;
    color: #fff;
    background-color: #5cb85c;
}

.panel-green > a {
    color: #5cb85c;
}

.panel-green > a:hover {
    color: #3d8b3d;
}

.panel-red {
    border-color: #d9534f;
}

.panel-red > .panel-heading {
    border-color: #d9534f;
    color: #fff;
    background-color: #d9534f;
}

.panel-red > a {
    color: #d9534f;
}

.panel-red > a:hover {
    color: #b52b27;
}

.panel-yellow {
    border-color: #f0ad4e;
}

.panel-yellow > .panel-heading {
    border-color: #f0ad4e;
    color: #fff;
    background-color: #f0ad4e;
}

.panel-yellow > a {
    color: #f0ad4e;
}

.panel-yellow > a:hover {
    color: #df8a13;
}

div.form-inline {
   margin-top: 5px;
   margin-bottom: 5px;
}

table .td-accion{
    width:100px;
}

.page-header {
    margin-top:10px;
}

h4 a{
    font-size: 12px;
    text-decoration: underline;
}

form label{
    text-align: left;
}

div.clear {
    clear: both;
}

a.btn i{
//    color:#fff;
}

/* Bootstrap modifications*/
.form-control{
    border-radius: 0px;
}

.form-control:focus{
    -webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
    box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 4px rgba(102,175,233,.6)
}

.input-group .select2-container--default._selectWith2Rows .select2-selection--single .select2-selection__arrow{
    height: 58px !important;
}

.input-group .select2-container--default._selectWith2Rows .select2-selection--single{
    height: 58px !important;
}

/* class for width input element form */

.w-90{width:90%}
.w-80{width:80%}
.w-70{width:70%}
.w-60{width:60%}
.w-50{width:50%}
.w-40{width:40%}
.w-30{width:30%}
.w-20{width:20%}

/* Sorteable tables */

.ui-sortable tr {
	cursor:pointer;
}
		
.ui-sortable tr:hover {
	background:rgba(244,251,17,0.45);
}

.table-hover tbody tr:hover td, .table-hover tbody tr:hover {
  background-color: #D9EDF7;
  border-color: #D9EDF7;
}

table.table-thead-customize thead{
    background-color: #0499BA;
    padding: 10px;
}

table.table-thead-customize thead th{
    padding: 15px;
    color: #f5f5f5;
    
}

table.table-tfoot-customize tfoot td{
    background-color: #F5F5F5;
    padding: 5px;
}

.box {
    border-right: 1px solid #dbdee0;
    border-left: 1px solid #dbdee0;
    margin-bottom: 15px;
    background-color: #fff;
}

.box .box-header {
    background: #f7f7f8 none repeat scroll 0 0;
    border-bottom: 1px solid #dbdee0;
    color: #34383c;
    font-size: 16px;
    height: 40px;
}

.box .box-header h3 {
    float: left;
    margin: 0 0 0 20px;
    padding: 5px
}

.box-header i{
    margin: 5px;
}

.box .box-header h3 i {
    border-right: 1px solid #dbdee0;
    display: inline-block;
    font-size: 16px;
    height: 40px;
    margin: -10px 20px -10px -20px;
    padding: 12px 0;
    text-align: center;
    width: 40px;
}

.box-icon{
    float: right;
}

.box .box-header .box-icon i.icon {
    border-left: 1px solid #ced1d4;
    display: inline-block;
    height: 40px;
    padding: 12px 0;
    text-align: center;
    text-decoration: none;
    width: 40px;
    margin:0px;
    cursor: pointer;
}
 
.box .box-content{
    padding: 20px;
}

.breadcrumb{
    //background-color: #0499BA;
    background-color: #fff;
    border-radius: 0px;
}

/* LIST REPORTS DEFAULT*/

div.list-reports .row {
  display: flex; /* equal height of the children */
  flex-wrap: wrap;
}

div.list-reports .col {
  //flex: 1 0 8.3333333%;
  border: 1px solid #ccc;
  text-align:center;
  padding:10px;
  margin:2px;
  width: 24%;
  height: 70px;
}

.parent {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

table.table-pos thead th{
    padding: 5px;
}

/* SLICK CATEGORIES*/

.slick-categoria{
    border-bottom: 1px solid #ccc;
    padding-bottom:5px;
}

.slick-categoria button.btn{
    height: 40px;
    border:1px solid #ccc;
    background-color: #545454;
    border-radius: 0px;
    color:#fff;

}

.slick-categoria button.btn:hover{
    background-color: #f7ba22;  
    color:#fff;
}

.slick-categoria button.slick-current{
    background-color: #f7ba22;  
    color:#fff;
}

.slick-prev::before, .slick-next::before {
    color: #ccc;
}

/* ISOTOPE */

.container-fluid.no-gutter {
	padding: 0px;
}
.container-fluid.no-gutter .row [class*='col-']:not(:first-child),
.container-fluid.no-gutter .row [class*='col-']:not(:last-child)
{
  padding-right: 0;
  padding-left: 0;
}

.row {
   margin-left:0;
   margin-right:0;
}

/* SE MODIFICA CUANDO SE UTILIZA IMG EN POS*/
.item { 
  border: 1px solid #ccc;
  /* height:180px; */
  height:148px;
}

.item-wrap p{
    font-size: 12px;
}

.item p.name{   
    text-align: center;
    line-height: 15px;
    font-size: 16px !important;
    word-wrap: break-word;       /* Internet Explorer 5.5+, Chrome, Firefox 3+ */
    overflow-wrap: break-word;   /* CSS3 standard: Chrome & Opera 2013+ */
}

.item p.precio{
    /* padding-top: 10px; */
    text-align: center;
    line-height: 20px;
    font-weight: bolder;
    font-size: 16px !important;
}
/* FIN*/

.item-image{
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-origin: content-box; 
    height:100px;
    padding:5px;
}

.item img{
    margin: auto;
    display:block;
}  
/* responsive media queries */

@media (max-width: 768px) {
 
}

div.avatar {
    /* cambia estos dos valores para definir el tamaño de tu círculo */
    height: 50px;
    width: 50px;
    /* los siguientes valores son independientes del tamaño del círculo */
    background-repeat: no-repeat;
    background-position: 50%;
    border-radius: 50%;
    background-size: 100% auto;
}

table#venta-table td{
    vertical-align: middle;
}

/* TABLE SCROLL */
table.table-scroll{
    width:100%;
}

table.table-scroll,
table.table.table-scroll thead,
table.table.table-scroll tfoot,
table.table-scroll tbody,
table.table-scroll tr,
table.table-scroll td,
table.table-scroll th { 
    display: block; 
}

table.table-scroll tr:after {
    content: ' ';
    display: block;
    visibility: hidden;
    clear: both;
}

table.table-scroll thead th {
    height: 30px;
}

table.table-scroll tbody {
    height: 90%;
    overflow-y: auto;
}  

@media only screen and (device-width: 768px) {
  /* For general iPad layouts */
    table.table-scroll tbody {
        height: 280px;
        overflow-y: auto;
    } 
    
    /* Set modal-pago */
    #modalPago .modal-pago,
    #modalPagoDetalle .modal-pago-detalles{
        /* new custom width */
        width: 80%;
    }
    
    /* Set modalArqueo */
    #modalArqueoCaja .modal-arqueo{
        /* new custom width */
        width: 70%;
    }
}

#cobros-table.table-scroll tbody {
    height: 250px;
    overflow-y: auto;
}

table.table-scroll tbody td,
table.table-scroll thead th {
    float: left;
}

.color-ccc{
    color: #ccc;
}

#wrapper-pos #page-wrapper .container-fluid .flashmessenger-pos{
      position: fixed;
      top: 100px;
      right: 20px;
      z-index: 9999;
}

.modal .modal-content .modal-header{
    height: 70px;
}

.modal .modal-content .modal-header h3{
    margin:0px;
    margin-top: 5px;
}

.kv-fileinput-caption .file-caption-name{
    height: 15px;
}

.box-link-report span{
    cursor: pointer;
}

.dropdown-menu span{
    float: left;
}

/*Original */
.form-group .select2-container {
  position: relative;
  z-index: 2;
  float: left;
  width: 100% !important;
  margin-bottom: 0;
  display: table;
  table-layout: fixed;
}

/*Agregue esta para que funcione en Special requisition cuando seleccino un producto con categoria y luego uno que no tiene */
.input-group .select2-container {
  position: relative;
  z-index: 2;
  float: left;
  width: 100% !important;;
  margin-bottom: 0;
  display: table;
  table-layout: fixed;
}

div.galleryForSpecialRequisition .thumbail{
    padding:8px;
    margin:5px;
    width:48%;
    border: 1px solid #ccc;
    text-align: center;
}

div.galleryForSpecialRequisition .thumbail  img{
    max-height: 100%;
    max-width: 100%;
    vertical-align: middle;
}

.font-size-10{
    font-size: 10px;
}

/*MOBILE*/
tbody.summary_sales tr td{
    padding:10px;
    padding-left: 0px;
}

tbody.summary_sales tr td span.content {
    border-left: 2px solid #286090;
    padding-left: 10px;
}

tbody.summary_sales tr td span.content-danger {
    border-left: 2px solid #e61919;
    padding-left: 10px;
}

/*REPORTS */
ul.data_summary_rpt{
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

ul.data_summary_rpt li span._number{
    float: right;
}

ul.data_summary_rpt li span._number h3{
    margin:0px;
    padding:0px
}

ul.data_summary_rpt li._border-primary{
    float: left;
    padding: 15px;
    border-left: 2px solid #286090;

}  

ul.data_summary_rpt li._border-danger{
    float: left;
    padding: 15px;
    border-left: 2px solid #e61919;

}  

/* BOTTOM MENU MOBILE */
.navbar_bottom {
  overflow: hidden;
  background-color: #333;  
  position: fixed;
  bottom: 0;
  width: 100%;
  margin-top: 30px;
}

.navbar_bottom a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.navbar_bottom a:hover {
  background-color: #ddd;
  color: black;
}

.navbar_bottom a.active {
  background-color: #4CAF50;
  color: white;
}

.navbar_bottom .icon {
  display: none;
}

@media screen and (max-width: 356px) {
  .navbar_bottom a:not(:first-child) {display: none;}
  .navbar_bottom a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 356px) {
  .navbar_bottom.responsive .icon {
    position: absolute;
    right: 0;
    bottom:0;
  }
  .navbar_bottom.responsive a {
    float: none;
    display: block;
    text-align: left;
  }

}
