/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/Other/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : 7 ago. 2023, 18:07:44
    Author     : Sergio
*/


/* BODY */
body {
    min-height: 100vh;
    background-color: #f6f6f6;
}



/* HOME */

/* BANNER */


#block-astecth-home-banner .col-md-4{

}

#block-astecth-home-banner span{
    border: 4px solid #fff;
    height: 80px;
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: #fff;
    background-color: #0000009e;
}

#block-astecth-home-banner #banner-left{
    height: 100px;
    background-image: url(/themes/custom/astecth/img/bannerleft.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}



#block-astecth-home-banner #banner-center{
    height: 100px;
    background-image: url(/themes/custom/astecth/img/bannercenter.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;

}

#block-astecth-home-banner #banner-right{
    height: 100px;
    background-image: url(/themes/custom/astecth/img/bannerright.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}





/* NOTICIAS */




.view-t-noticias .views-field-field-image{
    width: 300px;
    float: left;
    margin-right: 20px;
}

.view-t-noticias .views-field-field-image img{
    max-width: 100%;
    height: 200px;
}


.view-t-noticias .views-field-title{
    /*   float: left;    */
}

.view-t-noticias .views-field-title a{
    font-size: 22px;
    font-weight: bold;
    color: black;
    text-decoration: none;
}

.view-t-noticias .views-field-created{
    font-size: 14px;
}

.view-t-noticias .views-field-body{
    padding-top: 10px;
    color: #5c5c5c;
    text-align: justify;
}



/* vista pedido provedor recepcionar */
.view-id-p_linpedidosprov_recepcionar td.views-field-pedido-prov-cant{
    padding:0px;
    width: 80px;
}

.view-id-p_linpedidosprov_recepcionar td.views-field-pedido-prov-cant .campo-cantidad{
    border:none;
    background-color: #faebd7;
    margin: 3px 0px;
    text-align: right;
}

.view-id-p_linpedidosprov_recepcionar td.views-field-pedido-prov-cant .campo-cantidad.ccdisabled{
    background-color:#e5e5e5;
}

/* prueba slider */

#block-astecth-imagenportada{
    /*width: 100%;*/
    margin-left: -20px;
    margin-right: -200px;
    margin-bottom: 30px;
}
#block-astecth-imagenportada img{
    width: -webkit-fill-available;
}


/* Table */
.views-table th{
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    color: #fff;
    line-height: 1.4;
    text-transform: uppercase;
    background-color: #29396b;
}

.views-table th a{
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    color: #fff;
    line-height: 1.4;
    text-transform: uppercase;
    background-color: #333333;
    text-decoration: none;
}

.view th a{
    background: #163554;
    color: #fff;
    text-decoration: none;
}

.view th .tablesort{
    color: #fff;
    background: none;
}



.path-gestion  #block-astecth-content{
    min-height: 75vh;
}

/*.mm-page, .mm-wrapper_background body {
    background-color: rgba(255,255,255,.8);
}

body.path-gestion {
    background-image: url(/themes/custom/astecth/img/pattern.webp);
    background-repeat:repeat;    
}*/


.views-field-dropbutton{
    padding: 0px !important;
    padding-right: 5px !important;
}

.views-field-dropbutton .dropbutton-widget{
    height: 40px;

}

.views-field-dropbutton .dropbutton-widget li.dropbutton-action{
    padding: 0px;
}

.icono-medio{
    font-size: 25px;
    margin-right: 5px;
    padding: 0px;
    color: #29396b !important;
}

.icono-disable{
    color : #d3d3d3;
    pointer-events: none;
}


table a{
    text-decoration: none;
    color: #054bb3;
}

table td{
    vertical-align: middle;
}


/* Vista facturas */
#importes-view-footer,
#importes-view-footer2{
    border: 1px solid #ccc;
    background-color: #f2f2f2;
    padding: 2px 10px 10px 10px;
    width: fit-content;
    float: right;
}

#importes-view-footer legend 
#importes-view-footer2 legend {
    float: none;
    padding: 0px 5px;
    margin: 0px;
    letter-spacing: 0.5px;
    font-size: 14px;
    width: fit-content;
}

#importes-view-footer table,
#importes-view-footer2 table {
    border: 1px solid #ccc;
}

#importes-view-footer table th{
    font-weight: normal;
    font-size: 13px;
    text-align: center;
    width: 115px;
    letter-spacing: 0.5px;
    background-color: #29396b;
    color: #fff;    
}

#importes-view-footer2 table th{
    font-weight: normal;
    font-size: 13px;
    text-align: center;
    width: 115px;
    letter-spacing: 0.5px;
    background-color: #3c5401;
    color: #fff;    
}


#importes-view-footer table td,
#importes-view-footer2 table td{
    background-color: #ccc;
    text-align: right;
    border-left: 2px solid #f2f2f2;
    padding: 5px 10px;
    font-size: 13px;
    width: 115px;
}


.view-p-facturas #edit-actions--2{
    display: none;
}

.view-p-facturas table.table {
    --bs-table-striped-bg: transparent;
}

.view-p-facturas tr.fact-pendiente td{
    background-color: #f9d2ca;
}


/* END VISTA FACTURAS */

/* VISTA USUARIOS */
.view-a-usuarios .views-field-status{
    width: 81px;
}
.view-a-usuarios .views-field-field-foto{
    width: 60px;
}
    
.view-a-usuarios .image-user-view{
    width: 35px;
    height: 35px;
    background-color: #f6f6f6;
    border-radius: 50px;
}