@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:100%; 
    height:100%; 
    background: #333;
    color: #FFF;
    margin: 0;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
}
.logo {
    background:url('/images/logo_ad_astra_341x120.png') center center no-repeat #171f50;
}
address, article, aside, div, footer, header, hgroup, layer, main, nav, section { 
    display: block;
}
.bg-top {
    /*background:url('/images/background.jpg') top center no-repeat #222;*/
    background-color: #333;
}
.bg-bottom {
    /*background:url('/images/background.jpg') bottom center no-repeat #222;*/
    background-color: #222;
}
.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: 25px 15px 0;
    justify-content: center;
    align-items: center;
    transition: 0.4s;
    font-family: "Roboto Mono", monospace;
    font-weight: 300;
}
.content.date {
    margin-top: 8px;
    margin-right: 0;
}
.clock {
    position: relative;
    display: flex;
    flex-flow: column wrap;
    width: 280px;
    height: 100px;
}
.clock.pull-right {
    margin-right: 30px;
}
.datelib {
    color: #b7b2aa;
    border-top: 1px solid #b7b2aa;
    font-size: 21px;
    margin: 0;
    padding-top: 2px;
    width: 324px;
}
.opacity-6 {
    opacity: 0.6;
}
.opacity-9 {
    opacity: 0.9;
}
.datelib .glyphicon {
    font-size: 18px;
}
.block {
    width: calc(100% / 12);
    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: 16px;
    width: 100%;
    height: 100%;
    line-height: 20px;
    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;
}
.divider {
    position: absolute;
    width: 2px;
    background-color: #b7b2aa;
    height: 60%;
    top: 20%;
    left: calc(50% + 19px);
}

@media (max-width: 767px) {
    .logo {
        height:65%;
    }
    .info {
        margin:0;
    }
    .info h1 {
        font-size: 26px;
        line-height: 1;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .info p {
        font-size: 13px;
    }
    .footer {
        height: 70px;
    }
    .block:before {
        font-size: 8px;
    }
    .clock {
        width: 140px;
        height: 50px;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .logo {
        height:70%;
    }
    .info {
        margin:7px;
    }
    .info h1 {
        font-size: 32px;
        line-height: 1.1;
        margin-top: 15px;
        margin-bottom: 8px;
    }
    .info p {
        font-size: 14px;
    }
    .footer {
        height: 90px;
    }
    .block:before {
        font-size: 12px;
    }
    .clock {
        width: 210px;
        height: 75px;
    }
}
@media (min-width: 992px) {
    .logo {
        height:75%;
    }
    .info {
        margin:15px;
    }
    .info h1 {
        font-size: 36px;
        line-height: 1.1;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .info p {
        font-size: 14px;
    }
    .footer {
        height: 100px;
    }
}

