html {
padding: 0;
margin: 0;
min-height:100vh;
}
input[type=text]::-ms-clear,input[type=password]::-ms-reveal,input[type=email]::-ms-clear{
	height:0;
	width:0;

}
a{
color:#0264ab;
text-decoration:none;
font-weight:bold;}
a:visited{color:#0264ab;}
ul{
	margin:5px;
}
#rmbmefakebox{
	 -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none;
}
.kuupaev{
	float:right; color:#404040;
	font-size:15px;
	font-weight:bold;
}
.ukuupaev{
	float:right; color:#404040;
	font-size:20px;
	line-height:25px;
	height:25px;
	font-weight:bold;
	margin-top:5px;
}
.uudisimg{
	float:left; width:80px; height:80px; margin:5px; padding:5px;
}
div.text
{
	position:relative;
	text-align:left;
	width:100%;
	padding:15px;
	padding-top:0;
	box-sizing:border-box;
	font-weight:bold;
	line-height:1.5;
	color:rgba(0,0,0,0.8);
}
h1{
	letter-spacing:1px;
	display:inline-block;
	margin:0;
	padding:0;
	font-size:30px;
	color:black;
	font-weight:bold;
	/*text-shadow: 1px 1px 0.5px rgba(0,0,0,0.9);*/
}
h1:after {

  background: black;
  content: "";
  display: block;
  height: 3px;
  position: relative;
  width: 150%;
  margin-top:-1px;
  margin-bottom:5px;
}
h2{
	letter-spacing:1px;
	display:inline-block;
	margin:0;
	padding:0;
	font-size:30px;
	font-weight:bold;
	color:black;
}
h2:after {
  background: black;
  content: "";
  display: block;
  height: 3px;
  position: relative;
  width: 150%;
  margin-top:-1px;
  margin-bottom:5px;
}
h3{
	color:black;
}
.uudiscontent h3{
	margin-top:25px;
	margin-bottom:5px;
	font-size:20px;
	color:black;
	letter-spacing:1px;
	width: fit-content;
	padding-left: 20px;
	padding-right: 20px;
	margin-left: -20px;
	margin-right: 15px;
	background-color: #422d0c6e;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
	}
.uudiscontent h3:first-child {
    margin-top:5px;
}
.newstext{
	display:inline;
}
.newsbox{
	overflow:hidden;
}
.newslink {
color:#0072C5;
text-decoration:none;
}
.newslink{
	text-decoration:none;
}
.newslink:hover{
	color:#331609;
}
p.text{
	padding:3px;
	text-align:left;
}
#mobnav{
	display:none;
}
hr{
	text-align:center;
	margin: 0 auto;
	margin-top:10px;
	margin-bottom:15px;
    border: 0;
    height: 2px;
    background-color: #564d37;
}
body{
background-image: url('../offimg/offbg.jpg');
position:relative;
font-family: "My Custom Font", Verdana, Tahoma;
top:0;
padding:0;
left:0;
width:100%;
margin:0;
font-size:1em;
max-height:100vh;
overflow-y: scroll;
letter-spacing:0.25px;
}
footer{
	height:32px;
	max-width:575px;
	width:100%;
	background-image: url('../offimg/ribbontaust.png');
background-repeat: repeat;
margin: 0 auto;
font-weight:bold;
text-align:center;
line-height:32px;
}
#main{
background-image: url('../offimg/ribbontaust.png');
background-repeat: repeat;
-webkit-font-smoothing: antialiased;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
	z-index:1;
	   -moz-box-shadow:    inset 0 0 10px #000000;
   -webkit-box-shadow: inset 0 0 10px #000000;
   box-shadow:         inset 0 0 10px #000000;
  box-shadow:2px 2px 3px black;
  position:relative;
  max-width:575px;
  min-height:400px;
  text-align:center;
  margin: 0 auto;
  margin-top:15px;
  margin-bottom:15px;
  overflow:hidden;
  padding-top:10px;
}
input:focus,
select:focus,
textarea:focus,
button:focus,
a:focus {
    outline: none;
}
#mobnavin li.menu:not(:first-child){
	display:inline-block;
}
form{
	margin:0;
	margin-block-end:0;
}
.inputbox{

margin:5px;
background-color:#e6cc96;
border:0;
border-radius:5px;
height:32px;
	min-width:230px;
	width:auto;
	padding-left:15px;
	padding-right:15px;
line-height:32px;
font-size:20px;
text-align:center;
color:#544d37;
font-family: "My Custom Font", Verdana, Tahoma;
font-weight:bold;
box-shadow: inset 1px 1px 1px #f2de9f, 1px 1px 1px #433d2b;
	-webkit-animation-fill-mode: forwards;
	animation-fill-mode: forwards;
}
.fbinputbox{
	background-color:#3b5998;
	color:#f7f7f7;
	box-shadow: inset 1px 1px 1px #dfe3ee, 1px 1px 1px 	#293e6a;
	min-width:230px;
	width:auto;
	padding-left:15px;
	padding-right:15px;
}
.fbinputbox:hover{
	cursor:pointer;
	color:#0b111e;
}
button:hover{
	cursor:pointer;
}
.inputbox:disabled{
	color:grey;
	box-shadow: inset 1px 1px 1px #433d2b, 1px 1px 1px #f2de9f;
}
::-webkit-input-placeholder {
	text-align:center;
   color: #544d37;
   font-family: "My Custom Font", Verdana, Tahoma;
   transition: all 0.2s ease;
}
input:hover::-webkit-input-placeholder {
color:black;
}
@font-face {
    font-family: "My Custom Font";
    src: url(offfont.ttf) format("truetype");
	font-display: swap;
}
p {
    font-family: "My Custom Font", Verdana, Tahoma;
}

