/* Page-specific styles, in their original cascade order.
 * App-owned UI primitives follow in ui.css. Edit these files as plain CSS.
 */

/* Action Text */
.trix-content .attachment-gallery > action-text-attachment,
.trix-content .attachment-gallery > .attachment {
  flex: 1 0 33%;
  padding: 0 0.5em;
  max-width: 33%;
}

.trix-content .attachment-gallery.attachment-gallery--2 > action-text-attachment,
.trix-content .attachment-gallery.attachment-gallery--2 > .attachment,
.trix-content .attachment-gallery.attachment-gallery--4 > action-text-attachment,
.trix-content .attachment-gallery.attachment-gallery--4 > .attachment {
  flex-basis: 50%;
  max-width: 50%;
}

.trix-content action-text-attachment .attachment {
  padding: 0 !important;
  max-width: 100% !important;
}

/* Address search */
.search-result {
  font-size: 0.8em;
  color: black;
}

/* Dashboard */
.admin-nav {
  margin-bottom: 80px;
}

.show-sidebar .feather {
  width: 16px;
  height: 16px;
  vertical-align: text-bottom;
}

.show-sidebar .sidebar {
  position: fixed;
  top: 30px;
  bottom: 0;
  left: 0;
  z-index: 100; /* Behind the navbar */
  padding: 48px 0 0;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.1);
}

@media (max-width: 767.98px) {
  .show-sidebar .sidebar {
    top: 5rem;
  }
}

.show-sidebar .sidebar-sticky {
  position: relative;
  top: 0;
  height: calc(100vh - 48px);
  padding-top: .5rem;
  overflow-x: hidden;
  overflow-y: auto;
}

@supports (position: -webkit-sticky) or (position: sticky) {
  .show-sidebar .sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
  }
}

.show-sidebar .sidebar .nav-link {
  font-weight: 500;
  color: #333;
}

.show-sidebar .sidebar .nav-link .feather {
  margin-right: 4px;
  color: #999;
}

.show-sidebar .sidebar .nav-link.active {
  color: #007bff;
}

.show-sidebar .sidebar .nav-link:hover .feather,
.show-sidebar .sidebar .nav-link.active .feather {
  color: inherit;
}

.show-sidebar .sidebar-heading {
  font-size: .75rem;
  text-transform: uppercase;
}

.show-sidebar .navbar-brand {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: 1rem;
  background-color: rgba(0, 0, 0, 0.25);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.25);
}

.show-sidebar .navbar .navbar-toggler {
  top: .25rem;
  right: 1rem;
}

.show-sidebar .navbar .form-control {
  padding: .75rem 1rem;
  border-width: 0;
  border-radius: 0;
}

.show-sidebar .form-control-dark {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.1);
}

.show-sidebar .form-control-dark:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

.debug_dump {
  float: left;
  width: 100%;
  margin-top: 45px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* Devise */
.form-auth {
  width: 100%;
  max-width: 330px;
  padding: 15px;
  margin: auto;
  margin-top: 60px;
}

.form-auth .checkbox {
  font-weight: 400;
}

.form-auth .form-control {
  position: relative;
  box-sizing: border-box;
  height: auto;
  padding: 10px;
  font-size: 16px;
}

.form-auth .form-control:focus {
  z-index: 2;
}

.form-auth input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-auth input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.form-auth .btn-block {
  margin-bottom: 40px;
}

/* News editor */
trix-editor.form-control {
  min-height: 20rem;
  height: auto;
}

/* Properties */
.property {
  border-radius: 25px;
}

.property-thumb {
  height: 240px;
  border-radius: 25px 25px 0px 0px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.property-thumb a {
  display: block;
  width: 100%;
  height: 100%;
}

.property-thumb-static {
  height: 240px;
  border-radius: 25px 25px 0px 0px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

.property-thumb-static a {
  display: block;
  width: 100%;
  height: 100%;
}

.property-main-photo {
  margin-top: 30px;
  height: 200px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  margin-bottom: 60px;
  background-position-y: center;
}

.profile-cover-photo {
  margin-top: 30px;
  height: 200px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  margin-bottom: 60px;
  background-position-y: center;
}

#prop-details {
  height: 160px;
  overflow: hidden;
}

#prop-details.open {
  height: auto;
}

#prop-dots.close {
  display: none;
}

