/*
Theme Name: Rowerowa Polska
Theme URI: 
Author: gorna.design
Author URI: 
Description: 
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: rowerowa-polska
Tags: 
*/

:root {
	--wp--preset--color--base: #fff;
}

html, body {
	height: 100%;
	margin: 0;	
}

* {
	box-sizing: border-box;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 0 !important;
}

.justified-text {
	text-align: justify;
}

.about-arlos-container {
	background-image: url('https://rowerowapolska.org/wp-content/uploads/2025/01/napis-arlos.png');
	background-position-x: left;
    background-position-y: 43%;
    background-repeat: no-repeat;
    background-size: 620px;
}

@media (max-width: 1024px) {
	.about-big-c {
		/*background-image: url('https://rowerowapolska.org/wp-content/uploads/2025/01/karol_o_mnie.png') !important;*/
		background-position: left center !important;
	}
	
	.about-arlos-container {
		background-image: none;
	}
}

@media (max-width: 767px) {
	.about-big-c {
		/*background-image: url('https://rowerowapolska.org/wp-content/uploads/2025/01/karol_o_mnie.png') !important;*/
		background-position: left center !important;
	}
}

.site-title-link a {
	text-decoration: none;
}

.wp-block-navigation .wp-block-navigation__container .wp-block-navigation-item.rp-main-menu .wp-block-navigation-item__content {
	color: #7d7c7c;
}

.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container.has-background {
	background-color: #fff !important;
	border: none;
    left: -1rem !important;
}

.about-carlos-text {
	text-indent: 2rem;
}

.wp-block-navigation-item {
	font-weight: 300;
}

li.current-menu-item > a:first-of-type {
	font-weight: bold;
}

li:has(li.current-menu-item) {
	font-weight: bold;
}

.custom-relative-parent {
	position: relative;
}

.custom-absolute-child {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

figure.social-logos {
	line-height: 1rem;
}

.page-template-wp-custom-template-strony-bez-stopki {
	background-image: url('https://rowerowapolska.org/wp-content/uploads/2025/01/ekran_1920_1080.jpg');
	background-position-x: center;
	background-position-y: top;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
}

/* tablet */
@media (max-width: 1024px) {
	.page-template-wp-custom-template-strony-bez-stopki {
		background-image: url('https://rowerowapolska.org/wp-content/uploads/2025/01/ekran_1024_1366.jpg');
		background-position-x: left;
	}
}

/* smartphone */
@media (max-width: 767px) {
	.page-template-wp-custom-template-strony-bez-stopki {
		background-image: url('https://rowerowapolska.org/wp-content/uploads/2025/01/ekran_423_915.jpg');
		background-position-x: right;
	}
}

.nf-form-layout .nf-before-form-content {
	font-size: var(--wp--preset--font-size--small) !important;
}

.nf-form-layout .nf-form-content .ninja-forms-field.nf-element[type=submit] {
	background-color: #f16530;
	border-radius: 9999px;
    color: var(--wp--preset--color--base);
    padding-top: 0.6rem;
    padding-right: 1.6rem;
    padding-bottom: 0.6rem;
    padding-left: 1.6rem;
    box-shadow: var(--wp--preset--shadow--natural);
}

.nf-form-layout .nf-form-content .nf-field-label label {
	font-size: var(--wp--preset--font-size--small) !important;
}

.cc-window .cc-message {
	font-size: var(--wp--preset--font-size--small);
}

.cc-window .cc-compliance .cc-dismiss {
	background-color: #f16530;
	border-radius: 9999px;
    color: var(--wp--preset--color--base);
    padding-top: 0.6rem;
    padding-right: 1.6rem;
    padding-bottom: 0.6rem;
    padding-left: 1.6rem;
    box-shadow: var(--wp--preset--shadow--natural);
}
