/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/

@media only screen and (min-width: 992px) {
    .wwwu-wrapper,
    .fp-wrapper,
    .welcometo-wrapper,
    .fc-wrapper,
    .contact-form-wrapper,
    .footer{
        display: none;
    }
}
    .main-header ul li {
        margin-right: 36px;
    }
    ul.aios-split-nav.nav2.nav-left li {
        margin-left: 36px;
    }

    .main-header ul.aios-split-nav > li::after {
        right: -20px;
    }

    ul.aios-split-nav.nav2.nav-left > li:first-child > ul.sub-menu {
        margin-left: 0;
        left: 0;
    }
}

@media only screen and (max-width: 1366px) {
    .contact-bottom {
        font-size: 13px;
    }
    .description span span {
        font-size: 18px;
    }
    .fc-oregon-arrows button.slick-prev.slick-arrow {
        margin-left: -2%;
    }
    .fc-oregon-arrows button.slick-next.slick-arrow {
        margin-right: -2%;
    }
    .fc-washing-arrows button.slick-prev.slick-arrow {
        margin-left: -2%;
    }
    .fc-washing-arrows button.slick-next.slick-arrow {
        margin-right: -2%;
    }

    .slider-content {
        bottom: 15%;
    }

    .nav-wrapper {
        padding: 0 15px;
    }
}


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

@media only screen and (max-width: 1199px) {
    span.hdr-phone a {
        font-size: 13px;
    }
    .slider-tagline {
        font-size: 45px;
        margin: 0 0 50px;
    }
    .slider-btn a {
        font-size: 18px;
        max-width: 300px;
        height: 72px;
    }
    .stats-number {
        font-size: 45px;
    }
    .wwwu-label {
        font-size: 15px;
        letter-spacing: 1px;
    }
	.comm-list-map-wrap img {
		width: 100%;
	}
    .our-team .agent-image {
        white-space: inherit;
    }
    .agentlist {
        width: calc(100% / 12 * 4);
        vertical-align: top;
    }
    .main-header ul li a {
        font-size: 11px;
    }
    /* .main-header ul.nav-right li{
		margin: 0 34px;
	} */
    .contact-description .wpcf7-response-output.wpcf7-display-none.wpcf7-validation-errors {
        max-width: 91%;
    }
    .main-header ul li a::after {
        /* right: -32px; */
        top: 5px;
    }
    .smi-facebook {
        width: 30px;
        height: 30px;
    }
    .smi-instagram {
        width: 30px;
        height: 30px;
    }
    #ihf-main-container .ihf-agent-photo img {
        height: auto !important;
        width: 100% !important;
    }
    header.black ul {
        padding-top: 29px;
    }
    .smi-youtube {
        width: 30px;
        height: 30px;
    }
    .smi-linked,
    .smi-twitter {
        width: 30px;
        height: 30px;
    }
    .smi-twitter::after {
        top: 40px;
        left: 13px;
    }
    .smi-email {
        width: 30px;
        height: 30px;
    }
    .smi-phone {
        width: 30px;
        height: 30px;
    }
    .smi-email em.ai-font-envelope {
        top: 0;
        font-size: 11px;
    }
    .smi-phone em.ai-font-phone-alt {
        top: 5px;
        font-size: 13px;
    }
    .smi-facebook em.ai-font-facebook,
    .smi-instagram em.ai-font-instagram,
    .smi-youtube em.ai-font-youtube,
    .smi-linked em.ai-font-linkedin,
    .smi-twitter em.ai-font-twitter {
        top: 5px;
        font-size: 18px;
    }
    .smi-group {
        top: 18%;
    }
    .smi-linked::after {
        top: 42px;
        left: 13px;
    }
    .qs-long {
        width: 134px;
    }
    .qs-short {
        width: 88px;
    }
    .description span {
        font-size: 16px;
    }
    .description span span {
        font-size: 14px;
    }
    .fp-slides-arrow button.slick-next.slick-arrow {
        width: 50px;
        height: 50px;
    }
    .fp-slides-arrow button.slick-prev.slick-arrow {
        width: 50px;
        height: 50px;
    }
    .fp-btn a {
        padding: 17px 42px;
    }
    .welcome-description p {
        font-size: 13px;
    }
    .cf-half {
        width: 45%;
    }
    .cf-full {
        width: 90%;
        margin: 0 auto;
        margin-top: 13px;
    }
    .contact-bottom {
        font-size: 11px;
    }
    .welcome-para {
        padding: 0 20px 0 20px;
    }
    .qs-long .bootstrap-select.btn-group .dropdown-menu {
        min-width: 205px !important;
    }
    .cta-item a {
        font-size: 13px !important;
    }
    .agent-description span {
        min-height: 50px;
        display: block;
    }
}


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

