body {
  line-height: 1.7;
  color: #4d4d4d;
  font-weight: 400;
  font-size: 1rem;
  margin: 0px;
  font-family: "Nanum Gothic", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  overflow-x: hidden;
}
::selection {
  background: #000;
  color: #fff;
}

a:hover {
  text-decoration: none;
}
h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5 {
  font-family: "Nanum Gothic", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
.text-black {
  color: #000 !important;
}
.color-black-opacity-5 {
  color: rgba(0, 0, 0, 0.5);
}


.btn {
  border-radius: 0;
}
.btn:hover, .btn:active, .btn:focus {
  outline: none;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}


.border-top {
  border-top: 1px solid #edf0f5 !important;
}


.select-wrap, .wrap-icon {
  position: relative;
}
.select-wrap .icon, .wrap-icon .icon {
  position: absolute;
  right: 10px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  font-size: 22px;
}
.select-wrap select, .wrap-icon select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
}
.caption {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: bold;
}

.arrow_left {
    position: absolute;
    width: 20px;
    left: 10px; /* Adjust as needed */
    top: 20%; /* Vertically center the arrow */
    transform: translateY(-50%); /* Adjust for centering */
}

.arrow_right {
    position: absolute;
    width: 20px;
    right: 10px; /* Adjust as needed */
    top: 20%; /* Vertically center the arrow */
    transform: translateY(-50%); /* Adjust for centering */
}


@media (max-width: 991.98px) {
  .site-blocks-cover h1 {
    font-size: 2rem;
  }
}
.site-blocks-cover p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.2rem;
  line-height: 1.5;
}
.bg-light {
  background: #ccc;
}.h-entry img {
  margin-bottom: 30px;
}
.h-entry .meta {
  color: #b3b3b3;
  font-size: 14px;
}
.h-entry h2 {
  font-size: 20px;
}
.border-primary {
  position: relative;
}
.border-primary h2 {
  font-weight: 700 !important;
}
.border-primary:after {
  position: absolute;
  content: "";
  bottom: 0;
  width: 80px;
  height: 3px;
  background: #000000;
}
.border-primary.text-center:after {
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}
.border-primary.text-left:after {
  -webkit-transform: translateX(0%);
  -ms-transform: translateX(0%);
  transform: translateX(0%);
}
.form-search-wrap-header {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 7px;
  padding: 20px;
}

.text-primary {
  color: #FE6E15 !important;
}
.main-background {
  background: #FE6E15;
  font-weight: bold;
}
.main-background:focus, .main-background-active {
  background: #000000;
  color: #FE6E15;
}
.black-background {
  background: #000000;
  color: #FE6E15;
  font-weight: bold;
}
.black-background:focus, .black-background-active {
  background: #FE6E15;
  color: #000000;
}
.alert{
  position:relative;
  padding:1rem 1rem;
  margin-bottom:1rem;
  border:1px solid transparent;
  border-radius:2px
}
.alert-danger{
  color:#842029;
  background-color:#f8d7da;
  border-color:#f5c2c7
}
.alert-success{
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

/* Navbar styles */
.navbar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px; /* Adjust padding as needed */
    background-color: #FE6E15; /* Optional: Set background color */
}

.navbar-top .form-search-wrap-header {
    flex: 1; /* Take remaining space */
    margin-left: 20px; /* Adjust margin as needed */
}

.navbar {
    /*display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 10px 20px;  */
    
    background-color: #202020; /* Optional: Set background color */
}

.navbar .menu {
    margin-right: 20px; /* Adjust margin as needed */
}

.navbar a {
  
   /* display: inline-block;
    border-radius: 7px;
    color: #FFFFFF;
    background: #FE6E15;
    font-weight: bold;
    height: 50px;
    padding: 0 15px;
    border: none;
    cursor: pointer; */
    
    text-transform: uppercase; /* Make text all caps */
    line-height: 35px; /* Match the height of the element */
    text-align: center; /* Center the text horizontally */
    text-decoration: none;
    
}

/* Media query to center the menu on smaller screens */
@media (max-width: 768px) {
    .navbar-top {
        flex-direction: column;
    }
    
    .form-search-wrap-header {
        padding: 5px;
    }
    
    
    .navbar {
        justify-content: center; /* Center the entire navbar */
    }
    
    .navbar .menu {
        margin-right: 0; /* Remove right margin */
        justify-content: center; /* Center the menu items */
        flex-wrap: wrap; /* Allow menu items to wrap */
    }
    
    .navbar a {
        margin: 5px 0; /* Add margin to the top and bottom for spacing */
    }
}
 .logo {
        max-width: 250px; /* Adjust maximum width of the logo */
        height: auto; /* Maintain aspect ratio */
    }
    
    
