/*GLOBAL*/

/*NAGŁÓWEK*/

#page #masthead .ast-icon.icon-search {
  background: url(/wp-content/uploads/2023/03/Search.svg);
  width: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px;
}

#page #masthead .ast-icon.icon-search path {
  display: none;
}

#page #masthead .site-logo-img .custom-logo-link img {
  max-width: 300px;
  width: 275px;
  height: auto;
}

/* .site-above-header-wrap {
  padding-right: 40px;
  padding-left: 75px;
} */

.site-above-header-wrap .widget_block p {
  margin-bottom: 0;
}

.site-above-header-wrap .bst-hamburger-sidebar {
  margin-top: 0;
}

span.ast-icon.icon-search {
  border-bottom: solid 1px transparent;
}

.ast-search-box.full-screen span.ast-icon.icon-search:hover {
  border: none;
}

.site-above-header-wrap .bs_wcag_shortcode_button:hover,
span.ast-icon.icon-search:hover {
  border-radius: 0;
  border-bottom: solid 1px white;
}


@media(max-height:450px){
	.ast-sticky-active{
		display:none!important;
	}
}

/*PRZEŁĄCZNIK JEZYKA*/

#page .site-header-above-section-right .wpml-ls-legacy-list-horizontal {
  border-left: solid 1px rgba(221, 221, 221, 0.3);
  border-right: solid 1px rgba(221, 221, 221, 0.3);
  padding: 14px 7px;
}

#page .site-header-above-section-right .wpml-ls-legacy-list-horizontal a {
  color: white;
  padding: 0;
}

#page .site-header-above-section-right .wpml-ls-legacy-list-horizontal a:hover {
  text-decoration: underline;
  text-underline-offset: 8px;
}

/*MENU GÓRNE*/

#page .ast-above-header-wrap .ast-builder-menu .main-navigation > ul {
  margin-left: 0;
}

#page .menu-item-type-custom {
  display: flex;
  flex-direction: inherit;
  /* justify-content:center; */
}

#page .menu-item a:hover {
  text-decoration: underline;
  text-underline-offset: 10px;
}

#page .menu-item a {
  padding-left: 0;
}

#page .menu-item-type-custom::after {
  content: "";
  background: url(/wp-content/uploads/2022/12/Link.svg);
  background-size: 15px;
  background-repeat: no-repeat;
  background-position: center;
  width: 15px;
  height: auto;
  margin-left: -8px;
}

#page .ast-above-header-bar .menu-item-type-custom::after {
  display: none;
}

#page .mega-menu .mega-sub-menu .mega-menu-item-object-custom a {
  background: url(/wp-content/uploads/2023/02/Link.svg) !important;
  background-size: 18px !important;
  background-repeat: no-repeat !important;
  background-position: 95% 50% !important;
  height: auto;
  width: 99% !important;
}

/* #page .mega-menu .mega-sub-menu .mega-menu-item-object-custom a::after {
	content: '';
	background: url(/wp-content/uploads/2023/02/Link.svg);
	background-size: 15px;
	background-repeat: no-repeat;
	background-position: center;
	width: 15px;
	height: auto;
	margin-left: -8px;
}  */

/* #page .mega-menu-item-type-custom a.mega-menu-link {
	background: url(/wp-content/uploads/2022/12/Link.svg) !important;
	background-size: 16px !important;
	background-repeat: no-repeat !important;
	background-position: 100% 50% !important;
	height: auto;
	margin-left: -8px;
	width: 120px !important;
} */

#page .mega-sub-menu .mega-menu-item-type-custom a.mega-menu-link {
  width: 100% !important;
}

#mega-menu-wrap-primary
  #mega-menu-primary[data-effect="fade_up"]
  li.mega-menu-item.mega-menu-megamenu
  > ul.mega-sub-menu {
  position: fixed;
  margin-left: 160px;
  width: 77vw;
  margin-top: 20px;
  box-shadow: 0 8px 8px -4px rgb(0 0 0 / 30%) !important;
}

#page .site-header #mega-menu-wrap-primary .mega-menu-column {
  border-right: solid 2px rgb(238, 242, 254);
}

#page .site-header #mega-menu-wrap-primary .mega-menu-item-type-widget {
  padding-left: 20px !important;
}

/* --border right limit in mega menu submenu <li> item--*/
#page .site-header #mega-menu-wrap-primary .mega-menu-column.no-border-r {
  border-right: 0;
}

/*sticky*/

#page .ast-sticky-active {
  background-color: white;
}

