/*
Theme Name: Studio Mellone
Theme URI: http://studiomellone.com/
Description: Mellone theme
Author: Michael Capio
Version: 1.0
*/

/**
 * @license
 * MyFonts Webfont Build ID 3224618, 2016-05-26T12:51:02-0400
 * 
 * The fonts listed in this notice are subject to the End User License
 * Agreement(s) entered into by the website owner. All other parties are 
 * explicitly restricted from using the Licensed Webfonts(s).
 * 
 * You may obtain a valid license at the URLs below.
 * 
 * Webfont: MicrogrammaExtD-Med by URW++
 * URL: http://www.myfonts.com/fonts/urw/microgramma/d-medium-extended/
 * Copyright: Copyright 2010 URW++ Design &amp; Development Hamburg
 * Licensed pageviews: 10,000
 * 
 * 
 * License: http://www.myfonts.com/viewlicense?type=web&buildid=3224618
 * 
 * Â© 2016 MyFonts Inc
*/

/* @import must be at top of file, otherwise CSS will not work */
@import url("//hello.myfonts.net/count/31342a");

/*
@font-face {font-family: 'MicrogrammaExtD-Med';src: url('fonts/31342A_0_0.eot');src: url('fonts/31342A_0_0.eot?#iefix') format('embedded-opentype'),url('fonts/31342A_0_0.woff2') format('woff2'),url('fonts/31342A_0_0.woff') format('woff'),url('fonts/31342A_0_0.ttf') format('truetype');}
 http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)

*/

@font-face 		{ font-family: "Romain"; src: url("CircularStd-Light.otf");}
@font-face 		{ font-family: "Romain"; src: url("CircularStd-Light.otf"); font-style: italic;}




html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	font-size: 14px;
	line-height: 1.3em;
	font-family: 'Romain', arial, sans-serif;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	background-color: #555;
	position: relative;
	color: #fafafa;
	-webkit-font-smoothing: antialiased;
	text-transform: uppercase;
	letter-spacing: 0.25em;
}

#wrapper {
	width: 100%;
	position: relative;
	z-index: 0;
}

.inner-wrapper {
	width: calc(100% - 120px);
	max-width: 1400px;
	margin: 0 auto;	
}

a {
	color: #fafafa;
	text-decoration: none;
	transition: 400ms ease-in-out;
	-ms-transition: 400ms ease-in-out;
   	-moz-transition: 400ms ease-in-out;
  	-webkit-transition: 400ms ease-in-out;

}


a:hover {
	color: #999;
	padding-top:5px;
}

.lazyload,
.lazyloading {
	opacity: 0;
}
.lazyloaded {
	opacity: 1;
	transition: opacity 600ms;
}

.epitem {
	width:32%;
	height:30vh;
	margin-bottom:2%
}

.grid 	{

	width:100%; 
  	display: flex;
  	flex-wrap: wrap;

}

.grid-item-2 {min-width:100vw; height:auto;}

.grid-item,
.grid-sizer {
 width: 31.25%;
}


.grid-item {
  overflow: hidden;	
  float: left;
  height: 30vh;
  margin:1%;	
  object-fit:cover;	
}


p {
	font-family: 'Romain', sans-serif; 
	margin-bottom: 1em;
	font-size: 14px;
	letter-spacing:3px;
	text-align: justify;
	-webkit-font-smoothing: antialiased;
}

.column50 {
	width: 50%;
	display: table-cell;
	vertical-align: top;
}

/* header */

h1, h3 {
	font-size: 35px;
	line-height: 1.5em;
	color:#fafafa;
	margin: 0;
	z-index: 20;
}

h1 a, h3 a {
	text-decoration: none;
	color:#fafafa;	
}

h3 {
	font-size: 14px;
	line-height: 1.3em;
	margin: 20px 0;
	letter-spacing: 0.25em;
}


.mainframe {
  opacity: 1 !important;
  transition: opacity 0.25s;
}
.mainframe.is-hidden {
  opacity: 0 !important;
}


/* header */

#header {
	display: flex;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	min-height: 120px;
    z-index: 400;
   	color: #fafafa;
    background: #555;
    -webkit-backface-visibility: hidden;
 	transition: opacity .8s ease-in-out .5s;
	-ms-transition: opacity .8s ease-in-out .5s;
   	-moz-transition: opacity .8s ease-in-out .5s;
  	-webkit-transition: opacity .8s ease-in-out .5s;   
}

#header.fade {
	opacity: 0;	
}	

#header.bground {
	background: transparent;	
}




