
@charset "UTF-8";

@import url("fonts.css");

/* For Laptops */
@media only screen and (min-width: 1000px) and (max-width: 1440px)  {
.container {
    max-width:1400px;
    padding-left:15px;
    padding-right:15px;
    }
}

/* For Big Laptops */
@media only screen and (min-width: 1400px) and (max-width: 1899px)  {
.container {
    max-width:1600px;
    padding-left:15px;
    padding-right:15px;
    }
}

/* For Big Screens */
@media only screen and (min-width: 1900px) and (max-width: 5000px)  {
.container {
    max-width:3600px;
    padding-left:60px;
    padding-right:60px;
    }
}

/* For Small Screens */
@media only screen and (max-width: 1000px) {
    .container {
        margin-left: 0px;
        margin-right: 0px;
        padding-left:15px; 
        padding-right:15px; 
        max-width:100%;
    }
}
   
@-webkit-keyframes spin {
	from {-webkit-transform:rotate(0deg);}
	to {-webkit-transform:rotate(360deg);}
}

@keyframes spin {
	from {transform:rotate(0deg);}
	to {transform:rotate(360deg);}
}

html,body {
    height: 100%;
    font-family:'Source Sans Pro',sans-serif,Helvetica,Arial;
}

h1 { font-family:'Fira Sans Extra Condensed', serif; font-size: 2rem; font-weight:500;}
h4 { font-family:'Fira Sans Extra Condensed', serif; font-size: 1.7rem; font-weight: 500;}

iframe { border: 0; }

.input-rrounded {
    border-top-right-radius:.25rem !important;
    border-bottom-right-radius:.25rem !important;
}

.input-lrounded {
    border-top-left-radius:.25rem !important;
    border-bottom-left-radius:.25rem !important;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    position:fixed;
    left:0px;
    bottom:0px;
    width:100%;
    height:42px;
   
   background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    /*padding-top: 20px;*/
}

