﻿:root {
    --wg-primary: #004987;
    --wg-primary-dark: #002544;
    --wg-secondary: #00a1df;
    --wg-tertiary: #BBD3EB;
    --wg-danger: #dc3545;
    --wg-warning: #ffc107;
    --wg-btn-command: #6c757d;
    --wg-card-border-radius: 20px;
    --wg-card-border-inner-radius: 14px;
    --wg-grid-header-bg: var(--wg-secondary);
    --wg-grid-Filter-bg: var(--wg-tertiary);
    --wg-grid-footer-bg: var(--wg-secondary);
    --wg-grid-footer-font-color: white;
    --wg-grid-header-color: white;
    --wg-page-titles: var(--wg-primary);
    --wg-nav-border:var(--wg-primary);
}

body {
    /*background-image: url('../images/AusGrid_Selects_20_20.jpg');
    background-size: cover;*/ /* Ensures the image covers the entire screen */
    /*background-repeat: no-repeat;*/ /* Prevents the image from repeating */
    /*background-attachment: fixed;*/ /* Keeps the image fixed during scrolling */
    /*background-position: center;*/ /* Centers the image */
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1rem;
}

/*Page Titles*/
.WebGraphsPageTitle
{
    color: var(--wg-page-titles);
}
.WebGraphsPageTitle a
{
    text-decoration:none;
    color:var(--wg-page-titles);
}

    /*Navigation*/
.wg-navmenu {
    border-top: 2px solid var(--wg-nav-border) !important;
    border-bottom: 2px solid var(--wg-nav-border) !important;
}

/*Buttons*/
.btn-primary {
    color: white;
    background-color: var(--wg-primary);
    border-color: var(--wg-primary);
    border-radius: 50px;
    min-width: 100px;
    padding-left: 20px;
    padding-right: 20px;
}
.btn-primary:active,
.btn-primary:hover,
.btn-primary:focus {
    color:var(--wg-primary) !important;
    background-color: white !important;
    border-color: var(--wg-primary) !important;
}

    .btn-primary:active {
        color: white !important;
        background-color: var(--wg-primary-dark) !important;
    }
    .btn.btn-primary:disabled {
        background-color: var(--wg-primary); /* Your custom color */
        opacity: 0.5; /* Override default opacity if needed */
    }

.btn-warning {
    color: white;
    background-color: var(--wg-warning);
    border-color: var(--wg-warning);
    border-radius: 50px;
    min-width: 100px;
    padding-left: 20px;
    padding-right: 20px;
}

    .btn-warning:active,
    .btn-warning:hover,
    .btn-warning:focus {
        color: var(--wg-warning);
        background-color: white;
        border-color: var(--wg-warning);
    }

.btn-danger {
    color: white;
    background-color: var(--wg-danger);
    border-color: var(--wg-danger);
    border-radius: 50px;
    min-width: 100px;
    padding-left: 20px;
    padding-right: 20px;
}

    .btn-danger:active,
    .btn-danger:hover,
    .btn-danger:focus {
        color: var(--wg-danger);
        background-color: white;
        border-color: var(--wg-danger);
    }

.btn-light {
    border-radius: 50px;
    min-width: 100px;
    padding-left: 20px;
    padding-right: 20px;
}
    .btn-light:active,
    .btn-light:hover,
    .btn-light:focus {
        border-radius: 50px;
        min-width: 100px;
    }


.btn-secondary {
    border-radius: 50px;
    min-width: 100px;
    padding-left: 20px;
    padding-right: 20px;
    color:white;
    background-color:var(--wg-btn-command);
    border-color:var(--wg-btn-command);
}
    .btn-secondary:active,
    .btn-secondary:hover,
    .btn-secondary:focus {
        background-color: white;
        color: var(--wg-btn-command);
    }

.btn-secondary-circle {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin:0;
    color: white;
    background-color: var(--wg-btn-command);
    border-color: var(--wg-btn-command);
}

    .btn-secondary-circle:active,
    .btn-secondary-circle:hover,
    .btn-secondary-circle:focus {
        background-color: white;
        border-color: var(--wg-btn-command);
        color: var(--wg-btn-command);
    }

    .btn-secondary:active span,
    .btn-secondary:hover span,
    .btn-secondary:focus span {
        background-color: var(--wg-btn-command) !important;
    }

    .btn-secondary:active span i,
    .btn-secondary:hover span i,
    .btn-secondary:focus span i {
        color: white !important;
    }

.btn-grid-icon {
    width: 1.8em;
    height: 1.8em;
    background-color: white;
    margin-right:0.5rem;
    border-radius:50px;
    display:inline-flex;
    justify-content:center;
    align-items:center;
    color:var(--wg-btn-command);
}


