/*
Theme Name: Infinity
Theme URI: http://themetrust.com/themes/infinity
Description: A Responsive and Minimal Portfolio Theme
Version: 1.1.2
Author: Theme Trust
Author URI: http://themetrust.com
Tags: portfolio, responsive, clean, minimal, white, two-columns, custom-background, threaded-comments, translation-ready, custom-menus

TABLE OF CONTENTS

01 - Reset
02 - Global
03 - General Layout
04 - Header
05 - Content
06 - Slideshow
07 - Widgets
08 - Comments
09 - Pagination
10 - Footer
11 - Media Queries
*/

/* /////////////////////////////////////////////////////////////////////
//  01 - 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, font, 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 {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
	background: transparent;
}

/* applies to GIF and PNG images; avoids blurry edges */

img[src$=".gif"], img[src$=".png"] {
                   transform: rotate( .1deg );
                 }



html {height: 101%;}

body {
	line-height: 1;
	text-rendering: optimizelegibility!important;
	-webkit-text-size-adjust: none;
}

::selection {
	background: #EEEEEE; /* Safari */
	}
::-moz-selection {
	background: #EEEEEE; /* Firefox */
}

::-webkit-selection {
	background: #EEEEEE; /* Chrome */
}


h1, h2, h3, h4, h5, h6 {
	clear: both;
}

h1 {
	font-family: 'gazzosa';
	letter-spacing:-0.5px;
}

h5 {
	font-weight:800;
}

ul {
	list-style: none;
}

blockquote {
	quotes: none;
}


del {
	text-decoration: line-through;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a img { border: none; }

img { display: block; }

input[type="submit"]::-moz-focus-inner {border:0;}
input[type="submit"]::-webkit-focus-inner {border:0;}

.slideshow img, .post p img, .page p img, img.postThumb,
.single p img, #footer p img, video, object, embed {
	max-width: 100% !important;
	height: auto;
}

.wp-caption {
	width: auto !important;
}

/* Isotope ----------- */

.isotope,
.isotope .isotope-item {
  /* change duration value to whatever you like */
  -webkit-transition-duration: 0.8s;
     -moz-transition-duration: 0.8s;
      -ms-transition-duration: 0.8s;
       -o-transition-duration: 0.8s;
          transition-duration: 0.8s;
}

.isotope {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
      -ms-transition-property: height, width;
       -o-transition-property: height, width;
          transition-property: height, width;
}

.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
     -moz-transition-property:    -moz-transform, opacity;
      -ms-transition-property:     -ms-transform, opacity;
       -o-transition-property:         top, left, opacity;
          transition-property:         transform, opacity;
}

/**** disabling Isotope CSS3 transitions ****/

.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
  -webkit-transition-duration: 0s;
     -moz-transition-duration: 0s;
      -ms-transition-duration: 0s;
       -o-transition-duration: 0s;
          transition-duration: 0s;
}

.isotope-item {
	z-index: 2;
}

.isotope-hidden.isotope-item {
	pointer-events: none;
	z-index: 1;
}

/**** Video Embeds ****/
/*
.videoContainer {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

*/
.videoContainer {
position: relative;
padding-bottom: 62.25%;
padding-top: 4.5%;
height: 0;
overflow: hidden;
margin-bottom:35px;
}

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


/* /////////////////////////////////////////////////////////////////////
//  02 - Global
/////////////////////////////////////////////////////////////////////*/

body {
	font-size: 100%;
	font-family: "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	width:auto; height:auto;
	padding: 0 0 0 0;
	margin: 0;
	color: #000000;
	background-color: #FFFFFF;
}

body.bg_waves {
	background: transparent url(images/bg_waves.jpg);
}

body.bg_diagonal {
	background: transparent url(images/bg_diagonal.gif);
}

body.bg_grid {
	background: transparent url(images/bg_grid.jpg);
}

p {
	line-height: 1.7em;
	font-size: .75em;
	margin: 0 0 20px 0;
}

table {
	font-size: .75em !important;
}

table caption {
	font-size: 1em !important;
}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

li {
	margin: 0 0 0 0;
	padding: 0;
}

img {
	margin: 0;
}

img.left {
	margin: 0 15px 15px 0;
	float: left;
}

a {
	text-decoration: none;
	outline: none;
	border-bottom: 0px solid #FFFFFF;
    transition: all ease-in-out .3s;
}

a{
	color: #93bcbe;
}

a:hover {
	color: #4d787a;
}

a img {
	border:none;
}

h1, h2, h3, h4, h5, h6{
	margin: 0 0 15px 0;
	font-weight: normal;
}




code {
    font-family: "Courier New", Courier, serif;
	overflow: auto;
	padding: 2px;
	background: #fff;
}

pre code {
	background: none;
}

pre {
    margin: 0 0 20px;
	padding: 10px;
	background: #fff;
	overflow: auto;
/*	border: 1px solid #e4e4e4;
*/}

.left {
	float: left;
}

.right {
	float: right;
}

.meta {
	color: #00000;
}

.meta a{
	color: #000000 !important;
}

.meta a:hover{
	color: #000000 !important;
	border-bottom: 1px solid !important;
}

input[type="text"], textarea {
	background-color: #fafafa;
	padding: 10px;
	font-family: "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	color: #6a6a6a;
	border: 1px solid #ddd;
	background:	#fafafa url(images/field_bkg.png) repeat-x;
}

input[type="text"]:focus {outline: none; background-color: #f7f7f7;}
textarea:focus {outline: none; background-color: #f7f7f7;}

textarea { width: 80%; font-size: 13px;}



/* Clearfix ----------- */

/* Some clearfix code from HTML5 Boilerplate */
.clearfix:before, .clearfix:after {
	content: "\0020";
	display: block;
	height: 0;
	visibility: hidden;
}

.clearfix:after {
	clear: both;
}

.clearfix {
	zoom: 1;
}

a.action {
	font-style: italic;
}

.hidden { display: none; }

/* Buttons ----------- */

a.button, #footer a.button, #searchsubmit, input[type="submit"]  {
	font-size: 12px;
	display: inline-block;
	background: #515151;
	color: #fff;
	text-decoration: none;
	position: relative;
	cursor: pointer;
	font-weight: bold;
	padding: 7px 15px 7px;
	border: none;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	margin: 0 3px 0 0;
	line-height: normal !important;
}

a.button, #footer a.button {
	padding: 6px 15px 5px;
}

