:root {
--title-type: 'Teko', sans-serif;
  --form-control-color: black;
  --accent-color: rgb(140, 30, 30);
}

#primary-nav ul.navigation>li a {
font-size:25px;
color:rgb(100,100,100);
font-family: var(--title-type);
font-weight:400;
border-color:red;
}

body {
 font-family: "Barlow Condensed", system-ui;
  font-weight: 300;
  font-style: normal;
padding-bottom:80px;
font-size: 18px;
}
.block-html a  { 
font-size: 18px;
color: #a12f2f;
}
.block-html a:visited {
font-size: 18px;
color: #a12f2f !important;
}
input[type=text] {
 font-family: "Barlow Condensed", system-ui;
}
label {
 font-size: 16px;
}

select  {
 font-family: "Barlow Condensed", system-ui;
}

.block-asset {
display: flex;
}

a.site-title, a.site-title:link, a.site-title:visited, a.site-title:active, a.site-title:hover, .sub-nav-toggle:after{
margin-left:0px;
padding:0px;
padding-bottom:10px;
padding-left:20px;
width:370px;
font-size:2.0em;
font-family: var(--title-type);
font-style: normal;
font-weight: 100;
line-height:0.73;
padding-top:20px;
}

.beta {
font-size: 24px;
font-weight: bold;
color:  #dc6464;
}

.button.menu-button{
font-family: var(--title-type);
font-size:1.5em;
padding-top:15px;
background-color:transparent;
color:black!important;

}

.menu-button .button{
background-color:transparent;
color:grey;
width:100px;
}

span a {
color: #a12f2f;
font-size: 18px;
}

span a:visited {
color: #a12f2f;
font-size: 18px;
}

span a:link {
color: #a12f2f;
font-size: 18px;
}
.resource-link {
text-decoration: dotted underline;
}

.uri-value-link {
color: #0077B6;
text-decoration: dotted underline;
}

.resource-name {
color: #dc6464;
text-decoration: dotted underline;
}


.property .resource-link .resource-name {
    border-bottom: 0pc;
}

#search{
margin:10px 30px 50px 1.5em!important;
margin-bottom:50px!important;
}

#section-sidebar-modal-toggle{
margin-bottom:30px;
margin-left:8px;
}

.open{
z-index:1000;
background-color:white;
 box-shadow: rgba(0,0,0,0.5) 0 20px 20px;
height:calc(30vh + 100px);
}


button:focus, button:active, input:focus, input:active, select:focus, select:active, textarea:focus, textarea:active {
 box-shadow: #333 0 0 0px;
}


/* Titles */

h1{
  font-family: var(--title-type);
  font-weight: 300;
margin-bottom:0px;
padding-bottom:0px;
}

h2{
  font-family: var(--title-type);
font-size:45px;
font-weight:200;
line-height:1.0;
padding-top:0px;
margin-bottom:0px;
}

h2 .title {
color: #dc6464;
}

h3{
  font-family: var(--title-type);
margin-bottom:5px;
font-weight:200;
font-size:25px;
}

p{
margin:0px;
margin-bottom:15px;
}

footer {
display:none;
}

.small{
height:auto;
background-size: 250px !important;
border-width: 0px;
background-position-x: 16px !important;
background-position-y: 20px !important;
background-image:none!important;
}

#primary-nav {
height:120px;
width: 100%;
}

#content {
padding-left:1.5em;
}

.resource-list .resource {
border-top:0px;
}


.bbw-logo {
max-width: 250px;
align-items: center;
}

.item-with-metadata a {
font-size: 16px;
}

.faceted-browse-page .resource-link .resource-name {
padding-top: 10px;
}

.faceted-browse-page .resource-list .resource{
padding-top: 1em;
margin-top: 1em;
}
.permalink  {
background-color:  white !important;
color: black !important;
}
.browse .sorting {
display: none;
}
 .resource {
padding-left: 0px;
}
.metadata {
display: none;
}
li {
padding-bottom: 10px;
}
.language {
display: none;
}
.item-sets {
display: none;
}
.property dd.value {
border-bottom: 0px;
}
.linked-header {
display: none;
}
.block img {
float: right;
max-width: 200px;
margin-left: 10px;
}
.item-set #content>h2+h3 {
background: white !important;
}
.show #content>h2+h3  {
background: white !important;
}
.property .value {
    display: block;
  }
 .annotation dl {
   margin-bottom: 0px;
   a {
       font-size: 1em;
   }
 }

#resources-linked {
  border-top: 1px solid gray;
  padding-top: 1em;
  max-width: 75%;
}

/* When not mobile styling */

@media screen and (min-width: 900px) {
    header {
border-width: 0px;
background-position-x: left !important;
}
#content {
width: 85%;
}

#wrap {
    max-width: 95%;
}

dl {
 columns: 2;
 column-gap: 4em;
 .value-content {
  break-inside: avoid;  
  }
.property {
  break-inside: avoid;  
  }
 margin-bottom: 3em;
}

.resource {
padding-left: 10px;
}
header h1 {
padding-left: 1.6em;
}

#primary-nav {
width: 100%;
display: flex;
justify-content: space-between;
margin-top: 0px;
padding-left: 1.2em;
height:70px;
margin-right: 100px;
}
#primary-nav ul.navigation {
display: flex;
justify-content: flex-start;
border: 0px;
}
#primary-nav ul.navigation>li {
    list-style-type: none;
    padding: 0 1em;
