/*
 =====================================
 project: studiopavoni
 modified: 2019.10.30
 author: Federica Sibella (http://www.musings.it)
 per studio Pavoni v1 responsive
 =====================================
 */

/*grid*/


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:focus,:active {
    outline: 0
}

img {
    border: 0
}

html {
	width: 100%;
	min-height: 100%;
	overflow-y: scroll;
	overflow-x: hidden;
	min-width: 360px;
}

body {
    font: 13px Arial, Tahoma, Verdana;
    color: #777;
	background: url(../images/bodybg.png) repeat #fbfbfb; /*#FBFFE3;*/
	position: relative;
	width: 100%;
	min-height: 100%;
}

.esc {
	position: relative;
	height: 1px;
	width: 100%;
	display: block;
	margin: 0 auto;
	clear: both;
}

.container, .description, header {
	position: relative;
	margin: 0 auto;
	width: 100%;
	clear: both;
}

.wrapper {
	position: relative;
	margin: 0 auto;
	width: 100%;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

@media screen and (max-width: 767px) {
	.wrapper {
		display: block;
	}
}

/*fonts per i titoli ed il logo*/
@font-face {
	font-family: 'MabellaItalic';
	src: url('../fonts/mabellait-webfont.eot');
	src: local('☺'), url('../fonts/mabellait-webfont.woff') format('woff'), url('../fonts/mabellait-webfont.ttf') format('truetype'), url('../fonts/mabellait-webfont.svg#webfontOk3oqWBg') format('svg');
	font-weight: normal;
	font-style: normal;
}

a {
    text-decoration: none;
    color: #d70500;
}

h1 {
    font-size: 36px;
    font-weight: normal;
}

h1 a {
    color: #777;
}

span.grande {
	font-size: 40px;
}

h2 {
    font-size: 20px;
}

h3 {
    font-size: 24px; /*se non revue 16px*/
    padding: 6px 0px;
    color: #d50000;
	text-shadow: 1px 1px 1px #fff;
    margin: 0 0 10px;
    /*float: left;*/
	font-family: 'MabellaItalic', Arial, Tahoma, Verdana;
	letter-spacing: 1px;
}

h4 {
    margin: 0 0 15px;
    color: #498116;
    font-weight: bold;
    font-size: 14px;
	text-shadow: 1px 1px 1px #fff;
}

p, #pitch .leftbig ul li {
	font-size: 16px;
    clear: both;
    margin: 0 0 10px;
	line-height: 22px;
	text-align: left;
}

.leftbig ul {
	list-style:disc;
	list-style-position: inside;
}

hr {
	clear: both;
	margin: 0px 0px;
	height: 2px;
	border-top: 1px solid #fafafa; /*se senza texture va bene #fff*/;
	border-left: none;
	border-right: none;
	border-bottom: 1px solid #eaeaea; /*se senza texture va bene #efefef;*/
}

hr.due {
	border-top: 1px solid #7aaa3a;
	border-bottom: 1px solid #7aaa3a;
	margin: 0 auto;
	background-color: #7aaa3a;
}

.clear {
    clear: both;
}

#content {
    width: 970px;
    margin: 0 auto;
	position: relative;
}

@media screen and (max-width: 1023px) {
	#content {
		width: 100%;
	}
}

#top {
    color: #fdfdfd;
    padding: 5px 0px;
	margin: 0;
    font-size: 11px;
	border-bottom: 4px solid #498116;
	background-color: #ebebeb;
}

#lingua {
	width: 970px;
	margin: 0 auto;
	height: 20px;
}

@media screen and (max-width: 1023px) {
	#lingua {
		width: 100%;
	}
}

#lingua p {
	text-align: right;
	margin: 0px;
	font-size: 11px;
	line-height: 20px;
}

#lingua span {
	background-color: #003300;
	padding: 5px 10px;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	font-weight: bold;
}

#lingua span a.link_lingua {
	color: #f50000;
}

#logo, #logo-new {
	position: relative;
    float: left;
	width: 46%;
    padding: 10px;
    margin: 0 0 0 13px;
}

#logo img {
	border: none;
	float: left;
	position: absolute;
	z-index: 2;
	margin: -31px auto auto -19px;
}

#logo-new img {
	position: relative;
	display: block;
	padding: 0;
}

#logo h1 {
	position: relative;
	z-index: 10;
	color: #003300; 
	text-shadow: 2px 2px 2px #fff;
	margin: 31px auto 40px 70px;
	letter-spacing: 0px; /*se non revue -2px*/
	font-family: 'MabellaItalic', Arial, Tahoma, Verdana;
	font-size: 48px; /*se non revue 36px*/
}

@media screen and (max-width: 1023px) {
	#logo {
		width: calc(100% - 100px);
	}
}

@media screen and (max-width: 767px) {
	#logo h1 {
		font-size: 32px;
	}
}

