@import url("https://fonts.googleapis.com/css?family=Nunito:400,600,700,900");

body {
  font-family: "Nunito", sans-serif;
  font-size: 14px;
}

label{
  font-weight: 700;
}
body.login{
  background-image: url('../assets/img/bg-login.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
}
body.agent{
  /*background-image: url('../assets/img/bg-agent.jpg');*/
  background-color: #fff !important;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
  background-attachment: fixed;
}
.sb-sidenav-light .sb-sidenav-menu .nav-link:hover {
  color: #999999;
}
.dropdown-divider {
  padding: 0;
  margin: 0;
}
.navbar-expand .navbar-nav .dropdown-menu {
  padding: 0;
}
.sb-sidenav .sb-sidenav-footer {
  flex-shrink: 0;
}
.form-control, .datatable-input, .form-select, .datatable-selector {
  background-color: #f1f1f1;
  border: 0;
  border-radius: 0;
}
.input-group-text {
  background-color: #f1f1f1;
  border: 0px;
  border-radius: 0;
}
.btn{
  border-radius: 20px;
}
:root {
  --tmr-bootstrap-border-color: #dee2e6;
  --tmr-white: #eee;
  --tmr-table-header: #54667a;
  --tmr-row-divider-color: #3490dc;
  --tmr-stripped-row-background-color: rgba(0, 0, 0, 0.05);
}
div.dataTables_wrapper div.dataTables_length select {
  width: auto;
  display: inline-block;
}
div.dataTables_wrapper div.dataTables_filter {
  text-align: right;
}
div.dataTables_wrapper div.dataTables_filter label {
  font-weight: normal;
  white-space: nowrap;
  text-align: left;
}
div.dataTables_wrapper div.dataTables_filter input {
  margin-left: 0.5em;
  display: inline-block;
  width: auto;
}
.border-image{
  border: #dedede 5px solid;
}
.card-header, .card-body, .card{
  border: 0px;
  background: white;
  padding-top: 10px;
}
.box-house{
  min-height: 440px;
}
.page-link.active, .active > .page-link {
  background-color: #000;
  border-color: #000;;
}
.page-link {
  color: #000;
}
small, .small {
  font-size: 1em;
}
.form-select {
  font-size: 0.8rem;
}
.image-input-group{
  position: relative;
}
.remove-existing-image{
  position: absolute;
  bottom: 60px;
  left: 30%;
  display: inline-block;
}
@media only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px) {
  .mobile-view{ 
    overflow-x: scroll;
  }
}

/* Start: Drag and Drop Image Input */
.file-input-container {
  position: relative;
}

.file-input-container input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-preview-container {
  border: 2px dashed #ccc;
  padding: 10px;
  text-align: center;
}

.file-preview-container p {
  margin: 0;
}

.file-preview-container.drag-over {
  border-color: #007bff;
}

.file-preview-container img {
  max-width: 150px; 
  max-height: 150px; 
  margin: 5px; 
  object-fit: cover;
}
/* End: Drag and Drop Image Input */

#instagram-bg{
  text-align: center;
  width: 1080px;
  height: 1080px;
  margin: 0px auto;
}
#instagram-bg .bg-image-user{
  width: 1080px;
  height: 1080px;
  position: relative;
  margin: 0px auto;
  overflow: hidden;
}

#instagram-bg .bg-instagram{
  position: absolute;
  top: 0;
  bottom: 0;
}
#instagram-bg .instagram-price{
  position: absolute;
  right: 20px;
  top: 70px;
}
#instagram-bg .instagram-house-name{
  position: absolute;
  bottom: 285px;
  left: 40px;
  width: 630px;
}
#instagram-bg .instagram-features{
  position: absolute;
  bottom: 210px;
  right: 75px;
  width: 270px;
}
#instagram-bg .svg-inline--fa{
  color: #ffac00;
}
#instagram-bg .instagram-detail{  
  position: absolute;
  bottom: 130px;
  right: 75px;
  width: 270px;
}
#instagram-bg .instagram-agent-name{ 
  position: absolute;    
  bottom: 75px;
  right: 74px;
  width: 270px;
}

#instagram-story{
  text-align: center;
  width: 1080px;
  height: 1920px;
  margin: 0px auto;
}
#instagram-story .bg-image-user{
  width: 1080px;
  height: 1920px;
  position: relative;
  margin: 0px auto;
  overflow: hidden;
}

#instagram-story .bg-instagram{
  position: absolute;
  top: 0;
  bottom: 0;
}
#instagram-story .instagram-price{
  position: absolute;
  right: 20px;
  top: 120px;
}
#instagram-story .instagram-house-name{
  position: absolute;
  bottom: 745px;
  left: 40px;
  width: 960px;
}
#instagram-story .instagram-features{
  position: absolute;
  bottom: 445px;
  left: 40px;
  width: 960px;
}
#instagram-story .svg-inline--fa{
  color: #ffac00;
}
#instagram-story .instagram-detail{  
  position: absolute;
  bottom: 345px;
  left: 40px;
  width: 960px;
}
#instagram-story .instagram-agent-name{ 
  position: absolute;
  bottom: 250px;
  left: 40px;
  width: 570px;
}
#instagram-story .instagram-agent-name h2{ 
  line-height: 45px;
}
.class-thumb{
  padding: 10px;
  border: 1px solid #dedede;
  margin-bottom: 10px;
  height: 160px;
  object-fit: fill;
  width: 100%;
  box-sizing: border-box;
  vertical-align: bottom;
  padding: 2px;
}
.status-rumah{
  font-size: 11px;
}
.hot-deal{
  position: absolute;
  top: 20px;
  right: 15px;
  z-index: 1;
  background: transparent;
}
.mobile{
  display: none;
}
.desktop{
  display: block;
}
.pagination-style .d-sm-none{
  display: none !important;
}
.pagination-style .d-none{
  display: block !important;
}
@media (max-width: 767px) {
  div.dataTables_wrapper div.dataTables_length, div.dataTables_wrapper div.dataTables_filter, div.dataTables_wrapper div.dataTables_info, div.dataTables_wrapper div.dataTables_paginate {
    text-align: left;
  }
  #houses-list_filter, #agents-list_filter{
    margin-left: -11px;
    margin-top: 15px;
    margin-bottom: 15px;
  }
  body{
    font-size: 13px;
    line-height: 21px;;
  }
  .sb-nav-fixed ul.pagination {
    margin-left: 90px !important;
  }
  .carousel-caption {
    bottom: -25px;
  }
  .carousel-caption a{
    font-size: 13px;
    line-height: 21px;
  }
  .mobile-center{
    text-align: center;
  }  
  .box-house{
    min-height: auto;
    margin-bottom: 0px !important;
  }
  .pagination{
    margin-top: 20px;
  }
  .mobile{
    display: block;
  }
  .desktop{
    display: none;
  }
  a.btn{
    font-size: 12px;
  }
  .card-body{
    padding: 5px;
  }
  .container-fluid{
    margin-right: 0px;
    margin-left: 0px;
    padding-left: 0px;
    padding-right: 0px;
  }
  .card-header{    
    padding: 0px;
  }
  .page-item:not(:first-child) .page-link {
    margin-left: -1px;
    padding: 5px;
  }
  .page-item:first-child .page-link {
    padding: 5px;
  }
  .btn{  
    font-size: 12px;
  }
  .form-label {
    margin-top: 1rem;
  }
}