﻿/* 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. */

:root {
    --primary: #364759;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

* {
    font-family: 'Source Sans 3', sans-serif;
}

html {
    font-size: 14px;
}

.page-container {
    min-height: calc(100vh - 50px);
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
label,
.btn-link {
    color: #646464;
    font-family: 'Source Sans 3', sans-serif;
}

    a,
    a.nav-link,
    a:hover {
        color: #ee4046;
    }

        a.footer-link {
            color: white;
        }

        a.btn-default {
            background-color: #ee4046;
            border: none;
            color: white;
            padding: 8px 10px;
            text-align: center;
            text-decoration: none;
            display: inline-block;
            cursor: pointer;
        }

            a.btn-default:hover {
                color: white;
            }

label {
    font-weight: bold;
}

.flex-1 { flex: 1 !important; }
.flex-2 { flex: 2 !important; }
.flex-3 { flex: 3 !important; }
.flex-4 { flex: 4 !important; }
.flex-5 { flex: 5 !important; }
.flex-6 { flex: 6 !important; }

.navbar {
    color: #ffffff;
    background-color: #364759;
    box-shadow: 0px 2px 16px 0px rgba(0,0,0,0.6);
}

.navbar-brand {
    background: url(../images/EconestLogo_IconWordmark-02.svg) no-repeat;
    background-size: contain;
    background-position: center left;
    margin-top: 6px;
    margin-bottom: -6px;
    height: 32px;
    margin-left: 16px;
    width: 200px;
    max-width: 50vw;
}

ul.navbar-nav {
    padding-right: 20px;
    gap: 12px;
}

.nav-pills .nav-link.active {
    background-color: #ee4046;
    border: none;
    color: #ffffff;
    box-shadow: 0px 4px 13px -2px rgba(0,0,0,0.39);
}

main {
    padding-top: 16px;
    padding-bottom: 50px;
    bottom: 16px;
}

.manage-nav {
    border-right: 1px solid rgba(8,8,8, 0.1);
}

.manage-body {
    padding: 20px 0 0 28px;
}

    .manage-body > h4 {
        padding-bottom: 12px;
    }

    .manage-body form {
        padding-left: 18px;
    }

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 12px;
}

input[type=text], input[type=tel], input[type=email], input[type=password], select, .input-group-append {
    box-shadow: 0px 2px 10px -2px rgba(0,0,0,0.17);
}

.btn {
    border: none;
    box-shadow: 0px 4px 13px -2px rgba(0,0,0,0.39);
}

    .btn:hover {
        border: none;
        box-shadow: 0px 4px 13px 0px rgba(0,0,0,0.39);
    }

.btn-primary {
    background-color: #ee4046;
}

    .btn-primary:hover {
        background-color: #364759;
    }

.nav-pills .nav-link {
    background-color: transparent;
    border: 1px solid transparent;
}

.econestLogo {
    width: 60%;
    padding: 2em;
}

.footer {
    font-family: 'Source Sans 3', sans-serif !important;
    color: #ffffff;
    overflow: hidden;
    position: static;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    white-space: nowrap;
    height: 50px;
    line-height: 50px;
    background-color: #ee4046;
    box-shadow: 0px -2px 6px 0px rgba(0,0,0,0.2);
}

kbd {
    background-color: #ee4046;
}

.hidden {
    display: none;
}

.text-right {
    text-align: right;
}

.login-icon {
    max-height: 28px;
    margin-right: 8px;
}

.login-button {
    height: 48px;
    padding: 4px 0;
}

/* Tree View */

ul.tree-view {
    list-style-type: none;
    margin-left: 0;
    padding-left: 0;
    padding-top: 12px;
}

    ul.tree-view > li {
        margin-bottom: 4px;
    }

    ul.tree-view .title {
        flex: 1;
    }

    ul.tree-view > li > .parent {
        padding: 16px;
        border-radius: 10px;
        background-color: var(--primary);
        color: #fff;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 8px;
        box-shadow: 0px 2px 12px -3px rgba(0, 0, 0, 0.75);
    }

        ul.tree-view > li > .parent > .toggle {
            height: 16px;
            width: 16px;
            transition: transform 250ms;
            cursor: pointer;
        }

    ul.tree-view > li.open > .parent > .toggle {
        transform: rotate(90deg);
    }

    ul.tree-view > li > .children {
        display: flex;
        height: 0px;
        padding: 0px;
        overflow: hidden;
        flex-direction: column;
        gap: 8px;
        margin: 0 8px;
        border: none;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        box-shadow: 0px 2px 14px -6px rgba(0, 0, 0, 0.75);
        transition: padding-top 250ms, padding-bottom 250ms, box-shadow 250ms;
    }

    ul.tree-view > li.open > .children {
        height: auto;
        padding: 12px;
        border: 1px solid #aaa;
    }

    ul.tree-view > li > .children > div {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

.modal {
    padding: 28px 0;
}

.modal-dialog {
    overflow-y: initial !important;
    margin-top: 0;
    margin-bottom: 0;
}

.modal-content {
    overflow: hidden;
}

.modal-header {
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.15);
}

.modal-body {
    max-height: calc(100vh - 121px);
    overflow-y: auto;
    padding: 34px 34px 0 34px;
}

.modal-footer {
    box-shadow: 0 -2px 16px 0 rgba(0,0,0,0.15);
    padding: 18px 22px;
    background: #fff;
    margin: 0 -34px;
    display: flex;
    position: sticky;
    bottom: 0;
    flex-direction: row-reverse;
    justify-content: space-between;
}

input.disabled {
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  cursor: not-allowed;
}

/***************/

/*
The size of the default popup login window is:

width: 800px;
height: 639px;

Good for testing styling
*/


