/**
Theme Name: AWF - Biblioteka
Author: BonaSoft
Author URI: http://wpastra.com/about/
Description: Motyw powstał w ramach projektu budowy środowiska multiportalowego Akademii Wychowania Fizycznego 2021.
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: awf-biblioteka
Template: astra
*/

/*Miejsce na style Pana Macieja*/

#mega-menu-wrap-primary
  #mega-menu-primary[data-effect="fade_up"]
  li.mega-menu-item.mega-menu-megamenu
  > ul.mega-sub-menu,
#mega-menu-wrap-primary
  #mega-menu-primary[data-effect="fade_up"]
  li.mega-menu-item.mega-menu-flyout
  ul.mega-sub-menu {
  padding: 10px 20px;
  border: 1px solid #adadad58;
  border-top: none;
}

#ast-scroll-top {
  line-height: 2.8;
}

.site-branding.ast-site-identity {
  margin-top: 0;
}

/*BLOG*/

/* .blog .post-thumb img, .archive .post-thumb img{
	height:20px!important;
}
 */
.blog-layout-3.ast-no-date-box.ast-no-thumb .post-content {
  padding-left: 2em;
}

.ast-blog-featured-section.post-thumb.ast-width-md-6 {
  width: 30%;
}

.blog-layout-3 .post-content {
  width: 70%;
}

/* #content .content-area.primary.ast-grid-1{
	margin-top:50px;
} */

.otgs-development-site-front-end {
  display: none;
}

.section-magazine {
  margin-left: 0;
  margin-right: 0;
}

.ast-logo-title-inline .site-logo-img {
  margin-top: -55px;
}

.ast-header-search .astra-search-icon {
  font-size: 22px;
}

.bs_wcag_shortcode_button {
  padding-right: 15px;
}

.bs-menu-background-bar {
  background-color: #005335;
  width: 550px;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 5% 100%);
}

.ast-builder-menu .main-navigation > ul {
  z-index: 9;
}

.ast-header-search .ast-search-menu-icon form.search-form .search-field {
  height: 36px;
}

.ast-container h2 {
  font-family: ballinger, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 2vw;
  color: #1d1d1b;
}

.ast-container b,
.ast-container u {
  color: #00613d;
  font-size: 1.2vw;
}

#clear .ast-container span {
  font-size: 1.2vw;
}

.site-footer-above-section-3.site-footer-section.site-footer-section-3 {
  justify-self: center;
}

.site-footer-above-section-2.site-footer-section.site-footer-section-2 {
  justify-self: center;
}

/*Baner*/

.section-magazine {
  margin-bottom: 0;
}

.search-primo {
  margin: -34px 30% 30px 30%;
  background: white;
  box-shadow: 0px 8px 20px rgba(29, 29, 27, 0.1);
  position: relative;
  padding-top: 15px;
}

.astra-advanced-hook-2343 .button-green-arrow a {
  padding: 0;
  font-family: ballinger, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 1.2vw;
  color: #005335;
  text-align: left;
  padding-top: 0.8vw;
  padding-right: 0 !important;
  letter-spacing: 0.5px;
  background-color: transparent !important;
  border: none;
}

.astra-advanced-hook-2343 .button-green-arrow a:hover {
  color: #005335;
}

#page .astra-advanced-hook-2343 .button-green-arrow::after {
  background-image: url(/wp-content/uploads/2021/11/Group-243-1.svg);
  background-repeat: no-repeat;
  background-size: 1.5vw;
  content: "";
  width: 3vw;
  height: 2.5vw;
  display: inline-block;
  margin-left: 1vw;
}

/*menu*/

#mega-menu-wrap-primary
  #mega-menu-primary
  li.mega-menu-item-has-children
  > a.mega-menu-link
  > span.mega-indicator {
  color: #00613d;
}

#mega-menu-primary .mega-sub-menu {
  box-shadow: 0px 8px 20px rgba(29, 29, 27, 0.1) !important;
}

#mega-menu-primary .mega-sub-menu .mega-menu-item-has-children .mega-sub-menu {
  box-shadow: none !important;
}

#mega-menu-primary
  .mega-sub-menu
  .mega-menu-item-has-children
  .mega-sub-menu
  .mega-menu-link {
  padding-left: 1% !important;
}

#mega-menu-primary
  .mega-sub-menu
  .mega-menu-item-has-children
  .mega-sub-menu
  .mega-menu-link::before {
  content: "🠦";
  color: #005335 !important;
  margin-top: -2.2px !important;
}

/*SIDEBAR BIBLIOTEKI*/

.ast-right-sidebar #secondary {
  margin-top: 0;
}