#page
  .ast-sticky-active
  #mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link {
  color: #162238;
}

#page
  .ast-sticky-active
  #mega-menu-wrap-primary
  #mega-menu-primary[data-effect="fade_up"]
  li.mega-menu-item.mega-menu-megamenu
  > ul.mega-sub-menu {
  margin-top: 0;
}

#masthead .site-logo-img .sticky-custom-logo .astra-logo-svg,
.site-logo-img .sticky-custom-logo .astra-logo-svg,
.ast-sticky-main-shrink .ast-sticky-shrunk .site-logo-img .astra-logo-svg {
  max-width: 300px;
}

.ast-sticky-main-shrink .ast-sticky-shrunk .site-logo-img img {
  width: 100% !important;
}

@media (min-width: 1600px) {
  #page .ast-above-header-wrap .ast-builder-menu .main-navigation > ul {
    margin-left: 10px;
  }
}

@media (max-width: 1425px) {
  #page #masthead .site-logo-img .custom-logo-link img {
    width: 250px;
  }

  .site-primary-header-wrap .ast-grid-right-section {
    justify-content: flex-end;
  }

  #page .ast-sticky-active .site-primary-header-wrap {
    padding: 10px 30px;
  }

  #page
    .ast-sticky-active
    .site-primary-header-wrap
    .ast-builder-grid-row-no-center {
    display: flex;
  }

  #page .ast-sticky-active #mega-menu-wrap-primary {
    margin-top: 15px;
  }
}

@media (min-width: 1215px) and (max-width: 1425px) {
  #mega-menu-wrap-primary
    #mega-menu-primary
    > li.mega-menu-item
    > a.mega-menu-link {
    padding: 0 20px;
  }
}

@media (min-width: 1280px) {
  #page .site-header #mega-menu-wrap-primary .mega-menu-column:last-child {
    border-right: 0;
  }
}

@media (max-width: 1279px) {
  #page .site-header #mega-menu-wrap-primary .mega-menu-column {
    border-right: 0;
  }
}

@media (max-width: 900px) {
  #page .site-footer-below-section-2 .godlo-ue-column {
    flex-basis: 35% !important;
  }
}

@media (min-width: 781px) and (max-width: 1200px) {
  #page .site-above-header-wrap {
    position: relative;
  }

  #page .site-above-header-wrap .ast-builder-grid-row {
    grid-template-columns: 1fr;
  }

  #page .site-above-header-wrap::after {
    content: "";
    position: absolute;
    background: rgba(221, 221, 221, 0.3);
    width: 100%;
    left: 0;
    top: 50%;
    height: 1px;
  }

  #page
    .ast-sticky-active
    .site-primary-header-wrap
    .ast-builder-grid-row-no-center {
    grid-template-columns: 1fr;
    display: grid;
  }

  .ast-container {
    padding-left: 30px;
    padding-right: 30px;
  }

  .ast-above-header.ast-above-header-bar {
    margin-left: 0px;
  }

  .site-above-header-wrap {
    padding-right: 30px;
    padding-left: 45px;
  }

  .ast-builder-menu-3 .menu-item > .menu-link {
    font-size: 0.95em;
  }

  #page .ast-above-header-bar .wpml-ls-legacy-list-horizontal a {
    width: max-content;
  }

  @media (min-width: 975px) and (max-width: 1200px) {
    #mega-menu-wrap-primary
      #mega-menu-primary
      > li.mega-menu-item
      > a.mega-menu-link {
      padding: 0 20px;
    }
  }

  @media (max-width: 835px) {
    #mega-menu-wrap-primary
      #mega-menu-primary
      > li.mega-menu-item
      > a.mega-menu-link {
      font-size: 0.95em;
    }
  }
}

