/**
Theme Name: UE - Strona główna
Author: BonaSoft
Author URI: http://wpastra.com/about/
Description: Motyw powstał w ramach projektu budowy środowiska multiportalowego Uniwersytetu Ekonomicznego 2022.
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: ue-strona-glowna
Template: astra
*/
/* 
.home .subpage-blocks{
    margin: 0 !important;
}

.ast-single-post .subpage-blocks{
    margin-left: -160px!important;
    margin-right: -160px!important;
}

.ast-single-post .entry-content{
    margin-left: 160px!important;
    margin-right: 160px!important;
}

.ast-single-post .subpage-blocks-alignfull{
    margin-left: -320px!important;
    margin-right: -320px!important;
} */

/*Globalne ustawienia*/

.page-template-default .page.ast-article-single .post-thumb,
.page-template-default .entry-title {
  display: none;
}

.entry-content .wp-block-columns {
  padding: 0;
}

.entry-content[ast-blocks-layout] > *,
.entry-content[data-ast-blocks-layout] > * {
  max-width: none;
}

#page .full-aligment {
  margin: 60px -160px 120px -160px;
  padding-left: 160px;
  padding-right: 160px;
}

@media (min-width: 2500px) {
  .ast-container {
    max-width: 1600px;
    padding: 0 !important;
  }

  .site-above-footer-wrap[data-section="section-above-footer-builder"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: flex;
    flex-direction: column;
    margin: 0 auto !important;
    align-items: center;
  }

  .site-below-footer-wrap[data-section="section-below-footer-builder"]
    .ast-builder-grid-row {
    max-width: 1600px;
    margin: 0 auto;
    padding: 30px 0 0 0;
  }

  .site-above-footer-wrap[data-section="section-above-footer-builder"]
    .ast-builder-grid-row {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 0 30px 0;
  }

  .footer-bottom-section-logo {
    margin: 16px auto !important;
    max-width: 1600px;
    padding: 0 !important;
  }

  #mega-menu-wrap-primary
    #mega-menu-primary[data-effect="fade_up"]
    li.mega-menu-item.mega-menu-megamenu
    > ul.mega-sub-menu {
    max-width: 1600px;
    margin: 0 auto !important;
    margin-left: auto !important;
  }

  #mega-menu-wrap-primary
    #mega-menu-primary
    > li.mega-menu-megamenu
    > ul.mega-sub-menu {
    right: 0 !important;
  }
}
@media (min-width: 1600px) {
  /* 
    .ast-single-post .subpage-blocks-alignfull{
        margin-left: -400px!important;
        margin-right: -400px!important;
    }

    .ast-single-post .subpage-blocks{
        margin-left: -200px!important;
        margin-right: -200px!important;
    }
    
    .ast-single-post .entry-content{
        margin-left: 200px!important;
        margin-right: 200px!important;
    } */

  #page .full-aligment {
    margin: 60px -200px 120px -200px;
    padding-left: 200px;
    padding-right: 200px;
  }

  #page .important-message {
    padding: 10px 200px !important;
  }

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

  /* #page .site-above-header-wrap {
    padding-left: 175px;
  } */

  #page .big-main-banner .wp-block-cover__inner-container {
    margin-left: 160px !important;
  }

  #page .subpage-banner .wp-block-cover__inner-container {
    margin-left: 200px !important;
  }

  .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: 160px;
    padding-right: 160px;
  }

  #mega-menu-wrap-primary
    #mega-menu-primary[data-effect="fade_up"]
    li.mega-menu-item.mega-menu-megamenu
    > ul.mega-sub-menu {
    margin-left: 200px !important;
  }

  #page .baner-different-photo h1,
  #page .baner-different-photo-post h1 {
    margin-left: 200px !important;
  }

  #page .baner-different-photo-post .baner-meta-posts {
    left: 200px !important;
  }

  #page .block-with-links .wp-block-image img {
    padding-left: 65% !important;
  }

  #page .block-shortcuts .wp-block-column img {
    padding-right: 70% !important;
  }

  #page .block-steps-and-card {
    margin: 60px -200px 120px -200px !important;
    padding: 80px 200px !important;
  }

  /* #page .block-three-column-icon{
        margin: 60px 200px 120px 200px!important;
    } */

  #page .block-two-columns-and-form {
    margin: 60px 100px 120px 100px !important;
  }

  #page .block-slider-cpt {
    margin: 60px -200px 120px -200px !important;
    padding: 80px 200px !important;
  }

  #page .block-posts-with-description-1 {
    margin: 60px -200px -1px 100px !important;
    padding: 100px 200px 0px 100px !important;
  }

  #page .block-posts-with-description-2 {
    margin: 0 -200px 120px 100px !important;
    padding: 0 200px 100px 100px !important;
  }

  /* #page .block-posts-with-description-1 .wp-block-uagb-post-grid.uagb-post-grid img, 
    #page .block-posts-with-description-2 .wp-block-uagb-post-grid.uagb-post-grid img,
    #page .block-four-posts .wp-block-column:nth-child(2) .wp-block-uagb-post-grid.uagb-post-grid img
    {
        height: 250px!important;
        width: 95%!important;
    } */

  #page .block-left-photo .wp-block-column:first-child .wp-block-image img {
    padding: 0 6.3% 0 10% !important;
  }

  #page .block-mix-slider {
    margin: 120px -200px 120px 5% !important;
  }

  #page .block-mix-slider .swiper-button-next {
    right: 200px !important;
  }

  #page .block-mix-slider .swiper-button-prev {
    left: 70% !important;
  }

  #page .block-mix-slider .first-column::before {
    height: 85% !important;
  }

  /* #page .block-four-posts{
        margin: 60px -200px 120px 120px!important;
        padding: 100px 30% 60px 100px!important;
    } */

  #page .event-banner .wp-block-cover__inner-container {
    margin: 0 0 90px 200px !important;
  }

  #page .event-banner .event-information {
    left: 200px !important;
  }

  /* #page .block-four-posts .wp-block-column:first-child .wp-block-uagb-post-grid{
        margin-left: -225px!important;
    } */

  /* .single-layout-1, 
    .ast-single-post .entry-content p,
    .ast-single-post .entry-content  p,
    .ast-single-post .entry-content a,
    .ast-single-post .entry-content li,
    .ast-single-post .entry-content ul,
    .ast-single-post .entry-content ul li,
    .ast-single-post .entry-content ul a,
    .ast-single-post .entry-content ol,
    .ast-single-post .entry-content ol li,
    .ast-single-post .entry-content ol a,
    .ast-single-post .entry-content table th,
    .ast-single-post .entry-content table td,
    .ast-single-post .entry-content table tr{
        margin:0 200px;
    }
     */

  #page .field-of-study-banner .wp-block-cover__inner-container {
    margin: 215px 200px 60px 200px !important;
  }

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

  #page .block-tabs-container {
    margin: 0 -200px 120px -200px !important;
    padding: 0 200px 0 200px !important;
  }

  #page .block-events {
    margin: 60px -200px 120px -200px !important;
    padding: 65px 90px !important;
  }

  #page .other-news {
    margin: 0 200px 120px 200px !important;
  }

  #page .header-other-news {
    margin-left: 200px !important;
    margin-right: 200px !important;
  }
}

