body {
    font-family: Arial, Helvetica, Tahoma, Verdana, sans-serif, system-ui;
    /* font-size: 14px; */
    padding: 1rem;
}

h1 {
    color: rgb(153,0,0); /*This is pretty much Sentex color from the website*/
    font-size: 1.5em;
}

h2 {
    color: rgb(153,0,0);
    font-size: 1rem;
    font-weight: bold;
}

input[type=button], input[type=submit], button {
    border-radius: 0.2rem;
    border: solid 0.1rem #000;
}

input[type=text], input[type=date], input[type=password], input[type=time], input[type=number] {
    background-color: aquamarine;
    /* border: solid 2px #000; */
    border: solid 0.15rem #000;
}

input[type=password] {
    /* Do not use the three lines below - causes Safari issues */
    /*-webkit-touch-callout: none;*/
    /*-webkit-user-select: none;*/
    /*-khtml-user-select: none;*/
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

select {
    /* border: solid 2px #000; */
    border: solid 0.15rem #000;
    background-color: aquamarine;
    /*border-radius: 0.4rem;*/
}

textarea {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding:0.2rem;
    border: 0.15rem solid #000;
    background-color: aquamarine;
    /*border-radius: 0.4rem;*/
}

/* Menu */
.menu {
    font-size: 1.1rem;
    position: relative;
    background-color: #f1f1f1;
    padding: 0.5rem;
    box-shadow: rgba(0,0,0,0.2) 0.4rem 0.4rem 0.2rem;

    width: -moz-fit-content;
    width: -webkit-fit-content;
    width: fit-content;
}

    .menu img {
        margin-right: 1rem;
    }

    .menu a {
        color: rgb(153,0,0);
        text-decoration: none;
    }

    .ddMenu {
        margin-right: 1rem;
        display: inline-block;
    }

    .menu .ddMenu:last-of-type {
        margin-right: 0rem;
    }

    .ddMenu:hover > .ddmList {
        display: block;
        transform: translateX(-1rem);
    }

    .ddMenu:hover > a {
        /* Keep main item bold while moving over submenu items */
        font-weight:bold;
    } 

    .ddmList {
        display: none;
        position: absolute;
        z-index: 1;
        background-color: #f1f1f1;
        box-shadow: rgba(0,0,0,0.2) 0.4rem 0.4rem 0.2rem;
        padding-bottom: 0.5rem;
        text-align: center;
        /* Fix width to stop it changing on hover */
        width: 9rem;
    }

    .ddmList a {
        margin-top: 0.6rem;
        display: block;
    }

    .ddmList a:hover {
        font-weight: bold;
    }

    /* Flex */
    .mflex {
        display: flex;
        flex-flow: row wrap;
        align-items: center;
        row-gap: 0.3rem;
    }

.logo {
    height: 2.5rem;
}

.priologo {
    height: 3.5rem;
    float: left;
    margin-right: 2rem;
}

.priotitle {
    color: rgb(153,0,0); 
    font-size: 1.5rem;
}

.clock {
    display: none;
}

@media only screen and (min-width:900px) {
    .clock {
        display: block;
        float: right;
        font-family: Courier New, Courier, monospace;
        font-size: 3rem;
        font-weight: bold;
        color: rgb(153,0,0);
        margin-right: 1rem;
    }

    .priotitle {
        font-size: 2.5rem;
        font-weight: bold;
    }
}

/* Table Defaults */
table {
    /* border: solid 1px #000; */
    border: solid 0.1rem #000;
    border-spacing:0;
    overflow: hidden;
    border-collapse: collapse;
}

    table th {
        color: #000;
        background-color: lightsteelblue;
        font-weight: bold;
        padding: 0.2rem;
        text-align: center;
        /* border-left: solid 1px #000; */
        /* border: solid 1px #000; */
        border: solid 0.1rem #000;
    }
        
    table td {
        /* border-top: solid 1px #000; */
        /* border-left: solid 1px #000; */
        padding: 0.2rem;
        empty-cells: show;
        /* border: solid 1px #000; */
        border: solid 0.1rem #000;
    }

.tal {
    text-align: left;
}
.tar {
    text-align: right;
}
.tac {
    text-align: center;
}

.vat {
    vertical-align: top;
}

#tblSuppliers input[type=text], #tblQuote input[type=text] {
    background-color:white; 
    border:none;
}