@media (max-width: 781px) {
  /* .ast-builder-language-switcher-menu-item-header:nth-of-type(2) {
    padding-right: 15px;
    padding-left: 8px !important;
    padding-left: 0;
  }

  #page .ast-builder-language-switcher-menu {
    margin-left: 0;
    flex-wrap: inherit;
  }

  #page .ast-builder-language-switcher-menu-item-header:first-of-type {
    padding-left: 15px;
    padding-right: 8px;
  }

  #page .ast-lswitcher-item-header {
    font-size: 1.2em;
    width: max-content;
  } */

  #page .site-header-section-left .wp-block-image {
    margin-bottom: 0;
  }

  #masthead .ast-mobile-header-wrap .ast-above-header-bar,
  .ast-primary-header-bar {
    padding-left: 15px;
    padding-right: 15px;
  }

  #page #masthead .site-logo-img .custom-logo-link img {
    width: 230px;
  }

  #page .mobile-menu-toggle-icon svg {
    display: none;
  }

  #page .ast-button-wrap {
    background: url(/wp-content/uploads/2022/12/Union.svg);
    background-repeat: no-repeat;
    background-size: 22px;
    margin-top: 8px;
  }

  .ast-header-break-point
    .header-widget-area[data-section="sidebar-widgets-header-widget-5"]
    img {
    width: 70px;
  }

  .ast-above-header-bar .ast-builder-grid-row {
    grid-template-columns: 1fr;
  }

  #page .ast-above-header-bar .bs_wcag_shortcode_button_wcag-icon {
    min-height: 18px;
    min-width: 18px;
  }

  /* .ast-builder-language-switcher .ast-builder-language-switcher-item__active {
    display: none;
  } */

  #page .ast-above-header-bar .wpml-ls-legacy-list-horizontal {
    width: max-content;
    padding: 0;
    margin: 0;
    border: 0;
  }

  #page .ast-above-header-bar .wpml-ls-legacy-list-horizontal li {
    border-left: solid 1px rgba(221, 221, 221, 0.3);
    border-right: solid 1px rgba(221, 221, 221, 0.3);
    padding: 25px 12px;
  }

  #page .ast-above-header-bar .wpml-ls-legacy-list-horizontal a {
    padding: 0;
  }

  #page .wpml-ls-legacy-list-horizontal a span {
    color: white;
  }

  .ast-header-break-point
    .header-widget-area[data-section="sidebar-widgets-header-widget-3"] {
    padding: 0;
  }

  #page .site-header-primary-section-left {
    justify-content: space-between;
  }

  .ast-header-break-point #masthead .ast-primary-header-bar.main-header-bar {
    width: auto;
    border-bottom: none;
    padding-right: 0;
  }

  .ast-header-break-point
    #masthead
    .ast-primary-header-bar.main-header-bar
    .ast-builder-grid-row {
    display: block;
  }

  .ast-above-header-wrap .site-header-above-section-left {
    justify-content: space-between;
  }
}

@media (max-width: 360px) {
  #page .ast-builder-language-switcher-menu {
    flex-direction: column;
  }

  #page .ast-builder-language-switcher-menu li {
    padding: 15px 20px !important;
  }

  .ast-builder-language-switcher .ast-builder-language-switcher-item__active {
    justify-content: center;
  }
}

/*MENU DODATKOWE*/

/* #page
  .site-header
  .ast-primary-header-bar
  #mega-menu-primary
  .mega-menu-flyout
  .mega-sub-menu {
  border-top: solid 5px #3758f9;
} */

#page
  .site-header
  .ast-primary-header-bar
  #mega-menu-primary
  .mega-menu-flyout
  .mega-sub-menu
  li
  a {
  background: rgba(29, 33, 86, 0.97) !important;
  color: #ffffff !important;
  font-size: 1em !important;
  padding: 10px !important;
  line-height: 1.5 !important;
}

#page
  .site-header
  .ast-primary-header-bar
  #mega-menu-primary
  .mega-menu-flyout
  .mega-sub-menu
  li
  a:hover {
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

/*MENU FILIPOWE*/

#page .site-primary-header-wrap .bst-fullpage-menu-button {
  background-color: transparent;
  border-color: transparent;
  font-size: 1.2em;
  color: white;
}

#page .site-primary-header-wrap .ast-builder-html-element p {
  margin-bottom: 0;
}

#page .site-primary-header-wrap .bst-fullpage-menu-button:after {
  background-image: url(/wp-content/uploads/2023/10/Vector.svg);
  padding: 12px;
}

#page .site-primary-header-wrap .bst-fullpage-menu__column-title a {
  font-family: "Poppins";
  font-size: 24px;
  font-weight: 600;
  text-decoration: none;
  cursor: default;
}

#page
  .site-primary-header-wrap
  .bst-fullpage-menu__column-title
  a:focus-visible,
#page .site-primary-header-wrap .bst-fullpage-menu__column-title a:hover,
#page
  .site-primary-header-wrap
  .bst-fullpage-menu__column-subtitle
  a:focus-visible,
#page .site-primary-header-wrap .bst-fullpage-menu__column-subtitle a:hover,
#page .site-primary-header-wrap .bst-fullpage-menu__link:focus-visible,
#page .site-primary-header-wrap .bst-fullpage-menu__link:hover {
  color: white !important;
}

