/*
Theme Name: Broňa.cz
Theme URI:
Author: Pavel Ovesny
Author URI: https://weby.pavelovesny.cz
Description: Theme Broňa.cz
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags:

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

/* general */

html {
  scroll-behavior: smooth;
  box-sizing: border-box;
}

body {
  background: #f6f5f3;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  color: #1E3D6B;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  padding: 0 0 1em 0;
  margin: 0;
  color: #1E3D6B;
}

h1 {
  font-size: 48px;
  line-height: 56px;
}

h2 {
  font-size: 32px;
  font-weight: 500;
}

h3 {
  font-size: 18px;
}

h4 {
  font-size: 16px;
  color: #fff;
}

p {
  padding: 0 0 1em 0;
  margin: 0;
}

a {
  color: #1E3D6B;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.entry-content a {
  color: #5271FF;
}

a img, a:hover img {
  text-decoration: none;
}


/* menu */

.site-header {
  width: 100%;
  height: 143px;
}

.site-header .container {
  display: flex;
  margin: 0 auto;
}

#logo {
  width: 145px;
  height: 32px;
  margin-top: 25px;
}

#user-feature {
  width: 360px;
  margin-left: auto;
  padding-top: 30px;
  display: flex;
  position: relative;
}

#user-feature a {
  padding-left: 1em;
}

.navbar {
  width: calc(100% - 145px); 
  margin: 38px 0 0 auto;
}

.menu-menu-container {
  width: 100%;
}

.navbar ul {
  width: 100%;
  margin: 0;
  list-style-type: none;
  display: flex;
  justify-content: space-between;
  padding-left: 0;
}

.navbar ul li {
  margin: 0;
  font-size: 17px;
  font-weight: bold;
}

.navbar ul li a {
  color: #1E3D6B;
  padding: 10px 0;
}

.navbar ul li a:hover {
  color: #5271FF;
  text-decoration: underline;
}

.menu-toggle {
  cursor: pointer;
}

.menu-toggle {
  font-size: 20px;
  line-height: 1;
  position: absolute;
  right: 0;
}

.menu-toggle,
.mobile-navigation {
  display: none;
}


/* cart header */

.cart-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
}

.cart {
  position: relative;
  display: flex;
}

.cart-total {
  margin-left: 5px;
}

#user-feature .item-number {
  background: #F87760;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  height: 14px;
  line-height: 14px;
  min-width: 14px;
  position: absolute;
  right: -10px;
  text-align: center;
  top: -5px;
}

.cart .fa-cart-shopping {
  margin-top: 4px;
}

/* search */

/* Skrytí pop-up okna na začátku */

.search-icon .fa-magnifying-glass {
  cursor: pointer;
}

.search-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

/* Vnitřní obsah pop-up okna */

.search-popup-content {
  background: #fff;
  padding: 2em;
  border-radius: 1em;
  position: relative;
  width: 300px;
  display: flex;
  flex-direction: column;
}

/* Zavírací tlačítko */
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
}

/* Styl vyhledávacího pole */

.searchform input[type="text"],
.search-field {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #1E3D6B;
  border-radius: 0.5em;
}

.searchform input[type="text"] {
  padding: 10px 0;
  text-indent: 10px;
}


/* Styl tlačítka vyhledávání */

.searchform {
  max-width: 300px;
}

.searchform input[type="submit"],
.search-submit {
  margin-top: 1em;
  width: 100%;
  background: #1E3D6B;
  color: #fff;
  border: none;
  padding: 1em;
  cursor: pointer;
  border-radius: 0.5em;
}

/* Našeptávač */
.search-suggestions {
  background: #fff;
  border: 1px solid #1E3D6B;
  margin-top: 2em;
  display: none;
  position: absolute;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
}

.search-suggestions ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.search-suggestions li {
  padding: 10px;
  cursor: pointer;
}

.search-suggestions li:hover {
  background: #f0f0f0;
}


/* content */

.container {
 width: 1300px;
 margin: 0 auto;
}

.container-footer {
  width: 100%;
}

.title-center h2 {
  text-align: center;
}

/* buttons */

.single_add_to_cart_button,
.post-tags a,
.btn {
  display: inline-block;
  border-radius: 22px;
  width: 245px;
  height: 44px;
  line-height: 44px;
  background-color: #1E3D6B;
  border: 1px solid #1E3D6B;
  color: #fff;
  text-align: center;
}

