:root {
  /** Font default */
  --font-family-default: "Lato", sans-serif;
  --font-family-title: "Playfair Display", serif;
  --font-size-default: 16px;
  --font-size-title: 18px;
  --font-color-default: #000000;
  --font-color-title: #6c757d;
  /** Use for input, button, and any other element */
  --background-color: #fff;
  --background-color-darker: #dbdbdb;
  --primary-text-color: #000;
  --primary-text-accent: #898989;
  --primary: #000000;
  --primary-accent: #767676;
  --accent-color: #000000;
  --secondary: #ffffff;
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;
  --light: #f8f9fa;
  --dark: #343a40;
  /** Pattern **/
  --mask-size: 100%;
  --mask-repeat: repeat;
}

/* Global */
body {
  font-family: var(--font-family-default);
  font-size: var(--font-size-default);
  background: var(--background-color);
  color: var(--primary-text-color);
  margin: 0;
  /* Remove the comment from line 85 to 86 if the font issue in safari occurs */
  /* -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; */
}

body a {
  text-decoration: none;
  color: inherit;
}

body a:hover {
  text-decoration: none;
}

.slick-slide * {
  outline: none !important;
}

.container-padding {
  padding-left: 100px;
  padding-right: 100px;
}

.max-container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

.default-padding {
  padding: 0 15px;
}

.default_title_container {
  text-align: left;
}

.default_title_container.align-center {
  text-align: center;
}

/* Sub Menu */
#nav li {
  position: relative;
  display: inline-block;
}

#nav li:hover>.sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
}

#nav .sub-menu {
  list-style: none outside none;
  margin: 0;
  background: transparent;
  display: block;
  padding: 0;
  position: absolute;
  width: 100%;
  min-width: 180px;
  left: 50%;
  margin-left: -90px;
  padding-top: 30px;
  top: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  -webkit-transform: translateY(30px);
  -ms-transform: translateY(30px);
  transform: translateY(30px);
  -webkit-transition: all 0.6s ease;
  transition: all 0.6s ease;
}

#nav .sub-menu a {
  color: #fff;
  display: block;
  padding: 10px;
  background: var(--primary);
}

#nav .sub-menu li {
  position: relative;
  display: block;
  padding: 0;
  text-align: center;
}

#nav .sub-menu li:hover a {
  background: var(--secondary);
  color: var(--primary);
  opacity: 1;
  text-decoration: none;
}

#nav .sub-menu .sub-menu {
  margin-left: 100%;
  top: 0;
}

/* Title */
.default_title {
  font-family: var(--font-family-title);
  display: inline-block;
  color: var(--primary);
  font-size: 65px;
  text-transform: uppercase;
}

.default_title i {
  display: block;
  color: var(--primary-text-accent);
  font-style: normal;
  font-size: 16px;
  font-family: var(--font-family-default);
  padding-bottom: 15px;
}

.default_title span {
  display: block;
  font-family: var(--font-family-default);
  color: var(--primary-accent);
  font-size: 25px;
  text-align: right;
  position: relative;
  padding-top: 3px;
  letter-spacing: 0.05em;
}

.default_title span em {
  display: inline-block;
  background: var(--background-color);
  position: relative;
  z-index: 2;
  padding-left: 30px;
  font-style: normal !important;
  font-weight: 300;
}

.default_title span::after {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--primary-accent);
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -0.5px;
  content: "";
}

.default_title.expanded span {
  margin: 0 -15px;
}

/* Pagination */
.default_pagination {
  display: flex;
  justify-content: center;
  margin-top: 35px;
}

.default_pagination .aios-arrows {
  font-size: 34px;
  color: var(--primary-accent);
  margin: 0 24px;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  transition: all 0.6s ease;
}

.default_pagination .aios-arrows:hover {
  color: var(--primary);
}

.default_button {
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  background: transparent;
  display: inline-block;
  border: 2px solid var(--primary);
  padding: 0 40px;
  height: 58px;
  line-height: 58px;
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--font-family-default);
  transition: all 0.6s ease;
  font-size: 13px;
  color: var(--primary);
}

.default_button:hover {
  background: var(--primary);
  color: var(--secondary);
  border-color: var(--primary);
}

/* Header */
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  padding: 36px 15px;
  transition: all 0.6s ease;
}

.header.show-fh {
  background: var(--primary);
  padding: 10px 15px;
}

.header.show-fh .logo-wrap {
  width: 29%;
}

