/*#node-inventario-de-impresora-form .field-group-bootstrap_tabs-wrapper li.nav-item:nth-child(1) {
    display: none;
}
.js-hide-tabs {
  display: none !important;
}*/
#node-inventario-papeleria-edit-form {
  position: relative;
}

#node-inventario-papeleria-form {
  position: relative;
}

.node--type-inventario-de-papeleria ul.nav.nav-tabs {
  display: inline-flex;
  margin-top: 10px;
  width: 100%;
}

/*#node-inventario-papeleria-edit-form ul.nav.nav-tabs {
  display: inline-flex;
  margin-top: 10px;
  width: 100%;
}*/

.node--type-inventario-de-papeleria  .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active{
  background-color: #0f68b9 !important;
  color: white !important;
}

.node--type-inventario-de-papeleria .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link {
  background-color: #0f68b9 !important;
  color: white !important;
}


#node-inventario-papeleria-form .nav.nav-tabs {
  position: absolute;
  bottom: -88px;
}

#node-inventario-papeleria-edit-form #edit-submit {
  position: absolute;
  top: 0;
  right: 10rem;
}

#node-inventario-papeleria-form #edit-submit {
  position: absolute;
  top: 0;
  right: 10rem;
}

#node-inventario-papeleria-edit-form .btn.btn-primary {
  margin-top: 0px !important;
  border-bottom-width: 4px !important;
  width: 140px;
}

#node-inventario-papeleria-form .btn.btn-primary {
  margin-top: 0px !important;
  border-bottom-width: 4px !important;
  width: 140px;
}

.popupsalida.field-group-bootstrap_modal-wrapper .btn.btn-primary {
  position: absolute;
  right: 21rem;
  top: -48px;
}

#node-inventario-papeleria-edit-form .col-md-6.layout-region.layout-region-node-main {
  margin-top: 3rem;
}

#node-inventario-papeleria-form .col-md-6.layout-region.layout-region-node-main {
  margin-top: 3rem;
}

#node-inventario-papeleria-edit-form .nav.nav-tabs {
  display: inline-flex;
  padding-top: 16px;
  inline-size: inherit;
}

/*fin de codigo tabla papeleria*/

#edit-roles--wrapper::before {
  font-weight: bold;
}

.col-2.addpapeleria {
  margin-top: 2rem;
  margin-left: 0rem;
}

#node-inventario-papeleria-form .col-md-6.layout-region-node-secondary {
  display: none;
}

#node-inventario-papeleria-edit-form .col-md-6.layout-region-node-secondary {
  display: none;
}

#node-inventario-papeleria-form  .col-md-6.layout-region.layout-region-node-main {
  width: 100%;
}

#node-inventario-papeleria-edit-form .col-md-6.layout-region.layout-region-node-main {
  width: 100%;
}

#node-inventario-papeleria-form .required-fields.field-group-html-element.col-5 {
  float: left;
  margin-right: 3rem;
  width: 43%;
}

#node-inventario-papeleria-edit-form .required-fields.field-group-html-element.col-5 {
  float: left;
  margin-right: 3rem;
  width: 43%;
}

.node--type-inventario-papeleria .nav.primary.nav-pills {
  display: none;
}

.node--type-inventario-papeleria #block-rcsolutions-theme-breadcrumbpersonalizado {
  display: none;
}

#edit-group-dos-campos-en-uno {
  margin-bottom: -14px !important;
}

/* Deshabilitar todos los tabs por defecto */
.field--type-entity-reference.field--name-field-proveedor-name.field--widget-entity-reference-autocomplete.col.js-form-item.form-item {
  margin-bottom: -3px;
}

.field--type-datetime.field--name-field-fecha-de-compra.field--widget-datetime-default.col.js-form-item.form-item {
  margin-bottom: -3rem;
}

