/* 
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 */

.swiper-slide-contents {
    width: 100%;
}

.swiper-slide-contents h1 {
    max-width: 700px;
}

@media (max-width: 1500px) {
    .swiper-slide-contents h1 {
        padding-left: clamp(0px, calc(1500px - 100vw), 30px);
    }
}

.links-with-arrows a:not(#filtry a) {
  display: inline-flex;
  position: relative;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: inherit;
  color: #090909;
  transition: color 0.3s ease;
  font-size: 18px;
  margin: 0.6rem 0;
  padding-right: 30px;
}

.links-with-arrows a:not(#filtry a)::after {
  content: "";
  display: inline-block;
  position: absolute;
  right: 5px;
  width: 18px;
  height: 18px;

  background-image: linear-gradient(to right, #F45959 50%, #090909 50%);
  background-size: 200% 100%;
  background-position: 100% 0; 
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 18'%3E%3Cpath d='M20.305,16.212c-0.407,0.409-0.407,1.071,0,1.479s1.068,0.408,1.476,0l7.914-7.952c0.408-0.409,0.408-1.071,0-1.481l-7.914-7.952c-0.407-0.409-1.068-0.409-1.476,0s-0.407,1.071,0,1.48l7.185,7.221L20.305,16.212z'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1,8h28.001c0.551,0,1,0.448,1,1c0,0.553-0.449,1-1,1H1c-0.553,0-1-0.447-1-1C0,8.448,0.447,8,1,8z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 18'%3E%3Cpath d='M20.305,16.212c-0.407,0.409-0.407,1.071,0,1.479s1.068,0.408,1.476,0l7.914-7.952c0.408-0.409,0.408-1.071,0-1.481l-7.914-7.952c-0.407-0.409-1.068-0.409-1.476,0s-0.407,1.071,0,1.48l7.185,7.221L20.305,16.212z'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1,8h28.001c0.551,0,1,0.448,1,1c0,0.553-0.449,1-1,1H1c-0.553,0-1-0.447-1-1C0,8.448,0.447,8,1,8z'/%3E%3C/svg%3E");
  
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;

  transition: 
    background-position 0.35s ease,
    transform 0.35s ease;
}

/* Efekt HOVER */
.links-with-arrows a:not(#filtry a):hover {
  color: #F45959;
}

.links-with-arrows a:not(#filtry a):hover::after {
  background-position: 0 0;
  transform: translateX(5px);
}

/* RAPORTY */
#raporty ul li {
    position: relative;
    font-family: inherit;
    color: #090909;
    margin-bottom: 0.3rem;
    padding-right: 30px;
}

#raporty ul li a {
    color: #090909 !important;
    position: relative;
    text-decoration: none;
    transition: color 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#raporty ul li a:hover {
    color: #f45959 !important;
}

#raporty ul li a::after {
    content: '';
    position: absolute;
    top: 110%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #f45959;
    transform: scaleX(0);
    transform-origin: left;

    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); 
}

#raporty ul li a:hover::after {
    transform: scaleX(1);
}

.links-with-border strong {
	width: 100%;
    display: block;
}

.raport-wpis .links-with-arrows,
.links-with-border p {
    border-bottom: 1px solid #c8c8c8;
}

/* ACCORDION */
.e-n-accordion {
    counter-reset: section;
}

.e-n-accordion-item {
    position: relative;
    padding-left: 70px; 
}


.e-n-accordion-item::before {
    counter-increment: section;
    content: counter(section, decimal-leading-zero);
    position: absolute;
    color: rgba(0, 0, 0, 0.4);
    top: 40px;
    left: 0;
    font-size: 20px;
    transform: translateY(-50%) translateZ(0);
    z-index: 2;
    will-change: transform;
    pointer-events: none;
}

.e-n-accordion-item-title-text {
    position: relative;
    display: inline-block;
}

.e-n-accordion-item-title-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}

summary.e-n-accordion-item-title[aria-expanded="true"] .e-n-accordion-item-title-text::after {
    transform: scaleX(1);
}

@media (max-width: 767px) {
    .e-n-accordion-item::before {
        top:25px;
    }
}

/* VIDEO */
.elementor-widget-video .e-hosted-video .elementor-video {
    object-fit: contain !important;
    background-color: #fff;
}

.elementor-flip-box__layer.elementor-flip-box__back {
    border-top-color: #f45959 !important;
    border-top-width: 2px !important;
}

/* Newsletter */
#mlb2-13902336.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody, 
#mlb2-13902336.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody {
    padding: 0 !important;
}

/* Custom Link Colors */
a.custom-link-color {
    position: relative;
    text-decoration: none;
}

a.custom-link-color::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 1px;
    
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}

a.custom-link-color:hover::after {
    transform: scaleX(1);
}

a.custom-link-color.light-color {
    color: #E6E6E6;
}

a.custom-link-color.light-color::after {
    background-color: #f45959;
}


a.custom-link-color.white-color {
    color: #fff;
}

a.custom-link-color.white-color::after {
    background-color: #fff;
}

@media (max-width: 767px) {
    .table-wrapper table {
        min-width: 750px;
        width: 100%;
        border-collapse: collapse;
    }
}

.cookiehub-category > p {
    color: #5c4a4a;
    line-height: 1.55;
    margin-bottom: 15px;
    font-size: 17px;
}

.cookiehub-category {
    background: #fdeeee;
    border: 1px solid #f5d3d3;
    border-radius: 10px;
    padding: 20px;
    width: 100%;
    margin: 20px 0;
}

.cookiehub-category table {
    width: 100%;
    background: #ffffff;
    border: 1px solid #f5d3d3;
    border-radius: 10px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.6;
}

.cookiehub-category table td[colspan] p {
    background: #fff7f7;
    padding: 14px 16px;
    margin: 0;
    border-left: 3px solid #f79a9a;
    font-size: 13px;
    line-height: 1.55;
    border-radius: 6px;
    color: #5c4a4a;
}

html[lang|="pl"] .cookiehub-category table td[colspan] p::before, html[lang|="en"] .cookiehub-category table td[colspan] p::before {
    display: block;
    font-weight: 600;
    font-size: 12px;
    color: #8f2e2e;
    margin-bottom: 6px;
}
html[lang|="en"] .cookiehub-category table td[colspan] p::before {
    content: "Purpose";
}

html[lang|="pl"] .cookiehub-category table td[colspan] p::before {
    content: "Cel";
}

.cookiehub-category table th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fff4f4;
    padding: 14px 18px;
    font-weight: 600;
    text-align: left;
    color: #8f2e2e;
    border-bottom: 1px solid #f5d3d3 !important;
    font-size: 14px;
}

.cookiehub-category table td {
    padding: 14px 18px;
    border-bottom: 1px solid #f7e2e2 !important;
    font-size: 14px;
    color: #5c4a4a;
    vertical-align: top;
}

.cookiehub-category table td, .cookiehub-category table th {
    border: none;
}

.cookiehub-category table caption+thead tr:first-child td, 
.cookiehub-category table caption+thead tr:first-child th, 
.cookiehub-category table colgroup+thead tr:first-child td, 
.cookiehub-category table colgroup+thead tr:first-child th, 
.cookiehub-category table thead:first-child tr:first-child td, 
.cookiehub-category table thead:first-child tr:first-child th {
    border-block-start: none;
}