/*
Theme Name: tenergis
Author: Orange Moon
Author URI: https://orangemoon.pl 
Description: Website
Version: 1.0
Text Domain: tenergis
*/

/* Styl dla wiersza o szerokości 70% */
.row-70 {
    width: 70%;
    box-sizing: border-box;
    margin-bottom:100px;
}

.row-80 {
    width: 80%;
    box-sizing: border-box;
    margin-bottom:100px;
}

/* Styl dla wiersza o szerokości 100% */
.row-100 {
    width: 100%;
    box-sizing: border-box;
}
.row-case {
    display: flex;
    flex-wrap: wrap;
    margin-bottom:130px;
}

.column {
    width:50%;
    box-sizing: border-box;
}

.column img {
    border-radius: 30px;
}

.column-left {
    padding-right:60px;
}

.title.solution {
    margin-top:80px;
}

.list ol {
    padding-left: 20px;
}


.list ul {
    list-style: none;
    padding-left: 0;
}

.list li {
    margin-bottom: 20px;
}

.list ul li {
    background-image: url('/wp-content/uploads/2024/12/Group-173.svg'); /* Dodaj ikonę jako tło */
    background-repeat: no-repeat; /* Zapobiega powtarzaniu obrazka */
    background-size: 20px 20px; /* Rozmiar ikony */
    padding-left: 30px;
}

.contact-form {
    border: 2px solid #2a2a2a;
    border-radius:30px;
    padding: 55px 85px 10px 85px;
}

.contact-form .title {
    margin-bottom: 25px;
}
.contact {
    margin-top:50px;
}

.contact .title {
    margin-bottom:40px;
}

@font-face {
    font-family: 'FunnelDisplay-Bold';
    src: url('assets/fonts/funneldisplay/FunnelDisplay-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'FunnelDisplay-Medium';
    src: url('assets/fonts/funneldisplay/FunnelDisplay-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'FunnelDisplay-ExtraBold';
    src: url('assets/fonts/funneldisplay/FunnelDisplay-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'FunnelDisplay-SemiBold';
    src: url('assets/fonts/funneldisplay/FunnelDisplay-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "FunnelDisplay-Bold", serif;
}

.number h6,
.elementor-counter-number-wrapper{
    font-family: "FunnelDisplay-ExtraBold", serif;
}

.page-title {
    font-family: "FunnelDisplay-Bold", serif;
    font-size: 32px;
    line-height: 40px;
}

.subtitle {
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    line-height: 25px;
    font-weight: 500;
    margin: 0 0 20px 0;
}

.sticky-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    background-color: white; /* Zmień na swój kolor */
}
  
body {
    padding-top: 70px; /* Dopasuj wartość do wysokości nagłówka */
}

h1 span,
h2 span{
    color:#ff9900;
}

p span{
    font-weight:600;
}

p{
    margin-top:0;
}

.e-n-accordion-item-title-icon span > svg{
    width:20px;
    height:20px;
}

.e-n-accordion-item-title-header{
    width:95%;
}

#e-n-accordion-item-1030 .e-n-accordion-item-title,
#e-n-accordion-item-1800 .e-n-accordion-item-title,
#e-n-accordion-item-3830 .e-n-accordion-item-title,
#e-n-accordion-item-1180 .e-n-accordion-item-title{
    border-top:0px;
}

/* 404 Page */

.button-primary {
    display: flex;
    align-items: center;
}

.button-primary a {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    line-height: 24px;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 7px;
    background-color: #FF9900;
    color:#fff;
    margin: 0 auto;
    text-decoration: none;
}

.page-404 p {
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    line-height: 22px;
    font-weight: 500;
    color:#2a2a2a;
    text-transform: uppercase;
    text-align:center;
    margin-bottom: 50px;
}

.page-404 .page-title {
    text-align: center;
    font-size: 70px;
    line-height: 80px;
}

/* Post Page */

.post-page-title {
    font-family: "FunnelDisplay-Bold", serif;
    font-weight:600;
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 20px;
    color: #2a2a2a;
}

.post-description {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    line-height: 18px;
}

.post-description img {
    margin: 40px 0;
}

.title {
    font-family: "FunnelDisplay-Bold", serif;
    font-size: 28px;
    line-height: 36px;
    margin-bottom:50px;
    color: #2a2a2a;
}

/* Blog Page */

.container {
    max-width: 1200px;
    margin: 50px auto 130px auto;
}

.container-blog {
    max-width: 1200px;
    margin: 80px auto 130px auto;
}

.container-blog h2.page-title {
    margin-bottom:80px;
}

.posts-grid {
    display: grid;
	grid-template-columns: repeat(3, 1fr);
    column-gap: 20px;
    row-gap: 80px; 
}

.pagination {
    margin: 100px 0 0 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 12px;
    color: #2a2a2a;
    border: 1px solid #2a2a2a;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-family: "Montserrat", sans-serif;
}

.pagination a:hover {
    background-color: #ffffff;
    color:#ff9900;
    border-color: #ff9900;
}

.pagination .current {
    background-color: #ff9900;
    color: #fff;
    border-color: #ff9900;
}

/* Page - Case study */

.case-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top:80px;
}

.case-item {
    display: flex;
    gap: 60px;
}

.case-thumbnail {
    flex-shrink: 0;
    width: 45%;
}

.case-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 30px;
}