.header.show-fh .logo-wrap a .logo h2 {
  font-size: 29px;
}

.header.show-fh .logo-wrap a .logo span {
  font-size: 9px;
}

.header.show-fh .logo-wrap a .logo-image i {
  font-size: 17px;
}

.header.show-fh .logo-wrap a .logo img {
  width: auto;
  height: 78px;
}

.header.show-fh .navigation {
  width: 55%;
  margin-left: 8.7%;
}

.header.show-fh .navigation ul li {
  padding: 0px 15px;
}

.header.show-fh .navigation ul li a {
  font-size: 14px;
}

.header.show-fh .hd-cta {
  color: var(--secondary);
  display: flex;
  width: 8%;
}

.header.show-fh .hd-cta ul {
  display: flex;
  align-items: center;
}

.header.show-fh .hd-cta ul li:first-child {
  padding: 0 12px;
  font-size: 13px;
}

.header.show-fh .hd-cta ul li .ai-font-envelope-f {
  font-size: 11px;
  color: var(--secondary);
}

.header .hd-wrap {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header .logo-wrap {
  width: 32.759%;
  flex-shrink: 0;
}

.header .logo-wrap a {
  display: flex;
  width: 100%;
  color: #fff;
  pointer-events: none;
}

.header .logo-wrap a .logo {
  padding-right: 15px;
  pointer-events: auto;
}

.header .logo-wrap a .logo img {
  max-width: 200px;
}

.header .logo-wrap a .logo h2 {
  font-size: 42px;
  font-family: var(--font-family-title);
  text-transform: uppercase;
  line-height: 1;
  transition: all 0.6s ease;
}

.header .logo-wrap a .logo span {
  text-transform: uppercase;
  font-size: 14.6px;
  line-height: 1.2;
  letter-spacing: 0.33em;
  transition: all 0.6s ease;
  display: block;
  white-space: nowrap;
}

.header .logo-wrap a .logo-image {
  padding-left: 17px;
  border-left: 1px solid #ffffff;
  display: flex;
  align-items: center;
}

.header .logo-wrap a .logo-image i {
  font-size: 30px;
  transition: all 0.6s ease;
}

.header .navigation {
  width: 61.2%;
  margin-left: 6%;
  transition: all 0.6s ease;
}

.header .navigation ul {
  display: flex;
  align-items: center;
  float: right;
}

.header .navigation ul li {
  position: relative;
  padding: 0 20px;
  transition: all 0.6s ease;
}

.header .navigation ul li a {
  color: var(--secondary);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.6s ease;
  position: relative;
  z-index: 5;
}

.header .navigation ul li:hover a {
  opacity: 0.6;
}

.header .navigation #nav>li:last-child a {
  display: block;
  color: var(--secondary);
  text-transform: uppercase;
  border: 2px solid var(--secondary);
  width: 100%;
  padding: 15px 0;
  text-align: center;
  transition: all 0.6s ease;
  flex-shrink: 0;
  min-width: 117px;
  margin-left: 13px;
}

.header .navigation #nav>li:last-child a:hover {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
}

.header .hd-cta {
  display: none;
}

.header.show-fh .navigation #nav>li:last-child a:hover,
.header.show-fh .navigation ul li:hover>a {
  background: transparent;
  opacity: 0.7;
  color: var(--secondary);
}

/* CTA */
.hp-cta-wrap {
  padding-top: 90px;
  padding-bottom: 90px;
  overflow: hidden;
}

.hp-cta {
  display: flex;
  margin: 0 -27.5px;
}

.hp-cta div {
  width: 33.3333333333%;
  padding: 0 27.5px;
}

.hp-cta div a {
  border: 1px solid var(--primary);
  width: 100%;
  padding: 0 40px;
  color: var(--primary);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  height: 130px;
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  justify-content: center;
  transition: all 0.6s ease;
  position: relative;
}

.hp-cta div a:after {
  display: block;
  width: 2px;
  height: 97px;
  position: absolute;
  right: 10%;
  background: #d1d3d4;
  content: "";
  top: 50%;
}

.hp-cta div a:hover {
  background: var(--primary);
  background-size: cover;
  color: var(--secondary);
  border-color: var(--primary);
}

.hp-cta div a:hover span {
  color: var(--secondary);
}

.hp-cta div a span {
  font-family: var(--font-family-title);
  display: block;
  letter-spacing: 0.05em;
  color: var(--primary);
  font-size: 23px;
  padding-top: 6px;
  transition: all 0.6s ease;
}

