@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,900&display=swap');
/******************* animacion de sub menus ***************/
.nav ul li ul{
    display: none;
}

div .sidebar ul li:hover{
	padding-left:10px;
}

.nav li:hover >ul{
    display:inline-block;
}

.nav li ul li {
    position:relative;
}

.nav li ul li ul {
    right:-50px;
    top:10px;
}

.puntero {
    cursor: pointer;
}

/*********************** IMAGENES CREDITOS(PRODUCTOS) ***************************/
.seccion {
    margin: 2rem;
    margin-bottom: 2rem;
}

.contenedor {
    /*max-width: 48%;*/
    justify-content: space-between;
}

.fw-300 {
    font-weight: 300;
}

.d-block {
    display: block;
}
.centrar-texto {
    text-align: center;
}

.precio {
    color: #71B100;
    font-weight: 700;
}

h2 {
    font-size: 35px;
}

img {
    max-width: 100%;
    /*transform: scale(1.2);*/
}

.contenedor-imagenes {
    display: flex;
    justify-content: space-between;
}

.imagen {
    flex-shrink: 0;
    /*flex-basis: calc(35.1% - 1rem);*/
    /*border: 1px solid #b5b5b5;*/
    background-color: #f5f5f5;
    margin-bottom: 25px;
}
.imgmask{
    display: block;
    background: red;
    height: 150px;
    overflow: hidden;
    border-radius:25px 25px 0 0;  
}
.contenedor-imagen {
    padding: 2rem;
    border: 1px solid #d2d2d2;
    border-radius: 0 0 20px 20px;
}

.contenedor-imagen p {
    margin: 0;
}

.boton {
    color: #ffffff;
    font-weight: 300;
    text-decoration: none;
    font-size: 1rem;
    padding: .3rem .5rem;
    margin-top: 1rem;
    border-radius: 3px;
    text-align: center;
}

.boton-amarillo {
    background-color: #E08709;
}

/*********************** POPUP ***************************/
.overlay {
    background: rgba(0,0,0,0.3);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
}

.overlay.active {
    visibility: visible;
}

.popup {
    background: #f8f8f8;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
    border-radius: 3px;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    width: 400px;
}

.popup .btn-cerrar-popup {
    font-size: 16px;
    line-height: 16px;
    display: block;
    text-align: right;
    color: #bbbbbb;

}

.popup .btn-cerrar-popup:hover {
   color: #000000;
}

.popup h3 {
    font-size: 23px;
    font-weight: 600;
    color: #000000;
}

.popup form .contenedor-inputs input {
    width: 85%;
    margin-bottom: 20px;
    border: 1px solid #bbbbbb;
    border-radius: 3px;
    margin: auto;
}

.popup form .contenedor-inputs label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;

}

.popup form .btnpopup {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    padding: 0 10px;
    line-height: 35px;
    border: none;
    color: #ffffff;
    background: #537DE3;
    border-radius: 3px;
    cursor: pointer;
    transition: 3s case all;
    width: 30%;
    margin-bottom: 20px;
    margin: 5px auto;
}

.popup form .btnpopup:hover {
    background: rgba(94, 125, 227, .9);
}

/**** **/
.overlayRecib {
    background: rgba(0,0,0,0.3);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
}

.overlayRecib.active {
    visibility: visible;
}

.popupRecib {
    background: #f8f8f8;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
    border-radius: 3px;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    width: 95%;
    max-height: 90%;
    overflow-y: scroll;
}

.popupRecib .btn-cerrar-popup-lst {
    font-size: 19px;
    line-height: 16px;
    display: block;
    text-align: right;
    color: #bbbbbb;
    margin-right: 10px;
}

.popupRecib .btn-cerrar-popup-lst:hover {
    color: #000000;
}

.overlayCredit {
    background: rgba(0,0,0,0.3);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    
}

/**** **/
.overlayCredit.active {
    visibility: visible;
}

.popupCredit {
    background: #f8f8f8;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
    border-radius: 3px;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    width: auto;
    max-height: 90%;
    overflow-y: scroll;
}

.popupCredit .btn-cerrar-popup-cred {
    font-size: 19px;
    line-height: 16px;
    display: block;
    text-align: right;
    color: #bbbbbb;
    margin-right: 10px;
}

.popupCredit .btn-cerrar-popup-cred:hover {
    color: #000000;
}

/* VENTAS */

.overlayVenta {
    background: rgba(0,0,0,0.3);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    
}

.overlayVenta.active {
    visibility: visible;
}

.popupVenta {
    background: #f8f8f8;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
    border-radius: 3px;
    text-align: center;
    width: auto;
    max-height: 90%;
    overflow-y: scroll;
}


.popupVenta .btn-cerrar-popup-Venta {
    font-size: 19px;
    line-height: 16px;
    display: block;
    text-align: right;
    color: #bbbbbb;
    margin-right: 10px;
}

