body {
	background: 0 0;
	margin: 0;
	line-height: 1.538;
	width: 100%;
	font-family: Helvetica,Verdana,Arial,"Nimbus Sans",sans-serif;
	--sib-color-red: rgb(227, 6 ,19);
	--sib-color-black: rgb(49, 50 ,51);
	--sib-color-white: rgb(255, 255 ,255);
	--sib-color-pinkish: rgb(234,82,151);
	--sib-color-darker-red: rgb(174,25,26);
	--sib-color-dark-orange:rgb(238, 118, 89);
	--sib-color-salmon:rgb(248, 188, 165);
	--sib-color-salmon-lighter:rgb(248, 188, 165, 0.3);
	--sib-color-blue:rgb(0, 159, 227);
	--sib-color-green:rgb(0, 154, 147);
	--sib-color-purple:rgb( 46, 44, 126);
	--sib-color-darker-gray:rgb(157, 157, 156);
	--sib-color-light-gray:rgb(226,225, 225);
	/*--sparql-border-radius:*/
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 200;
    line-height: 1.2;
    margin-top: .5em;
    margin-bottom: .5em;
}
h4 {
	font-size: 161.6%;
}
h3 {
    font-size: 182%;
}
h2 {
    font-size: 277%;
    line-height: 1.11;
}

#content {
	width: 97.9167%;
	margin: 0px 1.04167%;
	position: relative;
	padding-top: 0.5em;
}

#content ol {
	margin-left: 1.5em;
}

.warn {
	padding:0.5em;
	border: red dotted;
	display: inline-block;
	background-color: lightyellow;	
}

.sparql.homepage {
	grid-template-columns: 1fr 1rem 1fr 1rem 1fr;
	grid-template-areas: var(--sparql-hompage-grid, "sparql sparql sparql . examples" 
						 "about . news . examples");
 	grid-row-gap: 1rem;
}
.homepage .CodeMirror-scroll {
	min-height:300px;
}
.sparql > #main {
	grid-area:onlycontent;
}

#sparql-area {
	grid-area:sparql;
}

#addPrefix,#sparqlFormSubmitter {
	margin-bottom: 0.3em;
	margin-top: 0.2em;
}

#sparql-area form {
	border-bottom-right-radius: var(--sparql-border-radius, 0.5rem);
	border-bottom-left-radius: var(--sparql-border-radius, 0.5rem);
	background-color: #f4f4f4;
	padding-left: 0.5em;
	padding-bottom: 0.5em;
	padding-right: 0.5em;
	line-height: 1.1;
}

#sparql-area h3,
.sidebar h3 {
	background-color: var(--query-header-background-color, --sib-color-darker-gray);
	border-top-right-radius: var(--sparql-border-radius, 0.5rem);
	border-top-left-radius: var(--sparql-border-radius, 0.5rem);
	padding-left: 0.5em;
	padding-top: 0.5em;
	padding-right: 0.5em;
	padding-bottom: 0.2em;
	margin-bottom: 0;
	margin-top: 0;
	border-bottom: none;
}

#examples {
	background-color: var(--examples-background-color, --sib-color-light-gray);
	color: var(--sib-color-darker-gray);
	grid-area:examples;
}
#examples h3 {
	padding-left: 1rem;
}
#examples ol {
	padding-left: 1rem;
	padding-right: 1rem;
}

#about-area {
	background-color: var(--about-area-background-color, --sib-color-light-gray);
	color: var(--sib-color-darker-gray);
	grid-area:about;
	padding-bottom:1rem;
}

#about-area>p,#about-area>ol,#about-area>h4 {
	padding-left: 0.5rem;
}

#about-area>h4 {
	color: var(--sib-color-red);
}

.exampleLink {
	color: #00742B;
	cursor: pointer;
	margin-left:0.3rem;
}

/** unlike main site **/
.sidebar {
	grid-area:onlycontent;
}

