/* Directory Banner Start */
#directory-banner {
  background-image: url(../images/directory-bg.jpg);
  width: 100%;
  height: 220px;
  background-repeat: no-repeat;
  background-size: cover;
}

#directory-banner .grid {
  z-index: 99;
}

/* Directory Banner Start */
/* Search Form Css */
.search-form {
  position: relative;
  width: 100%;
}

.search-form .search-field,
.search-form .search-submit,
.search-form .input-reset {
  display: block;
  border: none;
  border-radius: 0;
  font-size: 1em;
  appearance: none;
}

.search-form .search-field {
  width: 100%;
  padding: 1.3rem;
  padding-right: 8.05rem;
  position: relative;
  top: 0;
  border: 2px solid #fff;
  border-radius: 50px;
  background: none;
  color: #fff;
  height: 60px;
  font-size: 1.2em;
  font-weight: 600;
}

.search-form .search-field:not(:valid)~.input-reset {
  display: none;
}

.search-form .search-field::placeholder {
  color: #fff;
  font-size: 1em;
  font-weight: 500;
}

.search-form .search-submit {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 250px;
  cursor: pointer;
  text-align: center;
  color: #000;
  background-color: var(--tw-yellow-cf);
  border-radius: 50px;
  font-size: 1.2em;
  font-weight: 500;
}

.search-form .input-reset {
  display: flex;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 100%;
  transform: translate(-8.5rem, 0);
  cursor: pointer;
  text-align: center;
  appearance: none;
  background: transparent;
}

.search-form .input-reset .icon {
  width: 25px;
  height: 25px;
}

.search-form .visually-hidden {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

/* Search Form End */
/* Filter Search Css Start */
section#range-slider {
  width: 200px;
  height: 30px;
  margin: 40px auto 0px;
  position: relative;
}

/* Type 1 */
.slider.type1 {
  border-width: 1px;
  border-style: solid;
  border-color: #1f2126;
  border-radius: 25px;
  width: 200px;
  position: absolute;
  height: 13px;
  background: #1f2126;
  left: 20px;
}

.type1 .ui-slider-handle {
  position: absolute;
  z-index: 2;
  width: 25px;
  height: 25px;
  cursor: pointer;
  background: url('http://image.free.in.th/v/2013/ia/140114093757.png') no-repeat 50% 50%;
  font-weight: bold;
  color: #1c94c4;
  outline: none;
  top: -4px;
  margin-left: -12px;
}

.type1 .ui-slider-range {
  background: -webkit-linear-gradient(top, #fff 0%, #eaeaea 100%);
  position: absolute;
  border: 0;
  top: 0;
  height: 100%;
  border-radius: 25px;
}

/* Type 2 */
.slider.type2 {
  border-width: 1px;
  border-style: solid;
  border-color: #1f2126;
  border-radius: 25px;
  width: 200px;
  position: absolute;
  height: 5px;
  background: #273545;
  left: 20px;
  box-shadow: 1px 1px 1px #19212b inset, 0px 1px 1px #3b5169;
}

.type2 .ui-slider-handle {
  position: absolute;
  z-index: 2;
  width: 15px;
  height: 15px;
  border-radius: 8px;
  cursor: pointer;
  background: #1e2936;
  font-weight: bold;
  color: #1c94c4;
  outline: none;
  top: -5px;
  margin-left: -12px;
  box-shadow: 0px 1px 1px #ffffff inset, 0px 1px 5px rgba(0, 0, 0, 0.7);
}

.type2 .ui-slider-range {
  background: #2dcc70;
  position: absolute;
  border: 0;
  top: -1px;
  bottom: -1px;
  border-radius: 3px;
}

/* Filter Search Css End */
/* Right Listing Start */
.listing-right .listing-right .main-shadow {
  border-radius: 10px;
}

.listing-right .listing-right .color-box {
  border-radius: 10px 10px 0px 0px;
}

.listing-right .listing-right .color-box .min-invest {
  border-radius: 10px 10px 0px 0px;
}

.button-bot {
  border-radius: 0px 0px 10px 10px;
}

.change-col {
  background: #086b01 !important;
}

.yell-btn.change-col label {
  color: #fff;
}

/* Right Listing End */
/* Responsive Start */
@media all and (max-width: 1024px) {

  /* Listing Area Css Start */
  .listing-area {
    display: block !important;
    text-align: center;
    justify-content: center;
  }

  .listing-right,
  .filter-box {
    width: 100% !important;
  }

  .listing-right {
    flex-wrap: wrap;
  }

  .listing-right .main-shadow {
    width: 100% !important;
  }

  .listing-right .main-shadow .tags {
    justify-content: center;
  }

  .listing-right .main-shadow h4 {
    font-size: 1.6em;
  }

  .listing-right .right-head .sort-area,
  .listing-right .right-head .list-result {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Listing Area Css End */
}


.button-bot input[type=checkbox] {
  transform: scale(2);
  margin: 0 6px 0 0;
}



@media all and (max-width: 567px) {
  #directory-banner {
    height: 165px;
  }

  #listing {
    margin: 0px;
  }

  .filter-box .rounded {
    margin: 0px;
  }

  #filter-form {
    height: 65px;
    margin-bottom: 60px;
  }

  #filter-box input {
    width: 100%;
  }

  /* #filter-button {margin-top: 110px; width: 100%;} */
  .filter-box {
    padding: 15px;
  }
}



