﻿/*
    StyleSheet - Wiiisps NavMenu
    MapApps Corporation
    All Rights Reserved ©2025.
*/

html {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
    color: #060d13;
    margin-bottom: 20px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a {
    color: #264d73;
    text-decoration: none;
}

    a:hover {
        color: #538cc6;
        text-decoration: underline;
    }

.pagebody {
    margin-top: 144px;
    margin-left: 0;
    margin-right: 0;
}

.pagecontent {
    margin-left: 15px;
    margin-right: 15px;
}

/* ------ Bootstrap Adjustments ------ */

.container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.navbar {
    padding-top: 0.5em;
    padding-bottom: 0.6em;
    min-width: 200px;
}

    .navbar .nav-item a {
        color: #060d13;
    }

        .navbar .nav-item a.active {
            color: #060d13;
        }

        .navbar .nav-item a:hover {
            color: #060d13;
        }

.navbar-dark {
    background: #19334d;
    color: #ffffff;
}

.navbar-toggler {
    background: #19334d;
    color: #19334d;
}

.navbar-brand {
    padding-top: 0;
    padding-bottom: 0.1em;
}

    .navbar-brand:hover {
        text-decoration: none;
    }

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.5);
}

    .navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link:focus {
        color: rgba(255, 255, 255, 0.75);
    }

    .navbar-dark .navbar-nav .nav-link.disabled {
        color: rgba(255, 255, 255, 0.25);
    }

    .navbar-dark .navbar-nav .show > .nav-link,
    .navbar-dark .navbar-nav .active > .nav-link,
    .navbar-dark .navbar-nav .nav-link.show,
    .navbar-dark .navbar-nav .nav-link.active {
        color: #fff;
    }

.dropdown-divider {
    border-top: 2px solid #b3bec8;
    margin-top: 4px;
    margin-bottom: 4px;
}

.btn-primary {
    color: #ecf2f9;
    background-color: #336699;
    border-color: #336699;
}

    .btn-primary:hover {
        color: #fff;
        background-color: #204060;
        border-color: #204060;
    }


    .btn-primary:focus, .btn-primary.focus {
        box-shadow: 0 0 0 0.2rem rgba(51, 153, 153, 0.5);
    }


    .btn-primary.disabled, .btn-primary:disabled {
        color: #fff;
        background-color: #9fdfdf;
        border-color: #9fdfdf;
    }

    .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
    .show > .btn-primary.dropdown-toggle {
        color: #ecf2f9;
        background-color: #66cccc;
        border-color: #66cccc;
    }

        .btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
        .show > .btn-primary.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(51, 153, 153, 0.5);
        }

.btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
}

    .btn-outline-secondary:hover {
        color: #494f54;
        background-color: transparent;
        border-color: #6c757d;
    }

    .btn-outline-secondary:focus, .btn-outline-secondary.focus {
        box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
    }

    .btn-outline-secondary.disabled, .btn-outline-secondary:disabled {
        color: #6c757d;
        background-color: transparent;
    }

    .btn-outline-secondary:not(:disabled):not(.disabled):active, .btn-outline-secondary:not(:disabled):not(.disabled).active,
    .show > .btn-outline-secondary.dropdown-toggle {
        color: #fff;
        background-color: #6c757d;
        border-color: #6c757d;
    }

        .btn-outline-secondary:not(:disabled):not(.disabled):active:focus, .btn-outline-secondary:not(:disabled):not(.disabled).active:focus,
        .show > .btn-outline-secondary.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
        }

/* ------ Top Menu ------ */

.topmenu .nav-item a {
    text-decoration: none;
}

    .topmenu .nav-item a.active {
        text-decoration: none;
    }

    .topmenu .nav-item a:hover {
        text-decoration: none;
    }

/* ------ Off Canvas Menu ------ */

.offcanvas-menu {
    background-color: #f8f9fa;
}