.case-content{
    flex-grow: 1;
    padding-left:60px;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.navigation.pagination {
    margin-top:0;
}

.row-case .page-title {
    margin-bottom: 60px;
}

.heading-title {
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    line-height: 28px;
    color:#2a2a2a;
    font-weight: 500;
    margin-bottom:20px;
}

.case-description {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 22px;
    color: #2a2a2a;
}

/* Case study carousel */

body {
    overflow-x: hidden !important;
    margin:0 auto;
}

.case-study-carousel {
    position: relative;
    overflow: visible !important;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    flex: 0 0 auto;
    width: calc(100% - 40px); /* Szerokość slajdu */
}

.case-study-item {
    display: flex;
    flex-direction: row;
    gap: 70px;
    overflow: hidden;
}

.case-study-columns {
    display: flex;
    flex: 1;
    flex-direction: row;
    width: 100%;
}

.case-study-image {
    width: 45%;
    overflow: hidden;
    border-radius:30px;
}

.case-study-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.case-study-content {
    width: 55%;
    padding-left:70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.post-excerpt {
    font-family: "Montserrat", Sans-serif;
    font-size: 14px;
    line-height:20px;
    font-weight:400;
    margin-bottom: 10px;
    color: #2a2a2a;
}

.swiper-slide-prev .case-study-item{
    display:none;
}

/* Strzałki */

.carousel-navigation .swiper-button-next,
.carousel-navigation .swiper-button-prev {
    position: static;
    color: #000;
    cursor: pointer;
}

/* Usunięcie domyślnych pseudo-elementów */
.swiper-button-prev::after,
.swiper-button-next::after {
    display: none; /* Usunięcie domyślnego tekstu */
}

/* Logos Showcase */

@keyframes slide {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }
  
  .logos {
    overflow: hidden;
    padding: 15px 0;
    background: white;
    white-space: nowrap;
    position: relative;
  }
  
  .logos:before,
  .logos:after {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    content: "";
    z-index: 2;
  }
  
  .logos:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
  }
  
  .logos:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
  }
  
  .logos:hover .logos-slide {
    animation-play-state: paused;
  }
  
  .logos-slide {
    display: inline-block;
    animation: 30s slide infinite linear;
  }
  
  .logos-slide img {
    height: 70px;
    margin: 0 40px;
  }


/* Latest Posts / Archive page */

.latest-posts-carousel {
    overflow: hidden;
    position: relative;
}

.carousel-post {
    display: flex;
    flex-direction: column;
    align-items: left;
    overflow: hidden;
    text-align: left;
}

.post-content{
    padding:20px;
}

.post-image img {
    width: 100%;
    height: auto;
    border-radius: 30px;
}

.post-date {
    font-family: "Montserrat", Sans-serif;
    font-size: 12px;
    color: #2a2a2a;
}

.post-title {
    font-family: "FunnelDisplay-SemiBold", serif;
    font-weight:600;
    font-size: 18px;
    line-height:22px;
    margin-bottom: 20px;
    color: #2a2a2a;
}

.post-title a{
    font-family: "FunnelDisplay-SemiBold", serif;
    font-weight:600;
    font-size: 18px;
    line-height:22px;
    margin-bottom: 20px;
    color: #2a2a2a;
    text-decoration: none;
}

.post-button {
    font-family: "Montserrat", Sans-serif;
    font-size:14px;
    line-height:24px;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: #2a2a2a;
    text-decoration: none;
}

.post-button:hover {
    color:#ff9900;
}