#searchsubmit {
	padding: 5px 15px 6px;
}

.button:hover, #footer a.button:hover, #searchsubmit:hover, input[type="submit"]:hover {
	background-color: #717171;
	color: #fff;
}

/* //////////////////////////////////////////////////////////////////////
//  03 - General Layout
//////////////////////////////////////////////////////////////////////*/

#container {
	max-width: 1296px;
	margin: 0 auto;
	opacity:0;
	-webkit-transition: opacity .3s ease-in;
    -moz-transition: opacity .3s ease-in;
    -o-transition: opacity .3s ease-in;
    -ms-transition: opacity .3s ease-in;
    transition: opacity .3s ease-in;
}

#container.main_loaded {
	opacity:1;
}


#main {
	float: right;
    width: 72.5%;
    padding: 40px 0px 30px 0px;
    margin: 0px 60px 0px 0px;
    position: relative;
    left: 10px;
}

.home #main {
	border: none;
}

#main.full {
	background: none;
}

.home #sidebar {
	padding: 30px 0 0 0;
}

#footer {
    clear: both;
/*    border-top: 1px solid #e3e2de !important;
*/    padding-top: 30px;
	margin-right: 15px;
}

#footer div.main.clearfix a:hover {
	border-bottom: 1px solid !important;
}


/*////////////////////////////////////////////////////////////////////////
//  04 - Header
///////////////////////////////////////////////////////////////////////*/

#header {
	width: 220px;
	position: fixed; /*--Fix the sidenav to stay in one spot--*/
	float: left; /*--Keeps sidenav into place when Fixed positioning fails--*/
	margin-left: 60px;
	padding-top: 40px;
}

*html #header {
    position: absolute;
    left: expression( ( 0   ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) )   'px' );
    top: expression( ( 0   ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) )   'px' );
}

#logo {
	margin: 5px 0 30px 0;
	padding: 0;
}

#logo h1 {
	margin: 0 !important;
	line-height: 1em !important;
	padding: 0 !important;
	font-size: 1.5em;
	font-weight: bold;
	color: #575757;
}

#header h1 {
	font-size: 1.5em;
	color: #575757;
	margin: 0;
}

#header h1 a, #header h1 a:hover{
	color: #575757 !important;
}

#logo img {
	width:121px;
	height:auto;
}

#header #logo {
	position: relative;
	bottom:1px;
	right: 0px;
}


#logo_anim {
	opacity:0;
	position: relative;
	top:15px;
}


/* Navigation------------------*/

#mainNav{
	margin-bottom: 20px;
}

#mainNav li{
	margin: 0 0 0 0;

	padding: 0;
}

#mainNav ul a{
	line-height: 23px;
	color: #7b7b7b;
	font-size: .75em;
}

#mainNav ul a:hover{
	color: #9f9f9c;
}

#mainNav ul li.current a,
#mainNav ul li.current-cat a,
#mainNav ul li.current_page_item a,
#mainNav ul li.current-menu-item a,
#mainNav ul li.current-post-ancestor a,
#mainNav ul li.current_page_parent a,
#mainNav ul li.current-category-parent a,
#mainNav ul li.current-category-ancestor a,
#mainNav ul li.current-portfolio-ancestor a,
#mainNav ul li.current-projects-ancestor a {
	text-decoration: none;
	color: #93bcbe;
}


/*////////////////////////////////////////////////////////////////////
//  05 - Content
///////////////////////////////////////////////////////////////////*/

#content {
	margin: 0 0px 10px 0 !important;
	padding: 0 0 0 0 !important;
}

#content .post {
	margin: 0;
	position: relative;
	padding-bottom: 15px;
/*	min-height: 160px;
*/}

#content .post h1{
	font-size: 1.3em;
}

#content .page, #content .project {
	padding: 0 0 10px 0px;
}

#intera, #pagina_due_terzi, #pagina_un_terzo {
    margin-right: 15px;
}

.moreLink {
	font-weight:800;
}

.search #content .post {
	min-height: 50px;
}

.post .meta, .attachment .meta {
	margin: -5px 0 25px 0;
	padding: 0 0 0px 0;
	font-size: .75em;
	line-height: 1.5em;
}

#content .post.lastPost {
	border-bottom: none;
}

#content h1 a,
#content h2 a,
#content h3 a,
.widgetBox h3 a,
#slideshow .slideText h3 a,
#content h4 a,
#content h5 a{
	color: #000000 ;
}

#content p a:hover,
#content h1 a:hover,
#content h2 a:hover,
#content h3 a:hover,
.widgetBox h3 a:hover,
#slideshow .slideText h3 a:hover,
#content h4 a:hover,
#content h5 a:hover{
	color: #000000 ;
	border-bottom: 1px solid !important;
}

#content .postThumb{
	margin: 0 0 20px 0 !important;
}

/*
#pageHead {
	padding: 2px 0 30px 0;
	margin: 0 0 30px 0;
	border-bottom: 1px solid #e4e4e4;
}

*/

#pageHead {
	padding: 2px 0 30px 0;
	margin: 0 15px 15px 0;
}

#pageHead h1 {
	font-size: 1.05em;
	line-height: .7em;
	padding: 0;
	margin-bottom: 0;
	display: block;
	position: relative;
	top: 10px;
	width: 90%;
}


#pageHead p {
	margin: 0!important;
	padding: 0!important;
	line-height: 1em;
}

#navigablog {
	cursor:pointer;
	position: relative;
	top: 1.2px;
}

#navigablog a {
	background: url(images/index_icon.gif) 0px 0px no-repeat;
	background-size: 100%;
	text-indent: -99999px;
	display: block;
	width: 16px;
	height:8px;
	margin-right:2px;
}

#navigablog a:hover{
}

#lines {
	margin-bottom: 9px!important;
}

#lines2 {
	margin-bottom: 10px!important;
}


/*Column Shortcodes------------------*/

.one_half{ width:48%; }
.one_third{ width:30%; }
.two_third{ width:65.33%; }
.one_half,.one_third,.two_third{ position:relative; margin-right:4%; float:left; }
.last{ margin-right:0 !important; clear:right; }
.clearboth {clear:both;display:block;font-size:0;height:0;line-height:0;width:100%;}

#shareon { text-align: right; }

/*#shareon p {
    padding-right: 10px;
}*/


/*Home Message------------------*/

