
.content-item {
    padding:30px 0;
	background-color:#FFFFFF;
}

.content-item.grey {
	background-color:#F0F0F0;
	padding:50px 0;
	height:100%;
}

.content-item h2 {
	font-weight:700;
	font-size:35px;
	line-height:45px;
	text-transform:uppercase;
	margin:20px 0;
}

.content-item h3 {
	font-weight:400;
	font-size:20px;
	color:#555555;
	margin:10px 0 15px;
	padding:0;
}

.content-headline {
	height:1px;
	text-align:center;
	margin:20px 0 70px;
}

.content-headline h2 {
	background-color:#FFFFFF;
	display:inline-block;
	margin:-20px auto 0;
	padding:0 20px;
}

.grey .content-headline h2 {
	background-color:#F0F0F0;
}

.content-headline h3 {
	font-size:14px;
	color:#AAAAAA;
	display:block;
}


#comments {
    /*box-shadow: 0 -1px 6px 1px rgba(0,0,0,0.1);*/
	background-color:#FFFFFF;
}

.post-wrapper {
	padding:20px 0;
	margin:0;
}

.post-wrapper:hover {
	box-shadow: 0 -1px 6px 1px rgba(0,0,0,0.1);
}

.img-container {
	display: flex;
  justify-content: center;
  align-items: center;
}
.img-container a img {
	display: block;
}

.post-title {
	font-size: 20px;
}

  .header-banner {
	min-height: 100px;
	background: #0f106d;
	text-align: center;
	padding-top: 1%;
	color: white;
  }
  .header-banner h3 {
	color: white;
  }
  .categories-list {
	  list-style: none;
	  margin: 0;
	  padding: 0;
  }
  .categories-list-child {
	  list-style: none;
	  padding: 0;
  }
  .categories-list li {
	margin-top: 5px;
}
.categories-list-child li {
	margin-top: 5px;
}
#search-results {
	margin-left: 0px;
	position: absolute; 
	top: 100%; 
	left: 0; 
	z-index: 1000; 
	width: 100%;
	overflow-y: scroll;
	max-height: 300px;
	background: white;
} 

  .sidebar li .submenu{ 
	list-style: none; 
	margin: 0; 
	padding: 0; 
	padding-left: 1rem; 
	padding-right: 1rem;
}
.flex-facets-list {
  max-height : 700px;
  overflow-y : scroll;
}

.flex-facets-list::-webkit-scrollbar {
    width: 5px; /* Width of the scrollbar */
}

.flex-facets-list::-webkit-scrollbar-track {
    background-color: #f1f1f1; /* Color of the track */
}

.flex-facets-list::-webkit-scrollbar-thumb {
    background-color: #888; /* Color of the thumb */
}
#search-results::-webkit-scrollbar {
    width: 5px; /* Width of the scrollbar */
}

#search-results::-webkit-scrollbar-track {
    background-color: #f1f1f1; /* Color of the track */
}

#search-results::-webkit-scrollbar-thumb {
    background-color: #888; /* Color of the thumb */
}

.selected-facet {
	background-color: #f0f8ff;
	font-weight : bold;
  }

  .highlight {
    background-color: yellow;
}
.flex-search-input {
	border-radius: 25px !important;
}
.flex-search-btn {
	border-radius: 25px !important;
	padding: 7px 21px !important;
}

.top-flex-search-btn {
	border-radius: 25px !important;
	padding: 7px !important;
}

.flexsearch-field {
    padding-right: 0 !important;
    width: 62% !important;
}

.list-group-item a {
	text-decoration: none;
}

.result-container{
	min-height: 250px;
}

