/*======================================
Theme Name: Corees
Theme URI: https://jarekgolawski.com
Description: Szablon "Divi child theme" dla Corees. Zawiera dedykowane szablony wyglądu oraz dedykowane rozwiązania funkcjonalne - CSS, PHP, JS.
Version: 1.20
Author: jarekgolawski.com
Author URI: http://jarekgolawski.com
Template: Divi
Text Domain: corees
======================================*/
/*======================================
==============Wordpress / DIVI SNIPETS==============
======================================*/
.custom-no-results h2 {
	line-height: 2em;
}

/*======================================
==============MENU SNIPETS==============
======================================*/
.button {
  color: var(--dl-color-gray-black);
  display: inline-block;
  padding: 0.5rem 1rem;
  border-color: #001C38;
  border-width: 1px;
  border-radius: 4px;
  background-color: grey;
}
.input {
  color: grey;
  cursor: auto;
  padding: 0.5rem 1rem;
  border-color: grey;
  border-width: 1px;
  border-radius: 4px;
  background-color: grey;
}
.textarea {
  color: #001C38;
  cursor: auto;
  padding: 0.5rem;
  border-color: #001C38;
  border-width: 1px;
  border-radius: 4px;
  background-color: #fff;
}
.list {
  width: 100%;
  margin: 1em 0px 1em 0px;
  display: block;
  padding: 0px 0px 0px 1.5rem;
  list-style-type: none;
  list-style-position: outside;
}
.list-item {
  display: list-item;
}
.teleport-show {
  display: flex !important;
  transform: none !important;
}
.Content {
  font-size: 16px;
  font-family: Inter;
  font-weight: 400;
  line-height: 1.15;
  text-transform: none;
  text-decoration: none;
}
.Heading {
  font-size: 32px;
  font-family: Inter;
  font-weight: 700;
  line-height: 1.15;
  text-transform: none;
  text-decoration: none;
}
.COMPONENTBODY-REGULAR {
  font-size: 14px;
  font-style: normal;
  font-family: Inter;
  font-weight: 400px;
  font-stretch: normal;
}
.COMPONENTHEADING2 {
  font-size: 18px;
  font-style: normal;
  font-family: Inter;
  font-weight: 500px;
  font-stretch: normal;
}


/*======================================
==============MENU SNIPETS==============
======================================*/

.et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a {
	padding: 5px 15px 5px 0px!important;
}

/* Ukryj elementy domyślnie */
.eb-hide-element {
  display: none !important;
}


/*==== Start Underline Slide ====*/

.eb-underline-slide nav ul li a {
   position: relative;
}

.eb-underline-slide nav ul li a::before {
   content: "";
   position: absolute;
   bottom: 0;
   height: 2px;
   width: 10px;
   left: calc(100% + 20px);
   opacity: 0;
   background-color: #04e5dd;
   z-index: 2;
   display: block;
   -webkit-transition: .3s;
   -o-transition: .3s;
   transition: .3s;
   -webkit-transition-timing-function: cubic-bezier(.58, .3, .005, 1);
   -o-transition-timing-function: cubic-bezier(.58, .3, .005, 1);
   transition-timing-function: cubic-bezier(.58, .3, .005, 1);
}

.eb-underline-slide nav ul li a:hover::before {
   width: 100%;
   left: 0;
   opacity: 1;
}
/*==== End Underline Slide ====*/


/*==== Search bar ====*/
.et_pb_menu__search-form .et_pb_menu__search-input {
width: calc(100% - 150px);  
border: 2px solid #dddddd; 
border-radius: 5px;
padding-left: 30px!important;
}
/*==== End of Search bar ====*/

/*=====add padding & line spacers (border) to the menu items
.et_pb_menu nav > ul > li:not(:last-child) {
 /* border-right: 1px solid #04e5dd;
}
 ======end===add padding & line spacers (border) to the menu items*/

/*adjust spacing around menu items*/
.et_pb_menu li a {
 padding: 1px 10px;
}

/*edit the Divi mega menu submenu first row*/
.et_pb_menu li.mega-menu > ul > li > a:first-child {
}

/*edit the Divi mega menu submenu first row on hover*/
.et_pb_menu li.mega-menu > ul > li > a:first-child:hover {
}

/*edit the Divi submenu list items*/
.et_pb_menu li li {
 font-size: 12px;
}

/*edit the Divi submenu list items on hover*/
.et_pb_menu li li:hover {

}

/*edit the Divi submenu links*/
.et_pb_menu li li a {
	font-size: 14px!important;
}



