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

@media only screen and (min-width: 1200px) {
	
}
@media only screen and (min-width: 1367px) {
	.header-container {
        width: 1300px;
    }
    .custom-container {
	    width: 1310px;
	}
}
@media only screen and (min-width: 1490px) {
	.header-container {
        width: 1430px;
    }
}
@media only screen and (min-width: 1540px) {
	.header-container {
        width: 1490px;
    }
}
@media only screen and (max-width: 1366px) {
	#main-wrapper {
	    padding: 10px 10px 0;
	}
	.footer {
		margin-bottom: 10px;
	}

	/*HEADER*/
	.header {
		padding: 0 10px;
	}

	.header-main {
	    padding: 15px 0;
	}

	.header-logo a {
	    max-width: 350px;
	}

	.header-right .navigation #nav > li {
	    margin-right: 15px;
	}

	/*VIDEO*/
	.vid-right {
		margin-right: 0;
	}

	.slide-contact-wrap {
	    margin-left: 53%;
	}

	.slide-nav #nav2 > li:nth-child(odd) {
	    width: 53%;
	}

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

	/*HEADER*/
	.header-left {
	    width: 270px;
	}
	.header-right {
		width: calc(100% - 270px);
	}
	.header-right .navigation #nav > li {
	    margin-right: 5px;
	}
	.fixed .header-logo a img {
	    max-width: 250px;
	}

	.header-logo a {
	    max-width: 270px;
	}

	.header-right .navigation #nav li a {
	    letter-spacing: 0.05em;
	}

	.header-right .navigation {
	    padding-right: 15px;
	}

	.upperfold-content {
	    top: 55%;
	}

	/*SLIDE*/
	.slide-close {
	    right: 36px;
	}
	.slide-menu-main { 
	    padding: 58px 0;
	}
	.slide-nav #nav2 > li:nth-child(odd) {
	    width: 52%;
	}
	.slide-nav #nav2 > li:nth-child(even) {
		width: 48%;
	}
	.slide-contact-wrap {
	    position: relative;
	    display: block;
	    width: 48%;
	    margin-left: 52%;
	    margin-top: calc(-106px);
	}

	.slide-contact > span, .slide-contact a {
	    font-size: 14px;
	    letter-spacing: 0.04em;
	}

	/*FC*/
	.fc-name {
		font-size: 26px;
	}
	.fc-text p {
	    font-size: 12px;
	}

	/*VIDEO*/
	.vid-right {
	    padding: 83px 30px 92px 125px;
	}

	/*FOOTER*/
	.footernav li {
	    margin-left: 20px;
	}

	.post-page-contact-us #content .cu-contact span a, 
	.post-page-contact-us #content .cu-contact span p {
	    font-size: 14px;
	    letter-spacing: 0;
	}

} 

