/* A fixed navbar has been added, make some room
-------------------------------------------------- */

body {
    padding-top: 50px;
}

/* customize bs-docs a little bit.
-------------------------------------------------- */

.bs-docs-masthead {
    margin-bottom: 40px;    
}

.bs-docs-masthead .fa {
    vertical-align: -10%;
    font-size: 1.25em;
    line-height: .7em;
}

.github-btn {
    border: none; /* frameborder="0" i.e. seamless */
}

.twitter-btn,
.google-btn,
.shield-badge {
    overflow: hidden; /* scrolling="{no}" */
}

/* Workaround for scrollspy + fixed navbar
-------------------------------------------------- */
/* http://stackoverflow.com/a/20477243 */

h1[id] {
    padding-top: 60px;
    margin-top: -60px;
}

/* Hack to resize google plus-one button
-------------------------------------------------- */
/* http://stackoverflow.com/questions/7516647/adjusting-width-of-google-plus-1-button */

.google-btn {
    width: 75px;
}

/* GitHub Ribbon
-------------------------------------------------- */

#forkongithub a {
    background: #fff;
    color: #6f5499;
    text-decoration: none;
    font-family: arial,sans-serif;
    text-align: center;
    font-weight: bold;
    padding: 5px 40px;
    font-size: 1rem;
    line-height: 2rem;
    position: relative;
    transition: 0.5s;
}

#forkongithub a:hover {
    background: #fff;
    color: #6f5499;
}

#forkongithub a:before,
#forkongithub a:after {
    content: "";
    width: 100%;
    display: block;
    position: absolute;
    top: 1px;
    left: 0;
    height: 1px;
    background: #6f5499;
}

#forkongithub a:after {
    bottom: 1px;
    top: auto;
}

#forkongithub {
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    width: 300px;
    overflow: hidden;
    height: 200px;
}

#forkongithub a {
    width: 200px;
    position: absolute;
    top: 45px;
    right: -40px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    box-shadow: 4px 4px 10px rgba(0,0,0,0.8);
}
