﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.9rem;
}

/* SQL Debug Panel style */
.minipre {
    display: inline;
    font-family: monospace;
    padding: 2px 4px 2px 4px;
    margin: 0 0 10px;
    background-color: rgba(233, 236, 255, 0.93);
    font-size: 13px;
    line-height: 1;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 1px;
}

#wrapper #content-wrapper {
    background-color: #ffffff !important;
}

.strike {
    text-decoration: line-through!important;
}

.shadow-top {
    box-shadow: 0 .15rem 0.45rem 0 rgba(58,59,69,.15) !important;
}

.fw-30 {
    width: 30px;
}

.fw-180 {
    width: 180px;
}

.fw-120 {
    width: 120px;
}

.fw-150 {
    width: 150px;
}

.fw-100 {
    width: 100px;
}

.fw-50 {
    width: 50px;
}

.fw-80 {
    width: 80px;
}

h1:focus {
    outline: none;
}

.h1, h1 {
    font-size: 18pt !important;
}

.h2, h2 {
    font-size: 16pt !important;
}

.h3, h3 {
    padding-top: 5px;
    font-size: 14pt !important;
}

.h4, h4 {
    font-size: 12pt !important;
    text-decoration: none !important;
    margin: 10px 0px !important;
}

.h5, h5 {
    font-size: 14pt !important;
    text-decoration: none !important;
    margin: 10px 0px !important;
}

a, .btn-link {
    color: #0071c1;
}

.fa-big {
    font-size: 24pt;
}

.imageeditor-window {
    height: 90%;
    width: 90%;
}

custom-align .k-grid-header .center-text-align {
    text-align: center;
}

custom-align .k-grid-header .right-text-align {
    text-align: right;
}

.img-shadow {
    box-shadow: 5px 5px silver;
    border: 1px solid silver;
}

.img-profile-mx {
    max-width: 32px
}

.colnp {
    padding: 1px !important;
}

.text-small {
    font-size: small;
    white-space: nowrap;
}

.text-large {
    font-size: large;
    white-space: nowrap;
}

.text-bold {
    font-weight: bold;
}

hr {
    border-top: 1px solid rgba(0, 0, 0, .5);
}