.btn-invers {
  background-color: #fff;
  color: #1E3D6B;
}

.btn-footer {
  border: 0;
  width: 116px;
  height: 31px;
  color: #1E3D6B;
  background-color: #fff;
  line-height: 38px;
  margin-bottom: 1em;
}

.btn-filters,
.btn-filters:hover,
.btn-filters-invers {
  background-color: #fff;
  color: #1E3D6B;
  height: 30px;
  line-height: 31px;
  margin-right: 1em;
  width: 200px;
}

.btn-filters-invers,
.btn-filters:hover {
  background-color: #5271FF;
  color: #fff; 
  border: 1px solid #5271FF; 
}

.post-tags a,
.btn-tags {
  width: auto;
  height: 24px;
  line-height: 24px;
  border: 0;
  background-color: #d9d9d9;
  padding: 0 10px;
  color: #1E3D6B;  
  font-size: 14px;
}


/* home */

.home h2 {
  font-weight: 500;
}

#front-feature h1 {
  padding-bottom: 24px;
}

#front-feature .fa-heart {
  color: #F8606A;
}

#book-products .products-items,
.grid-four-colums,
.grid-three-colums,
.grid-two-colums,
.related-inner,
#company-logos,
.firmy-items,
.container.half,
#teacher-highlights,
#front-content-columns,
#front-newsletter .container,
.home .products-items,
#filter-results,
#front-feature,
#front-highlights,
#signpost-feature,
#signpost-highlights,
#online-quizes .quizes-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2em;
}


.grid-four-colums,
.firmy-items,
#teacher-highlights,
#signpost-highlights,
#front-highlights,
#online-quizes .quizes-items {
  grid-template-columns: repeat(4, 1fr);
}

#book-products .products-items,
.home .products-items,
.grid-three-colums {
  grid-template-columns: repeat(3, 1fr);
}

#company-logos  {
  grid-template-columns: repeat(6, 1fr);
}

.course-perex,
.post-author,
.feature-post,
#signpost-feature,
#front-feature {
  background: #d7e8f1;
  border-radius: 10px;
  padding: 4em;
  box-sizing: border-box;
  margin-bottom: 2.5em;
}

.feature-post {
  background: #fff;  
  width: 100%;
}

#signpost-feature {
  padding: 2em 4em;
}

.feature-video {
  background: url('img/feature-video.png') center center no-repeat;
}

.feature-newsletter,
.feature-firmy,
.feature-photo,
.feature-knihy,
.feature-kvizy {
  background: url('img/feature-photo.png') center center no-repeat;
  min-height: 280px;
}

.feature-knihy {
  background: url('img/feature-knihy.png') center center no-repeat;
}

.feature-kvizy {
  background: url('img/feature-kvizy.png') center center no-repeat;
}

.feature-kontakt  {
  background: url('img/feature-kontakt.png') center center no-repeat;
  min-height: 310px;
}

.feature-firmy {
  background: url('img/feature-firmy.png') center center no-repeat;
}

.feature-newsletter {
  background: url('img/feature-newsletter.png') center center no-repeat;
}

.feature-text h2,
.violet-color,
.post-more {
  color: #5271FF;
}

#teacher-highlights,
#signpost-highlights {
  gap: 1em;
}

#teacher-references,
#teacher-highlights  {
  padding: 3em 0;
}

#front-highlights {
  gap: 4.5em;
  margin-bottom: 60px;
}

#filter-results {
  grid-template-columns: repeat(3, 1fr);
}

#front-highlights .item {
  background: #fff;
  text-align: center;
  padding: 2em;
  border-radius: 1em;
}

.highlights-value {
  font-size: 18px;
  font-weight: bold;
}

.highlights-value :before {
  color: #F8606A;
}

#front-products h2 {
  text-align: center;
}

.feature-text h2 {
  font-size: 20px;
}


/* courses quizes */

.course-item,
.quiz-item {
  background: #fff;
}

.course-item {
  border-radius: 1em;
  border: 2px solid #fff;
}

.course-item:hover {
  border: 2px solid #5271ff;
}

.course-image {
  position: relative;
}

