@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 700;
  src: local('Roboto Condensed Bold'), local('RobotoCondensed-Bold'), url('img/RobotoCondensed-Bold.ttf') format('truetype');
}
@font-face {
  font-family: 'Roboto Condensed Bold';
  font-style: normal;
  font-weight: 700;
  src: local('Roboto Condensed Bold'), local('RobotoCondensed-Bold'), url('/res/fonts/RobotoCondensed-Bold.ttf') format('truetype');
}
@font-face {
  font-family: 'Roboto Condensed Regular';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto Condensed Regular'), local('RobotoCondensed-Regular'), url('/res/fonts/RobotoCondensed-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Roboto Condensed Light';
  font-style: normal;
  font-weight: 300;
  src: local('Roboto Condensed Light'), local('RobotoCondensed-Light'), url('/res/fonts/RobotoCondensed-Light.ttf') format('truetype');
}
@font-face {
  font-family: 'Roboto Regular';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto Regular'), local('Roboto-Regular'), url('/res/fonts/Roboto-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Roboto Bold';
  font-style: normal;
  font-weight: 700;
  src: local('Roboto Black'), local('Roboto-Black'), url('/res/fonts/Roboto-Black.ttf') format('truetype');
}
html {
  font-size: 100%;
}
body {
  margin: 0;
  font-family: sans-serif;
  background-color: black;
  min-width: 900px;
  color: black;
}
@media only screen and (max-width: 768px) {
  body {
    min-width: auto;
  }
}
a {
  color: black;
}
a:hover {
  color: black;
}
div.otse a {
  color: white !important;
  text-decoration: underline !important;
}
#old {
  background-color: black;
  color: white;
  display: inline-block;
}
#old a {
  text-decoration: none;
  background-color: #545454;
  color: white;
  padding: 1px 5px;
  border-radius: 5px;
  margin: 0 1px;
}
#old a:hover {
  background-color: #EC1C24;
  color: white;
}
div.aadress {
  background-color: black;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-style: 85%;
  padding: 8px 6px;
  border-radius: 0 0 9px 0;
  color: white;
  font-size: 90%;
  text-align: center;
}
div.aadress div.aadressBlock {
  display: inline-block;
  margin: 0 8px;
}
@media only screen and (max-width: 768px) {
  div.aadress div.aadressBlock {
    display: block;
    margin: 0;
    padding: 3px 0;
  }
}
div.aadress a {
  color: white;
}
div.aadress a:hover {
  color: #EC1C24;
}
div.aadress span.headerLight {
  font-family: 'Roboto Condensed Light', sans-serif;
}
div.aadress div.social {
  margin-right: 6px;
  vertical-align: middle;
  display: inline-block;
}
div.aadress div.social a {
  display: inline-block;
  margin: 5px 3px 0 3px;
}
div.aadress div.social a img {
  height: 1.2em;
  display: inline-block;
}
div.aadress div.social a:first-child {
  margin-left: 0;
}
div.aadress div.social a:last-child {
  margin-right: 0;
}
#header {
  background-color: black;
  background-image: url('img/headerBackground.jpg');
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  text-align: center;
  padding-top: 30px;
  box-shadow: 0 0 10px 1px rgba(0,0,0,0.6);
  -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.6);
  position: relative;
  z-index: 2;
}
#header img {
  height: 30vh;
  border: 0;
  display: block;
  margin: 0 auto;
}
@media only screen and (max-width: 768px) {
  #header img {
    height: 20vh;
  }
}
#menu {
  background-color: black;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 115%;
  text-align: center;
  color: white;
  padding: 5px;
  box-shadow: 0 0 10px 1px rgba(0,0,0,0.6);
  -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.6);
  position: relative;
  z-index: 1;
}
#menu a {
  text-decoration: none;
  display: inline-block;
  color: inherit;
  padding: 3px 10px 3px 10px;
  border-radius: 3px;
  margin: 0 2px;
}
#menu a:first-child {
  margin-left: 0;
}
#menu a:last-child {
  margin-right: 0;
}
#menu a:hover {
  color: black;
  background-color: white;
}
#menu a.active {
  background-color: #EC1C24;
  color: white;
}
#container {
  background-color: white;
}
#container #main {
  margin: 0 auto;
  padding: 10px 0;
  width: 850px;
}
@media only screen and (max-width: 768px) {
  #container #main {
    padding: 10px;
    width: auto;
  }
}
#container #main h1,
#container #main h2,
#container #main h3 {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 165%;
  color: #EC1C24;
}
#container #main h1 a,
#container #main h2 a,
#container #main h3 a {
  color: inherit;
}
#container #main h2 {
  font-size: 130%;
  color: #EC1C24;
}
#container #main h3 {
  font-size: 110%;
  color: black;
}
#container #main p {
  font-size: 90%;
  text-align: justify;
}
#container #main p img.wide {
  display: block;
  max-width: 100%;
  outline: 1px solid black;
}
#container #main p img.center {
  display: block;
  max-width: 500px;
  margin: 0 auto;
  outline: 1px solid black;
}
#container #main p img.centerMulti {
  display: inline-block;
  max-width: 270px;
  margin: 0 auto;
  outline: 1px solid black;
}
#container #main p img.centerMulti:first-child {
  margin-right: 10px;
}
#container #main p img.small {
  display: block;
  max-width: 175px;
  outline: 1px solid black;
  float: left;
  margin: 5px 10px 5px 0;
}
#container #main p img.small-right {
  float: right;
  margin: 5px 0 5px 10px;
}
#container #main p strong {
  color: black;
}
#container #main p.accent2 {
  color: white;
  font-style: italic;
}
#container #main p.allkiri {
  font-size: 80%;
  text-align: center;
  color: black;
  font-style: italic;
  margin-top: 0;
}
#container #main div.formValue {
  font-size: 80%;
  color: black;
  margin: 8px 0;
}
#container #main div.formValue span {
  display: block;
  font-size: 120%;
  font-weight: bold;
  color: black;
}
#container #main div.formValue span a {
  color: inherit;
}
#container #main p.liid {
  font-weight: bold;
  color: black;
}
#container #main p.desc {
  margin-top: -1.2em;
  font-size: 80%;
  font-style: italic;
}
#container #main p.autor {
  font-size: 80%;
  font-style: italic;
}
#container #main p.KorraldajadCloud {
  text-align: center;
  margin: 30px 0;
}
#container #main p.KorraldajadCloud img {
  width: 65%;
}
#container #main div.smallfloater {
  font-size: 70%;
  font-style: italic;
  color: black;
  float: left;
  margin: 5px 10px 10px 0;
}
#container #main div.smallfloater img {
  display: inline-block;
  width: 175px;
  outline: 1px solid black;
  margin-bottom: 0px;
  margin-left: 10px;
}
#container #main div.smallfloater img:first-child {
  margin-left: 0;
}
#container #main p.allkiri {
  font-style: italic;
  margin-top: -10px;
  font-size: 80%;
}
#container #main li {
  font-size: 90%;
}
#container #main li span {
  float: right;
}
#container #main form p {
  font-size: 75%;
}
#container #main form p em {
  color: red;
}
#container #main form input[type=text],
#container #main form textarea {
  width: 400px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}
