@font-face {
    font-family: 'novecentosanswide';
    src: url('../fonts/novecentosanswide-normal-webfont.eot');
    src: url('../fonts/novecentosanswide-normal-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/novecentosanswide-normal-webfont.woff') format('woff'),
         url('../fonts/novecentosanswide-normal-webfont.ttf') format('truetype'),
         url('../fonts/novecentosanswide-normal-webfont.svg#novecento_sans_widenormal') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'novecentosanswide';
    src: url('../fonts/novecentosanswide-bold-webfont.eot');
    src: url('../fonts/novecentosanswide-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/novecentosanswide-bold-webfont.woff') format('woff'),
         url('../fonts/novecentosanswide-bold-webfont.ttf') format('truetype'),
         url('../fonts/novecentosanswide-bold-webfont.svg#novecentosanswidebold') format('svg');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'novecento_sans_widebook';
    src: url('../fonts/novecentosanswide-book-webfont.eot');
    src: url('../fonts/novecentosanswide-book-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/novecentosanswide-book-webfont.woff') format('woff'),
         url('../fonts/novecentosanswide-book-webfont.ttf') format('truetype'),
         url('../fonts/novecentosanswide-book-webfont.svg#novecento_sans_widebook') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'novecento_sans_widemedium';
    src: url('../fonts/novecentosanswide-medium-webfont.eot');
    src: url('../fonts/novecentosanswide-medium-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/novecentosanswide-medium-webfont.woff') format('woff'),
         url('../fonts/novecentosanswide-medium-webfont.ttf') format('truetype'),
         url('../fonts/novecentosanswide-medium-webfont.svg#novecento_sans_widemedium') format('svg');
    font-weight: normal;
    font-style: normal;
}



blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}



body,
html {height: 100%;}
body{
	margin:0;
	color:#ece2d8;
	font:18px Helvetica, sans-serif;
	-webkit-text-size-adjust: none; 
	background-image: url("../images/bg-folio.jpg");
	background-color: #ece2d8;
	background-repeat: no-repeat;
	background-size: 100%;
	background-position: center 0;
	background-attachment: scroll;	
}
img{border-style:none; vertical-align: top;}
a{text-decoration:none; color:#6e6e6e;}
a:hover{text-decoration:underline;}

#wrapper{
	width:100%;
	height: 100%;
	display:table;
}
.wrapper-holder {
	width:100%;
    display:table-row;
}


#main{
	margin: 0 auto;
	padding: 0;
	position: relative;
}


.header-contact {
	background-image: url('../images/header-contact.jpg');
	background-repeat:	no-repeat;
	background-size: 100%;
	background-position: center 0;
	background-attachment: scroll;
	padding: 25% 0 0 0;
    width: 100%; 
    position: relative;
    z-index: 1;	
}


.header-folio {
  position: relative;
  text-align: center;
}


/* Centered text */
.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


.portfolio-button-home {
    height: 2%;
	width: 13%;
    position:absolute;
    z-index: 2;
    top: 0;
    left: 0;
	margin: 53% 0 0 6%;
	padding: 0;
}
.home-button {
    height: 22%;
	width: 35%;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
	margin: 5% 0 0 5%;
	padding: 0;
	z-index: 2;
}

.contact-button {
	height: 16%;
	width: 8%;
    position:absolute;
    z-index: 2;
    top: 0;
    right: 0;
	margin: 6% 2% 0 0;
	padding: 0;
	z-index: 3;
}

.portfolio-button {
    height: 6%;
	width: 12%;
    position:absolute;
    z-index: 2;
    top: 8px;
    right: 16px;
	margin: 55% 0 0 7%;
	padding: 0;
}
.title-scroll {
	color: #9b8777;
	text-align: left;
	font-size: 1.6vw;
	letter-spacing: .1vw;
    height: 20%;
    width: 20%;
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    margin: 11.7% 0 0 21.5%;
    padding: 0;
}

.footer-home {
	display:block;
	position:absolute;
	float:left;
	bottom:0px;
	left:20px;
	
}



.footer {
	background-image: url('../images/footer-bg.png');
	background-repeat:	no-repeat;
	padding: 0;
    width: 100%; 
	height: 170px;
    position: relative;
    z-index: 1;	
	float: left;
}
#footer-buttons {
    z-index: 2;
	float: left;
	margin: 60px 0 0 60px;
	padding: 0;
}