#homeMessage {
	margin: 0 0 25px 0;
/*	border-bottom: 1px solid #e3e2de !important;
*/}

#homeMessage p{
	font-size: 2.5em;
	font-family: "Droid Serif", Georgia, Times, "Times New Roman", serif;
	line-height: 1.1em !important;
}

/*Project Filter Navigation------------------*/

#content #filterNav{
	padding: 0!important;
    margin: 0 18px 20px 0!important;
    position: relative;
    left: 1px;
    max-width: 1100px;

}

#content #filterNav li{
	padding: 1px 0 0 0;
	background: none;
	margin: 0 4px 5px 0;
	display: block;
	float: left;

}

#content #filterNav li span{
	margin: 0 8px 5px 4px;
	color: #000000;
}

#filterNav li .filter{
	display: inline-block;
	color: #000000!important;
	text-decoration: none;
	position: relative;
	cursor: pointer;
	border-bottom: 1px solid #FFFFFF;
  transition: all ease-in-out .3s;
}

#filterNav li .filter:hover {
	color: #000000 !important;
	border-bottom: 1px solid !important;
}

#filterNav .selected {
	color: #000000 !important;
	border-bottom: 1px solid !important;
}

#filterNav li .filter.selected:hover {
	color: #000000 !important;
	border-bottom: 1px solid !important;
}

.social_share_button {
  color: #000000;
  cursor: pointer;
}

.social_share_button:hover {
  border-bottom: 1px solid !important;
  cursor: pointer;
}

#social_icons{
	height:18px;
	width:55px;
	float:right !important;
	text-align:right;
	margin-right:0px!important;
}

li#social_icons a{
	margin-left:2px;
}

li#social_icons a:hover{
	border-bottom:none!important;
	cursor:pointer;
}

li#social_icons span {
	margin:0px!important;
}

#be_link a{
	width:16px;
	height:14px;
	background-image:url(images/icon_be@4x.png);
	background-size:100%;
	background-repeat:no-repeat;
	background-position: 0px 0px;
	background-color:#000;
	position:relative;
	bottom:1px;
  display: inline-block;
}

#be_link a:hover, #in_link a:hover{
	background-color: #666;
}


#in_link a{
	height:16px;
	width:16px;
	background-image:url(images/icon_in@4x.png);
	background-size:100%;
	background-repeat:no-repeat;
	background-color:#000;
  display: inline-block;
}



/*Projects------------------*/

#projects {
	margin: 0 0 0 0;
}

#projects {
	list-style: none;
	width:100%;
}

#projects .thumbs {
	margin: 0 auto;
}

#content #projects li{
	padding: 0;
	background: none;
}

#content .project.small{
	position: relative;
	max-width: 322px;
	height: auto;
	display: block;
	margin: 0 15px 15px 0;
	opacity: 0;
	padding-bottom: 0px;
	cursor: pointer;
	overflow: hidden;
	background: #FFFFFF;
	zoom: 1;
	float: left;
	border:0px;
}

#content .project.small img{
	margin: 0 0 0 0 !important;
	max-width: 100%;
	height: auto;
}

#content .project.small .title {
	display: none;
	color: #000000;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	padding: 0;
	font-size: 0.917em;
	width: 100%;
	font-size: 12px;
	line-height: 1.1em;
	background: #FFFFFF;
}

#content .project.small .title span:before {
	content: "↳";
	float: left;
	margin-bottom: 15px;
	margin-left: 2px;
	position: relative;
	top: 2px;
	width: 19px;
	padding-bottom: 100px;
}

#content .project.small.selected .title{
	zoom: 1;
	filter: alpha(opacity=100);
	opacity: 1;
	display: block;
	visibility: visible;
}

#content .project.small .title span{
	padding: 20px 17px 12px 0px;
	display: block;
	line-height: 20px;
	position: relative;
    left: 7px;
}

.projectNav {
	margin: 0;
	padding-top: 0;
	float: right;
}

.projectNav a:hover{
}

.projectNav div {
	float: left;
}

.projectNav .next a{
		font-family:"Droid Sans"!important;
}

.projectNav .next.inactive{
	font-family:"Droid Sans"!important;
	color:#e4e4e4;
	margin-right: 6px;
}

.projectNav .previous a{
	font-family:"Droid Sans"!important;
}

.projectNav .previous.inactive{
	font-family:"Droid Sans"!important;
	color:#e4e4e4;
}

.projectNav a{
}

.project_info_btn {
	position: relative;
	bottom: 1px;
}

#project_info_btn {
	cursor:pointer;
}


.project_info_btn p {
	display: inline-block;
	float: left;
}

.project_info_btn a:hover {
	border-bottom: 1px solid !important;
}


#grid_link {
	cursor:pointer;
	position: relative;
	top: 1px;
}

#grid_link a {
	background: url(images/grid_icon.gif) 0px 0px no-repeat;
	background-size: 100%;
	text-indent: -99999px;
	display: block;
	width: 16px;
	height:8px;
}


#grid_link a:hover {
	border-bottom: none!important;
}


#content .skillList{
	padding: 0!important;
	margin: 0 0 40px 0 !important;
}

.skillList li{

	background: none;
	margin: 0 5px 5px 0 !important;
	display: inline-block;
}

.skillList li span a{
	font-size: 11px;
	background: #000000;
	display: inline-block;
	color: #fff!important;
	text-decoration: none;
	position: relative;
	padding: 12px 6px 12px !important;
	border: none;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	line-height: 0;
}

.skillList li span a:hover{
	background: #696969;
}

#project_info_box {
	clear: both;
  overflow: hidden;
  /*max-height: 0;
  overflow: hidden;
  -webkit-transition: max-height .6s linear;
  transition: max-height .6s linear;*/
}

#project_info_box.open_box {
  /*max-height: 250px;*/
}

#project_info_box a {
  border-bottom: 1px solid #fff !important;
}

#project_info_box a:hover {
	border-bottom: 1px solid #000 !important;
}




/*Images------------------*/

#content .alignleft,
#content img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px !important;
	margin-top: 4px;
}

#content .alignright,
#content img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}

#content .aligncenter,
#content img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

#content img.alignleft,
#content img.alignright,
#content img.aligncenter {
	margin-bottom: 12px;
}

/*Gallery------------------*/

.gallery {
	padding-top: 15px;
	margin-bottom: 25px!important;
}