#tblSuppliers input[type=text]:focus, #tblQuote input[type=text]:focus {
    outline: none;
}

#tblSuppliers select, #tblQuote select {
    background-color:white; 
    border:solid 0.1rem gray;  
} 

.prompt {
    background-color:white;
    box-sizing: border-box;
    border: max(0.3rem, 3px) solid rgb(153,0,0);
    border-radius: 0.5rem;
    /*min-width: 20rem;*/
    /*max-width: 90%;*/
    width: min(22rem, 90%);
    z-index: 2;
    padding: 0 1rem 1rem 1rem;
    box-shadow: rgba(0,0,0,0.2) 0.4rem 0.4rem 0.2rem;
    position: fixed;
    top: max(3rem, 40vh);
    left: 50vw;
    transform: translate(-50%, -50%);
    overflow-wrap: break-word;
    /* margin: auto; */
}

.prompt_label {
    margin-bottom: 0.5rem;
}

.prompt_buttons {
    margin-top: 0.5rem;
}

.prompt button {
    min-width: 4rem;
}

.prompt_button1 {
    margin-right: 1rem;
}

.login {
    background-color:white;
    box-sizing: border-box;
    border: max(0.3rem, 3px) solid rgb(153,0,0);
    border-radius: 0.5rem;
    z-index: 2;
    padding: 0 1rem 1rem 1rem;
    box-shadow: rgba(0,0,0,0.2) 0.4rem 0.4rem 0.2rem;
    position: fixed;
    top: 20vh;
    left: 50vw;
    transform: translate(-50%);
    width: min-content;
    width: min(20rem, 100%);
}

.logininput {
    width: 95%;
    margin-top: 0.5rem;
}

@media ((orientation: landscape) or (min-aspect-ratio: 1/1)) and (max-height: 450px) {
    .login { 
        position: unset;
        top: unset;
        left: unset;
        transform: unset;
        margin: 0 auto;
    }
}

.bold {
    font-weight: bold;
}

.ml05  {
    margin-left: 0.5rem;
}

.ml10 {
    margin-left: 1rem;
}

.mr05 {
    margin-right: 0.5rem;
}

.mr20 {
    margin-right: 2rem;
}

.mr15 {
    margin-right: 1.5rem;
}

.mr10 {
    margin-right: 1rem;
}

.mt05 {
    margin-top: 0.5rem;
}

.mt10 {
    margin-top: 1rem;
}

.mt20 {
    margin-top: 2rem;
}

.mb05 {
    margin-bottom: 0.5rem;
}

.mb10 {
    margin-bottom: 1rem;
}

.w3 {
    width: 3rem;
}

.w4 {
    width: 4rem;
}

.w5 {
    width: 5rem;
}

.w8 {
    width: 8rem;
}

.w10 {
    width: 10rem;
}

.w15 {
    width: 15rem;
}

.w20 {
    width: 20rem;
}

.w25 {
    width: 25rem;
}

.w30 {
    width: 30rem;
}

.w40 {
    width: 40rem;
}

.h4 {
    height: 4rem;
}

.h5 {
    height: 5rem;
}

.h6 {
    height: 6rem;
}

.h8 {
    height: 8rem;
}

.h12 {
    height: 12rem;
}

.scol {
    color: rgb(153,0,0);
}

.ofya {
    overflow-y: auto;
}

.divider {
    border-top: 0.1rem solid;
    border-radius: 0.3rem;
}

.costWarn {
    width: 10rem;
    background-color: lightpink;
    margin-top: 1rem;
    border: solid 1px black;
    padding: 0.2rem;
}

/*input[type=number]:invalid ~ span::after {
    content: '0-500';
    padding-left: 0.5rem;
    color: red;
}*/

/*input[type=number]:valid ~ span::after {
    content: '';
    padding-left: 0.5rem;
    color: green;
}*/

/* Flex */
.flex {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    gap: 1rem;
    row-gap: 1rem;
}