@media only screen and (max-width: 991px) {
    .fp-item > a:not(:hover) .description{
        text-shadow: 1px 1px 2px rgba(0,0,0,0.9);
    }
    .fpslides-global .item::after{
        opacity: 0;
    }
	body #listings-details .listings-main {
		margin-top: 0;
	}

	body #listings-details .listings-divider {
		margin-top: 25px;
		padding-top: 10px;	
	}
	
	body #listings-details .listings-cta.listings-main-cta {
		margin-top: 0;
		margin-bottom: 0;
	}
    .site-bg.wwwu-bg {
        background: #c86a1d;
    }
    .site-bg.wwwu-bg canvas {
        opacity: 0;
    }
	body .cycloneslider-template-video .canvas-holder {
		height: 735px;
	}
	body .cycloneslider-template-video .cycloneslider-slides {		
		height: 100% !important;		
	}
	
	.cycloneslider-template-video video {
		object-fit: cover;
	}
    .hdr-contact {
        display: none;
    }
    .logo-holder img {
        /*opacity: 0 !important;*/
    }
    .slider-content {
        bottom: 0;
        position: absolute;
        padding: 15px;
        background: transparent;
    }
    .slider-tagline {
        font-size: 40px;
        margin: 0 0 30px;
    }
    .slider-btn a {
        display: flex;
        margin: 5px auto;
    }
    .wwwu-wrapper {
        padding: 50px 15px;
    }
    .wwwu-head {
        margin: 0;
    }
    .wwwu-item {
        width: 100%;
    }
    .wwwu-content::after {
        display: none;
    }
	.comm-list-map-placeholder iframe {
		width: 100%;
		margin-bottom: 20px;
	}
	.comm-list-details-agent-desc .col-md-4 {		
		justify-content: center;
	}
	.comm-list-details-agent-desc .col-md-4:first-child a {
		width: auto;		
	}
	.comm-list-details-agent-desc .col-md-4:nth-child(3) span {
		text-align: center !important;		
	}
	.listing-misc span {
		line-height: 0;
	}
	.listing-details .row {
		margin-left: 0;
		margin-right: 0;
	}
	.listing-misc {		
		padding-left: 0;		
	}
	.comm-list-items {
		display: block;		
	}
	.comm-list-map-wrap {
		display: none;
	}
	.comm-list-thumbnail img {
		max-width: 100%;
		height: 100%;
		object-fit: cover;
	}
    /* The following are used on inner pages. Please edit carefully. */
    .inner {
        width: 100%;
    }
    .contact-description .wpcf7-response-output.wpcf7-display-none.wpcf7-validation-errors {
        max-width: 100% !important;
    }
    .billirving {
        width: 50%;
        margin: 0 auto;
    }
    header.black {
        transition: none;
        -webkit-transition: none;
        -moz-transition: all none;
        -ms-transition: all none;
    }
    #content-sidebar,
    #content-full {
        width: 100%;
    }
    img.fixedlogo {
        -webkit-transition: none;
        -moz-transition: none;
        -ms-transition: none;
        transition: none;
    }
    header {
        display: block;
        position: absolute;
    }
    .outer {
        width: 100%;
        min-width: 100%;
    }
    #content-sidebar #content {
        width: 100%;
    }
    .qs-form-wrapper {
        position: relative;
    }
    .main-header ul li {
        display: none;
    }
    .qs-long {
        width: 100%;
        margin-top: 5px;
    }
    .qs-short {
        width: 50%;
        margin-top: 5px;
    }
    .welcometo-right {
        width: 100%;
        border: none;
        margin-top: 10px;
    }
    .welcometo-left {
        width: 100%;
        border: 0;
    }
    .welcometo-left::before {
        display: none;
    }
    .main-header ul {
        padding: 0;
    }
    .smi-group {
        display: none;
    }
    .contact-form-left {
        width: 100%;
        border: 0;
    }
    .cf-half {
        width: 100%;
        max-width: 316px;
        padding: 0;
    }
    .cf-half > label {
        display: block;
    }
    .cf-full {
        width: 100%;
    }
    .contactform-right {
        width: 100%;
        margin-top: 10px;
        height: 500px;
    }
    .contactform-right::before {
        display: none;
    }
    .footer li {
        display: inline-block;
        margin-top: 15px;
    }
    ul#menu-footer-menu {
        text-align: center;
        margin-top: -26px;
    }
    img.footerlogo {
        margin: 0 auto;
        width: 100%;
    }
    header.main-header {
        z-index: 101;
        margin-top: 51px;
        position: relative;
    }
    .cycloneslider-template-standard {
        margin-top: 50px;
    }
    .qs-short.btnsubmit-wrap {
        width: 100%;
    }
    .qs-short.advancewrap {
        width: 100%;
    }
    .qs-short {
        margin: 0 -1px;
        margin-top: 5px;
    }
    .qsshort-holder {
        width: 100%;
        margin-left: 1px;
    }
    header.black {
        display: none;
    }
    .copyright {
        text-align: center;
        font-size: 16px;
    }
    .footer-mls {
        margin-top: 43px;
        font-size: 25px;
        float: none;
        text-align: center;
    }
    .agent-sort {
        padding: 0;
    }
    .agent-sort-items {
        right: 0;
    }
    .agent-description .ihf-container .row.mt-25.mb-10 .agent-title-position {
        display: none;
    }
    .agent-description .ihf-container .row.mt-25.mb-10 .ihf-agent-info .agent-title-position {
        display: block;
        margin-bottom: 20px;
    }
    .agent-description .ihf-container .row.mt-25.mb-10 .ihf-agent-info span {
        text-align: center;
        min-height: auto;
    }
    .agent-description .ihf-container .row.mt-25.mb-10 .ihf-agent-info br {
        display: none;
    }
    .ihf_officeroster_agent_officephone span,
    .ihf_officeroster_agent_email span {
        display: none;
    }
    .ihf_officeroster_agent_officephone {
        font-size: 0;
    }
    .ihf_officeroster_agent_officephone a {
        font-size: 14px;
    }
    .ihf_officeroster_agent_officeaddress {
        margin: 20px 0;
        display: none !important;
    }
    .agent-description .ihf-container .row.mt-25.mb-10 .ihf-agent-info .ihf_officeroster_agent_officeaddress br {
        display: block;
    }
    .single-aios_agent .agent-description #ihf-main-container .ihf-agent-info p {
        margin: 0 !important;
    }
    .agent-description .ihf-container .row.mt-25.mb-10 .ihf-agent-info {
        margin: 20px 0;
    }
    
    .ihf_officeroster_agent_alerttext {
        margin-top: 20px;
    }
    
    .agent-description .ihf-container .row.mt-25.mb-10 .ihf-agent-info .view-listings-btn {
        display: block !important;
    }

    .contactform-wrapper .cf-full {
        max-width: 316px;
    }

    .cfhalf-holder {
        margin: 0;
    }

    #content .archive-list > article {
        width: 100%;
    }

    #content .archive-list .article-long .archive-has-thumbnail .archive-subtitle {
        margin: 0.75em 0;
        font-size: 24px
    }

    #content .archive-list .article-long p {
        font-size: 17px;
    }

    #content .archive-list .article-long .archive-thumbnail,
    #content .archive-list .article-long .archive-has-thumbnail {
        width: 100%;
        margin-left: 0;
    }
}


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

