
/*!
 * Leonardo Angelucci
 *
 * Copyright 2014
 * http://www.leonardo-angelucci.ch 
 *
 */

html {
    font-family: 'Helvetica Neue', 'Open Sans', 'sans-serif';
    font-size: 12px;   
    text-rendering: optimizelegibility;
    width: 100%;
    height: 100%; 
    letter-spacing: 0.05em;
    font-weight: normal;
    font-style: normal;       
}

body {
    width: 100%;
    height: 100%;
    margin: 0;
    -webkit-text-size-adjust: 100%;
}

strong {
    font-weight: 600;
}

p {
    font-size: 14px;
    font-weight: 300;
    color: rgba(0,0,0,1);
    line-height: 1.4em;
}


/* LINK
--------------------------------------------------------------- */
a {
    color: rgb(0,0,0);
    text-decoration: none;
}

a:hover {
    color: rgb(0,0,0);
    text-decoration: underline;
}

p a {
    color: rgb(150, 150, 150);
}

p a:hover {
    color: rgb(150, 150, 150);
    border-bottom: 1px dotted rgb(100,100,100);
    text-decoration: none;
}

p.extract {
    font-size: 12px;
    color: rgb(255,255,255);
    font-weight: 300;
    padding: 0;
    margin:0;
    line-height: 1.2em;
}

p.extract > a {
    font-size: 12px;
    color: rgb(0,0,0);
}

p.extract-white {
    font-size: 12px;
    color: rgb(255,255,255);
    font-weight: 300;
    padding: 0;
    margin:0;
    line-height: 1.2em;
}

p.extract-white > a {
    font-size: 12px;
    color: rgb(0,0,0);
}

p.general-text > a {
    color: rgb(100,100,100);
}

p.general-text > a:hover{
    color: rgb(210,210,210);
    text-decoration: underline;
}

/* PARAGRAPH
--------------------------------------------------------------- */

p.general-text {
    font-size: 13px;
    line-height: 1.5em;
    color: rgb(255,255,255);
    font-weight: 300;
    padding: 0;
    margin:0;
}



p.general-text-black-12 {
    font-size: 12px;
    line-height: 1.5em;
    color: rgb(0,0,0);
    font-weight: 300;    
}

p.general-text-black {
    font-size: 13px;
    line-height: 1.5em;
    color: rgb(0,0,0);
    font-weight: 300;    
}

p.general-text-black > a{
    color: rgb(150,150,150);   
}

p.general-text-black > a:hover{
    color: rgb(0,0,0);   
}

.post-didascalia {
    margin-top: 0px;
}

.post-didascalia p{
    font-weight: normal;
    margin-top: 3px;
    font-size: 11px; 
}
p.big-text {
    font-size: 50px;
    font-weight: 500;
    text-align: left;
    padding: 0;
    margin: 0;
}

p.big-text > a {
    color: rgb(255,255,255);
    text-decoration: none;
    cursor: pointer;
}

p.big-text > a:hover {
     color: rgb(255,255,255);
    text-decoration: underline;
    cursor: pointer;
}

p.big-text-white {
    font-size: 22px;
    font-weight: 500;
    text-align: left;
    color: rgb(255,255,255);
}

.title-white {
    color: rgb(255,255,255);
    font-size: 40px;
    font-weight: 500;
    line-height: 1.1em;
}

.title-black {
    color: rgb(0,0,0);
    font-size: 28px;
    font-weight: 600;
}

p.medium-text-white {
    font-size: 14px;
    line-height: 1.4em;
    text-align: left;
    color: rgb(255,255,255);
}

p.small-text {
    font-size: 10px;
}

p.date {
    font-size: 12px;
    color: rgb(150,150,150);
    padding: 0;
    margin: 0;
}


.filetto-categoria {
    border-top: 1px solid rgba(150,150,150,0.2);
    border-bottom: 1px solid rgba(150,150,150, 0.2);
    padding-bottom: 8px;
}

