/* BASIC STYLES */
@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";

/* base font: Poppins with sensible fallbacks */
body {
    background: white;
    font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 0.800rem;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* paragraphs inherit body font and use lighter weight */
p {
    font-family: inherit;
    font-weight: 340;
    color: rgb(36, 45, 45);
}


a, a:hover, a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

/* HEADER STYLES */
#top_bar {
    background: #0f749d;
    padding: 10px 5px;
}

#brand {
    margin: 0 auto;
    text-align: center;
    background-image: url(../images/arm.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    padding-bottom: 10px;
}

#r_slog {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FFFFFF;
    text-align: center;
    font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    text-shadow: 3px 3px 2px rgba(27, 27, 27, 0.93);
    line-height: 1.25rem;
}

#r_brand {
    font-size: 2rem;
    font-weight: bold;
    margin: 3px 0px 23px 0px;
    color: #FFFFFF;
    text-align: center;
    text-shadow: 3px 3px 2px rgba(27, 27, 27, 0.93);
}

/* NAVBAR STYLES */
.navbar {
    background: #fff;
    border: none;
    border-radius: 0;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    padding: 0;
}

.nav-link {
    padding: 1rem 1rem;
    border-top: 1px solid #FFFFFF;
    text-transform: uppercase;
    font-weight: bold;
}

.navbar ul li a:hover,
.navbar-light .navbar-nav a.nav-link:hover {
    background: #0f749d;
    color: white;
}

#zieNavbarSub .navbar-nav li.active > a {
    background-color: #0f749d;
    color: #fff;
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

/* SIDEBAR STYLES */
.wrapper {
    display: flex;
    align-items: stretch;
    perspective: 1500px;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: white;
    color: #000f;
    transition: all 0.6s cubic-bezier(0.945, 0.020, 0.270, 0.665);
    transform-origin: bottom left;
}

#sidebar.active {
    margin-left: -250px;
    transform: rotateY(100deg);
}

#sidebar ul li {
    background: #fafafa;
    margin-bottom: 4px;
    border-bottom: 2px solid gray;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
}

#sidebar ul li a:hover {
    background: gray;
}

#sidebar ul li.active > a, 
a[aria-expanded="true"] {
    color: #fff;
    background: #3bb2e6;
    border-bottom: 1px solid green;
}

/* CONTENT STYLES */
#middle-wrapper {
    min-height: 100vh;
    transition: all 0.3s;
    width: 100%;
}

#content {
    padding: 40px 0;
    background: white;
}

.card {
    border: 1px solid #e9eaeb;
    border-radius: 0px;
}

.card-header {
    background-color: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, .125);
    font-size: 1.6em;
}

/* FOOTER STYLES */
footer {
    min-height: 20px;
    background: white;
    border-top: 1px solid grey;
    text-align: center;
    padding: 15px;
    font-size: small;
}

footer a {
    color: blue;
}

/* UTILITY STYLES */
.bold {
    font-weight: bold;
}

.overflow-x-auto {
    overflow-x: auto;
}

/* RESPONSIVE STYLES */
@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
        transform: rotateY(90deg);
    }

    #sidebar.active {
        margin-left: 0;
        transform: none;
    }

    #brand {
        background-image: none;
    }

    #r_slog, #r_brand {
        font-size: 16px;
    }

    #r_brand {
        font-size: 32px;
    }

    .wrapper {
        overflow-x: hidden;
    }
}

@media (min-width: 1025px) and (max-width: 1280px) {
    #r_slog {
        font-size: 1.3rem;
    }
    #r_brand {
        font-size: 1.8rem;
    }
}

@media (max-width: 991px) {
    .navbar-nav .nav-link {
        padding-left: 15px;
        margin-top: 5px;
        background: #f8f9fa;
    }
}

/* Toggle Button Styles */
#sidebarCollapse {
    width: 40px;
    height: 40px;
    background: #0f749d;
    color: white;
    border: none;
    cursor: pointer;
    margin-right: 20px;
}

#sidebarCollapse:hover {
    background: #0d5e80;
}

#sidebarCollapse span {
    width: 80%;
    height: 2px;
    margin: 0 auto;
    display: block;
    background: white;
    transition: all 0.8s cubic-bezier(0.810, -0.330, 0.345, 1.375);
}

#sidebarCollapse span:first-of-type {
    transform: rotate(45deg) translate(2px, 2px);
}

#sidebarCollapse span:nth-of-type(2) {
    opacity: 0;
}

#sidebarCollapse span:last-of-type {
    transform: rotate(-45deg) translate(1px, -1px);
}

#sidebarCollapse.active span {
    transform: none;
    opacity: 1;
    margin: 5px auto;
}
/* Navbar toggle button styles */
.navbar-toggler {
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    content: "";
    background: no-repeat center center;
    background-size: 100% 100%;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Mobile menu styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #f8f9fa;
        padding: 15px;
        border-radius: 4px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    
    .navbar-nav .nav-item {
        margin-bottom: 5px;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 15px;
    }
}

