#debug_width {
  position:fixed;
  bottom: 50px;
  left: 10px;
  z-index: 500;
}


/* BODY */ 

body.um {
  font-family: 'Droid Sans', sans-serif;
  height: 98%;
  background: #fcfcfc;
  line-height: 1.5em; 
  margin:0px;
  /*
  background: #fcfcfc url("/img/sea03.jpg") no-repeat fixed center;
  background-size: cover;
  background-image: url("@cli/assets/background-26.jpg");
  */

  background: #fcfcfc url(imgs/26.jpg) no-repeat fixed center;
}


/* CHAPTER */

#um-chapter {
  max-width: 950px;
  margin: auto;
  margin-top: 0px;
  padding: 0;
  background: #fff;
  z-index: 300;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.09);
  border-top: 0px;
  overflow: auto;
}


/* CONTENT */

#z-content {
  padding: 50px 50px 120px 50px;
  max-width: 750px;
}

#z-content ul {
  list-style-type: none;
  padding-left: 10px;
  padding-top: 0px;
  padding-bottom: 4px;
}


/* LOGO */ 
img#logo {
  padding: 30px 70px 30px 30px;
  width:110px;
  float:right;
  background: #fff;
}

/* TABLE */

table {
  border-collapse: collapse;
  padding-right: 50px;
}

table tbody tr.odd {
  background-color: #f7f7f7;
}

table tbody tr.even {
  background-color: none;
}

table tbody tr td {
  padding: 5px 10px;
  white-space: nowrap;
}

table thead tr th {
  padding: 5px 10px;
}

#um-strik{
  display:none;
}

/* MENU */

.um-menu {
  /*font-family: 'Droid Sans', sans-serif;*/
  text-transform: uppercase;
  font-size: .8em;
  letter-spacing: 3px;
  padding: 10px 0px 10px 50px;
  border-bottom: 1px solid rgba(0,0,0,.09);
}
.um-menu a {
  padding-right: 30px;
}
.um-menu a:last-child {
  padding-right: 0px;
}

/* CONTENT MENU */

#z-content > .um-menu a {
  display: block;
  margin-bottom: 10px;
}
#z-content > .um-menu {
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  border-bottom: inherit;
  padding: 0;
}


/* A */

a:link, a:visited {
	color: #000;
  text-decoration: underline; 
}
a:hover {
	color: #000;
  text-decoration: underline; 
}

a:active {
	color:inherit;
	text-decoration: none;
}

.um-menu a {
	text-decoration: none;
}

/* TEXT */

.small {
  font-size: .8em;
}

.um h1 {
  /*font-family: medium-content-title-font,Georgia,Cambria,"Times New Roman",Times,serif;*/
  font-size: 1.7em;
  margin: 100px 0 60px 0;
  letter-spacing: 2px;
  line-height: 1.7em;
}

.um h2 {
  font-size: 1.5em;
  margin: 60px 0 20px 0;
  letter-spacing: 1px;
}

.um h3 {
  font-size: 1.1em;
  margin: 40px 0 15px 0;
  letter-spacing: 1px;
}

.um h4 {
  margin: 30px 0 15px 0;
  letter-spacing: 1px;
}

/* OTHER */

hr {
  border: 1px solid rgba(0,0,0,.09);
  margin: 30px 0px;
}

/* RENDER NEWS */
.render-news{
  margin-top: 50px;
  margin-bottom: 50px;
}
.render-news-box{
  min-height: 100px;
  border-top: 0px solid #eee;
  margin-bottom: 30px;
  margin-top: 30px;
  padding: 5px 10px 9px 0px;
}
.render-news-box .title{
  margin-top: 5px;
  margin-bottom: 10px;
  letter-spacing: 1.5px;
}
.render-news-box .date{
  color: #999;
  font-size: 0.7em;
  float: right;
  margin-left:5px;
}

/* RENDER COUNTDOWN */

.render-countdown {
  display: inline-block;
  border: 1px solid #eee;
  width: 150px;
  margin: 5px;
  padding: 10px;
  text-align: center;
  border-radius: 5px;
  border: 0px solid #eee;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}
.render-countdown .date{
  font-size: 0.7em;
}
.render-countdown .togo {
  font-weight: bold;
  font-size: 1.2em;
  padding: 30px 10px;
}



/* SPONSORS */
.facebook-link {
  margin: 50px 0;
}
.sponsors{
  font-family: 'Droid Sans', sans-serif;
  text-transform: uppercase;
  text-align: center;
  font-size: .8em;
  letter-spacing: 3px;
  padding: 10px 0px 10px 0px;
}
.sponsors a {
  display: inline-block;
	text-decoration: none;
  margin: 5px 20px;
}

/* FOOTER */
#footer {
  font-family: 'Droid Sans', sans-serif;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 3px;
  padding: 0px 0 40px 0;
  font-size: 0.8em;
}
#footer a {
	text-decoration: none;
}

@media (max-width: 700px) {
  /* LOGO */
  img#logo {
    display: none;
  }
}

@media (max-width: 570px) {
  /* LOGO */
  img.front-in-text {
    display: block;
    float: none;
    margin: 20px 0;
  }
}

