/*
 * /**
 * Theme Name: Motyw Dominik Boligłowa
 * Template:   astra
 * ...other header fields
 */
h1 { font-size: 3.81rem !important; } h2 { font-size: 3rem !important; } h3 { font-size: 2.25rem !important; } h4 { font-size: 1.75rem !important; } h5 { font-size: 1.25rem !important; } h6 { font-size: 1rem !important; }

@media (max-width: 1024px) {
  h1 { font-size: 3rem !important; } h2 { font-size: 2.5rem !important; } h3 { font-size: 2rem !important; } h4 { font-size: 1.5rem !important; } h5 { font-size: 1.125rem !important; } h6 { font-size: 1rem !important; }
}

@media (max-width: 768px) {
  h1 { font-size: 2.25rem !important; } h2 { font-size: 1.75rem !important; } h3 { font-size: 1.5rem !important; } h4 { font-size: 1.25rem !important; } h5 { font-size: 1rem !important; } h6 { font-size: 1rem !important; }
}

header{
	position:sticky !important;
	top:0;
}
.video{
	width:100%;
	height:auto;
	min-height:300px;
}
@media screen and (max-width:758px){
	.video{
		min-height:0;
	}
}
.italic{
	font-style:italic;
}
.sub-menu{
	backdrop-filter:blur(50px);
}
.sub-menu{
	background-color:rgba(250,250,250,0.9) !important;
}
.page-id-37 #primary, .page-id-572 #primary{
	margin-top:0 !important;
}
/*
body:not(.page-id-37,.page-id-572) .sub-menu{
	background-color:rgba(250,250,250,0.9) !important;
}
.page-id-37 .sub-menu{
	background-color:rgba(0,0,0,0.2) !important;
}
.page-id-37 header, .page-id-572 header{
	position: fixed !important;
	background-color: rgba(0, 0, 0, 0.1) !important;
}*/
.dropdown-menu{
	width:100% !important;
}
#ast-hf-menu-1{
	display:flex;
	align-items:center;
}
.ast-builder-menu .main-navigation > ul > li:last-child > .menu-link {
    background-color: var(--ast-global-color-0);
    color: #fff !important;
    /* padding: 10px 10px !important; */
    height: 50px;
	transition:.3s;
	text-transform:uppercase;
	font-weight:500;
}
.ast-builder-menu .main-navigation > ul > li:last-child:hover > .menu-link{
	background-color:var(--ast-global-color-1) !important;
}
hr{
	border-bottom: solid 6px var(--ast-global-color-1);
    width: 50%;
}
button{
	transition:0.3s;
}
.picture, .picture img{
	height:100% !important;
	object-fit:cover;
}
.picture-border img{
	    border-style: solid !important;
    border-width: 60px 30px 30px 50px !important;
	border-color: var(--ast-global-color-1);
}
.flex-slider{
	box-shadow:3px 3px 10px #000 !important;
}
.main-card{
	min-height: 45vh;
	min-width:350px;
}
.card {
    display: flex;
    flex-direction: column;
		box-sizing:border-box;
	transition:.3s;
	border:3px solid transparent;
	position:relative;
}
.card-link{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}
.card:hover{
	border-color:var(--ast-global-color-0);
}
.card.small-card{
	min-height:20vh;
}
.cards{
	overflow-x:auto;
	gap:0 !important;
}

.margin-right{
	margin-right:20px;
}
.margin-left{
	margin-left:20px;
}
.recent-post{
	width:clamp(300px, 30%, 500px);
	display:block;
	color:#000 !important;
}
.recent-post-thumbnail{
	margin-bottom:20px;
}
.recent-posts-container{
	display:flex;
	flex-direction:row;
	flex-wrap:wrap;
	gap:20px;
	justify-content:center;
	align-items:center;
}

.left-arrow, .right-arrow{
	font-size:30px;
	transition:.3s;
}
.left-arrow:hover,.right-arrow:hover{
	cursor:pointer;
	color:var(--ast-global-color-0);
}

/*PREV NEXT DISABLE (POST)*/
.nav-links{
	display:none !important;
}
.wpforms-field-container, .wpforms-field{
	display: flex !important;
    flex-direction: column !important;
	width:100% !important;
	font-size:18px !important;
	font-family:
}
input, textarea{
	background-color:transparent !important;
	border-color:#000 !important;
}