@media (max-width: 650px) {
        
    .logo {
        max-width: 200px; /* Adjust maximum width of the logo */
        height: auto; /* Maintain aspect ratio */
    }
}
/* Media query for screens under 450px wide */
@media (max-width: 450px) {
    .navbar a {
        font-size: 12px; /* Decrease font size */
        padding: 0 10px; /* Adjust padding */
        height: 40px; /* Decrease height */
        line-height: 40px; /* Match the new height */
    }
}


    .logo2 {
        max-width: 100%; /* Adjust maximum width of the logo */
        height: auto; /* Maintain aspect ratio */
    }
    .logo3 {
        max-width: 250px; /* Adjust maximum width of the logo */
        height: auto; /* Maintain aspect ratio */
    }
	
.sub-but {
    display: inline-block;
    border-radius: 7px;
    color: #FFFFFF;
    background: #FE6E15;
    font-weight: bold;
    height: 50px; /* Match the input height */
    padding: 0 15px; /* Adjust padding for button content */
    border: none; /* Remove default border */
    cursor: pointer; /* Add pointer cursor */
}

.searchInput {
    width: calc(100% - 70px); /* Adjust based on button width and margins */
    display: inline-block;
    border-radius: 7px;
    height: 48px;
    padding: 0 15px;
    margin-right: 5px; /* Adjust as needed */
    border: 1px solid #ccc; /* Example border for input */
}

/*Site-wrap*/