.nalepka {
  position: absolute;
  top: 22px;
  left: 25px;
  font-weight: 600;
  background-color: #fff;
  border-radius: 8px;
  height: 25px;
  line-height: 25px;
  padding: 0 7px;
  font-size: 14px;
}

.post-image img,
.quiz-item img,
.course-image img {
  width: 100%;
  height: auto;
  border-top-left-radius: 1em;
  border-top-right-radius: 1em;
}

.post-image img {
  width: 200px;
  height: auto;
}

.quiz-inner,
.course-inner {
  padding: 1.3em;
}

.course-more-info .btn {
  width: 220px;
}

.course-meta,
.course-description,
.course-price {
  font-size: 15px;
}

.course-meta span {
  padding-right: 1em;
}

.course-meta {
  padding: 0.5em 0 1em 0;
}

.course-title {
  padding-top: 1em;
}

.course-price-more {
  display: flex
}

.course-price {
  flex-grow: 1;
}

.course-description ul {
  padding-left: 20px;
}

.regular-price-strike {
  text-decoration: line-through;
}

.discount-price {
  color: #F8606A;
}

.course-more-info {
  width: 240px;
}

.btn-courses {
  margin: 60px auto;
  display: block;
}


/* newsletter */

#front-newsletter {
  background-color: #fff;
  padding: 2.5em 0;
  margin-bottom: 3em;
}

#front-newsletter h2 {
  padding-bottom: 0.2em;
}

.brona-newsletter label {
  display: block;
}

.sib-form {
  font-family: 'Poppins', sans-serif  !important;
  padding: 0 !important;
  margin: 0;
}

.brona-newsletter input[type="text"],  
.brona-newsletter input[type="email"],
.footer-email-input {
  width: 539px;
  height: 36px;
  border: 1px solid #1e3d6b;
  background-color: #fff;
  color: #1e3d6b;
  margin-bottom: 1em;
  text-indent: 10px;
}

.newsletter-description {
  padding-top: 3.2em;
}

.newsletter-condition {
  color: #828282;
  font-size: 15px;
  padding-top: 1em;
}

.brona-newsletter .btn {
  margin-top: 1.5em;
}


/* front best content */

.content-courses h3,
.content-videos h3,
.content-quizes h3 {
  padding-top: 1em; 
}

.feature-text ul,
.content-courses ul,
.content-videos ul,
.content-quizes ul {
  list-style: none;
  padding-left: 0; 
}

.feature-text ul li,
.content-courses ul li,
.content-videos ul li,
.content-quizes ul li {
  position: relative; 
  padding-left: 30px; 
  line-height: 1.6;
  margin-bottom: 1em;
}

.content-courses ul li a,
.content-videos ul li a,
.content-quizes ul li a {
  text-decoration: underline;
}

.feature-text ul li::before,
.content-courses ul li::before,
.content-videos ul li::before,
.content-quizes ul li::before {
  content: "\e098"; 
  font-family: "Font Awesome 6 Free"; 
  font-weight: 400; 
  position: absolute;
  left: 0;
  top: 0;
  font-size: 21px; 
}

.content-courses ul li::before {
  content: "\e098"; 
  font-weight: 900; 
}

.content-videos ul li::before {
  content: "\f144"; 
}

.content-quizes ul li::before {
  content: "\f058"; 
}

.feature-text ul li::before {
  content: "\f004";
  color: #F8606A;
}

#front-content-columns .btn-invers {
  margin-top: 1em;
} 

.post-front {
  display: flex; 
  width: 100%; 
  margin-bottom: 1em;
}

.post-image {
  width: 200px; 
  margin-right: 2em;
}

.post-content {
  flex-grow: 1; 
}


/* articles */

#signpost-products .post-image {
  width: 320px;
  flex-shrink: 0; /* Přidáno pro jistotu, aby se obrázek nezmenšoval */
}

#signpost-products .post-image img {
  width: 260px;
}

.post-articles {
  margin-bottom: 2.5em;
  display: flex;
  padding-right: 6em;
}

.post-description {
  font-size: 15px;
}

.post-tags {
  margin-bottom: 1em;
}


/* signpost */

#signpost-products {
  display: flex;
  margin-top: 2em;
}

