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

 @media only screen and (min-width: 1601px) {
	.hdrnav li a {
		font-size: 14px;
	}
	html[lang="es"] .hdrnav li a {
        font-size: 12px;
    }
	.section-title span {
		font-size: 65px;
	}

	.hp-blog .blog-details .blog-title {
		font-size: 22px;
	}

	.f-nav .footernav li {
		font-size: 15px;
	}

	.slide-cta .cta-btns {
	    max-width: 860px;
	}
}

@media only screen and (max-width: 1600px) {
	html[lang="es"] .hdrnav li a {
        font-size: 12px;
    }
}

@media only screen and (max-width: 1560px) {
	.ip-cd-content-logo img {
        max-width: 160px;
    }

    .ip-cd-content-logos {
        padding: 0 46px 0 40px;
    }

    .ip-cd-content-logo:last-child:before {
        left: calc(100% + 7px);
        width: 20px;
    }

    .ip-cd-content-logo:nth-child(2) {
        margin: 0 10px;
    }

	.hp-slide .slide-video canvas {
	    min-height: 100vh;
	    height: 100vh;
	}

	.cycloneslider-template-video .cycloneslider-slides {
    height: 100vh!important;
}

	.slide-cta {
    bottom: 14%;
}

.slide-logos {
    bottom: 14%;
    padding: 0 80px;
}

	.fixed-smi {
    left: 20px;
}
}

@media only screen and (max-width:1440px){
	.ip-neigh .fn-item .fn-image > canvas {
		min-height: 500px;
		background-size: cover;
	}

	.slide-cta .cta-btns {
	    max-width: 60%;
	}

	.single-aios-agents p#breadcrumbs,
	.page-template-about-san-miguel-de-allende p#breadcrumbs,
	.page-template-press-v3 p#breadcrumbs,
	.page-template-press p#breadcrumbs,
	.page-template-competitive-advantage p#breadcrumbs,
	.page-template-media p#breadcrumbs {
	    margin-left: 50px;
	    margin-right: 50px;
	}
	.page-template-press-v3 p#breadcrumbs,
	.page-template-competitive-advantage p#breadcrumbs {
	    margin-left: 65px;
	}
	.page-template-about-san-miguel-de-allende p#breadcrumbs,
	.page-template-press p#breadcrumbs,
	.page-template-media p#breadcrumbs {
		margin-left: 80px;
	}

	.page-template-press .custom-ip-pr-content,
	.page-template-media .custom-ip-pr-content,
	.page-template-about-san-miguel-de-allende .custom-ip-pr-content {
	    max-width: 1540px;
	}

	.hdrnav li a {
	    font-size: 12px;
	}
	html[lang="es"] .hdrnav li a {
	    font-size: 11px;
	}	

	html[lang="es"] .hp-fe .fe-col.last a {
	    padding: 0 15%;
	}
	
	html[lang="es"]  .hp-fe .fe-col.last {
	    font-size: 14px;
	    line-height: 1.2
	}
	
	html[lang="es"] .hp-fe .fe-col.last strong {
	    font-size: 25px;
	}		
}

@media only screen and (max-width: 1366px) {
	.hdrnav li a {
	    font-size: 12px;
	}
	html[lang="es"] .hdrnav li a {
	    font-size: 11px;
	}
	.ip-cd-content-logo:last-child img {
		max-width: 120px;
	}

	.hp-reviews .reviews-item .review-details .review-title {
		font-size: 16px;
	}

		.hp-reviews .reviews-item .review-details p {
			font-size: 13px;
		}

	.ip-banner-logos {
	    padding: 0 15px;
	    bottom: 20px;
	}


	.hp-fe .fe-col .fe-details .accent {
		 background-size: 100%; 
		 background-repeat: no-repeat;
	}

	.hp-fn .fn-item .fn-details,
	.ip-neigh .fn-item .fn-details {
		padding: 0 5%;
	}
	.ip-sh-form-btn button {
		font-size: 9px;
	}

	.post-template-default.single-post #content > p#breadcrumbs {
	    margin-left: 83px;
	}

}