/* iPad(portrait) | Galaxy Tab 4(portrait)  */ 
@media only screen and (max-width: 991px) {
	body.slide-menu-active {
	    overflow: unset;
	}
	.post-page-contact-us #content .cu-contact span:nth-child(4), 
	.post-page-contact-us #content .cu-contact span:nth-child(5) {
	    max-width: 285px;
	    display: flex;
	}
	#pojo-a11y-toolbar {
         display:none;
    }
	.page-id-44 #content .cu-map {
	    display: block;
	}
	.page-id-44 #content .cu-map iframe {
	    margin-bottom: 15px;
	}
	.footer-contact-item:first-child {
	    margin-top: 0;
	}

	#main-wrapper {
		padding: 0;
	}
	.footer {
		margin-bottom: 0;
	}

	.site-title.left-title {
		text-align: center;
	}
	.site-btn {
		text-align: center;
	}

	/*HEADER*/
	.header {
		position: relative;
		margin: 52px 0 0;
		background: #000;
		top: 0;
		z-index: 99;
	}
		.header-main {
			padding: 15px 10px;
		}
		.header-left {
			width: 100%;
			text-align: center;
		}

	/*UPPERFOLD*/
	.hp-slideshow .cycloneslider-canvas, 
	.hp-slideshow .cycloneslider-template-responsive img.cycloneslider-slide-js[width="1"] + canvas {
	    min-height: 410px;
	}

	/*WELCOME*/
	.welcome-right {	    
		margin-left: 0;
	}
	.welcome-text {
		text-align: center;
	}
	.welcome-left {
	    margin: 20px 0 0;
	}

	/*FL*/
	.fl-title {
		margin-bottom: 30px;
	}
	.fl-title h2 > span, 
	.fl-title h2 > span:last-child {
	    color: #000;
	}
	.fl-title h2 > span:first-child:before {
		background: #000;
	}

	/*FC*/
	.fc-mobile {
	    width: 100%;
	    max-width: 500px;
	    margin: 40px auto 0;
	}
	.fc-sec {
	    letter-spacing: 0;
	    padding: 40px 0 40px;
	}

	/*VID*/
	.vid-sec {
	    padding: 40px 0;
	}
	.vid-left {
	    margin: 0 auto 50px;
	    width: 100%;
	    max-width: 585px;
	}
	.vid-right {
		margin: 0;
	    padding: 20px 15px;
	}
	.vid-right-inner {
		text-align: center;
	}

	/*TESTIMONIALS*/
	.testi-wrap {
	    margin: 25px 0 0;
	}
	.testi-item p {
		min-height: auto;
	}
	.testi-btn-wrap {
	    margin: 30px 0 0;
	}
	.testi-sec {
	    padding: 40px 0;
	}

	/*WWT*/
	.wwt-sec {
	    padding: 50px 0;
	}

	/*FOOTER*/
	.footer {
		padding: 40px 0;
	}
	.footer-contact-details {
	    margin: 50px 0 0;
	}
	.footer-contact-item {
	    width: 100%;
	    margin-top: 25px;
	}
		.footer-contact-item:first-child {
			margin-top: 0;
		}

	.footer-smi {
	    margin: 30px 0 0;
	}
	.footernav {
	    margin: 40px 0 0;
	}
	.footernav li {
		display: block;
		text-align: center;
		margin: 10px 0;
	}
	.copyright {
	    margin: 30px 0 0;
	}

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

	.ip-container #ip-communities a.fc {
	    width: 50%;
	}

	.post-page-meet-the-team #agents-results .agents-img {
	    max-width: 400px;
	    margin: 0 auto;
	}
	
} 

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

	.site-title h1 > span:last-child {
	    font-size: 65px;
	}

	/*UPPERFOLD*/
	.tagline {
	    font-size: 18px;
	}
	.tagline span {
	    font-size: 65px;
	}

	/*FL*/
	.fl-main {
	    bottom: auto;
	    top: 50%;
	    transform: translateY(-50%);
	}
	.fl-details-inner {
		display: block;
	}
	.fl-details-item {
		display: block !important;
	}
	.fl-details-item > div:first-child {
		display: block;
		width: 100%;
	}
	.fl-details-item > div:last-child {
	    width: 100%;
	} 
	.fl-details-left {
	    width: 100%;
	    text-align: center;
	}
	.fl-details-right {
	    width: 100%;
	    text-align: center;
	    margin: 35px 0 0;
	}
    .ip-banner .container{
        width: 100%;
    }
}

@media only screen and (max-width: 567px) {

	/*WELCOME*/
	.welcome-left {
	    padding: 40px 10px 40px;
	}

}

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

	.tagline span {
	    font-size: 48px;
	    letter-spacing: 0.05em;
	}
	.tagline {
	    font-size: 16px;
	    letter-spacing: 0.1em;
	}
	.site-title h1 > span, .site-title h2 > span {
	    font-size: 14px; 
	    letter-spacing: 0.05em;
	}
	.site-title h1 > span:last-child, 
	.site-title h2 > span:last-child {
	    font-size: 40px;
	    letter-spacing: 0.01em;
	}
	#content .entry-title,
	#content .archive-title { 
	    font-size: 35px;
	}
	#content .archive-subtitle {
	    font-size: 30px;
	}

	.footer-contact-info span, 
	.footer-contact-info .footer-contact span, 
	.footer-contact-info .footer-contact a {
	    font-size: 13px;
	}

	.post-page-athlete-relocation ul.gal img {
	    width: 100%;
	}

	.single-aios_agent .wpcf7 form .wpcf7-response-output {
	    bottom: -20px;
	}

	.post-page-contact-us #content .cu-fields {
	    width: 100%;
	}

}
 
