.main-search-container {
  margin: 0 auto;
}

.main-search-container .status {
  font-family: "Avenir Next Medium", Sans-serif;
}
.main-search-container .topnav .autocomplete-items li a{
  font-family: "Avenir Next Medium", Sans-serif;
}
.auto-item{float:none; padding:0px;}

.auto-item::hover{background-color: transparent;}

.main-search-container .tabcontent h2.heading{
  font-family: "Avenir Next Medium", Sans-serif;
    font-size: 26px;
    text-transform: capitalize;
    text-decoration: underline;
    line-height: 30px;
}
.main-search-container .topnav form .left {
  cursor: not-allowed;
  pointer-events: none;
}
.main-search-container .tabcontent .post-date {
font-family: "Avenir Next Medium", Sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 32px;
} 
.main-search-container .tabcontent .tabcontent-details {
font-family: "Avenir next- regular", Sans-serif;
font-size: 18px;
line-height: 24px;
color:#000000;
}
.tabcontent-read-more {
   font-weight: 700;
    font-family: 'Avenir-medium';
    font-size: 18px;
    cursor: pointer;
    color: #000;
    padding: 0px;
    border-bottom:2px solid #000!important;
}

.topnav {
  border: 1px solid #000;
  overflow: hidden;
  background-color: #000;
  display: flex;
  margin-top:50px;
  flex-wrap: wrap;
  justify-content: center;
  color: #fff;
}
.topnav a {
  float: left;
  display: block;
  color: black;
  text-align: left;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  width:100%;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #2196f3;
  color: white;
}

.topnav .search-container form {
  border: 1px #333 solid;
  display: flex;
}
.topnav .search-container form button {
  max-width: 40px;
}
.topnav .search-container {
  float: right;
  padding: 30px 30px 40px 30px;
}

.topnav input[type="text"] {
  padding: 20px;
  font-size: 17px;
  border: none;
}
.topnav input[type="text"]:focus {
  outline: none;
}
.topnav .search-container button {
  float: left;
  padding: 20px 10px;
  background: #fff;
  font-size: 17px;
  border: none;
  cursor: pointer;
}
/* TABS */
.search-stext {
  float: left;
  margin-right: 12px;
  margin-top: 8px;
  font-weight: 600;
}
/* Style the tab */
.tab {
  overflow: hidden;
}
.tabcontent-select {
  font-size: 16px;
  padding: 4px 24px;
  float: right;
  width: 150px;
  border-radius: 0;
  font-family: "Avenir- medium", Sans-serif;
}
/* Style the buttons inside the tab */
.tab button {
  background-color: #000;
  color: #fff;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  transition: 0.3s;
  font-size: 17px;
  margin-right: 10px;
  padding: 11px;
  font-size: 16px;
  text-transform: uppercase;
  font-family: "Avenir Next LT Pro- Regular";  
}
/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #000;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #86b8cf;
  color: #fff;
}

/* Style the tab content */
.search_post_border {
  border-bottom: 2px #e7873c solid;
  margin-bottom: 50px;
}
.tabcontent {
  display: none;
  padding: 6px 0px;
  border-top: none;
}
.tabcontent .heading {
  text-decoration: underline;
  margin-bottom: 8px;
}
.tabcontent .post-date {
  line-height: 1.3em;
  font-weight: 600;
  font-size: 16px;
  margin-top: 0;
}
.tabcontent-details {
  font-size: 16px;
  margin: 13px 0;
  width: 70%;
}
.tabcontent-read-more {
  background: transparent;
  border-bottom: 2px solid #000 !important;
  border: 0px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  color: #000;
  padding: 0px;
  margin-bottom: 18px;
}
/*PAGINATIon*/

.pagination {
  display: flex;
  justify-content: center;
}
.pagination a i {
  font-size: 24px;
}
.pagination a span {
  padding: 8px 16px;
}
.pagination a span.active {
  background: #86b8cf;
}
.pagination a {
  color: black;
  float: left;
  padding: 16px 4px;
  font-weight: bold;
  text-decoration: none;
  background: #f8f8f8;
}

.pagination a.active {
  background-color: #3b3b3b;
  color: white;
  border: 1px solid #3b3b3b;
}

.pagination a:hover:not(.active) {
  background-color: #ddd;
}
.gap-50 {
  margin-top: 50px;
  margin-bottom: 50px;
}
.gap-30 {
  margin-top: 50px;
  margin-bottom: 30px;
}
.style-i {
  font-style: italic;
}
.text-center {
  text-align: center;
}
.right {
  float: right !important;
}
.d-flex {
  display: flex;
  flex-wrap: wrap;
  margin-top: 25px;		
}
.itemtags {
  background: #000;
  padding: 4px 24px;
  margin-right: 5px;
  margin-bottom: 40px;
  color: #fff;
  text-transform: uppercase;
  font-family: "Avenir- medium", Sans-serif;
}
.autocomplete-items {
  position: absolute;
  padding-left: 16px;
  background: #fff;
  color: #000;
  width: 100%;
  max-width: 783px;
  max-height: 350px;
  overflow: scroll;
  overflow-x: hidden;
  margin: 0px;   
}
 /* Works on Firefox */
 .autocomplete-items {
  scrollbar-width: thin;
  scrollbar-color: #000 #fff;
  border: 1px #ccc solid;
}

