﻿/* 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. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.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%;
}





/*MyHappinessBucket*/


#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }



.level {
    font-size: 0.65rem;
}

    .level .col.level0 {
        min-width: 9.09%;
        max-width: 9.09%;
        padding-right: 0;
    }

        .level .col.level0.scale-1to5 {
            min-width: 18.5%;
            max-width: 18.5%;
        }

    .level .col.level1 {
        min-width: 30.91%;
        max-width: 30.91%;
    }

        .level .col.level1.scale-1to5 {
            min-width: 21.5%;
            max-width: 21.5%;
        }

    .level .col.level5 {
        min-width: 20%;
        max-width: 20%;
    }

        .level .col.level5.scale-1to5 {
            text-align: right;
        }

    .level .col.level10 {
        min-width: 40%;
        max-width: 40%;
    }

@media (min-width: 990px) {
    .level .col.level0 .text-full {
        display: block;
    }

    .level .col.level0 .text-abbreviation {
        display: none;
    }
}

@media (max-width: 990px) {
    .level .col.level0 .text-full {
        display: none;
    }

    .level .col.level0 .text-abbreviation {
        display: block;
    }
}



.topic-text {
    font-size: 22px;
}

@media (max-width: 500px) {
    .topic-text {
        font-size: 14px;
    }
}




.tooltip {
    z-index: 970;
}

.slider.slider-horizontal {
    width: 100% !important;
    margin-top: 36px;
}

.slider .tooltip.bs-tooltip-top {
    margin-top: -42px !important;
}

@media (max-width: 768px) {
    .slider .tooltip.bs-tooltip-top {
        margin-top: -36px !important;
    }
}

.tooltip-inner {
    display: list-item;
    min-width: 23.55px;
}


.bucket1-topics .slider-handle,
.bucket1-topics .tooltip-inner {
    background: #4784F4;
}


.bucket1-topics .bs-tooltip-top .arrow::before {
    border-top-color: #4784F4;
}

.bucket2-topics .slider-handle,
.bucket2-topics .tooltip-inner {
    background: #34A853;
}

.bucket2-topics .bs-tooltip-top .arrow::before {
    border-top-color: #34A853;
}

.bucket3-topics .slider-handle,
.bucket3-topics .tooltip-inner {
    background: #FDBA04;
}

.bucket3-topics .bs-tooltip-top .arrow::before {
    border-top-color: #FDBA04;
}

.bucket4-topics .slider-handle,
.bucket4-topics .tooltip-inner {
    background: #EB443B;
}

.bucket4-topics .bs-tooltip-top .arrow::before {
    border-top-color: #EB443B;
}


.new-section {
    margin-top: 10px;
}

.card {
    border-radius: 10px;
}

    .card:not(:first-child) {
        margin-top: 5px;
    }

    .card .card-body {
        padding: 0.75rem;
    }



.btn.btn-link {
    padding: 0;
    border-style: none;
}

    .btn.btn-link.focus,
    .btn.btn-link:focus {
        box-shadow: none;
    }


.text-size-md {
    font-size: .80rem;
}


.toast {
    position: absolute;
    bottom: 0;
    left: 50%;
}

    .toast .alert {
        margin-bottom: 0;
    }


#chartjs-tooltip {
    z-index: 1000;
}

    #chartjs-tooltip td {
        padding: 0 5px;
        color: white;
        font-size: 13px;
    }


.grecaptcha-badge {
    opacity: 0;
}


.full-width {
    width: 100%;
}

.clickable {
    cursor: pointer;
}


div.modal-backdrop.fade.show {
    z-index: 1060;
}

    div.modal-backdrop.fade.show.first-modal {
        z-index: 1040;
    }

    div.modal-backdrop.fade.show.second-modal {
        z-index: 1050;
    }

div.modal.fade.show {
    z-index: 1065;
}

    div.modal.fade.show.first-modal {
        z-index: 1045;
    }

    div.modal.fade.show.second-modal {
        z-index: 1055;
    }





.raised-button {
    overflow: hidden;
    box-shadow: 4px 3px 1px -2px rgb(0 0 0 / 20%), 2px 2px 2px 0 rgb(0 0 0 / 14%), 1px 1px 5px 0 rgb(0 0 0 / 12%);
    color: white !important;
}

    .raised-button:hover {
        text-decoration: underline;
    }


.col-form-label {
    font-weight: 500;
}

table.dataTable > thead .no-sort.sorting:before,
table.dataTable > thead .no-sort.sorting_asc:before,
table.dataTable > thead .no-sort.sorting_desc:before,
table.dataTable > thead .no-sort.sorting_asc_disabled:before,
table.dataTable > thead .no-sort.sorting_desc_disabled:before,
table.dataTable > thead .no-sort.sorting:after,
table.dataTable > thead .no-sort.sorting_asc:after,
table.dataTable > thead .no-sort.sorting_desc:after,
table.dataTable > thead .no-sort.sorting_asc_disabled:after,
table.dataTable > thead .no-sort.sorting_desc_disabled:after {
    display: none;
}


/*DJW: move CSS & HTML to compenents*/

