@media (max-width: 1199px) {
header .logo-container {
	max-width:290px;
	height:85px;
}

header .logo {
top:10px;
}

body.sticky-menu-active header.big-logo .logo { 
top:10px;
}

/*404 page*/
section.page-not-found .page-not-found-links {
	margin-right:10px;
}

/*Home Boxes*/
div.home-boxes div.home-boxes-overlay {	
padding-right:5px;
padding-left:5px;	
}

div.home-boxes div.home-boxes-overlay h1,
div.home-boxes div.home-boxes-overlay h2 {	
font-size:19px;	
}

div.home-boxes div.home-boxes-overlay p {	
padding-right:10px;
padding-left:10px;	
}


/*Slider tower image*/
div.slider  ul  li  div.slide-tower img {
	opacity:0;
}

}

@media (max-width: 991px) {

	body {
		padding-top: 0 !important;
	}

header .logo-container {
	max-width:30%;
	height:75px;
}

header .logo {
top:5px;
}

	/* Header */
	header {
	position: relative;
	}

	header .container {
		width: auto;
	}

	header div.cart {
		display: none;
	}


/*Home Boxes*/
div.main div.container div.home-boxes div.home-boxes-2boxes {
width:100%;
float:none;
}
 
 div.home-boxes div.home-boxes-overlay h1 {	
font-size:20px;	
}

	/* Aside */
	aside {
		clear: both;
	}


	header > div.container {
		margin-bottom: 0;
	}
	
	/* Social Icons */
	header div.social-icons {
		display: none;
	}


	/* Thumb Info */
	a.thumb-info span.thumb-info-title {
		font-size: 14px;
	}

	a.thumb-info span.thumb-info-more {
		font-size: 11px;
	}

	/* Featured Boxes */
	div.featured-boxes.secondary div.featured-box,
	div.featured-boxes.tertiary div.featured-box {
		margin-bottom: 35px;
	}

	/* Portfolio */
	div.portfolio-title div.portfolio-nav {
		display: none;
	}

	/* Counters */
	div.counters label {
		margin-bottom: 20px;
	}

	/* Disable Parallax */
	.parallax {
		background-position: 0 50% !important;
		background-size: auto !important;
	}

	/* Misc */
	.thumbnail {
		border: 0;
	}

	/* Isotope */
	div.sort-source-wrapper.full-width {
		margin-top: -60px;
	}

	ul.sort-destination.isotope {
		overflow: visible !important;
		height: auto !important;
	}

	ul.sort-destination.full-width.isotope {
		overflow: hidden !important;
	}

	.isotope-item {
		position: static !important;
		text-align: center;
		width: 100%;
		margin-left: auto;
		margin-right: auto;
		-moz-transform: none !important;
		-ms-transform: none !important;
		-o-transform: none !important;
		-webkit-transform: none !important;
		transform: none !important;
	}

	.isotope-hidden {
		display: none !important;
	}

	/* Team */
	ul.team-list div.team-item {
		margin: 0 auto 35px;
		max-width: 270px;
	}

	/* Isotope Grid Fixes */
	.isotope-item.col-md-3 {
		max-width: 292px;
	}

	/* Timeline */
	section.timeline .timeline-box,
	section.timeline .timeline-box.right {
		float: none;
		clear: both;
		right: auto;
		left: auto;
		margin: 25px auto;
		max-width: 70%;
		width: auto;
	}

	section.timeline .timeline-box.left:after,
	section.timeline .timeline-box.right:after,
	section.timeline .timeline-box.left:before,
	section.timeline .timeline-box.right:before  {
		display: none;
	}

	/* Call to Action */
	section.call-to-action .btn {
		clear: both;
		display: block;
		float: none;
		margin: 20px auto !important;
		max-width: 250px;
	}

	/* Footer Phone */
	footer span.phone {
		font-size: 20px;
	}

	/* Scroll to Top */
	a.scroll-to-top {
		display: none !important;
	}


/* flat mega menu */
/* submenu image container layout */
.Flat_mega_menu ul li .submenu.img_container {
	right:5px;
}


 /*404 page*/
section.page-not-found .page-not-found-main {
	margin-left:0px;
}

section.page-not-found h2 {
	font-size: 60px;
	line-height: 60px;
}


section.page-not-found .page-not-found-links {
	margin-right:0px;
}
 


}


@media (max-width: 850px) {
/* menu a tag layout */
.Flat_mega_menu ul li a {
	font-size:14px;
}	
}

