/********** Variables **********/
:root {
	--bg-color-dark: #444;
	--grey-medium: #696969;
	--bg-color: #f2f2f2;
	--color-dark: #000;
	--color-grey: #ccc;
	--color-light: #fff;
	--color-red: #e40000;
	--color-pink: #ffdfe4;
	--color-green: #01a000;
	--link-color: #4496d2;
	--link-color-active: #0e3e61;
	--space: 1.5em;
	--space-xsmall: .25em;
	--space-small: .75em;
	--space-large: 3em;
}

* {
    box-sizing: border-box;
}


/********** Base **********/
html {
	overflow-y: scroll;
}

body {
	font: 16px 'Arial', sans-serif;
	margin: 0;
	padding: 0;
}

body * {
	box-sizing: border-box;
}

body > * {
	margin-bottom: 1.5em; /*Fallback for IE*/
	margin-bottom: var(--space);
}

/********** Layout **********/
main {
    border-top: 1px solid #393939;
	position: relative;
}

main section {
    padding: 2em 0;
}

main .table {
    box-sizing: border-box;
    margin: 0 auto;
	position: relative;
}

main section > * {
    margin: 0 0 1em 0;
}

/********* Grid *********/
/* grid is not supportend*/
.grid-container {
    display: block;
}

.grid-container > * {
    float: left;
    width: 49%;
}

.grid-3-columns {
    display: block;
}

.grid-3-columns  > * {
    float: left;
    width: 32%;
}

.grid-4-columns {
    display: block;
}

.grid-4-columns  > * {
    float: left;
    width: 24%;
}

/* grid is supportend*/
@supports (display: grid) {
    .grid-container {
        display: -ms-grid;
        display: grid;
        grid-column-gap: 1em;
        -ms-grid-columns: auto auto;
        grid-template-columns: auto auto;
    }

    .grid-3-columns {
        display: -ms-grid;
        display: grid;
        grid-column-gap: 2%;
        -ms-grid-columns: 32% 32% 32%;
        grid-template-columns: 32% 32% 32%;
    }

    .grid-4-columns {
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: auto auto auto auto;
        grid-template-columns: auto auto auto auto;
    }
    
    .grid-container > *,
    .grid-3-columns > *,
    .grid-4-columns > *    {
        float: none;
        width: auto;
    }

}

/********** Typography **********/
h1 {
    font-weight: normal;
    font-size: 2em;
}

h2 {
    font-size: 1.25em;
    font-weight: normal;
    margin: 2em 0 1em;
}

ex {
    font-style: italic;
}

p {
    line-height: 1.5;
    margin: 0 0 1.5em;
    max-width: 600px;
}

p:empty {
    display: none;
}

.label {
    color: #666;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    margin: 0;
}

.anchor {
    margin-top: -70px;
    position: absolute;
}

/******** Header *********/
header {
	box-sizing: border-box;
    height: 70px;
    margin: 0;
}

.header-content {
	justify-content: space-between;
}

.header-fixed {
    background: #333;
    height: 70px;
    padding: 10px;
    padding-left: 85px;
    position: fixed;
        top: 0;
    width: 100vw;
    z-index: 1003;
}

.header-fixed.is-flex-group {
    flex-direction: column;
}

.header-content h1 {
    color: #fff;
    font-family: 'Bellefair', serif;
    font-size: 16px;
    margin: 4px 0 6px 10px;
}

header .main-menu {
    display: flex;
    justify-content: flex-end;
}

.logo-link,
.logo-link:hover {
    margin-top: 0;
    margin-left: 3px;
    position: fixed;
    width: 68px;
    z-index: 1005;
}

.logo-image {
    width: 100%;
}


#attestations-header {
	display: none;
	margin: 1em 0;	
}

/********** Header navigation **********/

.skip-to-content:focus {
    background: #fff;
    clip: unset;
    height: auto !important;
    margin: 3px;
    overflow: visible !important;
    padding: 10px !important;
    width: auto !important;
    z-index: 1100;
}

header nav a,
header nav .btn-link, 
header nav .btn-link:focus,
header nav a:hover, 
header nav a:focus, 
header nav .btn-link:hover {
    color: #fff;
    font-size: 14px;
    margin-left: 1vw;
    padding: 5px 10px;
    text-decoration: none;
}

header nav .active {
    outline: 2px solid #fff;
}

header nav *:first-child {
    margin-left: 0 !important;
}
/********** Map **********/
#map {
	font-size: 16px;
