/* Transitional helpers for old Bootstrap 3 classes still used in hand-written content. */

.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}

.pull-left {
  float: left !important;
}

.pull-right {
  float: right !important;
}

.center-block {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

.embed-responsive {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.embed-responsive::before {
  display: block;
  content: "";
}

.embed-responsive-16by9::before {
  padding-top: 56.25%;
}

.embed-responsive-4by3::before {
  padding-top: 75%;
}

.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.thumbnail {
  box-sizing: border-box;
  display: block;
  padding: 4px;
  margin-bottom: 20px;
  line-height: 1.42857143;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: border 0.2s ease-in-out;
}

.thumbnail > img,
.thumbnail a > img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-right: auto;
  margin-left: auto;
}

.thumbnail .caption {
  padding: 9px;
  color: #333;
}

.thumbnail figcaption,
.thumbnail .image-caption {
  color: #333;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
}

a {
  color: #337ab7;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #23527c;
  text-decoration: underline;
}

.hidden-xs {
  display: none !important;
}

.visible-xs {
  display: block !important;
}

@media (min-width: 576px) {
  .hidden-xs {
    display: inherit !important;
  }

  .visible-xs {
    display: none !important;
  }
}

@media (min-width: 576px) {
  .col-sm-offset-1 {
    margin-left: 8.33333333%;
  }
}

@media (min-width: 768px) {
  .col-md-offset-1 {
    margin-left: 8.33333333%;
  }

  .col-md-offset-2 {
    margin-left: 16.66666667%;
  }
}

.btn-default {
  color: #333;
  background-color: #fff;
  border-color: #ccc;
}

.btn-default:hover,
.btn-default:focus {
  color: #333;
  background-color: #e6e6e6;
  border-color: #adadad;
}

.btn,
.btn-read-more,
.news-list-item .btn {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  line-height: 1.42857143;
  border-radius: 4px;
}

.btn:hover,
.btn:focus,
.btn-read-more:hover,
.btn-read-more:focus,
.news-list-item .btn:hover,
.news-list-item .btn:focus {
  text-decoration: none;
}

.news-list-item h3 a,
.news-latest-container h3 a,
.news-list-view h3 a {
  color: #337ab7;
  text-decoration: none;
}

.news-list-item h3 a:hover,
.news-list-item h3 a:focus,
.news-latest-container h3 a:hover,
.news-latest-container h3 a:focus,
.news-list-view h3 a:hover,
.news-list-view h3 a:focus {
  color: #23527c;
  text-decoration: none;
}

.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 20px 0;
  border-radius: 4px;
}

.pagination > li {
  display: inline;
}

.pagination > li > a,
.pagination > li > span {
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.42857143;
  color: #337ab7;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ddd;
}

.pagination > li:first-child > a,
.pagination > li:first-child > span {
  margin-left: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.pagination > li > a:hover,
.pagination > li > a:focus,
.pagination > li > span:hover,
.pagination > li > span:focus {
  z-index: 2;
  color: #23527c;
  background-color: #eee;
  border-color: #ddd;
}

.pagination > .current > span,
.pagination > .current > span:hover,
.pagination > .current > span:focus,
.news-list-view li.current span {
  color: #337ab7;
  cursor: default;
  background-color: #efefef;
  border-color: #ddd;
}