#edit-group-agrupar-ip-departamento {
  margin-top: -0.5rem;
}
/* En tu archivo CSS del tema */
/* En tu archivo CSS del tema */
/*input[name*="field_costo"] {
 // font-family: monospace;
 // letter-spacing: 1px;
  //text-align: right;
  //background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="24"><text x="0" y="18" font-family="Arial" font-size="16">.</text></svg>');
  //background-repeat: repeat-x;
  //background-position: right center;
}*/
/* Asegurar que el campo se vea como un número */
input[name*="field_costo"] {
  text-align: right;
  font-family: monospace;
  font-size: 1rem;
}

/* Para el prefijo monetario */
.input-group-prepend .input-group-text {
  font-weight: bold;
  background-color: #f8f9fa;
}
/* En tu archivo CSS del tema */
/* En tu archivo CSS del tema */
/*Marcado de campo*/

#edit-field-impresoras-asignadas-print-0-value {
    border: 1px solid red;
}

.form-item-field-impresoras-asignadas-print-0-value.mb-3:after {
    content: "( Obligatorio )";
    color: red;
    position: absolute;
    top: 0;
    right: 4rem;
}

/* reportes */

#block-rcsolutions-theme-reportesnuevos .align-items-center h4 {
    border-bottom: 2px solid;
    color: #001475;
    margin-bottom: 3rem;
}

.title-new-report {
    font-size: 27px !important;
    color: #001374;
}

.page-view-reportes-tickets.user-logged-in.path-reportes-tickets .title {
    margin-bottom: 3rem;
}

.view.view-usuarios-it-report.view-id-usuarios_it_report.view-display-id-page_2 #views-exposed-form-usuarios-it-report-page-2 {
    position: absolute;
    width: 46%;
    display: inline-block;
    margin-left: -1rem;
    margin-top: -0.4rem;
}


.view.view-reportes-tickets.view-id-reportes_tickets.view-display-id-page_1 #views-exposed-form-reportes-tickets-page-1 {
    position: absolute;
    width: 46%;
    display: inline-block;
    margin-left: -1rem;
    margin-top: -1.4rem;
}

#views-exposed-form-reportes-tickets-page-1 .js-form-item.js-form-type-select.form-type-select.js-form-item-field-empresa-target-id-verf.form-item-field-empresa-target-id-verf.mb-3 {
    height: fit-content;
    display: block;
    bottom: 0px;
    width: 30%;
}

#views-exposed-form-usuarios-it-report-page-2 form .form-actions {
    align-self: auto;
    margin-top: 25px;
    margin-right: 20px;
}

#views-exposed-form-reportes-tickets-page-1 form .form-actions {
    align-self: auto;
    margin-top: 25px;
    margin-right: 20px;
}

#views-exposed-form-usuarios-it-report-page-2 .fieldset-wrapper {
    display: flex;
    position: absolute;
}

#views-exposed-form-reportes-tickets-page-1 .fieldset-wrapper {
    display: flex;
    position: absolute;
}

.page-view-reportes-tickets.user-logged-in.path-reportes-tickets .view-header {
    margin-top: -35px;
    margin-bottom: 31px;
}

#views-exposed-form-usuarios-it-report-page-2 .fieldset-wrapper {
    display: flex;
    position: absolute;
}

#views-exposed-form-usuarios-it-report-page-1 .fieldset-wrapper {
    display: flex;
    position: absolute;
}

#views-exposed-form-usuarios-it-report-page-2 {
    width: 60%;
}

#views-exposed-form-usuarios-it-report-page-1 {
    width: 60%;
}

.layout-no-sidebars.page-view-usuarios-it-report.user-logged-in.path-usuarios-it-report-print .columns.columns-right.btn-group.float-right {
    position: absolute;
    z-index: 999;
    top: 14rem;
    right: 19rem;
}

.layout-no-sidebars.page-view-usuarios-it-report.user-logged-in.path-usuarios-it-report-print  .fixed-table-container {
    margin-top: 5rem;
}


.layout-no-sidebars.page-view-usuarios-it-report.user-logged-in.path-usuarios-it-report .columns.columns-right.btn-group.float-right {
    position: absolute;
    z-index: 999;
    top: 14.5rem;
    right: 19rem;
}