@media only screen and (max-width: 767px) {
    .contactform-right {
        height: 400px;
    }
    .wwwu-tittle span {
        font-size: 28px;
    }
    .agentlist {
        width: calc(100% / 12 * 12);
    }
    .fpwrapper-tittle span {
        font-size: 28px;
    }
    .contact-description .wpcf7-response-output.wpcf7-display-none.wpcf7-validation-errors {
        max-width: 90% !important;
    }
    .fc-tittle span {
        font-size: 26px;
    }
    .cf-half {
        /*width: 90%;*/
    }
    .cf-full {
        width: 100%;
    }
    .welcome-description span h2 {
        font-size: 12px;
    }
    .footer li {
        display: block;
    }
    .page-id-1574 .entry-content tr {
        display: block;
        margin-top: 15px !important;
    }
    .page-id-1574 .entry-content tr td {
        display: block;
    }
    .page-id-1574 .entry-content {
        font-size: 28px;
    }
    .page-id-1574 .entry-content a {
        font-size: 22px !important;
    }
    .page-id-1574 tr.first-row {
        display: none !important;
    }
    .page-id-1574 tr.second-row {
        display: none !important;
    }
    .page-id-529 .ihf-grid-result-address {
        font-size: 10px !important;
    }
    canvas.agent-item {
        width: 50% !important;
        margin: 0 auto !important;
    }
    #ihf-main-container .ihf-agent-photo img {
        height: auto !important;
        width: 50% !important;
        margin: 0 auto;
    }
    .ihf-agent-photo {
        text-align: center !important;
    }
    #ihf-main-container button.btn.btn-primary.btn-block {
        width: 200px;
        margin: 0 auto;
    }
    .ihf-agent-info {
        text-align: center;
        width: 100%;
    }
}


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

