/*
Theme Name: Web Theme
Theme URI: https://www.speedyweb.pl/strona-internetowa-wordpress/
Author: Speedyweb
Author URI: https://www.speedyweb.pl/
Description: The 2013 theme for WordPress takes us back to the blog, featuring a full range of post formats, each displayed beautifully in their own unique way. Design details abound, starting with a vibrant color scheme and matching header images, beautiful typography and icons, and a flexible layout that looks great on any device, big or small.
Version: 1.0
Text Domain: speedyweb
Domain Path: /languages

*/

.consultation-button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    background-color: var(--color-primary); /* Możesz dostosować kolor tła */
    color: #fff; /* Kolor tekstu */
    text-decoration: none; /* Usuwamy domyślne podkreślenie dla linków */
    white-space: nowrap; /* Zapobiega przerywaniu tekstu na więcej niż jedną linię */
    line-height: 1; /* Zapobiega dodatkowemu pustemu miejscu między wierszami */
	font-weight: 700;
	font-family: var(--font-family-headline);
	font-size: 14px; /* Zmniejszamy wielkość tekstu */
}
.consultation-button:hover  {
    background-color: var(--color-secondary); /* Możesz dostosować kolor tła */
    color: #fff; /* Kolor tekstu */
   
}

@media (max-width: 768px) {
    .consultation-button {
        display: inline-block;
    	padding: 10px 18px;
    	text-decoration: none; /* Usuwamy domyślne podkreślenie dla linków */
    	white-space: nowrap; /* Zapobiega przerywaniu tekstu na więcej niż jedną linię */
    	line-height: 1; /* Zapobiega dodatkowemu pustemu miejscu między wierszami */
		font-weight: 400;
		font-family: var(--font-family-headline);
		font-size: 12px; /* Zmniejszamy wielkość tekstu */
    }
}

.footer-top {
    background-color: #f9f9f9;
    padding: 20px 0;
}

.footer-columns {
    display: grid; /* Ustawienie siatki CSS */
    grid-template-columns: 100%; /* Jeden kolumna na małych ekranach */
    gap: 1.5%; /* Odstęp między kolumnami */
}

.footer-column {
    margin-bottom: 20px;
}

.contact-info h3 {
    margin-top: 0;
}

.seo-city {
    display: grid; /* Ustawienie siatki CSS dla elementu seo-city */
    grid-template-columns: 50% 50%; /* Dwukolumnowy układ */
    gap: 10px; /* Odstęp między elementami */
}

.map iframe {
    width: 100%;
    height: 368px;
}

.copyright {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}

.container {
    width: 100%;
    max-width: 1200px; /* Maksymalna szerokość kontenera */
    margin: 0 auto; /* Wyśrodkowanie kontenera */
    padding: 0 20px; /* Odstęp wewnątrz kontenera */
}

/* Zapytanie media dla małych ekranów */
@media screen and (min-width: 768px) {
    .footer-columns {
        grid-template-columns: 30% 70%; /* Trzy kolumny na większych ekranach */
    }
}

/* Zapytanie media dla małych ekranów */
@media screen and (max-width: 767px) {
    .footer-columns {
        justify-content: center; /* Wyśrodkowanie elementów tylko dla wersji mobilnej */
    }
	.footer-column {
	    text-align: center; /* Wyśrodkowanie tekstu */
}	
}

/* WEBskie  */

.d_none {
	display: none!important;
}
img {
	border-radius: var(--border-radius);
}
.text_justify {
  	text-align: justify;
}
.page p {
	text-align: justify;
}
.page .cta-content p {
	text-align: center;
}

/* SUBPAGES  */

.media_text_first .wp-block-media-text__content {
	padding: 0 0 0 10%;
}
.media_text_second .wp-block-media-text__content {
	padding: 0 10% 0 0;
}
@media (max-width: 600px) {
	.media_text_first .wp-block-media-text__content {
		margin-top: 25px;
		padding: 0;
	}
	.media_text_second .wp-block-media-text__content {
		margin-top: 25px;
		padding: 0;
	}
	.home_main_info .wp-block-media-text__content {
		padding: 0;
	}
	.home_main_info .wp-block-uagb-icon-list {
		margin-top: 20px;
	}
}

