@import url("https://fonts.googleapis.com/css?family=Roboto+Mono:300,500");
html {
    font-size: 13px;
    width:100%; 
    height:100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body { 
    width:100vw; 
    height:100vh; 
    background:#1b1818;
    color: #FFF;
    margin: 0;
    padding-bottom:  51px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
body.logo {
    background:url('/images/labo_ns388640.png') center center no-repeat #1b1818;
}
.logo {
    background:url('/images/labo_ns388640.png') center center no-repeat transparent;
}
address, article, aside, div, footer, header, hgroup, layer, main, nav, section { 
    display: block;
}
hr {
    border-top: 1px solid #b7b2aa;
    margin: 15px 25px;
}
h1, h2, h3 {
    font-family: "Roboto Mono", monospace;
    font-weight: 300;
}
h1 .glyphicon {
    margin-right: 10px;
}
.bg-top {
    background:url('/images/background_001.jpg') top center no-repeat #222;
    border-bottom: 1px solid #FF8300;
}
.bg-bottom {
    background:url('/images/background_001.jpg') bottom center no-repeat #222;
    border-top: 1px solid rgba(255, 131, 0, 0.5);
}

nav.navbar.navbar-fixed-bottom {
    border-top: 1px solid #FF8300;
    min-height: 41px;
    z-index: 1050;
}
nav.navbar.navbar-fixed-bottom .navbar-nav > li > a {
    padding-top: 10px;
    padding-bottom: 10px;
}
nav.navbar.navbar-fixed-bottom .navbar-brand {
    height: 40px;
    padding: 10px 15px;
}
.menu-links.dropdown-menu .glyphicon {
    margin-right: 5px;
    padding-right: 10px;
    border-right: 1px solid #e9e9e9;
}
.menu-links.dropdown-menu>li>a {
    padding: 3px 14px;
}

.info {
    margin:15px;
}
.footer {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    height: 61px;
    width: 100%;
    z-index: 1030;
}
.content {
    margin: 20px 5px 0 15px;
    justify-content: center;
    align-items: center;
    transition: 0.4s;
    font-family: "Roboto Mono", monospace;
    font-weight: 300;
}
.content.date {
    margin-top: 8px;
    margin-right: 5px;
}
.main {
    margin-top: 30px;
    margin-bottom: 125px;
}
.clock {
    position: relative;
    display: flex;
    flex-flow: column wrap;
    width: 328px;
    height: 80px;
}
.datelib {
    color: #b7b2aa;
    border-top: 1px solid #b7b2aa;
    font-size: 21px;
    margin: 0;
    padding-top: 2px;
    min-width: 324px;
}
.opacity-1 {
    opacity: 0.1;
}
.opacity-3 {
    opacity: 0.3;
}
.opacity-6 {
    opacity: 0.6;
}
.opacity-9 {
    opacity: 0.9;
}
.datelib .glyphicon {
    font-size: 18px;
}
.block {
    width: calc((100% - 40px) / 12); /* 24px */
    height: 20%;
    color: #474747;
    transition: 0.4s;
}
.block:not(:nth-child(n + 16)):nth-child(n + 11), .block:not(:nth-child(n + 46)):nth-child(n + 41) {
    margin-right: 10px;
}
.block:not(:nth-child(n + 31)):nth-child(n + 26) {
    margin-right: 20px;
}
.block:before {
    content: attr(data-num);
    position: relative;
    display: block;
    font-size: 1em;
    width: 100%;
    height: 100%;
    line-height: 17px;
    text-align: center;
}
.block:nth-child(-n + 10):before {
    content: "0" attr(data-num);
}
.block.active:before {
    color: #b7b2aa;
    font-weight: 500;
}
.block.second:before {
    color: #FF8300;
}
.clock .divider {
    position: absolute;
    width: 2px;
    background-color: #b7b2aa;
    height: 60%;
    top: 20%;
    left: calc(50% - 1px);
}

.terminal {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px;
    border: 1px solid rgba(183, 178, 170, 0.2);
    border-radius: 4px 4px 4px 4px;
    box-shadow: 4px 6px 13px 0px rgba(183, 178, 170, 0.1);
    font-family: "Roboto Mono", monospace;
    font-weight: 300;
}
.terminal pre {
    display: block;
    padding: 0;
    margin: 0 0 10px;
    font-size: 1em;
    line-height: initial;
    color: #fff;
    word-break: initial;
    word-wrap: initial;
    background-color: transparent;
    border: 0px solid #ccc;
    border-radius: 0;
    font-family: "Roboto Mono", monospace;
    font-weight: 300;
}

.prompt-black {
    color: #000;
}
.prompt-red {
    color: #bd5287
}
.prompt-green {
    color: #87bd52
}
.prompt-yellow {
    color: #bd8752
}
.prompt-blue {
    color: #5287bd
}
.prompt-magenta {
    color: #8752bd
}
.prompt-cyan {
    color: #52bd87
}
.prompt-white {
    color: #fff;
}

.prompt-black.pastel,
.pastel .prompt-black {
    color: #262626;
}
.prompt-red.pastel,
.pastel .prompt-red {
    color: #b87a7b;
}
.prompt-green.pastel,
.pastel .prompt-green {
    color: #7bb87a;
}
.prompt-yellow.pastel,
.pastel .prompt-yellow {
    color: #b8b77a;
}
.prompt-blue.pastel,
.pastel .prompt-blue {
    color: #7a7bb8;
}
.prompt-magenta.pastel,
.pastel .prompt-magenta {
    color: #b77ab8;
}
.prompt-cyan.pastel,
.pastel .prompt-cyan {
    color: #7ab8b7;
}
.prompt-white.pastel,
.pastel .prompt-white {
    color: #b7b2aa;
}

@media (max-width: 767px) {
    hr {
        margin: 10px 15px;
    }
    nav.navbar.navbar-fixed-bottom .navbar-toggle {
        padding: 6px 8px;
        margin: 6px 15px 6px 0px;
    }
    .info {
        margin:0;
    }
    .info h1 {
        font-size: 26px;
        line-height: 1;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .info p {
        font-size: 13px;
    }
    .content {
        margin: 10px 0 0 0;
    }
    .content.date {
        margin-top: 10px;
        margin-left: 0;
    }
    .datelib {
        font-size: 18px;
        width: auto;
    }
    .datelib .glyphicon {
        font-size: 16px;
    }
    .main {
        margin-top: 15px;
        margin-bottom: 95px;
    }
    .footer {
        height: 85px;
    }
    .block:not(:nth-child(n + 16)):nth-child(n + 11), .block:not(:nth-child(n + 46)):nth-child(n + 41) {
        margin-right: 5px;
    }
    .block:not(:nth-child(n + 31)):nth-child(n + 26) {
        margin-right: 10px;
    }
    .block:before {
        font-size: 8px;
        line-height: 10px;
    }
    .clock {
        width: 150px;
        height: 50px;
    }
    .clock.pull-right {
        margin-right: 20px;
    }
    .clock .divider {
        width: 1px;
        left: calc(50% + 9px);
    }
    .terminal {
        min-height: 320px;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .info {
        margin:7px;
    }
    .info h1 {
        font-size: 32px;
        line-height: 1.1;
        margin-top: 15px;
        margin-bottom: 8px;
    }
    .info p {
        font-size: 14px;
    }
    .main {
        margin-top: 25px;
        margin-bottom: 115px;
    }
    .footer {
        height: 100px;
    }
    .block:before {
        font-size: 12px;
    }
    .clock {
        width: 210px;
        height: 75px;
    }
    .terminal {
        min-height: 400px;
    }
}
@media (min-width: 992px) {
    .info {
        margin:20px 5px;
    }
    .info h1 {
        font-size: 36px;
        line-height: 1.1;
        margin-top: 0;
        margin-bottom: 0;
    }
    .info p {
        font-size: 14px;
    }
    .main {
        margin-top: 30px;
        margin-bottom: 125px;
    }
    .footer {
        height: 110px;
    }
    .terminal {
        min-height: 500px;
    }
}
