/* HA3FLT, 2020-2021 */
:root {
  --colorBrightWhite: #FFFFFF;
  --colorWhite: #F0F0F0;
  --colorSpecDarkForMain: #D8D8D8;
  --colorReadableDark: #AAAAAA;
  --colorFlagRed: #C8102E;
  --colorFlagGreen: #00843D;
  --colorTurcuoise: #00E5EE;
  --colorBrightTurcuoise: #00F6FF;
  --colorBlack: #000000;
  --colorBkgndBlue: #1e304c;
  --colorGold: #FFDC73;

  --colorBanner: var(--colorBrightWhite);
  --colorMenuText: var(--colorWhite);
  --colorSecondMenuHead: var(--colorGold);

  --colorLink: var(--colorTurcuoise);
  --colorLinkIndex: var(--colorBrightWhite);
  --colorInverseText: var(--colorBlack);
  --colorHorizBorderUp: var(--colorTurcuoise);
  --colorHorizBorderBottom: var(--colorTurcuoise);
  --colorDarkText: var(--colorReadableDark);
}

/* Visible on Android when touching the links */
*:focus:not(.focus-visible) {
/*  outline: 0.25rem solid var(--colorBrightWhite) !important;*/
  border: 0.1rem solid var(--colorBrightWhite) !important;
  outline: 0 !important;
}
/* Normal focus rectangle */
.focus-visible {
  outline: 0 !important;
  border: none !important;
}

html {
  position: relative;
  min-height: 100%; /* Make sure it is at least as tall as the viewport */
}
body {
  height: 100%; /* force the BODY element to match the height of the HTML element */
  margin: 0;
  /*font-family: 'Roboto', sans-serif;*/
  font-family: 'IBM Plex Sans';
/*  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.75));*/
  background: linear-gradient(rgba(50, 60, 70, 0.5), rgba(25, 30, 35, 0.85));
  color: var(--colorBrightWhite);
  text-align: center;
}

* {
/*  box-sizing: border-box;*/
  box-sizing: content-box;
  overflow-x: auto;
  overflow-y: none;
}

a {
  text-decoration: none;
  color: var(--colorLink);
}

.bg-img {
  position: absolute;
  top: 0; bottom: 0; left: 0; right: 0;
  overflow: hidden;
  z-index: -1;
  background-position: center top;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
/*  filter: blur(3px) contrast(66%) brightness(66%);
  -webkit-filter: blur(3px) contrast(66%) brightness(66%);*/
}
.bg-img-index {
  background-image: url('./resources/Dobogoko_Tatra.jpg');
/*  filter: blur(0px) contrast(100%) brightness(100%);
  -webkit-filter: blur(0px) contrast(100%) brightness(100%);*/
}
.bg-img-beacons {
  background-image: url('./resources/blurred/Tech35_gblur105.jpg');
}
.bg-img-ex-members {
  background-image: url('./resources/blurred/Kozos13_gblur25.jpg');
}
.bg-img-history {
  background-image: url('./resources/blurred/Antenna09_gblur55.jpg');
}
.bg-img-legal {
  background-image: url('./resources/blurred/Adoszoba_gblur55.jpg');
}
.bg-img-logs {
  background-image: url('./resources/blurred/Diploma15_gblur55.jpg');
}
.bg-img-members {
  background-image: url('./resources/blurred/Kozos20_gblur105.jpg');
}
.bg-img-necrolog {
  background-image: url('./resources/blurred/candle-1466148213Cbc_gblur55.jpeg');
}
.bg-img-qth {
  background-image: url('./resources/blurred/Tech40_gblur45.jpg');
}
.bg-img-repeaters {
  background-image: url('./resources/blurred/Torony10_gblur35.jpg');
}
.bg-img-stories {
  background-image: url('./resources/blurred/Kozos25_gblur105.jpg');
}
.bg-img-hg7ruc-doc {
  background-image: url('./resources/blurred/Torony10_gblur35.jpg');
}
.bg-img-ha5kbc {
  background: #1e304c;
}
.bg-img-ha5kbc-history {
  background: var(--colorBkgndBlue);
}
.bg-img-ha5kbc-photos {
  background: var(--colorBkgndBlue);
}
.bg-img-nophoto {
  background: var(--colorBkgndBlue);
}

.big-gallery {
  margin: 0;
  margin-left: 1rem;
  margin-right: 1rem;
  text-align: center;
}
.img-gallery-solo, .img-gallery-solo-small {
  cursor: pointer;
  /*border: 0.33rem solid rgba(0, 0, 0, 0.15);*/
  border: 0.33rem solid rgba(128, 128, 128, 0.5);
  border-radius: 0.75rem;
  width: 98%;
}
.img-gallery-solo-small {
  width: auto;
  max-width: 98%;
  max-height: 15rem;
  margin: 1rem;
  margin-bottom: 0;
  margin-left: 0;
}