/*portfolio*/
.sub_nav {
	position: relative;
	display: table;
	margin: 0 auto 60px;
	padding: 0 0 0 0px;
	text-align: center;
}
.sub_nav li {
	padding: 0 0 0 0px;
	display: inline-block;
}
/* .sub_nav li:first-child{padding: 0;} */
.sub_nav a {
	color: #604436;
	line-height: 30px;
	text-transform: uppercase;
	padding: 0 0 10px;
	font-family: 'novecentosanswide';
	font-weight: normal;
}
.sub_nav a:hover,.sub_nav a.active{
	color: #604436;
	text-decoration: none;
	-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}
/* begin add */
.sub_nav li {
	color: #9b8777;
	font-size: 1.3em;
	line-height: 16px;
	text-transform: uppercase;
	margin: 0 28px;
	padding: 0 0 10px 0px;
	font-family: 'novecentosanswide';
	font-weight: normal;
	box-shadow: 0 2px 48px 0 rgba(0, 0, 0, 0.08);	
}
.sub_nav li:hover,.sub_nav .active {
	color: #604436;
	border-bottom: 4px solid #604436;
	text-decoration: none;
	cursor: pointer;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

/* end add */
.item-list {
	text-align:center;
	max-width: 96%;
	margin: 0 auto;
	padding: 0;
}
.item-list li {
	display:block;
	float: left;
	font-size: 0;
	padding: 0 15px;
	box-sizing: border-box;
}
.item {
	text-align: center;
	width: 25%;
	margin: 0 auto;

}
.item .image {
	position: relative;
	margin-bottom: 30px;
	box-shadow: 0 0 30px 2px rgba(0, 0, 0, 0.19);
}
.item .image img {
	max-width: 100%;
	height:auto;

}
.item .hover {
	display: none;
	height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    background: #181818;
	opacity: 0.9;	
	behavior: url(css/PIE.htc);
}
.item .hover.active{display: block;}
.item .item-content {
	position: relative;
	display: table-cell;
	vertical-align: middle;
	height: auto;
	z-index: 400;
	/*padding: 0 40px;*/
	
}
.item a{
	text-decoration: none;
}
.item-list .item a{
	height: 100%;
	display: flex;
	text-align: center;
	align-items: center;
	justify-content: center;
}
.item .item-content h4{
	display: block;
	color: #fff;
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	font-size: 16px;
	line-height: 20px;
	/*padding: 0 0 40px;*/
	text-align: center;
	/*margin: 0 0 15px;*/
}
.item .item-content p{
	color: #fff;
	text-align: center;
	display: block;
	font-size: 15px;
	line-height: 17px;
}

/* begin add	 */
.popup_portfolio{
	max-width: 1280px;
}
.popup_portfolio h3{
	padding-top: 0;
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	color: #fff;
	font-size: 14px;
	text-align: center;
}

.popup_portfolio img {
	width: 100%;
	height: auto;
}
.fancybox-close {
	width: 46px;
	height: 46px;
	top: 0px;
	right: 0px;
	background-image: url(../images/ico_btn-close.png);
}

.fancybox-nav {
	display: none;
}
/* end add	 */

@media (-webkit-min-device-pixel-ratio:2) ,(min--moz-device-pixel-ratio:2),(-o-min-device-pixel-ratio:2/1),(min-device-pixel-ratio:2),(min-resolution:192dpi),(min-resolution:2dppx){
	#main {
		background-image: url("../images/bg-folio.jpg");
		background-repeat: no-repeat;

	}

/* begin add	 */
	.fancybox-close {
		background-image: url(../images/ico_btn-close@x2.png);
		background-size:46px 46px;
	}
/* end add	 */
}

/*================= Preloader Css Start ================== */
/*#overlayer {
	width:100%;
	height:100%;
	position:fixed;
	z-index:999;
	background:#ece2d8;
	text-align: center;
}
.loader {
	display: inline-block;
	width: 30px;
	height: 30px;
	left: 0;
	right: 0;
	margin: 0 auto;
	position: absolute;
	z-index:1000;
	border: 4px solid #09333f;
	top: 50%;
	animation: loader 2s infinite ease;
}

.loader-inner {
	vertical-align: top;
	display: inline-block;
	width: 100%;
	background-color: #09333f;
	animation: loader-inner 2s infinite ease-in;
}

@keyframes loader {
	0% {
		transform: rotate(0deg);
	}

	25% {
		transform: rotate(180deg);
	}

	50% {
		transform: rotate(180deg);
	}

	75% {
		transform: rotate(360deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

@keyframes loader-inner {
	0% {
		height: 0%;
	}

	25% {
		height: 0%;
	}

	50% {
		height: 100%;
	}

	75% {
		height: 100%;
	}

	100% {
		height: 0%;
	}
}*/
/*================= Preloader Css End ================== */
