﻿/*************************************************************************************/
/* start of layout page styles *******************************************************/
/*
    CUSTOM COLOUR DEFINITIONS:

    DarkBlue: #25a2bd
    MainBlue: #54c8e1
    LightBlue: #6ed9ef
    LighterBlue: #d2eef4
    GrayBlue: #e0eaeb

*/
/*************************************************************************************/

body {
    padding-top: 50px;
    padding-bottom: 20px;
    font-size: 12px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists
   will truncate terms that are too long to fit in the left column
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.wide-control {
    width: 400px !important;
    max-width: none;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background-color: rgba(132, 150, 156, 0.10);
    /*border: 1px solid rgba(89, 141, 160, 0);*/
    border-radius: 0px;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(195, 195, 195, 0.50);
    /*border: 1px solid rgba(150, 158, 161, 0.60);*/
    border-radius: 0px;
    /*box-shadow: 0 0 5px rgba(142, 156, 161, 0.40) inset;*/
}

    ::-webkit-scrollbar-thumb:hover {
        background-color: rgba(144, 144, 144, 0.80);
    }

::-webkit-scrollbar-corner {
    background: transparent;
}

::selection {
    background: #25a2bd;
    color: white;
}

::-moz-selection {
    background: #25a2bd;
    color: white;
}

#popupBackgroundFilter {
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    overflow: hidden;
    padding: 0;
    margin: 0;
    background-color: rgba(255, 255, 255, 0.60);
    filter: alpha(opacity=100);
    opacity: 1;
    z-index: 10010;
}

#popupBackgroundFilter .loader {
    background-color: rgba(244, 244, 244, 1);
    border-radius: 10px;
    /*-moz-transform: scale(2);
    -ms-transform: scale(2);
    -o-transform: scale(2);
    -webkit-transform: scale(2);
    transform: scale(2);*/
    position: fixed;
    top: 50%;
    left: 50%;
}

.loader {
    background-image: url(Images/loading-image.gif);
    height: 48px;
    width: 48px;
    background-repeat: no-repeat;
    display: none;
}

.center {
    margin: 0 auto;
    text-align: center;
}

/*.loader-background {
    opacity: 0.5;
    background-color: white;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000000;
}

.loader {
    background-image: url(Images/loading-image.gif);
    height: 47px;
    width: 47px;
    z-index: 1000001;
    position: absolute;
    left: 50%;
    top: 50%;
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

.loaderContainer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.1);
    z-index: 1000000;
    display: none;
}*/

.headerBar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background-color: #325aa8;
    padding: 10px;
    z-index: 2;
    color: white;
    /*-moz-box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    -webkit-box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);*/
}

    .headerBar .headerHeading {
        margin: 0;
        display: inline-block;
        color: white;
        
    }

    .headerBar img {
        cursor: pointer;
    }

    .headerBar .headerHeading a,
    .headerBar .headerHeading a:hover,
    .headerBar .headerHeading a:active,
    .headerBar .headerHeading a:visited {
        color: white;
        text-decoration: none;
    }

    .headerBar .logoff {
        display: inline-block;
        color: white;
        font-size: 0.8em;
    }

.alignRight {
    text-align: right;
}

.headerBar .logoff a,
.headerBar .logoff a:visited {
    color: black;
    font-weight: bold;
    text-decoration: none;
}

    .headerBar .logoff a:hover,
    .headerBar .logoff a:active {
        color: black;
        font-weight: bold;
        text-decoration: underline;
    }

.navigationBar {
    position: fixed;
    top: 50px;
    left: 0;
    bottom: 0;
    width: 200px;
    background-color: white;
    z-index: 1;
    border-right: 1px solid rgba(0, 0, 0, 0.15);
    /*-moz-box-shadow: 5px 0 15px rgba(0,0,0,0.15);
    -webkit-box-shadow: 5px 0 15px rgba(0,0,0,0.15);
    box-shadow: 5px 0 15px rgba(0,0,0,0.15);*/
}

