/*!
Theme Name: Kullo
Theme URI: http://underscores.me/
Author: v360
Author URI: http://www.v360.ee
Description: 360 turundus
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: kullo
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Kullo is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
.site {
 
        animation: fadeIn 1.5s;
    -webkit-animation: fadeIn 1.5s;
    -moz-animation: fadeIn 1.5s;
    -o-animation: fadeIn 1.5s;
    -ms-animation: fadeIn 1.5s;
}
@font-face {
    font-family: 'Antique Olive Std';
    src: url('/wp-content/themes/kullo/assets/fonts/antique-olive-std-light_3866-webfont.woff2') format('woff2');

    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Antique Olive Std';
    src: url('/wp-content/themes/kullo/assets/fonts/antique-olive-std-roman_3869-webfont.woff2') format('woff2');

    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Antique Olive Std';
    src: url('/wp-content/themes/kullo/assets/fonts/antique-olive-std-italic_3865-webfont.woff2') format('woff2');

    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Antique Olive Std Condensed';
    src: url('/wp-content/themes/kullo/assets/fonts/antique-olive-std-bold-condensed_3862-webfont.woff2') format('woff2');
	
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Antique Olive Std';
    src: url('/wp-content/themes/kullo/assets/fonts/antique-olive-std-bold_3863-webfont.woff2') format('woff2');

    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Antique Olive Std';
    src: url('/wp-content/themes/kullo/assets/fonts/antique-olive-std-black_3861-webfont.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Antique Olive Std Nord';
    src: url('/wp-content/themes/kullo/assets/fonts/antique-olive-std-nord-italic_3867-webfont.woff2') format('woff2');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Antique Olive Std Nord';
    src: url('/wp-content/themes/kullo/assets/fonts/antique-olive-std-nord_3868-webfont.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
main.team-page{
	max-width:1200px;
	width:100%;
	margin:75px auto 100px;
	padding:0px 5%;
	
}
body,
button,
input,
select,
optgroup,
textarea {

	font-family: 'Antique Olive Std', sans-serif !important;
	
}
h1{
	  font-family: 'Antique Olive Std', sans-serif !important;

	font-weight:900 !important;
}

:root{
  --brand-green:#769964;
  --brand:#ff5700;
  --mega-bg:#d9d6cf;
  --text:#1f1f1f;
  --muted:rgba(31,31,31,.72);
  --line:rgba(255,87,0,.55);
  /*--container:1280px;*/
  --container:100%;
  --radius:18px;
  
}


