body {
    font-family: Helvetica, Arial, Tahoma, sans-serif;
    font-size: 15px;
    margin: auto 0;
    color: #303030;
}

body, div.core {
    background:white
}

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

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

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

h1 {
    font-size:30px !important
}

h2 {
    font-size:23px !important
}

h3 {
    font-size:18px !important
}

h4 {
    font-size:15px !important
}

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:1em 0 0.3em 0;
}

h2.root {
    color:blue;
}

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

div.page, div.page_large {
    /*margin:0 auto;*/
    /*margin-bottom:1.5em;*/
    margin:0;
    color: #303030;
    min-height: 60em;
}

div.page {
    /*width:72em;*/
    margin: 3% 7% 3% 7%!important;
}

div.page,div.page_large,#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:#0000d3 url(../images/headerbar.gif) repeat-x;
    border-bottom:4px solid #dadada;
    height:81px !important;
    padding: 0;
    margin: 0;
}

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

html>body #header {
    height:3.3em
}

#h1,#h2,#h3 {
    position:relative;
}

#h2,#h3 {
    right:1em
}

#h1 {
    left:0.4em;
    top:14px;
    font-size:180%;
    letter-spacing:0.05em
}

#h1,span.truncated {
    font-weight:bold
}

#h2 {
    top: -2px;
    font-size: 15px;
}
#h2 img {
    vertical-align: bottom;
}


#h2,.update,table.viri_list {
    text-align:right
}

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

#h3 {
    top: -58px
}

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

#h3,div.sidebar,#search {
    float:right
}

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

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

#h3 label {
    font-size:x-small
}

/* sib logos&links */

#sib_expasy_logo{
    width: 229px;
    height: 32px;
    background: transparent url(../images/sib_ExPASy_logo_small.png) no-repeat top left;
}
a#sib_link{
    /* -> link to SIB administrative website */
    display:block;
    position:relative;
    width:41px;
    height:32px;
}
a#expasy_link{
    /* -> link to ExPASy portal */
    display:block;
    position:relative;
    left:41px;
    top:-32px;
    width:188px;
    height:32px;
}

#sib_footer {
    clear: both !important;
    position: relative;
    background-color: #1e2425;
    color: #f7f8fa;
    font-size: 10px;
    font-weight: normal;
    height: 40px;
    letter-spacing: 1px;
    width: 100%;
    z-index: 2;
}

#sib_footer_content {
    padding: 12px 0 0 26px;
    position: relative;
}
#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:22px
}

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 {
    *display:none
}

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:16px !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;
    -moz-border-radius-topleft:8px;
    -moz-border-radius-topright:8px;
    -webkit-border-top-left-radius:8px;
    -webkit-border-top-right-radius:8px;
    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,iv#t4,div#t3,div#t2,div#t1,div#t0 {
    *display:block
}

/* search */
input[type="submit"] {
    background-color: #F0F0F0;
    border: 1px solid #88A;
    border-radius: 4px;
}
#search input[type="submit"] {
    background-color: #777;
    border: 2px solid #666;
    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:50em;
}
div.main p { text-align:justify ;}
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:18em;
    padding:0.2em !important;
    float: right;
}

div.matches img {
    vertical-align:bottom
}

div.tooltip {
    background-color: white;
    position: fixed;
    padding: 0.5em;
    margin: 0;
    z-index:10001;
    max-width: 720px;
    text-align: justify;

    border : 2px solid #5da0e0;
    -moz-border-radius-topleft:         6px;
    -moz-border-radius-topright:        6px;
    -webkit-border-top-left-radius:     6px;
    -webkit-border-top-right-radius:    6px;
    border-top-left-radius:             6px;
    border-top-right-radius:            6px;
    -moz-border-radius-bottomleft:      6px;
    -moz-border-radius-bottomright:     6px;
    -webkit-border-bottom-left-radius:  6px;
    -webkit-border-bottom-right-radius: 6px;
    border-bottom-left-radius:          6px;
    border-bottom-right-radius:         6px;
}

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
}

span.protein {
    width:12em
}

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;
}

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

.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;

    -moz-border-radius:12px;
    -webkit-border-radius:12px;
    border-radius:12px;
}

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

.round {
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    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;
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    border-radius:10px;
}


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;
}

#search {
    display: inline-block;
    clear: right;
    margin:2px 0 0.4em 0
}

/* vz table */

table.bigtable {
    /*width: 100em !important;*/
}

/* autocomplete */

ul.suggest {
    position: absolute;
    background-color: #F7F7F7;
    color: black!important;
    font-size:15px!important;
    border: 1px solid gray;
    border-radius: 4px;
    width: 24em;
    margin: 0;
    padding: 0;
    z-index: 1;
}
input.suggest {
    font-size:15px!important;
}

li.suggest {
    list-style: none;
    padding: 0.1em 0.1em 0.1em 0.4em;
    margin: 0;
}
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;
}