.rollup {
    position: fixed;
    top: 43px;
    left: 0;
    bottom: 0;
    width: 200px;
    z-index: 2;
    height: 7px;
    background-color: #6ed9ef;
    /*border-bottom: 6px solid #54c8e1;*/
    cursor: pointer;
    /*-moz-box-shadow: 0 0 5px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.2);
    box-shadow: 0 0 5px rgba(0,0,0,0.2);*/
}

.navigationBar .menuBar {
    height: 100%;
    overflow-x: hidden;
    overflow-y: visible;
    padding: 10px 0;
}

    .navigationBar .menuBar ul {
        padding: 0;
    }

        .navigationBar .menuBar ul li {
            list-style: none;
            padding: 10px 0px 10px 10px;
            cursor: pointer;
        }

            .navigationBar .menuBar ul li.menuBarDropdown > a:after {
                content: " \25Ba";
                display: inline;
                font-size: 0.5em;
            }

            .navigationBar .menuBar ul li a,
            .navigationBar .menuBar ul li a:active,
            .navigationBar .menuBar ul li a:visited {
                color: black;
                font-weight: bold;
                text-decoration: none;
            }

                .navigationBar .menuBar ul li a:hover {
                }

        .navigationBar .menuBar ul.menuBarParent li:hover,
        .navigationBar .menuBar ul.menuBarParent > li.selected:hover,
        .navigationBar .menuBar ul.menuBarParent > li.menuBarDropdown.clicked li.selected:hover {
            background-color: rgba(0, 0, 0, 0.2);
            -moz-transition: background-color 0.1s;
            -o-transition: background-color 0.1s;
            -webkit-transition: background-color 0.1s;
            transition: background-color 0.1s;
        }

        .navigationBar .menuBar ul.menuBarParent li ul.menuBarChild {
            /*background-color: rgba(0, 0, 0, 0.2);*/
            max-height: 0;
            -moz-transition: max-height 0.1s;
            -o-transition: max-height 0.1s;
            -webkit-transition: max-height 0.1s;
            transition: max-height 0.1s;
            padding: 0;
        }

            .navigationBar .menuBar ul.menuBarParent li ul.menuBarChild li {
                font-size: 0;
                -moz-transition: font-size 0.1s;
                -o-transition: font-size 0.1s;
                -webkit-transition: font-size 0.1s;
                transition: font-size 0.1s;
                pointer-events: none;
            }

        .navigationBar .menuBar ul.menuBarParent li.clicked ul.menuBarChild li {
            font-size: 1em;
            pointer-events: all;
        }

        .navigationBar .menuBar ul.menuBarParent li.clicked {
            background-color: rgba(0, 0, 0, 0.01);
            -moz-box-shadow: 0 0 5px rgba(0,0,0,0.2) inset;
            -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.2) inset;
            box-shadow: 0 0 5px rgba(0,0,0,0.2) inset;
        }

        .navigationBar .menuBar ul.menuBarParent > li.selected,
        .navigationBar .menuBar ul.menuBarParent > li.menuBarDropdown.clicked li.selected {
            border-left: 5px solid #325aa8;
            background-color: rgba(0,0,0,0.05);
        }

        .navigationBar .menuBar ul.menuBarParent li.clicked ul.menuBarChild {
            padding: 0;
            /*background-color: rgba(0, 0, 0, 0.1);*/
            max-height: 500px;
        }

.renderBodyParent {
    position: fixed;
    top: 50px;
    left: 200px;
    right: 0;
    bottom: 0;
    background-color: white;
}

    .renderBodyParent .renderBodyChild {
        height: 100%;
        width: 100%;
        overflow-x: hidden;
        overflow-y: visible;
        padding: 10px;
    }

.copyright {
    font-size: 0.7em;
    padding: 6px;
}

    .copyright .logoff {
        font-size: 1em;
    }

/*************************************************************************************/

/*************************************************************************************/
/* start of general styles ***********************************************************/
/*************************************************************************************/

.centerText {
    margin: 0 auto;
    text-align: center;
}

.wellHeading {
    margin: 0 0 15px 0;
}

table.table thead tr th {
    background-color:  #d2eef4;
    color: gray;
    /*text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.14);*/
}

table.table {
    margin: 0;
    -moz-box-shadow: 0 0 5px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.2);
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