.flex2 {
    display: flex;
    flex-flow: row wrap;
    /* align-items:normal; */
    gap: 1rem;
    row-gap: 1rem; 
}

@media only screen and (max-width:650px) {
    .logo {
        height: 2rem;
    }
}

/* Priority Jobs table */
.prioTable {
    /* font-size: 1.8rem; */
    font-size: 1rem;
}

    .prioTable th {
        width: 2.5rem;
        min-width: 2.5rem;
    }

        .prioTable th:nth-child(2) {
            width: 10rem;
            min-width: 10rem;
        }

    .prioTable td {
        overflow: hidden;
    }
        .prioTable td:nth-child(1) > div {
            width: 32rem;
            min-width: 32rem;
            max-width: 32rem;
        }

        .prioTable td:nth-child(3) > div {
            vertical-align: top;
            width: 46rem;
            min-width: 46rem;
            max-width: 46rem;
        }

        .prioTable td > div {
            height: 10rem;
            max-height: 10rem;
        }

/* Active Jobs table */
.activeTable th {
    min-width: 2rem;
}

    .activeTable th:nth-child(2) {
        width: 3rem;
    }

    .activeTable th:nth-child(3) {
        width: 3rem;
    }

    .activeTable th:nth-child(4) {
        max-width: 6rem;
        min-width: 5rem;
    }

    .activeTable th:nth-child(5) {
        max-width: 6rem;
        min-width: 5rem;
    }

.activeTable td:nth-child(1) > div {
    max-height: 6rem;
    min-width: 20rem;
    max-width: 30rem;
    overflow-y: auto;
}

.activeTable td:nth-child(6) {
    vertical-align:top;
}

.activeTable td:nth-child(6) > div {
    max-height: 6rem;
    min-width: 20rem;
    max-width: 40rem;
    overflow-y: auto;
}

/* Testing */
.activeTableSort th {
    min-width: 2rem;
}

    .activeTableSort th:nth-child(4) {
        max-width: 6rem;
        min-width: 5rem;
    }

    .activeTableSort th:nth-child(5) {
        max-width: 6rem;
        min-width: 5rem;        
    }

.activeTableSort td:nth-child(2) > div {
    max-height: 6rem;
    min-width: 20rem;
    max-width: 30rem;
    overflow-y: auto;
}

.activeTableSort td:nth-child(6) {
    vertical-align: top;
}

    .activeTableSort td:nth-child(6) > div {
        max-height: 6rem;
        min-width: 20rem;
        max-width: 40rem;
        overflow-y: auto;
    }

.draggable {
    cursor:move;
    -webkit-user-select:none;
    -ms-user-select:none;
    user-select:none;
}

.noSort:hover {
    background-color:red;
}

.rowMove:hover {
    cursor:move;
    background-color:aquamarine;
}
/* End of Testing*/

.newimg {
    height: 3rem;
    float: right;
    z-index: 20;
}

.newimg2 {
    height: 5rem;
    float: right;
    z-index: 20;
}

.linkimg {
    height: 1.5rem;
}

/* Invoice Jobs Table (completed jobs but not archived) */
.invjobTable th:not(:last-child) {
    min-width: 3rem;
}

.invjobTable th:nth-child(2) {
    width: 3rem;
}

.invjobTable th:nth-child(3) {
    width: 3rem;
}

/* Columns 6+ */
.invjobTable th:nth-child(n+6):not(:last-child) {
    width: 5rem;
}

.invjobTable td:nth-child(1) > div {
    max-height: 6rem;
    min-width: 20rem;
    max-width: 30rem;
    overflow-y: auto;
}

/* Column 10 */
.invjobTable td:last-child {
    vertical-align: top;
}

.invjobTable td:last-child > div {
    max-height: 6rem;
    min-width: 20rem;
    max-width: 40rem;
    overflow-y: auto;
}

/* Home Page Job Search table */
.homesearchTable td:nth-child(1) > div {
    max-height: 5rem;
    min-width: 20rem;
    max-width: 30rem;
    overflow-y: hidden;
}

