/*
Theme Name:     Pietro Ruffo
Theme URI:      -
Description:    Tema sviluppato per Pietro Ruffo
Author:         RdMedia srl
Author URI:     http://www.rdmedia.it
*/

/* min resolution: 320px */
/* COLORS
Nero: #1d1d1d
Rosso: #741317
Grigio: #88979e
Beige: #82704d
*/



/*
fonts
*/
@font-face {
    font-family: 'Cabin';
    src: url('fonts/Cabin/Cabin-Bold.ttf');
    font-weight: bold;
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'Cabin';
    src: url('fonts/Cabin/Cabin-SemiBold.ttf');
    font-weight: bold;
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Cabin';
    src: url('fonts/Cabin/Cabin-Regular.ttf');
    font-weight: normal;
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Oswald';
    src: url('fonts/Oswald/Oswald-Bold.ttf');
    font-weight: bold;
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'Oswald';
    src: url('fonts/Oswald/Oswald-Light.ttf');
    font-weight: lighter;
    font-weight: 300;
    font-style: normal;
}



/*
page common settings
*/
body {
	margin: 0;
	border-left: solid 20px #88979e;
	border-right: solid 20px #88979e;
	min-height: 100vh;
	font-family: 'Cabin';
	color: #1d1d1d;
	font-size: 16px;
}
.pagecontainer {
    padding: 85px 0 50px 0;
    width: 88%;
    margin: 0 auto;
}
h1#title {
	border-bottom: solid 15px #88979e;
	width: 410px;
	position: relative;
	float: right;
	text-align: left;
	text-transform: uppercase;
	padding-bottom: 5px;
	display: block;
	color: #741317;
	font-weight: 600;
    font-size: 53px;
    font-family: 'Oswald';
    letter-spacing: 5px;
}
.archive h1#title {
	margin-top: 125px;
}
div#works-wrap:before, div#news-wrap:before, div#bio:before {
	content: '.';
	display: block;
	clear: both;
	visibility: hidden;
	margin-bottom: 40px;
}
div#content-wrap {
    padding-top: 99px;
}
div#thumbnailbox {
    margin: 25px auto 125px;
    display: block;
    max-width: 95%;
    position: relative;
}
div#thumbnailbox img {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
    max-height: 100%;
}
* {
	transition: 0.5s;
}
div#footer {
    height: 75px;
    background-color: #88979e;
    position: relative;
    left: 0;
    right: 0;
    bottom: 0;
}
a#ftrmail {
    text-decoration: none;
    color: #ddd;
    position: relative;
    text-align: center;
    display: block;
    top: 15px;
}
a#ftrmail:hover {
    color: #741317;
}
div#credits {
    display: block;
    bottom: 15px;
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 13px;
    color: #82704d;
    font-weight: 500;
}
.page-id-5 div#footer > * {
	display: none;
}
span#cookies:before, span#cookies:after{
	content: ' | ';
	display: inline;
	width: 100%;
	height: 100%;
	padding: 0 12px;
	color: #1d1d1d;
}
span#madeby a,
span#cookies a {
	text-decoration: none;
	color: #82704d;
}
span#madeby a:hover,
span#cookies a:hover{
    text-decoration: underline;
}
div#button {
    /*background: #741317;*/
    background: transparent;
    border: solid 4px #741317;
    margin: 0 auto;
    display: block;
    cursor: pointer;
    width: 208px;
    text-align: center;
}
div#news-archive-wrap div#button {
    width: 165px;
}
div#button:hover {
	background: #741317;
	border-color: #1d1d1d;
}
div#button a:hover {
	color: white;
}
div#button a {
    text-transform: uppercase;
    text-decoration: none;
    font-family: 'Cabin';
    font-weight: 600;
    font-size: 18px;
    color: #82704d;
    padding: 15px;
    display: block;
}
input, label {
	width: 27px;
	height: 27px;
	top: -5px;
}
p {
	margin: 0;
}
.pagewrap {
    min-height: 92.34vh; /*compatibily*/
    min-height: calc(100vh - 75px); /*footer height*/
}



/*
menu settings
*/
ul#home-menu {
    margin: 0;
    padding: 0;
    bottom: 25px;
    position: absolute;
    right: 0;
}
ul#home-menu li {
    list-style-type: none;
    display: inline-block;
    width: 99px;
    text-align: center;
    right: -8px;
    position: relative;
}
ul#home-menu li a {
	text-decoration: none;
	text-transform: uppercase;
	transition: all .5s;
	color: #82704d;
	font-weight: 500;
}
ul#home-menu li a:hover{
	color: #741317;
	letter-spacing: 0.75px;
	zoom: 1.05;
}
.current-menu-item a {
	color: #741317 !important;
	text-decoration: line-through !important;
}
nav#home-menu-nav {
    text-align: right;
}
div#menu {
    position: fixed;
    left: 6%;
    right: 6%;
    border-bottom: solid 10px #88979e;
    height: 75px;
    z-index: 99;
}
header#open>div {
    position: fixed;
    right: 20px;
    left: 20px;
    height: 85px;
    background-color: white;
    z-index: 99;
}
span#artist {
    line-height: 75px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: letter-spacing 0.05s;
}
span#artist a {
	text-decoration: none;
	color: #1d1d1d;
	position: relative;
	font-weight: 500;
    font-size: 23px;
}
span#artist a span {
    transition: 0s;
}
span#artist a:before {
    content: ' ';
    border-top: solid 1px #741317;
    width: 0;
    height: 1px;
    position: absolute;
    top: 50%;
    transition: width 0.75s;
}
span#artist a:hover:before {
    width: 100%;
}
/*span#artist:hover{
	letter-spacing: 3px;
}*/



