html, body {
  height: 100%;
 } 
body {
 color:#454545;
 background-color:#fff;
 font-family: "Open Sans", Georgia, serif;
 line-height:150%;
 position:relative;
 font-weight: 100;
 font-size: 14px;
 color: #333;
}
article {display:block;}

h1, h2, h3, h4, h5, h6,
h1.entry-title,
h1.w-title{
	font-family: Baskerville, "Hoefler Text", Garamond, "Times New Roman", serif;
}
h1, h3, h4,
h1.entry-title,
h1.w-title,
.site-content .entry-title{
	font-weight: 400;
	letter-spacing: 1px;
}

h1.w-title,
.site-content .entry-title{
	padding: 0px 15px 15px 15px;
	margin: 0px 20px 20px 20px;
}
.page h1.w-title{
	padding: 0 0 2px 0;
	margin: 0 0 20px 0;
}
h1, 
h1.entry-title,
h1.w-title,
.site-content .entry-title{
	font-style: italic!important;
	border-bottom: 1px solid rgba(126, 126, 126, 0.3);
	position: relative;
	font-size: 38px!important;
}
h2{
	font-size: 40px;
	padding-bottom: 15px;
	border-bottom: 5px solid rgba(190, 211, 226, 0.2);
	color: #a9becd;
	text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.4);
	box-shadow: 0px 1px 0px 0px rgba(255, 255, 255, 0.4);
	font-weight: 700;
}
h3{
	font-style: italic;
	font-size: 26px;
	color: rgb(135, 182, 218); /*#585959;*/
	text-shadow: 1px 0px 1px rgba(255, 255, 255, 0.4);
}
h4{
	text-transform: uppercase;
	letter-spacing: 5px;
	line-height: 20px;
	padding: 10px 0px;
	color: #626a6f;
	border-bottom: 1px solid rgba(126, 126, 126, 0.1);
	box-shadow: 0px 1px 0px 0px rgba(255, 255, 255, 0.4);
}
h5{
	text-transform: uppercase;
	letter-spacing: 2px;
	line-height: 15px;
	padding: 10px 0px;
	color: #626a6f;
	border-bottom: 1px solid rgba(126, 126, 126, 0.1);
	box-shadow: 0px 1px 0px 0px rgba(255, 255, 255, 0.4);
	font-size:80%;
}
h5.w-subtitle{
	text-transform: uppercase;
	letter-spacing: 5px;
	line-height: 10px;
	padding: 0px 0px 5px 0px;
	color: #626a6f;
	border-bottom: 1px solid rgba(126, 126, 126, 0.1);
	box-shadow: 0px 1px 0px 0px rgba(255, 255, 255, 0.4);
	font-size:80%;
	margin: 0px 20px 20px 20px;
}



/****
***** Links
*****
**/
a{
	color: #87b6da; /*08fd9;*/
	text-decoration: none;
	text-transform: uppercase;
}

a:hover{
	color: #626a6f;
}

#w-menu a,
.nav-links a{
	letter-spacing:2px;
}
a.more-link{
	font-family: Baskerville, "Hoefler Text", Garamond, "Times New Roman", serif;
	letter-spacing:2px;
	font-size:11px;
}

#project a.more-link{
	text-align:center;
}




/****
***** MAIN NAV BRAND
*****
**/
.navbar-brand {
	color:#fff!important;
	text-transform:capitalize;
	font-size:38px!important;
	padding-top:25px;
	margin-bottom:45px;
	line-height:40px;
}
.navbar-header .navbar-brand a{
	display:block;
}

.navbar-header h1,
.navbar-header h5{
	margin:5px auto;
	text-align:center;
}
.navbar-header h5{
	margin-top:40px;
	line-height:15px;
	margin-bottom:40px;
}
.navbar-header h5 span {
	letter-spacing:2px;
}




/****
***** MAIN CONTENT
*****
**/
#w-main-content{
	margin-left:310px;
	height:100%;
	min-height:100%;
	position:relative;
}
#publication-list .w-content-wrapper .w-content  p:first-child:first-letter,
#project .w-content-wrapper .w-content:first-child  .entry-content  p:first-child:first-letter,
#project-list .w-content-wrapper .w-content  p:first-child:first-letter{
	font-family: Baskerville, "Hoefler Text", Garamond, "Times New Roman", serif;
	font-size: 24px;
	text-align: left;
	/*line-height: 36px;*/
	font-style: italic;
	color: #75838D;
	letter-spacing: 0px;
}




