/*
 * unsw-groundwater - style.css
 * Description:
 * Author:           Jennifer Tam
 * Created:          12 Sept 2023
 * Updated:          12 Sept 2023 (jennifertam)
 * Source:           https://github.com/IntersectAustralia/unsw-groundwater
 * License:          Copyright (c) 2023 Intersect Australia - All Rights Reserved
 *                   Unauthorized copying of this file, via any medium is
 *                   strictly prohibited. Proprietary and confidential
 */


* {
    margin: 0;
    padding: 0;
}

.navbar-brand {
    padding: 0;
}

.navbar-brand > img {
    height: 60px;
    width: auto;
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar-toggler {
    float: right !important;
}

.navbar:after {
    content: "";
    position: absolute;
    /*position: fixed;*/
    bottom: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 3px;
    background: linear-gradient(180deg, #000000 25%, #FFFFFF);
}

.nav-link {
    color: #000000;
}

.nav-link:hover {
    filter: opacity(50%);
    background-color: dodgerblue;
}

div#navbarCollapse li {
    border: 0px;
    white-space: nowrap;
}

.active {
    border-bottom: 2px solid #FFDC00;
    font-weight: bold;
    color: dodgerblue;
    text-decoration: underline;
}

a {
    color: #000000;
    text-decoration: none;
    background-color: transparent;
}

body {
    font-family: 'Roboto', sans-serif;
    padding-top: 3rem;
    padding-bottom: 2rem;
    color: #000000;
}

.form-inline {
    display: inline-block;
    float: right;
}


h1, h2, h3, h4, h5, h6, .text-heading {
    font-family: 'Roboto', sans-serif;
    color: #000000;
    font-weight: bold;
}

.downloadform {

    /*margin-top: 5em;*/
    margin-bottom: 2em;

}

.uploadform {

    /*margin-top: 1em;*/
    margin-bottom: 2em;

}

div#downloadButtons {
    background-color: white;
    width: max-content;
}

p#previousUpldNote > a {
    color: blue;
    background-color: transparent;
}

.warningMessage {

    margin-bottom: 0em;
    font-size: 0.85rem;

}

#previousUpldNote {
    margin-left: 1.8em;
}

.hd-separator {
    border-right: 3px solid #FFDC00;
    margin-right: 0.5em;
    margin-left: 0.5em;
}


.loginInfo {
    text-align: right;
}

button.logout, button.login {
    line-height: 1.5em;
    padding: 0.375em 0.75em;
    font-size: 1em;
    text-transform: none;
    margin-right: 0.5em;
}

.hd-user-name {
    margin-right: 1em;
    color: #000000;
    vertical-align: middle;
    height: 100%;
    display: initial;
}

.btn-dark {
    background-color: #212529;
    color: #FFFFFF;
}

.btn-dark:hover {
    border-color: #212529;
    color: #212529;
    background-color: #FFFFFF;
}

button#edit-site-notes {
    background-color: #800080;
    border-color: #800080;
    color: #FFFFFF;
}

button#edit-site-notes:hover {
    background-color: #FFFFFF;
    border-color: #800080;
    color: #800080;
}

button#edit-site-timezone {
    background-color: #F15BA6;
    border-color: #F15BA6;
    color: #FFFFFF;
}

button#edit-site-timezone:hover {
    border-color: #F15BA6;
    color: #F15BA6;
    background-color: #FFFFFF;
}

.btn-primary {
    background-color: #0d6efd;
    color: #FFFFFF;
    border-color: #0d6efd;
}

.btn-primary:hover {
    border-color: #0d6efd;
    color: #0d6efd;
    background-color: #FFFFFF;
}

.btn-warning {
    background-color: #ffc107;
    color: #000000;
    border-color: #ffc107;
}

.btn-warning:hover {
    border-color: #ffc107;
    color: #ffc107;
    background-color: #FFFFFF;
}

table#user_table {
    min-width: 40em;
}

.btn-save {
    background-color: #009900;
    color: #FFFFFF;
    margin-right: 0.5rem;
}

.btn-save:hover {
    border-color: #009900;
    color: #009900;
    background-color: #FFFFFF;
}

.btn-cancel {
    background-color: #666666;
    color: #FFFFFF;
    margin-left: 0.5rem;
}

.btn-cancel:hover {
    border-color: #666666;
    color: #666666;
    background-color: #FFFFFF;
}

button#assign-manager:hover {
    border-color: #198754;
    color: #198754;
    background-color: #FFFFFF;
}

div.role-toolbar, div.user-toolbar, div.entity-toolbar {
    text-align: end;
}

p#entitySelect {
    margin-bottom: 0;
}

div.headingView {
    display: flex;
    justify-content: center;
    position: relative;
}

div.headingView h1 {
    text-align: center;
}

div.headingView button#backHome {
    position: absolute;
    right: 1rem;
}

div.headingView button#btnViewUpload {
    position: absolute;
    right: 7rem;
}

div#manager_user_div, div#reader_user_div {
    height: 25em;
    overflow: scroll;
}

img.btn-login {
    height: 40px;
}

.btn-login:hover {
    background: transparent;
}

.fg-yellow {
    color: #FFDC00;
}

.fg-black {
    color: #000000;
}

.fg-red {
    color: #dc3545;
}


