@import url("https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap");

:root {
    --color-main: #005f95;
    --color-main-dark: #004e7a;
    --color-alt: #00a551;
    --color-alt-dark: #00803e;
    --color-1: #f0f0f0;
    --color-2: #dbdbdb;
    --text-main: #5a5a5a;
    --text-dark: #2c2c2c;
    --text-white: #fff;
    --bg-white: #fff;
}

*:focus {
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: "Ubuntu", sans-serif;
    color: var(--text-main);
}

.pt-large {
    padding-top: 7rem;
}

.text-dark {
    color: var(--text-dark) !important;
}

.text-primary {
    color: var(--color-main) !important;
}

.text-secondary {
    color: var(--color-alt) !important;
}

.fs-7 {
    font-size: 15px;
}

.no-line:hover {
    text-decoration: none;
}

.nav-item:not(:last-child) {
    margin: 0 1rem;
}

.nav-link {
    color: var(--bs-secondary);
    position: relative;
}

.nav-link::before {
    content: "";
    position: absolute;
    bottom: 3px;
    left: 0;
    width: 100%;
    height: 2px;
    transform: scale(0);
    transition: all 0.3s ease;
    transform-origin: 0;
    background-color: var(--color-main);
}

.nav-link:hover::before {
    transform: scale(1);
}

.banner {
    height: 24rem;
    overflow: hidden;
    background-color: var(--color-main);
}

.banner-info {
    color: var(--text-white);
}

.banner-info h1 {
    font-size: 3.8rem;
    line-height: 4.8rem;
}

.banner-info h3 {
    width: 80%;
    font-size: 1.6rem;
    line-height: 2.4rem;
    font-weight: 300;
}

.logo-box {
    background: var(--color-1);
    height: 15rem;
    border-radius: 4px;
    border: 1px solid var(--color-2);
}

.form-control:focus {
    outline: none;
    box-shadow: none;
    border-color: inherit;
}

.add-item {
    color: var(--color-alt);
}

.summary-box {
    background-color: var(--color-1);
    padding: 2rem;
    font-size: 14px;
    border: 1px solid var(--color-2);
}

.grand-total {
    padding: 1.3rem 2rem;
    font-size: 14px;
    color: var(--text-white);
    font-weight: 500;
    font-size: 16px;
    background-color: var(--color-main-dark);
}

.border-secondary:focus {
    border-color: var(--color-alt) !important;
}

.bg-primary {
    background: var(--color-main) !important;
}

.bg-secondary {
    background: var(--color-alt) !important;
}

.btn-primary,
.btn-primary:focus {
    border: 0 !important;
    background: var(--color-main) !important;
    box-shadow: none !important;
    outline: none !important;
}

.btn-primary:hover {
    background: var(--color-main-dark) !important;
}

.btn-secondary,
.btn-secondary:focus {
    border: 0 !important;
    background: var(--color-alt) !important;
    box-shadow: none !important;
    outline: none !important;
}

.btn-secondary:hover {
    background: var(--color-alt-dark) !important;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 20000;
}

.posts .breadcrumb-item a {
    color: var(--color-alt);
    text-decoration: none;
}

.posts h1 {
    color: var(--text-dark);
    font-size: 1.8rem;
    font-weight: 700;
}

.marquee-slide {
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateY(47%);
    }
    100% {
        transform: translateY(-100%);
    }
}

.marquee-box {
    overflow: hidden;
    height: 10rem;
    box-shadow: 0px -4x 4px rgba(255, 255, 255, 0.8);
}

.pagination .page-item .page-link {
    color: var(--text-main);
}

.pagination .page-item.active .page-link {
    color: var(--text-white);
    background: var(--color-main);
    border-color: var(--color-main);
}

