body {
	font-family: Helvetica, Arial, Tahoma, sans-serif;
	font-size: 15px;
	margin: auto 0;
	color: #353535;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

body, div.core {
	background: white;
}

td,ul,ol,p,fieldset {
	font-size: 14px  !important;
}

td,ul,ol,p {
	line-height: 1.35em !important;
}

h1 {
	font-size: 30px !important;
}

h2 {
	font-size: 23px !important;
}

h3 {
	font-size: 18px !important;
}
.uc {
	margin-top: 0;
}
.upcount{
	margin-bottom: 0;
}

h4 {
	font-size: 15px !important;
}

h1, h2, h3, h4, h5, h6 {
	color: #353535;
}

h1.root,h2.root,#header,div#tab_bar,div#tab_bar ul,div.core,div.main,div.sidebar,p.note,div.footer,div.context,div.auto_complete ul,div.auto_complete ul li,div.auto_complete ul strong.highlight {
	margin: 0;
}

h1.root {
	padding: 0.6em 0 0.3em 0;
}

h2.root {
	color: blue;
}

h4, h3, div.matches h3 {
	margin-bottom: 0.2em !important;
}

#container {
	min-height: calc(100vh - 32px);
}

div.page {
	margin: 0 auto;
	margin-bottom: 8px;
	border-left: 12px solid white;
	color: #626262;
	width: 78em;
}
div.rpage div.rcount {
	padding: 0.8em 0;
}

img[usemap] {
	max-width: initial !important; /* for safari mobile: img map do not work when scaled */
}

@media screen and (max-width: 900px) {
	div.page {
		width: min-content;
		min-width: 900px;
	}
	div.page img {
		max-width: 100%;
	}
	#search {
		left: 20px !important;
	}
	#search input.suggest {
		width: 12em;
	}
}
@media screen and (max-width: 400px) { /* iphone X: max 375px (width portrait) ... */
	#search {
		bottom: 0 !important;
	}
}

div.page,#header,div#tab_bar,p.note,#search,div.auto_complete ul,div.auto_complete ul strong.highlight {
	padding: 0;
}

div.page_large,table {
	width: 100%;
}

#header {
	background: #f4480c url(../images/headerbar_venom.gif) repeat-x;
	border-bottom: 4px solid #dadada;
	min-height: 81px;
	padding: 0;
	margin: 0;
}
@media screen and (max-width: 820px) {
	#header {
		min-width: 720px;
	}
}

#header,#h2,#h3,#h3 label {
	color: white;
}

#h1 {
	display: flex;
	flex-flow: nowrap;
	align-self: center;
	font-size: 25px;
	font-weight: bold;
	letter-spacing: 0.01em;
	position: absolute;
	left:12px;
	top: 14px;
	z-index: 1;
}
#search {
	padding-left: 30px;
	align-self: center;
	width: calc(100vw - 450px);
	min-width: 230px;
	position: relative;
	top: -5px;
}
#search form {
	margin: 0;
}
#search form input.suggest {
	width: calc(100% - 140px);
	min-width: 100px;
}

#h2 {
	display: flex;
	align-self: center;
	right: 12px;
	top: 26px;
	position: absolute;
}

#h3 {
	display: flex;
	right: 16px;
	top: 60px;
	font-weight: lighter;
	position: absolute;
}

#h3 img {
	vertical-align: bottom;
}

#h3,.update,table.viri_list {
	text-align: right;
	z-index: 1;
}

#h2 a,#h3 a {
	color: #ddf;
}

#h2,div.context {
	font-size: small;
}

#h2,div.sidebar {
	float: right;
}

#h2 label,div.sidebar,span.protein,#search {
	text-align: left;
}

#h2 label {
	font-size: x-small;
}

#announce {
	color: #FE6;
	position: absolute;
	top: 0px;
	padding-left: 1em;
	width: 100%;
	width: calc( 100% - 1em );
	white-space: nowrap;
	background-color: black
}

.locinfo {
	color: #CCC !important;
	font-size: small;
	padding-left: 0.5em;
}


/* sib logos&links */