@media (max-width: 767px) {

header .logo-container {
	min-width:262px;
	height:65px;
	position:relative;
	border:0;
	margin-top:5px;
}

header .logo {
top:0;
}
	

/*Home Boxes*/
div.main div.container div.home-boxes div.home-boxes-2boxes {
height:auto;
}


div.main div.container div.home-boxes div.home-boxes-1box {
float:none;
width:80%;
height:300px;
margin:0 auto 30px auto;
}

div.main div.container div.home-boxes div.home-boxes-wide {
width:80%;	
height:300px;
margin:0 auto 30px auto;
}


/*Products Boxes*/
div.product-left,
div.product-right {
float:none;
width:100%;	
}

	/* Base */
	h1.big {
		font-size: 3.2em;
		line-height: 42px;
	}

	/* Misc */
	.center-sm {
		text-align: center;
	}

	
	/* Header */

	header > div.container {
		width: 100%;
	}

	header.big-logo div.header-top {
		display: none;
	}


	/* Sort */
	div.sort-source-wrapper {
		background: #2D343E;
		margin-top: -20px;
	}

	.sort-destination,
	.isotope-item {
		margin-left: auto !important;
		margin-right: auto !important;
		max-width: 380px;
	}

	.sort-destination.full-width,
	.sort-destination.full-width .isotope-item {
		max-width: none;
	}

	/* Caption */
	div.slider > ul > li > div.caption {
		margin-left: 20px !important;
	}

	div.slider > ul > li > div.center-caption {
		margin-left: 0 !important;
	}

	/* Home Carousel */
	div.main-carousel .owl-carousel .owl-item > div {
		top: 70px !important;
	}

	/* Pricing Tables */
	div.pricing-table {
		margin-left: 0px;
	}

	div.pricing-table div.plan {
		margin-right: 0;
	}

	/* Map */
	div.map-overlay {
		margin-top: 0;
		width:100%;
	}
	
	
	div.google-map {
	
	}
	
	/* Masonry */
	.masonry-list {
		margin: 0 2% !important;
		width: 96% !important;
	}

	.masonry-list.full {
		margin: 0 3% !important;
		width: 93% !important;
	}

	.masonry-list .masonry-item {
		float: none !important;
		width: auto !important;
		margin: 0 0 25px 0 !important;
		position: static !important;
	}

	/* Footer Phone */
	footer span.phone {
		font-size: 20px;
	}


/* flat mega menu */
/* flat mega menu */


/* mobile button layout */
.container .mobile_button{
	opacity:0;
	display: block;
	position: absolute;
	right: 5px;
	top: 5px;
	z-index: 999;
	height: 60px;
	width: 60px;
	cursor:pointer;
}

/* fontawesome icon layout */
.container .fa.fa-bars {
	display: block;
	position: absolute;
	right: 20px;
	top: 20px;
	color: #BBBBBB;
	font-size: 40px; 
}


/* menu checkbox button layout */
 .mobile_button:checked + .Flat_mega_menu {
	display:block;
}

.Flat_mega_menu {
	width: 100%;
	display:none;
}

.Flat_mega_menu ul {
	height:auto;
}

/* menu list items layout */
.Flat_mega_menu > ul > li {
	position: relative !important;
	height:auto !important;
	width: 100% !important;
}



/* submenu one_col + submenu two_col layout */
.Flat_mega_menu > ul > li > .submenu.one_col,
.Flat_mega_menu > ul > li > .submenu.two_col {
	position: static;
	clear:both;
	z-index:999;
	width: 100%;
	display: none;
	border-left: none;
	border-right: none;
	border-top: 1px solid #E4E4E4;
	
}


/* submenu one_col or two_col list item layout */
.Flat_mega_menu ul li .submenu.one_col li,
.Flat_mega_menu ul li .submenu.two_col li {
	width:100%;
	float:none;
}

/* submenu one_col or two_col a tag layout */
.Flat_mega_menu ul li .submenu.one_col li a,
.Flat_mega_menu ul li .submenu.two_col li a {
	white-space: normal;
	text-align:left;
	float:none;
	width:auto;
}

/* submenu one_col with left image */
.Flat_mega_menu ul li .submenu.one_col li a img{
	margin-left:30%;
}



/* submenu image container layout */
.Flat_mega_menu ul li .submenu.img_container {
	position: static;
	clear:both;
	height:485px;
	width: 100%;
	display: none;
	z-index:999;
	border-top: 1px solid #E4E4E4;
}
/* submenu image container list items layout */
.Flat_mega_menu ul li .submenu.img_container li {
	width: 40.6%;
	margin: 2% 4% 55px;
}

/* submenu image container title class layout */
.Flat_mega_menu ul li .submenu.img_container .title {
	font-size: large;
	margin-left: 4%;
}


/* submenu image container 4 images */
.Flat_mega_menu ul li .submenu.img_container.half {
	position: static;
	clear:both;
}



/* submenu image container 4 images layout  */
.Flat_mega_menu ul li .submenu.img_container.half li {
	clear: both;
}

/* submenu image container with four column list items layout */
.Flat_mega_menu ul li .submenu.img_container.half .two_col li {
	float: left;
	clear: none;
	width: 97.5%;
}

/* submenu image container with four column title class layout */
.Flat_mega_menu ul li .submenu.img_container.half .two_col .title {
	width: 97%;
}

/* submenu image container with four column title class layout */
.Flat_mega_menu ul li .submenu.img_container.half .two_col .title:nth-child(2) {
	display:none;
}

/* submenu image container with four column a tag lyout */
.Flat_mega_menu ul li .submenu.img_container.half .two_col li a {
	width: auto;
	padding-right: 5%;
}

/* submenu with four column layout */
.Flat_mega_menu ul li .submenu.four_col {
	position: static;
	clear:both;
	display: none;
	z-index:999;
}

/* submenu with four column a tag layout */
.Flat_mega_menu ul li .submenu.four_col li a {
	width:auto;
}


/* submenu with four column title class layout */
.Flat_mega_menu ul li .submenu.four_col .title{
	margin-bottom: 16px;
}

/* user_login + search_bar class layout */
.Flat_mega_menu ul .user_login,
.Flat_mega_menu ul .search_bar {
	width: 100%;
}
/* search bar layout */
.Flat_mega_menu ul .search_bar ul {
	width: 100%;
	position: static;
	clear:both;
	z-index:999;
	display: none;
	left:0;
	border-top: 1px solid #E4E4E4;
}

/* search bar input text field layout */
.Flat_mega_menu ul .search_bar ul form input:first-child {
	width: 71.5%;
	margin: 17px 1% 17px 4%;
	font-size: medium;
}

/* search bar submit button layout */
.Flat_mega_menu ul .search_bar ul form input:last-child {
	width: 18%;
	position: relative;
	top: 1px;
	height: 48px;
}

/* user login form layout */
.Flat_mega_menu ul .user_login ul {
	width: 100%;
	position: static;
	clear:both;
	z-index:999;
	left: 0px;
	padding: 0px;
	display: none;
	border-top: 1px solid #E4E4E4;
}

/* user login form table layout */
.Flat_mega_menu ul .user_login table{
	width:100%
}
/* user login form input field layout */
.Flat_mega_menu ul .user_login table tr:nth-child(2) td input,
.Flat_mega_menu ul .user_login table tr:nth-child(4) td input {
	height: 27px;
	width: 93%;
}

/* user login form input field layout */
.Flat_mega_menu ul .user_login table tr:last-child td input {
	width: 94%;
	margin-top: 15px;
	margin-bottom: 18px;
}

/* user login form table layout */
.Flat_mega_menu ul .user_login ul form table tr td {
	text-indent: 3%;
}


 /*404 page*/
section.page-not-found .page-not-found-main,
section.page-not-found .page-not-found-links,
section.page-not-found li,
section.page-not-found hr {
	width:100%;
} 

section.page-not-found {
	margin-top:0;
} 

section.page-not-found .page-not-found-main {
	margin-bottom:20px;
} 


}




