header#masthead {
  position: fixed !important;
  top: 0;
}

body {
  max-width: 100vw;
  overflow: hidden auto;
}

body:not(.front-page) .content-area, body:not(.front-page) .widget-area {
  padding: unset !important;
}

.top-banner {
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 60vh;
  position: relative;
  padding-top: 50px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-banner h1 {
  font-size: 40px;
}



#bankruptcy-page-header,
#restructuring-page-header,
#farmers-page-header{
  background-image: url("/images/new/uslugi.jpg");
  background-position: center center;
}

#uslugi-page-header{
  background-image: url("/images/uslugiprawne/header.png");
  background-position: center center;

}

#aboutus-page-header{
  background-image: url("/images/new/onasold.jpg");
  background-position: center 50%;
  /* min-height: 99vh; */
  min-height: unset !important;
  position: relative;
}

@media (max-width: 992px){
  #aboutus-page-header{
    background-position: center 80%;
    /* min-height: 80vh; */
    margin-top: 75px;
  }
}

@media (max-width: 880px){
  #aboutus-page-header{
    background-position: center 120%;
    /* min-height: 80vh; */
    margin-top: 75px;
  }
}

@media (max-width: 880px){
  #aboutus-page-header{
    background-position: center 130%;
    /* min-height: 80vh; */
    margin-top: 75px;
  }
}

@media (max-width: 768px){
  #aboutus-page-header{
    background-position: center 155%;
    /* min-height: 80vh; */
    margin-top: 75px;
  }
}

@media (max-width: 576px){
  #aboutus-page-header{
    background-position: center 25%;
    /* min-height: 40vh; */
    margin-top: 75px;

  }
}

.fake-img{
  opacity: 0;
  pointer-events: none;
  width: 70%;
  margin: 0 auto;
}

.fake-img + h1{
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(0, 55px);
}




#covid-page-header{
  background-image: url("/images/covid-new.jpg");
  background-position: center center;
}

#court-page-header {
  background-image: url("/images/new/sady.jpg");
  background-position: center center;
}

#blog-page-header {
  background-image: url("/images/new/blog.jpg");
  background-position: center center;
}

#contact-page-header {
  background-image: url("/images/new/kontakt.jpg");
  background-position: center center;
}

#announcements-page-header {
  background-image: url("/images/new/ogloszenia.jpg");
  background-position: center center;
}



@media (max-width: 992px) {
  .top-banner {
    min-height: 70vh;
    padding-bottom: 100px;
  }
}

.top-banner::before {
  clear: both;
  content: " ";
  position: absolute;
  left: 30vw;
  right: 0;
  bottom: -10px;
  top: 0;
  background-image: url(/images/r_gray.svg);
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: contain;
  pointer-events: none;
}

.top-banner::after {
  clear: both;
  content: " ";
  position: absolute;
  left: 0;
  right: 60vw;
  bottom: -10px;
  top: 0;
  background-image: url(/images/r_gray.svg);
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: contain;
  pointer-events: none;
  transform: rotateY(180deg);
}

body.page-template-aboutus {
  background-color: #fff;
}



#announcements-page-header::after,
#announcements-page-header::before,
#bankruptcy-page-header::after,
#bankruptcy-page-header::before,
#restructuring-page-header::after,
#restructuring-page-header::before,
#services-site-farmers::after,
#services-site-farmers::before,
#farmers-page-header::after,
#farmers-page-header::before,
#scheme::before,
#scheme::after,
#services-site::before,
#services-site::after,
#court-page-header::after,
#court-page-header::before,
.page-template-covid-19 .top-banner::after,
.page-template-covid-19 .top-banner::before,
.page-template-services .top-banner::after,
.page-template-services .top-banner::before,
.page-template-aboutus .top-banner::after,
.page-template-aboutus .top-banner::before {
  background-image: url(/images/r_white.svg);
}

@media (max-width: 768px){
  .search,
  .archive,
  .blog{
    background: white;
  }

  #blog-content{
    padding-bottom: 100px;
  }

  .search .top-banner::after,
  .search .top-banner::before,
  .archive .top-banner::after,
  .archive .top-banner::before,
  .blog .top-banner::after,
  .blog .top-banner::before{
    background-image: url(/images/r_white.svg);
  }
}

a.btn-like, textarea, input[type="text"], input[type="email"], input[type="submit"], input[type="tel"] {
  border: 3px solid #D6B571;
  background: #FFFFFF;
  margin-bottom: 20px;
  line-height: 48px;
  height: 56px;
  width: 100%;
}