.form-group { margin-top:.3rem;margin-bottom:.3rem;}
.form-control:focus { border-color: #6265e4 !important;box-shadow: 0 0 5px rgba(98, 101, 228, 1) !important;}
.fm-no-shadow:focus { border-color: #6265e4 !important;box-shadow: 0 0 0px rgba(98, 101, 228, 1) !important;}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.no-gutters {
    margin-right: 0;
    margin-left: 0;

    > .col,
    > [class*="col-"] {
        padding-right: 0;
        padding-left: 0;
    }
}    

.info-label {
    color: #6c757d;
    font-weight: 400;
    border-color: #dee2e6;
}

.form-control-info::after {
    content: "ℹ";
    /*opacity: .7;*/
    color:black;
    position: absolute;
    right: 1rem;
}

.form-control-info {
    display: flex;
    align-items: center;

    flex: 1 1 auto;     /* THIS is the key */
    width: 1%;          /* Bootstrap hack */
    min-width: 0;
    
    font-size: 1rem;
    line-height: 1.5;

    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;

    border: 1px solid #e2e6ea;
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;

    background-color: #f8f9fa;
    color: #495057;
    
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-weight: 200;
}

.form-control-info.monospace {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* JQuery UI Datepicker */
div.ui-datepicker{ font-size:1rem;font-family:'Fira Sans Extra Condensed','Roboto Condensed', 'Oswald', sans-serif !important; }
button.ui-datepicker-current { font-family:'Fira Sans Extra Condensed','Roboto Condensed', 'Oswald', sans-serif !important; }
button.ui-datepicker-close { font-size:1rem;font-family:'Fira Sans Extra Condensed','Roboto Condensed', 'Oswald', sans-serif !important; }    

/* DrTools Autocomplete */
.input-group > .form-control:not(:first-child), .input-group > .custom-select:not(:first-child) { border-top-right-radius:.25rem !important;border-bottom-right-radius:.25rem !important;}

.ui-menu {
    font-size: 100% !important; 
    font-family:'Source Sans Pro',sans-serif,Helvetica,Arial !important;
}

.ui-menu-item .ui-menu-item-wrapper.ui-state-active {
    background: #339BF4 !important;
    font-weight: bold !important;
    color: #ffffff !important;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    font-weight: 900;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: "\f15d";
}

a.desc:after {
    content: "\f15e";
}

.sort-numerical a.asc:after {
    content: "\e162";
}

.sort-numerical a.desc:after {
    content: "\e163";
}

.sort-ordinal a.asc:after {
    content: "\e160";
}

.sort-ordinal a.desc:after {
    content: "\e161";
}

.grid-view th {
    white-space: nowrap;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.modal-body {
    max-height: 80vh;
    overflow-y: auto;
}

table.detail-view th {
    width: 5em;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bottom-bar-fixed {
    position:fixed;
    left:0px;
    bottom:43px;
    width:100%;
    height:3.4rem;
    background-color:rgba(0, 0, 0, 0.65);
    border-top: 1px solid #ddd;    
    padding-top: .5rem;
}

.bottom-bar-sticky {
    position: -webkit-sticky;
    position: sticky;
    left: 0px;
    width:100%;
    height:3.4rem;
    background-color:rgba(0, 0, 0, 0.65);
    border-top: 1px solid #ddd;    
    padding-top: .5rem;
    z-index: 10;
}

.bottom-bar {
    left:0px;
    width:100%;
    height:3.4rem;
    background-color:rgba(0, 0, 0, 0.65);
    border-top: 1px solid #ddd;    
    padding-top: .5rem;
}

.btbar-b-0 {
    bottom:-10px;
}
.btbar-b-50 {
    bottom:43px;
}

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

.breadcrumb > li {
    padding-left: .5rem;    
}

.breadcrumb > li:before {
    content: "/"; 
    padding-right: 3px;
}

.breadcrumb > li:first-child:before {
    content: ""; 
    padding-right: 0;
}
.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 20px 0;
  border-radius: 4px;
}
.pagination > li {
  display: inline;
}
.pagination > li > a,
.pagination > li > span {
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.42857143;
  color: #337ab7;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ddd;
}
.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
  z-index: 2;
  color: #23527c;
  background-color: #eeeeee;
  border-color: #ddd;
}
.pagination > li:first-child > a,
.pagination > li:first-child > span {
  margin-left: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  z-index: 3;
  color: #fff;
  cursor: default;
  background-color: #337ab7;
  border-color: #337ab7;
}
.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
  color: #777777;
  cursor: not-allowed;
  background-color: #fff;
  border-color: #ddd;
}
.pagination-lg > li > a,
.pagination-lg > li > span {
  padding: 10px 16px;
  font-size: 18px;
  line-height: 1.3333333;
}
.pagination-lg > li:first-child > a,
.pagination-lg > li:first-child > span {
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}
.pagination-lg > li:last-child > a,
.pagination-lg > li:last-child > span {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}
.pagination-sm > li > a,
.pagination-sm > li > span {
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
}
.pagination-sm > li:first-child > a,
.pagination-sm > li:first-child > span {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}
.pagination-sm > li:last-child > a,
.pagination-sm > li:last-child > span {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}   

.dropdown-toggle::after { border: none; }

.padded { padding-bottom:3rem;padding-left:0.5rem;padding-right:0.5rem; }

.paddedd { padding-bottom:7rem;padding-left:0.5rem;padding-right:0.5rem; }

.fade { background-color: rgba(0, 0, 0, 0.7); }

.rspacer { margin-right: .5em; }

.rspacerr { margin-right: 1em; }

.rspacerrr { margin-right: 2em; }

.tspacer { margin-top: .2rem; }

.tspacerr { margin-top: .5rem; }

.tspacerrr { margin-right: 1rem !important; }

.font-bigger { font-size:110% !important; }
.font-biggerr { font-size:125% !important; }

.font-smaller { font-size:85% !important; }
.font-smallerr { font-size:75% !important; }

.font-h4 {
    font-family: 'Fira Sans Extra Condensed', serif;
    font-size: 1.7rem;
    font-weight: 500;
    box-sizing: border-box;
    line-height: 1.2;
}

.font-200 { font-size:200% !important; }
.font-175 { font-size:175% !important; }
.font-150 { font-size:150% !important; }
.font-125 { font-size:125% !important; }
.font-110 { font-size:110% !important; }
.font-90 { font-size:90% !important; }
.font-80 { font-size:80% !important; }
.font-75 { font-size:75% !important; }
.font-70 { font-size:75% !important; }
.font-65 { font-size:65% !important; }
.font-50 { font-size:50% !important; }
.font-25 { font-size:25% !important; }

.font-light { font-family:'Roboto Condensed'; font-weight:300; }
.font-bold { font-weight: bold; }

.font-w-100 { font-weight:100; }
.font-w-200 { font-weight:200; }
.font-w-300 { font-weight:300; }
.font-w-400 { font-weight:400; }
.font-w-500 { font-weight:500; }
.font-w-600 { font-weight:600; }
.font-w-700 { font-weight:700; }
.font-w-800 { font-weight:800; }

.font-s-0 { letter-spacing: -0.1rem; }
.font-s-1 { letter-spacing: -0.05rem; }
.font-s-2 { letter-spacing: 0.2rem; }
.font-s-3 { letter-spacing: 0.5rem; }
.font-s-4 { letter-spacing: 0.7rem; }
.font-s-5 { letter-spacing: 1.5rem; }


.font-times {font-family: 'Times New Roman';}
.font-roboto {font-family: 'roboto';}
.font-ubuntu {font-family: 'ubuntu-light';}
.font-archer {font-family: 'archer-pro-medium';}


.font-ocr-a {font-family: 'ocr-a',monospace;}
.font-ocr-b {font-family: 'ocr-b',monospace;}
.font-ocr {font-family: 'ocr-b',monospace;}
.font-monospace {font-family: 'Roboto Condensed',monospace;}
.font-mono-roboto {font-family: 'Roboto Condensed',monospace;}
.font-mono-m1 {font-family: 'M PLUS 1 Code',monospace;}
.font-mono-fira {font-family:'Fira Sans Condensed',monospace;}
.font-mono-fira-condensed {font-family:'Fira Sans Extra Condensed',monospace;}
.font-mono-sofia {font-family:'Sofia Sans Extra Condensed',monospace;}
.font-mono-jetbrain {font-family:'JetBrains Mono',monospace;}
.font-mono-ibm {font-family:'IBM Plex Mono',monospace;}

.mt-25 { margin: 0.75rem !important;}


.w-2  { width: 2rem !important; }
.w-3  { width: 3rem !important; }
.w-4  { width: 4rem !important; }
.w-5  { width: 5rem !important; }
.w-8  { width: 8rem !important; }
.w-10 { width: 10rem !important; }
.w-12 { width: 12rem !important; }
.w-15 { width: 15% !important; }
.w-20 { width: 20% !important; }
.w-30 { width: 30% !important; }
.w-40 { width: 40% !important; }
.w-60 { width: 60% !important; }
.w-phone { width:390px !important; }

.z-1 { z-index:9 !important; }
.z-2 { z-index:99 !important; }
.z-3 { z-index:999 !important; }
.z-4 { z-index:1200 !important; }
.z-5 { z-index:9999 !important; }
.z-6 { z-index:99999 !important; }

.blue { color:blue !important;}
.text-blue { color:blue !important;}
.text-red { color:red !important;}
.text-black { color:black !important;}


.black-on-yellow { color:red;background-color:beige; } /* LIST_MISSING */
.blue-on-yellow { color:blue;background-color:yellow; } /* LIST_MISSING_PRICE */
.yellow-on-black { color:yellow;background-color:black; } /* LIST_WRONG_PRICE */

.bg-creamy { background-color: cornsilk;}
.bg-white-washed { background-color: floralwhite;}
.bg-salmon { background-color: salmon;}
.bg-brown { background-color: brown;}
.bg-dark-grey { background-color: darkslategrey;}
.bg-chocolate { background-color: chocolate;}
.bg-grey { background-color: grey; }
.bg-red { color: white; background-color: red; }
.bg-blue { color: white; background-color: blue; }
.bg-primary { background-color: #007bff; color: white; }
.bg-dark { background-color: black; color: white; }
.bg-warning { background-color: black; }
.bg-success { background-color: #28a745!important; color: white; }
.bg-secondary { background-color: #6c757d!important; color: white; }
.bg-danger { background-color: red; color: white; }
.bg-info { background-color: red; color: white; }
.bg-black-50 { background-color: rgba(0, 0, 0, 0.5); /* 50% black */ }
.bg-black-75 { background-color: rgba(0, 0, 0, 0.75); /* 75% black */ }
.bg-yellow-50 { background-color: rgba(255, 255, 0, 0.5); /* Yellow with 50% opacity */ }
.bg-yellow-75 { background-color: rgba(255, 255, 0, 0.75); /* Yellow with 75% opacity */ }
.bg-brown-50 { background-color: rgba(165, 42, 42, 0.5); /* Brown with 50% opacity */ }
.bg-brown-75 { background-color: rgba(165, 42, 42, 0.75); /* Brown with 75% opacity */ }
.bg-blue-50 { background-color: rgba(0, 0, 255, 0.5); /* Blue with 50% opacity */ }
.bg-blue-75 { background-color: rgba(0, 0, 255, 0.75); /* Blue with 75% opacity */ }
.bg-label {
    margin-top: .25rem;
    margin-bottom: .75rem;
    padding:0.375rem 0.75rem;
    color: #495057;
    background-color: #cccccc;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    font-weight: bold;
}
.bg-input {
    margin-top: .25rem;
    margin-bottom: .75rem;
    padding:0.375rem 0.75rem;
    color: #888888;
    background-color: white;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    display: block;
}
.bg-input.highlighted { background-color: rgba(255, 255, 0, 0.25);color:blue; }

.linethrough { text-decoration:line-through !important; }
.linethrough.nav-item { text-decoration:line-through; }

.movable-row { cursor: grab; }
.selected { background-color: #cccccc !important; }
.grabbed { box-shadow: 0 0 13px #000 !important; }
.grab-cursor, .grab-cursor * { cursor: grabbing !important; }

.rounded-xl {
    border-radius:.5rem !important;
}
.rounded-xxl {
    border-radius:1rem !important;
}


.drag-handler {
    background-image: url('../img/icon_drag.png');
    background-repeat: no-repeat;
    background-position: 0 0;
    cursor: move;
}

.cursor-pointer { cursor: pointer; }

.custom-menu {
    display: none;
    z-index: 1000;
    position: absolute;
    overflow: hidden;
    border: 1px solid #CCC;
    white-space: nowrap;
    font-family: sans-serif;
    background: #FFF;
    color: #333;
    border-radius: 5px;
    padding: 0;
}

/* Each of the items in the list */
.custom-menu li {
    padding: 8px 12px;
    cursor: pointer;
    list-style-type: none;
    transition: all .3s ease;
    user-select: none;
}

.custom-menu li:hover { background-color: #DEF; }

.invalid-feedback { display:inline-block;}

.popover-body { color:white;}


.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col, .col-auto, .col-sm-1, 
.col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, 
.col-sm, .col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, 
.col-md-10, .col-md-11, .col-md-12, .col-md, .col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, 
.col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg, .col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, 
.col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl, .col-xl-auto  {
    padding-right: 5px;
    padding-left: 5px;
}

.files-carroussel {
    font-family: 'Josefin Sans', sans-serif;
}

.nopointer-events { pointer-events: none; }    

.popover-focused {
    font-style:italic;
    color:brown;
    outline: 0 !important; 
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0) !important;
}

.loader {
    position:fixed;
    width:100%;
    left:50%;right:50%;
    top:50%;bottom:50%;
    z-index:9999;
    display:none;
    background-position: bottom;
    height: 100vh;
}

@keyframes rotateWatchHand {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.loader #watch-hand {
    transform-origin: 64px 79px;
    animation: rotateWatchHand 4s linear infinite;
}

.blur {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    height: 100vh;
    width: 50%;
}
.mailtable * {
    font-family: 'Anonymous Pro', monospace;
    font-size: medium;        
}

.mailtable { 
    width: 100%;
    max-width: 70em;
    margin-left: 0em; 
    border-collapse: collapse; 
    table-layout: fixed;
} 

.mailtable th, .mailtable td { 
/*        border: 0px solid white; */
    padding: 10px;
    /*font-size: larger;*/
} 

.mailtable tr:hover {color:#339;background:#d0dafd;}

.mailtable tr:nth-child(even) {
    background-color: #f2f2f2;
}    

.report-table {
    border-collapse: collapse;
    /*width: 100%;*/
    text-align: left;
}

.report-table th,
.report-table td {
    padding: 3pt 3pt;
    padding-left: 5pt;
    padding-right: 5pt;
    white-space: nowrap !important;
    text-align: left;
}

.report-table thead,
.report-table tfoot {
    white-space: nowrap !important;
}

table.borderless,
table.borderless td,
table.borderless th,
table.borderless tr,
td.borderless,
th.borderless,
tr.borderless {
    border: none !important;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-bottom: 0;
}

.top-borderless { border-top: 0; }
.right-borderless { border-right: 0; }
.bottom-borderless { border-bottom: 0; }
.left-borderless { border-left: 0; }

.pinned-footer tfoot {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: table;
    width: calc(100% - 30px); /* Adjust based on padding/margins */
    background: white;
    z-index: 1000;
    border-top: 2px solid #ccc;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
}

.pinned-footer tbody {
    margin-bottom: 60px; /* Prevent overlap by reserved space */
}

:root{
  --sw-w: 46px;
  --sw-h: 28px;
  --sw-pad: 2px;
  --sw-on: #34c759; /* iOS green */
  --sw-off:#c6c6c8;
  --sw-knob:#fff;
  --sw-focus: 0 0 0 3px rgba(52,199,89,.35);
  --sw-shadow: rgba(0,0,0,.2);
}

.bs-switch{
  cursor:pointer;
  user-select:none;
}

.bs-switch > input{
  position:absolute;
  opacity:0;
  width:0;
  height:0;
}

.bs-switch .bs-slider{
  position:relative;
  display:inline-block;
  width:var(--sw-w);
  height:var(--sw-h);
  background:var(--sw-off);
  border-radius:999px;
  transition:background .2s ease;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}

.bs-switch .bs-slider::before{
  content:"";
  position:absolute;
  top:var(--sw-pad);
  left:var(--sw-pad);
  width:calc(var(--sw-h) - var(--sw-pad)*2);
  height:calc(var(--sw-h) - var(--sw-pad)*2);
  background:var(--sw-knob);
  border-radius:50%;
  transition:transform .2s ease;
  box-shadow: 0 2px 4px var(--sw-shadow);
}

:root{
  --sw-w: 46px;
  --sw-h: 28px;
  --sw-pad: 2px;
  --sw-on: #34c759; /* iOS green */
  --sw-off:#c6c6c8;
  --sw-knob:#fff;
  --sw-focus: 0 0 0 3px rgba(52,199,89,.35);
  --sw-shadow: rgba(0,0,0,.2);
}

.bs-switch{
  cursor:pointer;
  user-select:none;
}

.bs-switch > input{
  position:absolute;
  opacity:0;
  width:0;
  height:0;
}

.bs-switch .bs-slider{
  position:relative;
  display:inline-block;
  width:var(--sw-w);
  height:var(--sw-h);
  background:var(--sw-off);
  border-radius:999px;
  transition:background .2s ease;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}

.bs-switch .bs-slider::before{
  content:"";
  position:absolute;
  top:var(--sw-pad);
  left:var(--sw-pad);
  width:calc(var(--sw-h) - var(--sw-pad)*2);
  height:calc(var(--sw-h) - var(--sw-pad)*2);
  background:var(--sw-knob);
  border-radius:50%;
  transition:transform .2s ease;
  box-shadow: 0 2px 4px var(--sw-shadow);
}

/* ON */
.bs-switch > input:checked + .bs-slider{
  background:var(--sw-on);
}
.bs-switch > input:checked + .bs-slider::before{
  transform: translateX(calc(var(--sw-w) - var(--sw-h)));
}

/* Focus */
.bs-switch > input:focus + .bs-slider{
  box-shadow:var(--sw-focus);
}

/* Disabled */
.bs-switch > input:disabled + .bs-slider{
  opacity:.5; cursor:not-allowed;
}

/* Size variants */
.bs-switch.sm { --sw-w: 38px; --sw-h: 22px; --sw-pad: 2px; }
.bs-switch.lg { --sw-w: 56px; --sw-h: 32px; --sw-pad: 3px; }

/* ON */
.bs-switch > input:checked + .bs-slider{
  background:var(--sw-on);
}
.bs-switch > input:checked + .bs-slider::before{
  transform: translateX(calc(var(--sw-w) - var(--sw-h)));
}

/* Focus */
.bs-switch > input:focus + .bs-slider{
  box-shadow: var(--sw-focus);
}

/* Disabled */
.bs-switch > input:disabled + .bs-slider{
  opacity:.5; cursor:not-allowed;
}

/* Size variants */
.bs-switch.sm { --sw-w: 38px; --sw-h: 22px; --sw-pad: 2px; }
.bs-switch.lg { --sw-w: 56px; --sw-h: 32px; --sw-pad: 3px; }

/* Default (green) */
.bs-switch > input:checked + .bs-slider {
  background: var(--sw-on, #34c759); /* fallback green */
}

/* Color variants */
.bs-switch.red > input:checked + .bs-slider {
  background: #ff3b30; /* iOS red */
}
.bs-switch.blue > input:checked + .bs-slider {
  background: #007aff; /* iOS blue */
}
.bs-switch.orange > input:checked + .bs-slider {
  background: #ff9500; /* iOS orange */
}
.bs-switch.purple > input:checked + .bs-slider {
  background: #af52de; /* iOS purple */
}

.copy-clipboard {
    transition: transform 0.3s ease;
}

.copy-clipboard.fa-check {
    color: green;
    transform: scale(1.2); /* Slightly enlarge when showing the check icon */
}

.copy-mode th,
.copy-mode td {
  outline: 1.5px dashed rgba(0,0,0,.25);
}

/* while in copy mode, header links don't receive clicks */
.copy-mode th a {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
  color: inherit;
  opacity: .7;
}

/* make the whole header cell feel clickable for selecting columns */
.copy-mode thead th { cursor: pointer; }

/* when copy mode is on, show the dashed outline globally */
.table.copy-mode th,
.table.copy-mode td {
  outline: 1.5px dashed rgba(0,0,0,.25);
}

/* selected column cells get a subtle overlay without touching background */
.table.copy-mode th.copy-me,
.table.copy-mode td.copy-me {
  position: relative; /* anchor the overlay */
}

.table.copy-mode th.copy-me::after,
.table.copy-mode td.copy-me::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 235, 59, 0.28); /* translucent highlight */
  pointer-events: none; /* don't block clicks */
  border-radius: 2px;   /* optional */
}

.textarea-tools-wrapper {
    position: relative;
}

/* circular button */
.textarea-tool-btn {
    position: absolute;
    top: 38px;               /* aligns with textarea top */
    right: 10px;

    width: 34px;
    height: 34px;
    border-radius: 50%;

    border: none;
    background: blue;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    opacity: 0.7;
    transition: all 0.15s ease-in-out;

    z-index: 5;
}

/* hover polish */
.textarea-tool-btn:hover {
    opacity: 1;
    background: #e9ecef;
    color: #212529;
}

/* optional: focus accessibility */
.textarea-tool-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,123,255,.25);
}

/* make room so text doesn't go under button */
.textarea-tools-wrapper textarea {
    padding-right: 50px;
}

/* To fix erratic autocomplete component */
.ui-autocomplete.ui-front {
    z-index: 1060;
}

/* For Smarthphones */
@media only screen and (min-width: 320px) and (max-width: 799px) {
    h1 { font-family:'Fira Sans Extra Condensed', serif; font-size: 1.2rem; font-weight:500;}
    h4 { font-family:'Fira Sans Extra Condensed', serif; font-size: 1rem; font-weight: 500;}

    .dropdown { width:25em;  max-width:100%;     }
    .font-h4 { font-size: 1.2rem; line-height: 1.2; }
}
