.d-flex {
  display: flex;
}

.justify-content-between {
  justify-content: space-between;
}

.mega-menu li {
  height: 100%;
}

.mega-menu>li>a {
  line-height: 47px;
}

.has-dropdown .fas {
  display: none;
  width: 16px;
  height: 16px;
  margin-left: auto;
}

.dropdown-container:hover {
  display: block;
}

.dropdown-container {
  position: absolute;
  left: 0;
  z-index: 20;
  width: 100%;
  background: #f8f8f8;
  display: none;
  border-bottom: 1px solid #a8a8a8;
  border-top: 1px solid #e8e8e8;
}

.dropdown-container a {
  padding: 0;
}

.dropdown {
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
  padding: 20px 0 20px 18px;
}

.dropdown-left {
  width: 48%;
}

.dropdown-left-left {
  width: 26%;
}

.dropdown-left-right {
  width: 70%;
}

.dropdown-left-right li {
  display: inline-block;
  width: 48%;
}

.dropdown-title {
  font-size: 1.05em;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 0.8em;
  padding: 0;
  text-decoration:underline;
}

.dropdown-menu {
  line-height: normal;
}

.dropdown-menu a {
  display: block;
  font-size: 1em;
  color: #8e8e8e;
  padding: 0.4em 0;
}

.dropdown-menu a:hover {
  text-decoration: underline;
}

#wishlist_modal_background {
  display: none;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  z-index: 10000;
  transition: 1s;
}

#wishlist_modal {
  position: fixed;
  right: -100%;
  top: 0;
  width: 45%;
  min-width: 300px;
  height: 100%;
  background-color: #fff;
  transition: 0.5s;
  z-index: 100000;
}

#wishlist_modal.opened-modal {
  right: 0;
}

#wishlist_modal_background.opened-modal {
  display: flex;
  background: #00000090;
  right: 0;
}

#wishlist_modal .modal-header {
  height: 60px;
  display: flex;
  border: 1px solid #e9e9e9;
}

#wishlist_modal .modal-body.empty {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#wishlist_modal button {
  font-size: 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  justify-content: center;
  align-items: center;
  padding: 0;
  padding-bottom: 2px;
  border-style: none;
  background-color: transparent;
  outline: none;
  appearance: none;
  user-select: none;
}

#wishlist_modal .modal-header button.selected-tab {
  border-bottom: 2px solid #000;
  padding: 0;
}

#wishlist_modal .modal-header button span {
  font-size: 12px;
}

#wishlist_modal .modal-header button:hover {
  cursor: pointer;
}

#wishlist_modal .modal-footer {
  display: flex;
  padding: 20px;
}

#wishlist_modal .modal-footer button {
  font-size: 14px;
  color: #fff;
  padding: 10px;
  background-color: #000;
  cursor: pointer;
}

#btn_close_wishlist_modal {
  flex: 0 50px!important;
}

#btn_visited_wishlist_modal {
  border-right: 1px solid #e9e9e9!important;
  border-left: 1px solid #e9e9e9!important;
}

#btn_visited_wishlist_modal i.far {
  position: relative;
}

#btn_visited_wishlist_modal .visited-count {
  font-size: 16px !important;
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
}

#btn_favo_wishlist_modal i {
  color: #FFC0CB;
  position: relative;
}

#wishlist_modal .wishlist-count {
  position: absolute;
  width: 22px;
  top: 4px;
  left: 0;
  color: #ffffff;
}

.modal-content {
  padding: 10px;
  height: calc(100vh - 135px);
  overflow: overlay;
}

.modal-content.empty {
  display: flex;
  justify-content: center;
  align-items: center;
}

.wishlist, .visited-list {
  display: flex;
  flex-wrap: wrap;
}

.wishlist .fa-heart, .visited-list .fas.fa-heart {
  color: #FFC0CB;
}

.visited-list .far.fa-heart {
  color: #ccc;
}

.empty-wishlist {
  display: none;
  flex-direction: column;
  text-align: center;
}

.empty-wishlist i {
  font-size: 40px;
  margin-bottom: 10px;
}

.image-frame {
  width: 30%;
  font-size: 0.95em;
  margin: 0.8em 1.6em 1em;
  color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.image-placement-holder {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.image-placement-holder .image-frame {
  margin: 1em 1em 2em 1em;
}

.image-frame .content {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
}

.image-frame .content img {
  border: 0.13em solid #bdbdbd;
  padding: 0.4em;
  margin-bottom: 0.6em;
}

.image-frame .info {
  display: flex;
  justify-content: center;
  width: 100%;
}

.image-frame .info .info-text {
  text-align: center;
  margin-right: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 84%;
}

.image-frame .info .info-text .info-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.image-wishlist {
  float: right;
  font-size: 1.2em;
  color: #999;
}

.image-wishlist i {
  color: #ccc;
}

@media only screen and (max-width: 80em) {
  /* 1024px */
  .image-frame {
    width: 30%;
  }
}
@media only screen and (max-width: 70em) {
  /* 800px */
  .image-frame {
    width: 29%;
  }
}
@media only screen and (max-width: 60em) {
  /* 800px */
  .image-frame {
    width: 28%;
  }
}
@media only screen and (max-width: 50em) {
  /* 800px */
  .image-frame {
    width: 44%;
  }
}
@media only screen and (max-width: 40em) {
  /* 800px */
  .image-frame {
    width: 43%;
  }
}

@media only screen and (max-width: 35em) {
  .image-frame {
    width: 100%;
  }
  #wishlist_modal .image-frame {
    width: 40%;
  }
}

@media only screen and (min-width: 60em) {
  .has-dropdown:hover>.dropdown-container {
    display: block!important;
  }
  .page-intro3 {
    margin-top: 49px;
  }
}

@media only screen and (max-width: 500px) {
  .modal-content{
    max-height: calc(100vh - 300px);
  }
  #wishlist_modal.opened-modal{
    /* overflow: overlay;
    max-height: 100vh; */
  }
  #wishlist_modal .modal-footer{
    z-index: 9999;
    /* position: fixed; */
    /* bottom: 0; */
    /* width: 100%; */
    /* left: 0; */
    background: #fff;
    /* width: 45%;
    min-width: 300px; */
    /* top: calc(100% - 75px); */
  }
}