.gallery-item {
	margin-top: 0px!important;
	margin-bottom: 25px!important;
}

.gallery img {
	border: none!important;
}

dt img {
	max-width: 100% !important;
	height: auto;
}

div.wp-caption img {
	max-width: 100% !important;
	height: auto;
}

.wp-caption {
	max-width: auto !important;
}

.wp-caption-text {
	padding: 5px 0 0 0;
	font-style: italic;
}

/*Lists------------------*/

#content ul{
	margin:  0 0 25px 20px;
	list-style-type: disc;
}

#content ul li{
	margin: 0 0 10px 0;
	line-height: 1.4em;
	font-size: .75em;
}

#content ol li{
	margin: 0 0 10px 0;
	line-height: 1.4em;
}

#content ol{
	margin: 0 0 20px 20px;
}

#content ul ul, #content ol ul, #content ul ol, #content ol ol {
	padding-top: 10px;
}

#content ul ul li, #content ol ul li, #content ul ol li, #content ol ol li{
	font-size: 1em !important;
}

/*Infinite Scrolling------------------*/

#infscr-loading {
	position: fixed;
	text-align: center;
	bottom: 0px;
	left: 0px;
	z-index: 100;
	margin: 0 0 0 0;
	padding: 15px 15px 15px 40px;
	font-size: .7em;
	font-style: none;
	color: #fff;
	background: #515151 url(images/loading.gif) 15px 13px no-repeat;
}

#infscr-loading img {
	display: none;
}

.infscrBtn span{
	line-height: 35px;
}

.infscrBtn {
	margin: 0 0 30px 0;
	height: 35px;
	clear: both;
	text-align: center;
	cursor: pointer;
	font-size: 12px;
	padding: 0;
}

.infscrBtn span:hover {
		border-bottom: 1px solid !important;
}

/*////////////////////////////////////////////////////////////////////
//  06 - Slideshow
////////////////////////////////////////////////////////////////////*/

#content .flexslider {
	margin: 0 0 20px 0 !important;
	padding-bottom: 0 !important;
	background: transparent;
}

.slideshow li, #content .flexslider li, #content .flexslider ol {
	list-style: none !important;
	list-style-type: none !important;
}

#content .flexslider ol {
	padding-bottom: 5px !important;
	margin-bottom: 0 !important;
}

#content .flexslider .slides {
	margin: 0;
}

/* FlexSlider Theme------------------*/

.flexslider {  min-height: 100px; border: 0 !important; margin: 0 0 15px 0!important; padding: 0 0 1px 0 !important; background: transparent; border: none; position: relative; -webkit-border-radius: 0 !important; -moz-border-radius: 0 !important; -o-border-radius: 0!important; border-radius: 0!important; box-shadow: none !important; -webkit-box-shadow: none!important; -moz-box-shadow: none!important; -o-box-shadow: none!important; zoom: 1;}
.flexslider .slides li{	margin-bottom: 0 !important; }
.flexslider .slides li p{ margin: 0 !important; }
.flexslider .slides > li {position: relative;}
/* Suggested container for "Slide" animation setups. Can replace this with your own, if you wish */
.flex-container {zoom: 1; position: relative;}
.flexslider .slides img { height: auto;}
.flex-direction-nav, .flex-control-nav, .flex-caption { margin-bottom:0 !important;}

/* Caption style */
/* IE rgba() hack */
.flex-caption {background:none; -ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000); zoom: 1;}
.flex-caption {display: inline-block; width: auto; padding: 2%; position: absolute; left: 0; bottom: 0; background: rgba(0,0,0,.5); color: #fff; font-size: .9em !important; line-height: 1.3em;}
.flex-caption p {font-size: .9em !important; margin-bottom: 0;}

/* Direction Nav */

.flex-direction-nav {
	position: absolute;
	width: 100%;
	margin: 0 !important;
	left: 0;
	top: 50%;
}

.flex-direction-nav li a {
	-webkit-transition: none; -moz-transition: none; transition: none;
	-webkit-transition: opacity .5s ease; -moz-transition: opacity .5s ease; transition: opacity .5s ease;
}
.flex-direction-nav li a { z-index: 100; width: 30px!important; height: 30px; margin: -35px 0 0; display: block; background: url(images/flexslider/direction_nav.png) no-repeat 0 0; position: absolute; top: 50%; cursor: pointer; text-indent: -9999px;}
.flex-direction-nav li a.flex-next {background-position: -30px 0; right: 20px !important;}
.single-product .flex-direction-nav li a.flex-next {right: -5px !important;}
.flex-direction-nav li a.flex-next:hover {background-position: -30px -30px;}
.flex-direction-nav li a.flex-prev {background-position: 0 0; left: 20px !important; }
.flex-direction-nav li a.flex-prev:hover {background-position: 0 -30px; }
.flex-direction-nav li a.disabled {opacity: .3; filter:alpha(opacity=30); cursor: default;}


/* Control Nav */
.flex-control-nav {position: relative !important; bottom: 0 !important; right: 10px !important; width: auto !important; margin: 0 auto; padding-top: 15px !important;}
.flex-control-nav li {margin: 0 0 0 5px !important; display: inline-block !important; zoom: 1; *display: inline !important; }
.flex-control-nav li:first-child {margin: 0 !important;}
.flex-control-nav li a {width: 13px !important; height: 13px !important; display: block !important; background: rgba(0,0,0,0.3) !important; cursor: pointer; text-indent: -9999px;}
.flex-control-nav li a:hover {background: rgba(0,0,0,0.6) !important;}
.flex-control-nav li a.flex-active {background: rgba(0,0,0,0.6) !important; cursor: default !important;}

/*/////////////////////////////////////////////////////////////////////
//  07 - Widgets
////////////////////////////////////////////////////////////////////*/


#footer .widgetBox {
    float: left;
    margin-right: 15px;
    width: 32%;
}

#sideWidgets {
	padding-top: 35px;
}

#sideWidgets .widgetBox {
		margin-bottom: 30px !important;
}

#sideWidgets .widgetBox h3,
#footer .widgetBox h3{
	font-size: .75em;
	font-weight: bold;
}

#sideWidgets .widgetBox .meta,
#footer .widgetBox .meta {

}

#sideWidgets ul, #footer ul {
	margin: 0 0 0 0;
	padding: 0px 0 0 0;
	line-height: 1em;
	background: none;
	position: relative;
}

#sideWidgets ul {
left: 5px;
}

