/* Small Desktop Resolution and iPad Landscape
======================================================================== */
@media only screen and (max-width : 1024px) {
	.np{
		width: 100% !important;
	}
	.product-list div:last-child{
		grid-row-end:4;
	}
.hide-large{
	display: block;
}
	.hide-mobile{
		display: none;
	}
	.menu-wrap-inner {
		max-width: 950px;
	}

	.section-inner,
	.footer-inner,
	.copyright-inner {
		max-width: 900px;
	}

	.col-sm-2 {
		width: 16.666%;
	}
	.location-tabs .tab {
		min-width: 200px;
		border: none;
		text-align: center;
		border-bottom:1px solid #e5e5e5;
	}

	.location-tabs,
	.tabs-list { border: 0; }
	.locator {
		-webkit-box-flex: 1;
			-ms-flex: 1;
				flex: 1;
	}
	.content-area {
		padding-bottom: 0;
	}
	.sub-header {
		padding-top: 50px;
	}

}
@media only screen and (max-width: 1200px) {
	.partial-section .section-inner {
		flex-direction: row-reverse;
	}
	.partial-content .xcol-row [class*="xcol-"]{
		width: 100%;
	}
	.highlight-box {
		min-height: 121px;
	}
	
}
@media only screen and (max-width: 800px) {
	.govern-images{
		min-height: 45vh;
}

} 
/* iPad Portrait
======================================================================== */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
	
	.site-title { display: block;}
	.menu-left {display: none;}
	.iva-hamburger { display: block;}
	.menu-right { display: none;}
	.menu-wrap-inner {	max-width: 700px;}
	.logo-wrap { display: none;	}
	.section-inner {
		max-width: 720px;
	}
	.footer-inner,
	.copyright-inner {
		max-width: 700px;
	}
	/*mobile menu*/
	.logo { margin: 8% 0; }
	.logo-inner { margin-left: 50px; }
	.logo img { margin-left: 0; }
	.iva-hamburger {
		right: 5%
	}
	.footer-inner .xcol-8 {
	width: 55.66%;
	}
	.header-bg {
		top: 0;
	}
	.icon-box-icon {
		position: inherit;
		width: 100%;
	}
	.follow-request {
		top: 30%;
		left: 43%;
		width: 135px;
		padding: 10px;
		font-size: 12px;
	}
	.icon-box {
		padding-left: 0;
		text-align: center;
	}
	.iva-skill {
		min-width: 340px;
		margin-bottom: 0;
	}
	.location-details {
		-ms-flex-preferred-size: 70%;
			flex-basis: 70%;
	}
	.location-details {
		-ms-flex-preferred-size: 64%;
		    flex-basis: 64%;
	}
	.location-socials {
		-ms-flex-preferred-size: 20%;
			flex-basis: 20%;
	}
	.content-area,
	.sidebar {
		width: 100%;
		border: none;
	}
	.content-area {
		padding: 65px 10px 30px 10px;
	}
	.widget {
		width: 49%;
		float: left;
	}
	.sidebar {
		padding-top: 30px;
	}
	.iva-skill {
		margin: 0;
	}
	.sub-header {
		padding-top: 40px;
	}

}
@media only screen and (max-width : 767px){
.product-list{
	display: grid;
	grid-template-columns : 100%;
	grid-auto-flow: dense;
}

.product-list div:last-child {
	grid-column: 1;
	grid-row-start: auto;
	grid-row-end: auto;
	max-height: max-content;
	padding: 10px;
}}
/* iPhone 5s(landscape)
======================================================================== */
@media only screen
and (min-width: 425px)
and (max-width: 767px) {
	
	.xcol-row [class*="xcol-"] {
		margin-left: 0;
		margin-right: 0;
	}
	.site-title { display: block;}
	.menu-left {display: none;}
	.iva-hamburger { display: block;}
	.menu-right { display: none;}
	.menu-wrap-inner {	max-width: 700px;}
	.logo-wrap { display: none;	}


	/*mobile menu*/
	.logo { margin: 8% 0; }
	.logo-inner { margin-left: 50px; }
	.logo img { margin-left: 0; }
	.iva-hamburger { right: 5%; }
	.col { float: none; display: block; }
	.header-bg { top: 0; }
	.menu-wrap-right {
		display: none;
	}
	.counter-info {
		-webkit-box-flex: 1;
		    -ms-flex-positive: 1;
		        flex-grow: 1;
		text-align: center;
	}
	.counters-wrap {
		-ms-flex-preferred-size: 100%;
		    flex-basis: 100%;
	}
	.at-counter {
		text-align: center;
	}
	
	.iva-authority .xcol-6 {
		padding: 20px 5px;
	}
	.menu-wrap-inner {
		max-width: 375px;
	}
	.col-sm-2 {
		width: 33.3333%;
	}
	.section-row {
		padding: 50px 0;
	}
	.section-inner, .footer-inner, .copyright-inner {
		max-width: 400px;
	}
	.iva-investors p {
		margin-bottom: 20px;
	}
	.iva-investors .col6 {
		width: 80%;
		margin: 0 auto;
		float: none;
		text-align: center;
		display: block;
	}
	.iva-events .col3 {
		width: 80%;
		margin: 0 auto 20px;
		display: block;
		text-align: center;
		float: none;
	}
	.iva-events .fancy-heading-s1 {
		padding-bottom: 10px;
	}
	.footer-inner { max-width: 380px }
	.copyright-inner {
		max-width: 400px;
	}
	.copyright-left {
		-ms-flex-preferred-size: 100%;
			flex-basis: 100%;
		text-align: center;
	}
	.copyright-right {
		margin-top: 10px;
		-ms-flex-preferred-size: 100%;
			flex-basis: 100%;
	}
	.iva-skill {
		min-width: 350px;
		padding: 50px 10px 1px;
	}
	.content-area,
	.sidebar {
		width: 100%;
		border: none;
	}
	.iva-footer .col2 {
		display: inline-block;
	}
	.copyright-left {
		margin-bottom: 10px;
	}
	.location-details {
		-webkit-box-flex: 1;
			-ms-flex: 1 0 100%;
				flex: 1 0 100%;
	}
	.location-socials {
		-webkit-box-flex: 1;
			-ms-flex: 1 0 50%;
				flex: 1 0 50%;
		margin-top: 20px;
	}
	.locator {
		-webkit-box-flex: 1;
			-ms-flex: 1 0 50%;
				flex: 1 0 50%;
		margin-top: 20px;
	}
	.detail {
		width: 90%;
	}
	.content-area {
		padding: 40px 10px 40px 10px;
	}
	.author-avatar,
	.author-desc {
		-ms-flex-preferred-size: 100%;
			flex-basis: 100%;
	}
	.author-avatar img {
		margin: 0 auto 20px;
	}
	.author-desc {
		text-align: center;
	}
	.iva-socials-s2,
	.tag-cloud {
		-webkit-box-flex: 1;
			-ms-flex: 1 1 100%;
				flex: 1 1 100%;
	}
	.sidebar {
		padding: 0 0 0 20px;
	}
	.govern-images {
		margin-top: 0;
	}
	.sub-header {
		padding-top: 40px;
	}
	.sub-header-title {
		font-size: 40px;
	}
	.sub-heading {
		font-size: 1.3em;
		margin-bottom: 5px;
	}
	.iva-location {
		padding: 40px 15px;
	}
	
	.flex-caption { display: none; }
	.fancy-heading-s2 .fancy-caption { font-size: 70px;}
	.fancy-heading-s2 .fancy-title { letter-spacing: 0px;}
	.slide:before { background: none !important;}
	
}