@media only screen and (max-width: 480px) {
    .contactform-right {
        height: 300px;
    }
	.comm-list-items img {
		width: 100%;
	}
    .welcome-description p {
        font-size: 12px;
    }
    .welcome-description h2 {
        font-size: 30px;
    }
    .welcome-to-the span {
        font-size: 25px;
    }
    .page-id-0 a.TT_AddTestimonialLink,
    a.TT_AddTestimonialLink:visited {
        padding: 5px 15px!important;
    }
    .des-left {
        display: block;
        padding: 0;
    }
    .des-right {
        display: block;
        padding: 0;
    }
    .des-right {
        margin-top: 15px;
    }
    .page-id-2795 .entry-content p {
        text-align: center;
    }
    .copyright {
        font-size: 12px;
    }
    .welcome-description span h2 {
        line-height: 44px;
    }
    .hp-slideshow {
        /*padding-top: 51px;*/
    }
    .page-id-1574 .entry-content a {
        font-size: 15px !important;
    }
    .page-id-1574 .entry-content {
        font-size: 15px !important;
    }
    .error404 .use-floating-validation-tip span.wpcf7-not-valid-tip {
        font-size: 7px !important;
    }
    #ihf-main-container .dropdown-menu>li>a {
        padding: 3px 0 !important;
    }
    .page-id-2795 #content .alignleft {
        margin: 15px 1% 15px 0 !important;
        display: block !important;
        float: none;
        text-align: center;
        margin: 0 auto !important;
        text-align: center;
        width: 50%;
    }
    .agent-image .col-md-3.col-sm-6 {
        min-height: 200px !important;
    }
    #ihf-main-container .dropdown-menu.pull-right {
        left: auto !important;
        right: 0 !important;
    }
    #ihf-main-container .btn .caret,
    #ihf-main-container .btn-group>.btn:first-child {
        font-size: 10px !important;
    }
    .fc-oregon-arrows {
        display: none;
    }
    .fc-washing-arrows {
        display: none;
    }
    div#TT_FormStars p {
        display: block !important;
    }
    .fc-hover li a {
        font-size: 12px;
    }
    #ihf-main-container .dropdown-menu>li>a {
        font-size: 11px !important;
    }
    .contact-form-wrapper div.wpcf7-response-output {
        margin: 0em 0.5em 1em;
    }
    .fc-hover li a::after {
        top: 4px;
    }
    #ihf-main-container .dropdown-menu.pull-right {
        left: 0;
        right: auto;
    }
}

@media print {
    header.main-header,
    div#ip-banner,
    .aios-mobile-header-wrapper,
    .textwidget,
    .yoast-breadcrumbs,
    p#breadcrumbs,
    footer.footer,
    .entry-content > a:first-child,
    aside.sidebar,
    .ip-banner,
    .ihf-contiguous-links,
    .entry-title,
    .ihf-open-home .panel.panel-default {
        display: none !important;
    }
    #content {
        width: 100% !important;
    }
    .inner-page-wrapper {
        padding-top: 0px;
    }
    div#content-sidebar {
        margin-top: 0px;
    }
}