/*show desktop menu on phone

@media (max-width: 980px) {
	.eb-open-mobile-menu .et_pb_menu__menu {
		display: flex!important;
		flex-direction: column!important;
	}
	.eb-open-mobile-menu .et_mobile_nav_menu {
		display: none!important;
	}
}

/*show desktop menu on phone*/

/*======================================
==========PICTURES SNIPETS==============
======================================*/
.corees-custom-class img {
    width: 100%; /* Szerokość na 100% kontenera */
    height: auto; /* Wysokość auto, aby zachować proporcje */
    object-fit: cover; /* Upewnia się, że obrazek pokrywa cały kontener, może być przycięty */
    object-position: center; /* Centruje obraz w kontenerze */
}



/*image in circle*/
.circle-image img {
border-radius: 50%;
}
/*end image in circle*/


/*=============================================
==========TYPOGRAPHY SNIPETS==============
==============================================*/

/*aktualności p */

.et_pb_module.et_pb_post_content.et_pb_post_content_0_tb_body {
  line-height: 1.4em;
  Font-size: 16px;
}


sup {
  font-size: 70%; /* zmniejsza rozmiar czcionki o 30% */
  position: relative;
  bottom: -20%; /* obniża pozycję o 20% */
}


/*klasa animowanego podkreślenia pod headerami */

/* Styl podstawowy dla nagłówków H1 i H2 */
.section-title h1, .section-title h2 {
    display: inline-block;
    text-transform: uppercase;
    padding-bottom: 0;
    margin-bottom: 50px;
    position: relative;
}

/* Styl dla efektu podkreślenia, który początkowo jest ukryty */
.section-title h1:after, .section-title h2:after {
    content: '';
    display: block;
    margin: 0 auto;
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 50%;
    height: 3px;
    background-color: #cdc2b1;
    transition: all 0.5s ease;
}

/* Animacja dla efektu podkreślenia */
@-webkit-keyframes underline {
    from {
        left: 50%;
        right: 50%;
    }
    to {
        left: 0;
        right: 0;
    }
}

@keyframes underline {
    from {
        left: 50%;
        right: 50%;
    }
    to {
        left: 0;
        right: 0;
    }
}

/* Klasa aktywowana przez JavaScript, uruchamiająca animację */
.start-animation:after {
    left: 0;
    right: 0;
    -webkit-animation: underline 2s forwards;
    animation: underline 2s forwards;
}
/* end of klasa animowanego podkreślenia pod headerami */

/*zmniejsz font odo 75% SUP: m<sup class="superscript">2</sup> */

.superscript {
    vertical-align: super;
    font-size: 0.75em; /* lub użyj rem, w zależności od potrzeb */
    position: relative; /* Umożliwia precyzyjne pozycjonowanie */
    top: 0.1em; /* Dostosuj wartość, aby obniżyć indeks górny; 0.2em to przykład */
}
/* END zmniejsz font odo 75% SUP: m<sup class="superscript">2</sup> */

/*center the heading and lines H6 */

.eb-heading-line-both h2 {
	display: flex;
	width: 100%;
	justify-content: center;
	align-items: center;
	text-align: center;
}
/*add and adjust the lines*/

.eb-heading-line-both h2:before,
.eb-heading-line-both h2:after {
	content: '';
	border-top: 2px solid;
	margin: 0 20px 0 0;
	flex: 1 0 20px;
	color: #2fe2b2;
}
/*add spacing between heading and lines*/

.eb-heading-line-both h2:after {
	margin: 0 0 0 20px;
}
/* end of center the heading and lines*/


/*czytaj dalej odstep aktualnosci*/

.post-content-inner >p {
 padding-bottom: 20px!important;
}
/*meta dane aktualnosci*/

.et_pb_title_meta_container{
	padding-bottom: 20px!important;
}

/*=============================================
==========general objects SNIPETS==============
==============================================*/


/* vertical align objects in rows */
.eb_vertical_align { 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
} 
/* end of vertical align objects in rows */

/*========================================================
==========general archive page layouts snipets==============
=========================================================*/
/*
* Remove sidebar on all archive pages
*/
.search #main-content .container::before,
.archive #main-content .container::before {
    display: none;
}
.search #left-area,
.archive #left-area {
    width: 100%;
    float: none;
    padding-right: 0;
}
.search #sidebar,
.archive #sidebar {
    display: none;
}


