header {
    
    width: calc(100% - 100px);
    padding: 0 50px;
}

header .logo {
    
    padding-bottom: 25px;
}


header .logo img {
    
    width: 265px;
}


header nav ul {
    
    padding-top: 55px;
    float: right;
}

header nav ul li {
    
    float: left;
    clear: none;
    margin-left: 20px;
    margin-bottom: 0;
}



.shrinked > .logo {
    
    padding-top: 10px;
    padding-bottom: 5px;
}


.shrinked > nav ul {
    
    padding-top: 18px;
    padding-bottom: 1px;
}



section {

    margin-top: 100px;
    width: calc(100% - 100px);
    padding: 50px;
    padding-top: 41px;
}

footer {

    /* debug */
    /*background: white;*/
}

footer ul {
    
    width: calc(100% - 100px);
    margin-left: 50px;
}

footer li {
    
    display: block;
    width: 210px;
    clear: none;
    float: left;
    padding: 0;
    margin: 26px 0;
    border: 0;
    border-left: 1px solid rgba(0,132,161, 0.5);
    padding-left: 20px;
    padding-top: 3px;
    min-height: 69px;
}

footer li p {
    
    font-size: 21px;
    line-height: 26px;
}

footer li:first-child p {
    
    padding-top: 7PX;
    width: 550px;
}


footer .back-to-top {
    
    right: 50px;
    top: 25px;
}


/* PAGE SPECIFICS */

body.contact footer .contact {
    
    display: none;
}

body.projects footer li:first-child, 
body.contact footer li:first-child {
    
    display: block;
    width: 100%;
    margin-bottom: 0;
}

body.projects footer .back-to-top,
body.contact footer .back-to-top {
    
    top: 125px;
}

body.project-view footer li {
    
    padding-left: 0;
}

body.project-view footer nav {
    
    padding-bottom: 25px; 
}

body.project-view nav a:link,
body.project-view nav a:visited,
body.project-view nav a:hover,
body.project-view nav a:active {
    
    background-image: none;
    padding-top: 10px;
}

body.about .overview p {
    
    font-size: 21px;
    line-height: 26px;
}

body.about .profile {
    
    width: calc((100% - 50px) / 2);
    float: left;
    clear: none;
    margin-right: 50px;
    padding-top: 47px;
}

body.about .profile:nth-child(even) {
    
    margin-right: 0;
}

body.about .profile-name span {
    
    font-size: 18px;
    line-height: 24px;
    display: block;
}

body.about .profile-name {
    
    padding-bottom: 15px;
}

body.about .other-members {

    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;

    -webkit-column-gap: 45px;
    -moz-column-gap: 45px;
    column-gap: 45px;
}

body.about .other-members p {
    
    float: none;
    display: inline-block;
    clear: both;
    width: 100%;
}
 
body.about p {
    
    font-size: 18px;
    line-height: 24px;
}

body.about section ul li.content {
    
    padding: 43px 0; /* compensate for line-height*/
}



body.home section {
    
    padding: 0;
    width: 100%;
}

.carousel {
    
    /*margin-bottom: 15px;*/
    clear: both;
}

.carousel > div {
    
    margin-bottom: 5px;
    clear: both;
}


.carousel div picture, 
.carousel div img {

    display: block;
    float: left;    
    width: 100%;
    height: auto;

    margin: 0;
    padding: 0;
}

body.home header .rule {
    
    display: none;
}




body.projects section {
    
    padding-bottom: 0;
}

body.projects sidebar {
    
    float: left;
    clear: both;
    display: block;
    width: 100%;
    min-height: 10px;
}

body.projects .container {
    
    float: left;
    clear: both;
    display: block;
    width: 100%;
    min-height: 10px;
}

body.projects h1 {
    
    margin-bottom: 18px;
}

body.projects section ul li {
    
    float: left;
    clear: none;

    width: auto;
    padding: 0 20px;

    /* let's cleanup first*/ 
    border: 0;
    
    border-left: 2px solid #4e8f96;
    min-height: 18px;
    line-height: 18px;
}

body.projects section ul li:first-child {
    
    padding-left: 0;
    border: 0;
}

body.projects .container {
 
    float: left;
    clear: both;
    position: relative;

}

body.projects .data {

    position: relative;
    float: left;
    clear: both;
    display: block;

    width: 100%;
    margin-top: 20px;
}

body.projects .data {
    
    width: calc(100% + 15px);
    height: auto;
    position: relative;
    
    overflow: hidden;
}

body.projects .data li {

    display: block;
    width: calc(100% / 2);
    float: left;
    border-right: 15px solid #FFF;
    border-bottom: 15px solid #fff;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
}



body.projects .data li:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    padding-top: 66.06%;
}

body.projects .data li img {
    
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;

    min-height: 100%;
    max-width: 100%;
}

body.projects ul .anchor a.reveal:link, 
body.projects ul .anchor a.reveal:visited, 
body.projects ul .anchor a.reveal:hover, 
body.projects ul .anchor a.reveal:active {
    
    background-image: none;
}



@media (max-width: 1199px) {

body.projects .data li:nth-child(2n+2) {
    
    margin-right: 0;
}
}

body.projects section ul li.reveal-border-top {
    
    border-top: 0;
    border-bottom: 0;
}

body.projects section ul li.anchor.reveal {
    
    margin-bottom: 0;
}

body.projects section ul li.thumb.reveal {
    
    display: none;
}

body.project-view section {
    
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    width: 100%;
}


body.project-view h1.project-title {
    
    display: inline-block;

    font-family: MarkOT-Medium;
    letter-spacing: normal;
    font-size: 21px;
    line-height: 28px;
    
    margin-bottom: 21px;
    padding-left: 50px;
}

body.project-view .gallery {
    
    width: calc(100% - 100px);
    padding-left: 50px;
    padding-right: 50px;
}



body.project-view .gallery-item {
    
    padding-bottom: 15px;
}


body.project-view .gallery-item-2 {
    
    width: calc((100% - 15px) / 2);
    padding-right: 15px;
    
    clear: none;
}


body.project-view .narrative {
    
    padding-top: 25px; /* compensate for line-height*/
    width: calc(100% - 200PX);
    padding-left: 100px;
    padding-right: 100px;
}

body.project-view .narrative .title {
    
    line-height: 28px;
}


body.project-view .narrative .title,
body.project-view .narrative .location {
    
    display: inline-block;
}

body.project-view .narrative p {

    font-size: 16px;
}


body.about .parallax {
    
    background-image: none;
    padding: 0;
}

body.about .parallax-bottom {
    
    background-image: url('/images/bg.jpg');
    min-height: 195px;

    /* Full height */

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center calc(100% - 30PX);
}


body.about .data .overview {
    
    padding-bottom: 50px;
}