/* Contact Form */
.ft-contact-form {
  background-size: cover;
  position: relative;
  padding: 191px 0;
}

.ft-contact-form:after {
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.4;
  position: absolute;
  left: 0;
  top: 0;
  content: "";
}

.ft-contact-form .container {
  position: relative;
  z-index: 5;
}

.ft-contact-form .ft-form-title h2 {
  font-family: var(--font-family-title);
  color: var(--secondary);
  font-size: 57px;
  text-transform: uppercase;
  padding-top: 20px;
}

.ft-contact-form .ft-form-title p {
  color: var(--secondary);
  font-size: 19px;
  padding-top: 14px;
  text-transform: uppercase;
  font-weight: 300;
}

.ft-contact-form .ft-form form {
  position: relative;
}

.ft-contact-form .ft-form .fieldWrap {
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  position: relative;
  margin: 0 -15px;
}

.ft-contact-form .ft-form .field-input {
  width: 100%;
  padding: 10px 15px;
}

.ft-contact-form .ft-form .field-input span {
  display: block;
  position: relative;
}

.ft-contact-form .ft-form .field-input.field-sm {
  width: 50%;
}

.ft-contact-form .ft-form .field-input label {
  display: none;
}

.ft-contact-form .ft-form .field-input textarea {
  height: 61px;
  margin-top: 15px;
  resize: none;
}

.ft-contact-form .ft-form .form-btn {
  text-align: right;
  padding: 0 2%;
  width: 100%;
  margin-top: 21px;
}

.ft-contact-form .ft-form .form-btn span {
  display: block;
}

.ft-contact-form .ft-form .form-btn input[type=submit] {
  display: inline-block;
  border: 2px solid var(--secondary);
  color: var(--secondary);
  height: 48px;
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--font-family-default);
  transition: all 0.6s ease;
  background: transparent;
  width: 100%;
  max-width: 177px;
  font-size: 13px;
  letter-spacing: 0.14em;
}

.ft-contact-form .ft-form .form-btn input[type=submit]:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.ft-contact-form .wpcf7-not-valid-tip {
  width: auto;
  position: absolute !important;
  top: 0;
  left: unset;
  right: 0;
  font-size: 12px;
}

.ft-contact-form .wpcf7 form .wpcf7-response-output {
  width: 100%;
  background: #fff;
  margin: 0;
  text-align: center;
  position: absolute;
  bottom: -25px;
}

.ft-contact-form .ft-form .field-input input[type=text],
.ft-contact-form .ft-form .field-input input[type=email],
.ft-contact-form .ft-form .field-input input[type=tel],
.ft-contact-form .ft-form .field-input textarea {
  width: 100%;
  background: transparent;
  border: none;
  height: 31px;
  color: var(--secondary);
  text-transform: uppercase;
  border-bottom: 1px solid var(--secondary);
  outline: none;
}

/* Footer */
#main-footer {
  position: relative;
  font-size: 0;
  overflow: hidden;
  z-index: 0;
  padding-top: 100px;
  padding-bottom: 100px;
}

#main-footer .ftr-top {
  position: relative;
  z-index: 5;
}

#main-footer::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 160%;
  top: 0;
  left: 0;
  background: var(--primary-color);
  z-index: 2;
}

#main-footer .ft-logo {
  margin-bottom: 60px;
  padding: 0 15px;
}

#main-footer .ft-logo .logo-img {
  padding-bottom: 45px;
}

#main-footer .ft-logo .logo-img a {
  font-size: 56px;
  color: var(--primary);
}

#main-footer .ft-logo img {
  width: 100%;
  max-width: 250px;
}

#main-footer .ft-logo h2 {
  font-size: 47px;
  font-family: var(--font-family-title);
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
  font-weight: 400;
  color: var(--primary);
}

#main-footer .ft-logo span {
  text-transform: uppercase;
  font-size: 14.6px;
  line-height: 1.2;
  letter-spacing: 0.33em;
  font-weight: 500;
}

#main-footer h2 {
  color: var(--primary);
  font-size: 19px;
  text-transform: uppercase;
  margin-bottom: 32px;
  font-weight: bold;
  font-family: var(--font-family-title);
}

#main-footer .ft-rows {
  display: flex;
}

#main-footer .ft-row:first-child+.ft-row {
  width: 27%;
  margin: 0 15%;
  position: relative;
  z-index: 6;
}