/* FAQ  */
.rank-math-list-item {
	padding: 0 40px 30px;
}
@media (max-width: 768px) {
	.rank-math-list-item {
		padding: 0 20px 20px;
	}
}

/* HOMES TABLE  */

.homes_table {
  width: 100%;
  border-collapse: collapse;
}

.homes_table thead th {
  background-color: var(--color-primary);
  color: white;
  padding: 12px;
  text-align: left;
  font-weight: bold;
}

.homes_table tbody td {
  padding: 12px;
	text-align: center;
	text-wrap: nowrap;
  border-bottom: 1px solid #ccc;
}

.homes_table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.homes_table .link {
  color: var(--color-primary);
  font-weight: bold;
  text-decoration: none;
}

.homes_table .link:hover {
  color: var(--color-secondary);
}

@media (max-width: 970px) {
	.homes_table_wrapper {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
  	}
  	.homes_table {
		width: 100%;
		display: block;
  	}
}

/* OFFER PAGE  */

.offers_container .uagb-container-inner-blocks-wrap {
	column-gap: 40px!important;
/* 	column-gap: 40px; */
}
.offers_container .wp-block-uagb-info-box:hover img {
	transform: scale(1.2);
	transform-origin: center center;
}
.offers_container .wp-block-uagb-info-box:hover h2 {
	color: var(--color-primary);
}
.offers_container .uagb-ifb-image-content {
	overflow: hidden;
	border-radius: 10px;
}
.offers_container .wp-block-uagb-info-box .uagb-ifb-image-content img {
	transition: transform 0.3s;
}


/* SINGLE OFFER SUBPAGE  */

.uagb-block-9314cafd .spectra-image-gallery__layout--grid {
	grid-gap: 40px;
}
@media (max-width: 767px) {
  .wp-singular .offer_gallery {
    padding: 0 25px;
  }
  .uagb-block-9314cafd .spectra-image-gallery__layout--grid {
    grid-gap: 20px;
  }
}

@media (max-width: 399px) {
  .wp-singular .offer_gallery {
    padding: 0;
  }
}

/* CONTACT subpage  */

.cf7-flex-fields {
  display: flex;
  flex-wrap: wrap;
  column-gap: 20px;
}

.cf7-flex-fields .cf7-field {
  flex: 1;
  min-width: 200px;
}

@media (max-width: 767px) {
  .cf7-flex-fields {
    flex-direction: column;
  }
}

/* FOOTER  */
/* 
footer .social-icons {
	margin-top: 10px;
	margin-left: -4px;
  display: flex;
  gap: 10px;
  align-items: center;
}

footer .social-icons a svg {
  width: 24px;
  height: 24px;
  display: block;
  transition: fill 0.3s;
	fill: #fff;
}

footer .social-icons a:hover svg {
  	fill: #000;
} */

.social-icons {
	margin-top: 10px;
	margin-left: -4px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.social-icons a svg {
  width: 24px;
  height: 24px;
  display: block;
  transition: fill 0.3s;
	fill: #fff;
}

.social-icons a:hover svg {
  	fill: #000;
}

header .social-icons {
	margin-top: 0px;
	margin-left: 15px;
}
header .social-icons a svg {
	fill: var(--color-text);
}
header .social-icons a:hover svg {
  	fill: var(--color-primary);
}
@media (max-width: 430px) {
	header .social-icons {
		display: none;
	}
}

/* CUSTOM new  */

.download_button {
	display: flex;
	width: auto!important;
	padding: 16px 30px;
	font-size: 18px;
}
.down_butt {
	color: var(--color-text);
}
.dis_flex {
	display: flex;
	flex-direction: column;
	font-weight: 700;
}
.down_butt:hover {
	color: var(--color-primary);
}