/*============przeczytaj wiecej / load more style button==========*/
.et_pb_button {
    font-size: 14px!important;
    font-weight: 500;
    padding: 0.1em 1em;
	margin-top: 1.5em;
    line-height: 1.7em !important;
    background-color: transparent;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border: 2px solid;
    border-radius: 3px;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-transition-property: all !important;
    transition-property: all !important;
}

/*============meta "in-line" margin ==========*/
.dmach-postmeta-value {
    margin-right: 10px;
}






/*=====================================================================
==========Wordpress / DIVI templates==============
======================================================================*/

/* =======no results template message =======*/

.no-results {
	text-align: center;
	font-family: 'Roboto',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 300;
    font-size: 18px;
	color: #3a405a;
}

.no-results h1 {
    color: #3a405a;
    font-family: 'Roboto',Helvetica,Arial,Lucida,sans-serif;
    font-size: 28px;
    font-weight: bold;
}
/*------------------------------ Aktualnosci ------------------------------*/
#fb-post-slider.et_pb_post_slider_0 .et_pb_slide {
    background-size: 70%;
    background-position: top right;
    padding-left: 0;
    overflow: visible!important;
}
  
#fb-post-slider.et_pb_slider_with_overlay .et_pb_slide_overlay_container {
    width: 45%;
    min-width: 300px;
		padding-left: 15px;
}


#fb-post-slider .et_pb_slide_content .post-meta {
    height: 0px;
    overflow: hidden
}
#fb-post-slider .et_pb_slide_content .post-meta .published {
    position: absolute;
    top: 32px;
    left: 35px;
    color: #181e37;
    font-size: 16px
}

#fb-post-slider .et-pb-arrow-prev {
    display: none
}

#fb-post-slider.et_pb_post_slider_0 .et-pb-controllers a {
    height: 8px;
    width: 8px;
    border-radius: 50%
}
#fb-post-slider.et_pb_slider {
    overflow: visible!important
}

.et-pb-active-slide .et_pb_slide_description {
    animation-name: fadeIn;
}
.et_pb_slide.et-pb-active-slide {
    transition: opacity 2.5s!important
}
  
.et_pb_slide_content p:last-of-type {
    padding-right: 20px;
}
/*----------------end of-------------- Aktualnosci ------------------------------*/

/*------------------------ Filtry ------------------------------*/

.et-db #et-boc .et-l .et_pb_contact_field_options_wrapper .et_pb_contact_field_options_title {
   margin-bottom: 0.2em;
   font-weight: 400;
}



/* =============== Pływające belki: kontakt i newsletter ============================== */

/* =============== Stylizacje dla pływających belek: kontakt i newsletter ============================== */
/* Styl dla belki kontakt */
.floating-contact-bar {
    position: fixed;
    right: 0;
    top: 45%; /* Dostosuj */
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: bottom right;
    background-color: #772B39;
    color: #fff;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 18px;
    z-index: 1000;
}

/* Styl dla belki newsletter */
.floating-newsletter-bar {
    position: fixed;
    right: 0;
    top: 55%; /* Dostosuj, aby belka newsletter była poniżej kontakt */
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: bottom right;
    background-color: #339989; /* Inny kolor dla rozróżnienia */
    color: #fff;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 18px;
    z-index: 1000;
}

/* Styl dla ukrytych kontenerów formularzy */
.form-hidden {
    display: none;
    position: fixed;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    width: 380px;
    background: #fff;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
    padding: 25px 10px 10px 10px;
    z-index: 1001;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

/* Styl stałej odleglosci dla belki kontakt */
.floating-contact-bar {
    top: calc(50vh - 100px); /* Zmieniamy pozycję belki kontakt na 50vh minus połowa wysokości belki i margines */
}

/* Styl  Styl stałej odleglosci dla belki newsletter */
.floating-newsletter-bar {
    top: calc(50vh + 10px); /* Zmieniamy pozycję belki newsletter na 50vh plus margines */
}

/* Styl dla widocznych kontenerów formularzy */
.form-visible {
    display: block !important;
    animation: slideIn 0.5s cubic-bezier(.17,.67,.83,.67) forwards;
    margin-top: 60px;
}

/* Styl dla przycisków zamknięcia */
.close-button-contact, .close-button-newsletter {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #772B39; 
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 10px;
    font-weight: bold;
}

/* Animacja wysuwania */
@keyframes slideIn {
    0% { right: -400px; }
    100% { right: 10px; }
}

/* Globalne ustawienia dla kontenerów formularzy */
.form-hidden, .form-visible {
    height: auto; /* Automatyczne dopasowanie wysokości */
    max-height: 90vh; /* Maksymalna wysokość to 90% wysokości viewportu */
    overflow-y: auto; /* Włączenie przewijania, gdy treść przekracza maksymalną wysokość */
}

/* Styl dla ikon pełnoekranowych i tekstu */
.fullscreen-container {
    display: flex;
    align-items: center;
    position: absolute;
    top: 10px;
    left: 10px;
    cursor: pointer;
    text-decoration: none;
}


.fullscreen-text {
    font-size: 10px;
    color: #B1B1B1;
}

/*------------------------ updates -------------------------*/

.fullscreen-text {
    font-size: 10px;
    color: #B1B1B1;
}
	
#contact-form-container a > span {
padding-left: 6px!important;
}
#newsletter-form-container a > span {
padding-left: 6px!important;
}

