/**
Theme Name: DIM Theme
Author: Brainstorm Force
Author URI: Ela Krolikowska
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dim-theme
Template: blankslate
*/


html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, menu, nav, output, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
}

@font-face {
  font-family: "Regular";
  src: url("/wp-content/fonts/MyriadPro-Regular.otf");
}

@font-face {
  font-family: "Semibold";
  src: url("/wp-content/fonts/MyriadPro-Semibold.otf");
}

@font-face {
  font-family: "Bold";
  src: url("/wp-content/fonts/MyriadPro-Bold.otf");
}

@font-face {
  font-family: "Italic";
  src: url("/wp-content/fonts/MyriadPro-It.otf");
}

.cytat{

  background-color: #ededed;
  padding: 20px;
}


.cytat p{
font-family: "Italic", sans-serif !important;
  font-size: 18px;
  color: #888;
line-height: 24px !important;
}

.cytat > footer{
	text-align: right;
}

.nav>li:last-child a {
padding-right: 22px;
}

body b{
	font-family: "Semibold", sans-serif !important;
}

.projekty-top{
	margin-top: 60px !important;
}

body li{
	font-family: "Regular", sans-serif !important;
	line-height: 150%;
}

.comments-title{
	font-size: 13px;
}

.comment-body p{
	margin: 30px 0;
}
.comment-body{
	border-top: 1px solid #ebebeb;
	padding: 30px 0;
}

.comment-author a{
	list-style: none;
	color: #000;
}

.blog, .info{
	font-family: "Regular", sans-serif !important;
	font-size: 16px;
	line-height: 140%;
}

.blog strong, .info strong{
	font-family: "Semibold", sans-serif !important;
}

.info{
	color: #555555;
}

.info p, .info .wp-block-list{
	line-height: 150%;
	font-size: 17px;
}

.info > .entry-content{
	max-width: 900px !important;
}

body em{
	font-family: "Italic", sans-serif !important;
}

.info h1{
	font-size: 44px;
}

.publikacje-con h1{
	font-size: 44px;
	margin-bottom: 20px;
}

.publikacje-con p{
	line-height: 150%;
	margin-top: 30px;
}

.info h2{
	font-size: 22px;
	margin-bottom: 20px;
	margin-top: 40px;
}

.post-item {
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 1;
  transform: translateY(0);
  position: relative;
}

.post-item.fade-out {
  opacity: 0;
  transform: translateY(20px);
  position: absolute;
  pointer-events: none;
}

.footer-list {
	list-style: none;
}

.height-400{
	    max-height: 400px;
    width: auto;
}

.post-item.hidden {
  display: none;
  position: relative;
}

.float-img{
	float: left;
	padding-right: 20px;
	padding-bottom: 10px;
}

.post-item.fade-in {
  animation: fadeSlideIn 1s ease;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
	
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



button {
border: none;
outline: none;
margin: 0;
padding: 0;
width: auto;
overflow: visible;

background: transparent;

/* inherit font & color from ancestor */
color: inherit;
font: inherit;

/* Normalize line-height. Cannot be changed from normal in Firefox 4+. */
line-height: normal;

/* Corrects font smoothing for webkit */
-webkit-font-smoothing: inherit;
-moz-osx-font-smoothing: inherit;

/* Corrects inability to style clickable input types in iOS */
-webkit-appearance: none;
}
button {
border: 0;
padding: 0;
}
button:focus {
outline: none;
}
button:focus:not(:focus-visible) {
outline: none;
}
button:focus:not(:-moz-focusring) {
outline: none;
}

#tag-filter .active{
	background-color: #555555;
}

#tag-filter button{
	background-color: #ff8550;
	font-family: "Regular", sans-serif !important;
	font-size: 15px;
	line-height: 15px;
	color: white;
	padding: 14px 20px 11px 20px;
	text-transform: uppercase;
	letter-spacing: 0.7px;	
	box-sizing: border-box;
	margin: 0;	
}

#tag-filter button:hover{
	background-color: #000;
}