font-size: 22px!important;
font-weight: bold;
width: auto;
}
#primary-nav ul.navigation>li a {
border-bottom: 0px;
}


#content {
padding-left:3.0em;
}
.resource {
 padding-left: 0px;
    }

dl {
max-width: 70%;
}

.small{
height:auto;
background-size: 250px !important;
border-width: 0px;
background-position-x: 26px !important;
background-position-y: 20px !important;
padding:0px;
}

a.site-title:link, a.site-title:visited, a.site-title:active, a.site-title:hover, .sub-nav-toggle:after{
padding-top:40px;
padding-left:0px;
}




footer {
color: white;
position:fixed;
bottom:0px;
   background-color: #222;
    line-height: 1;
    height: 80px;
display:block;
    font-size: 10px;
padding: 1em 5em;
border:0px;
}

}


/* Footer styling */


  #footer {
    height:100%;
    position: absolute;
    z-index: 3000;
    bottom: 2px;
  }

   #footer a:link {
    font-weight: bold;
    color: white !important;
    text-decoration: none;
  }

   #footer a:visited {
    color: white !important;
  }

  .partners {
    float: right;
    position: fixed;
    bottom: 0px;
    right: 0px;
    height: 80px;
  }

  .GRIDHLogo {
    float: right;
    margin-top: 30px;
    width: auto;
    height: auto;
    text-align: left;
    font-weight: 100;
    font-style: normal;
    font-size: 30px;
    line-height: 0.8;
    padding: 0px 50px 5px 30px;
    vertical-align: middle;
  }

  .PartnerLogo {
    float: right;
    margin-top: 30px;
    width: auto;
    height: auto;
    text-align: left;
    font-weight: 100;
    font-style: normal;
    font-size: 30px;
    line-height: 0.8;
    padding: 0px 30px 5px 30px;
    vertical-align: middle;
    border-width: 0px 0.5px 0px 0px;
    border-color: white;
    border-style: solid;
  }



  #developer-info {
  display:none;
}

@media screen and (min-width: 1000px) {
  #developer-info {
    display: flex;
    align-items: flex-start;
    margin-left: -3px;
    margin-top: 15px;
    font-size: 1.3em;
    line-height: 1.4;
    font-weight: 200;
    opacity:1;
  }
}

  #footer  .border-style {
    border-width: 0 0.5px 0 0;
    border-color: white;
    border-style: dashed;
    padding-left: 5px;
    padding-right: 20px;
  }

#developer-info .link {
    color: white;
text-decoration: none;
border:0px;
font-size:16px;
line-height:1.6;
  }

  #footer .link:hover {
    opacity: 0.8;
  }

  .download-link {
    background: url("https://data.dh.gu.se/ui-icons/download_white_circle.png");
    background-size: 18px;
    background-position: 0px 50%;
    background-repeat: no-repeat;
    padding-left: 25px;
    margin-left: 0px;
text-decoration: none;
  }

  .site-link {
    background: url("https://data.dh.gu.se/ui-icons/arrow_link_white_circle.png");
    background-size: 18px;
    background-position: 0px 50%;
    background-repeat: no-repeat;
    padding-left: 25px;
  }

  .links-stack {
    margin-right: 20px;
text-decoration: none;
  }

  .links-stack a {
    display: block;
text-decoration: none;
  }

  #developer-info a:link {
    font-weight: 200;
text-decoration: none;
  }

#matomo {
border-width:0px;
width: 50%;
max-width:650px;
border-radius:12px;
 box-shadow: rgba(0,0,0,0.2) 0 0px 20px;
padding:40px 40px 20px 40px;
font-weight:300;
font-size:0.9em;

}

#matomo p{
line-height:1.2;
}
#matomo button.close {
   display: block;
   margin-top: 1.5em;
margin-left:calc(50% - 30px);
border-radius:4px;
   font-family: "Barlow Condensed", system-ui;
}

dialog::backdrop {
background-color: rgba(0, 0, 0, 0.4);
backdrop-filter:blur(8px);
}

#trackVisits{
margin-right:10px;
focus:none;
}

#trackVisits:focus{
	outline: none;
}


/*   Radio button styling */

  *,
*:before,
*:after {
  box-sizing: border-box;
}

.form-control {
  font-family: system-ui, sans-serif;
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.1;
  display: grid;
  grid-template-columns: 1em auto;
  gap:1.0em;
}

.form-control + .form-control {
  margin-top: 1em;
}

.form-control:focus-within {
  color: var(--form-control-color);
}

input[type="radio"] {
  /* Add if not using autoprefixer */
  -webkit-appearance: none;
  /* Remove most all native input styles */
  appearance: none;
  /* For iOS < 15 */
  background-color: var(--form-background);
  /* Not removed via appearance */
  margin: 0;
  padding-right: 10px;
  font: inherit;
  color: currentColor;
  width: 0.95em;
  height: 0.95em;
  border: 0.08em solid currentColor;
  border-radius: 50%;
  transform: translateY(0.15em);
  display: grid;
  place-content: center;
}

input[type="radio"]::before {
  content: "";
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  transform:scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em var(--form-control-color);
  /* Windows High Contrast Mode */
  background-color: CanvasText;
}

input[type="radio"]:checked::before {
  transform: scale(1);
  transform: translateX(0.23em);
}

input[type="radio"]:focus {
  outline: max(2px, 0.15em) solid currentColor;
  outline-offset: max(2px, 0.15em);
}


.select-list-item label{
  font-size:20px;
  margin-left:0px;
  }
.svAk {
width: 100px;
}