/*	height: 92vh;*/
    height: calc(100vh - 70px);
    position: relative;
		top: 0;
    width: 100%;
}

/* hide the lines between markers in a cluster */
#map path {
    display: none;
}

#map .leaflet-div-icon {
    background: none;
    border: none;
}

.leaflet-top.leaflet-left {
    left: 40px;
    bottom: 4vh;
    top: auto;
}

.leaflet-marker-icon button  {
    border: 1px solid #fff;
    border-radius: 50%;
	color: #000;
    display: block;
    font-size: 12px;
    height: 30px;
    line-height: 30px;
    opacity: .8;
	padding: 0;
    text-align: center;
    width: 30px;
}

#map .leaflet-control-layers {
	background: #ffffffbd;
    box-shadow: 0px 0px 15px #d4dadc;
    border-radius: 0;
    border: none;
}

.leaflet-control-layers-overlays:empty {
	display: none;
}

.leaflet-control-layers-overlays,
.leaflet-control-layers-base {
    padding: 0.25em 1em;
}

.leaflet-control-layers label {
    margin: 0;
	position: relative;
}

.leaflet-control-layers span {
    font-size: .8rem;
}

.leaflet-control-layers span p {
	display: inline;
}

div.leaflet-marker-icon.cluster {
	height: 30px;
	width: 30px;
	border-radius: 50%;
    border: 1px solid white;
	opacity: .8 !important;
}

div.leaflet-marker-icon.pin {
	height: 15px;
	width: 15px;
	border-radius: 50%;
    border: 1px solid white;
	opacity: .8 !important;
}

.leaflet-marker-icon .layer_1 {
    margin: 8px 0 0 8px;
}

.leaflet-marker-icon .layer_2 {
	margin: 8px 0 0 -8px;
}

.leaflet-marker-icon .layer_3 {
	margin: -8px 0px 0 8px;
}

.leaflet-marker-icon .layer_4 {
	margin: -8px 0 0 -8px;
}

.leaflet-control-layers span.layer_0::before,
.leaflet-control-layers .layer_-1::before,
.leaflet-marker-icon button.layer_-1,
#active-cluster-list-content .layer_-1 li::before {
    background: #ffc730;  /*eee700; yellow*/	
	color: #000;
}

.saved-search-info,
.appended-search-info {
    padding: 1em;
}

#saved-search > * {
    margin-right: 3px;
}

.appended-search-info {
    padding: 2em 0;
}

.appended-search-info-header {
    align-items: center;
    margin-bottom: 1em;
}

.appended-search-info-header label {
    align-self: center;
    cursor: pointer;
    margin-right: .5em;
    padding: 0.75em 1.75em;
}

.search-selected {
    font-weight: bold;
}

.search-filter-name {
    font-weight: normal;
}

#saved-search-settings-nr-0 {
 /*   background: #d4d4d426;*/
}

#saved-search-settings-nr-1,
#saved-search-settings-nr-2,
#saved-search-settings-nr-3,
#saved-search-settings-nr-4 {
    background: transparent;
}

.search-color-yellow {
    color: #000;
    background: #ffc730;  
}
.search-color-blue {
    color: #000;
    background: #136e92; /* blue */
}
.search-color-green {
    color: #000;
    background: #2ea200; 
}
.search-color-red {
    color: #000;
    background: #d9351a;  
}
.search-color-light-blue {
    color: #000;
    background: #00b2ea; /* light blue */
}
.search-color-purple {
    color: #000;
    background: #63328e; /* purple */
}
.search-color-dark-red {
    color: #000;
    background: #8e3232; /* dark red*/
}
.search-color-grey {
    color: #000;
    background: #8e8e8e; /* grey */
}
.search-color-dark-grey {
    color: #000;
    background: #4c4c4c; /* dark grey */
}
.search-color-yellow-green {
    color: #000;
    background: #8c8e32; /* yellow green */
}

#saved-search-settings-nr-1 {
    background: #ffc730; /* yellow */
}

#saved-search-settings-nr-2 {
    background: #136e92; /* blue */
    color: #fff;
}

#saved-search-settings-nr-3 {
    background: #91cd79;
    color: #000;
}

#saved-search-settings-nr-4 {
    background: #bb2007; /* red */
    color: #fff;
}

