/* Estilos generales */

.app-sidebar__user-avatar {
    width: 48px;
    background: gray;
    padding: 6px;
}

.app-sidebar__toggle{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15pt;
}

.app-sidebar__toggle::before{
    display: none;
}

.headerRegister, .header-primary{
    background: #009688;
    color: #FFF;
}

.headerUpdate{
    background: #007bff;
    color: #FFF;
}

.textcenter{
    text-align: center;
}

.textright{
    text-align: right;
}

.textleft{
    text-align: left;
}

.bootstrap-select > .dropdown-toggle{
    border: 1px solid #CCC;
}

/*Estilos login*/

#divLoading{
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(254,254,255, .65);
    z-index: 9999;
    display: none;
}

#divLoading img{
    width: 50px;
    height: 50px;
}

.required{
    color: red;
    font-size: 13pt;
    font-weight: bold;
}

/* style portada categoría */

.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;
}

.prevPortada{
    width: 100%;
    min-width: 200px;
    background: none;
}

.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;
}

/* 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: #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;
   }