html {
  font-size: 14px;
}

@media (min-width: 768px) {
  .namobitelu, #namobitelu {
      display: none;
  }

  html {
    font-size: 16px;
  }

    /* Remove border between specific rows */
    .no-border {
        border-bottom: none; /* Remove bottom border of the first row */
    }

    .mobile-buttons-row.no-border {
        border-top: none; /* Remove top border of the second row */
    }

    .mobile-buttons-row {
        display: none; /* Hide the mobile row on desktop */
    }

    #slikapdfmob, .slikapdfmob {
        display: none;
    }

    #mobitel, .mobitel {
        display: none;
    }
}

/* Hide 'Opis' column on mobile */
@media (max-width: 768px) {
    #opisColumn, .opisColumn, #buttoncolumnweb, .buttoncolumnweb, #strelica, .strelica {
        display: none;
    }

    .mobile-buttons-row {
        display: table-row; /* Show the mobile-specific row */
    }

    .no-border {
        border-bottom: none; /* Remove bottom border of the first row */
    }

    .mobile-buttons-row.no-border{
        border: none;
    }

    .mobile-buttons-row {
        border-top: 1px solid white !important; /* Force the border to white */
    }

    tr, td {
        border-top: 1px solid white !important; /* Remove default borders */
    }



    .strelica, #strelica{
        display: none;
    }

    .dropdown-full-width {
        width: 100%; /* Ensure both elements take full available width */
        max-width: 300px; /* Optional: set a max-width for consistency */
    }

    #racunalo, .racunalo {
        display: none;
    }

    #mobiteln, .mobiteln {
        nav-right: revert;
    }

}


.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;
}

table {
    border-collapse: collapse; /* Ensures that the table's borders are collapsed into a single line */
    border-spacing: 0; /* Removes any spacing between table cells */
}

/* General styling */
.mobile-menu {
    display: none; /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 50%; /* Occupies half of the screen */
    height: 100%;
    background-color: #e3f2fd;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    z-index: 1050;
    overflow-y: auto;
    padding: 1rem;
    transition: transform 0.3s ease-in-out;
    transform: translateX(-100%); /* Hidden off-screen */
}

.mobile-menu.active {
    display: block;
    transform: translateX(0); /* Slide in */
}

/* Style for close button or menu toggle */
.navbar-toggler {
    z-index: 1060;
}

/* Responsive adjustments */
@media (min-width: 576px) {
    .mobile-menu {
        display: none; /* Hide on larger screens */
    }


    #mobitel, .mobitel {
        display: none;
    }
}

@media (max-width: 768px) {

.navbar-collapse {
    width: 50%;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    background-color: rgba(227, 242, 253, 0.9);
    z-index: 1050;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out, visibility 0.3s;
    visibility: hidden;
}

.navbar-collapse.show {
    transform: translateX(0); /* Slide in effect when open */
    visibility: visible; /* Make visible when toggled */
    top: 48px;
}

.navbar-toggler {
    position: absolute;
    right: 10px;
}

    .custom-mobile-center {
        margin-left: auto;
        margin-right: auto;
        width: fit-content; /* Ensures it doesn't take up the full width */
    }
}