/* Styl dla ikon pełnoekranowych */
.fullscreen-icon {
    width: 12px;
    height: 12px;
  margin-right: 5px; /* Zwiększono odstęp do 10px */

}
/*więcej miejsca dla ikony fullscreen */

.ml-embedded{
	padding-top: 20px
} 
	
#contact-form-container h3 {
  padding-top: 15px!important;
}


/* Media queries dla responsywności na urządzeniach mobilnych */
@media screen and (max-width: 480px) {
    /* Style dla belek na mobile */
    .floating-contact-bar, .floating-newsletter-bar {
        padding: 5px 20px !important;  
        font-size: 14px;
    }

    /* Modyfikacje dotyczące tylko kontenerów formularzy na urządzeniach mobilnych */
    .form-hidden, .form-visible {
        position: fixed; /* Pozycjonowanie absolutne względem viewportu */
        top: 5%; /* Odsunięcie od górnej krawędzi ekranu */
        left: 0%; /* Margines z lewej strony */
        right: 5%; /* Margines z prawej strony */
        width: 100%; /* Szerokość kontenera */
        background: #fff; /* Tło kontenera */
        box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* Cień dla kontenera */
        border-radius: 10px; /* Zaokrąglone rogi kontenera */
        padding: 20px; /* Wewnętrzny odstęp od krawędzi kontenera */
        z-index: 1001; /* Zapewnienie, że kontener będzie wyświetlany na wierzchu */
        animation: none; /* Usunięcie animacji slide-in na urządzeniach mobilnych */
        transform: none !important; /* Usunięcie transformacji stosowanej na desktopie */
    }



    /* Dostosowanie Google reCAPTCHA do kontenera */
    .g-recaptcha {
        transform: scale(0.8) !important; /* Dalsze zmniejszenie na urządzeniach mobilnych */
    }
}




/*=============================================
==========logo on scroll=====================
==============================================*/

/*------------------------ filtrowanie logo w mwnu przy scrollu -----.et_pb_menu__logo, -------------------------*/
.wp-image-241311 {
    filter: brightness(0) invert(1); /* Domyślne rozjaśnienie obrazów */
}

.oryginalne-kolory {
    filter: none; /* Usuwa wszelkie filtry, przywracając oryginalne kolory */
}


/*=============================================
========== Contact Form 7 KONTAKT =====================
==============================================*/

.kontakt {
	background-color: #fff;
	z-index: 1000;
}

/* Stylizacja pól formularza */
.eb-form-wrapper .wpcf7-form-control-wrap {
    margin-bottom: 20px;
}

.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="text"],
.wpcf7 textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #cccccc;
    border-radius: 6px;
    font-family: 'Roboto', sans-serif;
	line-height: 1em;
}


/* Stylizacja nagłówków */
.eb-heading {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}
#eb-contact-form-footer input[name="your-email"], #eb-contact-form-footer input[name="your-name"], #eb-contact-form-footer input[name="your-tel"], #eb-contact-form-footer textarea  {
    margin-bottom: 8px;
    padding: 7px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
}




#contact-form-container textarea {
max-height: 70px;
width: 100%;
 margin-bottom: 0px!important;
padding-bottom: 0px!important;
}

#contact-form-container h6, #contact-form-container p.eb-form-info-text, #contact-form-container p.eb-daneinfo-text, .eb-daneinfo-text h6 {
    line-height: 1em;
    color: #616161;
    padding: 0px 5px;
    margin: 0px 5px 15px 5px;
font-family: Roboto, Helvetica, Arial, Lucida, sans-serif;
	font-weight: 300;
	line-height: 1em!important;
	    font-size: 11px!important;
}