.site-wrap {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-footer {
    flex-shrink: 0;
    background-color: #202020;
}
.site-footer .border-top {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.site-footer p {
  color: #737373;
}
.site-footer h2, .site-footer h3, .site-footer h4, .site-footer h5 {
  color: #fff;
}
.site-footer a {
  color: #999999;
}
.site-footer a:hover {
  color: white;
}
.site-footer ul li {
  margin-bottom: 10px;
}
.site-footer .footer-heading {
  font-size: 16px;
  color: #fff;
}

.text-center{
    text-align:center;
}

.site-section {
    flex-grow: 1;
}

/*Slider*/


/* Image fluid styles */
.img-fluid {
    width: 100%; /* Full width */
    height: auto; /* Height adapts based on image */
    display: block; /* Removes the small gap below the image */
    object-fit: cover; /* Ensures the image covers the container while maintaining aspect ratio */
}



/* Container for listings */
.listing-container {
    display: grid;
    gap: 20px; /* Space between grid items */
    padding: 20px; /* Adjust as needed */
    background-color: #333333;
    justify-items: center;
}

@media (min-width: 1200px) {
    .listing-container {
        grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .listing-container {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on tablets */
    }
}

@media (max-width: 767px) {
    .listing-container {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
}

/* Product Listing Styles */
.listing {
    display: flex;
    flex-direction: column;
    background-color: #ffffff; /* Background color for listings */
    border: 1px solid #ddd; /* Border color */
    border-radius: 10px; /* Rounded corners */
    overflow: hidden; /* Ensure content stays within the listing */
    transition: box-shadow 0.3s ease; /* Smooth transition for shadow on hover */
    position: relative;
}

.listing:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Shadow effect on hover */
}

.listing .img {
    display: block;
    width: 100%;
    height: 250px; /* Fixed height for image */
    background-size: cover;
    background-position: center;
}

.lh-content {
    padding: 15px; /* Padding inside the listing */
}

.lh-content h3 {
    color: #FE6E15; /* Primary color for price */
    font-size: 18px; /* Font size for price */
    margin: 0 0 10px 0; /* Margin around price */
}

.lh-content p {
    font-size: 14px; /* Font size for description */
    line-height: 1.2; /* Line height for description */
    color: #333; /* Text color for description */

}

.lh-content .category {
    display: block;
    font-size: 15px; /* Font size for category */
    color: #888; /* Text color for category */
    margin-bottom: 10px;
}

/* Location Selection Section */
.location-selection {
    text-align: center;
    padding: 20px; /* Add padding to the section */
    background-color: #FE6E15; /* Orange background color */
    color: #FFFFFF; /* White text color */
}

.location-selection h2 {
    margin: 0; /* Remove default margin */
    font-size: 20px; /* Decreased font size */
    color: #FFFFFF; /* Header text color */
    
    vertical-align: middle; /* Align vertically */
}

.location-selection select {
    width: 100%;
    max-width: 350px; /* Limit the width of the select box */
    height: 50px; /* Match the height of the select box */
    padding: 0 5px; /* Adjust padding for the content */
    border: 1px solid #FFFFFF; /* Border color */
    border-radius: 7px; /* Match border radius */
    font-size: 16px; /* Decreased font size */
    color: #202020; /* Text color */
    background: #FFFFFF; /* Background color */
    cursor: pointer; /* Add pointer cursor */
    vertical-align: middle; /* Align vertically */
}

/* Media query for screens under 450px */
@media (max-width: 450px) {
    .location-selection h2 {
        font-size: 16px; /* Decrease font size for smaller screens */
    }
    
    .location-selection select {
        max-width: 100px; /* Limit the width of the select box */
        font-size: 14px; /* Decrease font size for smaller screens */
    }
}

/* Login Form Container */
.login-container {
    text-align: center;
    margin: 0 auto;
    padding: 20px;
    background-color: #FE6E15; /* Orange background color */

    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    color: #FFFFFF; /* White text color */
}

/* Header Section */
.login-header {
    margin-bottom: 20px;
}

.login-header h4 {
    margin: 0;
    font-size: 24px;
    color: #FFFFFF; /* White text color */
}

/* Login Form Container */
.login-container {

    margin: 0 auto;
    padding: 20px;
    background-color: #FE6E15; /* Orange background color */
   
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    color: #FFFFFF; /* White text color */
    text-align: center; /* Center text content */
}

/* Header Section */
.login-header {
    margin-bottom: 20px;
}

.login-header h4 {
    margin: 0;
    font-size: 24px;
    color: #FFFFFF; /* White text color */
}

/* Alert Messages */
.alert {
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
    color: #202020; /* Text color for alert messages */
    background: #FFFFFF; /* Background color for alert messages */
}

.alert-danger {
    border: 1px solid #dc3545; /* Red border for danger alerts */
}

.alert-success {
    border: 1px solid #28a745; /* Green border for success alerts */
}

/* Form Section */
.login-form {
    width: 260px; /* Set form width */
    margin: 0 auto; /* Center the form */
    background-color: #FFFFFF4d; /* White background for form */
    padding: 20px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #202020; /* Text color for labels */
}

.form-input {
    width: 80%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    color: #202020; /* Text color for inputs */
}

/* Recaptcha Section */
.g-recaptcha {
    margin: 15px 0;
}

/* Submit Button */
.btn-submit {
    background-color: #000000; /* Black background color */
    color: #FFFFFF; /* White text color */
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.btn-submit:hover {
    background-color: #333333; /* Darker black on hover */
}

/* Footer Section */
.form-footer {
    text-align: center;
    margin-top: 20px;
}

.form-footer a {
    color: #FFFFFF; /* White link color */
    text-decoration: underline;
}

.form-footer a:hover {
    text-decoration: none;
}


/* Register Form Container */
.register-container, .advert-place-container{
    margin: 0 auto;
    padding: 20px;
    background-color: #FE6E15; /* Orange background color */
   
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    color: #FFFFFF; /* White text color */
    text-align: center; /* Center text content */

}

/* Header Section */
.register-header{
    margin-bottom: 20px;
}

.register-header h4 {
    margin: 0;
    font-size: 24px;
    color: #FFFFFF; /* White text color */
}
.register-container form, .advert-place-container form{
    width: 260px; /* Set form width */
    margin: 0 auto; /* Center the form */
    background-color: #FFFFFF4d; /* White background for form */
    padding: 20px;
    border-radius: 8px;
}

.g-recaptcha :first-of-type {

    transform: scale(0.9); /* Adjust the scale factor as needed */
    transform-origin: 22% 0; /* Adjust the origin to keep the widget positioned correctly */
    width: 304px; /* Default width of reCAPTCHA widget */
    height: 78px; /* Default height of reCAPTCHA widget */
    overflow: hidden; /* Hide overflow to prevent display issues */
    margin: 0 auto; /* Center the widget horizontally */
}

.telnommer{
  font-size: 22px;
  color: #FE6E15;
}
.watnommer{
    font-size: 27px;
    color: #00D95F;
}
.category{
        text-align: center;

}
.category p{
    font-weight: 700;
    background-color: #FE6E15;
    border-radius: 10px;
    padding: 5px;
    width: 90%;
    margin: auto;
    margin-bottom: 10px;
}

.category a{
     font-weight: 300;
}

.desc{
    min-height: 100px;
    max-height: 100px;
    overflow-y: auto;
}


/* General Table Styles */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 16px;
  color: #333;
}

/* Table Header */
th {
  background-color: #f4f4f4;
  color: #333;
  padding: 12px 15px;
  text-align: left;
  border-bottom: 2px solid #ddd;
}

/* Table Data Cells */
td {
  padding: 12px 15px;
  border-bottom: 1px solid #ddd;
}

/* Zebra Striping */
tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Table Hover Effect */
tr:hover {
  background-color: #eaeaea;
}

/* Table Borders */
table {
  border: 1px solid #ddd;
}

/* Optional: Responsive Table */
@media (max-width: 600px) {
  table {
    border: 0;
  }
  thead {
    display: none;
  }
  tr {
    display: block;
    margin-bottom: 10px;
  }
  td {
    display: block;
    text-align: right;
    font-size: 14px;
    padding: 10px;
    position: relative;
    border: none;
  }
  td::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    width: 50%;
    padding-right: 10px;
    white-space: nowrap;
    font-weight: bold;
    background: #f4f4f4;
    border-right: 1px solid #ddd;
  }
}

/* Base styles for larger screens (above 900px) */
.location-selection {
    display: flex;
    justify-content: center;
    align-items: center; /* Centers items vertically */
    gap: 20px; /* Space between items */
    text-align: center;
    padding: 20px;
    background-color: #FE6E15;
    color: #FFFFFF;
}


.form-search-wrap {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
    max-width: 900px;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-wrap: nowrap;
}




.banner-manager {
    font-family: Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}


.upload-form {
    text-align: center;
    margin: 20px 0;
}

.file-input-label {
    display: inline-block;
    padding: 10px 15px;
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.file-input-label:hover {
    background-color: #e0e0e0;
}

.file-input-label input[type="file"] {
    display: none;
}

.upload-button {
    margin-left: 10px;
    padding: 10px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.upload-button:hover {
    background-color: #45a049;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-content: center;
}

.image-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    aspect-ratio: 16 / 9;
}

.image-item:hover {
    transform: scale(1.05);
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.delete-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255, 0, 0, 0.7);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 18px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.delete-icon:hover {
    background: rgba(255, 0, 0, 0.9);
}



#user-listings #userForm {
    margin-bottom: 20px;
    text-align: center;
}

#user-listings #userForm label {
    font-weight: bold;
    margin-right: 10px;
}

#user-listings #userForm select {
    padding: 5px 10px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

#user-listings #listings {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.listing {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px;
    width: 300px;
    box-sizing: border-box;
}

