@media screen and (max-device-width:767px) {
	body {
		-webkit-text-size-adjust: none;
		text-size-adjust: none;
		font-size: 14px;
		overflow: hidden;
	}

	img,iframe {
		max-width: 100% !important;
		height: auto !important;
		margin: 0 auto !important;
	}
	
	a:hover {
		text-decoration: none !important;
	}
	
	#wrap {
		width: auto !important;
		max-width: 568px !important;
		padding: 0 9px 9px 9px;
		margin: 0 auto;
		overflow: hidden;
	}
	
	#navbar,
	#navbar:before,
	#navbar-content,
	#navbar nav {
		width: 100% !important;
		height: 40px !important;
	}

	#gheader {
		width: 92px;
		left: 10px;
		z-index: 100;
	}
	
	#gheader h1 a {
		display: block;
		padding: 5px 0;
		z-index: 100;
	}
	#gheader img {
		width: 74px;
		height: 30px;
	}
	
	#navbar {
		position: absolute;
		width: 100% !important;
	}

	#navbar nav {
		position: relative;
		display: block;
		top:0;
		left: 0;
		right: 0;
		border: none;
	}


	#mnav-trigger {
		position: absolute;
		display: block !important;
		top:2px;
		right: 2px;
		margin: 0;
		width: 36px;
		height: 36px;
		white-space: nowrap;
		overflow: hidden;
		color: rgba(0,0,0,.8);

	}

	nav h2#mnav-trigger:before {
		content: "\F0C9";
		font-family: FontAwesome !important;
		display: block;
		width: 36px;
		height: 36px;
		padding: 0;
		text-align: center;
		margin-right: 1em;
		font-size: 22px;
		line-height: 38px;
		text-decoration: none;
	}

	nav h2#mnav-trigger.open:before {
		opacity: .5;
	}
	
	#mnav {
		position: absolute;
		display: none;
		top:44px;
		right: 5px;
		list-style-type: none;
		margin: 0;
		padding: 0;
		z-index: 100;
		font-size: 0;
		line-height: 0;
		background-color:rgba(240,228,233,0.95);
		-webkit-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
		-moz-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
		box-shadow: 0px 0px 6px rgba(0,0,0,.3);
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px;
		padding: 4px 0;
	}

	#mnav:after{
		content: "";
		position: absolute;
		top:-8px;
		right: 8px;
		width:0;
		height: 0;
		border-bottom: solid 8px rgba(240,228,233,0.95);
		border-right: solid 8px transparent;
		border-left: solid 8px transparent;
	}
	
	
	#gnav li,
	#snav li,
	#rnav li {
		display: block;
		padding: 0;
		position: relative;
		margin: 0;
	}
	
	#gnav li a,
	#snav li a,
	#rnav li a {
		display: block;
		font-size: 16px;
		line-height: 16px;	
		color:#8f2653;
		padding: 6px 8px;
		white-space: nowrap;
	}

	#gnav li a {
		font-size: 24px;
		line-height: 24px;
	}
	.at16t_compact {
		display: none !important;
	}
	/* main
	----------------------------------------------------- */

	#main {
		width: auto;
		height: auto;
	}
	
	#main-content {
		width: auto;
		max-width: 480px;
		padding: 80px 0 0px 0;
		margin: 0 auto;
	}
	
	#main-content h2 {
		display: block !important;
		font-size: 14px;
		font-family: 'LibreCaslonText-Regular', 'Times', serif;
		font-weight: normal;
		background-color:rgba(133,13,65,0.95);
		margin: 0;
		padding: 5px 10px;
		color: #fff;
		position: absolute;
		box-sizing: border-box;
		width: 100%;
		left: 0px;
		top:40px;
	}
	
	
	/* portfolio
	----------------------------------------------------- */

	ul#photo-thumbs {
		margin: 0 -10px 0 -10px;
		max-width: 480px;
		display: block !important;
	}
	
	@media (orientation:landscape) {
		ul#photo-thumbs {
			margin: 0 auto;
		}
		.pf-image img {
			max-width: 300px !important;
		}
	}
	
	ul#photo-thumbs li {

		margin: 0 0 10px 10px;
	}
	
	ul#photo-thumbs li a:before {
		content:attr(data-title);
	display: block;
	z-index: 2;
	position: absolute;
	background-color: rgba(22,6,11,.5) !important;
	font-size: 11px;
	min-height: 2em;
	font-family: 'LibreCaslonText-Regular', 'Times', serif;
	line-height: 1.2;
	top:auto;
	bottom: 5px;
	left: 5px;
	right: 5px;
	padding: 3px;
	opacity: 1;
	}

	ul#photo-thumbs li img {
		width: 135px;
		height: 180px;
		border: solid 5px #fff;
	}
	
	.pf {
		max-width: 336px !important;
		margin: 0 auto;
		box-sizing: border-box;
		padding: 10px 10px !important;

	}
	
	
	.portfolio .fancybox-prev span {
		left:-23px !important;

	}


	.portfolio .fancybox-next span {
		right:-23px !important;
	
	}
	
	.portfolio .fancybox-prev span:before,
	.bx-prev:before,
	.portfolio .fancybox-next span:before,
	.bx-next:before {
		font-family: FontAwesome;
		font-size: 48px;
		line-height: 32px;

	}

	.portfolio .fancybox-prev span,
	.portfolio .fancybox-next span {
		top: 28% !important;
	}

	
	.pf-text {
		width: auto;
		float: none;
	}
	
	.pf-image {
		width: 100%;
		height: auto !important;
		float: none;
		margin-bottom: 20px;
	}
	
	.pf-image p {
		border: solid 8px #fff;

	}
	
	
	.portfolio .fancybox-close {
		right: -22px !important;
		top: -22px !important;
	}

	
	/* design & price
	----------------------------------------------------- */
	.dp-text {

		position: relative;
		width: auto;
		height: auto;
		padding: 10px 0px 0px 0px;
		color: #8f2653;
		background-color: #fff;
		background-image: -webkit-linear-gradient(top left, rgba(255,255,255,1) 0%, rgba(255,255,255,.85) 50%,rgba(255,255,255,.85) 100%);
		z-index: 10;
	}
	.dp-text p {
		width: auto;
	}
	
	.dp-image {
		width: auto;
		height: auto;
		max-width: 100%;
		margin-bottom: 0px;
	}
	
	.designandprice .bx-prev,
	.designandprice .bx-next {
		top: 23% !important;
	}

	@media (orientation:landscape) {
		.designandprice .bx-prev,
		.designandprice .bx-next {
			top: 33% !important;
		}
	}
	
	#price {
		border-top:0;
	}
	
	#price h3 {
		float: none;
		width: auto;
	}
	
	.pr-main {
		width: auto;
		float: none;
		position: relative;
		margin: -3px 0;
	}


	.pr-main dl.pr dt,
	.pr-main dl.pr dd {
		font-size: 14px;
	}
	
	dl.pr dt {
	    width:6em;
	    white-space: normal;
    }
	
	dl.pr dd dl {
		margin: -17px 0px -17px 0px;
		top:-1px;
	}
	
	dl.pr dd {
    	margin-left:6em;
    
    }
	
	ol.stat {
		margin-bottom: 0;
	}
	
	ol.stat>li {
		width: auto;
		float: none;
		margin-right: 0;
		margin-bottom: 30px;
		min-height: 0;
		padding: 10px;
	}
	
	ol.stat li:nth-child(4) {

		background-position: right -10px;
		background-size: 75px 42px
	}

	
	ol.stat>li:last-child {
		margin-bottom: 0;
	}
		
	ol.stat>li h4 {
		margin: 0;
	}
	
	ol.stat>li:before {
		top: -.75em;
		left: -.75em;
	}
	
	ol.stat>li:after {
		position: absolute;
		top:auto;
		bottom:-28px;
		margin-left: -12px;
		left: 50%;
		font-family: FontAwesome;
		font-size: 24px;
		line-height: 1;
		color: #ede1e6;
		content: "\f063";
	}
	
	ol.stat li>ul li img {
		margin-right: 2px !important;
	}
	
	/* contact
	----------------------------------------------------- */
	
	#main-content-m {
		width: auto;
		float: none;
		border: 0;
		padding: 0;
		
	}
	
	#main-content-s {
		width: auto;
		float: none;
		margin-bottom: 2.5em;
	}
	
	#main-content-s h3 {
		margin-top: 1em;
	}
	
	#contactform dd,
	#contactform p {
		display: block;
	}

	#contactform input[type=text]:not(#captcha),
	#contactform input[type=submit],
	#contactform .select,
	#contactform select,
	#contactform textarea {
		display: block !important;
		min-width: 100% !important;
		max-width: 100% !important;
		width: 100% !important;
	}
	
	
	#submit {
		padding-right: 0;
	}
	
	.send #submit {
		padding-bottom: 30px;
		background: url(images/bx_loader.gif) no-repeat center bottom;
		background-size: 16px 16px;
	}
	
	#main-content-s dt,
	#main-content-s dd {

		margin: 0 0 0 0;
	}
	
	  .blog #main-content-s {
	      display:none;
	  }
	  #bnav-rss {
	      
	  }
	/* footer
	----------------------------------------------------- */
	#footer-content {
		display: block;
		width: auto;
		padding: 8px 10px;
		margin: 0 auto;
	}

	/* legal
	----------------------------------------------------- */
	.legal .fancybox-close {
		right: 5px !important;
		top: 5px !important;
	}


}



@media screen and (max-device-width:767px) and (orientation:landscape) {

}