﻿@charset "utf-8";
/* CSS Document */

:root {
    --gridwidth: 8;
}

html {
        background: lightblue; background: transparent!important;  
}

body {
    margin: 0px;
    padding: 0px;
    max-width: 100%;
    font-family: sans-serif;
    color: #333333;
  
    align-self: center;
}

    body[name="helpbody"] {  
        margin: auto;
        text-align: center;
        display: grid;
    }

    /*The center of the help page*/
.centerdiv {
    grid-column-start: 2;
    grid-column-end: 8;
    grid-row-start: 2;
    grid-row-end: 2;
    text-align: justify;
    text-justify: auto;
}
/* The subtitle headers of the help page*/
.centerheader {
    text-align: left;
    background-color: #A6E1F4;
}

/* The images on the header page*/
.centerimg {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50vw;
}


h1, main, aside, main svg {
    border-radius: 10px 10px 10px 10px;
    border: 1px solid;
    padding: 1em;
    margin: 1em;
}

h1 {
    border: none;

}

    h1::after {
        content: '- Interface';
    }

/* INDEX SELECT AND SEARCH */

.selectiondiv {
    text-align: left;
    padding: 10px;
    background: #A6E1F4;
    border: none;
    justify-content: space-between;
    display: flex;
    align-items: flex-end;
}
/*table-layout: fixed; /* For cells of equal size */

    .selectiondiv span {
        display: table-cell;
        /*text-align: center;*/
    }
/*display: table-cell;*/


.axis text {
    font: 10px sans-serif;
}

.axis line,
.axis path {
    fill: none;
    
    stroke: black;
    shape-rendering: crispEdges;
}

figure {
    display: inline-block;
    width: 30%;
    margin: 0.2em;
}
figure img {
  width: 100%;
}
figure figcaption {
  font-style: italic;
}

#logo {
  background: #F1F3F4 url("../fakelogo_s.png") 0px 0px no-repeat;
  display: inline-block;
  width:100px;
  height: 100px;
  border: 1px solid transparent; font: 0/0 a; text-shadow: none; color: transparent;
}

main {
    display: block;     /* für IE */    
    min-height: 400px;
}

aside {
    background: #66dff7;
    border-color: #8a9da8;
} 

#hinweis {                    /* für Container */

    border-left: 5px solid #c32e04;
}

.hinweis {                    /* für Textzeile */
        color: #932e04; 
        font-style: italic; 
        border-bottom: 1px dotted; 
        display:inline-block; 
}

/* responsives Layout */

body {
    display: grid;
    grid-template-columns: repeat(8,minmax(0,1fr));
    grid-template-rows: repeat(7,minmax(0,14vmin));
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    grid-auto-rows: .2fr;
    
}

    body[name="hmframe"] {
        grid-template-columns: 2vw repeat(7,minmax(0,14vw));
    }
    div[name="tooltipdiv"] {

    }

/* LINKS AND HREF */
  a {
    color: inherit;          /* normal and visited color */
  }

  a:visited {
    color: inherit;          /* visited links same as normal */
  }

  a:hover {
    color: #59C7EB;          /* slight blue on hover */
    text-decoration: underline; /* optional underline on hover */
    transition: color 0.2s;  /* smooth color change */
  }
/* HEADER */
header {
    background: white;
    padding: .2em;
    display: flex;
    /*flex-flow: row wrap;*/
    text-align: center;
    margin: auto;
    overflow: hidden;
    max-width: 100%;
    min-width: 100%;
    grid-column-start: 1;
    grid-column-end: 9;
    grid-row-start: 1;
    grid-row-end: 2;
}

header nav {
    overflow: hidden;
    flex: 1 1 100%;
    margin: .2em .2em;
    border: 1px solid lightgray;
    
}

