/*
 Theme Name:   Miody Wudarczyk
 Description:  Motyw potomny tematu "Divi", utworzony na potrzeby stworzenia strony <strong>Gospodarstwa Pasiecznego Tomasz Wudarczyk</strong>
 Author:       Piotr Icikowski
 Author URI:   http://icikowski.pl
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         responsive-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready
*/


/* Definicje selektorów */

:root {
	--kolorGlowny: #deb300;
	--kolorTla: #1e1e1e;
}


/* Zwiększenie szerokości paska bocznego i poprawka położenia menu */

@media (min-width: 981px) {
	.et_vertical_nav #page-container #main-header {
		width: 260px !important;
	}

	.et_vertical_nav #et-main-area, .et_vertical_nav #top-header{
		margin-left: 260px !important;
	}
	
	#main-header .et_menu_container {
		padding-top: 0;
		position: relative;
		top: 50%;
		transform: translateY(-50%);
	}
	
	#main-header .et_search_outer {
		display: none !important;
	}
	
	#main-header {
		padding-top: 0 !important;
	}
}


/* Centrowanie wyrównanych kolumn */

.et_pb_equal_columns > .et_pb_column {
	margin-top: auto;
	margin-bottom: auto;
}


/* Poprawka kolumn na telefonach */

@media screen and (min-width: 981px) {
	.mobilePhotoColumnFix {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}
}
@media screen and (max-width: 980px) {
	.mobilePhotoColumnFix {
		background: none !important;
	}
}


/* Poprawka menu */

ul#top-menu li.current-menu-item > a, ul#top-menu li.current-menu-ancestor > a {
	color: var(--kolorGlowny) !important;
	font-weight: 900;
}


/* Style do nagłówków - mniejsze logo na PC */

@media screen and (min-width: 981px) {
	.halfLogoWidthOnPC .header-content img.header-logo {
		max-width: 50%;
	}
}


/* Notki oferty */

.offerBlurb .et_pb_blurb_content {
	display: flex;
}

.offerBlurb .et_pb_blurb_container {
	display: flex;
	height: 100%;
	position: absolute;
	width: 100%;
}

.offerBlurb .et_pb_main_blurb_image {
	visibility: hidden;
	margin: 0;
}

.offerBlurb .et_pb_blurb_container h4 {
	padding: 0;
	width: 100%;
}

.offerBlurb .et_pb_blurb_container h4 a {
	align-items: center;
	display: flex;
	height: 100%;
	justify-content: center;
	transition: all 0.3s ease;
	font-size: 1.5em !important;
	background: rgba(30, 30, 30, 0.4);
}

.offerBlurb .et_pb_blurb_container h4 a:hover {
	background: rgba(255,255,255,0.95);
	text-shadow: 1px 1px 3px rgba(30, 30, 30, 0.2);
	color: var(--kolorGlowny);
}


/* Lekki cień */

.lightShadow {
	box-shadow: 0 0 10px 0 rgba(30,30,30,0.2);
}

@media screen and (min-width: 981px) {
	.lightShadowOnPC {
		box-shadow: 0 0 10px 0 rgba(30,30,30,0.2);
	}
}

.lightShadowOnGalleryItems .et_pb_gallery_image {
	box-shadow: 0 0 10px 0 rgba(30,30,30,0.2);
}

/* Wyrównane notki */

.equalBlurb .et_pb_blurb_content {
	display: flex;
	margin-bottom: 0.5em;
}

.equalBlurb .et_pb_blurb_content > .et_pb_main_blurb_image {
	margin: auto 0;
}

.equalBlurb .et_pb_blurb_content > .et_pb_blurb_container {
	display: flex;
}

.equalBlurb .et_pb_blurb_content > .et_pb_blurb_container > .et_pb_blurb_description {
	padding: 0;
	margin: auto 0;
}


/* Stylizacja galerii */

.mfp-bottom-bar {
	display: none;
}


/* Poprawki stylistyczne slidera z typami miodów */

#honeyTypesSlider .owl-item h3, 
#beeProductsTypesSlider .owl-item h3 {
	color: var(--kolorGlowny);
}

#honeyTypesSlider .owl-item strong:before, 
#beeProductsTypesSlider .owl-item strong:before {
	padding-top: 1em;
	content: ' ';
	display: block;
}