﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
    background-color:grey;
}
.text-heading4padding{
    padding-left:20px;
}
.btn-smalllinkbutton {
    background-color: none;
    border: none;
    color: black;
    padding: 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 10px;
    margin: 4px 2px;
    cursor: pointer;
}
/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}
.text-muted_list {
    color: chocolate;
    padding: 2px;
}
.text-links_listright {
    float: right;
    font-size:smaller;
}
.hide{
    display:none;
}
/* Basic Card layout */
.card {
    background-color: lightyellow;
    color: black;
    max-width: 100%;
    border-width: 10px;
    padding-bottom: 20px;
    border-radius: 10px;
    margin-bottom: 10px;
    display: inline-flex;
}
.card_fullwidth {
    background-color: lightyellow;
    color: black;
    max-width: 100%;
    border-width: 10px;
    padding-bottom: 20px;
    border-radius: 10px;
    margin-bottom: 10px;
    margin-left:20px;
}
.card-maxwidth60 {
    width: 60%;
}
.card-maxwidth50 {
    width: 50%;
}

.card-header {
    font-weight: 600;
}

.card-body {
    font-size: small;
    margin-bottom: 10px;
}

.row {
    height: 30px;
}

.badge {
    color: green;
    background: white;
    border-color: darkgray;
}

/* navigation bar layout and colour scheme*/
#navlayout
a:link{
    color:lightgray;
}
a:hover {
    color: lightyellow;
    text-decoration: underline;
}
a {
    color: lightgray;
}
nav {
    padding-top: 40px;
}


/* Layout for dashboard*/
#dashboardlayout
.card_dash {
    background-color: white;
    border-color: lightyellow;
    display: inline-flex;
    color: black;
    padding-bottom: 2px;
    border-radius: 10px;
    margin-bottom: 10px;
    max-height: 400px;
}
.card_dashscroll {
    overflow-y: scroll;
    max-height: 400px;
}
.card-header_dash {
    font-size: small;
    text-wrap: normal;
    padding: 5px;
}
.badge_dash {
    background-color: white;
    color: chocolate;
}
.text-muted_dash {
    font-size: smaller;
    text-align: right;
}
.a_dash{
    font-size:smaller;
}
#dashboarddetaillayout
.card_dashdetail{
    width:100%;
}

/* Multi Select Styling*/
.select-box{
    text-align:right;
}
/* Form and Report Headers*/
#cardlayout
.card_nav {
    background-color: lightyellow;
    color: black;
    max-width: 100%;
    border-width: 10px;
    padding-bottom: 20px;
    border-radius: 10px;
    margin-bottom: 10px;
}
.card-header_nav {
    font-weight: 600;
    min-height:60px;
}
.card_paddinglist{
    padding:2px;
}
.card_dividermargin {
    margin: 2px;
}
.card-body_nav {
    font-size: small;
    margin-bottom: 10px;
}
.card-text_dateformat {
    font-weight: 600;
    font-size: medium;
    display: inline;
}
.card-text_createdby {
    text-align: right;
    font-size: smaller;
}
.card-text_boldsmall {
    font-weight: 900;
    font-size: smaller;
}
.card-text_small {
    font-size: smaller;
}
.card_div_inline{
    display:inline;
}
.card_div_nopadding {
    padding-left: 0;
    padding-right: 0;
}
.card_div_norightpadding {
    padding-right: 0;
}
.row_nav {
    height: 30px;
}
.badge_nav {
    color: green;
    background: white;
    border-color: darkgray;
}
a:any-link {
    color: black;
    background-color: transparent;
    text-decoration: none;
}
a:hover {
    color: darkolivegreen;
    background-color: transparent;
    text-decoration: underline;
}
a:active {
    color: black;
    background-color: transparent;
    text-decoration: underline;
}


/* Table layout*/
#tablelayout
section {
    padding-right:5px;
}
table {
    width: 100%;
    border-collapse: unset;
}
th {
    text-align: center;
    color: black;
    background-color: lightyellow;
    font-weight: 600;
    padding: 8px;
    border-color:black;
}
tr {
    font-size: smaller;
}
tr:nth-child(even) {
    background-color: chocolate;
}
tr:nth-child(odd) {
    background-color: navajowhite;
}
/*  general page layout */

h2 {
    padding-left: 25px;
}
.table_scroll{
    overflow-y:scroll;
}
#formlayout
/*form settings */
.form_horizontal{
    border-collapse:collapse;
    display:inline;
}
.form_button_color {
    color: white;
    background-color: chocolate;
    float: right;
    margin-right: 5px;
}
.form_buttonintable_color {
    color: black;
    background-color: lightgrey;
    display:block;
    margin:auto;
}
.form_buttonintable_colorinline {
    color: black;
    background-color: lightgrey;
    display: inline;
}
.option_dropdownfontsize{
    font-size:small;
}
select{
    font-size:small;
}
.form_dropdownlayout {
    font-size: small;
    margin-right: 2px;
    padding-right:2em;
    max-width:220px;
}
.form_checkboxlayout {
    height:5px;
    padding:0;
}
.form_inputtextlayout {
    font-size: small;
    margin-right: 2px;
}

