body {
  font: 500 15px "Tahoma";
}

.main-navigation a:hover {
  color: #D6B571 !important;
}

.site-header {
  height: 75px;
}

.site-header *:not(img) {
  height: 100%;
  text-transform: capitalize;
}

.site-title, .sticky-header .site-title {
  margin: unset;
}

.main-navigation>ul>li>a:after {
  display: none;
}

.main-navigation a,
.sticky-header .main-navigation>ul>li>a {
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-title a {
  display: flex;
  align-items: center;
}

.site-header::before {
  content: " ";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 10px;
  background: white;
  transition-duration: 0.3s;
  z-index: -1;
}

@media (max-width: 992px){
  .site-header::before{
    height: 100% !important;
  }

  #site-navigation a{
    color: black;
  }
}

.sticky-header::before {
  height: 100%;
  transition-duration: 0.3s;
}

.site-branding {
  position: relative;
}

.site-branding::before {
  content: " ";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: white;
  z-index: -1;
  transform: translate(-25px, 0) skew(-45deg);
}

.site-branding::after {
  content: " ";
  position: absolute;
  left: -100vw;
  right: 250px;
  top: 0;
  bottom: 0;
  background: white;
  z-index: -1;
}

.sticky-header {
  background-color: transparent !important;
  border-bottom: 0;
}

.sticky-header * {
  color: #000000 !important;
}

a.skip-link.sr-only {
  display: none;
}

#slider-menu {
  display: grid;
  grid-template-columns: 50% 50%;
  grid-template-rows: 50% 50%;
  gap: 0px 0px;
  grid-template-areas:
    "A1 A2"
    "A3 A4";
  transform: rotate(45deg);
  padding: 0 !important;
  margin: 0 !important;
}

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

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

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

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

.slider-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.slider-caption .row {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.slider-tile .inside {
  border: 3px solid #D6B571;
  height: calc(100% - 30px);
  margin: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-decoration: none;
}

.slider-tile span {
  transform: rotate(-45deg);
  font-weight: bold;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.full-screen{
  min-height: 141vh;
}

h1{
  color: #D6B571;
  font-weight: bold;
  font-size: 30px;
  letter-spacing: 1px;
}

p.regular{
  color: #000;
  font-size: 15px;
  line-height: 28px;
}

#services{
  background-image: url("http://szulcwisniewski.pl/wp-content/uploads/2021/12/pexels-photo-8112201.png");
  background-size: cover;
  min-height: 85vh;
  position: relative;
  padding-top: 40px;
  background-position: center center;
}

@media (max-width: 992px){
  #services{
    min-height: 80vh;
    padding-bottom: 100px;
  }
}

#contact .container{
  min-height: 50vh;
  padding: 50px;
}
.triangle {
    display: none;
}
#colophon{
  background: url("img/footerimg.png") 0% 0% no-repeat padding-box;
  box-shadow: inset 0px 3px 6px #00000029, 0px 3px 6px #00000029;
  height: 60vh;
}
#colophon ul li{
  list-style-type: none;
  display: inline-block;
  padding: 25px;
}
#colophon .footer-list li a{
  font-family: Tahoma;
  text-decoration: none;
  color: #D6B571;
  font-size: 15px;
  text-align: left;
  line-height: 18px;
  font-weight: bold;
}
#aboutus-page-header{
  background-image: url("http://szulcwisniewski.pl/wp-content/uploads/2021/12/IMG_9371-1-scaled.jpg");
}

#office .office-text{
  margin-top: 50px;
  margin-bottom: 50px;
}
#office .office-text p{
  padding: 25px;
  color: #000;
  text-align: left;
  font-family: Tahoma;
  font-size: 16px;
  line-height: 28px;
  border: 3px solid #D6B571;
}
#advantage{
  padding: 50px 0;
}
#benefits{
  padding: 50px 0;
}
.library-image{
  display: block;
  position: absolute;
  width: 60px;
  height: 60px;
  top:-70px;
  left: 15px;
  border: 3px solid #D6B571;
  transform: rotate(45deg);
}
.icon-library{
  transform: rotate(-45deg);
  width: 40px;
  height: 39px;
  padding: 5px;
  margin: 5px;
}
.advantage-title{
  padding-top: 25px;
}
.advantage-tile{
  position: relative;
  margin-top: 30%;
}
.advantage-text{
  color: #000;
  padding-left: 40px;
  font-family: Tahoma;
  line-height: 28px;
  font-weight: normal;
}
#team{
  min-height: 100vh;
}
.team-person-image:not(.team-person-title){
  display: block;
  border: 3px solid #D6B571;
  position: relative;
  width: fit-content;
  width: -moz-fit-content;
}

.team-person-image > div{
  padding-bottom: 30px;
  overflow: hidden;
  position: relative;
}

.team-person-image::after{
  clear: both;
  content: " ";
  position: absolute;
  top: 65%;
  left: -100vw;
  right: 0;
  background: #D6B571;
  height: 3px;
}