.filetto-categoria-detail {
    border-top: 1px solid rgba(150,150,150,0.2);
    border-bottom: 1px solid rgba(150,150,150, 0.2);
    padding-bottom: 10px;
    padding-top: 10px;
    margin-top: 20px;
}

.animat-00-white {
    font-size: 50px;
    font-weight: 600;
    color: rgb(255,255,255);
}

.animat-00-black {
    font-size: 50px;
    font-weight: 600;
    color: rgb(0,0,0);
}

.animat-00 {
    font-size: 50px;
    font-weight: 600;
    text-align: center;
    color: rgb(255,255,255);
    text-transform:uppercase;
    margin-left: 5px;
}

.detail-text > p {
    font-size: 12px;
    line-height: 1.6em;
    font-weight:300;
}

.detail-text > p > strong,b, i{
    font-weight:500;
}

.clear {
    clear: both;
}
/* NAV
--------------------------------------------------------------- */

.nav-bar {
    overflow: visible;
    z-index: 10;  
    position: fixed; 
    font-weight: 300;
    top:0;
    left:0;
    width: 100%;
    background-color: rgb(0,0,0);
    min-height: 60px !important;
    max-height: 60px !important;
    border-bottom: 1px solid rgb(50,50,50);
}

.nav-bar:before,
.nav-bar:after {
    display: table;
    line-height: 0;
    content: "";
}
.nav-bar:after {
    clear: both;
}

.nav-bar .logo {
    display: block;
    float: left;
    min-width: 180px;
    padding: 25px 0px 14px 0px;
    text-decoration: none;
    color: rgb(255,255,255);
    font-weight: 400;
    font-size: 14px;
}

.nav-bar .nav{
    padding: 0;
    margin: 0;
    float: left;
    margin-left: 20px;
    list-style: none;
}

.nav-bar .nav > li{
    float: left;
    height: 43px;
    padding: 10px 20px 0px 20px;
    font-weight: 400;
    border-left: 0px solid rgb(50,50,50);
    border-right: 0px solid rgb(0,0,0);
}

.nav-bar .nav > li.active {
}

.nav-bar .nav > li > a {
    color: rgb(255,255,255);
    display: block;
    padding: 15px 0px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
}

.nav-bar .nav > li > a > img {
    max-height: 35px;
    margin-top: -10px;
}

.nav-bar .nav > li > a:hover,
.nav-bar .nav > li > a:focus {
    color: rgb(255, 255, 255);
    text-decoration: underline;
}

.nav-bar .nav > .nav-bar-checkbox {
  display: none;
}


.nav-bar-checkbox {
    z-index: 10;
    width: 30px;
    height: 25px;
    cursor: pointer;
    display: none;
    position: absolute;
    right: 20px;
    top: 20px !important;
}

.nav-bar-checkbox > .icon-bar {
    display: block;
    width: 22px;
    float: right;
    height: 2px;
    margin-top: 4px;
    background-color: rgb(255,255,255);
}

/* NAV SOCIAL
--------------------------------------------------------------- */
.nav-bar .nav-social{
    padding: 0;
    margin: 0;
    list-style: none;
    display: none;
}

.nav-bar .nav-social > li{
    float: left;
    height: 43px;
    padding: 8px 0px 0px 0px;
}

.nav-bar .nav-social > li:last-child{
    border-right: 0px solid rgb(25,25,25);
}


.nav-bar .nav-social > li.active {
}

.nav-bar .nav-social > li > a {
    color: rgb(150,150,150);
    display: block;
    padding: 15px 0px   ;
    text-decoration: none;
}

.nav-bar .nav-social > li > a > img.icon-social-tw {
    max-height: 35px;
    margin-top: -9px;
}

.nav-bar .nav-social > li > a > img.icon-social-fb {
    max-height: 40px;
    margin-top: -13px;
}

/* NAV MOBILE
--------------------------------------------------------------- */

.nav-mobile{
    display: none;
    z-index: 10;  
    position: fixed;
    left: 0;
    top: 60px; 
    width: 100%;
    background-color: rgb(0,0,0);    
    padding: 0;
    margin: 0;
    list-style: none;
    padding-bottom: 10px
}

