.seller-profile {
  border: 1px solid;
  padding: 10px;
  padding-bottom: 15px;
  border-color: lightgray;
  border-radius: 10px;
}

.owner-profile-image img {
  width: 100%;
  max-width: 110px;
  margin-bottom: 10px;
}

.owner-contact a {
  border: 1px solid;
  color: var(--primary-color);
  font-size: 14px;
  padding: 6px 7px;
  border-radius: 15px;
  background-color: var(--primary-10);
}

.owner-contact a:hover{
	color: var(--secondary-color);
	background-color: var(--primary-color);
	border-color: black;
}

.category-search input{
	padding-left: 30px;
}

.category-search button {
  position: absolute;
  top: 0px;
  border: 0;
  background: transparent;
  padding: 7px;
  padding-left: 10px;
}

.categories-list h5 {
  background: var(--primary-color);
  padding: 10px;
  border-radius: 5px;
  color: var(--secondary-color);
}

.categories-list h5 span {
  position: absolute;
  right: 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  font-size: 12px;
  padding: 5px;
  border-radius: 5px;
}

.categories-list ul{
	list-style-type: none;
	padding-left: 0px;
}

.categories-list ul li {
	font-weight: 600;
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid lightgrey;
}

.categories-list h5 a {
  color: var(--secondary-color);
}

.categories-list h5 a:hover {
  text-decoration: none;
}

.categories-list ul li a {
  color: black;
  text-transform: capitalize;
}

.categories-list ul li a:hover{
  text-decoration: none;
}

.categories-list ul li span{
	position: absolute;
  right: 25px;
  font-size: 12px;
  padding: 5px;
  border-radius: 5px;
}

.seller-contact button {
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  border: 0;
  border-radius: 5px;
}

.seller-contact button:hover{
	background-color: var(--primary-color);
  color: var(--secondary-color);
}

.seller-contact button i{
	padding-right: 10px;
}

.shop-listing {
  border: 1px solid #ced4da;
  border-radius: 5px;
  background-color: #fff6cc;
}

.shop-listing img {
  width: 100%;
  max-height: 300px;
  min-height: 300px;
  object-fit: cover;
}

.shop-listing h3 {
  font-size: 18px;
  font-weight: 600;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-listing p {
  font-size: 18px;
  font-weight: 600;
  padding-left: 10px;
}

.shop-listing a {
  background-color: black;
  padding: 5px 5px;
  border-radius: 5px;
  font-size: 12px;
  color: white;
  float: right;
  margin-top: -45px;
  margin-right: 5px;
}

.shop-listing a:hover{
  background-color: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
}

.shop-policies h3 {
  font-weight: 600;
}

.listing-stats span {
  background-color: var(--primary-color);
  padding: 5px 15px;
  font-size: 14px;
  border-radius: 10px;
  margin-left: 10px;
  color: var(--secondary-color);
}

.listing-grid img{
  width: 100%;
  max-width: 400px;
  max-height: 400px;
  border-radius: 10px 10px 0px 0px;
}

.grid-listing-details, .listing-grid {
  padding: 10px 0px;
}

.grid-listing-details img {
  width: 50px;
  height: 50px;
  float: left;
  margin-right: 10px;
  border-radius: 5px;
}

.grid-listing-details h3 {
  font-size: 16px;
  font-weight: 600;
  color: black;
  margin-bottom: 0;
  margin-top: 5px;
  display: inline-block;
}

.grid-listing-details p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: black;
  width: 25ch;
  font-size: 13px;
}

.grid-listing-details h3 span {
  font-size: 11px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 3px 5px;
  border-radius: 5px;
  position: absolute;
  right: 15px;
}

.listing-grid::before{
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgb(34 34 34 / 15%);
  transform: scale(0.98);
  backface-visibility: hidden;
  z-index: -1;
  transition: opacity 150ms ease-out,transform 200ms cubic-bezier(0.345, 0.115, 0.135, 1.42);
}

.listing-grid:hover::before{
  opacity: 1;
  transform: scale(1);
}

.listing-search-bar {
  margin-bottom: 15px;
}

.listing-search-bar > .input-group input {
  border: 2px solid #000000;
  border-radius: 24px;
  border-top-right-radius: 24px !important;
  border-bottom-right-radius: 24px !important;
  background-color: #ffffff;
  padding: 20px;
}

#listing-search-icon {
  border: none;
  background-color: transparent;
  color: #000000;
  position: absolute;
  right: 2px;
  top: 2px;
  font-size: 20px;
  z-index: 3; 
  padding: 4px 15px 6px 13px;
}

button#listing-search-icon:focus {
  outline: none;
  background-color: #e9ecef;
  border-radius: 0% 50% 50% 0%;
}

.sort-by-relevancy {
  float: right;
}

.sort-by-relevancy form select {
  border-width: 2px;
  border-radius: 25px;
  border-color: #000000;
  padding: 8px 10px;
  height: 100%;
}


tfoot {
    display: table-header-group !important;
}







/**********************Image uploader*******************/

/*Copied from bootstrap to handle input file multiple*/
.btn {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
}
/*Also */
.btn-success {
  border: 1px solid var(--primary-90);
  background: var(--secondary-color);
  font-weight: bold;
  color: var(--primary-color);
}
.btn-success:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  border: 1px solid var(--primary-90);
}
/* This is copied from https://github.com/blueimp/jQuery-File-Upload/blob/master/css/jquery.fileupload.css */
.fileinput-button {
  position: relative;
  overflow: hidden;
}

.fileinput-button input {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  opacity: 0;
  -ms-filter: "alpha(opacity=0)";
  font-size: 200px;
  direction: ltr;
  cursor: pointer;
}

.thumb {
  height: 80px;
  width: 100px;
}

ul.thumb-Images li {
  width: 120px;
  float: left;
  display: inline-block;
  vertical-align: top;
  height: 120px;
}

.img-wrap {
  position: relative;
  display: inline-block;
  font-size: 0;
}

.img-wrap .close {
  position: absolute;
  top: 2px;
  right: 2px;
  z-index: 100;
  background-color: #d0e5f5;
  padding: 5px 2px 2px;
  color: #000;
  font-weight: bolder;
  cursor: pointer;
  opacity: 0.5;
  font-size: 23px;
  line-height: 10px;
  border-radius: 50%;
}

.img-wrap:hover .close {
  opacity: 1;
  background-color: #fff6cc;
}

.FileNameCaptionStyle {
  font-size: 12px;
}
