#post {
  position: relative;
  z-index: 3;
  background: #fff;
}

#post figure img,
#post p img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    margin-top: 15px;
    border: 1px solid rgb(223, 223, 223);
    position: relative !important;
    box-shadow: #adb7d4 2px 5px 10px;
    border-radius: 5px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    display: block;
}

#post article img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    margin-top: 20px;
    border: 1px solid rgb(223, 223, 223);
    position: relative !important;
    box-shadow: #adb7d4 2px 5px 10px;
    border-radius: 5px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    display: block;
}

#post figcaption {
    padding-top: 10px;
    font-size: 14px;
    padding-bottom: 10px;
    background-color: #eff7f7;
    text-align: center;
    border: 1px solid rgb(223, 223, 223);
    box-shadow: rgb(0 0 0 / 18%) 2px 5px 10px;
    margin-bottom: 20px;
}

#post .post-icon.icon-like {
  margin-right: 10px;
}

#post-top-bar {
  height: 65px;
  border: 1px solid #eee;
}

.post-img-thumbnail {
  height: auto;
}

.post-top-bar-right span {
  font-weight: 700;
  color: #888DA0;
  font-size: 14px;
}

.post-top-bar-left-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  height: 20px;
  margin-top: -10px;
  background: #eee;
  width: 1px;
}

.post-top-bar-left-item:last-child::after {
  width: 0;
}

.post-top-bar-left-item a {
  padding: 23px 30px;
  position: relative;
  font-weight: 700;
  color: #888DA0;
  font-size: 14px;
}

