html, body, div, span, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav{
    font-size: x-small;
    	font-family: Helvetica, Tahoma, 'Roboto', sans-serif;
        line-height: 1.4;
}

body {
    margin-top:0;
    padding-top:0;
    display:grid;
    grid-template-rows: 130px auto auto; /*7em 2.6em auto auto;*/
    grid-template-areas:
            "header"
            "nav"
			"main"
}
header{
	grid-area: header;
    background: url("../images/pattern_right_of_top.jpg");
    background-repeat: repeat-x;
    background-position: top;
}
#header-search{
    background: url("../images/top.jpg");
    background-position: left;
    background-repeat: no-repeat;
    height: 130px;
    width: 100%;
}
#header_grid{
    display:flex;
    width:100%;
    height: 104px;
    flex-direction: row;
}

#top_left{
    min-width: 220px;
    display: grid;
  grid-template-columns: 30px 1fr;
  grid-template-rows: 25px 40px 1fr;
}
#clickable_logo{
    grid-column: 2;
    grid-row: 2;
}
#clickable_logo a{
    display: block;
    width: 100%;
    height: 100%;
}
#top_center{
    width: 100%;
}
#top_right{
    display: inline;
    align-self: center;
    align-content:end;
    text-align: right;
}
#search-bar{
    color: #082945;
    font-size: 12px;
    padding: 9px 11px 3px 10px;
    line-height: 1.5;
    margin-right: 20px;
    background-color: rgba(255, 255, 255, 0.2);
    text-align: left;
    white-space:nowrap;
}
.small-text, .small-text span, .small-text em{
    font-size: small;
    text-align: justify;
}
.small-text:after {
  content: "";
  display: inline-block;
  width: 100%;
}
input[type="radio"]{
    margin-right: 2px;
}
input[type="radio"] + label {
    position: relative;
    top: -3px;
}
nav{
    grid-area: nav;
    margin-top: -31px;
    margin-left: 18px;
    font-family: Helvetica, sans-serif;
    font-size: 11px;
}
.twoDiv{
    width: 100%;
    display: flex;
    flex-direction: row;
}
.twoDivLeft{
    float:left;
}
.twoDivRight{
    float: right;
    text-align: right;
    word-break: break-word;
    width:100%;
}
.twoDivRight p, .twoDivRight a{
    font-size: medium;
}
.twoDiv h2{
    font-size: 20px;
    font-weight: bold;
}

main{
	grid-area: main;
    padding: 5px 20px 0 30px;
    position: relative;
    width:100%;
}
div.gs_box{
    position: absolute;display: flex; justify-content: flex-end; width:100%;
    top: 0;
    right:31px;
}
div.right{

}
#gs_ul{
    box-sizing: border-box;
    display:flex;
    align-items: flex-start;
    flex-direction: column;
    flex-wrap: wrap;
}
#gs_ul li{
    align-self: flex-start;
    display: inline-block;
    margin-bottom: 2px;
    float: left;
}
#gs_ul > li >button{
    padding: 3px 10px 3px 10px;
    position: relative;
    top: -1px;
}
#gs_ul > li.text{
    font-weight: bold;
}
/*div.gs_box.input.filterB{*/
#gs{
    height: 20px;
    background-color: transparent;
}
main.center{
    padding: 5px 0;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
table{
    margin-bottom: 8px;
}
header img{
    padding: 0;
    display: inline;
}
a, a:hover, a:visited{
    color: #3a71b4;
}
a:hover{
    text-decoration: none;
}
.radio{
    margin-top: 6px;
    margin-left: 2px;
    margin-bottom: 0;
}
.navbar-nav{
    width: 100%;
}
.navbar a{
    color: black;
    font-family: Helvetica, sans-serif;
    font-size: 13px;
}
.navbar a:hover, .navbar a:not([href]){
    text-decoration: none;
}
/*.navbar a:not([href]){*/
/*    cursor: */
/*}*/
.navbar a.nav-link, .navbar-nav > li > a.dropdown-item{
    color: white;
    /*font-weight: bold;*/
    font-size: 13px;
    display:block;
    padding:.5rem 1rem;
}
@media (min-width: 992px) {
    /*First dropdown-menu */
    .navbar-nav > .nav-item > .dropdown-menu{
        top: 26px;
    }
}
.dropdown-toggle::after{
    vertical-align: .15em;
}
#overview {
    max-width: 2000px;
    /*background-color: aqua;*/
    /*word-break: break-all;*/
	border-collapse: collapse;
	margin: 1.2em auto;
    padding:0;
	/*table-layout: fixed;*/
}
@media (max-width: 2000px) {
    #overview {
        max-width: 98%;
    }
}
td{
    /*word-break: break-all;*/
}

