/*
 * Front-end CSS migrated from WPCode Lite, one snippet per section in the
 * original order. The theme is Astra; selectors target its markup.
 */

/* White BG on content container */
#content > .ast-container {
	background-color: #ffffff;
}

/* Sticky header - CSS */
.sticky-header {
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 10;
}
@media (max-height: 650px) and (min-width: 923px) {
	.sticky-header {
		position: relative;
		width: 100%;
		z-index: 10;
	}
	.sticky-header-padding {
		margin-top: 0px;
	}
	.sticky-header-padding2 {
		margin-top: 0px;
	}
}
@media screen and (min-width: 922px) {
	.sticky-header-padding {
		margin-top: 61px;
	}
}

@media screen and (max-width: 921px) {
	.sticky-header-padding2 {
		margin-top: 80px;
}
}

/* Kolor tekstu kategorii i chmury tagow w stopce CSS */
#block-27 a, #block-28 a {
	color: #d1d5db;
}

/* Linki w stopce - hover underline CSS */
#colophon a:hover {
	text-decoration: underline;
}

/* sidebar - padding, bg, font-weight */
#block-3, #block-6 {
	padding: 0px !important;
}

#block-3 h4, #block-6 h4 {
	background-color: #165d8a;
	font-size: 18px;
	font-weight: 400;
	padding: 8px 0px 8px 10px;
}

#block-3 li, #block-6 li {
	padding: 4px 0px 4px 10px;
	margin: 0px;
	border-bottom: solid 1px #e9ecef;
}

#block-3 li:hover, #block-6 li:hover {
	background-color: #e9ecef;
}

#block-3 li:last-child, #block-6 li:last-child {
	border-bottom: 0px;
}

@media screen and (min-width: 922px) {
	.ast-sticky-sidebar .sidebar-main {
		top: 70px !important;
	}
}

/* usuniecie paddingu ze strony artykulu CSS */
#main > article {
	padding: 0px !important;
}

.ast-archive-description {
	padding: 24px;
}

/* breadcrumbs CSS */
.ast-breadcrumbs a:hover {
	text-decoration: underline;
}

#primary .ast-breadcrumbs-wrapper {
	padding: 12px 16px;
	border-radius: 5px;
}

/* tagi w polu meta na listingu CSS */
.entry-meta a[rel="category tag"] {
	background-color: #dc3545;
	color: #ffffff;
	padding: 1px 3px;
	border-radius: 5px;
}

.entry-meta a[rel="category tag"]:hover {
	text-decoration: underline;
	color: #ffffff;
}

/* underline linkow onHover CSS */
#primary a:hover {
	text-decoration: underline;
}

#primary #menu-nav-post-bottom a:hover,
#primary #menu-nav-post-top a:hover,
#primary #menu-prev-btn-top a:hover,
#primary #menu-nav-btn-top a:hover,
#primary #menu-next-btn-top a:hover,
#primary #menu-prev-btn-bottom a:hover,
#primary #menu-next-btn-bottom a:hover {
	text-decoration: none;
}

/* Kurs Nav Section Top CSS */
.elementor-nav-menu {
	padding-left: 0px !important;
}

#menu-nav-post-top-wrapper {
	padding-top: 16px;
	border-top: 2px solid rgba(0,0,0,0.125);
	margin-top: 16px;
}

#menu-nav-post-top {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.5s ease-in-out;
	padding-bottom: 16px;
	border-bottom: 2px solid rgba(0,0,0,0.125);
}

#menu-nav-btn-top {
	cursor: pointer;
}

#menu-prev-btn-top .elementor-button, #menu-nav-btn-top .elementor-button, #menu-next-btn-top .elementor-button {
	width: 100%;
}

#menu-prev-btn-top .elementor-button-text, #menu-next-btn-top .elementor-button-text {
	flex-grow: 0.1;
}

@media screen and (max-width: 767px) {
	#menu-nav-next-col-top {
		order: 1;
	}
	#menu-nav-prev-col-top {
		order: 2;
	}
	#menu-nav-middle-col-top {
		order: 3;
	}
}

/* Kurs Nav Section Bottom CSS */
.elementor-nav-menu {
	padding-left: 0px !important;
}

#primary .custom-kurs-nav-bottom-section {
	border-top: 2px solid #34495e;
	border-bottom: 2px solid #34495e;
	padding-bottom: 10px;
}

#primary .custom-kurs-nav-bottom-section {
	margin-left: 10px;
	margin-right: 10px;
}

#primary .custom-kurs-nav-bottom-section .elementor-widget-wrap {
	padding-left: 0px;
	padding-right: 0px;
}


