﻿/* 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. */

@media (min-width: 1200px) {
    .container { max-width: 2560px; }
}

html, body {
    background-color: aliceblue;
    line-height: 1;
}

h1, .h1 { color: #187eca; }

/* Top nav bar and side bar start */

.navbar {
    padding: .5rem 0;
    position: relative;
}

.btn-dark { border-radius: 0; }

#sidebar-container {
    background-color: #333;
    min-height: 90vh;
    padding: 0;
}

#body-container {
    margin-bottom: 60px;
}

/* Sidebar sizes when expanded and expanded */

.sidebar-expanded { width: 300px; }

.sidebar-collapsed { width: 100px; }

/* Menu item*/

#sidebar-container .list-group a {
    color: white;
    height: 60px;
}

/* Submenu item*/

#sidebar-container .list-group .sidebar-submenu a {
    height: 60px;
    padding-left: 30px;
}

.sidebar-submenu { font-size: 0.9rem; }

/* Separators */

.sidebar-separator-title {
    background-color: #333;
    height: 35px;
}

.sidebar-separator {
    background-color: #333;
    height: 25px;
}

.logo-separator {
    background-color: #333;
    height: 60px;
}

/* Top nav bar and side bar end */

/*------------------------------------
 - COLOR ppblue start
 ------------------------------------*/

.btn-link-ppblue {
    color: #187eca;
}

.alert-ppblue {
    background-color: #b7dbf6;
    border-color: #a5d2f4;
    color: #0b395c;
}