nav ul, nav li {
    overflow: auto;
    margin: 0 0.2em;
    padding: 0 0.2em;
    border: 0;
}
nav ul {
    display: flex;
    flex-direction: column;
}
nav li {
  list-style-type:none;
  margin: 0.5em 0;
  flex: 1 1 100%;
}
nav a {
    display: inline-block;
    width: 100%;
    margin: 0;
    padding: .5em;
    border: none;
    border-radius: none;
    text-decoration: none;
    text-align: center;
    font-size: 18px;
}
nav a:hover, nav a:focus {
    background-color: #A6E1F4;
}

nav a[aria-current=page] {
    color: black;
    font-weight: bold;
}

nav a:link,
nav a:visited {
  color: #333333; /* or your desired color */
  text-decoration: none; /* optional, to remove underline */
}

/* HEADER END */
/* INDEX FOOTER*/ 
mainfooter {
    margin: 0;
    background: #E1E1E1;
    padding: 1.3em;
    width: 100%;
    align-self: center;
    text-align: left;
    display: flex;
    flex-flow: row wrap;
    position: absolute;
    bottom: 0;
}
    /**flex-direction: column;*/
mainfooter * {
    margin: 0em 0.2em;
}
mainfooter .helpa {
    display: inline-block;
    border-radius: 4px;
    background: #A6E1F4;
    border: 0.5px solid white;
    margin-left: 0.5em;
    margin-right: 0.5em;
    padding: 0.2em;
    text-decoration: none;
    text-align: center;
}
/* INDEX FOOTER END */


section {
  background: #F1F3F4;
  border-color: slateblue;
}
article {
    background: #c3caed;
    border-color: #0026ff;
}
aside {
    background: #c3caed;
    border-color: #0026ff;
}


/*  flex: 1 1 10%;*/

/* Smart Phones und Tablets mit mittlerer Auflösung */
@media all and (min-width: 35em) {
header img {
  margin-right: 25px;
}
nav ul {
  flex-direction: row;
}
nav li {
  margin: 0 10px;
  flex: 1 1 0%;
}
article {
  order: 2;
}
#news {
  flex: 1 auto;
  order: 3;
  padding: 1em;
}
aside {
/* durch auto werden die beiden asides in eine Zeile gesetzt */
  flex: 1 auto;
  order: 4;
}

}

/* Large screens */
@media all and (min-width: 50em) {
  article {    /* Der Article wird 2.5x so breit wie die beiden asides! */
    order: 3;
    flex: 5 1 50%;
  }
  aside {
    flex: 1 1 0%;
  }
  #news {
    flex: 1 1 0%;      
    order: 6;
    align-self: center;
    height: 1em;
  }
}

/* Terminkalender */

/*table, th, td { 
    width: 100%;
      border: 1px solid; 
      border-collapse: collapse; 
}*/
table, th, td {
    
    border: 1px solid;
    border-collapse: collapse;
}

th, td {
    padding: .2em;
}

th {
    background: #A6E1F4;
}

caption {
    caption-side: bottom;
    padding-top: 1em;
    font-style: italic;
}

/* Special data table*/

    th:first-child {
        padding-left: .4em;
    }

    th:last-child, td:last-child {
        padding-right: .4em;
    }

thead th {
    border-bottom: 2px solid black;
}

#datatable th {
    cursor: pointer;
}

tbody th {
    font-weight: normal;
    text-align: left;
}

th a {
    background: url(pdf.png) no-repeat left center;
    padding: 5px 2px 5px 10px;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}
td {
    text-align: center;
    white-space: nowrap;
}

    td:nth-child(1) {
        font-weight: bold;
        width: 10%;
        text-align: left;
    }
    td:nth-child(4) {
        width: 15%;
    }
    td:nth-child(-n+9) {
        
        text-align: left;
    }

    td.Name {
        color: green;
        font-weight: normal;
    }


#table-wrapper {
    position: relative;
    grid-column-start: 2;
    grid-column-end: 8;
    overflow: auto;
    max-width: 100%;
    grid-row-start: 2;
    grid-row-end: 8;
}