/*
bio page
*/
div#bio {
    width: 75%;
    margin: 0 auto;
    display: block;
}
span#clear {
	display: block;
}
input#it, input#en {
	display: inline-block;
}
div#textarea-wrap {
    position: relative;
    width: 625px;
    margin: auto;
}
div#text-eng, div#text-it{
	font-weight: 300;
}
div#text-eng p, div#text-it p {
    margin: 0;
    padding: 6px 0;
    line-height: 1.4;
}
/*switch lingua*/	
	div#text-it {
		display: none;
	}
	input#it-en:checked ~ div#text-it {
		display: block;
	}
	input#it-en:checked ~ div#text-eng {
		display: none;
	}
	input#it-en, 
	input#it-en:checked ~ label#it-en-label {
	    position: absolute;
	    z-index: 9;
	    /*opacity: 0.75;*/
        opacity: 0;
	    cursor: pointer;
	    left: -58px;
	}
	input#it-en:checked ~ label#it-en-label {
		left: -97px !important;
		z-index: 99;
		-webkit-touch-callout: none;
	    -webkit-user-select: none;
	    -khtml-user-select: none;
	    -moz-user-select: none;
	    -ms-user-select: none;
	    user-select: none;
	    /*background-color: #1d1d1d;*/
	}
	input#it-en:checked {
		z-index: -1;
	}
	span#text > span:first-child {
		color: #741317;
	}
	span#text > span:last-child {
		color: #88979e;
	}
	input#it-en:checked ~ span#text > span:first-child {
		color: #88979e;
	}
	input#it-en:checked ~ span#text > span:last-child {
		color: #741317;
	}
/**/
span#text {
    margin-bottom: 25px;
    display: block;
    left: -95px;
    position: relative;
    font-weight: 600;
}
div#links a {
    display: block;
    text-align: right;
    margin-bottom: 9px;
    text-decoration: none;
    font-weight: 600;
    color: #741317;
    font-size: 17px;
}
div#links a:hover{
    color: #1d1d1d;
}
div#links {
    margin-top: 25px;
    display: inline-block;
    position: relative;
    left: 75%;
}



/*
contatti page
*/
.page-id-5 .pagecontainer {
	padding: 0;
	margin: 0;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	/*background-color: #88979e;*/
    background-color: #c5d0d6;
    width: 100%;
}
.page-id-5 div#footer{
    background-color: #c5d0d6;
}
.page-id-5 div#menu {
	/*background-color: #88979e; */
    background-color: #c5d0d6;
    border-bottom: solid 10px #c5d0d6;
}
.page-id-5 header#open>div{
	/*background-color: #88979e;*/
    background-color: #c5d0d6;
} /*aggiornato anche il menu mobile*/
body.page-id-5 {
    border-color: #c5d0d6;
}
h1#title-contatti {
    width: 799px;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    z-index: 9;
    height: 99px;
    line-height: 99px;
    font-size: 99px;
    text-transform: uppercase;
    text-align: center;
    transform: translate(0%, -50%);
}
div#contatti > span.campo {
    position: absolute;
    top: 80px;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    height: 30px;
    width: 162px;
}
div#emailswrap {
    width: 470px;
    position: absolute;
    top: 30%;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    z-index: 9;
    height: 72px;
    text-align: center;
}
/*div#emailswrap .emailist {
	display: inline-block;
	width: 25%;
}*/
.emailist > * {
	display: inline-block;
	
}
.emailist {
    margin-bottom: 20px;
}
span.campo a {
    text-decoration: none;
    font-size: 18px;
    color: #741317;
    transition: color 2.5s;
    position: relative;
    opacity: 0.9;
}
span.nome a {
    text-decoration: none;
    color: #1d1d1d;
}
span.nome a:hover {
    color: black;
}
span.campo a:hover {
	opacity: 1;
}
span.campo a:before {
	content: ' ';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	width: 0;
	border-bottom: solid 1px #741317;
	transition: width 0.5s;
}
span.campo a:hover:before{
	width: 100%;
}
span.nome {
    font-weight: 600;
    opacity: 0.9;
    font-size: 22px;
    margin-right: 20px;
}