#header h1#logo, #header h1#mobile-logo {
	width: 25%;
	font-size: 10px !important;
	letter-spacing: .2em;
	line-height: 1em;
	text-align: right;
	float: right;
	padding-top: 55px;
	margin-right: -.4em;
}

.desktopLogo {
	font-size: 14px !important;
	
}

#header h1#logo a, #header h1#mobile-logo a {
	color: #fafafa;	
}

ul#menu, ul#submenu {
	float: left;
	width: 75%;
	padding-top: 50px;
}

ul#menu li, ul#submenu li {
	display: inline-block;
	font-size: 10px;
	margin-right: 20px;
}

ul#submenu {
	width: 100%;
	padding: 15px 0 20px;
}


ul#submenu li {
	color: #999;
	cursor: pointer;
	font-size: 10px;
}

ul#submenu li:hover, ul#submenu li.active {
	color: #fafafa;
}

#header h1#mobile-logo, #mobile-nav {
	display: none;
}

	#header h1#mobile-logo {
		padding-top: 25px;
		float: right;
		width: 50%;
	}	

	#mobile-nav {
		float: left;
		width: 50%;
		font-size: 14px;
		line-height: 1em;
		padding-top: 25px;
		width: 100px;
	}
	
	#mobile-nav::before {
		content: "Menu";
	}
	
	#mobile-nav.mobile-close::before {
		content: "Close";
	}
	
	#mobile-menu {
		z-index: 390;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		background: rgba(85,85,85,.9);	
	}
	
	
	#mobile-menu ul#menu, #mobile-menu ul#submenu { 
		padding-top: 0;
		position: absolute;
		top: 50%;
		left: 50%;
		width: 100%;
		-ms-transform: translateX(-50%) translateY(-50%);
	   	-moz-transform: translateX(-50%) translateY(-50%);
	   	-webkit-transform: translateX(-50%) translateY(-50%);
	    transform: translateX(-50%) translateY(-50%);
		
	}
	
	#mobile-menu ul#submenu {
		display: none;
	}
	
	#mobile-menu ul#submenu.active {
		display: block;
	}
	
	#mobile-submenu {
		display: none;
		padding: 3px 0 5px 0;
		font-size: 14px;
		float: left;
		width: 100%;
		cursor: pointer;
	}
	
	#mobile-submenu span.current-item {
		color: #999;
	}	
	
	#mobile-menu ul#menu li, #mobile-menu ul#submenu li {
		display: block;
		text-align: center;
		margin: 20px;
		font-size: 14px;	
	}			

.fade {
	opacity: 0 !important;
}

.fadenone {
	opacity: 0 !important;
	height: 0 !important;
	overflow: hidden;
}

.rotate {
	-ms-transform: rotate(180deg); 
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.faderemove, .menu-close {
	opacity: 0 !important;
	visibility: hidden;
}

.maxheight {
	max-height: 100vh !important;
	min-height: 100vh;
	overflow: hidden;
}

/* splash */

#splash-content, .my-slider, .img-filter, #loader {
	position: absolute;
	top: 0;
	left: 0;
	min-width: 100%;
	min-height: 100vh;
	z-index: 10;
	margin: 0;
}

#splash-content {
	position: relative;
}

.arrow-icon {
	position: absolute;
	bottom: 30px;
	left: 50%;
	width: 23px;
	height: 15px;
	margin-left: -11px;
	background-image: url('images/ico_contr.png');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 13;
}

.my-slider {
	-webkit-transform: translate3d(0, 0, 0);
}

.img-filter {
	z-index: 12;
	background-color: rgba(0,0,0,.3);
}

#loader {
	background: #555;
	z-index: 1000;
	-ms-transition: opacity 1.5s ease-in-out, visibility 0s linear 1.5s;
   	-moz-transition: opacity 1.5s ease-in-out, visibility 0s linear 1.5s;
  	-webkit-transition: opacity 1.5s ease-in-out, visibility 0s linear 1.5s;
  	transition: opacity 1.5s ease-in-out, visibility 0s linear 1.5s;
}	

h1#logo-loader {
	color: #fafafa;
	display: block;
	position: fixed;
	text-align: center;
	top: 50%;
	left: 50%;
	width: 80%;
	letter-spacing: 0.2em;
	-ms-transform: translateX(-50%) translateY(-50%);
   	-moz-transform: translateX(-50%) translateY(-50%);
   	-webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
	opacity: 1;
	-ms-transition: opacity .5s cubic-bezier(.645, .045, .355, 1);
	-moz-transition: opacity .5s cubic-bezier(.645, .045, .355, 1);
	-webkit-transition: opacity .5s cubic-bezier(.645, .045, .355, 1);
	transition: opacity .5s cubic-bezier(.645, .045, .355, 1);
    z-index: 1010;
   	-webkit-backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
}