/*div#nav a.selected{
	position:relative;
}*/
ul#nav a {

    font-family: "My Custom Font", Arial;
	font-size:25px;
	color: #544d37;
	text-decoration:none;
	font-weight:bold;
	text-shadow: 0.5px 0.5px 1px black;
	letter-spacing:1;
}
ul#nav a.logolink {

    font-family: "My Custom Font", Arial;
	font-size:0px;
	color: #544d37;
	text-decoration:none;
}
div#nav a.logolink{
	display:block;
	height:64px;
	text-align:center;
}
.selected{
	color:#331609 !important;
}
div#nav a::after{
	content: '';
	display: block;
	margin: auto;
	margin-top:3px;
	height: 2.5px;
	width: 0px;
	background: transparent;
	transition: width .5s ease, background-color .5s ease;
}
div#nav a.logolink::after{
	content: '';
	display: hidden;
	margin: auto;
	margin-top:0;
	height: 0px;
	width: 0px;
	background: transparent;
	transition: width .5s ease, background-color .5s ease;
}
label{
	letter-spacing:1px;
	display:block;
	margin:0 auto;
	padding:0;
	font-size:25px;
	font-weight:bold;
	color:black;
	width:fit-content;
}
ul#nav a:hover,ul#nav a:focus{
color:#331609;
}
div#nav a:hover:after{
	width:100%;
	background:#331609;
}
a.logolink:hover:after{
	width:0;

}
span#header{
	position:relative;
border:1px solid black;
height:50%;
width:100%;
}
li.menu{
position:relative;
display:inline-block;
color: #776d4d;
margin-left:10px;
margin-right:10px;
}
li#menu:first-child {
}
ul#nav{
width:576px;
height:auto;
margin:0 auto;
margin-top:5px;
padding:0;
/*margin-left:85px;*/
text-align:center;
box-sizing:border-box;
}
.inputbox[type="text"],.inputbox[type="password"],.inputbox[type="email"]
{
box-shadow: inset 1px 1px 1px #433d2b, 1px 1px 1px #f2de9f;
}
.inputbox:hover,.inputbox:focus
{
color:black;

}
.inputbox[type="submit"]:focus,.inputbox[type="submit"]:hover
{
cursor:pointer;
}
.inputbox[type="submit"]:active
{
	box-shadow: inset 1px 1px 1px #433d2b, 1px 1px 1px #f2de9f;
}
div.uudiscontent img{
	position:relative;
	display:block;
	margin:0 auto;
	max-width:100%;
	height:auto;
	margin-top:5px;
	margin-bottom:5px;
}
#menuimg:hover,#menuimg:focus{
opacity:0.8;
cursor:pointer;
}
div#nav{
	position:relative;
	width:746px;
	height:113px;
	margin:0 auto;
	margin-top:30px;
	background-image:url('../offimg/ribbon.png');
}
.fixed{
	position:fixed;
	top:0;
	left:0;
	margin:0;
	padding:0;
	width:100%;
	height:32px;}