/* Archived Jobs table */
.archiveTable th {
    min-width: 3rem;
    
}

    .archiveTable th:nth-child(1) {
        width: 3rem;
    }

    .archiveTable th:nth-child(2) {
        width: 3rem;
    }

    .archiveTable th:nth-child(5) {
        max-width: 6rem;
        min-width: 5rem;
    }

.archiveTable td:nth-child(3) {
    vertical-align: top;
}

.archiveTable td:nth-child(3) > div {
    max-height: 6rem;
    min-width: 20rem;
    max-width: 30rem;
    overflow-y: auto;
}

.archiveTable td:nth-child(6) {
    vertical-align: top;
}

.archiveTable td:nth-child(6) > div {
    max-height: 6rem;
    min-width: 20rem;
    max-width: 40rem;
    overflow-y: auto;
}

/* View Archive Job Table */
.vaTable td {
    vertical-align: top;
}

.vaTable td:nth-child(1) > div {
    min-width: 15rem;
    max-width: 20rem;
}

.vaTable td:nth-child(3) > div {
    min-width: 10rem;
    max-width: 40rem;
}

.vaTable td:nth-child(4) > div {
    min-width: 10rem;
    max-width: 30rem;
}

.archHeader {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    border: solid 1px #000;
    color: #000;
    background-color: lightsteelblue;
    font-weight: bold;
    padding: 0.2rem;
    text-align: center;
    min-width: 10rem;
    max-width: 20rem;
}

/* View Archive - Photos */
.vapTable td > div {
    width: 10rem;
    vertical-align: top;
    text-align: center;
}

.vapTable .tap1 {
    max-height: 10rem;
}

.vapTable .tap2 {
    max-height: 5rem;
    text-align: left;
}

.tap {
    max-width: 10rem;
    max-height: 10rem;
}

/* View Archive - Signature */
.vasTable td {
    vertical-align: top;
}

.vasTable .sig {
    max-height: 10rem;
}

    .vasTable .signote > div {
        min-width: 15rem;
        max-width: 30rem;
        max-height: 10rem;
        overflow-y: auto;
    }

/* View Archive - Stage List */
.stagelist td {
    vertical-align: top;
}

    .stagelist td:nth-child(3) > div {
        min-width: 10rem;
        max-width: 30rem;
    }

/* Photos table */
.photoTable {
    width: 100%;
}

    .photoTable th:nth-child(1) {
    width: 11rem;
}

    .photoTable td {
        vertical-align: top;
    }

    .photoTable td:nth-child(2) {
        padding: 0;
    }

    .photoTable td > div {
        padding: 0.2rem;
    }

    .photoTable td > textarea {
        width: 100%;
    }

.photoxl {
    width:100%;
}

/* Customers table */
.custTable tr {
    vertical-align: text-top;
}

.custTable td > div {
    max-height: 7rem;
    min-width: 5rem;
    max-width: 30rem;
    overflow-y: hidden;
}

.custTable th:nth-child(1) {
    min-width: 10rem;
    max-width: 30rem;
}

.custTable th:nth-child(2) {
    min-width: 10rem;
    max-width: 30rem;
}

.custTable th:nth-child(3) {
    min-width: 10rem;
    max-width: 30rem;
}

/* Table links */
.linkDiv:hover {
    background-color: aquamarine;
    cursor: pointer;
}

/* Service Jobs table */
.serviceTable th {
    width: 3rem;
}

.serviceTable td:nth-child(1) > div {
    max-height: 6rem;
    min-width: 20rem;
    max-width: 30rem;
    overflow-y: hidden;
}

.serviceTable td:nth-child(n+5) {
    max-width: 6rem;
    min-width: 5rem;
}

/* No border table */
.noborderTable {
    border:none;
}

.noborderTable td {
    border: none;
    padding: 0.1rem;
}

/* Snapshot */
.snapshotTable .td1 {
    min-width: 15rem;
    max-width: 25rem;
}

.snapshotTable .td4 {
    min-width: 15rem;
    max-width: 30rem;
}

.snapshotTable td:nth-child(n+8) {
    width: 2rem;
}

.snapshotTable .sep {
    font-weight: bold;
    height: 1.7rem;
}