#interruttore {
	position: absolute;
	z-index: 20;
	top: 51px;
	left: 0px;
	border: 1px solid #fafafa;
	padding: 0px;
	cursor: pointer;
	-moz-border-radius: 10px;
	border-radius: 10px;
	-webkit-border-radius: 10px;
}

#interruttore p {
	text-shadow: 1px 1px 1px #fafafa;
	margin: 0px;
	padding: 1px;
	border: 1px solid #eaeaea;
	font-size: 13px;
	line-height: 20px;
}

#on {
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-topright: 10px;
	border-top-left-radius: 10px;
	border-top-right-radius:10px;
	-webkit-border-top-left-radius: 10px;
	-webkit-border-top-right-radius: 10px;
}

#off {
	-moz-border-radius-bottomleft: 10px;
	-moz-border-radius-bottomright: 10px;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius:10px;
	-webkit-border-bottom-left-radius: 10px;
	-webkit-border-bottom-right-radius: 10px;
}

@media screen and (max-width: 1023px) {
	#logo {
		margin-left: 20px;
	}
	#interruttore {
		left: 68px;
	}
}

#knx {
	position: relative;
	float: left;
	width: 80px;
	height: 50px;
	margin-top: 41px;
	margin-left: 10px;
}

@media screen and (max-width: 1023px) {
	#knx {
		position: absolute;
		float: none;
		right: 10px;
		margin-top: 60px;
		margin-left: auto;
	}
}

.mobile-menu-wrapper, .mobile-menu-trigger {
	display: none;
}

#menu {
    float: right;
    margin:0px;
	padding: 0px;
	/*overflow: hidden;*/
	position: relative;
}

#menu li {
    display: inline;
    font-size: 1.3em;
	padding: 0px;
	list-style: none;
	float: left;
	margin: 0px 5px 0px 0px;
}

#menu li.ultimo {
	margin-right: 0px;
}

#menu li a:hover, #menu li a:focus {
    color: #fdfdfd;
	text-shadow: none;
}

#menu li.current a {
	color: #fdfdfd;
	text-shadow: none;
}

#menu li.backLava {
	background-color:#7aaa3a;
	position: absolute;
	color: #fdfdfd;
	-moz-border-radius-bottomleft: 10px;
	-moz-border-radius-bottomright: 10px;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius:10px;
	-webkit-border-bottom-left-radius: 10px;
	-webkit-border-bottom-right-radius: 10px;
	/*
-moz-box-shadow:0px 2px 4px #555;
	-webkit-box-shadow:0px 2px 4px #555;
	box-shadow:0px 2px 4px #555;
*/
}

#menu li a {
	color: #003300;
	text-decoration: none;
	text-align: center;
	z-index: 10;
	display: block;
	position: relative;
	padding: 60px 10px 5px;
	text-shadow: 1px 1px 1px #fff;
}

@media screen and (max-width: 1023px) {
	#menu {
		display: none;
	}
	
	.mobile-menu-trigger,
	.mobile-menu-close {
		position: absolute;
		display: block;
		cursor: pointer;
		top: 10px;
		right: 20px;
		height: 32px;
		width: 32px;
		background: url('../images/mobile-menu.svg') no-repeat center center;
		z-index: 10;
	}
	
	.mobile-menu-close {
		top: 20px;
		height: 28px;
		width: 28px;
		background: url('../images/mobile-menu-close.svg') no-repeat center center;
	}
	
	.mobile-menu-trigger:hover {
		background: url('../images/mobile-menu-hover.svg') no-repeat center center;
	}
	.mobile-menu-close:hover {
		background: url('../images/mobile-menu-close-hover.svg') no-repeat center center;
	}
	
	.mobile-menu-wrapper {
		position: absolute;
		display: none;
		width: 95vw;
		height: 98vh;
		top: -8px;
		left: 2vw;
		background: url(../images/bodybg.png) repeat #fbfbfb;
		z-index: 9999;
		border: 4px solid #498116;
	}
	
	.mobile-menu {
		position: relative;
		margin: 50px auto auto auto;
		padding: 0;
		list-style: none;
	}
	
	.mobile-menu li {
		font-size: 24px;
		line-height: 1.5;
		margin: 0 auto 0.5em auto;
		text-align: center;
	}
}

#pitch {
    padding: 0px;
    height: auto;
    margin: 0px;
	position: relative;
	clear: both;
}

#pitch h1 {
    font-size: 2.6em;
    color: #fefefe;
	line-height: 150%;
	padding-left: 20px;
}

#pitch h2 {
    line-height: 150%;
	padding-left: 20px;
	color: #fefefe;
}