textarea, input[type="text"], input[type="email"], input[type="tel"]{
  padding: 0 15px;
}

textarea {
  height: calc(56px * 3 + 20px * 2);
  margin: 0 0 -3px 0;
}

textarea:hover, textarea:focus, textarea:active{
  border: 3px solid #D6B571;
}

.btn-like, input[type="submit"] {
  display: inline-block;
  padding: 0 60px;
  width: fit-content;
  width: -moz-fit-content;
  color: #D6B571;
  font-weight: bold;
  margin: 0;
  text-transform: none;
  line-height: 56px;
  text-decoration: none;
}

.button-holder .btn-like, .button-holder input, .button-holder input:hover, .button-holder input:focus, .button-holder input:active {
  background-color: transparent !important;
  border: 3px solid #D6B571;
}

.button-holder {
  background: url('/images/button.svg');
  background-size: 100% 100%;
  position: relative;
  height: 56px;
  width: fit-content;
  width: -moz-fit-content;
  overflow: hidden;
  margin-bottom: 20px;
}

.button-holder .wpcf7-spinner {
  display: none;
}

.button-holder::before {
  content: " ";
  position: absolute;
  left: -15px;
  top: -15px;
  display: block;
  width: 30px;
  height: 30px;
  border: 3px solid #D6B571;
  transform: rotate(45deg);
}

.button-holder::after {
  content: " ";
  position: absolute;
  right: -15px;
  bottom: -15px;
  display: block;
  width: 30px;
  height: 30px;
  border: 3px solid #D6B571;
  transform: rotate(45deg);
}

.textarea-holder {
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.textarea-holder::before {
  content: " ";
  position: absolute;
  right: -25px;
  bottom: -25px;
  display: block;
  width: 45px;
  height: 45px;
  border: 3px solid #D6B571;
  background: #D6B571;
  transform: rotate(45deg);
  z-index: 3;
}

.location-contact-title {
  color: #000;
  font-weight: bold;
  font-size: 16px;
}

.location-contact-address {
  color: #000;
  font-size: 16px;
}

.contact-top {
  position: relative;
}

@media (max-width: 400px){
  .contact-details a{
    font-size: 15px;
  }
  .contact-details img{
    width: 25px;
    height: 25px;
  }
}
@media (max-width: 992px) {
  .contact-top {
    min-height: unset;
  }
}

.contact-top>*:not(img) {
  padding-left: 40px;
}

.contact-top>img {
  position: absolute;
  left: 0;
  top: 5px;
}

.contact-afterbottom {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.contact-top>img {
  color: black;
  margin-right: 20px;
  display: block;
  width: 30px;
  height: 30px;
}

.contact-afterbottom>a {
  display: block;
  margin-left: 10px;
  color: black;
  text-decoration: none;
  line-height: 30px;
  font-size: 16px;
}

.contact-afterbottom>img {
  width: 25px;
  height: 25px;
}

.bg-gray {
  background: #F6F6F4
}

body.page-template-services,
.bg-white {
  background: #FFF
}

.insider {
  min-height: 250px;
  position: relative;
  box-shadow: 0px 6px 11px #00000029;
}

.insider * {
  color: #000;
  margin: 0 0 5px 0;
  text-align: center;
}

.insider-header {
  font-weight: bold;
}

.insider hr {
  border-bottom: 3px solid #D6B571;
  opacity: 1;
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 15px;
}

.contact-bottom {
  position: relative;
  overflow: hidden;
}

.contact-bottom img {
  border: 3px solid #D6B571;
}

.contact-bottom::before {
  content: " ";
  position: absolute;
  right: -15px;
  bottom: -15px;
  display: block;
  width: 30px;
  height: 30px;
  background: #D6B571;
  border: 3px solid #D6B571;
  transform: rotate(45deg);
}

.contact-bottom::after {
  content: " ";
  position: absolute;
  left: -15px;
  top: -15px;
  display: block;
  width: 30px;
  height: 30px;
  background: #D6B571;
  border: 3px solid #D6B571;
  transform: rotate(45deg);
}

footer {
  background: #4B4029;
  min-height: 45vh;
  position: relative;
  padding: 0 !important;
  display: flex;
  align-items: flex-end;
  padding-bottom: 10vh !important;
}

footer::before {
  content: " ";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: url(/images/footer.png) #2A2418;
  background-blend-mode: color-burn;
  /* opacity: 0.18; */
  background-position: center center;
  background-size: cover;
}

.footer-img {
  width: 100%;
  max-width: unset !important;
  pointer-events: none;
}

.site-footer #primary-menu {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  position: relative;
  z-index: 333;
  margin: 50px 0 0 0;
}

.site-footer #primary-menu a {
  color: #D6B571;
  font-weight: bold;
  text-decoration: none;
  font-size: 18px;
  width: calc(100% / 9);
  text-align: center;
}

