
:root {
/*
  --main-bg-color: rgb(255, 255, 255);
  --main-bg-light-color: #222222;
  --main-txt-color: rgb(0, 0, 0);
  --link-color: #e98300;
*/

  --main-bg-color: rgb(0, 0, 0);
  --main-bg-light-color: rgb(34, 34, 34);
  --main-txt-color: rgb(255, 255, 255);
  --link-color: #e98300;
  --active-color: #aa3300;

  --main-min-width: 200px;
  --main-max-width: 800px;
  --main-max-width: 70%;
  --main-small-width: 90%;
  --responsive-width: 700px;
}


/* ------------------------------
--- Main (Body, Typography) -----
------------------------------ */

html {
  height: 100%;
  margin: 0;
  padding: 0;
}

body
{
  background-color: var(--main-bg-color);
  background-image: linear-gradient(to right, var(--main-bg-color), var(--main-bg-light-color), var(--main-bg-light-color), var(--main-bg-light-color), var(--main-bg-light-color), var(--main-bg-light-color), var(--main-bg-color));
  color: var(--main-txt-color);
  /* font-family: 'Segoe UI', Roboto, Helvetica, Sans-Serif; */
  /* font-family: 'Segoe UI Light', 'Open Sans', Verdana, Arial, Helvetica, sans-serif; */
  /*
  font-family: 'Segoe UI', Roboto, Helvetica, Sans-Serif;
  font-family: Helvetica, 'Segoe UI', Roboto, Helvetica, Sans-Serif;
  font-family: Verdana, 'Segoe UI', Roboto, Helvetica, Sans-Serif;
  font-family: 'Arial Narrow', 'Segoe UI', Roboto, Helvetica, Sans-Serif;
  font-family: Candara, 'Segoe UI', Roboto, Helvetica, Sans-Serif;
  font-family: Geneva, 'Segoe UI', Roboto, Helvetica, Sans-Serif;
  font-family: Calibri, 'Segoe UI', Roboto, Helvetica, Sans-Serif;
  font-family: Optima, 'Segoe UI', Roboto, Helvetica, Sans-Serif;
  */
  font-family: Geneva, 'Segoe UI', Roboto, Helvetica, Sans-Serif;
  -webkit-text-size-adjust: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  height: 100%;
}

.content {
  font-size: 16px;
}
.content section.start-page {
  font-size: 14px;
}

a, a:hover, a:active, a:visited, a:focus, a:link
{
  text-decoration: none;
  color: var(--link-color);
  border: none;
  outline: none;
}
a:hover
{
  color: var(--active-color);
}

img
{
  border: none;
}

h1, h2, h3, h4, h5, h6
{
  margin-top: 0;
  margin-bottom: 0;
  /* margin: 10px 0; */
  color: inherit;
  text-rendering: optimizelegibility;
  font-weight: normal;
}

h1 {
  font-size: 40px;
  font-weight: 300;
  line-height: 48px;
}

h2 {
  font-size: 26px;
  font-weight: 300;
  line-height: 34px;
}

h3 {
  font-size: 20px;
  font-weight: 300;
  line-height: 26px;
}

h4 {
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
}

h5
{
  font-size: 1em;
  font-weight: 300;
  /* line-height: 20px; */
}

h5,
legend {
  font-size: 13px;
  font-weight: 300;
  line-height: 20px;
}

h6,
caption,
figcaption,
small {
  font-size: 11px;
  font-weight: 400;
  line-height: 11px;
}

acronym
, cite
{
  border-bottom: 1px dotted #CCCCCC;
}


/* ------------------------------
------------- Main --------------
------------------------------ */

.main {
  /* border: 1px solid green; */
  background-color: var(--main-bg-color);
  display: flex;
  display: block;
  min-height: 100%;
  height: auto;
  min-width: var(--main-min-width);
  max-width: var(--main-max-width);
  margin: 0;
  padding: 0;
  margin-left: auto;
  margin-right: auto;
  top: 0;
  bottom: 0;
}

