/*
*   Body structure
*/
body {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-rows: 0px 80px auto 100px 300px 100px ;
    grid-template-areas:
        "search"
        "topmenu"
        "maingrid"
        "footerwhite"
        "footermain"
        "footerblack";
    justify-content: stretch;
    background-color: #f6f6f6;

    font-family: "Arial", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-size: 16px;
    line-height: 1.5em;
}

#vocprez {
    position: fixed;
    top: 240px;
    left: -50px;
    font-size: small;
    transform: rotate(-90deg);
    color: grey;
}
#vocprez a {
    font-size: 2em;
    font-weight: bold;
    text-decoration: none;
    color: #005A9C;
}
#vocprez a:hover {
    color: #333;
}

#vocprez a#versionlink {
    font-size: 1em;
}

div#search {
    grid-area: search;
    background-color: #222;
    padding: 10px 20 10px 20%;
}
div#topmenu {
    grid-area: topmenu;
    border-bottom: 1px solid #e4e4e4;
    box-shadow: 0 0 3px rgba(0,0,0,0.1);
    background-image: linear-gradient(
0deg, #00B1FF, #66E2FF);
}
#topmenu-links {
    float:right;
    padding-top:35px;
}
#topmenu-links a {
    color: #999;
    text-decoration: none;
    margin-left: 20px
}
div#maingrid {
    grid-area: maingrid;
    background-color: #f6f6f6;
    min-height: 500px;
    padding: 10px 20% 10px 20%;
}
#vp-menu {
    text-align: center;
    border: 1px solid #d0d0d0;
    box-shadow: 0 0 3px rgba(0,0,0,0.1);
    border-radius: 3px;
    background-color: white;
    padding: 10px;
    margin: 10px 0 10px 0;
}
#vp-menu a {
    margin: 0 10px 0 10px;
}
#main {

}
div#footerwhite {
    grid-area: footerwhite;
    background-color: white;
    padding: 10px 20% 10px 20%;
}
div#footermain {
    grid-area: footermain;
    background-color: #222;
    padding: 30px 20% 10px 20%;
    color: #777;
}
#footermain-menu {
    float:left;
}
#footermain-menu li {
    margin-top: 5px;
    list-style: none;
}
#footermain-menu li::before {
    content: "•"; color: #bbb;
    display: inline-block; width: 1em;
    margin-left: -1em;
}
#footermain-menu a {
    color: #bbb;
    font-size: larger;
}
#footermain-menu a:hover {
    color: rgba(191,191,191,0.6);
}
div#footerblack {
    grid-area: footerblack;
    background-color: #111;
    padding: 10px 20% 10px 20%;
}

/*
*   Element styling
*/
h1, h2, h3, h4, h5, h6 {
    text-align: left
}
h1, h2, h3 {
    color: #364049;
}
h1 {
    font-size: 170%;
    line-height: 110%;
}
h2 {
    font-size: 140%;
}
h3 {
    font-size: 120%;
    margin-top: 3px;
    padding-bottom: 5px;
    border-bottom: 1px solid #d0d0d0;
}
h4 { font-weight: bold; font-size: 100% }
h5 { font-style: italic; font-size: 100%}
h6 { font-variant: small-caps;}

dt {
    font-weight: bold;
    padding: 5px 0 5px 0;
    color: #364049;
}