.listing h3 {
    font-size: 20px;
    margin-bottom: 10px;
}



.listing img.listing-image {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
    border-radius: 4px;
}

.listing button {
    background-color: #f44336;
    color: #fff;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin: 5px;
}

.listing button:hover {
    background-color: #d32f2f;
}

.verified {
    display: block;
    width : 150px;
    margin: auto;
}


.nav-middle{
    justify-content: center!important;
}






.edit-profile-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.edit-profile-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 15px;
}

.edit-profile-title {
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.edit-profile-form-group {
    margin-bottom: 25px;
}

.edit-profile-label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-weight: bold;
}

.edit-profile-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.edit-profile-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.edit-profile-btn:hover {
    background-color: #0056b3;
}

.edit-profile-alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.edit-profile-alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.edit-profile-alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.edit-profile-town-change {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.edit-profile-town-change h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.2em;
}

textarea.edit-profile-input {
    height: 100px;
    resize: vertical;
}

.edit-profile-btn-warning {
    background-color: #ffc107;
    color: #000;
}

.edit-profile-btn-warning:hover {
    background-color: #e0a800;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .edit-profile-section {
        padding: 40px 0;
    }

    .edit-profile-container {
        padding: 0 10px;
    }

    .edit-profile-title {
        font-size: 24px;
    }

    .edit-profile-input {
        font-size: 14px;
    }

    .edit-profile-btn {
        font-size: 16px;
    }
}

#dashboardStats, #user-req{
    padding: 20px;
    background-color: #f5f5f5;
    margin: 10px 0;
}

summary, .login-content p{
    text-align: left;
}
 
 
 
 
 
.navbar {
    position: relative;
    background-color: #333;
    padding: 10px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hamburger {
    cursor: pointer;
    font-size: 24px;
}

.menu {
    position: absolute;
    z-index: 1000;
    top: 100%;
    left: 0;
    background-color: #444;
    border: 1px solid #333;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.menu a {
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu a:hover {
    background-color: #555;
}

 
 
.location-selection .form-search-wrap {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping for smaller screens */
    justify-content: space-between;
    align-items: center;
    gap: 1rem; /* Space between items */
}

.location-selection form {
    width: 100%; /* Full width of container */
    display: flex;
    flex-wrap: wrap; /* Allows wrapping for smaller screens */
    gap: 1rem;
 
}

.location-selection form > div {
    flex: 1 1 auto; /* Grow and shrink based on content */
   
}

.location-selection form button {
    flex: 0 0 auto; /* Prevent the button from stretching */
    align-self: center; /* Vertically center the button */
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .location-selection .form-search-wrap {
       /* flex-direction: column;  Stack items vertically */
    }



    .location-selection form button {
        align-self: stretch; /* Stretch button to fit full width */
    }
}

.btn {
    border-radius: 5px;
    padding: 10px;
	max-width: 100px;
    margin-top: 30px;
}

		
	.btn-menu {
    border-radius: 5px;
    padding: 10px;
	max-width: 200px;
    margin-top: 5px;
	font-size: 20px;
}
	