/*----------------------------------------------------------------------------------*/
/* Hoverable list items */
div.list div.clickable:hover {
    background-color: deepskyblue;
    color: white;
    cursor: pointer;
}


.page-contents .list {
    width: 100%;
    height: calc(100vh - 300px);
}

/* Specific template edit textarea */
#actionEditTemplate textarea {
    height: calc(100vh - 400px);
}

#actionEditCampaign .tab-content textarea {
    height: fit-content;
}

.text-substitution,
.merge-substitution,
.img-substitution {
    display: flex;           /* Put children in a row */
    align-items: top;     /* Vertically center */
    margin-bottom: 8px;      /* Space between fields */
    gap: 8px;                /* Space between label and input/button */
}

/* Optional: make labels fixed width for alignment */
.text-substitution label,
.merge-substitution label,
.img-substitution label {
    width: 150px;            /* Adjust as needed */
    font-weight: bold;
}

#actionEditCampaign .template-layout {
    display: flex;
}

#actionEditCampaign .template-inputs {
    margin-right: 8px;
}

#actionEditCampaign .template-preview {
    margin-left: 8px;
}

#actionEditCampaign .template-inputs {
    flex: 1;
    overflow: auto;
}
#template-preview-frame {
    width: 100%;
    height: calc(100vh - 400px);
}
#actionEditCampaign .template-preview {
    flex: 1;
    border-left: 1px solid #ccc;
}
#actionEditCampaign .img-preview img {
    width:100px;
}
#actionEditCampaign button.refresh {
    float:right;
}
#actionEditCampaign .template-resizer {
    width: 6px;
    cursor: col-resize;
    background-color: #eee;
}
#actionEditCampaign .template-resizer::after {
    content: "";
    display: block;
    height: 100%;
    border-left: 1px solid #bbb;
    border-right: 1px solid #bbb;
}

#actionEditCampaign .template-resizer:hover {
    background-color: #ccc;
}
.resizing iframe {
    pointer-events: none;
}
.tab-content {
    height:calc(100vh - 295px);
    overflow:auto;
}
#template-preview-frame {
    width: 100%;
    height:calc(100vh - 400px);
}
.sv-sample {
    border:solid 1px red;
}.login-picture {
    width:50px;
    border-radius:50px;
    vertical-align: middle;
}
body {
    font-family:Roboto;
    padding:0;
    margin:0;
}
body {
    overflow:auto!important;
    height:100vh;
}
button, input[type='file'] {
    margin-right:6px;
    padding:2px 4px;
    min-width:60px;
    height:30px;
}
button > .mfhourglass-container {
    margin-left:10px;
    vertical-align: middle;
}
select {
    padding:8px;
    width:100%;
}
input[type='checkbox'] {
    width:20px;
    height:20px;
    vertical-align:sub;
}
.floatingMessageContainer {
    right:40vw!important;
}
nav.page-head {
    background-color:white;
    display:flex;
    align-items:center;
    padding:0;
    margin:0;
    width:calc(100% - 100px);
}
nav.page-head > .page-menu {
    font-family:"Public Sans";
    flex:0 0 auto;
    padding:10px;
    cursor:pointer;
    border-radius:50px;
    margin:5px;
    transition:all 0.25s ease-in-out;
}
nav.page-head > .page-menu.selected {
    background-color:black!important;
}
nav.page-head > .page-menu.selected  > a{
    color:white!important;
}
nav.page-head > .page-menu > a {
    text-decoration: none;
    color: #545454;
    font-weight:600;
}
nav.page-head > .page-menu:hover {
    background-color: rgba(0, 191, 255, 0.2);
}
span.page-menu.selected {
    padding-right:17px;
}
span.page-menu i {
    vertical-align: middle;
}
@media screen and (max-width:900px) {
    .page-menu span.tx {
        display:none;
    }
    span.page-menu.selected {
        padding-right: 0 !important;
        width:34px;
    }
}
.home-logo {
    flex:0 0 auto;
}
.home-logo img {
    width:60px;
    margin:7px;
    cursor:pointer;
}
.head-right {
    right:10px;
    position:absolute;
    top:5px;
    text-align:right;
    float:right;
    z-index:99;
}
.home-grid {
    margin:0;
    padding:0;
    position:fixed;
    width:100vw;
}
.page-head {

}
.page-contents {
    padding:0 10px;
    height:calc(100vh - 100px);
    overflow:auto;
 }