/* Smartphones and iPhone 4s(landscape)
======================================================================== */
@media only screen and (min-width: 320px) and (max-width: 424px) {
	.xcol-row [class*="xcol-"] {
		margin-left: 0;
		margin-right: 0;
		padding: 0;
	}
	.site-title { display: block;}
	.menu-left {display: none;}
	.iva-hamburger { display: block;}
	.menu-right { display: none;}
	.menu-wrap-inner {	max-width: 300px;}
	.logo-wrap { display: none;	}

	/*mobile menu*/
	.logo { margin: 8% 0; }
	.logo-inner { margin-left: 20px; }
	.logo img { margin-left: 0; max-width: 170px; }
	.iva-hamburger { right: 5%; }

	.header-bg { top: 0; }
	.menu-wrap-right { display: none; }

	.section-inner {
		max-width: 350px;
	}
	.counter-info {
		-webkit-box-flex: 1;
		    -ms-flex-positive: 1;
		        flex-grow: 1;
		text-align: center;
	}
	.follow-request {
		top: 98%;
		left: 25%;
	}
	.counters-wrap {
		-ms-flex-preferred-size: 100%;
		    flex-basis: 100%;
	}
	.at-counter {
		text-align: center;
	}
	.iva-authority .xcol-6 {
		padding: 20px 15px;
	}
	.iva-investors p {
		margin-bottom: 20px;
	}
	.iva-events .col3 {
		width: 80%;
		margin: 0 auto 20px;
		display: block;
		text-align: center;
		float: none;
	}
	.footer-inner {
		max-width: 400px;
	}
	.iva-footer .col8 {
		width: 100%;
		text-align: center;
	}
	.iva-footer .col2 {
		width: 47%;
		float: none;
		text-align: center;
	}
	.col-sm-2 {
		width: 100%;
	}
	.iva-footer .col8 {
		width: 100%;
		text-align: center;
	}
	.iva-footer .col2 {
		width: 100%;
		float: none;
		text-align: center;
	}
	.partial-content {
		padding: 20px;
	}
	.iva-townspeople,
	.iva-essentials {
		padding: 0 20px;
	}
	.copyright-left {
		-ms-flex-preferred-size: 100%;
			flex-basis: 100%;
		text-align: center;
	}
	.copyright-right {
		margin-top: 10px;
		-ms-flex-preferred-size: 100%;
			flex-basis: 100%;
	}
	.iva-skill p {
		padding: 0 20px;
	}
	.iva-skill {
		min-width: 270px;
		padding: 50px 10px 1px;
	}
	.content-area,
	.sidebar {
		width: 100%;
		border: none;
	}
	.sponser-left {
		-ms-flex-preferred-size: 100%;
			flex-basis: 100%;
	}
	.sponser-right {
		text-align: center;
	}
	.sponser-single-img img {
		margin: 0 auto;
	}
	.content-area {
		padding: 30px 30px 0px 30px;
	}
	.location-details {
		-webkit-box-flex: 1;
			-ms-flex: 1 0 100%;
				flex: 1 0 100%;
	}
	.location-socials {
		-webkit-box-flex: 1;
			-ms-flex: 1 0 100%;
				flex: 1 0 100%;
		margin-top: 20px;
		text-align: center;
	}
	.locator {
		-webkit-box-flex: 1;
			-ms-flex: 1 0 100%;
				flex: 1 0 100%;
		margin-top: 20px;
	}
	.detail {
		width: 90%;
	}
	.detail input {
		height: 30px;
	}
	.content-area {
		padding: 30px 10px 0px 10px;
	}
	.iva-socials-s2,
	.tag-cloud {
		-webkit-box-flex: 1;
			-ms-flex: 1 1 100%;
				flex: 1 1 100%;
	}
	.author-avatar,
	.author-desc {
		-ms-flex-preferred-size: 100%;
			flex-basis: 100%;
	}
	.author-avatar img {
		margin: 0 auto 20px;
	}
	.author-desc {
		text-align: center;
	}
	.sidebar {
		padding: 0 0 0 20px;
	}
	.sub-header-title {
		font-size: 35px;
	}
	.sub-heading {
		font-size: 1.1em;
		margin-bottom: 5px;
	}
	.iva-location {
		padding: 30px 15px;
	}
	.location-details {
		display: block;
	}
	.location-img {
		display: block;
		width: 100%;
	}
	.flex-caption {
		display: none;
	}
	.flexslider .slides img {
		height: 315px;
	}
	.owl-item .category,
	.overlay-title,
	.category-details:after {
		display: none;
	}
	.owl-theme .owl-dots .owl-dot span {
		width: 6px !important;
		height: 6px !important;
		margin: 3px 3px !important;
	}
	.owl-dot.active {
		padding: 2px !important;
	}
	.xcol-row {
		margin-left: 0;
		margin-right: 0;
	}
	.iva-contact{
		padding: 0 20px;
	}
	.iva-events {
		padding-left: 20px;
		padding-right: 20px;
	}
	.iva-skills-section .xcol-6 {
		margin-bottom: 0 !important;
	}
	.fancy-heading-s2 .fancy-caption { font-size: 60px;}
	.fancy-heading-s2 .fancy-title { letter-spacing: 0px;}
	.slide:before { background: none !important;}

	.follow-request {
		bottom: 0;
		left: 0;
		top: auto;
		right: 0;	
		display: table;	
		margin: 0 auto;
	}
	.footer-inner {
    	max-width: 340px;
		padding: 0 20px;
	}
	.copyright-inner {
		padding: 0 10px;
	}

}