#page .site-primary-header-wrap .bst-fullpage-menu__content {
  width: inherit;
  padding: 0 160px;
}

#page .site-primary-header-wrap .bst-fullpage-menu__column-subtitle a {
  font-family: "Poppins";
  font-size: 18px;
  font-weight: 500;
  text-decoration: underline !important;
  text-underline-offset: 4px;
  cursor: default;
}

#page .site-primary-header-wrap .bst-fullpage-menu__link-list {
  margin-left: 0;
  margin-bottom: 2em !important;
}

#page .site-primary-header-wrap .bst-fullpage-menu__subsection {
  padding-bottom: 0;
}

#page .site-primary-header-wrap .bst-fullpage-menu__link {
  font-weight: 300;
}

#page .site-primary-header-wrap .bst-fullpage-menu__link:focus-visible,
#page .site-primary-header-wrap .bst-fullpage-menu__link:hover {
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
}

@media (min-width: 1600) {
  #page .site-primary-header-wrap .bst-fullpage-menu__content {
    width: inherit;
    padding: 0 200px;
  }
}

@media (min-width: 781px) and (max-width: 1200px) {
  #page .site-primary-header-wrap .bst-fullpage-menu__content {
    padding: 0 20px;
  }
}

@media (max-width: 990px) {
  #page .site-primary-header-wrap .bst-fullpage-menu__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  #page .site-primary-header-wrap .bst-fullpage-menu__column {
    width: 100%;
  }
}

/*MENU*/

#page
  .site-primary-header-wrap
  #mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link {
  line-height: 48px;
  height: 48px;
}

/*STOPKA*/

#page #masthead .site-above-header-wrap .main-header-menu li:first-child {
  margin-left: -15px;
}

#page .site-below-footer-wrap .godlo img {
  width: 60px;
  margin-top: 3px;
}

#page .site-below-footer-wrap .godlo-ue img {
  width: 75px;
}

.site-footer {
  font-size: 15px !important;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer .site-above-footer-wrap .site-footer-section-1 {
  margin-top: 8px;
}

.site-footer .site-footer-below-section-2 p {
  display: none;
}

.site-footer .widget {
  margin-bottom: 0.5em;
}

.site-footer .widget_nav_menu .menu a {
  color: #ffffffcc;
  /* font-size: 14px; */
}

.site-footer-section-1 .widget:first-of-type p:first-of-type {
  font-size: 1.4em;
  font-weight: 600;
  line-height: 28.8px;
  margin-top: -8px;
}

.site-footer p {
  color: white;
  line-height: 25px;
  margin-bottom: 0;
}

.site-footer .site-above-footer-wrap a {
  color: white;
}

.site-footer .site-footer-section.site-footer-above-section-2,
.site-footer-above-section-4 {
  margin-top: 35px;
}

.site-footer .site-footer-below-section-1 {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-widget-area[data-section="section-footer-menu"]
  .astra-footer-horizontal-menu {
  justify-content: space-between;
}

.footer-nav-wrap #astra-footer-menu a {
  color: white;
  font-size: 14px;
}

.footer-nav-wrap #astra-footer-menu li:after {
  display: none;
}

.site-below-footer-inner-wrap,
.site-primary-footer-inner-wrap {
  padding-top: 50px;
  border-top: solid 1px #dddddd4d;
}

.site-primary-footer-wrap #nav_menu-7 ul {
  display: flex;
  justify-content: center;
}

.site-primary-footer-wrap #nav_menu-7 ul li {
  margin: 0 12px;
  display: block;
}

.site-primary-footer-wrap #nav_menu-7 ul li a {
  font-size: 13px;
}

.site-primary-footer-wrap #nav_menu-7 .menu-item-object-custom::after {
  display: none;
}

#page .site-footer ul {
  margin-left: 0;
}

#page #astra-footer-menu .menu-item > a {
  padding: 0 4px;
}

#page .footer-bar-navigation {
  margin-left: -4px;
}

#page .site-footer .openid-connect-login-button {
  display: flex;
  margin: 0 !important;
  position: relative;
  z-index: 9;
}

#page .site-footer .openid-connect-login-button a {
  padding: 0;
  text-transform: math-auto;
  font-size: 14px;
  background: transparent;
  border: 0;
}

#page .site-footer .openid-connect-login-button a:hover {
  text-underline-offset: 10px;
}

