@font-face {
    font-family: 'Googlesans';
    src: url('../fonts/GoogleSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Googlesans';
    src: url('../fonts/GoogleSans-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Googlesans';
    src: url('../fonts/GoogleSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Googlesans';
    src: url('../fonts/GoogleSans-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

* {
    font-family: 'Googlesans', sans-serif;
}

html {
    /* font-size: 10px; */
    font-size: 0.75rem;
    line-height: 1;
}

.btn-menu {
    cursor: pointer;
}

.small {
    font-size: 0.9em;
}

.btn-gpe {
    color: #fff;
    background-color: #d3195d;
    border-color: #d3195d;
}

.btn.btn-gpe:hover {
    color: #d3195d;
    background-color: #fff;
    border-color: #d3195d;
}

.bg-gpe {
    background-color: #00935e;
}

.btn.btn-gpe:focus {
    box-shadow: 0 0 0 0.25rem #d3195d40;
}

.custom-card-bottom {
    width: 30%;
    height: auto;
    margin: auto;
}

.bg-dark-blue {
    background-color: #3b4257;
    -webkit-print-color-adjust: exact;
}

.offcanvas-start {
    border-right: none;
}

.bg-proaxis>* {
    color: black !important;
}

.bg-proaxis:hover {
    background-color: #e7e7e7;
}

.accordion-button:not(.collapsed) {
    background-color: #e7e7e7;
    color: black;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem #85858540;
}

.text-small {
    font-size: 10px;
}

.table-info tr th,
.table-info tr td {
    padding: 0 0 0.5rem 0;
    background-color: transparent;
}

.blur {
    box-shadow: inset 0 0 2000px rgb(255 255 255 / 80%);
    margin: 8px;
    padding: 8px;
    border-radius: 8px;
}

.alert-custom {
    z-index: 999;
    width: 450px;
}

.text-gpe,
.leaflet-control-attribution.leaflet-control a:nth-child(1) {
    color: #ed1f7a !important;
}

.rounded-input-group .input-group-text.title-input-group {
    border-radius: 0.25rem 0.25rem 0 0 !important;
    width: 100%;
    font-weight: bold;
}

.rounded-input-group .input-group-text.subtitle-input-group {
    width: 100%;
    font-weight: bold;
}

.rounded-input-group input,
.rounded-input-group select,
.rounded-input-group span.input-group-text:not(.title-input-group) {
    border-radius: 0 !important;
    border-top: 0 !important;
}

.rounded-input-group>div:last-child>input:first-child,
.rounded-input-group>div:last-child>select:first-child,
.rounded-input-group>div:last-child>span:first-child {
    border-end-start-radius: 0.25rem !important;
}

.rounded-input-group>div:last-child>input:last-child,
.rounded-input-group>div:last-child>select:last-child,
.rounded-input-group>div:last-child>span:last-child {
    border-end-end-radius: 0.25rem !important;
}

.table-rounded {
    font-size: .875rem;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
}

.table-rounded th {
    background-color: #e9ecef;
    font-weight: bold;
    padding: .25rem .5rem;
}

.table-rounded th,
.table-rounded td {
    padding: .25rem .5rem;
    border: 0.1px solid #dee2e6;
}

/* Aplicar estilos de esquina a las celdas de esquina superiores */
.table-rounded tr:first-child th:first-child {
    border-top-left-radius: 0.25rem;
}

.table-rounded tr:first-child th:last-child {
    border-top-right-radius: 0.25rem;
}

/* Aplicar estilos de esquina a las celdas de esquina inferiores */
/* Estos estilos se aplicarán cuando haya más de un td */
.table-rounded tr:last-child td:first-child {
    border-bottom-left-radius: 0.25rem;
}

.table-rounded tr:last-child td:last-child {
    border-bottom-right-radius: 0.25rem;
}

/* Anular estilos de esquina inferiores cuando haya solo un td en el tr */
.table-rounded tr:last-child td:first-child:last-child {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0.25rem;
}

.table-rounded td input,
.table-rounded th input,
.table-rounded td select {
    border: none;
    border-radius: 0;
}

.table-rounded .input-parent {
    padding: 0;
}

.step {
    display: flex;
    position: relative;
}

.step:after {
    content: "";
    position: absolute;
    left: 15px;
    top: 32px;
    height: 0;
    width: 2px;
    background-color: #007EA7;
}

.step .info {
    margin: 4px 0 20px;
}

.step .title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
    color: black;
}

.step .text {
    color: rgba(0, 0, 0, 0.7);
    padding-bottom: 0;
    margin: 0;
}

.step:not(:last-child):after {
    height: 75%;
}

.number {
    width: 32px;
    height: 32px;
    background-color: white;
    border-radius: 50%;
    border: 2px solid #007EA7;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    font-size: 15px;
    font-weight: 600;
    margin-right: 14px;
}

.number.completed {
    background-color: #007EA7;
    color: white;
}

.number svg {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.number svg path {
    fill: black;
}

.icon-edit,
.icon-delete {
    transition: all 0.2s ease;
}

.icon-edit:hover {
    transform: scale(1.1);
}

.icon-delete:hover {
    transform: scale(1.1);
    color: #dc3545;
}

.data-on-marker {
    height: auto !important;
    width: max-content;
    background-color: #fff7defa;
    color: #212529;
    display: block;
    left: 10px;
    font-size: 10px;
    border-radius: 1em;
    font-weight: bolder; 
    padding: 5px;
    position: relative;
}

.container-pin {
    border: 0;
    background-color: transparent;
}

.my-custom-pin {
    background-color: #566573; 
    color: #fff; 
    font-weight: 500; 
    font-size: 11px;
    border-radius: 8px; 
    padding: 4px; 
    width: fit-content;
}

@media screen and (max-width: 768px) {
    .custom-card-bottom {
        width: 100%;
    }

    .alert-custom {
        width: 300px;
    }
}

@media print {
    .leaflet-bottom.leaflet-right {
        display: none;
    }

    #map {
        width: 10cm !important;
        height: 10cm !important;
    }

    @page {
        size: "US letter";
    }
}