/*
Theme Name: Aequity Child
Theme URI: http://themeforest.net/user/themexshaper/portfolio/
Author: themexshaper
Author URI: http://themeforest.net/user/themexshaper
Description: Aequity – Consulting Business WordPress Theme
Template:	aequity
Version: 1.1
Text Domain: aequity-child
*/

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&display=swap');

/* global */
.theme-btn {
	border: none;
	border-radius: 0px;
}

.btn {
	background: #fff500;
	color: #000000;
    padding: 8px 25px;
    border-radius: 0px;
}

.txt-white,
.txt-white a {
	color: #ffffff !important;
}

.text-left {
	text-align: left;
}

.text-right {
	text-align: right;
}

.back-to-top i {
	color: #000000;
}

.contact-widget li span {
    color: #003F87;
    font-weight: 600;
}

.elementor-widget-text-editor a {
	text-decoration: underline !important;
}

.elementor-widget-text-editor ul {
	margin-bottom: 1.5em;
}


/* header */
.topbar .social {
	margin-top: 12px;
}

nav.sticky-header.sticky-on {
  display: none !important;
}

/* footer */
.tmx-site-footer .about-widget p {
    font-size: 15px;
    line-height: 1.5em;
    max-width: 450px !important;
}

.tmx-site-footer li {
    color: #fff500;
}

/* about-text */
.about-text .btn {
    margin-bottom: 5px;
}

/* historia wydarzen */
.lista-wydarzen .wydarzenie {
	padding: 20px 40px 30px;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #ffffff;
}

.lista-wydarzen .wydarzenie:hover {
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
}

.lista-wydarzen .wydarzenie > div:first-child {
    background-image: url(assets/img/piksel-granat.png);
    background-repeat: repeat-y;
    background-position: center;
}

.lista-wydarzen .wydarzenie .meta {
    background: #003F87;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 30px;
}

.lista-wydarzen .wydarzenie .meta .miesiac {
    font-size: 22px;
    font-weight: 600;
    display: block;
    color: #fff500;
}

.lista-wydarzen .wydarzenie .meta .rok {
    font-size: 30px;
    font-weight: 300;
}

.lista-wydarzen .wydarzenie .tresc {
    padding-left: 60px;
    padding-top: 20px;
}

.lista-wydarzen .wydarzenie .tytul h3 {
    font-size: 24px;
    line-height: 30px;
    margin-top: 0px;
}

/* lista wpisow */
.lista-wpisow .wpis {
    padding: 30px 40px 40px;
    margin-top: 40px;
    margin-bottom: 40px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.05);
    border-left: 2px solid #003F87;
}

.lista-wpisow .wpis:hover {
    border-left: 2px solid #0057B7;
}

.lista-wpisow .wpis h3:hover a {
    color: #003F87;
}

.lista-wpisow .wpis h3 {
    font-family: "Lato", sans-serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 34px;
}


.lista-wpisow .wpis .wiecej {
    font-size: 28px;
    color: #003F87;
    position: absolute;
    right: 0px;
    bottom: -10px;
}

.lista-wpisow .wpis .wiecej:hover {
    color: #0057B7;
}

.lista_firm .firma {
    flex:1 1 calc(33.333% - 20px); 
    box-shadow:0 2px 6px rgba(0,0,0,0.1); 
    padding:20px; 
    border-radius:8px; 
    max-width: calc(33.333% - 15px);
}

.lista_firm .firma h4 {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f1f1;
    line-height: normal;
}

.lista_firm .firma h4:hover a {
    color: #003F87;
}

.lista_firm .firma span {
    font-size: 14px;
    font-weight: 400;
    margin-left: 8px;
    color: #6a6a6a;
}

/* loga firm */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  animation: scroll 25s linear infinite;
}

.carousel-track a {
  flex: 0 0 15%; 
  max-width: 15%;
  display: block;
  text-decoration: none;
}

.carousel-track img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* przyciski */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: hsl(0deg 0% 100% / 60%);
  color: #000;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 1.5rem;
  border-radius: 50%;
  z-index: 10;
}

.carousel-btn.prev { left: 0px; }
.carousel-btn.next { right: 0px; }

/* responsywność */
@media (max-width: 1024px) {
  .carousel-track a {
    flex: 0 0 33.33%; /* 3 logo */
    max-width: 33.33%;
  }
}
@media (max-width: 600px) {
  .carousel-track a {
    flex: 0 0 50%; /* 2 logo */
    max-width: 50%;
  }
}

/* single firma */
.single-firma .linki {
    font-size: 15px;
    list-style: none;
    padding: 0px;
}

.single-firma .linki a {
    /*text-decoration: underline;*/
}

.single-firma .linki li {
    display: inline-block;
    line-height: 3em !important;
}

.single-firma .linki li a i {
    margin: 10px;
    background: #fff500;
    border-radius: 20px;
    padding: 8px;
    height: 31px;
    width: 31px;
    display: inline-block;
}

.single-firma .linki .ti-tiktok:before {
    content: "";
    display: inline-block;
    background-image: url(assets/img/tik-tok.png);
    width: 15px;
    height: 15px;
    background-position: center;
    background-size: 100%;
}

.single-firma .contact-pg-section .contact-info .icon {
    background: #000000;
}

.page-pagination-wrap {
    clear: both;
}

.contact-area a {
    color: #fff;
}

.contact-area a:hover {
    color: #fff500;
}

.wpcf7 form.sent .wpcf7-response-output {
    text-align: center;
    font-size: 20px;
}

@media screen and (max-width: 900px) {

    .lista_firm .firma {
        flex:1 1 calc(50% - 20px); 
        max-width: calc(50% - 15px);
    }
}

@media only screen and (max-width: 768px) { 

    .tmx-site-header #navbar>ul>li>a {
        color: #ffffff !important;
    }

    .tmx-site-header #navbar>ul>li>a:before {
        background-color: #000000 !important;
    }

    .tmx-site-header #navbar>ul>li>.sub-menu a {
        color: #ffffff !important;
        background-color: #3c3c3c;
        font-size: 14px;
    }

    .mobile-btn {
        display: none !important;
    }

    .lista_firm .firma {
        flex:1 1 100%; 
        max-width: 100%;
    }

}

/* simple popup  */
.simple-image-popup-plugin__inner {
    padding: 0px;
    background: #000;
}

#simple-image-popup-plugin__close {
    height: 40px;
    width: 40px;
    background: #000000;
    fill: #fff204;
}

.simple-image-popup-plugin__icon {
    width: 20px;
    height: 20px;
}

