/********** Template CSS **********/
:root {
    --primary: #007481;
    --secondary: #eefbf5;
    --tertiary: aliceblue;
    --light: #e6e4e4;
    --dark: #181717;
}

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

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

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

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

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

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

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

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

.btn-tertiary {
    background-color: var(--tertiary) !important;
}

::-webkit-scrollbar {
    width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px var(--secondary);
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

body {  padding-top: 62.7px; }

#topBtn {
    display: none;
    position: fixed;
    bottom: 15px;
    right: 10px;
    z-index: 99;
    border: 2px solid #007481;
    outline: none;
    background: #d1e7dd;
    opacity: 0.7;
    color: #007481;
    cursor: pointer;
    padding: 0 10px;
    border-radius: 50%;
    font-size: 20px;
    padding: 7px 15px;
}

#topBtn:hover {
    opacity: 1;
}

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Prata&display=swap');

* {
    font-family: Outfit, sans-serif;
    /* font-size: 14px; */
}

.language {
    position: absolute;
    top: 215px;
    right: 15px;
}

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px dotted var(--warning);
}

.navbar-brand:hover {
    color: #ffea00 !important;
    background: transparent !important;
    transition: color 0.3s ease;
    cursor: pointer;
}

.navbar-toggler {
    background-color: #ffffff !important;
}

.navbar.scrolled {
    background-color: #01111ccf;
    transition: background-color 1s ease;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

.navbar {
    background-color: #007481c7;
    transition: background-color 1s ease;
}

.navbar a {
    color: #ffffff;
}

.navbar .navbar-brand {
    font-family: "Orbitron", sans-serif;
    font-size: 20px;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.nav-link {
    color: #ffffff !important;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    color: #000 !important;
    background-color: #ffc107cf !important;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.nav-link.active {
    color: #000 !important;
    background-color: #ffc107cf !important;
    border-radius: 5px;
}

.navbar .dropdown-menu a:hover {
    color: #3b3b37;
    background-color: #ffc107cf !important;
    transition: background-color 0.3s ease;
}

.navbar .dropdown-menu {
    border-color: transparent;
    border-radius: 0;
    background: transparent;
    /* background: linear-gradient(to bottom right, #00748181, #bde5fa91) */
}

.navbar .dropdown-menu a {
    background-color: #01111ccf;
    border-bottom: .5px solid #007481;
}

.navbar .dropdown-menu .dropdown-item.active {
    color: #ffff00 !important;
    background-color: var(--primary) !important;
}

.navbar .dropdown-menu .dropdown-item.active:hover {
    color: #000 !important;
    background-color: #ffc107cf !important;
    transition: background-color 0.3s ease;
}

/* Form Section */
.login-section, .forgot-password-section, .reset-password-section, .register-section, .add-resquest-section {
    /* margin-top: 4px; */
    background: linear-gradient(#0074819d, #bde5fa92), url('../images/backgrounds/auth-background.png') center/cover;
}

#hero-section {
    background: radial-gradient(circle, #bde5fa92, #0074819d), url('../images/backgrounds/auth-background.png');
    /* background: linear-gradient(#bde5fa92, #0272bb), url('../images/backgrounds/back-10.jpg') center/cover; */
    /* background: conic-gradient(from 0deg, red, yellow, green, blue, red); */
    /* background: radial-gradient(circle, #bde5fa, #0272bb); */
    background-repeat: no-repeat;
    background-size: cover;
}

#hero-section img { width: 400px; }

#auth-form,
#contact-form {
    background: radial-gradient(circle, #bde5fa92, #0074819d), url('../images/backgrounds/auth-background.png') center/cover;
    background-position: top;
    background-size: cover;
}

#logoBlock {
    background-color: #fff;
    animation: logo_block_anime 2s infinite;
}

@keyframes logo_block_anime {
    0% {
        background-color: beige;
    }

    50% {
        background-color: white;
    }

    100% {
        background-color: beige;
    }
}

/* .procedures {
    padding: 80px 50px;
} */

.accordion-button:not(.collapsed) {
    color: var(--primary);
    background-color: var(--secondary);
}

@media (max-width: 1280px) {
    #auth-form img {
        width: 275px;
    }
}

@media (min-width: 1200px) {
    #auth-form img {
        width: 200px;
    }
}

@media (max-width: 1199px) {
    #auth-form img {
        width: 200px;
    }
}

@media (max-width: 1024px) {
    .container {
        margin: 0 !important;
    }

    .navbar-brand #logo-anime {
        width: 100px;
    }

    #auth-form img {
        width: 255px;
    }
}

@media (max-width: 992px) {
    .nav-link {
        font-size: 12px;
    }

    .logo-app-footer {
        width: 150px;
    }

    #table {
        overflow-x: auto;
    }

    #home-2 {
        /* background: url('../images/diaka-2.jpeg'); */
        background-repeat: no-repeat;
        background-size: cover;
    }

    #home-2 img {
        width: 350px;
    }

    #home-2 .logo_branding {
        width: 100px;
    }

    #auth-form img {
        width: 200px;
    }

    #login {
        background: url('../images/backgrounds/auth-background.png');
        background-position: top left;
        background-size: cover;
    }

    /* .procedures {
        padding: 80px 15px;
    } */
}

@media screen and (max-width: 768px) {
    body { padding-top: 57px; }

    .navbar img  {width: 60px; }
    
    .navbar .navbar-brand img { width: 100px; }

    .navbar .navbar-nav {
        margin-top: 20px;
        width: 100%;
    }

    .navbar a {
        text-align: center;
        border: 1px solid #ffffff;
        border-radius: 5px;
        margin-bottom: 10px;
    }

    .navbar .dropdown-menu { width: 100%; }

    .navbar .dropdown-menu a {
        color: #ffffff;
        padding: 5px;
        margin: 5px 0;
        text-align: center;
        border: none;
    }
    
    .nav-link {
        font-size: 14px;        
    }

    .nav-item .btn {
        margin-bottom: 15px;
    }

    .navbar-collapse {
        background-color: #00000086;
        padding: 15px;
        border: 1px var(--secondary) solid;
        border-radius: 15px;
        margin-top: 15px;
    }
    
    .navbar-collapse .nav-link {
        background-color: var(--primary);
    }

    .profile.dropdown {
        width: 100%;
        text-align: center;
    }
    
    .profile .dropdown-menu {
        padding: 5px;
        background-color: #00000086;
    }

    .profile img {
        width: 24px;
    }

    .language { 
        position: inherit;
        flex-direction: row !important;
    }

    .language a { border: none; }

    .language img { width: 25px; }

    #hero-section { min-height: calc(100vh - 56.6px) !important; }

    #hero-section img { width: 250px; }
}

@media (max-width:400px) {
    #auth-form img {
        width: 235px;
    }
}