/**** ASIDE *****/
#w-aside{
	position:fixed;
	top:0;
	bottom:0;
	left:0;
	height:100%;
	min-height:650px;
	width:200px;
	z-index:2000;
	background-color:#262525;
	color:#fff;
	padding-bottom:200px;
}
#w-aside #footer {
	color:#fff;
	text-align:center;
	position:absolute;
	bottom:0;
	left:15px;
	right:15px;
}
#w-aside #footer a {
	font-size:10px;
	text-transform:capitalize;
}
#w-aside #footer p{	
 	line-height:10px;
}
#w-aside #footer h1{
	font-size:95%;
}
#w-aside #footer h2{
	font-size:85%;
}
#w-aside #footer h3{
	font-size:75%;
} 
#w-aside #footer h4{
	font-size:65%;
}
#w-aside #footer h5{
	font-size:55%;
}




/*** MAIN MENU ****/
#w-menu {
	
}
#w-menu nav{
	background-color:#262525;
	border:none;
}
#w-menu .navbar-nav>li{
	float:none;
}
#w-menu nav .navbar-nav a{
	display: block;
	padding: 10px 20px;
	text-align: center;
	outline: none;
	border-bottom: 1px dashed rgba(126, 126, 126, 0.2);
}
#w-menu .navbar-nav{
	margin-left:-10px; 
	overflow-y:scroll;
}

/**** BRAND ****/
.navbar-brand{
	display:block;
	min-height:80px;
	font-size:32px;

}
.navbar-brand small { 
    font-weight:lighter;
    letter-spacing:1.1px;
    font-size:50%;
    display:block;
    text-transform:uppercase;
    margin:20px;
}

/**** MAIN NAV *****/
.navbar-default{
	color:#fff;
}
.navbar-default .navbar-nav > li > a:hover, 
.navbar-default .navbar-nav > li > a:focus {
   color: #fff;
}
.navbar-default .navbar-nav > .active > a, 
.navbar-default .navbar-nav > .active > a:hover, 
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .current-menu-item > a, 
.navbar-default .navbar-nav > .current-menu-item > a:hover, 
.navbar-default .navbar-nav > .current-menu-item > a:focus  {
   color: #fff;
   background:none;
}
.navbar-default .navbar-nav > .active,
.navbar-default .navbar-nav > .current-menu-item{
    border-top:1px dashed rgba(126, 126, 126, 1);
    border-bottom:1px dashed rgba(126, 126, 126, 1);
}


/**** MAIN CONTENT ****/
.w-content-scroller {
  -webkit-overflow-scrolling: touch;
   overflow-scrolling: touch; 
   overflow: visible;
   position: relative; /*absolute*/
   top: 0px;
   bottom: 0;
   left: 0;
   right: 0;
}
.w-content-wrapper {
    width: -moz-max-content;
    width: -webkit-max-content;
    width: -o-max-content;
    width: -ms-max-content;
    width:  max-content;
}
.w-content-wrapper #introduction:first-child{
	min-width: 350px;
	width:350px;
	height:690px;
	border-right: 1px dashed #A9BECD;
	background: #f1f5f8;
	padding-top:20px;
}
.w-content-wrapper .w-content:nth-child(2){
	padding-left:40px;
}
.w-content{
	/*ci vuole per il testo... se no sta tutto lungo in orizzontale*/
	/*
	min-width: 540px;
	width:350px; */
	
	/*così sembra funzionare... max width img + padd...
	quasi . difficile far tornare tutte le dim dei prj di rhodri!
	Setto default qui e poi uso js*/
	max-width: 670px;
	
	height:690px;
	padding-left:20px;
	padding-right:20px;
	padding-top:50px;
	padding-bottom:20px;
	overflow-y: scroll;
	float: left;
	border-left:  1px dashed transparent;
	border-right: 1px dashed transparent;
	background: transparent;
	-webkit-transition: background 0.3s linear;
	-moz-transition: background 0.3s linear;
	-o-transition: background 0.3s linear;
	-ms-transition: background 0.3s linear;
	transition: background 0.3s linear;
}