h1#logo-loader span.construction-title {
	display: block;
	font-size: .6em;
}

.wider {
	width: 100% !important;
}

.my-slider {
	background: #000;
}

.unslider-fade li {
	height: 100vh;
	overflow: hidden;
	-ms-transition: opacity 1.5s ease-in-out;
   	-moz-transition: opacity 1.5s ease-in-out;
  	-webkit-transition: opacity 1.5s ease-in-out;
  	-webkit-backface-visibility: hidden;
  	-webkit-transform: translate3d(0, 0, 0);
  	opacity: 0;
}


.unslider-fade li.unslider-active {
	opacity: 1 !important;
}

.unslider-arrow.next, .unslider-arrow.prev {
	position: absolute;
	top: 0;
	width: 50%;
	height: 85vh;
	cursor: pointer;
	z-index: 15;
	
}

.unslider-arrow.next {
	right: 0;
	cursor: pointer;
}

.unslider-arrow.prev {
	left: 0;
	cursor: pointer;
}

nav.unslider-nav {
	position: absolute;
	padding: 10px;
	bottom: 30px;
	right: 30px;
	z-index: 16;
}

.unslider li .slider-image {
	width: 100%;
	height: 100vh;
	position: absolute;
	top: 0;
	left: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;	
	z-index: 10;
}	

.unslider li .caption {
	color: #eee;
	position: absolute;
	line-height: 1.2em;
	font-size: 9px;
	padding: 10px;
	bottom: 50px;
	right: 20px;
	text-align: right;
	z-index: 20;
}


/* content */

#main {
	z-index: 200;	
	background: #555;
	overflow: hidden;
	position: relative;
	width: 100%;
}

#main.splash-margin {
	
}


#content, #instagram-content {
	margin: 200px auto 40px auto;
	padding: 0;
	width: 100%;
	font-size: 0;
	line-height: 0;
	letter-spacing: 0;
	overflow: hidden;
}

#archive-content {
	margin: 200px auto 40px auto;
	overflow: hidden;
}	

ul.list-gallery {
	width: 100%;
	font-size: 14px;
	line-height: 1em;
	letter-spacing:3px;
	-ms-transition: opacity .5s ease-in-out;
   	-moz-transition: opacity .5s ease-in-out;
  	-webkit-transition: opacity .5s ease-in-out;
  	transition: opacity .5s ease-in-out;

}
	
ul.list-gallery li {
	padding: 0px;
	overflow: hidden;
}

.list-item-33 {
	float: left;
	text-align: center;
	width: 33%;	
}

.list-max {
	margin: 0 auto;	
}	

li .list-item-33:first-child {
	text-align: left;	
}

li .list-item-33:last-child {
	text-align: right;	
}		

.date, .press-item {
	margin: 20px 0;	
}					

.flex-gallery {
	overflow: hidden;
	-ms-transition: opacity .5s ease-in-out;
   	-moz-transition: opacity .5s ease-in-out;
  	-webkit-transition: opacity .5s ease-in-out;
  	transition: opacity .5s ease-in-out;
  	margin: 0 -15px;
  	padding: 0;
}

.flex-thumb {
	position: relative;
	float: left;
	width: 33.333%;
	width: calc(33.333% - 30px);
	margin: 0 15px 30px 15px;
	overflow: hidden;
	cursor: pointer;
	float: left;
	background-color: #444;
}

.flex-image {
	display: block; 
	background-color: #000;
	width: 100%;
	padding-top: 75%;
	margin: 0 auto;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: .8;
   	 -ms-transition: opacity .2s ease-in-out;
   	-moz-transition: opacity .2s ease-in-out;
  	-webkit-transition: opacity .2s ease-in-out; 
  	transition: opacity .2s ease-in-out;
}

.flex-image.lazy.b-loaded {
	opacity: .8;
}	

.flex-info {
	position: absolute;
	text-align: center;
	z-index: 100;
	top: 50%;
	left: 50%;
	width: 80%;
	-ms-transform: translateX(-50%) translateY(-50%);
   	-moz-transform: translateX(-50%) translateY(-50%);
   	-webkit-transform: translateX(-50%) translateY(-50%);
   	 transform: translateX(-50%) translateY(-50%);
	-ms-transition: opacity .5s ease-in-out;
   	-moz-transition: opacity .5s ease-in-out;
  	-webkit-transition: opacity .5s ease-in-out;    
	font-size: 8px;
	letter-spacing: 0.25em;
	line-height: 1.5em;
}