/* Site Form Visits Table*/
.visitTable {
    border: none;
    border-collapse: collapse;
    background-color: #eee;
}

    .visitTable th {
        border: none;
        background-color: #eee;
        font-weight: bold;
        padding: 0.2rem;
        text-align: center;
    }

    .visitTable td {
        border: none;
        empty-cells: show;
        padding: 0rem;
        height: 2rem;
        vertical-align:middle;
    }

    .visitTable td > input {
        margin: 0 0.5rem;
    }

/* Background colors */
.bcAQM {
    background-color: aquamarine;
}

.bcLGN {
    background-color: lightgreen;
}

.bcLPK {
    background-color: lightpink;
}

.bcLSB {
    background-color: lightsteelblue;
}

.bcCB {
    background-color: cornflowerblue;
}

.bcSB {
    background-color: steelblue;
}

.bcRD {
    background-color: red;
}

.bcOR {
    background-color: orange;
}

.bcYL {
    background-color: yellow;
}

.bcGN {
    background-color: green;
}

.bcBL {
    background-color: dodgerblue;
}

.bcPPL {
    background-color: purple;
}

.bcAQ {
    background-color: aqua;
}

.bcPGR {
    background-color: palegoldenrod;
}

.bcVLG {
    background-color: #f0f0f0;
}

.bcEEE {
    background-color: #eee;
}

.sortDown {
    background-color: cornflowerblue;
}

.sortUp {
    background-color: darkblue;
    color: white;
}

.colRD {
    color: red;
}

.colGN {
    color: green;
}

.colWH {
    color: white;
}

.warn {
    display: inline-block;
    background-color: red;
    color: white;
    padding: 0.3rem;
}

.fbGN {
    margin-top: 1rem;
    color: green;
}

.fbRD {
    margin-top: 1rem;
    color: red;
}

#pCounter {
    margin-top: 1rem;
}

.hide {
    display: none;
}

.pad2 {
    padding: 0.2rem;
}

.border2 {
    border: 2px solid black;
}

.photodesc {
    width: 100%;
    height: 6rem;
}

.stageNotes {
    width: 100%;
    height: 6rem;
}

.jobNotes {
    width: 100%;
    height: 15rem;
}

.custNotes, .newNotes, .podmessage {
    height: 6rem;
    width: min(100%, 600px);
}

.pdfdisplay {
    height: 1000px;
    width: min(100%, 800px);
}

.pdfimgdisplay {
    border: solid 0.1rem black;
    width: min(100%, 800px);
}

.quoteNotes {
    background-color: white;
    border: none;
}

.quotediv {
    /* vertical-align: top; */
    /* width: min(50rem, 100%); */
    height: fit-content;
    border: solid 0.1rem black;
}

.quotediv .th {
    color: #000;
    background-color: lightsteelblue;
    font-weight: bold;
    padding: 0.2rem;
    text-align: center;
    border-bottom: solid 0.1rem #000;
}

.quotediv .td {
    padding: 0.2rem;
}

.quotewords {
    background-color: white;
    border: none;
}

.copytext {
    float: right;
}

.imgPrev {
    /*max-width: 10rem;*/
    /*max-height: 10rem;*/
    max-width: 160px;
    max-height: 160px;
}

.bkp {
    max-width: 30rem;
}

.pointer {
    cursor: pointer;
}

.nophoto {
    font-size: 3rem;
    font-weight: bold;
    color:red;
}

.phone {
    float: right;
    height: 1.5rem;
    margin-left: 0.3rem;
}

.nolink {
    text-decoration: none;
    color: rgb(153,0,0);
    display: inline-block;
}

.nolink:hover {
    font-weight: bold;
    cursor: pointer;
}

.stats > div {
    margin-bottom: 0.2rem;
}

.stats > div > span {
    color: rgb(153,0,0);
    font-weight: bold;
}

.updown {
    height: 1rem;
    cursor: pointer;
    margin-left: 0.4rem;
}

.hsdiv {
    background-color: #eee;
    padding: 0.5rem;
}

div#sv {
    background-color: #eee;
}

/* Pager */
.pager {
    margin-top: 0.5rem;
}
.pager button {
    background-color: aquamarine;
    width: 6rem;
}