#tag-filter{
	margin-bottom: 40px;	
}
#tag-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem; /* lub 0 jeśli chcesz je skleić na sztywno */
	justify-content: end;

}

body a{
	    color: #ff8500;
}

a:hover{
	color: #ff8500;
}

.pagination{
	margin-top: 60px;
}

.owl-carousel .owl-dots .owl-dot{
	border-radius: 0px !important;
}

.swiper-pagination-bullet{
	border-radius: 0 !important;
}
.elementor-element.elementor-pagination-position-outside .swiper {
  padding-bottom: 60px !important;
}

.swiper-wrapper{
	align-items: center;
}

.fancybox__content{
	padding: 20px !important;
}

.txt-img-box{
	opacity: 0;
}

.white-btn{
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	letter-spacing: -0.2px
}

.white-btn:hover{
	color: #555;
}

.blok-tekstu {
	display: flex;
}

.sekcja-dwa-teksty{
	margin-bottom: 40px;
}

.publikacje .entry-content{
	max-width: 1000px;
}

.blok-tekstu span, .pagination{
	font-family: "Regular", sans-serif !important;
	font-size: 15px;
	line-height: 24px;
}

.blok-tekstu .first-txt{
	display: inline-block;
	min-width: 140px;
}

.projekty .blog_img_kontener{
	margin-bottom: 0;
}

.projekty .blok-tekstu span{
	font-size: 14px;
	line-height: 19px;
}

.projekty h3{
	margin-top: 0 !important;
	margin-bottom: 10px !important;
}

.projekty .sekcja-dwa-teksty{
	margin-bottom: 0;
}

.projekty .sekcja_jeden_tekst{
/* 	border-left: 1px solid #E6E6E6; */
	padding-right: 20px;
}

.projekty .sekcja_jeden_tekst{
	padding-left: 20px;
}

.projekty{
/* 	margin-bottom: 60px; */
}



.techniczne{
	
}

.sekcja_jeden_tekst .first-txt{
	width: auto;
}

.sekcja-dwa-teksty, .sekcja_jeden_tekst{
	max-width: 100%;
}

.techniczne{
/* 	background-color: #fff; */
}

.sekcja-dwa-teksty, .sekcja_jeden_tekst{
	background-color: #fff;
	padding: 20px;
}


.blog_img_kontener{
	max-height: 342px;
	overflow: hidden;
	display: block;
	margin-bottom: 60px;
	display: flex;
    align-items: center;
	padding-top: 80px;
}

.blog_img_kontener img{
	width: 100%;
	height: auto;
}



.txt-img-box:hover{
	opacity: 1;
}

.owl-carousel .owl-dots {
  text-align: center;
  margin-top: -60px;
  z-index: 5;
  position: relative;
}

img{
	filter: grayscale(20%);
}

.sina-pf-item-22, .sina-pf-item-3 {
    width: 50%;
    height: 600px;
}

.sina-portfolio-grid{
	    position: relative;
    height: 600px;
}

.sina-pf-item-11, .sina-pf-item-6{

}

.max-size{
	max-width: 1370px;
	margin: 0 auto;
}

.flex-container {
  display: flex;
justify-content: space-between;
	flex-wrap: wrap;
}


.footer .flex-container {
	gap: 40px;

}

.flex-container div{
	 flex-grow: 1;
}

.flex-container .grow2{
	flex-grow: 2;
}


.flex-container .grow3{
	flex-grow: 3;
}



h1, h2, h3, h4, h5, h6, .blog h1,  .blog h2,  .blog h3,  .blog h4,  .blog h5,  .blog h6 {
font-family: "Regular", sans-serif !important;
/* font-weight: 500 !important; */
}

body p, .elementor-button{
font-family: "Regular", sans-serif !important;
/* font-weight: 500 !important; */
}

.breadcrumb {
	font-family: "Regular", sans-serif !important;
	font-size: 13px;
    padding: 8px 15px;
    margin-bottom: 20px;
    list-style: none;
    background-color: #f5f5f5;
}
.breadcrumb a {
    color: #ff8500;
    text-decoration: none;
}

