@media screen {
body{
	margin:0px;
	padding:0px;
	font-family: Verdana, Geneva, sans-serif;
}

body.home{
	background-color:#000000;
}

#container{
	width:960px;
	width: 1280px;
	margin:auto;
	margin-top:40px;
}
.logo{
	width:300px;
}
#new_menu_container{
	width: 100%;
	background-color: #ffffff;
	padding-top: 60px;
}
#new_menu{
	width: 960px;
	width: 1280px;
	margin: auto;
}
#menu{
	width:100%;
	border-top:1px solid #b9babb;
	border-bottom:1px solid #b9babb;
	font-size:0.9em;
	margin-top:65px;
	margin-bottom:60px;
	height:40px;
	position: relative;
}
#menu #menu_margherita_switch{
	position: absolute;
	right: 0px;
	top: 10px;
	text-transform: uppercase;
}
#menu #menu_margherita_switch a{
	color: #000;
	text-decoration: none;
}
#menu_mobile{
	display: none;
}
body.home #menu{
	margin-bottom:0px;
}
#menu ul{
	margin:0px;
	padding:0px;
}
#menu ul li{
	margin:0px;
	padding:0px;
	float:left;
	height:40px;
	line-height:40px;
	list-style:none;
	margin-right:25px;
}
#menu ul li a{
	color:#8b8c8e;
	text-decoration:none;
}
#pagination-div{
	width:100%;
	border-top:1px solid #b9babb;
	border-bottom:1px solid #b9babb;
	font-size:0.9em;
	margin-top:30px;
	height:40px;
	line-height:40px;
	margin-bottom:60px;
}
#pagination-div a{
	color:#8b8c8e;
	text-decoration:none;
}
.page-prev{
	float:left;
	position:relative;
	z-index:2;
}
.page-next{
	float:right;
	position:relative;
	z-index:2;
}
#pagination-num{
	width:960px;
	width: 1280px;
	text-align:center;
	margin:auto;
	position:absolute;
	z-index:1;
}
#pagination-num a{
	padding-left:5px;
	padding-right:7px;
	border-right:1px solid #000000;
}
#pagination-num a:last-child{
	border-right:none;
}
#pagination-num a.selected{
	font-weight:bold;
}
#content-home{
	width:100%;
	height:777px;
	position:relative;
}
.titolo{
	position: absolute;
	top: -999px;
}
#titolo-home{
	position:absolute;
	color:#8b8c8e;
	font-size:2.1em;
	line-height:0.8em;
	top:80px;
	left:0px;
	text-transform:uppercase;
	font-style:italic;
	font-weight:900;
}
#testo-bio{
	position:absolute;
	color:#8b8c8e;
	font-size:0.9em;
	line-height:1.1em;
	top:40px;
	left:0px;
	width:300px;
	padding-right:2%;
}
#testo-bio p{
	margin-bottom:0px;
}

#testo-bio a{
	color:#8b8c8e;
}

#testo-home{
	position:absolute;
	color:#8b8c8e;
	font-size:0.9em;
	line-height:1.1em;
	top:200px;
	left:0px;
	width:320px;
}

#content-portfolio{
	min-height:658px;
}
.box-portfolio{
	width:625px;
	height:450px;
	display:inline-table;
	margin-bottom:30px;
	background-size: cover;
	cursor:pointer;
}
.box-portfolio:nth-of-type(odd) {
    margin-right:30px;
}
.box-portfolio-hover{
	background-color:rgba(0, 0, 0, 0.5);
	width:100%;
	height:100%;
	position:relative;
	opacity:0;
}
.box-portfolio-hover h1{
	position:absolute;
	top:20px;
	left:10px;
	width:200px;
	font-size:2em;
	line-height:0.9em;
	text-transform:uppercase;
	font-style:italic;
	font-weight:900;
	color:#ffffff;
}
#content{

}
#content .ris{
	color:#8b8c8e;
}

#content-left{
	width:76%;
	display:inline-table;
	vertical-align:top;
	margin-right:1%;
	padding-right:1%;
	border-right:1px solid #b9babb; 
}
#content-left a{
	color: #000;
}
#content-left #image-top{
	width:100%;
}

#content-left-blog{
	width:76%;
	display:inline-table;
	vertical-align:top;
	margin-right:1%;
	padding-right:1%;
	border-right:1px solid #b9babb; 
	color:#8b8c8e;
	font-size:0.8em;
	line-height:1.3em;
}

#content-left-blog h1{
	text-transform:uppercase;
	font-size:1.1em;
	margin-bottom:30px;
	margin-top:0px;
	color:#8b8c8e;
}

#content-left-blog a{
	color:#8b8c8e;
}
#content-left-blog a:hover{
	text-decoration:none;
}