.page-footer {
    background-color:grey;
    padding:10px;
    min-height:41px;
}
.page-footer > a {
    color:white;
    margin:10px;
}
.open-loginmenu {
    cursor:pointer;
}
.hidden {
    display:none!important;
}
.invisible {
    visibility:hidden;
}
.login-menu {
    position:fixed;
    top:50px;
    right:0;
    background-color: #eeecec;
    padding:20px;
    border:solid 1px grey;
}
.login-menu > div {
    margin:0 0 0 4px;
}
.login-menu > div {
    padding:5px 5px 5px 0;
}
.login-menu > div.option:hover {
    background-color:deepskyblue;
    color:white;
    cursor:pointer;
}
.login-menu > div > a:hover {
    color:white;
}
@media screen and (max-width:900px) {
    .login-menu > div {
        margin-bottom: 20px!important;
    }
    nav.page-head > .page-menu {
        padding:1px!important;
    }
}
@media screen and (max-width:550px) {
    .page-menu {
        margin-right:20px!important;
    }
    .page-menu .material-icons:last-child {
        display:none;
    }
}
@media screen and (max-width:450px) {
    .page-menu {
        margin-right: 10px !important;
    }
}
.login-menu > div > span {
    background-color: #dedede;
    border-radius:9px;
    padding:4px;
    font-family:'Courier New';
}
.view-log, .logout-button {
    cursor:pointer;
    color:black;
}
.logout-button {
    text-decoration: none;
}

#test-log {
    position:fixed;
    top:10px;
    left:10px;
    width:calc(100vw - 40px);
    border:solid 1px grey;
    padding:10px;
    margin-top:10px;
    line-height:1.2em;
    height:calc(100vh - 80px);
    //max-height:50vh;
    background-color: #eeeeee;
    overflow:hidden;
    font-size:90%;
    resize:vertical;
}
#test-log pre {
    margin:0;
}
#test-log > pre {
    font-size:90%;
    margin-top:40px;
    border-bottom:solid 1px lightgrey;
    padding-bottom:100px;
    color:black!important;
    height:calc(100% - 200px);
    overflow:scroll;
    background-color:white;
    border:solid 1px #d9cece;
}
#test-log #closer {
    float:right;
    color:black;
    width:23px;
    cursor:pointer;
}
.overlay img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.morebutton {
    position:fixed;
    top:10px;
    font-size:30px;
    color:white;
    border-radius:50px;
    z-index:9999;
    cursor:pointer;
}
.image-menu.morebutton {
    background-color:black;
}
.folder-menu {
    top:90px;
}
.more-menu {
    position:fixed;
    top:30px;
    font-size:18px;
    color:white;
    background-color: #8d8d8d;
    z-index:9999;
}
.folder-menu-popup {
    top:130px!important;
}
.more-menu > div {
    padding:10px;
    min-width:200px;
}
.more-menu > div > span:first-child {
    width:30px;
    vertical-align:middle;
}
.more-menu > div {
    cursor:pointer;
}
.more-menu > div:hover {
    background-color:deepskyblue;
}
.page-buttons > .check-button-container {
    top: calc(50% + 100px);
}
.page-buttons > .favorite-button-container {
    top: calc(50% + 170px);
}
.page-buttons > .flag-button-container {
    top: calc(50% + 240px);
}
.page-buttons > div > span {
    font-size:30px;
    font-weight:800;
}
.page-buttons > .check-button-container.checked {
    background-color:deepskyblue;
    color:white;
}
.page-buttons > .favorite-button-container.checked {
    background-color:#ad4fad;
    color:white;
}
.page-buttons > .flag-button-container {
    color:white;
}
.page-buttons > .flag-button-container.checked {
    background-color:red;
    color:white;
 }
