@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
    --bs-font-sans-serif: Roboto!important;
}

/*FONT SIZES*/

.largerFont {
    font-size: 1.2rem;
}

.smallFont {
    font-size: 0.9rem;
}

.smallerFont {
    font-size: 0.8rem;
}

.verySmallFont {
    font-size: 0.7rem;
}

/* FONT TYPE */
.kanji {
    font-family: Papyrus;
}

/*LINKS*/

.darklink a:link {
    color: #000;
    background-color: transparent;
    text-decoration: none;
}
.darklink a:visited {
    color: #000;
    background-color: transparent;
    text-decoration: none;
}
.lightlink a:link {
    color: #fff;
    background-color: transparent;
    text-decoration: none;
}
.lightlink a:visited {
    color: #fff;
    background-color: transparent;
    text-decoration: none;
}
.redlink a:visited {
    color: darkred;
    background-color: transparent;
    text-decoration: none;
}
.redlink a:link {
    color: darkred;
    background-color: transparent;
    text-decoration: none;
}
.underlink a:link {
    color: #000;
    background-color: transparent;
}
.underlink a:visited {
    color: #000;
    background-color: transparent;
}

/*Special Div Formatting*/

.darkred-border {
    border-color: #8C5896;
    border-width: 4px;
    border-style: solid;
}
.darkred-three-border {
    border-color: #8C5896;
    border-width: 4px;
    border-style: solid;
}
.darkred-slim-border {
    border-color: #8C5896;
    border-width: 2px;
    border-style: solid;
}
.black-slim-border {
    border-color: #484848;
    border-width: 3px;
    border-style: solid;
}

.center-div {
    display: flex;
    justify-content: center;
}

/* Main Colors */

.ganbatte {
    color: #9bafb5;
}
.ganbatte-background {
    background-color: #9bafb5;
}
.ganbatte-green {
    color: #A2B59B;
}
.ganbatte-green-background {
    background-color: #A2B59B;
}
.greenbrier {
    color: #48996B;
}
.greenbrier-background {
    background-color: #006464;
}
.foliage {
    color: #759F51;
}
.foliage-background {
    background-color: #759F51;
}
.treetop {
    color: #436A2F;
}
.treetop-background {
    background-color: #436A2F;
}
.celery {
    color: #CFBF54;
}
.celery-background {
    background-color: #CFBF54;
}
.chaitea {
    color: #B3832F;
}
.chaitea-background {
    background-color: #B3832F;
}
.dewberry {
    color: #8C5896;
}
.dewberry-background {
    background-color: #8C5896;
}
.veryperi {
    color: #6667AB;
}
.veryperi-background {
    background-color: #6667AB;
}
.eggshellblue {
    color: #A1CAC9;
}
.eggshellblue-background {
    background-color: #A1CAC9;
}

/*Needed Plain Colors*/
.darkred {
    color: darkred;
}
.black {
    color: #000000;
}
.black-background {
    background-color: #000000;
}
.darkgray {
    color: #2b2b2b;
}
.mediumgray-background {
    background-color: #6d737b;
}
.white {
    color: white;
}
.white-background {
    background-color: white;
}
.just-plain-green {
    color: green;
}

/*HOVERING*/
/* Need this code to be able to change it with the hover; can't use native bootstrap */
.treetophover {
    border-style: solid;
    border-width: 5px;
    border-color: #dee2e6;
}
.treetophover:hover {
    background-color: #436A2F;
    color: #fff;
}

.biggerLineSpace {
    line-height: 1.1em;
}

/* Background gradient colors in line with https://getbootstrap.com/docs/5.0/customize/color/ */