.post-button .post-icon {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 10px;
    background-image: url('/wp-content/uploads/2024/12/arrow-r.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

/* Reviews carousel */

.reviews-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
}
.reviews-item {
    display: flex;
    flex-direction: row;
    gap: 0px;
    overflow: hidden;
}

.reviews-columns {
    display: flex;
    flex: 1;
    flex-direction: row;
    width: 100%;
    margin-left: 5px;
}

.reviews-image {
    width: 20%;
    overflow: hidden;
}

.reviews-image img{
    width: 120px;
}

.reviews-content {
    width: 80%;
    padding: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.reviews-title {
    font-family: "Montserrat", Sans-serif;
    font-weight:400;
    font-size: 16px;
    line-height:18px;
    color: #f9f9f9;
    margin:0 0 6px 0;
}

img.dark {
    display:none;
}

.offer img.dark {
    display:block;
}

.offer img.light {
    display:none;
}

.offer .reviews-title,
.offer .reviews-description {
    color: #2a2a2a;
}

.reviews-description {
    font-family: "Montserrat", Sans-serif;
    font-size: 20px;
    line-height:26px;
    font-weight:500;
    margin-bottom: 35px;
    color: #f9f9f9;
}

.swiper-button-next, 
.swiper-button-prev {
    width:100% !important;
}

/* Logos carousel */

.swiper-container {
    width: 100%;
    overflow: hidden;
}

.logos-carousel .swiper-wrapper {
    display: flex;
}

.logos-carousel .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logos-carousel .slide-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(3, auto);
    column-gap: 40px;
    row-gap: 50px; 
}

.logos-carousel .slide-item img {
    display: block;
    height: 70px;
    width: auto;
    margin: 0 auto;
    object-fit: contain;
}

.logos-carousel .slide-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
}

.logos-carousel .slide-item img {
    display: block;
    height: 70px;
    width: auto;
    margin: 0 auto;
    object-fit: contain;
}

.logos-carousel .slide-item:empty {
    visibility: hidden; /* Ukrywa puste elementy */
}

/* Contact form*/

label {
    font-family: "Montserrat", Sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
}

textarea, 
input[type="text"], 
input[type="email"], 
input[type="tel"], 
input[type="number"] {
    width: 100%;
    padding: 3px 15px;
    box-sizing: border-box;
    background-color: transparent;
    border-width: 0 0 1px 0 !important;
    border-color: #000 !important;
    border-style: solid !important;
    font-size:16px;
    line-height: 32px;
    color:#2a2a2a;
    font-family: "Montserrat", Sans-serif;
    margin-top:10px;
    border-radius: 0px !important;
}

input[type="submit"],
#surveyForm button {
    font-family: "Montserrat", Sans-serif;
    font-size: 14px;
    line-height: 24px;
    font-weight: 600;
    text-align:center;
    background-color: #fff;
    color: #ff9900;
    border: 2px solid #ff9900;
    border-radius:10px;
    padding: 10px 25px;
    cursor: pointer;
    display: block;
}

input[type="submit"]:hover,
#surveyForm button:hover {
    background-color: #ff9900;
    color: #fff;
}

.wpcf7-list-item-label{
    font-family: "Montserrat", Sans-serif;
    font-size:12px;
    line-height: 16px;
    font-weight: 400;
    color:#2a2a2a;
}

.wpcf7-list-item{
    margin:15px 0;
}

.form-list-item {
    margin-top: 40px;
}

.form-list-item .wpcf7-form-control.wpcf7-text {
    font-size: 12px !important;
    margin-top: -40px !important;
}

.form-list-item .wpcf7-list-item {
    display: block;
}

.wpcf7-not-valid-tip{
    font-family: "Montserrat", Sans-serif;
    font-size:14px;
    color: #FF4141;
    position: absolute;
    top:50px;
}

.wpcf7 form .wpcf7-response-output {
    border-width: 0 !important;
    border-radius: 0px;
    background-color: #b2d9c4;
    font-size: 14px;
    font-family: "Montserrat", sans-serif;
    margin: 0 0 30px 0;
    padding: 20px;
}

/* Ukrycie domyślnego checkboxa */
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none; /* Dla Safari */
    width: 14px; /* Szerokość kwadratu */
    height: 14px; /* Wysokość kwadratu */
    border: 1px solid #2a2a2a;
    border-radius:4px;
    background-color: transparent;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
}


/* Tło i ramka po najechaniu myszką */
input[type="checkbox"]:hover {
    border-color: #ff9900; /* Zmiana koloru ramki na hover */
    background-color: transparent; /* Delikatna zmiana tła */
}

/* Styl checkboxa po zaznaczeniu */
input[type="checkbox"]:checked {
    background-color:transparent; /* Tło dla zaznaczonego checkboxa */
    border-color: #ff9900; /* Ramka dla zaznaczonego checkboxa */
    color: white; /* Kolor (jeśli tekst jest widoczny wewnątrz) */
    position: relative;
}