/* Works on Chrome, Edge, and Safari */
.autocomplete-items::-webkit-scrollbar {
  width: 12px;
}

.autocomplete-items::-webkit-scrollbar-track {
  background: #fff;
}

.autocomplete-items::-webkit-scrollbar-thumb {
  background-color: #000;
  border-radius: 20px;
  border: 3px solid #fff;
}
.autocomplete-items li {
  cursor: pointer;
  list-style-type: none;
  padding: 8px;
}
.autocomplete-items li:hover {
  border-left: 4px #333 solid;
  background: #f5f5f5;
}
@media screen and (min-width: 1200px) {
  .main-search-container {
    width: 1170px;
  }
  .topnav input[type="text"] {
    width: 750px;
  }
  .tabcontent-select {
    margin-top: 0px;
    float: right;
  }
}
@media only screen and (min-device-width: 992px) and (max-device-width: 1199px) {
  .main-search-container {
    width: 970px;
  }
  .topnav input[type="text"] {
    width: 400px;
  }
  .tabcontent-details {
    width: 100%;
  }
  .tabcontent-select {
    margin-top: 0px;
    float: none;
  }
  .topnav input[type="text"] {
    width: 870px;
  }
}
@media only screen and (min-device-width: 768px) and (max-device-width: 991px) {
  .main-search-container {
    width: 100%;
    max-width: 750px;
  }
  .topnav input[type="text"] {
    width: 350px;
  }
  .tabcontent-details {
    width: 100%;
  }
  .tabcontent-select {
    margin-top: 0px;
    float: none;
  }
  .topnav input[type="text"] {
    width: 650px;
  }
}

@media only screen and (min-device-width: 380px) and (max-device-width: 767px) {
  .topnav input[type="text"] {
    padding: 20px;
    min-width: 320px;
    width: 100%;
  }
  .main-search-container .topnav form .autocomplete input {
    font-family: 'Avenir next regular', sans-serif !important;
    height: 57px !important;
}
  .topnav .search-container button {
    padding: 6px 10px;
  }
  .topnav .search-container {
    float: none;
  }
  .topnav a,
  .topnav input[type="text"],
  .topnav .search-container button {
    float: none;
    display: block;
    text-align: left;
    width: 100%;
    margin: 0;
    padding: 14px;
  }
  .tabcontent-details {
    width: 100%;
  }
  .tabcontent-select {
    margin-top: 20px;
    float: none;
  }
}

.pagination ,.pagination1 {
    display: flex;
    justify-content: center;
}

.pagination li, .pagination1 li
{
	list-style: none;
}

.pagination li a , .pagination1 li a {
    color: black;
    float: left;
    padding: 15px 12px;
    font-weight: bold;
    text-decoration: none;
    background: #f8f8f8;
}


.pagination li span.current , .pagination1 li span.current {
    background: #86b8cf;
}
.pagination li span , .pagination1 li span {
	padding: 15px 18px;
	float:left;
}

.pagination li a:hover:not(.active) , .pagination1 li a:hover:not(.active) {
    background-color: #ddd;
}

.pagination li a , .pagination1 li a {
    color: black;
    float: left;
    font-weight: bold;
    text-decoration: none;
    background: #f8f8f8;
}

.tabcontent-details p
{
	margin:0;
}

.main_content
{
	margin-top:50px;
}

.search_post_border .heading a {
  color:#000;
  font-family: "Avenir Next Medium", Sans-serif;
    font-size: 26px;
    text-transform: capitalize;
    text-decoration: underline;
    line-height: 30px;
}
.tab {
  margin-top: 50px;
}

.search-container .text-center
{
	color:#ffffff;
}

@media only screen and (max-width: 450px) 
{
	.tabcontent-border
	{
		padding:30px;
	}
	
	.tab
	{
		padding:0 30px;
	}
	
	.tab button
	{
		margin: 10px 5px;
	}
	
	.autocomplete-items
	{
		width:97%;
	}
	.itemtags
	{
		margin-bottom: 13px;
	}
	
	.main-search-container
	{
		margin: -22px;
	}
	
	.tabcontent-select
	{
		width: 60% !important;
		margin-left: 7px;
	}
	.topnav .search-container 
	{
		float: right;
		padding: 50px 0px 40px 0px;
	}
}