a:focus-visible,
.ast-menu-toggle:focus-visible,
.site .skip-link:focus-visible,
.wp-block-loginout input:focus-visible,
.wp-block-search.wp-block-search__button-inside
  .wp-block-search__inside-wrapper,
.ast-header-navigation-arrow:focus-visible,
.woocommerce .wc-proceed-to-checkout > .checkout-button:focus-visible,
.woocommerce .woocommerce-MyAccount-navigation ul li a:focus-visible,
.ast-orders-table__row .ast-orders-table__cell:focus-visible,
.woocommerce .woocommerce-order-details .order-again > .button:focus-visible,
.woocommerce .woocommerce-message a.button.wc-forward:focus-visible,
.woocommerce #minus_qty:focus-visible,
.woocommerce #plus_qty:focus-visible,
a#ast-apply-coupon:focus-visible,
.woocommerce .woocommerce-info a:focus-visible,
.woocommerce .astra-shop-summary-wrap a:focus-visible,
.woocommerce a.wc-forward:focus-visible,
#ast-apply-coupon:focus-visible,
.woocommerce-js .woocommerce-mini-cart-item a.remove:focus-visible {
  outline-style: dotted !important;
  outline-color: inherit !important;
  outline-width: thin !important;
  border-color: transparent !important;
}

.ast-single-post .entry-content a:hover,
.ast-comment-content a:not(.ast-comment-edit-reply-wrap a):hover {
  text-decoration: none;
}

/* ----KLASY UNIWERSALNE---- */

/* ---custom class margin top and bottom--- */
#page .cc-m-tb-40px {
  margin: 40px 0;
}

#page .cc-mb-0 {
  margin-bottom: 0;
}

/* Content visible only to screen readers */
.sr-only {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  margin: -1px;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

/*WCAG*/

.bst-wcag__button .bst-wcag__button-text {
  display: none;
}

.bst-wcag__button:not(
    [data-wcag-bst-contrast="1"],
    [data-wcag-bst-contrast="2"]
  ) {
  background-color: transparent !important;
  border: none !important;
  padding: 0;
}

.bst-wcag__button .bst-wcag__button-image {
  filter: none !important;
  width: 24px;
  height: 24px;
}

.bst-wcag__button:hover {
  background-color: transparent !important;
  color: white !important;
  border-bottom: solid 1px !important;
  border-radius: 0;
}

/*OGÓLNE USTAWIENIA BLOKÓW*/

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:focus {
  color: #000000;
}

@media (max-width: 1200px) {
  .ast-plain-container.ast-no-sidebar #primary {
    margin-bottom: 60px;
  }
}

/*Formularz kontaktowy*/

.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap textarea {
  border: 1px solid #9c9ea5;
  padding: 8px;
  background: white;
}

.wpcf7-form-control-wrap input:focus,
.wpcf7-form-control-wrap textarea:focus {
  border: 1px solid #ff6200 !important;
}

.wpcf7-form-control-wrap .bst-span-checkbox {
  background: #fff;
  border: solid 1px #adadad;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  margin-top: 3px;
}

.wpcf7-list-item span.wpcf7-list-item-label {
  margin-left: 2vw;
}

.wpcf7-form-control-wrap .wpcf7-form-control .wpcf7-list-item {
  margin-left: 0;
}

.wpcf7-list-item label input:checked ~ .bst-span-checkbox {
  background-color: #192878;
}

.wpcf7-list-item label .bst-span-checkbox:after {
  left: 5px;
  top: 2px;
  width: 5px;
  height: 10px;
}

.wpcf7-list-item label:hover input ~ .bst-span-checkbox {
  background-color: white;
}

/* CONTACT FORM 7 */
/* CF7 custom select arrow */
.wpcf7-form-control-wrap > select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.wpcf7-form-control-wrap select:hover {
  cursor: pointer;
}

/* CF7 checkbox */
.wpcf7 input[type="checkbox"],
.wpcf7 input[type="checkbox"]:checked {
  cursor: pointer;
}

/* ----CSS KONKRETNYCH PODSTRON---- */
/* Zdjęcia na stronie: rekrutacja.test.uew.pl/informacje-praktyczne/dodatkowe-mozliwosci/liderzy-wiedzy-liderzy-sukcesu/oferta-dla-szkol/ */
#page .recuriment-person .wp-block-column .wp-block-image img {
  height: 275px;
  width: 210px;
  -o-object-fit: cover;
  object-fit: cover;
  border: 1px solid #d3d3d3;
  padding: 2px;
}

#page .recuriment-person {
  margin: 40px 0;
}

/* ----PLUGIN COOKIES COMPLIANZ---- */

/* ---Cookie privancy page--- */
#cmplz-document {
  max-width: none;
}

#cmplz-document p:first-child i {
  font-style: normal;
}

#cmplz-document h2,
#cmplz-document h2.annex {
  font-size: 1.6em;
  font-weight: 500;
}