.fade10 {
	opacity: .3 !important;
}

/* projects */

.post {}

#project-feature {
	height: 100vh;
	width: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

#project-content {
	margin: 200px auto 40px auto;
	overflow: hidden;
	padding: 0;
}


#view-button {
	margin-bottom: 20px;
	line-height: 1em;
	font-size: 14px;
	font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    color: #999;
    text-align: center;
    z-index: 200;
    cursor: pointer; 
}	

#view-button::before {
	content: "\f039";
}

#view-button.list-view::before {
	content: "\f00a";
}	

.project-intro {
	overflow: hidden;
	margin-bottom: 40px;
	display: table;
	width: 100%;
}

.project-intro .column50 {
	vertical-align: top;
}

.project-intro .meta {
	font-size: .8em;
	margin: 20px 0;
}

.project-gallery {
	
}

.project-block {
	overflow: hidden;
	display: table;
	text-align: center;
	font-family: arial, sans-serif;
}

.project-item {
	overflow: hidden;
	margin-bottom: 12px;
	text-align: center;
	font-family: 'Romain', sans-serif; 
	font-size: 14px;
	letter-spacing:3px;
	line-height: 30px;
	-webkit-font-smoothing: antialiased;
	position: relative;
}

.project-image-filter {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background-image: none;
	font-size: 14px;	
}		

.project-item.bg {
	text-align: center;
	line-height: 0;
	margin-bottom: 20px;
}

.project-block .column50:nth-child(1) .project-item{
	margin-right: 10px;
	text-align: left;
}

.project-block .column50:nth-child(2) .project-item {
	margin-left: 10px;
	text-align: left;
}

.project-item img {
	width: 100%;
	height: auto;
}

.soon-announce { 
		position: fixed;
		top: 50%;
		left: 50%;
		-ms-transform: translateX(-50%) translateY(-50%);
	   	-moz-transform: translateX(-50%) translateY(-50%);
	   	-webkit-transform: translateX(-50%) translateY(-50%);
	    transform: translateX(-50%) translateY(-50%);
}	    

/* profile */

.profile-intro {
	overflow: hidden;
	margin-bottom: 20px;	
}	

.post.profile {
	width: 100%;
	text-align: justify;	
}

.profile-image {
	width: 25%;
	margin: 40px auto;
}

.profile-image img {
	width: 100%;
}		

/* contact */

.email {
	margin-top: 40px;
}

.person {
	margin-bottom: 20px;
}

.person .person-title {
	color: #999;	
}	

/* instagram */

.sbi_photo_wrap {
	background: #666;
}

#sb_instagram {
	margin: 0 -30px !important;
	width: calc(100% + 60px) !important;
}


/* footer */

#footer {
	width: calc(100% - 92px);
	margin: 140px auto 40px auto;
	padding: 0 40px;
	border-top: none;
	border-bottom: none;
	font-size: 10px;
	line-height:1.3em;
	overflow: hidden;
}

.credit {
	margin: 20px 0;
}

#footer .address {
	color: #999999;
	margin: 20px 0;
	text-align: center;
	font-size: 14px;
	line-height: 1em;
}

ul#social {
	margin: 20px 0;
	text-align: right;
}

ul#social li {
	font-size: 10px;
	line-height:1.3em;
	margin-left: 5px;
	text-align: right;
	color: #333;
	display: inline-block;	
}

ul#social li a {
	color: 	#333;
	text-decoration:none;
}	

/* jQuery controllers */

.lazy {
    -webkit-transition: opacity 500ms ease-in-out;
    -moz-transition: opacity 500ms ease-in-out;
    -o-transition: opacity 500ms ease-in-out;
    transition: opacity 500ms ease-in-out;
    opacity: 0;
}
.lazy.b-loaded {
    opacity: 1;
}

.inactive {
	display: none !important;
}

.push-z {
	z-index: 180 !important;
}





/* Laptop Styles */

@media only screen and (max-width:1300px), only screen and (max-device-width:1200px) and (orientation:portrait) {


	body {
		font-size: 13px;
		letter-spacing:3px;
		line-height: 23px;
	}

	h1 {
		font-size: 25px;
		line-height: 1.5em;
		font-weight:400;
	}

	p {
		margin-bottom: 1em;
	}

}



