
@font-face {
    font-family: 'Arimo';
    font-style: normal;
    font-weight: normal;
    src: url('../font/Arimo-Regular.eot');
    src: local('Droid Sans'), local('DroidSans'), url('../font/Arimo-Regular.ttf') format('truetype');
}

body {
    padding-top: 50px;
    font-family: Arimo,"Helvetica Neue",Helvetica,Arial,sans-serif !important;
}

.centered {
    position: relative;
    left: 33%;
    top: 40px;
}

.navbar-fixed-top .navbar-inner {
    padding: 5px 0 5px;
}
.navbar .nav {
    padding-top: 4px;
}
.navbar .nav > li > a {
    padding: 6px 15px;
}
.navbar .nav > li > a:hover {
    background-color: #222222;
}

.portal .btn-navbar {
    display: block;
}

.brand {
    background: url('../img/logo.png') no-repeat;
    padding-left: 52px !important;
    margin-left: 20px !important;
}

#avatar {
    color: white;
    float: right;
    margin-top: 2px;
    margin-right: 6px;
}
#avatar img {
    margin-top: 2px;
    height: 32px;
}
#avatar a {
    color: white;
}

section a {
    color: #545e18;
    text-decoration: none;
}
section a:hover {
    color: #f1a82a;
    text-decoration: none;
}

article {
    margin-bottom: 16px;
}

article header {
    margin-bottom: 8px;
}

article header h4 {
    border-bottom: 1px solid #333;
}
.post footer {
    margin-top: 4px;
}

.well {
    padding-bottom: 8px;
}

.well.portal {
    padding: 8px 4px 4px 8px;
}
.well.portal h5 {
    border-bottom: 1px solid black;
    margin-bottom: 8px;
}
.well.portal ul {
    list-style-type: none;
    margin-left: 12px;
}
.well.portal li {
    margin-bottom: 4px;
}
.well.portal a {
    color: #545e18;
    text-decoration: none;
}

.well.portal a:hover {
    color: #f1a82a;
    text-decoration: none;
}

#shouts {
    word-wrap: break-word;
    margin: 8px 0;
}

#shouts .viewport { min-height: 240px; overflow: hidden; position: relative; }
#shouts .overview { list-style: none; position: absolute; left: 0; top: 0; margin-right: 4px; }
#shouts .thumb .end,
#shouts .thumb { background-color: #a1a1a1; }
#shouts .scrollbar { position: relative; float: right; width: 10px; }
#shouts .track { background-color: #e1e1e1; height: 100%; width: 8px; position: relative; padding: 0px 1px; }
#shouts .thumb { height: 20px; width: 8px; cursor: pointer; overflow: hidden; position: absolute; top: 0; }
#shouts .thumb .end { overflow: hidden; height: 5px; width: 8px; }
#shouts .disable{ display: none; }

#postform textarea {
    width: 100%;
    box-sizing: border-box;
    -webkit-box-sizing:border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
}