.morebutton, .more-menu {
    left:10px;
}
.more-menu {
    top:50px;
}
.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}
.box-shadow {
    box-shadow: 5px 5px 30px 0 rgba(22, 22, 22, 0.62);
}
#installButton {
    display:inline-block;
    background-color:deepskyblue;
    color:white;
    cursor:pointer;
    padding:5px 20px 5px 10px;
    margin:22px 10px;
    border-radius:50px;
}
#installButton i {
    vertical-align: middle;
}
.g_id_signin {
    margin-top:76px;
}
.green {
    color:green;
}
.handcursor {
    cursor:pointer !important;
}

.stickyTop {/* only works on Chrome and Safari and Edge16 (not IE)*/
    xposition:fixed;
    position:-webkit-sticky;
    position:sticky;
    top:-2px; /* If it's 0 then you see the content scrolling above the top of the table cell */
    z-index:9999 !important;
}
.stickyLeft {
    position:-webkit-sticky;
    position:sticky;
    left:-7px;
    z-index:3 !important;
    background-color: #f9f9f9;
    background-clip:padding-box; /* This is so that Edge does not result in no borders */
}
.bg, .bg2 {
    position:fixed;
    left:0;
    top:0;
    width:100vw;
    height:100vh;
    cursor:not-allowed;
    opacity:0.5;
    background-color:black;
}
.pre {
    font-family:Courier New;
    white-space:nowrap;

}
.pre > span {
    font-weight:800;
    color:#cf8f8f;
    font-size:90%;
}
.upload-wip {
    color:lightgrey!important;
    border:solid 5px #8fed8f;
    width:auto!important;
    transition:all 1s ease-in-out; /* This is for upload-success to animate out */
}
.upload-failed {
    color:red!important;
}
.upload-success {
    color:limegreen!important;
    font-size:0px;
    vertical-align:middle;
    width:0!important;
    border:none!important;
}
.sending-scans {
    color:grey!important;
    animation: spin 1s linear infinite;
    display: inline-block;
    width: 50px;  /* Adjust to fit pseudo-element */
    xheight: 28px; /* Adjust to fit pseudo-element */
    overflow: hidden; /* Hide original content */
}
.spinner::before,
.spinner::after {
    content: 'autorenew';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-top: -12px;
    margin-left: -12px;
    border: 4px solid #3498db;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.5s linear infinite;
}

.spinner::after {
    animation-duration: 1.5s;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cropSample {
    position:fixed;
}
#agentInfo {
    border-top:solid 1px grey;
    color:grey;
    font-size:70%;
    font-family:"Courier New";
}
.appversion {
    font-size:125%;
    font-weight:800;
}
.appversion > span {
    font-size:75%;
    font-family:unset!important;
    background-color: unset!important;
}
#logtoggle1, #logtoggle2 {
    border:none;
    cursor:pointer;
}
#logtoggle1.selected, #logtoggle2.selected {
    border-bottom:solid 2px grey;
}
.counter {
    position: relative;
    top: -10px;
    right: 11px;
    background-color: #e53838;
    color: white;
    border-radius: 50%;
    padding: 3px 4px;
    font-size: 10px;
    font-weight:100;
    min-width: 9px;
    text-align: center;
    line-height: 1;
    display:inline-block;
}
#image-more-menu > div > span:nth-child(3) {
    float:right;
    font-size:80%;
    color:#e5e5e5;
}
.submenu {
    position:fixed;
    background-color: #ececec;
    border:solid 1px grey;
    padding:0;
}
.submenu > div span > i {
    width:20px;
    font-size:125%;
    display:inline-block;
    color:grey;
    vertical-align:bottom;
}
.submenu > div {
    padding:10px;
    cursor:pointer;
}
.submenu > div:hover {
    background-color:deepskyblue;
    color:white;
}
.page-menu.disabled,
.page-menu.disabled *,
.submenu > .disabled {
    color: #c5c4c4 !important;
}


