/* Github login. */

.navigation > p > a.github-login {
    margin-top: 15px;
    display: block;
    color: #fff;
    font-family: sans-serif;
    text-align: center;
    line-height: 15px;
    font-size: 13px;
    border: 1px #549300 solid;
    text-shadow: rgba(0, 0, 0, 0.3) 2px 1px 1px;
    box-shadow: inset 1px 1px 1px #B0D74F;
    border-radius: 4px;
    padding: 6px 30px 7px 30px;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -ms-font-smoothing: antialiased;
    -o-font-smoothing: antialiased;
    font-smoothing: antialiased;
    background: #8cc400; /* Old browsers */
    background: -moz-linear-gradient(top,  #8cc400 0%, #61a701 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#8cc400), color-stop(100%,#61a701)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #8cc400 0%,#61a701 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #8cc400 0%,#61a701 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #8cc400 0%,#61a701 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #8cc400 0%,#61a701 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8cc400', endColorstr='#61a701',GradientType=0 ); /* IE6-9 */
}

.navigation > p > a.github-login:hover {
    text-decoration: none;
}


/* Commenting links. */

.comment-action {
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
    color: #9A9994;
    font-weight: normal;
    white-space: nowrap;
}

.comment-action-open {
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
    color: #9A5555;
    white-space: nowrap;
}

.comment-action:hover {
    text-decoration: none;
}


/* Comment overlay. */

.comment-overlay-outer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.comment-overlay {
    position: fixed;
    width: 600px;
    max-height: 500px;
    margin-top: -300px;
    margin-left: -300px;
    top: 50%;
    left: 50%;
    overflow: auto;
    background: #FCFCFA;
    border: 1px #E2E0D8 solid;
    border-radius: 5px;
    padding: 10px 14px 14px 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}

.comment-overlay > h1 {
    font-size: 18px;
    margin-bottom: 7px;
}

.comment-overlay-close {
    position: absolute;
    top: 13px;
    right: 14px;
    font-size: 12px;
    text-decoration: underline;
    color: #9A9994;
    cursor: pointer;
}

.comment-overlay-close:hover {
    text-decoration: none;
}


/* Items in the comment overlay. */

.comment-overlay > article {
    position: relative;
    padding: 7px 0 0 58px;
    margin: 0 0 7px 0;
    min-height: 48px;
    border-top: 1px #E2E0D8 solid;
    overflow: hidden;
}

.comment-overlay > article > h1 {
    font-weight: normal;
    font-size: 12px;
}

.comment-overlay > article > p {
    margin-bottom: 0;
}

.comment-overlay > article > p.closed {
    text-decoration: line-through;
}

.comment-overlay > article img {
    position: absolute;
    top: 7px;
    left: 0;
    width: 48px;
    height: 48px;
}


/* Comment box. */

.comment-overlay > h2 {
    font-size: 16px;
    margin-bottom: 4px;
    border-top: 1px #E2E0D8 solid;
    padding: 11px 0 0 0;
}

.comment-overlay > textarea {
    width: 100%;
    display: block;
    margin: 0 0 11px 0;
    padding: 7px;
    height: 60px;
    resize: none;
    border: 1px #E2E0D8 solid;
    border-radius: 5px;
    outline: none;
    line-height: 1;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}

.comment-overlay > input[type=submit] {
    float: right;
    height: 30px;
    font-size: 14px;
    padding: 0 11px;
    border: none;
    background-color: #E8E7DD;
    font-weight: bold;
    cursor: pointer;
    -webkit-transition: background-color 0.15s;
}

.comment-overlay > input[type=submit]:hover {
    background-color: #d8d7cD;
}