#project .last{
	min-width:500px;
	min-height: 350px;
	cursor:pointer;
}

#project .last .genericon{
	font-size:220%;
	vertical-align:middle;
}
.w-content .image img,
.w-content .inner .about{
	margin:0 auto;
}
.w-content .w-inner{
	padding-top:0px;
}
.w-content .image .info{
	padding-top:10px;
}
.w-content .w-inner .image img,
.w-content .w-inner .about{
	width:auto!important;
	max-width:510px;
	margin:0 auto;
}
.w-list{
	max-width: 350px;
	width: 350px;
	padding-top:0px;
	margin-right:0px;
}
/*.w-content:hover,*/
.w-content-active{
	/*background: #f1f5f8;
	background: rgba(126, 126, 126, 0.2); */
	border-right: 1px dashed #A9BECD;
	border-left:  1px dashed #A9BECD;
	border-right: 1px dashed rgba(126, 126, 126, 0.2);
	border-left: 1px dashed rgba(126, 126, 126, 0.2);
}
.w-content-active  .glyphicon-align-justify{
	display:none;
}
.w-content .image {
	cursor:pointer;
}
.w-content .image .caption,
.w-content .image .description{	
	font-size: 12px;
	font-weight: normal;
	height: 14px;
	color:rgb(135, 182, 218);
	display:inline-block;
	font-family: "Baskerville";
	font-style: italic;
}

/********* js funcs for project's photos********/

#view-all-desc,
#hide-all-desc,
#invert-all-desc{
	color:rgb(135, 182, 218);
	cursor:pointer;
}
#invert-all-desc{
	color:rgb(135, 182, 218);
}
.invert-all-desc-toggle{
	color:#fff!important;
}
.rotate90 {
	transform: rotate(90deg);
}
.darken{
	/*
	opacity:0.5;
	background-color:#262525;
	*/
}
.lighten{
	/*
	opacity:1;
	background: #fff; /*url(../images/layout/pattern.png);
	*/
}

#overlay{
	display:none;
    background:#000;
    position:fixed;
    z-index:00;
    left:0;
    bottom:0;
    top:0;
    right:0;
    cursor:pointer;
	/*Trasperenza cross browser*/
	opacity: .7; filter: alpha(opacity=70);
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";   
}

/*******/

.w-more-scroll{
	text-align:center;
    color:rgba(126, 126, 126, 0.2);
}
.toolbar{
	text-align:center;
}
 
/***** TOOLSET MENU*****/
#w-menu-sec{
 	position:fixed;
 	min-width:100px;
 	padding:50px 5px 0 5px;    
    left:200px;
    bottom:0;
    top:0;
    height:100%;
    color:#fff;
    border-right:1px dashed #A9BECD;
    background: #e9f0f5 url(../images/layout/pattern.png) repeat top left;
    width:110px;
    z-index:100000;
}
#w-menu-sec .wrapper .nav{
/** si presume qui ci sarà sempre lo scroll...ogni progetto ha almeno un ventina d foto*/
	 overflow-y:scroll!important;
	 padding:0 10px; /*per lo scroll*/
	 margin-left:0;
	 height:440px;
	 width:100px;
	 border-top: 1px solid rgba(126, 126, 126, 0.1);
	 border-bottom: 1px solid rgba(126, 126, 126, 0.1);
	 box-shadow: 0px 1px 0px 0px rgba(255, 255, 255, 0.4);
}
#w-menu-sec a.introduction{
	color:#23527c;
}
#w-menu-sec a.introduction:hover{
	text-decoration:none;
}
#w-menu-sec .nav a span.img{ 
	display:inline-block; 
	text-align:center!important; 
}
#w-menu-sec img.wp-post-image{
	width:100%;
	padding:8px 5px 0px 5px;
	opacity:0.6;
}
#w-menu-sec .nav a{
	display: block;
	padding: 5px 0px;
	text-align: center;
	outline: none;
	font-size: 8px;
	line-height: 12px;
	font-weight:400;
}
#w-menu-sec .nav a:active{
	box-shadow: 7px 0px 17px #000 inset;
}
#w-menu-sec .nav li:first-child a,
#w-menu-sec .nav li:first-child div{
	margin-bottom:10px;
}
#w-menu-sec .nav a:first-child{
	/*border-top: 1px dashed rgba(126, 126, 126, 0.2);*/
}
#w-menu-sec .nav a .photo{ /*:nth-child(1)*/
	font-family: "Open Sans", sans serif;
	display: block;
	color: #23527c;
	padding-top: 3px;
	font-size: 9px;
	opacity:0.8;
	text-transform:uppercase;
}
#w-menu-sec .nav a .code{
	color:#1C83A5;
	opacity:0.8;
	text-transform:uppercase;
}

