html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}


/* START dark / light theme */
body {
    --text-color: #212529;
    --bkg-color: #f8f9fa;
}

body.dark-theme {
    --text-color: #f8f9fa;
    --bkg-color: #212529;
}

/* defaults to dark theme */
@media (prefers-color-scheme: dark) {
    body {
        --text-color: #f8f9fa;
        --bkg-color: #212529;
    }

    body.light-theme {
        --text-color: #212529;
        --bkg-color: #f8f9fa;
    }
}

/** {
    font-family: Arial, Helvetica, sans-serif;
}*/

body {
    color: var(--text-color);
    background: var(--bkg-color);
}

div, h1, h2, h3, h4,
p,
table, thead, tr, th, td {
    color: var(--text-color);
    background: var(--bkg-color);
}

.card, .row, .col {
    color: var(--text-color);
    background: var(--bkg-color);
}
/* END */

/* START custom CSS */
.add-margin {
    margin-bottom: 11px;
}

.hr-dark {
    height: 1px;
    background-color: #DDDDDD;
    border: none;
}

.hr-light {
    height: 1px;
    background-color: #EEEEEE;
    border: none;
}

.fg-danger {
    color: #ff0000 !important
}


main > .container {
    padding-top: 15px;
}

#bttButton {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #555; /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
}

#bttButton:hover {
    background-color: #0d6efd; /* Add a dark-grey background on hover */
}
/* END */