.view.view-usuarios-it-report.view-id-usuarios_it_report.view-display-id-page_1 .export.btn-group .dropdown-menu > .dropdown-item:not(:last-child) {
    display: none;
}

/* fin de reportes */

#edit-field-acta-table tbody {
  display: flex;
  flex-direction: column-reverse;
}

/* Opcional: Asegurar que el ancho de las celdas se mantenga */
#edit-field-acta-table tbody tr {
  display: table;
  width: 100%;
}

#edit-field-acta-table tbody td {
    min-width: 350px;
}


#edit-field-acta-table .draggable a.tabledrag-handle {
    display: none;
}

#node-inventario-de-impresora-edit-form small.comment__author {
    float: left;
    margin-right: 2rem;
    font-weight: bold;
}

#node-inventario-de-impresora-edit-form .comment__content:before {
    content: '';
    position: absolute;
    right: 100%;
    top: 3px;
    border-top: 20px solid transparent;
    border-right: 20px solid #d3d7d9;
    border-bottom: 20px solid transparent;
    color: white;
}

#node-inventario-de-impresora-edit-form .comment__content:after {
    content: '';
    position: absolute;
    right: 100%;
    top: 3px;
    border-top: 20px solid transparent;
    border-right: 20px solid #fff;
    border-bottom: 20px solid transparent;
    margin-right: -1px;
}

#node-inventario-de-impresora-edit-form .card-body {
    position: relative;
}

#node-inventario-de-impresora-edit-form .card-body.text-muted {
    position: absolute;
    right: 0px;
    top: -14px;
}


#node-inventario-de-impresora-form .nav-tabs .nav-link {
  pointer-events: none; /* Evita la interacción */
  opacity: -1.4; /* Indica que están deshabilitados */
  cursor: not-allowed; /* Cambia el cursor */
  outline: transparent;
}

/* Deshabilitar la clase 'active' inicial */
#node-inventario-de-impresora-form .nav-tabs .nav-link.active {
  opacity: 0.6;
  cursor: not-allowed;
  outline: transparent;
}

/* Habilitar y mostrar el último tab */
#node-inventario-de-impresora-form .nav-tabs .nav-item:first-child  .nav-link {
  pointer-events: auto; /* Permite la interacción */
  opacity: 1; /* Lo hace visible */
  cursor: pointer; /* Restaura el cursor normal */
  background-color: #001677;
  outline: transparent;
}

/* Mostrar el contenido del último tab */
#node-inventario-de-impresora-form .tab-content .tab-pane {
  display: none; /* Oculta todos los paneles por defecto */
}

#node-inventario-de-impresora-form .tab-content .tab-pane:first-child  {
  display: block; /* Muestra el último panel */
}

#node-inventario-de-impresora-form .nav-link.fg-bootstrap-tab {
    background-color: #ffffff94;
    color: white;
    border-color: transparent;
    outline: transparent;
}


.path-node.node--type-inventario-de-impresora .row.row-offcanvas.row-offcanvas-left.clearfix {
    position: relative;
}

.path-node.node--type-inventario-de-impresora .nav.primary.nav-pills {
    position: absolute;
    right: 18rem;
    top: 2rem;
    z-index: 300;
}

.path-node.node--type-inventario-de-impresora .nav.primary.nav-pills  .nav-pills .nav-link {
    color: white;
}


.path-node.node--type-inventario-de-impresora .nav-tabs .nav-link.active {
    background-color: #001677;
    color: white;
}

.path-node.node--type-inventario-de-impresora .nav-tabs .nav-link {
    background-color: #00167873;
}

.path-node.node--type-inventario-de-impresora #edit-actions {
    position: absolute;
    top: 25px;
    right: 8rem;
}


#edit-field-asignar-a-wrapper {
    width: 47%;
    float: left;
    margin-right: 2.2rem;
    margin-bottom: 0px !important;
}


#edit-field-nombre-wrapper {
    width: 46%;
    float: left;
    margin-bottom: 0px !important;
}