/* Dodanie "ptaszka" po zaznaczeniu */
input[type="checkbox"]:checked::before {
    content: '✔'; /* Symbol ptaszka */
    display: block;
    text-align: center;
    color: #ff9900; /* Kolor ptaszka */
    font-size: 12px;
    line-height: 14px;
}

/* Ankieta */

fieldset {
    padding:30px;
    margin: 20px 0;
    border-radius: 20px;
}

legend {
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    color: #2a2a2a;
    font-weight: 500;
}

#surveyForm,
#response {
 display: block;
 margin: 0 auto;
 width: 100%;
}

#response {
    margin: 30px auto;
}

#response p {
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    line-height: 28px;
    color: #2a2a2a;
    font-weight: 600;
    padding: 30px 0;
}

#response a.button {
    font-family: "Montserrat", Sans-serif;
    font-size: 14px;
    line-height: 24px;
    font-weight: 600;
    text-align:center;
    background-color: #fff;
    color: #119B15;
    border: 2px solid #119B15;
    border-radius:10px;
    padding: 15px 25px;
    cursor: pointer;
    margin-top: 30px;
}

#response a.button:hover {
    background-color: #ff9900;
    border-color: #ff9900;
    color:#fff;
}

#surveyForm input[type="number"] {
    margin-top: 0;
}

/* Ukrycie domyślnego checkboxa */
#surveyForm input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none; /* Dla Safari */
    width: 18px; /* Szerokość kwadratu */
    height: 18px; /* Wysokość kwadratu */
    border: 1px solid #2a2a2a;
    border-radius:4px;
    background-color: transparent;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
}

.list label {
    display: block;
}

/* Dodanie "ptaszka" po zaznaczeniu */
#surveyForm input[type="checkbox"]:checked::before {
    content: '✔'; /* Symbol ptaszka */
    display: block;
    text-align: center;
    color: #ff9900; /* Kolor ptaszka */
    font-size: 14px;
    line-height: 16px;
}

#surveyForm label {
    font-size: 14px;
    line-height:22px;
}

.two {
    padding-right: 30px;
}

/* Responsywność */
@media (max-width: 1024px) {
    .container {
        margin-top:70px;
        margin-bottom: 75px;
        padding: 0 20px;
    }

    .container-blog {
        margin-bottom:75px;
        padding: 0 20px;
    }

    .row-70 {
        width: 100%;
    }

    .row-80 {
        width: 100%;
        margin-bottom: 30px;
    }

    .row-case {
        margin-bottom: 25px;
    }

    .column {
        width:100%;
        box-sizing: border-box;
    }

    .column .title {
        margin-top: 50px;
    }
    
    .column-left {
        padding-right: 0;
    }

    .column img {
        width:100%;
        height:auto;
        margin-top:30px;
    }

    .posts-grid {
        grid-template-columns: repeat(1, 1fr);
        row-gap: 50px;
    }

    .carousel-post {
        padding: 0px;
    }

    .case-study-content,
    .case-study-columns,
    .reviews-content,
    .reviews-columns {
        flex-direction: column;
    }

    .case-study-image,
    .case-study-content,
    .reviews-image,
    .reviews-content {
        width: 100% !important;
    }

    .case-study-carousel {
        overflow: hidden !important;
    }

    .case-study-content {
        padding-left:10px;   
    }

    .carousel-post .post-content {
        padding:20px 0px 20px 10px;
    }

    .reviews-image {
        width: 100%;
        overflow: hidden;
        margin-bottom:30px;
    }
    
    .reviews-image img {
        width: 100px;
    }

    .reviews-description {
        font-size: 16px;
        line-height:22px;
    }

    .case-item{
        display: block;
        margin-bottom: 30px;
    }

    .case-thumbnail {
        width:100%;
    }

    .case-content {
        padding-left:0;
    }

    .container-blog .pagination {
        margin-top: 20px;
    }

    .pagination {
        margin: 0;
    }

    .container-blog h2.page-title {
        margin-bottom: 40px;
    }

    .title.solution{
        margin-top:50px;
    }

    .contact {
        margin-top: 0;
    }

    .contact-form {
        padding:30px 30px 0 30px;
        margin-top: 50px;
    }

    .contact-form .title {
        margin-top: 0;
    }

    .logos-carousel .slide-grid {
        grid-template-columns: repeat(3, 1fr);
        column-gap: 20px;
        margin-right:20px;
    }

    .logos:before,
    .logos:after {
        width: 30px;
    }
    
    .logos-slide img {
        height: 50px;
        margin: 0 20px;
        max-width: inherit !important;
    }

    #surveyForm,
    #response {
        width: 85%;
    }

    #surveyForm label {
        display: block;
    }
}