@media (max-width: 768px){
  .site-footer #primary-menu{
    flex-direction: column;
    padding: 0;
    margin: 0;
  }

  .site-footer #primary-menu a{
    margin-top: 15px;
  }

  footer .container{
    padding-top: 130px;
  }
}

.top-center {
  position: absolute;
  bottom: -38px;
  left: 0;
  right: 0;
}

.totop {
  margin: 0 auto;
  width: 100px;
  height: 100px;
  transform: rotate(45deg);
  background: #D6B571;
  box-shadow: inset 0px 3px 6px #00000029, 0px 3px 6px #00000029;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.totop i {
  font-size: 40px;
  transform: rotate(45deg);
}

.page-template-contact .footer-img.gray {
  display: block !important;
}

.single .footer-img.white,
.page-template-court .footer-img.white,
.search .footer-img.white,
.archive .footer-img.white,
.blog .footer-img.white,
.page-template-covid-19 .footer-img.white,
.page-template-services .footer-img.white,
.page-template-aboutus .footer-img.white,
.page-template-entrepreneur-bankruptcy .footer-img.white,
.page-template-farmers .footer-img.white,
.page-template-entrepreneur-restructuring .footer-img.white,
.page-template-consumer-bankruptcy .footer-img.white,
.page-template-entrepreneur-uslugi .footer-img.gray,
.page-template-announcements .footer-img.white,
.page-template-default .footer-img.white {
  display: block !important;
}

#gain {
  max-width: 100vw;
  overflow: hidden;
  background-image: url("http://szulcwisniewski.pl/wp-content/uploads/2021/12/gain.png");
  background-position: center center;
  background-size: cover;
  position: relative;
  padding-top: 220px;
  padding-bottom: 150px;
}

.full-screen {
  display: flex;
}

#aboutus .container {
  overflow: hidden;
  min-height: 400px;
}

.blog-small-tile {
  background-size: cover;
  background-position: center center;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  position: relative;
  min-height: 250px;
}

.blog-small-tile::before {
  position: absolute;
  content: " ";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.blog-small-tile h2 {
  color: #D6B571;
  font-weight: bold;
  text-decoration: none;
  font-size: 22px;
}

.blog-small-tile p {
  color: #FFFFFF;
  font-size: 15px;
}

.blog-small-tile img {
  pointer-events: none;
  z-index: -3;
  opacity: 0;
  aspect-ratio: 1;
}

.blog-small-tile .content {
  position: absolute;
  left: 20px;
  top: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-evenly;
}

#gain .title {
  position: relative;
}

#gain::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  content: " ";
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
  pointer-events: none;
}

.nowrap {
  white-space: nowrap;
}

#gain::after {
  clear: both;
  content: " ";
  position: absolute;
  left: 0;
  right: -10px;
  bottom: 0;
  top: -1px;
  background-image: url(/images/gg.svg);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: contain;
  pointer-events: none;
}

#gain-menu {
  display: grid;
  grid-template-columns: calc(100% / 3) calc(100% / 3) calc(100% / 3);
  grid-template-rows: calc(100% / 3) calc(100% / 3) calc(100% / 3);
  gap: 20px;
  grid-template-areas:
    "A1 A2 A3"
    "A4 A5 A6"
    "A7 A8 A9";
  padding: 0;
  margin: 0;
  transform: rotate(45deg);
}

.gain-tile span {
  font-weight: bold;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.gain-tile * {
  pointer-events: none;
}

#gain-menu>.gain-tile:nth-child(1) {
  grid-area: A7;
}

#gain-menu>.gain-tile:nth-child(2) {
  grid-area: A4;
}

#gain-menu>.gain-tile:nth-child(3) {
  grid-area: A5;
}

#gain-menu>.gain-tile:nth-child(4) {
  grid-area: A2;
}

#gain-menu>.gain-tile:nth-child(5) {
  grid-area: A3;
}

#gain .title {
  font-size: 40px;
}

#gain .rectangle {
  position: relative;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  max-width: 100%;
}

