/* 288..576 pixels width is considered here */
html {
  /* 4.5px @200px */
  /* 9px @400px */
  font-size: calc(max(1.8vw, 1px));
}

@media (min-width: 576px) {
  /* 600: 11px */
  /* 750: 13.5px */
  html {
    font-size: calc(11px + (1.6vw - 10.2px));
  }
}

@media (min-width: 768px) {
  /* 800: 9.5px */
  /* 950: 11px */
  html {
    font-size: calc(9.5px + (0.9vw - 8px));
  }
}

@media (min-width: 992px) {
  html {
    /* hit 7px @ 1200px and scale */
    /* font-size: 0.5833vw; */
    /* hit 12px @ 1100px and scale */
    /* font-size: 1.1vw */
    font-size: 0.8vw
  }
}

/* aim:
@media (min-width: 1100px) {
  html {
    font-size: 12px;
  }
}
*/


body {
  font-family: 'Open Sans', serif;
  color: #f8d890;
  background-color: #333333;
  font-size: 1.4rem;
}

div.page-wrapper {
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
}

div.page-content {
  overflow-y: scroll;
}

p {
  margin: 0.5rem 0 0.5rem 0;
}

#header {
  background-image: linear-gradient(#606060, #333333);
  color: #ffeedd;
}

/* I think this helps aligning content - I might be fighting an illusion
   Sort of trying to align "Downloads with Bre... and other 'left-flat'
   characters" */
h5 a:link, h5 a:visited, h5 a:hover, h5 a:active {
  color: #777777;
}

h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  margin-left: -4px; /* should depend on the title first letter */
  font-size: 2.3rem;
  color: inherit;
}

h2 a:hover {
  color: #ddccbb;
}

h2 a, h2 a:hover, h2 a:visited {
  cursor: pointer;
}

.frame-content h3 {
  font-size: 2rem;
}

.frame-content {
  margin-left: 0px;
}

strong {
  color: #fcecb0;
}

#fine-bar {
  font-size:0px;
  height:1px;
  background-color:#642;
  height: 2px;
  margin-bottom: 1.5rem;
}

#copyright-notice, #company-info {
  color: #777777;
  font-size: 0.85rem;
  margin-top: 0;
}

.company-info {
  line-height: 1.4rem;
}

#template-footer-top {
  margin-top: 5rem;
}

.below-frame-content {
  margin-top: 2rem;
}

.template-footer {
  padding-left: 18px;
}

ul {
  list-style-type: disc;
  list-style-position: outside;
  padding-left: 1em;
}

ul li::before {
  /* content: "•"; */
  color: #f8d890;
  padding-left: 0px;
  padding-right: 10px;
}

li {
  margin-top: 0.25em;
  margin-bottom: 0.25em;
}

h3 {
  /* color: #f8d890; */
  color: #ffeedd;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

h4 {
  /* color: #f8d890; */
  color: #ffddcc;
  margin-top: 1.5rem;
  margin-bottom: 1.2rem;
  font-size: 1.9rem;
}

div .news-timestamp {
  margin-bottom: 2.5rem;
  margin-left: 0.1rem;
}

div .store-banner {
  margin-top: 2.5rem;
  margin-bottom: 2rem;
}

.slogan {
  margin: 0rem 0px 1rem 0px;
  color: #f8d890;
  font-size: 1.3rem;
}

/* make it an unlinebroken great tremendous sloganesse */
@media (min-width: 576px) and (max-width: 768px) {
  .slogan {
    font-size: 1.2rem;
  }
}

@media (min-width: 992px) {
  .slogan {
    font-size: 1.3rem;
  }
}

.newsflash-column {
  margin-top: 1.2rem;
  margin-bottom: 1.5rem;
}

div.frame-content {
  margin-top: 2rem;
  font-size: 1.7rem;
}


table {
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}


th, td {
  text-align: center;
}

tr {
  border: 1px solid #707070;
}

td, th {
  padding-left: 10px;
  padding-right: 10px;
  border-right: 1px solid #707070;
}

th {
  color: #f8d890;
}

a, a:focus {
    color: #eeddaa;
    font-weight: bold;
    text-decoration: none;
}

a:visited {
    font-weight: normal;
    color: #ddcc99;
    text-decoration: none;
}

a:hover {
    color: #ffeedd;
    text-decoration: none;
}

a#view-large {
    /* display: block;
    margin-top: -1rem;
    margin-bottom: 1.5rem; */
    margin-left: 5rem;
}

h1 a, h2 a, h3 a, h4 a, h5 a, a strong,
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, a:hover strong {
  text-decoration: none;
}

h2 a, h2 a:visited, h2 a:hover, h2 a:focus {
    font-weight: normal;
    color: #ffeedd;
    text-decoration: none;
}

h5 a, h5 a:visited, h5 a:hover, h5 a:focus {
    text-decoration: none;
}

hr {
    margin: 4rem 0 4rem 0;
    border: 1px solid #282828;
}

div .embed-responsive {
    margin: 2.5rem 0 3rem 0;
}

div .image-embed {
    margin: 2.5rem 0 2.5rem 0;
}

div .image-embed.gallery {
    margin-bottom: 0.5rem;
    text-align: center;
    font-size: 1rem;
}

div .zoom {
  background-color: #333333;
}

div .image-embed.gallery span, div .image-embed.gallery img {
  max-width: 100%;
  max-height: 200px;
  cursor: pointer;
  object-fit: contain;
  object-position: center;
}

.image-embed.gallery.notarget img {
  cursor: default;
}

.frame-content img, .frame-content span {
    width: 50%;
}

.page-wrapper .col-xl-6 {
  padding-left: 5vw;
  padding-right: 5vw;
}

code {
  color: #ccc;
}


/* is this needed at all? */
* {
  box-sizing: border-box;
}

.zoom {
  /* padding: 50px; */
  /* background-color: green; */
  transition: transform .2s;
  /* width: 200px;
  height: 200px; */
  /* margin: 0 auto; */
}

/* .zoom:hover { */
  /* -ms-transform: scale(2.5) translate(30%,0); /* IE 9 */
  /* -webkit-transform: scale(2.5) translate(30%,0); /* Safari 3-8 */
  /* transform: scale(2.5) translate(30%,0);  <!--  rotate(360deg) --> */
/* } */

.zoom:hover {
  -ms-transform: scale(2); /* IE 9 */
  -webkit-transform: scale(2); /* Safari 3-8 */
  transform: scale(2);  <!--  rotate(360deg) -->
}