.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn-warning {
    color: #000 !important;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}


.k-prompt-container {
    max-width: 500px;
}

.sidebar-heading-light {
    font-weight: 400;
}

.table .btn {
    border: 1px solid !important;
}

.sidebar .sidebar-brand {
    padding: 0.1rem 0.1rem;
}

.sidebar {
    font-size: 0.9rem !important;
}

.nav-link-small {
    padding: 0.25rem !important;
}

    .nav-link-small:hover {
        text-decoration: none;
    }

.topbar.navbar-light .navbar-nav .nav-item .nav-link {
    height: 2em !important;
}

.topbar.navbar-light .navbar-nav .nav-item .nav-link {
    color: #9c9d9f !important;
}

.k-form .k-form-fieldset {
    margin: 0.25rem 0 0 !important;
    padding: 10px !important;
}

.sidebar .nav-item {
    padding-bottom: 0 !important
}

    .sidebar .nav-item .nav-link {
        padding: 0.5rem !important;
    }

.nav-item a {
    height: 2rem !important;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#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;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIge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AxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

#blazor-error-ui::before {
    content: ':-( ';
}

.btn-group-sm > .btn, .btn-sm {
    padding: .2rem .3rem !important;
    font-size: .875rem !important;
    line-height: 1.5 !important;
    border-radius: .2rem !important;
}

.btn-default {
    border: 1px solid silver !important;
    background-color: #fff !important;
    border-bottom: 1px solid silver !important;
}

.row {
    margin-right: 0;
    margin-left: 0;
}



.btn-thin {
    padding: 0.375rem 375rem;
}

.btn-xs {
    padding: .1rem .2rem !important;
    font-size: .6rem !important;
    line-height: 1.5 !important;
    border-radius: 2px !important;
}

.k-input-value-text {
    font-size: small;
}

.k-list *, .k-list *::before, .k-list *::after {
    font-size: small;
}

.k-button-X-small, .k-btn-small {
    font-size: small !important;
    padding: 2px 2px !important;
}

.k-btn-warning {
    background-color: #fbc120 !important;
}

.table-noborder{
    border:none!important;
}

.table-condensed tr, .table-condensed td {
    padding: 4px 8px !important;
}

.table-spaced > thead > tr > th,
.table-spaced > tbody > tr > th,
.table-spaced > tfoot > tr > th,
.table-spaced > thead > tr > td,
.table-spaced > tbody > tr > td,
.table-spaced > tfoot > tr > td {
    padding: 8px 12px!important;
}


/* Telerik Switch */
/* ON - focused state */
.switch-del.k-switch-on.k-focus .k-switch-track {
    background-color: red;
    color: #fff;
}

.btn-warning {
    color: #000; /* black on yellow looks better than white on yellow */
}

.k-window {
    border-right: 4px solid #04ad04;
    box-shadow: 0px 0px 50px 5px rgba(0,0,0,0.15) !important;
}

.h4, h4 {
    font-size: 1.1rem !important;
    font-weight: bold;
    line-height: 1;
    padding-top: 0px;
    margin: 10px;
    text-decoration: underline;
}

.k-column-title, .k-table-th {
    font-weight: bold !important;
    font-size: small !important;
}

.k-grid td, .k-grid .k-table-td, .k-grid .k-grid-content, .k-grid .k-grid-header-locked, .k-grid .k-grid-content-locked {
    font-size: small;
}

textarea, .textarea {
    width: 100%;
    border: 1px solid #dee2e6;
}

.w-60 {
    min-width: 60px;
}

.w-70 {
    min-width: 70px;
}

.w-75 {
    min-width: 75px;
}

.w-100 {
    max-width: 100px;
}

/* ------------- Alert Panel Styling ------------- */

.alert-small {
    padding: .1rem .5rem !important;
    margin-bottom: 0.5rem !important;
}

.alert-success {
    border-left: 4px solid green!important;
}

.alert-primary {
    border-left: 4px solid lightblue!important;
}

.alert-warning {
    border-left: 4px solid orange!important;
}

.alert-danger {
    border-left: 4px solid red!important;
}

.alert-info {
    color: #31708f;
    background-color: #d9edf7;
    border-left: 4px solid #337ab7!important;
}



/* ------------------ Image Editor Styles -------------- */
.parent {
    position: relative;
    top: 0;
    left: 0;
}

.image1 {
    position: relative;
    top: 0;
    left: 0;
    border: 1px solid #000000;
}

.image2 {
    position: absolute;
    top: 0px;
    left: 0px;
    border: 1px solid #000000;
}


.text-top-menu {
    color: #9c9d9f !important;
    font-size: 16px !important;
    font-weight: 400 !important;
}

/* --------------- List View Cards for Add Item Dialog ----------------- */
.k-listview-header,
.k-listview-content {
    padding: 10px;
}

.k-listview-footer {
    border-width: 0;
    padding: 5px 10px;
}

.k-listview-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, 180px);
    gap: 15px 10px;
}

.k-card-small {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    min-width: 125px;
}

.k-card-smaller {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    min-width: 100px;
    max-width: 100px;
    border: 1px solid #d8cfcf;
}

.k-card-medium {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    min-width: 140px;
    max-width: 140px;
    border: 1px solid #d8cfcf;
}

.k-card {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    min-width: 195px;
}

.k-card-fw {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    max-width: 150px;
}

.k-card-body {
    padding: 5px 0;
}

.k-card-body-small {
    padding: 1px 0;
}

.k-card .k-card-title {
    padding: 0;
    font-size: 1em;
    font-weight: bold;
    line-height: normal;
}

.k-card-subtitle {
    font-size: 0.85em;
}

.footer-note {
    text-align: right;
    font-style: italic;
    font-size: 0.85em;
}



/* ------------------------ Box Shadow - Insets --------------------- */
.top-box {
    box-shadow: inset 0 7px 9px -7px rgba(0,0,0,0.7);
}

.left-box {
    box-shadow: inset 7px 0 9px -7px rgba(0,0,0,0.7);
}

.right-box {
    box-shadow: inset -7px 0 9px -7px rgba(0,0,0,0.7);
}

.bottom-box {
    box-shadow: inset 0 -7px 9px -7px rgba(0,0,0,0.7);
}