ul.mobbotnav{
	display:none;
}
@media (max-width:750px){
ul.mobbotnav{
	display:block;
position:fixed;
bottom:0;
left:0;
z-index:25;
  width:100%;
  box-sizing:border-box;
  height:64px;
  margin:0;
  padding:0;
  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.3),
      rgba(255, 255, 255, 0.3)
    ),
    url('../offimg/ribbontaust.png');
  border-top:2px solid #331609;
}
	.hide-footer{
		display:none !important;
	}
ul.mobbotnav li{
  height:64px;
  width:25%;
display:inline-block;
box-sizing:border-box;
  padding-top:10px;
  padding-bottom:10px;
  opacity:1;
}
ul.mobbotnav li:hover{
  opacity:1;
}
ul.mobbotnav li a{
  font-size:16px;
  font-weight:bold;
  color:#331609;
  display:block;
  width:100%;
  height:100%;
  font-style:normal;
  text-align:center;
  text-decoration:none;
}
.mobnavimg{
  height:24px;
  width:24px;
  display:block;
  margin:0 auto;
}
.kuupaev{
	float:none;
	display:table;
}
.ukuupaev{
	float:none;
	display:table;
	margin-top:0;
}
.uudisimg{
	float:none;
	display:block;
	margin:0;
}
.newstext{
	display:block;
	margin:5px;
}
.readmorenews{
	position:relative;
	display:inline-block;
	padding:5px;
	border:1px solid #0072C5;
	margin:5px;
	box-shadow:2px 2px 3px black;
	float:left;
	background-color:rgba(255,255,255,0.1);
}

.readmorenews:hover{
	color:white;
	border-color:white;
	background-color:#0072C5;
	cursor:pointer;
}
#smallnav{
	display:none;
}
div#nav{
		display:none;
	}
#mobnav{
	top:0;
	margin:0;
	margin-top:-10px;
	padding:0;
	display:initial;
	width:100%;
	z-index:2;
}
#mobnavin{
	position:relative;
width:100%;
height:40px;
margin:0 auto;
background-image: url('../offimg/ribbontaust.png');
z-index:10;
  box-shadow:1px 1px 5px black;
}
#mobnavin ul#nav{
	z-index:1;
	text-align:center;
	width:100%;
	margin: 0 auto;
}
#mobnavin li.menu{
	transition: all 0.2s ease-in-out;
	background-image: url('../offimg/ribbontaust.png');
	display:block;
	z-index:1;
	border-bottom:1px solid black;
	padding:0;
	padding-left:20px;
	text-align:left;
	height:40px;
	line-height:40px;
	margin:0;
}
#mobnavin li.menu:not(:first-child){
	display:block;
}
#mobnavin li.menu:last-child{
	box-shadow:1px 1px 2px black;
}
#menuToggle{
	position:relative;
	display:initial;
	float:right;
	text-align:center;
	width:34px;
	height:calc(100% - 6px);
	line-height:30px;
	color:white;
	font-weight:bold;
	background:rgba(0,0,0,0.4);
	margin:3px;
	border-radius:5px;
	box-shadow: 0 0 1px #000;
	-moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;

}
#menuToggle:hover{
	cursor:pointer;
}
#menuToggle img{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}
}
.responsive-img{
position:relative;
width:auto;
height:100%;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
	float:left;
	padding:3px;
	margin-left:-15px;
}
.teade{
	height:32px;
	line-height:32px;
	border:1px solid green;
	background-color:rgba(0,255,0,0.3);
	width: calc(100% - 10px);
	margin:5px;
	margin-top:0;
	font-weight:bold;
	box-sizing:border-box;
}
.viga{
	min-height:32px;
	line-height:32px;
	border:1px solid red;
	background-color:rgba(255,0,0,0.3);
	width: calc(100% - 10px);
	margin:5px;
	margin-top:0;
	font-weight:bold;
	box-sizing:border-box;
}
#fblink{
	padding:4px; float:right;
}
