/*portada inicial de login*/


/*barra superior de login*/
.barraSuperiorLogin{
    display:flex;
    align-items:center;
    gap:15px;
    padding:15px;
    /*background: linear-gradient(135deg, #1e3c72, #2a5298);*/
    /*background: linear-gradient(135deg, #0d1f3e, #1a355d);*/
    background: linear-gradient(135deg, #102a43, #1f4a73);
}

.logoLogin{
    width:55px;
    height:55px;
    border-radius:50%;
}

.textoLogin{
    display:flex;
    flex-direction:column;
}

.textoLogin h3{
    margin:0;
    color:#c99700;
    font-size:28px;
    font-weight:bold;
}

.textoLogin h4{
    margin:3px 0 0 0;
    color:#FFD54F;          /* Amarillo dorado que contrasta */
    font-size:14px;
    font-weight:600;
    letter-spacing:1px;
    text-shadow:1px 1px 2px rgba(0,0,0,.5);
}

.sloganLogin{
    margin-left:auto;      /* Lo manda al extremo derecho */
    margin-right:10px;
    /*color:#fff;*/
    color:#c99700;
    font-size:18px;
    font-style:italic;
    font-weight:400;
    opacity:.9;
}

@media (max-width: 600px){

  .barraSuperiorLogin{
    flex-direction: column;   /* baja el logo arriba del texto */
    text-align: center;
    gap: 8px;
    padding: 12px;
  }

  .logoLogin{
    width: 45px;
    height: 45px;
  }

  .textoLogin h3{
    font-size: 22px;
  }

  .textoLogin h4{
    font-size: 12px;
    letter-spacing: 0.5px;
  }

    .sloganLogin{
        margin:0;
        font-size:13px;
    }
}


/*barra inferiro*/
.barraInferiorLogin{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 20px;
    /*background: linear-gradient(135deg, #1e3c72, #2a5298);*/
    background: linear-gradient(135deg, #102a43, #1f4a73);
}

.textoLoginInferior{
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.textoLoginInferior h3{
    margin: 0;
    color: #fff;
    font-size: 22px;
}

.derechos{
    margin: 0;
    color: #d9e7ff;
    font-size: 14px;
}

/* ====== Responsive ====== */
@media (max-width: 768px){

    .barraInferirLogin{
        padding: 10px;
    }

    .textoLoginInferior{
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .textoLoginInferior h3{
        font-size: 20px;
    }

    .derechos{
        font-size: 13px;
    }
}


.material-half-bg {
  height: 100vh;
  background-color: #e7e7e7;
  position: fixed;
  top: 0;
  /*left: 0;*/
  right: 0;
  bottom: 0;
  z-index: -1;
}

.material-half-bg .cover {
  background-color: #000000;
  height: 50vh;
}





/* tamaño del avatar de usuario de dashboard*/
.app-sidebar__user-avatar{
    width: 50px;
    background: gray;
    padding: 6px;
}


/*color de barra de titulo de modal de nuevo rol verde y modal ver suarios*/
.headerRegister, .header-primary{
    background: #454545;
    color: #FFF;
    border-color: red;
}

/*color de barra de titulo de modal de actualizar rol azul*/
.headerUpdate{
    background: #007bff;
    color: #fff;
    border-color: red;
}


/*para los selectorews o combobox de categorias en agregar modal de agregar producto*/
.bootstrap-select > .dropdown-toggle{
    border: 1px solid #ccc;
}



/* #listCategoria{
    border: 1px solid #ccc;
}

 */

/*para ocultar dato de listStatus para no repetir un dato en la lista*/
/* .notBlock{
    display: none;
} */



/*nombre de pagina de login.php k31bazar*/
.logoX{
    margin-bottom: 10px;
    /*color: white;*/
    color: #1f4a73;
}

/*texto olvidaste tu contraseña*/
a{
  color: red;
  text-decoration: none;
  background-color: transparent;
}

#p{
    font-size: 18px;
}



/*para el icono de Loading*/
#divLoading{
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    /*background: blue;*/
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(254,254,255,.65);
    z-index: 9999;   /*para que sepociciones sobre todos los elementos*/
    display: none;
}

#divLoading img{
    /*width: 50px;*/
    /*height: 50px;*/
    width: 85%;
    height: 85%;
}


/*para el mensaje de acceso restringido*/
.alert-restringido{
    background:#fff5f5;
    color:#b42318;
    border-left:5px solid #d92d20;
    padding:15px 20px;
    border-radius:8px;
    font-family:Arial, sans-serif;
    font-size:14px;
    box-shadow:0 2px 6px rgba(0,0,0,0.08);
    margin:10px 0;

    width:100%;
    box-sizing:border-box;

    display:flex;
    justify-content:space-between;
    align-items:center;
}

.alert-texto p{
    margin:5px 0 0 0;
}

.alert-img{
    margin-left:auto;
    border-radius:50%;
    object-fit:cover;
    display:block;
}

@media (max-width:600px){

    .alert-restringido{
        font-size:13px;
        padding:12px 15px;
    }
}

/*baner de perfil de usuario*/
.user .profile .cover-image {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  /*background-image: url(http://placeimg.com/1200/300/nature);*/ /*1200 ancho x 300 de alto*/
  background-image: url('../images/baner/banner1.png');
  background-size: cover;
  background-position: center;
  min-height: 300px;
}



/* .cover-image{
    flex:1;
    min-height:250px;
    background-color: #7A7A7A;
    background-size:cover;
    background-position:center;

    display:flex;
    justify-content:center;
    align-items:center;
}

.cover-title{
    font-size:clamp(32px, 6vw, 70px);
    font-weight:bold;
    color:#fff;
    text-shadow:2px 2px 10px rgba(0,0,0,0.7);
    text-align:center;
    padding:10px;
}
 */




/*en el modalPerfil */
.required{
    color: red;
    font-size: 13pt;
    font-weight: bold;
}


/*colores de tabp de dtos personales y datos fiscales  y menu latera*/
.user .user-tabs .nav-link.active {
  border-left-color: #276FF5;
  border-bottom: 0;
}

.app-menu__item.active, .app-menu__item:hover, .app-menu__item:focus {
  background: #0d1214;
  border-left-color: #0CF6FA; /*#009688;*/
  text-decoration: none;
  color: #fff;
}


/*boton de cerarr de modales  es la 'x' que esta en la parte superior derecha de ls modales*/
.close {
  float: right;
  font-size: 1.3125rem;
  font-weight: 700;
  line-height: 1;
  color: #FFF;
  text-shadow: 0 1px 0 #FFF;
  opacity: .5;
}

.close:hover {
  color: #FF0000;
  text-decoration: none;
}


/*animacion de login*/
.animation{
    width: 100%;
    height: 20px;
}


/*para foto de portada de cartegorias*/
.prevPhoto {
    display: flex;
    justify-content: space-between;
    width: 300px;
    height: 200px;
    border: 1px solid #CCC;
    position: relative;
    cursor: pointer;
    background: url(../images/categorias/portada_categoria.jpg);
    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;*/
	top: 183px;
	z-index: 10;
}
#tbl_list_productos img{
	width: 50px;
}
.imgProductoDelete{
	width: 175px;
}