#signpost-filters h3 {
  display: inline-block;
  padding: 2em 0;
  width: 18%;
  margin-right: 10px;
}

.products-filters {
  width: 18%;
  margin-right: 1em;
}

.filter-box-container {
  font-size: 15px;
}

#signpost-products .post-items,
#signpost-products .products-items {
  width: 82%;
}

.firmy-items .course-item,
#teacher-highlights .item,
#signpost-highlights .item {
  border: 1px solid #d9d9d9;
  border-radius: 15px;
  background-color: #fff;
  min-height: 290px;
  position: relative;
  padding: 2em;
  font-size: 15px;
}

#teacher-highlights .item {
  min-height: 330px;
}

.firmy-items .course-item {
  min-height: 780px;
  padding: 0;
  border: 0;
}

.firmy-items .course-title {
  padding-top: 0;
}

.firmy-items .course-item .btn,
#signpost-highlights .item .btn {
  position: absolute;
  bottom: 2em;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  text-align: center;  
}

#signpost-products .course-more-info {
  width: 200px;
}

#signpost-products .course-more-info .btn {
  width: 190px;
}

#signpost-products .course-more-info .btn:hover {
  color: #fff;
  background-color: #5271ff;
  text-decoration: none;
}


/* for teachers */

#teacher-references {
  width: 1300px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

  /* Navigation buttons */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.carousel-button {
  background-color: #fff;
  color: #1E3D6B;
  border: 1px solid #1E3D6B;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s;
}

.carousel-button:hover {
  background-color: #1E3D6B;
  color: #fff;
}

.carousel-nav fas {
  font-weight: 700;
}

.reference-pager {
  text-align: center;
  margin-top: 3em;
}

.pager-dot {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin: 0 5px;
  background-color: #d9d9d9;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.pager-dot.active {
  background-color: #5271FF;
}

.reference-item {
  flex: 0 0 1100px;
  margin: 0 100px;
  background-color: #D7EBF1;
  border-radius: 5px;
}

.reference-item-inner {
  display: flex;
  padding: 2em 3em;
}

.reference-image {
  width: 90px;
  padding-right: 40px;
  flex-shrink: 0;
}

.reference-name {
  width: 170px;
  font-weight: 700;
}

.reference-text {
  width: 720px;
  font-style: italic;
}


/* filters */

.filter-toggle .dashicons {
  display: none;
}

.container-filter {
  display: block;
  position: relative;
  padding-left: 30px;
  margin-bottom: 0.5em;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.5em;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.container-filter input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 16px;
  width: 16px;
  border-radius: 4px;
  border: 1px solid #1E3D6B;
}

/* On mouse-over, add a grey background color */
.container-filter:hover input ~ .checkmark {
  background-color: #fff;
}

/* When the checkbox is checked, add a blue background */
.container-filter input:checked ~ .checkmark {
  background-color: #1E3D6B;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.container-filter input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container-filter .checkmark:after {
  left: 6px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.filter-box .toggle-icon {
  cursor: pointer;
  float: right;
  font-size: 16px;
}

.filter-box.open .filter-box-container {
  display: block; /* Zobrazí obsah při rozbalení */
}

.filter-box.open .toggle-icon {
  content: "\f345"; /* Změní ikonu na "arrow-up" */
}

.filter-stupen .filter-box-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
} 


/* content */

#content {
  padding-bottom: 3em;
}


/* detail post */

.post-mainpart,
.post-meta-box {
  display: flex;
  width: 100%;
  padding: 0;
}

.feature-post h1 {
  font-size: 48px;
  line-height: 56px;
  padding-bottom: 0.5em;
}

.course-faq-inner,
.feature-course,
.course-perex-inner,
.post-author,
.post-meta-author,
.post-table-content {
  display: flex;
}

.table-content-anchors,
.entry-content,
.post-table-content,
.feature-post-perex {
  width: 66.66%;
}

.course-faq-content,
.table-content-anchors {
  width: 75%;
}

div#ez-toc-container .ez-toc-title {
  display: none !important;
}

.post-author-perex {
  width: 80%;
}

.feature-course-image {
  width: 60%;
}

.feature-course-image iframe {
  width: 100%;
  height: auto;
}

.feature-course-text {
  width: 40%;
  box-sizing: border-box;
  padding-left: 2em;
}