.leaflet-control-layers span.layer_1::before,
.leaflet-marker-icon button.layer_1,
#active-cluster-list-content .layer_1 li::before,
button#saved-search-1 {
    background: #ffc730;  /*eee700; yellow*/	
}

.leaflet-control-layers span.layer_2::before,
.leaflet-marker-icon button.layer_2,
#active-cluster-list-content .layer_2 li::before
,button#saved-search-2
{
    background: #136e92; /* blue */
    color: #fff;
}

.leaflet-control-layers span.layer_3::before,
.leaflet-marker-icon button.layer_3,
#active-cluster-list-content .layer_3 li::before,
button#saved-search-3 {
    background: #91cd79; /* green */
}

.leaflet-control-layers span.layer_4::before,
.leaflet-marker-icon button.layer_4,
#active-cluster-list-content .layer_4 li::before,
button#saved-search-4 {
    background: #bb2007; /*red*/
    color: #fff;
}

.leaflet-control-layers span.layer_5::before,
.leaflet-marker-icon button.layer_5,
#active-cluster-list-content .layer_5 li::before,
button#saved-search-5 {
    background: #00b2ea; /* light blue */
} 

.leaflet-control-layers span.layer_6::before,
.leaflet-marker-icon span.layer_6,
#active-cluster-list-content .layer_6 li::before,
button#saved-search-6 {
	background: #63328e; /* purple */
    color: #fff;
}

.leaflet-control-layers span.layer_7::before,
.leaflet-marker-icon span.layer_7,
#active-cluster-list-content .layer_7 li::before,
button#saved-search-7 {
	background: #8e3232; /* dark red*/
}

.leaflet-control-layers span.layer_8::before,
.leaflet-marker-icon span.layer_8,
#active-cluster-list-content .layer_8 li::before,
button#saved-search-8 {
	background: #8e8e8e; /* grey */
}

.leaflet-control-layers span.layer_9::before,
.leaflet-marker-icon span.layer_9,
#active-cluster-list-content .layer_9 li::before,
button#saved-search-9 {
	background: #4c4c4c; /* dark grey */
}

.leaflet-control-layers span.layer_10::before,
.leaflet-marker-icon span.layer_10,
#active-cluster-list-content .layer_10 li::before,
button#saved-search-10 {
	background: #8c8e32; /* yellow green */
}

.leaflet-popup-content-wrapper {
    border-radius: 0;

}
.leaflet-popup-content .row {
    display: block;
}

.leaflet-popup-content .block p {
	display: inline-block;
    margin: 0;
}

.leaflet-popup-content .block {
    width: 100%;
}

/* Zoom slider*/
#map .leaflet-bar.leaflet-control-zoomslider {
    border-radius: 0;
    box-shadow: 0px 0px 15px #d4dadc;
    border: none;
}

#map .leaflet-bar.leaflet-control-zoomslider .leaflet-control-zoomslider-body {
    background-color: #d4dadc;
    border-width: 0px 14px;
    width: 30px;
}

#map .leaflet-control-zoomslider.leaflet-bar.leaflet-control > * {
    width: 100%;
}

/*********** Overlay when page isnt scrollable *******/
.overlay {
    display: none;
    background: #000;
    opacity: .2;
    width: 100%;
    height: 100%;
    z-index: 1005;
}
/********** List in map *******/
#active-cluster-list {
/*	box-shadow: -2px -7px 10px #d4dadc;*/
    border-left: 1px solid #393939;
    box-sizing: border-box;
    background: #fff;
    height: 92vh;
    overflow-y: scroll;
    padding: 2vw 2vw 0;
    position: fixed;
    right: 0;
    top: 8vh;
    width: 50vw;
/*    z-index: 1002;*/
height: 100vh;
top: 0;
z-index: 1005;
}

.attestation-details a {
    margin-right: 1%;
    width: 32%;
}

.attestation-details, .attestation-details p {
    font-size: 1.1rem;
}

.attestation-details {
    justify-content: space-between;
}

#map.half-size {
    width: 50vw;
}

.half-size .leaflet-right {
    display: none;
}

#active-cluster-list h2 {
    font-weight: normal;
    margin: 0;
}

#active-cluster-list-content ul {
    list-style: none;
	padding: 0 0 0 2vw;
}

#active-cluster-list-content li {
    margin-bottom: 1em;
}

#active-cluster-list-content li::before {
    background: #ccc;
	border-radius: 50%;
    content: '';
    display: inline-block;
    height: 1.2vw;
    margin-top: 17px;
    opacity: .8;
    position: absolute;
		left: 2.1vw;
    width: 1.2vw;
}