.popupVenta .btn-cerrar-popup-Venta:hover {
    color: #000000;
}

.popupVta {
    background: #f8f8f8;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    width: auto;
    max-height: 90%;
    overflow-y: scroll;
}

.popupVta .btn-cerrar-popup-Vta {
    font-size: 19px;
    line-height: 16px;
    display: block;
    text-align: right;
    color: #bbbbbb;
    margin-right: 10px;
}

.popupVta .btn-cerrar-popup-Vta:hover {
    color: #000000;
}

/**** **/
.overlayRecibo {
    background: rgba(0,0,0,0.3);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    
}

.overlayRecibo.active {
    visibility: visible;
}

.popupRecibo {
    background: #f8f8f8;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
    border-radius: 3px;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    width: auto;
    max-height: 90%;
    overflow-y: scroll;
}

.popupRecibo .btn-cerrar-popup-recibo {
    font-size: 19px;
    line-height: 16px;
    display: block;
    text-align: right;
    color: #bbbbbb;
    margin-right: 10px;
}

.popupRecibo .btn-cerrar-popup-recibo:hover {
    color: #000000;
}

/**** **/
.overlayMain {
    background: rgba(0,0,0,0.3);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
}

.overlayMain.active {
    visibility: visible;
}

.popupMain {
    background: #f8f8f8;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
    border-radius: 3px;
    text-align: center;
    width: 98%;
    max-height: 90%;
    overflow: scroll;
}

.popupMain .btn-cerrar-popup-main{
    font-size: 19px;
    line-height: 16px;
    display: block;
    text-align: right;
    color: #bbbbbb;
    margin-right: 10px;
}

.popupMain .btn-cerrar-popup-main:hover {
    color: #000000;
}

/**** **/
.overlayClient {
    background: rgba(0,0,0,0.3);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
}

.overlayClient.active {
    visibility: visible;
}

.popupClient {
    background: #f8f8f8;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
    border-radius: 3px;
    text-align: center;
    width: 98%;
    max-height: 90%;
    overflow: scroll;
}

.popupClient .btn-cerrar-popup-clie {
    font-size: 19px;
    line-height: 16px;
    display: block;
    text-align: right;
    color: #bbbbbb;
    margin-right: 10px;
}

.popupClient .btn-cerrar-popup-clie:hover {
    color: #000000;
}

/**** **/
.overlayCredito, .overlayEntreg {
    background: rgba(0,0,0,0.3);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
}

.overlayCredito.active, .overlayEntreg.active {
    visibility: visible;
}

.popupCredito, .popupEntreg {
    background: #f8f8f8;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
    border-radius: 3px;
    text-align: center;
    width: auto;
    max-height: 90%;
    overflow: scroll;
}

.popupCredito .btn-cerrar-popup-credito, .popupEntreg .btn-cerrar-popup-entrega { /*  */
    font-size: 19px;
    line-height: 16px;
    display: block;
    text-align: right;
    color: #bbbbbb;
    margin-right: 10px;
}

.popupCredito .btn-cerrar-popup-credito:hover, .popupEntrega .btn-cerrar-popup-entrega:hover { /*  */
    color: #000000;
}

/**** **/
.overlayCuenta {
    background: rgba(0,0,0,0.3);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
} 

.overlayCuenta.active {
    visibility: visible;
}

.popupCuenta {
    background: #f8f8f8;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
    border-radius: 3px;
    text-align: center;
    width: auto;
    max-height: 90%;
    overflow: scroll;
}

.popupCuenta .btn-cerrar-popup-esta {
    font-size: 19px;
    line-height: 16px;
    display: block;
    text-align: right;
    color: #bbbbbb;
    margin-right: 10px;
}

.popupCuenta .btn-cerrar-popup-esta:hover {
    color: #000000;
}

/**** **/
.overlayproducto {
    background: rgba(0,0,0,0.3);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden; 
}

.overlayproducto.active {
    visibility: visible;
}

.popuproducto {
    background: #f8f8f8;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
    border-radius: 3px;
    text-align: center;
    width: auto;
    max-height: 90%;
    overflow: scroll;
}

.popuproducto .btn-cerrar-popup-proes { 
    font-size: 19px;
    line-height: 16px;
    display: block;
    text-align: right;
    color: #bbbbbb;
    margin-right: 10px;
}

.popuproducto .btn-cerrar-popup-proes:hover {
    color: #000000;
}

/**** **/
.overlaypago {
    background: rgba(0,0,0,0.3);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center; 
    visibility: hidden; 
}

.overlaypago.active {
    visibility: visible;
}

.popupago {
    background: #f8f8f8;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
    border-radius: 3px;
    text-align: center;
    width: auto;
    max-height: 90%;
    overflow: scroll;
}

.popupago .btn-cerrar-popup-pag {
    font-size: 19px;
    line-height: 16px;
    display: block;
    text-align: right;
    color: #bbbbbb;
    margin-right: 10px;
}