/* old logo
#sib_expasy_logo {
	width: 229px;
	height: 32px;
	background: transparent url(../images/sib_ExPASy_logo_small.png) no-repeat top left;
}

a#sib_link {
	display: block;
	position: relative;
	width: 41px;
	height: 32px;
}

a#expasy_link {
	display: block;
	position: relative;
	left: 41px;
	top: -32px;
	width: 188px;
	height: 32px;
}
*/

/* >Oct 2020 logo */
#sib_expasy_logo {
	width: 125px;
	height: 32px;
	background: transparent url(../images/sib_expasy_logo_new_small.png) no-repeat top left;
	position: relative;
	top: -4px;
}

a#sib_link {
	display: block;
	position: relative;
	width: 20px;
	height: 32px;
	left: 105px;
}

a#expasy_link {
	display: block;
	position: relative;
	width: 105px;
	height: 32px;
	bottom: 32px;
}


#sib_footer {
	clear: both !important;
	position: relative;
	background-color: #222;
	color: #f7f8fa;
	font-size: 10px;
	font-weight: normal;
	text-align: center;
	letter-spacing: 1px;
	z-index: 2;
	width: 100%;
}
@media screen and (max-width: 820px) {
	#sib_footer {
		min-width: 720px;
	}
}

#sib_footer_content {
	padding: 8px 0 8px 8px;
}

#sib_footer a {
	color: #f7f8fa;
	text-decoration: none;
}

#sib_footer_right {
	position: absolute;
	right: 18px;
	text-align: right;
	top: 12px;
	width: 400px;
}

#sib_footer_right a {
	padding-left: 10px;
}


/* tabs */

div#tab_bar {
	background: #d6d6d6;
	height: 25px;
    overflow: auto;
    text-overflow: ellipsis;
}

div#tab_bar,div#t7,div#t6,div#t5,iv#t4,div#t3,div#t2,div#t1,div#t0,.hidden {
	display: none;
}

div#tab_bar.final,body#tab7 div#t7,body#tab6 div#t6,body#tab5 div#t5,body#tab4 div#t4,body#tab3 div#t3,body#tab2 div#t2,body#tab1 div#t1,body#tab0 div#t0,body#taball div#t7,body#taball div#t6,body#taball div#t5,body#taball div#t4,body#taball div#t3,body#taball div#t2,body#taball div#t1,body#taball div#t0,span.protein {
	display: block;
}

div#tab_bar.final {
	min-width:72em;
}
@media screen and (max-width: 820px) {
	div#tab_bar.final {
		min-width: 720px;
	}
}

div#tab_bar ul,div.host ul,div.auto_complete ul {
	list-style-type: none;
}

div#tab_bar ul {
	display: table;
	padding: 0 4px;
	height: 100%;
}

div#tab_bar ul,fieldset legend {
	font-size: 17px !important;
}

body#tab7 li.tab7,body#tab6 li.tab6,body#tab5 li.tab5,body#tab4 li.tab4,body#tab3 li.tab3,body#tab2 li.tab2,body#tab1 li.tab1,body#tab0 li.tab0,body#taball li.tab0 {
	background: #fff;
	color: #000;
}

div#tab_bar ul li {
	list-style: none outside none;
	margin-right: 0.245em;
	padding: 0 1em;
	min-width: 6em;
	text-align: center;
	vertical-align: middle;
	white-space: nowrap;
	cursor: pointer;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}

div#tab_bar ul li,div.main,span.protein {
	float: left;
}

div#tab_bar ul li,a img {
	border: 0;
}

div#tab_bar ul li,.uc,.token_light {
	color: #666;
}

:root div#tab_bar ul li {
	display: table-cell;
	float: none;
}

li#tab_focus {
	color: #000 !important;
}

body#tab7 div#t7,body#tab6 div#t6,body#tab5 div#t5,body#tab4 div#t4,body#tab3 div#t3,body#tab2 div#t2,body#tab1 div#t1,body#tab0 div#t0,div.matches,div.footer {
	clear: both;
}

div#t7,div#t6,div#t5,div#t4,div#t3,div#t2,div#t1,div#t0 {
}


/* search */

input[type="submit"] {
	background-color: #F0F0F0;
	border: 1px solid #88A;
	border-radius: 4px;
}