/* iPad Styles */

@media only screen and (max-width:800px), only screen and (max-device-width:1200px) and (orientation:portrait) {
	
	.inner-wrapper {
		width: calc(100% - 40px);
	}

	body {
		font-size: 13px;
		letter-spacing:3px;
		line-height: 23px;
	}

	h1 {
		font-size: 14px;
		line-height: 1.5em;
	}

	p {
		margin-bottom: 1em;
	}

	nav.unslider-nav {
		display:none;

	}

	.unslider li .caption {
		visibility:hidden;
	}
	
	.profile-image {
		width: 50%;
	}
	


}

@media only screen and (max-device-width:1024px) and (orientation:landscape) {
	
	#header h1#logo, #header h1#mobile-logo, #header ul#menu, #header ul#submenu  {
		display: none;
	}
	
	.inner-wrapper {
		width: calc(100% - 40px);
	}

	#main.splash-margin {
		margin-top: 0;
	}	
	
	#content, #instagram-content, #archive-content, #project-content {
		margin-top: 100px;	
	}
	
	.profile-image {
		width: 50%;
	}			
	
	.post-content {
	    width: 100%;	
	}
	
	#header {
		min-height: 60px;
	}
	
	#header h1#mobile-logo {
		display: block;	
	}
	
	#header h1#logo {
		display: none;
	}
	
	#header ul#menu,  #header ul#submenu {
		display: none;
	}
	
	#mobile-nav {
		display: block;
	}
		
	#mobile-menu ul#submenu {
		display: none;
	}
	
	#mobile-submenu {
		display: block;
	}	

	.flex-thumb {
		width: 50%;
		width: calc(50% - 30px);
	}	

	.flex-image.lazy.b-loaded {
		opacity: .75;	
	}
	
	.project-item {
		margin-bottom: 15px;	
	}	

	nav.unslider-nav {
		display:none;
	}

	.unslider li .caption {
		visibility:hidden;
	}
	
		
}


/* Mobile Styles */


@media only screen and (max-width:650px) and (min-device-width:700px), 
only screen and (max-device-width:480px) and (orientation:portrait) {



	.epitem {
	width:100%;
	height:40vh;
	margin-bottom:2%
}

	
	
	.grid-item,
	.grid-sizer {
 	width: 89vw;
	margin-left:5vw;
	padding-bottom:1.5vh;	
}
	
	
	#header h1#logo, #header h1#mobile-logo, #header ul#menu,  #header ul#submenu  {
		display: none;
	}

	#mobile-submenu {
		display: block;
	}	
	
	#mobile-nav {
		display:block;
	}
	
	p {
		margin-bottom: 1em;
		text-align: center;
	}
	
	
	#main.splash-margin {
		margin-top: 0;
	}
	
	#content, #instagram-content, #archive-content, #project-content {
		margin-top: 100px;
	}
	
	.post.profile {
		width: 100%;
		float: none;
		margin-bottom: 20px;
	}
	
	.post.profile p {
		font-size: .8em;
		line-height: 1.8em;
	}	
		
	.profile-image {
		width: 100%;
		float: none;
	}
	
	#header {
		min-height: 60px;
	}
	
	#header h1#mobile-logo {
		display: block;	
	}
	
	#header h1#logo {
		display: none;
	}
	
	#header ul#menu,  #header ul#submenu {
		display: none;
	}
	
	#header-splash {
		display: none;
	}
	
	.arrow-icon {
		bottom: 80px;	
	}	
	
	.list-item-33 {
		width: 100%;
		text-align: left;	
	}
	
	.list-item-33 h3, .list-item-33 .date {
		margin-bottom: 5px;	
	}
	
	.list-item-33 .press-item, .list-item-33 .date {
		margin-top: 5px;
	}
	
	li .list-item-33:first-child, li .list-item-33:last-child	{
		text-align: left;	
	}
	
	.flex-thumb {
		width: calc(100% - 30px);
	}	
	
	.flex-image.lazy.b-loaded {
		opacity: .75;	
	}	
	
	.column50 {
		width: 100%;
		display: block;
	}
	
	.project-intro {
		text-align: center;
	}
	
	.project-intro h2 {
		text-align: center;
	}
	
	.project-block .column50:nth-child(1) .project-item{
		margin-right: 0px;
	}
	
	.project-block .column50:nth-child(2) .project-item {
		margin-left: 0px;
	}
	
	nav.unslider-nav {
		display:none;
	
	}
	
	.unslider li .caption {
		visibility:hidden;
	}

	
}