text[text-anchor="middle"],
.side-bar p,
text {
  font-family: "Tahoma";
  color: #000;
  font-size: 12px;
  fill: #000;
}

body {
  background: #103a66;
  background: linear-gradient(180deg, rgb(16 58 102) 0%, rgba(0, 0, 0, 1) 100%);
  color: #000;
}

html {
  background: none;
}

.logo {
  background: url("//gf1.geo.gfsrv.net/cdncc/575b9cd0b11f7c9b407422db6dd5b1.png") no-repeat;
  background-size: contain;
  width: 100%;
  height: 119px;
  background-position: center;
}

#challenge-chart {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  order: 2;
  overflow-x: auto;
  overflow-y: hidden;
}

.events-challenge {
  display: flex;
  flex-direction: row;
  margin: 0 auto;
  width: 80%;
  position: relative;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 2px solid #5c3e3c;
  margin: 3% auto;
  padding: 0;
  width: 80%;
}

.side-bar {
  display: grid;
  /*flex-direction: column;*/
  /*justify-content: flex-end;*/
  position: absolute;
  height: auto;
  order: 1;
  /*width: 200px;*/
  z-index: 9999;
  font-family: "Tahoma";
  font-weight: bold;
}

.side-bar p:nth-child(1n) {
  background: #ffffdd;
}

.side-bar p:nth-child(2n) {
  background: #e6e6c7;
}

.side-bar {
  border-top: 1.5px solid transparent;
  border-right: 1px solid rgb(183, 183, 183);
}
.side-bar p {
  color: #000;
  margin: 0;
  align-items: center;
  justify-content: start;
  display: flex;
  padding: 0 22px;
}
.side-bar p:not(:first-child) {
  border-top: 1.3px solid transparent;
}

.bottom-bar {
  display: none;
  width: 80%;
  z-index: 9999;
  justify-content: center;
  flex-direction: column;
  height: 200px;
  align-items: center;
  margin: 24px auto 0;
  animation: identifier 1s;
}

#bottom-bar-content {
  display: none;
  border: 2px solid;
  width: 70%;
  max-width: 450px;
  padding: 16px 24px;
  background: #509100;
  border-radius: 3px;
  margin: 0 auto;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: "Tahoma";
  flex: 1 1 auto;
  font-size: .85rem;
}



text[text-anchor="middle"] {
  fill: #fff;
}

@keyframes identifier {
  from {
    height: 0;
  }
  to {
    height: calc(100% - 80%);
  }
}

/* width */
::-webkit-scrollbar {
  width: 8px;
  height: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #909090;
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #cfcfcf;
}

/* footer */
footer[role="contentinfo"] {
  position:relative;
  background: url('//gf1.geo.gfsrv.net/cdnc6/255ba6a25d1973f3ab43a19a690324.jpg') top center no-repeat;
  background-color:black;
  max-width: 960px;
  background-position-y: -310px;
  padding: 16px;
  margin: 0 auto;
}

/* footer */
footer[role="contentinfo"]>.container {
  text-align: center;
  font-size:10px;
  line-height: 11px;
  color:#ae9467;
  display: flex;
  font-family: Arial, Helvetica, sans-serif;
}

a.pegi {
  width:186px; 
  height:78px;
  border:1px solid white;
  padding:2px;
  order: 1;
  flex: 0 0 auto;
}
a.pegi>img {
  float:left;
  margin:2px;
  vertical-align: top;
}

footer[role="contentinfo"]>.container>div.usk-safe-play {
  order: 3;
  display: flex;
  flex: 0 0 auto;
}

footer[role="contentinfo"]>.container>div.usk-safe-play>a:first-of-type {
  margin-right: 10px;
}

footer[role="contentinfo"]>.container>div.copyrights {
  order: 2;
  padding-top: 40px;
  flex: 1 1 auto;
}

footer[role="contentinfo"]>.container>div.copyrights>p:first-of-type {
  width: 70%;
  margin: 0 auto;
  margin-bottom: 8px;
}

footer[role="contentinfo"]>.container>a.sitenotice {
  color: inherit;
}

a.sitenotice,
a.termsconditions,
a.privacy {
  color:#ae9467;
  text-decoration:none;
}
a.sitenotice:hover,
a.termsconditions:hover,
a.privacy:hover {
  text-decoration: underline;
}
a.termsconditions:before,
a.termsconditions:after {
  content: '|';
  font-size:8px;
  padding:0px 8px;
}

a.gameforge4d {
  position:absolute;
  width:150px; 
  height:48px;
  top:0; 
  left:calc((100% / 960) * 514);
  text-indent:-9999px;
}

/* tooltip */
.tooltip-title {
  margin: 4px 0;
  text-transform: uppercase;
}

.tooltip-dates {
  font-size: .85rem;
  color: #444;
}

.tooltip-message {
  padding: 16px 0;
  padding-bottom: 8px;
}


@media only screen and (max-width: 768px) {

  .events-challenge {
    width: 100%;
  }

  footer[role="contentinfo"]>.container {
    flex-direction: column;
    align-items: center;
    padding-top: 42px;
    row-gap: 12px;
  }

  footer[role="contentinfo"]>.container>div.copyrights {
    padding-top: 0;
  }

  a.gameforge4d {
    left:calc((100% / 960) * 514 + 12px);
  }

}