#edit-group-user-y-nombre {
    margin-bottom: -1rem !important;
}

#node-inventario-de-impresora-edit-form #edit-field-comentario-general-0-format-help {
    display: none;
}

@media (width <= 500px) {
    #block-rcsolutions-theme-headerpublico .navbar-brand {
        width: 100%;
        padding: 0rem 1rem;
    }
    
    #block-rcsolutions-theme-headerpublico .col-2.vacio {
        display: none;
    }

    #block-rcsolutions-theme-headerpublico .col-8.title-login h1 {
        padding-left: 5rem;
        font-size: 12px;
    }

    #block-rcsolutions-theme-headerpublico .col-8.title-login {
        width: 80%;
    }

    .layout-no-sidebars.page-user-login.path-frontpage .row.row-offcanvas.row-offcanvas-left.clearfix {
        width: 70%;
        padding-bottom: 196px;
    }

    aside.featured-top__inner.section.container.clearfix.container {
        width: 55% !important;
    }

    section.row.region.region-featured-top {
        display: none;
    }

    .navbar-brand {
        padding: 0rem 1rem;
        margin-left: 1rem;
    }

    #CollapsingNavbar {
        padding: 2rem;
        margin: 23px -45px 0px 25px;
    }
    
    section.row.region.region-search-top {
        display: inline-block;
    }

    .dashboard-ticket {
        font-size: 11px;
    }
    
    .form-type-entity-autocomplete.js-form-item-uid-0-target-id.form-item-uid-0-target-id.mb-3 {
        left: -0.5rem;
        top: -52rem;
    }

    .form-item-field-impresoras-asignadas-print-0-value.mb-3 {
        width: 100%;
        margin-left: 0rem;
        margin-top: -0.5rem;
    }

    .js-form-item.js-form-type-select.form-type-select.js-form-item-field-categoria.form-item-field-categoria.mb-3 {
        float: left;
        width: 100%;
        margin-top: -26px;
    }

    .form-type-entity-autocomplete.js-form-item-uid-0-target-id.form-item-uid-0-target-id.mb-3 {
        top: -46rem;
        position: initial;
    }
    
    .node--type-ticket-de-impresora .form-type-entity-autocomplete.js-form-item-uid-0-target-id.form-item-uid-0-target-id.mb-3 {
        top: -52rem;
        position: initial;
    }
    
    .node--type-ticket-de-soporte #edit-field-inc-wrapper {
        padding-top: 0px;
    }

    #edit-title-wrapper {
        margin-top: 0.5rem;
    }

    .field--type-list-string.field--name-field-estado-del-ticket.field--widget-options-select.col.js-form-item.form-item {
        margin-bottom: 0.5rem;
        margin-top: -1.5rem;
    }
    
    .js-form-item.js-form-type-entity-autocomplete.form-type-entity-autocomplete.js-form-item-field-asignar-usuario-it-0-target-id.form-item-field-asignar-usuario-it-0-target-id.mb-3 {
        width: 100%;
    }
    
    #edit-field-adjunto {
        display: none;
    }
    
    #edit-field-adjunto-print-wrapper {
        display: none;
    }

    #block-rcsolutions-theme-menudeadministracion ul.clearfix.nav {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    #block-rcsolutions-theme-views-block-total-de-tickets-block-1 {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    #block-rcsolutions-theme-views-block-total-consumibles-block-1 {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-end;
        margin-top: 1rem;
    }

    #block-rcsolutions-theme-search-form-wide {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    
    section.field.field--name-field-actualizaciones-print.field--type-comment.field--label-above.comment-wrapper {
        margin-top: 18rem;
    }

    .field.field--name-field-actualizaciones.field--type-comment.field--label-above.comment-wrapper .title {
    
        margin-top: 18rem;
    }

    .node--type-ticket-de-soporte #comment-form {
        top: -18rem !important;
    }

    form#comment-form {
        top: -8px !important;
        left: 0 !important;
        width: 100%;
    }
}