#downloadbutton {
    position: relative;
    grid-column-start: 8;
    
    overflow: auto;
    max-width: 100%;
    grid-row-start: 3;
    grid-row-end: 4;
    text-align: center;
}

.rect-button {
  display: inline-block;
  padding: 20px 40px;
  background-color: #59c7eb;
  color: white;
  border: none;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
}

.rect-button:hover {
  background-color: #00A9E0;
}


#tablelegend {
    position: relative;
    grid-column-start: 8;
    overflow: auto;
    max-width: 90%;
    grid-row-start: 4;
    grid-row-end: 7;
    font-size: 12px;
}

#table-scroll {
    /* width: 80vw;
    height: 80vh;
    overflow: auto;
    margin-top: 20px;*/
}

#table-wrapper table {
    width: 100%;
    overflow-x: scroll;
}

    #table-wrapper table * {
        
        color: black;
    }

    #table-wrapper table thead th .text {
        position: absolute;
        top: -10px;
        z-index: 2;
        height: 20px;
        border: 1px solid black;
    }

    /*#table-wrapper table thead th .text {
        position: absolute;
        top: -20px;
        z-index: 2;
        height: 20px;
        width: 35%;
        border: 1px solid red;
    }*/

    /* Images */
* {
    box-sizing: border-box;
}

.trcolumn {
    float: right;
    width: 32.00%;
    padding: 5px;
    background: lightgray;
}


/* Clearfix (clear floats) */
/*.row::after {
    content: "";
    clear: both;
    display: table;
}*/


/* Zoom */

.img-zoom-container {
    position: relative;
    float: left;
}

.img-zoom-lens {
    position: absolute;
    border: 1px solid #d4d4d4;
    /*set the size of the lens:*/
    width: 10px;
    height: 10px;
}

.img-zoom-result {
    float: right;
    border: 1px solid #d4d4d4;
    top: 60%;
    transform: translateY(3%);
    /*set the size of the result div:*/
    width: 360px;
    height: 360px;
    margin: 1em;
}

/*Home button*/
.button {
    background-color: darkblue;
    border: solid 1px black;
    border-radius: 2px;
    font-size: 12px;
    height: 20px;
}

a.button {
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;
    text-decoration: none;
    color: initial;
    -webkit-border-radius: 14;
    -moz-border-radius: 14;
    border-radius: 12px;
    text-shadow: 3px 2px 1px #9daef5;
    -webkit-box-shadow: 4px 3px 2px #666666;
    -moz-box-shadow: 4px 3px 2px #666666;
    box-shadow: 4px 3px 2px #666666;
    font-family: Arial;
    color: #fafafa;
    font-size: 14px;
    padding: 3px;
}

    a.button:hover {
        background: #2079b0;
        background-image: -webkit-linear-gradient(top, darkblue, lightblue);
        background-image: -moz-linear-gradient(top, darkblue, lightblue);
        background-image: -ms-linear-gradient(top, darkblue, lightblue);
        background-image: -o-linear-gradient(top, darkblue, lightblue);
        background-image: linear-gradient(to bottom, darkblue, lightblue);
        text-decoration: none;
    }

    /* Search */
#myInput {
    background-image: url('/css/searchicon.png'); /* Add a search icon to input */
    background-position: 10px 12px; /* Position the search icon */
    background-repeat: no-repeat; /* Do not repeat the icon image */
    width: 15%; /* Full-width */
    font-size: 16px; /* Increase font-size */
    padding: 12px 20px 12px 20px; /* Add some padding */
    border: 1px solid #ddd; /* Add a grey border */
    margin-bottom: 12px; /* Add some space below the input */
    width: 15em;
    height: 2em;
}

