
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Minu CSS algab siin */

* {
	box-sizing: border-box; /*milleks see?*/
}

html{
    width:100%;
    height:100%;
}

body {
	height: 100vh;
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	
	color: #1a1a1a; 
	width:100%;
	height:100%;
}

/*---header---*/ 
header, nav {
	color: #1a1a1a; 
	font-size: 1.3rem;
	width: 100%;
	max-width: 100%;
	position: fixed;
    left: 0;
    top: 0;
	font-weight: 400;
	z-index: 3;
	/*background: white; opacity: 0.85; filter: alpha(opacity=85);*/
	/*background-color: rgba(255, 255, 255, 1);*/
	
}

.scrollednav {
	color: #1a1a1a; 
	font-size: 1.3rem;
	width: 100%;
	max-width: 100%;
	position: fixed;
    left: 0;
    top: 0;
	font-weight: 400;
	background-color: rgba(255, 255, 255, 0.85);
	
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
	overflow: hidden; 
	height:80px;
}

nav li {
    list-style-type: none;
    margin: 0;
    padding: 0;
	overflow: hidden; 
	height: 80px;
}

 /*et logo oleks ikkagi vasakul pool servas*/ 
  nav li img{
   padding-left: 0px;
	margin-left: 0px;
	
}

  
nav li{
    float: right;
}

nav li a {
    display: block;
    color: #1a1a1a;
    text-align: center;
    text-decoration: none;
	transition-duration: 0.4s;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
	padding-right: 10px;
	margin-top:15px;
	margin-right:20px;
}
#kriips {
    padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 0px;
	padding-right: 0px;
	margin-top:15px;
	margin-right:0px;
	margin-left: 0px;
	margin-left: 0px;
}	
nav li strong{
    font-weight: bold;
}

}
nav li a:hover:not(.active):not(.logolink) {background-color: #ffc904;}		
	
	.active {
	box-shadow:0px 0px 0px 3px #ffc904 inset;
}


.overlay {display: none;}
#menüünupp {display: none;}

/*responsive menüü kujunduselemendid*/
#menüünupp {
	font-family: Roboto;
	font-weight: 400;
	font-size: 1.5rem;
	float: right;
	position: relative;
	padding-top: 20px;
	padding-right: 20px;
}

.overlay {
    height: 0%;
    width: 100%;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgba(255,255,255, 0.85);
    overflow-y: hidden;
    transition: 0.4s;
}

.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

.overlay a {
    padding: 10px;
    text-decoration: none;
    font-size: 40px;
	font-family: Roboto;
	font-weight: 400;
    color: #1a1a1a;
    display: block;
    transition: 0.4s;
}

.overlay a:hover, .overlay a:focus {
    background-color: #ffc904;
}

.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}



/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens */
@media screen and (max-width:1030px) {
.overlay {overflow-y: auto;}
  .overlay a {font-size: 20px}
  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }

.active {
	position: relative;
	text-align: center;
	width: 100%;
	border: 0px solid #ffc904;
	
}

a.logolink{
	display: inline-block;
	margin-right: 0px;
}

a.closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
	padding-bottom: 0px;
	padding-top: 0px;
  }

}


a.logolink{
	text-decoration: none;
	padding: 0px;
	margin: 0px; 
}

 @media screen and (max-width:450px) {

nav li a.logolink img{
	width: 299.5px;
	height: 60px;
}
a.logolink{
	width: 299.5px;
	height: 60px;
}
nav{
	height: 60px;
}
nav li{
	width: auto;
	height: 60px;
}
article{
	width: auto;
	height: auto;
}
}

/*---header lõppeb---*/

/*---pealkirja ja üldiste seadete koodid algavad---*/

body {
    margin: 0;
    padding: 0;
}


h2 {
	font-size: 25pt;
}

article {/*paneb  suurel ekraanil lehe keskele---*/
	margin: 0;
	overflow: auto;
}

article p{
	font-size: 14pt;
}


sup {
	vertical-align: super;
	font-size: 50%;
}


/*---pealkirja ja üldiste seadete koodid lõppevad---*/
/*---jutuga osade koodid algavad siit---*/
.päis {
	padding-top: 200px;
	padding-left: 0px;
	padding-right: 0px;
	padding-bottom: 142px;
	line-height: 1.2;
	/*---background-image: url(images/haned.png);---*/
	height: auto;
	width: auto;
	font-size: 20pt;
	color: #1a1a1a;
	background-repeat:no-repeat;
	/*background-size:contain;*/
	background-size: cover;
	background-position:center;
	text-align: center;
	position: relative;
	margin:auto;
}
.päis p, .päis h3{
	font-size: 25pt;
	padding-left: 20px;
	padding-right: 20px;
	text-align: center;
	left: 0;
	right: 0; 
	margin: 0 auto;
	z-index: 0;
	overflow: auto;
}

@media only screen and (max-width: 1030px) {

   .päis { font-size: 1.8em; }

}

@media only screen and (max-width: 450px) {

   .päis p, .päis h3{ font-size: 0.8em; line-height: 1.2;}
	article p { font-size: 14pt; }
}



/*---siin päis lõppeb---*/