@media only screen and (max-width: 1280px) {
	.hdrnav li a {
	    font-size: 11px;
	    letter-spacing: 0.01em;
	}
}
 
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1199px) {

	.section-title {
		font-size: 18px;
	}

		.section-title span {
			font-size: 4vw;
		}

	.hdrnav li a,
	html[lang="es"] .hdrnav li a {
	    font-size: 9px;
	    letter-spacing: 0!important;
	}

	.header .logo {
		width: 260px;
	}

	.page-id-22800 	.header .logo {
		width: 260px;
	}


	.slide-logos {
		padding: 0 60px;
	}

	.slide-cta{
		/* bottom: 12%; */
	}

		.slide-cta .cta-btns a{
			font-size: 15px;
			height: 50px;
		}

	.hp-fe .fe-col .fe-details .accent {
		width: 50px;
		height: 34px;
	}

	.hp-fe .fe-col .fe-details .details-more {
		font-size: 11px;
	}

	.hp-fe .fe-col .fe-details .fe-info {
		font-size: 12px;
	}

	.hp-fe .fe-col .fe-details .fe-info .fe-price {
		font-size: 13px;
	}

	.hp-fe .fe-col.last {
		font-size: 16px;
	}

		.hp-fe .fe-col.last strong {
			font-size: 26px;
		}

	.hp-reviews .reviews-item .review-details {
		padding-top: 60px;
	}

		.hp-reviews .reviews-item .review-elements .accent2 {
			height: 70px;
		}

		.hp-reviews .reviews-item .review-elements .accent1 {
			height: 345px;
		}

		.hp-reviews .reviews-item .review-details h2 {
			font-size: 38px;
		}

		.hp-reviews .reviews-item .review-details .review-title {
			font-size: 12px;
		}

		.hp-reviews .reviews-item .review-details p {
			padding-right: 10px;
			line-height: 16px;
		}

		.hp-reviews .reviews-item .review-details .review-author {
			font-size: 18px;
		}

	.footer-contact .contact-wrap .contact-col.center:before {
		left: 5%;
	}

	.footer-contact .contact-wrap .contact-col.center:after {
		right: 5%;
	}

	.footer-contact .contact-wrap .contact-col {
		font-size: 14px;
	}

	.footer .copyright .copy-left {
		width: 72%;
	}

	.footer .copyright .copy-right {
		width: 28%;
	}

		.footer .copyright .copy-right img {
			margin-left: 10px;
		}

	.footer-partners img {
	    margin: 15px 10px;
	}

	.page-id-143 #content-full #content {
	    padding: 0 4%;
	}

	.footer-contact .contact-wrap .contact-col .phone em {
		/* width: 116px; */
	}

	.mort-logos-wrap > div {
	    max-width: 40%;
	}

	.mort-add-space {
	    margin-top: 70px;
	}

	.page-template-about-san-miguel-de-allende p#breadcrumbs,
	.page-template-press-v3 p#breadcrumbs,
	.page-template-press p#breadcrumbs,
	.page-template-competitive-advantage p#breadcrumbs,
	.page-template-media p#breadcrumbs {
	    margin-left: 75px;
	}
	.hp-video .video-desc h1 {
	  font-size: 18px;
	}

    .hp-faqs .faqs-list-inner {
        padding: 30px 25px 23px;
    }	

    .hp-faqs .faqs-list-label {
        font-size: 17px;
    }

    .hp-faqs .faqs-list-text {
        font-size: 14px;
    }	
} 

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


	.header .hdr-inner {
	    flex-wrap: wrap;
	}

	.header .hdr-translate {
	    text-align: center;
	    margin: 20px 0 0;
	}

	.header .hdr-right {
	    width: 100%;
	    padding: 0;
	}

	.welcomevid-col {
		display: block;
		width: 100% !important;
	}

	.welcomevid-slide-wrap {
		max-width: 480px;
		margin: 0 auto 40px;
	}

	.welcomevid-item-poster span {
		width: 80px;
		height: 80px;
		font-size: 36px;
		padding: 22px 0;
	}

	.welcomevid-col.col-right::before {
		display: none;
	}

	.welcomevid-txt-inner {
		text-align: center;
	}

	.welcome-img {
		max-width: 500px;
		width: 100%;
		margin: auto;
	}

	.hp-team .agents-right .accent {
	    display: none;
	}

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

	.header, .page-id-22800 	.header {
		position: relative;
		padding: 70px 0 20px;
		background: #532742;
	}

		.header .logo {
			width: 100%;
			padding: 0 15px;
		}
	
		.page-id-22800 	.header .logo {
			width: 100%;
			padding: 0 15px;
		}

			.header .logo img {
				margin: 0 auto;
			}

	.hp-slide .slide-video canvas {
		min-height: 400px;
		 height: 100%;
	}


	.cycloneslider-template-video .cycloneslider-slides {
	    height: 100%!important;
	}

	.slide-tagline {
		bottom: 50%;
	}

	.slide-cta {
		position: relative;
		bottom: 0;
		background: #532742;
		padding: 30px 0;
	}

		.slide-cta a.video-btn {
			margin-bottom: 0;
			width: 250px;
			height: 65px;
		}

		.slide-cta .cta-btns {
			flex-direction: column;
			max-width: 300px;
		}

			.slide-cta .cta-btns a {
				margin: 15px 0;
				font-size: 25px;
    			width: 100%;
			}

			.slide-cta .cta-btns a.qs-btn{
				display: none;
			}

			.slideshow-quicksearch{
				opacity: 1;
    			transform: none;
    			max-width: 300px;
    			padding: 0;
    			margin-bottom: 15px;
			}

			.aios-quick-style-5 .qc-wrap{
				height: auto;
			}

				.aios-quick-style-5 .qc-wrap input[type="text"]{
					padding: 15px;
				}

				.aios-quick-style-5 .qc-wrap input[type="submit"] {
				    position: relative;
				    top: unset;
				    right: unset;
				    margin-top: 5px;
				    width: 100%;
				    background: #fff;
				    border: #fff;
				    color: #532742;
				}

				.aios-quick-style-5 .qc-wrap input[type="submit"]:hover{
					background: #000;
					color: #fff;
				}
	
	.section-title,
	.page-id-144 .section-title {
		font-size: 25px !important;
	}

		.page-id-144 .section-title span,
		.section-title span {
			font-size: 8.5vw !important;
			line-height: 8.5vw !important;
		}

	.hp-fe {
		padding: 0 15px;
	}

		.hp-fe .fe-col {
			width: 100%;
			max-width: 500px;
			margin: 0 auto;
		}

			.hp-fe .fe-col.title {
				padding-top: 50px;
			}

			.hp-fe .fe-col.last .col-inner {
				padding: 50px 0;
			}

			.hp-fe .fe-col.title .accent {
				top: 25px;
			}
	
	.hp-welcome {
		padding: 0 15px 85px;
	}

		.hp-welcome .welcome-inner {
			flex-direction: column;
		}

			.hp-welcome .welcome-inner:before {
				width: 100%;
			}

			.hp-welcome .welcome-left {
				width: 100%;
				padding: 65px 20px;
			}

				.hp-welcome .welcome-left p {
					padding-right: 0;
				}

			.hp-welcome .welcome-right {
				width: 100%;
				padding-left: 0;
				padding-bottom: 30px;
			}

				.hp-welcome .welcome-right img {
					margin: 0 auto;
				}

				.hp-welcome .welcome-right:before {
					display: none;
				}

	.hp-team .agents-left,
	.hp-team .agents-right {
		width: 100%;
	}

		.hp-team .agents-right {
			padding-top: 50px;
		}


	.hp-reviews .reviews-item .review-details p:after {
		bottom: -22px;
	}

	.hp-fn .fn-item,
	.hp-fn .fn-item:nth-of-type(even) {
		flex-direction: column;
		margin-bottom: 40px;
	}

		.hp-fn .fn-item .fn-image,
		.hp-fn .fn-item .fn-details {
			width: 100%;
		}

			.hp-fn .fn-item .fn-details {
				padding: 0 30px;
				margin-top: 50px;
			}

				.hp-fn .fn-item:nth-of-type(even) .fn-details .details-in {
					text-align: left;
				}

					.hp-fn .fn-item:nth-of-type(even) .fn-details p {
						text-align-last: left;
					}

			.hp-fn .fn-item:nth-of-type(even) .fn-image:after {
				left: 0;
			}

	.hp-reviews .reviews-wrap {
    	max-width: 600px;
    	margin: 0 auto;
    }

	.hp-blog .blog-wrap {
		flex-direction: column;
	}

		.hp-blog .blog-left,
		.hp-blog .blog-right {
			width: 100%;
		}

			.hp-blog .blog-right {
				margin-top: 30px;
			}

				.hp-blog .blog-right .blog-item,
				.hp-blog .blog-right .blog-item:nth-of-type(odd) {
					flex-direction: column;
					margin-bottom: 30px;
				}

					.hp-blog .blog-right .blog-item > div {
						width: 100%;
						padding: 0 30px;
					}

						.hp-blog .blog-details .blog-title {
							font-size: 22px;
						}

	.hp-video .video-wrap {
		flex-direction: column;
	}

		.hp-video .video-th,
		.hp-video .video-desc {
			width: 100%;
			padding: 0 30px;
		}

			.hp-video .video-th {
				margin-bottom: 60px;
				padding: 0;
			}

				.hp-video .video-th:before {
					left: 0;
					width: 100%;
				}

				.hp-video .video-desc:after {
					right: 30px;
				}

	.footer-contact .contact-wrap {
		flex-direction: column;
	}

		.footer-contact .contact-wrap .contact-col.center,
		.footer-contact .contact-wrap .contact-col {
			width: 100%;
		}

			.footer-contact .contact-wrap .contact-col.center:before,
			.footer-contact .contact-wrap .contact-col.center:after {
				display: none;
			}

			.footer-contact .contact-wrap .contact-col.center {
				margin: 30px 0;
			}

	.f-nav .footernav li {
		font-size: 15px;
		line-height: 22px;
		padding: 13px 0;
	}

	.footer .copyright {
		flex-direction: column;
	}

		.footer .copyright .copy-left,
		.footer .copyright .copy-right {
			width: 100%;
			text-align: center;
			justify-content: center;
		}

			.footer .copyright .copy-right {
				margin-top: 20px;
			}

				.footer .copyright .copy-right img {
					margin: 0 5px;
				}
	
	/* 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%;
	}

	.footer-partners .logo-wrap {
	    justify-content: center;
	}

	.ip-banner-logos,
	p#breadcrumbs > span::after,
	p#breadcrumbs > span::before{
		display: none;
	}

	.popup-message-main {
	    padding: 50px 15px 50px;
	}

	.popup-message-main h2 {
	    font-size: 29px;
	}

	.hp-fe .fe-col canvas {
		min-height: auto;
	}

	/* IP neighborhoods */

	.ip-neigh .fn-item,
	.ip-neigh .fn-item:nth-of-type(even) {
		flex-direction: column;
		margin-bottom: 40px;
		padding-top: 50px;
	}

		.ip-neigh .fn-item .fn-image,
		.ip-neigh .fn-item .fn-details {
			width: 100%;
		}

			.ip-neigh .fn-item .fn-details {
				padding: 0 30px;
				margin-top: 50px;
			}

				.ip-neigh .fn-item:nth-of-type(even) .fn-details .details-in {
					text-align: left;
				}

					.ip-neigh .fn-item:nth-of-type(even) .fn-details p {
						text-align-last: left;
					}

			.ip-neigh .fn-item:nth-of-type(even) .fn-image:after {
				left: 0;
			}

	.page-id-143 #content-full #content {
	    padding: 0 15px;
	}
	.ip-sh-inner {
		display: block;
		padding: 50px 15px;
	}
	.ip-sh-inner > div:first-child {
		width: 100%;
		text-align: center;
	}
	.ip-sh-heading {
		margin-bottom: 20px;
	}
	.ip-sh-inner > div:last-child {
		width: 100%;
	}
	.ip-sh-form-fld.col-3,
	.ip-sh-form-fld.col-6 {
		width: 100%;
	}
	.ip-sh-form-fld.col-4 {
		width: 50%;
	}
	.ip-sh-form-col.fields,
	.ip-sh-form-col.submit {
		width: 100%;
	}
	.ip-sh-form-fld {
		margin-bottom: 0;
		padding: 4px !important;
	}
	.ip-sh-form-btn button {
		font-size: 11px;
		margin: 15px auto 0;
	}
	.ip-sh-bottom-col {
		display: block;
		width: 100% !important;
		margin-bottom: 15px;
	}

	.fe-back-btn a {
	    margin: 0 auto;
	}

	.mort-logos-wrap{
		flex-direction: column;
	}

	.mort-logos-wrap > div {
	    max-width: 100%;
	}

	.mort-add-space {
	    margin-top: 0px;
	}

	body.search-results .listing-view.card-deck {
	    padding: 0;
	}

	body.search-results #desktop-header-search .container-fluid {
	    padding: 0;
	}

	body.search-results .advanced-search .form-control {
	    width: 100%!Important;
	}

	body.search-results .advanced-search-filters {
	    margin-right: 0;
	}

	body.search-results .advanced-search-filters .col-md-2.p-0.mr-2 {
	    margin-right: 0!important;
	}

	body.search-results .advanced-search-filters .col-md-3.pl-0 {
	    padding: 0!important;
	}



	body.search-results .list-view .item-listing-wrap {
	    margin-bottom: 30px!important;
	}

	section.listing-wrap .col-lg-12.col-md-12 {
	    padding: 0;
	}

	section.listing-wrap .row {
	    margin: 0;
	}

	section.listing-wrap .container {
	    padding: 0;
	}



	body.search-results .advanced-search-filters .col-md-2.p-0.mr-2 {
	    width: 100%!important;
	}

	body.search-results .advanced-search-filters {
	    padding-top: 0;
	}

	body.search-results .advanced-search-filters .d-flex .col-md-3.pl-0 {
	    width: 100%!important;
	}



	body.search-results .advanced-search-filters .d-flex {
	    margin-bottom: 0!important;
	}

	section.content-wrap.property-wrap.property-detail-v3 .col-lg-12.col-md-12.bt-full-width-content-wrap {
	    padding-left: 0;
	    padding-right: 0;
	}

	section.content-wrap.property-wrap.property-detail-v3 .block-wrap {
	    padding: 0;
	}

	section.content-wrap.property-wrap.property-detail-v3 .mobile-property-title .label-featured {
	    top: 0;
	}

	section.content-wrap.property-wrap.property-detail-v3 .mobile-property-title {
	    padding: 0 0 25px;
	}


	body.search-results .flex-search:last-of-type {
	    padding: 10px 0 0;
	}

	body.search-results #ip-listing-popup-form .form-row{
	    flex-wrap: wrap;
	}
	body.search-results #ip-listing-popup-form .form-col{
	    width: 100% !important;
	    margin: 5px 0;
	}

	body.search-results .ip-ld-side-buttons-inner .ip-ld-hero-ctas {
	    bottom: 10px;
	    z-index: 402;
	    right: 15px;
	}

	body.search-results .ip-ld-hero-cta {
	    width: 200px;
	    font-size: 13px;
	    height: 56px;
	}

	.slide-logos .logo-wrap img {
	    margin-bottom: 5px!important;
	    max-width: 140px;
	    height: auto;
	}

		.popup-main {
	    padding: 20px 20px 10px;
	    margin: 40px auto;
	}

	.popup-form-logo-inner:before, .popup-form-logo-inner:after {
	    left: calc(100% + 10px);
	    width: calc(100vw + 20px);
	    bottom: 10px;
	}

	.popup-form-logo-inner:after {
	    left: auto;
	    right: calc(100% + 10px);
	}

	.popup-form-logo {
	    left: 0;
	    right: 0;
	    margin: 0 auto;
	    display: block;
	    text-align: center;
	    bottom: 0;
	}

	.popup-inner {
	    padding: 35px 20px 110px;
	}

	.popup-form-logo-inner {
	    display: inline-block;
	}

	.popup-form-disclaimner {
	    text-align: center;
	}

	.popup-form-widget .wpcf7 form .wpcf7-response-output {
	    /*position: absolute;
	    bottom: -35px;
	    left: 0;
	    right: 0;*/
	    position: relative;
	    margin: 10px auto;
	}

	.popup-form-widget {
	    margin-bottom: 55px;
	}

	.popup-inner:before {
	    height: calc(100% - 10px);
	}

	.popup-form-field.is-col-2 {
	    width: calc(50% - 5px);
	}

	.popup-title h2 {
	    font-size: 30px;
	}

	.popup-title {
	    margin-bottom: 30px;
	}

	.popup-caption {
	    padding: 0;
	    margin-bottom: 30px;
	}

	.popup-title h2 span {
	    font-size: 18px;
	    letter-spacing: 0.300em;
	}

	.popup-title h2 span em:after {
	    max-width: 150px;
	}

	.popup-form-field > label, .popup-form-field.is-checkbox .wpcf7-list-item label {
	    letter-spacing: 0.050em;
	    font-size: 13px;
	}

	.popup-wrapper {
	    padding: 25px 15px;
	}

	.popup-form-field.form-submit {
	    margin: 10px auto 0;
	}

		.popup-form-field {
		    margin-bottom: 15px;
		}

			.popup-close {
		    width: 50px;
		    height: 50px;
		    font-size: 20px;
		}

		.footer-contact .contact-wrap .contact-col,
		.footer-contact .contact-wrap .contact-col .email {
			font-size: 16px;
		}
		.footer-contact .contact-wrap .contact-col span {
		    padding: 5px 0;
		}

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


	.single-aios-agents p#breadcrumbs,
	.page-template-about-san-miguel-de-allende p#breadcrumbs,
	.page-template-press-v3 p#breadcrumbs,
	.page-template-press p#breadcrumbs,
	.page-template-competitive-advantage p#breadcrumbs,
	.page-template-media p#breadcrumbs {
	    margin-left: 0;
	    margin-right: 0;
	}
	
	.press-back-btn {
		float: none;
	}

	.single-post #content .entry-title {
		line-height: 1.2;
	}

	.post-template-default.single-post #content > p#breadcrumbs {
	    margin-left: 0;
	}
	.hp-video .video-desc h1 {
	  font-size: 25px;
	}

	.ip-team-content .container {
		max-width: 100%;
	}

	#content .ip-cd-content-title h2 {
		font-size: 40px;
	}

    .hp-faqs  .faqs-arrows {
        position: relative;
        justify-content: center;
        gap: 30px;
        margin-top: 15px;
    }

    .hp-faqs  .faqs-holder {
        margin: 22px auto 0;
        padding: 0;
        max-width: 500px;
        text-align: center;
    }

    .hp-faqs .faqs-inner .site-monogram {
      left: 50%;
      right: auto;;
      top: 0;
      margin: auto;
	  transform: translateX(-50%);
    }	

	 .hp-faqs .section-title {
		 z-index: 2;		 
		 position: relative;
	 }
} 

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */ 
@media only screen and (max-width: 767px) {
	.ip-cd-content-logos {
        margin: 0 auto 5px;
        padding: 0 20px;
    }

    .ip-cd-content-logo:before {
        height: 5px;
        width: 14px;
    }

    .ip-cd-content-logo canvas {
        height: 5px;
    }

    .ip-cd-content-logo:last-child:before {
        left: calc(100% + 4px);
        width: 10px;
    }

    .ip-cd-content-logo img {
        width: 89px;
    }
	.ip-cd-content-logo:nth-child(2) {
        margin: 0 3px;
    }
    .ip-banner .container{
        width: 100%;
    }

    .section-title,
    .page-id-144 .section-title {
    	font-size: 18px !important;
    }

    .hp-slide .slide-video canvas {
    	min-height: 0;
    }

    .slide-logos .logo-wrap img {
    	max-width: 120px;
    }

    .hp-reviews .reviews-wrap {
    	padding: 0;
    	max-width: 500px;
    }

    	.hp-reviews .reviews-arrow {
    		display: none !important;
    	}

   	.hp-video .video-th .play-btn {
   		width: 169px;
   		height: 43px;
   		font-size: 15px;
   		top: 71%;
   	}

   	#capture-form h2 {
   		font-size: 20px;
   		line-height: 24px;
   	}

   	.hp-blog .blog-left .left-inner {
   		padding: 75px 10%;
   	}

	.slide-logos {
	    padding: 0 15px;
	}

		.popup-main {
	    padding: 10px 10px 5px;
	}

	.popup-inner:before {
	    height: calc(100% - 5px);
	}

	.popup-form-logo-inner img {
	    max-width: 200px;
	    width: 100%;
	}

	.popup-form-logo-inner:before, .popup-form-logo-inner:after {
	    bottom: 5px;
	}

	.popup-form-field.form-submit input[type=submit] {
	    font-size: 14px;
	    max-width: 195px;
	}

	.popup-form {
	    display: block;
	}

	.popup-form-field.is-col-2 {
	    width: 100%;
	    display: block;
	}

	.popup-inner {
	    padding: 45px 15px 90px;
	}

	.popup-form-field > label, .popup-form-field.is-checkbox .wpcf7-list-item label {
	    font-size: 12px;
	}

	.popup-form-field.is-checkbox input[type=checkbox] {
	    width: 20px;
	    height: 20px;
	    min-width: 20px;
	}

	.popup-form-field.is-checkbox input[type=checkbox]:checked:after {
	    margin: 2px 0 0 5px;
	    width: 6px;
	    height: 11px;
	}

	.popup-caption p {
	    font-size: 13px;
	    line-height: 23px;
	}

	.popup-title h2 span {
	    font-size: 16px;
	    letter-spacing: 0.150em;
	}

	.popup-form-widget .wpcf7 form .wpcf7-response-output {
	/*    bottom: -40px;*/
	}

	.canvas-img span.ply-btn {
		font-size: 12px;
	}
	html[lang="es"] .canvas-img span.ply-btn,
	html[lang="es"] .ip-cd-content-btn span {
	    font-size: 11px;
	    width: 180px;
	    text-align: center;
	}
	html[lang="es"] .ip-cd-content-btn span {
		max-width: 180px;
	}


}

