html, body {
	margin: 0;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	height: 100%;
	scroll-padding-top: 2rem;
}
input, select, button, textarea {
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	background-color: aliceblue;
}
input[type=checkbox], input[type=radio] {
	height: 20px;
	width: 20px;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number]{
  width: 40px;
  -moz-appearance: textfield;
} 
p {
	margin-top: 5px;
}
a {
	text-decoration: none;
	color: blue;
}
a:hover {
	text-decoration: underline;
}
a.selected {
	color: red;
}
a.hinne {
    color: black;
    text-decoration: none;
}
/*
a.tooltip {
	outline:none; 
	z-index:10; 
	display:none; 
	padding:14px 20px; 
	margin-top:-30px; 
	margin-left: -520px; 
	width:400px; 
	line-height:16px; 
	text-align: left;
} 
a.tooltip span { 
	border-radius:4px; 
	box-shadow: 5px 5px 8px #CCC; 
}
*/
a.tooltip {outline:none; position: relative;} 
a.tooltip strong {line-height:30px;} 
a.tooltip:hover {text-decoration:none;} 
a.tooltip span {z-index:10; display:none; padding:14px 20px; bottom:-30px; margin-left: -520px; width:400px; line-height:16px; text-align: left;} 
a.tooltip:hover span {display:inline; position:absolute; color:#111; border:1px solid #DCA; background:#fffAF0;}
a.tooltip span {border-radius:4px; box-shadow: 5px 5px 8px #CCC; }

h1 {
	font-family: 'Roboto', sans-serif;
	font-size: 24px;
	font-weight: normal;
}
h2 {
	font-family: 'Roboto', sans-serif;
	font-size: 20px;
	font-weight: normal;
}
h3 {
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: bold;
}
ol li {
	margin: 0 0 6px 0;
}

.foorum th, .foorum td {
	padding: 5px; 
	border: 1px solid #ddd;
}
.foorum tr:nth-child(even) {
	background-color: #f2f2f2
}
.foorum th {
	background-color: #e6e6ff; 
	text-align: center; 	
	position: sticky;
	top: 0;	
}	
.foorum tr:hover {
	background-color: #ffff99;
}
.foorum, .leht1, .leht2 {
	border-collapse: collapse; 
}
.joonega {
	border: 1px solid grey;
}
table.joonega {
	border-spacing: 0px;
	border-collapse: collapse;
}



.leht1 th, .leht1 td, .leht2 th, .leht2 td {
	border: 1px solid black;
	padding: 3px;
}

table.leht1 {
	page-break-after: avoid
}
table.leht2 {
	page-break-after: always
}

div.tun1, td.tun1, th.tun1 {font-size: 10pt; font-family:Verdana,Arial;}
td.tun2, th.tun2 {font-size: 8pt; font-family:Verdana,Arial;}
td.tun3 {font-size: 12pt; font-family:Verdana,Arial; font-weight:normal; margin-top: 20px;}

/* lahtrid */
input[type=text], input[type=password], input[type=email], input[type=number],textarea {
    padding: 3px; 
    border: 1px solid grey; 
    -webkit-border-radius: 3px;
    border-radius: 3px;
}
input[type=text]:focus, input[type=password]:focus {
	border: 1px solid black; 
}
input.login {
	height: 20px;
	padding: 5px; 
	font-size: 16px;
	width: 90%;
}

/* nupud */
button, input[type=submit] {
  -webkit-border-radius: 3;
  -moz-border-radius: 3;
  border-radius: 3px;
  font-family: 'Roboto', sans-serif;
  color: #000000;
  background: #e6e6ff;
  padding: 3px 8px 3px 8px;
  border: solid grey 1px;
  text-decoration: none;
  -webkit-appearance: none;
}
button:hover, input[type=submit]:hover {
  background: #9999ff;
  text-decoration: none;
  color: white;
}
button.suur {
	padding: 0; 
	height: 30px; 
	font-size: 16px;
}

/* ülemine menüüriba */
ul.topnav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #e6e6ff;
}
ul.topnav li {
	float: left;
}
ul.topnav li.right {
	float: right;
}
ul.topnav li a {
  display: block;
  color: black;
  text-align: center;
  padding: 5px 10px 5px 10px;
  text-decoration: none;
}
ul.topnav li a:hover:not(.active) {
	background-color: #9999ff;
	color: white;
}
ul.topnav li a.active {
	background-color: white;
}


/* teine menüüriba */
ul.top2nav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: white;
}
ul.top2nav li {
	float: left;
}
ul.top2nav li a {
  display: block;
  color: blue;
  text-align: center;
  padding: 5px 10px 5px 10px;
  text-decoration: none;
}
ul.top2nav li a:hover:not(.active) {
	background-color: mistyrose;
	color: blue;
}
ul.top2nav li a.active {
	background-color: white;
	color: red;
}
ul.top2nav li.right {
	float: right;
	white-space: nowrap;	
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}