body {
    color: #292929;
    font-family: 'Montserrat', sans-serif;
    background-color: #fff;
}
* {
    padding: 0;
    margin: 0;
}
a,
a:hover,
a:focus,
a:active,
a.active {
    color: #71b100;
}
p {
    font-size: 15px;
    margin-bottom: 10px;
}
@media screen and (min-width: 768px) {
    p {
        line-height: 2.2em;
    }

    section#gallery .col-sm-3.col-xs-6{
      height: 210px;
    }
}

@media screen and (min-width: 1024px) {
  .thumbs img.thumbnail {
      min-height: 192px;
  }
}

.green {
    color: #71b100;
}
h2.title {
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 25px;
}
@media screen and (min-width: 768px) {
    h2.title {
        font-size: 38px;
    }
    .img-border {
        padding: 20px;
        border: 1px solid #b7b7b7;
        margin-bottom: 20px;
    }
    section {
        padding: 65px 0px;
    }
    .modal-dialog {
        width: 600px;
    }
}
.thumbnail {
    margin-bottom: 6px;
    padding: 3px;
}
.thumbnail:focus,
.thumbnail:hover {
    border-color: #71b100;
}
.thumbs img.thumbnail {
    -webkit-filter: grayscale(100%);
    /* Safari 6.0 - 9.0 */

    filter: grayscale(100%);
}
.thumbs img.thumbnail:focus,
.thumbs img.thumbnail:hover {
    -webkit-filter: grayscale(0%);
    /* Safari 6.0 - 9.0 */

    filter: grayscale(0%);
}
/* Header Styles */

.navbar-default .navbar-brand {
    color: #292929;
    font-size: 26px;
    font-weight: 600;
    text-transform: uppercase;
}
.navbar-nav {
    margin-top: 5px;
}
.navbar-default {
    background-color: #ffffff;
    border-radius: 0;
    border: 0;
    border-bottom: 8px solid #71b100;
    padding: 13px 0px;
    margin-bottom: 0;
}
.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
    border: 0;
}
.navbar-default .nav>li {
    padding: 0px 3px;
}
.navbar-default .navbar-nav>li>a {
    color: #292929;
    font-size: 14px;
    font-weight: 600;
    padding-top: 10px;
    padding-bottom: 10px;
}
.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:focus,
.navbar-default .navbar-nav>.active>a:hover {
    color: #fff;
    background-color: #71b100;
    border-radius: 3px;
}
.navbar-default .navbar-nav>li>a:focus,
.navbar-default .navbar-nav>li>a:hover {
    color: #fff;
    background-color: #71b100;
    border-radius: 3px;
}
@media screen and (min-width: 768px) {
    header {
        position: relative;
        min-height: 500px;
    }
}
header.index {
    background-image: url(../img/header-img.jpg);
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    text-align: center;
    color: #fff;
    background-position: right;
    background-position-y: -70px;
}
header .logo-block {
    position: absolute;
    bottom: -52px;
    left: 0;
    background-color: #fff;
    padding: 15px 0px;
}
header .logo-block img{
  width: 70%;
  margin: auto;
  max-width: 250px;

}
/* Service Styles */

.service .service-img img {
    margin: auto;
    padding: 15px 0px;
}
.service h2.service-title {
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
}
@media screen and (min-width: 768px) {
    .service {
        margin-top: 30px;
    }
    .service h2.service-title {
        font-size: 26px;
    }
}
.service p.service-text {
    text-align: center;
    line-height: 1.6em;
}
/* Table Styles */

