h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

h1 > .fa{
    margin-right: 10px;
}

h1 > .btn{
    margin-left: 10px;
}

.breadcrumb-item{
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-sidebar__user > img{
    width: 50px;
}

.headerRegister, .header-primary{
    background: #7829f8;
    color: #fff;
    border-radius: 2px 2px 0px 0px;
}

.close >span{
    color: #fff;
}

.headerUpdate{
    background: #adadad;
    color: #fff;
}

.textcenter{
    text-align: center;
}

.textright{
    text-align: right;
}

.textleft{
    text-align: left;
}

.bootstrap-select > .dropdown-toggle{
    border: 2px solid #ced4da;
}

.dt-buttons > button > span,
.text-center > button > i{
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-center{
    display: flex;
    align-items: center;
}

#divLoading{
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(254, 254, 255, .65);
    z-index: 999;
}

#divLoading img{
    width: 50px;
    height: 50px;
}

.required{
    color: red;
    font-size: 13pt;
    font-weight: bold;
}

/* Estilos Fotos Update */
.prevPhoto {
    display: flex;
    justify-content: space-between;
    width: 300px;
    height: 200px;
    border: 1px solid #CCC;
    position: relative;
    cursor: pointer;
    background: url(../images/uploads/portada_categoria.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    margin: auto;
}
.prevPhoto label{
	cursor: pointer;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
}

.prevPhoto img{
	width: 100%;
	height: 100%;
}
.upimg, .notBlock{
	display: none !important;
}
.errorArchivo{
	font-size: 16px;
	font-family: arial;
	color: #cc0000;
	text-align: center;
	font-weight: bold; 
	margin-top: 10px;
}
.delPhoto{
	color: #FFF;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	width: 25px;
	height: 25px;
	background: red;
	position: absolute;
	right: -10px;
	top: -10px;
	z-index: 10;
}
#tbl_list_productos img{
	width: 50px;
}
.imgProductoDelete{
	width: 175px;
}

#imgCategoria{
    text-align: center;
}

#imgCategoria img{
    width: 200px;
    margin: auto;
}

#containerImages{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

#containerImages > div{
    margin-right: 10px;
    margin-bottom: 8px;

}

.prevImage{
    border: 1px solid #ccc;
    width: 120px;
    height: 148px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.prevImage img{
    width: 100%;
}

.inputUploadFile{
    display: none;
}

.btnUploadFile, .btnDeleteImage{
    border: 0;
    background-color: #009688;
    text-align: center;
    padding: 2px 3px;
    color: #FFF;
    font-size: 9pt;
    cursor: pointer;
    width: 100%;
}

.btnDeleteImage{
    background-color: #dc3545;
}

.prevImage .loading{
    width: 30px;
    height: 30px;
}

#celFotos img{
    width: 150px;
    margin: 10px;
}

.divmetodpago label, #divCondiciones{
    width: 100%;
    display: flex;
}

.divmetodpago label input, #divCondiciones input{
    margin-right: 15px;
    display: flex;
}

#divCondiciones a{
    margin-left: 5px;
}

#divCondiciones label{
    margin-bottom: 0px;
}

.modal{
    z-index: 99999;
}

.linkw:hover{
    text-decoration: none;
}

.ui-datepicker{
    background-color: #fff;
    border: 1px solid #ccc;
}

.ui-datepicker-title{
    margin: 0px !important;
}

.ui-datepicker .ui-datepicker-buttonpane button{
    border: 0px;
    border-radius: 5px;
}

