@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400&display=swap');

/** style.css
 * 
 * Theme Name: 	Tartumaa Tervisespordikeskus
 * Theme URI: 	https://tervisesport.ee/
 * Description: 	
 * Author: 	Oleg Kalinkin
 * Author URI: 	http: //avar.ee
 * Version: 	1.1
 */


/*  * {border: 1px solid red;} */

body {
	background: #fff; 
}


p, .lehesisu_blokk {    font-family: 'Open Sans', sans-serif; font-size: 17px;     -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;}
	


.footer p {
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;
}


#popout-box {
	background-color: white;
    border-radius: 5px;
    position: absolute;
    top: -200px;
    left: 0;
    right: 0;
    margin: auto;
    width: 380px;
	max-width: 90%;
    padding: 10px 20px;
    font-size: 16px;
    height: 47px;
    z-index: 32;
    transition: top 1s;
}

#close-button {
    position: absolute;
    top: 0px;
    right: 0px;
    color: #222;
    cursor: pointer;
	padding: 5px 10px;
}

#link {
    color: #222;
    text-decoration: none;
    font-size: 16px;
    line-height: 26px;
    text-align: center;
	width: 100%;
	display: inline-block;
}















#sticky-box {
	opacity: 0;
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;

height: 100px;
  transition: width 0.75s, height 0.75s;  /* added transition for height */
  background: transparent;
  z-index: 34;
}

#sticky-box .arrow {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-10px, -50%);
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  
  z-index: 32;
  
    box-shadow: 0px 0px 4px #0000009e;
}

#sticky-box .arrow .spon {
	background:url(img/spon.png) center center no-repeat;
  width: 60px;
  height: 60px;
  padding-left:20px;
}

#sticky-box .container {
	top: calc(50%-465px);
	  
	width: 175px;
	height: 100px;
	overflow: hidden;
	transition: margin-left 0.3s, width 0.3s, height 0.3s;
	margin-left: -175px;
	background: #fff;
	padding-right: 30px; 
	border-radius: 0 20px 20px 0;
	box-shadow: 0px 0px 4px #0000009e;
	z-index: 100;
	position: fixed;
}

#sticky-box .container a {
  display: block;
  float: left;
  width: 150px;

  margin-bottom: 4px;
}

#sticky-box .container a:hover {
opacity: 0.6;
}

#sticky-box .container img {
  width: 100%;
  height: auto;
}

.col20 {width: 14%; float: left;}



@media (max-width:650px) {
.col650 {width: 100%;}
}



#sticky-box .container {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);  /* move up by half of container height */
  width: 175px;
  height: 100px;
  overflow: hidden;
  transition: margin-left 0.3s, width 0.3s, height 0.3s;
  margin-left: -175px;
  background: #fff;
  padding-right: 30px;
	padding-top: 20px;
  border-radius: 0 20px 20px 0;
  box-shadow: 0px 0px 4px #0000009e;
  z-index: 100;
}






header .container {max-width: 100%;}

@media (min-width: 1200px) {
header .container {max-width: 1320px;}
}



h1 {
	font-weight: 600;
	color:#222;
	font-family: "Poppins", sans-serif; 
    position: relative;
}

h2 {	font-weight: 600;
	color:#222;
	font-family: "Poppins", sans-serif; }

.logo a img {
	width:auto; 
	height: 50px; 
	margin-left: 0px;
	max-width: 100%;
	z-index: 30;
    position: relative;
}

.clear {
	clear:both; 
	height: 0px;
	}


.kolmdee {
	margin: 0 auto;
    width: 100%;
    height: 100vh;
    background-size: cover;
	background: url(https://avar.ee/tartu_tsk/wp-content/themes/tartu_tsk/img/outlines.jpg) top center no-repeat;
}
/* 
#imagemap {
  position: relative;
  overflow: hidden;
  cursor: move;
  width: 100%;
  height: 100vh;
}

#kaartpos {
  position: absolute;
  top: -40px;
  left: 0;
  transform-origin: top left;
  will-change: transform;
  user-select: none;
  pointer-events: auto;
} */



canvas {

	}


.fp_sisu_blokk {
	
	z-index: 30;
    position: relative;
	
	margin-bottom: 60px;
	
	padding: 0 50px;

	}
	
	
	

	
.hills {
    display: block;
   background:url(img/hills3.png) top center repeat-x;
    min-height: 435px;
    width: 100%;
	margin-top: -250px;
	margin-bottom: -200px;
    z-index: 30;
    position: relative;
    overflow: visible;
}
	
.home .hills {
	margin-top: -30vh;
	    min-height: 435px;
		margin-bottom: 0;
}

.hills_bottom {
	min-height: 200px;
    width: 100%;
    z-index: 25;
    position: relative;
    overflow: visible;
	
	background:#fff;
	display: block;
	width: 100%;
}

	
.usparea {
padding-top: 0;
    padding-bottom: 30px;

	z-index: 30;
    position: relative;

	text-align: center;
	 width: 100%;
	 max-width: 100%;
}

	
.home .usparea {
display: block;
    margin: 30px 0 0 0;
    z-index: 31;
    position: relative;
	
	
		margin: 0 0 0 0;
	display: block;
    padding-top: 90px;
    background: url(img/wr.png) top center repeat-x !important;
}

.usp_row {max-width: 1320px !important; margin: 0 auto; width: 100%; }

.usp {
	padding-top: 0;
	position: absolute;
	z-index: 30;
    position: relative;
    margin: 0 auto;
    text-transform: uppercase;
	text-align: center !important;
}



.usp h1 {
	color: #222; 
	font-size: 72px; 
	font-weight: 700; 
}

.usp h2 {
    font-size: 45px;
}

.usp_description {
	display: inline;
	color: #222; 
	font-size: 32px; 

	padding: 5px 5px !important;
		
	text-align: center;
}


.usparea_vrt {	
	padding-top: 20px;
	padding-bottom: 20px;
	}


.cat_cont {
  position: relative;
  min-height: 160px;
  
	z-index: 30;
	position: relative;
	padding-top: 20px;
	max-width: 720px;
	margin: 0 auto;
}

.usparea .cat_cont {
	padding-top: 40px;
}
.cat_col {
	padding-top: 20px;
	padding-bottom: 20px;
	padding-left: 0.5% !important;
	padding-right: 0.5% !important;
	
	z-index: 30;
    position: relative;
	
	height: 190px;
}

.cat {
	width: 100%;
	
	z-index: 30;
    position: relative;
}

.cat a {
text-decoration: none;
    box-shadow: 1px 5px 5px -5px rgb(34 33 81 / 50%);
    margin-top: 15px;
    margin-bottom: 5px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    border: 0px solid #007ab5;
    transition: 0.2s ease-in-out margin, 0.2s ease-in-out box-shadow, 0.2s ease-in-out padding;
    border-radius: 20px;
    overflow: hidden;
    background: #007ab5;
    z-index: 30;
    position: relative;
    max-width: 155px;
}
	
.cat a:hover, .cat a:focus {
    box-shadow: 7px 10px 0px #0074ad24;
    margin-top: 0px;
    padding-top: 15px;
    padding-bottom: 5px;
    transition: 0.2s ease-in-out margin, 0.2s ease-in-out box-shadow, 0.2s ease-in-out padding;
    border: 0px solid #007ab5;
    background: #007ab5;
    z-index: 30;
    position: relative;
	}

.cat a img { 

box-shadow: 5px 5px 0px #0074ad24;

	display: block; 
	text-decoration: none;
	margin-top: -20px;
/* 	transform: rotateX(15deg) rotateZ(355deg); */
	
	z-index: 30;
    position: relative;
	
	transform-style: preserve-3d;
	border-radius: 32px 32px 60px 32px;
    transition: 0.2s ease-in-out border-radius;
/* 	box-shadow: -1px 0 28px 0 rgba(34, 33, 81, 0.01), 28px 28px 28px 0 rgba(34, 33, 81, 0.25); */
	transition: .2s ease-in-out transform, .4s ease-in-out box-shadow;

/*   &:hover {
    transform: translate3d(0px, -16px, 0px) rotateX(51deg) rotateZ(43deg); */
	
/*     box-shadow: 1px 1px 0 1px #f9f9fb, -1px 0 28px 0 rgba(34, 33, 81, 0.01), 54px 54px 28px -10px rgba(34, 33, 81, 0.15); */
  }
}	
	

.cat a:hover img { 

	transform: rotateX(5deg) rotateZ(360deg);
	transform-style: preserve-3d;

	box-shadow: -1px 0 6px 0 rgba(34, 33, 81, 0.01), 4px 4px 15px 0 rgba(34, 33, 81, 0.46);
	transition: .2s ease-in-out transform, .4s ease-in-out box-shadow;
	
/*   &:hover {
    transform: translate3d(0px, -16px, 0px) rotateX(51deg) rotateZ(43deg);
    box-shadow: 1px 1px 0 1px #f9f9fb, -1px 0 28px 0 rgba(34, 33, 81, 0.01), 54px 54px 28px -10px rgba(34, 33, 81, 0.15);
	} */
}
	
.cat a .cat_t {
	font-size: 13px;
	margin-top: 0px;
	color:#fff;
	font-style: italic;
	display: block;
	width: 100%;
	padding: 7px;
	text-decoration: none;
	text-align: center;
	text-transform: uppercase;
	z-index: 1;
	z-index: 30;
    position: relative;
	}

.cat a:hover .cat_t {
	color: #fff;
	text-shadow: #000 1px 1px 2px;
	z-index: 30;
    position: relative;
}
	
.cat a img {	
	width: 100%; 
	max-width: 152px; 
	margin-bottom: 0px;
	z-index: 30;
    position: relative;
	}

.blog_index {margin-top: -200px;}


.wbg {background:#fff; width: 100%;
    z-index: 30;
    max-width: 100%;
    display: block;
    position: relative;}
	
.wbg_ph {background:#fff url(img/grbg.jpg) center center no-repeat; background-size: cover;width: 100%;
    z-index: 30;
    max-width: 100%;
    display: block;
    position: relative;}
	
.wbg .title_bar_row h1 {color:#fff; font-family: "Poppins", sans-serif; 
word-break: break-word;
    box-shadow: 10px 10px 0px #0074ad24;

color: #222;
    font-size: 50px;
    text-shadow: none;
    background: #ffffffcf;
    line-height: 72px;
    border-radius: 12px;
    padding: 15px 20px;
}

.single_sisu_blokk {margin-top: -520px;}

.arch_sisublokk  {margin-top: -520px;}

.arch_sisublokk .title_bar_row {}

.uudised_post_container  {margin-top: -320px;}

.single_sisu_blokk .title_bar_row h1 {
	word-break: break-word;
	color: #222;
    font-size: 50px;
    text-shadow: none;
    background: #ffffffcf;
    line-height: 1.5em;
    border-radius: 12px;
	padding: 15px 20px;}



.current-menu-ancestor a {font-size: 21px;}

.sidebar .current-menu-ancestor a {font-size: 21px; }

.sidebar_blokk ul .sub-menu a {font-size: 20px;text-transform:none;}

.gbg {background:#efefef; width: 100%;
    z-index: 30;
    max-width: 100%;
    display: block;
    position: relative;}

