html { height: 100%; width: 100%; margin: 0; } 
body {
	/* height: 97.85%; */
	height: 100%;
	width: 100%;
	margin: 0;
	font-family: "Trebuchet MS", "Helvetica", "Arial",  "Verdana", "sans-serif";
	font-size: 80%;
}

nav #login-content {
  display: none;
  position: absolute;
  top: 50px;
  /* left: 5px; */
  right: 0;
  z-index: 999;
      
  background: #fff;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee));
  background-image: -webkit-linear-gradient(top, #3091be, #eee);
  background-image: -moz-linear-gradient(top, #3091be, #eee);
  background-image: -ms-linear-gradient(top, #3091be, #eee);
  background-image: -o-linear-gradient(top, #3091be, #eee);
  background-image: linear-gradient(top, #3091be, #eee); 
  padding: 15px;
  -moz-box-shadow: 0 2px 2px -1px rgba(0,0,0,.9);
  -webkit-box-shadow: 0 2px 2px -1px rgba(0,0,0,.9);
  box-shadow: 0 2px 2px -1px rgba(0,0,0,.9);
  -moz-border-radius: 3px 0 3px 3px;
  -webkit-border-radius: 3px 0 3px 3px;
  border-radius: 3px 0 3px 3px;
}
nav #login-menu {
  width: auto; /* width: 125px; */
  position: relative;
  align: right;
  right: 0;

  /* float: right; */
}

#menuBox {
  position: relative;
  left: 0;
  /* float: left; */
}

#contenido {
    height: 100%; 
    width: 100%;
}

.w100 {
    width: 100%;
    height: 100%;
    margin:0;
}

.h100 {
    height: 100%;
}

.h93 {
    height: 75%;
}

#tabs { margin-top: 1em; }
#tabs li .ui-icon-close { float: left; margin: 0.4em 0.2em 0 0; cursor: pointer; padding:0; }
#tabs li.home-tab-nav > a { padding-left: 1.15em; padding-right: 1.15em; font-weight: 700; }
#tabs li.home-tab-nav { cursor: default; }
#add_tab { cursor: pointer; }
.ui-tab-content, .ui-tabs-panel {overflow: auto; padding:0; }

.home-tab-panel { overflow: hidden !important; }
.home-tab {
    height: 100%;
    min-height: 100%;
    box-sizing: border-box;
    overflow: auto;
    padding: 42px 24px 28px;
    color: #17324d;
    background:
        radial-gradient(circle at 12% 8%, rgba(48,145,190,.23), transparent 34%),
        radial-gradient(circle at 88% 92%, rgba(16,185,129,.18), transparent 32%),
        linear-gradient(135deg, #eef8fc 0%, #f8fbfd 54%, #effaf6 100%);
}
.home-tab-card {
    width: 100%;
    max-width: 980px;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 42px 46px 28px;
    border: 1px solid rgba(31,111,148,.16);
    border-radius: 24px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 20px 55px rgba(18,63,88,.16);
}
.home-tab-brand { display: flex; align-items: center; gap: 22px; }
.home-tab-logo-wrap { display: flex; width: 150px; height: 112px; align-items: center; justify-content: center; flex: 0 0 150px; }
.home-tab-logo { display: block; width: 150px; height: 112px; object-fit: contain; }
.home-tab-brand-copy { display: flex; flex-direction: column; gap: 7px; }
.home-tab-kicker { color: #116f96; font-size: 13px; font-weight: 800; letter-spacing: .22em; }
.home-tab-brand-line { color: #587084; font-size: 16px; }
.home-tab-rule { height: 1px; margin: 24px 0 34px; background: linear-gradient(90deg, rgba(48,145,190,.35), rgba(48,145,190,0)); }
.home-tab-hero { text-align: center; }
.home-tab-eyebrow { color: #0f8a83; font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.home-tab-hero h1 { margin: 12px 0 8px; color: #123d5a; font-size: 42px; line-height: 1.08; font-weight: 800; letter-spacing: -.02em; }
.home-tab-hero p { max-width: 650px; margin: 0 auto 20px; color: #597184; font-size: 17px; line-height: 1.55; }
.home-tab-status { display: inline-flex; align-items: center; padding: 7px 15px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.home-tab-status.is-active { color: #08765e; background: #dcf8ee; }
.home-tab-status.is-welcome { color: #176a8e; background: #e4f4fb; }
.home-tab-info { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 34px; }
.home-tab-info-item { min-width: 0; padding: 16px 14px; border: 1px solid #e1edf2; border-radius: 14px; background: rgba(248,252,253,.9); }
.home-tab-info-item span { display: block; margin-bottom: 7px; color: #7790a0; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.home-tab-info-item strong { display: block; overflow: hidden; color: #244b63; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.home-tab-footer { display: flex; justify-content: space-between; gap: 14px; margin-top: 32px; padding-top: 18px; border-top: 1px solid #e7eff3; color: #8296a3; font-size: 12px; }

@media (max-width: 760px) {
    .home-tab { padding: 22px 12px 18px; }
    .home-tab-card { padding: 28px 20px 22px; border-radius: 18px; }
    .home-tab-brand { flex-direction: column; text-align: center; gap: 10px; }
    .home-tab-logo-wrap, .home-tab-logo { width: 125px; height: 94px; flex-basis: 94px; }
    .home-tab-brand-copy { align-items: center; }
    .home-tab-hero h1 { font-size: 34px; }
    .home-tab-hero p { font-size: 15px; }
    .home-tab-info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 420px) {
    .home-tab-info { grid-template-columns: 1fr; }
    .home-tab-footer { flex-direction: column; text-align: center; }
}

/*ª Text align right for fancyform number field */
.fancy-field-text-input-number>.fancy-field-text>.fancy-field-text-input {
    text-align: right !important;
}

.fancy-field-html {
    padding-top: 0px !important;
}

/* Correct Summary number field */
.fancy-grid-summary-row>.fancy-grid-cell {
    text-align: -moz-right !important;
    text-align: -webkit-right !important;
    padding-right: 15px !important;
}

.fancy-grid-summary-row>.fancy-grid-cell>.fancy-grid-cell-inner {
    width: min-content !important;
}

/* Responsive layout shared with the Durantas site. */
#panel-completo {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

@media (max-width: 480px) {
    #panel-completo {
        table-layout: fixed;
    }

    #panel-completo > tbody > tr:first-child > td,
    #panel-completo > tbody > tr:nth-child(2) > td {
        width: 100% !important;
        min-width: 0;
    }

    #panel-completo > tbody > tr:first-child > td > table {
        display: block;
        width: 100% !important;
        table-layout: fixed;
    }

    #panel-completo > tbody > tr:first-child > td > table > tbody > tr {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }

    #panel-completo > tbody > tr:first-child > td > table > tbody > tr > td {
        display: block;
        flex: 1 1 33.3333%;
        width: auto !important;
        max-width: 33.3333%;
        min-width: 0;
        box-sizing: border-box;
        padding: 0 1px;
    }

    #panel-completo .ui-widget-header,
    #panel-completo .ui-widget-content {
        max-width: 100%;
        box-sizing: border-box;
        overflow-wrap: anywhere;
    }

    #panel-completo > tbody > tr:nth-child(2) > td > table {
        display: table;
        width: 100% !important;
        max-width: 100%;
        table-layout: fixed;
    }

    #panel-completo > tbody > tr:nth-child(2) > td > table > tbody > tr > td {
        min-width: 0;
    }

    #panel-completo > tbody > tr:nth-child(2) > td > table > tbody > tr > td:first-child {
        width: auto !important;
    }

    #panel-completo > tbody > tr:nth-child(2) > td > table > tbody > tr > td:last-child {
        width: 74px !important;
    }

    #menuBox,
    #login-div,
    #login-menu,
    #login-trigger,
    #login-content,
    #loginform,
    #loginform fieldset,
    #inputs,
    #actions,
    #bt,
    #inputs input {
        max-width: 100%;
        box-sizing: border-box;
    }

    #login-trigger {
        white-space: normal;
        text-align: center;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    #login-content {
        width: calc(100vw - 16px);
        max-width: calc(100vw - 16px);
        padding: 10px;
    }

    #inputs input,
    #dataBox form,
    #dataBox select {
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
    }

    .ui-dialog {
        width: calc(100vw - 32px) !important;
        max-width: calc(100vw - 32px) !important;
        box-sizing: border-box;
    }

    .ui-dialog .ui-dialog-title {
        max-width: calc(100% - 36px);
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .ui-dialog .ui-dialog-buttonset {
        float: none;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 0.4em;
    }

    .ui-dialog .ui-dialog-buttonset > * {
        margin: 0;
    }
}