@media (min-width: 781px) and (max-width: 1200px) {
  #page .full-aligment {
    margin: 60px -30px 120px -30px;
    padding-left: 30px;
    padding-right: 30px;
  }

  .single-layout-1 {
    margin: 0 100px !important;
  }
}

@media (max-width: 781px) {
  #page .full-aligment {
    margin: 60px -20px 120px -20px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .single-layout-1 {
    margin: 0 !important;
  }
}

/*GLOBALNE USTAWIENIA CZCIONEK*/

p,
.entry-content p,
a,
.entry-content a,
li,
.entry-content li,
ul,
.entry-content ul,
ul li,
.entry-content ul li,
ul a,
.entry-content ul a,
ol,
.entry-content ol,
ol li,
.entry-content ol li,
ol a,
.entry-content ol a,
table th,
.entry-content table th,
table td,
.entry-content table td,
table tr,
.entry-content table tr {
  font-size: 1em;
}

p,
.entry-content .wp-block-columns p,
a,
.entry-content .wp-block-columns a,
li,
.entry-content .wp-block-columns li,
ul,
.entry-content .wp-block-columns ul,
ul li,
.entry-content .wp-block-columns ul li,
ul a,
.entry-content .wp-block-columns ul a,
ol,
.entry-content .wp-block-columns ol,
ol li,
.entry-content .wp-block-columns ol li,
ol a,
.entry-content .wp-block-columns ol a,
table th,
.entry-content .wp-block-columns table th,
table td,
.entry-content .wp-block-columns table td,
table tr,
.entry-content .wp-block-columns table tr {
  line-height: inherit;
}