.container-title{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tile-title{
    display: flex;
    align-items: center;
    margin-bottom:unset !important;
}

/* .ui-datepicker-calendar{
    display: none;
} */

.form-control > .btn{
    padding: 0.375rem 0.75rem;
}

.card-title{
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.card-title-categoria,
.cardTitleCategoria{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
}

.contenedorCategoria{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 70px);
}

.contenedorCategoria > p{
    margin-top:initial;
    margin-bottom: initial;
}

.contenedorBtnCategoria{
    position: relative;
    width: 70px;
}

.cerrarInput, .reiniciarInput{
    display: flex;
    justify-content: center;
    align-items: center;
    color: #424242;
    padding-right: 10px;
}

.cerrarInput > i, .reiniciarInput > i{
    font-size: 18px !important;
    cursor: pointer;
}

.cerrarInput > i:hover{
    color: #cc0000;
}

.reiniciarInput > i:hover{
    color: var(--blue);
}

.contenedorCategoria > input{
    border: 1px solid #ccc;
    border-radius: .25rem;
}

.contenedorCategoria > input:focus,.contenedorCategoria > input:active{
    border: 1px solid var(--blue) !important;
    outline: none !important;
}

.inputCategoria,
.nameCategoria{
    display: flex;
    align-items: center;
    width: 100%;
}

.btnCategoriaDefault > button:not(:last-child){
    margin-right: 10px;
}

.btnCategoriaDefault,
.card-subCategoria-button,
.btnCategoriaEdicion{
    display: flex;
    flex-direction: row;
    justify-content:right;
}


.card-subCategoria > ul{
    list-style: none;
    padding-left: 0px;
}

.card-subCategoria > ul > li{
    margin: .25rem;
    padding: .25rem;
    border-radius: .25rem;
    border: 1px solid #ccc;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    align-items: center;
}

.card-title-categoria-button > button:not(:last-child),
.card-subCategoria-button > button:not(:last-child){
    margin-right: 0.25rem;
}

@media (min-width: 768px) {
    .container {
      max-width: 720px;
    }
  }


.card-subCategoria ul li > input,
.card-title > input{
    width: 100% !important;
    border: 1px solid #ccc;
    border-radius: .25rem;
}

.card-subCategoria ul li > input:focus,.card-subCategoria ul li > input:active,
.card-title > input:focus, .card-title > input:active{
    border: 1px solid var(--blue) !important;
    outline: none !important;
}

.btn, .dt-buttons, .tile-footer{
    display: flex;
    flex-direction: row;
    align-items: center;
    height: auto;
}

.text-center > button:not(:last-child),
.dt-buttons > button:not(:last-child){
    margin-right: 5px;
}

button > span{
    display: flex;
    justify-content: space-between;
}

button > i,
button > span > i{
    margin-left: 5px;
    padding-right: 5px;
}

.none{
    display: none;
}

.btnsInput{
    position: absolute;
    right: 0;
    width: 40px;
    height: 25px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.contentResulProducto,.contentResulProductoTitulo{
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.contentResulProducto{
    height: 200px;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
}

.divContProducto{
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    margin: 5px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
}

.contentResulProductoTitulo{
    font-weight: 600;
}

.contentResulProductoTitulo > .divContProducto{
    border: 1px solid transparent;
    border-bottom: 1px solid #ccc;
}

.contentResulProductoTitulo > .divContProducto > .divProducto{
    background-color: transparent;
}

.divProducto{
    display: flex;
    flex-direction: row;
}

.divProducto > div{
    padding-right: 10px;
}

.contCod{
    width: 200px;
}

.divProducto{
    width: calc(100% - 80px);
}

.divAccions{
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contProducto{
    display: flex;
    width: 40%;
}

.contUnidad{
    display: flex;
    justify-content: center;
    width: 10%;
}

.contCantidad{
    display: flex;
    justify-content: center;
    width: 20%;
}

.contPrecioU{
    display: flex;
    justify-content: center;
    width: 30%;
}

.contentResulProducto > .divContProducto > .divProducto >.contPrecioU{
    justify-content: right;
}

.resumenAPago{
    font-size: 18px;
}

.overflowY{
    width: 100%;
    max-height: 300px !important; 
    overflow-y: auto !important;
}

#tableCarrito > thead{
    width: 100%;
}


#tableCarrito > thead >tr > th{
    background-color: red;
}

#tableCarrito > tbody{
    max-height: 300px;
    overflow-y: auto;
}


/* #tableCarrito thead > tr{
    position: absolute;
    top: -20px;
}

#tableCarrito thead > tr > th:nth-child(1)::before,
#tableCarrito thead > tr > th:nth-child(2)::before,
#tableCarrito thead > tr > th:nth-child(3)::before,
#tableCarrito thead > tr > th:nth-child(4)::before,
#tableCarrito thead > tr > th:nth-child(5)::before,
#tableCarrito thead > tr > th:nth-child(5)::before,
#tableCarrito thead > tr > th:nth-child(6)::before,
#tableCarrito thead > tr > th:nth-child(7)::before{
    top: -20px;
    padding-right: 10px;
    font-weight: 700;
} 

#tableCarrito thead > tr > th:nth-child(1)::before {
    content: "Código de Barras";
} 

#tableCarrito thead > tr > th:nth-child(2)::before {
    content: "Producto";
} 

#tableCarrito thead > tr > th:nth-child(3)::before {
    content: "Unidad";
} 

#tableCarrito thead > tr > th:nth-child(4)::before {
    content: "Cantidad";
} 

#tableCarrito thead > tr > th:nth-child(5)::before {
    content: "Precio Unitario";
} 

#tableCarrito thead > tr > th:nth-child(6)::before {
    content: "Total";
} 

#tableCarrito thead > tr > th:nth-child(7)::before {
    content: "Acciones";
}  */

.tableCarrito{
    width: 100%;
}

.tableCarritoHead,
.tableCarritoTbody{
    width: 100%;
}

.tableCarritoHead{
    font-weight: 700;
    border-bottom: 1px solid #ccc;
}

.tableCarritoTr{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
}

.tableCarritoTh,
.tableCarritoTd {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
}

.tableCarritoTbody{
    height: 300px;
    overflow-y: auto;
}

.tableCarritoTbody > .tableCarritoTr{
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: .25rem;
}

.tableCarritoCodName{
    display: flex;
    align-items: center;
    width: 40%;
}

.tableCarritoCodName > .tableCarritoTd:nth-child(1),
.tableCarritoCodName > .tableCarritoTh:nth-child(1){
    width: 40%;
    display: flex;
    justify-content: left;
    word-break: break-all;
    padding-left: 10px;
    padding-right: 10px;
}

.tableCarritoCodName > .tableCarritoTd:nth-child(2),
.tableCarritoCodName > .tableCarritoTh:nth-child(2){
    flex-grow: 1;
    max-width: 70%;
    align-items: center;
    justify-content: left;
}

.tableCarritoTr > .tableCarritoTd:nth-child(2),
.tableCarritoTr > .tableCarritoTh:nth-child(2),
.tableCarritoTr > .tableCarritoTd:nth-child(3),
.tableCarritoTr > .tableCarritoTh:nth-child(3){
    width: 10%;
}

.tableCarritoTr > .tableCarritoTd:nth-child(4),
.tableCarritoTr > .tableCarritoTh:nth-child(4),
.tableCarritoTr > .tableCarritoTd:nth-child(5),
.tableCarritoTr > .tableCarritoTh:nth-child(5){
    width: 15%;
}

.tableCarritoTr > .tableCarritoTd:nth-child(5){
    justify-content: right;
}

.tableCarritoTr > .tableCarritoTd:nth-child(6),
.tableCarritoTr > .tableCarritoTh:nth-child(6){
    width: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.inputNumber input[type=number]::-webkit-inner-spin-button, 
.inputNumber input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

.inputNumber input[type=number] { -moz-appearance:textfield; }

.inputNumber > .inputCantidad{
    width: 80% !important;
    margin-left: 5px;
    margin-right: 5px;
}

.plus, .menus{
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px;
    width: 30px;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

.plus:hover, .menus:hover{
    background-color: #ccc;
}

.dflex{
    display: flex;
}

.modal-body table{
    width: 100%;
}

.tbl-hader tbody tr{
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

.tbl-hader tbody tr td span{
    display: flex;
    flex-direction: column;
}

.tbl-detalle thead tr{
    background-color: #CCC;
}

.center-text{
    text-align: center;
}

.left-text{
    text-align: left;
}

.right-text{
    text-align: right;
}

.tbl-detalle tfoot{
    border-top: 1px solid #ccc;
}

#MontoTotal{
    font-size: 2rem;
}