/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/*------------------------------------------------------------------
[Table of contents]

0. Global
1. Section
2. Icon with rhomb

/* ======================================================
================== 0. Global ==================
====================================================== */
.link-underline a {
	text-decoration: underline;
}

.link-hover-underline a:hover {
	text-decoration: underline;
}

[type="text"]::placeholder,
[type="email"]::placeholder,
[type="tel"]::placeholder,
textarea {
	color: rgba(0, 42, 125, 0.82) !important;
}

.elementor-field-type-acceptance .elementor-field-option {
	margin-top: 10px;
	margin-bottom: 30px;
	display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
}

.elementor-field-type-acceptance .elementor-field-option label {
	line-height: 1.5;
}

/* ======================================================
================== 1. Section ==================
====================================================== */

/* Używane do utrzymania równych paddingów X dla sekcji */
.netby-section {
	padding-left: 40px !important;
	padding-right: 40px !important;
}

@media (max-width: 767px) {
	.netby-section {
		padding-left: 24px !important;
		padding-right: 24px !important;
	}
}

/* Używane do numerów sekcji */
.netby-section-counter {
	margin-left: 22px !important;
	margin-bottom: 35px !important;
	position: relative;
	width: 53px;
	height: 53px;
	isolation: isolate;
	cursor: default;
}
.netby-section-counter.centered {
	margin-left: 0 !important
}

.netby-section-counter::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	display: block;
	width: 53px;
	height: 53px;
	background-color: #D7FC69;
	transform: translate(-50%, -50%) rotate(45deg);
	z-index: -1;
}
.netby-section-counter .elementor-widget-container {
	display: flex;
	justify-content: center;
	align-items: center;
}

@media (max-width: 1024px) {
	.netby-section-counter {
		margin-bottom: 25px !important;
	}
}

@media (max-width: 767px) {
	.netby-section-counter {
		margin-left: 16px !important;
		margin-bottom: 0px !important;
		width: 40px;
		height: 40px;
	}
	.netby-section-counter.centered {
		margin-left: 0 !important
	}
	.netby-section-counter .elementor-heading-title {
		font-size: 14px !important;
	}
	.netby-section-counter::before {
		width: 40px;
		height: 40px;
	}
}

/* ======================================================
================== 2. Icon with rhomb ==================
====================================================== */
.icon-w-rhomb .elementor-icon {
	position: relative;
	isolation: isolate;
}
.icon-w-rhomb .elementor-icon:after {
	content: "";
	position: absolute;
	top: 30%;
	right: 0;
	display: block;
	width: 35px;
	height: 35px;
	background-color: #D7FC69;
	transform: translate(35%, -50%) rotate(45deg);
	z-index: -1;
}

.icon-w-rhomb .elementor-icon svg {
	height: 47px !important;
}

/* ======================================================
================== 3. RankMath breadcrumb ==================
====================================================== */
.rank-math-breadcrumb ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.rank-math-breadcrumb li {
	display: inline;
}

.rank-math-breadcrumb li + li:before {
	content: " – ";
	color: #fff;
}

.rank-math-breadcrumb ul li a {
	font-family: "Exo 2", Sans-serif;
	color: #fff;
	text-decoration: none;
	transition: .4s;
}

.rank-math-breadcrumb ul li:last-child a {
	font-weight: bold;
}

.rank-math-breadcrumb ul li a:hover {
	color: #d7fc69;
}

/* ======================================================
================== 4. Custom css elemntor form ==================
====================================================== */
.elementor-field-type-acceptance, .elementor-field-type-html {
	margin: 0 !important;
}

.input-error {
	border-color: #ff0000 !important;
}
.validation-error {
	font-size: 13px;
	color: #ff0000;
}
.elementor-form button[disabled] {
	opacity: 0.6;
	cursor: not-allowed;
}

.elementor-field-option .validation-error {
	display: block !important; 
	font-size: 12px;
	color: #ff0000;
}

.elementor-field-option {
  display: block !important;
}

.elementor-field-option label {
  display: inline !important;
}

.elementor-field-group {
	align-content: baseline;
}

/* ======================================================
================== 4. Custom back to top ==================
====================================================== */
.back-to-top {
	display: none;
	align-items: center;
    justify-content: center;
	position: fixed;
	bottom: 30px;
	right: 30px;
	z-index: 9999;
	background: #d7fc69;
	color: #002a7d !important;
	width: 40px;
	height: 40px;
	border-radius: 4px;
	text-decoration: none;
	font-size: 18px;
	opacity: 0.8;
	transition: opacity 0.3s, background 0.3s;
}
.back-to-top.flex {
	display: flex;       
	justify-content: center;
	align-items: center;
}
.back-to-top:hover {
	background: #002a7d;
	opacity: 1;
	color: #fff !important;
}