/*
work archive
*/
.work {
    display: inline-block;
    width: 30%;
    vertical-align: top;
    margin: 0 1% 99px;
}
.work-title {
    margin-top: 25px;
    text-transform: uppercase;
}
.work-date {
    margin-top: 10px;
}
.work-thumb a {
	position: relative;
    height: auto;
    margin: 0 auto;
    display: block;
    overflow: hidden;
}
.work-thumb img {
	display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    /*transition: opacity 1s, max-width 0.5s;
    opacity: 0.5;*/
}
/*.work-thumb:hover img {
	transition: all 0s;
	opacity: initial;
}*/
div#works-wrap, div#news-wrap  {
    display: block;
    text-align: center;
    margin-top: 150px;
}
.work-thumb, .work-thumb * {
    transition: 0s;
}
.sp-wrap{
    max-width: initial !important;
}
.wpvl_auto_thumb_box {
    width: 100% !important;
    height: 100% !important;
}
.wpvl_auto_thumb_play {
    left: 50% !important;
    top: 50% !important;
    margin: -24px 0 0 -24px;
}



/*
work single
*/
.single-work-wrap {
    width: 85%;
    margin: 105px auto 0;
}
div#gallery-box {
    margin-bottom: 50px;
    transition: 0s;
    position: relative;
    
}
div#gallery-box * {
    transition: 0s;
}
.ngg-galleria-parent.nextgen_pro_horizontal_filmstrip {
    position: relative !important;
    padding-bottom: 180px;
}


/*
news archive
*/
.news {
    width: 90%;
    margin: 0 auto 99px;
    position: relative; 
}
.news:after {
    content: ' ';
    width: 75px;
    height: 3px;
    position: absolute;
    bottom: -28.5px;
    left: 50%;
    margin-left: -37.5px ;
    background: #82704d;
}
.news-info-wrap, .news-thumb {
    display: inline-block;
    width: 70%;
    vertical-align: middle;
    margin: 5px 0;
    text-align: left;
    font-weight: 600;
}
.news-info-wrap {
	margin-left: 4%;
	margin-right: 0.5%;
}
.news-thumb {
	width: 25%;
	position: relative;
    box-sizing: border-box;
    overflow: hidden;
}
.news-thumb:hover img {
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
  	transform: scale(1.1);
}
.news-thumb img {
	max-width: 100%;
	width: 100%;
	height: auto;
}
.news-title {
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 35px;
}
.news-title a {
	text-decoration: none;
	color: #741317;
	letter-spacing: 3px;
	font-size: 25px;
}
.news-title a:hover, .news-more a:hover {
	color: #88979e;
	/*letter-spacing: 3.5px;*/
}
.news-more a:hover{
	letter-spacing: 0.5px;
}
.news-more {
    text-align: right;
    font-style: italic;
}
.news-more a {
	color: #741317;
	text-transform: lowercase;
	font-style: italic;
}
.news-place >*, .news-date >* {
	display: inline-block;
}
.news-place, .news-date  {
	margin: 9px 0;
	font-weight: 600;
    font-style: italic;
}
.news-place span, .news-date span {
	margin-right: 10px;
	color: #82704d;
}
.news-excerpt {
    font-size: 18px;
    font-weight: 300;
}
.news-title h3 {
	margin-top: 0;
}



/*
news single
*/
.single-news-wrap {
    width: 90%;
    margin: 0 auto;
}
.single-news-wrap div#text-it {
    display: block;
}
.single-news-wrap div#textarea-wrap {
    width: 75%;
}
.single-news-wrap div#textarea-wrap p{
    padding: 9px 0;
}
h1#single-title {
    margin-top: 99px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    font-size: 53px;
    font-family: 'Oswald';
    letter-spacing: 5px;
    color: #741317;
}
span#descrizione {
    text-align: center;
    display: block;
    margin-bottom: 45px;
}
span#descrizione h3 {
    margin-top: 0;
    color: #82704d;
    font-size: 22px;
    font-weight: 500;
}
div#single-thumb {
    text-align: center;
    max-width: 53%;
    margin: 75px auto;
    overflow: hidden;
}
div#single-thumb img {
	width: 100%;
	height: auto;
	margin: auto;
	display: block;
}
div#single-wrap-info {
    margin-top: 50px;
}
div#column-left, div#column-right {
	display: inline-block;
	position: relative;
}
div#column-left {
    width: 600px;
    left: 0;
    padding-left: 5%;
}
div#column-right {
    width: 300px;
    float: right;
    padding-right: 5%;
}
div#column-right div#links {
	left: initial;
	width: 100%;
}
div#go-back {
    position: fixed;
    top: 115px;
    left: 150px;
    z-index: 98;
    background-color: rgba(255,255,255,.8);
    border-radius: 10px;
}
div#go-back a {
	text-decoration: none;
	text-transform: uppercase;
	opacity: 0.5;
	color: #741317;
	font-weight: 300;
	font-size: 24px;
	font-family: 'Oswald';
	letter-spacing: 1.5px;
    transition: all 0s;
}
div#go-back a:hover {
	font-weight: 600;
}
.single-news-wrap iframe {
    padding: 9px 0;
    width: 720px;
    height: 405px;
}
.pp_pic_holder.pp_default, .pp_pic_holder.pp_default * {
    transition: all 0s;
}



/*
home
*/
div#works-archive-wrap {
    margin-top: 75px;
}
div#latest-work, div#last-news {
    width: 100%;
    margin: 30px 0 50px;
    position: relative;
}
div#latest-work {
    margin-bottom: 99px;
}
div#last-news {
    display: flex;
    padding-top: 35px;
}
div#last-news img {
    width: 100%;
    height: auto;
    max-height: 325px;
    max-width: 490px;
    overflow: hidden;
    position: relative;
}
div#last-news img:hover{
    opacity: 0.85;
}



