/*
Theme Name: 	Twenty Twenty-Five-child
Theme URI: 		https://themes.webdesign-flash.ro/acora/
Author: 		FWDesign
Version: 		1.0
Author URI: 	https://www.webdesign-flash.ro/
Description: 	Child theme. 
Template:    	twentytwentyfive
Text Domain: 	twentytwentyfive-child
*/

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
 .container {
  --bs-gutter-x: 3rem
 }

body {
  font-weight: 300;
  line-height: 1.333;
}
a, i {
  transition: all 0.2s ease-in-out;
}
a:hover {
  color: var(--bs-secondary);
  text-decoration: none;
}
b, strong {
  font-weight: 700;
}
ol, ul {
  padding-left: 1rem;
}
li {
  padding-left: 0.5rem;
}
:root :where(.wp-block-list li) {
  margin-top: 0;
}
#menu-right .wp-block-list li {
  margin-bottom: 1rem;
}
p + ul {
  margin-top: -1rem;
}
.btn {
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 3px;
  padding: 17px 35px;
}
hr.wp-block-separator {
  margin: 0;
  opacity: 1;
}
hr.wp-block-separator.is-style-default {
  height: 7px;
  background: #000;
}
hr.wp-block-separator.is-style-wide {
  height: 1px;
  background: var(--bs-secondary);
}
h1, h2 {
  font-size: 48px;
  font-weight: 700;
  color: var(--bs-primary);
}
h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--bs-primary);
}

.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bs-primary);
  padding: 0 .5rem;
}
.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover, .wp-block-navigation .current-menu-item .wp-block-navigation-item__content.wp-block-navigation-item__content {
  color: var(--bs-secondary);
}
#menu-right {
  position: absolute;
  right: 0;
  top: 160px;
  z-index: 99;
}
.privacy-policy #menu-right {
  display: none;
}
#menu-right ul {
  list-style: none;
}
#menu-right ul li a {
  font-size: 20px;
  font-weight: 700;
  padding: 17px 35px;
  color: #fff;
  text-decoration: none;
  width: 310px;
  display: block;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
}
#menu-right ul li.report-a-failure a {
  background-color: var(--bs-danger);
}
#menu-right ul li.report-a-failure a:hover {
  background-color: #a70000;
  border-color: #9d0000;
}
#menu-right ul li.login-snet a {
  background-color: var(--bs-primary);
}
#menu-right ul li.login-snet a:hover {
  background-color: #1f2b47;
  border-color: #1e2942;
}

#slider figure, .slider-mobile figure {
  margin-bottom: 0;
}
.carousel-text {
  position: absolute;
  z-index: 1000;
  bottom: 60px;
  width: 100%;
  text-align: center;
}
#about-us, #how-to-top, #contact-page-top, #page-top {
  background: url('images/bg-pattern-1.png'), var(--bs-info);
}
#report-a-failure-top {
  background: url('images/bg-pattern-2.png'), var(--bs-danger);
  color: #fff;
}
#snet-top {
  background: url('images/bg-pattern-2.png'), var(--bs-primary);
  color: #fff;
}
#report-a-failure-top h2, #report-a-failure-top p.is-style-nadtytul--2, #snet-top h2, #snet-top p.is-style-nadtytul--2{
  color: #fff;
}
#report-a-failure .person figure {
  width: 270px;
}
#contact-page h2 {
  margin-bottom: 1rem;
}
#contact-page .person .col, #how-to-template .person .col {
  margin-bottom: 2rem;
}
#contact-page .person figure, .contact-item figure {
  width: 135px;
}
#find-a-technician .badge {
  margin-bottom: 2rem;
}
#technik-form {
  margin-bottom: 30px;
}
.technic-name {
  font-size: 30px;
  font-weight: 700;
  color: var(--bs-primary);
}
.technic-phone {
  padding-right: 40px;
}
.badge {
  padding: 0.35em 1.5em;
}
.form-input-group {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.form-input-group > * {
  padding-left: .5rem;
  padding-right: .5rem;
}
.form-input-group > div:first-child, .form-input-group > div:last-child {
  width: 280px;
}
.form-input-group select, .form-input-group input {
  height: 60px;
  padding: 0.375rem 1.5rem;
}
#about-us, #offer, #announcements, #how-to, #how-to-top, #report-a-failure-top, #contact-page-top, #page-top, #snet-top  {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}
#page-top p:last-child, .col p:last-child {
  margin-bottom: 0;
}
#how-to-main  {
  padding-top: 50px;
}
#how-to-top p {
  margin-bottom: 0;
}
#how-to-template h2 {
  font-size: 2rem;
}
#how-to-template .person figure {
  width: 270px;
}
#how-to-template .btn {
  margin-left: 50px;
}
#how-to-template, .counter-reset {
  counter-reset: section2;
}
#how-to-template ul {
  list-style: none;
  padding-left: 0;
}