.bg-glass-panel, .bg-glass-panel-index {
  float: none;
  min-height: 92.5vh;
  margin: auto;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  border: 0.33rem solid rgba(60, 60, 60, 0.2);
  border-radius: 0.75rem;
  max-width: 113rem;
  width: 96%;
  background: linear-gradient(rgba(50, 60, 70, 0.66), rgba(25, 30, 35, 0.66));
}
.bg-glass-panel-index {
/*  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));*/
  background: linear-gradient(rgba(50, 60, 70, 0.25), rgba(25, 30, 35, 0.25));
}
.glass-text, .glass-text-index {
  font-size: 1.0rem;
  margin: auto;
  margin-top: 0.33rem;
  width: 98%;
  white-space: nowrap;
  overflow: hidden;
  color: rgba(128, 128, 128, 0.35);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5), 1px 1px 1px rgba(0, 0, 0, 0.5); 
  text-align: center;
}
.glass-text-index {
  color: rgba(128, 128, 128, 0.5);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.15), 1px 1px 1px rgba(0, 0, 0, 0.15); 
}
.bg-glass-panel hr {
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.MainBanner h1 {
  font-size: 2.75rem;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.35), 1px 1px 1px rgba(0, 0, 0, 0.35); 
  color: var(--colorBanner);
}

.text-m90d {
  position: absolute;
  left: 0;
  top: 0;
  transform: rotate(-90deg) translate(-50%, 50%);
  transform-origin: 0% 50%; /* upper-left corner */
  -moz-transform: rotate(-90deg) translate(-50%, 50%);
  -moz-transform-origin: 0% 50%;
  -webkit-transform: rotate(-90deg) translate(-50%, 50%); /* Safari and Chrome */
  -webkit-transform-origin: 0% 50%;
  -o-transform: rotate(-90deg) translate(-50%, 50%);
  -o-transform-origin: 0% 50%;
  -ms-transform: rotate(-90deg) translate(-50%, 50%); /* IE 9 */
  -ms-transform-origin: 0% 50%;
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
  width: 66%;
  height: 1.5rem;
  margin: 0;
  text-align: left;
}
.text-p90d {
  position: absolute;
  left: 100%;
  top: 0;
  transform: rotate(90deg) translate(-50%, 50%);
  transform-origin: 0% 50%; /* upper-left corner */
  -moz-transform: rotate(90deg) translate(-50%, 50%);
  -moz-transform-origin: 0% 50%;
  -webkit-transform: rotate(90deg) translate(-50%, 50%); /* Safari and Chrome */
  -webkit-transform-origin: 0% 50%;
  -o-transform: rotate(90deg) translate(-50%, 50%);
  -o-transform-origin: 0% 50%;
  -ms-transform: rotate(90deg) translate(-50%, 50%); /* IE 9 */
  -ms-transform-origin: 0% 50%;
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=4);
  width: 66%;
  height: 1.5rem;
  margin: 0;
  text-align: right;
}

.tab-folder-container {
  min-width: 20%;
  max-width: 30rem;
  margin-left: 1rem;
  margin-right: 1rem;
/*border:2px solid red;*/
}

/* Vertical tabs */
.tab-folder-row, .tab-folder-row-index, .tab-folder-row-photos {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: 0.5rem;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  margin-top: 66vh;
  text-align: left;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.35), 1px 1px 1px rgba(0, 0, 0, 0.35); 
/*border:2px solid blue;*/
}
.tab-folder-row-index {
  margin-top: 1rem;
}
.tab-folder-row-photos {
  margin-top: 1rem;
}
.tab-folder-foldable {
  letter-spacing: 0.05rem;
  margin-top: 1rem;
}

.tab-menu {
  display: flex;
  flex-direction: column;
  align-content: flex-end;
  margin: 0;
  margin-right: 0;
  padding: 0;
  vertical-align: top;
  list-style: none;
/*border:2px solid yellow;*/
}
.tab-menu ul {
  text-align: right;
  font-size: 1.25rem;
}
.tab-menu li {
  display: flex;
  align-content: flex-end;
/*border: 2px solid navy;*/
}
.tab-menu a {
  text-decoration: none;
  padding: 0;
  padding: 0.66rem 0.66rem;
  margin: 0;
  margin-bottom: 1rem;
  border: 0.25rem solid rgba(50, 60, 70, 0.1);
  border-radius: 0.75rem;
  background: linear-gradient(rgba(50, 60, 70, 0.25), rgba(50, 60, 70, 0.25));
  width: 100%;
  color: var(--colorMenuText);
  text-align: right;
  font-weight: bold;
}
.tab-menu li:target {
  color: var(--colorHorizBorder); /* ??? */
}
.tab-menu a:hover {
  background: linear-gradient(rgba(50, 60, 70, 0.33), rgba(25, 30, 35, 0.33));
}