#sideWidgets ul li {
	padding: 0px 0 0px 0;
	margin: 0;
	line-height: 1em;
	background: none;
}

#footer ul li {
	padding: 0px 0 0px 0;
	margin: 0 0 15px 0;
	line-height: 1em;
	background: none;
	font-size: .75em;
}


#sideWidgets ul li p, #footer ul li p{
	line-height: 1.3em;
	margin: 0;
}

#sideWidgets ul li h2, #footer ul li h2{
	font-size: 13px;
	margin: 0 0 0px 0 ;
	padding: 0 !important;
	line-height: 1em;
	font-weight: normal;
}

#sideWidgets a:hover {
	border-bottom: 1px solid !important;
}

#sideWidgets .widget_nav_menu ul,
#footer .widget_nav_menu ul,
#sideWidgets .widget_pages ul,
#footer .widget_pages ul,
#sideWidgets .widget_categories ul,
#footer .widget_categories ul {
	background: none;
	margin: 0;
	padding: 0;
	border: none;
}

#footer .widget_nav_menu li,
#sideWidgets .widget_pages li,
#footer .widget_pages li,
#sideWidgets .widget_categories li,
#footer .widget_categories li {
	padding: 0 0 0 0;
	margin: 10px 0 0 0;
	border: none;
}

/*Search------------------*/

.widget_search {
	display: inline-block;
	padding: 0 !important;
}

.widget_search h3 {
	display: none;
}

.widget_search:after {
    content: " ";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

html[xmlns] .widget_search {
    display: block;
}

* html .widget_search {
    height: 1%;
}

#s {
	margin: 0 0px 0 0;
	padding: 7px 10px 7px 10px !important;
	line-height: normal!important;
	width: 160px;
	color: #9a9a9a;
}

#searchsubmit{
	font-size: 11px !important;
	margin: 0 !important;
	border-left: none;
	-webkit-border-bottom-left-radius: 0px;
	-webkit-border-top-left-radius: 0px;
	-moz-border-radius-bottomleft: 0px;
	-moz-border-radius-topleft: 0px;
	border-bottom-left-radius: 0px;
	border-top-left-radius: 0px;
	float: right;
	border: none;
	height: 30px;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	background-position: 0 -1px;
}


/*Recent Posts Widget------------------*/

#sideWidgets .ttrust_recent_posts .meta,
#footer .ttrust_recent_posts .meta {
	margin: 0 0 0 0 !important;
	display: block;
	padding: 3px 0 0 0;
}

#sideWidgets .ttrust_recent_posts .title,
#footer .ttrust_recent_posts .title {
	font-size: 12px !important;
	margin-bottom: 2px;
	line-height: 1.1em;
	display: inline-block;
}

.ttrust_recent_posts .firstPost p{
	margin-bottom: 10px;
}

.secondaryPost {
	padding: 10px 0 0px 0;
}

.ttrust_recent_posts .thumb{
	float: left;
	margin: 0 12px 0 0;
	padding: 3px;
	background: #fff;
	border: 1px solid #e1e1e1;
}

.ttrust_recent_posts li {
	margin-bottom: 30px;
	border: none;
	display: block;
}


/*Calendar Widget--------------------*/
table#wp-calendar {
	width: 100%;
}

table#wp-calendar td, table#wp-calendar th{
	text-align: left;
}

table#wp-calendar td {
	color: #b0b0ad;
	padding-top: 10px;
}

table#wp-calendar td a{
	font-weight: bold;
}

#wp-calendar caption {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #dbdad8;
	font-size: 14px;
	font-weight: bold;
}

/*Tag Widget--------------------*/

.widget_tag_cloud a{
	font-size: 11px !important;
	padding: 5px 7px 5px 7px;
	display: block;
	float: left;
	margin: 0 5px 5px 0;
}

#footer .widget_tag_cloud a,
#sidebar .widget_tag_cloud a{
	background: #7a7a7a;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}

#sidebar .widget_tag_cloud a{
	background: #f3f3f3;
}

#footer .widget_tag_cloud a{
	background: #e5e5e5;
}

.widget_tag_cloud:after {
    content: " ";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.widget_tag_cloud {
    display: inline-block;
}

html[xmlns] .widget_tag_cloud {
    display: block;
}

* html .widget_tag_cloud {
    height: 1%;
}

/*Twitter Widget--------------------*/

#twitterBox{
	margin: 0 0 10px 0;
}

ul#twitter_update_list li{
	line-height: 1.4em !important;
}

.twitterLink a{
	font-style: italic;
}

/*Flickr Widget--------------------*/
#flickrBox .flickrImage {
	float: left;
	margin: 0 7px 7px 0;
	padding: 3px;
	background: #f0f0f0;
	border: 1px solid #e1e1e1;
}

#flickrBox .flickrImage img {
	width: 50px;
	height: 50px;
}

#footer #flickrBox .flickrImage {
	margin: 0 12px 12px 0;
}




/*/////////////////////////////////////////////////////////////////////
//  08 - Comments
////////////////////////////////////////////////////////////////////*/

#comments {
	position: relative;
	margin: 0 0 30px 0px;
	width: 74.468805%;
	padding: 0 0 0 0;
}

#content.project #comments {
	padding-top: 30px;
}

#comments ul{
	list-style: none;
	margin: 0 0 30px 0;
}

#comments h3{
	margin: 0 0 30px 0;
}

#commentBox h3 {
	font-size: 1em;
	margin-bottom: 20px;
}

#content #comments ul li{
	font-size: 1em !important;
}

#trackbacks {
	margin: 30px 0 0 40px;
}

ol#commentslist {
	margin: 0 0 0 0px;
	list-style: none;
	padding: none;
	padding: 0;
}

#commentslist .children li {
	padding: 15px 0 0 30px;
	background: transparent url(images/comment_marker.gif) no-repeat 0px 40px;
	border-left: 1px solid #e3e3e3;
}

.comment {
	position: relative;
	margin: 0 0 0 0;
	padding: 0 0 20px 0;
}

.comment .avatar {
	position: absolute;
	left: 0;
	top: 0;
}

#commentForm label {
	padding-left: 20px;
}

.comment h5 {
	margin: 0 0 0 80px;
	padding: 0;
}

.comment .date {
	margin: -5px 0 10px 80px;
	display: block;
	color: #000000;
	font-size: .75em;
}

