/*
Theme Name: Pinnamäe
Author: Finecode OÜ
Author URI: http://finecode.ee
*/

/*Wordpress editor styles start*/


.slogan {
  font-size: 14px;
}

body {
  /*background: url(https://static.pexels.com/photos/4827/nature-forest-trees-fog.jpeg);*/
  background: url(img/bg.jpeg);*/
  background-attachment: fixed;
  padding-left:0px;
  padding-right:0px;
}

.entry-content img {
  margin: 0 0 1.5em 0;
  }
.alignleft, img.alignleft {
  margin-right: 1.5em;
  display: inline;
  float: left;
  }
.alignright, img.alignright {
  margin-left: 1.5em;
  display: inline;
  float: right;
  }
.aligncenter, img.aligncenter {
  margin-right: auto;
  margin-left: auto;
  display: block;
  clear: both;
  }
.alignnone, img.alignnone {
  /* not sure about this one */
  }
.wp-caption {
  margin-bottom: 1.5em;
  text-align: center;
  padding-top: 5px;
  }
.wp-caption img {
  border: 0 none;
  padding: 0;
  margin: 0;
  }
.wp-caption p.wp-caption-text {
  line-height: 1.5;
  font-size: 10px;
  margin: 0;
  }
.wp-smiley {
  margin: 0 !important;
  max-height: 1em;
  }
blockquote.left {
  margin-right: 20px;
  text-align: right;
  margin-left: 0;
  width: 33%;
  float: left;
  }
blockquote.right {
  margin-left: 20px;
  text-align: left;
  margin-right: 0;
  width: 33%;
  float: right;
  }

/*Wordpress editor styles end*/

body{
  font-family: 'Raleway', sans-serif;
}

.navbar-brand>img{
  max-width:300px;  
}

.row{
  margin-left:0;
  margin-right:0;  
}

p {
    margin: 0 0 10px;
    line-height: 1.7;
}

.carousel, .carousel-inner, .carousel-inner>.item, .carousel-inner>.item>a>img, .carousel-inner>.item>img {
    height: 600px;
     position:relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(img/try.png);
    background-size:110px;
    background-repeat:repeat;
    opacity:.25;
    z-index: 2;
}

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>li>a:hover {
    color: white;
    background-color: #009966;
}

.navbar-default {
    background-color: rgba(0,0,0,0.7);
    border-color: transparent;
    min-height: 90px;
    margin-bottom: 0;
    border: none;
}

.home .navbar-default {
    background-color: rgba(0,0,0,0.7);
    border-color: transparent;
    min-height: 90px;
    margin-bottom: 0;
    border: none;
}

.nav>li>a>img {
    max-width: 29px;
    border: 1px solid #efefef;
}

.navbar-default .navbar-nav > li > a {
    line-height: 60px;
    text-transform: uppercase;
    padding: 15px 12px;
    transition: .5s;
    color: #009966;
    font-weight: 600;
    font-size: 13px;
}
.carousel-fade .carousel-inner .item {
  opacity: 0;
  transition-property: opacity;
}

.carousel-fade .carousel-inner .active {
  opacity: 1;
}

.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  opacity: 0;
  z-index: 1;
}

.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}

.carousel-fade .carousel-control {
  z-index: 2;
}

.intro{
  border-top: 4px solid #009966;
    padding: 30px 0px 60px 0px;
    background:url(img/pattern.jpg);
    background-repeat:repeat;
    background-size:80px;
}

h1.page-header, .page-header{
  border:none;
  font-weight:bolder;  
  color:black;
  position:relative;
  padding-bottom:15px;
}

h1.page-header:after, .page-header:after{
  content:'';
  background:url(img/leafy-tree.png);
  background-repeat:repeat;
  background-size:20px;
  width:80px;
  height:18px;  
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:0px;
}

.image h1.page-header:after{
  background:url(img/leafy-tree-white.png);
  background-repeat:repeat;
  background-size:20px;
  opacity:.8;
}

h3.page-header:after {
  width:60px;
}

.main-footer{
  background:#333;
  min-height:180px;
  padding:30px 0px 60px 0px;
  border-top: 4px solid #009966;
}

.contact-info{
  padding:0 30px;
}

.main-footer p, .main-footer span{
  color:white;  
  font-size:20px;
}

