﻿/*
Tapanilan Erä ry:n keilajaoston kotisivujen kuvaustiedosto
*/

a {
	text-decoration: none;
	color: #000000;
}

a:hover {
	color: #3F6ABF;
}

body {
	background-image: url("back.jpg");
	font-family: Verdana, sans-serif;
	text-align: justify;
	height: 100%;
}

ul {
	text-align: left;
	margin-top: 0px;
	margin-left: 50px;
	margin-right: 50px;
}

.content {
	background-color: #ffffff;
	width: 850px;
	border-style: solid;
	border-width: 1px 50px;
	border-color: #558DE9;
	margin-top: 80px;
	margin-bottom: 80px;
	padding-bottom: 50px;
}

p {
	text-align: justify;
	font-size: 1em;
	margin-left: 50px;
	margin-right: 50px;
	margin-bottom: 0px;
}

.bar {
	align: center;
	display: inline-block;
	margin-left: 5px;
	margin-right: 5px;
	margin-top: 20px;
	margin-bottom: 5px;
}

#brick {
	text-align: center;
	width: 150px;
	display: inline-block;
}

#bantxt {
	text-align: center;
	margin-left: 320px;
	margin-right: 20px;
	margin-top: 0px;
	padding-top: 50px;
}

.banner {
	height: 300px;
	width: 850px;
}

#bold {
	font-weight: bold;
	color: #3F6ABF;
}

#heavy:hover {
	font-weight: bold;
	color: #3F6ABF;
}

#frontpage {
	background-image: url("logo.png");
	background-position: 50px 50px; 
	background-size: 200px 200px;
	background-repeat: no-repeat;
}

h3 {
	text-align: center;
	color: #3F6ABF;
	font-size: 3em;
	margin-top: 50px;
	text-shadow: rgba(3, 3, 3, 0.75) 2px 2px 2px;
}

h5 {
	text-align: center;
	color: #3F6ABF;
	font-size: 2em;
	margin-top: 50px;
	text-shadow: rgba(3, 3, 3, 0.75) 2px 2px 2px;
}

#small {
	font-size: 0.75em;
	margin-top: 10px;
}

#botlinks {
	align: center;
	display: inline-block;
	margin-left: 5px;
	margin-right: 5px;
	margin-top: 40px;
	margin-bottom: 5px;
}

.tbox {
	align: center;
	border-style: solid;
	border-width: 2px 0px;
	border-color: #558DE9;
	margin-bottom: 30px;
	width: 750px;
}

.trow {
	display: block;
}

.tinfo {
	width: 220px;
	display: inline-block;
	font-size: 0.85em;
}


.tablink {
  float: left;
  border: none;
  outline: none;
  cursor:pointer;
  padding:5px 0px 5px;
  font-size: 14px;
  width: 16.666%;
  font-weight: bold;
  color: #3F6ABF;
  margin-bottom: 50px;
}

.tablink:hover {
  background-color:#99CCFF;
}

.tabcontent {
  height: 100%;
}

.tab {
  overflow: hidden;
  border-style: solid;
  border-width: 2px 0px;
  border-color: #558DE9;
  width: 750px;
 }
.tab button {
  background-color: inherit;
  float:none;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
}

.tab button:hover {
  background-color: #99CCFF;
}

.tab button.active {
  background-color: #99CCFF;
}

.tabcontents {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
}

.triplatablink {
  float: left;
  border: none;
  outline: none;
  cursor:pointer;
  padding:5px 0px 5px;
  font-size: 14px;
  width: 25%;
  font-weight: bold;
  color: #3F6ABF;
  margin-bottom: 50px;
}

#ilmoitus {
	color:#3F6ABF
}

.events-table {
  width: 100%;
  max-width: 700px;
  margin: 25px 50px;
  display: flex;
  flex-direction: column;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
}

.event-row {
  display: flex;
  border-bottom: 1px solid #eee;
  padding: 10px;
}

.event-row.header {
  background-color: #f0f0f0;
}

.event-row:last-child {
  border-bottom: none;
}

.event-date {
  width: 30%;
  padding-right: 10px;
}

.event-name {
  width: 70%;
  padding-left: 10px;
  text-align: left;
}