﻿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;*/
    display: flex;
    flex-direction: column;
    margin: 0;
}

.app-footer {
    background-color: #000;
    color: #fff;
    padding: 8px 0;
    font-size: 13px;
}

/* ONE single centered row */
/*.footer-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: center;
}*/

/* Text */
/*.footer-text {
    white-space: nowrap;
    text-align: center;
}*/

/* Powered by block */
/*.sidebar-logos {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}*/

/* Gear + leaf combo */
/*.gear-leaf-combo {
    position: relative;
    width: 26px;
    height: 26px;
}

.gear {
    width: 100%;
    height: 100%;
}

.leaf {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 16px;
    height: 16px;
}*/

/* MLTS logo */
/*.mlts-logo {
    height: 26px;
}
.footer-row {
    justify-content: center !important;
}*/
.footer-row {
    display: flex;
    justify-content: center; /* center whole line */
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    white-space: normal;
    width: 100%;
    text-align: center;
}

.footer-text {
    display: inline-block;
}

.sidebar-logos {
    display: flex;
    align-items: center;
    gap: 10px;
    height: auto;
}

/* Gear + leaf */
.gear-leaf-combo {
    position: relative;
    width: 25px;
    height: 25px;
}

.gear {
    width: 100%;
    height: 100%;
    animation: spin 4s linear infinite;
    display: block;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.leaf {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 23px;
    height: 23px;
    transform: translate(-50%, -50%);
    display: block;
}

.mlts-logo {
    width: 50px;
    height: 25px;
    display: block;
}

.table-responsive {
    cursor: grab;
    user-select: auto;
}

.table-responsive.table-dragging {
    cursor: grabbing;
    user-select: none;
}

@media (max-width: 575.98px) {
    .app-footer {
        padding: 10px 12px;
        font-size: 12px;
    }

    .footer-row {
        gap: 6px 10px;
        line-height: 1.35;
    }

    .sidebar-logos {
        justify-content: center;
    }
}