/* Stylizacja grupy checkboxów */
.checkbox-group {
    margin-bottom: 20px;
}

/* Stylizacja tekstu w checkboxach */
.checkbox-group .wpcf7-list-item-label {
    color: #777;
	font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    vertical-align: top;
    width: calc(100% - 40px); 
    padding-left: 10px; 
}

.checkbox-group.wpcf7-list-item-label ::before {
		font-size: 14px;
	font-weight: 400px;
}


/* Dodanie marginesu dla checkboxów */
.checkbox-group input[type="checkbox"] {
    margin-left: -10px;
    vertical-align: top;
    margin-top: 5px; /* Wyrównanie z tekstem */
}

#contact-form-container label.eb-form-info-text.zgadzam-sie, #contact-form-container label.eb-form-info-text.wyrazam-zgode {
    margin-bottom: 20px;
    padding-left: 40px;
    text-indent: 0;
	font-size: 11px;
	font-weight: 300;
}

#contact-form-container label.eb-form-info-text.zgadzam-sie, #contact-form-container label.eb-form-info-text.wyrazam-zgode {
    display: block;
    padding-left: 30px; /* Dodanie odstępu dla całego bloku tekstu */
}

.eb-submit:hover {
    background-color: #0056b3;
}


/* Stylizacja przycisku */
.wpcf7-submit {
    background-color: #772B39;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    margin-top: 10px;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    width: 100%;
    font-size: 14px;
}
.eb-form-info-text.zgadzam-sie, .eb-form-info-text.wyrazam-zgode {
font-size: 12px;
line-height: 1em;}


/* Dodanie czerwonej gwiazdki tylko przy obowiązkowej zgodzie */
.checkbox-group .wpcf7-form-control-wrap[data-name="gdpr"] .wpcf7-list-item-label::after {
    content: '*';
    color: red;
    margin-left: 2px;
}
/*=============================================
========== Admin dashboard mods =====================
==============================================*/
/* Styl dla pola ACF dodawania pliku PDF */

.acf-fields > .acf-field.acf-field-65e6f06938c3e {
    background-color: #fff4bf!important;
}


/* ACF PRO*/
.acf-admin-notice.notice.notice-warning {
  display: none!important;
}
.acf-admin-notice.notice.notice-warning {
  display: none;
}
/*=============================================
========== Karty nieruchomości =====================
==============================================*/
/* Styl dla przycisku ściągnięcia PDF */
a.dmach-acf-value.et_pb_button{
margin-left: 20px;
}
/* Styl dla ikony ściągnięcia PDF */
.dmach-icon-image-content{
  margin-top: 0px;
}
.dmach-icon {
  padding-bottom:1px;
}
/* kalsa ukrywania treści */
body.dostepnosc-tak #uwaga-niedostepna-oferta {
    display: none;
}

/*etykiety-graficzne 'na wylacznosc' */
.dmach-acf-item-container > div.dmach-icon-image-content > img{
  margin-top: -10px!important;
}

/* kontener pod thumbnail item 

.et-db #et-boc .et-l .et_pb_row {
	width: 100%;
	padding: 0px 20px 0px 20px!important;
}*/

/*etykiety w filtrach wchodzące na strzałki*/


/*=============================================
==========tooltips dla ikon typow nieruchomosci =====================
==============================================*/

.custom-tooltip {
    position: absolute;
    background-color: #772B39;
    color: #fff;
    padding: 25px 25px;
    border-radius: 5px;
    font-size: 14px;
    z-index: 1000;
    white-space: nowrap;
    pointer-events: none;
}


/*=============================================
==========Zwijane zgody marketingowe=====================
==============================================*/
#select-all {
margin-bottom: 12px;}

/*=============================================
==========popup raport za zgodę na mail==================*/
#popmake-245109{
  background-color: #fff;
  padding: 40px;
  border-radius: 6px;
  border-style: solid;
  border-width: 1px;
  border-color: #ccc;
  -webkit-box-shadow: 18px 21px 29px -24px rgba(66, 68, 90, 0.5);
-moz-box-shadow: 18px 21px 29px -24px rgba(66, 68, 90, 0.5);
box-shadow: 18px 21px 29px -24px rgba(66, 68, 90, 0.5);
  
}
.pum-container .pum-content+.pum-close {
    text-decoration: none;
    text-align: center;
    line-height: 1;
    position: absolute;
    cursor: pointer;
    min-width: 1em;
    z-index: 2;
    background-color: transparent;
    top: 0;
    right: 0;
}