.kullo-embed{
  background: transparent;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 18px;
  overflow: hidden;
}
.kullo-embed__head, .kullo-filters {
    background: rgba(255,255,255,.35);
    backdrop-filter: blur(6px);
    padding: 12px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.kullo-embed__head {
    justify-content: space-between;
    border-bottom: 1px solid rgba(0,0,0,.08);
    display: flex;
    flex-direction: column;
}

.kullo-filters{
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.kullo-filters input,
.kullo-filters select{
  background: transparent;
  border: 1px solid rgba(0,0,0,.22);
  border-radius: 0;
  padding: 10px 15px;
	max-width:300px;
}
.kullo-filters input.js-search{
	  background: transparent;
  border: 1px solid rgba(0,0,0,.22);
  border-radius: 0;
  padding: 9px 15px;
}
.kullo-filters ::placeholder{
	color:#00000038;
}
.kullo-filters button{
  background: transparent;
  border: 0px solid rgba(0,0,0,.22);
  border-radius: 0;
  padding: 10px 15px;
}
.kullo-body{
  padding: 8px 12px 12px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(4px);
  overflow-x: auto;
}

.kullo-body table{
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

.kullo-body th{
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(0,0,0,.12);
}

.kullo-body td{
  padding: 12px 10px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.kullo-body tr:hover td{
  background: rgba(0,0,0,.02);
}

/* möödunud */
.kullo-body tr.past td{
  opacity: .45 !important;
  filter: grayscale(100%) !important;
}

/* käimasolev */
.kullo-body tr.now td{
  opacity: 1 !important;
  filter: none !important;
  background: rgba(107,248,104,.25) !important; /* #6bf868 */
}




/*.page-template-tunniplaan .header-inner {

    max-width: 100%;
 
}*/

.page-template-tunniplaan .entry-content {
    margin: 25px auto;
    max-width: 100%;
    padding: 100px 5%;
}
.kullo-embed__head strong {
    color: #ff3d00 !important;
    font-size: 35px;
    font-weight: 900;
}
.kullo-body tr.now td {
	background: rgb(118 153 101) !important;
}
.js-count{
	font-size:12px;
}
/*--------------------------------------------------------------
# Top-Header
--------------------------------------------------------------*/

.top-header p {
    color: white;
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: 14px;
    text-align: center;
    margin-left: 5%;
    margin-right: 5%;
    font-weight: 700;
}
.top-header a {
    color: white;
    font-size: 14px !important;
  
}
.top-header a:hover {
    color: white;
  
}
.top-header a:visited{
	color:white;
}
.top-header {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    background-color: var(--brand-green);
    padding: 0px 5%;
    
}
.top-header ul{
	margin: 0 0 0em 0em;
	list-style: none;
	display:flex;
	padding-left:0px;
	
}
li#text-6{
	    margin-left: 30px;
}

.top-header ul li{
	margin:0 15px;
	
}

/* Header
--------------------------------------------- */

.header-all.nav-up {
    transform: translateY(-100%);
	    transition: background 0.5s ease;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;

}
.header-all.active .top-header {
  display:none;

}

.header-all.active div.site-branding img {

    transition: background 0.5s ease;
	-webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
	width:100px;
	  

}
.header-all div.site-branding img {

    transition: background 0.5s ease;
	-webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
	width:150px;
	  

}
.header-all.active div.site-branding a {
    transition: background 0.5s ease;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;

}
.header-all.active .main-navigation{
	  transition: background 0.5s ease;
	-webkit-transition: all 1s;
    -moz-transition: all 1s;
    transition: all 1s;
	
}

.header-all.active div.site-branding a {

    transition: background 0.5s ease;
	-webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}


.home .header-all.active .site-header, .page-template-Service-page .header-all.active .site-header, .page-template-about .header-all.active .site-header {
	background: var(--brand);

   }
.header-all.active .site-header {
	background: var(--mega-bg);
    /* box-shadow: 0px 0px 20px #00000047; */
    transition: background 0.3s ease;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
   }
.header-all{
	position: fixed;
    width: 100%;
    z-index: 3;
    order: 1;
    top: 0px;

}
.header-all.active{
   transition: background 0.3s ease;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
	
}
.header-all.active div.site-branding a {

    transition: background 0.3s ease;
	-webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;

}
.header-all div.site-branding a {

    transition: background 0.3s ease;
	-webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}
.site-header {
    background-color: #00000000;
    
    margin: 0px 0%;
    transition: background 0.3s ease;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    box-shadow: 0px 0px 0px #00000047;
}
.site-header-inside{
	max-width:1500px;
	padding: 0px 5%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
	    
}
.main-navigation-inside{
	
	margin:0 auto;
	display:flex;
	justify-content: flex-end;
	    padding: 0px 6%;
}
p.site-title{
	display:none;
}
p.site-description{
	font-size: 11px;
    line-height: 110%;
    margin-bottom: 0px;
    margin-top: 1px;
    font-weight: 500;
}
.site-branding{
	display: flex;
    align-items: flex-start;
    flex-direction: column;
}
/* content
	 ========================================================================== */
.page-template-about header.entry-header::after, .page-template-Front-page header.entry-header::after, .page-template-Service-page header.entry-header::after {
	    display: none;

}
header.entry-header::after{
	
	    content: "";
    position: absolute;
    inset: 0;
    background-image: url("https://kullo.v360.ee/wp-content/uploads/2026/02/tallinna-huvikeskus-kullo-jooned-taust-punane.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    opacity: 0.5;
    pointer-events: none;
    z-index: 2;
    min-height: 650px;
    width: 100%;
    height: 650px;
    object-fit: cover;
}
header.entry-header{
	    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    min-height: 650px;
    background-color: #ccc7be;
	position: relative;
    overflow: hidden;

}
.post-thumbnail {
    min-height: 650px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    padding: 0px 0% 0px 0%;
	height:650px;
	  position: relative;
  overflow: hidden;
}
.page-template-about .post-thumbnail::after, .page-template-Front-page .post-thumbnail::after, .page-template-Service-page .post-thumbnail::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("https://kullo.v360.ee/wp-content/uploads/2026/01/tallinna-huvikeskus-kullo-jooned-taust-valge.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    opacity: 0.5;
    pointer-events: none;
    z-index: 2;
    min-height: 650px;
    width: 100%;
    height: 650px;
    object-fit: cover;
	display:block;
	
}
.post-thumbnail::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("https://kullo.v360.ee/wp-content/uploads/2026/02/tallinna-huvikeskus-kullo-jooned-taust-punane.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    opacity: 0.5;
    pointer-events: none;
    z-index: 2;
    min-height: 650px;
    width: 100%;
    height: 650px;
    object-fit: cover;
	display:none;
}

.post-thumbnail img {
    height: 650px;
    opacity: 1;
    border-radius: 0px 0px 0px 0px;
    object-fit: cover;
    width: 100%;
    filter: brightness(1);
    min-height: 650px;
	object-position:center center;
}
.video-wrapper {
  position: relative;
  width: 100%;
  height: 650px;
  overflow: hidden;
  filter: brightness(0.5);
  background-color: #464543;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  pointer-events: none;
}

.hero-video.active {
  opacity: 1;
}
.page-template-team .post-thumbnail, .page-template-team .post-thumbnail::after, .page-template-team .post-thumbnail img, .page-template-team  .video-wrapper, .page-template-team header.entry-header  {
    min-height: 400px;
	height:400px;
	
}
.page-template-default .post-thumbnail img {
	object-position:top;
}
.page-template-page-no-image header.entry-header{
	   
    min-height: auto;
    /*background-image: linear-gradient(to right, #ffffff, #ffffff);*/
        background-color: #ffffff00;
}
.page-template-page-no-image h1.entry-title {
    margin-top: 100px;
    color: #ff3d00;
    font-size: 40px;
    margin-bottom: 20px;
    border-bottom: solid 2px;
    padding-bottom: 15px;
}
.page-template-page-no-image .entry-content h2 {
       
	font-size:25px;

    
}
.page-template-page-no-image h3 {
       
	font-size:22px;

    
}
.page-template-page-no-image .front-page-meta p {
    font-size: 18px;
   color: black;
}

.meta-text {
      width: 100%;
    padding: 0px 5%;
    position: absolute;
    color: #ff5700;
    max-width: 1200px;
}
.page-template-about .meta-text, .page-template-Front-page .meta-text, .page-template-Service-page .meta-text{
	color:white;
}
.single-huviringid  .site-main .post-navigation {
    display:none;
}
.single-huviringid .post-date-custom {
  display:none;
}
.meta-text p {
    margin-top: 20px;
    font-size: 30px;
    margin-bottom: 30px;
    line-height: 110%;
}
.buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.single-post .contact-us {
	display:none;
}
.single-post .meta-text p{
	color: black;
  
}
.single-post .meta-text {
    position: relative;
    margin: 0 auto;
    padding: 0px 5%;
    width: 100%;
	 max-width: 1000px;
	z-index:1;
}
.single-post .post-thumbnail img {
        opacity: 1 !important;
 	margin: 0 auto;
	 min-height: auto;
	max-width:1000px;
	height:auto;
	
	
}
.single-post .post-thumbnail {
    width: 100%;
    padding: 50px 5% 0px;
    min-height: auto;
    /* max-width: 100%; */
    height: auto;
    max-width: 1200px;
    margin: 0 auto;
}
.single-post .post-thumbnail imh {
   object-fit:cover;
	height:auto;
}
.post-categories a {
    height: 100%;
    display: flex;
    justify-content: center;
    color: #ff3d00;
    align-items: center;
    font-size: 15px;
	font-weight:700;
}
.post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: solid 2px;
}
.single-post header.entry-header {
    background-color: #ccc7be;
    width: 100%;
    margin: 0px auto 0px;
    min-height: 650px;
    max-width: 100%;
    height: 650px;
    padding: 0px 0%;
    display: flex;
    align-items: center;
}
.single-post .entry-content {
    max-width: 1000px;
    margin: 0 auto;
}
.single-post .post-meta {
    max-width: 1000px;
    color: white;
    padding: 25px 5%;
	position:absolute;
	z-index:2;
}
.post-date-custom{
	font-size:20px;
	font-weight: 600;
}
.single-uritused .post-thumbnail img {
        opacity: 1 !important;
 	margin: 0 auto;
	 min-height: auto;
	max-width:1000px;
	height:auto;
	
	
}
.single-uritused .post-thumbnail{
	width:100%;
	padding: 50px 0% 50px;
	min-height: auto;
	max-width:100%;
	height:auto;
}
.single-uritused .post-date-custom{
	display:none;
}
.single-uritused .post-categories{
	border-top: solid 0px;
}
.single-uritused .date {
    font-size: 35px;
    font-weight: 900;
}
.single-uritused .location {
    font-size: 25px;
    font-weight: 900;
	margin-top:10px;
}

.single-uritused h1 {
    margin-top:10px;
}
blockquote.meta {
    margin-top: 15px;
    padding-top: 15px;
    border-top: solid 2px;
}
.front-page-meta p{
	font-size: 22px;
    font-weight: 500;
}
.entry-content{
	margin: 0px 2%;
	
}
.entry-content-outside{
	padding:25px 0px;
}
.page-template-page-no-image .front-page-meta{
	    width: 100%;
        max-width: 1100px;
    padding: 0px 2%;
    margin: 0 auto;
}
.front-page-meta{
	    width: 65%;
    padding: 0px 6%;
}
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */
.archive header.entry-header, .blog header.entry-header {
  
    min-height: 375px;
    
}
.blog .nav-links{
    display: flex;
    align-items: center;
}
.archive .meta-text {
    width: 100%;
    padding: 0px 5%;
    margin:0 auto;
    max-width: 1200px;
}
.archive main, .blog main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 5%;
}
.events-list{

}

.event-row{
  display:block;
  text-decoration:none;
  
}

.event-row + .event-row{
  border-top: 1px solid rgba(0,0,0,.08);
}

.event-row__date{
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 14px;
  line-height: 1.05;
  color: var(--brand);
  margin: 10px 0 4px 0;
}

.event-row__title {
    font-weight: 800;
    letter-spacing: 0;
    font-size: 16px;
    line-height: 120%;
    color: #111;
    max-width: 100%;
    padding: 0px 0px 10px;
}

.event-row:hover .event-row__title{
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .18em;
}

@media (prefers-reduced-motion: no-preference){
  .event-row{
    transition: transform .18s ease;
  }
  .event-row:hover{
    transform: translateY(-1px);
  }
}
.page-template-Service-page section#kirjeldus.section-3 {
    display: flex;
    align-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 25px 5%;
}
.page-template-Service-page section#kirjeldus.section-3 .section-img{
	
}
.page-template-Service-page #valdkonna-kirjeldus.section-text {
    padding: 25px 5% 25px 5%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.page-template-Service-page section#huviringid.section {
    background-color: #d7d2c8;
}
.page-template-Service-page #huviringid .section-inside {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}
.page-template-Service-page section#huviringid.section .news-item {
    /* min-height: 100px; */
    display: flex;
    width: auto;
    /* display: inline-block; */
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgb(0 0 0 / 0%);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    align-content: center;
    align-items: center;
}
.page-template-Service-page section#huviringid.section .news-item a {
    padding: 28px 45px 25px;
    min-height: 100px;
    color: white;
    background-color: #ff3d00;
    display: flex;
    justify-content: center;
    text-align: center;
    /* display: inline-block; */
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgb(0 0 0 / 0%);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    align-content: center;
    align-items: center;
}
.page-template-Service-page section#huviringid.section .news-item a:hover {
   
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
}
.page-template-Service-page section#huviringid.section .news-item a .news-heading {
 
    padding-right: 0%;
}
.page-template-Service-page section#huviringid.section .news-item a .news-heading{
 
    color: #d7d2c8 !important;

}
.page-template-Service-page section#huviringid.section  .news-item:first-child {
    margin-left: 0%;
}
.huviring-category__items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
section#huviringid.section{
	background-color:#ccc7be;
}
#huviringid {
    background: #c9c3bb; /* taust nagu pildil */
    padding: 35px 0;
}