a {
    color: #4294B0;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
a:link { color: #2e81c2; background: transparent }

ul.hierarchy {
    border: 1px solid #d0d0d0;
    padding: 5px 25px 5px 25px;
    background-color: #F4FFFF;
}

.figure {
    margin-bottom: 20px;
}

ul {
    line-height: 1.5em;
}

ul {
    list-style-position: inside;
    list-style-type: disc;
}

ul > li {
    margin-left: 25px;
}

hr {
    margin-top: 1px;
    margin-bottom: 1px;
}

table.layout {
  border-collapse: collapse;
}

table.layout tbody tr:nth-child(even) {
  background: #FFF
}

table.metadata th,
table.metadata td {
    vertical-align: top;
    text-align: left;
}
.altprof,
.filter,
.search {
    border: 1px solid #d0d0d0;
    box-shadow: 0 0 3px rgba(0,0,0,0.1);
    border-radius: 3px;
    background-color: white;
    padding: 10px;
    margin-bottom:20px;
}

/*
* Pagination
*/
/* Borrowed from Bootstrap3 compiled CSS */
.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 0 0;
  border-radius: 4px;
}
.pagination li {
  display: inline;
}
.pagination li > a,
.pagination li > span {
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.42857143;
  color: #337ab7;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ddd;
}
.pagination li:first-child > a,
.pagination li:first-child > span {
  margin-left: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.pagination li:last-child > a,
.pagination li:last-child > span {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.pagination li > a:hover,
.pagination li > span:hover,
.pagination li > a:focus,
.pagination li > span:focus {
  z-index: 2;
  color: #23527c;
  background-color: #eee;
  border-color: #ddd;
}
.pagination .active > a,
.pagination .active > span,
.pagination .active > a:hover,
.pagination .active > span:hover,
.pagination .active > a:focus,
.pagination .active > span:focus {
  z-index: 3;
  color: #fff;
  cursor: default;
  background-color: #337ab7;
  border-color: #337ab7;
}
.pagination .disabled > span,
.pagination .disabled > span:hover,
.pagination .disabled > span:focus,
.pagination .disabled > a,
.pagination .disabled > a:hover,
.pagination .disabled > a:focus {
  color: #777;
  cursor: not-allowed;
  background-color: #fff;
  border-color: #ddd;
}
.pagination-lg li > a,
.pagination-lg li > span {
  padding: 10px 16px;
  font-size: 18px;
  line-height: 1.3333333;
}
.pagination-lg li:first-child > a,
.pagination-lg li:first-child > span {
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}
.pagination-lg li:last-child > a,
.pagination-lg li:last-child > span {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}
.pagination-sm li > a,
.pagination-sm li > span {
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
}
.pagination-sm li:first-child > a,
.pagination-sm li:first-child > span {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}
.pagination-sm li:last-child > a,
.pagination-sm li:last-child > span {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

/*
*   Automated pagination info
*/
.collapsible-content {
    display: none;
    overflow: hidden;
    background-color: #f1f1f1;
}

   /* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 250px;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  border:solid 1px black;
  background-color: lightgrey;
  font-weight: normal;

  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
}

.status {
  font-style:         italic;
  font-size:          1.25em;
  display:            block;
  width:              1000px;
  padding:            10px;
}

/*
{#<http://www.opengis.net/def/sensortype/community/hackair>#}
{#    <http://www.opengis.net/def/sensortype/community/hackair/sensors_mobile> na:status status:experimental .#}

{#<http://www.opengis.net/def/crs>#}
{#    <http://www.opengis.net/def/axis/OGC/0/days> na:status status:invalid .#}

{#<http://www.opengis.net/def/doc-type>#}
{#    <http://www.opengis.net/def/doc-type/atb> na:status status:retired .#}

{#<http://www.opengis.net/def/doc-type>#}
{#    <http://www.opengis.net/def/doc-type/as-draft> na:status status:superseded .#}

{#<http://www.opengis.net/def/waterml>#}
{#    <http://www.opengis.net/def/waterml/2.0/medium/SurfaceWater> na:status status:valid .#}
*/

.experimental:before {
  content: "EXPERIMENTAL - Concept is not valid";
}
.experimental {
  border:             solid 1px rgb(255, 153, 0);
  background-color:   rgba(255, 153, 0, 0.25);
  color:              rgb(255, 153, 0);
}
.invalid:before {
  content: "INVALID - Concept is not valid";
}
.invalid {
  border:             solid 1px red;
  background-color:   rgba(255, 0, 0, 0.25);
  color:              red;
}
.retired:before {
  content: "RETIRED - Concept is not valid";
}
.retired {
  border:             solid 1px rgb(153, 51, 0);
  background-color:   rgba(153, 51, 0, 0.25);
  color:              rgb(153, 51, 0);
}
.superseded:before {
  content: "SUPERCEDED - Concept is not valid";
}
.superseded {
  border:             solid 1px rgb(153, 51, 0);
  background-color:   rgba(153, 51, 0, 0.25);
  color:              rgb(153, 51, 0);
}
.valid:before {
  content: "VALID - Concept is valid";
}
.valid {
  border:             solid 1px green;
  background-color:   rgba(0, 255, 0, 0.25);
  color:              green;
}

.concept th {
    text-align: left;
    padding-right:5px;
}

.nestedobject {
 background-color: lightblue;
}

/* support for embedded iframe content overrides */
.iframe-embed {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    border: 0;
}
.iframe-embed-wrapper {
    position: relative;
    display: block;
    height: 0;
    padding: 0;
    overflow: hidden;
    grid-column-start: 1;
    grid-column-end: none;
}
.iframe-embed-responsive-16by9 {
    padding-bottom: 56.25%;
}