@import url(https://fonts.googleapis.com/css?family=Noto+Sans:400,700);
@import url(https://fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700);

body, html {
    font-family: 'Noto Sans';
    margin: 0;
    padding: 0;
    background: transparent;
    height: 100%;
    font-size: 15px;
}

html {
    background: #222;
    overflow-y: scroll;
}

a, a:focus {
    color: #cba569;
    text-decoration: underline;
}

a:hover {
    color: white;
}

blockquote {
    font-size: inherit;
    font-style: italic;
    border-left: none;
    padding-left: 40px;
}

div.cover {
    background: #222 no-repeat;
    background-size: cover;
    background-position: 50% 0%;
    height: 100%;
    position: relative;
    z-index: 0;
    padding: 0;
}

div.cover div.slide, div.detail-cover {
    background-size: cover;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 0;
}

.logo {
    position: absolute;
    background: url(../logo/logo-white.png) no-repeat;
    background-size: 100%;
    width: 300px;
    height: 40px;
    top: 20px;
    left: 50%;
    margin-left: -150px;
    z-index: 60;
}

body.dark .logo {
    background-image: url(..logo/logo-dark.png);
}

body.light .logo {
    background-image: url(../logo/logo-white.png);
}

div.logo a {
    display: block;
    width: 100%;
    height: 100%;
    font-size: 0;
}

.navigation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 80px 0 10px 0;
    z-index: 50;
    transition: background 1s ease;
}

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

.navigation ul li {
}

.navigation ul li a {
    display: block;
    padding: 3px 7px;
    background: white;
    color: #444;
    text-align: center;
    text-decoration: none;
}

.navigation ul li.active-item a {
    background: #cba569;
    color: white;
}

.fixed-navigation {
    background: #222;
    position: fixed;
    top: 0;
    padding: 10px 0 10px 0;
    transition: background 1s ease;
}

.content-box {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

body.flow div.cover {
    padding: 140px 0 35px 0;
}

/* menu block */

.menu ul {
    margin: 0;
    padding: 10px;
    list-style: none;
    height: 100%;
}

.menu ul a {
    color: white;
    text-decoration: none;
}

.menu ul a.active {
    color: #cba569;
    text-decoration: underline;
}

.menu ul a:hover {
    color: #cba569;
}

/* thumb rendering */

.thumbs .menu {
    height: 280px;
    padding-bottom: 10px;
}

.thumbs .menu .thumb-select.active {
    color: #cba569;
}

.thumbs .thumb {
    height: 140px;
    font-size: 0;
    padding-bottom: 10px;
}

.thumbs .thumb .shadow {
    display: block;
    background: rgba(203, 165, 105, 0.6);
    width: 100%;
    height: 100%;
    padding: 10px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.0;
    transition: all 0.3s ease;
    text-decoration: none;
}

.thumbs .thumb:hover .shadow {
    opacity: 1.0;
    transition: all 0.5s ease;
}

.thumbs .thumb .name {
    font-size: 13px;
    margin: 0;
    color: white;
    font-weight: 600;
    padding-right: 3px;
}

.thumbs .thumb .info {
    margin: 0;
    font-size: 13px;
    color: white;
}

.thumbs .thumb .image {
    background-size: cover;
    background-position: 50% 50%;
    height: 100%;
    width: 100%;
    cursor: pointer;
}

/* content format */

.content {
    color: white;
    padding: 15px 0;
    z-index: 200;
    background: rgba(34, 34, 34, 0.8);
}

/* project format */

.project-details p {
    margin: 0;
    line-height: 1.5;
    /*font-family: 'Roboto Slab';*/
}

.content-box {
    z-index: 5000;
}

.title-box .title-box-item {
    background: rgba(255, 255, 255, 0.8);
    padding: 8px 15px;
    margin: 0;
}

.title-box .slide-picker {
    display: inline-block;
    float: right;
}

.title-box .title-box-item:after {
    content: "";
    display: block;
    clear: both;
}

.title-box .slide-picker a {
    color: #666;
    font-size: 18px;
    line-height: 1.5;
    text-decoration: none;
    outline: none;
}

.title-box a.goto-project {
    display: block;
    color: #333;
    text-decoration: none;
}

.title-box a.goto-project:hover {
    color: #777;
}

.title-box .slide-picker a + a {
    margin-left: 7px;
}

.title-box .slide-picker a:hover {
    color: #111;
}

.title-box .slide-picker a.active {
    font-weight: bold;
}

/* slide buttons */

.switch-to-next-slide, .switch-to-prev-slide {
    position: absolute;
    top: 0;
    bottom: 0;
    display: block;
    width: 50px;
    font-size: 50px;
    opacity: 0.5;
    color: white!important;
    text-decoration: none!important;
    text-align: center;
}

.switch-to-next-slide:hover, .switch-to-prev-slide:hover {
    background: rgba(0, 0, 0, 0.4);
    opacity: 1.0;
}

.touch-device .switch-to-next-slide:hover, .touch-device .switch-to-prev-slide:hover {
    background: transparent;
}

.switch-to-next-slide span, .switch-to-prev-slide span {
    position: relative;
    display: block;
    margin-top: -75px;
    top: 50vh;
}

.switch-to-prev-slide {
    left: 0;
}

.switch-to-next-slide {
    right: 0;
}

.title-box h1 {
    font-weight: 600;
    margin: 0;
    font-size: 22px;
    display: inline-block;
}

.title-box h2 {
    font-weight: 200;
    margin: 0;
    font-size: 18px;
    display: inline-block;
    padding-left: 10px;
}

.textblock {
    background: #333;
    padding: 15px;
    color: #ddd;
    line-height: 1.6;
    margin-bottom: 25px;
}

.textblock h1 {
    color: #ddd;
    margin: 0 0 15px 0;
}

.textblock strong {
    color: #cba569;
}

/* blocks */
.block.quote-block p.citation {
    text-align: right;
}

/* project extra info */
@keyframes bounce-ei-arrow {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) }
  40% { transform: translateY(-20px) }
  60% { transform: translateY(-10px) }
}