#active-cluster-list-content .attestation-title p {
    display: inline-block;
	font-size: 1.2rem;
}

#active-cluster-list-content .attestation-title {
    clear: both;
	margin: 0;
}

.attestation-title a {
    display: block;
}

#active-cluster-list-content .block p {
    display: inline;
    font-size: 1.1rem;
    text-decoration: none;
}

#active-cluster-list-content .row {
    display: inline;
}

#active-cluster-list-content .row a {
    color: #888;
}

#active-cluster-list-content .block {
	float: left;
	font-size: 1rem;
	margin: 0 1.5em .5em 0;
	width: auto;
  }
  
/********** Infobox **********/
.info {
    padding: 2em;
    position: absolute;
		right: 0;
    z-index: 1001;
}

.info button {
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
}

.info p {
	margin-top: 0;
}

.info > * {
    width: 33vw;
		max-width: 400px;
}

/********** Buttons **********/
button,
.dt-button {
    background: #292929; /*Fallback för IE*/
	border: 2px solid #fff; /*Fallback för IE*/
	box-shadow: none;
	color: #fff;
	font-size: 1em;
    padding: .75em 1.75em; /*Fallback for IE*/
}

button+button {
    margin-left: 5px;
}

.button:focus,
button:focus,
.button:hover,
button:hover {
    background-color: #292929;
    border-color: #fff;
    cursor: pointer;
}

a {
	color: #0555a4;
    text-decoration: underline;
    text-decoration-color: #97bcd8;

}

a:hover {
    background: #f7f8f9;
}

a:focus,
button:focus,
th:focus,
select:focus,
input:focus,
textarea:focus {
	outline: 3px solid #8cbbe3;
}

/* Table */
.table thead tr {
	border-bottom: none;
}

table.table {
    border-collapse: collapse;
	width: 100%;
}

.table td {
    font-family: 'Cardo', serif;
}

.table thead th {
    border: 1px solid #393939;
    font-weight: bold;
    min-width: 100px;
    text-align: left;
}

.sorting_asc, 
.sorting_desc,
.sorting {
    position: relative;
    padding-right: 25px;
}

.sorting_asc::after, 
.sorting_desc::before,
.sorting::before {
    content: '\25b2';
    color: #ccc;
    position: absolute;
        right: 2px;
        top: 4px;
}

.sorting_asc::before, 
.sorting_desc::after,
.sorting::after {
    content: '\25bc';
    color: #ccc;
    position: absolute;
        right: 2px;
        bottom: 4px;
}

.sorting_desc::after {
    color: #333;
}

.sorting_asc::after {
    color: #333;
}

.table td p,
.table td {
    font-size: 1.1rem;
    margin: 0;
    max-width: 400px;
}

.table td {
    border: 1px solid #393939;
    padding: .3em;
}

td a {
    display: inline-block;
}

.dataTables_empty {
    border: none;
    width: auto;
    white-space: nowrap;
    padding: 2em .5em;
}

.dataTables_empty,
/*td.search-result,*/
#active-cluster-list .search-result {
	display: block;
    font-family: 'Cardo', serif;
    font-size: 1.2em;
	line-height: 1.5;
}

.attestation-title p {
	font-size: 1.25em;
}

.attestation-title {
    letter-spacing: .1em;
    line-height: 1.5;
	margin: 1em 0 .5em;
}

.search-result .attestation-title p {
    border-bottom: 1px solid #97bcd8;
	margin: .5em 0;
}

.search-result p {
    margin: 0;
}

.search-result .attestation-title a,
.search-result a {
    color: #000;
    padding: .15em;
}

.highlight {
    background: #91FFFF;
    color: black;
    padding: 0;
}

tr:hover {
	cursor: pointer;
}

.table th, 
.table td {
    padding: .75em .5em;
    white-space: normal;
}

.table th {
    padding-right: 1em;
}

/* Saved searches */
button.saved-search-button {
    border: 2px solid #fff;
}

.search-buttons {
    margin: 0 auto -50px;
    position: relative;
        top: -50px;
    width: auto;
        max-width: fit-content;
    z-index: 1000;
}

.remove-button {
    margin: -40px 0 1em;
}

#saved-search,
.search-buttons,
.is-centered {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: baseline;
}
/*test*/
.leaflet-control-layers-overlays,
.leaflet-control-layers-separator {
    display: none;
}