#page ul,
#page .entry-content ul {
  margin-left: 22px;
}

@media (min-width: 781px) and (max-width: 1200px) {
  h1,
  .entry-content h1 {
    font-size: 2.8em;
  }

  h2,
  .entry-content h2 {
    font-size: 2.2em;
  }

  h3,
  .entry-content h3 {
    font-size: 2em;
  }

  h4,
  .entry-content h4 {
    font-size: 1.5em;
  }

  h5,
  .entry-content h5 {
    font-size: 1.4em;
  }

  h6,
  .entry-content h6 {
    font-size: 1.4em;
  }

  p,
  .entry-content p,
  a,
  .entry-content a,
  li,
  .entry-content li,
  ul,
  .entry-content ul,
  ul li,
  .entry-content ul li,
  ul a,
  .entry-content ul a,
  ol,
  .entry-content ol,
  ol li,
  .entry-content ol li,
  ol a,
  .entry-content ol a,
  table th,
  .entry-content table th,
  table td,
  .entry-content table td,
  table tr,
  .entry-content table tr {
    font-size: 1em;
  }
}

@media (max-width: 781px) {
  h1,
  .entry-content h1 {
    font-size: 2.5em;
  }

  h2,
  .entry-content h2 {
    font-size: 2.2em;
  }

  h3,
  .entry-content h3 {
    font-size: 2em;
  }

  h4,
  .entry-content h4 {
    font-size: 1.8em;
  }

  h5,
  .entry-content h5 {
    font-size: 1.6em;
  }

  h6,
  .entry-content h6 {
    font-size: 1.4em;
  }

  p,
  .entry-content p,
  a,
  .entry-content a,
  li,
  .entry-content li,
  ul,
  .entry-content ul,
  ul li,
  .entry-content ul li,
  ul a,
  .entry-content ul a,
  ol,
  .entry-content ol,
  ol li,
  .entry-content ol li,
  ol a,
  .entry-content ol a,
  table th,
  .entry-content table th,
  table td,
  .entry-content table td,
  table tr,
  .entry-content table tr {
    font-size: 1em;
  }
}

/*PUNKTORY*/

ul,
.entry-content ul,
ol,
.entry-content ol {
  margin-left: 1.2em;
}

ul li,
.entry-content ul li {
  padding-bottom: 0.5em;
}

ul li::marker,
.entry-content ul li::marker {
  color: #192878;
  font-size: 1.4em;
}

ol li,
.entry-content ol li {
  margin: 15px 0;
}

ol li,
.entry-content ol li,
ol > a,
.entry-content ol > a {
  padding-left: 1em;
}

ol ul li,
.entry-content ol ul li,
ol ul > a,
.entry-content ol ul > a {
  padding-left: 1em;
}

ol li::marker,
.entry-content ol li::marker {
  color: #4a4a49;
  font-weight: 600;
}

ol ul li::before,
.entry-content ol ul li::before {
  display: none;
}

/*CYTOWANIE*/

#page .wp-block-pullquote {
  padding-top: 0;
}

#page .wp-block-pullquote blockquote {
  border-left: solid 4px #192878;
  margin-left: 0;
}

#page .wp-block-pullquote p {
  font-size: 0.85em;
  line-height: 32px;
  margin-bottom: 24px;
}

