/*******************************************************
 *
 * Mobile Styles And Other Media Queries
 *
 *******************************************************/

 @media only screen and (min-width: 992px) {
    .header-logo{
        max-width: min(16.5vw,264px)
    }
    .site-title.vw .site-title-inner span {
        font-size: 1.5vw;
        margin: 0 0 -0.1875vw;
    }
    .site-title.vw .site-title-inner h2 {
        font-size: 4.5vw;
    }
    #hp-fa{
        padding: 1.625vw 0 1.25vw;
    }
    .fa-l{
        padding: 10.625vw 0 0;
    }
    .fa-links{
        margin: 2.5vw 0 0;
    }
    .fa-links .fa-col ul li{
        font-size: 0.875vw;

    }
    .fa-links .fa-col ul ul li{
        font-size: 0.625vw;
    }
    .fa-links .fa-col:not(:first-child){
        margin: 0 0 0 4vw;
    }
    .footer-nav li {
        padding: 0 min(1.750vw,28px);
    }
    .footer-nav li a{
        font-size: min(1.4vw,16px);
    }

    

    /* Blog Page */
    .page-id-128 #content .archive-subtitle {
        margin-top: -11px;
    }
}
@media only screen and (max-width: 1440px) {
    .header-qs-inner {
        padding: 0 20px 0 0;
    }
    .header-nav > li {
        padding: 0 20px;
    }
}

@media only screen and (max-width: 1400px) {
    .header-qs-inner {
        padding: 0 15px 0 0;
    }
    .header-nav > li {
        padding: 0 15px;
    }
}

@media only screen and (max-width: 1280px) {
    .header-logo {
        margin: 0 0 0 30px;
    }
    .header-nav > li:not(:first-child)::before {
        height: 13px;
    }
    .header-nav li a {
        /*font-size: 14px;*/
    }
}


/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */

@media only screen and (max-width: 1199px) {
    /*
    section > div {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
*/
    .header-qs-inner {
        padding: 0 10px 0 0;
    }
    .header-nav > li {
        padding: 0 10px;
    }
    .hp-qs-form-input input, .hp-qs-form-input select, .hp-qs-form-input .bootstrap-select button {
        padding: 0 15px 0 15px;
    }
}


/* iPad(portrait) | Galaxy Tab 4(portrait)  */

@media only screen and (max-width: 991px) {
    body #pojo-a11y-toolbar {
        display: none;
    }
    

    .single-aios-communities #content .community-featured-image {
        width: 100%;
    }
    /* 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%;
    }
    .container {
        width: 100%;
        max-width: 750px !important;
    }
    #main-wrapper {
        padding: 52px 0 0;
    }
    .header::before,
    .off-canvas-trigger,
    .header-qs-navigation,
    .fixed-header {
        display: none;
    }
    .header {
        position: relative;
        background: transparent;
        padding: 30px 0;
    }
    .header-inner {
        justify-content: center;
    }
    .header-logo {
        margin: 0;
    }
    .header-logo-inner img {
        filter: none;
    }
    .hp-ss-inner > canvas {
        height: auto;
    }
    .hp-gs {
        top: 20px;
        right: 20px;
    }
    .hp-tagline {
        padding: 0 35px;
    }
    .hp-navigation-qs {
        position: relative;
        bottom: auto;
        padding: 40px 0 20px;
    }
    .hp-nav li a {
        font-size: 16px;
        color: var(--primary-color-hex);
        padding: 0;
    }
    .hp-nav li a::before,
    .hp-nav li a::after {
        background: var(--primary-color-hex);
    }
    .hp-qs-form-inner {
        flex-flow: column;
        justify-content: center;
    }
    .hp-qs-form-input {
        width: 50%;
    }
    .hp-qs-form-input.medium,
    .hp-qs-form-input.short {
        width: 25%;
    }
    .hp-qs-form-input input, 
    .hp-qs-form-input select, 
    .hp-qs-form-input .bootstrap-select button {
        border-color: rgba(0, 0, 0, 0.75);
        color: #000;
    }

    .hp-qs-form-input {
        width: 100% !important;
    }

    .hp-nav {
        flex-flow: column;
    }

    .hp-qs-form-input input, 
    .hp-qs-form-input select, 
    .hp-qs-form-input .bootstrap-select button {
        border-top: none;
    }

    .hp-qs-form-input .bootstrap-select button .filter-option {
        color: #000 !important;
    }

    .hp-qs-form-input:not(:first-child) input, .hp-qs-form-input:not(:first-child) select, .hp-qs-form-input:not(:first-child) .bootstrap-select button {
        border-left: 1px solid #000 !important;
    }

    .hp-qs-form-input.pt .btn-group.bootstrap-select.qs-select-single{
        border-top: 1px solid #000;
    }

    .hp-qs-form-input:nth-child(3) select {
        border-left: 1px solid rgba(0, 0, 0, 0.75);
    }
    .hp-qs-form-buttons {
        margin: 30px 0 0;
    }
    .site-title,
    .site-button {
        justify-content: center;
    }
    .site-title-inner span {
        text-align: center;
        padding: 0 0 0 0.14em;
    }
    .site-title-inner h2 {
        text-align: center;
        padding: 0 0 0 0.04em;
    }
    .hp-mm-inner > div:first-child {
        width: 100%;
        padding: 0;
    }
    .mm-text {
        max-width: none;
    }
    .mm-text p {
        text-align: center;
    }
    .hp-mm-inner > div:last-child {
        width: 100%;
        padding: 50px 0 0;
    }
    .mm-photo {
        max-width: 542px;
        margin: 0 auto;
    }
    .hp-mtt .container {
        max-width: 100% !important;
    }
    .mtt-arrows a.next {
        right: -2px;
    }
    .hp-eb-inner .site-title {
        width: 100%;
        margin: 0 0 45px;
    }
    .hp-eb-inner .site-title.center .site-title-inner span,
    .hp-eb-inner .site-title.center .site-title-inner h2 {
        text-align: center;
    }
    .eb-slides {
        justify-content: center;
    }
    .eb-slide {
        width: 50%;
        transform: none !important;
    }
    .hp-eb-inner .site-button {
        position: relative;
        width: 100%;
        margin: 40px 0 0;
    }
    .hp-el-inner .site-title {
        margin: 0 0 45px;
    }
    .el-slide-inner {
        transform: none !important;
    }
    .el-arrows a {
        top: calc(50% - 61px);
        bottom: auto;
        transform: translateY(-50%);
    }
    .hp-cl .container {
        max-width: 100% !important;
    }
    .hp-cl-inner > div:first-child {
        width: 100%;
        padding: 0;
    }
    .cl-form {
        max-width: 480px;
        margin: 0 auto;
    }
    .hp-cl-inner > div:last-child {
        width: 100%;
        padding: 50px 0 0;
    }
    .bre-text p {
        text-align: center;
    }
    .hp-fd-inner > div:first-child {
        width: 100%;
        padding: 0;
    }
    .fd-text {
        max-width: none;
    }
    .fd-text p {
        text-align: center;
    }
    .hp-fd-inner > div:last-child {
        width: 100%;
        padding: 50px 44px 40px 0;
    }
    .footer-contact-inner {
        flex-flow: column;
    }
    .footer-contact-inner a {
        margin: 5px;
        font-size: 12px;
    }
    .footer-nav {
        flex-flow: column;
    }
    .footer-nav li {
        margin: 5px 0;
    }
    .footer-nav li::before {
        display: none;
    }
    .footer-nav li a {
        font-size: 14px;
    }
    .fa-inner{
        display: block;
    }
    .fa-links{
        display: block;
        text-align: center;
    }
    .fa-links .fa-col ul ul li{
        font-size: 11px;
    }
    .fa-r{
        display: none;
    }

    #agents-results .agents-col:nth-child(even) .agents-main {
        flex-direction: row
    }

    #agents-single .agents-contact li.agents-contact-half {
        width: 100% !important;
    }
    #agents-single .agents-contact li.agents-contact-half > div {
        justify-content: center !important;
        display: flex;
        margin-top: 10px;
    }
    #agents-single ul.agents-contact li > div > div {
        width: auto !Important;;
    }   
    #agents-single .agents-contact li {
        font-size: 12px;
    } 
}


/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */

