
:root {
    --azul: #0d1d41;
    --cinza: #f8f8f8;
    --branco: #ffffff;
    --preto: #feb07c;
    --navbar-height: 65px;
}

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;700&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    background: var(--cinza) !important;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    color: var(--preto);
    padding-top: var(--navbar-height);
    overflow-x: hidden;
}

footer {
    background: var(--azul) !important;
    color: var(--branco) !important;
    padding: 1.5rem 1rem;
}

a {
    text-decoration: none;
    color: var(--preto);
}

footer a:link,
footer a:visited {
    color: var(--branco);
}

footer a:hover,
footer a:active {
    color: var(--cinza);
}

.lead {
    font-size: 1.1rem;
    font-weight: 300;
}

h1,
h2 {
    color: var(--azul);
    margin-top: 0;
}

footer h1,
footer h2,
footer h3 {
    color: var(--branco);
}

footer h1 {
    margin-bottom: .5rem;
}

.line-top {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
}

/* NAV */
.fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

.navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    min-height: var(--navbar-height);
}

.navbar-dark {
    background: var(--azul) !important;
}

.navbar-brand {
    padding-top: 0.3125rem;
    padding-bottom: 0.3125rem;
    margin-right: 1rem;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.navbar-toggler {
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    color: var(--branco);
    background-color: transparent;
    border: none;
    cursor: pointer;
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.navbar-nav {
    padding-left: 1rem;
    margin-bottom: 0;
    list-style: none;
}

.nav-link:link,
.nav-link:visited {
    color: var(--branco) !important;
}

.nav-link {
    display: block;
    padding: 0.75rem 0;
    text-decoration: none;
    transition: color .15s ease-in-out;
}

/* Cor do offcanvas no mobile */
.navbar .offcanvas {
    background-color: var(--azul);
}

/* Desktop: nav inline */
@media (min-width: 992px) {
    .navbar-toggler {
        display: none;
    }

    .navbar-nav {
        flex-direction: row;
        padding-left: 0;
        display: flex;
        margin-bottom: 0;
    }

    .nav-link {
        padding: 0.5rem 1rem;
        white-space: nowrap;
    }

    .navbar .offcanvas-body {
        padding: 0;
    }

    .input-group.mx-3.mt-3 {
        margin-top: 0 !important;
    }
}

/* STRUCTURE */
main {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.align-items-end {
    align-items: flex-end;
}

.margin-bottom {
    margin-bottom: 1.5rem;
}

.fs-3 {
    font-size: calc(1.2rem + .6vw) !important;
}

.fs-6 {
    font-size: 1rem !important;
}

.justify-content-center {
    justify-content: center !important;
}

/* FORMS */
.input-group {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
}

.input-group > .form-control {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
}

.input-group .btn {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--preto);
    background-color: var(--branco);
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.375rem 0 0 0.375rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

/* BUTTONS */
.btn-secondary {
    color: var(--branco);
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-secondary:hover,
.btn-secondary:active {
    background-color: #5c636a;
    border-color: #565e64;
}

.btn-primary {
    color: var(--branco);
    background-color: var(--azul);
    border-color: var(--azul);
}

.btn-primary:hover,
.btn-primary:active {
    background-color: var(--azul);
    border-color: var(--azul);
    opacity: 0.9;
}

/* TABLE */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0;
}

/* PAGINATION */
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding-left: 0;
    list-style: none;
    margin: 1rem 0;
}

.page-item {
    display: flex;
}

.page-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    min-height: 2.75rem;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    color: var(--azul);
    text-decoration: none;
    background-color: var(--branco);
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}

.page-link:hover {
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.active > .page-link,
.page-link.active {
    z-index: 3;
    color: var(--branco);
    background-color: var(--azul);
    border-color: var(--azul);
}