/* Keep jQuery UI dialogs centered and compact at every viewport size. */
.ui-dialog {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    transform: translate(-50%, -50%) !important;
    max-width: calc(100vw - 32px) !important;
    max-height: calc(100vh - 32px) !important;
}

.ui-dialog .ui-dialog-content {
    max-height: calc(100vh - 128px) !important;
    overflow: auto !important;
}

#dataBox.ui-dialog-content {
    min-height: 0 !important;
    height: auto !important;
    padding: 0.5em !important;
}

#dataBox form {
    margin: 0 !important;
}

#dataBox .selector {
    max-width: 100%;
}

.dataBox-dialog {
    width: 34vw !important;
    min-width: 280px !important;
    max-width: 500px !important;
    height: auto !important;
    min-height: 0 !important;
}

.dataBox-dialog .ui-dialog-content {
    height: auto !important;
    min-height: 0 !important;
}

@media (max-width: 480px) {
    .dataBox-dialog {
        width: calc(100vw - 32px) !important;
        min-width: 0 !important;
        max-width: calc(100vw - 32px) !important;
    }
}

.fancy-grid-summary-row>.fancy-grid-cell>.fancy-grid-cell-inner>div {
    float:left; width:auto !important;
}

/* Agrega un estilo de desplazamiento al contenedor de la forma */
.fancy-form-body {
    overflow-y: auto;
    /*max-height: 300px;*/ /* Ajusta la altura máxima según sea necesario */
    overflow-x: hidden;
    scrollbar-width: thin; /* Establece el ancho de la barra de desplazamiento en "delgada" en navegadores que admiten la propiedad scrollbar-width */
    scrollbar-color: lightgray transparent; /* Establece el color de la barra de desplazamiento (pista y mango) */
}

