@font-face {
  font-family: 'EB Garamond', serif;
}
body {
  font-family: "EB Garamond";
  color: #717171;
  font-weight: 500;
}
body p {
  font-size: 16px;
  font-weight: 500;
}
.navbar-default {
  font-size: 20px;
  background: none;
  border: none;
  border-color: none;
  color: white;
}
.navbar-default .navbar-nav > li > a {
  color: white;
  opacity: 1;
}
.navbar-default .navbar-nav > li > a:hover {
  border-bottom: 2px solid;
  border-bottom-color: white;
  color: white;
  margin-bottom: -2px;
}
.navbar-default .navbar-nav > li > a:focus {
  border: 2px solid;
  border-color: white;
  color: white;
  margin-bottom: -4px;
}
.navbar-default .navbar-nav > li > a:active {
  /*  border: 2px solid;*/
  border-color: none;
  color: white;
  margin-bottom: -4px;
}
.navbar .navbar-nav {
  display: inline-block;
  float: none;
}
.navbar .navbar-collapse {
  text-align: center;
}
.active a {
  background: none;
}
.navbar-nav li {
  padding: 20px;
  color: white;
}
.header {
  background-image: url("../img/bg_top3.jpg");
  background-position: top;
  background-repeat: no-repeat;
  background-size: auto 100%;
}

.header2{
    background-image: url("../img/bg_top3.jpg");
  background-position: top;
  background-repeat: no-repeat;
}

.header .logo, .header2 .logo {
  padding-top: 0;
  margin: 0 auto;
  margin-bottom: 50px;
  color: white;
}
.header .logo img, .header2 .logo img {
  margin: 0 auto;
}
.header .logo a, .header2 .logo a {
  font-size: 35px;
  color: white;
}
.header .logo hr, .header2 .logo hr {
  width: 200px;
  border-width: 10px;
}
.header .boxuslugi {
  margin-top: 50px;
}

.header .boxuslugi .button-box {
  position: relative;
  height: 160px;
  width: 100%; 
  margin: 10px 0;
  background-repeat: no-repeat;
  max-width: 100%;
  display: block;
  max-width:100% !important;
  
}

.header .boxuslugi .button-box h3{
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    color: #fff;
    text-align: center;
    font-size: 36px;
    text-shadow: 2px 2px black;
}

.rozwod{
  background: url("../img/rozwod.png");
  background-position:  bottom; 
  
  }

.podzial {
  background: url("../img/podzial.png");
  background-position:  bottom; 
}
.odszkodowania {
  background: url("../img/odszkodowania.png");
  background-position:  bottom; 
}


.obsluga {
  background: url("../img/obsluga.png");
  background-position:  bottom; 
}

.spadki {
  background: url("../img/spadki.png");
  background-position: bottom;
}

.sprawy {
  background: url("../img/sprawy.png");
  background-position:  bottom;
}


.rozwod:hover, .podzial:hover, .odszkodowania:hover, .obsluga:hover, .spadki:hover, .sprawy:hover{
   background: #0F9D58;
   opacity: 1;
  animation: animationFrames linear 0.5s;
  animation-iteration-count: 1;
  transform-origin: 50% 50%;
  -webkit-animation: animationFrames linear 0.5s;
  -webkit-animation-iteration-count: 1;
  -webkit-transform-origin: 50% 50%;
  -moz-animation: animationFrames linear 0.5s;
  -moz-animation-iteration-count: 1;
  -moz-transform-origin: 50% 50%;
  -o-animation: animationFrames linear 0.5s;
  -o-animation-iteration-count: 1;
  -o-transform-origin: 50% 50%;
  -ms-animation: animationFrames linear 0.5s;
  -ms-animation-iteration-count: 1;
  -ms-transform-origin: 50% 50%;
}

@keyframes animationFrames{
  0% {
    transform:  scaleX(1.00) scaleY(1.00) ;
  }
  100% {
    transform:  scaleX(1.10) scaleY(1.10) ;
  }
}

@-moz-keyframes animationFrames{
  0% {
    -moz-transform:  scaleX(1.00) scaleY(1.00) ;
  }
  100% {
    -moz-transform:  scaleX(1.10) scaleY(1.10) ;
  }
}

@-webkit-keyframes animationFrames {
  0% {
    -webkit-transform:  scaleX(1.00) scaleY(1.00) ;
  }
  100% {
    -webkit-transform:  scaleX(1.10) scaleY(1.10) ;
  }
}

@-o-keyframes animationFrames {
  0% {
    -o-transform:  scaleX(1.00) scaleY(1.00) ;
  }
  100% {
    -o-transform:  scaleX(1.10) scaleY(1.10) ;
  }
}

@-ms-keyframes animationFrames {
  0% {
    -ms-transform:  scaleX(1.00) scaleY(1.00) ;
  }
  100% {
    -ms-transform:  scaleX(1.10) scaleY(1.10) ;
  }
}

.header .boxuslugi .uslugi .opisprawa {
  margin-bottom: 20px;
  margin-left: 10px;
}
.green {
  color: white;
  background-color: #0f9d58;
  height: 100%;
}
.green p {
  margin-top: 20px;
  color: white;
}
.green .spot {
  font-size: 20px;
  font-family: "Times New Roman";
}
.green .spot span {
  font-size: 26px;
  font-family: "Times New Roman";
}
.green .tel {
  font-size: 38px;
}
.green h2 {
  margin-top: 15px;
  margin-bottom: 15px;
}
.green .godz {
  font-size: 24px;
}
.okan {
  margin-top: 50px;
  margin-bottom: 50px;
  font-family: "Times New Roman";
}

