@media screen and (max-width: 1340px) { 
	.wrap {
		width: 90%;
		padding: 0 0 0 0;
		margin: 0 5% 0 5%;
		box-sizing: border-box;
	}

}

@media screen and (max-width: 1115px) { 
	

	.header-box .header-box-img {
		width: 15%;
		margin-right: 15px;
	}

}

@media screen and (max-width: 850px) { 

	.menu {
		display: block;

	}
	nav {
		z-index: 99999;
	}
	nav ul {
		background-color: #ffffff;
		position: fixed;
		width: 0px;
		right: 0;
		z-index: 99;
		top: 0;
		height: 100vh;
		box-sizing: border-box;
		box-shadow: 0 0 10px rgb(0 0 0 / 10%);
		padding: 0px 20px 150px 20px;
		height: 100%;
		overflow: auto;
		margin-top: 85px;
		opacity:0;
		-webkit-transition: all 0.5s ease-in-out;
		-moz-transition: all 0.5s ease-in-out;
		-ms-transition: all 0.5s ease-in-out;
		-o-transition: all 0.5s ease-in-out;
		transition: all 0.5s ease-in-out;
		margin-right: -50px;

	}
	.menu {
		position: relative;
		z-index: 999;
		margin: 0 0 0 15px;
	}
	.nav-menu {
		width: 350px;
		opacity: 1;
	}

	nav li {
		width: 100% !important;
		padding: 10px 0 !important;
		margin: 0!important;
		color: #444 !important;
	}

	.nested-menu {
		opacity: 1;
		display: block;
		height: auto;
		position: relative;
		margin: 0;
		width: 100%;
		background-color: transparent;
		box-shadow: none;
		color: #777 !important;
		padding: 10px 0 10px 20px;
	}

	.nested-menu div {
		display: list-item;
		padding: 10px 10px;
	}

	.nested-menu div:hover {
		background: transparent;
	}

	nav ul li:hover .nested-menu {
		height: auto!important;
	}




	h1 {
		font-size: 40px;
	}

	h2 {
		font-size: 35px;
	}

	h3 {
		font-size: 25px;
	}

	h4 {
		font-size: 20px;
	}

}

@media screen and (max-width: 1000px) { 
	.gallery-thumb {
		padding-top: 120px;
		height: 120px;
	}

	.layout-left .inline-box-showmore,
	.layout-right .inline-box-showmore {
		float: none;
		margin-left: 70px;
		margin-top: 5px;
	}

	.pricelist {
		width: 80%;
		margin: 0;
	}
}
@media screen and (max-width: 950px) { 

    .header-box .header-box-img {
		width: 100%;
		margin-bottom: 5px;
		height: 40px;
	}
	.header-box {
		height: 190px;
		text-align: center;
	}

}
@media screen and (max-width: 900px) { 
	

	.gallery-thumb {
		width: 32.1%;
		margin-bottom: 30px;
		padding-top: 140px;
		height: 140px;
	}


	h1 {
		font-size: 35px;
		margin: 0 0 25px;
	}

	h2 {
		font-size: 30px;
		margin: 0 0 20px;
	}

	h3 {
		font-size: 20px;
		margin: 0 0 15px;
	}

	h4 {
		font-size: 20px;
		font-weight: 400;
		margin: 0;
	}

	h5 {
		font-size: 17px;
	}

	header {
		height: 580px;
	}

	section {
		padding: 40px 0 40px 0;
	}

	.inline-images-small {
		width: 20%;
	} 

	.lightbox-media {
		width: 90%;
	}

	.lightbox-right {
		background-position: 90% 50%;
		background-size: 25px;
	}

	.lightbox-left {
		background-position: 10% 50%;
		background-size: 25px;
	}

    .lightbox-right:hover, 
    .lightbox-left:hover,
    .lightbox-close:hover {
    	background-color: transparent;
    }
    
	.lightbox-close {
		background-position: 80% 20%;
		background-size: 25px;
		border-radius: 0;
		width: 80px;
		height: 80px;
		margin: 0;
	}
}

@media screen and (max-width: 840px) { 
	.layout-top {
		text-align: left;
	}
	body {
		font-size: 15px;
	}
}

@media screen and (max-width: 780px) { 

	.layout-left,
	.layout-right {
		width: 100%;
		margin: 0;
	}

	.layout-right {
		margin-top: 20px;
	}


	.layout-top {
		margin-bottom: 20px;
	}
}


@media screen and (max-width: 720px) { 
	.menu {
		font-size: 0;
		padding: 0;
		width: 80px;
		margin-left: 15px;
		margin-right: -30px;
	}
    .first-header-box {
    	display: none;
    }
    .header-box {
    	width: 49%;
    	padding-left: 5px;
    	padding-right: 5px;
    }

}

@media screen and (max-width: 650px) { 

	.gallery-thumb {
		width: 32.1%;
		padding-top: 120px;
		height: 120px;
		font-size: 13px;
	}

}
@media screen and (max-width: 620px) { 
	nav button {
		display: none;
	} 
	.footer-box {
		width: 50% !important;
		display: inline-block !important;
		margin-bottom: 40px;
	}

	section {
		padding: 30px 0 30px 0;
	}

    .lightbox-right {
		background-position: 90% 95%;
	}

	.lightbox-left {
		background-position: 10% 95%;
	}

	.lightbox-media {
		width: 99%;
	}
}

@media screen and (max-width: 510px) { 
	.gallery-thumb {
		width: 48%;
		margin-right: 1%;
		padding-top: 100px;
		height: 100px;
	}
	.footer-box {
		width: 100% !important;
	}

	.inline-images-small {
		width: 29.8%;
		height: 60px;
		background-position: 0 50%;
	} 

	h1 {
		font-size: 30px;
		margin: 0 0 20px;
	}

	h2 {
		font-size: 27px;
		margin: 0 0 15px;
	}

	h3 {
		font-size: 22px;
		margin: 0 0 10px;
	}

	h4 {
		font-size: 18px;
	}
	h5 {
		font-size: 16px;
	}
	.slogan button {
		margin-top: 20px;
	}
}

@media screen and (max-width: 495px) { 

}

@media screen and (max-width: 450px) { 
	.nav-menu {
		width: 100%;
		margin-right: 0;
	}
	.slogan {
		top: 130px;
	}

}


@media screen and (max-width: 340px) { 
	.gallery-thumb {
		width: 100%;
		margin-right: 0%;
		padding-top: 130px;
		height: 130px;
	}

	header {
		height: 600px;
	}

	h1 {
		font-size: 25px;
	}

	h2 {
		font-size: 22px;
	}

	h3 {
		font-size: 20px;
	}

	h4 {
		font-size: 16px;
	}
	h5 {
		font-size: 15px;
	}
}