.sidebar-main .bg-sidebar h3 {
  color: #1d1d1b;
  padding-top: 25px;
  margin-top: 52px;
  border-top: solid 3px #00613d;
  margin-bottom: 15px;
}

.sidebar-main .bg-sidebar p,
.sidebar-main .bg-sidebar a {
  color: #005335;
  font-size: 1.2vw;
}

.sidebar-main .bg-sidebar a:hover {
  text-decoration: underline;
}

.sidebar-main .ibuk {
  margin-top: 50px;
}

/* .sidebar-main .ibuk img{
    width: 20vw;
}

.sidebar-main .katalogi img{
	width:5vw!important;
} */

.sidebar-main .graphic {
  border-top: solid 3px #00613d;
  margin-top: 30px;
}

/*BIBLIOTEKA STRONA GŁÓWNA*/

.section-new-posts .wp-block-latest-posts li {
  border-bottom: 2px solid #d3e1d7;
  padding-bottom: 15px;
  padding-top: 15px;
  /* min-height:12vw; */
}

.section-new-posts .wp-block-latest-posts img {
  height: auto;
  max-width: 20vw !important;
  max-height: 18vw !important;
}

.section-new-posts .wp-block-latest-posts a {
  color: #262626;
  font-size: 1.5vw;
  font-weight: 600;
  text-decoration: none;
  line-height: 1;
}

.section-new-posts .wp-block-latest-posts .read-more a {
  color: #00613d;
  font-size: 1.1vw;
  font-weight: 600;
}

.section-new-posts
  .wp-block-latest-posts
  .wp-block-latest-posts__post-excerpt
  a {
  margin-top: 20px;
}

.section-new-posts .wp-block-latest-posts__post-excerpt {
  font-size: 1.1vw;
  margin-left: 21vw;
}

/*STRONA BLOGA*/

.ast-right-sidebar #primary,
.ast-right-sidebar #secondary {
  border-right: 0;
  margin-top: 0;
  border-left: 0;
}

.ast-single-post .entry-title,
.page-title {
  font-family: ballinger, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 3vw;
  color: #1d1d1b;
}

#page .wp-block-latest-posts__featured-image.alignleft {
  height: 10vw;
}

.blog .post-thumb img,
.archive .post-thumb img {
  height: auto !important;
}

#page .blog-layout-3 p {
  margin-bottom: 1vw !important;
}

.wp-block-latest-posts__post-excerpt,
.section-new-posts .wp-block-latest-posts .read-more {
  margin-bottom: 0 !important;
}

/*Tabele e-zrodla*/

.ezrodla-table {
  margin-bottom: 75px;
}

.ezrodla-table th {
  background: #00613d;
  color: white;
}

.ezrodla-table td {
  color: #262626;
}

.ezrodla-table td a {
  font-size: 16px;
}

/*Tabele*/

.tablepress {
  font-size: 1.2vw;
  color: #1d1d1b;
}

.tablepress td,
.tablepress th {
  padding: 1vw 0;
}

/*TABLET*/

