/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

:root {
	--max-content: 800px;
	--max-container: 970px;
	--transition-default: all 0.3s ease;
}

.wp-block-embed-youtube iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  display: block;
}
.wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* HEADER */
.vk_header-menu.brxe-nav-menu .bricks-nav-menu,
.vk_footer-menu.brxe-nav-menu .bricks-nav-menu {
    align-items: center;
}
.vk_menu-btn {
	background-color: #3B6FF5;
	border: 1px solid #3B6FF5;
	border-radius: 10px;
	padding: 15px 31px;
	line-height: 1;
	transition: var(--transition-default);
}
.vk_menu-btn:hover {
	background-color: transparent;
}
.vk_menu-btn a {
	color: #ffffff !important;
}
.vk_menu-btn a:hover {
	color: #3B6FF5 !important;
}
.vk_menu-btn:hover a {
	color: #3B6FF5 !important;
}
.vk_menu-btn.current-menu-item {
	background-color: transparent;
}

#brxe-03e568 .vk_menu-btn {
	background-color: #ffffff;
	border: 1px solid #ffffff;
}
#brxe-03e568 .vk_menu-btn a {
	color: #3B6FF5 !important;
}

header.scrolling  .vk_menu-btn {
	background-color: #ffffff !important;
    border: 1px solid #3B6FF5 !important;
}
header.scrolling .vk_menu-btn:hover {
	background-color: transparet !important;
}
header.scrolling .vk_menu-btn a {
	color: #3B6FF5 !important;
}
#brxe-cf5d77.scrolling .bricks-nav-menu > li > a {
	color: #000000;
}


/* HAMBURGER MENU */
.bricks-mobile-menu .vk_menu-btn {
	background-color: #FFFFFF;
	padding: 0;
	border-radius: 0;
}
.bricks-mobile-menu .vk_menu-btn a {
	color: #3B6FF5 !important;
}

/* GLOBAL */

[id] {
	scroll-margin-top: 90px;
}

.vk_gallery li:nth-child(n+5) {
  display: none;
}

.vk_courses--item-title,
.vk_courses--item-repeater {
	position: relative;
}
.vk_courses--item-title::after,
.vk_courses--item-repeater::after {
	content: "";
	display: inline-block;
	width: 211px;
	height: 1px;
	background-color: rgba(0, 0, 0, 0.1);
	position: absolute;
	bottom: -20px;
	left: 0;
}

/* WELCOME SECTION */
.vk_welcome-container::after {
	content: "";
	width: 100%;
    height: 100%;
    max-height: 579px;
	display: inline-block;
	background-image: url(/wp-content/uploads/2025/08/lenka-oravcova.webp);
	background-repeat: no-repeat;
	background-position: right;
	position: absolute;
	top: 0;
	right: -200px;
}

/* BLOG */
.single-post h2 {
	margin: 32px 0;
}
.single-post h2:first-child {
	margin-top: 0;
}
.single-post h3,h4,H5 {
	margin-bottom: 16px;
}

/* Privacy policy */
.privacy-policy h2 {
	font-size: 28px;
	margin: 48px 0 32px;
}
.privacy-policy h2:first-child {
	margin-top: 0;
}


/* RANK MATH */
.rank-math-breadcrumb .separator {
	display: inline-block;
	width: 20px;
	height: 20px;
	background: url('/wp-content/uploads/2025/08/icon-right.svg') no-repeat center center;
	background-size: contain;
	vertical-align: middle;
	overflow: hidden;
	text-indent: -9999px;
	margin: 0 10px;
}
.rank-math-breadcrumb a {
	color: #3B6FF5;
	text-decoration: none;
}
.rank-math-breadcrumb a[href*="category/nezarazene"],
.rank-math-breadcrumb span:has(> a[href*="category/nezarazene"]) {
  display: none;
}

/* schovej kategorii v breadcrumbu */
nav.rank-math-breadcrumb a[href*="/category/"] { display:none !important; }

/* a schovej i separator, který po ní následuje */
nav.rank-math-breadcrumb a[href*="/category/"] + .separator { display:none !important; }

/* pojistka: nikdy nezačínej/nekonči separatorem */
nav.rank-math-breadcrumb .separator:first-child,
nav.rank-math-breadcrumb .separator:last-child { display:none !important; }



/* FLUENT FORM */
.fluentform h2 {
	color: #ffffff;
	font-size: 40px;
	margin-bottom: 32px;
}
.fluentform label {
	color: #FFC1B4;
	font-size: 14px;
}
.fluentform input[type="text"],
.fluentform input[type="email"],
.fluentform input[type="tel"],
.fluentform textarea,
.fluentform input:not([type=submit]) {
	color: #ffffff !important;
	background-color: transparent !important;
	border: none !important;
	border-bottom: 1px solid #ffffff !important;
	border-radius: 0 !important;
	padding: 5px 0 20px !important;
}
.fluentform input::placeholder,
.fluentform textarea::placeholder {
  color: #ffffff !important;
  opacity: 1 !important;
}
.fluentform input[type="checkbox"] {
    width: 24px;
    height: 24px;
    margin-right: 16px !important;
}
.fluentform  .ff-el-form-check .ff_t_c {
	color: #ffffff;
	font-size: 16px;
}
.fluentform .text-danger {
    color: #fff;
}

/* FOOTER */
.vk_footer a {
	transition: var(--transition-default);
}
.vk_footer a:hover {
	opacity: 0.7;
}


@media screen and (max-width: 1200px) {
	.vk_welcome-container::after {
		display: none;
	}	
}

@media screen and (max-width: 480px) {
	.vk_gallery li:nth-child(n+4) {
	  display: none;
	}
	.fluentform h2 {
		font-size: 28px;
	}
}