/* header search css here */

.search-btn {
  cursor:pointer;
  border:0;
  background: transparent;
  color:#fff;
  font-size:1.2em;
  /* width:18%;	 */
  float:right;
  margin:0;
  height:100%;
  border:0;
  /* padding:0 0.5em */
  }
  .search-btn:hover {
  /* color: #fff; */
  }
  .btn-holder {
  padding:0;
  margin:0;
  vertical-align:middle;
  height:2.8em;
  }
  
  
  .data {
  width: 100%;
  display: none;   
  text-align:center;          
  overflow-y: scroll;
  border-bottom:1px solid #e6e6e6;
  border-left:1px solid #e6e6e6;
  border-top:1px solid #e6e6e6;
  
  }
  .search-results a {
  color: #2C357A;
  text-align:left;
  display:block;
  padding:0.8em 1em;
  /* border-bottom:1px solid #e6e6e6; */
  }
  .search-results a:hover {
  background-color: #F7F7F7;
  }
  .search-results a:before {
    content: "\f054";
    font-family: FontAwesome;
    float:right;
  }
  input[type=text], select, textarea, input[type=password] {
    font-family: sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.02em;
    color: #333;
    width: 100%;
    padding: 0.7em;
    border-bottom: 1px solid #415669 !important;
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: 0px;
    padding-left: 50px;
  }
  input[type=text]:focus,select:focus, textarea:focus, input[type=password]:focus {
    border-color: #4697e4;
    outline: 0;
  }
  .full-width-container.search-container {
      /* display: none; */
  }
  .btn-holder {
      position: relative;
  }
  .btn-holder button{
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #9999994a;
    font-size: 1.5rem;
  }
  /* For Mozilla Firefox */
  ::-moz-placeholder {
    color: #9999994a; /* Set the color of the placeholder text */
    font-size: 1.5rem;
  }

  /* For Google Chrome and Microsoft Edge */
  ::placeholder {
    color: #9999994a; /* Set the color of the placeholder text */
    font-size: 1.5rem;
  }
  .search-results {
      display: flex;
      flex-direction: column;
      max-width: 25%;
      width: 100%;
      margin-bottom: 15px;      
  }

  .search-results a {
      display: flex;
      flex-direction: column;
      gap: 10px;
      align-items: center;
  }
  .search-results a:before{
      display:none;
  }

  div#data {
      flex-wrap:wrap;
  }
  .popular-categories-block h2{
      padding:0px;
      margin:30px 0px;
  }

  .popular-categories-inner-block {
      display: flex;
      gap: 20px;
  }
  .popular-categories-inner-block a{
      position:relative;
  }
  .popular-categories-inner-block img{
      width:100%;
	  padding:0.5em;
  }
  .popular-categories-inner-block span{
      position:absolute;
      bottom:15px;
      left:15px;
      font-family:'Glass Antiqua', cursive;
      color:#000;
      font-size:1.4rem;
  }
  .search-results a img{
    width: 100%;
  }
  @media only screen and (max-width: 767px) {
    .search-results {
        max-width: 33%;
    }
    .popular-categories-inner-block{
      flex-wrap: wrap;
    }
    .popular-categories-inner-block a{
        max-width: calc(50% - 10px);
        width: 100%;
    }
  }
  @media only screen and (max-width: 500px) {
    .search-results {
        max-width: 50%;
    }
  }
  .full-width-container.search-container {
    /* position: absolute; */
    top: 101%;
    left: 0;
    max-width: 100%;
    background: #fff;
	  padding-bottom:3em;
	/* border-bottom: 1px solid #000; */
  }
  .full-width-container.search-container .form-container{
    max-width: 1200px;
  }
  div#data .image-frame{
    /* margin-right: 0px; */
    margin-left: 1em !important;
  }

.load-button-submit {
  width: 100%;
  padding: 20px 0px;
}

.load-button-submit button {
  padding: 15px 25px;
  border: 1px solid #cecece;
  background: transparent;
  padding: 15px 30px;
  cursor: pointer;
  border-radius: 5px;
  margin: 0 auto;
  width: 250px;
  text-align: center;
  align-items: center;
  justify-content: center;
}
.full-width-container.search-container .search-results {
  max-width: 100%;
  margin-bottom: 0px;
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

#data.has-search-result{
  height: 30em;
}

#data.has-no-search-results{
  height: auto;
  overflow: hidden;
  border-right: 1px solid #e6e6e6;
}
.slider-gallery div#aniimated-thumbnials img{
  border: 1px solid #bdbdbd;
  padding: 0.4em;
  margin-bottom: 0.6em;
}
@media only screen and (max-width: 500px) {
  .btn-holder button{
    left: 0px !important;
    float: none;
  }
  .btn-holder i.fa.fa-search {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 5px;
  }
}
.slider-two.none{
  display: none !important;
}

/* heart icon css for animated thubnails gallery  */
div#aniimated-thumbnials a.toggle-wishlist {
  background: #0000006b;
  padding: 10px;
  border-radius: 50%;
  position: absolute;
  bottom: 50px;
  right: 20px;
  font-size: 20px;
  color: #fff;
}