.main-footer h3{
  padding-bottom:15px;  
}

.main-footer ul li{
  color:#009966;
}

.main-footer ul{
  padding:15px 0px;
  margin:0;
}

.main-footer p, .main-footer li, .main-footer ul li span {
    font-weight: 100;
    color: #999;
    margin-left: 45px;
    font-size: 16px;
}

.main-footer li, .main-footer ul li span{
  margin-left:0;
  list-style-type: square;  
  line-height:1.6;
}

.main-footer i{
  color:#009966;
  font-size:38px;
  height:40px;
  padding-right:15px;
  width:45px;
}

.carousel-caption {
    right: 0%;
    left: 0%;
    padding-bottom: 30px;
    background-color: rgba(33,33,33,.6);
    bottom: 0;
}

.image{
  background: url(https://static.pexels.com/photos/132957/pexels-photo-132957.jpeg);
  background-attachment: fixed;
  position: relative;
  padding: 0px 0px 30px 0px;
  background-size: cover;
}

.image h1.page-header{
  color:white;
}

.image-overlay{
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background:rgba(0, 153, 102,0.8);
  background-size:cover;  
}

.navbar-default .navbar-brand {
    color: #009966;
}

.btn-primary {
    background: #009966;
    color: #fff;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    opacity: 1;
    border: none;
    border-radius: 0;
    padding: 15px 20px;
    font-size: 15px;
    margin-top: 15px;
}

.btn-primary:hover{
  background:#942e01;
}

.contact-form{
  background: white;
    padding: 30px;
    margin-top: -150px;  
}

.form-control{
  border-radius:0px;
  height:38px;
  border:1px solid #b6b6b6;  
}

textarea.form-control {
    height: auto;
    min-height: 120px;
}

#map{
  width:100%;
  height:360px;  
  margin-top:-20px;
}