.team-person-image > div::before{
  content: " ";
  position: absolute;
  right: -15px;
  bottom: -15px;
  display: block;
  width: 30px;
  height: 30px;
  background: #D6B571;
  border: 3px solid #D6B571;
  transform: rotate(45deg);
}
.team-image{
  position: relative;
  padding: 15px;
  z-index: 1;
}
#team .text-content{
  position: relative;
  margin-left: 15px;
}
.team-person-title{
  color: #000;
  font-weight: bold;
  font-size: 16px;
  font-family: Tahoma;
  text-align: center;
}
#for-who{
  min-height: 50vh;
  padding: 15px 15px 80px 15px;
}
.for-who-title{
  padding-top: 25px;
  margin-left: 24%;
}
.who-list p{
  position: relative;
  color: #000;
  font-size: 16px;
  line-height: 19px;
  font-family: Tahoma;
  font-weight: normal;
  margin-top: 25px;
  margin-left: 50px;
}
.who-list .ikona{
  position: absolute;
}

#services-site{
  background-image: url("http://szulcwisniewski.pl/wp-content/uploads/2021/12/pexels-photo-8112201.png");
  background-size: cover;
  min-height: 100vh;
  position: relative;
  padding-top: 20px;
  padding-bottom: 25px;
}

@media (max-width: 992px){
  #services-site{
    min-height: 90vh;
  }
}

#services-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-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);
}
#services-site .uslugi .ikona{
  position: absolute;
  vertical-align: middle;
  float: left;
}
#services-site p{
  margin-left: 50px;
}
.services-info{
  font-size: 16px;
  padding-top: 25px;
}
#collapse-faq{
  padding: 50px;
}
#collapse-faq .btn{
  position: absolute;
  justify-content: center;
  border: 3px solid #D6B571;
  padding: 15px;
  width: 924px;
}
.btn p{
  font-size: 16px;
  font-family: Tahoma;
}
#covid-text{
  min-height: 80vh;
  padding: 15px;
}
.covid-text-title{
  padding-top: 25px;
  padding-bottom: 25px;
  min-width: 320px;
}
.covid-tarcza p{
  color: #000;
  text-align: left;
  font-size: 16px;
  line-height: 28px;
}
.covid-tarcza .text1{
  padding-bottom: 20px;
}
.covid-tarcza{
  border: 3px solid #D6B571;
  padding: 35px;
}
#scheme{
  min-height: 100vh;
}
#scheme{
  background-image: url("http://szulcwisniewski.pl/wp-content/uploads/2021/12/pexels-photo-8112201.png");
  background-size: cover;
  min-height: 80vh;
  position: relative;
  padding-top: 25px;
}

@media (max-width: 992px){
  #scheme{
    min-height: 80vh;
  }
}

#scheme::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;
}

#scheme::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);
}
#text{
  padding: 15px;
}
.restructuring{
  padding: 35px;
}
.restructuring p{
  color: #000;
  text-align: left;
  font-size: 16px;
  line-height: 28px;
}
#text2{
    min-height: 100vh;
    background-image: url(http://szulcwisniewski.pl/wp-content/uploads/2021/12/gain.png);
    background-size: cover;
    position: relative;
}
#text2 .inside{
  padding-top: 23%;
}
#text2 p{
  position: relative;
  color: #fff;
  line-height: 28px;
  font-family: Tahoma;
}
#text2::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;
}
#text2::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;
}
#contact-details{
  min-height: 100vh;
  padding: 25px;
}
#contact-details .text1{
  color: #000;
  line-height: 28px;
}
.contact-details-items{
  border: 3px solid #D6B571;
  padding: 35px;
}
.contact-details img{
  margin-right: 25px;
}
.contact-details{
  padding: 25px;
}
.col-12.contact-details {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-details a * {
  display: inline-block;
}

.contact-details a {
  display: inline-block;
  font-size: 20px;
  color: #000;
  text-decoration: none;
  font-family: Tahoma;
  line-height: 24px;
  white-space: nowrap;
  min-width: 320px;
}
#court-text{
  min-height: 60vh;
  padding: 10px;
}
.court{
  margin-top: 50px;
  border: 3px solid #D6B571;
  padding: 35px;
}
.court p{
  color: #000;
  font-size: 16px;
  line-height: 28px;
  font-family: Tahoma;
}
#services-site-farmers{
  background-image: url("http://szulcwisniewski.pl/wp-content/uploads/2021/12/pexels-photo-8112201.png");
  background-size: cover;
  min-height: 105vh;
  position: relative;
  padding-top: 20px;
  padding-bottom: 25px;
}

@media (max-width: 992px){
  #services-site-farmers{
    min-height: 110vh;
  }
}

#services-site-farmers::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-site-farmers::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);
}
#services-site-farmers .uslugi .ikona{
  position: absolute;
  vertical-align: middle;
  float: left;
}
#services-site-farmers p{
  margin-left: 50px;
}


@media (max-width: 768px){
  .site-branding{
    width: 70%;
  }
}