.nav-mobile .ul-mobile{
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-mobile .ul-mobile > li{
    padding: 5px 0px 5px 0px;
    margin: 0;
    list-style: none;
    border-bottom: 1px solid rgb(30,30,30);
}

.nav-mobile .ul-mobile > li:first-child {
    border-top: 1px solid rgb(30,30,30);   
}

.nav-mobile .ul-mobile > li > a {
    display: block;
    color: rgb(255,255,255);
    text-decoration: none;
    font-size: 18px;
    font-weight: 300;   
}

.nav-mobile .ul-mobile > li > a:hover,
.nav-mobile .ul-mobile > li > a:focus {
    color: rgb(255, 255, 255);
    text-decoration: underline;
}

.nav-mobile .ul-mobile > li.active {
    background-color: rgba(0,0,0,0.1);
}

.nav-mobile:before,
.nav-mobile:after {
    display: table;
    line-height: 0;
    content: "";
}
.nav-mobile:after {
    clear: both;
}


/* SECTION
--------------------------------------------------------------- */

html, 
.scroller,
.scroller section { 
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.scroller section {
    position: relative;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow:hidden;
    -webkit-overflow-scrolling:touch;    
    padding-top: 43px;
}         

.no-touch .scroller section {
    background-attachment: fixed;
    background-color: fixed;
}

#canvascube {
    position: fixed;
    z-index: 1;
}

#home {
    background-color: rgb(0,0,0);
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover; 
      background-attachment:fixed;  
      z-index: 0;

    /* Internet Explorer 10 */
    display:-ms-flexbox;
    -ms-flex-pack:center;
    -ms-flex-align:center;

    /* Firefox */
    display:-moz-box;
    -moz-box-pack:center;
    -moz-box-align:center;

    /* Safari, Opera, and Chrome */
    display:-webkit-box;
    -webkit-box-pack:center;
    -webkit-box-align:center;

    /* W3C */
    display:box;
    box-pack:center;
    box-align:center; 

}

#project {
    background-color: rgba(0,0,0,1);
    color: rgb(255,255,255);
    z-index: 2;
    padding-bottom: 20px;
    cursor: pointer;
    height: auto;
    padding-bottom: 90px;
}

#project > p {
    text-decoration: underline;
}

#timeline {
    background-color: rgba(255,255,255);
    z-index: 3;
}

#documents {
    background-color: rgb(255,255,255);
    height: auto;
    min-height: 100% !important;
    z-index: 4;
    padding-bottom: 80px;
}

#colophone {
    background-color: rgb(0,0,0);
    color: rgb(255,255,255);
    min-height: 30%;
    height: auto;
    z-index: 5;
    padding-bottom: 80px;
}

#contact {
    background-color: rgb(255,255,255);
    color: rgb(0,0,0);
    z-index: 6;
    height: auto;
    padding-bottom: 80px;

}

#sponsor {
    background-color: rgb(0,0,0);
    height: auto;
    min-height: 5%;
    height: auto;
    z-index: 7;
}

#detail-info {
    background-color: rgb(0,0,0); 
    min-height: 200px !important;
    height: auto;
    position: fixed;
    top:43px;
    left:0; 
    background: url('../img/test.jpg');
    background-repeat: no-repeat;
}

#post {
    min-height: 50%;
    height: auto;
    padding-bottom: 60px;
}

.container-frame-mobile {
    display: none;
    visibility: none;
    background: url('../img/mobile-cover.jpg');
    background-repeat: no-repeat;
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: 90%; 
      height: 100%;
      width: 100%;
      z-index: 1;
   
}

.container-frame {
    display: none;
    visibility: hidden;  
    height:auto;   
    position: fixed;  
    position: fixed;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0; 
}


#related_post {
    width: 100%;
    background-color: rgb(0,0,0);
    height: auto;  
    padding-bottom: 60px;
}