.tab-folder > .tab-content:target ~ .tab-content:last-child, .tab-folder > .tab-content {
  display: none;
  font-size: 1.2rem;
  line-height: 1.5em;
  letter-spacing: 0.05em;
  background: linear-gradient(rgba(50, 60, 70, 0.33), rgba(50, 60, 70, 0.33));
  margin: 0;
/*  margin-left: 5rem;*/
  border-radius: 0.75rem;
}
.tab-content-header {
  padding-left: 2rem;
  background: linear-gradient(rgba(50, 60, 70, 0.2), rgba(25, 30, 35, 0.2));
/*border: 2px solid navy;*/
}
.tab-content-body {
  padding-left: 2rem;
}
/*.tab-folder > .tab-content {
  max-height: 0;
  overflow: hidden;
  animation: spread-vert 0.8s;
}
@keyframes spread-vert {
  0%   {max-height: 0;}
  100% {max-height: 100%;}
}*/
.tab-folder > :last-child, .tab-folder > .tab-content:target {
  display: flex;
  flex-direction: column;
  align-content: flex-end;
/*border: 2px solid cyan;*/
}
.tab-folder-row-index h3 {
  line-height: 1.4em;
  color: var(--colorSecondMenuHead);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.35), 1px 1px 1px rgba(0, 0, 0, 0.35); 
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  margin-right: 2rem;
/*border: 2px solid green;*/
}
.second-menu {
  margin-right: 1rem;
  padding-right: 2rem;
/*border: 2px solid yellow;*/
}
.second-menu ul {
}
.second-menu li {
  line-height: 1.75em;
/*  list-style: url('/resources/cd2.svg') inside;*/
  list-style: "-" inside;
/*border: 2px solid pink;*/
}
.second-menu a {
  text-decoration: none;
  color: var(--colorLinkIndex);
  padding-left: 1rem;
  padding-right: 1rem;
  border: 0.2rem solid rgba(0, 0, 0, 0.0);
  border-radius: 0.5rem;
}
.second-menu a:hover {
  background: linear-gradient(rgba(50, 60, 70, 0.25), rgba(25, 30, 35, 0.25));
/*  border: 0.2rem solid rgba(0, 0, 0, 0.1);*/
/*  border: 0.2rem solid rgba(50, 60, 70, 0.2);*/
}
.general-ul-list {
  margin: 0;
}
.tab-content-text {
  padding-right: 2rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
/*  line-height: 1.25rem;*/
/*border: 2px solid black;*/
}
.tab-content-text p {
  margin-top: 0;
  margin-bottom: 1rem;
}

.tab-folder-long h3 {
  color: var(--colorDarkText);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.35), 1px 1px 1px rgba(0, 0, 0, 0.35); 
}
.tab-folder-long {
  overflow-x: auto;
  overflow-y: none;
}
.page-footer {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: rgba(128, 128, 128, 0.35);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5), 1px 1px 1px rgba(0, 0, 0, 0.5);
}
.nav-buttons {
  text-align: center;
  white-space: nowrap;
  font-size: 1rem;
  vertical-align: middle;
  margin: 0.5rem;
  text-shadow: none; 
}
.nav-buttons a {
  text-decoration: none;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border-radius: 0.33rem;
/*  background: var(--colorLink);*/
  border-left:0.15rem solid var(--colorLink);
  border-right:0.15rem solid var(--colorLink);
/*  color: var(--colorInverseText);*/
  color: var(--colorLink);
  opacity: 0.75;
}

.EmailButtonNormal {
  text-align: center;
  white-space: nowrap;
  font-size: 1rem;
  vertical-align: middle;
  text-shadow: none; 
}
.EmailButtonNormal a {
  text-decoration: none;
  padding-top: 0.2rem;
  padding-bottom: 0.1rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border-radius: 0.55rem;
  background: var(--colorLink);
  color: var(--colorInverseText);
  opacity: 0.75;
}