.footer{
font-family: "Regular", sans-serif !important;
/* font-weight: 400 !important; */
font-size: 15px;
line-height: 140%;
color: #fff;
}


.footer a{
	display: block;
	color: #fff;
	text-decoration: none;
	padding: 5px 0;
}

.footer a:hover{
	color: #ff8500;
}

.footer-last a{
	display: inline-block;
}

.footer h4{
	font-family: "Regular", sans-serif !important;
font-weight: 400 !important;
	font-size: 22px;
}



#copyright, .light-foot{
	opacity: 0.5;
	font-size: 13px;
}

article > a:hover{
	opacity: 0.5;
	transform: scale(1.05);
}

article > a > img:hover{
	transform: scale(1.05);
}


.right-border{
	border-right: 1px solid #6F6F6F;
}

.bottom-border{
	border-bottom: 1px solid #6F6F6F;
}



.m-bottom-10{
	margin-bottom: 10px;
}

.m-bottom-20{
	margin-bottom: 20px;
}

.m-bottom-30{
	margin-bottom: 30px;
}

.m-bottom-40{
	margin-bottom: 40px;
}

.m-bottom-50{
	margin-bottom: 50px;
}
.m-bottom-60{
	margin-bottom: 60px;
}



.p-bottom-10{
	padding-bottom: 10px;
}

.p-bottom-20{
	padding-bottom: 20px;
}

.p-bottom-30{
	padding-bottom: 30px;
}

.p-bottom-40{
	padding-bottom: 40px;
}

.p-bottom-50{
	padding-bottom: 50px;
}
.p-bottom-60{
	padding-bottom: 60px;
}



.p-top-10{
	padding-top: 10px;
}

.p-top-20{
	padding-top: 20px;
}

.p-top-30{
	padding-top: 30px;
}

.p-top-40{
	padding-top: 40px;
}

.p-top-50{
	padding-top: 50px;
}
.p-top-60{
	padding-top: 60px;
}




.p-left-10{
	padding-left: 10px;
}

.p-left-20{
	padding-left: 20px;
}

.p-left-30{
	padding-left: 30px;
}

.p-left-40{
	padding-left: 40px;
}

.p-left-50{
	padding-left: 50px;
}
.p-left-60{
	padding-left: 60px;
}





.p-right-10{
	padding-right: 10px;
}

.p-right-20{
	padding-right: 20px;
}

.p-right-30{
	padding-right: 30px;
}

.p-right-40{
	padding-right: 40px;
}

.p-right-50{
	padding-right: 50px;
}
.p-right-60{
	padding-right: 60px;
}



.t-right{
	text-align: right;
}
.t-left{
	text-align: right;
}


*{
	transition: all 0.2s;
	box-sizing: border-box;
}

body{
	padding: 0;
	margin: 0;
	background-color: #FBFBFB;
}

.banner-claim h1, .banner-claim h2, .banner-claim h3, .banner-claim h4, .banner-claim h5, .banner-claim h6, .banner-claim p{
	max-width: 550px;
	margin: 0 auto;
}
#header{
	position: absolute;
  top: 0;
	z-index: 2;
	width: 100%;
}

#header {
	z-index: 100; 
	  background-color: rgba(85, 85, 85, 0.9) !important;
}
  .page-id-2 #header {
	  background-color: rgba(85, 85, 85, 0);
}

#header.scrolled {
  padding: 5px; /* Example: Make it smaller */
  background-color: rgba(85, 85, 85, 0.9); /* Example: Make it darker */
	position: sticky;
}

#header.scrolled .menu li a{
	color: white;
}
.menu__list .current-menu-item > a, .menu__list .current_page_item > a {
    color: #FF8500 !important;
}


.menu li{
	margin-bottom: 12px
}

.fancybox__slide:not(.is-selected) .fancybox__content {
  opacity: 0 !important;
  transform: translateX(100vw);
  pointer-events: none;
  transition: none !important;
}

