/*!
Theme Name: Giovanni Lombardini
Theme URI: 
Description: Portfolio
Author: Michele Margiotta
Author URI: http://www.michelemargiotta.it
Version: 0.1
Tags: portfolio

/*================================
=            DEFAULT             =
================================*/

/*==========  Eric Meyer's Reset  ==========*/
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{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}

/*----------  BORDER-BOX RESET  ----------*/
html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0,0,0,0); 
  -webkit-font-smoothing: antialiased;
}
*, *:before, *:after {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
}
* {
  -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
}

/*==========  RESPONSIVE  ==========*/
img{
	max-width: 100%;
	height: auto;
  display: block;
}
.video-main {
  position: relative;
  padding-bottom: 56.25%;
  height: 0; overflow: hidden;
}

.video-main iframe,
.video-main object,
.video-main embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

html{
	height: 100%;
}
/* BASIC */
body{
	font-family: 'HK Grotesk';
	font-weight: 500;
	font-size: 18px;
	line-height: 1.4;
	padding: 20px;
	height: 100%;
	display: flex;
	flex-direction: column;
}
a{
	text-decoration: none;
	color: #000;
}
a:hover{
	color: #999;
}
header{
	display: flex;
	align-items: baseline;
	margin-bottom: 30px;
}
header h1{
	font-size: 36px;
	font-weight: bold;
	width: 418px;
	margin-right: 30px;
}
header h1 a:hover{
	color: #000;
}
header .menu{
	font-size: 20px;
	display: flex;
}
header .menu li{
	width: 194px;
	margin-right: 30px;
}
h2{
	font-size: 32px;
	font-weight: 600;
	line-height: 1;
}
h3{
	font-size: 28px;
	font-weight: 600;
	line-height: 1;
}
section{
	display: flex;
	justify-content: space-between;
	flex: 1;
}
section aside{
	width: 418px;
	margin-right: 30px;
}
section main{
	flex: 1;
}
#slideshow{
	height: 100%;
	position: relative;
}
#slideshow #new-royalslider-1{
	height: calc(100% - 60px) !important;
}
#slideshow #new-royalslider-1 .rsImg{
	margin-left: 0 !important;
}
.home #slideshow{
	padding-bottom: 60px;
}
.home #slideshow #cover_img{
	width: 100%;
	height: 100%;
	-webkit-background-size: contain;
	background-size: contain;
	display: block;
	background-repeat: no-repeat;
}
#last-project{
	margin-bottom: 90px;
}
#last-exhibition a{
	font-size: 20px;
}
#last-exhibition a::before,
.page main .description a::before{
	content: '→ ';

}
.page main{
	display: flex;
}
.page main .description{
	width: 530px;
	margin-right: 30px;
}
.page main .contact{
	width: 306px;
	font-weight: 600;
	font-size: 22px;
}
.single #tech{
	margin-top: 1.4em;
	font-size: 20px;
}
.single #nav{
	display: flex;
	font-size: 28px;
	/*width: 418px;*/
	align-items: center;
	position: absolute;
	bottom: 0;
}
.single #nav li{
	display: none;
}
.single #nav #prev,
.single #nav #next{
	cursor: pointer;
}
.single #nav #dim{
	font-size: 20px;
	margin-left: 1em;
}
.single #nav #number{
	margin-right: 1em;
	margin-left: auto;
	margin-left: 1em;
}
.single #nav #sep{
	position: relative;
    top: -.1em;
    margin: 0 .15em;
}
.archive main #list{
	display: flex;
	flex-wrap: wrap;
}
.archive main .col4{
	width: 418px;
	margin-right: 30px;
	margin-bottom: 60px;
}
.archive main .thumbnail{
	margin-bottom: 20px;
}

/*---Desktop Medium---*/
@media only screen and (max-width: 1679px){
	.archive main .col4:nth-child(2n){
		margin-right: 0;
	}
}
/*---Tablet Landscape---*/
@media only screen and (max-width: 1199px){
	header .menu{
		flex: 1;
		justify-content: space-between;
	}
	header .menu li{
		width: auto;
	}
	header .menu li:last-child{
		margin-right: 0;
	}
	.page main{
		display: block;
	}
}

/*---Tablet Portraint---*/
@media only screen and (max-width: 991px){
	header h1{
		width: 50%;
	}
	section{
		display: block;
	}
	section main{
		height: 500px;
	}
	section aside{
		width: 100%;
		margin-right: 0;
		margin-bottom: 1em;
	}
	.page main .description{
		width: 100%;
		margin-right: 0;
	}
	.archive main #list{
		justify-content: space-between;
	}
	.archive main .col4 {
	    width: 48%;
	    margin-right: 0;
	}
	.home section aside{
		display: flex;
		flex-direction: column-reverse;
	}
	#last-project{
		margin: 2em 0 0;
	}

}
/*---Smartphone Landscape Mini-tablet---*/
@media screen and (max-width: 767px) {
	header{
		display: block;
	}
	header h1{
		width: 100%;
		margin-right: 0;
	}
	header .menu{
		width: 50%;
	}
	.single #tech {
    	margin-top: .5em;
	}
}

/*---Smartphone Portrait---*/
@media only screen and (max-width: 567px){
	header .menu{
		width: 100%;
	}
	.archive main .col4{
		width: 100%;
	}
	.single #nav{
		width: 100%;
		position: relative;
	}
	section main{
		height: auto;
	}
	#slideshow{
		height: auto;
		position: static;
	}
	#slideshow #new-royalslider-1{
		height: 300px !important;
	}
	.home #slideshow #cover_img{
		height: 300px;
	}

}

/*FONTFACE*/
@font-face {
    font-family: 'HK Grotesk';
    src: url('font/HKGrotesk-Medium.eot');
    src: local('HK Grotesk Medium'), local('HKGrotesk-Medium'),
        url('font/HKGrotesk-Medium.eot?#iefix') format('embedded-opentype'),
        url('font/HKGrotesk-Medium.woff2') format('woff2'),
        url('font/HKGrotesk-Medium.woff') format('woff'),
        url('font/HKGrotesk-Medium.ttf') format('truetype'),
        url('font/HKGrotesk-Medium.svg#HKGrotesk-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'HK Grotesk';
    src: url('font/HKGrotesk-Bold.eot');
    src: local('HK Grotesk Bold'), local('HKGrotesk-Bold'),
        url('font/HKGrotesk-Bold.eot?#iefix') format('embedded-opentype'),
        url('font/HKGrotesk-Bold.woff2') format('woff2'),
        url('font/HKGrotesk-Bold.woff') format('woff'),
        url('font/HKGrotesk-Bold.ttf') format('truetype'),
        url('font/HKGrotesk-Bold.svg#HKGrotesk-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'HK Grotesk';
    src: url('font/HKGrotesk-SemiBold.eot');
    src: local('HK Grotesk SemiBold'), local('HKGrotesk-SemiBold'),
        url('font/HKGrotesk-SemiBold.eot?#iefix') format('embedded-opentype'),
        url('font/HKGrotesk-SemiBold.woff2') format('woff2'),
        url('font/HKGrotesk-SemiBold.woff') format('woff'),
        url('font/HKGrotesk-SemiBold.ttf') format('truetype'),
        url('font/HKGrotesk-SemiBold.svg#HKGrotesk-SemiBold') format('svg');
    font-weight: 600;
    font-style: normal;
}





