body {
  color: #838181;
  min-width: 320px;
  font-family:Open Sans, sans-serif;
}

a {
  transition: color .2s;
  -webkit-transition: color .2s;
  -moz-transition: color .2s;
  -o-transition: color .2s;
}

.navbar-brand img {
  max-height: 100%;
}

.navbar-brand {
    float: left;
    padding: 10px 10px;
    font-size: 18px;
    line-height: 20px;
    height: 50px;
}

/*
@media (min-width: 1130px) {
  .container {
    width: 1100px;
  }
}*/


/* header */

#header {
  background-position: 50% 50%;
  background-size: cover;
  position: relative;
  padding-bottom: 78px;
}

#navbar a {
  color: #5d5d5d;
  text-shadow: none;
  background: none;
  text-decoration: none;
}

#navbar a.active, #navbar a:hover {
  color: #919191;
}

#header:after {
  content: '';
  position: absolute;
  display: block;
  height: 78px;
  width: 100%;
  right: 0;
  bottom: 0;
  left: 0;
  background: url(../img/shadow.png) repeat-x;
}

#header .navbar-toggle .icon-bar {
  background-color: #5d5d5d;
}

.title-holder {
  text-align: center;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  resize: vertical;
  height: 535px;
  color: #5d5d5d;
}

.page-title {
  font-weight: 700;
  font-size: 50px;
  line-height: 60px;
  margin: 0;
  color:#3a96a4;
  text-shadow:-1px 0px 1px #fff;
  }

.page-subtitle {
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  margin: 0;
  position: relative;
  padding: 0 0 30px;
}

.page-subtitle:after {
  content: "";
  display: block;
  width: 30px;
  height: 1px;
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  margin: auto;
  background: #5d5d5d;
}

#header.light {
  color: #fff;
}

#header.light #navbar a {
  color: #fff;
}

#header.light #navbar a:focus, #header.light #navbar a:hover {
  color: #b9b9b9;
}

#header.light .title-holder {
  color: #fff;
}

#header.light .page-subtitle:after {
  background: #fff;
}

#header.light .navbar-toggle .icon-bar {
  background-color: #fff;
}


/* main */

.block-main {
  padding: 50px 0;
}

.block-main .block-title {
  text-align: center;
  color: #616161;
  font-weight: 700;
  font-size: 30px;
  line-height: 38px;
  margin: 0 0 10px;
  text-transform: uppercase;
  position: relative;
}

.block-main .block-subtitle {
  text-align: center;
  color: #9b9b9b;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  margin: 0 0 10px;
  padding: 0 0 20px;
  position: relative;
}

.block-main .block-subtitle:after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 40px;
  height: 1px;
  background-color: #ebebeb;
}

.block-dark {
  background-color: #fafafa;
}

.block-about-us .block-title {
  font-size: 18px;
  line-height: 24px;
}

.block-about-us .block-title:after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  margin: 0 auto 20px;
  display: block;
  width: 1px;
  height: 20px;
  background: #f6f6f6;
}

.block-about-us .block-content {
  text-align: center;
  font-size: 14px;
  line-height: 32px;
  letter-spacing: .5px;
}

.block-thumbs .block-content {
  padding-top: 70px;
}

.block-thumbs .block-content .row {
  text-align: center;
  font-size: 0;
}

.block-thumbs .block-content [class*="col-"] {
  font-size: 16px;
  display: inline-block;
  vertical-align: top;
  float: none;
}

.block-thumbs .thumb-item {
  text-align: left;
  display: inline-block;
  color: #616161;
  text-decoration: none;
  margin-bottom: 60px;
  position: relative;
}

.block-thumbs .thumb-item:hover {
  color: #b9b9b9;
}

.block-thumbs .thumb-item .date {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0px;
  min-width: 60px;
  color: #fff;
  font-size: 18px;
  line-height: 18px;
  font-weight: 700;
  padding: 10px 0;
  background: rgba(62, 62, 62, .7);
  text-align: center;
}

.block-thumbs .thumb-item .date>* {
  display: block;
}

.block-thumbs .thumb-item .date .month {
  font-size: 12px;
  line-height: 12px;
  font-weight: 400;
}

.block-thumbs .thumb-item img {
  max-width: 100%;
  display: block;
  height: auto;
}

.block-thumbs .thumb-item .thumb-title {
  display: block;
  font-size: 16px;
  line-height: 26px;
  margin: 20px 0 0 0;
  max-width: 230px;
}

.block-contact-map iframe {
  width: 100%;
  border: none;
}

.block-services .item {
  text-align: center;
  padding-right: 80px;
  margin-bottom: 40px;
}

.block-services .item+.item {
  padding-right: 0px;
}

.block-services .item+.item+.item {
  padding-left: 80px;
}

.block-services .item h2 {
  color: #616161;
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
  margin: 20px 0 40px;
  padding: 40px 0 0;
  position: relative;
}

.block-services .item h2:after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  background: #f6f6f6;
  width: 1px;
  height: 20px;
}

.block-services .item p {
  margin: 0;
}

.block-video {
  padding: 0;
  margin: 0;
  background: url('../img/video.jpg') no-repeat 50% 50%;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
}

.block-video .block-content {
  min-height: 350px;
  text-align: center;
}

.block-video .video_logo {
  margin: 85px 0 20px;
}

.block-video h3 {
  color: #fff;
  font-size: 14px;
  font-weight: normal;
  margin: 0 0 40px;
}

.block-video .play_btn {
  display: inline-block;
  width: 71px;
  height: 71px;
  background: url('../img/play_btn.png') no-repeat;
}

.block-testimonials .block-content {
  padding-top: 70px;
}

.block-testimonials .testimonial {
  overflow: hidden;
  margin-bottom: 40px;
}

.testimonial .description {
  color: #838181;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: .5px;
  padding-bottom: 30px;
  margin-bottom: 20px;
  border-bottom: 1px solid #ecebeb;
  position: relative;
}

.testimonial .description:after {
  content: "";
  display: block;
  width: 10px;
  height: 5px;
  background: url('../img/testimonial_triangle.png') no-repeat;
  position: absolute;
  bottom: -5px;
  left: 40px;
}

.testimonial .quotes {
  margin-right: 10px;
  vertical-align: middle;
}

.testimonial .client {
  margin-left: 20px;
}

.testimonial .client .avatar {
  float: left;
  margin-right: 20px;
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  -o-border-radius: 100px;
  border-radius: 100px;
}

.testimonial .client .details {
  float: left;
  color: #7b7979;
  font-size: 14px;
  font-weight: 700;
}

.testimonial .client .details .name {
  margin: 0 0 10px 0;
  display: block;
}

.testimonial .client .details .post {
  display: block;
  font-size: 12px;
  font-weight: 400;
}


/* footer */

#footer {
  padding: 35px 0;
}

.copyright {
  text-align: center;
  font-size: 13px;
}

.copyright img {
  vertical-align: middle;
}

.copyright .footer_logo {
  margin: 0 20px 0 0;
}

.copyright .image-icon {
  max-height: 22px;
}


/* media */

@media (min-width: 1160px) {
  .block-thumbs .block-content .row {
    margin-left: -30px;
    margin-right: -30px;
  }
  .block-thumbs .block-content [class*="col-"] {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 767px) {
  .title-holder {
    height: auto;
  }
  .block-services .item {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .block-main {
  padding: 10px 0;
}
  .col-md-4 {
  width:90%;
}

}