/***************************************************************************/
.nav-side-menu {
    overflow: auto;
    font-family: verdana;
    font-size: 12px;
    font-weight: 200;
    background-color: grey;
    position: fixed;
    top: 0;
    width: 180px;
    height: 100%;
    color: #e1ffff;
    padding-top: 60px;
}

    .nav-side-menu .brand {
        background-color: #23282e;
        line-height: 50px;
        display: block;
        text-align: center;
        font-size: 14px;
    }

    .nav-side-menu .toggle-btn {
        display: none;
    }

    .nav-side-menu ul,
    .nav-side-menu li {
        list-style: none;
        padding: 0;
        margin: 0;
        line-height: 35px;
        cursor: pointer;
        /*    
    .collapsed{
       .arrow:before{
                 font-family: FontAwesome;
                 content: "\f053";
                 display: inline-block;
                 padding-left:10px;
                 padding-right: 10px;
                 vertical-align: middle;
                 float:right;
            }
     }
*/
    }

        .nav-side-menu ul :not(collapsed) .arrow:before,
        .nav-side-menu li :not(collapsed) .arrow:before {
            font-family: Ebrima;
            content: diamond;
            display: inline-block;
            padding-left: 10px;
            padding-right: 10px;
            vertical-align: middle;
            /*  float: right; */
        }

        .nav-side-menu ul .active,
        .nav-side-menu li .active {
            border-left: 3px solid #d19b3d;
            background-color: grey;
        }

        .nav-side-menu ul .sub-menu li.active,
        .nav-side-menu li .sub-menu li.active {
            color: chocolate;
        }

            .nav-side-menu ul .sub-menu li.active a,
            .nav-side-menu li .sub-menu li.active a {
                color: chocolate;
            }

        .nav-side-menu ul .sub-menu li,
        .nav-side-menu li .sub-menu li {
            background-color: grey;
            border: none;
            line-height: 28px;
            border-bottom: 1px solid grey;
            margin-left: 0;
        }

            .nav-side-menu ul .sub-menu li:hover,
            .nav-side-menu li .sub-menu li:hover {
                background-color: grey;
            }

            .nav-side-menu ul .sub-menu li:before,
            .nav-side-menu li .sub-menu li:before {
                font-family:Ebrima;
                content:diamond;
                display: inline-block;
                padding-left: 10px;
                padding-right: 10px;
                vertical-align: middle;
            }

    .nav-side-menu li {
        padding-left: 0;
        border-left: 3px solid #2e353d;
        border-bottom: 1px solid grey;
    }

        .nav-side-menu li a {
            text-decoration: none;
            color: white;
        }

            .nav-side-menu li a i {
                padding-left: 10px;
                width: 20px;
                padding-right: 20px;
            }

        .nav-side-menu li:hover {
            border-left: 3px solid #d19b3d;
            background-color: grey;
            -webkit-transition: all 1s ease;
            -moz-transition: all 1s ease;
            -o-transition: all 1s ease;
            transition: all 1s ease;
        }

@media (max-width: 767px) {
    .nav-side-menu {
        position: relative;
        width: 100%;
        margin-bottom: 10px;
    }

        .nav-side-menu .toggle-btn {
            display: block;
            cursor: pointer;
            position: absolute;
            right: 10px;
            top: 10px;
            z-index: 10 !important;
            padding: 3px;
            background-color: #ffffff;
            color: #000;
            width: 40px;
            text-align: center;
        }

    .brand {
        text-align: left !important;
        font-size: 22px;
        padding-left: 20px;
        line-height: 50px !important;
    }
}

@media (min-width: 767px) {
    .nav-side-menu .menu-list .menu-content {
        display: block;
    }
}

body {
    margin: 0;
    padding: 0;
}

/* Style the tab */
.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

    /* Style the buttons that are used to open the tab content */
    .tab button {
        background-color: inherit;
        float: left;
        border: none;
        outline: none;
        cursor: pointer;
        padding: 14px 16px;
        transition: 0.3s;
    }

        /* Change background color of buttons on hover */
        .tab button:hover {
            background-color: #ddd;
        }

        /* Create an active/current tablink class */
        .tab button.active {
            background-color: #ccc;
        }

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
}

.tabcontent {
    animation: fadeEffect 1s; /* Fading effect takes 1 second */
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}