#related_post h2{
    color: rgb(255,255,255);
}

#related_post h3{
    font-size: 16px;
    font-weight: 600;   
    color: rgb(255,255,255);
}

#related_post p{
    font-size: 14px;
    margin-top: 5px;
    color: rgb(255,255,255);
}

#related_post a{
    color: rgb(255,255,255);
}

/* ELEMENTS GRAPH
--------------------------------------------------------------- */


.title-text {
    color: rgb(90,90,90);
}

.fixed {
    position: fixed;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;    
}

.frame-color {
        background-color: red;
}

.category-tag {
    border: 2px solid rgb(30,30,30);
    width: 50px;
    width: auto;
    font-weight: 600;
    padding: 5px 15px;
    color: rgb(30,30,30);
    float: left;
    margin-right: 10px;
    margin-top: 10px;
    cursor: pointer;
}

.category-tag:hover {
    border: 2px solid rgb(30,30,30);
    background-color: rgb(30,30,30);
    color: rgb(255,255,255);
}


.loghi-content{
    margin-bottom:20px;
}

.logo-partner {
    float: left;
    margin-right: 40px;
    max-height: 30px;
    max-width: 150px;
}

.logo-vv {
    float: left;
    margin-right: 40px;
    max-height: auto;
    max-width: 170px;
    margin-top: -5px;
}

.logo-prohelvetia {
    margin-top: 10px;
    max-width: 140px;
}

.logo-supsi {
    margin-top: 5px;
}

.logo-wemake {
    margin-top: -2px;
    max-height: 50px;
}

.logo-migros {
    margin-top: 10px;
}


.logo-arduino {
    margin-top: 5px;
}

a.filters{
    font-size: 12px;
    font-weight: 300;
    cursor: pointer;
    color: rgb(180,180,180);
}

a:hover.filters{
    color: rgb(0,0,0);
}

.filetto {
    /*border-top: 2px solid rgb(20,0,0);*/
}

.filetto-light {
    /*border-top: 1px solid rgb(0,0,0);*/
}

.filetto-ultralight {
   /* border-top: 1px solid rgb(200,200,200);*/
}

.filetto-white {
   /* border-top: 2px solid rgb(200,200,200);*/
}

.filetto-white-light {
   /* border-top: 1px solid rgb(200,200,200);*/
}

.thumb-black {
    height: auto;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0;
    margin: 0;
    overflow: hidden;
    width: 100%;
    cursor: pointer;
}

.thumb {
    height: auto;
    padding: 0;
    margin: 0;
    overflow: hidden;
    width: 100%;
    cursor: pointer;
    border: 0;
}

/* IMG 
--------------------------------------------------------------- */
.img-post {
    padding-bottom: 5px;
}

.slide_gallery {
    margin-top:10px;
}

.gallery_image {
    display: none;
    cursor: pointer;
    width: 90%;
}

.image {
    width: 90%;
}

.image:first-child {

}

.show {
    display: block;
}

.gallery_image.show {
    display: block;
}

.didascalia_immagine_galleria {
    margin-top: 0px;
    max-width: 70%;
    float:left;
    font-size: 11px;
    margin-left: 5px;
    margin-bottom: 10px;
    margin-left: 5%;
}

.didascalia_immagine {
    margin-top: 5px;
    font-size: 11px;
}

.gallery_number {
    font-size: 11px;
    margin-top: 0px;
    padding-right: 5px;
    padding-left: 5px;
    padding-bottom: 2px;
    width: auto;
    float: left;
    text-align: left;

}

.numerazione_galleria {
    margin-top: 0px;
    max-width: 100%;
    float:left;
    font-size: 11px;
}

.gallery_number a{
    font-size: 11px;
    color: rgb(0,0,0);
}

