body {
  background-color: #f8f9f9;
  line-height: 2rem;
  font-family: 'Exo', sans-serif;
  font-size: 1.3rem;
}

b,strong {
  font-weight: bold;
}

.container-fluid {
  width: 90%;
}

.navbar {
  background-color: rgba(6, 6, 6, 0.6);
  font-size: 1rem;
}

.text-danger {
  color: #f74a21 !important;
}

.btn-danger {
  background-color: #f74a21 !important
}

.caption {
  position: absolute;
  right: 15%;
  left: 15%;
  z-index: 10;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #fff;
  top: 100px;
}

.carousel-caption {
  bottom: 20%;
  left: 15%;
  text-align: left;
}

.carousel-caption .ramka {
  padding:10px;
  width: 40%;
}

.carousel-caption .ramka p {
  margin: 0;
}

.carousel .carousel-indicators li {
  background-color: #000;
}

.text-black {
  color: #000;
}

.text-black:hover {
  font-weight: bold;
  color: #000;
}

.caption ul {
  list-style: none;
}

.ramka {
  border: 3px solid #b4b5b1;
}

.linia {
  background-color: #ff3547;
  width: 30%;
  height: 2px;
}

.linia-100 {
  background-color: #ff3547;
  width: 100%;
  height: 2px;
}

#opinie {
  background-image: url('../graf/opinie.jpg');
  background-repeat: no-repeat;
  background-color: #2a3b4f;
  background-position: bottom;
}

.relative {
  position:relative;
}

.absolute {
  position: absolute;
  top: 0;
  right: 1em;
}

.z-1 {
  z-index: -1;
}

.product {
  filter: grayscale(100%);
}

.view .mask {
  position: absolute;
  top: 5%;
  left: 5%;
  overflow: hidden;
  width: 90%;
  height: 90%;
}

#zespol {
  background-image: url('../graf/zes.png');
  background-repeat: no-repeat;
}

#strona,#galeria_wiecej,#poligrafia {
  margin-top: 50px;
}

#strona h1::after, #poligrafia h1::after {
  content: "";
  height: 1px;
  background-color: #7aabe1;
  margin: .5em auto 1.2em;
  display: block;
}

.tel {
  font-size: 0.8rem;
}

.border-embi {
  border: 4px solid #7aabe1;
}

.t-ramka {
  font-family: "Times New Roman", Times, serif;

}

.border-gallery {
  border: 4px solid #b4b5b1;
}

.gray {
  filter: grayscale(100%);
  opacity: 0.5;
  transition: 0.4s;
}

.gray:hover {
  filter: none;
  opacity: 1;
}

.baner-portfolio span {
  margin: 1rem 0 1rem 0;
}

.baner-portfolio-3r {
  font-size: 2rem;
  line-height: 2rem;
  text-shadow: 0 0 4px #000000;
}

.baner-portfolio-4r {
  font-size: 3rem;
  line-height: 3rem;
}

.box {
  position: relative;
  width: calc(100%/4 - 20px);
  margin: 5px;
  display: inline-block;

}

.box:before {
  content: "";
  display: block;
  padding-top: 100%;
}

.content {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  line-height:100%;
  height:100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content a {
  width: 100%;
  height: 100%;
  padding-top: calc(100%/2 - 1rem);
}

.pr-b {
  background-color: #0061cc;
}

.pr-b:hover .litery{
  background-image: url('../graf/portfolio/1.jpg');
  background-repeat: no-repeat;
  background-size: cover;
}

.pr-b:hover .poligrafia{
  background-image: url('../graf/portfolio/6.jpg');
  background-repeat: no-repeat;
  background-size: cover;
}

.pr-b:hover a {
  opacity: 0;
}

.pr-db {
  background-color: #15273d;
}

.pr-db:hover .kasetony{
  background-image: url('../graf/portfolio/2.jpg');
  background-repeat: no-repeat;
  background-size: cover;
}

.pr-db:hover .tapety{
  background-image: url('../graf/portfolio/8.jpg');
  background-repeat: no-repeat;
  background-size: cover;
}

.pr-db:hover a {
  opacity: 0;
}

.pr-r {
  background-color: #f45947;
}

.pr-r:hover .tablice{
  background-image: url('../graf/portfolio/3.jpg');
  background-repeat: no-repeat;
  background-size: cover;
}

.pr-r:hover .inne{
  background-image: url('../graf/portfolio/4.jpg');
  background-repeat: no-repeat;
  background-size: cover;
}

.pr-r:hover .gadgety{
  background-image: url('../graf/portfolio/5.jpg');
  background-repeat: no-repeat;
  background-size: cover;
}

.pr-r:hover .strony{
  background-image: url('../graf/portfolio/7.jpg');
  background-repeat: no-repeat;
  background-size: cover;
}

.pr-r:hover a {
  opacity: 0;
}

@media (min-width:960px) {
  .p-4 {
    padding: 4rem!important;
  }
  .border-embi {
    max-width: 75%;
  }
}

@media (max-width:767px) {
  .box {
    width: calc(100%/2 - 20px);
  }
  .border-embi .h1 {
    font-size: 1.8rem;
  }
  .baner-portfolio-4r {
    font-size: 3rem;
    line-height: 3rem;
  }
  .baner-portfolio-3r {
    font-size: 2rem;
    line-height: 2rem;
  }
  .baner-portfolio span {
    margin: 1rem 0;
  }
}

@media (max-width:767px) and (orientation: landscape) {
  .baner-portfolio-4r {
    font-size: 2rem;
    line-height: 2rem;
  }
  .baner-portfolio-3r {
    font-size: 1rem;
    line-height: 1rem;
  }
  .baner-portfolio span {
    margin: 0;
  }
}

.carousel-multi-item {
  margin: 1rem auto;
}

.clients-img {
  max-height: 4rem;
}

.map-container{
  overflow:hidden;
  padding-bottom:56.25%;
  position:relative;
  height:0;
}
.map-container iframe{
  left:0;
  top:0;
  height:100%;
  width:100%;
  position:absolute;
}