.fancybox__slide.is-selected .fancybox__content {
  opacity: 1 !important;
  transform: translateX(0);
}


.footer{
	background-color: #555555;
	padding: 120px 0;
}

#blog-container p{

}

.arch-content{
	text-align: center;
	padding: 20px 0 100px 0;
	background-color: #fff;	
	color: #555;
}

#arch-content .footer-set {
	display: flex;
	max-width: 908px;
	margin: 0 auto;
	justify-content: space-between;
	gap: 20px;
}


#arch-content .footer-set .footer-box{
	display: flex;
}

.footer-box div{
	flex-grow: 1;
}

.footer-box .box-txt{
	width: 150px;
}


.footer-box{
	display: flex;
	text-align: left;
	gap: 20px;
}

.footer-box h4{
	color: #555;
	text-decoration: none;
	max-width: 180px;
}

.footer-set a{
	text-decoration: none !important;
}

.footer-set a:hover{
	opacity: 0.5;
}

.footer-set .no-btn{
	font-size: 14px;
	line-height: 18px;
	letter-spacing: -0.3px;
	color: #000;
	margin-top: 10px;
}

.blog p{
	line-height: 22px;
}

.blog h3, #arch-content h3{
	font-family: "Regular", sans-serif !important;
	font-size: 20px;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-top: 68px;
	margin-bottom: 20px;
}

#arch-content h3{

	margin-bottom: 40px;
}


.blog .blog-galeria li{
	list-style: none;
	display: inline-block;
}

.blog .blog-galeria{
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
	justify-content: space-between;
	justify-content: flex-start;
}

.blog .wp-block-group{
	margin-top: 60px;
}

.blog-content {
	margin-bottom: 64px;
}

.blog-content p{
	margin-bottom: 20px;
}

.archive-container{
	max-width: 1200px;
	margin: 0 auto;
	color: #555555;
	margin-top: 150px;
	margin-bottom: 150px;
}


#blog-content{
	max-width: 908px;
	margin: 0 auto;
	color: #555555;
}

.blog h1, .archive-container h1{
	font-size: 40px;
    text-transform: uppercase;
    line-height: 54px;
    letter-spacing: 3px;
	margin-bottom: 30px;
}

.publikacje h1{
	font-size: 40px;
    text-transform: uppercase;
    line-height: 54px;
    letter-spacing: 3px;
	margin-bottom: 5px;
}

.blog .entry-content{
	max-width: 678px;
	margin: 0 auto;
}

.blog .tagi{
	font-family: "Regular", sans-serif !important;
	font-weight: 400 !important;
	font-size: 15px;
	color: #ff8500;
	margin-bottom: 30px;
}

.archive-a{
/* 	width: 300px;
	height: 300px;
	display: inline-block;
	background-color: #555;
	margin-bottom: 20px; */
}

.tag-list{
	font-family: "Regular", sans-serif !important;
	font-weight: 400 !important;
	font-size: 15px;
	color: #ff8500;
	margin-bottom: 10px;
}
.tag-list li{
	list-style: none;
	display: inline-block;
}

.blog .tagi a, .tag-list a{
	color: #ff8500;
}


.archive-container h2{
	font-size: 20px;
    text-transform: uppercase;
    line-height: 30px;
    letter-spacing: 1px;
}


.blog, .publikacje-con{
	margin: 100px 0;
}

.post-data{
	font-family: "Regular", sans-serif !important;
	font-weight: 400 !important;
	font-size: 13px;
	color: #B8B8B8;
	margin-bottom: 5px;
}

.menu{
	 margin-top: 10px;
}

.menu li{
	display: inline-block;
}

.menu li a{
	text-decoration: none;
	color: #fff;
	font-family: "Regular";
	font-size: 17px;
	text-transform: uppercase;
	padding: 0 18px;
	letter-spacing: 1px;
}

.hamburger .menu li a{
	font-size: 20px;
}

  .page-id-2 .menu li a { /* Styles for the header on page 123 */
      color: white;
    }



.menu li a:hover{
	color: #FF8500;
}