.btn-grid {
    min-width: 0px;
    padding:.25rem 20px .25rem .25rem;
    padding-right: 20px;
    display:inline-flex;
    align-items:center;
}

    html, body {
        margin: 0;
        padding: 0;
        min-height: 100vh;
    }

    body {
        display: flex;
        flex-direction: column;
    }

    .carousel-caption {
        background-color: #333E48;
        opacity: 0.75;
        left: 0;
        bottom: 0;
        height: 30%;
    }

    .webgraphs-card {
        border-radius: var(--wg-card-border-radius);
        border: 2px solid var(--wg-primary);
    }

    .webgraphs-card-header {
        background-color: var(--wg-primary);
        border: 2px solid var(--wg-primary);
        color: #fff;
    }

        .webgraphs-card-header:first-child {
            border-radius: var(--wg-card-border-inner-radius) var(--wg-card-border-inner-radius) 0 0;
        }

    .navloginmenu {
        border-bottom: 1px solid black;
        border-top: 1px solid black;
        background-color: #333E48;
        color: #fff;
        font-weight: bold;
        height: 60px;
    }

    .navfooter {
        margin-top: 0em;
        align-content: center;
        border-top: 1px solid black;
        background-color: #353e48;
        margin-top: 1em;
        padding-top: 0.5em;
        padding-bottom: 0em;
        padding-left: 1em;
        padding-right: 1em;
        color: #fff;
    }

        .navfooter a {
            color: #fff;
            text-decoration: none;
        }

    .copyright {
        background-color: #00a1df;
        border-radius: 40px 40px 0 0;
        margin-left: 40px;
        margin-right: 40px;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .hero {
        background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),url('../images/HeroImageBackground_01.jpg');
        background-repeat: no-repeat;
        background-position: center;
        background-attachment: fixed;
        color: white;
        padding-top: 200px;
        padding-bottom: 100px;
    }

        .hero p {
            margin-bottom: 1.5rem;
            font-size: 1.25em;
        }


    @media (min-width: 768px) {
        .multiple-columns-2 {
            column-count: 2;
            min-width: 600px;
        }

        .multiple-columns-3 {
            column-count: 2;
            min-width: 600px;
        }

        .wg-dropdown-menu {
            border-radius: var(--wg-card-border-radius);
            padding: 5px;
        }
    }

    @media (min-width: 1200px) {
        .multiple-columns-3 {
            column-count: 3;
            min-width: 900px;
        }

        .wg-dropdown-menu {
            border-radius: var(--wg-card-border-radius);
            padding: 5px;
        }
    }

    .dropdown-header {
        font-size: 1rem;
    }

    .nav-link {
        font-size: 1rem;
    }

    .dropdown-menu .dropdown-item {
        border: 2px solid white;
        border-radius: 5px;
    }

        .dropdown-menu .dropdown-item:hover {
            border: 2px solid var(--wg-primary);
            border-radius: 5px;
        }

        .dropdown-menu .dropdown-item:active {
            background-color: var(--wg-primary);
        }


    /*div.RadGrid {
    border:1px solid var(--wg-primary);
    border-radius:10px

}*/


    /*Telerik Rad Grid*/
div.RadGrid {
    border-radius: 5px !important;
    overflow: hidden;
    border-collapse: separate !important;
    border:1px solid var(--wg-grid-header-bg);
}


    div.RadGrid th.rgPager {
        background-color: var(--wg-primary) !important;
    }

    div.RadGrid .rgPagerCell .rgNumPart a.rgCurrentPage {
    background-color: var(--wg-grid-Filter-bg);
    border: 1px solid var(--wg-grid-Filter-bg);
    color: #fff;
}
    /*RadGrid header with Column Names*/
    div .RadGrid th.rgHeader {
        border-left: none;
        border-right: none;
        height: 40px;
        font-weight: bold;
        background-color: var(--wg-grid-header-bg);
        color: var(--wg-grid-header-color) !important;
    }

    div.RadGrid th.rgHeader a{
        color:var(--wg-grid-header-color);
    }

    div.RadGrid .rgFilterRow {
        background-color: var(--wg-grid-Filter-bg);
    }
    /*Telerik Rad Grid*/

    .RadInput_Bootstrap .riTextBox {
        font-size: 1rem !important;
    }

.RadGrid .rgPagerCell {
    background: var(--wg-grid-footer-bg) !important;
    color: var(--wg-grid-footer-font-color) !important;
    font-family: inherit;
}
    .RadPicker {
        line-height: 1.5;
    }

    .RadGrid .rgFilterBox {
        border-radius: 5px;
    }

    .RadToolTip.wg-tooltip{
        background-color:white;
        /*border:2px solid var(--wg-primary);*/
        border-radius:var(--wg-card-border-radius) !important;
        color:black;
    }

.RadGrid .rgAltRow td,
.RadGrid .rgRow td,
.RadGrid .rgRow,
.RadGrid .rgAltRow,
.RadGrid .td {
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
    padding: 5px !important;
    height: 30px !important;
    line-height: normal !important;
}