#huviringid .section-inside {
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
	padding:25px 5%;
}

#huviringid .section-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform 0.3s ease;
}

#huviringid .section-item:hover {
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
	filter: brightness(0.95);
}

/* Pilt */
#huviringid .section-item img {
    width: 100%;
    height: 275px;
    object-fit: cover;
    display: block;
}

/* Alumine oranž osa */
#huviringid .section-item-meta {
    background: #ff5700;
    height: 230px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding-bottom: 40px;
    padding-left: 30px;
}

/* Vertikaalne pealkiri */
#huviringid .section-item-title {
    color: #d7d2c8;
    font-size: 24px;
    font-weight: 600;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    margin: 0;
}
.single-sundmus .meta-text .sundmus-dates{
	border-top:solid 2px;
	padding-top:20px;
	margin-top:20px;
}
.single-huviringid .entry-content{
    max-width: 1200px;
}
.single-huviringid .post-categories{
	display:none !important;
}
.single-huviringid #lisainfo{
	    width: 100%;
		
}
.single-huviringid .post-thumbnail{
	display:none;
}
.single-huviringid #lisainfo .section-text{
	width:100%;
	max-width:900px;
}
.single-huviringid #lisainfo .section-inside {
    padding: 10px 5% 75px;
}
.single-huviringid #lisainfo .section-inside {
  
    justify-content: flex-start;
}
.single-sundmus .meta-text {
   
    /*max-width: 1000px;*/
}
.sundmus-single {
    display: flex;
    gap: 25px 5%;
    flex-wrap: wrap;
}
.sundmus-thumb{
	width:40%;
}
.sundmus-content-out{
	width:45%;
}
#liitu-huviringiga .section-inside {
    max-width: 100%;
    padding: 0px 0%;
  
}
.section-img {
    width: 47.5%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: baseline;
    flex-direction: column;
}
.section-img img {
    object-fit: cover;
    height: 100%;
}
#liitu.section-text {
    padding: 50px 5%;
    max-width: 600px;
    width: 100%;
}
.section-text{
	width:47.5%;
}
.section-text h2 {
    font-size: 35px;
    color: #ff5700;
    margin-bottom: 25px;
    font-weight: 900;
}
span#uuri-lisaks {
    border-bottom: solid 2px #ff3d00;
    color: #ff3d00;
    font-size: 45px;
    font-weight: 900;
    padding-bottom: 0px;
    margin-bottom: 50px;
    width: 100%;
    display: flex;
}
section.section-1 {
    display: flex;
    flex-wrap: wrap;
    gap: 25px 5%;
}
main.site-main.teacher-archive{
	
    max-width: 1200px;
    margin: 0 auto;
    padding: 150px 5% 100px;

}
main.site-main.teacher-archive h1{
	font-size:35px;
	color: #ff3c00;
	margin-bottom:25px;
}
h3.teacher-card__name {
    font-size: 22px;
	margin-bottom:10px;
}
.teacher-header{
  display:flex;
  gap:35px 5%;
  align-items:flex-start;
  margin:24px 0;
}
.teacher-meta {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    width: 100%;
}
.teacher-meta a{
	font-weight:600;
	font-size:20px;
}
.teacher-photo img{
     width: 350px;
    aspect-ratio: 1 / 1.25;
    object-fit: cover;
}
.teacher-name{ 
	margin:0 0 8px; 
}
.teacher-description{ 
	margin: 16px 0 32px; 
}
.teacher-related-list {
    margin: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 10px;
}
.teacher-related-list a{
 
	border:solid 1px;
	padding:5px 10px;
	height: 100%;
    display: flex;
    justify-content: center;
    padding: 13px 23px 11px;
    border: solid 2px #ff3c00;
    color: #ff3c00;
    background-color: transparent;
    align-items: center;
    gap: 5px;
    font-size: 16px;
}
section.teacher-related{
	margin-top:45px
		
}
section.teacher-related h2{
	color: #ff3c00;
	border-bottom: 2px solid;
	padding-bottom: 10px;
}
article.teacher-card{
	width:23.5%;
	    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgb(0 0 0 / 0%);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}