.post-content .container {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

nav.breadcrumbs-nav {
  display: inline-block;
}

.breadcrumbs-wrapper {
  align-items: center;
  display: flex;
}

.breadcrumbs-wrapper .menu-icon {
  width: 18px;
  height: 18px;
  margin-right: 0;
}

.breadcrumbs i {
  color: #fff;
}

.post-top-bar-left ul li:last-child {
  padding-right: 0 !important;
}

.post-content .post-top-bar-right-item i~span {
  font-size: 15px;
}

.breadcrumbs {
  padding: 15px 20px;
  border-radius: 6px;
  background: linear-gradient(90deg, #296790 0%, #296790 20%, #4DB7FE 59%, #4DB7FE 100%);
}

.breadcrumbs-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.breadcrumb-item {
  position: relative;
}

.breadcrumb-item.breadcrumb-title {
  margin-left: 5px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
}

.breadcrumbs-link {
  padding-right: 10px !important;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-left: 6px;
}

.breadcrumbs-link:before {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 100%;
  right: 0;
  top: 50%;
  margin-top: -2px;
}

.breadcrumb-item i.fa.fa-home {
  color: #fff;
  margin-right: 5px;
  font-size: 15px;
}

.post-title-wrapper {
  padding: 12px 18px;
  border-radius: 6px;
  color: #334e6f;
  font-weight: 600;
  background: #fff;
  border: 1px solid #eee;
  margin-bottom: 20px;
}

h1.post-title {
  color: #566985 !important;
  font-size: 24px !important;
}

.post-thumbnail-wrapper {
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid #dfdfdf;
  padding: 8px;
  box-shadow: rgba(0, 0, 0, 0.18) 2px 5px 10px;
  position: relative !important;
  background: #f7f7f7;
}

.post-img-thumbnail {
  border: 1px solid #dfdfdf;
  padding: 8px;
  box-shadow: rgba(0, 0, 0, 0.18) 2px 5px 10px;
  position: relative !important;
  background: #f7f7f7;
  object-fit: cover;
  max-height: 400px;
}

div iframe {
  width: 100%;
  max-width: 100%;
  margin-bottom: 10px;
  margin-top: 20px;
  border: 1px solid rgb(223, 223, 223);
  position: relative !important;
  box-shadow: #adb7d4 2px 5px 10px;
  border-radius: 5px;
}

.divider {
  border-top: 1px solid rgb(230 230 230 / 0.1);
  overflow: hidden;
  clear: both;
}

.article-wrapper {
  position: relative;
  padding: 0 30px;
  border-radius: 5px !important;
  margin-bottom: 50px;
  padding-top: 10px;
  padding-bottom: 30px;
}

.article-wrapper h2,
.article-wrapper h3 {
  text-transform: capitalize !important;
  text-align: start;
  font-family: 'Quicksand', sans-serif !important;
  letter-spacing: 0.03em;
  color: #3e9bda;
  font-size: 20px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 10px;
}

.article-wrapper h4,
.article-wrapper h5 {
  text-transform: capitalize !important;
  text-align: start;
  font-family: 'Quicksand', sans-serif !important;
  letter-spacing: 0.03em;
  color: #3e9bda;
  margin-top: 20px;
  margin-bottom: 10px;
}

.article-wrapper h2 {
  line-height: 1.3;
}

.article-wrapper h3 {
  line-height: 1.2;
  background: transparent;
  padding: 0px;
}

.article-wrapper p {
  text-align: start;
  color: #666;
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  font-family: 'Roboto', sans-serif;
  letter-spacing: 0.01em;
}

.article-wrapper p a {
  color: #ec2a57;
  font-weight: 600;
}

.article-wrapper ul li a {
  color: #4DB7FE;
  font-weight: 600;
}

.article-wrapper ul {
  margin-top: 10px;
  margin-bottom: 10px;
}

.article-wrapper ul li {
  position: relative;
  display: block;
  font-size: 16px;
  color: #666;
  padding-left: 30px;
  margin-bottom: 12px;
  margin-top: 5px;
  text-align: start;
  letter-spacing: 0.01em;
  line-height: 26px;
  font-weight: 400;
  font-family: 'Roboto', sans-serif;
}

.article-wrapper ul li::before {
  position: absolute;
  content: '';
  left: 15px;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3e9bda;
}

.separator {
  width: 100%;
  margin: 25px 0;
  height: 1px;
  background: #eee;
}

.post-tags-wrapper {
  margin-bottom: 20px;
  margin-top: 50px;
}

.tags-item a {
  background: #4DB7FE;
  color: #fff;
  text-transform: lowercase;
  border-radius: 6px;
  padding: 10px 20px;
  margin-right: 10px;
  margin-bottom: 10px;
  transition: 1.0s ease;
  font-size: 13px;
}

.tags-item a:hover {
  background: #ec2a57;
  transition: 1.0s ease;
}

.tags-item a .fas.fa-tags {
  margin-right: 8px;
}

.prev-next-post-wrapper {
  padding-bottom: 30px;
}

.prev-next-img-thumbnail {
  border-radius: 15px;
  height: 210px;
  transition: 1.0s;
  object-fit: cover;
}

.prev-next-post,
.related-post-item {
  position: relative;
}

.prev-next-post img.post-icon.icon-left-arrow,
.prev-next-post img.post-icon.icon-right-arrow {
  position: absolute;
  top: calc(50% - 25px);
  left: calc(50% - 25px);
  width: 50px;
  height: 50px;
}

.related-post-item:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background-image: url("../../assets/img/shadow.png");
  background-size: cover;
  z-index: 2;
  border-radius: 7px;
}

.prev-next-post:hover .prev-next-img-thumbnail~i {
  opacity: 1;
  transition: 1.0s;
  background-color: rgba(0, 0, 0, 0.3);
}

.prev-next-post:hover .prev-next-img-thumbnail {
  opacity: 1;
  transition: 1.0s;
  background-color: rgba(0, 0, 0, 0.3);
}

.prev-next-post:hover .post-title-overlay,
.related-post-item:hover .post-title-overlay {
  opacity: 0.6;
  width: calc(100% - 30px);
  transition: width 0.5s;
  height: 100%;
}

.related-post-item:hover .post-title-overlay {
  width: 100%;
}

.prev-next-post:hover .post-title-overlay {
  border-radius: 15px;
}

.related-post-item:hover .post-title-overlay {
  border-bottom-left-radius: 7px;
  border-bottom-right-radius: 7px;
}

.prev-next-post:hover .post-title-hide,
.related-post-item:hover .post-title-hide {
  opacity: 1;
  transition: 1s ease;
  -webkit-transform: translate(0%, 0%);
  -ms-transform: translate(0%, 0%);
  transform: translate(0%, 0%);
}

.prev-next-img-thumbnail~i {
  position: absolute;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  color: #fff;
  border: 2px solid #eee;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  line-height: 54px;
  font-size: 35px;
  border-width: 3px;
  letter-spacing: 5px;
  display: block;
  text-align: center;
  z-index: 5;
  bottom: auto;
  right: auto;
  vertical-align: middle;
  opacity: 0.7;
  transition: 0.5s ease;
}

.comment-wrapper,
.related-wrapper {
  position: relative;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  margin-bottom: 60px;
}

.comment-wrapper {
  background: #fbfbfb;
}

.related-post-item img {
  position: relative !important;
  width: 100%;
  box-shadow: #adb7d4 2px 5px 10px;
  border-radius: 7px;
  display: block;
  max-width: 100%;
  border-style: none;
  transition: 1s ease;
  z-index: 3;
}

.related-post-item:hover img {
  opacity: 1;
  transition: 0.5s ease;
}

.related-post-item .post-title-hide {
  font-size: 14px;
  opacity: 1;
}

.related-post-item .post-title-overlay {
  right: 0;
  border-radius: 7px;
  z-index: 4;
}

.custom-form label {
  float: left;
  position: relative;
  width: 100%;
  text-align: left;
  font-weight: 500;
  color: #666;
}

.custom-form label i {
  padding-right: 12px;
  font-size: 14px;
  position: absolute;
  top: 16px;
  left: 20px;
}

.custom-form input {
  margin-bottom: 20px;
}

.custom-form textarea {
  height: 200px;
  resize: none;
  margin-top: 10px;
  margin-bottom: 30px;
}

.comment-wrapper {
  border: 1px solid #eee;
  padding-bottom: 20px;
}

.comment-wrapper .btn i {
  padding-left: 10px;
}

.comment-wrapper input[type="text"],
.comment-wrapper input[type=email],
.comment-wrapper input[type=password],
.comment-wrapper input[type=button],
.comment-wrapper textarea {
  border: 1px solid #eee;
  background: #f9f9f9;
  width: 100%;
  padding: 15px 20px 15px 55px;
  border-radius: 6px;
  color: #666;
  font-size: 13px;
}

.comment-wrapper label i {
  color: #4DB7FE;
  padding-right: 12px;
  font-size: 14px;
}

.custom-form {
  padding: 20px 35px;
}

.custom-form .btn {
  color: #fff;
  padding: 15px 40px;
  background: #4DB7FE;
  transition: 1s ease;
  border-radius: 6px;
  font-weight: 600;
  outline: none;
  border: none;
  cursor: pointer;
}

.custom-form .btn:hover {
  background: #ec2a57;
  transition: 1s ease;
}

@media screen and (max-width:576px) {
  .related-post-wrapper.list-grid {
    grid-template-columns: 1fr !important;
  }

  .post-img-thumbnail {
    height: auto;
  }

  #post .entry-content {
    padding-right: 15px;
    padding-left: 15px;
  }

  #post h1.post-title {
    font-size: 18px !important;
  }

  .article-wrapper {
    padding: 0px 15px;
  }

  div iframe {
    height: 190px;
  }
}