#cmplz-document,
#cmplz-document p,
#cmplz-document span,
#cmplz-document li {
  font-size: 1em;
  line-height: 1.5;
}

/* service header in cookie policy */
#cmplz-cookies-overview .cmplz-dropdown summary div h3,
#cmplz-document .cmplz-dropdown summary div h3 {
  font-size: 1.2em;
}

/* ---PAGE 404--- */

#page .content-404 {
  height: calc(100vh - 195px);
  margin-top: 0 !important;
  margin-bottom: 0;
  color: #343434;
}

#page .content-404::after {
  content: "";
  background: url(/wp-content/uploads/2023/10/Mask-group.svg);
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  z-index: 1;
}

#page .content-404 .wp-block-cover__inner-container {
  position: relative;
  z-index: 9;
}

#page .content-404 .wp-block-cover__background {
  background: var(
    --gradient-gray,
    linear-gradient(136deg, #eef3fa 0%, #fcfdff 102.74%)
  );
}

.content-404 .wp-block-button {
  min-width: 336px;
}

.content-404 h2 {
  font-size: 4em;
  line-height: 64px;
}

.content-404 p {
  font-size: 1.375em;
  line-height: 32px;
  padding: 48px 0;
  margin: 0;
}

#page .button-404 {
  transition: 0.4s ease;
  position: relative;
  z-index: 99;
}

#page .button-404 .wp-block-button:first-of-type a {
  border-radius: 0;
  border: 1px solid #192878;
  background-color: transparent !important;
  color: #192878;
  position: relative;
  z-index: 9999;
}

#page .button-404 .wp-block-button:first-of-type a:hover {
  background-color: #192878 !important;
  border-color: #192878;
  color: white;
}

#page .button-404 .wp-block-button:nth-of-type(2) a {
  border-radius: 0;
  border: 1px solid #192878;
  background-color: #192878 !important;
  color: white;
}

#page .button-404 .wp-block-button:nth-of-type(2) a:hover {
  background-color: transparent !important;
  border-color: #192878;
  color: #192878;
}

@media (max-width: 1200px) {
  .content-404 .wp-block-cover__inner-container {
    margin: 0 5vw;
  }

  .content-404 h2 {
    font-size: 3em;
  }
}

@media (max-width: 780px) {
  .content-404 .wp-block-cover__inner-container {
    margin: 0 10vw;
  }

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

  .content-404 .wp-block-buttons > div.wp-block-button {
    width: 100%;
  }
}

/* ----CUSTOM SCROLL BAR---- */

::-webkit-scrollbar {
  width: 8px;
  -webkit-transition: 0.5s ease;
  transition: 0.5s ease;
}

::-webkit-scrollbar:hover {
  cursor: pointer;
}

Track::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #192878;
  border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
  background: #192878;
}

/* Akredytacje */
.accreditations-first-row,
.accreditations-second-row {
  margin: 40px 160px 40px 160px;
  justify-content: space-between;
}

.accreditations-second-row.second {
  margin-top: 0;
}

.accreditations-first-row img,
.accreditations-second-row img {
  max-height: 120px;
  max-width: 120px;
}

.accreditations-first-row.wp-block-columns .wp-block-column,
.accreditations-second-row.wp-block-columns .wp-block-column {
  max-width: 200px;
}

.accreditations-first-row img,
.accreditations-second-row img {
  -webkit-filter: saturate(0) grayscale(1) contrast(0.4);
  filter: saturate(0) grayscale(1) contrast(0.4);
}

.accreditations-first-row img:hover,
.accreditations-second-row img:hover {
  -webkit-filter: grayscale(0);
  filter: none;
  transition: 0.3s;
}

#page .accreditations-header {
  font-size: 2.5em;
  line-height: 1.4;
}

#page .accreditations-header-2 {
  font-size: 1em;
  line-height: 24px;
  margin: 60px 0;
}

@media(min-width:2500px){

  .accreditations-first-row,
  .accreditations-second-row{
    max-width: 1600px;
    margin: 0 auto;
  }


}

@media (max-width: 1200px) {
  .accreditations-first-row,
  .accreditations-second-row {
    margin: 30px 30px 60px 30px;
  }
}

@media (max-width: 950px) {
  #page .accreditations-header {
    font-size: 1.8em;
    padding: 20px;
  }
}

@media (max-width: 781px) {
  #page .accreditations-first-row,
  #page .accreditations-second-row,
  #page .accreditations-first-row.small-space {
    display: grid;
    justify-items: center;
  }

  #page .accreditations-first-row {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 34px 0;
    margin-top: 40px;
  }

  #page .accreditations-second-row {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 34px 0;
  }

  #page .accreditations-second-row.second {
    margin-top: 34px;
  }

  .accreditations-first-row img,
  .accreditations-second-row img {
    height: auto !important;
    width: 80% !important;
  }
}