#search input[type="submit"] {
	background-color: #A98;
	border: 2px solid #876;
	color: white;
}

input[type="text"], textarea {
	border: 2px solid #AAA;
	border-radius: 6px;
	padding: 2px;
}


/* page */

div.core {
	padding: 0.1em;
}

div.core > table,div.blank {
	clear: right;
}

form div,div.blank,div.protein_list {
	padding: 0 !important;
}

div.main {
	width: 54em;
	text-align: justify;
}
@media screen and (max-width: 820px) {
    div.main {
        width: 92%;
    }
}

div.main p, div.main ol, div.main ul {
	font-family: Verdana, Geneva, "DejaVu Sans", Tahoma, Arial, sans-serif;
}

div.main,div.matches {
	padding: 1.4em;
}

div.main img {
	margin: 0;
	border: 0 !important;
}

div.sidebar {
	width: 20em;
	padding: 0.2em !important;
	float: right;
}
@media screen and (max-width: 760px) {
	div.sidebar {
		width: 98%;
		float: right;
	}
}

div.matches img {
	vertical-align: bottom;
}

div.tooltip {
	background-color: white;
	opacity: 0.94;
	position: fixed;
	padding: 6px;
	margin: 0;
	z-index: 10001;
	text-align: justify;
	left: 12em;
	border: 1px solid #AAA;
	border-radius: 5px;
	filter: drop-shadow( 2px 2px 6px #999);
	width: min-content;
	min-width: max(min(33vw, 600px), 400px);
	max-width: 600px;
}

div.tooltip summary {
	max-width: 600px;
	margin: auto;
}

div.tooltip aside {
	max-width: 600px;
	margin: auto;
	text-align: center;
}

div.tooltip img {
	max-width: 600px;
	max-width: fill-available;
	max-width: -webkit-fill-available;
	max-width: -moz-available;
}

div.tooltip p {
	margin: 0;
}

div.tooltip a {
	color: #48A;
	font-weight: bold;
}

p.note {
	font-size: smaller;
	color: #888;
	clear: left;
}

p.note,div.host ul {
	margin-left: 2em;
}

div.matches h3 {
	padding-bottom: 0.2em;
	border-bottom: 1px solid #d8d8d8;
	line-height: 1.2em;
}

div.blank {
	margin: 0 !important;
}

div.footer {
	margin-top: 2em;
	padding: 0.5em;
	text-align: center;
	font-size: small;
	color: gray;
}

div.protein_list {
	margin: 0.3em 0 0 0;
	clear: left;
}

span.protein {
	width: 12em;
}

span.description {
	width: 20em;
}

span.extra {
	color: #999;
	float: right;
}

span.truncated {
	color: gray;
}

table {
	table-layout: fixed;
	border-collapse: collapse;
}

table, td, th {
	border: medium none;
}

th {
	text-align: left;
}

table.catalog td {
	font-size: 16px !important;
	vertical-align: top;
}

table.doc td {
	font-size: 16px !important;
	vertical-align: top;
	padding: 4px;
	border: 1px dashed darkslategray;
}

td.list_kind {
	color: #666;
	width: 6%;
}

.update {
	color: #eef;
	font-size: 9px;
}

.upcount {
	float: right;
	font-size: 14px !important;
	position: relative;
	right: 4px;
	top: -8px;
}

small {
	text-align: left !important;
	font-size: 12px;
}

small.note1 {
	color: #489;
}

.ref_strain {
	font-size: 10px;
	color: red;
	font-weight: normal;
}

ul.menu1 {
	list-style-type: none;
	font-weight: bold;
	font-size: 16px;
	padding: 0 0 0 0.5em;
	line-height: 1.6em;
	border-radius: 12px;
}

div.host ul {
	padding-left: 0em;
}

.round {
	border-radius: 10px;
}

fieldset {
	border: 1px solid #d8d8d8;
	padding: 0.1em 0.5em 0.2em 0.5em;
	margin-bottom: 0.5em;
	line-height: 1.5em;
	border-radius: 10px;
}

.sidebar fieldset {
	border: 1px solid #B8B8B8;
}

fieldset legend {
	color: #009;
}

.sidebar fieldset legend {
	color: #75AC12;
}

pre,td.first {
	background: #eee;
}

pre {
	padding: 10px;
	font-size: 11px;
}

.highlight {
	background-color: #fffe22;
}

a {
	color: #00f;
	text-decoration: none !important;
}

a:visited {
	color: #66f;
}

a:hover {
	/*color:#fff*/;
}

#h1 a:hover {
	background: none;
}

