@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

main {
    display: flex;
    flex-wrap: nowrap;
    height: 100vh;
    min-height: calc(100vh);
}

.form-group {
    margin-bottom: 1.375rem;
}

main > .sidebar {
    width: 280px;
    background-color: #f9fbfd;
    border-color: #e3ebf6;
    padding: 1em;
}

main > .content {
    width: 100%;
}

.navbar-brand {
    font-weight: 500;
}


.bd-links a:hover, .bd-links a:focus {
    color: #fff;
    background-color: #0d6efd;
}

.iframe-container {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(0 0 0 / 50%);
}

.iframe-content {
    width: calc(100% - 60px);
    height: calc(100% - 60px);
    background-color: white;
    border: solid 1px white;
    display: grid;
    grid-template-rows: auto 1fr;
}

.iframe-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #e3ebf6;
    border-top-left-radius: calc(.5rem - 1px);
    border-top-right-radius: calc(.5rem - 1px);
}

.iframe-body {
    width: 100%;
    height: 100%;
    background-color: #FFF;
}

.custom-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.nav-banner {
    z-index: 999;
    background-color: var(--bs-gray-200);
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 8px;
    font-size: .8rem;
    display: block;
    position: relative;
}

/*Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
    .nav-link-text {
        display: none;
    }
}


/* Você pode colocar isso no seu CSS global */
.load-bar-box {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 2000;
}

.load-bar {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #0d6efd, #66b2ff);
    animation: loadingBar 1.2s linear infinite;
}

@keyframes loadingBar {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}
