
/* nav @ general css */

#sector1 {
  background-image: url(/asset/general-img/inner-pagebg.jpg), linear-gradient(#4f515275, #1e212dc0);
  height: 60vh;
  width: 100%;
  background-repeat: no-repeat;
  background-size: auto;
  background-blend-mode:soft-light;
}

/* main sector */

#main-sector{
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  column-gap: 5%;
  margin: auto;
  width: 70%;
  margin-bottom: 20%;
  margin-top: 3%;
}

/* listing-side-blocks */

.listing-block1{
  background-color: var(--text);
 margin-left: max-content; width: 25vw;
 height: 115vh; 
  text-align: center;
  align-content: center;
  border-radius: 5px;
}

.listing-block1 input{
  height: 5.5vb; width: 20vw;
  margin: 3%;
  border: 1px solid #5b5b5b46;
  outline: none;
  font-size: 15px;
  border-radius: 5px;
  color: #5b5b5bc7;
  padding-left: 3%;
}

.min-input, .max-input{
  width: 5vw;
}

.listing-block1 .list-btn{
 height: 6vh; width: 80%;
 margin-top: 3%;
 background-color: var(--primary);
 color: var(--text);
 border: none;
 border-radius: 5px;
 transition: 1s;
 cursor: pointer;
}

.listing-block1 .list-btn:hover{
  background-color: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

/* block2 */

.listing-block2{
  background-color: var(--text);
  margin-top: 5%;
  width: 100%;
  text-align: center;
  align-content: center;
  height: 40vh;
}

.listing-block2 header{
  font-size: 20px;
  text-align: start;
  margin-bottom: 8%;
}

.listing-block2 ul li{
  margin-top: 5%;
}

.listing-block2 ul{
  width: 90%;
  margin: auto;
}

.listing-block2 ul li, .listing-block2 a{
  list-style:square;
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: black;
  text-decoration: none;
  transition: 500ms;
  
}

.listing-block2 a:hover{
  color: var(--primary);
}

/* block3 */
.listing-block3 ul{
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  margin-top: 8%;
}

.listing-block3 .list-ctn{
  width: 80%;
  margin: auto;
}

.list-ctn header{
  font-size: 20px;
  font-weight: 700px;
}

.listing-block3{
  background-color: var(--text);
  margin-top: 5%;
  height: 60vh;
  align-content: center;
  border-radius: 10px;
}

.listing-block3 img{
  height: 11vh; width: 12vh;
  border-radius: 8px;
}

.list-ctn p{
  font-weight: 600;
  margin-bottom: 5%;
}

.list-ctn .price{
  color: var(--primary);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 3%;
  cursor: pointer;
}

/* listing grid */

.listing-header2{
  background-color: var(--text);
  display: flex;
  justify-content: space-between;
  width: 100%; height: 3vb;
  padding: 2vh;
  font-size: 15px;
  border-radius: 5px;
}

.list-status{
  margin-right: 2rem;
}

.list-status b, .list-sort b{
  font-weight: 500;
}

.list-status select, .list-sort select{
  height: 3vh;;
  align-content: center;
  border: none;
  font-size: 15px;
  font-weight: 300;
  outline: none;
}

.list-status .status-select{
 width: 24%
}

.status-select option{
  appearance: none;
  color: var(--secondary);
  font-weight: 400;
}



/* listing grid */

.listing-main {
  display: grid;
  grid-template-columns: auto auto;
  width: 46vw;
  column-gap: 8%;
  row-gap: 2%;
  margin-top: 2%;
}

.listing-block {
  background-color: var(--text);
  height: 58vb;
  width: 100%;
  padding: 2%;
  border-radius: 10px;
  transition: 1s;
  cursor: pointer;
}

.sector2-block:hover {
  box-shadow: 1px 0 20px 0 #80808071;
}

.listing-img {
  background-image: url(./other_img/home-bg1.jpg);
  height: 30vh;
  width: 100%;
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 10px;
}

.top-block {
  margin-left: 5%;
}

.listing-img .rent {
  background-color: var(--secondary);
  color: var(--text);
  font-size: 12px;
  padding: 3px 10px;
}

.listing-img .featured {
  background-color: var(--primary);
  color: var(--text);
  font-size: 12px;
  padding: 3px 10px;
}

.bottom-block {
  display: block;
  padding-top: 40%;
  display: flex;
  justify-content: space-between;
  padding: 42% 8%;
  font-size: 15px;
  font-weight: bolder;
}

.bottom-block .property-price {
  color: var(--text);
}

.bottom-block .icon {
  color: var(--text);
  background-color: #464454b9;
  padding: 2.5%;
  border-radius: 5px;
  font-size: 15px;
}

.listing-details div {
  margin-top: 3%;
}

.listing-details .apartment {
  font-size: 15px;
  color: var(--primary);
  font-weight: 500;
}

.listing-details .type {
  font-size: 14px;
  font-weight: 500;
}

.listing-details .location {
  font-size: 12px;
  font-weight: 300;
}

.room-property {
  font-size: 13px;
  font-weight: 300;
}

.room-property span {
  margin-right: 8%;
}

.cut-line {
  margin-top: 5%;
}

.agent-block {
  display: flex;
  justify-content: space-between;
  margin-top: 5%;
  font-weight: 300;
}

.agent-img-block {
  display: flex;
  width: 50%;
}

.agent-block .agent-img {
  height: 5vh;
  width: 2.5vw;
  border-radius: 50%;
}

.agent-block .agent-name {
  font-size: 15px;
  margin-top: 1vb;
  margin-left: 5%;
}

.agent-block .time-posted {
  font-size: 15px;
  margin-top: 1vb;
}

.adv-search{
  display: none;
}

.list-drop{
display: none;
}

/* footer */


/* tap size */

@media (max-width: 900px) {
  /* @general css */
  /* grid listing header */

  .listing-header2{
    display: block;
    text-align: center;
    width: 90%; height: 6vb;
    padding: 2vh;
    font-size: 14px;
    border-radius: 5px;
    margin: auto;
  }

  .list-status .status-select{
    width: 18%
  }

  .list-status{
    margin-right: 3vw;
  }


  
.listing-main {
  display: grid;
  grid-template-columns: auto auto;
  margin: auto;
  width: 90vw;
  column-gap: 8%;
  row-gap: 2%;
  margin-top: 2%;
}

.listing-img {
  background-image: url(./other_img/home-bg1.jpg);
  height: 30vh;
  width: 100%;
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 10px;
}


.agent-block .agent-img {
  height: 5vh;
  width: 5.3vw;
  border-radius: 50%;
}

/* listing order */

.listing-side-block{
  width: 100dvw;
  position: fixed;
  left: 0;
  bottom: -100vh;
  transition: 1s;
  z-index: 1;
}

.listing-side-block.swing{
bottom: 0vw;
}

.list-drop{
  font-size: 25px;
  color: var(--primary);
  text-align: right;
  width: 95%;
  cursor: pointer;
  transition: 1s;
  display: block;
}

.list-drop:hover{
  font-size: 20px;
}

.listing-block1{
  background-color: var(--text);
 margin-left: max-content; width: 25vw;
 height: 70vh; width: 100%;
  text-align: center;
  align-content: center;
  border-radius: 5px;
  border-radius: 50px 50px 0 0;
}

.listing-block1 input{
  height: 5vb; width: 35vw;
  margin: 2%;
  border: 1px solid #5b5b5b46;
  outline: none;
  font-size: 15px;
  border-radius: 5px;
  color: #5b5b5bc7;
}

.listing-block2, .listing-block3{
  display: none;
}

.adv-search{
  display: block;
  position: fixed;
  bottom: 5vw;
  right: -5em;
  cursor: pointer;
  transition: 1s;

}

.adv-search i{
  font-size:20px;
}

.adv-search b{
  visibility: hidden;
  font-weight: 500;
  font-size: 15px;
  align-content: center;
  color: var(--primary);
}

.adv-search:hover.adv-search b{
    visibility: visible;
}

.adv-search:hover {
  bottom: 5vw;
  right: 5vw;

}


}

/* tap size */
@media (max-width: 600px) {

  /* grid listing header */

  .listing-header2{
    display: block;
    text-align: center;
    width: 90%; height: 6vb;
    padding: 2vh;
    font-size: 14px;
    border-radius: 5px;
    margin: auto;
  }

  .list-status .status-select{
    width: 22%
  }

  .list-status{
    margin-right: 3vw;
  }

  
.listing-main {
  display: grid;
  grid-template-columns: auto ;
  justify-items: center;
  width: 95vw;
  column-gap: 0%;
  row-gap: 2%;
height: min-content;
}

.listing-block {
  background-color: var(--text);
  height: 58vb;
  width: 90%;
  padding: 2%;
margin: auto;
}

.listing-img {
  height: 30vh;
  width: 100%;

}


.agent-block .agent-img {
  height: 5vh;
  width: 10vw;
}

/* advance search */

.listing-side-block{
  width: 100dvw;
  position: fixed;
  left: 0;
  bottom: -100vh;
  transition: 1s;
  z-index: 1;
}

.listing-side-block.swing{
bottom: 0vw;
}

.list-drop{
  font-size: 25px;
  color: var(--primary);
  text-align: right;
  width: 95%;
  cursor: pointer;
  transition: 1s;
  display: block;
}

.list-drop:hover{
  font-size: 20px;
}

.listing-block1{
  background-color: var(--text);
 margin-left: max-content; width: 25vw;
 height: 70vh; width: 100%;
  text-align: center;
  align-content: center;
  border-radius: 5px;
  border-radius: 50px 50px 0 0;
}

.listing-block1 input{
  height: 5vb; width: 35vw;
  margin: 2%;
  border: 1px solid #5b5b5b46;
  outline: none;
  font-size: 15px;
  border-radius: 5px;
  color: #5b5b5bc7;
  /* padding-left: 3%; */
}

.listing-block2, .listing-block3{
  display: none;
}

.adv-search{
  display: block;
  position: fixed;
  bottom: 5vw;
  right: -3.5em;
  cursor: pointer;
  transition: 1s;
}

.adv-search i{
  font-size:20px;
}

.adv-search b{
  visibility: hidden;
  font-weight: 500;
  font-size: 15px;
  align-content: center;
  color: var(--primary);
}

.adv-search:hover.adv-search b{
    visibility: visible;
}

.adv-search:hover {
  bottom: 5vw;
  right: 5vw;

}

.listing-main{
height: 100%;
display: block;
}

.footer-main {
  grid-template-columns: auto;
  row-gap: 5%;
}

.footer-title {
  font-size: 15px;
}

.footer-input {
  height: 5vh;
  width: 40vw;
}

.sub-footer {
  display: block;
  margin-top: 25%;
  text-align: center;
}

}