@media (max-width: 550px) {
  #page .accreditations-first-row {
    grid-template-columns: 1fr;
  }

  #page .accreditations-second-row {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .accreditations-first-row img,
  .accreditations-second-row img {
    height: auto !important;
    width: 100% !important;
  }
}

/* @media (max-width: 400px) {
  #page .accreditations-first-row,
  #page .accreditations-second-row {
    grid-template-columns: repeat(2, [col] 1fr);
    padding: 0;
  }

  #page .accreditations-header {
    font-size: 1.6em;
    margin: 0 20px;
  }
} */

/* ----Nasz zespół CWB wizytówki----*/
#page .team-cart.wp-block-columns {
  margin: 25px 0;
}

#page .team-cart .wp-block-columns .wp-block-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#page .team-cart .wp-block-columns .wp-block-column p:first-of-type a {
  text-decoration: none;
}

#page .team-cart .wp-block-columns .wp-block-column p {
  margin-top: 5px;
  line-height: 24px;
}

#page .team-cart.wp-block-columns .wp-block-column .wp-block-image img {
  width: 100%;
}

@media (max-width: 1023px) {
  #page .team-cart.wp-block-columns {
    display: grid;
  }

  #page .team-cart.wp-block-columns .wp-block-column .wp-block-image img {
    width: 125px;
  }

  #page .team-cart.wp-block-columns.only-one-person {
    margin-bottom: 0;
    gap: 0;
  }
}

@media (max-width: 781px) {
  #page .team-cart.wp-block-columns {
    margin: 0;
  }

  #page .team-cart.wp-block-columns .wp-block-column .wp-block-columns,
  #page .team-cart.wp-block-columns {
    gap: 0;
  }

  #page .team-cart.wp-block-columns {
    margin: 10px 0 25px 0;
  }
}

/*WYCIĄGNIETE ZDJĘCIE Z IIC.9*/

#page .photo-with-decorations {
  position: relative;
}

#page .photo-with-decorations::before {
  content: "";
  background: #192878;
  height: 24px;
  width: 20%;
  position: absolute;
  top: 20%;
  left: -10%;
}

#page .photo-with-decorations::after {
  content: "";
  background: linear-gradient(136.49deg, #fcfdff 0%, #eef3fa 102.74%);
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  right: -10%;
  z-index: -1;
  margin-top: -10%;
  margin-right: 0;
}
#page .photo-with-decorations img {
  aspect-ratio: 4/3 !important;
}

@media (max-width: 781px) {
  #page .photo-with-decorations::after {
    margin-right: 25px;
    width: 85%;
  }

  #page .photo-with-decorations::before {
    left: -4%;
  }
}

/*KOLUMNY Z GRADIENTEM W TLE*/

#page .gradient-background {
  background: linear-gradient(136.49deg, #eef3fa 0%, #fcfdff 102.74%);
  padding: 2.5em;
}

/* @media (min-width: 781px) and (max-width: 1200px) {
  #page .wp-block-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
} */

/*Pojedyncze wydarzenie*/

.single-mec-events .mec-container .mec-events-meta-group-countdown {
  padding: 0;
}

.single-mec-events .mec-container span,
.single-mec-events .mec-container li,
.single-mec-events .mec-container p {
  font-family: "Poppins";
  color: #4a4a49 !important;
  font-size: 1em !important;
}

.single-mec-events .mec-container h1 {
  font-weight: 600 !important;
}

.mec-countdown-details .countdown-w .clockdiv li p {
  font-size: 15px !important;
}

.single-mec-events .mec-frontbox {
  border-radius: 0;
  padding: 16px;
}

.single-mec-events .mec-events-event-image img {
  border-radius: 0;
}

.mec-single-event-location .author {
  padding-left: 35px !important;
}

.single-mec-events
  .mec-container
  .mec-single-event-location
  .author
  .mec-sl-location-pin,
.single-mec-events .mec-container .mec-fa-angle-right {
  display: none;
}

/*Kalendarz miesięczny*/

.mec-calendar-events-side a,
.mec-calendar-events-side div {
  font-family: "Poppins" !important;
  font-size: 14px;
}

.mec-box-calendar.mec-calendar dt {
  font-family: "Poppins";
  font-weight: 500;
}

.mec-wrap .mec-totalcal-box,
.mec-event-footer {
  border: none;
  background: #eef3fa;
}

.mec-wrap .mec-totalcal-box label,
.mec-wrap .mec-totalcal-box select {
  font-family: "Poppins";
  color: #4a4a49;
}

.mec-wrap .mec-totalcal-box .mec-search-reset-button .mec-button {
  color: white !important;
  font-weight: 500 !important;
  background: #192878 !important;
  border: solid 1px #192878 !important;
  border-radius: 0 !important;
}

.mec-wrap .mec-totalcal-box .mec-search-reset-button .mec-button:hover {
  color: #192878 !important;
  font-weight: 500 !important;
  background: white !important;
  border: solid 1px #192878 !important;
}
