/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
@media only screen and (max-width: 1440px) {
  .nav>li {
    padding: 0px 22px;
  }

  .header-fix .nav>li {
    padding: 0 16px;
  }
}

@media only screen and (max-width: 1366px) {
  #hp-about .about-content .site-btn-wrap {
    padding-top: 0px;
/*    padding-bottom: 0px;*/
  }

  #hp-listing .site-heading-wrap {
    max-width: 477px;
  }

  #hp-team .site-heading-wrap {
    max-width: 278px;
  }

  .nav>li {
    padding: 0px 18px;
  }

  .header-fix .nav>li {
    padding: 0 11px;
  }
/*  .nav>li>a,
  .header-fix .nav>li>a {
    font-size: max(13px, 1.025vw);
  }*/
}

@media only screen and (max-width: 1280px) {
  #hp-listing .site-heading-wrap {
    max-width: 465px;
  }

  #hp-team .site-heading-wrap {
    max-width: 270px;
  }

  .nav>li {
    padding: 0px 13px;
  }

  .header-fix .nav>li {
    padding: 0 6px;
  }
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {
  .nav>li {
    padding: 0 8px;
  }

  .header-fix .nav>li {
    /* padding: 0 8px; */
    padding: 0 4px;
  }

  .nav>li>a {
    letter-spacing: 0.05em;
    font-size: max(13px, 1.167vw);
  }

  .header-fix .nav>li>a {
    font-size: max(12px, 1.167vw);
  }

  .fx-smi {
    top: 12vh;
    right: 5px;
  }

  .header .burger-menu-wrap {
    margin-left: 25px;
  }

  .header-fix .logo img {
    max-width: 180px;
    height: auto;
  }

  .hp-tagline {
    padding-bottom: 50px;
  }

  #hp-team {
    margin-bottom: 90px;
  }

  #hp-team .site-heading-wrap {
    max-width: 245px;
  }

  #hp-team .site-heading {
    font-size: calc(31px + 1.823vw);
  }

  #hp-about .about-img {
    width: 45%;
    align-self: flex-end;
  }

  #hp-about .about-content {
    width: 55%;
    padding-left: 35px;
    padding-right: 35px;
  }

  #hp-about .about-content .site-heading {
    margin-bottom: 15px;
  }

  #hp-about .about-content p {
    line-height: 1.5;
    margin-bottom: 25px;
  }

  #hp-about .about-content p.top-text {
    line-height: 1.5;
    margin-bottom: 25px;
  }

  #hp-about .about-img img {
    width: 100%;
    object-fit: cover;
  }

  #hp-about .about-content .site-btn-wrap {
    padding: 20px 0 30px 35px;
  }

  #hp-listing .site-heading-wrap {
    max-width: 425px;
  }

  #hp-listing .site-heading {
    font-size: calc(31px + 1.823vw);
  }

  #hp-listing p.top-text br {
    display: none;
  }

  #hp-listing .listing-nav {
    padding-top: 50px;
  }

  #hp-communities {
    padding-top: 90px;
  }

  #hp-mentorship .site-heading-wrap {
    max-width: 550px;
  }

  #hp-testimonial .testimonials {
    padding: 50px 60px 50px;
  }

  #hp-testimonial .site-heading {
    font-size: calc(28px + 1.823vw);
  }

  #hp-testimonial .slick-slide {
    margin: 0 20px;
  }

  #hp-testimonial .testimonial-wrap {
    margin: 0 -20px;
  }

  #ftr-cf7 {
    padding-top: 45px;
  }

  #footer {
    padding: 15px;
  }

  .footer-contact {
    margin-left: 10px;
  }
    body.post-page-contact-us .aios-cu-smi a{
        font-size: 22px;
    }
}