#main-footer .ft-row p {
  color: var(--primary-text-accent);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
}

#main-footer .ft-row ul li {
  color: var(--primary-text-accent);
  font-size: 15px;
  padding: 3px 0;
  line-height: 1.6;
  font-weight: 500;
}

#main-footer .ft-row ul li a {
  color: var(--primary-text-accent);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.6s ease;
}

#main-footer .ft-row ul li a:hover {
  color: var(--primary-text-color);
}

#main-footer .ft-row:nth-child(2) ul li:nth-child(3) {
  margin-top: 0;
  display: block;
}

#main-footer .ftr-newsletter .newsletter-form {
  position: relative;
}

#main-footer .ftr-newsletter .newsletter-form input[type=email] {
  width: 100%;
  background: transparent;
  color: var(--primary-text-accent);
  border: 1px solid var(--primary-text-accent);
  font-size: 15px;
  height: 57px;
  padding: 0px 15px;
  outline: none;
  border-right: none;
}

#main-footer .ftr-newsletter .newsletter-form span {
  position: relative;
  display: block;
  width: calc(100% - 56px);
}

#main-footer .ftr-newsletter .newsletter-form span.wpcf7-spinner {
  width: 24px;
  height: 24px;
}

#main-footer .ftr-newsletter .newsletter-form span.ajax-loader {
  width: 24px;
}

#main-footer .ftr-newsletter .newsletter-form .ftr-bttn {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  background: var(--primary-text-color);
  width: 56px;
}

#main-footer .ftr-newsletter .newsletter-form .ftr-bttn input {
  width: 100%;
  height: 100%;
  background: var(--primary);
  font-size: 0;
  border: none;
}

#main-footer .ftr-newsletter .newsletter-form .ftr-bttn i {
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--secondary);
}

#main-footer .ftr-newsletter .newsletter-form .wpcf7-not-valid-tip {
  top: 0;
  width: auto;
  position: absolute;
  font-size: 12px;
  left: unset;
  right: 0;
  top: 50%;
  transform: translate(0, -50%);
}

#main-footer .ftr-newsletter .smi {
  margin-top: 40px;
}

#main-footer .ftr-newsletter .smi>div {
  display: flex;
}

#main-footer .ftr-newsletter .smi a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 47px;
  height: 47px;
  background: var(--primary);
  border-radius: 50%;
  text-align: center;
  font-size: 21px;
  color: var(--secondary);
  margin: 0 6px;
  -webkit-transition: all 0.35s ease-in-out;
  -moz-transition: all 0.35s ease-in-out;
  -o-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
}

#main-footer .ftr-newsletter .smi a:first-child {
  margin-left: 0;
}

#main-footer .ftr-newsletter .smi a:hover {
  opacity: 0.7;
}

#main-footer .wpcf7 form .wpcf7-response-output {
  font-size: 12px;
  color: #000;
  position: absolute;
  margin: 5px 0;
  width: 100%;
  text-align: center;
}

#main-footer .ft-copyright {
  margin-top: 70px;
  border-top: 1px solid #c3c3c3;
}

#main-footer .ft-copyright .compass-logo {
  color: var(--primary);
  font-size: 37px;
  padding-top: 36px;
}

#main-footer .ft-copyright .compass-copyright {
  color: var(--primary-text-accent);
  font-size: 15px;
  padding: 36px 0;
  line-height: 1.8;
}

#main-footer .ft-copyright .compass-copyright p {
  display: block;
}

#main-footer .ft-copyright .compass-copyright p+p {
  border-top: 1px solid rgba(0, 0, 0, 0.251);
  margin-top: 30px;
  padding-top: 30px;
}

#main-footer .ft-copyright .compass-copyright p a {
  transition: all 0.35s ease-in-out;
}

#main-footer .ft-copyright .compass-copyright p a:hover {
  color: var(--primary-text-color);
}

#main-footer .ft-copyright .copright {
  color: var(--primary-text-accent);
  font-size: 15px;
  line-height: 1.8;
  transition: all 0.6s ease;
}

#main-footer .ft-copyright .copright p a {
  transition: all 0.6s ease;
}

#main-footer .ft-copyright .copright p+p {
  margin-top: 30px;
}

#main-footer .ft-copyright .copright a:hover {
  color: var(--primary-text-color);
}