/* Filters */
#scroll-to-map-buttons {
	clear: both;
	position: relative;
	margin-bottom: 4em;
}

#advanced-search-filters select {
    margin-bottom: 1em;
    width: calc(100% - 45px);
}

#toggle-controls {
    width: 200px;
}


.btn-help,
.btn-help:hover,
.btn-help:focus,
.btn-close,
.btn-close:hover,
.btn-close:focus {
	background: transparent url('../img/circle-info.svg') no-repeat center center;
    background-size: 25px;
    border-radius: 50%;
    height: 25px;
    line-height: 0;
    margin: 0 0 0 5px;
    padding: 0;
    vertical-align: middle;
    width: 30px;
}

.btn-close,
.btn-close:hover,
.btn-close:focus {
    /*#ccc is the inverted color of #333 */
	background-image: url('../img/circle-close.svg');
}

.outer-help-box {
    display: inline-block;
    position: relative;
}

.outer-help-box.hidden-label-help {
    display: none;
}
/*
.detail-info .outer-help-box > p,
.detail-info .outer-help-box > button {
    display: inline;
}*/
.external-link {
    padding-top: 4px;
    padding-left: 7px;
    width: 10%;
}
#turtle-label, #json-ld-label, #xml-label {
    cursor: pointer;
}
.pre-xml {
    font-size: 57%;
    width: 100%;
    height: 100%;
    overflow: scroll;
    white-space: pre-wrap;
}

.pre-location {
    font-size: 80%;
    width: 100%;
    height: 100%;
    overflow: scroll;
    white-space: pre-wrap;
}
.detail-info .outer-help-box .btn-help {
    position: absolute;
    top: 0;
    right: 0;
}

.detail-info .outer-help-box > p {
    padding-right: 34px;
}

.help-text {
    background: #f2f2f2;
    border: 3px solid #333;
    padding: 1em;
    position: absolute;
        right: 0;
    width: 400px;
        max-width: 95vw;
    z-index: 1;
}

.slide-detail .help-text {
    left: 0;
    top: 35px;
    max-width: 80vw;
}

.help-text-header {
    font-family: Arial, Sans-serif;
    font-size: 1.25rem;
    margin: 0 0 .75em 0;
}

.btn-link,
.btn-link:hover,
.btn-link:focus {
    background: transparent;
    border: none;
    color: #004577;
    display: inline;
	font-size: 1em;
    margin: 0;
    padding: 0;
    text-decoration: underline;
}

.btn-dark {
	letter-spacing: .25em;
}

.btn-grey {
    background-color: #e5e5e5;
    color: #000;
}

.btn-remove {
    background-image: url(../img/remove.svg);
    background-position: right .75em center;
    background-repeat: no-repeat;
    background-size: 20px;
    padding-right: 35px;
}

.btn-center {
    margin: 0 auto;
    position: absolute;
    text-align: center;
		right: 0;
		left: 0;
    width: max-content;
    z-index: 1;
}

.btn-small {
    font-size: .85rem;
}

.btn-full-width {
    margin: 0;
    width: 100%;
}

.btn-to-search {
    top: 85vh;
	max-width: 210px;
}

/* Datatable */
.dataTable {
	background: #fff;
}

#deep-search-info p {
    max-width: 100%;
}

.text-search-radio-row {
    margin-bottom: .5em;
}

.text-search-radio {
    display: inline;
}

.text-search-radio label {
    line-height: 2;
    margin: 0 1em 0 0;
}

.text-search-radio label:last-child {
    margin-right: 0;
}

.search-field {
    margin-right: .5em;
}

.submit-search {
	background: #000 url('../img/search-white.svg') no-repeat center center;
    background-size: 35px;
    border-color: #000;
	height: 45px;
    padding: 0;
	width: 45px;
}

/*
#search-fields {
    padding: 9vh 0 2em;
}
*/
.search-field {
    -webkit-appearance: unset;
    font-size: 1rem;
    height: 45px;
}

.search-field::placeholder {
    font-style: italic;
    color: #9e9e9e;
}

.dataTables_info {
    font-size: .8em;
    margin: 2em 0;
}

.dataTables_paginate {
	margin: 1em 0;
}

.dataTables_paginate a {
    background: #333;
    color: #fff;
	cursor: pointer;
    text-decoration: none;
}

a.paginate_button.current {
    background: #d6d6d6;
    color: #000;
}