@media only screen and (max-width: 992px) {
  #hp-about .about-img {
    width: 45%;
    align-self: flex-end;
  }

  #hp-about .about-content {
    width: 55%;
    padding-left: 35px;
    padding-right: 35px;
  }

  #hp-about .about-content .site-btn-wrap {
    padding: 10px 0 30px 35px;
  }

  #hp-team .site-heading-wrap {
    max-width: 230px;
  }

  #hp-listing .site-heading-wrap {
    max-width: 396px;
  }

  #hp-mentorship .site-heading {
    font-size: calc(28px + 1.823vw);
  }
}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {
  #pojo-a11y-toolbar {
    display:none;
  }
  /* 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-logo {
    display: block;
  }

  .home [data-aios-reveal=true],
  .home [data-aios-staggered-child=true] {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .home .animated {
    animation: none !important;
  }

  body.active_menu {
    overflow: unset;
  }

  .site-btn {
    line-height: 45px;
  }

  .site-heading {
    font-size: calc(25px + 1.823vw);
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .hp-tagline {
    padding-bottom: 5%;
  }

  .hp-tagline img {
    max-width: 480px;
    margin-bottom: 15px;
  }

  .hp-tagline p {
    font-size: 16px;
  }

  #hp-about {
    padding-bottom: 50px;
    margin-bottom: 0;
  }

  #hp-about::after {
    display: none;
  }

  #hp-about .d-flex {
    flex-direction: column;
  }

  #hp-about .about-img {
    max-width: 480px;
    margin: 0 auto 30px;
    overflow: hidden;
    width: 100%;
  }

  #hp-about .about-img::before {
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    display: none;
  }

  #hp-about .about-img img {
    max-width: 100%;
  }

  #hp-about .about-content {
    padding: 35px 25px;
    width: 100%;
    max-width: 100%;
  }

  #hp-about .about-content .site-heading {
    margin-bottom: 25px;
  }

  #hp-about .about-content .site-btn-wrap {
    position: relative;
    width: 100%;
    transform: translateY(0);
    text-align: center;
    padding: 0;
  }

  #hp-team {
    padding: 40px 0;
    margin-bottom: 0;
  }

  #hp-team .site-heading-wrap {
    margin: 0 auto 25px;
    text-align: center;
    max-width: 280px;
  }

  #hp-team .accent-wrap {
    display: inline-flex;
  }

  #hp-team .top {
    margin-bottom: 50px;
  }

  #hp-team .top .d-flex {
    flex-direction: column;
    justify-content: center;
  }

  #hp-team .top .right-text {
    text-align: center;
  }

  #hp-team .team-nav {
    margin-top: 40px;
  }

  #hp-listing {
    padding-top: 0;
    background: url("./images/listing-bg-no-blue.jpg") center top no-repeat !important;
    background-size: cover;
    opacity: 0.85;
  }

  #hp-listing .site-heading-wrap {
    margin: 0 auto 35px;
    text-align: center;
  }

  #hp-listing .site-heading {
    color: #000;
  }

  #hp-listing .accent-wrap {
    display: inline-flex;
  }

  #hp-listing .top {
    padding: 25px 0;
    margin-bottom: 15px;
  }

  #hp-listing .top .d-flex {
    flex-direction: column;
  }

  #hp-listing .top .right-text {
    text-align: center;
  }

  #hp-listing .listing-item {
    width: calc(50% - 14px);
  }

  #hp-listing .listing-nav {
    margin-top: 40px;
  }

  #hp-communities {
    padding-top: 40px;
  }

  #hp-communities .site-heading-wrap {
    margin: 0 auto 35px;
    text-align: center;
  }

  #hp-communities .site-heading br {
    display: none;
  }

  #hp-communities .accent-wrap {
    display: inline-flex;
  }

  #hp-communities .top .d-flex {
    flex-direction: column;
  }

  #hp-communities .top .d-flex>div:first-child {
    order: 2;
    width: 100%;
  }

  #hp-communities .top .d-flex>div:nth-child(2) {
    order: 1;
    margin-bottom: 35px;
  }

  #hp-communities .top .comm-title {
    padding-left: 0;
  }

  #hp-communities .top .site-btn {
    margin: 0 auto;
    display: block;
    min-width: 0;
    max-width: 250px;
  }

  #hp-communities .comm-item {
    width: calc(50% - 16px);
  }

  #hp-communities .comm-detail span:not(.explore-more) {
    font-size: 28px;
  }

  #hp-mentorship {
    padding-top: 40px;
    background: #fff;
  }

  #hp-mentorship .mentorship-bg {
    display: none;
  }

  #hp-mentorship .site-heading-wrap {
    text-align: center;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  #hp-mentorship .site-heading {
    padding-right: 0;
    display: block !important;
  }

  #hp-mentorship .accent-wrap {
    display: inline-flex;
  }

  #hp-mentorship .d-flex {
    flex-direction: column-reverse;
  }

  #hp-mentorship .text-content {
    padding: 0 0 35px;
  }

  #hp-mentorship .site-btn {
    max-width: 450px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  #hp-mentorship .img-content {
    max-width: 480px;
    float: none;
    margin: 0 auto 35px;
    padding-bottom: 0;
    height: 450px;
  }

  #hp-mentorship .img-content::before {
    display: none;
  }

  #hp-mentorship .img-content img {
    top: 0;
    right: 0;
    object-position: center -25px;
  }

  #news-ig {
    margin-top: 35px;
  }

  #news-ig .site-heading-wrap {
    text-align: center;
  }

  #news-ig .accent-wrap {
    display: inline-flex;
  }

  #hp-ig {
    max-width: 100%;
    margin-top: 50px;
  }

  #hp-ig .site-heading-wrap {
    text-align: center;
  }

  #hp-ig .accent-wrap {
    display: inline-flex;
  }

  #hp-testimonial {
    height: auto;
    margin-top: 35px;
    padding: 30px 15px 0;
  }

  #hp-testimonial .container {
    max-width: 100%;
    width: 100%;
  }

  #hp-testimonial .testimonials {
    padding: 45px 25px;
  }

  #hp-testimonial .slick-slide {
    margin: 0 10px;
  }

  #hp-testimonial .testimonial-wrap {
    margin: 0 -10px;
  }

  #ftr-cf7 {
    padding-top: 35px;
  }

  #ftr-cf7 .site-heading-wrap {
    text-align: center;
  }

  #ftr-cf7 .accent-wrap {
    display: inline-flex;
  }

  #footer {
    padding: 30px;
  }

  #footer .row.top {
    text-align: center;
  }

  .footer-logos {
    margin-bottom: 35px;
  }

  .footer-smi {
    margin-bottom: 35px;
  }

  .footer-contact {
    margin-left: 0;
  }

  .footer-contact a,
  .footer-contact p {
    justify-content: center;
  }

  .footer-menu {
    padding-left: 0;
  }
  .footer-menu img {
    margin: 25px auto 0;
  }

  #pojo-a11y-toolbar {
    display: none;
  }
  .footer-smi .d-flex:nth-child(2) img {
    margin: 40px auto;
  }
    /*****9-21-2023*****/
    #hp-about .about-bg{
        height: 75% !important;
        top: unset !important;
    }
    #hp-about .about-bg canvas{
        background-size: cover !important;
    }
    #hp-team .team-bg{
        height: 75% !important;
        top: unset !important;
    }
    #hp-team .team-bg canvas{
        background-size: cover !important;
    }
    #hp-communities .fc-bg{
        height: 75% !important;
    }
    #hp-communities .fc-bg canvas{
        background-size: cover !important;
    }
    #hp-testimonial::before,
    #hp-testimonial::after{
        background-size: cover;
    }
    #footer{
        background-size: cover;
    }
    #agents-results .agents-col:nth-child(even) .agents-item,
    #agents-results .agents-col:nth-child(even) .agents-main {
        flex-direction: row;
    }
    .single-aios-agents #agents-single ul.agents-contact li > div:first-child{
        justify-content: center;
    }
    /*****9-21-2023*****/
}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
  #hp-listing .listing-detail {
    padding-left: 10px;
    padding-right: 10px;
  }

  #hp-listing .listing-detail .address {
    font-size: 12px;
  }

  #hp-communities .fc-bg::before {
    background-size: cover;
  }

  #hp-communities .comm-detail .comm-detail-wrap {
    padding-left: 10px;
  }

  #hp-testimonial .testimonial-slide p {
    text-align: center;
  }

  #hp-testimonial .testimonial-slide span {
    left: 50%;
    transform: translateX(-50%);
  }

  #hp-testimonial .testimonial-nav .site-btn {
    width: 180px;
  }

  .cf7 {
    padding-left: 20px;
    padding-right: 20px;
  }

  #footer {
    padding: 15px;
  }

  #footer .row.top {
    margin-bottom: 25px;
  }

  #footer .row.top .right-panel {
    flex-direction: column;
  }

  #footer .row.top .right-panel>div {
    width: 100%;
  }

  .footer-wrap {
    padding: 35px 0;
  }

  .footer-logos {
    margin-bottom: 25px;
  }

  .footer-logos img {
    max-width: 260px;
  }

  .footer-smi {
    margin-bottom: 25px;
  }

  .footer-smi .d-flex:nth-child(2) {
    display: block;
  }
 
}