article.teacher-card:hover{
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
}
section.huviring-teachers{
	padding: 50px 0px 0px;
}
h2.team-category__title{
	 color: #ff3c00;
    margin: 80px 0px 50px;
    font-size: 35px;
    font-weight: 900;
    border-bottom: solid 2px;
    padding-bottom: 20px;
}
section.huviring-teachers h2 {
    color: #ff3c00;
    margin: 25px 0px 40px;
    font-size: 35px;
    font-weight: 900;
    border-bottom: solid 2px;
    padding-bottom: 20px;
}
section.section-2{
	margin:50px auto;
}
.teacher-card__rings {
    font-size: 12px;
    margin-bottom: 10px;
}
#teachers-block{
	padding-top:0px;
	margin-top:0px;
	
	}
.section-inside {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 5%;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 25px 5%;
    justify-content: flex-end;
}
#kasulikud-lingid h2 {
    margin-top: 0px;
    color: #ff5700;
}
#kasulikud-lingid .buttons{
	margin-top:0px;
}
section.section-3 {
    max-width: 100%;
    width: 100%;
    background-color: #ccc7be;
   
}
section#sundmused.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 75px 5%;
    width: 100%;
}
.huviring-teachers__grid {
    display: flex;
    gap: 25px 2%;
    flex-wrap: wrap;
}
article.teacher-card img{
	width: 100%;
    aspect-ratio: 1 / 1.25;
    object-fit: cover;
}
/* Section background */
.uritused-template-default nav.navigation.post-navigation{
	display:none;
}
#uritused {
    max-width: 1200px;
    margin: 0 auto;
	padding:50px 5%;
}