.arrow {
    cursor: pointer;
}
/* ARROW
--------------------------------------------------------------- */
.circle {
    background-image:url('../img/circle.png');  
    background-repeat: no-repeat;   
    background-size: 100% auto; 
    background-position: center;
    width: 60px; 
    height: 60px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    bottom: 80px;
    z-index: 1000;  
    position: fixed;
    color: rgb(255,255,255);
    font-size: 13px;
    cursor:default;
    line-height: 50px;
    cursor: pointer;   
    opacity:0.9;
    filter:alpha(opacity=0.9); 
}
.circle:hover {
    opacity:0.7;
    filter:alpha(opacity=0.7); /* For IE8 and earlier */   
}

.circlex {
    background-image:url('../img/close.png'); 
    background-repeat: no-repeat;   
    background-size: 100% auto; 
    background-position: center; 
    width: 60px; 
    height: 60px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    bottom: 40px;
    z-index: 1000;  
    position: fixed;
    color: rgb(255,255,255);
    font-size: 13px;
    cursor:default;
    line-height: 50px;
    opacity:0.9;
    filter:alpha(opacity=0.9); 
    cursor: pointer;   
}
.circlex:hover {
    opacity:0.7;
    filter:alpha(opacity=0.7); /* For IE8 and earlier */   
}

.box_rotate_up {
  -webkit-transform: rotate(180deg);  /* Chrome, Safari 3.1+ */
    -moz-transform: rotate(180deg);  /* Firefox 3.5-15 */
      -ms-transform: rotate(180deg);  /* IE 9 */
        -o-transform: rotate(180deg);  /* Opera 10.50-12.00 */
         transform: rotate(180deg);  /* Firefox 16+, IE 10+, Opera 12.50+ */
}

.box_rotate_down {
  -webkit-transform: rotate(0deg);  /* Chrome, Safari 3.1+ */
    -moz-transform: rotate(0deg);  /* Firefox 3.5-15 */
      -ms-transform: rotate(0deg);  /* IE 9 */
        -o-transform: rotate(0deg);  /* Opera 10.50-12.00 */
         transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera 12.50+ */
}
.box_transition {
  -webkit-transition: all 0.5s ease-out;  /* Chrome 1-25, Safari 3.2+ */
     -moz-transition: all 0.5s ease-out;  /* Firefox 4-15 */
       -o-transition: all 0.5s ease-out;  /* Opera 10.50–12.00 */
          transition: all 0.5s ease-out;  /* Chrome 26, Firefox 16+, IE 10+, Opera 12.50+ */
}

.box_transition {
  -webkit-transition: all 0.5s ease-out;  /* Chrome 1-25, Safari 3.2+ */
     -moz-transition: all 0.5s ease-out;  /* Firefox 4-15 */
       -o-transition: all 0.5s ease-out;  /* Opera 10.50–12.00 */
          transition: all 0.5s ease-out;  /* Chrome 26, Firefox 16+, IE 10+, Opera 12.50+ */
}


--------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    padding: 0;
    margin: 0;
}

h1 {
    font-weight: 600;
     margin: 0;
     margin-top: 5px;
    font-size: 46px;
}

h2 {
    padding: 0;
    font-weight: 500;
    margin: 0;
    padding-bottom: 10px;
    padding-top: 5px;
    font-size: 36px;
}

h3 {
    padding: 0;
    font-weight: 500;
    margin: 0;
    padding-bottom: 0px;
    padding-top: 5px;
    font-size: 12px;
}

h4 {
    font-weight: 400;
    color: rgb(200,200,200);
    padding: 0;
    margin: 0;
}

h2.detail-title {
    margin: 0; 
    padding: 0;
    font-size: 50px;
    font-weight: 600;
    color: rgb(0,0,0);    
}

/* POST
--------------------------------------------------------------- */

.element-filter:first-child {
    height: auto;
    float: left;
    width: 7.5%;
    margin-right: 2.5%;
}

.element-filter {
    height: auto;
    float: left;
    width: 7.5%;
    margin-right: 2.5%;
}

.element-item {
    margin-bottom: 30px;
    height: auto;
    float: left;
    width: 18%;
    margin-right: 2%;
}

.element-item > img{
    padding-bottom: 5px;
    width: 100%;
}

