/*
Theme Name: Konopí a věda
Theme URI: https:///
* Text Domain: konopiaveda
Description: Šablona - Konopí a věda
Author: Jitka Turbáková & Daniel Dostál | imagemakers.cz
Author URI: http://www.imagemakers.cz/
Version: 1.0.1
Tags: responsive, bootstrap5
Text Domain: mychildtheme
*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

body {
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

a {
  color: #000;
}

h2 {
  font-size: 1.7em;
}

h3 {
  font-size: 1.5em;
}

h1,
h2,
h3 {
  font-weight: bold;
}

h1.title {
  font-size: 5em;
}

/* Navbar */
.logged-in .navbar {
  margin-top: 32px !important;
}

.navbar {
  background-color: #8e209b;
}

.navbar {
  justify-content: center;
}

.navbar img {
  padding: 1em 0;
  height: 3em;
  margin-left: 1em;
}

.navbar .navbar-nav > li > a,
.navbar .nav-link,
.navbar .nav-link:focus,
.navbar .nav-link:hover,
.navbar a,
.navbar a:focus,
.navbar a:hover {
  /* První úroveň menu: bílé písmo */
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

/* Explicitně udržet dropdown toggle (první úroveň) bílý */
.navbar .dropdown-toggle {
  color: #fff;
}

/* Submenu (dropdown) položky: černé texty */
.dropdown-menu .dropdown-item,
.navbar a.dropdown-item {
  color: #000;
}

/* Zvýraznění položek submenu při najetí kurzorem */
.dropdown-menu .dropdown-item:hover,
.navbar a.dropdown-item:hover,
.dropdown-menu .dropdown-item:active {
  color: #000;
  background-color: #f2f2f2;
}

.dropdown-item:focus {
  background-color: #007a77;
}

.dropdown-menu.show {
  border-radius: 0;
}

.navbar-toggler {
  background-color: #fff;
}

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

.navbar-brand {
  font-weight: 700;
  color: #fff;
}

.navbar-brand h1 {
  font-size: 1em;
  color: #fff;
}

.btn-lang {
  background-color: #fff;
  color: #000;
  padding: .5em 1em;
  font-weight: bold;
}

a.btn-lang:hover,
a.btn-lang:focus {
  background-color: #fff;
  color: #000;
}

a.btn-lang {
  color: #000;
}

.hero-section {
  background: url('hero-bg.jpg') center/cover;
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.countdown {
  background-color: #4CAF50;
  color: white;
  padding: 20px 0;
  text-align: center;
  font-size: 1.5em;
}

.program-card {
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.sponsors img {
  max-height: 50px;
  margin: 10px;
}

footer {
  background: #8e209b;
  color: white;
  padding: 20px 0;
}

/* Homepage */
.home_block {
  background-color: #2C333F;
  padding: 2em 0;
}

.home_block img {
  width: 50%;
}

.home_block h2 {
  color: #fff;
  padding-top: 1em;
}

.ikony {
  margin: 4em 0;
}

.ikony .card {
  text-align: center;
}

.ikony .card img {
  /* width: 40%; */
  height: 5em;
}

.ikony .card .card-title {
  margin-top: 1em;
  font-size: .9em;
  font-weight: normal;
}

/* breadcrumbs */
#breadcrumbs {
  margin-bottom: 2em;
  text-transform: uppercase;
  font-size: 0.8em;
}

#breadcrumb a:hover {
  color: #000;
}

/* hlavicka */
.hlavicka {
  height: 100%;
}

.image-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.caption {
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 50%;
  transform: translate(-50%);
  color: white;
  text-align: center;
  background-color: #2c333f91;
  padding: 2em;
}

.hlavicka h1 {
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  color: #ffffff;
  /* font-size: 2em; */
}

.hlavicka h2 {
  color: #ffffff;
}

/* Obsah */
.obsah,
.obsah-page-in {
  margin: 1em 0;
}

.nounder a {
  text-decoration: none;
}

.obsah h1,
.obsah h2,
.obsah h3 {
  color: #000000;
  margin-bottom: .5em;
}

.obsah h1,
.obsah-page-in h1 {
  font-size: 2.2em;
}

.obsah h3 {
  color: #000000;
  margin-top: 1em;
  margin-bottom: .5em;
}

.obsah h2 {
  font-size: 1.8em;
  margin-right: 8px;
}

.obsah p {
  font-size: 1.1em;
  line-height: 1.6em;
}

.obsah a {
  color: #000;
  text-decoration: underline;
}

.obsah .uvod-home {
  margin: 4em 0;
}

.obsah-page-in {
  padding-bottom: 3em;
}

.obsah-page-in h1 {
  margin-bottom: 1em;
}

.obsah-page-in h2 {
  margin-bottom: 1em;
  text-transform: uppercase;
}

.obsah-page-in p {
  line-height: 2em;
  margin-bottom: 2em;
}

.obsah {
  font-size: .9em;
}

.cat h2 {
  padding: 0;
  margin: 0;
  font-size: 1.5em;
}

.sidebar {
  padding-top: .2em;
}

.postdate,
.tags {
  font-size: .8em;
}

.tags a {
  font-size: .8em;
  background-color: #007a77;
  color: #fff;
  padding: .6em;
  border-radius: 1em;
}

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

/* Partneri */
.logos img {
  margin: 2em;
}

/* Footer */
.kredity {
  padding: 2em 0;
  font-size: .9em;
}

.kredity p {
  line-height: 1.5em;
}

.kredity h3 {
  margin-bottom: 0;
}

.kredity h4 {
  font-size: 1.1em;
  font-weight: bold;
}

.kredity a {
  color: #fff;
}

.kredity svg {
  margin: 0 .3em;
  color: #fff;
}

.kredity img {
  max-height: 1em;
}

.credits,
.credits a {
  color: #b4b4b4;
  font-weight: 100;
  font-size: .9em;
}

/* carousel */
.jp-carousel-photo-title-container,
a.jp-carousel-icon-info {
  display: none;
}

.mfp-container {
  background-color: rgba(255, 255, 255, 0.6);
}

.swiper-pagination-bullets {
  display: none !important;
}

.jp-carousel-pagination {
  display: none !important;
}

/* Buttons etc */
.btn {
  font-family: "Poppins", sans-serif;
  font-weight: bold;
}

.btn-primary {
  background-color: #8e209b;
  color: #fff;
  border-width: 0;
}

.btn-primary:hover {
  background-color: #4a148c;
}

.btn-white,
a.btn-white {
  background-color: #ffffff;
  color: #000;
}

.btn-white:hover {
  background-color: #000;
  color: #fff;
}

.btn-black,
a.btn-black {
  background-color: #000;
  color: #fff !important;
  text-decoration: none;
}

.btn-black:hover {
  background-color: #000;
  color: #fff;
}

iframe {
  overflow: hidden;
}

.fialka {
  background-color: #8e209b !important;
}

.table-header {
  background-color: #8e209b !important;
  color: white;
}

td:first-child {
  white-space: nowrap;
}

/* Galerie */
/* Tlačítka */
/* video 100% */
.hbps-responsive-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

.hbps-responsive-video iframe,
.hbps-responsive-video object,
.hbps-responsive-video embed,
.hbps-responsive-video video {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

/* Tagy */
ul.tagy {
  padding: 0;
  list-style-type: none;
}

ul.tagy li a,
ul.tagy li a:hover {
  color: #fff !important;
}

ul.tagy li {
  display: inline-block;
  background-color: rgb(0, 0, 0);
  border-radius: 15px;
  padding: 0.4em 0.8em;
  margin-right: 0.4em;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  font-size: 0.8em;
}

/* wpcf7 */
/* wpcf7 */
/* Form wrapper */
/* Ensure the form container takes full width */
/* Ensure the form container takes full width */
div.wpcf7 {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

/* Style the individual form fields */
.wpcf7 .wpcf7-form-control-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Style the text input fields */
.wpcf7 .wpcf7-text,
.wpcf7 .wpcf7-email,
.wpcf7 .wpcf7-tel,
.wpcf7 .wpcf7-textarea,
.wpcf7 .wpcf7-select,
.wpcf7 .wpcf7-checkbox,
.wpcf7 .wpcf7-date {
  width: 100%;
  max-width: 100%;
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* Style the checkbox and select fields */
.wpcf7 .wpcf7-checkbox,
.wpcf7 .wpcf7-select {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 15px;
}

/* Aligning the select elements */
.wpcf7 select {
  width: auto;
  margin-right: 10px;
}

/* Flex container for checkbox and select elements */
.checkbox-select-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

/* Adding some margin to the checkbox */
.checkbox-select-container .wpcf7-checkbox {
  margin-right: 10px;
}

/* Full width message textarea */
.wpcf7 .wpcf7-textarea {
  height: 150px;
}

/* For better spacing */
.wpcf7 .wpcf7-form-control-wrap {
  margin-bottom: 15px;
}

.wpcf7 br {
  display: none;
}

.wpcf7 .blok {
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 15px;
}

.wpcf7 .blok p {
  padding: 0;
  margin: 0;
}

.wpcf7 ::placeholder,
.wpcf7-list-item-label,
.wpcf7-select,
.wpcf7 .wpcf7-date {
  color: #949494;
  opacity: 1;
  /* Firefox */
}

.wpcf7 ::-ms-input-placeholder {
  /* Edge 12 -18 */
  color: #949494;
}

.blok .wpcf7-select,
.blok .wpcf7-checkbox,
.blok .wpcf7-form-control-wrap {
  margin-bottom: 0;
}

.wpcf7-submit {
  background-color: #8e209b;
  color: #fff !important;
  text-decoration: none;
  padding: .5em;
  font-weight: bold;
}

.wpcf7-not-valid-tip {
  color: red;
}

.wpcf7-acceptance {
  color: #fff !important;
  background-color: #2c333f;
  padding: 1em;
  display: inline;
  max-width: fit-content;
}

.wpcf7-acceptance .wpcf7-list-item-label {
  color: #fff !important;
}

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

blockquote {
  background: #f9f9f9;
  border-left: 10px solid rgba(109, 126, 133, 0.285);
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  quotes: "„""“";
  /* quotes: '\201c' '\201d' '\2018' '\2019'; */
}

blockquote:before {
  color: #6d7e85ff;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}

blockquote p {
  display: inline;
}

/* ===========================
      Wordpress
=========================== */
/* Zarovnání */
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* embed */
/* Galerie */
.gallery img {
  width: 100%;
}

/* Video 100% */
.hbps-responsive-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  margin: 0 0 1em 0;
}

.hbps-responsive-video iframe,
.hbps-responsive-video object,
.hbps-responsive-video embed,
.hbps-responsive-video video {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

/* ===========================
      Media queries
=========================== */
@media (max-width: 1200px) {
  .navbar a {
    font-size: .8em;
  }
}

@media (max-width: 768px) {
  img {
    width: 100%;
    height: auto;
  }

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

  .hlavicka h1 {
    font-size: 1.8em;
  }

  .hlavicka h2 {
    font-size: 1.4em;
  }

  .caption {
    position: static;
    transform: none;
    background-color: #2c333fc1;
    color: white;
    font-size: 1rem;
    width: 100%;
    text-align: center;
    padding: 2em;
    box-sizing: border-box;
  }

  .ikony {
    display: none;
  }

  .paticka {
    font-size: 80%;
  }

  .kredity .im {
    text-align: center;
  }

  footer {
    text-align: center;
  }
}