.entry-content {
  margin-bottom: 3em;
}

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

.meta-author-name {
  flex-grow: 1;
}

.post-perex,
.post-meta-author {
  margin-bottom: 1em;
}

.feature-post-perex {
  padding: 3em 3em 1.5em 3em;
}

.table-content-label,
.entry-sidebar,
.meta-author-info,
.feature-post-image {
  width: 33.34%;
}

.course-faq .post-author-image, 
.table-content-label {
  width: 25%;
}

.post-author {
  padding: 3em 4em;
}

.post-author-image {
  width: 20%;
}

.meta-author-image {
  width: 120px;
}

.post-author-image img,
.meta-author-image img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
}

.post-author-image img {
  width: 140px;
  height: 140px;
}

.feature-course-image img,
.feature-post-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 8px 8px 0;
}

.post-meta-tags  {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1em;
}

.about-offer-links .btn-tags,
.post-meta-tags .btn-tags {
  width: auto;
  height: 30px;
  line-height: 30px;
  border: 1px solid #1E3D6B;
  background-color: #fff;
  color: #1E3D6B;
}

.table-content-anchors {
  line-height: 40px;
}

.single-post h2 {
  font-size: 32px;
  line-height: 34px;
  font-weight: 500;
  clear: both;
  border-left: 4px solid #F8606A;
  padding-bottom: 0;
  margin: 1em 0;
  padding-left: 1em;
}

.post-share-icons {
  margin-bottom: 4em;
}

#ez-toc-container {
  border: 0 !important;
  display: block !important;
  box-shadow: none !important;
  padding: 0 !important;
}

#ez-toc-container a {
  color: #1E3D6B !important;
}

.related-inner .post-articles {
  padding-right: 3em;
}


/* product */

.feature-course,
.single-produkt section {
  margin-bottom: 3em;
}

.feature-course-meta,
.feature-course .course-price-more {
  margin: 3em 0;
}

.course-content-column {
  max-width: 850px;
}

.course-resume {
  background-color: #F1EDD7;
  padding: 3em;
  margin-bottom: 3em;
}

.course-faq {
  background-color: #D7EBF1;
  padding: 2em;
  border-radius: 10px;
}

.course-faq  .course-faq-inner .wpsm_panel-group .wpsm_panel-default {
  border: 0 !important;
}
 
.course-faq .wpsm_panel-body {
  font-style: italic;
}

.error404 h3 {
  padding: 1em 0 0 0;
}

.course-review {
  padding: 3em;
  background: #F1EDD7;
}

.course-review .btn-invers {
  margin: 0 auto;
}

#ratingsBarChart {
  max-height: 300px !important; /* Omezí výšku grafu */
}

.ratings-container {
  box-sizing: border-box;
  width: 100%;
  margin: 20px auto;
  padding: 2em 0;
}

.rating-row {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.rating-label {
  width: 50px; /* Fixní šířka popisku hvězdiček */
  text-align: right;
  font-size: 16px;
  margin-right: 10px;
}

.rating-bar {
  flex-grow: 1;
  height: 20px;
  background-color: #fff; /* Světlé pozadí pro nevyplněnou část */
  overflow: hidden;
  position: relative;
}

.rating-fill {
  height: 100%;
  background-color: #FFCF4D; /* Žlutá pro vyplněné hodnocení */
  transition: width 0.3s ease-in-out; /* Animace při změně */
}

.review-item {
  display: flex;
  padding: 1em 0;
  border-top: 1px solid #d9d9dd;
}

.review-item-name {
  width: 33.3%;
}

.review-item-comment {
  width: 66.6%;
  font-style: italic;
}

.course-buy-box {
  display: flex;
  flex-wrap: wrap;
  background-color: #fff;
  border-radius: 1em;
  justify-content: center; /* Centrované vodorovně */
  align-items: center; /* Centrované svisle */
  margin-bottom: 2em;
}

.buy-box-image {
  width: 25%;

}

.buy-box-price {
  width: 15%;
}

.buy-box-title,
.buy-box-button {
  width: 30%;
  text-align: center;
}

.buy-box-image img {
  border-top-left-radius: 1em; 
  border-bottom-left-radius: 1em; 
  display: block;
}

.single-product .course-price {
  font-size: 17px;
}

/* docasne */

.alignleft {
  float: left;
  padding-right: 2em;
  padding-bottom: 2em;
}

.alignright  {
  float: right;
  padding-left: 2em;
  padding-bottom: 2em;
}


/* Výchozí styl tlačítek WooCommerce */

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt {
  border-radius: 22px;
  width: 245px;
  height: 44px;
  line-height: 44px;
  background-color: #1E3D6B !important;
  border: 1px solid #1E3D6B;
  color: #fff;
  text-align: center;
  padding: 0;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:hover {
    background-color: #cc5500; /* Barva při najetí myší */
}


/* cash order payment */


.woocommerce-checkout .entry-content {
  width: 100%;
} 

.woocommerce #payment #place_order, 
.woocommerce-page #payment #place_order {
  padding: 0 !important;
  font-size: 120% !important;
}



/* about */

#about-offer,
#about-partners,
#about-media {
  margin-bottom: 3em;
}