/*@media (pointer: coarse) {*/
    .show-for-mouse-device {
        display: none;
    }
    #bgImgOpacityContainer, #scaleAdjContainer {
        bottom:40px!important;
    }
    .canvas-container {
        height: calc(100vh - 160px)!important;
    }
/*}*/
@media (pointer: fine) {
    .show-for-mouse-device {
        display: block; /* or inline / flex / grid etc as needed */
    }
}
#calculatorPopup {
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    padding: 4px;
    z-index: 1000;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
div[contenteditable="true"]:empty::before {
    content: attr(data-placeholder);
    color: #888;
    pointer-events: none; /* so placeholder text doesn't interfere with editing */
    user-select: none; /* prevents selecting placeholder text */
}
.handcursor {
    cursor:pointer!important;
}
.floatright {
    float:right;
}
.popup-modal .modal-footer button {
    float:right;
    margin:10px;
    cursor:pointer;
}
.popup-modal .modal-footer button.btn-delete {
    background-color:darkred;
    color:white;
    float:left;
}
.popup-modal .modal-footer button.btn-cancel {
    margin-right:0;
}
.popup-modal button {
    width:fit-content;
    min-width:100px;
}

.popup-modal h1 {
    font-size:14pt;
}

.popup-modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.popup-modal.hidden {
    display: none;
}
.modal-title {
    font-size:100%;
    font-weight: 800;
}
.modal-content {
    background-color: #fff;
    padding:20px;
    border-radius: 5px;
    width: 95vw;
    height:70vh;
    margin:5px;
}
.modal-form {
    height:calc(100% - 100px);
}

.close {
    float: right;
    font-size: 1.5rem;
    cursor: pointer;
}

.form-field {
    display: flex;
    align-items: baseline;
    margin-bottom: 10px;
}

.form-field label {
    width:110px;
    text-align: right;
    margin-right: 10px;
}

.form-field input, .form-field select, .form-field div[contenteditable='true'] {
    flex: 1;
    padding:6px 6px 6px 6px;
    font-size:11pt;
    border-radius:6px;
    border:solid 1px #e8e8e8;
    min-height:30px;
}
.form-field.full-width {
    display: block;
}
.form-field div[contenteditable='true'] p {
    padding-bottom: 15px;
    line-height: 1.6em;
}

.form-field.full-width label {
    display: block;
    margin-bottom: 5px;
}

.form-field.full-width div {
    width: calc(100% - 20px);
}
.form-field.form-field-replenishBelow {
    margin-top:40px;
}
.modal-form {
    display: flex;
    flex-direction: column;
    height: calc(100% - 100px);
    max-height: calc(100vh - 300px);
    overflow: hidden;
}



/* ---------------- Modal Tabs ---------------- */
.modal-tab-nav {
    list-style: none;       /* remove bullets */
    padding: 0;             /* remove default padding */
    margin: 0 0 0.5rem 0;   /* bottom margin for spacing */
    display: flex;
}

.modal-tab-nav li {
    padding: 0.5rem 1rem;
    margin-right: 0.5rem;
    cursor: pointer;
    background-color: #f1f1f1;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border: 1px solid #ccc;
    border-bottom: none;
    transition: background-color 0.2s, color 0.2s;
    user-select: none;
}

.modal-tab-nav li:hover {
    background-color: #e2e2e2;
}

.modal-tab-nav li.active {
    background-color: #ffffff;
    font-weight: bold;
    border-bottom: 2px solid #ffffff;
}

