/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Mar 17 2026 | 08:39:25 */
*, body, button, input, select, textarea, .ast-button, .ast-custom-button {
  font-family: 'Play',sans-serif;
}

.ast-separate-container .ast-article-single:not(.ast-related-post), .ast-separate-container .comments-area .comment-respond, .ast-separate-container .comments-area .ast-comment-list li, .ast-separate-container .ast-woocommerce-container, .ast-separate-container .error-404, .ast-separate-container .no-results, .single.ast-separate-container .ast-author-meta, .ast-separate-container .related-posts-title-wrapper, .ast-separate-container.ast-two-container #secondary .widget, .ast-separate-container .comments-count-wrapper, .ast-box-layout.ast-plain-container .site-content, .ast-padded-layout.ast-plain-container .site-content, .ast-separate-container .comments-area .comments-title {
    background-color: #ffffff;
}


.grecaptcha-badge { 
    visibility: hidden;
}

.punanekast a {
  color: #fff !important;
  text-shadow: 0px 0px 5px yellow;
}

.afsmenu_search::placeholder {
  color: rgba(255,255,255,.0.7) !important;
}

.page-links .page-link, .single .post-navigation a {
    color: #990100;
    text-transform: lowercase;
}

.entry-meta, .entry-meta * {
    color: #990100;
}

a, .page-title {
    color: #333;
}

.entry-title a {
  color: #333;
}

.su-spoiler-style-fancy>.su-spoiler-title {
    background: #f9f9f9;
    font-size: 17px;
}

.elementor-accordion-title {
  color: #333 !important;
}

.page-id-11373 .nupp {
  min-width: 100px;
}

/* --------------------------------------------- kommenteeritud plokid -------------------*/

/* Päis ja menüüd */

.animatedfsmenu .animatedfsmenu-navbar-toggler.right_top {
 left: 0;
 top: 0;
}

.animatedfsmenu .animatedfsmenu-navbar-toggler:not(.custom-burger) {
  width: 90px;
  height: 90px;
}

.animatedfsmenu .social-media {
    margin: 0;
    text-align: center;
    padding-top: 1em;
}

.animatedfsmenu .animatedfs_menu_list {
  width: 70%;
}

.animatedfs_menu_list .afsmenu {
    display: flex;
}

.animatedfsmenu-html-area {
    min-height: 50vh;
    max-height: 70vh;
    overflow-Y: auto;
}

@media screen and (max-width: 1024px) {
  .animatedfsmenu .animatedfsmenu-navbar-toggler:not(.custom-burger) {
  width: 70px;
  height: 70px;
}
} 

@media screen and (max-width: 767px) {
  .animatedfsmenu .animatedfsmenu-navbar-toggler:not(.custom-burger) {
  width: 60px;
  height: 60px;
}
} 

@media (max-width: 768px) {
.animatedfsmenu.navbar-expand-md .navbar-collapse {
    margin-top: -40px !important;
}
}

.page .entry-header {
  display: none;
}

.animatedfsmenu .social-media {
margin: -20px 0;
}

.animatedfsmenu .social-media li {
  margin: 0;
}

.animatedfsmenu i, .animatedfsmenu a {
  color: #fff;
}

.afsmenu_scroll {
  min-height: 50vh;
}

.animatedfsmenu h5 {
  text-align: center;
  color: #fff;
}

/* 100vh menüü ajastus*/

.animatedfsmenu {
    transition: all ease-out .3s;
}
.animatedfsmenu.navbar-expand-md .navbar-collapse {
    transition: opacity ease-in-out 1s;
    transition-delay: .1s;
}


/* Nupud jms */

.elementor-button {
    background-color: var( --e-global-color-primary );
}

.avanupuke {
  width: initial !important;
  min-width: 250px;
}

.nupp {
  background: #f9f9f9;
  border-radius: 5px !important;
}

.avanupuke .elementor-widget-container {
   border-radius: 5px !important;
   border: none !important;
   background-color: rgb(255 255 255 / 48%) !important;
}

.hallnupp .elementor-widget-container {
  background-color: rgb(246 246 246) !important;
}

.nupp {
  padding: 10px 15px;
  display: inline-block;
  margin-bottom: 5px;
}

.avanupuke:hover, .nupp:hover {
    animation-name: elementor-animation-push;
    animation-duration: .3s;
    animation-timing-function: linear;
    animation-iteration-count: 1;
}

@media screen and (max-width: 767px) {
  .avanupuke {
  min-width: 140px;
}
  .avanupuke h4 {
    font-size: 13px !important;
  }
}

/* Alamlehed */

.ast-separate-container .ast-article-post, .ast-separate-container .ast-article-single:not(.ast-related-post) {
  padding: 3rem 5rem;
}

.ast-container {
  max-width: 100%;
}

@media (min-width: 993px) {
.ast-separate-container #primary, .ast-separate-container.ast-left-sidebar #primary, .ast-separate-container.ast-right-sidebar #primary {
    margin: 1em 0;
    padding: 0;
}
}

@media (max-width: 767px) {
  .ast-separate-container .ast-article-post, .ast-separate-container .ast-article-single:not(.ast-related-post) {
  padding: 0;
}
}

/* Tabelid */

