/*!
 * Start Bootstrap - Agency v5.0.2 (https://startbootstrap.com/template-overviews/agency)
 * Copyright 2013-2018 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-agency/blob/master/LICENSE)
 */

body {
  overflow-x: hidden;
    font-family: 'Muli', "Open Sans", sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}
img.n {
    max-width: 100%;
    height: auto;
    visibility: visible;
}  
@media (max-width: 768px) {
img.n {
    display: none;
}  
}

p {
    font-size: 16px;
  line-height: 1.75;
}
@media (max-width: 768px) {
  p {
    font-size: 14px;
}  
}
@media (max-width: 768px) {
  h4 {
      text-align: center;
    font-size: 18px;
}  
}
a {
  color: #40A0C0;
}

a:hover {
  color: #004060;
}

.text-primary {
  background: -webkit-gradient(linear, left top, left bottom, from(#30496B), to(#30B8D2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
i. gradient {
 background: -webkit-gradient(linear, left top, left bottom, from(#30496B), to(#30B8D2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;   
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
}

section {
  padding: 40px 0;
}

section h2.section-heading {
  font-size: 25px;
  margin-top: 0;
  margin-bottom: 20px;
     font-weight: 800;
}

section h3.section-subheading {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 25px;
  text-transform: none;
 
}

@media (min-width: 768px) {
  section {
    padding: 70px 0;
  }
    section h2.section-heading {
  font-size: 40px;
        font-weight: 800;
  margin-top: 0;
  margin-bottom: 40px;
}
}
text-blue {
    color: #004060;  
}
.btn {
  font-weight: 700;
}

.btn-xl {
  font-size: 18px;
  padding: 10px 20px;;
    margin-bottom: 20px;
}
@media (max-width: 700px) {
 .btn-xl {
  font-size: 16px;
  padding: 10px 20px;
}   
}
.btn-primary {
  background-color: #30B8D2;
  border-radius: 50px;
    border: none;
}

.btn-primary:active, .btn-primary:focus, .btn-primary:hover {
  background-color: #30496B;
    border-radius: 50px;
}
::-moz-selection {
  background: #30B8D2;
  text-shadow: none;
}

::selection {
  background: #30B8D2;
  text-shadow: none;
}

img::-moz-selection {
  background: transparent;
}

img::selection {
  background: transparent;
}

img::-moz-selection {
  background: transparent;
}

#mainNav {
  background-color: white;
}

#mainNav .navbar-toggler {
  font-size: 12px;
  right: 0;
  padding: 13px;
  color: black;
  border: 0;
  }

#mainNav .navbar-nav .nav-item .nav-link {
  font-weight: 800;
  color: rgba(0, 0, 0, 0.6);
    background-color: white;
}

#mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover {
  color: black;
}

#mainNav.navbar-shrink {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    padding-top: 2px;
    padding-bottom: 2px;
    background-color: white;
  }

@media (min-width: 992px) {
  #mainNav {
    padding-top: 0;
    padding-bottom: 0;
    -webkit-transition: padding-top 0.3s, padding-bottom 0.3s;
    transition: padding-top 0.3s, padding-bottom 0.3s;
    background-color: white;
  }
  #mainNav .navbar-nav .nav-item .nav-link {
      font-size: 14px;
      color: rgba(0, 0, 0, 0.6);
      font-weight: 800;
  }
    #mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover {
  color: black;
}
  #mainNav.navbar-shrink {
      box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    padding-top: 0;
    padding-bottom: 0;
    background-color: white;
  }
   
    #mainNav.navbar-shrink .navbar-nav .nav-item .nav-link {
      color: rgba(0, 0, 0, 0.6);
        font-weight: 800;
  }
    #mainNav.navbar-shrink .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover {
  color: black;
}
}

header.masthead {
  text-align: center;
  color: white;
    background-image: url("../img/bg.jpg");
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
  background-size: cover;
    padding-top: 140px;
  padding-bottom: 30px;
}

header.masthead p {
  font-size: 20px;
  line-height: 30px;
  margin-bottom: 15px;
  
}

header.masthead h2 {
  font-size: 35px;
  font-weight: 800;
  line-height: 35px;
  margin-bottom: 15px;
 
}