@media only screen and (max-width: 567px) {
  .site-btn {
    line-height: 40px !important;
    min-width: 130px;
    font-size: 12px;
  }

  .accent-wrap .text {
    font-size: 14px;
    letter-spacing: 0.4em;
  }

  .accent {
    margin-left: 10px;
  }

  .accent.to-left {
    margin-right: 10px;
  }

  .c-slick-nav {
    flex-wrap: wrap;
    justify-content: space-around !important;
  }

  .c-slick-nav .circle {
    width: 42px;
    height: 41px;
  }

  .c-slick-nav .prev {
    order: 1;
  }

  .c-slick-nav .next {
    order: 2;
  }

  .c-slick-nav>div {
    order: 3;
    margin-top: 15px;
    width: 100%;
  }

  .hp-tagline {
    padding-bottom: 5.5%;
  }

  .hp-tagline img {
    max-width: 220px;
  }

  .hp-tagline p {
    font-size: 12px;
    letter-spacing: normal;
    margin-bottom: 15px;
  }

  #hp-team .team-thumbnail {
    max-width: 331px;
    margin-left: auto;
    margin-right: auto;
  }

  #hp-listing .listing-item {
    width: calc(100% - 14px);
  }

  #hp-communities .comm-wrap {
    margin-left: 0;
    margin-right: 0;
  }

  #hp-communities .comm-item {
    width: 100%;
    overflow: hidden;
    max-width: 360px;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #hp-communities .comm-img canvas {
    height: 200px;
  }

  #hp-communities .comm-detail .comm-detail-wrap::before {
    height: 65px;
  }

  #hp-communities .comm-detail span:not(.explore-more) {
    font-size: 20px;
  }

  #hp-communities .comm-detail .explore-more {
    line-height: 40px;
    width: 145px;
  }

  #hp-news .news-item {
    width: 100%;
    margin-bottom: 20px;
  }

  #hp-news .news-item:last-child {
    margin-bottom: 0;
  }

  #hp-ig .site-heading-wrap {
    margin-bottom: 35px;
  }

  #hp-ig .ig-summary {
    flex-direction: column;
    align-items: center;
  }

  #hp-ig .ig-summary span {
    margin: 5px 0;
  }

  #hp-ig .ig-item {
    width: calc(50% - 10px);
  }

  #hp-testimonial {
    padding: 15px 0;
  }

  #hp-testimonial::before,
  #hp-testimonial::after {
    background-size: cover;
  }

  #hp-testimonial .testimonial-nav .site-btn {
    margin-left: auto;
    margin-right: auto;
  }

  .cf7 p {
    margin-bottom: 20px;
    line-height: 1.3;
  }

  .cf7 .form-row>div {
    width: 100%;
  }

  .footer-smi a {
    margin: 0 4px;
  }
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
  #hp-about .about-img {
    max-width: 350px;
  }

  div.wpcf7 .ajax-loader {
    right: 15px !important;
  }
  /* .footer-smi .d-flex:nth-child(2) img {
    max-width: 175px;
  } */
    .single-aios-agents #agents-single .agents-contact li.agent-email-address {
        margin: 0 auto 0px;
    }
    body.post-page-preferred-vendors #content h2{
        font-size: 18px;
    }
}

@media only screen and (max-width: 400px) {
  .footer-smi a {
    margin: 0 1px;
  }
  /* .footer-smi .d-flex:nth-child(2) img {
    max-width: 150px;
  } */
}