#uritused {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}
#uritused h2{
	margin-top:0px !important;
}
.events-meta blockquote {
    
    color: #ff3c00;
 
}

/* Right side event list */
.event-item {
    margin-bottom: 20px;
}

.event-date {
    font-size: 20px;
    font-weight: 800;
    color: #ff3c00;
    margin-bottom: 0px;
}

.event-title a {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.sundmused-list__items{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.sundmused-list__item {
    display: flex;
    align-items: baseline;
    gap: 0px;
    padding: 10px 0;
    border-bottom: 0px solid rgba(0,0,0,.08);
    flex-direction: column;
}
.sundmused-list__date{
  min-width:140px;
  font-weight:600;
  opacity:.8;
}
.sundmused-list__title{
  font-weight:700;
	  font-size:16px;
  text-decoration:none;
}
.sundmused-list__title:hover{
 
}
.sundmused-list__type{
  margin-left:auto;
  font-size:12px;
  opacity:.7;
}
span.sundmused-list__date {
    font-size: 20px;
    font-weight: 800;
    color: #ff3c00;
    margin-bottom: 0px;
}
.page-template-about #sundmused{
	padding-bottom:10px !important;
}
.page-template-about #lingid.entry-content{
	max-width:1200px;
	padding-top:0px;
	margin-top:0px;
}
.page-template-about .entry-content #kasulikud-lingid h2{
	border-bottom:2px solid;
	padding-bottom:15px;
	margin-bottom:30px;
}
.page-template-about section#kirjeldus.section-3{
	display: flex;
    align-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 25px 5%;
}
.page-template-about #valdkonna-kirjeldus.section-text {
  padding: 25px 5% 25px 5%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
section#uudised {
  padding-left: clamp(16px, 5%, 100px);
	padding:50px 0% 50px 0%;
}
section#uudised h2.block-small {
    padding:0px 10%;
	  max-width:1500px;
	 width:100%;
		 margin: 0px auto 35px;
}
.news-item {
  width: 300px !important; /* 4,5 kaarti sõltuvalt ekraani laiusest */
	 display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgb(0 0 0 / 0%);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}
.news-item:hover{
	
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
	filter:brightness (0.95)
}
.news-item:last-child:hover{
	 -webkit-transform: translateY(0px) !important;
    transform: translateY(0px) !important;
}
.news-item .news-cta:hover{
	 -webkit-transform: translateY(0px) !important;
    transform: translateY(0px) !important;
}
.news-item:first-child {
  margin-left:10%
}
.news-item a:hover p.news-excerpt{
	color:black;
}
.news-img img {
  width: 100%;
 aspect-ratio: 1.45 / 1;
  object-fit: cover;
}
.news-img {
  width: 100%;
 aspect-ratio: 1.45 / 1;
}
.news-date {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: #ff3b00;
}
.news-heading {
    font-size: 17px;
    line-height: 1.2;
    margin: 0px 0 2px;
    color: #ff3d00;
    font-weight: 700;
    padding-right: 10%;
}

.news-excerpt {
  font-size: 12px;
  line-height: 1.4;
	padding-right:10%;
}

/* CTA kaart */
.news-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: auto 2%;
}



.cta-eyebrow {
  font-size: 14px;
  text-transform: uppercase;
}

.cta-arrow {
  font-size: 32px;
  margin-top: 20px;
}
.news-swiper {
  overflow: hidden;
}

.news-swiper .swiper-wrapper {
  display: flex;
}

.news-swiper .swiper-slide {
  flex-shrink: 0;
}
/* ===== FOOTER GENERAL ===== */

.site-footer {
    background: #000;
    color: #fff;
    padding: 80px 0;
}

#footer-sidebar {
    max-width: 1500px;
    padding: 25px 5%;
    margin: 0 auto;
    display: flex;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    gap: 35px 3%;
    flex-wrap: wrap;
}
#footer-sidebar1{
	width:100%;
	max-width:300px;
}
#footer-sidebar2{
	width:100%;
	max-width:300px;
}
#footer-sidebar3{
	width:100%;
	max-width:450px;
	
}
#partnerid .gallery{
	max-width:1000px;
	margin:0 auto;
}
/* Widget titles */
.site-footer h2, .site-footer h3, .site-footer .widget-title {
    color: #ff5700;
    margin-bottom: 6px;
    font-size: 19px;
}
.site-footer #footer-sidebar2 .widget_nav_menu{
	margin-top:0px;
	
}
.site-footer #footer-sidebar1 .widget_nav_menu{
	margin-top:-30px;
	
}
.site-footer #footer-sidebar2 .widget_nav_menu li{
	margin-bottom:2px !important;
	
}
.site-footer #footer-sidebar2 .widget_nav_menu h2{
	margin-bottom:12px !important;
	
}
#footer-sidebar3 h2{
	font-size:30px;
	margin-bottom:25px;
	margin-top:10px;
}
/* Paragraphs & links */
.site-footer p,
.site-footer li,
.site-footer a {
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
    text-decoration: none;

}
.site-footer p {
   margin-top:0px;
	margin-bottom:10px;

}

.site-footer a:hover {
    color: #ff3c00;
}

/* Lists */
.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li {
    margin-bottom: 8px;
}
.site-footer li.contact-menu a{
	color:#e4f0dd;
	font-size:16px;
	font-weight:700;
  	display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgb(0 0 0 / 0%);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}