@media only screen and (max-width: 767px) {
    .ip-banner .container {
        width: 100%;
    }

    body #agents-results .agents-contact li {
        font-size: 12px;
    }

    body .ai-classic-communities-search-input input[type=text] {
        width: 190px;
    }
}


/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */

@media only screen and (max-width: 480px) {
    #agents-single ul.agents-contact li > div {
        flex-flow: row !important;
    }
    .hp-gs {
        display: none;
    }
    .hp-tagline {
        padding: 0;
    }
    .hp-tagline-inner h2 {
        font-size: 36px;
    }
    .hp-tagline-inner span {
        font-size: 16px;
    }
    .hp-navigation {
        padding: 0;
    }
   
    .hp-nav li {
        margin: 5px 0;
    }
    .hp-qs {
        padding: 40px 0 40px;
    }
    .hp-qs-form-input {
        width: 100%;
    }
    .hp-qs-form-input.medium,
    .hp-qs-form-input.short {
        width: 50%;
    }
    .hp-qs-form-input:nth-child(2) select,
    .hp-qs-form-input:nth-child(5) input {
        border-top: none;
        border-left: 1px solid rgba(0, 0, 0, 0.75);
    }
    .hp-mm {
        padding: 113px 0 128px;
    }
    .hp-mtt {
        padding: 123px 0 87px;
    }
    .eb-slide {
        width: 100%;
    }
    .hp-cl {
        padding: 103px 0 111px;
    }
    .hp-bre {
        padding: 92px 0 80px;
    }
    .hp-fd {
        padding: 143px 0 167px;
    }
    .hp-fd-inner > div:last-child {
        padding: 50px 15px 15px 0;
    }
    .fd-photo::before {
        bottom: -15px;
        right: -15px;
    }
    .hp-lgc {
        padding: 107px 0 101px;
    }
    .footer-top {
        padding: 69px 0 35px;
    }
    .footer-contact-inner i.building-icon {
        top: -11px;
    }
    .footer-contact-inner a br {
        display: block;
    }
    .footer-bottom {
        padding: 32px 0 66px;
    }
    .site-title-inner span {
        font-size: 20px;
        margin: 0;
    }
    .site-title-inner h2,
    #content .entry-title,
    #content .archive-title {
        font-size: 35px;
    }

    #agents-single .agents-contact li{
        height: auto !Important;
    }
    #agents-single ul.agents-contact li > div {
        margin-bottom: 10px !Important;
    }

    #agents-single .agents-contact li.agents-contact-office-address, #agents-single .agents-contact li.agents-contact-home-address,
    html #agents-single .agents-contact li.agent-email-address{
        margin-bottom: 5px !important;
    }

    html .ai-contact-wrap span.context-email, html .ai-contact-wrap span.context-mob {
        font-size: 12px;
    }    
}