#container #main form textarea {
  font-family: sans-serif;
  height: 150px;
}
#container #main div.pageMenu {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 100%;
}
#container #main div.pageMenu a {
  background-color: black;
  color: white;
  border-radius: 3px;
  display: inline-block;
  padding: 3px 8px;
  text-decoration: none;
  margin: 0 2px;
}
#container #main div.pageMenu a:hover {
  color: #EC1C24;
}
#container #main div.pageMenu a:first-child {
  margin-left: 0;
}
#container #main div.pageMenu a:last-child {
  margin-right: 0;
}
#container #main div.korraldajad h1.korraldajaBigTitle {
  color: black;
  text-align: center;
  text-transform: uppercase;
  font-size: 400%;
}
@media only screen and (max-width: 768px) {
  #container #main div.korraldajad h1.korraldajaBigTitle {
    font-size: 200%;
  }
}
#container #main div.korraldajad div.korraldaja {
  margin: 2em 0;
  position: relative;
}
@media only screen and (max-width: 768px) {
  #container #main div.korraldajad div.korraldaja {
    margin: 2em 0;
  }
}
#container #main div.korraldajad div.korraldaja img {
  width: 100%;
  display: block;
}
#container #main div.korraldajad div.korraldaja div.korraldajaTitle,
#container #main div.korraldajad div.korraldaja div.korraldajaSisu {
  color: white;
  text-transform: uppercase;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 500%;
  bottom: -0.3em;
  right: -0.07em;
  position: absolute;
}
@media only screen and (max-width: 768px) {
  #container #main div.korraldajad div.korraldaja div.korraldajaTitle,
  #container #main div.korraldajad div.korraldaja div.korraldajaSisu {
    font-size: 300%;
  }
}
#container #main div.korraldajad div.korraldaja div.korraldajaSisu {
  bottom: -0.3em;
  left: -0.07em;
  font-size: 200%;
  opacity: 0.5;
}
@media only screen and (max-width: 768px) {
  #container #main div.korraldajad div.korraldaja div.korraldajaSisu {
    font-size: 175%;
    opacity: 0.6;
  }
}
#container #main div.korraldajad div.korraldaja div.korraldajaSisu:hover {
  opacity: 1;
}
#container #main table.osalejad {
  border-collapse: collapse;
  width: 100%;
}
#container #main table.osalejad tr.alt {
  background-color: #e6e6e6;
}
#container #main table.osalejad tr.finalTabelSelected {
  background-color: pink;
}
#container #main table.osalejad tr.final {
  background-color: black;
  color: white;
}
#container #main table.osalejad tr.final a {
  color: inherit;
}
#container #main table.osalejad tr.final a:hover {
  color: #EC1C24;
}
#container #main table.osalejad th {
  padding: 5px;
}
#container #main table.osalejad td.center {
  text-align: center;
}
#container #main table.osalejad td {
  padding: 3px;
  border: 1px solid black;
  font-size: 90%;
}
#container #main table.osalejad td input.punktideLahter {
  width: 2.2em;
  text-align: center;
}
#container #main table.osalejad td.audio {
  width: 50px;
  text-align: right;
}
#container #main table.osalejad td.audio audio {
  width: 300px;
  height: 30px;
}
#container #main table.osalejad td.highlight {
  background-color: black;
  color: white;
  font-weight: bold;
  font-size: 130%;
}
#container #main table.osalejad td.cellHighlight {
  background-color: lightgreen;
}
#container #main div.selfies {
  text-align: center;
  padding: 30px 0px;
}
#container #main div.selfies img {
  position: relative;
  max-height: 250px;
  display: inline-block;
  border: 3px solid black;
  margin: -8px;
  vertical-align: middle;
}
#container #main div.selfies img:hover {
  border-color: black;
}
#container #main div.ifembed {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 53%;
}
#container #main div.ifembed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#footer {
  background-color: white;
  border-top: 4px solid black;
  border-bottom: 4px solid black;
  padding: 8px 10px 8px 10px;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: 0 0 10px 1px rgba(0,0,0,0.6);
  -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.6);
  font-size: 70%;
  color: black;
  font-weight: bold;
}
#footer img {
  max-height: 50px;
  display: inline-block;
  max-width: 200px;
  margin: 2px;
  vertical-align: middle;
}
#footer img:first-child {
  margin-left: 0;
}
#footer img:last-child {
  margin-right: 0;
}
#footer ul {
  padding: 0;
  margin: 0;
}
#footer ul li {
  display: inline-block;
  margin: 2px;
  background-color: white;
  padding: 3px 6px;
  border-radius: 3px;
}
div.separator {
  clear: both;
}
#solAdmin {
  background-color: white;
}
#solAdmin p.admNotification {
  background-color: black;
  color: white;
  border: 1px solid black;
  margin: 10px;
  padding: 10px;
}
#solAdmin #admMenu {
  text-align: center;
  background-color: black;
  margin: 0;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  padding: 8px;
  color: white;
}
#solAdmin #admMenu a {
  text-decoration: none;
  display: inline-block;
  padding: 2px 8px 2px 8px;
  border-radius: 3px;
  background-color: white;
  color: black;
  margin: 0 2px;
}
#solAdmin #admMenu a:hover {
  color: black;
}
#solAdmin #admForm1 {
  float: left;
  width: 200px;
  background-color: #d9d9d9;
  margin: 10px;
  padding: 10px;
}
#solAdmin #admForm1 select {
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 10px;
}
#solAdmin #admForm2 {
  background-color: #f2f2f2;
  margin: 10px;
  margin-left: 240px;
  padding: 10px;
}
#solAdmin #admForm2 textarea,
#solAdmin #admForm2 input[type=text] {
  box-sizing: border-box;
  width: 100%;
}
#solAdmin #admForm2 textarea {
  height: 400px;
  font-family: sans-serif;
  font-size: 80%;
}
#solAdmin #admForm2 p:first-child {
  margin-top: 0;
}
#solAdmin #admForm2 p:last-child {
  margin-bottom: 0;
}
p.korraldajadAllkiri {
  font-family: 'Roboto Condensed Bold', sans-serif;
  color: black;
  font-size: 110% !important;
  text-align: center !important;
  margin-top: 0.2em;
}
p.korraldajadParag {
  font-family: 'Roboto Condensed Bold', sans-serif;
  font-size: 110% !important;
}
p.korraldajadParag2 {
  font-family: 'Roboto Condensed Light', sans-serif;
  font-size: 110% !important;
}
img.korraldajadWide {
  border: 10px solid black;
  box-sizing: border-box;
  border-radius: 15px;
  outline: none !important;
  box-shadow: 0 0 15px 1px rgba(0,0,0,0.4);
}
