/*!
 * Start Bootstrap - Agency v4.0.0-beta.2 (https://startbootstrap.com/template-overviews/agency)
 * Copyright 2013-2017 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-agency/blob/master/LICENSE)
 */

 @font-face {
  font-family: 'snowflake-font';
  src: url('../css/fonts/DH_snowflakes.ttf')  format('truetype')
}

body {
  overflow-x: hidden;
  font-family: 'Roboto Slab', 'Helvetica Neue', Helvetica, Arial, sans-serif; }

p {
  line-height: 1.75; 
  font-family:'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif}

a {
  color: #0d610c ; }
  a:hover {
    color: #0d610c; }

.text-primary {
  color: #fed136 !important; }

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

section {
  padding: 100px 0; }
  section h2.section-heading {
    font-size: 40px;
    /* color:#af9c3a; */
    background: linear-gradient(90deg, rgba(168,135,62,1) 0%, rgba(240,235,156,1) 50%, rgba(89,69,28,1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 0;
    }
  section h3.section-subheading {
    font-size: 16px;
     color: black;
    font-weight: 400;
    font-style: italic;
    text-transform: none;
    /* font-family: 'Droid Serif', 'Helvetica Neue', Helvetica, Arial, sans-serif;  */
  }

.svgTitle{
    margin-top: 100px;
    color: #0d610c;
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

@media (min-width: 768px) {
  section {
    padding: 150px 0; } }

.btn {
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700; }

.btn-xl {
  font-size: 18px;
  padding: 20px 40px; }

.btn-primary {
  background-color: #77272e;
  border-color: #77272e; }
  .btn-primary:active, .btn-primary:focus, .btn-primary:hover {
    background-color: #FFD700 !important;
    border-color: #FFD700 !important;
    color: white; }
  .btn-primary:active, .btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(254, 209, 55, 0.5) !important; }

::-moz-selection {
  background: #ddd;
  text-shadow: none; }

::selection {
  background: #ddd;
  text-shadow: none; }

img::selection {
  background: transparent; }

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

body {
  -webkit-tap-highlight-color: #ddd; }

  #mainNav .navbar-toggler {
    font-size: 12px;
    right: 0;
    padding: 13px;
    text-transform: uppercase;
    color: black;
    border: 0;
    background-color: #febc58;
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif; }
  #mainNav .navbar-brand {
    color: #fed136;
    font-family: 'Kaushan Script', 'Helvetica Neue', Helvetica, Arial, cursive; }
    #mainNav .navbar-brand.active, #mainNav .navbar-brand:active, #mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
      color: #fec503; }
  #mainNav .navbar-nav .nav-item .nav-link {
    font-weight: 400;
    padding: 0.75em 0;
    letter-spacing: 1px;
    color: white;
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;

     transition: all 0.2s ease-in-out;
      transform: translateZ(0);

}

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

@media (min-width: 1300px) {
    section#contact {
        /* background-image: url(../img/kwiot.png); */
    }

    section#about {
        /*background-image: url(../img/tlo_about.png);*/
    }
}

@media (min-width: 992px) {
  section#about {
    /*background-image: url(../img/tlo_about.png);*/
}

  section#mieszkania {
    /*background-image: url(../img/tlo_mieszkania.png);*/
}

  #mainNav {
    padding-top: 15px;
    padding-bottom: 10px;
    -webkit-transition: padding-top 0.3s, padding-bottom 0.3s;
    -moz-transition: padding-top 0.3s, padding-bottom 0.3s;
    transition: padding-top 0.3s, padding-bottom 0.3s;
    border: none;
    background-color: #212529;
  }

  #mainNav .navbar-brand {
    font-size: 1.75em;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
  }

  #mainNav .navbar-nav .nav-item .nav-link {
    padding: 1.1em 1em !important;
  }

  #mainNav.navbar-shrink {
    padding-top: 0;
    padding-bottom: 0;
    background-color: #212529;
  }

  #mainNav.navbar-shrink ul li a {
    border-style: none !important;
    color: white !important;
    font-size: 2;
  }

  #mainNav.navbar-shrink ul li a:hover {
    color: #FFD700 !important;
  }

  #mainNav.navbar-shrink .navbar-brand {
    font-size: 1.25em;
    padding: 12px 0;
  }

  #mainNav .navbar-nav .nav-item .nav-link {
    color: black;
    margin-top: 30px;
  }

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

  #mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover {
    color: #FFD700 !important;
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
  }

  header.masthead {
    text-align: center;
    color: white;
    /*
      background-image: url("../img/header-bg.jpg");
    */
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }

  header.masthead .intro-text {
    padding-top: 150px;
    padding-bottom: 100px;
  }

  header.masthead .intro-text .intro-lead-in {
    font-size: 22px;
    font-style: italic;
    line-height: 22px;
    margin-bottom: 25px;
    font-family: 'Droid Serif', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }

  header.masthead .intro-text .intro-heading {
    font-size: 50px;
    font-weight: 700;
    font-size: 50px;
    font-size: 50px;

    line-height: 50px;
    margin-bottom: 25px;
    line-height: 50px;

    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }

  @media (min-width: 768px) {
    header.masthead .intro-text {
      padding-top: 300px;
      padding-bottom: 200px;
    }

    header.masthead .intro-text .intro-lead-in {
      font-size: 40px;
      font-style: italic;
      line-height: 40px;
      margin-bottom: 25px;
      font-family: 'Droid Serif', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    }

    header.masthead .intro-text .intro-heading {
      font-size: 75px;
      font-weight: 700;
      line-height: 75px;
      margin-bottom: 50px;
      font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    }
  }

  .service-heading {
    margin: 15px 0;
    text-transform: none;
  }
  
  #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;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
  }

  #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: 25px;
    text-align: center;
    background-color: #fff;
  }

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

  #portfolio .portfolio-item .portfolio-caption p {
    font-size: 16px;
    font-style: italic;
    margin: 0;
    font-family: 'Droid Serif', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }

  #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 {
    background-color: #2d2c2c;
  }

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

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

  .portfolio-modal .modal-content p.item-intro {
    font-size: 16px;
    font-style: italic;
    margin: 20px 0 30px;
    font-family: 'Droid Serif', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }

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

  .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: 35px;
    margin-left: 35px;
    /* IE 9 */
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    background-color: white;
  }

  .portfolio-modal .close-modal .lr .rl {
    /* Safari and Chrome */
    z-index: 1052;
    width: 1px;
    height: 35px;
    /* IE 9 */
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
    background-color: white;
  }

  .timeline {
    position: relative;
    padding: 0;
    list-style: none;
  }

  .timeline:before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 2px;
    margin-left: -1.5px;
    content: '';
    background-color: #e9ecef;
  }

  .timeline > li {
    position: relative;
    min-height: 50px;
    margin-bottom: 50px;
  }

  .timeline > li:after, .timeline > li:before {
    display: table;
    content: ' ';
  }

  .timeline > li:after {
    clear: both;
  }

  .timeline > li .timeline-panel {
    position: relative;
    float: right;
    width: 100%;
    padding: 0 20px 0 100px;
    text-align: left;
  }

  .timeline > li .timeline-panel:before {
    right: auto;
    left: -15px;
    border-right-width: 15px;
    border-left-width: 0;
  }

  .timeline > li .timeline-panel:after {
    right: auto;
    left: -14px;
    border-right-width: 14px;
    border-left-width: 0;
  }

  .timeline > li .timeline-image {
    position: absolute;
    z-index: 100;
    left: 0;
    width: 80px;
    height: 80px;
    margin-left: 0;
    text-align: center;
    color: white;
    border: 7px solid #e9ecef;
    border-radius: 100%;
    background-color: #fed136;
  }

  .timeline > li .timeline-image h4 {
    font-size: 10px;
    line-height: 14px;
    margin-top: 12px;
  }

  .timeline > li.timeline-inverted > .timeline-panel {
    float: right;
    padding: 0 20px 0 100px;
    text-align: left;
  }

  .timeline > li.timeline-inverted > .timeline-panel:before {
    right: auto;
    left: -15px;
    border-right-width: 15px;
    border-left-width: 0;
  }

  .timeline > li.timeline-inverted > .timeline-panel:after {
    right: auto;
    left: -14px;
    border-right-width: 14px;
    border-left-width: 0;
  }

  .timeline > li:last-child {
    margin-bottom: 0;
  }

  .timeline .timeline-heading h4 {
    margin-top: 0;
    color: inherit;
  }

  .timeline .timeline-heading h4.subheading {
    text-transform: none;
  }

  .timeline .timeline-body > ul,
  .timeline .timeline-body > p {
    margin-bottom: 0;
  }

  @media (min-width: 768px) {
    .timeline:before {
      left: 50%;
    }

    .timeline > li {
      min-height: 100px;
      margin-bottom: 100px;
    }

    .timeline > li .timeline-panel {
      float: left;
      width: 41%;
      padding: 0 20px 20px 30px;
      text-align: right;
    }

    .timeline > li .timeline-image {
      left: 50%;
      width: 100px;
      height: 100px;
      margin-left: -50px;
    }

    .timeline > li .timeline-image h4 {
      font-size: 13px;
      line-height: 18px;
      margin-top: 16px;
    }

    .timeline > li.timeline-inverted > .timeline-panel {
      float: right;
      padding: 0 30px 20px 20px;
      text-align: left;
    }
  }

  @media (min-width: 992px) {
    .timeline > li {
      min-height: 150px;
    }

    .timeline > li .timeline-panel {
      padding: 0 20px 20px;
    }

    .timeline > li .timeline-image {
      width: 150px;
      height: 150px;
      margin-left: -75px;
    }

    .timeline > li .timeline-image h4 {
      font-size: 18px;
      line-height: 26px;
      margin-top: 30px;
    }

    .timeline > li.timeline-inverted > .timeline-panel {
      padding: 0 20px 20px;
    }
  }

  @media (min-width: 1200px) {
    .timeline > li {
      min-height: 170px;
    }

    .timeline > li .timeline-panel {
      padding: 0 20px 20px 100px;
    }

    .timeline > li .timeline-image {
      width: 170px;
      height: 170px;
      margin-left: -85px;
    }

    .timeline > li .timeline-image h4 {
      margin-top: 40px;
    }

    .timeline > li.timeline-inverted > .timeline-panel {
      padding: 0 100px 20px 20px;
    }
  }

  .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#about {
    background-repeat: no-repeat;
    background-position: right 0px top 0px;
  }

  section#contact {
    background-color: #212529;
    background-repeat: no-repeat;
    background-position: left 0px top 0px;
  }

  section#contact .section-heading {
    color: #FFD700;
  }

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

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

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

  section#contact .form-group textarea.form-control {
    height: 248px;
  }

  section#contact .form-control:focus {
    border-color: #FFD700;
    box-shadow: none;
  }

  section#contact ::-webkit-input-placeholder {
    font-weight: 700;
    color: #ced4da;
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }

  section#contact :-moz-placeholder {
    font-weight: 700;
    color: #ced4da;
    /* Firefox 18- */
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }

  section#contact ::-moz-placeholder {
    font-weight: 700;
    color: #ced4da;
    /* Firefox 19+ */
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }

  section#contact :-ms-input-placeholder {
    font-weight: 700;
    color: #ced4da;
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }

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

  footer span.copyright {
    font-size: 90%;
    line-height: 40px;
    text-transform: none;
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }

  footer ul.quicklinks {
    font-size: 90%;
    line-height: 40px;
    margin-bottom: 0;
    text-transform: none;
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }

  ul.social-buttons {
    margin-bottom: 0;
  }

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

  ul.social-buttons li a:active, ul.social-buttons li a:focus, ul.social-buttons li a:hover {
    background-color: #fed136;
  }

  /* LEAVES */
  #leaves_cover {
    position: relative;
    top: -650px;
    width: 100%;
    height: 50px;
    text-align: center;
    background-color: #f8f9fa;
    z-index: 10;
  }

  #leaves {
    position: relative;
    top: -690px;
    width: 100%;
    text-align: center;
  }

  #leaves i {
    display: inline-block;
    width: 200px;
    height: 150px;
    background: linear-gradient(to bottom right, #ff9900, #ff2200);
    transform: skew(20deg);
    border-radius: 5% 40% 70%;
    box-shadow: inset 0px 0px 1px #222;
    border: 1px solid #333;
    z-index: 1;
    -webkit-animation: falling 5s 0s infinite;
  }

  #leaves i:nth-of-type(2n) {
    -webkit-animation: falling2 5s 0s infinite;
  }

  #leaves i:nth-of-type(3n) {
    -webkit-animation: falling3 5s 0s infinite;
  }

  #leaves i:before {
    position: absolute;
    content: '';
    top: 117px;
    right: 9px;
    height: 27px;
    width: 32px;
    transform: rotate(49deg);
    border-radius: 0% 15% 15% 0%;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    border-left: 0px solid #222;
    border-right: 1px solid #222;
    background: linear-gradient(to right, rgba(230, 30, 0, 1), #ff3300);
    z-index: 1;
  }

  #leaves i:after {
    content: '';
    height: 125px;
    width: 10px;
    background: linear-gradient(to right, rgba(0, 0, 0, .15), rgba(0, 0, 0, 0));
    display: block;
    transform: rotate(125deg);
    position: absolute;
    left: 85px;
    border-radius: 50%;
  }


  #leaves i:nth-of-type(n) {
    height: 23px;
    width: 30px;
  }

  #leaves i:nth-of-type(n):before {
    width: 7px;
    height: 5px;
    top: 17px;
    right: 1px;
  }

  #leaves i:nth-of-type(n):after {
    width: 2px;
    height: 17px;
    left: 12px;
    top: 0px;
  }

  #leaves i:nth-of-type(2n+1) {
    height: 11px;
    width: 16px;
  }

  #leaves i:nth-of-type(2n+1):before {
    width: 4px;
    height: 3px;
    top: 7px;
    right: 0px;
  }

  #leaves i:nth-of-type(2n+1):after {
    width: 2px;
    height: 6px;
    left: 5px;
    top: 1px;
  }

  #leaves i:nth-of-type(3n+2) {
    height: 17px;
    width: 23px;
  }

  #leaves i:nth-of-type(3n+2):before {
    height: 4px;
    width: 4px;
    top: 12px;
    right: 1px;
  }

  #leaves i:nth-of-type(3n+2):after {
    height: 10px;
    width: 2px;
    top: 1px;
    left: 8px;
  }

  #leaves i:nth-of-type(n) {
    -webkit-animation-delay: 4.1s;
  }

  #leaves i:nth-of-type(2n) {
    -webkit-animation-delay: 3.9s;
  }

  #leaves i:nth-of-type(3n) {
    -webkit-animation-delay: 2.3s;
  }

  #leaves i:nth-of-type(4n) {
    -webkit-animation-delay: 4.4s;
  }

  #leaves i:nth-of-type(5n) {
    -webkit-animation-delay: 5s;
  }

  #leaves i:nth-of-type(6n) {
    -webkit-animation-delay: 3.5s;
  }

  #leaves i:nth-of-type(7n) {
    -webkit-animation-delay: 2.8s;
  }

  #leaves i:nth-of-type(8n) {
    -webkit-animation-delay: 1.5s;
  }

  #leaves i:nth-of-type(9n) {
    -webkit-animation-delay: 3.3s;
  }

  #leaves i:nth-of-type(10n) {
    -webkit-animation-delay: 2.5s;
  }

  #leaves i:nth-of-type(11n) {
    -webkit-animation-delay: 1.2s;
  }

  #leaves i:nth-of-type(12n) {
    -webkit-animation-delay: 4.1s;
  }

  #leaves i:nth-of-type(13n) {
    -webkit-animation-delay: 1s;
  }

  #leaves i:nth-of-type(14n) {
    -webkit-animation-delay: 4.7s;
  }

  #leaves i:nth-of-type(15n) {
    -webkit-animation-delay: 3s;
  }

  /*#ee5500, #aa9900*/
  #leaves i:nth-of-type(n) {
    background: linear-gradient(to bottom right, #ee5533, #cc8822);
  }

  #leaves i:nth-of-type(2n+2) {
    background: linear-gradient(to bottom right, #ffbb00, #dd2200);
  }

  #leaves i:nth-of-type(4n+1) {
    background: linear-gradient(to bottom right, #aaaa00, #aa2200);
  }

  #leaves i:nth-of-type(n) {
    opacity: 1;
  }

  #leaves i:nth-of-type(3n+1) {
    opacity: 1;
  }

  #leaves i:nth-of-type(3n+2) {
    opacity: 1;
  }

  #leaves i:nth-of-type(n) {
    transform: rotate(180deg);
  }


  #leaves i:nth-of-type(n) {
    -webkit-animation-timing-function: ease-in-out;
  }

  @-webkit-keyframes falling {

    0% {
      -webkit-transform: translate3d(300, 0, 0) rotate(0deg);
    }

    100% {
      -webkit-transform: translate3d(-350px, 700px, 0) rotate(90deg);
      opacity: 0;
    }
  }

  @-webkit-keyframes falling3 {
    0% {
      -webkit-transform: translate3d(0, 0, 0) rotate(-20deg);
    }

    100% {
      -webkit-transform: translate3d(-230px, 640px, 0) rotate(-70deg);
      opacity: 0;
    }
  }

  @-webkit-keyframes falling2 {
    0% {
      -webkit-transform: translate3d(0, 0, 0) rotate(90deg);
    }
    100% {
      -webkit-transform: translate3d(-400px, 680px, 0) rotate(0deg);
      opacity: 0;
    }
  }
}