/* Para navegadores que no admiten la propiedad scrollbar-width */
.fancy-form-body::-webkit-scrollbar {
    width: 8px; /* Ajusta el ancho de la barra de desplazamiento en navegadores WebKit (Chrome, Safari, etc.) */
}

.fancy-form-body::-webkit-scrollbar-thumb {
    background-color: lightgray; /* Color del mango de la barra de desplazamiento */
}

/* Responsive FancyForm: the dialog follows its fields and never exceeds the viewport. */
.fancy-form-panel {
    box-sizing: border-box;
    max-width: calc(100vw - 32px) !important;
    max-height: calc(100vh - 32px) !important;
}

.fancy-form-panel .fancy-panel-body,
.fancy-form-panel .fancy-panel-body-inner,
.fancy-form-panel .fancy-form-body {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
}

.fancy-form-panel .fancy-form-body {
    overflow-x: hidden;
    overflow-y: auto;
}

/* Responsive application shell and tab workspace. */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    min-width: 0;
    overflow: hidden;
}

#panel-completo {
    table-layout: fixed;
    border-collapse: collapse;
    overflow: visible;
}

#panel-completo > tbody,
#panel-completo > tbody > tr,
#panel-completo > tbody > tr > td {
    min-width: 0;
    max-width: 100%;
}

#panel-completo > tbody > tr > td {
    width: 100% !important;
}

#panel-completo > tbody > tr:first-child > td > table,
#panel-completo > tbody > tr:nth-child(2) > td > table {
    width: 100% !important;
    max-width: 100%;
    table-layout: fixed;
}

#panel-completo > tbody > tr:first-child > td > table > tbody > tr > td {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

#panel-completo > tbody > tr:first-child > td > table > tbody > tr > td:nth-child(1) { width: 23% !important; }
#panel-completo > tbody > tr:first-child > td > table > tbody > tr > td:nth-child(2) { width: 23% !important; }
#panel-completo > tbody > tr:first-child > td > table > tbody > tr > td:nth-child(3) { width: 17% !important; }
#panel-completo > tbody > tr:first-child > td > table > tbody > tr > td:nth-child(4) { width: 17% !important; }
#panel-completo > tbody > tr:first-child > td > table > tbody > tr > td:nth-child(5) { width: 10% !important; }
#panel-completo > tbody > tr:first-child > td > table > tbody > tr > td:nth-child(6) { width: 10% !important; }

