body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
	font-family: 'Roboto Flex', sans-serif; /* Global font */
    
}

.logo {
        height: 64px; /* Default height for larger screens */
    }
    @media (max-width: 1200px) {
        .logo {
            height: 50px; /* Adjusted for smaller large screens */
        }
    }
    @media (max-width: 768px) {
        .logo {
            height: 40px; /* Adjusted for tablets */
        }
    }
    @media (max-width: 576px) {
        .logo {
            height: 30px; /* Adjusted for mobile devices */
        }
    }


.content {
    flex: 1;
    margin-top: auto;
}

.red-bg{
background-color: #DB2D2E;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center; /* Center text content */
}

footer p {
    margin: 0; /* Remove default margins */
}

.designed-by {
    font-size: 80%;
    margin-left: auto !important; /* Ensure text is aligned to the right */
	padding-top: 10px;
	padding-right: 10px;
	color: gray;
}

 .designed-by:hover {
        color: #f5f5f5; /* Change the color to your desired hover color */
    }


.navbar-nav .nav-link {
    color: #323232 !important;
    font-size: 18px !important;
    font-weight: 500 !important;
	text-transform: uppercase;
	gap: 0 5px;

}

#red{
	color: #db2d2e !important;
}

.bg-info {
    background-color: #495057 !important;
}

.auction-countdown-label {	
    font-weight: bold;
    color: #333; /* Change the color to a darker shade */
    font-size: 1em; /* Increase the font size */
}


.auction-end-label {	    
    color: #333; /* Change the color to a darker shade */
    font-size: 0.9em; /* Increase the font size */
}


.main-content {
    padding-right: 15px; /* Adjust as needed */
    padding-left: 15px; /* Adjust as needed */
}

.card-deck {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
	margin-bottom: 10px;
}

.card {
    flex: 0 0 calc(50% - 10px); /* Adjust as needed */
    margin-bottom: 20px; /* Adjust as needed */
}


.card-link:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Add a subtle shadow effect */
    transform: translateY(-2px); /* Move the card slightly upwards */
}

.card-title-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}


.card-opis-container {    
    top: 0;
    left: 0;
    right: 0;
    min-height: 66px;

}

.card-body {	
	padding: 0px;
	background: #f5f5f5;
	
}


.card-deck .card {
    margin-bottom: 15px;
    min-width: 320px;
}


.card-link {
    color: inherit; /* Inherit text color */
    text-decoration: none; /* Remove default underline */
	flex: 0 0 calc(50% - 10px);
    margin-bottom: 20px;
}

.card-link+.card-link {
    margin-left: 0px;
}

.lightbox-image {
    transition: opacity 0.3s ease;
}

.lightbox-image:hover {
    opacity: 0.8; /* Adjust the opacity value to your preference */
}

.login-card {
    padding: 10px;
}

.pagination-container {
    display: flex;
    justify-content: center;
}


.submenu {
	margin-top: 10px;
    background-color: #f0f0f0; /* Background color for the submenu */
    padding: 10px; /* Add some padding around the links */
}

.submenu a {
    text-decoration: none; /* Remove underlines from links */
    color: black; /* Link text color */
    padding: 5px 10px; /* Add padding to the links */
    margin-right: 10px; /* Add space between links */
    border-radius: 4px; /* Rounded corners for links */
    background-color: #ccc; /* Background color for links */
}

.submenu a:hover {
    background-color: #555; /* Change background color on hover */
    color: white !important; /* Change text color on hover */
}


    .inline-form-container form {
        display: inline-block;
        margin-right: 10px; /* Add some spacing between the forms */
    }





.user-info {
            background-color: #f8f9fa;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }
        .user-info h2 {
            margin-bottom: 20px;
        }
        .user-info .info-group {
            margin-bottom: 15px;
        }
        .user-info .info-group label {
            font-weight: bold;
            margin-bottom: 5px;
        }
        .user-info .info-group .info {
            background-color: #ffffff;
            padding: 10px;
            border: 1px solid #dddddd;
            border-radius: 5px;
        }
		
		
		
.form-control {

    height: calc(1.5em + 1em + 2px);

}		


.container-fluid {
    position: relative;
    background-image: url('https://pro-theme.com/html/carlink/images/carbox-bg.png'); /* Background image URL */
    background-size: cover; /* Scale the image to cover the container */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent tiling */
    background-attachment: fixed; /* Optional: Keeps the image fixed while scrolling */
    padding: 20px; /* Add spacing to the container content */
    z-index: 1; /* Ensure it's beneath all content */
}


.filter-container {
    position: relative; /* Required for ::before pseudo-element */
    padding: 20px;
    border-radius: 5px;    
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
	margin-top: 20px;
    overflow: hidden; /* Ensures the background image stays inside rounded corners */
}

.filter-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;    
    background-size: cover;
    background-position: center;
    opacity: 0.1; /* Adjust for low visibility */
    z-index: -1; /* Ensures it’s behind all content */
    border-radius: 5px; /* Match container border radius */
}


.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.form-group {
    flex: 1 1 calc(25.5% - 20px); /* Three items per row */
    min-width: 200px;
}

.form-control {
    height: 40px;
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.filter-label {
    font-weight: bold;
    font-size: 0.9em;
    margin-bottom: 5px;
    display: block;
	color: #ffffff;
}

.btn-danger {
    background-color: #323232;
    border: none;
    color: white;
    font-weight: bold;
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    
}

.btn-danger:hover {
    background-color: #32578b;
}

@media (max-width: 768px) {
    .form-group {
        flex: 1 1 100%; /* One item per row on smaller screens */
    }
}


.hero-section {
    background-color: #f9f9f9;    
}

.row {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Ensures the text and image are evenly spaced */
	align-items: flex-start;
}

.text-content {
    text-align: left;
    padding-right: 20px; /* Creates spacing between text and image */
}

.text-content h1 {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.red-p{
	font-size: 2rem !important;
	color: #DB2D2E !important;
}

.text-content p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 15px;
}

.text-content .btn {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.text-content .btn:hover {
    background-color: #32578b;
}

.car-image {
    max-width: 100%;
    height: auto;
    display: block;
}





.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
    margin-left: 10px;
}

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

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

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

input:checked + .slider {
    background-color: #2196F3;
}

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


.modal-dialog {
     max-width: 800px;
}


.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #383d41;
    border-color: #6c757d;
}