/* Smartphones  and iPhone 5 (portrait)
======================================================================== */
@media only screen
and (max-width : 320px) {
	.site-title { display: block;}
	.menu-left {display: none;}
	.iva-hamburger { display: block;}
	.menu-right { display: none;}
	.menu-wrap-inner {	max-width: 300px;}
	.logo-wrap { display: none;	}

	.section-inner {
		max-width: 300px;
	}
	.copyright-inner,
	.footer-inner {
		max-width: 300px;
	}
	.iva-investors .col6 {
		width: 80%;
		margin: 0 auto;
		float: none;
		text-align: center;
		display: block;
	}
	.iva-investors p {
		margin-bottom: 20px;
	}
	.col-sm-2 {
		width: 100%;
	}
	.iva-footer .col8 {
		width: 100%;
		text-align: center;
	}
	.iva-footer .col2 {
		width: 100%;
		float: none;
		text-align: center;
	}
	.copyright-left {
		-ms-flex-preferred-size: 100%;
			flex-basis: 100%;
		text-align: center;
	}
	.copyright-right {
		margin-top: 10px;
		-ms-flex-preferred-size: 100%;
			flex-basis: 100%;
	}
	.sponser-left {
		-ms-flex-preferred-size: 100%;
			flex-basis: 100%;
	}
	.sponser-right {
		text-align: center;
	}
	.sponser-single-img img {
		margin: 0 auto;
	}
	.content-area {
		padding: 30px 15px 0px 15px;
	}
	.iva-socials-s2,
	.tag-cloud {
		-webkit-box-flex: 1;
		-ms-flex: 1 1 100%;
		flex: 1 1 100%;
	}
	.iva-socials li {
		display: block;
		margin: 30px 0;
	}
	.iva-events {
		padding: 0 20px;
	}	
	
	.fancy-heading-s2 .fancy-caption { font-size: 60px;}
	.fancy-heading-s2 .fancy-title { letter-spacing: 0px;}
	.slide:before { background: none !important;}
}

/* Instagram Feeds for Mobile Devices */
@media only screen and (max-width: 425px) {

	.sub-header .page-title { font-size: 32px; line-height: 32px; font-weight:700; }
	.entry-header .entry-title {
		font-size: 24px; line-height: 26px;
	}

	.entry-meta > span:not(:last-child):after { margin: 0 10px; }
	.entry-content p:first-child { font-size: inherit;}

	.iva-instagram .xcol-1 {
		width: 33.33%;
	}

	.follow-request {
		position: absolute;
		top: auto;
		bottom: 0;
		left: 0;
		right: 0;
		display: block;
		margin:0 auto;
	}

	.investors-list li {
	-webkit-box-flex: 1;
	    -ms-flex: 1 1 33.33%;
	        flex: 1 1 33.33%;
	}
	.entry-meta { margin-bottom: 10px; }

	.author-avatar { margin:0;}
	.author-more { display: table; }

	.contact-map iframe { height: 250px;}
}