#document_buttons {
    margin-bottom: 5px;
}

#document_buttons button {
    margin-right: 5px;
}

/* Hide triangle */
#results .result.selected:after {
  background: none;
}

.header_results {
    padding-bottom: 5px;
    font-size: 14px;
}

.current_results {
    font-size: 14px;
    margin-left: 10px;
    font-style: italic;
    color: #888;
}

.total_results {
    font-weight: bold;
    margin-left: 10px;
    color: #555;
}

#document_list ul.nav {
    margin: 0 !important;
}

.result .loading {
    margin: 7px 0;
}

/*#results div.thread-result{
    padding: 5px 10px;
}

#results div.thread-result a{
    font-size: 14px;
    font-weight: bold;
}*/

.document-relations {
    color: #8b889a;
    font-size: 0.9em;
}
.document-relations ul{
    list-style-position: inside;
}
.document-relations .document-matrixes-info, .document-relations .document-threads-info{
    margin-top: 10px;
}
.document-relations .relations_warning {
    color: #ffa456;
    font-size: 11px;
    margin-left: 2px;
    cursor: help;
}
.document-relations .relations_warning.unchecked {
    color: #59BBE4;
}
.document-relations .relations_warning.number_of_studies {
    color: #8bc34a;
}

.comma-separated:after {
    content: ','
}

.comma-separated:last-child:after {
    content: ''
}

.lateral-bar {
  text-align: center;
  float: right;
  position: relative;
  top: -14px;
  left: 9px;
  margin-left: 4px;
  margin-right: 2px;
  width: 16px;
}

.lateral-bar .glyphicon {
  display: inline-block;
  padding-bottom: 3px;
  color: #B7B7B7;
}

.lateral-bar .glyphicon.pointer {
  cursor: pointer;
  color: rgb(66, 139, 202);
}

.red-glow {
    -webkit-animation: red-glow .5s infinite alternate;
    -moz-animation: red-glow .5s infinite alternate;
}

.green-glow {
    -webkit-animation: green-glow .5s infinite alternate;
    -moz-animation: green-glow .5s infinite alternate;
}

.blue-glow {
    -webkit-animation: blue-glow .5s infinite alternate;
    -moz-animation: blue-glow .5s infinite alternate;
}

.yellow-glow {
    -webkit-animation: yellow-glow .5s infinite alternate;
    -moz-animation: yellow-glow .5s infinite alternate;
}

.yellow-env {
    color: rgb(47, 215, 62) !important;
}

.gray-env {
    color: gray !important;
}

@-webkit-keyframes red-glow {
    to {
        text-shadow: 0 0 10px red;
        color: rgb(219, 37, 37);
    }
}

@keyframes red-glow {
    to {
        text-shadow: 0 0 10px red;
        color: rgb(219, 37, 37);
    }
}

@-webkit-keyframes blue-glow {
    to {
        text-shadow: 0 0 10px blue;
        color: #428bca;
    }
}

@keyframes blue-glow {
    to {
        text-shadow: 0 0 10px blue;
        color: #428bca;
    }
}

@-webkit-keyframes green-glow {
    to {
        text-shadow: 0 0 10px rgb(62, 213, 127);
        color: rgb(0, 95, 0);
    }
}

@keyframes green-glow {
    to {
        text-shadow: 0 0 10px rgb(62, 213, 127);
        color: rgb(0, 95, 0);
    }
}

@-webkit-keyframes yellow-glow {
    to {
        text-shadow: 0 0 10px rgb(255,255,0);
        color: rgb(204,204,0);
    }
}

@keyframes yellow-glow {
    to {
        text-shadow: 0 0 10px rgb(255,255,0);
        color: rgb(204,204,0);
    }
}


@media screen and (max-width: 768px) {
    #document_buttons {
        margin-top: 30px;
    }

    .document-title {
        font-size: 1.3em;
    }

    .btn-full-xs {
        display: block;
        width: 100%;
    }

    .btn-help {
        margin-top: 20px !important;
    }

    .btn-show-abstract {
        margin-top: 20px;
    }

    .btn-hide-abstract {
        display: block;
        margin: 10px auto 0;
    }

    .well-abstract {
        margin-top: 20px;
        text-align: justify;
    }
}