#gain .inside {
  transform: rotate(45deg);
  text-align: center;
  line-height: 21px;
  font-size: 15px;
  text-decoration: none;
  margin: 0;
}

.gain-row {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 992px) {
  .gain-row {
    min-height: 35vh;
  }
}

.gain-tile {
  border: 3px solid #D6B571;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-90deg);
  cursor: pointer;
}

@media (max-width: 768px) {
  #gain-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(0deg);
    flex-direction: column;
  }

  .gain-tile {
    display: block;
    transform: none !important;
    width: 100%;
    text-align: center;
    height: unset !important;
    padding: 15px 0;
  }

  #gain .inside,
  #gain .rectangle {
    transform: none;
    border: 0;
  }

  .gain-row {
    min-height: unset;
  }
}

body.page-template-announcements,
body.page-template-court,
body.page-template-covid-19,
section#office {
  background: white;
}

form[name='search-form'] {
  width: fit-content;
  width: -moz-fit-content;
  padding: 0;
}

button.search-btn {
  height: 100%;
  color: #D6B571;
}

.blog-tile {
  border: 3px solid #D6B571;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-bottom: 45px !important;
  position: relative;
  text-decoration: none;
}

.blog-tile.sm{
  height: fit-content;
  height: -moz-fit-content;
}

.blog-tile .img-holder {
  min-height: 200px;
  background-position: center center;
  background-size: cover;
}

.blog-tile h2 {
  font-size: 17px;
  color: #2A2418;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 15px;
  text-decoration: none;
}

.blog-tile p:not(.date) {
  font-size: 16px;
  margin-bottom: 15px;
  color: #000000;
}

.blog-tile p.date {
  margin: 0;
  position: absolute;
  bottom: 15px;
  right: 15px;
  color: #707070;
  font-size: 16px;
}

#slider .full-screen::before {
  clear: both;
  content: " ";
  position: absolute;
  left: 0;
  right: 60vw;
  bottom: -30px;
  top: 0;
  background-image: url(/images/l_gray.svg);
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: contain;
  pointer-events: none;
  opacity: 0;
  transition-duration: 0.1s;
}

#slider .full-screen::after {
  clear: both;
  content: " ";
  position: absolute;
  left: 28vw;
  right: 0;
  bottom: -30px;
  top: 0;
  background-image: url(/images/r_gray.svg);
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: contain;
  pointer-events: none;
  opacity: 0;
  transition-duration: 0.1s;
}

#slider .full-screen.visible::after,
#slider .full-screen.visible::before {
  opacity: 1;
  transition-duration: 0.1s;
}

#services::before {
  clear: both;
  content: " ";
  position: absolute;
  left: 40vw;
  right: 0;
  bottom: -10px;
  top: 0;
  background-image: url(/images/r_gray.svg);
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: contain;
  pointer-events: none;
}

#services::after {
  clear: both;
  content: " ";
  position: absolute;
  left: 0;
  right: 40vw;
  bottom: -10px;
  top: 0;
  background-image: url(/images/r_gray.svg);
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: contain;
  pointer-events: none;
  transform: rotateY(180deg);
}

.footer-top {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
}

header.sticky-header {
  box-shadow: 0px 6px 11px #00000029;
}

p#gain-details {
  font-size: 24px !important;
  line-height: 34px !important;
}

#main>*:last-child {
  padding-bottom: 100px;
}

#team {
  padding: 50px 0;
}

.team-title {
  padding-bottom: 50px;
  margin: 0;
}

div.regular {
  color: black;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 1.1px;
}

.team-row {
  padding: 50px 0;
}

.team-row:nth-child(2n) {
  position: relative;
}

.team-row:nth-child(2n)::before {
  position: absolute;
  content: " ";
  background: #F6F6F4;
  left: -100vw;
  right: -100vw;
  top: 0;
  bottom: 0;
}

@media (max-width: 992px) {
  .advantage-tile {
    margin-top: unset;
  }

  p.advantage-text {
    min-height: 70px;
    margin: 0 0 30px 0;
    padding-left: 80px;
  }

  .library-image {
    top: 0 !important;
    left: 0 !important;
    transform: rotate(45deg) scale(0.8);
  }
}

@media (max-width: 768px) {
  .team-person-title {
    font-size: 22px;
  }

  div.regular {
    font-size: 15px;
    line-height: 19px;
  }
}

.mobile-menu,
.mobile-menu:hover {
  background: none !important;
}