@media screen and (max-width:768px) {
  #post .breadcrumb-item.active.breadcrumb-title {
    display: none;
  }
}

@media screen and (max-width:1120px) {
  #post .breadcrumb-item.active.breadcrumb-title {
    display: none;
  }
}

@media screen and (min-width:577px) and (max-width:768px) {
  .related-post-wrapper.list-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .prev-next-post-wrapper.list-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .sidebar-content-wrapper.sidebar-post-list-content-wrapper.border.bg-white {
    grid-template-columns: 1fr 1fr !important;
  }

  #post-list-style-1 .sidebar-post-list-content {
    grid-template-columns: 1fr 1fr !important;
    display: grid !important;
    grid-gap: 20px 20px;
  }
}

/*Portrait*/
@media only screen and (min-device-width: 833px) and (max-device-width: 835px) and (orientation: portrait) {
  .list-grid.list-grid-2-1.grid-gap-30 {
    grid-template-columns: 1fr !important;
  }

  .related-post-wrapper {
    grid-template-columns: 1fr 1fr !important;
  }

  #post-list-style-1 .sidebar-post-list-content {
    grid-template-columns: 1fr 1fr !important;
    display: grid !important;
    grid-gap: 20px 20px;
  }
}

/* Landscape */
@media only screen and (min-width: 1111px) and (max-width: 1113px) and (orientation: landscape) {
  .list-grid.list-grid-2-1.grid-gap-30 {
    grid-template-columns: 2fr 1fr !important;
  }

  .related-post-wrapper {
    grid-template-columns: 1fr 1fr !important;
  }
}