/* Responsive table */
.MembersTable {
  display: table;
  min-width: 33%;
  margin: auto;
  text-align: left;
}
.MembersTableRow {
  display: table-row;
}
.MembersTableRowHighlighted {
  display: table-row;
  color: var(--colorLink);
}
.MembersTableHeading {
  background-color: var(--colorBrightWhite);
  display: table-header-group;
  font-weight: bold;
}
.MembersTableHead, .MembersTableCell, .MembersTableCellEmail, .MembersTableCellDeceased {
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: table-cell;
  padding: 3px 10px;
}
.MembersTableCellEmail {
  text-align: center;
  font-size: 0.85rem;
  vertical-align: middle;
  text-shadow: none; 
}
.EmailLink {
}
.MembersTableCellDeceased {
  font-weight: bold;
  color: var(--colorLink);
  text-shadow: none; 
}
.MembersTableFoot {
  background-color: var(--colorBrightWhite);
  display: table-footer-group;
  font-weight: bold;
}
.MembersTableBody {
  display: table-row-group;
}
.MembersTable a {
  text-decoration: none;
  padding: 0.05rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border-radius: 0.5rem;
  white-space: nowrap;
  background: var(--colorLink);
  color: var(--colorInverseText);
  opacity: 0.75;
}

.LogsTable{
  display: table;
  min-width: 33%;
  margin: auto;
  text-align: center;
}
.LogsTableRow {
  display: table-row;
}
.LogsTableHeading {
  display: table-header-group;
  font-weight: bold;
}
.LogsTableHead, .LogsTableCell, .LogsTableCellDeceased {
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: table-cell;
  padding: 3px 10px;
}
.LogsTableFoot {
  background-color: var(--colorBrightWhite);
  display: table-footer-group;
  font-weight: bold;
}
.LogsTableBody {
  display: table-row-group;
}
.LogsTable a {
  text-decoration: none;
  padding: 0.05rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  border-radius: 0.5rem;
  white-space: nowrap;
  background: var(--colorLink);
  color: var(--colorInverseText);
  opacity: 0.75;
}

.gallery {
  width: 95%;
  margin: auto;
  padding-bottom: 1rem;
  text-align: center;
}
.gallery img {
  display: block;
  width: auto;
  height: auto;
  max-width: 95%;
  max-height: 95vh;
  margin: auto;
  margin-bottom: 2em;
  padding: 0px;
  border: 5px rgb(152,152,152) solid;
  border-radius: 13px;
}
.gallery-thumb img {
  display: block;
  width: auto;
  height: auto;
  max-width: 95%;
  max-height: 95vh;
  margin: auto;
  margin-bottom: 2em;
  padding: 0px;
  border: 5px rgb(152,152,152) solid;
  border-radius: 2px;
}
.gallery-list ul {
  list-style-type: none;
/*  font-size: 1.5rem;
  line-height: 2rem;*/
}
.gallery-list li {
  font-size: 1.5rem;
  line-height: 2rem;
}

.media-aware-tab-menu-flex {
  display: flex;
  flex: auto;
  flex-direction: row;
  justify-content: space-evenly;
}
.media-aware-flex, .media-aware-horiz-flex {
  display: flex;
  flex: auto;
  flex-direction: row;
}

/* TEMPORARY!!! */
.accessibility-aid {
  height: 1px;
  width: 1px;
  clip: rect(1px, 1px, 1px, 1px);
  overflow: hidden;
  position: absolute;
  margin: 0;
}
.accessibility-aid:focus {
  height: auto;
  width: auto;
  clip: auto;
  z-index: 1;
  top: 0;
  line-height: 49px;
  padding: 0 10px;
  background: #f5f5f5;
  font-weight: bold;
  text-decoration: none;
  background-color: var(--colorTurcuoise);
  color: #333;
}

@media screen and (max-width: 800px) {
  .MainBanner h1 {
    font-size: 2rem;
  }

  .tab-folder-row, .tab-folder-row-index {
    flex-direction: column;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }
  .tab-folder-row-index {
    margin-top: 0rem;
    margin-left: 1rem;
    margin-right: 1rem;
  }
  .tab-folder-foldable {
    margin-top: 0rem;
  }
  .tab-folder > .tab-content:target ~ .tab-content:last-child, .tab-folder > .tab-content {
    margin: 0;
  }

  .tab-menu {
    flex-direction: row;
    flex-flow: row wrap;
    justify-content: flex-end;
  }
  .tab-menu ul {
  }
  .tab-menu li {
  }
  .tab-menu a {
    line-height: 1rem;
    margin-right: 0;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0.5rem;
/*    min-width: 0;*/
    margin-left: 0.75rem;
  }

  .second-menu {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 1rem;
  }
  .second-menu li {
    margin-right: 0;
  }
  .tab-content-text {
    padding-right: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .media-aware-tab-menu-flex {
    flex-direction: column;
  }
  .tab-folder-container {
/* TODO: Rename to element */
    margin-left: 0;
    margin-right: 0;
  }

  .media-aware-flex {
    flex-direction: column;
  }
  .media-aware-flex-element {
/*    max-width: 95% !important;
    width: 95% !important;*/
  }
  .media-aware-horiz-flex {
  }
}