@media (max-width: 992px) {
  #primary-menu {
    height: unset !important;
  }

  #site-navigation {
    height: unset;
    max-height: 80vh;
    background: white;
    position: fixed;
    left: 0;
    right: 0;
    top: 76px;
  }
}

.service {
  position: relative;
  line-height: 40px;
  min-height: 40px;
}

.service p {
  padding-left: 50px;
  margin: 0 0 25px 0 !important;
  line-height: 25px;
  display: block;
}

.service img {
  width: 25px;
  height: 25px;
  position: absolute;
  left: 0;
  top: 0;
}

.service.black{
  color: black;
}

.question-row {
  background: #F6F5F4;
}

.collapse-header {
  display: block;
  padding: 15px;
  position: relative;
}

.collapse-header img {
  position: absolute;
  top: 30px;
  height: 30px;
  right: 30px;
  pointer-events: none;
  transform: rotate(0deg);
  transition-duration: 0.3s;
}

.collapse-header-a {
  border: 3px solid #D6B571;
  display: block;
  padding: 15px 65px 15px 15px;
  text-decoration: none;
  color: black !important;
  line-height: 25px;
}

.collapse-header-a[aria-expanded='true']+img {
  transform: rotate(45deg);
  transition-duration: 0.3s;
}

.collapse, .collapsing {
  background: #F6F5F4;
  padding: 0 15px;
}

.card-body {
  background: none;
  border: none;
  border-radius: 0;
  border-left: 3px solid #D6B571;
  margin-bottom: 30px !important;
}

.card-body, .card-body * {
  color: black !important;
}

@media (max-width: 992px){
  .col-12.contact-details{
    flex-direction: column;
  }

  .contact-details a{
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    margin-top: 30px;
  }
}

.text-description{
  color: black;
  line-height: 25px;
  margin-bottom: 15px;
  margin-top: 15px;
}

.page-template-court .service{
  margin-bottom: 15px;
}

.page-template-court .service p{
  line-height: 25px;
}

.team-person-image-2{
  display: block;
  border: 3px solid #D6B571;
  position: relative;
  width: fit-content;
  width: -moz-fit-content;
  overflow: hidden;
  margin-bottom: 30px;
  color: black;
}

.team-person-image-2 > div::before{
  content: " ";
  position: absolute;
  right: -15px;
  bottom: -15px;
  display: block;
  width: 30px;
  height: 30px;
  background: #D6B571;
  border: 3px solid #D6B571;
  transform: rotate(45deg);
}

#court-team{
  padding-top: 50px;
  padding-bottom: 150px;
}

.court-team-top{
  position: relative;
}

.col-12:last-child .court-team-top::before{
  position: absolute;
  left: -100vw;
  right: -100vw;
  top: 50%;
  height: 3px;
  background: #D6B571;
  content: " ";
}

@media (max-width: 768px){
  .col-12 .court-team-top::before{
    position: absolute;
    left: -100vw;
    right: -100vw;
    top: 50%;
    height: 3px;
    background: #D6B571;
    content: " ";
  }
}


::marker{
  color: #D6B571;
  line-height: 0px;
  position: relative;
}


#court-text,
#covid-text,
#text2,
#contact-details{
  min-height: unset;
  padding-bottom: 100px
}

.widget-box{
  border: 3px solid #D6B571;
  padding: 15px;
  width: 100%;
  height: fit-content;
  height: -moz-fit-content;
}

.widget-box h2 {
    color: #D6B571;
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 40px;
}

.widget-number {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    font-size: 30px;
    line-height: 28px;
    color: #707070;
}

.widget-number.sm{
  width: 90px;
  height: 90px;
}

.widget-number.sm img{
  height: 90px;
}

.widget-row{
  position: relative;
  margin-bottom: 25px;
}

.widget-row.sm{
  margin-bottom: 25px !important;
  min-height: 80px;
}

.widget-data{
  padding-left: 40px;
}

.widget-data.sm{
  padding-left: 100px;
}

.widget-data h3{
  color: #2A2418;
  font-weight: bold;
  font-size: 18px;
  margin: 0;
  line-height: 20px;
}

.widget-data p.date {
    color: #707070;
    font-size: 14px;
    opacity: 0.5;
}

#single-content, #single-content *{
  color: black;
  line-height: 28px
}


::selection{
  background: #cccccc;
}

.w-90{
  width: 90%;
}

.gain-tile:hover,
.slider-tile .inside:hover{
  background: #D6B571;
  transition-duration: 0.3s;
}

.main-navigation ul ul{
  border-top: 0;
}