#panel-completo .ui-widget-header,
#panel-completo .ui-widget-content {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#panel-completo > tbody > tr:nth-child(2) > td > table > tbody > tr > td {
    min-width: 0;
    max-width: 100%;
}

#panel-completo > tbody > tr:nth-child(2) > td > table > tbody > tr > td:first-child {
    width: auto !important;
}

#panel-completo > tbody > tr:nth-child(2) > td > table > tbody > tr > td:last-child {
    width: 128px !important;
}

#menuBox {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    position: relative;
    z-index: 20;
    overflow: visible;
}

/* SmartMenus submenus must be able to extend beyond the menu row. */
#menuBox,
#menuBox.ui-widget-content,
#menuBox.ui-widget-header,
#menuBox .ui-widget-content,
#menuBox .ui-widget-header,
#menuBox ul,
#menuBox li,
#panel-completo > tbody > tr:nth-child(2) > td,
#panel-completo > tbody > tr:nth-child(2) > td > table,
#panel-completo > tbody > tr:nth-child(2) > td > table > tbody,
#panel-completo > tbody > tr:nth-child(2) > td > table > tbody > tr {
    overflow: visible;
}

#menuBox ul.sm ul {
    z-index: 1001;
}

#aaaa,
#tabs {
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
}

#aaaa {
    height: 100%;
    overflow: hidden;
}

#tabs {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0 !important;
}

#tabs > .ui-tabs-nav {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
}

#tabs > .ui-tabs-nav > li {
    flex: 0 0 auto;
}

#tabs > div[id^="tabs-"] {
    flex: 1 1 auto;
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    height: auto;
    overflow: auto;
}

#tabs > div[id^="tabs-"] > div,
#tabs > div[id^="tabs-"] [id^="main-"] {
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
}

#tabs > div[id^="tabs-"] [id^="main-"] {
    height: 100% !important;
    overflow: auto;
}

#tabs > div[id^="tabs-"] [id^="main-"] > div {
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    height: 100% !important;
    float: none !important;
}

.fancy-grid,
.fancy-grid-panel,
.fancy-grid-body {
    max-width: 100%;
}

.home-tab-session-note {
    max-width: 680px;
    margin: 14px auto 0;
    color: #6e8492;
    font-size: 13px;
    line-height: 1.5;
}

.home-tab-session-note.is-active { color: #08765e; }
.home-tab-session-note.is-welcome { color: #176a8e; }

.home-tab,
.home-tab-card,
.home-tab-brand,
.home-tab-brand-copy,
.home-tab-hero,
.home-tab-info,
.home-tab-info-item,
.home-tab-hero p,
.home-tab-session-note {
    min-width: 0;
    max-width: 100%;
}

.home-tab {
    overflow-x: hidden;
}

.home-tab-hero p,
.home-tab-session-note,
.home-tab-info-item p,
.home-tab-eyebrow,
.home-tab-kicker,
.home-tab-brand-line {
    display: block;
    width: 100%;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.home-tab-info-item {
    display: flex;
    min-height: 142px;
    flex-direction: column;
}

.home-tab-info-item p {
    margin: 8px 0 0;
    color: #6b8290;
    font-size: 13px;
    line-height: 1.45;
}

@media (max-width: 760px) {
    #panel-completo .ui-widget-header,
    #panel-completo .ui-widget-content {
        font-size: clamp(10px, 1.7vw, 14px);
    }

    #panel-completo > tbody > tr:nth-child(2) > td > table > tbody > tr > td:last-child {
        width: 104px !important;
    }

    .home-tab-info-item {
        min-height: 126px;
    }
}

@media (max-width: 480px) {
    #panel-completo > tbody > tr:first-child > td > table > tbody > tr > td {
        padding-left: 1px;
        padding-right: 1px;
    }

    #panel-completo > tbody > tr:nth-child(2) > td > table > tbody > tr > td:last-child {
        width: 84px !important;
    }

    .home-tab-info-item p {
        font-size: 12px;
    }
}

@media (max-width: 600px) {
    .home-tab-info {
        grid-template-columns: 1fr;
    }

    .home-tab-info-item {
        min-height: 0;
    }
}

  
  