th.mobile,
td.mobile,
tr.mobile th,
tr.mobile td {
    display: none;
}

th.desktop,
td.desktop,
tr.desktop th,
tr.desktop td {
    display: table-cell;
}

@media (max-width : 800px) {
    th.mobile,
    td.mobile,
    tr.mobile th,
    tr.mobile td {
        display: table-cell;
    }

    th.desktop,
    td.desktop,
    tr.desktop th,
    tr.desktop td {
        display: none;
    }
}

/*************************************************************************************/
/*************************************************************************************/
/* start of home page styles *********************************************************/
/*************************************************************************************/
.homeButton {
    color: gray;
    padding: 20px;
    border: 1px solid #54c8e1;
    border-radius: 6px;
    background-color: white;
    -moz-box-shadow: 0 0 3px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.2);
    box-shadow: 0 0 3px rgba(0,0,0,0.2);
    line-height: 57px;
    margin: 0;
    font-weight: bold;
}

    .homeButton:hover,
    .homeButton:visited,
    .homeButton:active {
        text-decoration: none;
        color: gray;
    }

    .homeButton:hover {
        -moz-box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
        -webkit-box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
        box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
        color: black;
    }

/*************************************************************************************/

.largeLabel {
    font-weight: bold;
    font-size: medium;
}

.textAlignRight {
    text-align: right;
}

.textAlignLeft {
    text-align: left;
}

.textAlignCenter {
    text-align: center;
    font-weight: bold;
}

.centeredImage {

     
    width: 825px;
    height:591px;
    position: fixed;
    top: 50%;
    left: 50%;
    /* bring your own prefixes */
    transform: translate(-50%, -50%);
}

.status-green {
    color: green;
    border: 1px solid green;
    border-radius: 3px;
    letter-spacing: 1px;
    padding: 2px 7px;
    text-align: center;
}

.status-orange {
    color: orange;
    border: 1px solid orange;
    border-radius: 3px;
    letter-spacing: 1px;
    padding: 2px 7px;
    text-align: center;
}

.status-yellow {
    color: yellow;
    border: 1px solid yellow;
    border-radius: 3px;
    letter-spacing: 1px;
    padding: 2px 7px;
    text-align: center;
}

.status-blue {
    color: blue;
    border: 1px solid blue;
    border-radius: 3px;
    letter-spacing: 1px;
    padding: 2px 7px;
    text-align: center;
}

.status-red {
    color: red;
    border: 1px solid red;
    border-radius: 3px;
    letter-spacing: 1px;
    padding: 2px 7px;
    text-align: center;
}

.status-purple {
    color: purple;
    border: 1px solid purple;
    border-radius: 3px;
    letter-spacing: 1px;
    padding: 2px 7px;
    text-align: center;
}



/* Style for the frozen header */
.k-grid-header {
    padding-right: 0 !important;
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: #e6f3ff !important;
}

.k-grid-content {
    height: auto !important;
    min-height: calc(100vh - 340px) !important;
    overflow-y: auto !important;
}

/* Style for the footer totals row */
.k-grid-footer {
    background-color: #ffd852 !important; /* Slightly lighter blue for totals */
}

    /* Style for the footer cells specifically */
    .k-grid-footer td {
        background-color: #ffd852 !important;
    }

/* If you have group footer rows, style them too */
.k-group-footer td {
    background-color: #ffd852 !important;
}

/* Make sure the text remains visible */
.k-grid-header th {
    color: #000000; /* Black text for contrast */
}

.k-grid-footer td {
    color: #000000;
    font-weight: bold; /* Makes the totals stand out */
}

.vertical-tabs {
    height: auto !important;
}

#tsCustomer {
    width: 100%;
}

.k-tabstrip > .k-content {
    min-height: 400px; /* Adjust as needed */
}

.vertical-tabs .k-tabstrip-items {
    flex-direction: column !important;
    border-right: 1px solid #ddd;
    border-bottom: none;
}

.vertical-tabs .k-item {
    margin: 0;
    border-radius: 0;
    border-bottom: 1px solid #ddd;
}

/* Inactive style for grid rows */
.inactive-row {
    opacity: 0.5;
    background-color: #f5f5f5;
}