.alert-ppblue hr { border-top-color: #8ec7f1; }

.alert-ppblue .alert-link { color: #051d2f; }

.badge-ppblue {
    background-color: #187eca;
    color: #fff;
}

.badge-ppblue[href]:hover, .badge-ppblue[href]:focus {
    background-color: #12619c;
    color: #fff;
}

.bg-ppblue { background-color: #187eca !important; }

a.bg-ppblue:hover, a.bg-ppblue:focus, button.bg-ppblue:hover, button.bg-ppblue:focus { background-color: #12619c !important; }

.border-ppblue { border-color: #187eca !important; }

.btn-ppblue {
    background-color: #187eca;
    border-color: #187eca;
    color: #fff;
}

.btn-ppblue:hover {
    background-color: #146aaa;
    border-color: #12619c;
    color: #fff;
}

.btn-ppblue:focus, .btn-ppblue.focus { box-shadow: 0 0 0 0.2rem rgba(24, 126, 202, 0.5); }

.btn-ppblue.disabled, .btn-ppblue:disabled {
    background-color: #187eca;
    border-color: #187eca;
    color: #fff;
}

.btn-ppblue:not(:disabled):not(.disabled):active, .btn-ppblue:not(:disabled):not(.disabled).active, .show > .btn-ppblue.dropdown-toggle {
    background-color: #12619c;
    border-color: #10598e;
    color: #fff;
}

.btn-ppblue:not(:disabled):not(.disabled):active:focus, .btn-ppblue:not(:disabled):not(.disabled).active:focus, .show > .btn-ppblue.dropdown-toggle:focus { box-shadow: 0 0 0 0.2rem rgba(24, 126, 202, 0.5); }

.btn-outline-ppblue {
    background-color: transparent;
    border-color: #187eca;
    color: #187eca;
}

.btn-outline-ppblue:hover {
    background-color: #187eca;
    border-color: #187eca;
    color: #fff;
}

.btn-outline-ppblue:focus, .btn-outline-ppblue.focus { box-shadow: 0 0 0 0.2rem rgba(24, 126, 202, 0.5); }

.btn-outline-ppblue.disabled, .btn-outline-ppblue:disabled {
    background-color: transparent;
    color: #187eca;
}

.btn-outline-ppblue:not(:disabled):not(.disabled):active, .btn-outline-ppblue:not(:disabled):not(.disabled).active, .show > .btn-outline-ppblue.dropdown-toggle {
    background-color: #187eca;
    border-color: #187eca;
    color: #fff;
}

.btn-outline-ppblue:not(:disabled):not(.disabled):active:focus, .btn-outline-ppblue:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-ppblue.dropdown-toggle:focus { box-shadow: 0 0 0 0.2rem rgba(24, 126, 202, 0.5); }

.list-group-item-ppblue {
    background-color: #a5d2f4;
    color: #0b395c;
}

.list-group-item-ppblue.list-group-item-action:hover, .list-group-item-ppblue.list-group-item-action:focus {
    background-color: #8ec7f1;
    color: #0b395c;
}

.list-group-item-ppblue.list-group-item-action.active {
    background-color: #0b395c;
    border-color: #0b395c;
    color: #fff;
}

.table-ppblue, .table-ppblue > th, .table-ppblue > td { background-color: #a5d2f4; }

.table-hover .table-ppblue:hover { background-color: #8ec7f1; }

.table-hover .table-ppblue:hover > td, .table-hover .table-ppblue:hover > th { background-color: #8ec7f1; }

.table-responsive {
    max-height: 60vh;
}

.text-ppblue { color: #187eca !important; }

a.text-ppblue:hover, a.text-ppblue:focus { color: #12619c !important; }

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background-color: #187eca;
    color: #fff;
}

a {
    background-color: transparent;
    color: #187eca;
    text-decoration: none;
}

​

/*------------------------------------
 - COLOR ppblue end
 ------------------------------------*/

.table-striped > tbody > tr:nth-child(odd) > td,
.table-striped > tbody > tr:nth-child(odd) > th { background-color: aliceblue; }

.table-striped > tbody > tr:nth-child(even) > td,
.table-striped > tbody > tr:nth-child(even) > th { background-color: #fff; }

.custom-checkbox {
    height: 100%;
    line-height: 1.5;
}

.gj-icon { color: #187eca }

thead {
    background-color: #187eca;
    color: #fff
}

.img-template {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: .25rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
    padding: .25rem;
    width: 100%;
}

.report-container {
    background-color: #fff;
    clear: both;
    height: 100%;
    padding: 0px;
    width: 100%;
}

.desktop-view iframe, .mobile-view iframe {
    border: none;
}


.main-footer { padding: 1.25rem; }


@media (min-width: 576px) {
    .navbar-expand-sm .navbar-nav {
        -ms-flex-direction: row;
    }
}

.navbar-brand { padding-left: 2.5rem; }

.dropdown-phone {
    padding: 20px;
    position: relative;
}

.navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover { color: #fff; }

.row { margin-right: 0px; }

.footer {
    bottom: 0;
    line-height: 60px;
    position: absolute;
    width: 100%;
}

.dropify-wrapper .dropify-message {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(50%);
    transform: translateY(50%);
}

/*------------------------------------
 - bootstrap slider for AdviceSettings
 ------------------------------------*/
#slider12 .slider-track-high {
    background: red;
    height: 14px;
}

#slider12 .slider-track-low {
    background: green;
    height: 14px;
}

#slider12 .slider-selection {
    background: yellow;
    height: 14px;
}

#slider12.slider.slider-horizontal {
    width: 480px;
    height: 15px;
}

#slider12 .slider-handle{
    width: 23px;
    height: 23px;
}

#slider12.slider.slider-horizontal .slider-handle {
    margin-left: -10px;
    margin-top: -3px;
}

/*------------------------------------
 - loading button on AdviceSettings page
 ------------------------------------*/
.htmx-request .btn-submit {
    display: none;
}

.btn-loading {
    display: none;
}

.htmx-request .btn-loading {
    display: initial;
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
    opacity: initial;
}

.test-warning {
    font-weight: bold;
    offset-position: top 10%;
    color: #FF3030;
}

.btn-copy:before {
    content: '📋';
}

.domain-function-question-circle {
    font-size: 20px;
}

/*------------------------------------
 - Blob.csthml styling
 ------------------------------------*/
.content-container {
    position: relative;
    padding-top: 50px;
}

.pre-container {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 20px;
    margin-top: 20px; 
}

.copy-btn, .download-btn {
    position: absolute;
    top: 30px;
    cursor: pointer;
}

.copy-btn {
    right: 110px;
}

.download-btn {
    right: 10px;
}

pre {
    overflow: hidden;
}


/*------------------------------------
 - InsightsDashboard.csthml styling
 ------------------------------------*/

.insight-parent-container {
    display: flex;
    justify-content: center;
}

.insight-container {
    flex: 1;
    margin-right: 20px;
    max-width: 600px;
}

.chart-container {
    flex: 1;
    max-width: 600px;
}

.chatbox-container {
    width: 400px;
    margin-right: 20px;
    
}

.insight-chatbox {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto 1fr;
    border: 1px solid #ccc;
    overflow-y: auto;
    height: 800px;
    width: 100%;
    position: relative;
    padding-top: 0;
}

.insight-column-header {
    font-weight: bold;
    border-bottom: 1px solid #ccc;
    padding: 10px;
    background-color: #187eca;
    color: aliceblue;
}

.insight-column {
    padding: 10px;
    border-right: 1px solid #ccc;
    word-wrap: break-word;
    display: flex;
    flex-direction: column-reverse;
    overflow-anchor: auto !important;
    align-items: flex-start;
    height: 100%;
}

.insight-column div {
    margin-bottom: 5px;
}

.insight-column:last-child {
    border-right: none;
}

.insight-chart-container {
    width: 100%;
    max-width: 600px;
    margin: auto;
}

.insight-chart-container canvas {
    width: 1000px;
    height: 400px
}