/*acomoda la imagen de categoria en el modla categorias*/
#imgCategoria{
    text-align: center;
}

#imgCategoria img{
    width: 200px;
    height: auto;
}



/*estilos para dar formato a la tabla de productos*/
.textcenter{
    text-align: center;
}


.textright{
    text-align: right;
}

.textleft{
    text-align: left;
}

/*botones y estilos para galeria de imagenes de nuevo producto en modalProducto.php  upload Fotos*/
#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: #248DD1;
    text-align: center;
    padding: 2px 3px;
    color: #FFF;
    font-size: 9pt;
    cursor: pointer;
    width: 100%;
}

.btnDeleteImage{
     background-color: #dc3545;
}

/* .prevImage, .loading{
    width: 100px;
    height: 100px;
} */

/*fotos en modal veista de productos modalProductos informacion*/
#celFotos img{
    width: 150px;
    margin: 10px;
}


/*botones de la apicacion*/
.btn-success {
  color: #FFF;
  background-color: #28a745;
  border-color: #28a745;
  border-radius: 25px;
}

.btn-success:hover {
  color: #FFF;
  background-color: #218838;
  border-color: #1e7e34;
}

.btn-secondary {
  color: #FFF;
  background-color: #6c757d;
  border-color: #6c757d;
   border-radius: 25px;
}

.btn-secondary:hover {
  color: #FFF;
  background-color: #5a6268;
  border-color: #545b62;
}

.btn-primary {
  border-radius: 25px;
  color: #FFF;
  background-color: #383838;
  border-color: #383838;
}


.btn-primary:hover {
  color: #FFF;
  background-color: #595959;
  border-color: #383838;
}



/*--para la parted e la tienda, metodos de pago------------------------------------------------------------------------------------*/
.divmetodpago label{
    width: 100%;
    display: flex;
}

.divmetodpago label input{
    margin-right: 15px;
}

#msgpaypal{
    color: blue;
}

#msgcontraentrega{
    color: red;
}

.methodpago{
    cursor: pointer;
}

.im:hover{
    cursor: pointer;
}