#page .site-footer .ast-footer-copyright {
  margin-top: -24px;
}

#page .site-footer .ast-footer-copyright p {
  text-align: right !important;
}

@media (min-width: 781px) and (max-width: 1200px) {
  .site-above-footer-wrap[data-section="section-above-footer-builder"],
  .site-primary-footer-wrap[data-section="section-primary-footer-builder"],
  .site-below-footer-wrap[data-section="section-below-footer-builder"] {
    padding-left: 30px;
    padding-right: 30px;
  }

  .site-above-footer-wrap[data-section="section-above-footer-builder"]
    .ast-builder-grid-row,
  .site-above-footer-wrap[data-section="section-above-footer-builder"]
    .site-footer-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  #page .site-footer-above-section-2,
  #page .site-footer-above-section-1,
  #page .site-footer-above-section-3,
  #page .site-footer-above-section-4 {
    grid-template-columns: 1fr;
  }

  #page .site-footer-above-section-2 {
    margin-top: 35px;
  }

  #page .site-footer .site-footer-above-section-3 .wp-block-image {
    display: block;
    text-align: left;
    margin: -25px 0;
  }

  .site-above-footer-wrap[data-section="section-above-footer-builder"]
    .ast-builder-grid-row,
  .site-primary-footer-wrap[data-section="section-primary-footer-builder"]
    .ast-builder-grid-row,
  .site-below-footer-wrap[data-section="section-below-footer-builder"]
    .ast-builder-grid-row {
    padding-left: 0;
    padding-right: 0;
  }

  #page
    .site-footer
    .site-footer-above-section-4
    .wp-block-social-links.wp-container-30 {
    float: left;
  }

  #page .site-footer .menu-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (min-width: 781px) {
  .site-footer {
    background: url(/wp-content/uploads/2023/10/uni_ekonomiczny55.jpg);
    background-size: 100vw;
    background-position: 50% 65%;
  }
}

@media (max-width: 781px) {
  #page .site-footer {
    background-size: 100vw;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-color: black;
  }

  .site-footer .menu-columns {
    display: none;
  }

  .site-above-footer-wrap[data-section="section-above-footer-builder"]
    .ast-builder-grid-row,
  .site-primary-footer-wrap[data-section="section-primary-footer-builder"]
    .ast-builder-grid-row,
  .site-below-footer-wrap[data-section="section-below-footer-builder"]
    .ast-builder-grid-row {
    /* padding-left: 0;
		padding-right: 0; */
    padding: 0;
  }

  .site-below-footer-inner-wrap,
  .site-primary-footer-inner-wrap {
    border: none;
  }

  .site-primary-footer-wrap #nav_menu-7 ul {
    display: block;
  }

  .site-above-footer-wrap[data-section="section-above-footer-builder"]
    .ast-builder-grid-row
    aside {
    text-align: left;
  }

  #page .site-footer .site-footer-above-section-2 {
    margin-top: 0;
  }

  #page .site-footer .site-footer-above-section-2 aside {
    display: flex;
    gap: 50px;
  }

  #page .site-footer .site-footer-above-section-3 .wp-block-image {
    display: block;
    text-align: left;
    margin: -25px 0;
  }

  #page .site-footer .site-footer-above-section-4 {
    margin: 0;
    display: flex;
    justify-content: left;
  }

  #page
    .site-footer
    .site-footer-above-section-4
    .wp-block-social-links.wp-container-30 {
    float: left;
  }

  #page .site-footer-below-section-2 .wp-block-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5px;
  }

  #page .site-footer-below-section-2 .second-columns {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  #page
    .site-footer-below-section-2
    .second-columns
    .wp-block-column:nth-child(2) {
    display: flex;
    justify-content: flex-start;
  }

  #page .site-footer-below-section-2 .wp-block-columns .wp-block-column {
    margin-bottom: 0;
  }

  #page
    .site-footer-below-section-2
    .wp-block-columns
    .wp-block-column
    .wp-block-image {
    margin: 0;
  }

  .site-footer .site-footer-below-section-2 p {
    display: block;
    margin: 30px 0;
    text-align: left;
  }

  #page .site-footer .site-footer-below-section-1 {
    display: flex;
  }

  #page .menu-item-type-custom {
    justify-content: left;
  }

  .footer-nav-wrap #astra-footer-menu a {
    align-self: flex-start;
    padding: 0;
    line-height: 2;
  }

  .footer-nav-wrap #astra-footer-menu li {
    padding: 8px 0;
  }
}