@media all and (transform-3d), (-webkit-transform-3d) {
    .carousel-fade .carousel-inner > .item.next,
    .carousel-fade .carousel-inner > .item.active.right {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.prev,
    .carousel-fade .carousel-inner > .item.active.left {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.next.left,
    .carousel-fade .carousel-inner > .item.prev.right,
    .carousel-fade .carousel-inner > .item.active {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
}
/* CSS used here will be applied after bootstrap.css */
/* CSS used here will be applied after bootstrap.css */
.carousel-inner > .item {
  -webkit-transition: none;
          transition: none;
}
@media all and (transform-3d), (-webkit-transform-3d) {
  .carousel-inner > .item {
    -webkit-transition: none;
            transition: none;
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
    -webkit-perspective: 1000;
            perspective: 1000;
  }
  .carousel-inner > .item.next,
  .carousel-inner > .item.active.right {
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
    left: 0;
  }
  .carousel-inner > .item.prev,
  .carousel-inner > .item.active.left {
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
    left: 0;
  }
  .carousel-inner > .item.next.left,
  .carousel-inner > .item.prev.right,
  .carousel-inner > .item.active {
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
    left: 0;
  }
}

@-webkit-keyframes fadeIn {
0% {opacity: 0;}
100% {opacity: 1;}
}
@keyframes fadeIn {
0% {opacity: 0;}
100% {opacity: 1;}
}

@-webkit-keyframes fadeOut {
  0% {opacity: 1;}
  100% {opacity: 0;}
}

@keyframes fadeOut {
  0% {opacity: 1;}
  100% {opacity: 0;}
}

.carousel-inner.anim > .item {
  left: 0;
}

.carousel-inner.anim > .next,
.carousel-inner.anim > .prev {
  position: absolute;
  top: 0;
  width: 100%;
}
.carousel-inner.anim > .next.left {
  
  -webkit-backface-visibility: visible;
          backface-visibility: visible;
  -webkit-animation-name: fadeIn;
          animation-name: fadeIn;
  -webkit-animation-duration:0.6s;
          animation-duration:0.6s;
}
.carousel-inner.anim > .prev.right {
  -webkit-animation-name: fadeIn;
          animation-name: fadeIn;
  -webkit-animation-duration:0.6s;
          animation-duration:0.6s;
}
.carousel-inner.anim > .active.left {
    -webkit-animation-name: fadeOut;
          animation-name: fadeOut;
  -webkit-animation-duration:0.6s;
          animation-duration:0.6s;
}
.carousel-inner.anim > .active.right {
      -webkit-animation-name: fadeOut;
          animation-name: fadeOut;
  -webkit-animation-duration:0.6s;
          animation-duration:0.6s;
}

.carousel, .carousel-inner, .carousel-inner>.item, .carousel-inner>.item>a>img, .carousel-inner>.item>img {
    min-height: 600px;
    height: auto;
    position: relative;
}

.carousel-inner>.item>a>img, .carousel-inner>.item>img, .img-responsive, .thumbnail a>img, .thumbnail>img {
    display: block;
    max-width: none;
    height: auto;
    min-width: 100%;
}

.btn-primary.disabled, .btn-primary.disabled.active, .btn-primary.disabled.focus, .btn-primary.disabled:active, .btn-primary.disabled:focus, .btn-primary.disabled:hover, .btn-primary[disabled], .btn-primary[disabled].active, .btn-primary[disabled].focus, .btn-primary[disabled]:active, .btn-primary[disabled]:focus, .btn-primary[disabled]:hover, fieldset[disabled] .btn-primary, fieldset[disabled] .btn-primary.active, fieldset[disabled] .btn-primary.focus, fieldset[disabled] .btn-primary:active, fieldset[disabled] .btn-primary:focus, fieldset[disabled] .btn-primary:hover {
    background-color: #009966;
    border-color: #009966;
}

.front-page-products{
  position:relative;  
}

 figure {
  position: relative;
  float: left;
  overflow: hidden;
  margin: 10px 1%;
  min-width: 100%;
  height: 220px;
  width: 48%;
  height: auto;
  background: #000;
  text-align: center;
  cursor: pointer;
     border: 2px solid white;
}

.carousel-caption {
  -vendor-animation-duration: 3s;
  -vendor-animation-delay: 2s;
}

figure img {
    position: relative;
    display: block;
    min-height: 100%;
    max-width: 100%;
    height: 220px;
    object-fit: cover;
    opacity: .7;
    transition:.5s;
}

.product{
  padding:10px;  
}

 figure figcaption {
  padding: 2em;
  color: #fff;
  text-transform: uppercase;
  font-size: 1.25em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

 figure figcaption::before,
 figure figcaption::after {
  pointer-events: none;
}

 figure figcaption,
 figure figcaption > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

 figure figcaption > a {
  z-index: 1000;
  text-indent: 200%;
  white-space: nowrap;
  font-size: 0;
  opacity: 0;
}

 figure h2 {
  word-spacing: -0.15em;
  font-weight: 300;
}

 figure h2 span {
  font-weight: 800;
}

 figure h2,
 figure p {
  margin: 0;
}

 figure p {
  letter-spacing: 1px;
  font-size: 14px;
  line-height:1;
  opacity:0;
}

figure.effect-hera {
  background: -moz-radial-gradient(center, ellipse cover,  rgba(0,0,0,0.69) 0%, rgba(0,0,0,0.45) 62%, rgba(0,0,0,0) 100%); /* FF3.6-15 */
  background: -webkit-radial-gradient(center, ellipse cover,  rgba(0,0,0,0.69) 0%,rgba(0,0,0,0.45) 62%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
  background: radial-gradient(ellipse at center,  rgba(0,0,0,0.69) 0%,rgba(0,0,0,0.45) 62%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b0000000', endColorstr='#00000000',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.archive figure.effect-hera{
  background:#333;
}

figure.effect-hera h2 {
    font-size: 26px;
    text-transform: none;
    font-weight: 500;
}

figure.effect-hera h2,
figure.effect-hera p {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(-50%,-50%,0);
  transform: translate3d(-50%,-50%,0);
  -webkit-transform-origin: 50%;
  transform-origin: 50%;
}

figure.effect-hera figcaption::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 150px;
  border: 2px solid #fff;
  content: '';
  opacity: 0;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(-50%,-50%,0) rotate3d(0,0,1,-45deg) scale3d(0,0,1);
  transform: translate3d(-50%,-50%,0) rotate3d(0,0,1,-45deg) scale3d(0,0,1);
  -webkit-transform-origin: 50%;
  transform-origin: 50%;
}

figure.effect-hera p {
  width: 100px;
  text-transform: none;
  font-size: 15px;
  line-height: 1.4;
  font-weight:500;
}

figure.effect-hera p a {
  color: #fff;
}

figure.effect-hera p a:hover,
figure.effect-hera p a:focus {
  opacity: 0.6;
}

figure.effect-hera p a i, figure.effect-hera p {
  opacity: 0;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
}

figure.effect-hera p a:first-child i {
  -webkit-transform: translate3d(-60px,-60px,0);
  transform: translate3d(-60px,-60px,0);
}

figure.effect-hera p a:nth-child(2) i {
  -webkit-transform: translate3d(60px,-60px,0);
  transform: translate3d(60px,-60px,0);
}

figure.effect-hera p a:nth-child(3) i {
  -webkit-transform: translate3d(-60px,60px,0);
  transform: translate3d(-60px,60px,0);
}

figure.effect-hera p a:nth-child(4) i {
  -webkit-transform: translate3d(60px,60px,0);
  transform: translate3d(60px,60px,0);
}

figure.effect-hera:hover figcaption::before {
  opacity: 1;
  -webkit-transform: translate3d(-50%,-50%,0) rotate3d(0,0,1,-45deg) scale3d(1,1,1);
  transform: translate3d(-50%,-50%,0) rotate3d(0,0,1,-45deg) scale3d(1,1,1);
}

figure.effect-hera:hover h2 {
  opacity: 0;
  -webkit-transform: translate3d(-50%,-50%,0) scale3d(0.8,0.8,1);
  transform: translate3d(-50%,-50%,0) scale3d(0.8,0.8,1);
}

figure.effect-hera:hover p i:empty {
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0); /* just because it's stronger than nth-child */
  opacity: 1;
}

figure.effect-hera:hover p, figure.effect-hera:hover img{
  opacity: 1;
}

.tall-row{
  padding-top: 60px;
}

.navbar-brand  {
  font-size: 32px;
}

.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
    border-radius: 0;
}

@media (max-width: 992px) {
    .navbar-brand  {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .navbar-brand  {
        font-size: 20px;
    }

.carousel, .carousel-inner, .carousel-inner > .item, .carousel-inner > .item > a > img, .carousel-inner > .item > img {
    min-height: 600px;
    height: auto;
    position: relative;
    display: none;
}
}


@media (min-width: 1200px) {
    body {
        padding-bottom:50px;
    }

}

@media (max-width: 1200px) {
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
    top: 0;
    border-width: 0 0 1px;
  }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
    margin-top: 7.5px;
  }
  .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
      display:block !important;
  }
    .navbar-brand>img {
      max-width: 200px;
  }  
  .carousel, .carousel-inner, .carousel-inner>.item, .carousel-inner>.item>a>img, .carousel-inner>.item>img {
      min-height: 600px;
      height: auto;
      position: relative;
  }
  .home .navbar-default {
      background-color: #fff;
      border-color: transparent;
      min-height: 70px;
      margin-bottom: 0;
      border: none;
  }
  .navbar-toggle .icon-bar {
      display: block;
      width: 26px;
      height: 3px;
      border-radius: 0px;
  }
  .navbar-default .navbar-toggle .icon-bar {
      background-color: #009966;
  }
  .navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
      background-color: transparent;
  }
  .navbar-default .navbar-toggle {
      border-color: transparent;
  }
  .container>.navbar-header {
      height: 70px;
  }
  .navbar-default .navbar-toggle {
      border-color: transparent;
      top: 10px;
  }
  .navbar-default .navbar-nav>li>a {
      line-height: 20px;
  }
  .languages{
    position: relative;
      width: 100%;
      float: none!important;
      text-align: left;
  }
  .contact-info, .service-section{
    padding:30px 30px;
  }
  .contact-form{
    margin-top:0;
  }
  .intro {
      padding-top: 130px;
  }
  .navbar-collapse.in {
      overflow-y: auto!important;
  }
}

.main-footer {
  position:relative;
}
.navigation-button {
  position: absolute;
  padding:5px 10px;
  top: -175px;
  left: 50%;
  transform: translateX(-50%);
  vertical-align: middle;
}

.navigation-button:hover {
  background: #333;
}

.fb i {
  color: #3B5998;
  font-size:22px;
}
.yt i {
  color: #cd201f;
  font-size:22px;
}


.apk-img {
       position: absolute;   
    top: 50%;
    transform: translateY(-50%);
    }