/* zebra strepen */
/*tr:nth-of-type(2n+1) {*/
/*	background: #eee;*/
/*}*/

th {
	background: #3a71b4;
	color: white;
	font-weight: bold;
    text-align: center;
    vertical-align: top;
}
tr.column_labels th{
    background: #4a82c5;
    padding:1px;
}

td, th {
	padding: 4px;
	border: 1px solid #ccc;
}
td{
    text-align: left;
}
ul.list {
    list-style-type: square;
    margin-bottom: 5px;
    margin-left: 28px;
}
ul.list-no-margin{
    margin-bottom: 0.1em;
}
ul.list-no-margin li{
    font-size:11px;
}
.moreInfo{
    padding: 5px 10px;
    margin: 1em;
    /*word-break: break-all;*/
    -webkit-hyphens: auto;
      -moz-hyphens: auto;
      -ms-hyphens: auto;
      hyphens: auto;
}
.moreInfo td{
    padding: 5px 1.5em;
}
.data-preview{
    width: 100%;
    position: relative;
}
/*.data-preview tr:nth-of-type(2n+1) {*/
/*	background: none;*/
/*}*/

/*.data-preview th {*/
/*	background: #333;*/
/*	color: white;*/
/*	font-weight: bold;*/
/*}*/

.data-preview td, data-preview th {
	padding: 0px;
	border: none;
    /*        border: 1px solid #ccc;*/
}
.data-preview td:nth-of-type(2) {
	/*background: #3E6B96;*/
    text-align: right;
    word-break: break-all;
}
td h1, h2.lightBlueBox{
    display: block;
    padding: 4px;
    margin: 3px -0.4em;
    text-align: center;
    /*font-weight: bold;*/
    background-color: #bfe8ff;
    font-size: 1.5em;
}

.second_blue_box{
    display: block;
    padding: 4px;
    padding-left: 0.4em;
    /*margin: 3px;*/
    text-align: left;
    font-size: 1.2em;
    font-weight: normal;
    color: #fff;
    background: #4a82c5;
    margin-bottom: 0.6em
}

td h2{
    /*font-weight: bold;*/
    font-size: 1.1em;
    font-weight: bold;
    padding: 0.4em 0px;
    margin-bottom:0;
}
td .indentleft{
    padding-left: 3em;
}
td.cellMoreInfo{
    margin: auto;
    display: block;
    height:100%;
}
td.line_image{
    position: relative;
    top: .8em;
    left: .7em;
    /*margin-bottom: .8em;doesnt work*/
    background: url("../images/Helpers/1-x-1-black.png");
    background-repeat: repeat-y;
    background-position: center;
    text-align: center;
    vertical-align: middle;

}
a.extra{
    background-color: white;
    line-height: 2.3;
    display: block;
    padding: 0.3em;
}
a.button, input[type=submit], button, input.button{
    display: inline-block;
    color: #ffffff;
    background-color: #3a71b4;
    padding: 7px 20px;
    text-align: center;
    margin: 0 auto;
    text-decoration: none;
}
button{
    padding: 3px 10px;
    margin-left: 0;
    border: none;
}
* {
  box-sizing: border-box;
}
div.map{
    /*This is needed because in chrome when it does background-size: contain (generated when creating the image-map, the image is too big)*/
    -webkit-background-size: 100% !important;
    background-size: 100% !important;
}
.filterB {
    /*Tried max-width, overflow,..*/
    width: 100%;
    display: inline;
  font-size: 12px;
  border: 1px solid grey;
  background: #f1f1f1;
}

#gs, #topsearch{
    width: initial;
}
.filterFrom,.filterTo{
    width: 4.5em;
}
#filters{
    white-space: nowrap;
}
/*form.example button {*/
/*  width: 1px;*/
/*  padding: 3px;*/
/*  background: blue;*/
/*  color: white;*/
/*  font-size: 10px;*/
/*  border: 1px solid grey;*/
/*  border-left: none;*/
/*  cursor: pointer;*/
/*}*/

form.example::after {
  content: "";
  clear: both;
  display: table;
}