#menu-nav-btn-bottom .elementor-button.elementor-size-md {
	padding: 0px 30px;
}

#menu-nav-btn-bottom .elementor-widget:not(:last-child) {
	margin-bottom: 0px !important;
	margin-block-end: 0px !important;
}

#menu-nav-post-bottom {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.5s ease-in-out;
}

#menu-nav-post-bottom nav {
	margin: 0px;
}

#menu-nav-btn-bottom {
	cursor: pointer;
}

#menu-prev-btn-bottom .elementor-button, #menu-nav-btn-bottom .elementor-button, #menu-next-btn-bottom .elementor-button {
	width: 100%;
}

#menu-prev-btn-bottom .elementor-button-text, #menu-next-btn-bottom .elementor-button-text {
	flex-grow: 0.1;
}

@media screen and (max-width: 767px) {
	#menu-nav-next-col-bottom {
		order: 2;
	}
	#menu-nav-prev-col-bottom {
		order: 3;
	}
	#menu-nav-middle-col-bottom {
		order: 1;
	}
}

/* Search | Mobile menu CSS */
.ast-search-menu-icon.slide-search input.search-field {
	width: 100%;
}

.ast-mobile-popup-drawer .ast-mobile-popup-content .ast-search-menu-icon .search-submit, .ast-mobile-popup-drawer .ast-desktop-popup-content .ast-search-menu-icon .search-submit {
	padding: 0 16px;
}

.ast-nav-menu .sub-menu, .ast-header-break-point .ast-nav-menu .sub-menu {
	line-height: 1.5;
}

.ast-mobile-popup-drawer .ast-mobile-popup-header .menu-toggle-close {
	padding: 10px 18px;
}

#ast-hf-mobile-menu .ast-menu-toggle,
#ast-hf-mobile-menu a {
	padding-top: 10px;
	padding-bottom: 10px;
}

.ast-mobile-popup-drawer .ast-mobile-popup-inner {
	max-width: 100%;
}

.ast-mobile-popup-header button,
.ast-mobile-popup-content button {
	box-shadow: none;
}

.ast-header-search .slide-search .search-form {
	border: 0px;
}

#search-field:focus {
		border: 2px solid #165d8a;
	}

.search .ast-archive-description h1, .search .ast-archive-description h1 * {
		overflow-wrap: break-word;
	}

@media screen and (max-width: 922px) {
	#search-field {
		text-align: start;
		padding: 12px 12px;
		border: 1px solid #e7e7e7;
	}
	#search-field::placeholder {
		color: #000000;
	}
	.ast-icon.icon-search svg {
		fill: #000000;
	}

	.ast-mobile-popup-drawer .ast-mobile-popup-content .ast-search-menu-icon.slide-search .search-form, .ast-mobile-popup-drawer .ast-mobile-popup-content .ast-search-menu-icon .search-form, .ast-mobile-popup-drawer .ast-desktop-popup-content .ast-search-menu-icon.slide-search .search-form, .ast-mobile-popup-drawer .ast-desktop-popup-content .ast-search-menu-icon .search-form {
		text-align: center;
	}

	.ast-mobile-popup-drawer .ast-mobile-popup-content .ast-search-menu-icon.ast-inline-search .search-field, .ast-mobile-popup-drawer .ast-mobile-popup-content .ast-search-menu-icon .search-field, .ast-mobile-popup-drawer .ast-desktop-popup-content .ast-search-menu-icon.ast-inline-search .search-field, .ast-mobile-popup-drawer .ast-desktop-popup-content .ast-search-menu-icon .search-field {
		min-width: 210px;
		width: 40%;
	}
	.ast-mobile-popup-drawer .ast-mobile-popup-content .ast-search-menu-icon .search-submit {
		display: inline-block;
		position: relative;
		vertical-align: middle;
	}
	.ast-mobile-popup-content > *:last-child {
		padding-top: 20px;
		padding-bottom: 20px;
	}

	.ast-submenu-expanded {
		background: #165d8a !important;
		padding-bottom: 20px;
	}
	li.ast-submenu-expanded > a:nth-of-type(1) {
		color: #ffffff !important;
	}
	.ast-submenu-expanded .sub-menu {
		background-color: #ffffff !important;
	}
	.ast-submenu-expanded svg:nth-of-type(1) {
		fill: #ffffff;
	}
	.ast-header-break-point .main-navigation ul .menu-item .menu-link .icon-arrow:first-of-type svg {
		fill: #000000;
	}
	.ast-header-break-point .main-header-menu .sub-menu {
		margin: auto;
		text-align: center;
		width: 90%;
	}
	.main-header-menu > .menu-item > .menu-link {
		margin: auto;
    	text-align: center;
		width: auto !important;
	}

}