#how-to-template ul li {
  padding: 15px 0 15px 50px;
  position: relative;
}
#how-to-template ul li::before  {
  counter-increment: section2;
  content: counter(section2);
  position: absolute;
  left: 0;
  top: 6px;
  width: 42px;
  height: 42px;
  background: var(--bs-primary);
  border-radius: 50%;
  text-align: center;
  font-weight: 700;
  color: #fff;
  padding-top: 8px;
}
#how-to-template ul.alpha li::before  {
  content: counter(section2, upper-alpha);
}
#offer figure, .offer figure {
  border-radius: 30px;
  overflow: hidden;
}
#offer .animated-numbers .col {
  display: flex;
  justify-content: center;
}
#offer .counter-item {
  width: 300px;
  height: 300px;
  border: 2px solid var(--bs-secondary);
  border-radius: 50%;
  align-content: center;
}
#offer .counter {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: var(--bs-primary);
}
#offer .counter-nr2 {
  font-size: 30px;
  font-weight: 400;
  color: var(--bs-primary);
}
#offer .counter-desc {
  font-weight: 400;
  color: var(--bs-secondary);
}

#announcements .wp-block-post-date {
  border-top: 1px solid var(--bs-secondary);
  padding-top: 1rem;
  font-size: 16px;
  color: var(--bs-secondary);
  font-weight: 700;
  letter-spacing: 3px;
}
.wp-block-query-pagination {
  justify-content: center;
  padding-top: 30px;
  border-top: 1px solid var(--bs-secondary);
}
.page-numbers.current, .page-numbers, .wp-block-query-pagination-next, .wp-block-query-pagination-previous {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  text-align: center;
  font-weight: 700;
  color: #fff;
  padding-top: 4px;
  margin: 0 5px;
  display: inline-block;
  text-decoration: none;
}
.page-numbers.current {
  background: var(--bs-primary);
}
.page-numbers, .wp-block-query-pagination-next, .wp-block-query-pagination-previous {
  background: var(--bs-secondary);
}
.wp-block-query-pagination a:hover {
  background: #006724;
  color: #fff;
}
.wp-block-query-pagination.is-content-justification-space-between > .wp-block-query-pagination-next:last-of-type {
  margin-inline-start: 11px;
}
.wp-block-query-pagination.is-content-justification-space-between > .wp-block-query-pagination-previous:first-child {
  margin-inline-end: 11px;
}
.wp-block-query-pagination .wp-block-query-pagination-previous-arrow {
  margin-right: 0;
}
.wp-block-query-pagination .wp-block-query-pagination-next-arrow {
  margin-left: 0;
}
/* rowna row aktualnosci */
.row.wp-block-post-template {
  max-width: inherit;
}
#how-to  {
  counter-reset: section;
}
#how-to h3 {
  margin-bottom: 0;
}

#how-to ul li {
  border-top: 1px solid var(--bs-secondary);
  padding: 13px 0 15px 50px;
  position: relative;
}
#how-to ul li h3::before  {
  counter-increment: section;
  content: counter(section) ".";
  position: absolute;
  left: 0;
  color: var(--bs-primary);
}

#how-to ul li a {
  position: relative;
  width: 100%;
  padding-right: 30px;
  font-size: 20px;
  font-weight: 400;
}
#how-to ul li i {
  position: absolute;
  right: 0;
  top: 3px;
  color: var(--bs-secondary);
}
#how-to ul li a:hover i {
  color: var(--bs-primary);
}
#how-to ul li:last-child {
  border-bottom: 1px solid var(--bs-secondary);
}

/* pliki do pobrania */
.dlm-downloads {
  list-style: none;
  padding-left: 0;
}
.dlm-downloads li {
  border-top: 1px solid var(--bs-secondary);
  font-size: 20px;
  font-weight: 400;
  padding: 13px 0 15px 0;
  position: relative;
  display: flex;
  line-height: 1.2;
}
.dlm-downloads li:last-child {
  border-bottom: 1px solid var(--bs-secondary);
}
.dlm-downloads li a {
  text-decoration: none;
  position: relative;
  width: 100%;
  padding-right: 30px;
  display: block;
}
.dlm-downloads li i {
  position: absolute;
  right: 0;
  top: 3px;
  color: var(--bs-secondary);
}
.dlm-downloads li a:hover i {
  color: var(--bs-primary);
}
.download-date {
  font-size: 18px;
  font-weight: 400;
  color: #808594;
}