@media only screen and (max-height: 540px) {
	.popup-message-wrapper {
	    display: block;
	}
}

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

	.hp-btn {
		font-size: 11px;
	}

	.hp-reviews .reviews-item .review-details h2 {
		font-size: 30px;
	}

	.hp-reviews .reviews-item .review-details p {
		font-size: 11px;
		line-height: 14px;
	}

	.hp-reviews .reviews-item .review-details .review-title {
		font-size: 10px;
		padding-right: 10px;
	}

	.footer-contact .contact-wrap .contact-col.center {
		font-size: 13px;
	}

	.ip-ld-contact-info-agents .agent-img img {
		max-width: 100%;
	}

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

}
 



@media only screen and (max-height: 780px) {
	.popup-wrapper {
	    display: block;
	}

	.popup-form-logo-inner img {
	    max-width: 230px;
	}

	.popup-form-widget {
	    margin-bottom: 30px;
	}

	.popup-main {
	    padding: 20px 20px 12px;
	    max-width: 750px;
	}

	.popup-inner {
	    padding: 30px 30px 60px;
	}

	.popup-title {
	    margin-bottom: 20px;
	}

	.popup-form-field {
	    margin-bottom: 15px;
	}

	.popup-caption p {
	    font-size: 13px;
	    line-height: 23px;
	}

	.popup-title img {
	    max-width: 300px;
	    width: 100%;
	}

	.popup-title h2 span {
	    font-size: 15px;
	}

	.popup-title h2 span em:after {
	    max-width: 148px;
	}

	.popup-form-field>label {
	    font-size: 13px;
	}

	.popup-form-field textarea {
	    height: 45px;
	    padding: 5px 0;
	}

	.popup-caption {
	    margin-bottom: 25px;
	    padding: 0;
	}
}