#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("../assets/background/26.jpg");
  */

  background: #fcfcfc url(/imgs/26.5ef5d7f74204e78159ee.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;
  }
}

/* Pictures the site itself draws.
 *
 * Only the news thumbnails are here. Everything inside a body TCM rendered —
 * the figures, the floats, the four names in `image_classes:` — is styled by
 * tcm/style.css, which TCM serves at /tcm/style.css so that the page and the
 * editor's preview read one file. A rule for those written here would apply on
 * the page and not in the preview, which is the one way the preview can lie.
 */

/* One per box in the news listing, beside its title and summary. */
img.list {
  height: 90px;
  float: left;
  margin: 0 25px 0 0;
  border-radius: 5px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

/* Too narrow to put text beside a thumbnail: it goes above the title instead. */
@media (max-width: 470px) {
  img.list {
    float: unset;
  }
}

.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;
}
frett-page .date {
    color: #999;
    font-size: 0.7em;
    /*float: right;
    margin-left: 5px;*/
    
}
/*
 * The mót tables.
 *
 * Everything is scoped under `.mot`, and that is not tidiness — `top20.css` in
 * this directory sets a border on a bare `td`, and a global rule from here
 * would restyle the TCM content pages the same way. These tables live inside
 * `<div class="mot">` and nothing outside it is touched.
 *
 * They are wide: the season championship is one column pair per mót, fourteen
 * of them in a full summer. So the table scrolls inside its own box rather than
 * making the page scroll sideways, and shrinks its type below 700px instead of
 * trying to reflow columns that mean nothing on their own.
 */

.mot {
  overflow-x: auto;
  margin-bottom: 2em;
}

.mot h2 {
  font-size: 1.1em;
  margin: 1.4em 0 0.4em;
}

.mot-table {
  border-collapse: collapse;
  font-size: 0.85em;
  white-space: nowrap;
}

.mot-table th {
  text-align: left;
  font-weight: normal;
  color: #666;
  border-bottom: 1px solid #bbb;
  padding: 4px 10px 4px 0;
  vertical-align: bottom;
}

.mot-table td {
  padding: 3px 10px 3px 0;
  vertical-align: top;
}

.mot-table th.right,
.mot-table td.right {
  text-align: right;
}

.mot-table td.bold {
  font-weight: bold;
}

/* A group boundary — a new sveit, a new boat, a new prize. */
.mot-table tr.separator td {
  border-top: 1px solid #ddd;
  padding-top: 8px;
}

.mot-table tbody tr:hover td {
  background: #f6f6f6;
}

/* The tab bar, which is the old site's furniture and the quickest way for
   somebody who knows that site to recognise this one. */
.mot-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 0.8em 0 1em;
  font-size: 0.9em;
}

.mot-tabs a {
  text-decoration: none;
  color: #555;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.mot-tabs a.active {
  color: #000;
  border-bottom-color: #888;
}

/* The season picker under Íslandsmeistari, and the seasons on the index. */
.mot-seasons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 1em 0;
  font-size: 0.9em;
}

.mot-note {
  font-size: 0.85em;
  color: #666;
  margin: 0.6em 0 1.4em;
}

.mot-season-heading {
  font-weight: bold;
  padding-top: 10px;
}

@media screen and (max-width: 700px) {
  .mot-table {
    font-size: 0.78em;
  }
  .mot-table th,
  .mot-table td {
    padding-right: 6px;
  }
}

/* The results' own three-way nav, standing in for the old system's menu.
   Heavier than the tab bar below it, because it moves between three different
   pages rather than between views of one. */
.mot-nav {
  margin-top: 0.5em;
  border-bottom: 1px solid #e4e4e4;
}

.mot-nav .mot-tabs {
  margin: 0 0 0.6em;
  font-size: 1em;
  gap: 4px 22px;
}

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;
}