.tablesome__table.tablesome__table--customStyle .tablesome__row .tablesome__cell, div#tablesome__container.tablesome__container div.tablesome__pagination ul.tablesome__pagination__list li.tablesome__pagination__listItem a.tablesome__pagination__listItem--anchor {
  text-transform: initial !important;
}

div#tablesome__container.tablesome__container div.tablesome__pagination ul.tablesome__pagination__list li.tablesome__pagination__listItem a.tablesome__pagination__listItem--anchor.active, div#tablesome__container.tablesome__container div.tablesome__pagination ul.tablesome__pagination__list li.tablesome__pagination__listItem a.tablesome__pagination__listItem--anchor:hover {
    background-color: #990100;
    border: 1px solid #990100;
    color: #fff;
}

.table-responsive th {
  background-color: #333;
  color: #fff;
}

.teisip, .neljap {background-color: #f2f2f2;}

.table-responsive tr:hover > td {
  background: rgba(255,255,255,0.3);
  color: #333;
}

@media screen and (max-width: 600px) {
td.tablesome__cell[data-label="JRK.NR"]{
  display: none !Important;
}

.tablesome__column, .tablesome__cell {
  padding: 10px;
}
}

/* Arhiivilehed, otsingud ja muud sopid */

.ast-separate-container .ast-archive-description, .ast-separate-container .ast-author-box {
    margin: 0;
    padding: 20px;
}
.post-page-numbers.current .page-link, .ast-pagination .page-numbers.current {
    color: #ffffff;
    border-color: #990100;
    background-color: #990100;
    border-radius: 2px;
}

.posted-by.author a {
     pointer-events: none;
}

.search-results .blog-layout-1 .post-thumb {
  margin-right: 3%;
}

/* Partnerikarussell */
.elementor-carousel-image {
  filter: grayscale(1) !Important;
}

.swiper-container-3d .swiper-slide-shadow-left, .swiper-container-3d .swiper-slide-shadow-right {
  background-image: none !Important;
}

.elementor-swiper-button [class*=" eicon-"], [class^=eicon] {
  color: #333;
  font-size: 2rem;
}

/* Sööklamenüü ekraan */

div.kylili {
  transform: rotate(-90deg) !important;
  display: block;
}

/* Teise taseme menüü scroll */

.scrollmenu .elementor-nav-menu--layout-horizontal .elementor-nav-menu {
display: flex;
flex-wrap: nowrap;
white-space: nowrap;
overflow-x: auto;
-webkit- -scrolling: touch;
-ms-overflow-style: -ms-autohiding-scrollbar;
  text-transform: uppercase;
}

/* Ekraani / uudiseslaideri template */

.page-id-11158 .animatedfsmenu {
  display: none;
} 


/* Vilistlaste lendude kujundus */

#post-1671 .gallery {
  float: right;
  display: block;
  width: 40%;
}

#post-1671 .gallery-item {
  padding: 0;
  padding-left: 10px;
}

#post-1671 .gallery-icon, #post-1671 .gallery-caption {
  border: none;
}

.lend {
  color: #313c4d;
  font-size: 2rem;
  font-family: 'Play',sans-serif;
}

.table-responsive {
  border: none;
}
#post-1671 .table-responsive {
  width: 50%;
}

.foorum th {
background-color: #d8d8d8 !important;
}
.foorum th a {
  color: #333;
}

.laisektsioon {
 width: 100vw;
 position: relative;
 margin-left: -50vw;
 margin-top: 100px;
 left: 50%;
}

.op_pilt {
  max-height: 200px;
}

/* Kontaktivormid */

.wpcf7-list-item {
  display: block;
}

.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover {
    background-color: #333;
    color: #fff;
}

.sidebar-main {
  position: sticky;
  top: 30px;
}

@media (min-width: 993px) {
.ast-right-sidebar #secondary {
    padding-left: 30px;
    padding-right: 30px;
}
}

.ast-separate-container.ast-two-container #secondary .widget {
  margin-bottom: 0;
}

.elementor-13138 .elementor-element.elementor-element-11caf5d8 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.wp-block-search__button {
  color: #fff;
}

/* Teaduskonverentsi veeb ttg.ee/koosolek */

.page-id-14490 .animatedfsmenu-navbar-toggler {
  display: none !important;
} 

.kava {
  background-repeat: no-repeat !important;
}

.kava strong {
    background: url(https://tammegymnaasium.ee/wp-content/uploads/2022/02/rohtaust.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: top left;
    padding: 5px;
    min-width: 60px;
    margin-right: 5px;
    margin-bottom: 3px;
    color: #fff;
    display: inline-block;
}

.csvtohtml {
	max-width: 50% !important;
}

.wpcf7 input:not([type=submit]), .wpcf7 select, .wpcf7 textarea {
    padding: 0.3em !important;
    border-radius: 5px;
}

footer {
	color: #fff;
}

#18038 th:nth-child(1), #18038 td:nth-child(1) {
	display: none !Important;
}

#twitch-embed {
	border-radius: 10px !important;
}

a:focus {
    outline: 2px solid #268ef5;
    outline-offset: 5px;
    border-radius: 3px;
}

.gallery-icon {
	border: none !Important;
}

.gallery-icon:hover {
	transform: translateY(-10px);
	transition: all .3s;
}

.gallery-item img {
	border-radius: 5px !important;
}