html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

@font-face {
    font-family: 'StabilGrotesk';
    src: url('../fonts/StabilGrotesk-Regular.woff');
}

.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%;
    font-family: 'StabilGrotesk';
}

body {
    margin-bottom: 60px;
    font-family: 'StabilGrotesk';
}

.navbar-logo {
    width: 100px;
    height: auto;
    margin-right: 10px;
    vertical-align: middle;
}

.img-logo-login {
    width: 200px;
    padding: 15px;
}

.scroll-container {
    width: 100%;
    overflow-x: auto;
}

.scroll-table {
    max-height: 300px;
    overflow-y: auto;
    position: relative;
}

.scroll-table-header {
    position: sticky;
    top: 0;
    z-index: 1;
}

.divider {
    height: 20px;
    width: 100%;
    background-color: transparent;
    margin: 10px 0;
}

.btn-basic {
    border: none;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 2px 1px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-default {
    width: 50%;
}

.border-black {
    border: 1px solid black;
}

.input-with-icon {
    position: relative;
    display: inline-block;
}

.input-with-icon input {
    padding-left: 30px;
}

.input-with-icon .icon-search {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.center-section {
    display: flex;
    justify-content: center;
}

.center-vertical-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.icon-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: none;
}

.icon-button-background {
    border: none;
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    outline: none;
    width: 50px;
    height: 50px;
}

.static-map-container {
    width: 100%;
    max-width: 600px;
    height: 0;
    padding-bottom: 50%;
    position: relative;
}

.static-map-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-container {
    height: 225px;
    width: 100%;
}

.center-label {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
}

.main-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.main-header-space {
    display: flex;
    align-items: center;
}

.main-header-section {
    display: flex;
    align-items: center;
    margin-right: 5px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.main-header-section-date {
    display: flex;
    align-items: center;
}

.main-header-section-user {
    display: flex;
    align-items: center;
    margin-right: 5px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.main-header-element {
    margin-left: 10px;
    margin-right: 10px;
}

@media (max-width: 575px) {
    .main-header-section, .main-header-section-date, .main-header-section-user {
        width: 100%;
    }

    .main-header {
        margin-top: 10px;
    }
}

.single-table {
    width: 100%;
    text-align: center;
    border-collapse: collapse;
}

.single-table th, .single-table td {
    padding: 1rem;
}

.dropdown-menu, .dropdown-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: none;
    position: absolute;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
    top: 0;
}

.dropdown-menu > li {
    cursor: pointer;
}

.labels-container {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
}

.input-with-button-container {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
}

.input-with-button-container input[type="text"] {
    border: none;
    outline: none;
    width: 100%;
    padding: 5px;
}

.input-with-button-container button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.input-with-button-container button i {
    font-size: 20px;
}

.drag-handle {
    cursor: grab;
    font-size: 18px;
    text-align: center;
    width: 40px;
    user-select: none;
}

.drag-handle:active {
    cursor: grabbing;
}

.dragging {
    opacity: 0.5;
}

.link-button {
    background: none;
    border: none;
    color: #0099FF;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: red;
    transition: 0.4s;
    border-radius: 20px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: green;
}

input:checked + .slider:before {
    transform: translateX(20px);
}