@media screen and (min-width: 923px) {
	.ast-nav-menu .sub-menu {
		line-height: 1.2;
	}
	.main-header-menu .sub-menu {
		width: 450px;
	}
	.main-header-menu .sub-menu .menu-link {
		padding: 12px 20px;
	}
	.ast-header-search form.search-form .search-field, .ast-header-search .ast-dropdown-active.ast-search-menu-icon.slide-search input.search-field {
    	width: 200px;
	}
	.ast-header-search form.search-form .search-field, .ast-header-search .ast-dropdown-active.ast-search-menu-icon.slide-search input.search-field::placeholder {
    	color: #000000;
	}
	.ast-search-menu-icon.slide-search .search-form {
		right: 2em;
	}
	.ast-header-search .ast-search-menu-icon.ast-dropdown-active .search-form {
		transition: all 0.8s ease-in-out;
	}
	.ast-icon.icon-search svg {
		margin-top: 0px;
		margin-right: 0px;
		vertical-align: middle;
	}
	.ast-icon.icon-search svg:hover {
		transform: scale(1.2);
	}
	.ast-hfb-header .site-header-section > .ast-header-search, .ast-hfb-header .ast-header-search,
	.ast-builder-layout-element[data-section="section-hb-social-icons-1"] {
		padding-bottom: 5px;
	}
}

/* General CSS for post pages */
/* title area, related posts area */
#primary .ast-header-without-markup,
#primary .ast-single-related-posts-container {
	padding-left: 10px;
	padding-right: 10px;
}

#primary img {
	border: 1px solid #cfcfcf;
}

#primary .blue-box-bestellen-ein-set {
	display: flex;
	flex-direction: row;
}

.entry-content .custom-alert-box p {
	margin-bottom: 0px;

}

#primary .custom-heading-section h2,
#primary .custom-paragraph-section p {
	margin-bottom: 6px;
	color: #212529;
}

#primary .custom-paragraph-section p {
	text-align: justify;
}

#primary .custom-img-in-post-section figcaption {
	color: #212529;
}

#primary .custom-fertige-sets-section {
	margin-left: 10px;
	margin-right: 10px;
	border-radius: 5px;
}

#primary .custom-fertige-sets-section img {
	width: 200px;
	border: none;
}

#primary .custom-fertige-sets-right-col .elementor-widget-wrap {
	align-content: center;
}

#primary .custom-fertige-sets-section .custom-fertige-sets-btn a:hover,
#primary .custom-no-underline-on-hover-btn a:hover {
	text-decoration: none;
}

#primary .custom-fertige-sets-section h5,
#primary .custom-fertige-sets-section p {
	margin-top: 0px;
	margin-bottom: 6px;
}

/* Global CSS adjustments */
.entry-meta a[rel="category tag"]{
	font-size: 10px !important;
    padding: 4px 8px !important;
}

#block-3 h4, #block-6 h4{
	font-size: 16px !important;
	font-weight: 400 !important;
	padding: 12px 0px 12px 10px !important;
	border-radius: 5px !important
}

.wp-block-page-list li a {
	color:#d1d5db !important;
}

#content #primary .ast-breadcrumbs-wrapper {
	padding: 6px 12px !important;
	border-radius: 5px !important;
}

@media (min-width: 922px) {
    .blog .site-content > .ast-container, .archive .site-content > .ast-container, .search .site-content > .ast-container {
        max-width: 1240px !important;
    }
}


@media (max-width: 921px) {
	#ast-mobile-header div.ast-primary-header-bar.ast-primary-header{
		padding: 0 1.5rem !important;
	}
}

#primary-site-navigation-desktop{
	font-size: 14px !important;
	font-weight: 500 !important;
}

.ast-mobile-header-wrap .ast-below-header-bar, .ast-below-header-bar .site-below-header-wrap{
	min-height: 54px !important;
}
.ast-desktop .ast-below-header-bar .main-header-menu>.menu-item{
	line-height: 54px !important;
}

.ast-header-button-1[data-section*="section-hb-button-"] .ast-builder-button-wrap .ast-custom-button {
	padding-top: 10px !important;
	padding-bottom: 10px !important;
}

.ast-hfb-header .site-header-section > .ast-header-search, .ast-hfb-header .ast-header-search, .ast-builder-layout-element[data-section="section-hb-social-icons-1"]{
	padding-bottom: 1px !important;
}

.site-title{
	display: none !important;
}