@media (min-width: 768px) {
    header.masthead {
  text-align: center;
        background-image: url("../img/bg.jpg");
  color: white;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
  background-size: cover;
        padding-top: 180px;
    padding-bottom: 30px;
}
  header.masthead p {
    font-size: 30px;
      font-weight: 600;
    line-height: 37px;
    margin-bottom: 25px;
    
  }
  header.masthead h2 {
    font-size: 85px;
    font-weight: 800;
    line-height: 40px;
    margin-bottom: 40px;
  }
}
section.masthead {
    padding-top: 120px;
     padding-bottom: 50px;
}
section.masthead h2{
    font-size: 30px;
     font-weight: 800;
   margin-bottom: 25px;
}
section.masthead p{
     font-weight: normal;
}
@media (max-width: 768px) {
 section.masthead {
    padding-top: 120px;
     padding-bottom: 50px;
}
section.masthead h2{
    font-size: 20px;
     font-weight: 800;
   margin-bottom: 25px;
}
section.masthead ol{
    margin-left: 0px;
    margin-right: 0px;
    padding-left: 0px;
    padding-right: 0px;
    font-size: 14px;
     font-weight: normal;
}  
    section.masthead li{
    margin-left: 0px;
    margin-right: 0px;
        padding-left: 0px;
    padding-right: 0px;
}  
    section.masthead h5{
    font-size: 16px;
}  
}
.service-heading {
  margin: 15px 0;
  text-transform: none;
}
.service_box {
    margin-bottom: 15px;
	position: relative;
	z-index: 9;
    height: 450px;
	background: #fff;
	padding: 40px 10px;
    box-shadow: 0px 0px 10px rgba(0,0,0, .15);
}
.service_box:hover {
	box-shadow: 3px 5px 15px rgba(0,0,0, .15);
}
@media (max-width: 768px) {
    .service_box {
    margin-bottom: 15px;
	position: relative;
	z-index: 9;
    height: 380px;
	background: #fff;
	padding: 40px 10px;
    box-shadow: 0px 0px 10px rgba(0,0,0, .15);
}
}
    
.kartka {
    display: block;
    margin: 10px;
    width: auto;
    padding: 10px;
    background-color: white;
    box-shadow: 0px 0px 10px lightgrey;
}
.kartka:hover,
.kartka:focus {
 box-shadow: 0px 0px 25px lightgrey;
}
.img-scale figure {
	overflow: hidden;
}
.img-scale img {
	transform: scale(1);
	-ms-transform: scale(1);
	-webkit-transform: scale(1);
	width: 100%;
	transition: all 2s cubic-bezier(0.23, 1, 0.32, 1) 0s;
	-moz-transition: all 2s cubic-bezier(0.23, 1, 0.32, 1) 0s;
	-webkit-transition: all 2s cubic-bezier(0.23, 1, 0.32, 1) 0s;
	-o-transition: all 2s cubic-bezier(0.23, 1, 0.32, 1) 0s;
}
.img-scale:hover img {
	transform: scale(1.1);
	-webkit-transform: scale(1.1);
	transition: all 2s cubic-bezier(0.23, 1, 0.32, 1) 0s;
	-moz-transition: all 2s cubic-bezier(0.23, 1, 0.32, 1) 0s;
	-webkit-transition: all 2s cubic-bezier(0.23, 1, 0.32, 1) 0s;
	-o-transition: all 2s cubic-bezier(0.23, 1, 0.32, 1) 0s;
}
#portfolio .portfolio-item {
  right: 0;
  margin: 0 0 15px;
}

#portfolio .portfolio-item .portfolio-link {
  position: relative;
  display: block;
  max-width: 400px;
  margin: 0 auto;
  cursor: pointer;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-transition: all ease 0.5s;
  transition: all ease 0.5s;
  opacity: 0;
  background: rgba(64, 160, 192, 0.8);
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover:hover {
  opacity: 1;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content {
  font-size: 20px;
  position: absolute;
  top: 50%;
  width: 100%;
  height: 20px;
  margin-top: -12px;
  text-align: center;
  color: white;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content i {
  margin-top: -12px;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h3,
#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h4 {
  margin: 0;
}

#portfolio .portfolio-item .portfolio-caption {
  max-width: 400px;
  margin: 0 auto;
  padding: 15px;
  text-align: center;
  background-color: #004060;
}

#portfolio .portfolio-item .portfolio-caption h4 {
  margin: 0;
    color: white;
  text-transform: none;
}

#portfolio .portfolio-item .portfolio-caption p {
  font-size: 16px;
  
  margin: 0;
  
}

#portfolio * {
  z-index: 2;
}

@media (min-width: 767px) {
  #portfolio .portfolio-item {
    margin: 0 0 30px;
  }
}