.bg-yellow {
    background-color: #FFDC00;
}

.bg-black {
    background-color: #000000;
}

.bg-white {
    background-color: #FFFFFF;
}

.bg-red {
    background-color: #dc3545;
}


.btn-yellow {
    color: #000000;
    background-color: #FFDC00;
    border-color: #FFDC00;
}

.btn-yellow:hover {
    filter: opacity(50%);
}

.btn-ellow:hover {
    color: #FFDC00;
    background-color: #000000;
    border-color: #FFDC00;
}

.btn-red {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-red:hover {
    color: #dc3545;
    background: transparent;
    border-color: #dc3545;
    filter: opacity(100%);
}


.btn-outline-red {
    color: #dc3545;
    background: transparent;
    border-color: #dc3545;
}

.btn-outline-red:hover {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
    filter: opacity(100%);
}


.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
    padding: 0.5em;
    width: 100%;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    padding: 0.5em;
    width: 100%;
}

.alert-danger.email {
    width: 35%
}

.alert-danger.id {
    width: 35%
}

.container {
    padding-left: 4px !important;
    margin-top: 1.5rem !important;
}

.card-header {
    font-weight: bold;
    font-size: 1.2em;
}

footer {
    border-top: 3px solid #000000;
    padding: 0.2em;
    bottom: 0;
    position: fixed;
    width: 100%;
    background-color: grey;
    color: #000000;
    text-align: center;
    font-size: 1em;
    font-weight: bold;
    z-index: 99;
}

footer a {
    color: #FFDC00;
}

footer a:hover {
    /*color: #FFDC00;*/
    color: #FFFFFF;
    filter: opacity(50%);
}

/*.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {*/
/*    margin-left: inherit;*/
/*}*/

.main-footer .intersectLogo {
    height: 1.2em;
    margin-top: -0.3em;
}


@media (max-width: 845px) {
    .ml-auto, .mx-auto {
        margin-left: auto !important;
        font-size: 13px;
    }

}

@media (max-width: 699px) {
    .ml-auto, .mx-auto {
        font-size: 11px;
        margin-left: 1rem !important;
        width: 100% !important;

    }

    .hd-separator {
        display: none;
    }

    .navbar-brand {
        padding: 0px;
        /*margin: auto;*/
    }

    .hd-user-name {
        margin-right: 4em !important;
        color: #000000;
        float: right !important;
        margin-top: 1em !important;
    }

    .hd-user-org {
        color: #fff;
        float: left;
        margin-top: 1em;
    }

    .navbar-brand > img {
        height: 40px;
        width: auto;
        margin-right: 2em;
    }


    .row {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin-right: 0px !important;
        margin-left: -15px;
    }

    #maLogout {
        margin-top: 9em;
        float: right;
        margin-right: -9em;
    }

}

@media (max-width: 574px) {
    .loginButton {
        float: right;
    }

    #maLogout {
        margin-top: 0em;
        float: right;
        margin-right: -9em;
    }

}


i {
    transition: 0.5s all;
}

i.rotate {
    transform: rotate(90deg);
    transition: 0.5s all;
}

.hover {
    color: #FFDC00;
}

.navbar-nav ul {
    list-style-type: none;
}

.loginLogo {
    width: 50px;
    height: 50px;
}

.loginLogoGoogle {
    margin-left: 0.5em;
    margin-top: 0.1em;
}

.loginLogoAAF {
    margin-top: 0.1em;
    margin-left: 0.5em;
}

.btn-secondary:not(:disabled):not(.disabled).active, .btn-secondary:not(:disabled):not(.disabled):active, .show > .btn-secondary.dropdown-toggle {
    color: #000000;
    background-color: #FFDC00;
    border-color: #FFDC00;
}


.loginOptionsLogoOnly {
    max-height: 40px;
    max-width: 200px;
    margin-bottom: 0.4em;
}

.loginOptionsText {
    font-size: 13px;
    text-align: center;
    padding-right: 0.2em;
    padding-left: 0.2em;
    display: inline-block;
}

.loginPopUp {
    padding-left: 0.5em;
    padding-right: 0.5em;
}

/* Styles for /auth */

/*.loginOptions{*/
/*    text-align: center;*/
/*border: 0.5px solid #4e555b;*/
/*    min-width: 12em;*/
/*    padding-top: 2em;*/
/*    padding-bottom: 2em;*/
/*    padding-left: 1em;*/
/*    padding-right: 1em;*/
/*}*/

.loginOptions {
    text-align: right;
    min-width: 15em;
    padding-top: 1em;
    padding-bottom: 1.5em;
    padding-left: 0em;
    padding-right: 1em;
    /*background: #f5f5f5;*/
    border-radius: 8px;
}

.loggedInUserDetails {
    border: 0.5px solid #4e555b;
    min-width: 22em;
    padding-top: 2em;
    padding-bottom: 0em;
    padding-left: 1em;
    padding-right: 1em;
}

.email {
    margin-left: 1em;
}

.loggedInUserDetailsTable {
    margin: auto;
}

.loader1 {

    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: wait;

}

.loader1 .hidden {
    animation: fadeout 1s;
    animation-fill-mode: forwards;
}

@keyframes fadeout {

    100% {
        opacity: 0;
        visibility: hidden;
    }

}