div#lw-wrap div, div#nw-wrap div {
    display: block;
    text-align: center;
    text-transform: uppercase;
}
div#nw-wrap div{
    width: 100%;
}
div#nw-wrap div, 
div#lw-wrap > div:nth-child(2),
div#lw-wrap > div:nth-child(3){
    margin: 15px 0;
}
div#lw-wrap div:nth-child(2), .work-title a{
	font-size: 23px;
	font-weight: 600;
	color: #741317;
	letter-spacing: 3px;
	text-decoration: none;
}
div#lw-wrap div:nth-child(2):hover, .work-title a:hover {
	color: #88979e;
	/*letter-spacing: 3.5px;*/
}
div#lw-wrap div:nth-child(3), .work-date{
	font-size: 13px;
	color: #1d1d1d;
	font-weight: 600;
	letter-spacing: 3px;
}
/*index news after text*/
    div#nw-wrap div span:after {
        content: 'Leggi Articolo';
        display: block;
        font-size: 12px;
        font-weight: 500;
        margin-top: 25px;
        font-style: italic;
        color: #741317;
        text-align: right;
    }
    div#nw-wrap div span.pdf:after {
        content: 'Leggi PDF';
    }
    div#nw-wrap div span.video:after {
        content: 'Vedi Video';
    }
    div#nw-wrap div span.link:after {
        content: 'Vai al Sito';
    }
/**/
div#nw-wrap div:hover span:after{
    font-weight: 600;
}
div#latest-work a, div#last-news a {
    width: 30%;
    text-decoration: none;
}
div#latest-work a, div#last-news a{
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
	display: inline-flex;
    margin-right: 4.5%;
}
div#latest-work a:last-child{
	margin-right: 0;
}
div#last-news a {
    margin: 0 auto;
}
div#last-news span {
    color: #1d1d1d;
    font-weight: 500;
    font-family: 'Cabin';
    font-size: 23px;
    letter-spacing: 4px;
    margin: 0 auto;
}
div#last-news span:hover{
    color: #741317;
}
div#lw-wrap div img {
	width: 100%;
	height: auto;
}
/*div#lw-wrap div:first-child:before{
	content: ' ';
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 4px;
	background-color: rgba(0,0,0, 0.5);
	transition: background-color 1s;
}
div#lw-wrap div:first-child:hover:before{
	background-color: rgba(0,0,0, 0);
}*/
h2.home {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 53px;
    border-bottom: solid 15px;
    display: inline-block;
    padding-bottom: 5px;
    width: 410px;
    font-family: 'Oswald';
    letter-spacing: 5px;
}
div#news-archive-wrap h2.home {
	position: relative;
	float: right;
	width: 335px;
	text-align: right;
	color: #741317;
}
div#news-archive-wrap {
	margin: 99px 0;
}
div#latest-work a * {
    display: block;
    margin: 0 auto;
}





/************************
**M O B I L E   M E N U**
************************/
/*! 
* Hamburgers
 * @description Tasty CSS-animated hamburgers
 * @author Jonathan Suh @jonsuh
 * @site https://jonsuh.com/hamburgers
 * @link https://github.com/jonsuh/hamburgers
 */
.hamburger {
  padding: 15px 15px;
  display: inline-block;
  cursor: pointer;
  transition-property: opacity, -webkit-filter;
  transition-property: opacity, filter;
  transition-property: opacity, filter, -webkit-filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  margin: 0;
  overflow: visible; }

.hamburger-inner:hover {
    opacity: 0.7; }

.hamburger-box {
  width: 40px;
  height: 24px; }

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
	cursor: pointer;
    width: 40px;
    height: 4px;
    background-color: #741317;
    border-radius: 4px;
    position: absolute;
    transition-property: -webkit-transform;
    transition-property: transform;
    transition-property: transform, -webkit-transform;
    transition-duration: 0.15s;
    transition-timing-function: ease; }

.hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block; }

.hamburger-inner::before {
    top: -10px; }

.hamburger-inner::after {
    bottom: -10px; }

/*
 * Spin
 */
.hamburger--spin .hamburger-inner {
  transition-duration: 0.3s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
  .hamburger--spin .hamburger-inner::before {
    transition: top 0.1s 0.34s ease-in, opacity 0.1s ease-in; }
  .hamburger--spin .hamburger-inner::after {
    transition: bottom 0.1s 0.34s ease-in, -webkit-transform 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transition: bottom 0.1s 0.34s ease-in, transform 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transition: bottom 0.1s 0.34s ease-in, transform 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19), -webkit-transform 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19); }