#speciestreeview {
    text-align: left;
    position: relative;
    float: left;
   
}


    #speciestreeview ul {
        /* Remove default list styling */
        list-style-type: none;
        padding: 0.1em;
        margin: .5em;
        width: 20em;
    }
        #speciestreeview ul li::before {
            
        }
        .clickerli::before {
            content: "\2022";
            padding: .5em;
            color: #333333;
        }
        .clickerli {
            background-color: #A6E1F4; 
            cursor: pointer;
        }
        #speciestreeview .ul .li .a {
            border: 1px solid #dddddd; /* Add a border to all links */
            margin-top: -1px; /* Prevent double borders */
            background-color: #f6f6f6; /* Grey background color */
            padding: 12px; /* Add some padding */
            text-decoration: none; /* Remove default text underline */
            font-size: 10px; /* Increase the font-size */
            color: black; /* Add a black text color */
            display: block; /* Make it into a block element to fill the whole list */
        }

#speciestreeview .ul .li .a:hover:not(.header) {
            background-color: slateblue; /* Add a hover effect to all links, except for headers */
        }


/* Formatting search box */
.search-box {
    width: 300px;
    position: relative;
    display: inline-block;
    margin-left: auto;
    font-size: 14px;
}

    .search-box input[type="text"] {
        height: 32px;
        padding: 5px 10px;
        border: 1px solid #CCCCCC;
        font-size: 14px;
    }

.result {
    position: absolute;
    z-index: 999;
    top: 100%;
    left: 0;
    background-color: #f6f6f6; /* Grey background color */
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 400px;

}

.search-box input[type="text"], .result {
    width: 100%;
    box-sizing: border-box;
}


    /* Formatting result items */
    .result p {
        margin: 0;
        padding: 7px 10px;
        border: 1px solid #CCCCCC;
        border-top: none;
        cursor: pointer;
    }

        .result p:hover {
            background: #f2f2f2;
        }


/* scroll images*/

.img-dtwrapper {
    grid-column-start: 4;
    grid-column-end: 9;
    max-width: 80%;
    text-align: center;
    overflow: hidden auto;
    display: flex;
    flex-direction: column;
}
.img-dtwrapper[name="no1"] {
    grid-row-start: 2;
    grid-row-end: 5;
}
.img-dtwrapper[name="no2"] {  
    grid-row-start: 5;
    grid-row-end: 8;
}

/* SCROLLING + IMAGE CONTAINER */
.image-box[name="Org"] {
  flex: 1 1 auto;
  overflow: auto;
    border: 1px solid #CCCCCC;
  max-height: 95%; /* Ensure it can scroll */
}
.image-box[name="Sig"] {
  flex: 1 1 auto;
  overflow: auto;
    border: 1px solid #CCCCCC;
  max-height: 95%; /* Ensure it can scroll */
}

/* IMAGE STYLING */
.image-box > a {
  border: 0;
  padding: 0;
  max-height: 90%;
  max-width: 90%;
  margin: auto;
}

.image-box > a img {
  object-fit: scale-down;
  border: 0;
  padding: 0;
  max-width: 90%;
  max-height: 90%;
  min-width: 90%;
  min-height: 90%;
  overflow: hidden;
  margin: auto;
}*/
    /*.image-box > a img {
        object-fit: scale-down;
        border: 0;
        padding: 0;
        
        max-height: 10%;
        white-space: nowrap;
        overflow-x: scroll;
        overflow-y: scroll;
        max-width: 90%;
        overflow: hidden;
        min-width: 90%;
        min-height: 90%;
    }
    .image-box a {
        border: 0;
        padding: 0;
        max-height: 90%;
        max-width: 90%;
        
    }*/



.row[name="selection"] {
    width: 100%;
    border: none;
    grid-column-start: 1;
    grid-column-end: 9;
    grid-row-start: 2;
    
}
/*align ="center" text-align="center" margin="auto"*/
.row[name="imagesrow"] {
    border: none;
    grid-column-start: 2;
    grid-column-end: var(--gridwidth);
    grid-row-start: 3;
    grid-row-end: 7;
}
.ovitem {
    border: none;
    grid-column-start: 1;
    grid-column-end: 1;
    grid-row-start: 1;
    grid-row-end: 8;
    object-fit: scale-down;
    max-height: 100vmin;
    margin-left: 10px;
    display: flex;
    flex-direction: column;
}
/*overflow-y: scroll;*/
    .ovitem > a img {
        object-fit: scale-down;
        max-height: 95vh;
       
    }
    .ovitem > div a img {
        object-fit: scale-down;
        max-height: 95vh;
    }