.portfolio-modal {
  padding-right: 0px !important;
}

.portfolio-modal .modal-dialog {
  margin: 1rem;
  max-width: 100vw;
}

.portfolio-modal .modal-content {
  padding: 50px 0;
  text-align: left;
}

.portfolio-modal .modal-content h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

.portfolio-modal .modal-content p {
  margin-bottom: 15px;
}

.portfolio-modal .modal-content p.item-intro {
  font-size: 16px;
  margin: 20px 0 30px;
  
}

.portfolio-modal .modal-content ul.list-inline {
  margin-top: 0;
  margin-bottom: 25px;
}

.portfolio-modal .modal-content img {
  margin-bottom: 30px;
}

.portfolio-modal .modal-content button {
  cursor: pointer;
}

.portfolio-modal .close-modal {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 75px;
  height: 75px;
  cursor: pointer;
  background-color: transparent;
}

.portfolio-modal .close-modal:hover {
  opacity: 0.3;
}

.portfolio-modal .close-modal .lr {
  /* Safari and Chrome */
  z-index: 1051;
  width: 1px;
  height: 75px;
  margin-left: 35px;
  /* IE 9 */
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  background-color: #212529;
}

.portfolio-modal .close-modal .lr .rl {
  /* Safari and Chrome */
  z-index: 1052;
  width: 1px;
  height: 75px;
  /* IE 9 */
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
  background-color: #212529;
}
.team-member {
  margin-bottom: 50px;
  text-align: center;
}

.team-member img {
  width: 225px;
  height: 225px;
  border: 7px solid #fff;
}

.team-member h4 {
  margin-top: 25px;
  margin-bottom: 0;
  text-transform: none;
}

.team-member p {
  margin-top: 0;
}

section#umowa .form-group {
  margin-bottom: 25px;
}

section#umowa .form-group input,
section#umowa .form-group textarea {
  padding: 20px;
}

section#umowa .form-group input.form-control {
  height: auto;
}

section#umowa .form-group textarea.form-control {
  height: 247px;
}

section#umowa .form-control:focus {
  border-color: #30B8D2;
  -webkit-box-shadow: none;
  box-shadow: none;
}

section#umowa ::-webkit-input-placeholder {
  font-weight: 700;
  color: #ced4da;
  
}

section#umowa :-moz-placeholder {
  font-weight: 700;
  color: #ced4da;
  
}

section#umowa ::-moz-placeholder {
  font-weight: 700;
  color: #ced4da;
  
}

section#umowa :-ms-input-placeholder {
  font-weight: 700;
  color: #ced4da;
  
}

footer {
  padding: 25px 0;
  text-align: center;
}

footer span.copyright {
  font-size: 90%;
  line-height: 40px;
  text-transform: none;
}

footer ul.quicklinks {
  font-size: 90%;
  line-height: 40px;
  margin-bottom: 0;
  text-transform: none;
  
}
img.firmy {
    opacity: 1;
    filter: alpha(opacity=50);
}
img.firmy:hover {
    opacity: 0.5;
}
ul.social-buttons {
  margin-bottom: 0;
}

ul.social-buttons li a {
  font-size: 16px;
  line-height: 35px;
  display: block;
  width: 35px;
  height: 35px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  color: white;
  border-radius: 100%;
  outline: none;
  background: #30B8D2;
}

ul.social-buttons li a:active, ul.social-buttons li a:focus, ul.social-buttons li a:hover {
  background: #30496B;
}
section.contact {
    text-align: center;
  color: white;
  background-image: url('../img/podpis.jpg');
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
  background-size: cover;
}
section.contact p {
        line-height: normal;
}
section.contact a {
  color: white;
  font-weight: 800;
}
section.contact a:hover {
  color: #30B8D2;
  font-weight: 800;
    text-decoration: none;
}
@media (max-width: 768px){
    section.contact p {
  font-size: 14px;
        line-height: normal;
}
}
article {
    padding: 90px 0;
    text-align: center;
  color: white;
  background-image: url('../img/li.jpg');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center center;
  background-size: cover;
}
article h5 {
    font-size: 30px;
    font-weight: 700;   
}
article p {
    font-size: 20px;
    font-weight: 500;   
}
@media (max-width: 768px){
 article {
    padding: 60px 0;
    text-align: center;
  color: white;
  background-image: url('../img/li.jpg');
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
  background-size: cover;
}
article h5 {
    font-size: 20px;
    font-weight: 700;   
}
article p {
    font-size: 15px;
    font-weight: 500;   
}   
}