.offcanvas-menu .nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
    margin-left: 10px;
    width: 230px;
}

    .offcanvas-menu .nav-item:first-of-type {
        padding-top: 1rem;
    }

    .offcanvas-menu .nav-item:last-of-type {
        padding-bottom: 1rem;
    }

    .offcanvas-menu .nav-item a {
        color: #060d13;
        border-radius: 4px;
        height: 2.4rem;
        display: flex;
        align-items: center;
        line-height: 2.4rem;
    }

        .offcanvas-menu .nav-item a.active {
            background-color: #e4e8ec;
            font-weight: bold;
            color: #060d13;
            text-decoration: none;
        }

        .offcanvas-menu .nav-item a:hover {
            background-color: #e4e8ec;
            font-weight: bold;
            color: #060d13;
            text-decoration: none;
        }

    .offcanvas-menu .nav-item .dropdown-menu {
        background-color: #e4e8ec;
        color: #060d13;
        width: 230px;
    }

    .offcanvas-menu .nav-item .dropdown-item {
        background-color: #e4e8ec;
        color: #060d13;
        width: 218px;
        margin-left: 5px;
    }

        .offcanvas-menu .nav-item .dropdown-item:hover {
            background-color: #d0d7de;
            font-weight: bold;
            color: #6699cc;
        }

    /* ------ Side Menu ------ */
    .sidemenu {
    background-color: #f8f9fa;
    position: fixed;
    top: 124px;
    left: 0;
    width: 250px;
    height: calc(100vh - 124px);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

    .sidemenu .nav-item {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
        margin-left: 10px;
        width: 230px;
    }

        .sidemenu .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidemenu .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidemenu .nav-item a {
            color: #060d13;
            border-radius: 4px;
            height: 2.4rem;
            display: flex;
            align-items: center;
            line-height: 2.4rem;
        }

            .sidemenu .nav-item a.active {
                background-color: #e4e8ec;
                font-weight: bold;
                color: #060d13;
                text-decoration: none;
            }

            .sidemenu .nav-item a:hover {
                background-color: #e4e8ec;
                font-weight: bold;
                color: #060d13;
                text-decoration: none;
            }

        .sidemenu .nav-item .dropdown-menu {
            background-color: #e4e8ec;
            color: #060d13;
            width: 230px;
        }

        .sidemenu .nav-item .dropdown-item {
            background-color: #e4e8ec;
            color: #060d13;
            width: 218px;
            margin-left: 5px;
        }

            .sidemenu .nav-item .dropdown-item:hover {
                background-color: #d0d7de;
                font-weight: bold;
                color: #6699cc;
            }

.sidemenu-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 124px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
    .sidemenu-sticky {
        position: -webkit-sticky;
        position: sticky;
    }
}

/* ------ Page Title Row ------ */

.pagetitlerow {
    margin-top: 0;
    z-index: 740;
    background-color: #6699cc;
    height: 54px;
    padding-top: 3px;
    padding-bottom: 3px;
    white-space: nowrap;
}

.pagetitletext {
    margin: 6px 15px 8px 20px;
    font-size: 1.25rem;
    line-height: 2.25rem;
    white-space: nowrap;
    color: #ffffff;
}

    .pagetitletext a {
        color: #ffffff;
        text-decoration: none;
    }

        .pagetitletext a:hover {
            color: #ffffff;
            text-decoration: underline;
        }

.pagetitleicon {
    color: #19334D;
}

/* ------ Footer ------ */

footer {
    color: #808080;
}

.footerlink {
    color: #808080;
    text-decoration: none;
}

    .footerlink:hover {
        color: #808080;
        text-decoration: underline;
    }

/* ------ Media Size Adjustments (xs is default) ------ */

.mobile_hide {
    display: none;
}

.mobile_show {
    display: block;
}

.header_right {
    display: none;
}

.place_adjustad {
    display: none;
}

.place_adjustll {
    display: none;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {

    .place_adjustad {
        display: block;
    }

    .place_adjustll {
        display: none;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .place_adjustll {
        display: block;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {

    body {
        margin-bottom: 40px;
    }

    .mobile_hide {
        display: block;
    }

    .mobile_show {
        display: none;
    }

    .header_right {
        display: -ms-flexbox;
        display: flex;
    }

    .navbar {
        height: 70px;
    }

    .pagecontent {
        clear: left;
        margin-left: 265px;
    }

    .place_adjustll {
        display: none;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .place_adjustll {
        display: block;
    }
}

/* ------ DevExpress Tab Control ------ */

.DevTabText {
    background: none;
    color: #264d73;
    text-decoration: none;    
}

    .DevTabText a {
        color: #264d73;
        text-decoration: none;
    }

        .DevTabText a:hover {
            color: #538cc6;
            text-decoration: none;
        }

.ActiveTabText a {
    font-weight: bold;
}