@media (max-width: 470px) {
  /* MENU */

  .um-menu {
    font-size: 0.7em;
    padding: 10px 0px 10px 20px;
  }
  .um-menu a {
    padding-right: 20px;
  }
  .um-menu:last-child a {
    padding-right: 0px;
  }

  /* CONTENT */

  #z-content {
    padding: 50px 20px 120px 20px;
  }

  #z-content > .um-menu {
    font-size: inherit;
  }

  /* IMG 

  
  img.front {
    float: unset;
  }
  
in imgs.css
  */

  /* TODO move to imgs.css */
  img.long {
    display: none;
  }
}

@media print {
  .um-menu {
    display: none;
  }

  #um-strik {
    display: none;
  }

  #z-content {
    padding: 5px;
  }
  #um-chapter {
    padding: 5px;
    left: unset;
    width: unset;
    min-width: unset;
    border: unset;
    box-shadow: unset;
  }

  table {
    margin: unset;
    width: 100%;
  }

  body.um {
    background: unset;
    font-size: 0.9em;
  }

  .sponsors {
    display: none;
  }
}

table.md {
  /*width: 450px;*/
  margin-bottom: 20px;
}

table.md tbody tr {
  border: 1px solid #ddd;
}
table.md tbody tr:nth-child(odd) {
  background-color: #f2f2f2; /* gray */
}

table.md td:last-child {
  /*width: 100%; */
  /*text-align: right; */
}

div.speech, div.speach {
  display: block;
  font-family: 'Droid Sans Mono', monospace;
  font-size: .9em;
  padding: 10px 20px;
  background: #f7f7f7;
  border: 0px solid #eee;
  margin: 40px 0 40px 0;
  /*border-radius: 5px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);*/
}

div.rule{
  display: block;
  font-family: 'Droid Sans Mono', monospace;
  font-size: .9em;
  padding: 5px 10px;
  background: #f7f7f7;
  border: 0px solid #eee;
  margin: 20px 0 20px 0;
  /*border-radius: 5px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);*/
}
/* LIST/FRONT PAGES IMAGES */
img.list {
  height: 90px;
  float: left;
  margin: 0 25px 0 0;
  border-radius: 5px;
  border: 0px solid #eee;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}
@media (max-width: 470px) {
  img.list {
    float: unset;
  }
}

/* MARKDOWN IMAGES */
figure.md {
  margin: 0;
}

figure.md figcaption[aria-hidden="true"] {
  font-style: italic;
  font-size: 0.9em;
  top: 0px;
  left: 5px;
  position: relative;
}

/* position */
figure.md {
  float: left;
  margin: 5px 0 15px 15px;
}
figure.md.standalone {
  display: block;
  float: unset;
  margin: 25px 15px 25px 0;
}
figure.md.right {
  float: right!important;
  margin-left: 15px;
  margin-right: 0px;
}
@media (max-width: 470px) {
  figure.md {
    float: unset;
  }
  figure.md.right {
    float: unset!important;
    margin: 5px 0 15px 15px;
    margin-left: unset;
  }
}

/* size */
figure.md img {
  height: 150px;
}
figure.md.big img {
  height: 350px;
}

/* debug 
figure.md.caption {
  background-color: red;
}
figure.md.nocaption {
  background-color: green;
}*/

/* border and shadow */
.noshadow img {
  box-shadow: none!important;
}
figure.md img {
  border-radius: 5px;
  border: 0px solid #eee;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}


/* 
// iendur hann nota <figure> og <figcaption> í markdowninu, þá er hægt að stíla myndirnar með CSS. Hér er dæmi um hvernig CSS fyrir myndir gæti litið út:
img.front{
  height:90px;
  float: left;
  margin: 0 15px 0 0;
  border-radius: 5px;
  border: 0px solid #eee;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

img.front-in-text-standalone{
  height:150px;
  margin: 15px 15px 15px 0;
  border-radius: 5px;
  border: 0px solid #eee;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

img.front-in-text{
  height:150px;
  float: right;
  margin: 0 0 15px 15px;
  border-radius: 5px;
  border: 0px solid #eee;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}
img.in-text{
  height:150px;
  margin: 0 15px 0 0;
  border-radius: 5px;
  border: 0px solid #eee;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}
img.in-text-big{
  height:350px;
  margin: 0 15px 0 0;
  border-radius: 5px;
  border: 0px solid #eee;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}
img.standalone{
  margin: 15px 15px 15px 0;
}

img.svg-logo-in-text{
  height:150px;
  float: right;
  margin: 0 0 15px 15px;
  border-radius: 5px;
  border: 0px solid #eee;
}

img.long {
  width:750px;
  margin: 15px 0;
  border-radius: 5px;
  border: 0px solid #eee;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

img.big {
  margin: 0 0 15px 15px;
  border-radius: 5px;
  border: 0px solid #eee;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}



figure {
  margin:0;
}

figcaption[aria-hidden="true"] {
  font-style:italic;
  font-size: .9em;
  top: -10px;
  position: relative;

}
*/

frett-page .date {
    color: #999;
    font-size: 0.7em;
    /*float: right;
    margin-left: 5px;*/
    
}
.catalog {
  display: flex;
  justify-content: center; /* centers the whole row */
  gap: 20px; /* space between links */
  margin: 20px 0;
  font-size: .9em;
}

.catalog a {
  text-decoration: none;
  padding: 6px 10px;
}

.catalog a.year {
  color: #555;
}
.catalog a.year:first-of-type {
  padding-left:0;
}
i18n-el div {
  margin: 1rem 0;
}



i18n-el .language-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  /* Center the whole block but keep items left-aligned */
  width: max-content;
  /*margin-left: auto;
  margin-right: auto;*/
  align-items: flex-start;
}