.site-footer li.contact-menu a:hover{
	    -webkit-transform: translateX(4px);
    transform: translateX(4px);
	    filter: brightness(0.75);

}
.site-footer a:hover{
	color:white;
	    filter: brightness(0.75);

}
.site-footer li.contact-menu a i{

	font-size:30px;
	margin-top:5px;
	
}
.site-footer li.contact-menu{
	margin-bottom:0px;
}
#partnerid aside{
	margin-bottom:-25px !important;
}
#partnerid {
    padding: 10px 5%;
}
/* Hide default tag styling if not needed */
.event-tags {
    display: none;
}

/* Button */
.buttons {
    margin-top: 60px;
}



/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 60%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Akordion
	 ========================================================================== */
button.ax-q {
    background-color: transparent;
    font-weight: 900;
    font-size: 25px;
    border: solid 0px;
    border-bottom: solid 2px;
	text-transform: none;
	display:flex;
	padding:13px 2.5%;
}
section.ax-accordion{
	    max-width: 1200px;
    margin: 0 auto;
    padding: 75px 5%;
    width: 100%;
}
section.ax-accordion h2.block-small{
	margin-top:0px;
	margin-bottom:0px;
}
.ax-acc[data-accordion]{
  display:grid;
  gap:0;
}

/* Item – ilma taustata */
.ax-item{
  background:transparent;
  border:0;
}
h2.ax-qtext{
	margin-bottom:0px;
	margin-top:0px;
}
/* Küsimuse rida */
.ax-q{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;

  padding:18px 0;
  border:0;
  background:none;
  cursor:pointer;

  font:inherit;
  font-weight:700;
  text-align:left;
}

/* Hover efekt */
.ax-q:hover{
  opacity:.85;
}

/* -------- FIX: + / - ikoon kindlalt nähtav -------- */
.ax-item blockquote {
    margin-top: 35px;

}
.ax-icon{
  width:18px;
  height:18px;
  flex:0 0 18px;
  display:inline-block;
  position:relative;

  /* miinus (horisontaalne joon) */
  background:
    linear-gradient(#ff4d00, #ff4d00) center / 100% 3px no-repeat;

  opacity:.9;
}

/* pluss: lisa ka vertikaalne joon ainult suletud olekus */
.ax-item:not(.is-open) .ax-icon{
  background:
    linear-gradient(#ff4d00, #ff4d00) center / 100% 3px no-repeat,
    linear-gradient(#ff4d00, #ff4d00) center / 3px 100% no-repeat;
}

/* Optional: hover väike “snap” */
.ax-q:hover .ax-icon{
  transform: scale(1.05);
  transition: transform .15s ease;
}

/* Avatud olekus peida vertikaalne joon = miinus */
.ax-item.is-open .ax-icon::after{
  opacity:0;
}

/* Alumine punane joon */
.ax-a{
 /* border-bottom:2px solid #ff4d00;*/
}

/* Sisu animatsioon */
.ax-a{
  display:grid;
  grid-template-rows:0fr;
  transition:grid-template-rows .3s ease;
}

.ax-item.is-open .ax-a{
  grid-template-rows:1fr;
}

/* Sisu */
.ax-a-inner {
    overflow: hidden;
    padding: 0px 2.5% 0px;
    line-height: 1.6;
    color: #222;
}

/* Focus accessibility */
.ax-q:focus-visible{
  outline:2px solid #ff4d00;
  outline-offset:4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .ax-a, .ax-icon::after{
    transition:none !important;
  }
}
/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	 color: #111;
	font-family: 'Antique Olive Std', sans-serif !important;
	font-size: 1rem;
	line-height: 1.5;
}

h2,
h3,
h4,
h5,
h6 {
	line-height:110%;
	
}
.single-uritused h1, .single-sundmus h1{
	font-size:50px;
}
h1{
	font-weight:900;
	font-size:60px;
	line-height:110%;
	margin-bottom:0px;
}
h1.block-small{
	font-size:45px;
}
.single-post h1{
	font-size:50px;
	margin-top:10px;
}
.single-huviringid h1{
	font-size:50px;
	
}
h2{
	
}
h2.block-small {
    font-size: 30px;
    font-weight: 900;
    color: #ff5700;
    display: flex;
    align-items: center;
    gap: 5px;
}
h2.block {
    font-size: 40px;
    font-weight: 900;
    color: #ff5700;
    display: flex;
    align-items: center;
    gap: 5px;
	max-width:1500px;
	padding:20px 5%;
	margin:0 auto;
}
h3 {
	 font-size: 23px;
	line-height:110%;
}
p {
	margin-bottom: 1.5em;
	font-size:15px;
	
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 0em;
}
blockquote p{
    font-size: 19px;
    line-height: 130%;

 
}
.single-huviringid blockquote.meta {

    padding-top: 0px;
   
}
address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 20px 0 1.5em 1.5em;
	padding-left:0px;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 0em 0;
	display:flex;
}
.gallery-icon.landscape{
	display:flex;
}
.gallery-icon.landscape a {
    display: flex;
}
.gallery-icon.landscape a img{
    width: 100%;
    aspect-ratio: 1.45 / 1;
    object-fit: cover;
}
.page-template-about .gallery-icon.landscape a img {
    aspect-ratio: 1 / 1;
    box-shadow: 0px 0px 20px #00000036;
}
table {
	margin: 0 0 1.5em;
	width: 100%;
}
/* =========================
   Hinnatabel – minimalistlik
   ========================= */
.ax-accordion table tr:first-child{
    border-bottom: 1px solid rgba(0, 0, 0, .12) !important;
}
.ax-accordion table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0 50px;
    font-size: 1rem;
}

.ax-accordion table tr{
  border-bottom:1px solid rgba(0,0,0,.12);
}