@media all and (max-width: 480px) {
  .filter-box h1 {
    font-size: 1em !important;
  }
}

/* Responsive End */



#cf-terms-section {
  background-image: url('../images/home/banner-bg.webp');
  width: 100%;
  height: 420px;
  background-repeat: no-repeat;
  background-size: cover;
}

@media all and (max-width: 767px) {
  #cf-terms-section {
    height: 500px;
  }

  /* list view Start*/
  .download-cards {

    grid-template-columns: 1fr !important;

  }

  /* list view End*/
}


.download-cards {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.download-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fbfbfb;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 25px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid #d2d2d2;
  border-left: 1px solid #dadada;
  /* margin: 0 1em 2em 1em; */
}

.download-cards[data-view="list-view"] .download-card {
  margin-bottom: 10px;
}

.download-cards[data-view="grid-view"] .download-card button {
  width: 100%;
}


.download-cards[data-view="grid-view"] {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-gap: 15px;
}

.download-cards[data-view='grid-view'] .download-card {
  width: 100%;
}

.bot-btn1.teals,
.bot-btn2.teals,
.bot-btn3.teals,
.bot-btn4.teals,
.bot-btn5.teals {
  background-color: var(--tw-teal-cf) !important;
  color: #fff !important;
}






@media (min-width: 700px) {
  .download-cards[data-view='grid-view'] .download-card:nth-child(3) {
    clear: both;
  }

  .download-cards[data-view='grid-view'] .download-card:nth-child(4) {
    clear: initial;
  }
}

@media (min-width: 1000px) {

  .download-cards[data-view='grid-view'] .download-card:nth-child(3) {
    clear: initial;
  }

  .download-cards[data-view='grid-view'] .download-card:nth-child(4) {
    clear: both;
  }
}

@media all and (max-width: 1300px) {

  /* grid view-start */
  .download-cards[data-view="grid-view"] {
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 15px;
  }

  /* grid view-end */
}


@media all and (max-width: 700px) {
  .download-cards[data-view="list-view"] button {
    width: 100% !important;
  }

  .download-cards[data-view='grid-view'] .download-card {
    float: left;
    width: 100% !important;
  }

  /* grid view-start */
  .download-cards[data-view="grid-view"] {
    grid-template-columns: 1fr;
    grid-gap: 15px;
  }

  /* grid view-end */

}

.download-card__icon-box {
  display: flex;
  align-items: center;
  /* background: #f1f1f1; */
  padding: 2em;
  text-align: center;
}

@media (min-width: 700px) {
  .download-card__icon-box {
    justify-content: center;
  }
}

.download-card__icon-box img {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

@media (min-width: 700px) {
  .download-cards[data-view='list-view'] .download-card__icon-box {
    width: 200px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-right: 1px solid #e6e6e6;
  }
}

.download-card__content-box {
  flex: 1;
}


.download-cards[data-view="list-view"] button {
  position: absolute;
  right: 2%;
  bottom: 8%;
  width: fit-content;
}



.download-card__content-box__catagory::before {
  content: '| ';
  color: #ff4500;
}

.download-card__content-box__title {
  line-height: 1;
  margin: 0 0 0.5em;
  font-size: 18px;
}

.download-card__content-box__description {
  line-height: 1.5;
  padding: 0;
  margin: 0 0 1em;
  clear: both;
  color: #929292;
  font-size: 16px;
}

.download-card__content-box .button {
  position: absolute;
  bottom: 2em;
  margin: 0;
  color: #ff4500;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
  font-size: 13px;
}

.dc-view-switcher {
  display: none;
  /* margin: 0px 0px 10px 0px; */
  text-align: right;
}

@media all and (max-width: 1024px) {
  .right-head {
    justify-content: center !important;
  }

  /* grid view-start */
  .download-cards[data-view="grid-view"] {
    grid-template-columns: 1fr 1fr;
    grid-gap: 15px;
  }

  /* grid view-end */
}

@media (min-width: 700px) {
  .dc-view-switcher {
    display: block;
  }
}

.dc-view-switcher>button {
  font-family: 'fontAwesome';
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: 0px 0px;
  border: none;
  cursor: pointer;
  font-size: 1.6em;
  vertical-align: middle;
  color: #000;
  opacity: 0.3;
  outline: none;
  transition: opacity 0.4s ease;
}

.dc-view-switcher>button[data-trigger="list-view"]::before {
  content: "\f00b";
}

.dc-view-switcher>button[data-trigger="grid-view"]::before {
  content: "\f009";
}

.dc-view-switcher>button[data-trigger].active {
  opacity: 1;
}

@media all and (max-width: 1280px) {
  .download-cards[data-view="list-view"] button {
    position: initial;
    width: 100%;
    margin-left: auto;
  }

}