#extra-information:before {
    display: block;
    position: absolute;
    content: "▼";
    font-size: 18px;
    color: white;
    opacity: 0.7;
    right: 20px;
    margin-top: -50px;
    animation: bounce-ei-arrow 2s infinite;
}

/* news */
.newsblock {
    margin: 25px 0;
    padding: 0;
}

.newsblock h2 {
    margin: 0 0 5px 0;
    font-size: 24px;
}

.newsblock h2 a {
    color: inherit;
    text-decoration: none;
}

.newsblock div.date {
    text-align: right;
    font-style: italic;
    color: #aaa;
}

.newsblock p.more {
    text-align: right;
}

.newsblock .row {
    padding: 0 10px;
}

/* utility classes */
.row-thin-padding {
    margin-left: -5px!important;
    margin-right: -5px!important;
}

.row-thin-padding [class*="col-"] {
    padding-left: 5px!important;
    padding-right: 5px!important;
}

/* blocks */
.image-block img {
    width: 100%;
}

.image-block-full-width {
    margin: 15px 0;
}

.image-block-inline-thumb {
    width: 48%;
    display: inline-block;
    margin: 5px;
    padding: 0;
    box-sizing: border-box;
}

.image-block-float-right {
    float: left;
    width: 50%;
}

/* small screen optimizations */
@media screen and (max-width: 767px) {
    div.logo {
        margin-top: 20px;
    }

    .navigation {
        margin: 0;
        padding: 0;
        font-size: 11px;
        font-weight: bold;
    }

    .navigation nav {
        padding: 0 5px;
        width: 100%;
    }

    .navigation ul [class*="col-"] {
        padding: 0!important;
        width: auto;
        float: left;
    }

    .navigation ul li a {
        padding: 0 6px;
        height: 24px;
        line-height: 24px;
    }

    body.flow div.cover {
        padding-top: 90px!important;
    }

    /* move project details past the fold */
    .content-box { bottom: auto; top: 100%; }
    .title-box { margin-top: -44px; }
    .title-box .title-box-item {
        padding: 5px 10px;
        height: 44px;
    }
    .title-box h1 { font-size: 18px; display: block; margin: 0 }
    .title-box h2 { font-size: 14px; display: block; margin: 0; padding: 0; }

    /* show the thumb text for small devices by default */
    .thumbs .thumb .shadow {
        opacity: 1.0;
        background: transparent;
        text-shadow: 1px 1px 2px black;
    }

    /* add spacing to text blocks */
    .textblock {
        margin-top: 15px;
    }
}