.row[name="footerrow"] {
    border: none;
    grid-column-start: 1;
    grid-column-end: 9;
    grid-row-start: 7;
    grid-row-end: 8;
}

.Infobox {
    grid-column-start: 1;
    grid-column-end: 4;
    grid-row-start: 2;
    grid-row-end: 2;
    overflow-y: auto;
    overflow-x: auto;
    object-fit: contain;
}

.treeblock {
    grid-column-start: 2;
    grid-column-end: 4;
    grid-row-start: 3;
    grid-row-end: 7;
    overflow-y: auto;
    overflow-x: auto;
    object-fit: contain;
    display: flex;
    flex-direction: column;
}


/*overview*/
.img-ovwrapper {
    max-height: 100vh;
   
    overflow-x: auto;
    overflow-y: auto;
    grid-column-start: 1;
    grid-column-end: 1;
}

    .img-ovwrapper > img {
        max-height: 100vh;
        position: relative;
        white-space: nowrap;
        overflow-x: scroll;
        overflow-y: scroll;
        border: 0;
        padding: 0;
    }
.caret {
    cursor: pointer;
    -webkit-user-select: none; /* Safari 3.1+ */
    -moz-user-select: none; /* Firefox 2+ */
    -ms-user-select: none; /* IE 10+ */
    user-select: none;
}

    .caret::before {
        content: "\25A0";
        color: #59C7EB;
        display: inline-block;
        margin-right: 5px;
    }


.nested {
    display: none;
}

.active {
    display: block;
}


/*Signal frame page #c3caed*/

.graphframediv {
    border: 2px solid #c3caed; 
    position: relative;
    padding: 5px;
    column-span: all;
    grid-column-start: 1;
    grid-column-end: 9;
    grid-row-start: 2;
    grid-row-end: 6;
    text-align: center;
    overflow: hidden;
}

/* margin: auto; overflow: hidden;*/
.hmcontainer {
    grid-column-start: 2;
    grid-column-end: 9;
    grid-row-start: 2;
    grid-row-end: 8;
    text-align: center;
    overflow: auto;
   
    border: 2px solid black;
    position: relative;
}

.svg-container {
    display: inline-block;
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* aspect ratio */
    vertical-align: top;
    overflow: auto;
}

.svg-content-responsive {
    display: inline-block;
    position: absolute;
    top: 10px;
    left: 0;
}
/*Overlay sets the home page button on signal and species frame pages position: absolute; */
#overlay {
    grid-row-start: 1;
    padding: 1px;
    margin-top: 10px;
    margin-left: 10px;
}

/* 
    
*/
.graphframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border: 0;
    margin: auto;
}

/*table for details on signal imageframe page*/
.frametablediv {
    grid-row-start: 6;
    grid-row-end: 9;
    grid-column-start: 2;
    grid-column-end: 8;
    text-align: center;
    margin-top: 1px;
    padding: 1px;
    position: relative;
    top: 0%;
    overflow: auto;
}

    .frametablediv .table thead th .text {
        position: absolute;
        top: -10px;
        z-index: 2;
        height: 20px;
        border: 1px solid black;
        overflow: scroll;
    }

#detailtable-wrapper {
    position: relative;
    grid-column-start: 2;
    grid-column-end: 8;
    overflow: auto;
    max-width: 100%;
    grid-row-start: 6;
    grid-row-end: 8;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 1px;
}
#detailtable {
    table-layout: auto;
}
#detailtable td {
    text-overflow: ellipsis;
    overflow: hidden;
   
}
