﻿* {
  box-sizing: border-box;
}
body {
  justify-content: center;
  color: #333;
  font-size: 1rem;
  padding: 0;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  max-width: 1016px;
  background: #e5e5e5;
  box-shadow: 0 48px 80px -32px rgba(0,0,0,0.3);
}
.input {
  position: absolute;
  opacity: 0;
}
.label {
  width: auto;
  padding: 10px 10px;
  background: #e5e5e5;
  cursor: pointer;
  font-weight: bold;
  font-size: 18px;
  color: #7f7f7f;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
  transition: background 0.1s, color 0.1s;
}
.label:hover {
  background: #d8d8d8;
}
.label:active {
  background: #ccc;
}
.input:focus + .label {
  z-index: 1;
}
.input:checked + .label {
  background: #fff;
  color: #000;
}
.panel {
  display: none;
  order: 99;
  padding: 20px 30px 30px;
  background: #fff;
  width: 100%;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
}
.panel p {
  margin-top: 10px;
  margin-bottom: 0;
  padding: 0;
  font-size: 20px;
  line-height: 1.5;
}
.sor-img {
	display: none;
}
@media screen and (max-width: 600px) {
  body {
    display: flex;
	padding: 10px;
	background-size: contain !important;
  }
  .label {
    width: 100%;
  }
  .panel {
    order: inherit;
  }
  .sor {
	display: none;
  }
  .sor-img {
	display: flex;
    justify-content: center;
  }
  .sor-img > img {
	max-width: 100%;
	max-height: 100%;
  }
  .navbuttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;	
  }
  .sponsor img {
    max-width: 100%;
  }
}
.input:checked + .label + .panel {
  display: block;
}

/*
html {
  font-size: 13pt;
}

@media screen and (max-width: 1680px) {
  html {
    font-size: 11pt;
  }
}

@media screen and (max-width: 1280px) {
  html {
    font-size: 11pt;
  }
}

@media screen and (max-width: 980px) {
  html {
    font-size: 12pt;
  }
}

@media screen and (max-width: 736px) {
  html {
    font-size: 12pt;
  }
}

@media screen and (max-width: 480px) {
  html {
    font-size: 12pt;
  }
}
*/