.ax-accordion table tr:last-child{
  border-bottom:0;
}

.ax-accordion table td{
  padding:14px 0;
  vertical-align:middle;
}

/* Vasak tulp – kirjeldus */
.ax-accordion table td:first-child{
  color:#222;
}

/* Parem tulp – hind */
.ax-accordion table td:last-child{
  text-align:right;
  white-space:nowrap;
  font-weight:700;
  color:#ff4d00;
}

/* Väiksem tekst sulgudes */
.ax-accordion table td small{
  font-weight:400;
  color:rgba(0,0,0,.6);
}

/* Mobiil – rohkem õhku */
@media (max-width: 600px){
  .ax-accordion table td{
    padding:12px 0;
  }
}
/* Links
--------------------------------------------- */
a {
	color: black;
	text-decoration:none;
}

a:visited {
	color: black;
}

a:hover,
a:focus,
a:active {
	color: #ff3b00;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
a#ReadMore.button {
    height: 100%;
    display: flex;
    justify-content: center;
    padding: 13px 23px 11px;
    border: solid 2px black;
    color: black;
    background-color: transparent;
    align-items: center;
    gap: 5px;
	font-size:12px;
	
}
a#ReadMore.button:hover {
    height: 100%;
    display: flex;
    justify-content: center;
    padding: 13px 23px 11px;
    border: solid 2px black;
    color: black;
    background-color: transparent;
	-webkit-transform: translateX(4px);
    transform: translateX(4px);
	
}
#uudised a#ReadMore.button{
	width:100px;
}
.contact-us {
    position: fixed;
    top: 43%;
    left: 0px;
    transform: rotate(90deg) translateY(-50%);
    transform-origin: left center;
    z-index: 2;
}


#contact-button {
    display: inline-block;
    background-color: #edbb47;
    color: black;
    padding: 10px 30px;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    border: 0;
    border-radius: 15px 15px 0 0;
    box-shadow: 0 0 17px rgba(0, 0, 0, 0.57);
    transform: perspective(1px) translateZ(0);
    transition: transform 0.3s ease-out;
}





/* Hover efekt */
#contact-button:hover {
    -webkit-transform: translateX(-4px);
    transform: translateX(-4px);
    filter: brightness(0.95);
	color:black;
}
img.contact-us-logo{
	width:70px;
	height: 70px;
	border-radius:0%; 
	display: block;
  margin: 0 auto 0px;
  transition: transform 0.1s linear; /* sujuv pööramine */
}
.contact-us {
    text-align: center;
    /* margin: 100px auto; */
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: flex-end;
}
[type="submit"] {
    color: #d7d2c8;
    background-color: #ff3d00;
    padding: 13px 23px 12px;
    font-weight: 600;
    font-size: 16px;
    border: solid 3px #ff3d00;
    border-radius: 0px;
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgb(0 0 0 / 0%);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    text-decoration: none;
    text-transform: uppercase;
}
[type="submit"]:hover{
	color: #d7d2c8 !important;
    background-color: #ff3d00;
    -webkit-transform: translateY(4px);
    transform: translateY(4px);

}
button, [type="button"], [type="reset"], a.button {
    background-color: #e4f0dd;
    color: #ff5700;
    padding: 13px 23px 9px;
    font-weight: 500;
    font-size: 16px;
    border: solid 3px #e4f0dd;
    border-radius: 0px;
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgb(0 0 0 / 0%);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    text-decoration: none;
    text-transform: uppercase;
}

button:hover,
[type="button"]:hover,
[type="reset"]:hover,
[type="submit"]:hover, a.button:hover {
 
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
     color: #ff3d00;
    text-decoration: none;
}
a.button#white {
    color: #e4f0dd;
    background-color: #ffffff00;
	border: solid 3px #e4f0dd;
}
a.button#white:hover {
    color: #e4f0dd;
    background-color: #ffffff00;
	border: solid 3px #e4f0dd;
}
a#white.button i{
	font-size:25px;
}

a#light-red.button {
    background-color: #e4f0dd00;
    color: #ff3d00;
    padding: 13px 23px 9px;
    font-weight: 500;
    font-size: 16px;
    border: solid 2px #ff3d00;
    border-radius: 0px;
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgb(0 0 0 / 0%);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    text-decoration: none;
    text-transform: uppercase;
}

a#light-red.button:hover {
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
}



input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea {
    color: #d7d7d7;
    border: 1px solid #d3d3d380;
    border-radius: 0px;
    padding: 3px;
    background-color: transparent;
    padding: 10px;
	width:100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: white;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}
::placeholder{
	  color: #d7d7d7;
}
/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
/*.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}*/

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}
.comment-navigation .nav-links, .posts-navigation .nav-links, .post-navigation .nav-links {
    display: flex;
    flex-direction: row-reverse;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}
.post-navigation .nav-next{
    text-align: start;
    flex: 1 0 50%;
}
.post-navigation .nav-previous {
    flex: 1 0 50%;
    text-align: end;
}
.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {

	flex: 1 0 50%;
}
/* Üldine stiil */
.nav-links .nav-previous,
.nav-links .nav-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
}

/* Vasak nool */
.nav-links .nav-previous {
    left: 20px;
}

/* Parem nool */
.nav-links .nav-next {
    right: 20px;
}

/* Nupu välimus (soovi korral) */
.nav-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bcb8b0;
    font-size: 70px;
    text-decoration: none;
    transition: 0.3s ease;
	 vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgb(0 0 0 / 0%);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}