.menu__list .current-menu-item > a,
.menu__list .current_page_item > a {
	color: #FF8500;
}


/* --- Hamburger (ukryty domyślnie) --- */
.hamburger {
	display: none;
	width: 40px;
	height: 40px;
	background: transparent;
	border: none;
	cursor: pointer;
	position: relative;
	z-index: 110;
	background-color: #555 !important;
}

.hamburger-box, .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after{
	background: #FF8500 !important;
	background-color: #FF8500 !important;
}

.hamburger{
	 position: absolute;
    right: 6px;
	top: 6px;
	    padding: 0px !important;
}

.hamburger-box,
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	width: 24px;
	height: 2px;
	background: #222;
	transition: 0.3s ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
	content: '';
	position: absolute;
	width: 24px;
	height: 2px;
	background: #222;
}

.hamburger-inner::before {
	top: -7px;
}
.hamburger-inner::after {
	top: 7px;
}

.hamburger.is-active .hamburger-inner {
	background: transparent;
}
.hamburger.is-active .hamburger-inner::before {
	transform: rotate(45deg);
	top: 0;
}
.hamburger.is-active .hamburger-inner::after {
	transform: rotate(-45deg);
	top: 0;
}

.size-single-post-gallery-prev-big, .size-single-post-thumbnail{
	 box-shadow: 0 0 30px rgba(0,0,0,0.05);
}


.posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
}

.posts-grid article {
    transition: box-shadow 0.3s ease;
}

.posts-grid img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 1rem;
}




/* --- Mobile styles (poniżej 1100px) --- */
@media (max-width: 1100px) {
	.hamburger {
		display: block;
	}

	.menu {
		position: fixed;
		top: 0;
		right: 0;
		width: 100%;
/* 		max-width: 320px; */
		height: 100vh;
		background: #555;
		transform: translateX(100%);
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		padding-top: 4rem;
		padding-left: 2rem;
		transition: transform 0.3s ease;
		box-shadow: -4px 0 12px rgba(0,0,0,.1);
		z-index: 100;
		overflow-y: hidden;
	}

	.menu__list {
		flex-direction: column;
		width: 100%;
		display: flex;

	}

	.menu__list li a {
		padding: 1rem 0;
		width: 100%;
	}

	.menu.is-open {
		transform: translateX(0);
	}
	
	.archive-container, .blog, #arch-content{
		padding: 0 20px;
	}
	
	.footer-box {
		flex-direction: column;
	}
	
	.footer-box {
		gap: 15px;
	}
	
	.footer-box h4 {
		max-width: 123px;
	}
}

@media (max-width: 1370px) { 
	.max-size{
		padding: 0 24px;
	}
}



@media (max-width: 992px) { 
	.right-border {
    border-right: 0px solid #6F6F6F;
	border-bottom: 1px solid #6F6F6F;
	}
	.footer .t-right{
		text-align: left;
	}
	
	.blog_img_kontener img{
		width: 100%;
		height: auto;
	}
	.footer-box .box-txt{
		width: auto;
	}
	.items{
		margin-bottom: 20px;
	}
	.p-right-20{
		padding-right: 0;
	}
	
	#arch-content .footer-set{
	justify-content: space-around;
	}
	
	.info{
		padding: 40px;
	}

}


@media (max-width: 768px) {
  .posts-grid {
    grid-template-columns: 1fr;
  }
	
	.blog h1, .archive-container h1 {
		font-size: 28px;
		line-height: 42px;
	}
	
	.blog .blog-galeria{
		gap: 5px;
	}
	
	.blog .blog-galeria li{
		width: min-content;
	}
	
	.blog .blog-galeria img{
		max-width: 90px;
	}
	
	#arch-content .footer-set{
		flex-direction: column;
		align-items: center;	
	}
	
.blog .blog-galeria li{

	flex: 0 30%;
	  min-width: 100px;
	  padding-left: 10px;
	  margin-bottom: 10px;
	}
	
	.blog_img_kontener {
		padding-top: 0px;
	}
}