.dataTables_paginate a,
.dataTables_paginate span {	
    line-height: 3;
    margin: 1em .5em 1em 0;
    padding: .5em 1em;
} 

/* Search and filters */
#new-search-layer {
    border-color: #fff;
    text-transform: uppercase;
}

.search-loading::before {
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top: 2px solid #9a9a9a;
    content: ' ';
    display: inline-block;
    height: 15px;
    width: 15px;
    margin-right: 10px;
    margin-top: -4px;
    vertical-align: middle;
}

.selected-search-values {
    margin-top: 2px;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}

.appended-search-info h2 {
    flex-grow: 1;
    padding-bottom: 1em;
    padding-top: 1em;
    margin-top: 0;
}

.appended-search-info h2 + p {
    margin-top: 1em;
}

.appended-search-info .scroll-buttons {
    display: none;
}

.appended-search-info-content {
    align-items: center;
    display: flex;
    flex-flow: wrap;
    margin-top: 1em;
}

.btn-grey:hover,
.btn-grey:focus {
    background-color: #ddd;
}


.search-type-value p {
    align-items: center;
    margin: 0;
}

.search-type-value {
    background: #fff;
    border: 1px solid #333;
    color: #000;
    margin-bottom: 1em;
    padding: 1em;
    width: 100%;
}

.search-type-value:empty {
    display: none;
}

.search-and-between,
.search-or-between {
    font-style: italic;
}

.search-and-between {
    margin: 0 0 1em 1em;
}

.search-type-value .search-or-between:first-child {
    display: none;
}

.search-type-value .remove-search-value {
    margin-left: 1em;
}

.search-filter-name {
    white-space: nowrap;
}

.scroll-arrow-up::after {
    content: '\25b2';
    margin-left: 5px;
}

.scroll-arrow-down::after {
    content: '\25bc';
    margin-left: 5px;
}



/* Clearfix for groups */
.group:after {
	clear: both;
	content: "";
	display: table;
}

/* Form */
select,
textarea,
input[type="text"],
input[type="search"] {
	border: 1px solid #393939;
    font-size: 1rem;
	padding: .75em; /*Fallback for IE*/
	padding: var(--space-small);
}

/********** Loader **********/
.loader {
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    border: 12px solid #292929;
    border-radius: 50%;
    border-top: 12px solid #a3a3a3;
    height: 80px;
    margin: 0 auto;
    position: absolute;
		left: 0;
		right: 0;
		top: 45vh;
	width: 80px;
    z-index: 1000;
}

@-webkit-keyframes spin {
	0% { -webkit-transform: rotate(0deg); }
	100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.show-when-loaded {
	display: none; /* Fade in when loading is complete */
}

/****************************
    Detail view
*****************************/
.close-slide:active,
.close-slide:hover,
.close-slide:focus {
	background-color: #fff;
}

.close-slide {
    display: none;
}

.show .close-slide {
	background-color: #fff;
	background-color: #ffffffc7;
    background-image: url('../img/close.svg');
    background-repeat: no-repeat;
    background-size: 35px;
    background-position: center center;
    display: block;
    height: 35px;
    padding: 0;
    position: fixed;
        right: 2%;
        top: 3vh; 
    width: 35px;
}

.slide-detail {
    font-family: 'Cardo', serif;
}

.detail-info:last-child {
    margin-bottom: 2em;
}

.located-in a::after {
    content: ', ';
    color: #000;
}

.located-in a:last-child::after {
    content: '';
}

.detail-info p a {
    word-wrap: break-word;
}

.newline-links a::after {
    content: "\A";
    white-space: pre;    
}

.newline-links a + a {
    margin-top: .5em; 
}

.detail-info .label.always-show {
    display: block;
}

.slide-detail {
    background: #fff;
    border-left: 1px solid #393939;
    box-sizing: border-box;
    height: 100vh;
    font-size: 1.2rem;
    overflow-y: scroll;
    padding: 2vw 2vw 0;
    position: fixed;
      top: 0;
      left: 103%;
    transition: left 0.25s;
    width: 50vw;
    z-index: 1007;
}

.slide-detail.show {
 	left: 49vw;
    transition: left 0.25s;
}

.slide-detail > * {
    display: none;
}

.slide-detail.show > * {
    display: block;
}

p#work a + a::before {
    content: '';
    display: block;
}

