body {
    font-family: Arial, Helvetica, sans-serif;
    color: #333333;
    margin: 0;
}

#upload_file {
	height: 200px;
	width: 500px;
	margin: 20px 0px 0px 20px;
	border: 1px;
	display: inline-block;
}

.btn {
	display: inline-block;
	padding: 4px 12px;
	margin-bottom: 0;
	font-size: 14px;
	line-height: 20px;
	color: #333333;
	text-align: center;
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
	vertical-align: middle;
	cursor: pointer;
	background-color: #f5f5f5;
	background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
	background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
	background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
	background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
	background-repeat: repeat-x;
	border: 1px solid #cccccc;
	border-color: #e6e6e6 #e6e6e6 #bfbfbf;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
	border-bottom-color: #b3b3b3;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
	filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
	-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn:hover {
	color: #333333;
	background-color: #e6e6e6;
	text-decoration: none;
	background-position: 0 -15px;
	-webkit-transition: background-position 0.1s linear;
	-moz-transition: background-position 0.1s linear;
	-o-transition: background-position 0.1s linear;
	transition: background-position 0.1s linear;
}
.btn:active {
	background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
     -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
          box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn:focus, .btn:hover {
	outline: 0;
}

.textarea, input[type="text"] {
	background-color: #ffffff;
	border: 1px solid #cccccc;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	-webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
	-moz-transition: border linear 0.2s, box-shadow linear 0.2s;
	-o-transition: border linear 0.2s, box-shadow linear 0.2s;
	transition: border linear 0.2s, box-shadow linear 0.2s;
	padding: 4px 6px;
	margin-bottom: 10px;
	font-size: 14px;
	line-height: 20px;
	color: #555555;
	vertical-align: middle;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

.textarea {
    width: 98%;
    max-width: 98%;
}

input[type="text"] {
    width: 400px;
}

.textarea:focus, input[type="text"]:focus {
	border-color: rgba(82, 168, 236, 0.8);
	outline: 0;
	outline: thin dotted \9;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
	-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
}


#sidebar {
    width: 18%;
    float: left;
    padding: 0;
    margin: 0;
}

#sidebar h3 {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 0.9em;
    color: #333;
    border-bottom: 3px solid #5882FA;
}

div#sidebar p {
    margin-left: 10px;
    margin-right: 5px;
}
p {
    margin-left: 20px;
    font-size: 0.8em;
}

a {
    color: #0088cc;
    text-decoration: none;
}

.blue {
    color: #0088cc;
}

a.no_link {
    color: #333333;
}

div#sidebar ul {
    padding-left: 15px;
    margin-left: 15px;
    margin-right: 5px;
}
div#sidebar ul {
    list-style-type: square;
    padding-left: 30px;
    margin-left: 30px;
    font-size: 0.8em;
}

div#page {
    width: 80%;
    float: left;
    border-left: 1px solid #999;
    padding-left: 10px;
    padding-right: 0px;
    padding-bottom: 0px;
    overflow: hidden;
    min-height: 500px;
}

div#result_menu ul li {
    float: left;
    display: inline;
    width: 100px;
}

.align-left {
    text-align: left;
}

div#result_menu ul li a{
    border: 1px;
    border: 1px solid #999;
    background: white;
    padding: 5px 15px 3px 15px;
    font-size: 0.85em;

    -webkit-border-radius: 4px 4px 0px 0px;
    -moz-border-radius: 4px 4px 0px 0px;
    border-radius: 4px 4px 0px 0px;

    -moz-box-shadow: inset 0px 1px 6px 0px #eeeeee;
    -webkit-box-shadow: inset 1px 0px 6px 0px #eeeeee;
    box-shadow: inset 0px 1px 6px 0px #eeeeee;
}

div#result_menu ul li a.active {
    -moz-box-shadow: inset 0px 1px 6px 0px rgba(82, 168, 236, 0.8);
    -webkit-box-shadow: inset 1px 0px 6px 0px rgba(82, 168, 236, 0.8);
    box-shadow: inset 0px 1px 6px 0px rgba(82, 168, 236, 0.8);
    border-bottom-color: #C7CDFC;
}

div#result_menu ul li a:hover {
    cursor: pointer;
}

div#result_menu {
    border-bottom: 1px solid #999;
    height: 20px;
}

div#result {
    margin-top: 10px;
}

#result_section {
    padding:15px;
    display: block;
    font-size: 0.9em;
    line-height: 20px;
}

.key {
    font-weight: bold;
}

#examples h4 {
    margin: 10px 0 10px 0;
}

.examples_right {
    display: inline;
    float: right;
}

.buttons {
    width: 99.3%;
}