@media (min-width: 781px) and (max-width: 1200px) {
  #page .search-primo {
    margin: -45px 15% 0px 15%;
    padding-top: 10px;
  }

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

  .ast-right-sidebar #primary {
    padding-right: 0;
  }

  #page .astra-advanced-hook-2343 .button-green-arrow::after {
    background-image: url(/wp-content/uploads/2021/11/Group-243-1.svg);
    background-repeat: no-repeat;
    background-size: 25px;
    content: "";
    /* width: 3vw; */
    height: 28px;
    display: inline-block;
    /* margin-left: 1vw; */
  }

  /*Naglowek*/

  .site-primary-header-wrap .ast-builder-grid-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  #page .site-header .menu-text {
    font-size: 16px;
  }

  #mega-menu-wrap-primary
    #mega-menu-primary
    > li.mega-menu-item
    > a.mega-menu-link {
    font-size: 16px;
    padding: 0px 1.2vw 0px 1.2vw;
  }

  /* .site-primary-header-wrap.ast-builder-grid-row-container.site-header-focus-item.ast-container{
		height:135px!important;
	}
	 */
  #page .bs-menu-background-bar {
    width: 565px;
  }

  .ast-logo-title-inline .ast-site-identity {
    padding: 3em 0 0 0;
    margin-bottom: 15px;
  }

  #page .astra-advanced-hook-2343 .button-green-arrow a {
    font-size: 18px;
    padding: 0 !important;
    margin-bottom: 10px;
  }

  .astra-advanced-hook-2343 .button-green-arrow::after {
    background-size: 2vw;
    height: 1.25vw;
  }

  /*Menu*/

  #mega-menu-wrap-primary
    #mega-menu-primary
    > li.mega-menu-megamenu
    > ul.mega-sub-menu
    > li.mega-menu-item
    > a.mega-menu-link,
  #mega-menu-wrap-primary
    #mega-menu-primary
    > li.mega-menu-megamenu
    > ul.mega-sub-menu
    li.mega-menu-column
    > ul.mega-sub-menu
    > li.mega-menu-item
    > a.mega-menu-link {
    font-size: 16px;
  }

  #mega-menu-wrap-primary
    #mega-menu-primary
    > li.mega-menu-megamenu
    > ul.mega-sub-menu
    > li.mega-menu-item
    li.mega-menu-item
    > a.mega-menu-link,
  #mega-menu-wrap-primary
    #mega-menu-primary
    > li.mega-menu-megamenu
    > ul.mega-sub-menu
    li.mega-menu-column
    > ul.mega-sub-menu
    > li.mega-menu-item
    li.mega-menu-item
    > a.mega-menu-link {
    font-size: 14px;
  }

  /*Strona główna*/

  /*Baner*/

  #page .astra-advanced-hook-2343 .jobs-baner-2 {
    height: 400px;
  }

  #page .astra-advanced-hook-2343 .empty-header {
    font-size: 60px;
    -webkit-text-stroke: 1.5px white;
  }

  #page .astra-advanced-hook-2343 h3 {
    font-size: 20px;
  }

  /*Wpisy*/

  .section-new-posts .wp-block-latest-posts li {
    /* height:30vw; */
  }

  #page .section-new-posts .wp-block-latest-posts a {
    font-size: 18px;
  }

  #page .section-new-posts .wp-block-latest-posts__post-excerpt,
  #page .section-new-posts .wp-block-latest-posts .read-more a {
    font-size: 16px;
  }

  #page .section-new-posts .wp-block-latest-posts .read-more {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  #page .wp-block-latest-posts__post-author,
  #page .wp-block-latest-posts__post-date {
    font-size: 14px;
    margin-left: 20vw;
  }

  .clear .button-green-background .wp-block-button__link {
    font-size: 2vw;
  }

  /*sidebar*/

  #page .sidebar-main .bg-sidebar p,
  .sidebar-main .bg-sidebar a {
    font-size: 16px !important;
    margin-bottom: 10px !important;
  }

  /*BLOG*/

  #content .content-area.primary.ast-grid-1 {
    margin-top: 30px;
  }

  #page .blog-layout-3 .entry-title a {
    font-size: 18px;
    line-height: 1 !important;
  }

  #page .blog-layout-3 .post-content {
    margin-bottom: 1em;
  }

  #page .blog-layout-3 p {
    font-size: 16px;
  }

  #page .entry-meta,
  .entry-meta * {
    font-size: 14px !important;
  }

  #page .ast-archive-post .entry-content.clear .read-more a {
    font-size: 16px;
  }
}

/*MOBILKA*/