#main-footer .ft-copyright .copright i {
  color: var(--primary);
  font-size: 50px;
  margin-top: 20px;
  display: inline-block;
}

#main-footer .ft-copyright .copright i.ai-font-realtor-mls {
  margin-left: 15px;
}

/* Global */
/*******************************************************
 *
 * 4. IP Styles
 *
 *******************************************************/
.ip-banner {
  position: relative;
  width: 100%;
  z-index: 5;
}

.ip-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
}

.ip-banner canvas {
  display: block;
  position: relative;
  z-index: 0;
  width: 100%;
  min-height: 250px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.ip-banner .container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.ip-banner h1 {
  font-weight: 700;
  font-size: 32px;
  text-align: center;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.7;
}

.ip-banner h1 span {
  display: block;
  font-size: 24px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.01em;
}

.ip-banner .ip-breadcrumbs {
  position: absolute;
  bottom: 0;
  z-index: 4;
  width: 100%;
  color: var(--secondary);
  font-size: 16px;
  padding-top: 21px;
  padding-bottom: 21px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ip-banner .ip-breadcrumbs a {
  color: var(--secondary);
  transition: all 0.35s ease-in-out;
}

.ip-banner .ip-breadcrumbs a:hover {
  opacity: 0.6;
}

/* Adjust minimum height of page area */
#content-sidebar,
#content-full {
  min-height: 500px;
  margin-top: 20px;
}

/** Adjust width of content columns **/
#content-sidebar #content {
  width: 77.08%;
}

#content-full #content {
  width: 100%;
}

/* Adjust width of sidebar */
.sidebar {
  width: 20.83%;
}

/* fullwidth template */
.page-template-template-fullwidth #content {
  padding-left: 15px;
  padding-right: 15px;
}

.page-template-template-fullwidth #content ihf-search[data-eureka-id*=""].ihf-eureka {
  margin-left: -15px;
  margin-right: -15px;
}

/* Adjust line height of page elements */
#content h4,
aside h4,
#content p,
aside p,
#content blockquote,
aside blockquote,
#content ul,
aside ul,
#content fieldset,
aside fieldset,
#content form,
aside form,
#content ol,
aside ol,
#content dl,
aside dl,
#content dir,
aside dir,
#content menu,
aside menu {
  line-height: 1.7;
}

#content {
  /* Style .entry-title(post/page) and .archive-title(category/archive/etc) main headings (h1) */
  /* Styles for category/archive/search/etc subheadings (h2) */
  /* Blog */
  /* Blog */
}

#content .post a {
  color: var(--primary);
}

#content #breadcrumbs {
  display: none;
}

#content .entry-title,
#content .archive-title {
  font-family: var(--font-family-title);
  color: var(--primary);
  font-size: 33px;
  text-transform: uppercase;
}

#content .archive-subtitle {
  color: var(--primary);
  font-family: var(--font-family-title);
}

#content .entry-thumbnail img {
  width: 100%;
  margin: 0 auto;
}

#content .archive-list {
  display: flex;
  flex-flow: row wrap;
  margin: 0 -15px;
}

#content .archive-list .post {
  width: 50%;
  padding: 15px;
  border: none;
}

#content .archive-list .post a {
  display: block;
  width: 100%;
  position: relative;
}

#content .archive-list .post .archive-thumbnail {
  width: 100%;
  float: none;
}

#content .archive-list .post .archive-thumbnail canvas {
  width: 100%;
  height: auto;
}

#content .archive-list .post .archive-thumbnail img {
  display: block;
  left: 0;
  top: 0;
  object-fit: cover;
  object-position: center center;
  position: absolute;
  width: 100%;
  height: 100%;
}

#content .archive-list .post .archive-content {
  width: 100%;
  float: none;
}

#content .archive-list .post .archive-content .archive-more {
  font-style: normal;
  text-decoration: none;
  display: inline-block;
  width: auto;
}

#content .archive-list .post .archive-content .archive-more:hover {
  color: #fff !important;
}

#content .archive-list .post:first-child {
  width: 100%;
}

#content .archive-list .post:first-child .entry {
  display: flex;
  flex-flow: row wrap;
}

#content .archive-list .post:first-child .entry .archive-thumbnail {
  width: 60%;
}

#content .archive-list .post:first-child .entry .archive-content {
  width: 37%;
  margin-left: 3%;
  font-size: 22px;
}

#content .archive-list .post:first-child .entry .archive-content .archive-subtitle {
  margin: 0;
}