h1, h1 span{
    font-size: 23px;
    margin-bottom: 0.3em;
}
h1.tablePage{
    /*To make h1 not touch the search box*/
    margin-right: 210px;
    margin-left: 210px;
}
h2{
    font-size: 16px;
}
.i,.italics{
    font-style: italic;
}
a.ref{
display: inline-block;
color: #FFFFFF;
background-color: gray;
font-weight: bold;
font-size: 9px;
text-align: center;
padding-left: 5px;
padding-right: 5px;
padding-top: 3px;
padding-bottom: 4px;
text-decoration: none;
margin-left: 3px;
    margin-right: 3px;
/*margin-top: 4px;*/
/*margin-bottom: 4px;*/
border: 1px solid #aaaaaa;
border-radius: 5px;
white-space: nowrap;
}

a.ref:hover, a.ref:active{
background-color: #ffffff;
color: #3E6B96;
}
em{
    font-weight: bold;
}
sup a{
    font-size: 6px;
}
.map{
    margin: auto;
    margin-bottom: 0.2em;
}
#chart_loci_div{
    margin: 0.8em;
    margin-bottom: -0.5em;
}

/*Downloads*/

a.xlslink {

    background: url(../images/info/xls.png) no-repeat 100% 0;
    padding-right: 18px;

}

a.csvlink {

    background: url(../images/info/icon_csv.gif) no-repeat 100% 0;
    padding-right: 18px;

}
a.pdflink {

    background: url(../images/info/pdf-icon.png) no-repeat 100% 0;
    padding-right: 18px;

}
a.imagelink {
    text-decoration: none;
    color: #4E4F51;
    font-size:15px;
    }
.custTable{
    margin-top: 12px;
}
.custTable td{
    text-align: center;
    /*height:25px;*/
    vertical-align: middle;
}
.custTable th{
    vertical-align: middle;
    text-align: right;
    padding-right: 10px;
}
.custTable th.subTitle{
    background-color: #bfe8ff;
    color: black;
}
a.bluebutton{
display: inline-block;
color: #FFFFFF;
background-color: #3E6B96;
font-weight: bold;
font-size: 12px;
text-align: center;
padding-left: 10px;
padding-right: 10px;
padding-top: 3px;
padding-bottom: 4px;
text-decoration: none;
border: 1px solid #aaaaaa;
border-radius: 3px;
white-space: nowrap;
}
.red, .error{
    color: #cb4141
}
.error{
    font-weight: bold;
}
.home_h4{
    font-size: 1.2rem;
    margin-bottom: -0.1em;
}
/*Tools*/
.flex{
    display: flex;
    list-style-type: none;
    flex-direction: row;
    /*gap: 1em;*/
}
.flex > li, .flex > div{
    margin-right: 5px;
}
.flex-col{
    display: flex;
    list-style-type: none;
    flex-direction: column;
}
.grey_back{
    background-color: #EEE;
}
.panel-tools{
    width: max-content;
    padding-top: 0.6em;
    padding-left: 1.2em;
    padding-right: 1.2em;
    background-color: #bfe8ff;
}
.box-shadow{
    color: #0c5990;
    margin: 0.8em;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2), 0 0px 20px 0 rgba(0, 0, 0, 0.19);
    padding: 0.45em;
    width: max-content;
    padding-top: 0.6em;
    padding-left: 1.2em;
    padding-right: 1.2em;
}
.box-shadow .lightBlueBox{
    margin: 0 0 0.5em 0;
    text-align: left;
}

/*MATURE P*/
.graph_small{
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    text-anchor: middle;
    dominant-baseline: middle;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    font-size: 9px;
    line-height: normal;
    font-family: Arial;
}

.circle_compl {
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.50);
    opacity: 80%;
    width: 41px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.compl_draw{
    display: flex;
    flex-direction: column;
    margin-bottom: -280px;
}
.compl_draw_cont{
    /*background: url('../images/tools/background_complexome_drawing.png');*/
    height: 280px;
    display: flex;
    position: relative;
    top: -280px;
    flex-direction: column;
}
.compl_draw_cont >div{
    display: flex;
    flex-direction: row;
    min-height: 40px;
    min-width: 41px;
    float: left;
}
.compl_draw_back{
    float: left; position: relative; top: 0px; height: 280px; width: 40px;
}
a.redinfobutton {
    display: inline-block;
    color: #FFFFFF;
    background-color: #FF3337;
    font-weight: bold;
    font-size: 11px;
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 2px;
    padding-bottom: 3px;
    text-decoration: none;
    margin-left: 5px;
    margin-top: 0;
    margin-bottom: 5px;
    border: 1px solid #aaaaaa;
    border-radius: 5px;
    white-space: nowrap;
}
a.redinfobutton:hover, a.redinfobutton:active{
background-color: #ffffff;
color: #FF3337;
}