@media (max-width: 780px) {
  .page-template-default .astra-advanced-hook-2343,
  .post-template-default .astra-advanced-hook-2343 {
    display: none;
  }

  .home .astra-advanced-hook-2343 {
    display: block;
  }

  /*menu*/

  .site-header .menu-text,
  .bs-mobile-extension__section-item-container span,
  .bs-mobile-extension__section-subitem a,
  .ast-search-menu-icon .search-field {
    font-size: 16px;
  }

  #page .bs-mobile-extension__section-item-container .ast-icon.icon-arrow svg {
    color: white;
  }

  #page .bs-mobile-extension__section-subitem {
    padding: 0;
  }

  #page .bs-mobile-extension__section-item {
    margin-bottom: -0.8px;
  }

  .ast-builder-language-switcher-layout-horizontal
    .ast-builder-language-switcher-menu {
    flex-wrap: inherit;
  }

  .ast-button-wrap .menu-toggle.main-header-menu-toggle .mobile-menu {
    font-size: 20px;
  }

  [data-section="section-header-mobile-trigger"]
    .ast-button-wrap
    .mobile-menu-toggle-icon
    .ast-mobile-svg {
    width: 30px;
    height: 30px;
  }

  #ast-hf-mobile-menu {
    background: white;
    display: block;
  }

  #ast-hf-mobile-menu .menu-text {
    color: #262626;
  }

  .ast-header-break-point .ast-icon.icon-arrow svg {
    color: #005335;
  }

  #ast-scroll-top .ast-icon.icon-arrow .ast-arrow-svg {
    color: white;
  }

  #ast-hf-mobile-menu .sub-menu {
    background: #0053350f;
  }

  .ast-header-break-point
    .main-navigation
    ul
    .menu-item
    .menu-link
    .icon-arrow:first-of-type,
  .ast-header-break-point
    .main-navigation
    ul
    .sub-menu
    .menu-item:not(.menu-item-has-children)
    .menu-link
    .icon-arrow:first-of-type {
    display: none;
  }

  .bs_wcag_shortcode_button {
    padding-right: 15px;
  }

  /*Globalne*/

  .ast-container h2 {
    font-size: 30px;
  }

  .ast-container b,
  .ast-container u,
  .ast-container p {
    font-size: 16px;
  }

  .ast-single-post .entry-title,
  .page-title {
    font-size: 40px;
    margin-top: 10px;
  }

  .clear .button-green-background .wp-block-button__link {
    font-size: 18px;
  }

  /*Baner*/

  #page .astra-advanced-hook-2343 .jobs-baner-2 {
    height: calc(100vh - 175px);
  }

  #page .wp-block-cover-image .wp-block-cover__inner-container,
  #page .wp-block-cover .wp-block-cover__inner-container {
    width: inherit;
    padding: 30px 10px;
  }

  .section-magazine-first-column,
  .section-magazine-second-column,
  .section-magazine-first-column img {
    height: 250px;
  }

  #page .astra-advanced-hook-2343 .empty-header {
    font-size: 55px;
    -webkit-text-stroke: 1.5px white;
  }

  #page
    .astra-advanced-hook-2343
    .jobs-baner-2
    .wp-block-cover__inner-container
    h3 {
    font-size: 18px;
  }

  #page .search-primo {
    margin: -35px 10% 15px 10%;
    background: white;
    box-shadow: 0px 8px 20px rgba(29, 29, 27, 0.1);
    position: relative;
    padding: 25px 5px 20px 5px;
  }

  .search-primo .wp-block-column {
    margin: 0;
    text-align: center;
  }

  #page .astra-advanced-hook-2343 .button-green-arrow a {
    padding: 0;
    font-family: ballinger, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    color: #005335;
    text-align: left;
    padding-top: 0.8vw;
    padding-right: 0 !important;
    padding-left: 0 !important;
    letter-spacing: 0.5px;
    background-color: transparent !important;
    border: none;
    text-align: center;
    margin-bottom: 0;
    line-height: 1.5;
  }

  .astra-advanced-hook-2343 .button-green-arrow a:hover {
    color: #005335;
  }

  #page .astra-advanced-hook-2343 .button-green-arrow::after {
    background-image: url(/wp-content/uploads/2021/11/Group-243-1.svg);
    background-repeat: no-repeat;
    background-size: 20px;
    content: "";
    width: 30px;
    height: 20px;
    display: inline-block;
  }

  .astra-advanced-hook-2343 .button-green-arrow {
    margin-bottom: 0;
  }

  .astra-advanced-hook-2343 .wp-block-spacer {
    height: 0 !important;
  }

  /*Home Page*/

  #page .section-new-posts .wp-block-latest-posts li {
    display: flex;
    flex-direction: column;
  }

  #page .section-new-posts {
    margin-top: -60px;
    margin-right: 0;
  }

  #page .section-new-posts .wp-block-latest-posts__post-author,
  #page .section-new-posts .wp-block-latest-posts__post-date {
    font-size: 14px;
    margin-top: 12px;
  }

  #page .section-new-posts .wp-block-latest-posts a {
    font-size: 18px;
  }

  #page .section-new-posts .wp-block-latest-posts li {
    height: auto;
  }

  #page .section-new-posts .wp-block-latest-posts__post-excerpt,
  .section-new-posts .wp-block-latest-posts .read-more a {
    font-size: 16px;
  }

  #page .section-new-posts .wp-block-latest-posts__post-excerpt {
    margin-left: 0;
    margin-bottom: 0;
  }

  #page .section-new-posts .wp-block-latest-posts img {
    height: auto;
    width: auto;
    max-width: 100% !important;
    max-height: 100% !important;
  }

  #page .wp-block-latest-posts__featured-image.alignleft {
    height: auto;
  }

  #page .ast-button::after {
    background-size: 18px;
    width: 25px;
    height: 15px;
    margin-left: 10px;
    margin-bottom: -5px;
  }

  #page .section-new-posts .read-more {
    margin-top: 20px;
  }

  /*Blog*/

  #content .content-area.primary.ast-grid-1 {
    margin-top: 0;
  }

  #page .ast-blog-featured-section.post-thumb.ast-width-md-6,
  #page .blog-layout-3 .post-content {
    width: 100%;
    padding-left: 0;
  }

  #page .ast-blog-featured-section.post-thumb.ast-width-md-6 {
    margin-bottom: 10px;
  }

  #page .blog-layout-3 {
    display: block;
    min-height: auto;
    padding-bottom: 2em;
  }

  #page .blog-layout-3 h2 {
    margin-bottom: 12px !important;
  }

  #page .blog-layout-3 .entry-title a {
    font-size: 18px;
    line-height: 1;
  }

  #page .post .entry-content.clear p {
    font-size: 16px !important;
    margin-top: 0.5em;
  }

  #page .ast-button {
    font-size: 16px !important;
    margin-top: 20px !important;
  }

  #page .entry-meta * {
    font-size: 14px;
  }

  .blog .post-thumb img,
  .archive .post-thumb img {
    width: auto !important;
    height: 66vw !important;
  }

  /*paginacja*/

  #page .ast-pagination .navigation.pagination {
    margin: 50px 0;
  }

  #page .ast-pagination .next.page-numbers::after {
    margin-left: -55px;
    background-size: 18px;
    width: 20px;
    height: 20px;
  }

  #page .ast-pagination .prev.page-numbers::before {
    margin-right: -55px;
    background-size: 18px;
    width: 20px;
    height: 20px;
  }

  #page .ast-pagination .nav-links .page-numbers {
    font-size: 16px;
  }

  .ast-pagination .prev.page-numbers,
  .ast-pagination .next.page-numbers {
    width: auto;
  }

  /*Sidebar*/

  .sidebar-main .ibuk img {
    width: 250px;
  }

  .sidebar-main .logo-awf img {
  }

  .sidebar-main .bg-sidebar p,
  .sidebar-main .bg-sidebar a {
    font-size: 16px;
    margin-bottom: 1em;
  }

  .sidebar-main .bg-sidebar h3 {
    margin-top: 0;
  }

  #page .sidebar-main .bg-sidebar .wp-block-column {
    flex-basis: 30% !important;
    display: flex;
    justify-content: end;
  }

  /* } */

  /*Podstrony*/

  .section-contact-first-column .wp-block-column {
    flex-basis: auto !important;
  }

  /*Footer*/

  .site-footer-above-section-3.site-footer-section.site-footer-section-3 {
    justify-self: flex-start;
  }

  .site-footer-above-section-2.site-footer-section.site-footer-section-2 {
    justify-self: flex-start;
  }

  @media (max-width: 493px) {
    #page .astra-advanced-hook-2343 .button-green-arrow::after {
      position: absolute;
      right: 20vw;
      bottom: 26px;
    }
  }

  @media (max-width: 385px) {
    #page .astra-advanced-hook-2343 .button-green-arrow::after {
      position: absolute;
      right: 20px;
      bottom: 25px;
    }
  }

  @media (max-width: 335px) {
    #page .astra-advanced-hook-2343 .button-green-arrow::after {
      position: absolute;
      right: 10px;
      bottom: 25px;
    }
  }
}