.top-gradient-box {
    background: linear-gradient(to bottom, #999 0, #ffffff 14px, #ffffff 100%);
}

.left-gradient-box {
    background: linear-gradient(to right, #999 0, #ffffff 21px, #ffffff 50%);
    max-height: 450px;
    height: 450px;
}

.right-gradient-box {
    background: linear-gradient(to left, #999 0, #ffffff 21px, #ffffff 50%);
    max-height: 450px;
    height: 450px;
}

.bottom-gradient-box {
    background: linear-gradient(to top, #999 0, #ffffff 14px, #ffffff 100%);
}

.textcontainerinner {
    font-size: 24pt;
    font-family: 'Andika', 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.pagenumberdiv {
    font-family: 'Andika', 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    position: absolute;
    bottom: 0px;
    right: 20px;
}

.languageselect {
    position: absolute;
    bottom: 50px;
    width: 100%;
}

.otherlanguage {
    color: cornflowerblue;
}

.btn-highlight {
    border: 4px solid green !important;
    box-shadow: 2px 2px 2px lightgreen;
}
/* --------------------- Text To Speech (TTS) Styles -------------------------- */
.tts {
    display: inline-block;
}

.tts-highlight {
    background-color: #ffff54;
}


.error-text {
    font-family: monospace;
    font-size: smaller;
}

.btn-circle-medium {
    height: 40px;
    width: 40px;
    border-radius: 20px !important;
}


.btn-square-circle {
    height: 50px;
    width: 50px;
    border-radius: 25px !important;
}

.btn-circle {
    width: 60px;
    height: 60px;
    padding: 23px 28px;
    border-radius: 60px;
    font-size: 15px;
    text-align: center;
    border-color: cadetblue;
}

.btn-circle-small {
    max-width: 20px !important;
    max-height: 20px !important;
    padding: 18px 18px !important;
    border-radius: 30px !important;
    font-size: 15px !important;
    text-align: center !important;
    vertical-align: middle !important;
    border-color: cadetblue !important;
}


.btn-circle-large {
    width: 50px !important;
    height: 50px !important;
    max-width: 50px !important;
    max-height: 50px !important;
    padding: 10px 0px !important;
    border-radius: 50px !important;
    font-size: 15px !important;
    text-align: center !important;
    vertical-align: middle !important;
    border-color: cadetblue !important;
}


/* --------------------- Top Floating Nav Menu --------------------------------- */
.top-floating-menu {
    position: fixed;
    top: 10px;
}


/* -------------------- Book Listing ------------------------------------------- */

.avail {
    background-color: lightgreen;
    color: black;
    padding: 4px;
}

.rbt {
    border-top: 1px dashed silver;
}

.badge-noright {
    right: inherit !important;
}

/* Hand-Drawn Box Styles */
.box {
    margin: 25px;
    width: 250px;
    height: 250px;
    background: #fff;
    border: solid black;
    border-color: black;
    float: left;
}

.box1 {
    border-width: 3px 4px 3px 5px;
    border-radius: 95% 4% 92% 5%/4% 95% 6% 95%;
    transform: rotate(2deg);
    overflow: hidden;
}

.box2 {
    width: 350px;
    height: 350px;
    border-width: 3px 3px 5px 5px;
    border-radius: 4% 95% 6% 95%/95% 4% 92% 5%;
    padding: 3px;
    transform: rotate(-2deg) !important;
    overflow: hidden;
}

.box3 {
    border-width: 5px 3px 3px 5px;
    border-radius: 95% 4% 97% 5%/4% 94% 3% 95%;
    transform: rotate(2deg);
    overflow: hidden;
}

.oddboxinner {
    margin: 15px;
    transform: rotate(-2deg);
}

.img-rot {
    transform: rotate(2deg);
}

.evenboxinner {
    transform: rotate(2deg);
    margin: 15px;
    padding: 0 5px;
    float: right;
    background: #ddd;
    border: 1px solid #222;
    box-shadow: 3px 3px 0 #222;
}

.k-dialog-wrapper{
    z-index:99999;
}
/* Acknowledgement */
.small-text-footer {
    font-size: small;
    line-height: 16px;
}

.put-me-down-the-bottom {
    position: absolute;
    bottom: 30px;
    max-width: 90%;
    background: #fff;
    padding-top: 20px;
    border-top: 1px solid lightgray;
}

/* Ticket Listing*/

.escalated {
    color: red !important;
    font-weight: bold;
    opacity: 0.7;
}

/*  BYOB */
.byob_age {
    max-height: 85px;
}



/* ---------------------------- Reconnect Styling ------------------------------------- */
#components-reconnect-modal {
    display: flex !important;
    opacity: 1 !important;
    background-color: rgb(255 255 255 / 80%) !important;
}

    /*#components-reconnect-modal::before {
        content: '';
        width: 300px;
        height: 65px;
        background: #BDCBFF;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: block;
    }*/

    #components-reconnect-modal h5 {
        margin-top: 50px !important;
        padding: .75rem 1.25rem;
        width: 300px;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1050;
        color: #003494;
        background-color: #BDCBFF;
        box-shadow: 0px 10px 10px 0px hsl(0deg 0% 0% / 20%);
    }

    #components-reconnect-modal div {
        border-color: rgb(0 52 148) rgb(89 127 222) rgb(161 180 235) !important;
        margin: auto;
        z-index: 1050;
    }

    #components-reconnect-modal h5 a {
        color: #092464 !important;
    }

    #components-reconnect-modal button {
        color: #515151;
        padding: 4px 8px;
        font-size: .875rem;
        min-width: 64px;
        box-sizing: border-box;
        transition: background-color 250ms cubic-bezier(.4,0,.2,1) 0ms,box-shadow 250ms cubic-bezier(.4,0,.2,1) 0ms,border 250ms cubic-bezier(.4,0,.2,1) 0ms;
        font-weight: 500;
        line-height: 1;
        letter-spacing: .02857em;
        text-transform: uppercase;
        margin: auto !important;
        background: rgb(46 121 232 / 28%);
        z-index: 1500;
        border: 0;
    }