/*bordi grunge sul pitch*/
#pitch #grungeborders {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	z-index: 1000;
	/*
	border-image-slice: 15;
	border-image-width: 10px;
	border-image-outset: 0px;
	border-image-repeat: round;
	border-image-source: url("../images/grungeborders04.png");
	*/
}

.nivo-caption h1, .nivo-caption h2 {
	color: rgb(255,255,255);
	margin: 0px;
	font-family: 'MabellaItalic', Arial, Tahoma, Verdana;
	text-align: right;
	margin-right: 30px;
	text-shadow: 2px 2px 0px #333;
}

.nivo-caption h2 {
	text-shadow: 1px 1px 0px #333;
}

#pitch .nivo-caption h1 {
	font-size: 42px;
}

#pitch .nivo-caption h2 {
	font-size: 24px;
}

@media screen and (max-width: 1023px) {
	#pitch .nivo-caption h1 {
		font-size: 32px;
	}
	
	#pitch .nivo-caption h2 {
		font-size: 20px;
	}
}

@media screen and (max-width: 767px) {
	#pitch .nivo-caption {
		display: none!important;
	}
}

.left {
    float: left;
    width: 420px;/*era 250*/
	margin: 20px 0px;
}

.left img, .rightsmall img, .projimg img {
	position: relative;
	display: block;
	width: 100%;
	-moz-box-shadow:0px 0px 5px #333;
	-webkit-box-shadow:0px 0px 5px #333;
	box-shadow:0px 0px 5px #333;
	margin: 5px auto;
}

.right {
    float: right;
    width: 500px;/*era 630*/
    margin: 20px 0px;
}

#ultimoprogetto {
	position: relative;
	display: block;
	width: 100%;
	max-width: 420px;
	-moz-box-shadow:0px 0px 0px #333;
	-webkit-box-shadow:0px 0px 0px #333;
	box-shadow:0px 0px 0px #333;
	margin-top: -2px;
}

.other_projects a {
	display: flex;
	justify-content: left;
	flex-wrap: wrap;
}

.other_projects img {
	flex: 1 1 200px;
	max-width: 210px;
	margin: 5px;
	box-shadow: 0px 0px 2px #333;
}

p.projdesc {
	margin-top: 3px;
	text-align: left;
	clear: both;
	font-size: 14px;
	line-height: 20px;
}

.description h1, .description .privacy h1 {
	font-size: 32px;
	font-family: 'MabellaItalic', Arial, Tahoma, Verdana;
	margin: -5px 0px 0px 0px;
	padding: 0px 0px 15px 0px;
	color: #d50000;
	text-shadow: 1px 1px 1px #fff;
	line-height: 100%;
}

.description h1 a, .description .privacy h1 a {
	color: #d50000;
}

.privacy {
	clear: both;
	margin: 20px 0px;
	width: 100%;
}

.description ul, .privacy ul {
	list-style: circle;
	list-style-position: inside;
	margin-bottom: 7px;
}

.description ul li, .privacy ul li {
	font-size: 16px;
	line-height: 24px;
}

.privacy h3 {
	color: #498116;
}

.two-thirds h2, .privacy h2 {
	font-size: 28px;
	font-family: 'MabellaItalic', Arial, Tahoma, Verdana;
	margin: 15px 0px 0px 0px;
	padding: 0px 0px 15px 0px;
	color: #d50000;
	text-shadow: 1px 1px 1px #fff;
	line-height: 100%;
}

.right h3, .left h3 {
    font-size: 20px; /*se non revue 14px*/
	color: #498116;
	margin-bottom: 7px;
}

h3.progetto {
	color: #498116;
}

.right p {
	margin-bottom: 10px;
}

.third {
    margin: 20px;
    min-height: 350px;
    flex: 1 1 25%;
}

.two-thirds {
	margin: 20px;
	flex: 1 1 55%;
}

.half {
	margin: 20px;
	flex: 1 1 45%;
}

@media screen and (max-width: 1023px) {
	 .third {
	 	flex: 1 1 45%;
	 }
}

@media screen and (max-width: 1023px) {
	 .third {
	 	min-height: initial;
	 }
}

.destra {
	text-align: right;
}

#footer {
    clear: both;
    font-size: .84em;
    padding: 10px 0px;
	background-color: #003300;
	border-top: 4px solid #498116;
	width: 100%;
	height: auto;
	position: relative;
	bottom: 0;
}

#footer p {
	margin: 0px;
	color: #fdfdfd;
	font-size: 12px;
}

#footercentrato {
	width: 970px;
	margin: 0 auto;
	overflow: hidden;
	justify-content: space-between;
}

@media screen and (max-width: 1023px) {
	#footercentrato {
		width: 100%;
	}
	
	#footercentrato > div {
		padding: 0 20px;
	}
}

/**
#copy {
	width: 89%;
	float: left;
}

#credits {
	width: 11%;
	float: right;
}


#credits p {
	text-align: right;
}
*/