#content-left-blog img{
	width:100%;
}

#content-left-blog iframe{
	width:100%;
	height:428px;
}

#content-right{
	width:21%;
	display:inline-table;
	color:#8b8c8e;
	font-size:0.8em;
	line-height:1.3em;
	vertical-align:top;
	font-weight:300;
}
#content-right h1{
	text-transform:uppercase;
	font-size:1.1em;
	margin-bottom:30px;
	margin-top:0px;
	color:#8b8c8e;
}
#content-right a{
	color:#8b8c8e;
}
#content-right a:hover{
	text-decoration:none;
}
#gallery-crop{
	
}
.image-crop img{
	margin-top:25px;
}
.image-crop:nth-of-type(odd) {
	margin-right:26px;
}
.box-blog{
	height:145px;
	width:100%;
	border-bottom:1px solid #b9babb;
	padding-bottom:15px;
	margin-bottom:15px;
	position:relative;
	cursor:pointer;
}
.box-blog-img{
	height:145px;
	width:230px;
	background-size: cover;
}
.box-blog-text{
	position:absolute;
	top:0px;
	left:240px;
	color:#8b8c8e;
	font-size:0.8em;
	line-height:1.3em;
}
.box-blog-text h1{
	text-transform:uppercase;
	font-size:1.1em;
	margin-bottom:10px;
	margin-top:0px;
	color:#8b8c8e;
}

.box-blog:last-child{
	margin-bottom:0px;
	border-bottom:none;
}
.tag-link a{
	text-decoration:none;
}
.tag-link a:hover{
	text-decoration:underline !important;
}

/***********slider*****************/

#more-works{
	width:100%;
	border-top:1px solid #b9babb;
	border-bottom:1px solid #b9babb;
	font-size:0.9em;
	margin-top:60px;
	height:40px;
	line-height:40px;
	margin-bottom:30px;
	font-weight:bold;
	color:#8b8c8e;
}


.box-more-works{
	width:230px;
	height:145px;
	background-size: cover;
}
#showcase-cont{
	position:relative;
	width:100%;
	height:145px;
	margin-bottom:30px;
}
.iosSlider {
	position: relative;
	top: 0;
	left: 0;
	overflow: hidden;
	width: 740px;
	height: 145px;
	margin:auto;
}

.iosSlider .slider {
	width: 100%;
	height: 100%;
}

.iosSlider .slider .item {
	position: relative;
	top: 0;
	left: 0;
	width:230px;
	height: 145px;
	margin-right:25px;
}
.postPrev{
	position:absolute;
	left:0px;
	top:55px;
}
.postNext{
	position:absolute;
	right:0px;
	top:55px;
}

/****************footer************************/
#footer{
	width:100%;
	background-color:#000000;
	height:170px;
	border-top:1px solid #b9babb;

	padding-bottom: 20px;
}
#footer-cont{
	width:960px;
	width: 1280px;
	margin:auto;
	padding-top:50px;
}
.footer-box{
	width:234px;
	width: 315px;
	height:100px;
	display:inline-table;
	vertical-align:top;
	border-right:1px solid #b9babb;
	color:#8b8c8e;
	font-size:0.8em;
}
.footer-box a{
	text-decoration:none;
	color:#8b8c8e;
}
.footer-box a:hover{
	text-decoration:underline;
}
.footer-box a:hover img{
	text-decoration:none;
}
.footer-box strong{
	color:#8b8c8e;
	font-size:1.1em;
}
.footer-box img{
	opacity:0.5;
	height:30px;
	margin-right:10px;
}
#footer-search{
	color:#000;
	padding:5px 10px 5px 10px;
	background-color:#8b8c8e;
	width:85%;
}
#footer-search input{
	color:#000;
	background-color:#8b8c8e;
	border:none;
}
#header_ghost, .text_mobile{
	display: none;
}
.bio_page{
	height: 1280px !important;
}

}
@media screen and (max-width: 1279px){
#container, #new_menu, #pagination-num, #footer-cont{
	width:960px;
}
.box-portfolio{
	width:465px;
	height:299px;
}
.footer-box{
	width:234px;
}
#footer-search input{
	width: 50%;
}

}
@media screen and (max-width: 1024px){

#container, #new_menu, #pagination-num, #footer-cont{
	width:770px;
}
#content-left iframe{
	width: 100%;
}
#content-home img{
	object-fit:contain;
	height: 100%;
	width: 100%;
}
#gallery-crop{
	width: 100%;
}
#gallery-crop img{
	width: 47%;
	height: 100%;
	object-fit:cover;
}
.box-portfolio{
	width: 370px;
	height: 250px;
}
#content-portfolio{
	min-height: 558px;
}
.footer-box{
	width:186px;
}
#menu{
	display: none;
}
#menu_mobile{
	display: block;
	width:100%;/*
	border-top:1px solid #b9babb;*/
	font-size:0.9em;
	margin-top:65px;
	margin-bottom:60px;
	min-height:40px;
	position: relative;
}
#menu #menu_margherita_switch{
	display: none;
}
#menu_mobile #menu_margherita_mobile_switch{
	position: absolute;
	right: 10px;
	top: 0px;
	text-transform: uppercase;
	z-index: 9999;
	height: 100%;
	width: 50px;
	padding-top: 10px;
	box-sizing: border-box;
	text-align: right;
}
#menu_mobile #menu_margherita_mobile_switch a{
	text-decoration: none;
	text-transform: uppercase;
	color: #000;
	display: block;
}
#menu_mobile ul{
	margin:0px;
	padding:0px;
	display: none;
}
#menu_mobile span{
	height:40px;
	line-height:40px;
	display: block;
	border-top:1px solid #b9babb;
	border-bottom:1px solid #b9babb;
	box-sizing:border-box;
	color:#8b8c8e;
}
#menu_mobile ul li{
	margin:0px;
	padding:0px;
	height:40px;
	line-height:40px;
	list-style:none;
	border-bottom:1px solid #b9babb;
	box-sizing:border-box;

	padding-left: 15px;
}
#menu_mobile ul li a{
	color:#8b8c8e;
	text-decoration:none;
	display: block;
}




}