.nupp {
	text-decoration: none;
	color: #1a1a1a;
	padding: 10px 30px;
	display: inline-block;
	transition-duration: 0.4s;
}
.nupp:hover {
	background-color: #dfa900;
	}

.nupuke {
	padding-top: 20px;
	padding-left: 0px;
	padding-bottom: 20px;
	text-align:center;
	width: auto;
	font-size: 14pt;
	font-weight: 100;
	color: #1a1a1a; 	
}
.nupuke2 {
	padding-top: 20px;
	padding-left: 0px;
	padding-bottom: 150px;
	text-align:center;
	width: auto;
	font-size: 14pt;
	font-weight: 100;
	color: #1a1a1a; 	
}
@media screen and (max-width:450px) {
.nupp {
	padding: 10px 20px;
}
.nupuke {
	font-size: 12pt;
}
}

.foto {
	padding-top: 200px;
	padding-left: 0px;
	padding-right: 0px;
	padding-bottom: 150px;
	line-height: 1.3;
	height: 400px;
	width: auto;
	text-align: center;
	background-color: white;
	background-image: url(images/haned_suurem.jpg);
	font-size: 20pt;
	color: #ffffff;
	background-repeat:no-repeat;
	/*background-size:contain;*/
	background-size: cover;
	background-position:center;
	text-align: center;
	position: relative;
	margin:auto;
	}
.kolm {
	padding-top: 60px;
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 80px;
	line-height: 1.3;
	height: auto;
	width: auto;
	text-align: center;
	background-color: white;
}
body strong {
	font-weight: 400;
}

.kolm a {
	color: #1a1a1a;
	font-size: 14pt;
	text-decoration: none;
}

.kolm a:hover {
	color: #dfa900;
}
/*---kuus on hanede lehe teksti pikk versioon---*/
.kuus {
	padding-top: 60px;
	padding-left: 70px;
	padding-right: 70px;
	padding-bottom: 80px;
	line-height: 1.3;
	height: auto;
	width: auto;
	text-align: left;
	background-color: white;
}


/*---kuus on hanede lehe teksti pikk versioon---*/
.neli {
	padding-top: 20px;
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 20px;
	line-height: 1.3;
	height: auto;
	width: auto;
	text-align: center;
	background-color: white;
}
a.link {
	text-decoration: none;
	color: #1a1a1a;
	transition-duration: 0.4s;
}
.link:hover {
	background-color: #dfa900;
	}
.ankeet {
	width: auto;
	height: auto;
	padding-top: 10px;
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 100px;
	line-height: 1.3;
	text-align: center;
	background-color: white;

}


/*---jutuga osade lõppevad siin---*/

/*---footeri osa algab---*/
.footeririba {
	background-color: #ebebeb;
	height: 27px;
	width: auto;
	margin-top: 0px;

}

.footerikast {
	max-width: 1300px;
	margin: 0 auto;
}

footer {
	background-color: #383838;
	padding: 0px 0px;
	color: #d3d3d3;
	font-size: 1rem;
	width: auto;
}
footer strong {
	font-weight: 400;
}

address a {
	background-color: #383838;
	color: #d3d3d3;
	font-size: 14pt;
	text-decoration: none;
}

address a:hover {
	color: white;
}

#share-buttons img {
padding: 0px;
border: 0;
box-shadow: 0;
display: inline;
margin: 5px;
}

#share-buttons {
padding-top: 20px;
}

footer ul {
	padding-top: 20px;
	padding-left: 20px;
	padding-bottom: 80px;
	padding-right: 0px;
}

footer ul li {
	display: inline-table;
	width: auto;
    height: auto;
    margin: 0px;
	padding-top: 0px;
    border: 0px solid #73AD21;
	text-align: left;
	padding-left: 10px;
	padding-right: 10px;
}

.Contact h5{
	padding-bottom: 20px;
	padding-top: 20px;
	font-weight: bold;
	font-weight: 400;
	
}
.Contact p{
	line-height: 1;
	
}
.Contact address{
	padding-top: 20px;
	padding-bottom: 5px;
	
}
#Partners2 img {
	margin-bottom: 20px;
	width: 170px;
	height: 59px;
	vertical-align: text-top;
}

#Partners img {
	margin-bottom: 20px;
	width: 190px;
	height: 55px;
	vertical-align: text-top;
}

.nimed1 p  {
	margin-bottom: 60px;
	width: 260px;
	margin-top: 0px;
	line-height: 1.3;
	font-weight: 300;
}

.nimed1 img {
	float:left;
	margin-right: 20px;
}

.nimed2 p {
line-height: 1.3;
width: 300px;
margin-bottom: 60px;
font-weight: 300;
}
.nimed2 img {
	float:left;
	margin-right: 20px;
}

@media screen and (max-width:450px) {
footer .nimed1 img, footer .nimed2 img {
	width: 70px;
	height: 69px;
}
.nimed2 p, .nimed1 p {
margin-bottom: 40px;
width: auto;

}
footer ul {
padding-left: 5px;
}
footer ul li {
width: 100%;
}
}
@media screen and (max-width:640px) {
footer ul li {
width: 100%;
}
.nimed2 p, .nimed1 p {
margin-bottom: 40px;
width: auto;

}
}
/*---footeri osa lõppeb---*/