.media-item {
  margin-bottom: 1.5em;
}

.media-item a {
  text-decoration: underline;
}

.media-item a:hover {
  text-decoration: none;
}

.media-item-meta {
  color: #828282;
}

.about-offer .grid-two-colums {
  gap: 4em;
}

.about-offer-content {
  display: flex;
}

.about-offer-image {
  width: 150px;
  padding-right: 2em;
}

.about-offer-links {
  flex-grow: 1;
}

.about-offer-links a.btn-tags {
  float: left;
  width: 43%;
  padding: 0;
  margin: 0.5em 5% 0.5em 0;
}

.about-offer-item h2 {
  padding-bottom: 0.5em;
}


/* pagination */

.pagination {
  text-align: center;
  margin-bottom: 2em;
}

.page-numbers {
  display: inline-block;
  border-radius: 50%;
  border: 1px solid #1E3D6B;
  color: #1E3D6B;
  text-align: center;
  width: 30px;
  height: 30px;
  line-height: 30px;
  font-weight: bold;
}

.page-numbers.dots {
  border: 0;
}

.current,
.page-numbers:hover {
  border: 1px solid #1E3D6B;
  background-color: #5271FF;
  color: #fff;
  text-decoration: none;
}


/* footer */

.site-footer {
  background-color: #1e3d6b;
  color: #fff;
  font-size: 14px;
  padding: 4em 0 1em 0;
  margin-top: 3em;
}

.site-footer a {
  color: #fff;
}

.site-footer .container,
.footer-third {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1em;
}

.footer-third {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 3em;
}

.footer-half {
  line-height: 1.8;
}

.footer-third.last {
  grid-template-columns: repeat(1, 1fr);
}

.footer-email-input {
  width: 346px;
  height: 28px;
  border: 1px solid #fff;
  background-color: #1e3d6b;
  color: #fff;
}

.footer-newsletter .btn-footer {
  cursor: pointer;
  line-height: 30px;
  font-weight: bold;
}

.social-share i,
.social-footer {
  display: inline-block;
  width: 25px;
  height: 25px;
  text-align: center;
  background-color: #fff;
  border-radius: 50%;
}

.fa-icons::before {
  line-height: 39px;
}

.fa-envelope-open::before {
  line-height: 35px;
}

.post-share-icons .social-share {
  display: inline-block;
  line-height: 44px;
}

.post-share-icons .social-share i,
.brona-social .social-footer {
  width: 40px;
  height: 40px;
  background-color: #5271ff;
  color: #fff;
}

.brona-social .social-footer {
  line-height: 44px;
}

.social-share .fa-icons,
.brona-social .fa-brands {
  font-size: 26px;
}

.site-footer .social-footer {
  color:#1e3d6b;
}

.copyright {
  font-size: 12px;
  text-align: center;
}


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

  .container {
    width: 1220px;
  }

}

