/* prettier-ignore */
@import url(css/varelaround.css);
/* 
	- CSS: Base Styles for IVT Style Guide Theme
	- Version:  0.1
	- Author:   Lim, Sheng Han
*/
:root {
    --navbar-bg-blue: #153d77;
    --ivt-blue: #052860;
    --primary-blue: #0b5cbb;
    --main-bg-white: #efefef;
    --sidebar-bg-white: #f9f9f9;
    --section-box-bg-white: #ffffff;
    --text-highlight-white: #ffffff;
    --body-font-size: 0.9275rem;
    --section-box-side-padding: 1.2rem;
    --section-header-title-font-size: 0.89rem;
    --font-family-sans-serif: "Varela Round", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0px;
    font-family: var(--font-family-sans-serif);
    font-size: var(--body-font-size);
    background-color: var(--main-bg-white);
}

/* @font-face {
  font-family: "Varela Round";
  src: url("css/fonts/VarelaRound-Regular.ttf");
} */

/*
 * Content
 */
[role="main"] {
    padding: 5.5rem 5.5rem 0 5.5rem;
    min-height: 100vh;
    min-width: 0;
    width: 100%;
    -webkit-transition: margin-left 0.3s ease-in-out, left 0.3s ease-in-out, margin-right 0.3s ease-in-out, right 0.3s ease-in-out;
    transition: margin-left 0.3s ease-in-out, left 0.3s ease-in-out, margin-right 0.3s ease-in-out, right 0.3s ease-in-out;
}

/* extending blue background */
.wrapper:before {
    width: 100%;
    height: 270px;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--navbar-bg-blue);
    content: " ";
}

.wrapper {
    -webkit-box-align: stretch;
    align-items: stretch;
    display: -webkit-box;
    display: flex;
    width: 100%;
    position: relative;
}

/*
 * Header Styles
 */

.header {
    position: relative;
    margin-bottom: 1rem;
    margin-top: 2rem;
    -webkit-transition: margin-bottom 0.3s ease-in-out, top 0.3s ease-in-out, margin-bottom 0.3s ease-in-out, bottom 0.3s ease-in-out;
    transition: margin-bottom 0.3s ease-in-out, top 0.3s ease-in-out, margin-bottom 0.3s ease-in-out, bottom 0.3s ease-in-out;
}

    .header.no-collapse {
        margin-bottom: 2.1rem;
    }

.header-single {
    margin-bottom: 2.25rem;
}

.header-title {
    font-size: 1.5rem;
    color: var(--text-highlight-white);
    -webkit-transition: font-size 0.3s;
    transition: font-size 0.3s;
}

.header-breadcrumb {
    visibility: visible;
    opacity: 1;
    transition: visibility 0.3s, opacity 0.3s ease-in-out;
}

.header.collapsed {
    margin-bottom: -3.5rem;
    margin-top: 0rem;
}

.header-title.collapsed {
    font-size: 1rem;
}

.header-breadcrumb.collapsed {
    visibility: hidden;
    opacity: 0;
}

.text-center {
    text-align: center;
}

/* collapsible header controls */
.header-collapse {
    height: 15px;
    display: block;
    background-color: rgb(0, 0, 0, 0);
    text-align: center;
    color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    margin-bottom: 0.2rem;
}

    .header-collapse:hover {
        background-color: rgba(0, 0, 0, 0.1);
        color: rgba(255, 255, 255, 0.6);
    }

    .header-collapse:active:hover {
        background-color: rgba(0, 0, 0, 0.25);
        color: rgba(255, 255, 255, 0.8);
    }

    .header-collapse .fa-angle-double-up {
        transform: rotate(0deg);
        transition: 0.5s transform ease-in-out;
        display: inline-block;
    }

    .header-collapse.collapsed .fa-angle-double-up {
        transform: rotate(180deg);
    }

/*
 * Section Box Styles
 */
.section-box {
    margin-bottom: 2rem;
    background-color: var(--section-box-bg-white);
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-clip: border-box;
    border: 0 solid rgba(0, 0, 0, 0.125);
    border-radius: 0.2rem;
    box-shadow: 0 2px 4px rgba(126, 142, 177, 0.12);
}

.section-header {
    padding: 0.95rem var(--section-box-side-padding);
}

.section-header-empty {
    padding: 0.5rem;
}

.section-header h4,
.section-header-title {
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: var(--section-header-title-font-size);
    color: #888;
    font-family: Segoe UI, Helvetica Neue, Arial, sans-serif;
}

.section-header-subtitle {
    font-size: var(--body-font-size);
}

.section-body {
    padding: var(--section-box-side-padding);
    padding-top: 0.25rem;
}

/* section box in non-sidebar base templates */
.section-box-wide {
    background-color: var(--section-box-bg-white);
    margin: 10px;
    padding-bottom: 10px;
}

/* settings */
.section-box.settings {
    padding: 0;
    margin-left: 0;
}

.section-box > .list-group:last-child .list-group-item:last-child {
    border-bottom-right-radius: 0.2rem;
    border-bottom-left-radius: 0.2rem;
}

.section-box > .list-group:first-child .list-group-item:first-child {
    border-top-right-radius: 0.2rem;
    border-top-left-radius: 0.2rem;
}