.tab-content {
    display: none; /* all hidden by default */
    padding: 1rem;
    border: 1px solid #ccc;
    border-top: none;
    background-color: #fafafa;
    border-radius: 0 0 5px 5px;
}

/* Show active tab content */
.tab-content.active {
    display: block;
}

/* Optional: style fields inside tab content */
.tab-content .form-field {
    margin-bottom: 1rem;
}

/* Optional: ensure drag-handle lines stand out */
.tab-content .drag-handle {
    cursor: grab;
    margin-right: 0.5rem;
    vertical-align: middle;
    color: #888;
}

.tab-content .drag-handle:active {
    padding: 0.5rem 0.5rem 1rem 0.5rem;
}

.tabs {
    display: flex;
    border-bottom: 2px solid #ccc;
    margin-bottom: 0;
}

/* Individual tab buttons */
.tab-link {
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    border-bottom: none;
    padding: 10px 20px;
    cursor: pointer;
    margin-right: 5px;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
    transition: background-color 0.2s;
}

.tab-link:hover {
    background-color: #e0e0e0;
}

.tab-link.active {
    background-color: #fff;
    border-bottom: 2px solid #fff;
}

/* Tab content */
.tab-content {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 0 5px 5px 5px;
    background-color: #fafafa;
}

/* Form labels */
.tab-content label {
    display: block;
    margin-bottom: 15px;
    font-weight: 500;
}

/* Form inputs and textareas */
.tab-content input[type="text"],
.tab-content input[type="email"],
.tab-content input[type="number"],
.tab-content input[type="password"],
.tab-content textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.tab-content textarea {
    font-family: monospace;
    font-size: 14px;
    height: calc(100vh - 300px);
    line-height: 1.5em;
    resize: vertical;
}


.modal-tab-contents {
    flex: 1 1 auto; /* grow to fill remaining space */
    overflow-y: auto; /* scroll if content exceeds height */
    min-height: 0; /* important for flexbox scrolling */
}

/* Todo count badge on tab */
.tab-badge {
    display: inline-block;
    background-color: #007bff;
    color: white;
    font-size: 0.6em;
    font-weight: bold;
    padding: 0 2px;
    margin-left: 6px;
    border-radius: 12px;
    vertical-align: top;
    font-weight: 400;
    min-width: 9px;
    text-align: center;
    margin-top: -5px;
}

.drag-handle {
    position: relative;
    left: -37px;       /* align with list numbering */
    top: 0;
    width: 0;          /* width of the number area */
    height: 100%;
    font-size: 90%;
    cursor: grab;
    user-select: none;        /* prevent text selection */
    xpointer-events: none;     /* needed for drag events */
}
/*! methodfish package release

 Project      : MFCalculatorPopup
 Release      : 1.02
 Release date : 2025-11-28 10:05:43
 License      : MIT
 For more information please refer to https://methodfish.com/Projects/MFCalculatorPopup

*/
#mf-calculatorPopup {
    position: fixed;
    top: 1%;
    left: 50%;
    transform: translateX(-50%);
    background: rgb(255, 255, 255);
    padding: 0;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 12px;
    border-radius: 8px; z-index: 100005;
    width: 75vw;
    overflow:hidden;
}
#mf-calculatorPopup .container {
    padding:10px;
}