@media screen and (max-width: 700px) {
  
  .main {
    max-width: var(--main-small-width);
  }

}

.main .header
, .main .menu
, .main .content
, .main .footer {
  width: 100%;
  display: block;
}


/* ------------------------------
------------ Header -------------
------------------------------ */

.main .header {
  height: 100px;
  text-align: center;
}

.main .header .logo {
  height: 80px;
  /* width: 80px; */
  margin: 10px;
  max-width: 90%;

  /* filter: invert(100%); */
  /*
  box-shadow: 0 0 5px #ffee10;
  text-shadow: 0 0 5px #ffee10;
  */
}

.main .header .title {
  font-size: 2em;
  font-weight: bold;
}

/* ------------------------------
------------ Menu ---------------
------------------------------ */

.main .menu {
  /* height: 80px; */
  position: sticky;
  top: 0;
  z-index: 999;
}

/* Add a black background color to the top navigation */
.topnav {
  /*
  background-color: #333;
  background-color: var(--main-bg-light-color);
  */
  background-image: linear-gradient(var(--main-bg-light-color), var(--main-bg-color));
  background-image: linear-gradient(var(--main-bg-color), var(--main-bg-light-color));
  overflow: hidden;
  margin: 0 15px;
  margin: 0 0px;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  color: var(--main-txt-color);
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  
  box-shadow: 0 4px 8px 0 rgba(34, 34, 34, 0.2), 0 6px 20px 0 rgba(34, 34, 34, 0.19);
  margin: 5px;
  border-radius: 4px;
  padding: 10px;
  font-size: 1.2em;
}

/* Change the color of links on hover */
.topnav a:hover {
  /*
  background-color: #ddd;
  background-color: var(--main-bg-light-color);
  color: black;
  color: var(--main-bg-color);
  */
  background-color: var(--main-bg-light-color);
}

/* Add an active class to highlight the current page */
.topnav a.active {
  background-color: #4CAF50;
  background-color: var(--main-bg-color);
  color: white;
  color: var(--link-color);
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}


