*,
*:before,
*:after {
  box-sizing: inherit;
}

/* Variables
================================== */
/* Tables
================================== */
.Rtable {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 0.3em 0;
  padding: 0.2;
}

.Rtable-cell {
  box-sizing: border-box;
  flex-grow: 1;
  width: 100%;
  padding: 0.2em 0.2em;
  overflow: hidden;
  list-style: none;
  border: none;
  background: rgba(30, 30, 30);
  justify-content: center;
  vertical-align: middle;
}

.Rtable-cell>h1,
.Rtable-cell>h2,
.Rtable-cell>h3,
.Rtable-cell>h4,
.Rtable-cell>h5,
.Rtable-cell>h6 {
  margin: 0;
}

/* Table column sizing
================================== */
.Rtable--2cols>.Rtable-cell {
  width: 50%;
}

.Rtable--3cols>.Rtable-cell {
  width: 33.33%;
}

.Rtable--4cols>.Rtable-cell {
  width: 25%;
}

.Rtable--5cols>.Rtable-cell {
  width: 20%;
}

.Rtable--6cols>.Rtable-cell {
  width: 16.6%;
}

html {
  height: 100%;
  background-color: rgb(30, 30, 30);
}

/* adjust typography defaults */
body {
  box-sizing: border-box;
  min-height: 100%;
  margin: 0 auto;
  padding: 0.5em;
  max-width: 800px;
  font-family: 'Open Sans Condensed', sans-serif;
  font-size: 1.2em;
  line-height: 1.5;
  background-color: rgb(30, 30, 30);
  color: rgb(255, 255, 255);
  /*border: double 3px rgb(91, 194, 253); */
  border-top: none;
  border-bottom: none;
}

video {
  background-color: rgb(30, 30, 30);
  width: 90%;
  max-width: 300px;
}


img {
  background-color: rgb(20, 20, 20);
  height: auto;
  width: 90%;
  max-width: 300px;
  max-height: 300px;
  vertical-align: middle;
  box-sizing: border-box;
}

label {
  font-family: 'Open Sans Condensed', sans-serif;
  font-size: 12pt;
  color: rgb(255, 255, 255)
}

#events {
  font-family: Consolas, Monaco, Lucida Console, monospace;
  font-size: 10pt;
}

#albumart {
  width: 90%;
  height: auto;
  max-width: 300px;
  max-height: 300px;
  vertical-align: middle;
  box-sizing: border-box;
}

#streamslogo {
  width: 120px;
  height: auto;
  max-width: 120px;
  margin-top: 5px;
}

#songtitle {
  width: 100%;
  max-width: 400px;
  font-family: 'Open Sans Condensed', sans-serif;
  font-weight: bold;
  font-size: 5.4vw;
  max-font-size: 18px;
  min-font-size: 12px;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  margin-bottom: 0px;
}

#artist {
  width: 100%;
  margin-bottom: 8px;
  max-width: 400px;
  font-family: 'Open Sans Condensed', sans-serif;
  font-size: 5vw;
  max-font-size: 14px;
  min-font-size: 10px;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

#songartist {
  width: 100%;
  margin-bottom: 8px;
  max-width: 400px;
  font-family: 'Open Sans Condensed', sans-serif;
  font-size: 5vw;
  max-font-size: 14px;
  min-font-size: 10px;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

#songalbum {
  width: 100%;
  margin-bottom: 8px;
  max-width: 400px;
  font-family: 'Open Sans Condensed', sans-serif;
  font-weight: bold;
  font-size: 4.8vw;
  max-font-size: 13px;
  min-font-size: 9px;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  color:#48b4db;
}

#stationname {
  width: 100%;
  margin-top: 6px;
  font-family: 'Open Sans Condensed', sans-serif;
  font-weight: bold;
  font-size: 12pt;
  text-align: center;
  line-height: 1.0;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

#slogan {
  width: 100%;
  font-family: 'Open Sans Condensed', sans-serif;
  font-size: 10pt;
  text-align: center;
  line-height: 2.0;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

#musicplayer {
  width: 90%;
  max-width: 300px;
  margin-top: 0px;
  justify-content: center;
}

#copyright {
  width: 100%;
  max-width: 400px;
  font-family: 'Open Sans Condensed', sans-serif;
  font-size: 2.2vw;
  max-font-size: 12px;
  min-font-size: 10px;
  line-height: 1.5;
  margin-top: 4px;
  margin-bottom: 4px;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

#spacer {
  width: 0% height: 0px;
}

/* Apply styles
================================== */
.Rtable {
  position: relative;
  top: 3px;
  left: 3px;
}

.Rtable-cell {
  margin: -3px 0 0 -3px;
  background-color: rgb(30, 30, 30);
  border-color: #3187c9;
  vertical-align: middle;
}

/* Cell styles
================================== */
.Rtable-cell--dark {
  background-color: slategrey;
  border-color: #5a6673;
  color: white;
}

.Rtable-cell--dark>h1,
.Rtable-cell--dark>h2,
.Rtable-cell--dark>h3,
.Rtable-cell--dark>h4,
.Rtable-cell--dark>h5,
.Rtable-cell--dark>h6 {
  color: white;
}

.Rtable-cell--medium {
  background-color: #b8c0c8;
  border-color: #a9b3bc;
}

.Rtable-cell--light {
  background-color: white;
  border-color: #e2e6e9;
}

.Rtable-cell--highlight {
  background-color: lightgreen;
  border-color: #64e764;
}

.Rtable-cell--alert {
  background-color: darkorange;
  border-color: #cc7000;
  color: white;
}

.Rtable-cell--alert>h1,
.Rtable-cell--alert>h2,
.Rtable-cell--alert>h3,
.Rtable-cell--alert>h4,
.Rtable-cell--alert>h5,
.Rtable-cell--alert>h6 {
  color: white;
}

.Rtable-cell--head {
  background-color: slategrey;
  border-color: #5a6673;
  color: white;
}

.Rtable-cell--head>h1,
.Rtable-cell--head>h2,
.Rtable-cell--head>h3,
.Rtable-cell--head>h4,
.Rtable-cell--head>h5,
.Rtable-cell--head>h6 {
  color: white;
}

.Rtable-cell--foot {
  background-color: #b8c0c8;
  border-color: #a9b3bc;
}

/* Responsive
==================================== */
@media all and (max-width: 480px) {
  .Rtable--collapse {
    display: block;
  }

  .Rtable--collapse>.Rtable-cell {
    width: 100% !important;
  }

  .Rtable--collapse>.Rtable-cell--foot {
    margin-bottom: 0.5em;
  }
}

.no-flexbox .Rtable {
  display: block;
}

.no-flexbox .Rtable>.Rtable-cell {
  width: 100%;
}

.no-flexbox .Rtable>.Rtable-cell--foot {
  margin-bottom: 0.5em;
}

.tooltip {
position: relative;
display: inline-block;
border-bottom: 1 px dotted black;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  margin-left: -60px;
  
  /* Fade in tooltip - takes 1 second to go from 0% to 100% opac: */
  opacity: 0;
  transition: opacity 1s;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}