#content #listings-results .listings-table .listings-table-body .listings-table-label {
  color: #ffffff;
}

.ihf-details-template #inner-page-wrapper .max-container,
.single-aios-listings #inner-page-wrapper .max-container,
.ihf-results-template #inner-page-wrapper .max-container {
  max-width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

.post-page-get-a-free-home-valuation #inner-page-wrapper .max-container,
.aios-listings-template-default #inner-page-wrapper .max-container,
.aios-custom-ihomefinder-details-template #inner-page-wrapper .max-container {
  padding: 0;
}

.listing-module-page #inner-page-wrapper .max-container>.container {
  width: 100% !important;
  padding: 0 !important;
}

/** Pojo Accessibility */
body #pojo-a11y-toolbar {
  bottom: 0 !important;
  top: auto !important;
}

body #pojo-a11y-toolbar.pojo-a11y-toolbar-left .pojo-a11y-toolbar-toggle {
  top: auto !important;
  bottom: 0 !important;
}

button:focus-visible,
a:focus-visible {
  outline-style: solid !important;
  outline-width: 5px !important;
  outline-color: red !important;
  transition: none !important;
}

/* High contrast and Negative contrast break canvas elements with backgrounds */
#pojo-a11y-toolbar .pojo-a11y-btn-high-contrast,
#pojo-a11y-toolbar .pojo-a11y-btn-negative-contrast,
#pojo-a11y-toolbar .pojo-a11y-btn-grayscale,
#pojo-a11y-toolbar .pojo-a11y-btn-light-background {
  display: none !important;
}

body.aios-custom-ihomefinder-results-template #content-full .entry-title {
  width: 100%;
  padding: 0;
}

body.aios-custom-ihomefinder-results-template .ip-breadcrumbs .max-container {
  width: 100%;
  max-width: 100%;
}

#areaPickerClearAll .glyphicon.glyphicon-remove-circle {
  color: #fff !important;
}

.page-id-5 #inner-page-wrapper {
  margin-bottom: 0;
}

.page-id-5 #inner-page-wrapper>.max-container {
  max-width: unset;
}

.error-page-content-wrapper .use-floating-validation-tip .wpcf7-not-valid-tip {
  position: absolute;
  width: auto;
  left: auto;
  right: 2px;
  font-size: 11px;
  top: 2px;
}

.error-page-content-wrapper .wpcf7 form .wpcf7-response-output {
  position: absolute;
  width: 100%;
  text-align: center;
  margin: auto;
  font-size: 13px;
}