/* add shadow to bootstrap card */
.card-shadow {
    box-shadow: 0 2px 4px rgba(126, 142, 177, 0.12);
}

/* tab section boxes */
.section-box-tab {
    margin-bottom: 2rem;
}

    .section-box-tab .nav-tabs {
        border: 0;
    }

.nav-tabs .nav-item {
    margin-bottom: -1px;
}

.section-box-tab .nav-tabs .nav-link {
    background: #efefef;
    color: #9399a0;
    padding: 0.75rem 1rem;
    border: 0;
}

    .section-box-tab .nav-tabs .nav-link:hover {
        color: #3b7ddd;
    }

    .section-box-tab .nav-tabs .nav-link.active {
        background: #fff;
        color: #343a40;
    }

.section-box-tab .tab-content {
    background: #fff;
    border-radius: 0.2rem;
    /* box-shadow: 0 0.5rem 1rem rgba(126, 142, 177, 0.12); */
    box-shadow: 0 2px 4px rgba(126, 142, 177, 0.12);
}

/*
 * Navbar
 */

.navbar-brand {
    padding-top: 0.5rem;
    font-size: 1rem;
}

.navbar-logo {
    width: 32px;
    padding-bottom: 5px;
}

.sidebar-toggle {
    padding: 0.9rem;
    cursor: pointer;
    font-size: 1.2rem;
}

a.sidebar-toggle {
    color: rgba(255, 255, 255, 0.25);
}

    a.sidebar-toggle:hover {
        color: rgba(255, 255, 255, 0.5);
    }

.navbar-items {
    border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.bg-ivt {
    background-color: var(--navbar-bg-blue) !important;
    box-shadow: inset 0 -1px 0px 0px rgba(255, 255, 255, 0.05);
}

.navbar-toggler {
    border: none;
}

    .navbar-toggler:hover {
        color: rgba(255, 255, 255, 0.8);
    }

/* widen spacing between navbar items */
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 0.85rem;
        padding-left: 0.5rem;
    }

    /* navbar items on the right - retain original spacing */
    .navbar-expand-lg .navbar-nav.navbar-nav-right .nav-link {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }
}

/*
 * Sidebar
 */

.sidebar {
    padding-top: 4rem;
    min-width: 250px;
    max-width: 250px;
    -webkit-transition: margin-left 0.3s ease-in-out, left 0.3s ease-in-out, margin-right 0.3s ease-in-out, right 0.3s ease-in-out;
    transition: margin-left 0.3s ease-in-out, left 0.3s ease-in-out, margin-right 0.3s ease-in-out, right 0.3s ease-in-out;
    background: var(--sidebar-bg-white);
    border-right: 0;
    box-shadow: 0 0 2rem 0 rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.sidebar-nav {
    list-style: none;
    flex: 1;
    padding-left: 0;
}

.sidebar-header {
    color: #adb5bd;
    padding: 0.375rem 1.5rem;
    margin-top: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.sidebar-link,
a.sidebar-link {
    display: block;
    padding: 0.65rem 0.75rem;
    margin: 0 0.5rem;
    color: #6c757d;
    font-weight: 400;
    text-decoration: none;
}

    .sidebar-link:hover {
        color: #212529;
        background: #fff;
    }

.sidebar-item.active,
.sidebar-item.active .sidebar-link:hover {
    color: #212529;
    background: #e9ecef;
}

.sidebar-dropdown .sidebar-link {
    padding: 0.35rem 1.5rem 0.35rem 2.75rem;
    margin: 0 0.5rem;
    color: #6c757d;
    font-weight: 400;
    font-size: 90%;
}

.sidebar-dropdown .sidebar-item.active .sidebar-link,
.sidebar-dropdown .sidebar-item .sidebar-link:hover {
    color: #212529;
    background: #fff;
    font-weight: 400;
}

.bullet-point {
    display: inline-block;
}

.sidebar-link .fa-angle-right {
    transform: rotate(90deg);
    transition: 0.2s transform ease-in-out;
    display: inline-block;
}

.sidebar-link.collapsed .fa-angle-right {
    transform: rotate(0deg);
}

.sidebar.toggled {
    margin-left: -250px;
}

/* auto-collapsing sidebar when width is less than 991px */
@media (min-width: 1px) and (max-width: 991.98px) {
    .sidebar {
        margin-left: -250px;
    }

        .sidebar.toggled {
            margin-left: 0;
        }
}

/*
 * Sidebar - Filter
 */

.ivt-sidebar-filter {
    flex: 1;
    padding: 10px;
}

.ivt-datepicker-prepend {
    width: 70px;
}

/*
 * Footer
 */
.footer {
    display: block;
    margin-top: 1rem;
    margin-left: -1rem;
    color: #999;
}

/* app list page*/
.card-app-icon {
    text-align: center;
    display: block;
    padding: 1rem;
}

.card-footer {
    background-color: white;
    border: none;
}

/* force flexible table widths */
.table {
    width: 100% !important;
}

/* table.dataTable tbody td {
  vertical-align: middle;
   white-space: nowrap; 
} */

/* table.dataTable tbody tr {
  max-height: 30px;
} */