#w-menu-sec .nav > li.active a .photo,
#w-menu-sec .nav > li.active a .code{
	font-weight:700;
	opacity:1;
}

#w-menu-sec .nav > li > a:hover, 
#w-menu-sec .nav > li > a:focus,
#w-menu-sec .nav > li.active,
#w-menu-sec .nav > li.active a,
#w-menu-sec .nav > li.current-menu-item,
#w-menu-sec .nav > li.current-menu-item a,
#w-menu-sec .nav > li.active a .photo,
#w-menu-sec .nav > li.active a .code{
    background-color: transparent;
    text-decoration: none;
    font-weight:bold;
    transition: opacity 1s;
}
#w-menu-sec .nav > li. a:hover .photo,
#w-menu-sec .nav > li. a:hover .code,
#w-menu-sec .nav > li.active a .photo,
#w-menu-sec .nav > li.active a .code{
	opacity:1;
	font-weight:700;
    transition: all 1s;
}
#w-menu-sec .nav > li.active a .wp-post-image,
#w-menu-sec .nav > li > a:hover .wp-post-image, 
#w-menu-sec .nav > li > a:focus.wp-post-image{
	opacity:1;
	transition: opacity 1s;
}
#w-menu-sec li.active,
#w-menu-sec li.current-menu-item{
}

#w-menu-sec .nav-links a {
	font-size:10px;
	letter-spacing:0;
	font-weight:normal;
}

#w-menu-sec h5{
	padding-top:0;
	margin-top:-5px;
	padding-bottom:26px;
}
#w-menu-sec h5.more-project{
	font-size:8px;
	padding-top:25px;
}



/**** PROJECT DETAIL  ***/
.single-children .w-content{	
	cursor:all-scroll;
}

/**** LIST  ***/
.w-archive-list {
	margin-left:-110px;
}
.w-archive-list .w-list{
	padding-top:60px;
}
.w-archive-list .entry-header{
	margin-bottom:40px;
}
.w-archive-list .entry-content{
	margin: 0px 20px 20px 20px;
}
.w-title,
.w-title a{
	display:block;
	text-align:center;
}
.w-archive-list img{
	margin-bottom:20px;
}

#publication-list .w-title,
#publication-list .w-title a,
#project-list .w-title,
#project-list .w-title a{
	min-height:250px;
}

#publication-list h1.w-title{
	font-size:28px!important;
	font-style:normal!important;
}


#publication-list .w-list{
	border-right: 1px dashed rgba(126, 126, 126, 0.2);
	border-left: 1px dashed rgba(126, 126, 126, 0.2);
}
#publication-list .img img{
	margin-left: auto;
	margin-right: auto;
}

/**** PROJECTS LIST  ***/

#project-list .w-title{
	padding-left:0;
	padding-right:0;
	margin-left:0;
	margin-right:0;
	text-align:center;
}
#project-list .entry-content{
}	
#project-list .img{	
	min-height:270px;
	position:relative;
}
#project-list img{
	position:absolute;
	bottom:0;
	/*center alignment*/
	left:50%;
	-ms-transform: translate(-50%,0); /* IE 9 */
   	-webkit-transform: translate(-50%,0); /* Safari */
    transform: translate(-50%,0);
}
#project-list .w-title a{
	display:block;
	min-height:80px;
}
#project-list .w-title a:hover{
	color:rgb(135, 182, 218);
}

#project-list img{
	margin-bottom:20px;
}
#project-list a.more-link {
	text-align:right;
	/*border-bottom:	1px solid rgba(126, 126, 126, 0.3);
	margin-top:30px;
	display:inline-block;
	width:100%;
	*/	
}

/**** PUBLICATIONS LIST  ***/