.subnav {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    z-index: 1030;
}
.board-info {
    text-align: right;
    float: right;
    color: #999;
    background-color: #2c2c2c;
    padding: 10px 20px;
    background-image: -moz-linear-gradient(top, #222222, #333333);
    background-image: -ms-linear-gradient(top, #222222, #333333);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#222222), to(#333333));
    background-image: -webkit-linear-gradient(top, #222222, #333333);
    background-image: -o-linear-gradient(top, #222222, #333333);
    background-image: linear-gradient(top, #222222, #333333);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#222222', endColorstr='#333333', GradientType=0);
    -webkit-border-bottom-right-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-bottomright: 4px;
    -moz-border-radius-bottomleft: 4px;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}
.board-info a {
    color: #545e18;
    text-decoration: none;
}

.board-info a:hover {
    color: #f1a82a;
    text-decoration: none;
}

#login-div {
    display: none;
    width: auto;
    left: 60%;
}

.form {
    padding: 8px 30px;
    border: 1px solid #999;
    border-radius: 6px;
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
}
.form .fields {
    padding: 10px 0;
}
.form label {
    margin: 8px 10px 0 0;
}
.form .input_text {
    width: 100%;
}
.form .button_submit {
    float: right;
}

#content {
    margin-top: 18px;
}

.yt-wrapper {
    position: relative;
    max-width: 480px;
    max-height: 360px;
}
.yt-wrapper:hover {
    background-color: black;
    opacity: 0.6;
    -moz-opacity: 0.6;
    filter:alpha(opacity=6);
}
.yt-playbtn {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -24px;
    margin-left: -24px;
    height: 48px;
}
#yt-player {
    display: none;
    text-align: center;
    width: 680px;
    margin-left: -340px;
}
#yt-player .close {
    margin-bottom: 4px;
}

#bubble {
    position: relative;
    padding: 8px;
    max-width: 200px;
    top: -8px;
    left: 8px;
    margin-bottom: 8px;
    border: 2px solid #999;
    border-radius: 8px;
    box-shadow: 2px 2px 4px #aaa;
    background-color: white;
    opacity: 0.8;
}
#bubble:before
{
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: 20px;
    top: -50px;
    border: 25px solid;
    border-color: transparent #999 #999 transparent;
}
#bubble::after
{
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: 22px;
    top: -46px;
    border: 23px solid;
    border-color: transparent #fff #fff transparent;
}
#bubble img {
    margin: 3px;
}
@media (max-width: 979px) {
    body {
        padding-top: 0;
    }
    .navbar-fixed-top {
        position: static;
        margin-bottom: 18px;
    }
    .navbar-fixed-top .navbar-inner {
        padding: 5px;
    }
    .navbar .container {
        width: auto;
        padding: 0;
    }
    .navbar .brand {
        padding-left: 10px;
        padding-right: 10px;
        margin: 0 0 0 -5px;
    }
    .navbar .nav-collapse {
        clear: left;
    }
    .navbar .nav {
        float: left;
        margin: 0;
    }
    .navbar .nav > li {
        float: left;
    }
    .navbar .nav > li > a {
        margin-bottom: 2px;
    }
    .navbar .nav > .divider-vertical {
        display: none;
    }
    .navbar .nav .nav-header {
        color: #999999;
        text-shadow: none;
    }
    .navbar .nav > li > a {
        padding: 6px 15px;
        font-weight: normal;
        color: #999999;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
    }
    .navbar .dropdown-menu a {
        padding: 6px 15px;
        font-weight: bold;
        color: #999999;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
    }
    .navbar .dropdown-menu li + li a {
        margin-bottom: 2px;
    }
    .navbar .nav > li > a:hover, .navbar .dropdown-menu a:hover {
        background-color: #222222;
    }
    .navbar .dropdown-menu {
        position: static;
        top: auto;
        left: auto;
        float: none;
        display: block;
        max-width: none;
        margin: 0 15px;
        padding: 0;
        background-color: transparent;
        border: none;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }
    .navbar .dropdown-menu:before, .navbar .dropdown-menu:after {
        display: none;
    }
    .navbar .dropdown-menu .divider {
        display: none;
    }
    .navbar-form, .navbar-search {
        float: none;
        padding: 9px 15px;
        margin: 9px 0;
        border-top: 1px solid #222222;
        border-bottom: 1px solid #222222;
        -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
        -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    .navbar .nav.pull-right {
        float: none;
        margin-left: 0;
    }
    .navbar-static .navbar-inner {
        padding-left: 10px;
        padding-right: 10px;
    }
    .btn-navbar {
        display: block;
    }
    .nav-collapse {
        overflow: hidden;
        height: 0;
    }

    .subnav {
        position: absolute;
    }
    .subnav .container {
        width: auto;
        padding: 0 5px 0 0;
    }
}

@media (max-width: 768px) {

    .board-info {
        display: none;
    }

    .navbar .nav {
        display: none;
        position: absolute;
        right: 5px;
        left: auto;
        top: 50px;
        padding-top: 18px;
        background-color: #2c2c2c;
        padding: 10px 0;
        background-image: -moz-linear-gradient(top, #222222, #333333);
        background-image: -ms-linear-gradient(top, #222222, #333333);
        background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#222222), to(#333333));
        background-image: -webkit-linear-gradient(top, #222222, #333333);
        background-image: -o-linear-gradient(top, #222222, #333333);
        background-image: linear-gradient(top, #222222, #333333);
        background-repeat: repeat-x;
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#222222', endColorstr='#333333', GradientType=0);
        -webkit-border-bottom-right-radius: 4px;
        -webkit-border-bottom-left-radius: 4px;
        -moz-border-radius-bottomright: 4px;
        -moz-border-radius-bottomleft: 4px;
        border-bottom-right-radius: 4px;
        border-bottom-left-radius: 4px;
        -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    }
    .navbar .nav > li {
        float: none;
        font-weight: bold;
        width: 160px;
    }
    .navbar .nav > li a:hover {
        background-color: #191919;
        background-repeat: repeat-x;
        background-image: -khtml-gradient(linear, left top, left bottom, from(#292929), to(#191919));
        background-image: -moz-linear-gradient(top, #292929, #191919);
        background-image: -ms-linear-gradient(top, #292929, #191919);
        background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #292929), color-stop(100%, #191919));
        background-image: -webkit-linear-gradient(top, #292929, #191919);
        background-image: -o-linear-gradient(top, #292929, #191919);
        background-image: linear-gradient(top, #292929, #191919);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#292929', endColorstr='#191919', GradientType=0);
        color: white;    
    }
}
