/* Global */

::selection {
  background: #ff193f;
  color: #fff;
}

html {
  scroll-padding-top: 70px;
  orphans: 2;
}

body {
  font-family: Inter,Helvetica Neue,Helvetica,Arial,sans-serif;
  color: var(--bs-gray-400);
  background-color: #212529;
}

a:focus, a:hover {
  color: #b61a2f;
}

a {
  transition: all .2s ease-in-out;
  color: #ff3b5b;
  text-decoration: none;
}

/* Back to top */

.cd-top {
  display: inline-block;
  height: 40px;
  width: 40px;
  position: fixed;
  bottom: 40px;
  right: 10px;
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: #ff193f url(../img/cd-top-arrow.svg) no-repeat center 50%;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s, background-color .3s 0s;
  transition: opacity .3s 0s, visibility 0s .3s, background-color .3s 0s;
  border-radius: 6px;
}

.cd-top.cd-top--show, .cd-top.cd-top--fade-out, .cd-top:hover {
  -webkit-transition: opacity .3s 0s, visibility 0s 0s, background-color .3s 0s;
  transition: opacity .3s 0s, visibility 0s 0s, background-color .3s 0s;
}

@media only screen and (min-width: 768px) {
  .cd-top {
    right: 20px;
    bottom: 20px;
  }
}

@media only screen and (min-width: 1024px) {
  .cd-top {
    height: 60px;
    width: 60px;
    right: 30px;
    bottom: 30px;
  }
}

.cd-top.cd-top--show {
  visibility: visible;
  opacity: 1;
}

.cd-top.cd-top--fade-out {
  opacity: .7;
}

.cd-top:hover {
  background-color: #b40a0a;
  opacity: 1;
}

/* Nav */

/* Hero */

.hero-sec {
  padding: 90px 0px 0px 0px;
  background: linear-gradient(170deg, #25282d 0%, #17191c 100%);
}

.hero-bg {
  background: radial-gradient(rgba(255,255,255,0.08) -17%, #00000000 100%), url("../../assets/img/dot-1.svg") top / 20px repeat;
}

/* Sections */

.section-heading-title {
  position: relative;
  display: inline-block;
}

.section-heading-title:before {
  content: "";
  position: absolute;
  top: 140%;
  left: 33%;
  width: 33%;
  border: 1.5px solid #ed1c24;
}

.toc {
  display: flex;
  flex-direction: column;
}

.toc span {
  margin-bottom: 6px;
}

.toc-h1 {
}

.toc-h2 {
  padding-left: 18px;
}

.toc-h3 {
  padding-left: 36px;
  font-size: 0.9em;
}

/* Dla kogo */

.dla-kogo-box {
  background: url("../../assets/img/frame-1a.svg") top left / auto no-repeat, url("../../assets/img/frame-1b.svg") top right / 40px no-repeat, url("../../assets/img/frame-1c.svg") bottom right no-repeat, url("../../assets/img/frame-1d.svg") bottom left / 26px no-repeat, #212529;
  box-shadow: 0px 0px 16px rgba(0,0,0,0.5);
  padding: 32px;
}

.dla-kogo-box p {
  margin-bottom: 0px;
}

/* Footer */

.footer-dark .copyright {
  text-align: center;
  padding-top: 24px;
  opacity: 0.3;
  font-size: 13px;
  margin-bottom: 0;
}

/* Accordion */

.accordion {
  --bs-accordion-color: #212529;
  --bs-accordion-bg: var(--bs-accordion-bg);
  --bs-accordion-border-color: var(--bs-gray-800);
  --bs-accordion-border-width: 2px;
  --bs-accordion-btn-color: var(--bs-gray-400);
  --bs-accordion-btn-bg: var(--bs-accordion-bg);
  --bs-accordion-btn-focus-border-color: var(--bs-danger);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem var(--bs-danger);
  --bs-accordion-active-color: var(--bs-white);
  --bs-accordion-active-bg: var(--bs-accordion-border-color);
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23dc3545'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Modal */

.modal {
  --bs-modal-border-width: 0px;
  --bs-modal-border-radius: 0rem;
  --bs-modal-inner-border-radius: calc(0rem - 1px);
  --bs-modal-header-border-width: 0px;
  --bs-modal-footer-border-width: 0px;
}

.modal-body > p {
  margin-bottom: 0.4rem;
}

.modal-body > h5 {
  margin: 1rem 0px;
}

.btn-close {
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
}

/* Carousel */

.carousel-control-prev:hover, .carousel-control-prev:focus, .carousel-control-next:hover, .carousel-control-next:focus {
  opacity: 1;
  background-color: rgba(33,37,41,0.5);
}

@media (min-width: 1200px) {
  .svg-bg-lines {
    background: url("../../assets/img/bg-paralax-1.svg") center / cover no-repeat;
  }
}

@media screen and (min-width : 320px) and (max-width : 1200px) {
  .svg-bg-lines {
    background-color: #191b1e;
  }
}

.img-autor-publikacji {
  min-width: 100px;
  max-width: 100px;
  margin-right: 16px;
  margin-bottom: 8px;
  border-radius: 6px;
}

.autor-box {
  margin-bottom: 2rem;
}

.box-zamowienie-etap {
  border-radius: 18px;
  border: 1px solid #0f0f13;
}

.TOC-name {
  margin-left: 0.5rem;
}

.TOC-name::before {
  content: "| ";
}

@media (min-width: 300px) {
  .siatka-autorow {
    display: grid;
    justify-content: center;
  }
}

@media (min-width: 576px) {
  .siatka-autorow {
    display: grid;
    grid-gap: 2px;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: center;
  }
}