@media screen and (max-width: 768px){
#container, #new_menu, #pagination-num, #footer-cont{
	width:100%;
}
#content-home{
	width: calc(100% - 40px);
	margin: auto;
	height: auto;
	padding-bottom: 20px;
}
#content-home img{
	position: absolute;
	top: 0px;
	left: 0px;
	opacity: 0.5;
	z-index: 1;
}

#titolo-home, #testo-home, #testo-bio{
	position: relative;
	top: 0px;
	z-index: 2;
	display: block;
	width: 100%;
}
#menu_mobile{
	margin-top: 20px;
	margin-bottom: 0px;
}
#menu_mobile span{
	padding-left: 10px;
}
#menu_mobile ul li{
	padding-left: 25px;
}
.logo{
	width: 270px;
	padding-left: 20px;
}
#header_ghost{
	display: block;
	height: 100px;
	width: 100%;
	background-color: #ffffff;
}
#new_menu_container{
	position: fixed;
	padding-top: 20px;
	z-index: 99999;
}
#footer-cont{
	padding-top: 20px;
}
.footer-box{
	border-right:0px;
	width: 100%;
	border-bottom: 1px solid #b9babb;
	padding-bottom: 20px;
	width: calc(100% - 40px);
	padding-left:20px; 
	padding-right:20px; 
	float: none;
}
.footer-box:nth-child(3){
	padding-top: 20px;
	border-bottom: none;
}
.footer-box:first-child, .footer-box:last-child{
	display: none;
}
#footer{
	height: auto;
}
.blog_page #content-right, .portfolio_post #content-right{
	display: none;
}
.blog_page .page-next, .page-next{
	display: none;
}
#content-left-blog{
	border: none;
	padding: 0px;
	margin: 0px;
	margin: auto;
	width: calc(100% - 40px);
	display: block;
}
#content-left{
	border: none;
	padding: 0px;
	margin: 0px;
	margin: auto;
	width: 100%;
}
.iosSlider{
	width: 100%;
}
#more-works{
	padding-left: 20px;
	box-sizing:border-box;
}
.postPrev, .postNext, .page-prev{
	display: none;
}
.box-blog-text{
	display: none;
}
.box-blog{
	height: 250px;
}
.box-blog-img{
	width: 100%;
	height: 100%;
}
.box-portfolio:nth-of-type(odd){
	margin-right: 0px;
}
.box-portfolio{
	width: 100%;
}
#gallery-crop img{
	width: 100%;
}
.portfolio_post p{
	width: calc(100% - 40px);
	padding-left: 20px;
}
.portfolio_post .text_mobile p{
	padding:0px;
	width: 100%;
}
.bio_page{
	height: auto !important;
	padding-bottom: 40px !important;
}
.text_mobile{
	margin: auto;
	width: calc(100% - 40px);
	display: block;
	color: #8b8c8e;
    font-size: 0.8em;
    line-height: 1.3em;
    vertical-align: top;
    font-weight: 300;
    padding-bottom: 20px;
}
.text_mobile h1 {
    text-transform: uppercase;
    font-size: 1.1em;
    margin-bottom: 30px;
    margin-top: 0px;
    color: #8b8c8e;
}



}