.okan p{
  font-family: "Times New Roman";
  
}
.okan hr {
  width: 100px;
  border-width: 5px;
  border-color: #717171;
  margin: 0;
  
}
.okan .lista li {
  margin-left: 50px;
  font-family: "Times New Roman";
  font-size: 16px;
}
.adwokaci {
  margin-top: 100px;
}
.adwokaci .obrazek {
  margin: 0 auto;
}
.adwokaci .belka {
  margin-top: -60px;
}
.adwokaci .oadw {
  margin-top: 30px;
  margin-bottom: 30px;
  padding: 10px;
  font-family: "Times New Roman";
}

.adwokaci .oadw p{
  padding: 10px;
  font-family: "Times New Roman";
  font-size: 14px;
  text-align: justify;
  min-height: 300px;
}
.adwokaci .prostokat {
  border: 2px solid;
  border-color: white;
  color: white;
  background: #0f9d58;
}

.adwokaci .prostokat:hover{
  background: #717171;
}

.adwokaci .prostokat p {
  font-size: 24px;
  margin-top: 10px;
}
.adwokaci .prostokat p span {
  font-size: 16px;
}
.adwokaci .obramowanie {
  border: 1px solid;
  border-color: #d1d1d1;
}
.adwokaci .adwokat {
  margin-top: 10px;
}
.karuzela {
  margin-top: 30px;
  margin-bottom: 30px;
  font-family: "Times New Roman";
}
.karuzela hr {
  width: 100px;
  border-width: 5px;
  border-color: #717171;
  margin-bottom: 20px;
  margin-left: 0;
}
.kontakt {
  width: 100%;
  background: url("../img/bg_form.jpg");
  color: white;
  height: 360px;
  
}

.kontakt p{
    font-family: "Times New Roman";

}

.kontakt .kon2 .mapki {
  margin-top: 50px;
  
}
.kontakt hr {
  width: 100px;
  border-width: 5px;
}
.kontakt h3 {
  padding-top: 50px;
  font-family: "Times New Roman";
}
.formularz {
  background: #0f9d58;
  margin-top: -150px;
  color: white;
  font-weight: 500;
  font-family: "Times New Roman";
}
.formularz label {
  font-weight: 500;
}
.formularz .form {
  margin-top: 50px;
}
.formularz .wyslij {
  margin-bottom: 40px;
}
.kon2 {
  margin-top: 50px;
  font-family: "Times New Roman";
}
.mapki p {
  font-size: 20px;
}
.mapki i {
  font-family: FontAwesome;
  font-style: normal;
  color: #0f9d58;
}
.mapka {
  margin-bottom: 40px;
}

#mapka1{
  height: 300px;
  width: 100%;
}

#mapka2{
  height: 300px;
  width: 100%;
  margin-bottom: 30px;
}

.mapka .map-frame {
  margin-bottom: 40px;
  width: 100%;
}
footer {
  background: #717171;
  color: #d1d1d1;
  height: 100%;
}
footer hr {
  width: 100px;
  border-width: 5px;
}
.stopka {
  padding-top: 20px;
  background: #717171;
}
.stopka .menu-stopka {
  list-style: none;
  display: inline;
  font-family: "Times New Roman";

}

.stopka .menu-stopka li {
  display: inline;
  padding: 10px;
}
.stopka .menu-stopka li a {
  color: #d1d1d1;
}

.stopka .pod{
    font-family: "Times New Roman";

}

.stopka .pod a, .stopka .pod a:hover {
   color: #FFC445;
}


.buttons {
  margin-top: 30px;
  margin-bottom: 20px;
}
.buttons a {
  color: #717171;
}
.buttons .nav-justified > li > a:hover {
  background-color: #0f9d58;
  color: white;
}
.carousel-caption {
  position: static;
  left: 0;
  right: 0;
  color: #717171;
  text-align: justify;
  text-shadow: none;
}
.lewyobrazek {
  margin-bottom: 50px;
}
.tytul {
  margin: 20px 0;
}
.tytul hr {
  width: 100px;
  border-width: 5px;
  border-color: #717171;
  margin-left: 0;
}
/*TOP */

.scrollToTop {
  width: 50px;
  height: 130px;
  text-align: center;
  background: whiteSmoke;
  font-weight: bold;
  color: #444444;
  text-decoration: none;
  position: fixed;
  z-index: 111;
  right: 20px;
  bottom: 0px;
  display: none;
  background: url('../img/move-up.png') no-repeat 0px 20px;
}
.scrollToTop:hover {
  text-decoration: none;
}
@media screen and (max-width: 960px) {
  .header .boxuslugi .uslugi .opislewa {
    margin-right: 0px;
    text-align: center;
  }
}
.wyslano {
  background: #0ba44a;
  color: white;
  height: 200px;
}


@media screen and (max-width: 460px) {
.header .boxuslugi .button-box h3{
    position: absolute;
    left: 50%;
    top: 30%;
    transform: translate(-50%,-50%);
    color: #fff;
    text-align: center;
    font-size: 24px;
}

  .adwokaci .prostokat p{
    font-size: 18px;
  }
}


.carousel-caption {
  padding-top: 0!important;
}

.lewyobrazek{
  padding-top: 20px;
}