input#menu:checked ~ .hamburger-box .hamburger-inner {
  -webkit-transform: rotate(225deg);
          transform: rotate(225deg);
  transition-delay: 0.14s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  input#menu:checked ~ .hamburger-box .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition: top 0.1s ease-out, opacity 0.1s 0.14s ease-out; }
  input#menu:checked ~ .hamburger-box .hamburger-inner::after {
    bottom: 0;
    -webkit-transform: rotate(-90deg);
            transform: rotate(-90deg);
    transition: bottom 0.1s ease-out, -webkit-transform 0.3s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: bottom 0.1s ease-out, transform 0.3s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: bottom 0.1s ease-out, transform 0.3s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 0.3s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1); }
/**/
.hamburger, .hamburger-box {
	display: none;
	z-index: 999;
}
.hamburger{
	z-index: 9999;
}
input#menu {
    width: 45px;
    height: 40px;
    top: 32px;
    right: 21.5px;
    opacity: 0/*.5*/;
}



.galleria-theme-nextgen_pro_horizontal_filmstrip.caption_overlay_bottom .galleria-info{
    position: relative !important;
    margin: 35px 0;
    bottom: 0 !important;
    max-height: initial !important;
}



/************************
***R E S P O N S I V E***
************************/
@media screen and (max-width: 1366px){
	/*common settings*/
	div#go-back {
	    left: 125px;
	}
	div#go-back a {
		font-size: 22px;
	}
	/*menu*/
	ul#home-menu li a {
		font-size: 14px;
	}
	ul#home-menu li {
		width: 95px;
		right: -11px;
	}
	span#artist a {
		font-size: 21px;
	}
	/*contatti*/
	h1#title-contatti {
		font-size: 80px;
	}
	/*home*/
	h2.home, h1#title {
		font-size: 49px;
		letter-spacing: 4px;
		width: 370px;
	}
	div#news-archive-wrap h2.home {
		width: 290px;
	}
	h1#title {
		width: 330px;
	}
	div#latest-work a:last-child, div#last-news a:last-child{
		display: none;
	}
	div#latest-work a:nth-child(2), div#last-news a:nth-child(2) {
		margin-right: 0;
	}
	div#latest-work a, div#last-news a {
		width: 47.5%;
	}
	div#lw-wrap div:nth-child(2), .work-title a, div#last-news span {
	    font-size: 21px;
	    letter-spacing: 2px;
	}
	/*div#lw-wrap div:nth-child(2):hover, .work-title a:hover {
	    letter-spacing: 2.5px;
	}*/
	div#nw-wrap div span:after {
		font-size: 11px;
	}
	/*bio*/
	div#bio {
		width: 85%;
	}
	div#text-eng, div#text-it {
	    font-size: 15.3px;
	}
	span#text {
		font-size: 15px;
	}
	input#it-en, input#it-en:checked ~ label#it-en-label {
	    left: -60px;
	}
	div#links a {
		font-size: 16px;
	}
	/*works*/
	.work {
		margin-bottom: 75px;
	}
	/*news*/
	.news-title a {
		font-size: 22px;
	}
	.news-excerpt {
		font-size: 17px;
	}
	.news-more a {
		font-size: 14.5px;
	}
	/*news single*/
	div#column-left, div#column-right{
		width: 100%;
		padding: 0;
		float: none;
		display: block;
		text-align: center;
	}
	div#single-thumb {
		max-width: 63%;
	}
	span#descrizione h3 {
	    font-size: 20px;
	}
	h1#single-title {
		font-size: 49px;
		letter-spacing: 4px;
		margin-bottom: 25px;
	}
    .single-news-wrap iframe {
        width: 480px;
        height: 270px;
    }
    /*nextgen*/
    .galleria-theme-nextgen_pro_horizontal_filmstrip.caption_overlay_bottom .galleria-info {
        margin-top: 5px;
    }
}
@media screen and (max-width: 1200px){
	/*home*/
	div#last-news a:last-child {
		display: none;
	}
	/*bio*/
	span#text {
		left: 50%;
		display: inline-block;
		width: 70px;
		margin-left: -35px;
	}
	input#it-en, input#it-en:checked ~ label#it-en-label {
	    left: 50%;
	    transition: 0s;
	    display: inline-block;
	}
	input#it-en:checked ~ label#it-en-label {
	    left: 50% !important;
	    margin-left: -38px;
	}
	div#links {
	    left: initial;
	    display: block;
	}
	div#links a {
		padding-top: 10px;
	    text-align: center;
	}
	/*works*/
	.work {
		width: 47.5%;
	}
	/*news*/
	.news-info-wrap, .news-thumb{
		display: block;
		width: 100%;
		margin: 5px 0;
	}
	.news-thumb {
		max-width: 500px;
		margin: 0 auto 25px;
	}
	.news-title, .news-date, 
	.news-place, .news-excerpt {
		text-align: center;
	}
	/*news single*/
	div#go-back a {
	    font-size: 20px;
	}
	div#single-thumb {
		max-width: 68%;
	}
}
@media screen and (max-width: 1080px){
    /*menu*/
    ul#home-menu li a {
        font-size: 13px;
    }
    ul#home-menu li {
        width: 75px;
        right: -9px;
    }
    span#artist a {
        font-size: 19px;
    }
    ul#home-menu li a:hover{
        letter-spacing: 0.5px;
        zoom: 1.04;
    }
	/*home*/
	h2.home, h1#title {
	    font-size: 44.5px;
	    width: 335px;
	}
	div#news-archive-wrap h2.home {
		width: 260px;
	}
	h1#title {
		width: 310px;
	}
	/*bio*/
	div#textarea-wrap{
		width: 500px;
	}
	div#bio {
	    width: 90%;
	}
	/*news single*/
	div#go-back {
	    left: 99px;
	}
	div#go-back a {
	    font-size: 18px;
	}
	div#single-thumb {
		max-width: 75%;
		margin-bottom: 75px;
	}
	span#descrizione h3 {
	    font-size: 19px;
	}
	h1#single-title {
		font-size: 44.5px;
		margin-bottom: 25px;
	}
}
@media screen and (max-width: 900px){
    /*defaults*/
    h1#title {
        margin-top: 0;
    }
    .archive h1#title {
        margin-top: 75px;
    }
	/*menu mobile*/
    .page-id-5 .hamburger, 
    .page-id-5 .hamburger-box {
        padding: 50px 25px 16px 25px;
        right: 0;
    }
    .hamburger, .hamburger-box {
        display: inline-block;
        position: fixed;
        padding: 50px 15px 16px 25px;
        right: 10px;
        background-color: #88979e;
    }
    div#menu {
        border: none;
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        text-align: center;
        height: 90px;
    }
    nav#home-menu-nav, ul#home-menu {
        position: fixed;
        top: 0;
        bottom: 0;
        right: 0;
        left: 100%;
        height: 100%;
        z-index: 9;
        background-color: #88979e;
        transition: left 0.5s;
    }
    ul#home-menu {
        position: absolute;
        margin: auto;
        left: 0;
        height: 50vh;
        width: 50%;
        min-height: 175px;
    }
    ul#home-menu li {
        display: block;
        text-align: center;
        height: 20%;
        width: 100%;
        right: 0;
    }
    ul#home-menu li a {
        font-size: 30px;
    }
    input#menu:checked ~ div nav#home-menu-nav{
        left: 50%;
    }
    input#menu:checked ~ div div#menu {
        right: 44%;
    }
    header#open>div {
        right: 90px;
        height: 90px;
        background-color: rgba(255,255,255,0.9);
    }
    span#artist {
        line-height: 90px;
    }
	/*contatti*/
	h1#title-contatti {
		font-size: 70px;
		width: 550px;
	}
	/*bio*/
	div#textarea-wrap{
		width: 80%;
	}
	div#bio {
	    width: 100%;
	}
	div#thumbnailbox {
		margin-bottom: 99px;
		max-width: 100%;
	}
    /*news single*/
    .single-news-wrap iframe {
        padding: 9px 0;
        width: 384px;
        height: 216px;
    }
}
@media screen and (max-width: 800px){
	/*common settings*/
	body {
		border-left: solid 10px #88979e;
    	border-right: solid 10px #88979e;
	}
	.pagecontainer {
	    padding-bottom: 0;
	}
	/*div#footer > * {
		display: none;
	}*/
    header#open>div {
        left: 10px;
    }
	/*home*/
	h2.home, h1#title {
	    font-size: 40px;
	    letter-spacing: 3.5px;
	    width: 300px;
	}
	div#news-archive-wrap h2.home {
		width: 230px;
	}
	h1#title {
		width: 275px;
	}
	div#latest-work a,  div#last-news a{
		width: 350px;
		display: block !important;
		margin: 0 auto 75px !important;
	}
	div#latest-work, div#last-news {
	    margin: 50px 0;
	}
	div#last-news {
	    padding-top: 195px;
	    margin-bottom: 75px;
        display: block;
	}
	div#news-archive-wrap {
	    margin: 99px 0 75px;
	}
	/*works*/
	.work {
		width: 400px;
	}
	/*works single*/
	.single-work-wrap {
		margin-top: 99px;
	}
	/*news*/
	.news-title a {
		font-size: 20px;
	}
	.news-excerpt {
		font-size: 15.5px;
	}
	.news-more a {
		font-size: 13.5px;
		font-weight: 500;
		margin: 9px 0 15px;
		display: block;
	}
	.news-place, .news-date  {
		margin: 15px 0;
	}
	.news-title {
		margin-bottom: 25px;
	}
	/*news single*/
	div#go-back {
	    left: 75px;
	}
	div#single-thumb {
		max-width: 95%;
	}
	span#descrizione h3 {
	    font-size: 18px;
	}
	h1#single-title {
		font-size: 40px;
		letter-spacing: 3.5px;
		margin-bottom: 20px;
		margin-top: 75px;
	}
	/*bio*/
	div#links {
		margin-bottom: 45px;
	}
    /*galleria*/
    .galleria-theme-nextgen_pro_horizontal_filmstrip.caption_overlay_bottom .galleria-info{
        margin: 25px 0;
    }
} /*********fine max-width 800*****************/
@media screen and (max-width: 640px){
	/*menu mobile*/
	ul#home-menu li a {
	    font-size: 24px;
	}
	nav#home-menu-nav {
		width: 0;
		transition: width 0.5s;
		left: initial !important;
	}
	input#menu:checked ~ div nav#home-menu-nav {
    	width: 275px;
	}
	input#menu:checked ~ div div#menu {
	    right: 0;
    	padding-right: 185px;
	}
	/*home*/
	h2.home, h1#title {
	    font-size: 35px;
	    letter-spacing: 3px;
	    width: 270px;
	}
	div#news-archive-wrap h2.home {
	    width: 210px;
	}
	h1#title {
		width: 240px;
	}
    div#works-archive-wrap {
        margin-top: 50px;
    }
    /*home gallery*/
    div#home-gallery-wrap {
        margin: 0 -6%;
        max-width: 112%;
        width: 112% !important;
        padding-top: 30px;
    }
	/*contatti*/
    div#contatti > span.campo {
        position: relative;
        width: 100%;
        text-align: center;
        display: block;
        top: 185px;
    }
	div#emailswrap .emailist {
		width: 100%;
		display: block;
	}
	div#emailswrap {
        transition: all 0s;
        height: 113px;
        bottom: initial;
        top: 205px;
        position: relative;
    }
	h1#title-contatti {
		transition: all 0s;
	    width: 100%;
	    max-width: 300px;
	    line-height: 70px;
	    bottom: initial;
	    top: 200px;
	    height: 141px;
	    position: relative;
	}
	div#emailswrap .emailist:first-child {
		margin-top: 25px;
	}
	.page-id-5 div#footer {
	    display: none;
	}
	.page-id-5 .pagecontainer {
	    position: relative;
	    height: 100vh;
	    min-height: 520px;
	}
	div#emailswrap::-webkit-scrollbar {
	    width: 1em;
	}
	div#emailswrap::-webkit-scrollbar-track {
	    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	} 
	div#emailswrap::-webkit-scrollbar-thumb {
	  background-color: #1d1d1d;
	  outline: 1px solid #1d1d1d;
	}
	/*bio*/
	div#thumbnailbox {
		margin-bottom: 75px;
	}
	/*news single*/
	div#go-back {
	    top: 90px;
	    left: 26px;
	}
	div#go-back a {
	   font-size: 16px;
	}
	span#descrizione h3 {
	    font-size: 17px;
	}
	h1#single-title {
		font-size: 35px;
		letter-spacing: 3px;
	}
    .single-news-wrap iframe {
        width: 130%;
        height: 50vw;
        margin-left: -15%;
    }
}
@media screen and (max-width: 500px){
    /*footer*/
    div#credits {
        font-size: 12px;
    }
    span#cookies:before, span#cookies:after{
        padding: 0 5px;
    }
	/*menu mobile*/
	input#menu:checked ~ div nav#home-menu-nav {
    	width: 100%;
	}
	div span#artist {
		transition: line-height 1s, font-size 0.1s, left 0s;
	}
	input#menu:checked ~ div span#artist {
		transition: line-height 0.75s, letter-spacing 0.3s;
	    position: relative;
	    z-index: 9999;
	    line-height: 30px;
	    top: 31px;
	    left: 31px;
	}
	input#menu:checked ~ div span#artist a {
		transition: font-size 0.75s;
	    font-size: 50px;
	}
	ul#home-menu {
	    margin: 185px auto auto 51px;
	    height: 40vh;
	}
	ul#home-menu li {
		text-align: left;
	}
	/*home*/
	div#latest-work a, div#last-news a {
		width: 325px;
	}
	div#lw-wrap div:nth-child(2), .work-title a, div#last-news span {
	    font-size: 19px;
	}
	h2.home {
	    font-size: 33px;
	    letter-spacing: 2px;
	    width: 140px;
	    line-height: 1.3;
	    border-bottom: solid 10px;
	}
	div#news-archive-wrap h2.home {
	    width: 185px;
	}
	h1#title {
		font-size: 33px;
		border-bottom: solid 10px #88979e;
		float: none;
    	text-align: center;
    	left: 50%;
    	margin-left: -120px;
        margin-bottom: 15px;
	}
	/*works*/
	.work {
		width: 320px;
	}
	div#works-wrap, div#news-wrap {
	    margin-top: 30px;
	}
    /*works single*/
    .single-work-wrap {
        width: 100%;
    }
    div#gallery-box {
        margin: 0 -6% 50px;
        max-width: 112%;
        width: 112% !important;
        /*height: 500px;*/
    }
	/*contatti*/
    span.campo a {
        font-size: 16px;
    }
    span.nome a {
        font-size: 20px;
    }
    span.nome {
        margin-right: 15px;
    }
    div#emailswrap {
        width: 275px;
    }
	.page-id-5 .pagecontainer {
	    position: absolute;
	}
	.news-excerpt {
	    font-size: 15px;
	    font-weight: 400;
	}
	/*news*/
	.news-place >*, .news-date >*, .news-date{
	    display: block;
	    font-weight: 500;
	}
	/*news single*/
	span#descrizione h3 {
	    font-size: 16px;
	}
	h1#single-title {
		font-size: 33px;
		letter-spacing: 2px;
	}
    /*video*/
    .pp_pic_holder.pp_default{
        width: 95% !important;
        height: 100vh !important;
        left: initial !important;
    }
    .pp_content {
        width: 97% !important;
    }
    iframe {
        width: 100%;
    }
    div#content-wrap {
        padding-top: 50px;
    }
    .archive h1#title {
        margin-top: 50px;
    }
    /*galleria*/
