﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

body {
    font-family: 'Roboto', sans-serif !important;
}
a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn {
    /*font-size: small;*/
}

.form-control, .dropdown-menu {
    font-size: inherit;
}

.datepicker-dropdown {
    z-index: 9999 !important;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    /* margin-bottom: 60px; */
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
    background: inherit;
}

/* Report Table */
/*.table-wrap {
    height: 26vw;
    overflow-y: auto;
}
*/
.table-wrap {
    height: 20vw;
    overflow-y: visible;
    overflow-x: hidden;
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    /*padding-right: 15px;*/
    width: 100vw;
}


.table-wrap2 {
    height: 40vw;
    overflow-y: auto;
}

.form-signin {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: auto;
}


/* Notification in dropdown */
.dropdown-menu.notifications.show {
    position: absolute;
    left: -150%;
    overflow-y: auto;
    height: 700%;
}

.dropdown-menu.profile {
    position: absolute;
    left: 50%;
    overflow-y: auto;
}

nav.tab a.nav-link.active {
    border-radius: .5rem;
    border-bottom: 2px solid;
}

.border-bottom-3 {
    border-bottom: 6px solid #38B09D !important;
}

.bg-petronas {
    background-color: #38B09D !important;
}

/* Unit switch */
.d-flex.flex-row-reverse.fixed-bottom.unitswitch {
    margin-right: 2%;
    z-index: 9999;
}

.unitswitch button {
    top: 15%;
}

.unitswitch .dropdown-menu.show {
    min-width: auto;
    transform: translate3d(-2%, -100%, 0px) !important;
}

.unitswitch a.dropdown-item.small {
    padding: .25rem 0.6rem;
}