.element-item > img:hover{
    /*
    opacity:0.3;
    filter:alpha(opacity=0.3); 
    transition: opacity 0.3s linear;
    */
}

.element-item p {
    font-size: 14px;
    margin-top: 5px;
}

.element-item h3 {
    font-size: 16px;
    font-weight: 600;   
}


.element-item > p.post-category {
    font-size: 11px;
    color: rgb(170,170,170);
}

.posted-in {
    color: rgba(0,0,0);
    font-weight: 300; 
    padding: 0; 
    margin: 0;
    font-size: 14px;    
}

/* ALLINEAMENT
--------------------------------------------------------------- */
.pull-right {
    float: right;
}

.pull-left{
    float: left;
}
/* MARGIN
--------------------------------------------------------------- */

.margin-top-5{
    margin-top: 5px;
}

.margin-top-10 {
    margin-top: 10px;
}

.margin-top-15 {
    margin-top: 15px;
}

.margin-top-30 {
    margin-top: 30px;
}

.margin-top-60 {
    margin-top: 60px;
}

.margin-top-90 {
    margin-top: 90px;
}

.margin-top-120 {
    margin-top: 120px;
}

.margin-top-150 {
    margin-top: 150px;
}

.video {
    margin-top: 15px;
}
/* DEBUG
--------------------------------------------------------------- */
.debug-col {
    background-color: rgba(255,0,0,0.3);
}

.debug-col:last-child {
    background-color: rgba(255,255,0,0.3);
}


/* MEDIA QUERIES
--------------------------------------------------------------- */

@media (min-width: 1200px) {

}

@media (min-width: 940px) and (max-width: 1199px) {


    .container-frame {
            display: block;
            visibility: visible;   
    }

    .element-item {
        margin-bottom: 10px;
    }

    .nav-bar .logo {
        width: 220px;
    }

    .post {
        padding-bottom: 20px;
    }    
}

@media (max-width: 940px) {

    .element-filter:first-child {
        height: auto;
        float: left;
        width: 7.5%;
        margin-right: 2.5%;
    }

    .element-filter {
        height: auto;
        float: left;
        width: 7.5%;
        margin-right: 2.5%;
    }
    .container-frame {
            display: block;
            visibility: visible;   
    }

    .element-item {
        margin-bottom: 10px;
    }

    h1 {
        font-size: 22px;
    }

    p.general-text{
        line-height: 1.4em;
        font-size: 90%;
        padding: 0;
        margin: 0;
    }

    /*Menu mobile*/
    .nav-bar > .nav{
        max-height: 0;
        overflow: hidden;
        margin: 0 3.5em 0 1em;
    }

    .nav-bar .nav > li{
      visibility: hidden;
      display: block;
      padding: 0.5em 0.6em;
      border: none;
    } 

    .nav-bar-checkbox {
      display: block;
    } 

    .post {
        padding-bottom: 20px;
    }

    .nav-bar .nav-social{
        padding: 0;
        margin: 0;
        list-style: none;
        display: none;
    }

}

@media (max-width: 748px), (device-aspect-ratio: 2/3) {

    .posted-in {
        margin: 0 10px; 
    }

    h2.detail-title {
        margin: 0; 
        padding: 0;
        line-height: 1em;
    }

    .element-filter:first-child {
        height: auto;
        float: left;
        width: 7.5%;
        margin-right: 10%;
    }

    .element-filter {
        height: auto;
        float: left;
        width: 7.5%;
        margin-right: 20%;
    }

    .filter .active{
        color: red;
    }

    .element-item {
        width: 95%;
        margin-bottom: 10px;
    }

    #colophone, #documents, #project {
        height: 100%;
        height: auto;
    }

    .container-frame-mobile {
        display: block;
        visibility: visible;   
    }

    .container-frame {
        display: none;
        visibility: hidden;   
    }

    .margin-top-90 {

    }

    .nav-bar .nav-social{
        padding: 0;
        margin: 0;
        list-style: none;
        display: none;
    }    
}