.galleria-theme-nextgen_pro_horizontal_filmstrip.caption_overlay_bottom .galleria-info {
        margin: 15px 0;
    }
}
@media screen and (max-width: 400px){
    /*footer*/
    div#credits {
        font-size: 9.5px;
    }
	/*menu mobile*/
	input#menu:checked ~ div span#artist a {
	    font-size: 42px;
	}
	ul#home-menu {
	    margin: 185px auto auto 42px;
	}
	/*home*/
	div#latest-work a, div#last-news a {
	    width: 248px;
	    min-width: 248px;
	}
	div#lw-wrap div:nth-child(2), .work-title a, div#last-news span {
	    font-size: 15px;
	}
    div#lw-wrap div:nth-child(2){
        margin: 9px 0 0 0;
    }
	div#lw-wrap div:nth-child(3), .work-date {
		font-size: 11px;
	}
    div#lw-wrap div:nth-child(3){
        margin: 5px 0;
    }
	div#button a {
		font-size: 16px;
	}
    div#button {
        width: 188px;
    }
    div#news-archive-wrap div#button {
        width: 150px;
    }
	div#nw-wrap div span:after {
	    font-size: 10px;
	}
	/*works*/
	.work {
		width: 248px;
	}
	/*single*/
	div#textarea-wrap, .single-news-wrap div#textarea-wrap {
	    width: 90%;
	}
}
@media screen and (min-width: 641px) and (max-height: 700px) {
    /*contatti*/
    .page-id-5 .pagecontainer {
        position: relative;
        height: 100vh;
        min-height: 700px;
    }
}
@media screen and (max-width: 500px) and (max-height: 400px){
    input#menu:checked ~ div span#artist a{
        font-size: 25px;
    }
    ul#home-menu {
        margin-top: 120px;
        height: 40vh;
        min-height: 150px;
    }
    input#menu:checked ~ div div#menu {
        text-align: left;
    }
    ul#home-menu li a {
        font-size: 20px;
    }
}
@media screen and (max-width: 500px) and (max-height: 300px){
    span#artist {
        display: none;
    }
    ul#home-menu {
        margin: auto auto auto 51px;
    }
}