/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
/*@media screen and (max-width: 700px) { */
  @media screen and (max-width: 950px) {
  
  /* .topnav a:not(:first-child) {display: none;} */

  .topnav a:not(.active) {display: none;}

  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
/*@media screen and (max-width: 700px) { */
@media screen and (max-width: 950px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}


/* ------------------------------
------------ Content ------------
------------------------------ */

.main .content {
  /* margin: 10px 10px 50px 10px; */
  padding: 10px 10px 50px 10px;
  box-sizing: border-box;
}


/* ------------------------------
------------ Footer -------------
------------------------------ */

.main .footer {
  background-image: linear-gradient(var(--main-bg-light-color), var(--main-bg-color));
  height: 80px;
  height: 40px;
  text-align: center;
  position: fixed;
  /* position: sticky; */
  bottom: 0;

  min-width: var(--main-min-width);
  max-width: var(--main-max-width);
  margin-left: auto;
  margin-right: auto;

}
.main .footer p {
  font-size: 0.8em;
  margin: 0;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  width: inherit;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
/*@media screen and (max-width: 700px) { */
  @media screen and (max-width: 950px) {
  
    .main .footer {
      max-width: inherit;
      box-sizing: border-box;
    }

  }
  
/* ------------------------------
------ Responsive Block ---------
------------------------------ */

.responsive-block {
  display: inline-block;
  vertical-align: text-top;
  /* max-width: 200px; */
  width: 35%;
  padding: 5px;
  margin: 5px;
  /* border: 1px solid silver; */
}

.responsive-block.links {
  width: 15%;
}

@media screen and (max-width: 700px) {
  
  .responsive-block {
    width: 100%;
    border: none;
    margin: 0;
  }

}

.responsive-block h2 {
  font-size: 20px;
  margin: 5px 0px 10px 0px;
}

.responsive-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
.responsive-block ul.content-list li {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-bottom: -2em;
  min-height: 6em;
}
*/

.responsive-block ul.content-list li {
  list-style: none;
  margin: 0;
  padding: 0;
  padding: 2px 0px 4px 4px;
  height: 40px !important;
  display: block;
  overflow: hidden;
  margin-bottom: 5px;
  border: 1px solid transparent;
  border-radius: 30px;
}

.responsive-block ul.content-list li:hover {
  background-color: var(--main-bg-light-color);
}

.responsive-block ul.content-list li[onclick]:hover {
  cursor: pointer;
}
.responsive-block ul.content-list li[onclick]:hover .title{
  color: var(--link-color);
}

.responsive-block ul .date {
  display: inline-block;
  background-color: var(--active-color);
  color: var(--main-txt-color);
  width: 40px;
  height: 40px;
  border-radius: 20px;
  width: 3em;
  height: 3em;
  border-radius: 1.5em;
  overflow: visible;
  word-wrap: break-word;
  text-align: center;
  vertical-align: middle;
}

.responsive-block ul .title {
  display: block;
  vertical-align: top;
  position: relative;
  font-size: 1.2em;
  top: -2.6em;
  left: 3em;
  font-size: 1.0em;
  top: -3em;
  top: -2.8em;
  left: 3.4em;
  /* font-weight: bold; */
}

.responsive-block ul .smalltext {
  display: block;
  vertical-align: top;
  font-size: 0.8em;
  font-size: 1em;
  position: relative;
  top: -3.2em;
  top: -3.0em;
  left: 3.4em;
  font-weight: lighter;
}

/* ------------------------------
------------ Tiles --------------
------------------------------ */

.tile {
  height: 200px;
  width: 200px;
  overflow: hidden;
  z-index: 20;
  color: #FFFFFF;
  display: inline-block;
  margin: 5px;
}
.tile.landscape {
  height: 200px;
  width: 300px;
}
.tile.portrait {
  height: 300px;
  width: 200px;
}

.tile img {
  transition: all 0.3s linear;
  width: inherit;
  height: inherit;
  object-fit: cover;
  padding: 0;
  border: none;
  max-width: 100%;
  vertical-align: middle;
  border: 0;
  -ms-interpolation-mode: bicubic;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  pointer-events: none;
}
.tile img {
  transition: all 0.3s linear;
}
.tile:hover img {
  transform: scale(1.2);
  transform: scale(1.1);
}
.tile:active img {
  transform: scale(1.0);
}

.tile div.tile-overlay {
  z-index: 100;
  position: sticky;
  display: block;
  bottom: 0;
  min-height: 36px;
  padding: 10px 20px;
  background-color: inherit;
  left: 0;
  right: 0;
}

.tile div.tile-overlay.transparent {
  background-color: rgba(0, 0, 0, 0.7);
}

.tile div.tile-overlay .title {
  max-height: 44px;
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
  overflow: hidden;
  text-align: left;
  font-size: 1.2em;
}

.tile div.tile-overlay .text {
  max-height: 72px;
  font-size: 14px;
  font-weight: 300;
  line-height: 18px;
  overflow: hidden;
  text-align: left;
}


/* --- Live-Tile --- */

.tile.bounce {
  cursor: pointer;
}

/*
.tile.bounce {
  cursor: pointer;
  outline: 1px solid transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all .2s ease;
  -moz-transition: all .2s ease;
  -o-transition: all .2s ease;
  transition: all .2s ease;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  -moz-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
  -webkit-transform-origin: 50% 50%;
  -moz-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  -o-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
}

.tile.bounce.bounce-c {
  filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.95, M12=0, M21=0, M22=0.95);
  -webkit-transform: scale(0.95);
  -ms-transform: scale(0.95);
  -moz-transform: scale(0.95);
  -o-transform: scale(0.95);
  transform: scale(0.95);
}
.tile.bounce.bounce-t {
  -webkit-transform: rotateX(20deg);
  -ms-transform: rotateX(20deg);
  -moz-transform: rotateX(20deg);
  -o-transform: rotateX(20deg);
  transform: rotateX(20deg);
  -webkit-transform-origin: 0% 100%;
  -moz-transform-origin: 0% 100%;
  -ms-transform-origin: 0% 100%;
  -o-transform-origin: 0% 100%;
  transform-origin: 0% 100%;
}
.tile.bounce.bounce-b {
  -webkit-transform: rotateX(-20deg);
  -ms-transform: rotateX(-20deg);
  -moz-transform: rotateX(-20deg);
  -o-transform: rotateX(-20deg);
  transform: rotateX(-20deg);
  -webkit-transform-origin: 50% 0%;
  -moz-transform-origin: 50% 0%;
  -ms-transform-origin: 50% 0%;
  -o-transform-origin: 50% 0%;
  transform-origin: 50% 0%;
}
.tile.bounce.bounce-r {
  -webkit-transform: rotateY(20deg);
  -ms-transform: rotateY(20deg);
  -moz-transform: rotateY(20deg);
  -o-transform: rotateY(20deg);
  transform: rotateY(20deg);
  -webkit-transform-origin: 0% 50%;
  -moz-transform-origin: 0% 50%;
  -ms-transform-origin: 0% 50%;
  -o-transform-origin: 0% 50%;
  transform-origin: 0% 50%;
}
.tile.bounce.bounce-l {
  -webkit-transform: rotateY(-20deg);
  -ms-transform: rotateY(-20deg);
  -moz-transform: rotateY(-20deg);
  -o-transform: rotateY(-20deg);
  transform: rotateY(-20deg);
  -webkit-transform-origin: 100% 50%;
  -moz-transform-origin: 100% 50%;
  -ms-transform-origin: 100% 50%;
  -o-transform-origin: 100% 50%;
  transform-origin: 100% 50%;
}
.tile.bounce.bounce-tl {
  -webkit-transform: rotateX(10deg) rotateY(-10deg);
  -ms-transform: rotateX(10deg) rotateY(-10deg);
  -moz-transform: rotateX(10deg) rotateY(-10deg);
  -o-transform: rotateX(10deg) rotateY(-10deg);
  transform: rotateX(10deg) rotateY(-10deg);
}
.tile.bounce.bounce-tr {
  -webkit-transform: rotateX(10deg) rotateY(10deg);
  -ms-transform: rotateX(10deg) rotateY(10deg);
  -moz-transform: rotateX(10deg) rotateY(10deg);
  -o-transform: rotateX(10deg) rotateY(10deg);
  transform: rotateX(10deg) rotateY(10deg);
}
.tile.bounce.bounce-bl {
  -webkit-transform: rotateX(-10deg) rotateY(-10deg);
  -ms-transform: rotateX(-10deg) rotateY(-10deg);
  -moz-transform: rotateX(-10deg) rotateY(-10deg);
  -o-transform: rotateX(-10deg) rotateY(-10deg);
  transform: rotateX(-10deg) rotateY(-10deg);
}
.tile.bounce.bounce-br {
  -webkit-transform: rotateX(-10deg) rotateY(10deg);
  -ms-transform: rotateX(-10deg) rotateY(10deg);
  -moz-transform: rotateX(-10deg) rotateY(10deg);
  -o-transform: rotateX(-10deg) rotateY(10deg);
  transform: rotateX(-10deg) rotateY(10deg);
}
*/

  
/* ------------------------------
------------- Vex ---------------
------------------------------ */

.vex-content {
  background-color: var(--main-bg-color) !important;
  background-color: var(--main-bg-light-color) !important;
  color: var(--main-txt-color) !important;

}