/* Part 2 */

.components-reconnect-show > div,
.components-reconnect-failed > div,
.components-reconnect-rejected > div {
    display: none;
}

.components-reconnect-hide > .hide,
.components-reconnect-show > .show,
.components-reconnect-failed > .failed,
.components-reconnect-rejected > .rejected {
    display: block;
}



.p5 {
    padding-right: 5px;
}

.p10 {
    padding-right: 10px;
}

.myDialog {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background-color: #fefefe;
    margin: auto;
    border: 1px solid #888;
    height: 150px;
    width: 400px;
    border-radius: 6px;
    box-shadow: 0 10px 20px rgb(0 0 0 / 10%), 0 6px 6px rgb(0 0 0 / 16%);
}

.components-reconnect-top {
    background: #6422EB;
    display: flex;
    flex-direction: row;
    height: 60px;
    transition: height 300ms cubic-bezier(0.4, 0.0, 0.2, 1);
    padding: 20px;
    color: white;
    width: 100%;
}

.components-reconnect-bottom {
    display: flex;
    flex-direction: row;
    padding: 20px;
}


/* ---------------------------- End of Reconnect Styling ------------------------------------- */


.blazored-toast-container {
    z-index: 1000005 !important; /* to override Crisp's styles and stay in front */
}


/* --------------------- Animated Icons for Book Turning & Writing ------------------------ */
.img-pink {
    filter: hue-rotate(300deg);
}

.img-pink-bg {
    background-color: #DBA1A7;
}


/* --------------- Dropdown List Box (Telerik) --------------------------------- */
.k-picker-md .k-input-inner {
    background-color: #fff !important;
}

/* -------------- Instructional Accordion - used in Book Quick Text Editor and elsewhere ----------------- */

.collapsible-accordion {
    margin: 0px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.5);
}

.collapsible-item-label {
    display: flex;
    justify-content: space-between;
    padding: 0.5em;
    cursor: pointer;
    background: #36b9cc;
    color: #fff;
}

    .collapsible-item-label::after {
        content: "⬇️";
        width: 1em;
        height: 1em;
        text-align: center;
        transition: all 0.35s;
    }

.collapsible-item-content {
    max-height: 0;
    padding: 0 0.5em;
    background: white;
    transition: all 0.35s;
}

input:checked + .collapsible-item-label::after {
    transform: rotate(180deg);
}

input:checked ~ .collapsible-item-content {
    max-height: 100vh;
    padding: 0.5em;
    line-height: 1.3em;
}


/* -------------------------------- Override to make Placeholder text lighter --------------------------- */
::placeholder {
    color: lightgray !important;
    opacity: 1; /* Firefox */
}


/* -------------------------------- Dark Mode for Charts ------------------------------------------------ */
.dark-mode {
    filter: invert(1) hue-rotate(180deg);
}