/************************
****HOME G A L L E R Y***
************************/
div#home-gallery-wrap {
    max-height: 885px;
    width: 100%;
    position: relative;
    margin-top: 20px;
    overflow: hidden;
}
div#home-gallery-wrap,
div#home-gallery-wrap > * {
	transition: 0s;
	text-align: center;
}
#wds_container1_0 #wds_container2_0 .wds_slideshow_dots_container_0{
    display: none !important;
}
div#wds_container1_0, div#wds_container1_0 *{
    transition: 0s !important;
}
div#wds_container1_0 {
    width: 100% !important;
}



/************************
**NEXTGEN G A L L E R Y**
************************/
.galleria-image img {
    width: 100% !important;
    height: auto !important;
    left: 0 !important;
    top: 0 !important;
    right: 0;
    bottom: 0;
    margin: auto;
}
.galleria-image .galleria-layer {
    top: 0 !important
}
.galleria-info-text {
    padding: 5px !important;
}
.ngg-galleria-parent .ngg-galleria{
    width: 100% !important;
}
.galleria-theme-nextgen_pro_horizontal_filmstrip .galleria-images {
    max-height: 798px !important;
    max-width: 1400px;
    position: relative !important;
    display: inline-block;
    text-align: center;
    width: 100% !important;
}
.galleria-theme-nextgen_pro_horizontal_filmstrip .galleria-stage .galleria-image {
    width: 100% !important;
}
.galleria-theme-nextgen_pro_horizontal_filmstrip.galleria-container{
    overflow: initial !important;
    height: 100% !important;
}
.galleria-theme-nextgen_pro_horizontal_filmstrip .galleria-stage {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 798px;
}
.galleria-theme-nextgen_pro_horizontal_filmstrip .galleria-thumbnails-container {
    position: relative !important;
}
.galleria-theme-nextgen_pro_horizontal_filmstrip .galleria-info{
    color: #1d1d1d !important;
    background-color: white !important;
}
@media screen and (max-width: 500px) {
    .galleria-image img {
        max-width: 100% !important;
    }
}


/************************
****S C R O L L B A R****
************************/
::-webkit-scrollbar {
    width: 9px;
}
 
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    border-radius: 10px;
}
 
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
    background-color: #1d1d1d;
}






/*
404 page
*/
h2#pagefault {
    width: 310px;
    display: inline;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    height: 30px;
}
.error404 .pagecontainer a {
    color: #741317;
    font-weight: 600;
    font-size: 18px;
    height: 25px;
    width: 50px;
    display: inline;
    top: 99px;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    position: absolute;
    text-decoration: none;
}
.error404 .pagecontainer a:hover{
    color: #82704d;
}
@media screen and (max-width: 375px){
    h2#pagefault {
        width: 180px;
        text-align: center;
        height: 55px;
        font-size: 23px;
    }
} 