/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1500px) {

  /* main header */
  header.hdr-main .hdr-translate {
    right: -85px;
  }

  header.hdr-main .hdr-logo {
    margin-left: -85px;
  }

  /* fixed header */
  header.hdr-fixed .fixed-hdr-inner {
    max-width: 1290px;
  }

  header.hdr-fixed .fixed-left {
    width: 250px;
  }

  header.hdr-fixed .fixed-right {
    width: calc(100% - 250px);
  }

  #fixed-nav>li {
    margin-right: 5.63%;
  }

  #fixed-nav>li>.sub-menu {
    padding-top: 39px;
  }

  /* hp quick search */
  .hp-qs {
    padding: 35px 35px 34px 35px;
  }

  .hp-qs .qs-title h2 {
    font-size: 25px;
  }

  .hp-qs .qs-field select {
    background-position: center right 5px;
  }

  /* hp welcome */
  .hp-wc .wc-photo {
    margin-left: -90px;
  }

  .hp-wc .wc-content {
    margin-right: -70px;
  }

  .hp-wc .wc-title h1 {
    font-size: 41px;
  }

  /* end hp welcome */
}

@media only screen and (max-width:1440px) {
/*	body header.hdr-main .hdr-translate {
		right: -47px;
	}*/

  ul.hdr-cntct-list{
    text-align: center;
  }

  header.hdr-main .hdr-cntct-list>*:first-child{
    display: block;
  }

  header.hdr-main .hdr-logo span,
  .col-md-4.hdr-col.header-text span,
  .header-dre-license span{
    font-size: 13px;
  }
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1366px) {
	#nav > li {
		margin-right: 3%;
	}
  /* main header */
  header.hdr-main .hdr-inner {
    max-width: 990px;
    margin: 0 auto;
  }
  

  /* fixed header */
  header.hdr-fixed .fixed-hdr-inner {
    max-width: 1130px;
  }

  #fixed-nav>li {
    margin-right: 4.43%;
  }

  /* hp qs */
  .hp-qs {
    padding: 30px 20px 30px 20px;
  }

  .hp-qs .qs-title {
    width: 18.69%;
  }

  .hp-qs .qs-title h2 {
    font-size: 22px;
  }

  .hp-qs .qs-form {
    width: 81.31%;
  }

  .hp-qs .qs-lg {
    width: 19.93%;
  }

  /* hp welcome */
  .hp-wc .wc-photo {
    margin-left: 0;
  }

  .hp-wc .wc-content {
    margin-right: 0;
  }

  .hp-wc .wc-title {
    margin-bottom: 15px;
  }

  .hp-wc .wc-title h1 {
    font-size: 32px;
  }

  .hp-wc .wc-title span {
    font-size: 18px;
    letter-spacing: 8.3px;
    margin-bottom: 4px;
  }

  .hp-wc .wc-text p {
    font-size: 12px;
    line-height: 18px;
  }

  /* hp testimonials */
  .hp-testi .testi-slider {
    margin: 0 auto;
    max-width: 1071px;
  }

  /* hp featured properties */
  .hp-fp .fp-item .fp-details {
    font-size: 16px;
  }

  .hp-fp .fp-item .fp-address {
    font-size: 13px;
    letter-spacing: 0.3px;
  }
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {

  /* main header */
  header.hdr-main .hdr-inner {
    max-width: 808px;
  }

  header.hdr-main .hdr-logo img {
    max-width: 335px;
  }

  #nav>li>a {
    font-size: 13px;
  }

  #nav>li {
    margin-right: 3.20%;
  }

  ul.hdr-cntct-list{
    text-align: center;
  }

  /* fixed header */
  header.hdr-fixed .fixed-hdr-inner {
    max-width: 920px;
  }

  header.hdr-fixed .fixed-left {
    width: 210px;
  }

  header.hdr-fixed .fixed-right {
    width: calc(100% - 210px);
  }

  #fixed-nav a {
    font-size: 12px;
  }

  #fixed-nav>li {
    margin-right: 4.13%;
  }

  #fixed-nav>li>.sub-menu {
    padding-top: 38px;
  }

  /* hp quick search */
  .hp-qs {
    width: 85.68%;
  }

  .hp-qs .qs-title h2 {
    font-size: 18px;
  }

  .hp-qs .qs-lg {
    width: 19.80%;
  }

  .hp-qs .qs-field input,
  .hp-qs .qs-field select {
    padding: 0 5px;
    font-size: 10px;
  }

  /* hp welcome */
  .hp-wc .wc-text p {
    margin-bottom: 10px;
  }

  .hp-wc .wc-text {
    margin: 0 0 20px;
    padding: 0 10px 0 0;
  }

  /* hp testimonials */
  .hp-testi .testi-slider {
    max-width: 820px;
  }

  .hp-testi .testi-item .testi-desc,
  .hp-testi .testi-item .testi-author {
    font-size: 13px;
    line-height: 21px;
  }

  /* hp featured properties */
  .hp-fp .fp-item .fp-details {
    font-size: 15px;
    padding: 0 9px 0 15px;
  }

  .hp-fp .fp-item .fp-price {
    letter-spacing: 0;
  }

  .hp-fp .fp-item .fp-address {
    font-size: 11px;
    letter-spacing: 0;
  }

  /* main footer */
  footer.ftr-main .footernav li {
    margin-right: 43px;
  }

  footer.ftr-main .ftr-right-wrap {
    padding-left: 10%;
  }

  /* sb contact info */
  .sb-cntct {
    padding: 20px 8px;
  }

  .sb-cntct .sb-cntct-list li {
    font-size: 11px;
  }

  .sb-cntct .sb-cntct-list li.sb-email i {
    font-size: 9px;
    margin-right: 2px;
  }

  #fixed-nav>li.menu-item-has-children>a::after {
    right: -13px;
  }

  .sb-qs .bootstrap-select.btn-group .dropdown-menu {
    left: unset;
    right: 0;
  }

  .hp-fp .fp-item .fp-address {
    max-width: 150px;
  }

}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {

  /* 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%;
  }

  .mob-hide {
    display: none !important;
  }

  /* main header */
  header.hdr-main .hdr-top{
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
  }
  header.hdr-main {
    position: relative;
    /* margin-top: 52px; */
    background-color: #6693b0;
  }

  div#main-wrapper {
    padding-top: 52px;
  }

  header.hdr-main .hdr-translate {
    position: relative;
    display: inline-block;
    top: 0;
    left: 0;
    right: 0;
    margin-top: 10px;
  }
  header.hdr-main .hdr-translate .option {
    left: 50%;
    transform: translateX(-50%);
}

  header.hdr-main .hdr-logo {
    margin: 0 auto;
  }

  header.hdr-main .hdr-logo img {
    max-width: 439px;
  }

  header.hdr-main .hdr-top {
    text-align: center;
  }

  /* hp banner  */
  .hp-banner canvas.cycloneslider-canvas {
    height: auto;
  }

  /* hp quick search */
  .hp-qs {
    width: 100%;
    position: relative;
    text-align: center;
    padding: 50px 0;
  }

  .hp-qs .qs-inner {
    margin: 0 auto;
    max-width: 500px;
  }

  .hp-qs .qs-form,
  .hp-qs .qs-title {
    width: 100%;
    display: block;
  }

  .hp-qs .qs-title h2 {
    font-size: 32px;
    margin-bottom: 30px;
  }

  .hp-qs form::after {
    content: '';
    display: table;
    clear: both;
  }

  .hp-qs .qs-lg {
    width: 100%;
  }

  .hp-qs .qs-field input,
  .hp-qs .qs-field select {
    font-size: 11px;
    padding: 0 10px;
  }

  .hp-qs .qs-field select {
    background-position: center right 18px;
  }

  .hp-qs .qs-xs,
  .hp-qs .qs-md {
    width: calc(50% - .5px);
  }

  .hp-qs .qs-field {
    margin: 0 0 1px 0 !important;
  }

  .hp-qs .qs-btn {
    width: 100% !important;
    display: block;
    margin-left: 0;
    margin: 0 auto 1px;
  }

  .hp-qs .qs-submit {
    margin-left: 0;
  }

  /* hp cta */
  .hp-cta .cta-item {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: block;
  }

  /* hp welcome */
  .hp-wc .wc-col {
    display: block;
  }

  .hp-wc .wc-photo {
    margin: 0 auto;
    max-width: 320px;
  }

  .hp-wc .wc-content {
    padding: 0;
    text-align: center;
    margin-top: 30px;
  }

  .hp-wc .wc-title {
    text-align: center;
  }

  .hp-wc .wc-text,
  .hp-wc .wc-bottom {
    padding: 0;
  }

  .hp-wc .wc-text {
    margin: 30px 0;
  }

  .hp-wc .wc-play-btn.aios-video-popup {
    display: none;
  }

  .hp-wc .wc-play-new-tab {
    display: inline-block;
  }

  /* hp featured communities */
  .hp-fc .fc-item {
    width: 50%;
  }

  /* hp testimonials */
  .hp-testi .testi-slider {
    max-width: 600px;
  }

  /* hp featured properties */
  .hp-fp .fp-item .fp-details {
    font-size: 20px;
  }

  .hp-fp .fp-item .fp-address {
    font-size: 13px;
  }

  /* main footer */
  footer.ftr-main .ftr-logo img {
    display: block;
    margin: 0 auto 15px !important;
  }

  footer.ftr-main .footernav li {
    display: block;
    margin: 9px auto;
  }

  footer.ftr-main .ftr-cu {
    padding-left: 0;
  }

  footer.ftr-main .cu-form-holder {
    margin: 0 auto;
    /* text-align: center; */
  }

  footer.ftr-main .cu-title {
    text-align: center;
    margin-bottom: 20px;
  }

  footer.ftr-main .ftr-right-wrap {
    padding: 0;
    text-align: center;
  }

  footer.ftr-main .cntct-item {
    margin: 15px auto !important;
  }

  footer.ftr-main .ftr-copyright {
    padding-right: 0;
  }

  footer.ftr-main .ftr-brokerage {
    margin: 0 0 15px;
  }

  footer.ftr-main .ftr-cu input[type="submit"] {
    margin-left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }

  footer.ftr-main .ftr-nav-holder {
    margin: 45px 0 40px;
  }


  /*popup*/
  .popup-form-container{
    width: 100%;
    max-width: 846px;
  }

  .popup-form-join{
    width: 100%;
    max-width: 672px;
  }
  .popup-form-join .popup-form-field,
  .popup-form-join .popup-form-field.submit{
    width: 100%;
  }

  .popup-form-join input[type="email"], .popup-form-join input[type="submit"]{
    border: 1px solid #a4a4a4;
  }

  .aiosp-wrap .aiosp-container .aios-popup-body{
    width: 100%;
  }


}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
  .ip-banner .container {
    width: 100%;
  }

  /* hp quick search */
  .hp-qs .qs-inner {
    max-width: 420px;
    padding: 0 15px;
  }

  /* hp cta */
  .hp-cta .cta-item {
    max-width: 420px;
    padding: 0 15px;
  }

  /* hp welcome */
  .hp-wc .wc-btn {
    display: block;
    margin: 0 auto 15px !important;
    max-width: 183px;
  }

  /* hp featured communities */
  .hp-fc .fc-item {
    width: 100%;
    margin: 0 auto;
    display: block;
    max-width: 420px;
  }

  .hp-fc .fc-btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    /* justify-content: center; */
    max-width: 209px;
    margin: 0 auto 15px !important;
  }

  /* hp testimonials */
  .hp-testi {
    padding: 50px 0 80px;
  }

  .hp-testi .testi-title h2 {
    font-size: 37px;
  }

  .hp-testi .testi-title span {
    font-size: 19px;
    letter-spacing: 6px;
  }

  /* hp featured properties */
  .hp-fp {
    margin: 0 auto 50px;
  }

  .hp-fp .fp-slider {
    margin: 0 auto;
    max-width: 480px;
  }

  #content .entry-title,
  #content .archive-title {
    font-size: 40px;
  }

  .logo-lists {
      flex-direction: column;
      gap: 20px;
  }

  .logo-lists>div:not(:last-child) {
      border: none;
  }
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {

  /* hp cta */
  .hp-cta .cta-title {
    font-size: 27px;
  }

  .hp-cta .cta-title span {
    font-size: 13px;
    letter-spacing: 3px;
  }

  /* hp featured communities */
  .hp-fc .fc-title h2 {
    font-size: 45px;
  }

  .hp-fc .fc-title span {
    letter-spacing: 7px;
  }

  /* featured properties */
  .hp-fp .fp-title h2 {
    font-size: 43px;
  }

  .hp-fp .fp-details {
    padding: 15px;
    bottom: 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;
  }

  footer.ftr-main .ftr-cu {
    margin-bottom: 30px;
  }

  footer.ftr-main div.wpcf7-response-output {
    bottom: -18px;
  }
  footer.ftr-main .wpcf7-not-valid-tip {
    font-size: 12px;
    left: 10%;
  }
  .hp-fp .fp-item .fp-address{
    text-align: center;
  }
}