/**********************************
 HEADER
 */
.header .logo {
  padding: 20px 0;
}
/**********************************
 MENU
 */
@media (min-width: 768px) {
  .navbar .navbar-nav {
    display: inline-block;
    float: none;
    vertical-align: top;
  }
  .navbar .navbar-collapse {
    text-align: center;
  }
  .navbar a {
    text-transform: uppercase;
    font-size: 12px;
  }
}
/*****************************
 FOOTER
 */
.footer {
  margin-top: 50px;
  margin-bottom: 25px;
}
.footer .nav li {
  float: left;
}
.footer .nav li:last-child a {
  padding-right: 0px;
}
.footer .nav li a {
  font-size: 12px;
  text-transform: uppercase;
  padding: 10px 15px 10px 0px;
  color: #888;
}
.footer .nav li a:hover {
  background: transparent;
  color: #333;
}
.footer .contacts {
  margin-top: 10px;
}
.footer .contacts .phone {
  margin-top: 20px;
}
.instagram {
  line-height: 27px;
  font-size: 15px;
  text-transform: uppercase;
  font-weight: bold;
}
.instagram .instagram-icon {
  display: inline-block;
  background-image: url('../img/instagram.png');
  background-repeat: no-repeat;
  background-position: -327px -222px;
  height: 27px;
  width: 27px;
  vertical-align: bottom;
  margin-left: 10px;
}
.instagram a.follow {
  color: #fff;
  background: #555555;
  padding: 2px 5px;
  margin-right: 10px;
}
.instagram a.follow:hover,
.instagram a.follow:focus {
  text-decoration: none;
  background: #000;
}
/********************************
 About
 */
.about h1 {
  margin-top: 30px;
  margin-bottom: 20px;
}
.about p {
  line-height: 1.8em;
  margin: 0 0 18px;
}
/********************************
 Additional
 */
.right-block {
  float: right;
}
.well {
  margin-top: 35px;
  padding-top: 10px;
  border-radius: 0px;
}
.well img {
  margin-top: 25px;
}
/*********************************
 News Page
 */
.img-block {
  padding-top: 15px;
  padding-bottom: 15px;
}
.img-block .img-wrapper {
  display: block;
  position: relative;
}
.img-block:hover .caption {
  display: block;
}
.img-block .caption {
  position: absolute;
  top: 0px;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  color: #fff;
  display: none;
}
.img-block .caption .text {
  display: block;
  display: -webkit-box;
  position: absolute;
  top: 0px;
  padding: 15px 15px 0px;
  max-height: 75%;
  max-width: 100%;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.img-block .caption .likes_comments {
  display: block;
  position: absolute;
  bottom: 15px;
  right: 15px;
}
@media (max-width: 768px) {
  .img-block .caption {
    display: block;
  }
}