.main-navigation li li a{
  width: 250px;
  background: white;
  text-align: center;
  line-height: 30px;
  border: 0 !important;
  color: black;
}

body.page-template-farmers,
body.page-template-entrepreneur-bankruptcy,
body.page-template-entrepreneur-restructuring,
body.page-template-consumer-bankruptcy{
  background: #FFF;
}

.main-navigation li li a:hover{
  background: #EDEDED;
  transition-duration: 0.3s;
}

#collapse-faq{
  padding: 15px 15px 100px 15px;
}

@media (max-width: 768px){
  .site-footer #primary-menu a{
    width: 100%;
    display: block;
  }
}

.category-box {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.category-tile{
  font-size: 24px;
  color: #6f6c67;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  padding: 15px 40px;
}

.category-tile.current{
  color: black;
  font-weight: bold;
  border-bottom-color: #d6b571;
}

@media (max-width: 768px){
  .category-box{
    display: none;
  }
}


header img{
  max-height: 38px;

}


@media (max-width: 992px){
  #slider-menu {
    display: block;
    margin: 0 auto;
    transform: none;
  }

  .slider-tile span{
    transform: none;
  }

  .slider-tile .inside{
    padding: 15px 20px;
  }

  #slider-menu-holder{
    margin-top: 10px;
  }
}

@media (max-width: 576px){
  #slider-menu-holder{
    margin-top: 350px;
  }

  .blog-small-tile h2{
    font-size: 19px;
  }

  #blog p{
    font-size: 13px;
  }
}

@media (max-width: 400px){
  #slider-menu-holder{
    margin-top: 225px;
    padding-bottom: 200px;
  }

}

#services-description .container{
  padding: 32px 48px;
  border: 2px solid #D6B571;
  margin-bottom: 25px !important;
}

#services-description .service p{
  padding-left: 0 !important;
  display: block;
  text-align: justify;
}

#services-description  .service p:last-child {
    margin-bottom: 0 !important;
}

#services-desc-site{
  background-image: url("/images/uslugiprawne/zakres_uslug.png");
  background-size: cover;
  min-height: 100vh;
  position: relative;
  padding-top: 75px;
  padding-bottom: 250px;
  background-position: 55%;
}

.services-tile-box {
    border: 2px solid #D6B571;
    margin-bottom: 100px;
    padding: 38px;
    position: relative;
}

.services-tile-box h2 {
  font-weight: bold;
  font-size: 26px;
  text-align: left !important;
  color: #D6B571;
  text-shadow: 0px 0px 2px black;
  z-index: 1;
  position: relative;
}


.contact-additional-description p,
.contact-additional-description li,
.services-tile-box li {
    font-size: 16px;
    line-height: 24px;
    padding-bottom: 22px;
    position: relative;
    list-style-type: none;
}

.contact-additional-description p{
  text-align: justify;
}

.contact-additional-description li::before,
.services-tile-box li::before {
  content: " ";
  background: url(/images/uslugiprawne/list-icon.svg);
  display: block;
  width: 2rem;
  height: 2rem;
  position: absolute;
  left: -2rem;
  top: -4px;
  background-size: 1.25rem;
  background-position: center left;
  background-repeat: no-repeat;
}

.services-tile-box-img-holder {
    position: absolute;
    top: -45px;
    right: calc(25% - 45px);
    width: 90px;
    height: 90px;
    background: #D6B571;
    transform: rotate(45deg);
    transform-origin: center center;
}

.services-tile-box-img-holder img {
    transform: rotate(-45deg);
    transform-origin: center center;
    width: 100%;
    height: 100%;
    padding: 20%;
}

section#services-desc-site h1 {
    margin-bottom: 120px !important;
}





#services-desc-site::before{
  clear: both;
  content: " ";
  position: absolute;
  left: 40vw;
  right: 0;
  bottom: -10px;
  top: 0;
  background-image: url(/images/r_gray.svg);
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: contain;
  pointer-events: none;
}

#services-desc-site::after {
  clear: both;
    content: " ";
    position: absolute;
    left: 0;
    right: 40vw;
    bottom: -10px;
    top: 0;
    background-image: url(/images/r_gray.svg);
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: contain;
    pointer-events: none;
    transform: rotateY(180deg);
}

@media (max-width: 1200px){
  .services-tile-box-img-holder{
    top: -36px;
    right: calc(25% - 70px);
    width: 70px;
    height: 70px;
  }

  #services-desc-site{
    padding-bottom: 150px;
    background-position: 55%;
  }
}