.wpforms-submit{
	background-color: var(--ast-global-color-1) !important;
    padding: 0.9em 1.8em !important;
}

footer a,footer a:link{
	color:#fff !important;
}
#menu-first-footer-menu{
	display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.service-card{
	box-shadow:2px 55px 60px rgba(0,0,0,0.25);
}


/* Stylizacja elementów <details> */
details {
  margin-bottom: 1.5em;
  padding: 10px;
  cursor: pointer;
}

/* Stylizacja elementu <summary> */
summary {
  font-size: 1.2em;
  font-weight: bold;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 0.5em 1em;
  background-color: #C7E4EF; /* Niebieskie tło */
}

/* Usunięcie domyślnej strzałki */
summary::-webkit-details-marker {
  display: none;
}

/* Stylizacja strzałki */
summary::after {
  content: '';
  margin-left: auto;
  width: 12px; /* Szerokość strzałki */
  height: 12px; /* Wysokość strzałki */
  border: solid #000; /* Kolor strzałki */
  border-width: 0 2px 2px 0; /* Grubość strzałki */
  display: inline-block;
  transform: rotate(45deg); /* Obrót strzałki */
  transition: transform 0.3s ease; /* Animacja */
  margin-top: 2px; /* Wyrównanie strzałki do środka */
}

/* Obrót strzałki po otwarciu */
details[open] summary::after {
  transform: rotate(225deg); /* Obrócona strzałka w górę */
}

/* Stylizacja tabel */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1em;
}

th, td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
}

th {
  background-color: #f2f2f2;
}

td {
  background-color: #fff;
}

.social-icon{
	color:#fff;
	font-size:2em;
	margin-right:0.4rem;
	transition:.3s;
}
.social-icon:hover{
	color:var(--ast-global-color-0);
}

iframe{
	max-height:95vh;
}
/*
.modula-items{
	display:flex;
	justify-content:center;
	align-items:center;
	gap:20px;
	height:auto !important;
	flex-wrap:wrap;
}
.modula-item{
	position:static !important;
	display:block;
	flex: 1 1 calc(20% - 20px); 
    max-width: calc(20% - 20px);
	height:300px !important;
}
.modula-item img{
	height:100% !important;
	position:static !important;
	width:100% !important;
	object-fit:cover;
}

@media (max-width: 1200px) {
    .modula-item {
        flex: 1 1 calc(25% - 20px); 
        max-width: calc(25% - 20px);
    }
	
}

@media (max-width: 900px) {
    .modula-item {
        flex: 1 1 calc(33.33% - 20px); 
        max-width: calc(33.33% - 20px);
    }
	
}

@media (max-width: 600px) {
    .modula-item {
        flex: 1 1 calc(50% - 20px); 
        max-width: calc(50% - 20px);
    }
	
}

@media (max-width: 400px) {
    .modula-item {
        flex: 1 1 100%; 
        max-width: 100%;
    }
}
.estheticon-slider .slick-slide{
	max-height:450px;
	overflow-y:auto;
}*/

.accordion__body p strong{
	font-weight:400 !important;
}
.modula-item-content img, .modula-item-content a{
	max-width:700px;
	max-height:600px;
	object-fit:contain;
}
.modula-item-content a{
	left:50% !important;
	transform:translateX(-50%);
}
.single-image-gallery{
	max-height:650px;
}
.modula-gallery{
	overflow-y:clip;
}
.sticky{
	position:sticky;
	top:100px;
	left:0;
}
.site-title::before{
	content:"dr Med.";
	font-size:13px;
	display:block;
}

.ast-pagination{
	width:100%;
}

.ast-pagination * {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
}
.pagination .nav-links{
	display:flex !important;
	justify-content:flex-end;
}
.ast-pagination .page-numbers {
    padding: 8px 12px;
    margin: 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-decoration: none;
    color: #000;
    background: #f5f5f5;
    display: inline-block;
}
.next.page-numbers,.prev.page-numbers{
	    padding: 0 0.3em !important;
}