/* ====================== HEADER ====================== */
.header {
    position: relative;
    width: 100%;
    height: 100vh;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.header .content {
    position: absolute;
    width: 100%;
    bottom: 0;
}

.header .menu {
    padding: 2rem 0;
    background-color: rgba(0, 0, 0, 0.6);
}

@media (max-width: 767.98px) {
    .header .navbar-nav {
        margin-top: 1rem;
    }
    .header .nav-item {
        background: rgba(0, 0, 0, 0.4);
    }
}

.top-nav {
    transition: all 0.4s ease;
}

.top-nav__menu {
    display: flex;
    z-index: 100;
}
@media (max-width: 991.98px) {
    .top-nav__menu {
        display: block;
        padding: 5rem 1rem 2rem 1rem;
        position: fixed;
        margin-right: 0;
        height: 100vh;
        background: var(--color-main-dark);
        right: 0;
        top: 0;
        width: 60vw;
        transform: translateX(100%);
        transition: all 0.4s ease;
    }
    .top-nav__menu.active {
        box-shadow: -4px 0 4px rgba(0, 0, 0, 0.1);
        overflow-y: scroll;
        transform: translateX(0);
    }

    .top-nav__menu.active::-webkit-scrollbar {
        width: 0;
    }
}
.top-nav__brand {
    font-size: 1.4rem;
    font-weight: 500;
    color: #fff !important;
    text-decoration: none;
    padding: 1rem 0;
}

.top-nav__brand img {
    height: 2rem;
    width: auto;
}

.top-nav__link {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
    color: #4b4b4b;
    font-weight: 400;
    padding: 0 1.2rem;
}

.top-nav__link:hover {
    color: #333;
}

@media (max-width: 991.98px) {
    .top-nav__link {
        align-items: center;
        padding: 1.2rem 1rem;
        justify-content: space-between;
        color: #fff;
    }
}
.top-nav__dropdown-link {
    font-size: 1rem;
    text-decoration: none;
    color: #000;
    padding: 0.8rem 0.7rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
@media (max-width: 991.98px) {
    .top-nav__dropdown-link {
        align-items: center;
        padding: 1.2rem 1rem;
        justify-content: space-between;
        color: #fff;
    }
}
@media (max-width: 991.98px) {
    .top-nav__item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}
.top-nav__item .top-nav__dropdown {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    width: 14rem;
    border-radius: 1px;
    transform: translateY(10px);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}
@media (max-width: 991.98px) {
    .top-nav__item .top-nav__dropdown {
        display: none;
        visibility: visible;
        opacity: 1;
        width: 100%;
        position: static;
        transform: none;
        background: rgba(0, 0, 0, 0.1);
        box-shadow: none;
        transition: none;
    }
}
.top-nav__item:hover > .top-nav__dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(-10px);
}
@media (max-width: 991.98px) {
    .top-nav__item:hover > .top-nav__dropdown {
        transform: none;
    }
}
.top-nav__dropdown-item {
    position: relative;
}
@media (max-width: 991.98px) {
    .top-nav__dropdown-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}
.top-nav__dropdown-item > .top-nav__dropdown {
    visibility: hidden;
    height: fit-content;
    opacity: 0;
    top: 0;
    bottom: 0;
    left: -100%;
    transform: translateX(-10px);
    transition: all 0.4s ease;
}
@media (max-width: 991.98px) {
    .top-nav__dropdown-item > .top-nav__dropdown {
        display: none;
        visibility: visible;
        height: fit-content;
        opacity: 1;
        left: 0;
        transform: translateX(0);
        background: rgba(0, 0, 0, 0.1);
        transition: none;
    }
}
.top-nav__dropdown-item:hover > .top-nav__dropdown-link {
    text-decoration: none;
    color: #fff;
    background: var(--color-main-dark);
}
@media (max-width: 991.98px) {
    .top-nav__dropdown-item:hover > .top-nav__dropdown-link {
        background: transparent;
    }
}
.top-nav__dropdown-item:hover > .top-nav__dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}
@media (max-width: 991.98px) {
    .top-nav__toggler {
        z-index: 10000;
    }
}
.top-nav__dropdown-toggler {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
}
@media (max-width: 991.98px) {
    .top-nav__dropdown-toggler {
        border: 1px solid rgba(255, 255, 255, 0.5);
        width: 24px;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 30px;
        border-radius: 50%;
    }
}
.top-nav__btn--login {
    background: #fff;
    color: var(--alt-color) !important;
}
.top-nav__btn--signup {
    background: var(--alt-color);
    color: #fff;
}
@media (max-width: 991.98px) {
    .top-nav__btn--login,
    .top-nav__btn--signup {
        display: inline-block;
        width: 100%;
        margin-bottom: 0.8rem;
        padding: 1rem 1rem;
    }
    .top-nav__btn--signup {
        background: var(--main-color);
    }
}

table,
th,
tr,
td {
    border: 1px solid #333;
    padding: 2px 6px;
}

.post-body table,
.post-body tr,
.post-body td,
.post-body th {
    border: 1px solid #000;
    border-collapse: collapse;
}