.gbg h2 {color:#282828;}

.threedmap {
    margin-top: 40px;
    background: url(img/3dmap.png) 50% -20% no-repeat;
    background-size: cover;
    display: block;
    width: 100% !important;
    max-width: 1380px !important;
    height: 654px;

	}


a.btn-primary {

    width: 100%;
    padding: 8px;
    margin: 20px 0px 0px 0px;
    background: #007ab5;
    border: 1px solid #006191 !important;
}
a.btn-primary:hover {
    color: #fff;
    background: #007ab591;
    border: 1px solid #006191 !important;
}


.cover {width: 100%; 
    padding: 200px 0px 693px 0px;
    background: #e9f3f7;
    background-size: cover;
    display: block;
    text-align: center;
    position: relative;
    height: 760px;

    position: relative;
    min-height: 1px;
	margin-bottom: 0;
	    box-sizing: border-box;
	}



.post-type-archive-spordirajatised .cover {background-image: url(img/25m-lasketiir-spordirajatised.jpg); background-position: center center; background-size: cover;}

.post-type-archive-vaba_aeg .cover {background-image: url(img/vaba-aeg-tervisespordikeskus.jpg); background-position: center center; background-size: cover;}

.post-type-archive-majutus .cover {background-image: url(img/suvemajutus-tervisespordikeskus.jpg); background-position: center center; background-size: cover;}

.post-type-archive-hinnad .cover {background-image: url(img/Tartumaa-Tervisespordikeskus2.jpg); background-position: center center; background-size: cover;}

.cover .container {width: 100%; max-width: 100%;margin-left:0; margin-right:0;}

.post-type-archive-seminar-konverents .cover {background-image: url(img/Tartumaa-Tervisespordikeskus3.jpg); background-position: center center; background-size: cover;}
	
	
.cover {    
	padding: 250px 0px 250px 0px;
    height: 760px;
	max-height: 100vh;
	}
	
.archive .cover {

	}		
		
.blog .cover, .single .cover {}
	
.blog .cover {

	}	
.single .cover {

	}	
	
.single .cover {
	
	    width: 100%;
    padding: 200px 0px 693px 0px;
    background: url(img/tehvandi-spordikeskus.jpg) bottom center no-repeat;
    background-size: cover;
    display: block;
    text-align: center;
    position: relative;
    height: 760px;
    position: relative;
    min-height: 1px;
    margin-bottom: 0;
    box-sizing: border-box;
}

.title_bar_row {}
	
	.blog_single_sisu {margin-top: -520px;}
	.blog_single_sisu .fulldate {text-align: center;
    padding: 5px;}	
	
.single-post .title_bar_row {    margin-bottom: 171px;}
	
.cover_title {
	color:#fff; 
	font-size: 48px;
    font-family: "Poppins", sans-serif;
	line-height: 48px;
    font-weight: 700;
    margin: 0;
    padding: 0 15%;
	box-sizing: border-box;
	}
	
.cover_tag {color:#fff; font-size: 18px; line-height: 40px;
position: relative;
    margin-top: 30px;
	display:block;
	box-sizing: border-box;
}

.cover_tag:before, .cover_tag:after {
    content: "";
    border-top: 1px solid;
    border-color: #fff;
    flex: 1 0 0;
}

.cover_tag:before {margin-right: 15px;}

.cover_tag:after {margin-left: 15px;}




.vrtheader  {
	margin-top: 40px;
	display: block; 
	width: 100%;
	height: 480px;

	}
	
.vrt_iframe2 {

	overflow: hidden;
	width: 100%;
	height:480px; 
	padding: 0 !important; 
	box-shadow: 1px 5px 5px -5px rgb(34 33 81 / 50%);
}  

.vrt_iframe2 iframe {} 


.sisu { padding: 40px 60px; position: relative; }

.uudised_sisu {padding: 0 0;}

.sisu_single .title_bar_row h1 {padding-bottom: 0px;}

.uudised_sisu .title_bar_row h1 {font-size: 48px;}

.title_bar_row h2 {
    color: #fff;
    font-size: 30px;
    font-weight: 600;
color:#222; font-family: "Poppins", sans-serif; }

.title_bar_row {margin-top: -260px; margin-bottom: 120px; padding: 20px 0px 20px 0px; width:100%; display:block;text-align:center;
max-height: 200px;
}

.title_bar {text-align:center;}

.fulldate {
    font-weight: 600;
/*     background: #efefef; */
    text-align: left;

}

.sisu_single .fulldate {position: relative; }

.fp_uudis .fulldate {
    background: transparent;
	color:#919191;

}




.title_bar_row h1 {
    color: #fff;
    font-size: 50px;
    font-weight: 600;
}

.sidebar_single h3 {color:#fff;	font-family: "Poppins", sans-serif; }


.vrtheader .btn-xl { 
	margin-right: 0px;
	width: 100%;
    padding: 15px 40px;

	font-size: 32px;
    font-weight: 600;
    text-shadow: 1px 1px 4px #000;
    font-family: 'Open Sans', sans-serif;
    background: #0876ff;
	box-shadow: 1px 5px 5px -5px rgb(34 33 81 / 50%);}
	
.vrtheader .btn-xl:hover { 
    text-shadow: 1px 1px 4px #000;
    background: #0566df;
	box-shadow: 1px 5px 5px -5px rgb(34 33 81 / 50%);}
	
	
	
.featured_corner .btn-xl { 
	margin: -30px 0px 30px 0px;
	width: 100%;
    padding: 15px 40px;

	font-size: 32px;
    font-weight: 600;
    text-shadow: 1px 1px 4px #000;
    font-family: 'Open Sans', sans-serif;
    background: #0876ff;
	box-shadow: 1px 5px 5px -5px rgb(34 33 81 / 50%);}
	
.featured_corner .btn-xl:hover { 
    text-shadow: 1px 1px 4px #000;
    background: #0566df;
	box-shadow: 1px 5px 5px -5px rgb(34 33 81 / 50%);}



.featured_corner {width: 33%; float: right; padding: 25px;}
.featured_corner {width: 100%; float: right; padding: 25px;}

.featured_corner {
  position: relative;
  min-height: 230px;
  
  z-index: 30;
    position: relative;
}

.featured_corner a {
	text-decoration: none;
	box-shadow: 1px 5px 5px -5px rgb(34 33 81 / 50%);

	margin-top: 15px; 
	margin-bottom: 5px; 
	display: block; 
	border: 2px solid #fff; 

	transition: 0.4s ease-in-out margin, 0.4s ease-in-out box-shadow;
  	border-radius: 30px;
	overflow: hidden;
	
	background: #fff;
	
	z-index: 30;
    position: relative;
}
	
.featured_corner a:hover {
	box-shadow: 1px 20px 20px -10px rgb(34 33 81 / 40%);
	
	margin-top: 0px; 
	margin-bottom: 15px; 	
	transition: 0.2s ease-in-out margin, 0.2s ease-in-out box-shadow;
	
	border: 2px solid #0876ff; 
	background: #0876ff;
	
	z-index: 30;
    position: relative;
	}

.featured_corner a img { 
	display: block; 
	text-decoration: none;
	margin-top: -20px;
	transform: rotateX(15deg) rotateZ(355deg);
	
	z-index: 30;
    position: relative;
	
	transform-style: preserve-3d;
	border-radius: 32px;
/* 	box-shadow: -1px 0 28px 0 rgba(34, 33, 81, 0.01), 28px 28px 28px 0 rgba(34, 33, 81, 0.25); */
	transition: .2s ease-in-out transform, .4s ease-in-out box-shadow;

  &:hover {
    transform: translate3d(0px, -16px, 0px) rotateX(51deg) rotateZ(43deg);
	
/*     box-shadow: 1px 1px 0 1px #f9f9fb, -1px 0 28px 0 rgba(34, 33, 81, 0.01), 54px 54px 28px -10px rgba(34, 33, 81, 0.15); */
  }
}	
	

.featured_corner a:hover img { 

	transform: rotateX(5deg) rotateZ(360deg);
	transform-style: preserve-3d;
	border-radius: 32px;
	
	box-shadow: -1px 0 6px 0 rgba(34, 33, 81, 0.01), 4px 4px 15px 0 rgba(34, 33, 81, 0.46);
	transition: .2s ease-in-out transform, .4s ease-in-out box-shadow;
	
  &:hover {
    transform: translate3d(0px, -16px, 0px) rotateX(51deg) rotateZ(43deg);
    box-shadow: 1px 1px 0 1px #f9f9fb, -1px 0 28px 0 rgba(34, 33, 81, 0.01), 54px 54px 28px -10px rgba(34, 33, 81, 0.15);
	}
}
	
.featured_corner a .cat_t {
	font-size: 14px;
	margin-top: 0px;
	background:#fff;
	color:#000;
	font-style: italic;
	display: block;
	width: 100%;
	padding: 7px;
	text-decoration: none;
	text-align: center;
	text-transform: uppercase;
	
	z-index: 30;
	
	z-index: 30;
    position: relative;
	}

.featured_corner a:hover .cat_t {
	background: #0876ff;
	color: #fff;
	text-shadow: #000 1px 1px 2px;
	
	z-index: 30;
    position: relative;
}
	
.featured_corner a img {	
	width: 100%; 
	max-width: 152px; 
	margin-bottom: 0px;
	
	z-index: 30;
    position: relative;
	}
	

header {max-width:100%; width: 100vw;
	z-index: 40;
    position: fixed;

    padding: 0 0px !important;
box-shadow: 0px 1px 6px #00000063;
    top: 0;
    background: #fff !important;

}

header, header ul {
	margin-bottom: 0 !important;
    padding-left: 0 !important;
	list-style-image: none;

	
	list-style-position: outside;
    list-style-type: none;}

header a {
    text-align: left;
	
    -moz-background-clip: border;
    -moz-background-inline-policy: continuous;
    -moz-background-origin: padding;
    display: block;
    text-decoration: none;
}


header ul {
	float: right;
}
	
header ul li {
    border-right: 0px solid #28292d;

    display: block;
    float: left;

    position: relative;
    text-align: left;
	margin-left: 1px;
	height: 70px;
	line-height: 70px;

}

header ul li a {
	color: #000;
	height: 50px;
    text-shadow: none;
    line-height: 50px;
	padding: 0 15px;
    margin: 10px 0;
	border-radius: 5px;
}

header ul li a:hover, header ul li.current-menu-item a {
	color: #fff;
    text-shadow: none;
    border-bottom: none;
    background: #007ab5;
    backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	}

header ul li:last-child {
    border-right: 0px solid #28292d;
	}

nav {padding-bottom: 0 !important; padding-top: 0 !important; }


.navbar {
    --bs-navbar-toggler-icon-bg: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%255, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e) !important;	
	
	max-width:100%;
	z-index: 30;
    position: relative;	
}


.navbar-collapse {padding:0 0 !important; 
   background: #fff !important;}



.menu-paise-menuu-container, .menu-header-menu-container, .menu-paise-menuu-russian-container {width: 100%;
z-index: 30;
    position: relative;
}


.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%255, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e) !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
	
	z-index: 30;
    position: relative;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
  
  z-index: 30;
    position: relative;
}

.navbar-toggler {
  border-color: rgb(255,255,255) !important;
  
  z-index: 30;
    position: relative;
} 





.navbar ul {

    padding-bottom: 0px !important;

	z-index: 30;
    position: relative;
}



.navbar-toggler {
    padding: 2px 5px;
    font-size: var(--bs-navbar-toggler-font-size);
    line-height: 1;
    color: #fff;
    background-color: transparent;
    border: #fff;
    border-radius: var(--bs-navbar-toggler-border-radius);
    transition: var(--bs-navbar-toggler-transition);
	
	border: 2px solid #fff !important;
	
	z-index: 30;
    position: relative;
}




	
ol, ul {box-sizing: border-box;}


.googlemaps {display: block; width: 100%; max-width: 100%; padding: 0 0; margin-top: 40px;}

.googlemaps a {display: block; width: 100%; height: 375px; background: #fff url(img/gmaps.png) center center no-repeat; margin: 0px auto;
/* 
filter: grayscale(100%); 
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
-moz-filter: grayscale(100%);
-ms-filter: grayscale(100%);
-o-filter: grayscale(100%);




-webkit-transition: 0.1s -webkit-filter ease-in-out;
-moz-transition: 0.1s -moz-filter ease-in-out;
-moz-transition: 0.1s filter ease-in-out;
-ms-transition: 0.1s -ms-filter ease-in-out;
-o-transition: 0.1s -o-filter ease-in-out;
transition: 0.1s filter ease-in-out, 0.1s -webkit-filter ease-in-out; */
}

/* .googlemaps a:hover {filter: grayscale(0%); } */





.sidebar_blokk {margin-top: 40px; overflow: hidden;
    min-height: 55px;
}

.sidebar .btn-primary {
	--bs-btn-font-weight: 600;
    --bs-btn-color: #fff;
    --bs-btn-bg: #007ab5;
    --bs-btn-border-color: #0092d9;
    --bs-btn-border-radius: 0px;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #007ab5;
    --bs-btn-hover-border-color: #007ab5;
    --bs-btn-focus-shadow-rgb: 49,132,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0599e1;
    --bs-btn-active-border-color: #0599e1;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    width: 100%;
    padding: 15px;
    font-size: 26px;
	
	border-radius: 4px;
}

.sidebar .btn-primary:hover {
    color: #fff;
    background-color: #007ab582;
    border-color: #007ab5;
}


.bottom_area {
	background:#50616e;
    padding-top: 0;
    z-index: 30;
    position: relative;
    margin: 0 auto 0 auto;
    padding: 5px 5px !important;
    text-align: center;
    width: 100%;
    max-width: 100%;
	border-radius: 0px;
	}


.bottom_area .cat_col {padding-top: 0; padding-bottom: 0;}

.bottom_area .btn-primary {
	margin: 70px 0;
    --bs-btn-font-weight: 600;
    --bs-btn-color: #fff;
    --bs-btn-bg: #007ab5;
    --bs-btn-border-color: #0092d9;
    --bs-btn-border-radius: 0px;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #007ab5;
    --bs-btn-hover-border-color: #007ab5;
    --bs-btn-focus-shadow-rgb: 49,132,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0599e1;
    --bs-btn-active-border-color: #0599e1;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    width: 100%;
    padding: 15px;
    font-size: 26px;
}

.bottom_area .btn-primary:hover {
    color: #fff;
    background-color: #007ab582;
    border-color: #007ab5;
}



.bronn {
	margin-bottom: 40px;
	--bs-btn-font-weight: 600;
    --bs-btn-color: #fff;
    --bs-btn-bg: #007ab5;
    --bs-btn-border-color: #0092d9;
    --bs-btn-border-radius: 0px;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #007ab5;
    --bs-btn-hover-border-color: #007ab5;
    --bs-btn-focus-shadow-rgb: 49,132,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0599e1;
    --bs-btn-active-border-color: #0599e1;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    width: 100%;
    padding: 15px;
    font-size: 26px;
}

.bronn:hover {
    color: var(--bs-btn-hover-color);
    background-color: #ffffff21;
    border-color: #ffffff;
}

.side_bronn {}

.lehesisu_blokk {background: #ffffffe0; border-radius: 12px; }
.archsisu_blokk {background: #ffffffe0; border-radius: 12px; }

.sisu_index .lehesisu_blokk {margin-bottom: 50px;}

.sisu_index .title_bar_row {margin-bottom: 40px;}

.archsisu_blokk {background: transparent; border-radius: 0; padding: 0; margin-bottom: 0; display: block;}

.archsisu_blokk a {background: #d8e1e9; color: #222; padding: 30px 30px; margin-bottom: 30px; display: block;}

.archsisu_blokk a:hover {background: #007ab5; color:#fff;}


.title_bar_row h1 {text-shadow: 1px 1px 7px #00000054;}


a .archive_thumb {border-radius: 0px;
    margin: -30px -30px 0 -30px;
    overflow: hidden; max-height:220px;
	}

.archsisu_blokk a .archive_thumb {
	text-align: left;
}

.archsisu_blokk a .archive_thumb img {transition: .2s ease-in-out width, .2s ease-in-out height, .2s ease-in-out margin;

width: 100%; height: 100%; margin: 0%; 
 }

.archsisu_blokk a:hover .archive_thumb img {width: 110%;
    height: 110%;
    margin: -5% -5% 0% -5%;
	opacity: 0.9;
	}
	
/* .fp_sisu_blokk {padding: 50px 20px;} */
	

.uudised_side .archsisu_blokk a {margin-bottom: 20px;}

.archsisu_blokk a {
	text-align: left;
    color: #222;
    text-decoration: none;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 10px 10px 0px #0074ad24;
	background: #fbfbfb;
}

.archsisu_blokk a h3, .archsisu_blokk a h4 {text-align: center; padding: 25px 5px 10px 5px; 
text-decoration: none; }

.archsisu_blokk a hr {width: 50px; margin: 5px auto; }
.archsisu_blokk a p {  text-decoration: none;
  overflow: hidden;
  padding-top: 10px;
  display: inline-block;
   padding-bottom: 0;
}


.fp_postblokk a {
	background: transparent;
	margin: 0 0;
/* 	backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px); */
	border-radius: 15px;
	}

.fp_postblokk a:hover {background: #48a8d7; transition:.2s ease-in-out background;}

.fp_postblokk a:hover h4 {color:#222;}
.fp_postblokk a h4:hover {color:#565656;}

.fp_postblokk a:hover .fulldate {}


.fp_postblokk a h4 {text-align: left !important; padding: 0 0 0 0;}

.fp_postblokk a .archive_thumb {}


.fp_sisu_blokk .fulldate {
    background: transparent;
    margin: 0 0 0 0;
    box-shadow: none;
    position: relative;
    color: #8b8b8b;
    font-weight: 600;
    font-size: 13px;
    padding: 5px 0;
    list-style-type: circle;
    text-align: center;
	}


.fp_txt {overflow: hidden; padding: 0 5px; float: right;}

.fp_txt h4 {font-size:18px ;text-align: left; line-height: 24px;}
.fp_txt p {font-size:18px ;text-align: left; display: inline;}
	
.fp_postblokk a .archive_thumb {border-radius: 0px; display: block;
    margin: 0px 0px;
    overflow: hidden;
	padding: 0 0 0 0;
	float:left;
	width: 100%;
	max-width: 440px;
	border-radius: 15px;
	}
	
 .fp_postblokk a:hover .archive_thumb {    background: #007ab5; }
 
 .fp_postblokk a:hover .archive_thumb img { opacity: 0.7; }
 .fp_postblokk a:hover  { background: transparent; }
 .fp_postblokk a:hover p  { color: #222;}
	
 .fp_postblokk a .fp_txt {width: 100%; float: right; font-weight: 600; padding: 5px 0 0 0;}
 
 
.fp_postblokk a p { color: #222; text-decoration: none !important; padding-bottom: 2px; padding-left: 0px; padding-right: 0px;
padding-top: 10px; font-size: 16px;}


.fp_sisu {}
    
.fp_postblokk a {padding:2px; margin-bottom: 5px;}

.fp_postblokk a .btn-primary {margin: 5px; width: calc(100% - 10px); border-radius: 25px; }



.fp_postblokk { float: left; padding:5px 10px;}

.fp_sisu_blokk {
	background: transparent !important;
	z-index: 30 !important;
    position: relative !important;

	}


.fp_sisu_blokk h3 {text-align: center;padding-bottom:20px; color:#222;}


.fp_sisu_blokk h3 {    position: relative;
    margin: 0 0 30px 0;
    font-size: 20px;
    line-height: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center; }

.fp_sisu_blokk h3:before, .fp_sisu_blokk h3:after {
    content: "";
    border-top: 1px solid;
    border-color: #ccc;
    flex: 1 0 0;
}

.fp_sisu_blokk h3:before {margin-right: 15px;}

.fp_sisu_blokk h3:after {margin-left: 15px;}


.fp_sisu_blokk a .loe {
	font-weight: 600;
    text-transform: uppercase;
    color: #007ab5;
    font-size: 14px;
    padding: 0px 0px 0 0;
	
-webkit-transition: 0.2s padding ease-in-out;
-moz-transition: 0.2s padding ease-in-out;
-moz-transition: 0.2s padding ease-in-out;
-ms-transition: 0.2s paddingease-in-out;
-o-transition: 0.2s padding ease-in-out;
transition: 0.2s padding ease-in-out;
}

.fp_sisu_blokk a:hover .loe {
    text-transform: uppercase;
    color: #007ab5;
    font-size: 14px;
    padding: 0px 0px 0 20px;
}

.fp_sundmus {background: #5c99b7 url(img/sundmusedbg.jpg) center center no-repeat !important; background-size: cover !important; border-radius:20px !important;}

.fp_sundmus .fp_postblokk a {background: #d8e1e9; padding: 10px;}
.fp_sundmus h3 {color: #fff !important;}
.fp_sundmus .fp_postblokk a:hover {background: #007ab5;}
.fp_sundmus .fp_postblokk a h4 { font-size: 16px;}
.fp_sundmus .fp_postblokk a:hover h4 { font-size: 16px; color:#fff;}

.sundmuse_aeg {text-align: left;
    font-style: italic;
    padding: 0 0px 5px 10px !important;
	}
a .sundmuse_aeg {color: #4a4a4a;}
a:hover .sundmuse_aeg {color: #222;}
.sa_s {font-weight: 700; text-align: left; float: left; font-style: none; font-size: 20px;}



.sisu_arch .archsisu_blokk a p {
     display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 15px;
}


.fp_lisablokid .archsisu_blokk a p {
	text-align: center;
	height: 95px;
}


.strong_s {font-weight:700;}

.archsisu_blokk a .btn-primary {
	border-radius: 0px; width: calc(100% + 40px); 
	padding:8px;
    margin: 20px -20px -20px -20px;
	
	background:#007ab5;
	border: 1px solid #006191 !important;}
	
	.archsisu_blokk a:hover .btn-primary {opacity: 0.9;}
	
	
a.a_box h2, a.a_box h3, a.a_box h4 {font-size: 24px; text-align: center;  padding: 25px 5px 10px 5px; }
a.a_box:hover h2, a.a_box:hover h3, a.a_box:hover h4 {color:#222;}

 
.sidebar_blokk ul li a:focus, .sidebar_blokk ul li a:active {
    margin: 3px; width: 98% !important;     outline: 2px solid #000;
}

.lehesisu_blokk {border-radius: 12px;}	
	
.lehesisu_blokk {
	padding: 30px 30px;
	}	
	
.lehesisu_blokk p {
    padding-top: 15px;
    padding-bottom: 15px; 
	margin-bottom: 0;
	
	font-size: 17px;
	line-height: 30px;
	}
	
.lehesisu_blokk ul li {line-height: 30px;}

.lehesisu_blokk .sisu_iframe {
	background: transparent; 
	border-radius: 0px; 

	margin: -30px -30px 30px -30px;
	border-radius: 4px;
	overflow: hidden; 

	box-shadow: 10px 10px 0px #0074ad24;
}





.vtag, .ptag {
    color: #fff;
    font-style: italic;
    background: #007ab5;
    padding: 5px 10px;
    margin-top: -30px;
    display: inline-block;
    float: right;
    border-radius: 0 0 10px 10px;
	}
	
	


.arrowdown {display: none;}


@media (max-width:600px) {
.lehesisu_blokk .sisu_iframe {

margin: -10px -12px 30px -12px;
border-radius: 0px;
overflow: hidden; 

border: 3px solid #007ab5;
}


.arrowdown {

display: block;
}

.scrolldownbtn {
	width: 64px;
	height: 64px;
	display: block;
	position: absolute;


background:url(img/arrowdown.png)top center no-repeat; 
z-index: 25;

    margin-top: -33px;
    width: 100%;
    margin-left: -10px;
}


.vtag, .ptag {
    color: #fff;
    font-style: italic;
    background: #007ab5;
    padding: 5px 10px;
    margin-top: -30px;
    display: inline-block;
    float: right;
    border-radius: 0 0 10px 10px;
}



}





.wp-block-media-text {padding: 40px 0;}






.lehesisu_blokk iframe { margin-bottom: -30px;}

.pano_iframe iframe { margin-bottom: -7px;}


.uudised_post_container p {font-size: 16px;}
.uudised_post_container .archsisu_blokk a h4 {font-size: 20px; padding: 15px 0  15px 0;}
.uudised_side a h4 {font-size: 20px; padding: 15px 0 0px 0;}





.wp-block-gallery {
	margin: 30px -20px 10px -20px !important;
    width: calc(100% + 40px);
    padding: 0px;
    border-radius: 0px;
	}
	
.wp-block-gallery .wp-block-image {border-radius: 0px; overflow: hidden; }

.wp-block-gallery .wp-block-image a {
	transition: .2s ease-in-out width, .2s ease-in-out height, .2s ease-in-out margin;
 }
.wp-block-gallery .wp-block-image:hover a {width: 100%; height: 100%; margin: 0%; }

.wp-block-gallery.has-nested-images figure.wp-block-image {flex-grow: 0 !important;}



.sidebar {
	padding-right: 30px !important;
    margin-top: -500px;
    padding-left: 30px;
	}

.sidebar h3 {text-align: center;
padding-bottom:10px;}
	
.sidebar_blokk h3 {
	border-bottom: 1px solid #dfdfdf;
	margin-bottom: 0;
	padding: 25px 40px 23px 40px;
	font-size: 24px;
	background: #fff;
    color: #000;
    text-align: center;
}
	
.single_pull {margin-top: -250px;}

.sidebar_blokk {
	margin-bottom: 40px;	
	border-radius: 15px;
	overflow:hidden;
	}

.sidebar_blokk ul {

	background: #d8e1e9;
	margin-bottom: 0;
    padding-left: 0;
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
	text-align: center;
}

.sidebar_blokk ul li {
    display: block;
    float: left;
    position: relative;
    font-size: 20px;

	width: 100%;
	display: block;
	text-align: left;}

.sidebar_blokk ul .menu-item-type-post_type_archive .sub-menu {	
	display: block;
	}

.sidebar_blokk ul li a {
	background:#d8e1e9;

    line-height: 25px;
    margin-top: 0px;
    transition: 0.2s ease-in-out padding, 0.2s ease-in-out color, 0.2s ease-in-out background-color;
	text-decoration: none;
	width: 100%;
	display: block;

	padding: 12px 25px 15px 25px;
	
	background: #007ab5; 
	
	color:#fff;}
	
.sidebar_blokk ul li a:hover {
	padding: 12px 15px 15px 35px;
	}
	
.menu-item ul.sub-menu li ul.sub-menu li {width: 100%;}
.menu-item ul.sub-menu li ul.sub-menu li a {width: 100%; padding-left: 35px;}
	
.menu-item ul.sub-menu li ul.sub-menu li a {

    padding-left: 25px;
}	

.menu-item ul.sub-menu li ul.sub-menu li a:hover {
    padding-left: 35px;
}	

	
.sidebar_blokk ul li ul li a { color:#000; background:#fbfbfb;}

.sidebar_blokk ul li:last-child  {border-bottom: 0px solid #dfdfdf;}






.sidebar_blokk ul li ul.sub-menu li a:hover, 
.sidebar_blokk ul li ul.sub-menu li.current-menu-item a,
.sidebar_blokk ul li ul.sub-menu li ul.sub-menu li.current-menu-item a {
    transition: 0.2s ease-in-out padding, 0.2s ease-in-out color;
	
	background:#fbfbfb;
	border-left: 5px solid #007ab5;
}

.sidebar_blokk ul li ul.sub-menu li.current-menu-item ul.sub-menu li a {
    transition: 0.2s ease-in-out padding, 0.2s ease-in-out color;
	
	background:#fbfbfb;
	border-left: 0px solid #007ab5;
}


.sidebar_blokk ul.sub-menu li.menu-item-has-children a{
	 color:#000; 
	 background:#F4FAFF;
	 border-left: 1px solid #007ab5;
	}
	
.sidebar_blokk ul.sub-menu li.menu-item-has-children ul.sub-menu a{
	 border-left: none;
	}

.sidebar_blokk ul.sub-menu li.menu-item-has-children ul.sub-menu li a{
	color:#000; background:#fff;
	padding-left: 25px;
	}
	
.sidebar_blokk ul.sub-menu li.menu-item-has-children ul.sub-menu li a:hover {
	color:#000; background:#fff;
	padding-left: 35px;
	}
	
	

.sidebar_blokk ul.sub-menu li.menu-item-has-children ul.sub-menu li a::before {
  content: "• ";
  color: #007ab5;
  margin-right: 5px;
	}

	
	
	
	

.sidebar_blokk ul li.menu-item-has-children a:hover {
	 color:#000; background:#007ab5;
	}
	
.sidebar_blokk a {
	 border-bottom: 1px solid #d8e1e9;
	 
	}
	

.wp-block-embed-youtube,
.wp-block-embed-youtube .wp-block-embed__wrapper {
    width: 100%;
}

.wp-block-embed-youtube .wp-block-embed__wrapper {
    aspect-ratio: 16 / 9;
}

.wp-block-embed-youtube iframe {
    width: 100%;
    height: 100%;
    display: block;
}





.padding40 {padding: 40px;}

.navbar-toggler {float: right; border: none !important;}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.animated-icon  {
    width: 40px;
    height: 40px;
    position: relative;
    margin: 5px 10px 5px 10px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

.animated-icon span {
    background: #000;
}

.animated-icon span:nth-child(1) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 15px;
    left: 0px;
}

.animated-icon span:nth-child(2) {
    width: 0%;
    opacity: 0;
}


.animated-icon span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 15px;
    left: 0px;
}


.collapsed .animated-icon  {
    width: 30px;
    height: 30px;
    position: relative;
    margin: 8px 10px 5px 10px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

.collapsed .animated-icon span {
    background: #000;
}

.collapsed .animated-icon span:nth-child(1) {
    top: 0px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}



.collapsed .animated-icon span:nth-child(2) {
    top: 10px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}


.collapsed .animated-icon span:nth-child(3) {
    top: 20px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

.collapsed .animated-icon span, .animated-icon span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    border-radius: 6px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}
















.side_toggler .navbar-toggler {background: #007ab5; border-radius: 10px 0px 0px 10px; }

.side_toggler .animated-icon  {
    width: 40px;
    height: 40px;
    position: relative;
    margin: 10px 10px 5px 10px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

.side_toggler .animated-icon span {
    background: #fff;
}

.side_toggler .animated-icon span:nth-child(1) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 15px;
    left: 0px;
}

.side_toggler .animated-icon span:nth-child(2) {
    width: 0%;
    opacity: 0;
}


.side_toggler .animated-icon span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 15px;
    left: 0px;
}


.side_toggler .collapsed .animated-icon  {
    width: 40px;
    height: 40px;
    position: relative;
    margin: 10px 10px 5px 10px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

.side_toggler .collapsed .animated-icon span {
    background: #fff;
}

.side_toggler .collapsed .animated-icon span:nth-child(1) {
    top: 0px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}



.side_toggler .collapsed .animated-icon span:nth-child(2) {
    top: 15px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}


.side_toggler .collapsed .animated-icon span:nth-child(3) {
    top: 30px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

.side_toggler .collapsed .animated-icon span, .side_toggler .animated-icon span {
    display: block;
    position: absolute;
    height: 6px;
    width: 100%;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

















.bronnbar {background: #fff; border-radius: 30px; padding:15px 5px;}



.btn-xl {width: 100%; padding: 10px 20px; border-radius: 20px; font-weight: 600; text-shadow: 1px 1px 4px #000; font-family: 'Open Sans', sans-serif; background: #0876ff;}

.col_20 {width: 20%;}

.bronnbar .ikoon {float: left; width: 40px; height: 40px;}

.brdr_r {border-right: 1px solid #222; margin: 0px 0px;}

.vrt_desc {width:50%; text-align: center; float: left;}

.vrt_iframe {width:50%; float: right;}


.wp-block-gallery {margin: 60px 0 30px 0;}

.footer {width: 100%;}

.footer_contact {
	font-size: 22px;
    line-height: 46px;
    text-align: center;
    max-width: 100%;
    border-radius: 0;
/* 	box-shadow: 0 0 3px #222; */
	background: #fff; 
	padding: 60px 60px 30px 60px;
z-index: 100;	}	

.footer_contact strong {font-size: 32px; line-height: 40px;}

.footer_contact .row div {padding: 10px 0;}

.sponsorid { width: 100%; padding-top: 30px; /* box-shadow: inset 0 3px 4px -3px #222; */ 

max-width: 1200px;

    padding-top: 30px;
    /* box-shadow: inset 0 3px 4px -3px #222; */
    margin: 40px auto;
    border-radius: 30px;
    padding: 30px;
    margin-top: 100px;
}

.sponsorid .container {}

.sponsorid a  {margin: 0px auto;}
.sponsorid a img {max-width: 100%; width: 300px; margin: 20px auto; 
display: block; }

.copy .container .row {text-align: center; padding:20px; margin:20px auto 0 auto; color: #000;
    border-top: 1px solid #ababab;}

.sisu_feat {
	overflow: hidden;
}


tr td {
    padding: 10px 20px;
    border: 1px solid #e4e4e4 !important;
	padding: 0.8em 1em !important;
}

tr:hover td {
    background-color: #f5f5f5;
    border: 1px solid #e4e4e4;
}

.menu-item {display: inline-block;}

.menu-item ul.sub-menu {display: none; padding: 0 0px !important; }

.sidebar_blokk .menu-item ul.sub-menu {display: block; padding: 0 0px !important; }

.menu-item ul.sub-menu li {width: 100%;}
.menu-item ul.sub-menu li a {width: 100%;}





header .menu-item:hover ul.sub-menu {display: block;
position: fixed;
background: #e9ecf0d6;
width: 140px;
}






/** map begins **/








body {
    margin: 0px !important;
    overflow-x: hidden;
}

.canvas {
    position: absolute;
    top: 0px;
    left: 0px;
		z-index: 1;

	background-repeat: none;
	background-position: center center; 
	background-size: cover;

/*     overflow: hidden !important;
	max-width: 100% !important;
	height: auto !important; */
}

.labelCanvas {
    position: absolute;
    top: 0px;
    left: 0px;
	
	z-index: 1;

/*     overflow: hidden !important;
	max-width: 100% !important;
	height: auto !important; */

}


.title {
    background-color: rgba(32, 130, 195, 0.9);
    border-radius: 20px;
    padding: 5px 10px 4px 10px;
    font-family: 'Roboto', sans-serif;
	z-index: 1 !important;
transition: 0.1s ease-in-out padding, 0.1s ease-in-out font-size, 0.1s ease-in-out background-position;

	color: rgba(255, 255, 255, 1);
		box-shadow: 1px 11px 33px #00000029;
		
		border: 1px solid rgb(255 255 255 / 30%);;
}

.title:hover {
	padding: 9px 14px 7px 14px;
	cursor: pointer;
	font-size: 17px;
	z-index: 2 !important;

}


.title_silt_kaariku {
	background-color: rgb(43 153 64 / 90%);
 }

.title_silt_tartu {
	background-color:rgb(100 59 24 / 90%);
	color: #fff;}

/* .title_staadion {
    background: #2082c3e6 url(img/staadion.png) 8px 5px no-repeat;
    padding-left: 38px;
}

.title_staadion:hover {
    background: #2082c3e6 url(img/staadion.png) 8px 10px no-repeat;
	padding: 9px 14px 7px 14px;
    padding-left: 38px;

} */

.containers {
    width: 100vw;
    height: 100vh;
}


.modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    z-index: 4;
    background-color: white;
    padding: 15px;
    opacity: 0;
    pointer-events: none;
}

.modal-iframe {
    width: 100%;
    height: 100%;
}

#iframeContainer {
    width: 100%;
    height: 100%;
}

#close {
position: fixed;
    right: 50px;
    top: 100px;
    background-color: #d7d7d7;
    border-radius: 50%;
    padding: 10px;
    z-index: 38;
    cursor: pointer;
	    border: none;
		margin: -5px;
		
   transition: all 0.3s ease-in-out;
}

#close:focus {
    padding: 15px;
	margin: -10px;
}


.close-img {
    width: 30px;
    height: 30px;
}



#loading {
	display: inline-block;
    position: absolute;
    left: 50%;
    top: 30%;
    transform: scale(1) translate(-50%, -50%);
    z-index: 37;
    pointer-events: none;
    opacity: 0;
	
	max-width: 100%;
	width: 600px;
	text-align: center;
}

#loading p {padding: 50px; font-size: 40px;}

.lds-default {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    position: fixed;
    left: 50%;
    top: 30%;
    transform: scale(1.5) translate(-50%, -50%);
    z-index: 42;
    pointer-events: none;
    opacity: 0;
}

.lds-default div {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(0, 0, 0, 0.616);
    border-radius: 50%;
    animation: lds-default 1.2s linear infinite;
}

.lds-default div:nth-child(1) {
    animation-delay: 0s;
    top: 37px;
    left: 66px;
}

.lds-default div:nth-child(2) {
    animation-delay: -0.1s;
    top: 22px;
    left: 62px;
}

.lds-default div:nth-child(3) {
    animation-delay: -0.2s;
    top: 11px;
    left: 52px;
}

.lds-default div:nth-child(4) {
    animation-delay: -0.3s;
    top: 7px;
    left: 37px;
}

.lds-default div:nth-child(5) {
    animation-delay: -0.4s;
    top: 11px;
    left: 22px;
}

.lds-default div:nth-child(6) {
    animation-delay: -0.5s;
    top: 22px;
    left: 11px;
}

.lds-default div:nth-child(7) {
    animation-delay: -0.6s;
    top: 37px;
    left: 7px;
}

.lds-default div:nth-child(8) {
    animation-delay: -0.7s;
    top: 52px;
    left: 11px;
}

.lds-default div:nth-child(9) {
    animation-delay: -0.8s;
    top: 62px;
    left: 22px;
}

.lds-default div:nth-child(10) {
    animation-delay: -0.9s;
    top: 66px;
    left: 37px;
}

.lds-default div:nth-child(11) {
    animation-delay: -1s;
    top: 62px;
    left: 52px;
}

.lds-default div:nth-child(12) {
    animation-delay: -1.1s;
    top: 52px;
    left: 62px;
}

@keyframes lds-default {
    0%, 20%, 80%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.5);
    }
}

@media (max-width:600px) {
    .title {
        font-size: 12px;
    }

    .lds-default {
        transform: translate(-50%, -50%);
    }
	
	.fp_sisu_blokk h3 {line-height: 2.2em;
	margin: 0 0 0px 0;
	}
	.fp_sundmus {padding: 15px 0;}
	
	.fp_majutus:before, .fp_konv:before, .fp_sport:before {height: 0; display: none !important;}
	
	.title_bar_row {padding: 30px 0px 0px 0px; }
	
	.fp_konv, .fp_sport, .fp_majutus, .fp_vaba {padding-bottom: 50px !important;}
	
	.owl-carousel .owl-dots {margin-top:0 !important;}


.home .usparea { padding-top: 70px; }

	
}

/** map begins **/

#schmodal {
	display: block;

    overflow-x: hidden;
    overflow-y: auto;

    width: 100%;
	margin-left: 0 !important;

    position: fixed;
    top: 0px;
    right: 0;
    z-index: 38;

    overflow: hidden;
    outline: 0;

	opacity:0;
    width: 0;
    padding: 0px;
    overflow: hidden;
 
 	transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    -webkit-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
    -ms-transition: all 0.3s ease-in-out 0s;
}


#close_box {
	position: fixed;
	width: 33%; height: 100vh; 	
    right: 0;
    background: #ffffff1c;
	width: 100%;
    max-width: 450px;
	display: none;
	}

.e_nl {    font-size: 35px;
	color:#404040;

    text-align: center;
    width: 100%;
    padding: 20px 10px 0 10px;
    margin: 0;
    line-height: 20px;
	
	transition: padding 0.2s ease-in-out;
	
	-moz-transition: padding 0.2s ease-in-out; /* Firefox 4 */
    -webkit-transition: padding 0.2s ease-in-out; /* Safari and Chrome */
    -o-transition: padding 0.2s ease-in-out; /* Opera */
    -ms-transition: padding 0.2s ease-in-out; /* Explorer 10 */
	}
	
a:hover .e_nl {    color: #fff;     padding: 20px 0px 0 20px;


	}
	
#modaal {
	
/* 	background: #fff; */
	overflow: hidden;
	
/*     height: 90%; */
/*     border-radius: 500px 0 0 500px;
    box-shadow: 1px 1px 5px #0006; */
    width: 100%;
	max-width: 390px;
    /* max-width: 50%; */
    position: fixed;
    top: 60px;
    right: 0;
    z-index: 35;
    padding: 0px;
	margin: 30px -100% 30px 30px;
	

		
    /* margin-right: 50px; */
	
/*     transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out; */	
	
 	transition: border-radius 0.2s ease-in-out 0.3s, margin 0.3s ease-in-out;
    -moz-transition: border-radius 0.2s ease-in-out 0.3s, margin 0.3s ease-in-out;
    -webkit-transition: border-radius 0.2s ease-in-out 0.3s, margin 0.3s ease-in-out;
    -o-transition: border-radius 0.2s ease-in-out 0.3s, margin 0.3s ease-in-out;
    -ms-transition: border-radius 0.2s ease-in-out 0.3s, margin 0.3s ease-in-out;
	
/* 	transition: border-radius 1s ease-in-out;
    -moz-transition: border-radius 1s ease-in-out;
    -webkit-transition: border-radius 1s ease-in-out;
    -o-transition: border-radius 1s ease-in-out;
    -ms-transition: border-radius 1s ease-in-out;
	 */	
	}

#modaal .a_box {margin-bottom: 12px;}
#modaal .a_box:focus {}

#modaal .a_box:focus .archive_thumb img {
    width: 110%;
    height: 110%;
    margin: -5% -5% 0% -5%;
    opacity: 0.9;
}

	
.bounce-in-right {
  animation: bounce-in-right 2s ease;
}
@keyframes modaal {
  0% {
    opacity: 0;
    transform: translateX(2000px);
  }
  60% {
    opacity: 1;
    transform: translateX(-30px);
  }
  80% { transform: translateX(10px); }
  100% { transform: translateX(0); }
}
		
	
	
	
.modaal h4 {
	font-size: 32px;
    padding-top: 18px;
}


.modalsisu {}



#modalsisu .hotell_sisu {display: none;}
#modalsisu .puhkemaja_sisu {display: none;}
#modalsisu .biatlon_sisu {display: none;}
#modalsisu .suusatorn_sisu {display: none;}
#modalsisu .jalgpall_sisu {display: none;}
#modalsisu .hooldusmaja_sisu {display: none;}
#modalsisu .kiik_sisu {display: none;}
#modalsisu .voimla_sisu {display: none;}
#modalsisu .pickleball_sisu {display: none;}
#modalsisu .voistkonnamajad_sisu {display: none;}
#modalsisu .valijousaal_sisu {display: none;}
#modalsisu .discgolf_sisu {display: none;}
#modalsisu .rattarada_sisu {display: none;}
#modalsisu .staadion_sisu {display: none;}
#modalsisu .biastat_sisu {display: none;}
#modalsisu .anso_lasketiir_sisu {display: none;}
#modalsisu .silt_kaariku {display: none;}
#modalsisu .silt_tartu {display: none;}


	
.hotell .hotell_sisu {display: block !important;}
.puhkemaja .puhkemaja_sisu {display: block !important;}
.biatlon .biatlon_sisu {display: block !important;}
.suusatorn .suusatorn_sisu {display: block !important;}
.jalgpall .jalgpall_sisu {display: block !important;}
.hooldusmaja .hooldusmaja_sisu {display: block !important;}
.kiik .kiik_sisu {display: block !important;}
.voimla .voimla_sisu {display: block !important;}
.pickleball .pickleball_sisu {display: block !important;}
.voistkonnamajad .voistkonnamajad_sisu {display: block !important;}
.valijousaal .valijousaal_sisu {display: block !important;}
.discgolf .discgolf_sisu {display: block !important;}
.rattarada .rattarada_sisu {display: block !important;}
.staadion .staadion_sisu {display: block !important;}
.biastat .biastat_sisu {display: block !important;}
.anso_lasketiir .anso_lasketiir_sisu {display: block !important;}
.silt_kaariku .silt_kaariku {display: block !important;}
.silt_tartu .silt_tartu {display: block !important;}



a .modnupp {font-size: 18px;

	margin: 10px auto 0 auto;
    width: 100%;
    float: none;
    max-width: 100%;
    display: block;
    padding: 8px;
    margin: 20px 0px 0px 0px;
    background: #007ab5;
    border: 1px solid #006191 !important;
	text-align: center;
	color: #fff;
	border-radius: 3px;
}

#modalsisu .archsisu_blokk a:hover {background: #fff; color: #000;}
#modalsisu .archsisu_blokk a:hover .archive_thumb img {opacity: 1;}
	
#modalsisu .lehesisu_blokk {padding: 3px 12px;}


.schmodal #iframeContainer {
	    overflow: hidden;
}



.fp_sundmus p {padding-bottom: 10px;}

.fade_cut {background:url(img/fade.png)top center repeat-x; margin-top:-40px; margin-bottom:0px; height:40px;width: 100%; z-index: 40; position: relative;}



.fp_lisablokid .title_bar_row {margin-bottom: 0; margin-top: 0;}

.title_bar_row a {text-decoration: none;}

a.koik_btn {
    margin: 10px auto 0 auto;
    width: 100%;
    float: none;
    max-width: 150px;
    display: block;
	}
	
.sidebar_single a.koik_btn {max-width:100%; margin-bottom: 60px;}
	
.loe_lisaks {
    margin: 10px auto 15px auto !important;
    width: 100%;
    float: none;
    max-width: 150px;
    display: block;
	}



.side_btn {}


.uudised_side {}


.wp-block-gallery .wp-block-image a {
    border-radius: 4px;
	overflow:hidden;
}
	
.wp-block-gallery .wp-block-image a::after {

	background:url(img/zoom.png) center center no-repeat;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 70px 70px;
}


.wp-block-gallery .wp-block-image a::before {

		background-color: #007ab5d4;

}

.wp-block-gallery .wp-block-image a::after, .wp-block-gallery .wp-block-image a::before {
	opacity:0;
content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;

    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -ms-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
	    transition: all 0.25s ease-in-out;
		
		    z-index: 20;
}

.wp-block-gallery .wp-block-image:hover a::after, .wp-block-gallery .wp-block-image:hover a::before {opacity: 1;}



.fp_konv {background:#fff url(img/conf.jpg) top center no-repeat;
	padding-top: 0;
}





.fp_lisablokid_majutus {background:#fff url(img/majutus_12.jpg) top center no-repeat;}

.fp_sport {
background: #fff;
	}
	
.fp_sport .container {
background: #fff;
	}


.fp_lisablokid h2 {text-transform: uppercase;

    position: relative;
    margin: 30px 0 30px 0;
    font-size: 38px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;

    text-align: center;
    color: #222;
	


}

.fp_lisablokid .valge h2 {color:#fff; }



.fp_lisablokid h2 {}




.fp_lisablokid h2 {color:#222;}

.fp_lisablokid_majutus .title_bar_row {margin-top:50px;}

.fp_majutus h2 {

    color: #fff;
    display: inline;
    background: #74a12d;
    margin: 0 auto;
    border-radius: 10px;
    padding: 16px 28px;}
	
	
.owl-carousel .lehesisu_blokk {padding-bottom:10px;}
.owl-carousel .a_box {margin-bottom:10px;}


.fp_konv .lehesisu_blokk {padding-bottom: 0;}

.fp_konv .title_bar_row {margin-top:65px;}
	
.fp_sport h2 {
    color: #ffffff;

    color: #fff;
    display: inline;
    background: #0067c8;
    margin: 0 auto;
    border-radius: 10px;
    padding: 16px 28px;}	
	
.fp_konv h2 {

    color: #fff;
    display: inline;
    background: #9f5c37;
    margin: 0 auto;
    border-radius: 10px;
    padding: 16px 28px;}



.fp_vaba h2 {
    background: #185145;

    color: #fff;
    display: inline;
    margin: 0 auto;
    border-radius: 10px;
    padding: 16px 28px;
}



.fp_konv, .fp_sport, .fp_majutus, .fp_vaba {padding-bottom:30px;}


.fp_majutus {padding-bottom:100px;}

.fp_konv {padding-bottom:90px;}


.owl-carousel {
  position: relative; }
  .owl-carousel .owl-item {
    opacity: 1; }
    .owl-carousel .owl-item.active {
      opacity: 1; }
  .owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%; }
    .owl-carousel .owl-nav .owl-prev,
    .owl-carousel .owl-nav .owl-next {
      position: absolute;
      -webkit-transform: translateY(-40%);
      -ms-transform: translateY(-40%);
      transform: translateY(-40%);
      margin-top: -50px;
      color: rgba(255, 255, 255, 1) !important;
      -webkit-transition: 0.7s;
      -o-transition: 0.7s;
      transition: 0.7s;
      opacity: 0; }
	  
	  

  .owl-carousel .owl-nav .owl-prev,
  .owl-carousel .owl-nav .owl-next {
    opacity: 1; }
  .owl-carousel .owl-nav .owl-prev {left: -50px;   }
  .owl-carousel .owl-nav .owl-next {right: -50px;    }	  
	  
	  
	  
	  
      @media (prefers-reduced-motion: reduce) {
        .owl-carousel .owl-nav .owl-prev,
        .owl-carousel .owl-nav .owl-next {
          -webkit-transition: none;
          -o-transition: none;
          transition: none; } }
		  
		  
      .owl-carousel .owl-nav .owl-prev span:before,
      .owl-carousel .owl-nav .owl-next span:before {
        font-size: 100px;    padding: 30px 30px;}
		
	.owl-carousel .owl-nav .owl-prev span:before {
		    margin-left: -20px;
	}
			  
    .owl-carousel .owl-nav .owl-next span:before {
            margin-right: -20px;
		}
		

	  
  .owl-carousel .owl-dots {
    text-align: center;
    margin-top: 20px; }
	
    .owl-carousel .owl-dots .owl-dot {
      width: 10px;
      height: 10px;
      margin: 5px;
      border-radius: 50%;
      background: #ffffff80;
      position: relative; }
      .owl-carousel .owl-dots .owl-dot:hover, .owl-carousel .owl-dots .owl-dot:focus { }
      .owl-carousel .owl-dots .owl-dot.active {
        background: #fff; }
		
		
  .owl-carousel:hover .owl-nav .owl-prev,
  .owl-carousel:hover .owl-nav .owl-next {
    opacity: 0.8; }
  .owl-carousel:hover .owl-nav .owl-prev {
    left: -50px; }
  .owl-carousel:hover .owl-nav .owl-next {
    right: -50px; }

.owl-carousel.owl-drag .owl-item {
  -ms-touch-action: pan-y;
  touch-action: pan-y; }
  
  

.fp_majutus .owl-carousel .owl-nav .owl-prev span:before, .fp_majutus .owl-carousel .owl-nav .owl-next span:before, .fp_majutus .owl-carousel .owl-nav .owl-prev span:before, .fp_majutus .owl-carousel .owl-nav .owl-next span:before {
  font-size: 100px;
    color: #74a12d !important; padding: 30px;
	}

.fp_sport .owl-carousel .owl-nav .owl-prev span:before, .fp_sport .owl-carousel .owl-nav .owl-next span:before, .fp_sport .owl-carousel .owl-nav .owl-prev span:before, .fp_sport .owl-carousel .owl-nav .owl-next span:before {
  font-size: 100px;
    color: #0067c8 !important; padding: 30px;
	}

.fp_konv .owl-carousel .owl-nav .owl-prev span:before, .fp_konv .owl-carousel .owl-nav .owl-next span:before, .fp_konv .owl-carousel .owl-nav .owl-prev span:before, .fp_konv .owl-carousel .owl-nav .owl-next span:before {
  font-size: 100px;
    color: #9f5c37 !important; padding: 30px;
	}



.fp_majutus a.a_box:hover {background: #74a12d;}

.fp_sport a.a_box:hover {background: #0067c8;}

.fp_konv a.a_box:hover {background: #9f5c37;}







.fp_sport .owl-carousel .owl-dots .owl-dot {background: #00000080;}

.fp_sport .owl-carousel .owl-dots .owl-dot.active {background: #000; }



@media(max-width: 1180px) {
.footer .googlemaps {width: 100% !important;}

}








.soicon img {width: 64px; height: auto;}
.soicon img:hover {opacity:0.8;}
	
	
	
.fp_kaart {}

.dota {padding-left: 0;
    padding-top: 122px;}

@keyframes slide {
  0% {
    left: 0;
    top: 0;
  }
  50% {
    left: 0px;
    top: 5px;
  }
  100% {
    left: 0px;
    top: 0;
  }
}

.mapdot {
	background: url(img/map_dot.png) bottom center no-repeat;
	background-size: 100% 100%;
    height: 94px;
    position: relative;
    width: 119px;
	margin: 0 auto;
	z-index: 20;


	animation-name: slide;
    animation-duration: 2s;
    animation-timing-function: ease-in-out;
    animation-delay: .5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}






	
.owl-item {padding-top: 20px;}
	
.owl-item .item a.a_box {transition: 0.3s margin ease-in-out; margin-top: 0px;}
.owl-item .item a.a_box:hover, .owl-item .item a.a_box:focus {margin-top: -20px;}

.owl-item .item a.a_box:hover h3, .owl-item .item a.a_box:focus h3 {color:#fff;}


.sisu_arch a.a_box:hover h2, .sisu_arch a.a_box:focus h2 {color:#fff;}


.wp-block-gallery.has-nested-images figure.wp-block-image img {
    border-radius: 15px;
    overflow: hidden;
}







@media (min-width: 1200px) and (max-width: 1399px) {

.usp {  padding-top: 50px;}

}


@media (max-width: 700px) {

.title_bar_row h1 {
    font-size: 32px !important;
    text-align: center !important;
}
  .owl-carousel .owl-nav {  display: none !important;}
}


@media (max-width: 575px) {
	.usp h1 {font-size: 44px;}
}

@media (max-width: 500px) {
	.usp h1 {font-size: 30px;}
}






@media (max-width: 1100px) {
	.owl-carousel .owl-nav {overflow: hidden;}
}

@media (max-aspect-ratio: 41/53) and (min-width: 700px) {
.home .hills {margin: -32vh 0 0px 0;}
.home .hillsbottom {margin-top: -76px;}
}

@media (max-width: 440px) {
.usp h1 {font-size: 26px;}

.fp_lisablokid h2 {font-size: 20px;}

}
@media (max-width: 420px) {
.usp h1 {font-size: 26px;}

.fp_lisablokid h2 {font-size: 19px;}

}



@media (max-width: 991px) and (max-height: 790px) {
header ul li a {font-size: 26px; height: 70px; line-height: 70px;}
}

@media (max-width: 991px) and (max-height: 700px) {
header ul li a {font-size: 24px; height: 60px; line-height: 60px;}
}

@media (max-width: 991px) and (max-height: 680px) {
header ul li a {font-size: 22px; height: 56px; line-height: 56px;}
}


@media (max-width: 1111px){

	.navbar ul {
    background-color: transparent !important;
    width: 100%;
}

header ul li {
    width: 100%;
    display: block;
    border-top: 1px dashed #707070;
}

header ul li a {
    font-size: 24px;
    text-align: center;
    height: 56px;
    line-height: 56px;
    margin: 0 0;
}

header .menu-item ul.sub-menu, header .menu-item:hover ul.sub-menu, .menu-item ul.sub-menu, .menu-item:hover ul.sub-menu {
    display: block;
    position: relative;
    background: transparent;
    width: 100%;
}

.menu-item ul.sub-menu li a {
    width: 100%;
}
}
	


@media (min-width: 1112px){
    .navbar-expand-custom {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
	
    .navbar-expand-custom .navbar-nav {
        flex-direction: row;
    }
    .navbar-expand-custom .dropdown-menu {
        position: absolute;
    }
    .navbar-expand-custom .nav-link {
        padding-right: .5rem;
        padding-left: .5rem;
    }
    .navbar-expand-custom > .container {
        flex-wrap: nowrap;
    }
    .navbar-expand-custom .navbar-collapse {
        display: flex!important;
        flex-basis: auto;
    }
    .navbar-expand-custom .navbar-toggler {
        display: none;
    }
}

@media (max-width: 418px){
.team {display:none;}
.team2 {height: 84px !important; width: 51px !important;}
}

@media (min-width: 419px){
.team2 {display:none; }
}

@media (max-width: 991px){
		
	.cover {    padding: 200px 0px 550px 0px;}
	.single .cover {    padding: 200px 0px 550px 0px;}
	
}
	
	
	
	
	.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) {
		    border-radius: 20px;
    overflow: hidden;
	}
	
	
	
.wpml-ls-menu-item .wpml-ls-flag {
	    border: 1px solid #0052b4;
}

.menu-item ul.sub-menu li {
	margin-left: 0;
}

.menu-item ul.sub-menu
{
	border-radius: 0 0px 10px 10px;
}


.sidebar_blokk {
box-shadow: 10px 10px 0px #0074ad24;
}



.sidebar a.btn-primary {
	
	font-size: 21px;
	box-shadow: 10px 10px 0px #0074ad24;
	
    border-radius: 15px !important;
    border: 1px solid #007ab5 !important;
	border-left: 10px solid #007ab5 !important;
	
	padding: 10px 15px 10px 10px;
	
	text-transform: uppercase;
	
	transition: 0.2s ease-in-out padding, 0.2s ease-in-out color, 0.2s ease-in-out background-color;
}

.sidebar a.btn-primary:hover {
	box-shadow: 5px 5px 0px #0074ad24;
	
    color: #007ab5;
    background-color: #ffffffd6;
    border-color: #007ab5 !important;
    border: 1px solid #007ab5 !important;
    border-left: 10px solid #007ab5 !important;
	
	text-shadow: 2px 2px 0px #0000001f;
	
	text-transform: uppercase;
	
	padding-left: 20px;
	
	    transition: 0.2s ease-in-out padding, 0.2s ease-in-out color, 0.2s ease-in-out background-color, 0.2s ease-in-out box-shadow;

}

.archsisu_blokk a {
	transition: 0.2s ease-in-out padding, 0.2s ease-in-out color, 0.2s ease-in-out background-color, 0.2s ease-in-out box-shadow;
}
.archsisu_blokk a:hover {
		box-shadow: 5px 5px 0px #0074ad24;
	transition: 0.2s ease-in-out padding, 0.2s ease-in-out color, 0.2s ease-in-out background-color, 0.2s ease-in-out box-shadow;
}

#header {
	box-shadow: 0px 5px 0px #0074ad24
}




.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image) {
	
        padding: 8px;
}

.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):hover {
	
box-shadow: 10px 10px 0px #0074ad24;
}



.external_link a {
    position: relative;
    display: inline-block; /* Ensure the element can host positioned children */
}

/* Pseudo element for the icon */
.external_link a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 20px; /* adjust to the icon’s width */
    height: 20px; /* adjust to the icon’s height */
    background: url(img/ext.svg) no-repeat center center;
    background-size: contain;
    opacity: 0;
    transition: opacity 0.3s ease, right 0.3s ease;
}

/* On hover, reveal the icon and move it 20px from the right */
.external_link a:hover::after {
    opacity: 1;
    right: 20px;
}




#open-accessibility {
	
	text-transform: uppercase;
    background: transparent;
    color: #222;
    padding: 10px 15px;
    border: 2px solid #222;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
	float: right;
}

#open-accessibility:hover {
	background: #007ab5;
	border: 2px solid #007ab5;
		color:#fff;
}

#accessibility {
	    width: 100%;
    max-width: 800px;
	
    position: fixed;
    top: 100px;
    right: 30px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 30px;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    display: none; /* Initially hidden */
}

@media (min-width: 930px){
#accessibility {
    top: 90px;
    right: 0px;

}
}



@media (max-width: 1599px){
	#accessibility {	right: 110px;	}
}

@media (min-width: 1600px){
	#accessibility {	right: 200px;	}
}

@media (min-width: 1950px){
	#accessibility {	right: 320px;	}
}




@media (max-width: 930px){
#accessibility {
	    width: 100%;
    max-width: 100%;
	
    position: fixed;
    top: 90px;
    right: 0px;

}
}


@media (min-width: 1109px) and (max-width: 1242px){
.team {display: none;}
}

#accessibility .btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    cursor: pointer;
    font-size: 20px;
	
	width: 50px;
    height: 50px;
	
	padding: 0 !important;
	
	box-sizing: border-box;

    right: 10px;
    top: 10px;
    background-color: #d7d7d7;
    border-radius: 50%;
    z-index: 102;
    cursor: pointer;
	opacity: 1;
	
	background: #d7d7d7 url(img/close.png) center center no-repeat;
	
	background-size: 70% auto;
}

#accessibility .btn-close:focus {outline: 2px solid #222;}


#accessibility .btn-close .btn-content {
    display: block;
    width: 100%;
    height: 100%;
}

.grp1 {
	padding-left: 20px;
	width: 30%;
	
}

.grp2 {
	width: 30%;
}

.grp3 {
	width: 40%;
}




.group-single p {
	font-size: 20px; 
}

.radio-single {
	line-height:40px;
	font-size: 19px !important;
}

.radio-single input {margin-right: 7px;}

.group-single h4 {font-weight: bold;}



.menu-item-has-children:focus-within .sub-menu {
    display: block;
    background: #e9ecf0d6;
}


.wpml-ls-menu-item .wpml-ls-flag+span {
	line-height: 16px;
}


@media (max-width: 570px){
	.team {display: none !important;}
	.team2 {display: none !important;}
.d-flex {display: block !important;}
.grp1 {
	padding-left: 0;
	width: 43%;
	float: left;
}
.grp2 {
		padding-left: 0%;
	width: 49%;
	float: left;
	padding-bottom: 20px;
}
.grp3 {
	width: 100%;
}
}

@media (max-width: 991px){
#open-accessibility {
	margin-right: 5px;
	padding: 2px;
}

.logo a img {
    width: 150px;
    height: auto;
    margin-left: 5px;
}
}

@media (max-width: 396px){
#open-accessibility {
	margin-right: 5px;
}
}

@media (max-width: 1112px) {
  ul .wpml-ls-menu-item a {  text-align: center;
    display: block !important;
}
}

#mapToggleBtn {
	width: 80px;
	position: absolute;
	top: 75px;
	right: 20px;
	text-transform: uppercase;
    color: #222;
    padding: 0;
    font-size: 16px;
	z-index: 40;
	transition: top 0.3s ease-in-out;
}

#mapToggleBtn:hover {
}

.mapToggleBtn label, .mapToggleBtn span {
  pointer-events: none;
}

.livelink {margin-bottom: 20px; display: block;}

.rounded_six {background: #fff;
    border-radius: 6px;
	overflow: hidden;
	}

.shifter {    
    cursor: pointer;
}

.threeD_on .shifter {
	width: 140px;
	margin-left: -60px;
	transition: 0.2s ease-in-out margin;
	height:40px;
	z-index: 40;
    position: relative;
}

.threeD_off .shifter {
	width: 140px;
	margin-right: -60px;
	transition: 0.2s ease-in-out margin;
	height:40px;
}

.toggle_handle {
	border: none;	
	
	display: inline-block;
	width: 20px; 
	height: 40px;

	border-radius: 5px;
	background:#007ab5;
}

.threeD_btn {
	font-size: 20px;
	border: none !important;
	text-align: center; 
	line-height: 40px;
	width: 60px;
	
	  display: inline-block;
  vertical-align: middle;
}

.mapToggleBtn label,
.mapToggleBtn span {
  display: inline-block;
  vertical-align: middle;  /* or top, bottom */
  line-height: 1;          /* or another suitable value */
}



.single-spordirajatised #menu-header-menu .menu-item-object-spordirajatised a, .single-seminar-konverents  #menu-header-menu .menu-item-object-seminar-konverents a, 
.single-majutus  #menu-header-menu .menu-item-object-majutus a, 
.single-vaba_aeg  #menu-header-menu .menu-item-object-vaba_aeg a, 
.single-hinnad  #menu-header-menu .menu-item-object-hinnad a 
{    color: #fff;
    text-shadow: none;
    border-bottom: none;
    background: #007ab5;
}




li.sm-item, li.sm-item a {background: #0C5A92 !important; -sm-background: #0C5A92 !important; --sm-hover-background: #0C5A92 !important; }



































@media (max-width: 1320px) {
.lehesisu_blokk .sisu_iframe {

}

}

@media (max-width: 1320px) {
.vrtheader {
    max-width: 1320px;
}
.vrt_iframe2 {
	margin-left: 0px; 
	margin-right: 0px; 
	border-radius: 0px; 
	width: 100%;
	padding: 0 !important; 
	box-shadow: 1px 5px 5px -5px rgb(34 33 81 / 50%);
}  
}



.usp_ru h1 {font-size: 64px;}

@media (max-width: 1290px) {
.usp h1 {font-size: 64px;}


}

@media (max-width: 1200px) {
.usp h1 {
    font-size: 56px;
}
}

@media (max-width: 1100px) {
.usp h1 {
    font-size: 52px;
}
}

@media (max-width: 1199px) {
	
	.usp {
    padding-top: 15px;
    position: absolute;
    z-index: 30;
    position: relative;
    margin: 0 auto;
    text-transform: uppercase;
    text-align: center !important;
    overflow: hidden;}
	
.left_hill {margin:-400px 0 0px -65%;}
	
.usp h1 {text-align: center; }
.usp_description { text-align: center; margin-bottom: 50px;}



} /** max-width: 1199px **/




@media (max-width: 620px) {

.usparea .cat_cont { padding-top: 0;}
.usp_description {font-size: 20px;}
}



@media (min-width: 992px) {	


.sisu { padding: 60px 0px; position: relative;}

.navbar ul	{
	padding: 0 4px !important;

}

header ul li a:hover, header ul li.current-menu-item a {
    border-bottom: none;	
}

.side_toggler {display: none;}
.side_collapse {display: block !important;}

}

@media (min-width: 992px) and (max-width: 1200px) {
	header ul li a {padding: 0 10px !important;}
	.menu-header-menu-container li a {padding: 0 10px !important;}
	.menu-paise-menuu-russian-container li a {padding: 0 10px !important;}

}

@media (max-width: 991px) {
		
.collapse:not(.show) {display: none;}

.usp_row {padding-bottom: 0px;}
	
.sisu {padding: 70px 0px 40px 0px;}
.navbar {margin-top: 0; }

.navbar-collapse ul {padding:0 0 !important; 
    padding-bottom: 40px;}

.container-fluid {padding: 0;}

.sisu_index {padding-top: 40px; width: 100%;}

.title_bar_row {padding: 20px 0px 20px 0px; }
.title_bar_row h1 {font-size: 30px; }

a.side_bronn {width:380px;
max-width: 80% !important;
    margin-top: 0px;
    margin-left: 0px;
}

.sidebar a.btn-primary {width: 380px;}
	
.container, .container-lg, .container-md, .container-sm { max-width: 100% !important;}

.usparea {max-width: 736px;}

.usp h1 {text-align: center; }
.usp_description { text-align: center; margin-bottom: 50px;}

header ul li {width: 100%; 	display: block; border-top: 1px dashed #707070;}

header ul li a {font-size: 30px; text-align: center;
    height: 60px; line-height: 60px; margin: 0 0;}

header ul li a:hover, header ul li.current-menu-item a {color: #fff; text-shadow: none; border-bottom: none;}



.navbar ul {background-color: transparent !important; width: 100%;}


.lehesisu_blokk .sisu_iframe {

}

.wp-block-gallery {
	margin: 30px 0px 10px 0px !important;
    width: 100%;
    padding: 0px;
    border-radius: 30px;
}

.sisu {width: 90%;}

.logo {max-width: 90%;}



.side_toggler {z-index: 31;
    position: relative;
	min-height: 60px;}
	
.sidebar_blokk ul {z-index: 30;
    position: relative;}
.title_bar_row h1 {z-index: 28;
    position: relative;}

.sidebar {    position: relative;
    right: 0;
    top: 0px;
    z-index: 30;
	
	padding-right: 30px !important;
    margin-top: 0;
    padding-left: 10px;
	
	margin-top: -850px;
	
	height: 0;
	}

.sidebar_blokk {border-radius: 0; margin-top: 0; padding:0 0;
position: absolute;
    right: 0;
}

.cover_title {font-size: 34px;}

.title_bar_row h1 {
    font-size: 44px;
    text-align: center;
}


header .menu-item ul.sub-menu, header .menu-item:hover ul.sub-menu, .menu-item ul.sub-menu, .menu-item:hover ul.sub-menu {
    display: block;
    position: relative;
    background: transparent;
    width: 100%;
}

}
 /** max-width: 991px **/


@media (max-width: 780px) {
.usp h1 {font-size: 45px;}
}

@media (max-width: 767px) {
	
	
.cover_title {font-size: 24px; line-height: 32px;}
	
.sisu_iframe iframe {height: 400px;}
	
	.cover_tag {
    font-size: 18px;
    line-height: 24px;
    margin-top: 20px;
}
	

.sisu { padding: 70px 0px 40px 0px;}	

.sisu_arch .archsisu_blokk p, .sisu_arch .archsisu_blokk hr {display: none;}
.sisu_arch .archsisu_blokk .btn-primary {margin-top: 0;}

.uudised_side {display: none;}

} /** max-width: 767px **/




/* @media (max-width: 576px) {
    .col-sm-6 {
        flex: 0 0 auto;
        width: 50%;
    }
}/** max-width: 576px **/
 */



@media (max-width: 460px) {	
#modaal {
	border-radius: 0px;
    margin-right: 0;
    width: 90%;
    margin: 5%;
    margin-right: 5% !important;
}

.lehesisu_blokk {padding: 0;}
}


@media (max-width: 400px) {
	
		.usp h1 {font-size: 36px;}
	
header .container {padding:0;}
header .container-fluid {padding:0;}
header .container .row {margin:0;}
.navbar-toggler {margin-top:0px;}

.navbar-collapse ul {padding:0 0 !important; }

.logo {max-width: 40%;}



.sidebar {
    padding-left: 0px;

	}
	
.sidebar a.btn-primary {width:380px;
max-width: 80% !important;
    margin-top: 0px;
    margin-left: 0px;
	font-size: 16px;
	padding: 10px 4px 10px 4px;
}

.sidebar a.btn-primary {
    border-left: 1px solid #007ab5 !important;
    padding-left: 4px;
}

.sidebar a.btn-primary:hover {
    border-left: 0px solid #007ab5 !important;
    padding-left: 4px;
}



} /** max-width: 400px **/

.col404 h3 {margin-top:40px; margin-bottom:30px;}

.owl-carousel .owl-stage-outer {margin-right: -10px;}


.logo_img {display: block;}
.logo_img_v {display: none;}


@media (max-width: 340px) {
	
    .logo a img {
        width: auto;
	height: 70px;}
	
	header .logo a .logo_img {display: none !important;}
.logo_img_v {display: block;}
}


@media (max-width: 320px) {
	
	header .logo a img {
        width: auto;
	height: 70px;}
	
	header .logo a .logo_img {display: none !important;}
.logo_img_v {display: block;}
}










.hotspot-layer {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 31;
}

.hotspot-layer .title_silt {
    pointer-events: auto;
}



#modaal .a_box {margin:5px; margin-bottom: 12px;}


.wpml-ls-legacy-list-horizontal.wpml-ls-statics-footer {
    margin-bottom: 30px;
    z-index: 5;
    position: relative;
	    background: #fff;
}


.footer {    position: relative;
    background: #fff;
    z-index: 5;}





.hotspot-layer .title_silt:focus, .title_silt:focus-visible {
    cursor: pointer;
	outline: 2px solid black !important;
    font-size: 17px;
    z-index: 3 !important;
}


button:focus:not(:focus-visible) {
  	outline: 2px solid black !important;
}






/* 3D map hotspot labels */

#map-hotspot-root .title_silt {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    margin: 0 !important;
    pointer-events: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
    white-space: nowrap !important;
    transform-origin: center center !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    visibility: visible !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: none !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    text-shadow: none !important;

    background-color: rgba(32, 130, 195, 0.9);
    border-radius: 20px;
    padding: 5px 10px 4px 10px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    z-index: 1 !important;
    transition:
        0.1s ease-in-out padding,
        0.1s ease-in-out font-size,
        0.1s ease-in-out background-position;
    color: rgba(255, 255, 255, 1);
    box-shadow: 1px 11px 33px #00000029;
    border: 1px solid rgb(255 255 255 / 30%);
}

#map-hotspot-root .title_silt:hover {
    padding: 9px 14px 7px 14px;
    cursor: pointer;
    font-size: 17px;
    z-index: 2 !important;
}

#map-hotspot-root .title_silt:focus,
#map-hotspot-root .title_silt:focus-visible {
    outline: 2px solid #000;
}

@media (max-width: 600px) {
    #map-hotspot-root .title_silt {
        font-size: 12px;
    }

    #map-hotspot-root .title_silt:hover {
        font-size: 13px;
    }
}




#map-hotspot-root .title_silt.title_silt_kaariku,
#map-hotspot-root .title_silt.title_silt_silt_kaariku,
#map-hotspot-root .title_silt.title_silt_kaariku:hover,
#map-hotspot-root .title_silt.title_silt_silt_kaariku:hover {
    background-color: rgb(43 153 64 / 90%);
    color: #fff;
}

#map-hotspot-root .title_silt.title_silt_tartu,
#map-hotspot-root .title_silt.title_silt_silt_tartu,
#map-hotspot-root .title_silt.title_silt_tartu:hover,
#map-hotspot-root .title_silt.title_silt_silt_tartu:hover {
    background-color: rgb(100 59 24 / 90%);
    color: #fff;
}



*:focus {
    outline: 2px solid #000;
}



.cloned a.a_box {
	pointer-events: none !important;
}

/* -------------------------------------------------------------------------
   Gutenberg gallery: WordPress Core native lightbox + retained hover styling
   ------------------------------------------------------------------------- */

/* Native lightbox galleries no longer need an <a> wrapper, so reproduce the
   existing blue/magnifier hover overlay directly on the image figure. */
.wp-block-gallery.has-nested-images figure.wp-block-image {
    position: relative;
}

.wp-block-gallery.has-nested-images figure.wp-block-image::before,
.wp-block-gallery.has-nested-images figure.wp-block-image::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease-in-out;
}

.wp-block-gallery.has-nested-images figure.wp-block-image::before {
    background-color: #007ab5d4;
    z-index: 18;
}

.wp-block-gallery.has-nested-images figure.wp-block-image::after {
    background: url(img/zoom.png) center center / 70px 70px no-repeat;
    z-index: 19;
}

.wp-block-gallery.has-nested-images figure.wp-block-image:hover::before,
.wp-block-gallery.has-nested-images figure.wp-block-image:hover::after {
    opacity: 1;
}

/* Keep WordPress Core's own lightbox mechanics/UI, but give the overlay the
   darker blue translucent treatment and image shadow used by this theme. */
.wp-lightbox-overlay .scrim {
    background-color: rgba(0, 72, 110, 0.86) !important;
}

.wp-lightbox-overlay .lightbox-image-container img {
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.48);
    border-radius: 4px;
}

.wp-lightbox-overlay .wp-lightbox-close-button,
.wp-lightbox-overlay .wp-lightbox-navigation-button {
    color: #fff !important;
    fill: #fff !important;
}


/* Hide WordPress Core's small native lightbox expand icon.
   The image itself still opens the native lightbox; the theme's existing
   blue hover overlay + magnifying glass remains the only visible cue. */
.wp-lightbox-container .lightbox-trigger {
    display: none !important;
}


/* 2026-09-13: desktop primary navigation belongs on the right side. */
@media (min-width: 1112px) {
    header .navbar-expand-custom .navbar-collapse {
        flex-grow: 1;
        justify-content: flex-end !important;
    }

    header .navbar-expand-custom .navbar-collapse > div {
        display: flex;
        justify-content: flex-end;
        width: 100%;
    }

    header .navbar-expand-custom .navbar-collapse > div > ul {
        margin-left: auto !important;
        margin-right: 0 !important;
    }
}

/* ================================================================
   Front-page featured carousels: consistent cards/images + 1-item mode
   ================================================================ */

/*
 * arch_thumb used to exist at more than one generated size/aspect ratio.
 * Do not trust the physical thumbnail file dimensions for layout. Always
 * render the visible carousel crop at the intended 2:1 ratio instead.
 */
.featured-carousel .archive_thumb {
    /* The base theme gives the link 30px left/right padding and pulls this
       thumbnail out with -30px margins. 100% therefore only covered the
       inner content width and left a 60px white strip on the right. */
    width: calc(100% + 60px);
    aspect-ratio: 2 / 1;
    height: auto;
    max-height: none;
    margin: -30px -30px 0 -30px;
    overflow: hidden;
}

.featured-carousel .archsisu_blokk a .archive_thumb img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: center center;
    transform: scale(1);
    transition: transform .2s ease-in-out, opacity .2s ease-in-out;
}

.featured-carousel .archsisu_blokk a:hover .archive_thumb img,
.featured-carousel .archsisu_blokk a:focus .archive_thumb img {
    width: 100%;
    height: 100%;
    margin: 0;
    transform: scale(1.1);
    opacity: .9;
}

/* Make all visible cards in an Owl row the same height. */
.featured-carousel.owl-loaded .owl-stage {
    display: flex;
    align-items: stretch;
}

.featured-carousel.owl-loaded .owl-item {
    display: flex;
    height: auto;
}

.featured-carousel .item,
.featured-carousel .item > .col-12,
.featured-carousel .lehesisu_blokk {
    width: 100%;
}

.featured-carousel.owl-loaded .item,
.featured-carousel.owl-loaded .item > .col-12,
.featured-carousel.owl-loaded .lehesisu_blokk {
    display: flex;
    height: 100%;
	padding-bottom: 5px;
}

.featured-carousel .a_box {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.featured-carousel.owl-loaded .a_box {
    height: 100%;
}

.featured-carousel .e_nl {
    margin-top: auto;
}

/*
 * Exactly one post: main.js deliberately does not initialise Owl at all.
 * This is a plain centred card: no clones, arrows, dots or drag behaviour.
 */
.featured-carousel.featured-carousel-single {
    display: flex;
    justify-content: center;
    width: 100%;
}

.featured-carousel.featured-carousel-single > .item {
    flex: 0 1 calc((100% - 60px) / 3);
    max-width: calc((100% - 60px) / 3);
    padding-top: 20px;
}

.featured-carousel.featured-carousel-single .item a.a_box {
    margin-top: 0;
}

@media (min-width: 600px) and (max-width: 999px) {
    .featured-carousel.featured-carousel-single > .item {
        flex-basis: calc((100% - 30px) / 2);
        max-width: calc((100% - 30px) / 2);
    }
}

@media (max-width: 599px) {
    .featured-carousel.featured-carousel-single > .item {
        flex-basis: 100%;
        max-width: 100%;
    }
}
/*
 * Card hover must be visual only. The old negative top margin changed the
 * card's layout height, so a one-item section became 20px shorter on hover
 * and pulled every section below it upward. Reserve the clearance normally
 * and move the card with transform instead; transforms do not affect layout.
 */
.featured-carousel .item a.a_box {
    margin-top: 0 !important;
    transform: translateY(0);
    transition: transform .3s ease-in-out;
}

.featured-carousel .item a.a_box:hover,
.featured-carousel .item a.a_box:focus {
    margin-top: 0 !important;
    transform: translateY(-20px);
}









body.home:has(#imagemap, #tehvandi-2d-map-layer.is-visible) .navbar {height:70px;}



body.home:has(#imagemap, #tehvandi-2d-map-layer.is-visible) .hills {    margin-top: 0;
    min-height: 0;
    margin-bottom: 0;
	
	background: #fff !important;
	background-image: none !important;
	}

body.home:has(#imagemap, #tehvandi-2d-map-layer.is-visible) .hills {
    min-height: 0;
    margin-top: 0;}

body.home:has(#imagemap, #tehvandi-2d-map-layer.is-visible) #kolmdee {width: 100%;
    height: 43vw !important;
    overflow: hidden;}

body.home:has(#imagemap, #tehvandi-2d-map-layer.is-visible) #tehvandi-2d-map-stage {    width: 1663px;
    height: 680px;
    margin-left: 0px;
    margin-top: 70px;}

body.home:has(#imagemap, #tehvandi-2d-map-layer.is-visible) .usparea {      padding-top: 40px;}


@media (max-width: 1400px) { 
body.home:has(#imagemap, #tehvandi-2d-map-layer.is-visible) .tehvandi-2d-label {   min-height: 24px;
    font-size: 12px;}
	
body.home:has(#imagemap, #tehvandi-2d-map-layer.is-visible) .usp_row {  padding-top: 30px;
    padding-bottom: 30px;	
	}
	
body.home:has(#imagemap, #tehvandi-2d-map-layer.is-visible) .usp { padding-top: 0px; }

body.home:has(#imagemap, #tehvandi-2d-map-layer.is-visible) .usparea .cat_cont {
   padding-top: 0px;
}

body.home:has(#imagemap, #tehvandi-2d-map-layer.is-visible) .usparea {   padding-top: 0px;}


}


@media (max-aspect-ratio: 41 / 53) and (min-width: 700px) {
 body.home:has(#imagemap, #tehvandi-2d-map-layer.is-visible).hills {   margin: 0 0 0px 0;  }
	
body.home:has(#imagemap, #tehvandi-2d-map-layer.is-visible) .hills { margin-top: 0;
    min-height: 435px;
    margin-bottom: 0;}	
	
body.home:has(#imagemap, #tehvandi-2d-map-layer.is-visible) .usparea {    display: block;
    margin: 30px 0 0 0;
    z-index: 31;
    position: relative;
    margin: 0 0 0 0;
    display: block;
    padding-top: 20px;
    background: url(img/wr.png) top center repeat-x !important;}

body.home:has(#imagemap, #tehvandi-2d-map-layer.is-visible) #tehvandi-2d-map-stage {width: 884px;
    height: 362px;
    margin-left: 0px;
    margin-top: 54px;}
	
}

@media (max-width: 600px) {
    body.home:has(#imagemap, #tehvandi-2d-map-layer.is-visible) .usparea {
    padding-top: 0;
    }
}


@media (max-width: 780px) {
    body.home:has(#imagemap, #tehvandi-2d-map-layer.is-visible) .usp h2 {       font-size: 38px;   }
	
	body.home:has(#imagemap, #tehvandi-2d-map-layer.is-visible) .usp_description { font-size: 24px;}
	
	body.home:has(#imagemap, #tehvandi-2d-map-layer.is-visible) .usp_row { padding-top: 15px;}
}

@media (max-width: 600px) {
    body.home:has(#imagemap, #tehvandi-2d-map-layer.is-visible) .usp h2 {       font-size: 28px;   }
	
	body.home:has(#imagemap, #tehvandi-2d-map-layer.is-visible) .usp_description { font-size: 18px;}
	
	.footer_contact {    padding: 60px 10px 30px 10px;
}

.footer_contact strong {font-size:24px;}

.lehesisu_blokk {
    padding: 10px 10px;
}

    .tehvandi-2d-label {
        padding: 2px 5px 1px !important;
    }
	
	body.home:has(#imagemap, #tehvandi-2d-map-layer.is-visible) .tehvandi-2d-label {           min-height: 16px;
        font-size: 10px;}

}




@media (max-width: 400px) {
    body.home:has(#imagemap, #tehvandi-2d-map-layer.is-visible) .usp h2 {
        font-size: 18px;
    }

    .usp h1 {       font-size: 24px;    }

}

/* WPML language switcher: on touch devices the active language is a trigger,
   not a self-link. Large iPads use the desktop navigation breakpoint, so the
   opened state must not depend on :hover. */
.wpml-ls-current-language > a {
    cursor: pointer;
}

@media (min-width: 1112px) {
    header .wpml-ls-current-language.tartu-language-open > ul.sub-menu {
        display: block !important;
        position: fixed;
        background: #e9ecf0d6;
        width: 140px;
    }
}


/* 2026-09-17: mobile header containment fix.
   The base desktop rules float every menu <li> and force height:70px.
   On mobile WPML nests the alternate language inside the current-language <li>.
   The old mobile rules made the submenu visible but never cancelled those floats
   or the fixed parent height, so the submenu painted outside .navbar-collapse.
   clear:both cannot fix overflowing descendants of a fixed-height parent. */
@media (max-width: 1111px) {
    header .navbar-expand-custom {
        background: #fff !important;
    }

    header .navbar-collapse ul,
    header .navbar-collapse ul.sub-menu {
        float: none !important;
    }

    header .navbar-collapse ul li,
    header .navbar-collapse ul.sub-menu li {
        float: none !important;
        height: auto !important;
        line-height: normal !important;
    }

    header .navbar-collapse .menu-item-has-children > ul.sub-menu,
    header .navbar-collapse .wpml-ls-current-language > ul.sub-menu {
        position: static !important;
        float: none !important;
        clear: both;
        width: 100% !important;
    }

}

/* 2026-09-17: accessibility control changes layout ONLY while the mobile menu is open.
   Closed menu: the button keeps its original/base theme styling and position.
   Open/animating menu: it becomes the final full-width menu row. */
@media (max-width: 1111px) {
    header .navbar-expand-custom > .container-fluid > .navbar-collapse.show + #open-accessibility,
    header .navbar-expand-custom > .container-fluid > .navbar-collapse.collapsing + #open-accessibility {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 56px;
        margin: 0 !important;
        padding: 0 15px !important;
        float: none !important;
        align-self: stretch;
        display: block;
        text-align: center;
        font-size: 24px;
        line-height: 56px;
        text-transform: none;
        color: #222;
        background: #fff !important;
        border: 0 !important;
        border-top: 1px dashed #707070 !important;
        border-radius: 0 !important;
        box-sizing: border-box;
        position: relative;
        z-index: 31;
    }

    header .navbar-expand-custom > .container-fluid > .navbar-collapse.show + #open-accessibility:hover,
    header .navbar-expand-custom > .container-fluid > .navbar-collapse.show + #open-accessibility:focus,
    header .navbar-expand-custom > .container-fluid > .navbar-collapse.collapsing + #open-accessibility:hover,
    header .navbar-expand-custom > .container-fluid > .navbar-collapse.collapsing + #open-accessibility:focus {
        background: #007ab5 !important;
        color: #fff;
        border-top-color: #007ab5 !important;
    }
}

@media (max-width: 991px) {
    header .navbar-expand-custom > .container-fluid > .navbar-collapse.show + #open-accessibility,
    header .navbar-expand-custom > .container-fluid > .navbar-collapse.collapsing + #open-accessibility {
        min-height: 60px;
        font-size: 30px;
        line-height: 60px;
    }
}


/* 2026-09-17: ultra-narrow viewport fix.
   Do not let Bootstrap's wrapping/shrink heuristics decide the header below 320px.
   Use an explicit 3-column first row while closed, then let the collapse and the
   accessibility control span the whole grid when the menu is open.

   Also force the front-page/map flow to the actual visual viewport. At these
   widths the normal-flow page was ending roughly 70px before the fixed header,
   leaving a white strip down the right side. */
@media (max-width: 320px) {
    html,
    body {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow-x: hidden !important;
    }

    header,
    header .container,
    header .row,
    header .navbar {
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }

    header .container,
    header .row {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    header .navbar-expand-custom > .container-fluid {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: grid !important;
        grid-template-columns: minmax(90px, 1fr) 38px 72px;
        grid-auto-rows: auto;
        align-items: center;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box;
    }

    header .logo {
        grid-column: 1;
        grid-row: 1;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 4px !important;
        box-sizing: border-box;
    }

    header .logo a,
    header .logo a img {
        max-width: 100% !important;
    }

    header .logo a img {
        display: block;
        width: auto !important;
        height: auto !important;
        max-height: 46px !important;
        margin-left: 0 !important;
    }

    header .navbar-toggler {
        grid-column: 2;
        grid-row: 1;
        width: 38px;
        min-width: 38px;
        margin: 0 !important;
        padding: 4px !important;
        justify-self: center;
        box-sizing: border-box;
    }

    header .navbar-toggler .animated-icon,
    header .navbar-toggler.collapsed .animated-icon {
        width: 30px;
        height: 30px;
        margin: 0 !important;
    }

    header .navbar-collapse {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    header .navbar-collapse:not(.show):not(.collapsing) + #open-accessibility {
        grid-column: 3;
        grid-row: 1;
        width: 70px !important;
        max-width: 70px !important;
        min-width: 0 !important;
        margin: 0 2px 0 0 !important;
        padding: 4px 2px !important;
        justify-self: end;
        float: none !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: clip;
        font-size: 9px;
        line-height: 1.05;
        box-sizing: border-box;
    }

    /* Once the menu opens, the close control owns the far-right header cell. */
    header .container-fluid:has(.navbar-collapse.show) .navbar-toggler,
    header .container-fluid:has(.navbar-collapse.collapsing) .navbar-toggler {
        grid-column: 3;
        justify-self: end;
        width: 48px;
        min-width: 48px;
        margin-right: 4px !important;
    }

    header .navbar-expand-custom > .container-fluid > .navbar-collapse.show + #open-accessibility,
    header .navbar-expand-custom > .container-fluid > .navbar-collapse.collapsing + #open-accessibility {
        grid-column: 1 / -1;
        grid-row: 3;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        position: relative !important;
        inset: auto !important;
        transform: none !important;
    }

    /* The fixed header was full-width while the normal page flow could become
       viewport-minus-~70px. Pin the front-page flow to the visual viewport. */
    body.home #kolmdee,
    body.home #imagemap,
    body.home #tehvandi-2d-map-layer,
    body.home #tehvandi-2d-map-scroll,
    body.home .hills,
    body.home .hills_bottom,
    body.home .usparea {
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 100vw !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    body.home #tehvandi-2d-map-layer,
    body.home #tehvandi-2d-map-scroll {
        left: 0 !important;
        right: auto !important;
    }
}

/* 2026-09-17: keep the CLOSED hamburger truly centered on ultra-narrow screens.
   Logo stays left and accessibility stays right. Open-state X behavior remains unchanged. */
@media (max-width: 320px) {
    header .navbar-expand-custom > .container-fluid {
        position: relative !important;
    }

    header .navbar-toggler.collapsed {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        right: auto !important;
        bottom: auto !important;
        transform: translate(-50%, -50%) !important;
        grid-column: auto !important;
        grid-row: auto !important;
        justify-self: auto !important;
        margin: 0 !important;
    }
}

/* 2026-09-17: accessibility panel mobile layout fix.
   The old mobile rule used width:100% with content-box padding, making the
   fixed panel wider than the viewport. The old group floats also allowed the
   third group to sit beside the first two and disappear off-screen. */
@media (max-width: 570px) {
    #accessibility {
        left: 8px !important;
        right: 8px !important;
        width: auto !important;
        max-width: none !important;
        box-sizing: border-box !important;
        padding: 16px !important;
        padding-top: 62px !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        max-height: calc(100vh - 100px) !important;
        max-height: calc(100dvh - 100px) !important;
    }

    #accessibility .groups {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        column-gap: 18px !important;
        row-gap: 8px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    #accessibility .group-single,
    #accessibility .grp1,
    #accessibility .grp2,
    #accessibility .grp3 {
        width: auto !important;
        min-width: 0 !important;
        float: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    #accessibility .grp1 {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    #accessibility .grp2 {
        grid-column: 2 !important;
        grid-row: 1 !important;
        padding-bottom: 0 !important;
    }

    #accessibility .grp3 {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        clear: both !important;
    }

    #accessibility fieldset,
    #accessibility legend,
    #accessibility .input,
    #accessibility .radio-single,
    #accessibility label {
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    #accessibility .btn-close {
        top: 8px !important;
        right: 8px !important;
        width: 46px !important;
        height: 46px !important;
    }
}

/* At genuinely tiny widths, stacking the groups is more readable than
   squeezing two control columns side by side. */
@media (max-width: 340px) {
    #accessibility .groups {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    #accessibility .grp1,
    #accessibility .grp2,
    #accessibility .grp3 {
        grid-column: 1 !important;
        grid-row: auto !important;
    }
}

/* 2026-09-17: reclaim horizontal space in the front-page USP block on phones.
   Bootstrap's container + column gutters were consuming useful width twice and
   clipping the long TERVISESPORDIKESKUS heading for no benefit. Scope this only
   to this block and only on narrow mobile screens. */
@media (max-width: 480px) {
    body.home .hills_bottom.usparea {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.home .hills_bottom.usparea > .usp_row {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        --bs-gutter-x: 0 !important;
    }

    body.home .hills_bottom.usparea > .usp_row > .col-12 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.home .hills_bottom.usparea .usp {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* 2D map: keep horizontal panning but hide the visual scrollbar. */
body.home #tehvandi-2d-map-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body.home #tehvandi-2d-map-scroll::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

/* Logged-in front-page accommodation background tester.
 * This intentionally behaves like the existing Map Settings side control:
 * a narrow vertical tab on the LEFT edge and a panel that SLIDES OUT TO THE RIGHT.
 */
.majutus-bg-tester {
    --majutus-tab-width: 38px;
    --majutus-panel-width: 290px;
    position: fixed;
    top: 210px;
    left: 0;
    z-index: 10050;
    width: var(--majutus-tab-width);
    height: 128px;
    font-family: 'Source Sans Pro', sans-serif;
    pointer-events: none;
}

.majutus-bg-toggle {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--majutus-tab-width);
    height: 128px;
    min-width: 0;
    min-height: 0;
    padding: 10px 7px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
    border-radius: 0 4px 4px 0;
    background: #151515;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.35);
    pointer-events: auto;
}

/* Same visual logic as the Map Settings side tab: narrow button, vertical label. */
.majutus-bg-toggle-label {
    display: block;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
}

.majutus-bg-toggle:hover,
.majutus-bg-toggle:focus-visible {
    filter: brightness(1.12);
}

.majutus-bg-panel {
    position: absolute;
    z-index: 1;
    top: 0;
    left: var(--majutus-tab-width);
    width: var(--majutus-panel-width);
    min-height: 128px;
    box-sizing: border-box;
    padding: 14px;
    border: 1px solid rgba(0, 0, 0, 0.28);
    border-left: 0;
    border-radius: 0 7px 7px 0;
    background: #171717;
    color: #fff;
    box-shadow: 3px 5px 18px rgba(0, 0, 0, 0.32);

    /* CLOSED: fully tucked behind the left edge/tab. */
    transform: translateX(calc(-1 * var(--majutus-panel-width) - var(--majutus-tab-width)));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 220ms ease, opacity 140ms ease, visibility 0s linear 220ms;
}

/* OPEN: slide horizontally from the LEFT edge INTO the page. */
.majutus-bg-tester.is-open .majutus-bg-panel {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform 220ms ease, opacity 140ms ease, visibility 0s;
}

.majutus-bg-panel-title {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.majutus-bg-cycler {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 8px;
    align-items: center;
}

.majutus-bg-arrow {
    width: 42px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.09);
    color: inherit;
    font-size: 22px;
    line-height: 38px;
    text-align: center;
    cursor: pointer;
}

.majutus-bg-arrow:hover,
.majutus-bg-arrow:focus-visible {
    background: rgba(255, 255, 255, 0.17);
}

.majutus-bg-filename {
    display: block;
    min-width: 0;
    padding: 9px 6px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    color: inherit;
    font-family: Consolas, 'Courier New', monospace;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 480px) {
    .majutus-bg-tester {
        --majutus-panel-width: min(280px, calc(100vw - var(--majutus-tab-width) - 8px));
    }
}