/* for notebooks 1220 */

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

  .container {
    width: 960px;
  }

  .site-header {
    height: 83px;
  }

  #filter-results {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu-toggle {
    display: inline-block; 
  }
  
  .site-header .main-navigation {
    display: none;
  }
  
  .mobile-navigation.show {
    display: block; /* Zobrazí menu po kliknutí na hamburger */
    padding: 1em 0;
  }
  
  .mobile-navigation ul {
    display: block;
    margin: 0;
    padding: 0;
    list-style-type: none;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .mobile-navigation ul li {
    text-transform: uppercase;
  }
  
  .mobile-navigation ul a {
    display: block;
    width: 100%;
    padding: 0.5em 1em;
  }

  #teacher-references {
    max-width: 960px;
  }

  /* carousel 768 */

  .reference-item {
    flex: 0 0 810px;
    margin: 0 75px;
  }

  .reference-item-inner {
    flex-direction: column;
    text-align: center;
  }

  .reference-image {
    padding-right: 0;
    margin-bottom: 10px;
  }

  .reference-name {
    width: auto;
    margin-bottom: 10px;
  }
  
}


/* for tablets 768 */

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

  .container {
    width: 768px;
  }

  h1 {
    font-size: 48px;
  }
  
  h2 {
    font-size: 32px;
  }
  
  h3 {
    font-size: 18px;
  }

  #online-quizes .quizes-items,
  #teacher-highlights,
  .firmy-items,
  #front-highlights,
  #signpost-highlights {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5em;
  }

  #signpost-products {
    display: block;
  }

  .products-filters,
  #signpost-products .products-items,
  #signpost-products .post-items {
    width: 100%;
  }

  .products-items {
    margin-right: 0;
  }

  .post-articles {
    padding-right: 0;
  }

  #signpost-highlights,
  .page-id-34 #content.container,
  .footer-third,
  #front-feature,
  #front-newsletter .container,
  #front-content-columns {
    grid-template-columns: repeat(1, 1fr);
  }

  #signpost-highlights .item {
    min-height: 220px;
  }

  .post-image {
    width: 300px;
  }

  .reference-item {
    flex: 0 0 600px;
  } 

  .reference-item-inner {
    padding: 1.5em 2em;
  }

  .reference-image {
    padding-right: 20px;
  }

  .reference-text {
    width: 100%;
  }

}


/* for smartphones 460 */

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


  h1 {
    font-size: 23px;
    line-height: 27px;
  }
  
  h2 {
    font-size: 19px;
    line-height: 29px;
  }
  
  h3 {
    font-size: 18px;
  }

  .container {
    width: 460px;
  }

  .site-header .container {
    display: grid;
  }

  .site-header {
    height: 120px;
  }

  #logo {
    display: flex;
    order: 2;
  }
  
  #user-feature {
    width: 360px;
    order: 1;
    padding-top: 1em;
    display: flex;
  }

  .site-header .container,
  #teacher-highlights,
  #book-products .products-items,
  #signpost-feature,
  .home .products-items,
  #online-quizes .quizes-items,
  .firmy-items,
  .grid-two-colums,
  .site-footer .container,
  #filter-results {
    grid-template-columns: repeat(1, 1fr);
  }

  .course-perex, 
  .post-author, 
  .feature-post, 
  #signpost-feature, 
  #front-feature {
    background: transparent;
    border-radius: 0;
    padding: 0;
  }

  .feature-kontakt,
  .feature-newsletter, 
  .feature-firmy, 
  .feature-photo,
  .feature-kvizy,
  .feature-knihy,
  .feature-video {
    height: 300px;
    min-height: auto;
    width: 100%;
    max-width: 460px;
    aspect-ratio: 3 / 2;
    background-size: cover; /* Ořízne obrázek tak, aby vyplnil prostor */
    background-position: center;
    background-repeat: no-repeat;
  }

  #front-newsletter {
    margin-bottom: 1em;
  }

  #teacher-references, 
  #teacher-highlights {
    padding: 1.5em 0;
  }

  .products-items {
    width: 100%;
  }

  #front-highlights .item {
    padding: 1em;
  }

  .newsletter-description {
    padding-top: 1em;
  }

  .brona-newsletter input[type="text"], 
  .brona-newsletter input[type="email"], 
  .footer-email-input {
    width: 440px;
    height: 36px;
  }

  .review-item,
  .course-faq-inner,
  .course-perex-inner,
  .feature-course {
    display: block;
  }

  .meta-author-info,
  .post-table-content,
  .review-item-name,
  .review-item-comment,
  .course-faq .post-author-image,
  .course-faq-content,
  .post-author-image,
  .feature-course-text,
  .feature-course-image {
    width: 100%;
  }

  .meta-author-info {
    margin-bottom: 1em;
  }

  .feature-course-text {
    padding-left: 0;
  }

  .feature-course-meta, 
  .feature-course .course-price-more {
    margin: 1em 0;
  }

  .post-author-image img {
    width: 234px;
    height: 234px;
    display: block;
    margin: 0 auto 0 1em;
  }

  .post-mainpart, 
  .post-meta-box {
    display: block;
  }

  .course-buy-box {
    background-color: transparent;
  }

  .buy-box-image,
  .buy-box-price {
    width: 50%;
  }

  .buy-box-price {
    text-align: center;
  }

  .buy-box-title {
    display: none;
  }

  .buy-box-button {
    width: 100%;
    margin-top: 1em;
  }

  .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt {
    width: 100%;
  }

  .btn-invers {
    width: 100%;
  }

  .btn-courses {
    margin: 2em auto;
  }

  #signpost-highlights .item {
    padding: 1em;
  }

  iframe {
    width: 100%;
    height: auto;
  }
 

  .filter-box-container {
    display: none;
    padding-left: 1em;
  } 

  .filter-box {
    border: 2px solid #1E3D6B;
    margin-bottom: 1em;
    border-radius: 0.5em;
  }

  /* Nadpis s tlačítkem pro rozbalení */
  .filter-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 16px;
  padding: 10px;
  }

  .filter-toggle .dashicons {
  display: inline-block;
  }