@media screen and (min-width: 768px) {
    .table {
        margin-bottom: 100px;
    }
    .table>caption+thead>tr:first-child>td,
    .table>caption+thead>tr:first-child>th,
    .table>colgroup+thead>tr:first-child>td,
    .table>colgroup+thead>tr:first-child>th,
    .table>thead:first-child>tr:first-child>td,
    .table>thead:first-child>tr:first-child>th {
        border-top: 1px solid #b7b7b7;
    }
}
.table>caption+thead>tr:first-child>td,
.table>caption+thead>tr:first-child>th,
.table>colgroup+thead>tr:first-child>td,
.table>colgroup+thead>tr:first-child>th,
.table>thead:first-child>tr:first-child>td,
.table>thead:first-child>tr:first-child>th {
    border-bottom: 0;
}
.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
    padding: 12px 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #b7b7b7;
}
.table>thead>tr>th:nth-child(1),
.table>thead>tr>th:nth-child(3),
.table>thead>tr>th:nth-child(4),
.table>thead>tr>th:nth-child(5),
.table>thead>tr>th:nth-child(6),
.table>tbody>tr>td:nth-child(1),
.table>tbody>tr>td:nth-child(3),
.table>tbody>tr>td:nth-child(4),
.table>tbody>tr>td:nth-child(5),
.table>tbody>tr>td:nth-child(6) {
    text-align: center;
}
.table>tbody>tr:last-child>td {
    border-bottom: 1px solid #b7b7b7;
}
.table>tbody>tr>td:nth-child(7) {
    color: #7d7d7d;
}
.table>tbody>tr>td.green {
    color: #71b100;
}
.table>tbody>tr>td:nth-child(8) a {
    font-weight: 600;
}
.table-legend {
    padding: 8px 0px;
}
.elektra {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #fdc130;
    border-radius: 50%;
    margin: 0px 8px;
}
.vanduo {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #0096ff;
    border-radius: 50%;
    margin: 0px 8px;
}
.kanalizacija {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #7d7d7d;
    border-radius: 50%;
    margin: 0px 8px;
}
/* Footer Styles */

footer {
    position: relative;
    text-align: center;
    background-color: #f4f4f4;
    border-bottom: 5px solid #71b100;
}
footer .container {
    position: relative
}
@media screen and (min-width: 768px) {
    footer {
        padding-top: 20px;
        padding-bottom: 12px;
    }
}
footer ul {
    font-size: 13px;
}
@media screen and (min-width: 768px) {
    footer ul li {
        text-align: center;
        display: inline;
        padding: 0px 5px;
        border-right: 1px solid #292929;
    }
}
footer ul li:last-child {
    border: none;
}
footer .scrollup {
    position: absolute;
    color: #fff;
    width: 50px;
    height: 30px;
    right: 15px;
    bottom: -14px;
    background-color: #71b100;
    padding-top: 5px;
}
/* Mobile Styles */

@media screen and (max-width: 768px) {
    .img-border {
        padding: 5px;
        border: 1px solid #b7b7b7;
        margin-bottom: 20px;
    }
    section {
        padding: 25px 0px;
    }
    p {
        line-height: 1.8em;
    }
    .navbar-default .navbar-brand {
        width: 100%;
        text-align: center;
    }
    .navbar-toggle {
        float: none;
    }
    .navbar-header {
        text-align: center;
    }
    header {
        position: relative;
        min-height: 340px;
    }
    .service {
        min-height: 245px;
    }
    .service h2.service-title {
        font-size: 20px;
    }
    .table-responsive {
        border: 0;
        margin-bottom: 50px;
    }
    .table-legend {
        display: none;
        overflow: hidden;
    }
    .table>thead>tr>th:nth-child(2),
    .table>thead>tr>th:nth-child(3),
    .table>thead>tr>th:nth-child(6),
    .table>thead>tr>th:nth-child(7),
    .table>tbody>tr>td:nth-child(2),
    .table>tbody>tr>td:nth-child(3),
    .table>tbody>tr>td:nth-child(6),
    .table>tbody>tr>td:nth-child(7) {
        display: none;
    }
    footer {
        padding: 10px 0px;
    }
    footer ul li {
        text-align: center;
        display: block;
        padding: 3px 0px;
    }
}

section#location{
  text-align: center;
}

section#location div.col-xs-12{
  margin-top: 20px;
}

section#location img{
  max-width: 875px;
  width: 100%;
}

section#plan .plan-img{
  margin-bottom: 20px;
}

section#plan img{
  max-width: 100%;
}

section#contact .area-left{
  text-align: center;
}

section#contact .area-left ul, section#contact .area-left ul li{
  padding: 0;
  list-style: none;
}

section#contact .area-left ul{
  margin-bottom: 20px;
}

section#contact .area-left ul li:first-child{
  font-size: 1.2em;
  margin-bottom: 20px;
  font-weight: bold;
}

section#contact .area-left .social{
  display: inline;
}

section#contact .area-left .social img{
  width: 50px;
}

section#contact .area-left .social .instagram{
  margin-left: 5px;
}

footer#contact-footer{
  background-color: transparent;
}

footer#contact-footer.sticky-footer, footer#plan-footer.sticky-footer{
  position: absolute;
  bottom: 0;
  width: 100%;
}

.btn.btn-success{
  background-color: #71b100 !important;
}

@media screen and (max-width: 768px) {
  th, td{
    font-size: 10px;
  }
}
