body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h2 {
  font-size: 1.8em;
}
h3 {
  font-size: 1.6em;
}
h4 {
  font-size: 1.4em;
}

/* layout styles */
.x-main .hentry:first-of-type {
  border: none;
  padding-top: 0;
}
.x-container.max.width.offset {
  margin-top: 20px;
}
.x-post-slider {
  margin-top: -100px;
}

/* featured header styles */
.featured-image {
  position: relative;
  margin-top: -100px;
  height: 500px;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center center;
}
.featured-image:after {
  content: '';
  height: 100%;
  width: 100%;
  position: absolute;
  display: block;
  bottom: 0;
  background: rgba(9, 19, 134, 0.7);
}
.featured-image img {
  width: 100% !important;
  height: auto;
  margin: auto;
}
.featured-image .caption {
  position: absolute;
  z-index: 999;
  color: #fff !important;
  bottom: 25%;
  margin-right: 5%;
}
.featured-image .caption h1 {
  font-size: 2.4em;
  color: rgba(255, 255, 255, 1) !important;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}
.featured-image .caption .meta {
  display: flex;
  align-items: center;
  vertical-align: middle;
}
.featured-image .caption .meta .p-meta {
  display: inline-block;
  padding-left: 10px;
  margin: 0;
  font-size: 0.9em;
  line-height: 1.3em;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}
.featured-image .caption .meta a,
.featured-image .caption .meta a:hover {
  color: #ffa500;
}
.featured-image .caption .meta .p-avatar .avatar {
  display: inline-block;
  width: 1.7em !important;
  height: 1.7em !important;
  border-radius: 100%;
}
@media (max-width: 736px) {
  .featured-image {
    background-attachment: initial;
    background-position: center center;
  }
  .featured-image .caption {
    bottom: 15% !important;
  }
}
@media (max-width: 412px) {
  .featured-image {
    height: 350px;
  }
  .featured-image .caption {
    top: 90px !important;
  }
}
@media (max-width: 375px) {
  .featured-image {
    height: 300px;
  }
  .hm7.x-text {
    font-size: 0.5em !important;
  }
  .featured-image .caption h1 {
    font-size: 2em !important;
  }
  .featured-image .caption {
    bottom: 15px !important;
  }
  .featured-image .caption .meta .p-meta {
    font-size: 0.7em !important;
  }
}

/* sidebar styles */
.x-sidebar .widget {
  font-size: 0.8em;
}
.x-sidebar .widget,
.x-sidebar .widget a {
  text-decoration: none;
}
#custom_html-3 {
  background-color: #eee;
  border-radius: 3px;
  padding: 20px;
}
.textwidget .x-social-global {
  text-align: center;
}
.textwidget .x-social-global a {
  margin-left: 1px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-size: 28px;
  color: #000;
}

/* table styles */
.divTable {
  display: table;
  width: 100%;
  font-size: 0.8em;
}
.divTableRow {
  display: table-row;
}
.divTableHeading {
  display: table-header-group;
}
.divTableCell,
.divTableHead {
  border-bottom: 1px solid #999;
  display: table-cell;
  padding: 3px 10px;
}
.divTableHeading {
  display: table-header-group;
  font-weight: bold;
}
.divTableFoot {
  display: table-footer-group;
  font-weight: bold;
}
.divTableBody {
  display: table-row-group;
}