span.page-numbers.current{
	color:var(--brand);
		font-size: 30px;
}
span.page-numbers.dots{
	font-size: 30px;
	color: #bcb8b0;
}
.blog .nav-links{
	margin-top:50px;
}
.blog .nav-links a {
	font-size: 30px;
}
.nav-links .nav-next a:hover {
       -webkit-transform: translateX(4px);
    transform: translateX(4px);
    filter: brightness(0.95);
}
.nav-links .nav-previous a:hover {
       -webkit-transform: translateX(-4px);
    transform: translateX(-4px);
    filter: brightness(0.95);
}

/* Posts and pages
--------------------------------------------- */

.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content, .entry-content, .entry-summary {
    margin: 25px auto;
    max-width: 1000px;
    padding: 50px 5%;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 2.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	width:155px;
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
#partnerid img{
	padding:15px;
}
.gallery {
    margin-bottom: 25px;
    display: grid;
    grid-gap: 10px;
    margin-top: 50px;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
	box-shadow: 0px 0px 20px #00000036;
	/*rtl:ignore*/
	float: left;
	width:40%;
	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {
	box-shadow: 0px 0px 20px #00000036;
	/*rtl:ignore*/
	float: right;
	width:40%;
	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
	width:100%;
	box-shadow: 0px 0px 20px #00000036;
}
@media only screen and (max-width: 1300px){
.single-post h1 {
    font-size: 40px;
    margin-top: 10px;
}
article.teacher-card{
	width:32%;

}
.nav-links .nav-previous, .nav-links .nav-next {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
}
	.comment-navigation .nav-links, .posts-navigation .nav-links, .post-navigation .nav-links {
    display: flex;
    flex-direction: row;
}
	.nav-links a {
  
    font-size: 50px;
  
}

}
@media only screen and (max-width: 1000px){
#uritused {
    display: grid;
    grid-template-columns: none;
    gap: 50px;
    align-items: start;
}
  	.single-uritused h1, .single-sundmus h1, .single-huviringid h1, .single-post h1 {
	font-size:40px;
}
  

	#huviringid .section-inside {
    gap: 10px;
    grid-template-columns: repeat(3, 1fr);
   
}
	#huviringid .section-item-title {
 	font-size:20px;
    writing-mode: lr;
    transform: none;
    margin: 0;
}
	#huviringid .section-item-meta {
   
    height: 100px;
    
    align-items: center;
    justify-content: flex-start;

    padding: 10px 10% !important;
}
	
	.custom-logo-link {
	width:150px;

}
	h1{
	
	font-size:60px;

	
}
	.meta-text p {

    font-size: 40px;
    
}
}
@media only screen and (max-width: 768px){
	.sundmus-single {

    flex-direction: column;
}
	.sundmus-thumb {
    width: 100%;
}
	.sundmus-content-out {
    width: 100%;
}
	.teacher-header {
   
    flex-direction: column;
}
	article.teacher-card{
	width:49%;

}
	.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(2, 1fr);
}
	.page-template-Service-page section#huviringid.section .news-item a {
    padding: 15px 25px 11px;

}
	.page-template-Service-page section#huviringid.section .news-item a {
    padding: 28px 45px 25px;
    min-height: 100px;
  
}

	.news-heading {
    font-size: 16px;
}
	.post-thumbnail img{
		object-position: var(--fx, 50%) var(--fy, 50%);}
	.section-img img {
    object-fit: cover;
    height: auto;
}
	section#kirjeldus.section-3 {

    flex-direction: column;
}
	.section-text {
    width: 100%;
}
	.section-img {
    width: 100%;
   
}
	
	.custom-logo-link {
	width:135px;

}

.post-thumbnail, .post-thumbnail::after, .post-thumbnail img, .video-wrapper, header.entry-header  {
    min-height: 700px;
	height:700px;
	
}
	#huviringid .section-inside {

    grid-template-columns: repeat(2, 1fr);
}

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

.alignleft {
	
	width:100%;

	margin-right: 0em;
	
}

.alignright {
	
	width:100%;
	
	margin-left: 0em;

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

	.single-uritused h1, .single-sundmus h1, .single-huviringid h1, .single-post h1 {
	font-size:35px;
}
h1{
	font-size:50px;
}
.meta-text p {
    font-size: 30px;
    
}
.single-huviringid 	.meta-text p {
    font-size: 20px;
}
	.home .post-thumbnail, .home .post-thumbnail::after, .home .post-thumbnail img, .home .video-wrapper, .home header.entry-header  {
    min-height: 650px;
	height:650px;
	
}
.post-thumbnail, .post-thumbnail::after, .post-thumbnail img, .video-wrapper, header.entry-header  {
    min-height: 550px;
	height:550px;
	
}
#huviringid .section-item img {

    height: 175px;
   
}
	#huviringid .section-item-meta {
    height: 70px;
   
}
	#huviringid .section-item-title {
    font-size: 18px;
    
}
	#uritused .buttons {
   
    justify-content: center;
}
		.page-template-Service-page section#huviringid.section .news-item a {
    padding: 12px 25px 9px;

}
	.page-template-Service-page section#huviringid.section .news-item a {
  
    min-height: 75px;
  
}
	.news-heading {
    font-size: 14px;
}
	span#uuri-lisaks {
    border-bottom: solid 2px #ff3d00;
    color: #ff3d00;
    font-size: 42px;
  
    display: flex;
}
.teacher-card__phone a, .teacher-card__email a{
    font-size:13px;
}
	.section-text h2 {
    font-size: 30px;

}
	section.huviring-teachers h2 {
    
    font-size: 30px;
   
}
	h2.team-category__title{
	
    font-size: 30px;
   
}
	
}