td{font-size: 12px;}
th{font-size: 12px;}

.form-check-input:checked[type=checkbox] {
    background-color: #e74c1a !important;
}

.path-reporte-consumibles-rq .columns-right.btn-group.float-right {
    top: -0.2rem;
    right: 14rem;
}

.path-reporte-consumibles-rq .fixed-table-toolbar {
    position: relative;
    width: 50%;
    float: right;
}

.path-reporte-consumibles-rq .export.btn-group .dropdown-menu > .dropdown-item:not(:last-child) {
    display: none;
}

.path-reporte-consumibles-toner .columns-right.btn-group.float-right {
    top: -0.2rem;
    right: 14rem;
}

.path-reporte-consumibles-toner .fixed-table-toolbar {
    position: relative;
    width: 50%;
    float: right;
}

.path-reporte-consumibles-toner .export.btn-group .dropdown-menu > .dropdown-item:not(:last-child) {
    display: none;
}

.view-reporte-consumibles-rq {
    position: relative;
}

.view-reporte-consumibles-rq .view-header {
    position: absolute;
    top: 0.5rem;
}

.path-node #edit-actions #edit-delete {
    display: none;
}

.view.view-inventario.view-id-inventario.view-display-id-block_1 .export.btn-group .dropdown-menu > .dropdown-item:not(:last-child) {
    display: none;
}

.layout__region.layout__region--first {
    font-size: 16px;
}

section.row.region.region-featured-top h2 button {
    font-size: small;
}

section.row.region.region-featured-top {
    width: 252px;
}

section.row.region.region-search-top {
    width: 106%;
    margin-left: -85px;
}

.view.view-reportes-tickets.view-id-reportes_tickets.view-display-id-page_1 {
    position: relative;
}

.view-id-reportes_tickets.view-display-id-page_1 .columns.columns-right.btn-group.float-right {
    top:  3.3rem;
    right: 14rem;
}


.view-id-reportes_tickets.view-display-id-page_1 .export.btn-group .dropdown-menu > .dropdown-item:not(:last-child) {
    display: none;
}

.role-usuarios-clientes.user-logged-in.path-node #group-consumible-tab {
    display: none;
}


#node-ticket-de-impresora-form #edit-title-wrapper {
    margin-top: -2rem;
}

#edit-group-dos-columnas-pequenas {
    width: 53%;
}

@media screen and (width <= 700px) {

}

@media (780px <= width <= 1100px){
    section.row.region.region-search-top {
        width: 100%;
        margin-left: 77px;
    }
}

@media (1105px <= width <= 1299px){
    section.row.region.region-search-top {
        width: 100%;
        margin-left: 30px;
    }
    
    .btn.btn-primary.left-btn {
        width: 19rem;
    }
    
    .btn.btn-primary.right-btn{
        width: 19rem;
    }
    
    #edit-field-adjunto-wrapper {
        right: -29rem;
    }
}


@media (1300px <= width <= 1399px){
    section.row.region.region-search-top {
        width: 112%;
        margin-left: 11px;
    }
}


@media (1400px <= width <= 1499px) {
    section.row.region.region-search-top {
        width: 100%;
        margin-left: -40px;
    }
    
    #navbar-main .container {
        margin-left: -8rem;
    }
    
    #block-rcsolutions-theme-views-block-inventario-block-1 .view.view-inventario.view-id-inventario.view-display-id-block_1 {
        width: 100%;
        margin-left: 30px;
    }
    
    #block-rcsolutions-theme-formulariosdeinventarios {
        margin-left: 2rem;
    }
}

@media (1500px <= width <= 1549px) {
    section.row.region.region-search-top {
        width: 100%;
        margin-left: -46px;
    }
}
@media (1550px <= width <= 1750px) {
    section.row.region.region-search-top {
        width: 115%;
        margin-left: -55px;
    }
}

@media (1751px <= width <= 1920px) {
    section.row.region.region-search-top {
        width: 107%;
        margin-left: -57px;
    }
}