/* logo w stopka 2 - footer-section-logo */
/* biała belka z logo pod stopką - footer-bottom-section-logo */
.footer-section-logo.wp-block-columns {
  display: inline-flex;
}

.footer-section-logo.wp-block-columns .wp-block-column {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.footer-section-logo .bip-footer img {
  height: 60px;
  width: auto;
}

.footer-section-logo .emblem-uew-footer img {
  height: auto;
  width: 75px;
}

.footer-section-logo .emblem-pl-footer img {
  height: auto;
  width: 60px;
}

.footer-bottom-section-logo {
  background-color: #fff;
  margin: 16px 0;
  padding: 0 195px;
}

.footer-bottom-section-logo.wp-block-columns .wp-block-column {
  display: flex;
  flex-direction: row;
}
/* 
.footer-bottom-section-logo.wp-block-columns .wp-block-column:first-child {
  justify-content: flex-start;
}

.footer-bottom-section-logo.wp-block-columns .wp-block-column:nth-child(n + 2) {
  justify-content: center;
}

.footer-bottom-section-logo.wp-block-columns .wp-block-column:last-child {
  justify-content: flex-end;
} */

.footer-bottom-section-logo img {
  height: 71px;
}

.footer-bottom-section-logo .wer-footer img {
  height: 74px;
}

.footer-bottom-section-logo .rp-flag-footer img {
  padding: 5px;
}

.footer-bottom-section-logo .ncbir-footer img {
  padding: 15px;
}

@media (min-width: 1201px) and (max-width: 1599px) {
  .footer-bottom-section-logo {
    padding: 0 145px;
  }
}

@media (min-width: 781px) and (max-width: 1200px) {
  .footer-bottom-section-logo {
    padding: 0 30px;
  }
}

@media (min-width: 781px) and (max-width: 1024px) {
  .footer-bottom-section-logo img {
    height: 60px;
  }
}

@media (max-width: 781px) {
  /*Menu Filipa mobilne*/

  .bst-mobile-sidebar__close-button {
    border: 0;
  }

  .bst-mobile-sidebar__arrow-left {
    border: 0;
    margin-top: 10px !important;
  }

  .footer-section-logo.wp-block-columns {
    display: block;
    text-align: left;
    margin: 0;
  }

  .footer-section-logo.wp-block-columns .wp-block-column:first-child {
    width: 100%;
    margin-right: 0px;
    justify-content: flex-start;
  }

  .footer-section-logo.wp-block-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: auto;
    margin: 40px 0 0 0;
  }

  .footer-section-logo.wp-block-columns .wp-block-column {
    margin: 0;
  }

  .footer-bottom-section-logo {
    padding: 0 20px;
  }

  .footer-bottom-section-logo.wp-block-columns {
    gap: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: start;
  }

  .footer-bottom-section-logo.wp-block-columns .wp-block-column {
    justify-content: center;
  }

  .footer-bottom-section-logo .rp-flag-footer img {
    margin-left: 7px;
  }

  .ast-builder-footer-grid-columns
    .site-below-footer-inner-wrap
    .ast-builder-grid-row {
    padding-top: 0;
  }

  #page .site-footer .openid-connect-login-button {
    margin-top: -16px !important;
  }

  #page .site-footer .ast-footer-copyright {
    margin-top: 16px;
  }

  #page .site-footer .ast-footer-copyright p {
    font-size: 14px;
    text-align: left !important;
  }
}

@media (max-width: 540px) {
  /* .footer-bottom-section-logo.wp-block-columns, */
  #page
    .footer-widget-area[data-section="section-footer-menu"]
    .astra-footer-horizontal-menu {
    display: grid;
    grid-template-columns: repeat(2, [col] 1fr);
    justify-items: flex-start;
  }
}

@media (max-width: 499px) {
  .footer-bottom-section-logo.wp-block-columns,
  #page
    .footer-widget-area[data-section="section-footer-menu"]
    .astra-footer-horizontal-menu {
    grid-template-columns: repeat(1, [col] 1fr);
  }
}

@media (max-width: 440px) {
  #page .site-footer .site-footer-above-section-2 aside {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  #page .site-footer .wp-block-social-links {
    justify-content: flex-start;
  }

  .footer-section-logo.wp-block-columns .wp-block-column:first-child {
    width: 100%;
    margin-right: 0;
  }
}

/* menu z linkami - stopka 2 */
#page .site-footer-below-section-1 .footer-widget-area {
  width: 100%;
}