.l-bg-bs5blue {
    background: linear-gradient(to right, #0a58ca, #cfe2ff) !important;
    color: #fff;
}
.l-bg-bs5indigo {
    background: linear-gradient(to right, #520dc2, #e0cffc) !important;
    color: #fff;
}
.l-bg-bs5pink {
    background: linear-gradient(to right, #ab296a, #f7d6e6) !important;
    color: #fff;
}
.l-bg-bs5red {
    background: linear-gradient(to right, #b02a37, #f8d7db) !important;
    color: #fff;
}
.l-bg-orange {
    background: linear-gradient(to right, #f9900e, #ffba56) !important;
    color: #fff;
}
.l-bg-bs5orange {
    background: linear-gradient(to right, #ca6510, #ffe5d0) !important;
    color: #fff;
}
.l-bg-bs5yellow {
    background: linear-gradient(to right, #cc9a06, #fff3cd) !important;
    color: #fff;
}
.l-bg-bs5green {
    background: linear-gradient(to right, #0f5032, #a1cac9) !important;
    color: #fff;
}
.l-bg-cyan {
    background: linear-gradient(135deg, #289cf5, #84c0ec) !important;
    color: #fff;
}
.l-bg-bs5cyan {
    background: linear-gradient(to right, #0aa3c0, #cff4fc) !important;
    color: #fff;
}

[data-bs-toggle="popover"] {
    cursor: pointer;
    margin-left: 2px;
}

textarea.kb-tiny-mce{
    width: 100%;
    display: block;
    visibility: hidden;
}

.small-image {
    width: 200px;
}

@media print {
    .doNotPrint, .doNotPrint *
    {
        display: none !important;
    }
}
@media (max-width:629px) {
    .hideOnMobile {
        display: none;
    }
}

/* Fixed toolbar border problem (on zoom) */
.tox .tox-toolbar, .tox .tox-toolbar__overflow, .tox .tox-toolbar__primary {
    border-bottom: 1px solid transparent !important;
}

.tablesorter-bootstrap:not(.table-dark) tfoot td, .tablesorter-bootstrap:not(.table-dark) tfoot th, .tablesorter-bootstrap:not(.table-dark) thead:not(.thead-dark) .tablesorter-header {
   background-color: transparent;
}

.kb-banner {
    border: 0.5rem solid #000;
    outline: 0.5rem solid #A2B59B;
    margin: 0.5rem 0.5rem 0.5rem 0.5rem;
    background-color: #fff;
    padding: 0.5rem;
    position: relative;
}

.kb-banner__content {
    background: #9bafb5;
    border-color: #8C5896;
    border-width: 2px;
    border-style: solid;
    font-size: 2.5rem;
    color: #212529;
    font-weight: 500;
    line-height: 1.2;
    display: table;
    width: 100%;
    padding: 5px;
}

.kb-banner__content a{
    display: table-cell;
    width: 120px;
    vertical-align: middle;
}

.kb-banner__content img{
    margin-right: 8px;
    max-width: 100%;
    height: auto;
    display: block;
}

.kb-banner__title{
    display: table-cell;
    vertical-align: middle;
}

.kb-banner__title div{
    margin-top: 1px;
    margin-left: 5px;
}

.kb-banner__continuity-link {
    position: absolute;
    right: 16px;
    bottom: 1px;
    white-space: nowrap;
}

@media (max-width: 759px) {
    .kb-banner__continuity-link {
        display: none !important;
    }
}

.kb-banner__content a {
    padding: 8px;
}

.kb-page-break-inside--avoid {
    page-break-inside: avoid;
}

.kb-content {
    border: 0.5rem solid #000;
    outline: 0.5rem solid #A2B59B;
    margin: 0 0.5rem;
    background-color: #9bafb5;
}

@media print {
    .kb-content {
        border: none;
        outline: none;
        margin: 0;
        background-color: transparent;
    }

    .kb-banner {
        border: none;
        outline: none;
        margin: 0;
        padding: 0;
    }

    .kb-banner__content {
        background: #fff;
        border-color: #212529;
        border-width: 1px;
        font-size: 1.65rem;
    }

    .kb-banner__continuity-link {
        display: none;
    }
}

.tablesorter-filter.disabled {
    display: none;
}

.kb-multiselect__selectCreateNewBtn {
    color: #0d6efd;
    text-decoration: underline;
    cursor: pointer;
}

.kb-multiselect__selectCreateNewBtn:hover {
    color: #0a58ca;
}

.kb-multiselect__editButton {
    margin-left: -30px;
    font-size: 18px;
    cursor: zoom-in;
    padding: 0 5px;
}

.kb-multiselect__select .filter-option-inner-inner{
    white-space: normal;
}

@media (min-width: 768px) {
    #wideFilter .buttons{
        margin-top: 25px;
    }
}

.filterTitle h3{
    margin-bottom: -8px;
}

.rowNarrow{
    margin: 0;
}

#wideFilter #dateFrom,
#wideFilter #dateTo{
    text-transform: uppercase;
}

.JsDatePickBox{
    top: 45px!important;
}

/*Fix JsDatePickBox position*/
.form-group > span[style="position: relative;"]{
    display: block;
}

.kb-required-symbol {
    cursor: help;
}

@media print {
    .kb-force-text-inherit-on-print {
        color: inherit;
    }
}

@page {
    size: letter;
    margin: 15mm;
}

.kb-highcharts-chart-to-print{
    width: 100%;
}

@media not print {
    .kb-highcharts-chart-to-print {
        display: none;
    }
}


@media print {
    .kb-highcharts-chart-to-print + .highcharts-container {
        display: none;
    }
}

.kb-contacts .card .card-header + .card-footer {
    border-top: none;
}

.kb-contacts > * {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.kb-contacts .card-footer {
    font-size: 19px;
}

@media print {
    .kb-contacts .card-footer {
        font-size: 15px !important;
    }

    .kb-contacts .report-parameter__title,
    .kb-contacts .report-parameter__value {
        font-size: 13px !important;
    }
}

.kb-read-only-html-field {
    background: #f7f7f7;
    border: 1px solid #c3c3c3;
    padding: 6px 8px;
    page-break-inside: avoid;
    position: relative;
    min-height: 39px;
}

.kb-read-only-html-field ul {
    margin-bottom: 0;
}

.kb-read-only-html-field:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
}

@keyframes kb-show-loading-screen {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

#kb-loading-screen {
    display: none!important;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2001;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

body.kb-loading-screen-is-active #kb-loading-screen {
    display: flex!important;
    animation-duration: 1.5s;
    animation-name: kb-show-loading-screen;
    animation-iteration-count: 1;
    opacity: 1;
}


@media (prefers-reduced-motion: reduce) {
    .fa-spin {
        animation-duration: var(--fa-animation-duration, 2s);
        animation-iteration-count: var(--fa-animation-iteration-count, infinite);
    }
}

.kb-measure-report-detailed-result--combined .kb-content{
    page-break-after: always;
}