﻿html, body {
    /*   background-color: lightgreen !important; */
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif ;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

main-layout {
    /* fallback for older browsers */
    min-height: 100vh;
    /* modern way to handle mobile browser address bars */
    min-height: 100dvh;
    background-color: hsl(210, 100%, 90%);
    /*    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
 background-image: linear-gradient(to right top, #ece2e8, #e5d4e4, #dac7e3, #c9bce4, #b2b2e6, #a3b5e9, #93b8e9, #84bbe7, #8fc7e4, #a2d2e0, #badbdf, #d2e3e2);
*/ background-attachment: fixed;
    display: flex;
    flex-direction: column;
}

.flx-full {
    flex: 1;
}
.sm-container {
    border: 1px solid grey;
    border-radius: 3px;
    padding:4px 6px;
    margin-left: 4px 6px;
    max-height: 300px; /* adjust as needed */
    overflow-y: auto; /* vertical scrollbar */
    overflow-x: auto; /* horizontal scrollbar if needed */
}
.sm-Button {
    margin: 2px 8px;
    padding: 3px 12px;
    text-align: center;
    border: 1px solid green;
    border-radius: 3px;
    transition: background-color .3s ease;
}
.sm-Button:hover {
    background-color:#444a4c;
    color:white;
}
.sticky-header thead tr {
    position: sticky;
    top: 0;
    background-color: #f8f9fa; /* light gray */
    z-index: 2;
}

.selected-row {
    background-color: #d1ecf1; /* highlight color */
}

.mudw100 {
    width: 100%;
}
.page-sugg-noborder{
    padding-top:12px;
    width : inherit !important;
    height:35px;
    border:0px;
  background-color:white !important;
}

.mud-select-input {
    padding: 2px;
    /* margin: 10px 6px -1px;*/
    height: 35px; /* Adjust to your preferred height */
    /*min-height: 35px;*/
    vertical-align: middle;
}

.table-header-navy {
    background-color: #001f3f !important;
    color: white !important;
}

.sticky-button-container {
    /*position: -webkit-sticky;  Support for Safari */
    position: absolute;
    top: 650px;
    left: 16px !important;
    z-index: 100;
    background-color: transparent;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0px -2px 10px rgba(0,0,0,0.1);
    width: fit-content;
}

.custom-column-style {
    width: 50px;
    text-align: center;
    font-weight: 900;
}

.mud-expanel {
    height: 30px;
}

.marginpad10 {
    margin: 10px;
    padding: 10px;
    background-color: #747675;
    color: white;
    border-radius: 6px;
}

.mudw50 {
    width: 50%;
}

.mleft35 {
    margin-left: 35px;
}

.mgtop10 {
    margin-top: 10px;
}

.mgtop15 {
    margin-top: 15px;
}

.mud-button-label {
    font-size: .8rem;
    font-weight: normal;
    text-transform: capitalize;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif
}
.wid-sugg {
    width: 200px;
}

@font-face {
    font-family: 'Exo';
    src: url('fonts-exo2/Exo2-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Exo';
    src: url('fonts-exo2/Exo2-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

.mud-nav-link {
    font-family: 'Exo', Cambria, Cochin, Georgia, Times, Times New Roman, serif !important;
    font-size: 12px;
    color: #0b082e !important;
}

.mud-nav-group .mud-nav-link {
    padding: 2px 9px;
}

.lib-bg {
    min-height: 100vh;
    /* file path relative to the CSS file location */
    background-image: url("/images/background/backlight1.svg");
    background-size: cover; /* fill screen without distortion */
    background-position: center; /* keep balanced composition */
    background-repeat: no-repeat;
    background-attachment: fixed; /* nice subtle parallax on desktop */
    overflow: hidden;
}

.grdItem {
    height: 25px;
}
/*.mud-grid-item * {
    padding: 6px 4px !important;
}
*/
@media (prefers-color-scheme: dark) {
    .lib-bg {
        background-image: url("/images/library-hall-dark.svg");
    }
}

.libimg {
    width: 160px;
    height: auto;
    border-radius: 4px;
    box-shadow: 2px 2px 6px 1px;
}

.loginhd {
    padding-top: 20px;
    margin-top: 0px;
    margin-bottom: 0;
    margin-left: 0px !important;
    width: 100%;
    background-color: #dce0db;
}

.itemhd {
    width: 100%;
    text-align: center;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.mh3 {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-weight: bold
}

.logcont {
    background-color: #d1cdc0;
    padding: 4px 8px 12px 8px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    height: auto;
    border-radius: 6px;
}

.mh5 {
    color: #4c4f57;
    font-weight: bold;
    font-family: serif
}

.sellib {
    margin: 8px; /* same as m-2 */
    width: 95%;
}

    .sellib thead th:first-child {
        width: 70%;
        color: green;
    }

    .sellib thead th:last-child {
        width: 30%;
    }

    .sellib tbody th:first-child {
        width: 70%;
        color: green;
    }

    .sellib tbody th:last-child {
        width: 30%;
    }
/*    .sellib  .col-library {

        color: yellow;
    }

    .sellib  .col-actions {
        width: 100%;
    }
*/
.sellib1 {
    width: 80%;
}

.sellib2 {
    width: 20%;
}

.hometm {
    margin-top: 55px;
}



.dashbLsSmall-title {
    width: 35%;
}

.dashbLsSmall-auth {
    width: 20%;
}

.dashbLsSmall-catdate {
    width: 90px;
}

.dashbLsSmall-callno {
    width: 60px;
}

.dashbLsSmall-publ {
    width: 150px;
}

.dashbLsSmall-ctrl {
    width: 30px;
}

.menulnk {
    text-decoration: none !important;
    display: block;
    font-size: 13px !important;
    padding-top: 8px !important;
}

    .menulnk :hover {
        color: darkblue !important;
    }

.visitPganc {
    text-decoration: none !important;
    color: darkslateblue !important;
    font-size: 11px !important;
}

    .visitPganc :hover {
        font-size: 13px !important;
    }

.circlesm {
    width: 4mm;
    height: 4mm;
    border: 2px solid black; /* Thickness of the circle outline */
    border-radius: 50%; /* Makes it a perfect circle */
    background-color: transparent; /* Keeps it empty */
    display: inline-block;
}

.lnks {
    color: blueviolet;
    padding: 4px 8px !important;
    font-size: 13px !important;
}

.pagesugg {
    border-radius: 6px;
    /*height: 25px;*/
    margin: 0;
    padding: 0; 
    background-color: white;
}

.pdmp {
    padding: 15px 8px 20px 6px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    margin-top: 8px;
}

.mud-table-head {
    background-color: #ccc;
    border-bottom: 1px solid #737576;
}

.pdspec {
    margin-top: 25px;
}

.pd10px {
    margin-top: 8px !important;
}

.mud-grid-item {
    margin-top: 0px !important;
    padding-top: 3px !important;
}

.mud-grid {
    margin-bottom: 15px;
}

.imglogo {
    height: 63px;
    border: 1px solid grey;
    border-radius: 5px;
}

.appbar {
    display: flex;
    /*height:200px;*/
    width: 100%;
    /* flex-wrap: wrap;*/
    align-items: center; /* vertical centering */
}

    .appbar > div:nth-child(1) {
        flex: 0 0 130px;
    }

    .appbar > div:nth-child(2) {
        flex: 0 0 25px;
    }

    .appbar > div:nth-child(3) {
        flex: 0 0 45px;
    }

    .appbar > div:nth-child(4) {
        flex: 1 1 auto;
    }
    /* takes remaining space */
    .appbar > div:nth-child(5) {
        flex: 0 0 300px;
    }

    .appbar > div:nth-child(6) {
        flex: 0 0 30px;
    }

.mobvwsearch {
    display: none;
}
/* Mobile override */
@media (max-width: 600px) {
    .appbar > div:nth-child(1) {
        flex: 0 0 40px; /* shrink logo container */
    }

    .imglogo {
        height: 25px;
        border: 1px solid grey;
        border-radius: 3px;
    }

    .appbar > div:nth-child(5) {
        display: none;
    }

    .appbar > div:nth-child(3) {
        flex: 0 0 30px;
    }

    .mobvwsearch {
        display: block;
    }

    .appbar > div:nth-child(1) {
        flex: 0 1 130px;
        height: auto;
    }

    .appbar > div:nth-child(4) {
        flex: 1 1 auto;
    }

        .appbar > div:nth-child(4) > h5 {
            font-size: 16px;
        }

    .h5 {
        font-size: 18px;
    }
}

.mud-typography-body2 {
    font-size: 13px !important;
}


.mud-nav-link-text {
    font-size: 13px !important;
}

.mud-table-cell {
    background-color: rgba(255,255,255,0.6);
    height: 20px !important;
    font-size: 12px !important;
    padding: 3px 4px !important;
    margin: 0;
}

    .mud-table-cell > .mud-button-label {
        font-size: 12px !important;
    }

.mudtable-vend{
    width:350px;
}
.mudtable-locn {
    width: 350px;
}
.mudtable-cpno {
    width: 50px;
}
.mud-expand-panel-header {
    background-color: #e3e3e3 !important;
    color: darkslategray !important;
    border-radius: 6px;
}

.mud-table-head {
}

    .mud-table-head > tr > th {
        background-color: #45725e !important;
        color: white !important;
        text-align: center;
    }

.table-header {
    background-color: #5c9068 !important;
}

.mud-table-cell {
}