/* Slide detail content */
.slide-detail h2,
#active-cluster-list h2 {
    border-bottom: 1.5px solid #d8d8d8;
    display: inline-block;
    font-size: 1.4rem;
    letter-spacing: .1em;
    line-height: 1.5;
    margin: 1.5em 0;
}

.slide-detail h2 p {
    margin: 0;
}

p.empty-text:empty::before {
    content: '--';
}

p.empty-text:empty {
    display: block;
}

/********* Dataset / export ***********/
.download-dataset {
    margin-top: 1em;
}

.download-dataset h2 {
    margin-top: 0;
}

/* Download buttons*/
.table-buttons {
    display: flex;
    justify-content: flex-end;
}

.dt-button:hover,
.dt-button:focus {
    background: #000;
    color: #fff;
}

.dt-buttons,
.dt-button {
    display: inline;
}

.download-dataset .dt-button, 
.download-dataset button {
    display: inline-block;
    margin: 2px 0;
    text-align: center;
    text-decoration: none;
    width: 24%;
        min-width: 250px;
}


/********* UU footer ***********/
.show-hosted-by-uu .footer-content-wrap {
padding-bottom: 7vw;
    margin: 0 auto;
    position: relative;
    max-width: 100%;
    width: 1140px;
}

.footer-element .size1of3 {
    width: 31.8%;
}

.footer-element .unit {
    box-sizing: border-box;
    float: left;
    margin-right: 2.3%;
    min-height: 1px;
    position: relative;
}

.footer-element .unit.last {
    margin-right: 0;
}

.footer-element {
    background-color: #ddd;
    background-image: none;
    border-top: 1px solid #ccc;
    color: #000;
    margin: 6em 0 0;
    position: relative;
}

.footer-hosted-by-uu {
    background: rgba(242, 242, 242, 0.7);
    border-radius: 50%;
    box-sizing: border-box;
    font-weight: normal;
    height: 14vw;
    padding: 1.5vw;
    position: absolute;
    bottom: 2vw;
    right: 2vw;
    text-align: center;
    text-decoration: none;
    width: 14vw;
}

.footer-element p a {
    color: #000;
    font-weight: bold;
    text-decoration-color: #000;
}

.footer-hosted-by-uu-text {
    color: #000;
    display: block;
    font-size: 0.9vw;
    margin-top: 2vw;
}

.footer-hosted-by-uu-logo {
    display: block;
    height: 5vw;
    margin: 0.5vw auto 0;
}

.footer-goto-top {
    background: #333;
    color: #fff;
    text-decoration: none;
    box-sizing: border-box;
    height: 8vw;
    padding: 15px 0;
    display: block;
}


.footer-goto-top:hover {
    background-color: #222;
    color: #fff;
}

.footer-goto-top span {
    padding: 0;
    width: 120px;
    display: block;
    font-size: 0.875em;
    font-weight: normal;
    line-height: 1.5em;
    margin: 0 auto;
    text-align: center;
    text-transform: uppercase;
    width: 225px;
}

.footer-element h3 {
    font-size: 1em;
    font-weight: bold;
    margin-top: 30px;
    text-transform: uppercase;
}

.footer-element p {
    font-size: 1rem;
}

.footer-linked-logo:hover {
    background: transparent;
}

.footer-linked-logo-img {
    width: 300px;
}

/********** Lemma/variant form attestation link highlight **********/
a.lv-linked {
    font-weight: bold;
}

.lv-dot {
    display: inline-block;
    font-size: 1.3em;
    margin-right: 2px;
    text-decoration: none;
    vertical-align: middle;
}

.lv-dot.lv-color-0  { color: #e40000; }   /* red */
.lv-dot.lv-color-1  { color: #01a000; }   /* green */
.lv-dot.lv-color-2  { color: #e87700; }   /* orange */
.lv-dot.lv-color-3  { color: #4496d2; }   /* blue */
.lv-dot.lv-color-4  { color: #63328e; }   /* purple */
.lv-dot.lv-color-5  { color: #8c8e32; }   /* yellow-green */
.lv-dot.lv-color-6  { color: #00b2ea; }   /* light blue */
.lv-dot.lv-color-7  { color: #d9351a; }   /* dark orange-red */
.lv-dot.lv-color-8  { color: #8e3232; }   /* dark red */
.lv-dot.lv-color-9  { color: #2ea200; }   /* bright green */
.lv-dot.lv-color-10 { color: #c000c0; }   /* magenta */
.lv-dot.lv-color-11 { color: #006060; }   /* teal */