/*   Promotional Post Css Start */

   /* Optional CSS for custom styling */
   .carousel-control-prev-icon,
   .carousel-control-next-icon {
	   background-color: #007bff; /* Customize carousel control button color */
   }
   
   .carousel-control-prev,
   .carousel-control-next {
	   width: auto; /* Adjust width as needed */
	   background-color: transparent; /* Transparent background for controls */
   }
   
   .block {
	  background-color: #ffffff;
	  border-radius: 8px;
	  padding: 10px;
	  margin-bottom: 1rem;
	  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	  }
	  .block-image-container {
	  min-height: 130px; 
	  /* border-radius: 8px;  */
	  display: flex;
	  align-items: center; 
	  justify-content: center; 
	  overflow: hidden; 
	  }
	  .block .block-image-container img {
	  max-width: 100%; 
	  max-height: 100%; 
	  object-fit: cover;
	  }
	  .block-title {
	  font-size: 12px !important;
	  margin-top: 1rem;
	  height: 42px;
	 overflow: hidden;
	 line-height: 18px;
	  }
	  .learn-more-container{
		text-align: left;
	  }
	  .learn-more {
	  color: #007bff;
	  font-size: 12px;
	  text-decoration: none;
	  }
	  .learn-more:hover {
	  text-decoration: underline;
	  }
	  .promotion_post_title {
		 font-size : 12px !important;
	  }
	  .promotion-container{
		 background: #2196F31A;
	  }
 /*   Promotional Post Css End */  

 /** Filter By Css Start */

 .chip {
	display: inline-flex;
	align-items: center;
	padding: 5px 7px;
	margin: 0.25rem;
	font-size: 0.875rem;
	font-weight: 400;
	color: #495057;
	background-color: #e2e3e5;
	border-radius: 999px;
	margin-left: 0px;
	}
	.chip span {
	color: inherit;
	margin-right: 0.5rem; /* Adds space between btn-close button and text */
	}
	.chip .btn-close {
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	background-color: #aaacae;
	color: #ffffff;
	transition: background-color 0.3s ease;
	text-decoration: none;
	}
	.chip .btn-close:hover {
	background-color: #8e9093;
	text-decoration: none;
	}

	.filter-by{
		padding-left: 0px !important;
    		padding-right: 0px !important;
	}
	 /** Filter By Css End */

/** sort by css start */
#sort-by {
	border-radius: 30px; /* Adjust the value for more or less curvature */
}
/** sort by css end */

@media screen and (max-width: 480px) {
	/* Styles for screens with a width up to 480px */
	.flex-search-button{
		text-align: center;
  	margin-top: 10px !important;
	}

  .header-banner{
    min-height : 100px;
  }

  .flex-facets-list{
    max-height : 400px;
  }

  .post-title {
    text-align : center;
    margin-top: 10px;
  }

  #search-results {
    margin: 0px 13px 0px 0px;
  }

  .block-image-container {
	height: auto;
  }

  .block-title{
	text-align: center;
  }

  .learn-more-container {
	text-align: center !important;
  }

  .result-container{
	min-height: 300px;
   }

   .category_title {
	width: 70%;
   }
   .clear_all {
	width: 30%;
	text-align: right;
   }
	
  }

  @media screen and (min-width: 481px) and (max-width : 767) {
    .flex-search-button{
		text-align: center;
  	margin-top: 10px !important;
	}

  .flex-facets-list{
    max-height : 400px;
  }

  .post-title {
    text-align : center;
    margin-top: 10px;
  }

  #search-results {
    margin: 0px 13px 0px 0px;
  }

  .header-banner{
    min-height : 150px;
  }
  }

  @media screen and (min-width: 768px) and (max-width: 990px) {

    .two-column-list {
  /* Prevent list items from displaying as inline */
  display: block;
  /* Prevent any default list styles */
  list-style: none;
  /* Use multi-column layout */
  column-count: 2;
  column-gap: 20px; /* Adjust as needed */
}

/* Optional: add some basic styling to list items */
.two-column-list li {
  margin-bottom: 10px;
}

.flex-facets-list{
    max-height : 400px;
  }
  }

  @media screen and (min-width: 1400px) {
	.block-image-container {
		min-height: 150px !important;
	}
  }


  /* post type filter styles */
 
  /* Custom styles to override Bootstrap's blue color */