.property-summary {
  height: 200px;
}

.tel_button {
  height: 40px;
}

.menu-highlight {
  font-size: 1.1em;
}

.placeholder-small input::placeholder {
  font-size: 0.9em;
}

@media only screen and (min-width: 340px) {
  .property-main-photo {
    height: 300px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-position-y: center;
  }
  .profile-cover-photo {
    height: 250px;
  }
}

@media only screen and (min-width: 600px) {
  .property-main-photo {
    height: 460px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-position-y: center;
  }
  .profile-cover-photo {
    height: 460px;
  }
}

@media only screen and (min-width: 900px) {
  .property-main-photo {
    height: 600px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-position-y: center;
  }
  .profile-cover-photo {
    height: 600px;
  }
}

@media only screen and (min-width: 1200px) {
  .property-main-photo {
    height: 600px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-position-y: center;
  }
  .profile-cover-photo {
    height: 600px;
  }
}

@media only screen and (min-width: 1500px) {
  .property-main-photo {
    height: 800px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-position-y: center;
  }
  .profile-cover-photo {
    height: 800px;
  }
}

.pagination {
  display: inline-block;
}

.pagination a {
  color: black;
  float: left;
  padding: 6px 6px;
  text-decoration: none;
}

/* Public pages */
#notifications {
  display: none;
}

.img-circle {
  border-radius: 50%;
}

#home-banner .jumbotron {
  margin-top: 50px;
  background: linear-gradient(rgba(160, 160, 160, 0.1), rgba(1, 1, 1, 0.6)), url("/assets/banners/home-4e68c2ed.jpg") no-repeat center center;
  height: 500px;
  background-size: cover;
  color: #ffffff;
}

#home-banner .jumbotron h1 {
  text-align: center;
  margin-top: 100px;
  text-shadow: 1px 1px 2px #555;
}

#home-banner .jumbotron p {
  text-align: center;
  text-shadow: 1px 1px 2px #aaa;
}

.jumbotron {
  opacity: 1;
}

.section-opacity {
  padding: 3px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 10px 10px 10px 10px;
  height: 100px;
  width: 100%;
  font-weight: bold;
}

.section-opacity p {
  font-size: 0.8em;
}

.header-adjustment {
  margin-top: 80px;
}

.cover-text {
  font-size: 40px;
}

.cover-menu {
  font-size: 20px;
}

@media (max-width: 768px) {
  .cover-text {
    font-size: 32px;
  }
  .cover-menu {
    font-size: 14px;
  }
}

.my-select {
  font-size: 3em;
}

.hidden {
  display: none !important;
}

.tel-number a:link {
  color: white;
}

.tel-number a:visited {
  color: white;
}

.tel-number a:hover {
  color: white;
}

.tel-number a:active {
  color: white;
}

.paginate {
  text-align: center;
}

.form-label-tag {
  margin-top: 16px;
}

.social a:link {
  color: #fff;
}

.social a:visited {
  color: #fff;
}

.social a:hover {
  color: #fff;
  text-decoration: none;
}

.social a:active {
  color: #fff;
}

.search-select select {
  height: 38px;
  border: none;
}

#search-boxes select {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
  outline: 0;
  box-shadow: none;
  background: #fff;
  background-image: none;
  flex: 1;
  padding: 0.4em;
  color: #333;
  cursor: pointer;
  font-size: 0.8em;
  width: 20%;
}

#search-boxes select::-ms-expand {
  display: none;
}

#search-boxes .select {
  position: relative;
  display: flex;
  width: 20em;
  height: 3em;
  line-height: 3;
  background: #5c6664;
  overflow: hidden;
  border-radius: .25em;
}

#search-boxes .select::after {
  content: '\25BC';
  position: absolute;
  top: 0;
  right: 0;
  padding: 0 1em;
  background: #2b2e2e;
  cursor: pointer;
  pointer-events: none;
  transition: .25s all ease;
}

#search-boxes .select:hover::after {
  color: #23b499;
}

#search-boxes .search-box {
  padding: 0.4em;
  width: 60%;
  font-size: 0.8em;
}

@media only screen and (min-width: 1500px) {
  #search-boxes .property-main-photo {
    height: 800px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-position-y: center;
  }
  #search-boxes .profile-cover-photo {
    height: 800px;
  }
}