.comment p {
	margin: 0 0 10px 80px;
}

.comment-reply-link,
.comment-reply-login {
	margin: 0 0 0 80px;
	font-size: .75em;
}

.comment-reply {
	display: inline-block!important;
	padding: 0 0 0 10px;
}

#comment-add {
	position: absolute;
	top: -5px;
	right: 0px;
}

.moderation {
	margin: 0px;
	padding: 0 0 10px 25px;
}

#trackbacks ul {
	margin: -5px 0 15px;
}

#trackbacks ul li {
	padding: 5px 0 5px 20px;
}

/* Comment Form */

#commentForm {
	position: relative;
	margin: 30px 0 30px 0px;
}

#comments #respond {
	position: relative;
	padding: 0 0 0;
	margin: 0;
}

#respond .form-allowed-tags {
	display: none;
}


#respond form {
	margin: none;
	padding: none;
	position: relative;
}

.cancel-comment-reply {
	float: right;
	margin: 5px 90px 0 0;
}

#comments textarea {
	width: 90% !important;
}

#comments input[type="text"] {
	width: 50%;
	margin-right: 20px;
}

/*////////////////////////////////////////////////////////////////////
//  09 - Pagination
////////////////////////////////////////////////////////////////////*/

.pagination {
	width: 98%;
	padding: 0 0 20px;
	clear: both;
	margin: 0 0 15px 0;
}

.pagination-prev a,
.pagination-next a,
.wp-pagenavi a,
.wp-pagenavi .current,
.wp-pagenavi .pages,
.older-comments,
.newer-comments {
	display: block;
	float: left;
	width: auto;
	height: 24px;
	line-height: 24px;
	margin: 0 5px 0 0;
	padding: 0 8px;
	text-align: center;
	text-decoration: none;
}

.pagination-prev a:hover,
.pagination-next a:hover,
.wp-pagenavi a:hover,
.wp-pagenavi .current {

}

.pagination-prev a,
.pagination-next a {
	float: none;
	margin: 0px;
}

.pagination-prev,
.pagination-next {
	float: left;
	width: auto;
	margin: 0px;
}

.pagination-prev {
	float: right;
}

.wp-pagenavi .pages {
	float: right;
	margin: 0px;
}


/*////////////////////////////////////////////////////////////////////
//  10 - Footer
////////////////////////////////////////////////////////////////////*/

#footer .secondary a {
	color: #000000;
}

#footer .secondary a:hover {
	color: #000000;
}

#footer .main {
	padding-bottom: 10px;
}

#footer .inside {
	max-width: 62.5em;
	margin: 0 auto;
	padding: 30px 0 30px;
}

#footer .secondary {
	margin: 0;
/*	border-top: 1px solid #e3e2de !important;
*/	padding-top: 30px;
	color: #000000;
}

#footer .secondary .left {
	float: left;
		-webkit-transition: opacity .5s ease; -moz-transition: opacity .5s ease; transition: opacity .5s ease;
}

#footer .secondary .right {
	float: right;

}

.post img {
	margin-bottom:30px;
}

div.project.clearfix img {
	margin-bottom:15px;
	width:100%;
	height:auto;
}

#text-2 {
	width: 22%!important;
	margin-right: 0px!important;
}

.dentro {
}

/*////////////////////////////////////////////////////////////////////
//  EXTRA - Federico Naming Menu
////////////////////////////////////////////////////////////////////*/


li.archiveBtn {
    display: none!important;
}


#menu-item-83 {
	font-weight: 800;
	display: inherit!important;
}

#menu-item-132{
	visibility:hidden;
}

#menu-item-259{
	visibility:hidden;
}

#menu-item-133 {
display: none;
}

#menu-item-86 {
	display:none;
}

#menu-naming {
	margin-left:5px;
}



.post_item_divider {
/*	border-bottom: 1px solid #e4e4e4;
*/	margin-bottom: 30px;
}

#content .tagList{
	padding: 0!important;
	margin: 20px 0 10px 0 !important;
}

.tagList li{

	background: none;
	margin: 0 5px 5px 0 !important;
	display: inline-block;
}

.tagList li span a{
	font-size: 11px;
	background: #000000;
	display: inline-block;
	color: #fff!important;
	text-decoration: none;
	position: relative;
	padding: 12px 6px 12px !important;
	border: none;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	line-height: 0;
}

.tagList li span a:hover{
	background: #696969;
}

blockquote {
	margin-bottom: 60px;
}

blockquote p{
	font-family: Times, 'Times New Roman', serif; line-height: 22px; font-style: italic; font-size: 19px; color: #000000; text-rendering: optimizelegibility!important; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}


.topbutton {
  height: 20px;
  width: auto;
  z-index: 1;
  display: none;
  margin-left: 4px;
  position: fixed;
  bottom: 52px;
  font-family: "Droid Sans"!important;
  font-size: 14px;
  cursor: pointer;
}



#topborder:hover {
	border-bottom: 1px #000000 solid!important;
}

span#topborder {
    text-decoration: none;
    border-bottom: 0px solid #FFFFFF;
    transition: all ease-in-out .3s;
	font-family: 'inconsolata'!important;
}



.title_txt {
    position: absolute;
	top: 10px;
	opacity: 1;
}

/* Template progetto 1/2*/

#mezza .project {
    margin-right: 15px;
}

/* Template progetto 1/3 */

/*#pagina_un_terzo .project img {
    max-width: 48%!important;
    margin-right: 8px;
    margin-bottom: 8px;
    display: inline;
}*/

#pagina_un_terzo .defer-image {
    max-width: 48%!important;
    margin-right: 8px;
    margin-bottom: 8px;
    display: inline;
}

#pagina_un_terzo {
    margin-right: 0px;
}

/*		FONTS		*/

@font-face {
	font-family: "gazzosa";
	src: url("./fonts/gazzosa.ttf");
}

/*////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
//  11 - Media Queries
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////*/


/* Super Big Screen */

@media only screen and (min-width: 1701px)  {

#container {
    max-width: 1500px;
}

#container {
	font-size:125%!important;
}

#main {
width: 74.5%;
}

#content .project.small {
    position: relative;
    max-width: 358px;
}

#header, #main {
    padding-top: 50px;
}

	span#topborder {
	font-size:15px;
}

}



/* 15" Retina Screen */

@media only screen and (min-width: 1500px) and (max-width: 1700px) {

#container {
    max-width: 1400px;
}