.btn-outline-primary {
    color: black !important; /* Teal color for the text */
    border-color: black !important; /* Teal border color */
}

.btn-outline-primary:hover {
    color: #fff !important; /* White text color on hover */
    background-color: #007bff !important; /* Darker teal color on hover */
    border-color: #007bff !important; /* Darker teal border color on hover */
}


.flexsearch-post-type-filter-container label {
    white-space: nowrap; /* Prevents text from wrapping to a new line */
    flex: 1; /* Distributes space evenly among buttons */
    text-align: center; /* Centers the text within each label */
}

.flexsearch-post-type-filter-container .btn-outline-primary {
    padding: 10px 5px; /* Adjusts padding to fit text better */
    font-size: 14px; /* Adjust font size if needed */
}

.flexsearch-post-type-filter-container {
    display: flex;
}


/* Round the first and last tab corners */
.flexsearch-post-type-filter-container .all {
	border-top-left-radius: 20px !important;
	border-bottom-left-radius: 20px !important;
}

.flexsearch-post-type-filter-container .affiliate-programs {
	border-top-right-radius: 20px;
	border-bottom-right-radius: 20px;
}

#spinnerOverlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #2a2a2a55;
	z-index: 9999; /* On top of all content */
	justify-content: center;
	align-items: center;
}

.ad-size{
	height: 250px;
    width: 300px;
}

.ad-div-size {
	display: flex !important;
     	justify-content: center !important;
	align-self: center;
}
.ad-placement {
	display: flex !important;
}
.carousel-control-next, .carousel-control-prev {
	width: auto !important;
}
.carousel-control-prev {
	left: -13px !important;
}
.carousel-control-next {
	right: -13px !important;
}

.carousel-control-prev,
.carousel-control-next {
    background-color: transparent !important;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: transparent !important; /* No background on hover */
    box-shadow: none !important; /* Remove any shadow if present */
}

/* Background color for autosuggestions on hover starts */

.list-group-item {
    transition: background-color 0.3s, color 0.3s; /* Smooth transition */
}

.list-group-item:hover {
    background-color: #0d6efd; /* Background color on hover */
    color: white; /* Text color on hover */
}

.list-group-item a {
    color: inherit; /* Inherit the color from the list item */
    text-decoration: none; /* Remove underline */
}

.list-group-item:hover a {
    color: white; /* Change link color to white on hover */
}

.fuzzy-item:hover {
    background-color: #5b89ce !important; /* Background color on hover */
    color: white !important; /* Text color on hover */
}

/* Background color on hover ends */


/* top search bar autocomplete styles starts */
#top-search-results {
    display: none;
    position: absolute;
    top: 100%; /* Places the dropdown right below the search bar */
    left: 0;
    width: 29vw; /* Makes the dropdown as wide as the viewport */
    /* height: calc(100vh - 50px);  */
    background-color: white;
    z-index: 1000; /* High z-index to ensure it covers the menus */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Adds a shadow effect */
    border-top: 3px solid #007bff; /* Optional: A border to make it stand out */
    margin: 0px 13px 0px 0px;
    max-height: 300px;
    overflow-y: scroll;
}
#top-search-results::-webkit-scrollbar {
    width: 5px;
}

#top-search-results::-webkit-scrollbar-track {
    background-color: #f1f1f1; /* Color of the track */
}

#top-search-results::-webkit-scrollbar-thumb {
    background-color: #888; /* Color of the thumb */
}

.kadence-search-icon-wrap {
	display: none !important;
}


.did-you-mean {
	padding-left: 15px;
	margin: 5px 0 0px;
	font-style: italic;
	color: #5b89ce;
}

.sugg-post-types {
	padding-left: 25px;
	margin: 5px 0 0px;
	font-weight: 500;
}

.empty-search-msg {
	position: absolute !important;
}

/* top search bar autocomplete styles ends */

.search-results-title {
	font-size: 28px;	
}