:root {
  --primary-color: #3460AA;
  --secondary-color: #dfdfdf;
}

@font-face {
    font-family: 'OpenSansRegular';
    src: local("Open Sans Regular"),
    local("OpenSans-Regular");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Axiforma';
    src: local("Axiforma Light"),
    local("AxiformaLight");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Axiforma';
    src: local("Axiforma Bold"),
    local("AxiformaBold");
    font-weight: 700;
    font-style: normal;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    display: flex;
    flex-direction: column;
    overflow-x: auto;
}

.home-section {
    background-color: #f9f9f9;
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.home-section,
.site-header {
    margin-left: var(--sidebar-width-collapsed-plus-1);
    transition: var(--transition-all-ease);
}

h1 {
    font-family: 'Axiforma', sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 2vw + 1rem, 3rem);
}

.form-control {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: clamp(.83rem, .46vw + .42rem, .56rem);
}

.subtitle {
    font-family: 'Axiforma', sans-serif;
    font-weight: 700;
    font-size: clamp(.22rem, .63vw + .53rem, .83rem);
}

.ft-axion-bold {
    font-family: 'Axiforma', sans-serif;
    font-weight: 700;
    font-size: clamp(.2rem, .6vw + .5rem, .8rem);
}

.ft-regular {
    font-family: 'Open Sans', Arial, sans-serif;
    font-weight: 300;
    font-size: clamp(.2rem, .45vw + .62rem, .77rem);
}

.col-form-label{
    text-align: right;
}

.ui-dialog .ui-dialog-title {
  text-align: center; !important;
  width: 100%;
}
.ui-dialog {
    border-radius: 15px; /* Adjust the value for desired roundness */
    overflow: visible; /* Recommended to prevent content from spilling outside rounded corners */
    padding: 0;
}

.ui-dialog .ui-dialog-content{
    padding: 0;
    background: #fcfcfc;
}

.dialog-content {
    overflow: auto; /* Enable scrolling for main content */
    height: calc(100% - 50px); /* Adjust height to accommodate footer */
}

/* Div para pie de un dialogo y centrar los botones y poner espacio entre ellos */
.dialog-footer {
    position: absolute;
    bottom: 10px;
    width: 100%;
    display: flex;
    justify-content:center;
    gap: 50px;
}

.ui-dialog-titlebar-close {
    border-radius: 50%; /* Makes it a perfect circle */
    background-color: #f0f0f0; /* Example background color */
    padding: 5px; /* Adjust padding as needed */
    /* Add other styles like color for the 'X' icon if necessary */
}

.accordion-item .accordion-header .accordion-button {
    background-color: #f7f7f7;
    color: #000;
}

.collapsing {
  transition: height 0.2s ease;
}

/* Estilos responsive para los diálogos */
@media (max-width: 575.98px) {
    .ui-dialog {
        z-index: 2000;
        width: 95% !important;
        left: 2.5% !important;
        top: 5% !important;
        transform: none !important;
        max-height: 90vh;
        overflow-y: auto;
    }
}

@media (max-width: 1399.98px) {
    .ui-dialog {
        z-index: 2000;
        transform: none !important;
        max-height: 90vh;
        overflow-y: auto;
    }
}

/* Para usar pestañas (botón clase nav) en un wizard (asistente para llenar datos) */
.nav-primary .nav-item .nav-link {
    margin-right:0px;
    padding: .4em .8em .4em .8em;
    border: 1px solid var(--secondary-color);
    border-radius: 0;
    background: #fff;
    color: #000;
}

.nav-primary .nav-item .nav-link.active {
    background: var(--primary-color);
    color: #fff;
}

/* wizard hasta aquí */


.ui-dialog .dlg-many-zipcodes {
    overflow: visible !important;
}


.dt-center{
    text-align: center;
}


.primary-tooltip {
  --bs-tooltip-bg: #3460AA;
  --bs-tooltip-color: #fff;
  --bs-tooltip-font-size: 0.875rem;
  --bs-tooltip-border-radius: 8px;
  --bs-tooltip-padding-x: 12px;
  --bs-tooltip-padding-y: 8px;
  --bs-tooltip-max-width: 300px;
}

/* Para crear alertas flotantes */
.alert-fixed {
    position: fixed;
    top: 0px;
    right: 0px;
    width: auto;
    z-index: 9999;
    border-radius: 15px
}