#container {
	font-size:125%!important;
}

#content .project.small {
    position: relative;
    max-width: 346px;
}

#header, #main {
    padding-top: 50px;
}
	span#topborder {
	font-size:15px;
}

}




@media only screen and (min-width: 1200px) {

#footer .widgetBox {
    float: left;
    margin-right: 15px;
    width: 32.2%;
}

}


/* Desktop Screen */

@media only screen and (min-width: 1100px) {



/* immagine singola 2/3 a sx */

.dueterzi {
	width: 66%!important;
}

/* ridimensionamento font per grand schermi */

#container {
	font-size:120%;
}

#content .project.small .title {
	font-size: 15px;
}

#sideWidgets .ttrust_recent_posts .title, #footer .ttrust_recent_posts .title {
	font-size: 15px !important;
}

.tagList li span a, .skillList li span a   {
	padding: 12px 7px 13px !important;
	font-size: 12px;
}

#mezza .project p a:hover, #intera .project p a:hover, #pagina_due_terzi .project p a:hover, #pagina_un_terzo .project p a:hover {
	border-bottom: none!important;
}

#logo img {
	height:auto;
}

#logo {
	margin: 5px 0 15px 0;
}

/* Template progetto mezza */

/*#mezza .project img {
	max-width: 48.4%!important;
    margin-right: 8px;
    margin-bottom: 8px;
	display: inline;
}*/

#mezza .defer-image.is-loading, #mezza .defer-image img {
	max-width: 48.4%!important;
    margin-right: 15px;
    margin-bottom: 15px;
	float: left;
}

#mezza .defer-image.is-loading {
	width: 100%;
}

#mezza .project {
    margin-right: 0px;
}

/* Template progetto 1/3 */

#pagina_un_terzo .project img {
    max-width: 31.5%!important;
    margin-right: 0.7em;
    margin-bottom: 9px;
    display: inline;
}

/* Template progetto 2/3 */

#pagina_due_terzi .project img {
	max-width: 66%!important;
}


}

@media only screen and (max-width: 1292px) and (min-width: 1216px) {
	#mezza .defer-image.is-loading, #mezza .defer-image img {
		max-width: 48.3%!important;
	}
}
/* iPad Landscape */

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

#header {
	margin-left: 40px;
}

#main {
	margin-right: 40px;
}


#main, #header .inside {max-width: 64.5em;}
#header { width: 21%; }
.skillList li span a{
	padding: 10px 6px 11px !important;
}

#project_info_box .two_third {
	width: 63.33%;
}

#project_info_box .one_third {
	width: 32%;
}

#footer .widgetBox {
	float: left;
	margin-right: 15px;
	width: 31.85%;
}

.topbutton {
	height:20px;
	width: auto;
	z-index:99;
	display:none;
	margin-left: 4px;
	position: relative;
	top: 132px;
	font-size:10px;
}

span#topborder {
	font-size:12px;
}

#footer {
	margin-bottom: 10px;
}


#pagina_un_terzo .project img {
    max-width: 47.8%!important;
}

}


/* iPad Portrait */

@media only screen and (max-width: 900px) {

#header {
	float: none;
	position: relative;
	margin: 0 auto 10px auto;
	width: 90%;
	padding: 30px 0 0 0;
}

#header #logo {
	margin: 0;
	display: inline-block;
	width: 100px;
	position: relative;
	bottom: 0px;
	right: 3px;
}


#header #logo img{
	max-width: 100%;
	height: auto;
}

#sideWidgets{
	padding-top:0px;
	text-align: right;
}

#sideWidgets ul{
	left: 0px;
}


#sideWidgets li + li:before {
	display: inline-block;
	content: "";
	padding: 0px 0 0px 0;
	margin-left: 22px;
	line-height: 1em;
	background: none;
	margin-top: 0px!important;
}


/*
#menu-default li + li:before{
content: "— ";
font-size:12px;
margin-right: 0.8em!important;
}

*/


#menu-item-128:after{
	content: " —";
	font-size: 12px;
	margin-left: 1.8em!important;
}

#menu-item-245:after{
	content: " —";
	font-size: 12px;
	margin-left: 1.8em!important;
}

#sideWidgets .widgetBox {
	margin-bottom: 0px!important;
}

#mainNav{
	right: 0px;
	position: absolute;
	top: 27%;
	height: 20px;
	margin-top: -10px;
}

#mainNav li{
	margin-right: 14px;
	display: inline-block;
	padding: 0;
}

#menu-naming {
	margin-left: 0px;
}

#main {
	width: 92%;
    margin: 0 auto 0 auto;
    padding-top: 0;
	padding-bottom: 20px;
    float: none;
    position: relative;
    left: 8px;
}

#homeMessage p {
	font-size: 1.0em!important;
}

.sidebarBox {
}


#homeMessage p{
	font-size: 2.7em !important;
}

#projects {
	margin-left: 0px;
	width:100%;
}

.flex-direction-nav {
	display: none !important;
}

#comments { width: 100%;}


#text-2 {
	width: 27%!important;
	margin-right: 0px!important;
}

#menu-item-87 {
	display:none!important;
}

#menu-item-132{
	display:none!important;
}

#menu-item-259{
	display:none!important;
}

.topbutton {
	display:none!important;
}

#footer {
	margin-bottom: 0px;
}

#footer .widgetBox {
    float: left;
    margin-right: 15px;
    width: 31.9%;
}

#pagina_un_terzo .project img {
    max-width: 47.8%!important;
}

}


@media only screen and (max-width: 700px) {

#footer .widgetBox {
    float: left;
    margin-right: 15px;
    width: 31.5%;
}

#pagina_un_terzo .project img {
    max-width: 47.7%!important;
}


}

/*layouts smaller than 600px, iPhone and mobiles*/
@media only screen and (max-width: 560px)  {

html {
	-webkit-text-size-adjust: none;
}

h1 { font-size: 1.1em!important;}
h2 { font-size: 1.1em;}
h3 { font-size: 1.0em;}
h4 { font-size: .9em;}
h5 { font-size: .8em;}

#header {
	text-align: center;
	width: 99%;
	padding-bottom: 15px;
	margin: 0 auto;
	position: relative;
}

#header #logo {
	float: none;
	width: 80px;
	margin: 10px auto 0;
	position: relative;
	bottom:0px;
	right: 0px;
}