@media only screen and (max-width: 1440px) {
  .header {
    padding: 20px 15px;
  }

  .header .logo-wrap {
    width: 23%;
  }

  .header .logo-wrap a .logo h2 {
    font-size: 25px;
  }

  .header .logo-wrap a .logo span {
    font-size: 7.7px;
  }

  .header .logo-wrap a .logo-image {
    padding-left: 11px;
  }

  .header .logo-wrap a .logo-image i {
    font-size: 15px;
  }

  .header.show-fh .logo-wrap {
    width: 23%;
  }

  .header.show-fh .logo-wrap a .logo h2 {
    font-size: 21px;
  }

  .header.show-fh .logo-wrap a .logo span {
    font-size: 6.5px;
  }

  .header.show-fh .logo-wrap a .logo-image i {
    font-size: 14px;
  }

  .header.show-fh .navigation {
    width: 60%;
    margin-left: 7%;
  }

  .header.show-fh .navigation ul li {
    padding: 0px 6px;
  }

  .header.show-fh .navigation ul li a {
    font-size: 12px;
  }

  .header.show-fh .hd-cta {
    width: 10%;
  }

  .header .navigation {
    width: 72%;
    margin-left: 2%;
  }

  .header .navigation ul li {
    padding: 0 15px;
  }

  .header .navigation ul li a {
    font-size: 12px;
  }

  .header .navigation #nav>li:last-child a {
    padding: 10px 0;
  }
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {
  .container-padding {
    padding-left: 50px;
    padding-right: 50px;
  }

  .header .navigation {
    width: 72%;
    margin-left: 2%;
  }

  .header .navigation ul li {
    padding: 0 10px;
  }

  .hp-cta div {
    padding: 0 13.5px;
  }

  .hp-cta div a span {
    font-size: 20px;
  }

  /* Blog */
  #content .archive-list .post:first-child .entry .archive-thumbnail {
    width: 100%;
  }

  #content .archive-list .post:first-child .entry .archive-content {
    width: 100%;
    margin-left: 0;
  }

  #content .archive-list .post:first-child .entry .archive-content .archive-subtitle {
    margin: 0.75em 0;
  }

  .ft-contact-form .ft-form-title h2 {
    font-size: 45px;
  }

  .ft-contact-form .ft-form-title p {
    font-size: 15px;
  }

  #main-footer h2 {
    font-size: 13px;
    line-height: 1.2;
  }

  #main-footer .ftr-newsletter .smi a {
    width: 40px;
    height: 40px;
  }
}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {
  .default_pagination .aios-arrows {
    margin: 0 14px;
  }

  .container-padding {
    padding-left: 15px;
    padding-right: 15px;
  }

  .aios-mobile-header-wrapper {
    display: block !important;
  }

  #pojo-a11y-toolbar {
    display: none;
  }

  .amh-header-buttons.amh-2a .amh-navigation-trigger span * {
    padding-left: 10px;
  }

  .header {
    position: relative !important;
    background: var(--primary);
    margin-top: 54px;
  }

  .header .hd-wrap {
    justify-content: center;
  }

  .header .navigation {
    display: none;
  }

  .header .logo-wrap {
    width: 100%;
  }

  .header .logo-wrap a {
    justify-content: center;
    text-align: center;
  }

  .header .logo-wrap a .logo h2 {
    font-size: 30px;
  }

  .header .logo-wrap a .logo span {
    font-size: 13px;
  }

  .header .logo-wrap a .logo-image i {
    font-size: 20px;
  }

  .hp-cta-wrap {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .hp-cta {
    display: block;
    margin: 0;
  }

  .hp-cta div {
    width: 100%;
    padding: 20px 0;
    max-width: 450px;
    margin: 0 auto;
  }

  #main-footer .ft-copyright .compass-logo {
    font-size: 25px;
  }

  /* The following are used on inner pages. Please edit carefully. */
  .inner {
    width: 100%;
  }

  #content-sidebar,
  #content-full {
    width: 100%;
  }

  .outer {
    width: 100%;
    min-width: 100%;
  }

  #content-sidebar #content {
    width: 100%;
  }

  #content {
    /* Blog */
    /* Blog */
  }

  #content .archive-list {
    margin: 0;
  }

  #content .archive-list .post {
    width: 100%;
    padding: 15px 0;
  }

  #content .archive-list .post .archive-content .archive-subtitle {
    text-align: left;
  }

  #content .archive-list .post:first-child .entry .archive-thumbnail {
    width: 100%;
  }

  #content .archive-list .post:first-child .entry .archive-content {
    width: 100%;
    margin-left: 0;
  }

  .ft-contact-form .ft-form-title {
    text-align: center;
    padding-bottom: 50px;
  }

  .ft-contact-form .wpcf7 form .wpcf7-response-output {
    position: static;
  }

  #main-footer .ftr-newsletter {
    padding-top: 40px;
  }
}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
  .default_button {
    font-size: 12px;
  }

  .default_title {
    font-size: 45px;
  }

  .default_title span {
    font-size: 16px;
  }

  .header .logo-wrap .logo h2 {
    font-size: 25px;
  }

  .header .logo-wrap .logo span {
    font-size: 10.5px;
  }

  .ip-banner .container {
    width: 100%;
  }

  .ft-contact-form .wpcf7-not-valid-tip {
    font-size: 11px;
  }

  .ft-contact-form .ft-form .fieldWrap {
    margin: 0;
  }

  .ft-contact-form .ft-form .field-input.field-sm,
  .ft-contact-form .ft-form .field-input.field-lg {
    width: 100%;
    padding: 16px 0;
  }

  #main-footer {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  #main-footer h2 {
    font-size: 17px;
    margin-bottom: 31px;
  }

  #main-footer .ft-logo {
    margin-bottom: 40px;
  }

  #main-footer .ft-rows {
    flex-flow: column;
  }

  #main-footer .ft-row {
    width: 100% !important;
    margin: 20px 0 !important;
  }

  #main-footer .ft-row ul li .ai-mobile-phone {
    margin-top: 0;
  }
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
  .header .logo-wrap a .logo span {
    letter-spacing: 0.09em;
  }

  .header .logo-wrap a .logo-image i {
    font-size: 16px;
  }

  .ft-contact-form .ft-form-title h2 {
    font-size: 38px;
  }
}