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

@media only screen and (max-width: 1440px) {
	.main-nav > li .sub-menu {
	    min-width: 325px;
	}

	.header-wrapper .ai-translator-dropdown {
	    left: auto;
	    right: 0;
	}
} 

@media only screen and (max-width: 1366px) {
    .main-nav > li .sub-menu {
	    min-width: 306px;
	    padding: 36px 15px 33px 20px;
	}

	.main-nav > li {
		margin: 0 18px;
	}

	.welc-title h1 {
		font-size: 35px;
	}

	.wwu-main ul.wwu-list li.wwu-item span {
		font-size: 35px;
	}

	.wwu-main ul.wwu-list li.wwu-item {
		font-size: 20px;
	}

	#footer-nav > li {
		padding: 0 30px;
	}
} 

@media only screen and (max-width: 1280px) {
    #footer-nav > li {
		padding: 0 20px;
	}

} 

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

	.main-nav > li .sub-menu {
		padding: 25px 15px 25px 21px;
		min-width: 240px;
	}

	.logo img {
		max-width: 200px;
	}

	.ip-banner {
		margin-top: 142px;
	}

	.header-wrapper {
		min-height: 142px;
	}

	.fc-title span {
		font-size: 16px;
		letter-spacing: 2px;
	}

	.welc-banner {
		margin-left: calc((100vw - 740px) / -2);
		margin-right: calc((100vw - 740px) / -2);
	}

	#content .entry,
	.welc-content p {
		font-size: 18px;
	}

	.welc-title h1 {
		letter-spacing: 5px;
	}

	.rev-content p {
		font-size: 25px;
	}

	.wwu-main ul.wwu-list li.wwu-item span {
		font-size: 30px;
	}

	.wwu-main ul.wwu-list li.wwu-item {
		font-size: 18px;
	}

	#footer-nav > li {
		padding: 0 10px;
	}

	#footer-nav > li .sub-menu > li a {
		font-size: 10px;
	}


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

	.aios-mobile-header-2 .amh-navigation .amh-menu li a {
	    font-weight: 300;
	}

	.ai-translator-dropdown-wrap {
	    display: none;
	}

	.ip-banner {
		margin-top: 0;
	}
    
    .slideshow-wrapper canvas {
		min-height: 250px;
	}

	.header-wrapper {
		position: relative;
		min-height: 0;
		margin-top: 52px;
		padding: 20px 0;
	}

	#fixed-header {
		position: relative;
		z-index: 1;
		-webkit-transform: none;
		    -ms-transform: none;
		        transform: none;
	}

	ul.aios-split-nav.main-nav {
		display: none;
	}

	.logo {
		display: block;
		max-width: 100%;
		width: 100%;
	}

	.header-nav .navigation {
		display: block;
	}

	.logo img {
		max-width: 200px;
	}

	.qs-field.long, .qs-field.short {
		width: 100%;
		margin-bottom: 10px;
	}

	.qs-field {
		margin-right: 0;
	}

	.qs-field.submit {
		width: 100%;
	}

	.qs-field.short.mob {
		float: left;
		width: calc(50% - 5px);
		margin-bottom: 10px;
	}

	.qs-field.short.mob-fl {
		float: right;
		width: calc(50% - 5px);
		margin-bottom: 10px;
	}

	.qs-form-inner {
		max-width: 546px;
		margin: 0 auto;
	}



	.fc-main {
		display: block;
		margin: 0;
	}

	.fc-list {
		display: block!important;
		width: 100%!important;
	}

	.fc-wrapper > .container {
		max-width: 100%;
	}

	.fc-item {
		display: block!important;
		width: 100%!important;
		padding: 0!important;
		max-width: 546px;
		margin: 0 auto;
	}

	.fc-img canvas {
		height: 300px;
	}

	.fc-item {
		margin-bottom: 8px;
	}

	.welc-content {
		padding: 0;
	}

	.welc-banner {
		margin-left: calc((100vw - 720px) / -2);
		margin-right: calc((100vw - 720px) / -2);
	}

	.wwu-main ul.wwu-list li.wwu-item {
		display: block;
		width: 100%;
	}

	.wwu-main ul.wwu-list {
		display: block;
	}

	.wwu-main ul.wwu-list li.wwu-item:not(:last-child) {
		margin-bottom: 50px;
	}

	.wwu-title {
		padding-bottom: 40px;
		margin-bottom: 70px;
	}

	.wwu-container {
		padding: 80px 0;
	}

	.git-container {
		padding: 50px 0;
	}

	.git-widget {
		max-width: 546px;
	}

	.git-field {
		margin-right: 0;
	}

	.git-field.md-long {
		width: 100%;
		margin-bottom: 10px;
	}

	.git-field.sm-long {
		float: left;
		width: calc(50% - 5px);
		margin-bottom: 10px;
	}

	.git-field.sm {
		float: right;
		width: calc(50% - 5px);
		margin-bottom: 10px;
	}

	.git-field.long {
		width: 100%;
		margin-right: 0;
		margin-bottom: 10px;
	}


	.git-title {
		margin-bottom: 40px;
	}

	.git-field.submit {
		width: 100%;
	}

	#footer-nav > li {
		display: block;
		width: 100%;
		padding: 0;
		text-align: center;
		max-width: 280px;
		margin: 0 auto;
	}

	#footer-nav {
		display: block;
	}

	#footer-nav > li:not(:last-child) {
		margin-bottom: 30px;
	}
    

	#footer-nav > li .sub-menu > li a {
		font-size: 11px;
	}

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

	#content .ip-global-pagination ul > li {
	    width: 50px;
	    height: 50px;
	    margin-right: 10px;
	}

	#content .ip-global-pagination ul > li a {
	    font-size: 13px;
	}
	
	.ip-content .col-md-6 {
	    width: 100%;
	}

	.ip-content {
	    left: 0;
	}

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

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

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

    .page-id-130 #content .archive-list .article-long .archive-thumbnail,
    .page-id-130 #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) {
    .ip-banner .container{
        width: 100%;
    }

    .welc-banner {
		margin-left: -15px;
		margin-right: -15px;
	}
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {
	.ip-banner h1,
	body.ip-container .ip-banner h1 {
	    font-size: 30px;
	}
	
	#content .entry-title,
	#content .archive-title { 
		font-size: 35px;
	}

	.ip-banner h1,
	body.ip-container .ip-banner h1{
		letter-spacing: normal;
	}

	.fc-wrapper > .container {
		padding: 0 15px;
	}
    
    .fc-img canvas {
		height: 250px;
	}

	.git-widget div.wpcf7-response-output {
		bottom: -40px;
	}

	#content .ip-global-pagination ul > li {
	    width: 45px;
	    height: 45px;
	    margin-right: 5px;
	}

	.ip-rev-content span.ip-rev-agent-name {
	    font-size: 15px;
	    letter-spacing: 2px;
	}
}
 

@media only screen and (max-height: 710px) {
	div#TB_window {
	    overflow-y: auto!important;
	    position: absolute;
	    height: auto;
	    top: 0;
	    transform: none;
	    left: 0;
	    right: 0;
	    margin: 30px auto!important;
	}

	body.post-page-cyds-listings.modal-open,
	body.listing-template-default.single-listing.aios-listings-page.modal-open {
	    overflow-y: auto!important;
	}
}