#pageHead h1 { font-size: 1.0em;}
#pageHead {
	padding: 10px 0 20px 0;
}

#homeMessage{
	font-size: .5em;
	margin-bottom: 20px;
}

#homeMessage p {
	text-align: center;
}

#main {
	width: 95%;
}

#mainNav {
	position: relative;
	top:0;
	right: 0;
	width: 100%;
	margin: 0 0 20px 0;
	display: block;
	height: 100%;
}

#mainNav li{
	margin: 0 0 0 0;
	display: inline-block;
	padding: 0 5px 0 5px;
}

#content .post {
	margin-bottom: 40px;
	padding-bottom: 0!important;
}

.moreLink {
	margin-bottom: 20px;
}



#shareon {
	text-align: left;
}

#projects {
	width:100%;
}

#footer {
	margin: 0 auto 0 auto;
	margin-right: 15px;
}



#footer #flickrBox .flickrImage {
	margin: 0 5px 5px 0;
}

#footer .secondary {
	width: 100%;
	padding-bottom: 10px;
	text-align: center;
}

#footer .secondary p{
	margin: 0px;
	padding: 0px;
}

#footer .secondary .left,
#footer .secondary .right{
	float: none;
	padding-bottom: 10px;
}

#commentForm input[type="text"], #comments input[type="text"] {
	width: 40% !important;
	margin-right: 5px !important;
}

#commentForm label, #comments label {
	font-size: .8em;
}

/*Column Shortcodes------------------*/

.one_half{ width:100%!important; }
.one_third{ width:100%!important; }
.two_third{ width:100%!important; }
.one_half,.one_third,.two_third{ position:relative; margin-right:0%; float:none; }
.last{ margin-right:0 !important; clear:right; }
.clearboth {clear:both;display:block;font-size:0;height:0;line-height:0;width:100%;}

#menu-naming {
	margin-left:0px;
}
/*
#sideWidgets{
	display:none;
}
*/
#menu-item-133 {
	display: inherit!important;
	margin-top: 15px!important;
	position: relative;
	right: 4px;
}

#ttrust_recent_posts-2 {
	margin-bottom: 40px!important;
}


#sideWidgets {
	padding-top: 20px;
}

#sideWidgets ul {
	text-align:center;
}

#sideWidgets ul li {
	position: relative;
	right: 2px;
}

#menu-item-128 {
	display: block!important;
	width: 100%;
	text-align: center;
	padding-bottom: 0px!important;
}

#menu-item-128:after{
	content: "↑↓";
	margin-left: 0!important;
	display: block;
	margin-top: 5px;
	margin-bottom: 5px;
	font-family: "Droid Sans";
}


#menu-item-245 {
	display: block!important;
	width: 100%;
	text-align: center;
}

#menu-item-245:after{
	content: "↑↓";
	margin-left: 0!important;
	display: block;
	margin-top: 5px;
	margin-bottom: 5px;
	font-family: "Droid Sans";
}

#sideWidgets li + li:before {
	display: inline-block;
	content: "—";
	margin-right: 20px;
	margin-left: 10px;
	font-size: 12px;
}

#menu-item-81:before{
	content: ""!important;
	margin-right: 0px!important;
	margin-left: 0px!important;
}

#menu-item-257:before{
	content: ""!important;
	margin-right: 0px!important;
	margin-left: 0px!important;
}

div.project.clearfix img {
	margin-bottom: 15px;
}


#footer .widgetBox {
    float: left;
    margin-right: 15px;
    width: 31.4%;
}

#pagina_un_terzo .project img {
    max-width: 47.1%!important;
}

}


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

#footer .widgetBox .meta {
	padding-left: 15px!important;
	display: inline-block;
	vertical-align: top;
	padding-top: 0px!important;
}

#footer .widgetBox {
	margin-right: 17px;
}

#footer .widgetBox {
	width: 100%;
	float: none;
	margin-bottom: 20px;
}

.title {
	width: 46%;
}

#nav_menu-4 {
	width: 47.5%!important;
	display: inline-block;
}

#text-2 {
	width: 44%!important;
	margin-right: 0px!important;;
	display: inline-block;
	vertical-align: top;
}

#pagina_un_terzo .project img {
    max-width: 46.7%!important;
}

}

/* iPhone Landscape */
@media screen and (max-width: 480px) and (orientation: landscape) {



}

/* iPhone Portrait */
@media screen and (max-width: 480px) and (orientation: portrait) {

#pageHead h1 {
	font-size: 11px!important;
	font-weight: 400;
	display:block;
	line-height: 1;
}

#menu-item-257 {
	display: inline-block !important;
	overflow: hidden;
	width: 32px;
	height: 16px;
	position: relative!important;
	top: 7px;
}

#menu-item-257 a{
	position: relative;
	top: -6px;
	vertical-align: top;
}

#archive {
	display:none!important;
}




#pattern {
	background-size: 268px 265px;
	height:446px!important;
}

#pagina_un_terzo .project img {
    max-width: 46.2%!important;
}


}

@media screen and (max-width: 390px) and (orientation: portrait) {


#header {
    padding-bottom: 5px;
}


#content #filterNav {
	display: none;
}

#social_icons{
	display:none!important;
}


#pagina_un_terzo .project img {
    max-width: 45.7%!important;
    margin-right: 8px;
    margin-bottom: 8px;
    display: inline;
}

}


<video controls></video>
<video controls></video>

.no-js .defer-image {
    display: none;
}

.defer-image > img {
    display: block;
    min-width: 100%;
    max-width: 100%;
}

.defer-image.is-loading {
    position: relative;
    background: #EEE;
    margin-bottom: 8px;
}

.defer-image.is-loading a {
	cursor: wait;
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.defer-image.is-loaded > img {
    animation: fadeIn 1s both;
}

.mfp-preloader {
  width: 40px;
  height: 40px;
  margin: 100px auto;
  background-color: #EEE;
  border-radius: 100%;
  -webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
  animation: sk-scaleout 1.0s infinite ease-in-out;
}

@-webkit-keyframes sk-scaleout {
  0% { -webkit-transform: scale(0) }
  100% {
    -webkit-transform: scale(1.0);
    opacity: 0;
  }
}

@keyframes sk-scaleout {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  100% {
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
    opacity: 0;
  }
}

.mfp-container, .mfp-close {
	cursor: default !important;
}

img.mfp-img {
  padding: 100px 0 100px !important;
}
