/**
 * Theme Name:     Hello Elementor Child
 * Author:         Elementor Team
 * Template:       hello-elementor
 * Text Domain:	   hello-elementor-child
 * Description:    Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
 */


.filter-toggle:focus, .filter-toggle:hover, .filter-toggle:focus, .filter-toggle:hover, .filter-toggle:focus, .filter-toggle:hover {
    color: #fff !important;
    background-color: #2b95c0 !important;
    text-decoration: none !important;
}

.filter-toggle{
    display: inline-block;
    font-weight: 400;
    color: #fff !important;
    text-align: center;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: #2b95c0 !important;
    border: 1px solid #2b95c0 !important;
    padding: .5rem 1rem;
    font-size: 12px !important;
    border-radius: 3px;
    transition: all .3s;
}

#reset-filters:focus, #reset-filters:hover, #reset-filters:focus, #reset-filters:hover, #reset-filters:focus, #reset-filters:hover {
    color: #fff !important;
    background-color: #2b95c0 !important;
    text-decoration: none !important;
}

#reset-filters{
    display: inline-block;
    font-weight: 400;
    color: #2b95c0 !important;
    text-align: center;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid #2b95c0 !important;
    padding: .5rem 1rem;
    font-size: 1rem;
    border-radius: 3px;
    transition: all .3s;
}


#export-xls:focus, #export-xls:hover, #export-xls:focus, #export-xls:hover, #export-xls:focus, #export-xls:hover {
    color: #fff !important;
    background-color: #2b95c0 !important;
    text-decoration: none !important;
}

#export-xls{
    display: inline-block;
    font-weight: 400;
    color: #2b95c0 !important;
    text-align: center;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid #2b95c0 !important;
    padding: .5rem 1rem;
    font-size: 1rem;
    border-radius: 3px;
    transition: all .3s;
}



.top-header.scrolled {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.filter-toggle::after {
    content: "▼";
    float: right;
    transition: transform 0.3s ease;
}

.filter-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.filter-group {
    margin-bottom: 15px;
}

.filter-options {
    padding: 1em;
    margin-bottom: 1em;
    background:#f6f6f6;
}

.filter-options label {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 500;
    margin-right: 15px;
}

.filter-options input[type="checkbox"] {
    margin-right: 5px;
}

input#table-search {
    width: 79%;
    float: left;
    margin-right: 5px;
}

.search-bar {
    max-width: 100%;
    width: 1100px;
    margin: 30px auto;
}

button.filter-toggle {
    width: 100%;
    text-align: left;
    margin-bottom: 0;
}

.taxonomy-banner::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5); /* black overlay with 50% opacity */
  z-index: 1;
}

.product-table thead tr th {
    background: #2b95c0;
    color: #fff;
}

.taxonomy-banner h1 {
    z-index: 1;
    position: relative;
}

@media (max-width: 767px) {
  .filter-options {
    display: none;
  }

  .filter-toggle[aria-expanded="true"] + .filter-options {
    display: block;
  }
}

.job-img {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.job-img img::after {
   content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  border: 4px solid #000; /* Adjust color and width as needed */
  z-index: -1;
  box-sizing: border-box;
  border-radius: 8px; /* Optional: match image border radius */
}

.job-img img {
  box-shadow: 0 0 10px 2px #000; /* Adjust the shadow to mimic a border */
  border-radius: 8px; /* Optional: match image border radius */
}

.table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}


.taxonomy-content-wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Flex layout for filters + content */
.taxonomy-content {
  display: flex;
  gap: 20px;
}

/* Sidebar: 20% width on desktop */
.taxonomy-sidebar {
  flex: 0 0 20%;
  max-width: 20%;
}

/* Table section: 80% width on desktop */
.taxonomy-main {
  flex: 0 0 80%;
  max-width: 80%;
}

/* Table responsiveness */
.table-container {
  overflow-x: auto;
  width: 100%;
}

.product-table {
  min-width: 900px; /* or larger depending on number of columns */
  width: 100%;
  border-collapse: collapse;
}

/* Responsive stacking on small screens */
@media (max-width: 768px) {
  .taxonomy-content {
    flex-direction: column;
  }
	.top-header {
    position: static !important;
    background: #333;
    padding: 10px 10px 20px;
}
	
	input#table-search {
    width: 100%;
}
	
	.search-bar{
		text-align:center;
		margin-bottom:20px;
	}
	
	#table-search{
		margin-bottom:10px;
	}

  .taxonomy-sidebar,
  .taxonomy-main {
    max-width: 100%;
    flex: 0 0 100%;
  }

  .product-table {
    font-size: 14px;
  }
}

.table-responsive {
    margin: 0 auto;
    width: 100%;
    max-width: 1300px;
    padding: 40px 0px;
}