@media (max-width: 479px) {

	/* Base */
	body {
		font-size: 13px;
	}

	h2 {
		line-height: 40px;
	}


	/*Home Boxes*/
	div.home-boxes div.home-boxes-overlay h2 .hide-words {	
	display:none;	
	}
	
	div.home-boxes div.home-boxes-overlay .narrow-p {	
	margin-bottom:15px;		
	}
	
	/*Products Boxes*/
div.product-container h2 {
	line-height:18px;
	font-size:20px;
}


	/* Misc */
	.center-xs {
		text-align: center;
	}


	/* Arrow */
	span.arrow {
		display: none;
	}

	/* Home Carousel */
	div.main-carousel .owl-carousel .owl-item > div {
		-moz-transform: none !important;
		-webkit-transform: none !important;
		transform: none !important;
		top: 50px !important;
	}

	div.main-carousel a.carousel-nav,
	div.main-carousel a.carousel-nav:hover {
		-moz-transform: scale(0.8);
		-webkit-transform: scale(0.8);
		transform: scale(0.8);
	}

	div.main-carousel a.carousel-nav.prev {
		-webkit-border-radius: 0 100% 100% 0;
		-moz-border-radius: 0 100% 100% 0;
		border-radius: 0 100% 100% 0;
		left: -20px;
	}

	div.main-carousel a.carousel-nav.next {
		-webkit-border-radius: 100% 0 0 100%;
		-moz-border-radius: 100% 0 0 100%;
		border-radius: 100% 0 0 100%;
		right: -20px;
	}

	div.main-carousel {
		margin-bottom: -80px;
	}

	/* Page Top */
	section.page-top h2 {
		line-height: 38px;
	}

	section.page-top div.page-top-info.with-slider {
		margin-bottom: -50px;
		margin-top: -55px;
	}

	section.page-top .parallax {
		min-height: 200px;
	}

	/* Blog */
	ul.comments li {
		border-left: 8px solid #DDDDDD;
		clear: both;
		padding: 0 0 0 10px;
	}

	ul.comments li div.img-thumbnail,
	ul.comments div.comment-arrow {
		display: none;
	}

	article.post-large-image div.post-image,
	article.post-large-image div.post-date,
	article.post-large-image {
		margin-left: 0;
	}


	/* Featured Boxes */
	div.featured-boxes div.featured-box {
		max-width: none;
	}

	/* Sort */
	.sort-destination,
	.isotope-item {
		margin-left: auto !important;
		margin-right: auto !important;
		max-width: 240px;
	}

	.sort-destination.full-width {
		margin-top: -35px;
	}

	.sort-destination.full-width .isotope-item {
		position: static !important;
		clear: both;
		float: none;
		width: auto;
	}

	.sort-destination.full-width .isotope-item .img-thumbnail {
		width: 100%;
	}

	.sort-destination.full-width .isotope-item .img-thumbnail,
	.sort-destination.full-width .isotope-item a,
	.sort-destination.full-width .isotope-item .thumb-info img {
		text-align: center;
	}

	div.sort-source-wrapper {
		display: none;
	}

	/* History */
	ul.history li div.thumb {
		display: none;
	}

	ul.history li div.featured-box {
		margin-left: 0;
	}

	/* Timeline */
	section.timeline {
		width: auto;
		float: none;
		margin-left: 0;
		margin-right: 0;
	}

	section.timeline .timeline-box,
	section.timeline .timeline-box.right {
		margin: 15px auto;
		max-width: 90%;
	}

	/* Thumb Info */
	.thumb-info img {
		margin: 0 auto;
	}

	/* Shop */
	div.shop .actions-continue {
		float: none;
	}

	div.shop table.cart th.product-price,
	div.shop table.cart td.product-price,
	div.shop table.cart th.product-quantity,
	div.shop table.cart td.product-quantity {
		display: none;
	}
	
/* flat mega menu */	
/* search bar input text field layout */
.Flat_mega_menu ul .search_bar ul form input:first-child {
	width: 57.5%;
	margin: 17px 1% 17px 6%;
}

/* search bar submit button layout */
.Flat_mega_menu ul .search_bar ul form input:last-child {
	width: 27%;
}

/* submenu one_col with left image */
.Flat_mega_menu ul li .submenu.one_col li a img{
	margin-left:20%;
}


}