/* Šipka */
.filter-toggle .dashicons {
  transition: transform 0.3s ease;
}

/* Otočení šipky při rozbalení */
.filter-box.open .dashicons {
  transform: rotate(180deg);
}  

  .post-articles,
  .about-offer-content,
  .post-front {
    display: block;
  }

  .about-offer-links a.btn-tags {
    float: none;
    width: 100%;
  }

  #signpost-products .post-image,
  .post-image {
    width: 100%;
    margin-right: 0;
  }

  #signpost-products .post-image img,
  .post-image img {
    width: 100%;
    height: auto;
  }

  .reference-item-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .reference-image {
    padding-right: 0;
    margin-bottom: 10px;
  }

  .reference-name {
    width: auto;
    text-align: center;
    margin-bottom: 10px;
  }

  .reference-text {
    width: 100%;
  }

  .content-half .social-footer {
    width: 36px;
    height: 36px;
    line-height: 40px;
  }

  .content-half .social-footer .fa-brands {
    font-size: 24px;
  }

  #teacher-references {
    max-width: 460px;
  }

  /* carousel */

  .reference-item {
    flex: 0 0 100%;
    margin: 0;
  }

  .reference-item-inner {
    flex-direction: column;
    text-align: center;
    padding: 1.5em;
  }

  .reference-image {
    padding-right: 0;
    margin-bottom: 10px;
  }

  .reference-name {
    width: auto;
    margin-bottom: 10px;
  }

  /* 🔹 Šipky absolutně umístěné */
  .carousel-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
  }

  .carousel-button {
    width: 36px;
    height: 36px;
    font-size: 1.2em;
  }

}


/* for smartphones 300 */

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

  #user-feature,
  .container {
    width: 300px;
  }

  .brona-newsletter input[type="text"], 
  .brona-newsletter input[type="email"], 
  .footer-email-input {
    width: 300px;
    height: 32px;
  }

  .course-more-info {
    width: 172px;
  }

  .course-more-info .btn {
    width: 170px;
  }

  .reference-item-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .reference-image,
  .reference-name {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }

  .reference-name {
    margin-left: 10px;
  }

  .reference-text {
    width: 100%;
    text-align: center;
  }

  #front-highlights,
  .container.half {
    grid-template-columns: repeat(1, 1fr);
  }

  #signpost-highlights .item {
    min-height: 285px;
  }

  .feature-kontakt,
  .feature-newsletter, 
  .feature-firmy, 
  .feature-photo,
  .feature-kvizy,
  .feature-knihy,
  .feature-video {
    height: 200px;
    width: 100%;
    max-width: 300px;
    aspect-ratio: 3 / 2;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .course-faq {
    padding: 1em;
  }

  #teacher-references {
    max-width: 300px;
  }

  .carousel-button {
    width: 30px;
    height: 30px;
    font-size: 1em;
  }

}