.weak {
	color: #aaa;
}

td.list_main {
	width: 70%;
}

.notice {
	color: red !important;
}

.notice2 {
	color: #f80 !important;
	font-weight: bold;
}

.notice3 {
	color: #0F0 !important;
}

.notice4 {
	color: #8b8 !important;
}

/* vz tables */

table.venomtb1 {
	text-align: center;
	table-layout: auto;
}
table.venomtb1 tr:nth-child(even) { background-color: #FFF }
table.venomtb1 tr:nth-child(odd) { background-color: #FFC }
table.venomtb1 tr td:first-child { width: 28%; text-align:left; padding-left: 0.5em }
table.venomtb1 tr td:nth-child(n+2) { width: 8% }
table.venomtb1 tr th:first-child { width: 28% }
table.venomtb1 tr th:nth-child(n+2) { width: 8% }

table.venomtb2 {
	text-align:center;
}
table.venomtb2 tr:nth-child(even) { background-color: #FFF }
table.venomtb2 tr:nth-child(odd) { background-color: #FFC }
table.venomtb2 tr td:first-child { text-align:left; padding-left: 0.5em }

table.venomtb3 {
	text-align:left;
	table-layout:auto;
}
table.venomtb3 tr:nth-child(even) { background-color: #FFC }
table.venomtb3 tr:nth-child(odd) { background-color: #FFF }
table.venomtb3 tr td:first-child { padding-left: 0.5em }

tr.venomtr1 {
	background-color: #E00 !important;
}

tr.venomtr1 th {
	font-weight: bold;
	text-align: left;
	padding: 0 1em 0 4px;
}

tr.venomtr1 td {
	text-align: center;
	color: #FA0;
}

tr.venomtr2 {
	background-color: #FB0 !important;
}

tr.venomtr2 th {
	font-weight: bold;
	text-align: left;
	padding: 0 1em 0 4px;
}

tr.venomtr2 td {
	text-align: center;
	font-weight: bold;
	color: #888;
}

tr.venomtr3 {
	background-color: #FE6 !important;
}

tr.venomtr3 td {
	text-align: left;
	font-weight: bold;
	color: #888;
}

tr.venomtr4 {
	background-color: #E00 !important;
}

tr.venomtr4 td {
	text-align: left;
	font-weight: bold;
	color: #888;
}

tr.venomtr5 {
	background-color: #FB0 !important;
}

tr.venomtr5 td {
	text-align: left;
	font-weight: bold;
	color: #888;
}



/* autocomplete */

ul.suggest {
	position: absolute;
	background-color: #F7F7F7;
	color: black!important;
	font-size: 16px!important;
	font-family: Arial, sans-serif;
	font-weight: lighter;
	border: 1px solid #AAA;
	box-shadow: 3px 3px 4px #999;
	border-radius: 5px;
	min-width: 24rem;
	margin: 0;
	padding: 0;
	z-index: 3;
	display: block;
	max-height: 80vh;
	overflow-y: auto;
}

ul.suggest li {
	margin: 2px 0 0 0;
	overflow: auto;
}

input.suggest {
	font-size: 16px;
	padding: 2px;
}

li.suggest {
	list-style: none;
	padding: 0.1em 0.1em 0.1em 0.4em;
}

li.suggest_focus {
	/* not use li.suggest:hover as js controls everything */
	list-style: none;
	padding: 0.1em 0.1em 0.1em 0.4em;
	margin: 0;
	background-color: #FFA;
	border-radius: 4px;
}

/* misc */

.pdbselect {
	fill: #EEAA00;
	background-color: #EEAA00;
}
[data-target-pdb]:hover {
	cursor: pointer;
}
[data-target-pdb] {
	border: 1px dotted gray;
	border-radius: 4px;
	padding: 0 3px;
}


div.msp-plugin {
	z-index: 2;
}