@media screen and (min-width: 1981px) {
	.header-page {
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		background-size: cover;
	}
	.g-block {
		margin: 0 auto;
	}
}
@media screen and (max-width: 1500px) {
	.gallery ul li {
		width: 33.3333%;
	}
	footer .container > div {
		float: none;
		text-align: center;
	}
}
@media screen and (max-width: 1370px) {
	.container {
		padding: 0 100px;
	}
	.header-page .icon {
		right: 100px;
	}
	nav {
		width: 300px;
	}
	.content {
		margin-right: 300px;
	}
}
@media screen and (max-width: 1280px) {
	.container {
		padding: 0 30px;
	}
	.header-page .icon {
		right: 30px;
	}
	footer ul li {
		font-size: 14px;
	}
}
@media only screen and (max-width: 991px) {
	.fancybox-prev {
		left: 0px;
	}
	.fancybox-next {
		right: 0px;
	}
	.fancybox-prev span {
		left: 25px;
	}
	.fancybox-next span {
		right: 25px;
	}
	.fancybox-close {
		right: 0;
		top: -30px;
	}
	nav {
		display: block;
		padding-top: 120px;
	}
	nav ul {
		display: block;
	}
	.search {
		width: 240px;
		float: right;
	}
	.header-page .icon {
		right: 30px;
	}
	.search input[type=submit] {
		width: 60px;
	}
	.content {
		margin: 0;
	}
	.burger {
		display: block;
	}
	nav {
		position: relative;
	}
	nav ul {
		height: 100%;
		overflow-y: auto;
	}
	nav ul li {
		padding-right: 30px;
	}
	/* NAVIGATION ANNIMATION */
	nav {
		width: 93%;
		height: 100%;
		position: fixed;
		text-align: right;
		right: 0;
		top: 0;
		margin: 0;
		background-color: #151515;
		/* starting point */
		-webkit-transform: translate3d(5%,0,0);
		-moz-transform: translate3d(5%,0,0);
		transform: translate3d(5%,0,0);
	}
	/*Nav Expanding Open Effect*/
	nav.open {
		opacity: 1;
		-webkit-transform: translate3d(0,0,0);
		-webkit-animation: slideIn .35s ease-in-out;
		-moz-transform: translate3d(0,0,0);
		-moz-animation: slideIn .35s ease-in-out;
		transform: translate3d(0,0,0);
		animation: slideIn .35s ease-in-out;
	}
	@-webkit-keyframes slideIn {
		0% {
			-webkit-transform: translate3d(5%,0,0);
		}
		100% {
			-webkit-transform: translate3d(0,0,0);
		}
	}
	@-moz-keyframes slideIn {
		0% {
			-moz-transform: translate3d(5%,0,0);
		}
		100% {
			-moz-transform: translate3d(0,0,0);
		}
	}
	@keyframes slideIn {
		0% {
			transform: translate3d(5%,0,0);
		}
		100% {
			transform: translate3d(0,0,0);
		}
	}
	/*Nav Shrinking Closed Effect*/
	nav.close {
		-webkit-transform: translate3d(5%,0,0);
		-webkit-animation: slideOut .3s ease-in-out;
		-moz-transform: translate3d(5%,0,0);
		-moz-animation: slideOut .3s ease-in-out;
		transform: translate3d(5%,0,0);
		animation: slideOut .3s ease-in-out;
	}
	@-webkit-keyframes slideOut {
		0% {
			-webkit-transform: translate3d(0,0,0);
		}
		100% {
			-webkit-transform: translate3d(5%,0,0);
		}
	}
	@-moz-keyframes slideOut {
		0% {
			-moz-transform: translate3d(0,0,0);
		}
		100% {
			-moz-transform: translate3d(5%,0,0);
		}
	}
	@keyframes slideOut {
		0% {
			transform: translate3d(0,0,0);
		}
		100% {
			transform: translate3d(5%,0,0);
		}
	}
	/* CONTENT ANNIMATION */
	.content {
		/* starting point */
		-webkit-transform: translate3d(0,0,0);
		-moz-transform: translate3d(0,0,0);
		transform: translate3d(0,0,0);
		z-index: 1;
	}
	/*Content Sliding Open Effect*/
	.content.open {
		-webkit-transform: translate3d(-240px,0,0);
		-webkit-animation: open .5s ease-in-out;
		-moz-transform: translate3d(-240px,0,0);
		-moz-animation: open .5s ease-in-out;
		transform: translate3d(-240px,0,0);
		animation: open .5s ease-in-out;
	}
	@-webkit-keyframes open {
		0% {-webkit-transform: translate3d(0,0,0);}
		70% {-webkit-transform: translate3d(-260px,0,0);}
		100% {-webkit-transform: translate3d(-240px,0,0);}
	}
	@-moz-keyframes open {
		0% {-moz-transform: translate3d(0,0,0);}
		70% {-moz-transform: translate3d(-260px,0,0);}
		100% {-moz-transform: translate3d(-240px,0,0);}
	}
	@keyframes open {
		0% {transform: translate3d(0,0,0);}
		70% {transform: translate3d(-260px,0,0);}
		100% {transform: translate3d(-240px,0,0);}
	}
	/*Content Sliding Closed Effect*/
	.content.close {
		-webkit-transform: translate3d(0,0,0);
		-webkit-animation: close .3s ease-in-out;
		-moz-transform: translate3d(0,0,0);
		-moz-animation: close .3s ease-in-out;
		transform: translate3d(0,0,0);
		animation: close .3s ease-in-out;
	}
	@-webkit-keyframes close {
		0% {-webkit-transform: translate3d(-240px,0,0);}
		100% {-webkit-transform: translate3d(0,0,0);}
	}
	@-moz-keyframes close {
		0% {-moz-transform: translate3d(-240px,0,0);}
		100% {-moz-transform: translate3d(0,0,0);}
	}
	@keyframes close {
		0% {transform: translate3d(-240px,0,0);}
		100% {transform: translate3d(0,0,0);}
	}
}
@media only screen and (max-width: 767px) {
	.main-area {
		margin-bottom: 0;
	}
	.home h1 {
		font-size: 24px;
	}
	p.description {
		font-size: 16px;
	}
	.search input[type=submit] {
		height: 50px;
	}
	.container {
		padding: 0 15px !important;
	}
	.header-page .icon {
		right: 15px;
	}
	.home .nano-content .container {
		padding-top: 50px !important;
	}
	.faq-block h3 {
		font-size: 18px;
	}
	footer .container > div {
		float: none;
		text-align: center;
	}
	footer ul li {
		display: block;
		margin: 10px 0;
	}
	.header-page span, .header-page p {
		display: block;
	}
	.nano > .nano-content {
		padding-right: 15px;
	}
	.gallery ul li {
		padding: 0 0 30px 30px;
	}
	.gallery ul {
		margin: 0 0 0 -30px;
	}
	.h1 {
		font-size: 28px;
	}
}
@media only screen and (max-width: 560px) {
	.auth-img {
		position: static;
		margin: 0 auto 20px;
	}
	.auth-info {
		padding: 0;
		text-align: center;
	}
	.auth-info p {
		line-height: 2.2;
	}
	.gallery ul li {
		width: 100%;
	}
	.gallery h2 {
		margin: 0 10px 40px 0;
	}
	.g-block {
		margin: 0 auto;
	}
	.gallery.album > ul li {
		width: 100%;
	}
}