/*
 * Globals
 */

body {
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #555;
  font-weight: 300;
  
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
  margin-top: 0;
  padding-top: 0px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: normal;
  color: #333;
}

h2 {
  font-family: 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 21px;
  line-height:  1.2em;
  font-weight: 400;
  color: #555;
}

.blog-main img {
  max-width: 100%;
  margin-bottom: 30px;
}

.blog-sidebar {
  padding-left: 30px;
}


/* Navbar */
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus {
  background-color: #f8f8f8;
}

/* Blog page */
#blog-page {
  padding-top: 30px;
}


/*
 * Masthead for nav
 */

.blog-masthead {
  background-color: #428bca;
  -webkit-box-shadow: inset 0 -2px 5px rgba(0,0,0,.1);
          box-shadow: inset 0 -2px 5px rgba(0,0,0,.1);
}

/* Nav links */
.blog-nav-item {
  position: relative;
  display: inline-block;
  padding: 10px;
  font-weight: 500;
  color: #cdddeb;
}
.blog-nav-item:hover,
.blog-nav-item:focus {
  color: #fff;
  text-decoration: none;
}

/* Active state gets a caret at the bottom */
.blog-nav .active {
  color: #fff;
}
.blog-nav .active:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -5px;
  vertical-align: middle;
  content: " ";
  border-right: 5px solid transparent;
  border-bottom: 5px solid;
  border-left: 5px solid transparent;
}


/*
 * Main column and sidebar layout
 */

.blog-main {
  font-size: 18px;
  line-height: 1.5;
}

/* Sidebar modules for boxing content */
.sidebar-module {
  padding: 15px;
  margin: 0 -15px 15px;
}

.sidebar-module-inset {
  padding: 15px;
  background-color: #f5f5f5;
  border-radius: 4px;
  border: 5px dashed #e74c3c;
}

.sidebar-module-inset p:last-child,
.sidebar-module-inset ul:last-child,
.sidebar-module-inset ol:last-child {
  margin-bottom: 0;
}

#subscribe-box h4 {
  font-family: 'Roboto Condensed';
  font-size: 19px;
  color: #666;
  text-align: justify;
}

#subscribe-box {
  padding: 15px 20px;
  font-size: 15px;
}

#subscribe-box p {
  line-height: 1.5em;
  text-rendering: optimizeLegibility;
}

#subscribe-box .form-group {
  margin-top: 15px;
}

#subscribe-box .btn-warning {
  background-color: #f39c12;
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 10px;
}

#subscribe-box .btn-warning:hover {
  background-color: #f0ad4e;
}

#posts-box {
  padding: 0;
  border: 3px solid #efefef;
  border-top: 0;
  border-radius: 3px;
  margin-top: 30px;
  text-align: center;
}
#posts-box h4 {
  font-size: 16px;
  text-transform: uppercase;
  background-color: #efefef;
  color: #555;
  padding: 12px;
  text-align: center;
  font-weight: 600;
  font-family: 'Open Sans';
  letter-spacing: 2px;
  margin: 0;
}
#posts-box ol {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
#posts-box li {
  font-size: 16px;
  padding: 12px;
  border-bottom: 3px solid #efefef;
  min-height: 60px;
  line-height: 20px;
}
#posts-box li:last-child {
  border-bottom: 0;
}
#posts-box a {
  color: #555;
}

.center {
  text-align: center;
}

/* Pagination */
.pager {
  margin-bottom: 60px;
  text-align: left;
}
.pager > li > a {
  width: 140px;
  padding: 10px 20px;
  text-align: center;
  border-radius: 30px;
}


/*
 * Blog posts
 */

.blog-post {
  margin-bottom: 40px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}

.blog-post-title {
  margin-bottom: 5px;
  font-size: 30px;
  font-weight: 700;
  text-transform: capitalize;
}

.blog-post-meta {
  margin-bottom: 20px;
  color: #888;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 14px;
  line-height: 18px;
}

.blog-post-meta .btn-danger {
  background-color: #e74c3c;
  padding: 3px 5px;
  margin-right: 5px;
  text-transform: uppercase;
  font-weight: 300;
}

.blog-post-meta .btn-danger:hover {
  background-color: #d2322d;
}

.blog-post-title a {
  color: #555;
}

.blog-post-title a:hover {
  color: #2a6496;
}


/*
 * Footer
 */

.blog-footer {
  padding: 40px 0;
  color: #999;
  text-align: center;
  background-color: #f9f9f9;
  border-top: 1px solid #e5e5e5;
}
.blog-footer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 991px) { 
  #subscribe-box h4 {
    text-align: center;
  }
}
