:root {
    --safe-bottom: env(safe-area-inset-bottom);
}
.bg-primary { background-color: #318bf5 !important; }

.bg-white { background-color: #fff !important; }

.bg-dark { background-color: #000 !important; }

.bg-light-blue { background-color: #f3f6fb !important; }

.bg-active { background-color: #66cc66 !important; }

.bg-gradient
{
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#0309fe+0,4ad4ef+100 */
background: #0309fe; /* Old browsers */
background: -moz-linear-gradient(45deg,  #0309fe 0%, #4ad4ef 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(45deg,  #0309fe 0%,#4ad4ef 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(45deg,  #0309fe 0%,#4ad4ef 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0309fe', endColorstr='#4ad4ef',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.bg-booking { background-color: #fff !important; }

h1 { font-size: 51px; }

h2 { font-size: 44px; }

h3 { font-size: 37px; }

h4 { font-size: 30px; }

h5 { font-size: 23px; }

h6 { font-size: 16px; }

@media (max-width: 1200px) { 
  h1 { font-size: 46px; }
  h2 { font-size: 40px; }
  h3 { font-size: 34px; }
  h4 { font-size: 28px; }
  h5 { font-size: 22px; }
  h6 { font-size: 16px; } 
}
@media (max-width: 992px) { 
  h1 { font-size: 41px; }
  h2 { font-size: 36px; }
  h3 { font-size: 31px; }
  h4 { font-size: 26px; }
  h5 { font-size: 21px; }
  h6 { font-size: 16px; } 
}
@media (max-width: 768px) { 
  h1 { font-size: 36px; }
  h2 { font-size: 32px; }
  h3 { font-size: 28px; }
  h4 { font-size: 24px; }
  h5 { font-size: 20px; }
  h6 { font-size: 16px; } 
}
/*
@media (max-width: 552px) { 
  h1 { font-size: 31px; }
  h2 { font-size: 28px; }
  h3 { font-size: 25px; }
  h4 { font-size: 22px; }
  h5 { font-size: 19px; }
  h6 { font-size: 16px; } 
}
*/
@media (max-width: 552px) { 
  h1 { font-size: 28px; }
  h2 { font-size: 25px; }
  h3 { font-size: 22px; }
  h4 { font-size: 19px; }
  h5 { font-size: 16px; }
  h6 { font-size: 14px; } 
}

h1, h2, h3, h4, h5, h6 { font-family: 'Roboto', Helvetica, Arial, sans-serif; font-weight: 400; }

p { font-size: 16px; line-height: 1.75; }

.font-size-16 { font-size: 16px; }
.font-size-15 { font-size: 15px; }
.font-size-14 { font-size: 14px; }
.font-size-13 { font-size: 13px; }
.font-size-12 { font-size: 12px; }

a { color: #4666b3; }
a:hover { color: #6883c4; }

.text-primary { color: #4666b3 !important; }

.text-white { color: #fff !important; }

.text-dark { color: #000 !important; }

.text-light-blue { color: #f3f6fb !important; }

.text-active { color: #f3f6fb !important; }

body { overflow-x: hidden; font-family: 'Roboto', Helvetica, Arial, sans-serif; background-color: #fff; /*background-image: url("../img/bg.jpg");*/ -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; background-attachment: fixed; }
/* 
FIX kvůli mobilní aplikaci a zobrazení v ní 
Co to dělá: 
	safe-area-inset-top → výška horní lišty / výřezu / status baru
	safe-area-inset-bottom → výška spodní systémové navigace (gesta / tlačítka)
Takže:
	Na telefonech s gesty dole se obsah nezalepí na hranu
	Na telefonech s klasickými tlačítky se přidá prostor
	Na desktopu bude hodnota 0 (nic se nestane)
*/
body {
    padding-top: env(safe-area-inset-top);
    padding-top: constant(safe-area-inset-top);

    padding-bottom: env(safe-area-inset-bottom);
    padding-bottom: constant(safe-area-inset-bottom);
}

.container { width: 80%; max-width: 100%; }

.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto { padding-left: 5px; padding-right: 5px; }

#VideoPlayer { max-width: 100%; width: 100%; }

section { padding: 0; position: relative; }

@media (max-width: 768px) { section .section-heading h3 { font-size: 30px; } }

.btn { font-family: 'Roboto', Helvetica, Arial, sans-serif; font-weight: 400; font-weight: 500; padding: 10px 30px; }
.btn-ys-sm { font-family: 'Roboto', Helvetica, Arial, sans-serif; font-weight: 400; font-weight: 500; padding: 4px 10px; height: 30px; width: 30px; align-self: center; z-index: 12; display: block; width: auto; white-space: nowrap; }
.btn.rounded { border-radius: 50px !important; }
.btn.btn-lg { font-size: 40px; }
.btn.btn-md { font-size: 20px; }

.btn-primary { background-color: #66cc66; color: #fff !important; }
.btn-primary:active, .btn-primary:focus, .btn-primary:hover { background: #49c249 !important; color: #fff; }
.btn-primary:active, .btn-primary:focus { box-shadow: 0 0 0 0.2rem rgba(254, 209, 55, 0.5) !important; }

.btn-alfabet { padding: 6px 16px; margin: 2px; border: 1px solid #fff; background: none; }
.btn-alfabet:hover { border: 1px solid #fff; }

.btn-social-login-with-image { align-items: center; cursor: pointer; font-size: 14px; border: 1px solid #ccc; padding: 5px; text-align: center; }
.btn-social-login-with-image img { margin-right: 5px; }

::-moz-selection { background: #4666b3; text-shadow: none; color: #fff; }

::selection { background: #4666b3; text-shadow: none; color: #fff; }

img::selection { background: transparent; }

img::-moz-selection { background: transparent; }

*, *:after, *::before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

nav.navbar { box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35); z-index: 10; }
nav.navbar .navbar-brand { padding: 7px; }
nav.navbar .navbar-brand img { max-height: 30px; }
.navbar-nav .nav-link { color: #f3f6fb !important; }
/* nav.navbar .navbar-nav .nav-item .fa { background: rgba(0,0,0,.16); padding: 5px; } */

/*.header { background-image: url("../img/ys-header.png"); background-size: cover; background-position: top center; }*/
.header h1, .header h2, .header h3, .header h4, .header p { color: #fff !important; }

/* header */
.logo-header { max-width: 260px; }
.logo-header-u { max-width: 60px; }
@media (max-width: 1500px) {
  .logo-header { max-width: 240px; }
}
@media (max-width: 1200px) {
  .logo-header { max-width: 220px; }
}
@media (max-width: 992px) {
  .logo-header { max-width: 200px; }
}
@media (max-width: 768px) { 
  .logo-header { max-width: 180px; }
}
@media (max-width: 552px) { 
  .logo-header { max-width: 160px; }
}
.header-search
{
  min-width: 50%;
}

.sidebar h3 { font-size: 22px; }
.sidebar .sidebar-nav .nav-item { margin-bottom: 15px; }
.sidebar .sidebar-nav .nav-item .nav-link { padding: 0 20px; margin: 0; }
.sidebar .sidebar-nav .nav-item i { border-radius: 50%; width: 28px; height: 28px; display: flex; justify-content: center; align-items: center; margin-right: 15px; font-size: 14px; }
.sidebar .sidebar-nav.controllers .nav-item i { background: #4666b3; color: #fff; }
.sidebar .sidebar-nav.contacts .nav-item i { background: #fff; color: #4666b3; width: 45px; height: 45px; font-size: 20px; }
.sidebar .sidebar-nav.contacts .nav-item h4 { font-size: 16px; font-weight: bold; }

#scroll, #home { position: fixed; right: 10px; bottom: 10px; /* fallback */ bottom: calc(10px + constant(safe-area-inset-bottom)); bottom: calc(10px + env(safe-area-inset-bottom)); cursor: pointer; width: 50px; height: 50px; background-color: #4666b3; box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3); display: none; -webkit-border-radius: 60px; -moz-border-radius: 60px; border-radius: 60px; }
/*#scroll, #home { padding-bottom: env(safe-area-inset-bottom); }*/
#scroll span, #home span { position: absolute; top: 50%; left: 50%; margin-left: -8px; margin-top: -12px; height: 0; width: 0; border: 8px solid transparent; border-bottom-color: #fff; }
#scroll:hover, #home:hover { background-color: #30477c; opacity: 1; filter: "alpha(opacity=100)"; -ms-filter: "alpha(opacity=100)"; text-decoration: none; }

#home { right: 10px; bottom: 80px; display: flex; justify-content: center; align-items: center; background-color: #66cc66; }
#home .fa-home { font-family: FontAwesome; color: #fff; font-size: 20px; }
#home:hover { background-color: #39ac39; }

.sticky-move-controls {position:fixed; top:0; z-index:100; display: none;}

section.login-page { /* Half pages */ }
section.login-page .logo { width: 300px; }
section.login-page .login { min-height: 100vh; }
section.login-page .bg-image { background-image: url("../img/ys-login.png"); background-size: cover; background-position: center right; }
section.login-page .pagination .page-link { background: #4666b3; border: 1px solid rgba(0, 0, 0, 0.3); color: #fff; }

section.yousongs-page { background-color: #f3f6fb; }
section.yousongs-page .question-card { -webkit-transition: all .3s ease; -moz-transition: all .3s ease; -op-transition: all .3s ease; -ms-transition: all .3s ease; border-left: 5px solid #4666b3; }
section.yousongs-page .question-card:hover { box-shadow: 15px 15px 35px rgba(70, 102, 179, 0.15); text-decoration: none; border-left: 5px solid #66cc66; }
section.yousongs-page .question-card:hover .fa-angle-right { color: #66cc66; }
section.yousongs-page .question-card:hover h3 { text-decoration: underline; }
section.yousongs-page .question-card .fa-question { background: #f3f6fb; color: #4666b3; border-radius: 20px; width: 35px; height: 35px; display: flex; justify-content: center; align-items: center; margin-right: 30px; font-size: 20px; }
section.yousongs-page .question-card .fa-angle-right { font-size: 50px; margin-left: 30px; color: #4666b3; }
section.yousongs-page .question-card .fa-song-book { font-size: 50px; color: #4666b3; }
section.yousongs-page .question-card h3 { font-size: 25px; }
section.yousongs-page .question-card .info { flex-basis: 100%; }
section.yousongs-page .question-card .songbook-song-position { width: 50px; height: 50px; display: flex; justify-content: center; align-items: center; align-self: center; font-weight: bold; background-color: rgba(120, 120, 120, .15); border-radius: 4px; }
section.yousongs-page video { max-width: 100%; }

section.yousongs-page .question-card { position: relative; }
section.yousongs-page .question-card a.overlay-link:after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
section.yousongs-page .question-card a.overlay-link:hover { text-decoration: none; color: #66cc66; }

/*question-card in mobile*/
@media (max-width:768px) {
.question-card p.text-muted { display: none!important; }
.song-icon { max-width: 44px !important; border-radius: 10%; }
section.yousongs-page .question-card .fa-angle-right { font-size: 24px;}
}

.card-body-songbook { -ms-flex: 1 1 auto; flex: 1 1 auto; padding: 4px; }

@media (max-width: 1500px) { .container { width: 90%; }
  h1 { font-size: 30px; } }
@media (max-width: 992px) { .container { width: 98%; }
  h1 { font-size: 25px; }
  section .section-heading { background: #333; }
  section .section-heading h3 { font-size: 17px; }
  section.login-page .logo { width: 120px; }
  .ih-item.square .info { position: relative !important; padding: 10px 0; text-align: center; }
  .ih-item.square.effect13 .info { visibility: visible !important; opacity: 1 !important; }
  .ih-item.square.effect13.bottom_to_top .info { -webkit-transform: translateY(0) !important; -moz-transform: translateY(0) !important; -ms-transform: translateY(0) !important; -o-transform: translateY(0) !important; transform: translateY(0) !important; } }
@media (max-width: 768px) { .container { width: 98%; } }
@media (min-width: 768px) { nav.navbar { /*position: fixed;*/ width: 100%; } }

/* bottom-pagging */
.bottom-pagging {
	background: none;
	display: inline-block;
	width: 100%;
	text-align: center;
	position: relative;
	margin: 0 0 20px 0;
	font: 17px 'Roboto', "Helvetica Neue", Helvetica, Arial, sans-serif;
	line-height: 1.428571429;
}
.bottom-pagging .next,
.bottom-pagging .back,
.pager-middle-label
 { 
	background: none;
	color: #aaa;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 16px;
	padding: 10px 15px;
	display: inline-block;
}
.bottom-pagging a {
	color: #4666b3;
}
.bottom-pagging a:hover {
	text-decoration: underline;
}
.pager-middle-label {
	border-left:1px solid #333;
	border-right: 1px solid #333;
	color: #000;
}

@media (max-width: 480px) {
	.bottom-pagging .next,
	.bottom-pagging .back,
	.pager-middle-label {
		padding: 5px 7px;
		font-size: 14px;
	}
	.pager-middle-label {
		display: none;
	}
}

/*# sourceMappingURL=main.css.map */

/* SEARCH */
header .search-filter .form-links { display:inline-block;margin:0 0 5px 0;padding:0 10px;position:relative;color:#fff }
header .search-filter .form-links input[type="radio"] { display:none }
header .search-filter .form-links input[type="radio"]:checked+label { color:#fff;font-weight:600 }
header .search-filter .form-links input[type="radio"]:checked+label:after { content:'';width:0;height:0;position:absolute;bottom:-5px;left:50%;transform:translate(-50%);border-style:solid;border-width:0 10px 10px 10px;border-color:transparent transparent #fff transparent;display:flex;justify-content:center }
header .search-input input#search { border:none;padding:10px;margin-right:10px }

.icoSocial { background: #4666b3; color: #fff; border-radius: 50%; width: 30px; height: 30px; display: inline-flex; justify-content: center; align-items: center; margin-right: 10px; margin-left: 10px; }

/* ARTICLES */
/*============== article-boxes ===================*/
.article-box { -webkit-column-count: 1; -moz-column-count: 1; column-count: 1; -webkit-column-gap: 10px; -moz-column-gap: 10px; column-gap: 10px; counter-reset: item-counter; }
 
@media screen and (min-width: 400px) {
  .article-box { -webkit-column-count: 1; -moz-column-count: 1; column-count: 1; }
}
@media screen and (min-width: 800px) {
  .article-box { -webkit-column-count: 2; -moz-column-count: 2; column-count: 2; }
}
@media screen and (min-width: 1100px) {
  .article-box { -webkit-column-count: 3; -moz-column-count: 3; column-count: 3; -webkit-column-gap: 0; -moz-column-gap: 0; column-gap: 0; }
}
@media screen and (min-width: 1600px) {
  .article-box { -webkit-column-count: 4; -moz-column-count: 4; column-count: 4; }
}
.article-item {
    background: rgba(255, 255, 255, 0.4);
    margin: 12px;
    margin-bottom: 15px;
    float: left;
    border-radius: 12px;
    overflow: hidden;
    transition: all .3s ease;
    position: relative;
    box-sizing: border-box;
    break-inside: avoid;
    counter-increment: item-counter;
    border: 1px solid #4666b3;
}
.article-item:hover {
    box-shadow: 0 10px 12px -2px #a780d380;
    transform: scale(1.04);
    border-radius: 12px;
}
.article-item a { text-decoration:none; color: #4666b3; }

.article-link { text-decoration:none; }
.article-title { margin-bottom: 5px; font-weight: bold; }
/*.article-title { margin-bottom: 5px; font-weight: bold; margin: 0!important; color: #fff; background: #007bff; font-weight: 400; padding: 15px; min-height: 80px; display: flex; align-items: center; }*/
.article-perex { font-size: 14px; padding: 5px 0 0; }
.article-category .category-name { position: absolute; top: 40px; right: 10px; color: #fff; float: none; background: rgba(70,102,179,0.7); display: block; padding: 5px 10px; font-size: 11px; }
.article-category .category-name:hover { position: absolute; top: 40px; right: 10px; color: #fff; float: none; background: rgba(52,75,130,0.7); display: block; padding: 5px 10px; font-size: 11px; }

.top-category-name { right: 10px; float: none; background: rgba(70,102,179,0.7); display: inline-block; padding: 4px 10px; font-size: 14px; }

.article-image { width: 100%; }
.article-image-small { max-width: 60px; align-self: start; }

/*---------------------------------------------*/
/*------ Additional responsive sizes ----------*/
/*---------------------------------------------*/
/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .w-xs-100 {
    width: 100% !important;
  }
  .w-xs-75 {
    width: 75% !important;
  }
  .w-xs-50 {
    width: 50% !important;
  }
  .w-xs-25 {
    width: 25% !important;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .w-sm-100 {
    width: 100% !important;
  }
  .w-sm-75 {
    width: 75% !important;
  }
  .w-sm-50 {
    width: 50% !important;
  }
  .w-sm-25 {
    width: 25% !important;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .w-md-100 {
    width: 100% !important;
  }
  .w-md-75 {
    width: 75% !important;
  }
  .w-md-50 {
    width: 50% !important;
  }
  .w-md-25 {
    width: 25% !important;
  }
}
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .w-lg-100 {
    width: 100% !important;
  }
  .w-lg-75 {
    width: 75% !important;
  }
  .w-lg-50 {
    width: 50% !important;
  }
  .w-lg-25 {
    width: 25% !important;
  }
}
/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .w-xl-100 {
    width: 100% !important;
  }
  .w-xl-75 {
    width: 75% !important;
  }
  .w-xl-50 {
    width: 50% !important;
  }
  .w-xl-25 {
    width: 25% !important;
  }
}

/*----------------------------------*/
/*          Video sidebar           */
/*----------------------------------*/
.btn-video-sidebar {
  display: inline-block;
  padding: 15px;
  margin-right: -75px;
  transform: rotate(270deg);
  position: fixed;
  right: 100%;
  top: 0;
  top: auto;
  bottom: auto;
  margin-top: auto;
  margin-bottom: auto;
  background: #000;
  color:  #fff;
  text-decoration: none;
  width: max-content;
  cursor: pointer;
  border-radius: 0.25rem;
}
.btn-close-video-sidebar 
{
  display: inline-block;
  padding: 2px;
  margin-left: -80px;
  position: fixed;
  left: 100%;
  top: 0;
  bottom: auto;
  margin-top: auto;
  margin-bottom: auto;
  font-size: 48px;
  color:  #fff;
  text-decoration: none;
  width: max-content;
  cursor: pointer;
  z-index: 10;
}
.video-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  background: #000; 
  z-index: 10;
  width: 380px;
  height: 100%;
  transform: translateX(380px);
  transition: 0.6s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  padding: 20px;
  border-left: 1px solid #333;
}
.video-sidebar h2 {
  font-size: 26px;
}
.video-sidebar .media-list {
  width: 100%;
}
.video-sidebar .video-sidebar-media {
  /*max-width: 100%;*/
  /*width: 100%;*/
  padding-bottom: 56.25%;
  height: 0;
  position: relative;
  margin-bottom: 10px;
}
.video-sidebar .video-sidebar-media iframe, 
.video-sidebar .video-sidebar-media object, 
.video-sidebar .video-sidebar-media embed { 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
}

.embed-video-item {
  max-width: 100%;
  /*width: 100%;*/
  margin-bottom: 10px;
}
.video-sidebar.active {
/*  animation: openModal .3s .3s ease-out forwards;
*/  transform: translateX(0px);
}
.video-sidebar .close {
  position: absolute;
  right: 25px;
  top: 25px;
}
/*@keyframes openModal {
  100% {
    transform: translateX(0px);
  }
}
*/
/*----------------------------------*/
/*      Video sidebar END           */
/*----------------------------------*/

/*----------------------------------------------------*/
/*  <MOBILE APPLICATION AND BROWSERS OPTIMALIZATION>  */
/*----------------------------------------------------*/
/*
TELEFON Samsung A35:	360x780 px (WxH)
TABLET SMART_L206: 	686x1143 px (WxH)

V Bootstrap 4.1 jsou základní breakpointy (šířky obrazovky, kdy se mění styly):

Přehled breakpointů
-------------------
Název		Prefix (třídy)		Min. šířka (px)
Extra small	xs (nepoužívá se)	0px (výchozí)
Small		sm			576px
Medium		md			768px -- až sem je hamburger menu
Large		lg			992px
Extra large	xl			1200px
V Bootstrap 4 neexistuje xs – vše pod 576px je výchozí stav.

Pokud používám max-width, musím v CSS pravidlech postupovat od největšího čísla k nejmenšímu.
Proč?: CSS se aplikuje shora dolů. Pokud bych napsal nejmenší max-width pravidlo nahoru, pak by ho přepsalo to větší níže.
*/
  /* --------------------------------*/
  /* --------  PRO VŠECHNO  ---------*/
  /* --------------------------------*/
  /* Skryjeme na větších zařízeních */
  .bottom-menu { display: none; }

/* --------------------------------*/
/* Large - pouze do 1199px */
/* --------------------------------*/
@media (max-width: 1199.98px) {

  .navbar-nav .nav-item .nav-link {
      white-space: nowrap;      /* Zabraňuje zalomení textu */
      overflow: hidden;         /* Skryje přetékající text */
      text-overflow: ellipsis;  /* Přidá "…" na konec useknutého textu */
      max-width: 180px;         /* Nastaví maximální šířku odkazu */
      /*display: inline-block;*/    /* Zajistí fungování max-width */
      display: block;
  }
    
}

/* --------------------------------*/
/* Medium - pouze do 991px */
/* --------------------------------*/
@media (max-width: 991.98px) {

}

/* --------------------------------*/
/* Small - pouze do 767px */
/* --------------------------------*/
@media (max-width: 767.98px) { 

  /* Mobilní bottom menu */
  /*
  .bottom-menu { display: flex; justify-content: space-evenly; position: fixed; bottom: 0; left: 0; width: 100%; padding: 10px 0; box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.5); padding-bottom: env(safe-area-inset-bottom); transform: translate3d(0, 0, 0); column-gap: 0; }
  */
  .bottom-menu {
      display: flex;
      justify-content: space-evenly;
      position: fixed;
      left: 0;
      width: 100%;

      bottom: calc(env(safe-area-inset-bottom));
      padding: 10px 0;

      box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.5);
      transform: translateZ(0);
  }
  .bottom-menu a { flex: 1; text-align: center; text-decoration: none; font-size: 12px; }
  .bottom-menu i { display: block; font-size: 18px; margin-bottom: 3px; }
  .ys-menu-border-right { border-right-style: solid; }

}

/* Mobile APP and web browsers */
/* Extra small - pouze do 575px */
@media (max-width: 575.98px) {
  /* Events header */
  .header { padding: 10px; }
  .search-input { flex-direction: column; }
  .search-input input { width: 100%; margin-bottom: 5px; }
  .search-input .btn { width: 100%; }

  /* Kontejner pro horizontální scroll */
  .events-category-buttons { display: flex; flex-wrap: nowrap; overflow-x: scroll; -webkit-overflow-scrolling: touch; padding-bottom: 5px; }
  .events-category-buttons a { white-space: nowrap; flex-shrink: 0; margin-right: 5px; }

  /* Úprava mezer 5 */
  .pb-5, .py-5 { padding-bottom: 1rem !important; }
  .pt-5, .py-5 { padding-top: 1rem !important; }

   /* Úprava tlačítka */
  .btn { padding: 8px 22px; }

  /*.question-card .info p { font-size: 14px; } */
  /* Odstranění: Vložit skladbu na Homepage u počtu skladeb */
  .add-new-song-home-top { display: none; }

  /* Pro mobilní zobrazení přesuneme tlačítko .btn-video-sidebar dolů, aby nepřekáželo na straně stránky. */
    .btn-video-sidebar {
        position: fixed;
        bottom: calc(11px + env(safe-area-inset-bottom)); /* Kousek nad spodní hranu a v mobilní aplikaci výše */
        left: auto;
        right: calc(100% + 90px); /* Posune tlačítko k levému kraji bez ohledu na sidebar */
        width: auto;
        padding: 10px 18px;
        background: rgba(0, 0, 0, 0.5);
        color: #fff;
        font-size: 18px;
        border-radius: 25px;
        z-index: 9999; /* Nad ostatními prvky */
        white-space: nowrap;
        display: block;
        transform: none !important;
        rotate: 0deg;
    }
    .btn-video-sidebar .fa-youtube-play { font-size: 18px; }
    .btn-close-video-sidebar { left: auto; right: 20px; top: 20px; margin-left: 0; z-index: 10000; }
    .video-sidebar { width: 100%; transform: translateX(100%); }
    .btn-video-sidebar-text { display: none; }

  /* Na mobilech border nezobrazím */
  .ys-menu-border-right { border-right-style: none; }

  /* Velikost textu songu je v song-and-chords.css */
}

/*----------------------------------------------------*/
/*  </MOBILE APPLICATION AND BROWSERS OPTIMALIZATION> */
/*----------------------------------------------------*/


/*---------------------------------------------*/
/*                  <ADMIN>                    */
/*---------------------------------------------*/
.container-admin { 
  width: 98%; 
  max-width: 100%; 
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
.text-red
{
  color: #dc3545;
}
.grid
{
    font-size: 12px;
}
.grid-warning
{
    background-color:#ffbdbd; /* light red*/
    border: 1px solid #ff8d8d;
}
.grid-ok
{
    background-color:#bdffc2; /* light green*/
    border: 1px solid #8dff96;
}
.modal-96
{
  min-width: 96%;
}
.avatar-lg
{
  max-width: 60px;
}
.avatar-sm
{
  max-width: 34px;
}
.adm-title-image { max-width: 60px; }
.admin-artist-title-image { max-width: 250px; border-radius: 10px; }
.profile-admin
{
    border: 3px rgb(255 255 255 / 0%) solid;
    background-image: linear-gradient(90deg, #007bff 0%, rgba(9,9,121,1) 35%, rgba(0,212,255,1) 100%);
}
.profile-editor
{
    border: 3px rgb(255 255 255 / 0%) solid;
    background-image: linear-gradient(90deg, #007bff 0%, rgba(9,9,121,1) 35%, rgba(0,212,255,1) 100%);
}
.profile-user
{
}
.profile-donor
{
    border: 3px rgb(255 255 255 / 0%) solid;
    background-image: linear-gradient(90deg, #ffca28 0%, #f9bc01 35%, #f5f188 100%);
}

/*============== Admin pager styles ===================*/
.pagination-gw {
    /*display: inline-block;*/
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}
.pagination-gw table > tbody > tr > td {
    display: inline;
}
.pagination-gw table > tbody > tr > td > a,
.pagination-gw table > tbody > tr > td > span {
    position: relative;
    float: left;
    padding: 8px 12px;
    line-height: 1.42857143;
    text-decoration: none;
    color: #dd4814;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    margin-left: -1px;
}
.pagination-gw table > tbody > tr > td > span {
    position: relative;
    float: left;
    padding: 8px 12px;
    line-height: 1.42857143;
    text-decoration: none;    
    margin-left: -1px;
    z-index: 2;
    color: #aea79f;
    background-color: #f5f5f5;
    border-color: #dddddd;
    cursor: default;
}
.pagination-gw table > tbody > tr > td:first-child > a,
.pagination-gw table > tbody > tr > td:first-child > span {
    margin-left: 0;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
}
.pagination-gw table > tbody > tr > td:last-child > a,
.pagination-gw table > tbody > tr > td:last-child > span {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
}
.pagination-gw table > tbody > tr > td > a:hover,
.pagination-gw table > tbody > tr > td > span:hover,
.pagination-gw table > tbody > tr > td > a:focus,
.pagination-gw table > tbody > tr > td > span:focus {
    color: #97310e;
    background-color: #eeeeee;
    border-color: #dddddd;
}
/*============== End of Admin pager styles ===================*/

/*---------------------------------------------*/
/*                  </ADMIN>                   */
/*---------------------------------------------*/

/*---------------------------------------------*/
/*            <PDF and EXPORTS>                */
/*---------------------------------------------*/
.container-pdf { width: 100%; max-width: 100%; }
.card-pdf {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    /*border: 1px solid rgba(0,0,0,.125);*/
    /*border-radius: .25rem;*/
}
.footer-pdf { color: #ababab; }
.card-title-pdf { margin-bottom: 0.0rem; }
.card-body-pdf { -ms-flex: 1 1 auto; flex: 1 1 auto; padding: 0.20rem 0.60rem; }
.guitar-chords-pdf { color: #0b1efd; }
.guitar-chords-pdf img { width: 80px; }
.ukulele-chords-pdf img { width: 66px; opacity: 1; }
/*---------------------------------------------*/
/*            </PDF and EXPORTS>               */
/*---------------------------------------------*/

/* EVENTS */
.event-name { font-size: 16px; font-weight: bold; } 
.event-name h5 { font-size: 16px; font-weight: bold; } 
.event-buy-ticket { display: block; } 
.event-image { background-size: cover; background-position: center center; border: 1px solid rgba(0,0,0,.125); margin-top: 6px; margin-bottom: 24px; min-height: 320px; border-radius: 0.25rem; }

/* QR sharing */
.qr-popover { /*max-width: 260px;*/ }
/* QR domate */
.qr-donate-image { background-size: cover; background-position: center center; border: 1px solid rgba(0,0,0,.125); margin-top: 6px; margin-bottom: 24px; min-height: 220px; width: 220px; border-radius: 0.25rem; }

/*--------------------------------------------------*/
/* -- YouSongs-cz with Supraphonline CTA section -- */
/*--------------------------------------------------*/
.code-box-cta {
	text-align: center;
	background-size: cover;
	background-position: center center;
	border: 2px solid #ff9933;
	margin-bottom: 24px;
}
.code-box-cta *{
	transition: all .3s ease;
}
.code-box-cta .cta-content {
	background: -moz-linear-gradient(top,  rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.94) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(0,0,0,0.3) 0%,rgba(0,0,0,0.94) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(0,0,0,0.3) 0%,rgba(0,0,0,0.94) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4d000000', endColorstr='#f0000000',GradientType=0 ); /* IE6-9 */

	padding: 40px 32px 32px 32px;
}
.code-box-cta .cta-content-donate {
	background: -moz-linear-gradient(top,  rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.94) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(0,0,0,0.3) 0%,rgba(0,0,0,0.94) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(0,0,0,0.3) 0%,rgba(0,0,0,0.94) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4d000000', endColorstr='#f0000000',GradientType=0 ); /* IE6-9 */

	padding: 32px 20px 32px 20px;
}
.code-box-cta svg.play-btn {
	max-width: 100px;
	fill: #fff;
	margin-bottom: 32px;
}
.code-box-cta:hover svg.play-btn {
	transform: scale(1.2);
}
.code-box-cta h2 {
	color: #fff;
	background: 0;
	padding: 0;
	font-size: 32px;
	line-height: 1.4;
	text-transform: uppercase;
	font-weight: 900;
}
.code-box-cta p {
	color: #fff;
	font-size: 18px;
}
.code-box-cta .cta_btn {
	background: #ff9933;
	background: -moz-linear-gradient(top,  rgba(255,183,107,1) 0%, rgba(255,167,61,1) 50%, rgba(255,124,0,1) 51%, rgba(255,127,4,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(255,183,107,1) 0%,rgba(255,167,61,1) 50%,rgba(255,124,0,1) 51%,rgba(255,127,4,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(255,183,107,1) 0%,rgba(255,167,61,1) 50%,rgba(255,124,0,1) 51%,rgba(255,127,4,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffb76b', endColorstr='#ff7f04',GradientType=0 ); /* IE6-9 */

	padding: 16px 32px;
	display: block;
	border-radius: 8px;
	color: #fff;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 25px;
	text-shadow: 3px 3px 3px rgba(0,0,0,.5);
	transition: .3s all ease;
}
.code-box-cta .cta_btn:hover {
    background: #ff9933;
}
.SO-artist-image {
	max-width: 180px;
	border-radius: 10px;
	margin-left: 8px;
}
/*
.code-box-cta .cta_btn::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
*/
@media screen and (max-width:552px){
  .code-box-cta .cta-content {
  	padding: 32px;
  }
  .code-box-cta .cta-content-donate {
  	padding: 16px;
  }
  .code-box-cta h2 {
  	font-size: 24px;
  }
  .code-box-cta svg.play-btn {
  	max-width: 64px;
  }
  .SO-artist-image {
	max-width: 100px;
	border-radius: 8px;
	margin-left: 0px;
  }
}

/*---------------------------------------------*/
/*---------------------------------------------*/
/*              <SONG and CHORDS>              */
/*---------------------------------------------*/
/*---------------------------------------------*/
.piano-chords img { padding: 2px 0px; }
/*---------------------------------------------*/
/*---------------------------------------------*/

/*---------------------------------------------*/
/*---------------------------------------------*/
/*              <TUNER / LADIČKA>              */
/*---------------------------------------------*/
/*---------------------------------------------*/
.tuner-card {
    background: #1e1e1e;
    color: #fff;
    border-radius: 12px;
}

#tunerNote { font-size: 3rem; font-weight: bold; margin-bottom: 0; }
#tunerFreq { opacity: .8; font-family: monospace; }

.meter-bar {
    height: 20px;
    background: #333; /* Trochu tmavší pro kontrast */
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    border: 1px solid #444; /* Jemnější hranice */
    margin-top: 15px;
}

/* zelený střed – naladěno */
.meter-center {
    position: absolute;
    left: 48%; /* Trochu užší střed pro přesnost */
    width: 4%;
    height: 100%;
    background: #28a745;
    opacity: 0.5;
    border-radius: 2px;
}

/* ručička */
#meterNeedle {
    position: absolute;
    top: 0;
    width: 3px; /* O pixel tlustší pro lepší viditelnost */
    height: 100%;
    background: #fff;
    left: 50%;
    /* Klíč k plynulosti jako v GuitarTuna */
    transition: left 0.15s ease-out;
    z-index: 5;
    box-shadow: 0 0 5px rgba(255,255,255,0.5);
}

.tuner-strings {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.tuner-string {
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    min-width: 42px;
    text-align: center;
    border: 2px solid transparent; /* Rezerva pro border při aktivaci */
    transition: all 0.2s ease;
    background: #3a3a3a; /* Základní barva */
    color: #ccc;
}

.tuner-string small { display: block; font-size: .7rem; opacity: .8; }
.tuner-string.bass { background: #2c3e50; }

/* AKTIVNÍ: Právě detekovaná struna (modrá) */
.tuner-string.active { 
    background: #007bff !important; 
    color: #fff; 
    border-color: #55aaff;
    transform: translateY(-2px);
}

/* NALADĚNO: Zelené záření pro konkrétní strunu */
.tuner-string.perfect {
    background: #28a745 !important;
    color: #fff;
    border-color: #fff;
    box-shadow: 0 0 15px rgba(40, 167, 69, 0.8);
    animation: pulse-green 1.5s infinite;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 5px rgba(40, 167, 69, 0.6); }
    50% { box-shadow: 0 0 20px rgba(40, 167, 69, 0.9); }
    100% { box-shadow: 0 0 5px rgba(40, 167, 69, 0.6); }
}

@media (max-width:576px) {
    .tuner-string {
       font-size: 1.1rem;
       padding: 8px 12px;
       min-width: 44px;
    }
}
/*---------------------------------------------*/
/*     END      <TUNER / LADIČKA>              */
/*---------------------------------------------*/