@media screen and (max-width:320px){
	
header .logo-container {
min-width:80%;
}	

header .logo {
top:5px;	
}


/* flat mega menu */	
/* flat mega menu */

/* mobile button layout */
.container .mobile_button{
	right: 5px;
	top: 2px;
	height: 40px;
	width: 40px;
}

/* fontawesome icon layout */
.container .fa.fa-bars {
	right: 11px;
	top: 10px;
	font-size: 35px; 
}

/* submenu one_col with left image */
.Flat_mega_menu ul li .submenu.one_col li a img{
	margin-left:10%;
}
	
/* submenu image container layout */
.Flat_mega_menu ul li .submenu.img_container {
height:auto;
}
	
/* submenu image container list items layout */
.Flat_mega_menu ul li .submenu.img_container li {
	float: none;
	width: 81.5%;
	margin: 2% 8% 55px;
}
/* submenu image container title class layout */
.Flat_mega_menu ul li .submenu.img_container .title {
	font-size: large;
	margin-left: 8%;
}


/* search bar input text field layout */
.Flat_mega_menu ul .search_bar ul form input:first-child {
	width: 57.5%;
	margin: 17px 1% 17px 6%;
}

/* search bar submit button layout */
.Flat_mega_menu ul .search_bar ul form input:last-child {
	width: 27%;
}
/* user login form input field layout */
.Flat_mega_menu ul .user_login table tr:nth-child(2) td input,
.Flat_mega_menu ul .user_login table tr:nth-child(4) td input {
	height: 27px;
	width: 88%;
}

/* user login form input field layout */
.Flat_mega_menu ul .user_login table tr:last-child td input {
	width: 89%;
	margin-top: 15px;
	margin-bottom: 18px;
}

/* user login form table layout */
.Flat_mega_menu ul .user_login ul form table tr td {
	text-indent: 5%;
}


/*Home Boxes*/
div.main div.container div.home-boxes div.home-boxes-1box,
div.main div.container div.home-boxes div.home-boxes-wide {
width:100%;
}


}

@media screen and (max-height:570px){
	
/* Google Maps */
div.google-map {
	height: 300px;
}	
}


@media screen and (max-height:470px){
	
/* Google Maps */
div.google-map {
	height: 200px;
}	
}