#local-title > h1 {
	margin:0;
	padding:0;
}
.main-aside {
	grid-area:onlycontent;
}
.main-aside > .main {
	margin-right: 0;
}
.main-aside>* {
	margin-left: 0;
}

.nextPageLink {
	padding-left: 0.5em;
	margin-left: auto;
}
.status {
	text-align: end;
	width: 100%;
	display: inline-block;
	color: black;
}
.status a {
	color: black;
	font-size: xx-large;
}


#newsection {
	height: auto;
}

#news-container {
	grid-area: news;
}
#news-container>div,#examples,#about-area {
	border-radius: var(--sparql-border-radius, 0.5rem);
}

#news-container>div {
	margin: 0;
}

#newsectionlist p {
	margin-bottom: 0;
}

#newsectionlist li {
	margin-bottom: 1em;
}

#showSparqlQuery {
	float:right;
}
table.void h2 {
	font-size:medium;
}
a {
    text-decoration:none;
}

#clearSelection, a:link, a:visited {
    border-bottom: none;
}

a:link, a:visited {
    border-bottom: none;
}
a:hover {
    border-bottom: none;
    text-decoration: none;
}
.datatype {
	vertical-align: super;
	font-size: smaller;
}

ul#ClassesLegend {
	max-width:20em;
}
ul#Classes {
	display:flex;
	flex-wrap:wrap;
}
ul#Classes ul {
	margin-top:0;
	margin-bottom:0;
}

ul#Classes > li {
	width:30em;
	border:1px dotted black;
	padding:0.5em;
}
ul > li > ul > li > ul,
ul > li > ul {
	padding:0;
	margin-left:1em;
	margin-bottom:0em;
}
ul > li > ul {
	border-left:1px dotted black;
	border-bottom:none;
}
ul > li > ul > li > ul > li:before,
ul > li > ul > li:before {
	vertical-align:top;	
	border-bottom:1px dotted black;
	content: "";
	width: 0.4em;
	height: 0.7em;
	display:inline-block;
	margin-right:0.1em;
}
li.datatype {
	background-color:orange;
}

li.individual {
	background-color:lightgreen;
}

li.predicate > a {
	background-color:lightjade;
}

li.type > a {
	background-color:powderblue;
}

main {
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 15% 1fr;
	grid-template-columns: 15% 1fr;
	grid-template-areas: "pageheader pageheader" "onlycontent onlycontent" "sidebar content";
}
.button, button, input[type="button"] {
    display: inline-block;
    padding: 4px 6px;
    margin: 0 .1em;
        margin-top: 0px;
        margin-bottom: 0px;
    outline: 0;
    background-color: #cfe8ef;
    border-radius: var(--sparql-border-radius, 0.5rem);
    cursor: pointer;
    border-style: none;
        border-bottom-style: none;
    color: #00709b;
}
.action-buttons-grouped {
    border-bottom: 1px dotted #00709b;
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 2px;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    margin: 0 0 1px 0;
}

.error {	
	background-color: #FFCCCC;
	border: 1px solid #CC0000;
	border-radius: 0.5rem;
	display:block;
	font-size:inherit;
	color:red;
	width:auto;
}

.error > h1 {
	text-align:center;
	color:red;
}