#page .wp-block-pullquote cite {
  font-size: 0.5em;
  text-transform: uppercase;
  color: #bbbbbb;
  font-weight: 600;
}

#page .wp-block-pullquote cite strong {
  color: black;
}

.wp-block-pullquote blockquote::before {
  font-family: "Playfair Display";
  color: #192878;
  margin-top: -45px;
  margin-bottom: 24px;
}

/*PODPIS OBRAZKA*/

.wp-block-image figcaption {
  color: #4a4a49;
  font-weight: 500;
  font-size: 0.85em;
  padding: 8px 0;
  position: relative;
  margin: 0;
  text-align: left;
}

.wp-block-image figcaption::before {
  content: "";
  position: absolute;
  bottom: 0;
  height: 2px;
  width: 20%;
  background-color: #eef3fa;
}

.wp-block-image figcaption strong {
  color: #192878;
}

/*PODPIS OBRAZKA W GALERII*/

#page .wp-block-gallery .wp-block-image figcaption {
  color: #4a4a49;
  background: transparent;
  font-weight: 500;
  font-size: 0.85em;
  padding: 8px 0;
  position: relative;
  text-align: left;
  bottom: 0;
  overflow: visible;
  margin-bottom: -40px;
}

#page .wp-block-gallery .wp-block-image figcaption::before {
  content: "";
  position: absolute;
  bottom: 0;
  height: 2px;
  width: 20%;
  background-color: #eef3fa;
}

#page .wp-block-gallery .wp-block-image figcaption strong {
  color: #192878;
}

/*PAGINACJA*/

.post-page-numbers.current .page-link,
.ast-pagination .page-numbers.current,
.ast-pagination .page-numbers {
  border-radius: 0;
  font-size: 0.85em;
  font-weight: 600;
  letter-spacing: 0.928571px;
  padding: 2px 22px 3px 15px;
  height: 2.5em;
  margin: 0 6px;
}

.ast-pagination .page-numbers {
  border: solid 1px #ececec;
  color: black;
}

.ast-pagination .next.page-numbers,
.ast-pagination .prev.page-numbers {
  padding: 1px;
}

.ast-pagination .next.page-numbers span,
.ast-pagination .prev.page-numbers span {
  display: none;
}

.ast-pagination .next.page-numbers::after {
  content: "";
  background: url(/wp-content/uploads/2023/02/Intersect.svg);
  padding-right: 25px;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0 5px 0 6px;
}

.ast-pagination .prev.page-numbers::after {
  content: "";
  background: url(/wp-content/uploads/2023/02/Intersect-1.svg);
  padding-right: 25px;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0 6px 0 5px;
}

/*TABELA*/

#page .wp-block-table table,
#page .wp-block-table th,
#page .wp-block-table td,
#page .wp-block-table tr {
  padding: 16px;
  border: none;
  background: white;
}

#page .wp-block-table tr {
  border: solid 1px #afe1fa;
}

#page .wp-block-table thead {
  border: none;
}

#page .wp-block-table th {
  background: #192878;
  color: white;
}

/*GALERIA PODSTAWOWA WORDPRESSA*/

#page .wp-block-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 24px;
}

#page .wp-block-gallery .wp-block-image {
  width: 100% !important;
  height: 230px;
}

@media (max-width: 1500px) {
  #page .wp-block-gallery .wp-block-image {
    height: 200px;
  }
}

@media (max-width: 1400px) {
  #page .wp-block-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }

  #page .wp-block-gallery .wp-block-image {
    height: 200px;
  }
}

@media (max-width: 1400px) {
  #page .wp-block-gallery .wp-block-image {
    height: 230px;
  }
}

@media (max-width: 800px) {
  #page .wp-block-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  #page .wp-block-gallery .wp-block-image {
    height: 230px;
  }
}

@media (max-width: 450px) {
  #page .wp-block-gallery {
    display: grid;
    grid-template-columns: 1fr;
  }

  #page .wp-block-gallery .wp-block-image {
    height: 250px;
  }
}