a.ast-button.wcag_set_contrast_fonts_color_1::after,
a.ast-button.wcag_set_contrast_fonts_color_2::after {
  filter: brightness(0) invert(1) !important;
}

/* wcag */

.astra-advanced-hook-2343
  a.wp-block-button__link.wcag_set_contrast_fonts_color_1,
.astra-advanced-hook-2343
  a.wp-block-button__link.wcag_set_contrast_fonts_color_2 {
  color: white !important;
}

@media (max-width: 780px) {
  .ast-header-break-point
    .ast-icon.icon-arrow.wcag_set_contrast_fonts_color_1
    svg,
  .ast-header-break-point
    .ast-icon.icon-arrow.wcag_set_contrast_fonts_color_2
    svg {
    color: white !important;
  }
  .ahfb-svg-iconset.ast-inline-flex.svg-baseline.wcag_set_contrast_fonts_color_1
    svg.ast-mobile-svg.ast-close-svg,
  .ahfb-svg-iconset.ast-inline-flex.svg-baseline.wcag_set_contrast_fonts_color_2
    svg.ast-mobile-svg.ast-close-svg,
  .ahfb-svg-iconset.ast-inline-flex.svg-baseline.wcag_set_contrast_fonts_color_1
    svg.ast-mobile-svg.ast-menu2-svg,
  .ahfb-svg-iconset.ast-inline-flex.svg-baseline.wcag_set_contrast_fonts_color_2
    svg.ast-mobile-svg.ast-menu2-svg {
    fill: white;
  }
}