.popupago .btn-cerrar-popup-pag:hover {
    color: #000000;
}
/**********/
/**** **/
.overlayProxfec {
    background: rgba(0,0,0,0.3);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center; 
    visibility: hidden; 
}

.overlayProxfec.active {
    visibility: visible;
}

.popupProxfec {
    background: #f8f8f8;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
    border-radius: 3px;
    text-align: center;
    width: auto;
    max-height: 90%;
    overflow: scroll;
}

.popupProxfec .btn-cerrar-popup-proxfec {
    font-size: 19px;
    line-height: 16px;
    display: block;
    text-align: right;
    color: #bbbbbb;
    margin-right: 10px;
}

.popupProxfec .btn-cerrar-popup-proxfec:hover {
    color: #000000;
}
/**********/

.overlay_imgp{
    background: rgba(0,0,0,0.3);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden; 
}

.overlay_imgp.active {
    visibility: visible;
}

.popup_imgp {
    background: #f8f8f8;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    text-align: center;
    width: auto;
    max-height: 90%;
    overflow-y: scroll;
}
/* Tamaño del scroll */
.popup_imgp::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

 /* Estilos barra (thumb) de scroll */
.popup_imgp::-webkit-scrollbar-thumb {
  background: #ffcc66;
  border-radius: 4px;
}

.popup_imgp::-webkit-scrollbar-thumb:active {
  background-color: #999999;
}

.popup_imgp::-webkit-scrollbar-thumb:hover {
  background: #b3b3b3;
  box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
}

 /* Estilos track de scroll */
.popup_imgp::-webkit-scrollbar-track {
  background: #e1e1e1;
  border-radius: 4px;
}

.popup_imgp::-webkit-scrollbar-track:hover, 
.popup_imgp::-webkit-scrollbar-track:active {
  background: #d4d4d4;
}
.popup_imgp .btn-cerrar-popup-img {
    font-size: 19px;
    line-height: 16px;
    display: block;
    text-align: right;
    color: #bbbbbb;
    margin-right: 10px;
}

.popup_imgp .btn-cerrar-popup-img:hover {
    color: #000000;
}

/**** **/
.overlayCredRecibo {
    background: rgba(0,0,0,0.3);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
}

.overlayCredRecibo.active {
    visibility: visible;
}

.popupRecibo {
    background: #f8f8f8;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
    border-radius: 3px;
    text-align: center;
    width: 98%;
    max-height: 90%;
    overflow: scroll;
}

.popupRecibo .btn-cerrar-popup-busc-cred {
    font-size: 19px;
    line-height: 16px;
    display: block;
    text-align: right;
    color: #bbbbbb;
    margin-right: 10px;
}

.popupRecibo .btn-cerrar-popup-busc-cred:hover {
    color: #000000;
}

/*  */
.overlayImgProd {
    background: rgba(0,0,0,0.3);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
}

.overlayImgProd.active {
    visibility: visible;
}

.popupImgProd {
    background: #f8f8f8;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
    border-radius: 3px;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    width: 50%;
    max-height: 100%;
    overflow: scroll;
}

.popupImgProd .btn-cerrar-popup-img-prod {
    font-size: 19px;
    line-height: 16px;
    display: block;
    text-align: right;
    color: #bbbbbb;
    margin-right: 10px;
}

.popupImgProd .btn-cerrar-popup-img-prod:hover {
    color: #000000;
}

/*********************** COLOR ***************************/

.colorAbierto {
    background-color: rgba(0, 255, 128, 0.411) !important;
}

.colorAnulado {
    background-color: red !important;
}

.colorPend {
    background-color: #ffcc66 !important;
}

.colorBasic {
    background-color: #ffffff !important;
}

/*********************** TOOLTIP ***************************/
.tooltipcel {
    position: relative;
    display: inline-block;
}

.tooltipcel .tooltextcel {
    visibility: hidden;
    width: 120px;
    background-color: #555555;
    color: #ffffff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltipcel .tooltextcel::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltipcel:hover .tooltextcel {
    visibility: visible;
    opacity: 1;
}

/******************* DATA TABLE - TD - SUBMENU **********************************/

td.details-control {
    background: url('https://www.datatables.net/examples/resources/details_open.png') no-repeat center center;
    cursor: pointer;
}

tr.shown td.details-control {
    background: url('https://www.datatables.net/examples/resources/details_close.png') no-repeat center center;
}

.btn-light {
    color: #495057 !important;
    background-color: #fff !important;
    background-clip: padding-box;
    border: 1px solid #ced4da !important;
    border-radius: .25rem;
}

.carousel-item img {
    height: 300px;
    object-fit: fill;
}

.close-icon {
    position: absolute;
    top: 2x;
    right: 2px;
    font-size: 12px;
    font-weight: bold;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 5px 9px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}