#mf-calculatorPopup .keypad {
    margin:12px 0 0 35px;
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    max-width:500px;
}
@media screen and (max-width: 550px) {
    #mf-calculatorPopup .keypad {
        margin: 12px 0 0 0;
    }
}
@media screen and (max-width: 400px) {
    #mf-calculatorPopup button {
        margin:4px!important;
        min-height: 39px !important;
    }
    #mf-calculatorPopup .keypad button.btn-feet
    ,#mf-calculatorPopup .keypad button.btn-inches
    ,#mf-calculatorPopup .keypad button.btn-stone
    ,#mf-calculatorPopup .keypad button.btn-pounds
    {
        font-size: 70%!important;
    }
}
#mf-calculatorPopup sub {
    font-size:95%;
    font-weight:400;
    display:block;
    margin-bottom: 4px;
}
#mf-calculatorPopup button {
    min-width: unset;
    padding: 7px 15px !important;
    font-size: 20px;
    cursor: pointer;
    min-height: 49px;
    border-radius: 64px;
    width: 52px;
    border: none;
    margin:10px;
    font-weight:600;
}
#mf-calculatorPopup .result {
    margin-top:15px;
    font-weight:bold;
    font-size:18px;
    min-height: 30px;
}
#mf-calculatorPopup .result > div {
    white-space:nowrap;
}
#mf-calculatorPopup .converterResult, #mf-calculatorPopup .result span {
    display:inline-block;
    margin:10px 20px 10px 0;
}

#mf-calculatorPopup input {
    width:100%;
    margin-top:8px;
    padding:8px;
    font-size:18px;
    box-sizing:border-box;
    border:solid 1px #cdc9c9;
    border-radius: 7px;
}
#mf-calculatorPopup textarea {
    border:solid 1px #cdc9c9;
    width: 100%;
    font-size: 1.2em;
    line-height: 1.4em;
    padding: 6px 10px;
    box-sizing: border-box;
    overflow-wrap: break-word;
    border-radius: 7px;
    margin-top: 10px;
}
#mf-calculatorPopup .keypad button {
    padding:0!important;
    text-align:center;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}
#mf-calculatorPopup .convert-cb-container label, #mf-calculatorPopup .titlebar {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}
#mf-calculatorPopup .keypad button.btn-C {
    color:red;
}
#calculatorPopup .keypad button.btn-backspace i {
    padding:0;
    margin-left:-2px;
    margin-top:4px;
    color:grey;
    font-weight:100;
}
#mf-calculatorPopup .keypad button.btn-bracket
,#mf-calculatorPopup .keypad button.btn-plus
,#mf-calculatorPopup .keypad button.btn-minus
,#mf-calculatorPopup .keypad button.btn-divide
,#mf-calculatorPopup .keypad button.btn-times
,#mf-calculatorPopup .keypad button.btn-comma
,#mf-calculatorPopup .keypad button.btn-percent
,#mf-calculatorPopup .keypad button.btn-equals
,#mf-calculatorPopup .keypad button.btn-surround
{
    color:green;
}
#mf-calculatorPopup .keypad button.btn-feet {
    grid-column-start: 1;
}
#mf-calculatorPopup .keypad button.btn-feet
,#mf-calculatorPopup .keypad button.btn-inches
,#mf-calculatorPopup .keypad button.btn-stone
,#mf-calculatorPopup .keypad button.btn-pounds
 {
    font-size: 80%;
    background-color: #9a8686;
    color: white;
    font-weight: 400;
}
#mf-calculatorPopup .keypad button.btn-backspace {
    padding-left: 13px !important;
    text-align: left;
    padding-top: 5px !important;
    background-color: #8f8888;
    color: white;
}
#mf-calculatorPopup .converterBtns {
    display: flex;
    flex-wrap: nowrap;      /* Prevent wrapping */
    overflow-x: auto;       /* Enable horizontal scroll */
    gap: 1px;             /* optional gap between buttons */
    margin-bottom: 0.3em;
    -webkit-overflow-scrolling: touch; /* smooth scroll on iOS */
}

#mf-calculatorPopup .titlebar {
    background-color: #acd2de;
    margin: 0;
    padding: 10px;
    color: white;
    font-weight: 600;
    font-size: 110%;
}
#mf-calculatorPopup select {
    border:none;
    color:grey;
    padding:10px;
}
#mf-calculatorPopup select:focus {
    color:black;
}
#mf-calculatorPopup select.selected {
    color:black;
}
#mf-calculatorPopup select optgroup {
    font-weight: bold;
    color: #333;
}
#mf-calculatorPopup select optgroup option {
    padding-left: 1em;   /* indent */
}
#mf-calculatorPopup .convert-cb-container {
    float: right;
    white-space: nowrap;
    line-height: 1; /* ensures baseline alignment */
}