.pager button:hover {
    background-color: lightsteelblue;
}

.pager button:nth-of-type(2) {
    margin-left: 1rem;
}

/* Please Wait */
.loader {
    background-color: white;
    box-sizing: border-box;
    border: max(0.3rem, 3px) solid rgb(153,0,0);
    border-radius: 0.5rem;
    width: 12rem;
    min-height: 10rem;
    z-index: 2;
    box-shadow: rgba(0,0,0,0.2) 0.4rem 0.4rem 0.2rem;
    position: fixed;
    top: 40vh;
    left: 50vw;
    transform: translate(-50%, -50%);
    padding: 1rem;
    text-align: center;
}

.loader > div {
    font-weight: bold;
    color: rgb(153,0,0);
}

.loader > img {
    height: 4rem;
    margin-top: 1rem;
}

/* Custom Radio Buttons & Checkboxes */
/* The container */
.container {
    /*display: block;*/
    position: relative;
    padding-left: 1.3rem;
    margin-right: 1rem;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    /* Hide the browser's default radio button */
    .container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

/* Create a custom radio button */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 1rem;
    width: 1rem;
    background-color: #eee;
    border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
    background-color: rgb(153,0,0);
}

/* When the radio button is checked, add Sentex color background */
.container input:checked ~ .checkmark {
    background-color: rgb(153,0,0);
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.container .checkmark:after {
    top: 0.25rem;
    left: 0.25rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: white;
}

/* Create a custom checkbox */
.cbmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 1rem;
    width: 1rem;
    background-color: #fff;
    border: 1px solid rgb(153,0,0);
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .cbmark {
    background-color: rgb(153,0,0);
}

/* When the checkbox is checked, add Sentex color background */
.container input:checked ~ .cbmark {
    background-color: rgb(153,0,0);
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.cbmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the tick when checked */
.container input:checked ~ .cbmark:after {
    display: block;
}

/* Style the tick */
.container .cbmark:after {
    top: 0.1rem;
    left: 0.3rem;
    width: 0.25rem;
    height: 0.5rem;
    border: solid white;
    border-width: 0 0.2rem 0.2rem 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* Autocomplete */
.autocomplete {
    /*the container must be positioned relative:*/
    position: relative;
    display: inline-block;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid rgb(153,0,0);
    border-bottom: none;
    /*border-top: none;*/
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    /*top: 100%;*/
    left: 0;
    right: 0;
}

    .autocomplete-items div {
        padding: 0.3rem;
        cursor: pointer;
        background-color: #fff;
        /*border: 1px solid rgb(153,0,0);*/
        /*border-top: 1px solid rgb(153,0,0);*/
        border-bottom: 1px solid rgb(153,0,0);
    }

        .autocomplete-items div:hover {
            /*when hovering an item:*/
            background-color: #e9e9e9;
        }

.autocomplete-active {
    /*when navigating through the items using the arrow keys:*/
    background-color: rgb(153,0,0) !important;
    color: #ffffff;
}

/* Notifications at top of workshop notes inside table */
.alerts {
    color: red;
    font-weight: bold;
}

@media only screen and (max-width:1199px){
    .scrollToTopBtn {
        display:none;
    }
}

@media only screen and (min-width:1200px) {
    .scrollToTopBtn {
        background-color: blue;
        border: none;
        border-radius: 0.4rem;
        color: white;
        cursor: pointer;
        font-size: 1rem;
        line-height: 2rem;
        padding: 0 1rem;
        /* bottom left corner */
        position: fixed;
        bottom: 5vw;
        left: 5vw;
        /* keep on top */
        z-index: 100;
        /* hide with opacity */
        opacity: 0;
        /* add a translate effect */
        transform: translateY(10vw);
        /* and a transition */
        transition: all .5s ease
    }

    .showScrollToTopBtn {
        opacity: 1;
        transform: translateY(0)
    }
}

.tooltip {
    position: relative;
}

.tooltip .tooltiptext {
    visibility: hidden;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 0.2rem 0.3rem;
    border-radius: 0.2rem;
   
    /* Position the tooltip text */
    position: absolute;
    z-index: 100;
    bottom: 90%;
    left: 10%;

}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
  }