#news-container > div {
    margin: 0;
}
#news-container > div, #examples, #about-area {
    border-radius: var(--sparql-border-radius, 0.5rem);
}
.shortcuts.transparent > div {
    background: 0 0;
}
.shortcuts > div {
    width: auto;
    background: #ededed;
    padding-bottom: 10px;
    margin: 0 9px 9px 9px;
    overflow: visible;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

#news-container h3 {
    padding-left: 5px;
    padding-bottom: 5px;
    padding-top: 0;
    border-bottom: 0 none;
    font-size: 138.5%;
    line-height: inherit;
    background-color: #ddd;
    margin-top: 0;
    margin-bottom: 0;
    border-top-left-radius: var(--sparql-border-radius, 0.5rem);
    border-top-right-radius: var(--sparql-border-radius, 0.5rem);
}
#news-container h3 a {
	color: inherit;
	border-bottom: none;
	text-decoration: none;
}
#news-container .icon_rss {
    background: url(https://www.uniprot.org/images/sprite_icons_o.png) 0 -426px;
    margin-right:0.25em;
}
#news-container .icon_twitter {
    background: url(https://www.uniprot.org/images/sprite_icons_o.png) 0 -550px;
}
#news-container .socialmedia {
	float: right;
	margin-left: 10px;
    width: 30px;
    height: 29px;
    display: inline-block;
    cursor: pointer;
    margin-top: 0.25em;
}
#news-container #newsection {
    overflow-y: none;
    overflow-y: auto;
    height: 20em;
    clear: right;
}
#news-container #newsection ul {
    margin: 0;
    padding: 0;
}
#news-container #newsection ul li {
    border-bottom: 1px dotted #333;
    padding: 10px 5px 0 5px;
    list-style: none;
    margin-bottom: 1em;
}
table#results {
	width:100%;	
}
table {
	border-collapse: collapse;
}
table tr:last-child {
    border-bottom: none;
}
table tr:first-child {
    border-top: none;
}

table tr th {
    white-space: nowrap;
    background-color: #5caecd;
	color: #fff;
	font-weight: 400;
    border: 1px solid #dedede;
    padding: 5px;
    vertical-align: middle;
    text-align: left;
}
table tr td {
	border-right: 1px dotted #ccc;
	border-left: 1px solid #f1f1f1;
	border-top: 1px solid #f1f1f1;
	border-bottom: 1px solid #f1f1f1;
    padding: 2px 5px 1px;
}
table tr td:last-child {
    border-right: none;
}
table tr td:first-child {
    border-left: none;
}
#page-header {
	grid-area:pageheader;
}

.describeImage {
	display: inline-block;
	width:13px;
	height:14px;
	background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAOCAIAAAB7HQGFAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAAOwwAADsMBx2+oZAAAAAl2cEFnAAAADQAAAA4AN8+DWQAAAclJREFUKM91kEtrE2EYhc/7zTeZie000iQtaSLYqkwkJSpV6FJaoYLUrropxIW4En+AK3EnXXUrgm5cKe4E8baqQsF6qeKNajFGE5o2dUjS3ObyvS5apRU8u8N5zuYhZsbuMJhAf2vHrwXKlTuBplv5/mu+WH2RiIwkIycMGam3SwXnmd13VgLwgma5/m6l8mil8qTS+OQFTSnC3Ua/IXta3sbxfRctMynXNz8s5Oe+rD9oew6BiDRBUrFXbRUU+wfjp7PJHADZo8WGB2YA+rbxtNFZY1ZEgsEA9veePGXPdoXiQdPTLh9ejoZShw5cGExMGrK74ZY7fnWPHjuSyo2nr1ntVPn+5/zcAjlXDEDJ5Ihx7LyWPuNojR/O87iVibZs53GhdOdtbWkVADlXTfhtKECTWv+wMXpJz55bvbf889bLzY9rylUkSJhSbDsRAPtBccl9dTOo14q331Rflzhg0rZVil2KaUszQESCdi6ChA6F/4bBgSJJIjx1XbcnIMP/0gwOlDC16NiQPTshQ9kZ3Z70vz7sLN7w8/N/IBam3DuaGsgdjY4NSsuQAMiw9My0HBp3398NiosAd9mxxHSmbyqt94a3jr8BjmW64UFYIHsAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTMtMDgtMjFUMTc6NDQ6MzkrMDI6MDDYpFAxAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDA3LTEwLTA1VDIyOjAzOjAwKzAyOjAwKrzX2QAAAABJRU5ErkJggg==');
}

.yasqe_buttons { 
	display:none;
}
.examples .yasqe .CodeMirror {
	height:auto;
}