#submit, .example{
    margin: 2px 5px 10px 0px;
}
/*.example {*/
    /*color: #ffffff;*/
    /*text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);*/
    /*background-color: #5bb75b;*/
    /*background-image: -moz-linear-gradient(top, #62c462, #51a351);*/
    /*background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351));*/
    /*background-image: -webkit-linear-gradient(top, #62c462, #51a351);*/
    /*background-image: -o-linear-gradient(top, #62c462, #51a351);*/
    /*background-image: linear-gradient(to bottom, #62c462, #51a351);*/
    /*background-repeat: repeat-x;*/
    /*border-color: #51a351 #51a351 #387038;*/
    /*border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);*/
    /*width: 132px;*/
    /*outline: 0;*/
/*}*/
/*.example:focus {*/
    /*background-color: #51a351*/
/*}*/

/*.example:hover {*/
    /*color: #333333;*/
    /*background-color: #51a351;*/
    /**background-color: #499249;*/
/*}*/

.example {
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #5bb75b;
    background-image: -moz-linear-gradient(top, #A3F5A3, #7DAF7D);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#A3F5A3), to(#7DAF7D));
    background-image: -webkit-linear-gradient(top, #A3F5A3, #7DAF7D);
    background-image: -o-linear-gradient(top, #A3F5A3, #7DAF7D);
    background-image: linear-gradient(to bottom, #A3F5A3, #7DAF7D);
    background-repeat: repeat-x;
    border-color: #7DAF7D #7DAF7D #7DAF7D;
    /*border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);*/
    width: 106px;
    outline: 0;
}
.example:focus {
    background-color: #7DAF7D;
}

.example:hover {
    color: #333333;
    background-color: #7DAF7D;
    *background-color: #499249;
    text-shadow: 0 0px 0 rgba(0, 0, 0, 0.25);
}

#page input.green-border,a.green-border, #page textarea.green-border {
    border-color: rgba(98, 196, 98, 0.8);
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(98, 196, 98, 0.6);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(98, 196, 98, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(98, 196, 98, 0.6);
}

.yellow {
    background-color: rgba(255, 254, 226, 1)
}

input.green {
    background-color: rgba(153, 255, 24, 0.2)
 }

#main_table, #main_table table {
    width: 100%;
    max-width: 100%;

}

.relative {
    position: relative;

}

.citation_nr {
    font-weight: bold;
    font-size: 1.6em;
}

.docsim_nr {
    font-weight: bold;
    font-size: 1.2em;
}

.number_td {
    text-align: center;
}

.border > tbody > tr > td, .border > tbody > tr > th, .border {
    border: 1px solid #999;
    border-collapse: collapse;
    border-spacing: 0;
    border-radius: 5px;
}

.extracted_data_table td, .result_table td, .result_table th, .extracted_data_table th {
    /*border-right: 1px solid #999;*/
    border: 1px solid #999;
}

#main_table {
    -moz-box-shadow: 0px 0px 20px 1px #eeeeee;
    -webkit-box-shadow: 0px 0px 20px 1px #eeeeee;
    box-shadow: 0px 0px 20px 1px #eeeeee;
    max-width: 100%;
}


table, th, td
{
    border-collapse: collapse;
    border-spacing: 0;
    padding: 10px;
    background-color: white;
}

.section {
    background-color: #f5f5f5;
}

.grey {
    color: #999;
}

.doc_nr {
    width: 14px;
}

.doc_doi {
    width: 10%;
}

.doc_score, .doc_year, .doc_pages, .ext_year, .ext_pages {
    width: 30px;
}

.score {
    float: left;
    height: 100%;
    padding: 10px;
}



#result_section span, #main_table td {
    white-space: normal;
}

a[data-tooltip], a[data-tooltip]:visited {
    position: relative;
    text-decoration: none;
}

a[data-tooltip]:before {
    content: "";
    position: absolute;
    border-bottom: 20px solid #333;
    /*border-bottom: 20px solid #dfe3e9;*/
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    visibility: hidden;
    top: 22px;
    left: -10px;
}

a[data-tooltip]:after {

    font-size: 0.85em;
    content: attr(data-tooltip);
    position: absolute;
    color: white;
    /*color: #757575;*/
    top: 32px;
    left: -10px;
    background: #333;
    /*background: #dfe3e9;*/
    padding: 2px 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    white-space: nowrap;
    visibility: hidden;
}

a.left-tooltip[data-tooltip]:after {
    top: 32px;
    left: -140px;
    white-space: normal;
    visibility: hidden;
}

a[data-tooltip]:hover:before, a[data-tooltip]:hover:after {
    visibility: visible;
    -webkit-transition: visibility 0s linear .3s;
    -moz-transition: visibility 0s linear .3s;
    -o-transition: visibility 0s linear .3s;
    transition: visibility 0s linear .3s;
}