#mf-calculatorPopup .convert-cb-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    vertical-align: text-top; /* aligns checkbox bottom with text baseline */
    margin: 0 0 2px 4px; /* optional: small tweak to fine-tune spacing */
}
#mf-calculatorPopup .converterBtns button.length + .weight,
#mf-calculatorPopup .converterBtns button.length + .volume,
#mf-calculatorPopup .converterBtns button.weight + .length,
#mf-calculatorPopup .converterBtns button.weight + .volume,
#mf-calculatorPopup .converterBtns button.volume + .length,
#mf-calculatorPopup .converterBtns button.volume + .weight {
    margin-left: 8px; /* gap between categories */
}/*! methodfish package release

 Project      : MFFloatawayMsg
 Release      : 1.01
 Release date : 2025-03-16 16:02:24
 License      : MIT
 For more information please refer to https://methodfish.com/Projects/MFFloatawayMsg

*/


.floatingMessageContainer {
    position: fixed;
    right: 20px;
    padding: 10px;
    border-radius: 5px;
    z-index: 999;
}
.floatingMessage {
    background-color:black;
    color:white;
    padding:10px;
    opacity:0;
    transition: all 0.5s ease-in-out;
    margin-top:5px;
    position:relative;
    cursor:pointer;
}/*! methodfish package release

 Project      : MFLazyImages
 Release      : 1.01
 Release date : 2025-07-08 10:45:18
 License      : MIT
 For more information please refer to https://methodfish.com/Projects/MFLazyImages

*/
img.lazy {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: url(hourglass.svg) center center no-repeat;
    background-size: contain;
}/*! methodfish package release

 Project      : MFHourglass
 Release      : 1.01
 Release date : 2025-09-06 12:58:55
 License      : MIT
 For more information please refer to https://methodfish.com/Projects/MFHourglass

*/
.mfhourglass-bg {
    position:fixed;
    left:0;
    top:0;
    width:100vw;
    height:100vh;
    cursor:not-allowed;
    opacity:0.5;
    background-color:black;
}
.mfhourglass {
    border:none!important;
}
.mfhourglass-container {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: black;
    border: solid 1px white;
    opacity: 0.7;
    display: flex; /* Fix */
    justify-content: center;
    align-items: center;
    color: white;
}
.mfhourglass-spinner {
    width: 50px;
    height: 50px;
    animation: mfhourglass-rotate 2s linear infinite;
}
.mfhourglass-spinner2 {
    width: 150px;
    height: 150px;
    animation: mfhourglass-rotate 2s linear infinite;
}
.mfhourglass-spinners-sized {
    position:relative;
    width: auto;
    height: auto;
    display:inline-block;
    background-color:transparent;
    opacity:1;
    color:inherit;
}
.mfhourglass-spinners-sized .mfhourglass-spinner2 {
    width: unset;
    height: unset;
}
.mfhourglass-spinners-sized .mfhourglass-spinner2 .mfhourglass-spinner-path {
    stroke:black;
}
.mfhourglass-spinner-path {
    stroke: #e7e7e7;
    stroke-linecap: round;
    animation: mfhourglass-dash 2s ease-in-out infinite;
}

@keyframes mfhourglass-rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes mfhourglass-dash {
    0% {
        stroke-dasharray: 40, 50;
        stroke-dashoffset: 10;
    }
    50% {
        stroke-dasharray: 10, 11;
        stroke-dashoffset: 50;
    }
    100% {
        stroke-dasharray: 40, 50;
        stroke-dashoffset: 10;
    }
}