.download-row {
  display: flex;
}
.download-row .download-title {
  width: auto;
  padding-right: 20px;
}

#contact {
  background-color: var(--bs-info);
  padding: 90px 0;
}
#contact iframe, #contact-page iframe {
  border-radius: 30px;
}
#contact .wp-font-awesome-icon, #contact-page .wp-font-awesome-icon {
  display: inline-block;
  width: 30px;
  color: var(--bs-secondary);
}
.person .wp-font-awesome-icon{
  display: inline-block;
  width: 30px;
}
.person figure {
  border-radius: 50%;
  border: 2px solid var(--bs-primary);
  overflow: hidden;
}
#copyright {
  background-color: var(--bs-primary);
  color: #fff;
}
#copyright p {
  margin-bottom: 0;
  padding: 50px 0;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
}
#copyright a {
  color: #808594;
  text-decoration: none;
}

@media not (prefers-reduced-motion) {
  .wp-block-navigation__responsive-container.is-menu-open {
    animation: overlay-menu__fade-in-animation .5s ease-out;

  }
}

@keyframes overlay-menu__fade-in-animation {
  0% {
    opacity:0;
    transform:none
  }
  to {
    opacity:1;
    transform:none
  }
}

@media (min-width: 768px) {
  .kebeth {
    text-align: right;
  }
  li.category-ogloszenia {
    flex: 0 0 auto;
    flex-shrink: 0;
    flex-shrink: 0;
    width: 33.33333333%;
  }
  header .row {
    align-items: end;
  }
}
@media (max-width: 767px) {
  #about-us, #offer, #announcements, #how-to, #how-to-top, #report-a-failure-top, #contact-page-top, #page-top, #snet-top  {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .form-input-group > div:first-child, .form-input-group > div:last-child {
    width: 100%;
  }
  .form-item:not(:last-child) {
    margin-bottom: 1rem;
  }
  .form-input-group {
    flex-wrap: wrap;
  }
  .technic-phone {
    padding-right: 0;
    padding-bottom: .5rem;
  }
  .technic-email {
    padding-bottom: .25rem;
  }
  .technic-phone, .technic-email {
    width: 100%;
    display: block;
    font-size: 1rem;
  }
  .badge {
    padding: 0.5em 1em;
  }
}
@media (min-width: 600px) {
  .hide-desktop {
    display: none !important;
  }
  .slider-mobile {
    display: none;
  }
  .wp-block-navigation ul {
    margin: 0 -.25rem;
  }
  .custom-mobile-logo {
    display: none;
  }
  .page-ogloszenia #announcements li:not(:last-child) {
    margin-bottom: 2rem;
  }
}
@media (max-width: 599px) {
  :root {
    font-size: 18px;
  }
  .container, .row  {
    --bs-gutter-x: 1rem;
  }
  h2 {
    font-size: 38px;
  }
  .btn {
    padding: 10px 20px;
  }
  .wp-block-navigation__responsive-container-open svg {
    display: none;
  }
  .wp-block-navigation__responsive-container-open::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 19px;
    background-image: url("images/mobile-menu-icon.png"); /* albo data URI */
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-left: 5px;
  }
  .wp-block-navigation__responsive-container.is-menu-open {
    padding: 1rem;
  }
  .wp-block-navigation__responsive-container.is-menu-open li {
    padding: .25rem;
  }
  .wp-block-navigation__responsive-close, .wp-block-navigation__responsive-dialog {
    height: 100%;
  }
  .custom-mobile-logo {
    position: absolute;
    bottom: 0;
    right: 0;
  }
  .custom-mobile-logo img {
    width: 220px;
  }
  main .col:not(:last-child), #announcements li:not(:last-child) {
    margin-bottom: 2rem;
  }
  .slider-desktop {
    display: none;
  }
  .carousel-text {
    display: none;
  }
  header .col {
    margin-bottom: 0;
  }
  header .col:last-child {
    align-content: end;
  }
  #menu-right {
  position: relative;
  right: auto;
  top: auto;
}
#menu-right ul {
  display: flex;
  padding: 0;
  margin-bottom: 0;
}
#menu-right .wp-block-list  li {
  flex: 0 1 auto;
  padding: 0;
  margin-bottom: 0;
  width: 50%;
}
#menu-right ul li a {
  width: 100%;
  font-size: 16px;
  border-radius: 0;
  padding: 12px;
}
  #report-a-failure .person figure {
    margin-left: auto;
    margin-right: auto;
  }
  #report-a-failure .person {
    text-align: center;
  }
  #contact .wp-font-awesome-icon, #contact-page .wp-font-awesome-icon {
    width: 25px;
  }
  #copyright p {
    padding: 20px 0;
  }
}