/*
Theme Name: EPMC Blog Theme
Theme URI: http://blog.europepmc.org/
Author: EMBL-EBI Web Development Team
Author URI: http://blog.europepmc.org/
Description: WordPress theme for EPMC Blog website
Text Domain: epmc_blog
Version: 1.0.0
*/

body {
	margin-bottom: 0 !important;
}

.menu-items {
  display: flex;
  margin-top: 12px;
  flex-wrap: wrap;
}

.menu-items .link {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: #20699c;
  cursor: pointer;
}

.active-link {
  color: #494949 !important;
}

.search-input form {
  margin-top: 16px;
  display: flex;
}

.search-input form input {
  padding: 0;
  border-color: #20699c;
  width: 210px;
  border-right: none;
  font-size: 16px;
}

.search-input form input:focus,
.search-input form button {
  box-shadow: none;
}

.search-input form button {
  background: none;
  color: #20699c;
  border-color: #20699c !important;
  border: thin solid #20699c !important;
  border-left: none !important;
  width:auto !important;
  height: auto !important;
  padding: 8px 12px !important;
  font-size: 15px !important;
  margin: 0em !important;
}

.blogs,
.blog-details {
  margin-left: 0 !important;
  padding: 44px 0;
}

.twitter-feed,
.related-posts {
  padding: 44px 0;
}

.blog {
  border-bottom: 1px solid #d9d9d9;
  padding-bottom: 22px;
  margin-bottom: 28px;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
}

.blog p,
.blog-details p {
  font-family: "Open Sans";
  font-weight: 400;
  font-size: 14px;
  line-height: 32px;
  /* or 229% */
  color: #494949;
  margin-top: 0;
}

.blog-details h1 {
    font-family: "Open sans";
	line-height: 40px;
    font-size: 28px;
    font-weight: 600;
}

.blog-details h2 {
    font-family: "Open sans";
	line-height: 32px;
    font-size: 23px;
    font-weight: 600;
}

.blog-details h3 {
    font-family: "Open sans";
	line-height: 28px;
    font-size: 20px;
    font-weight: 600;
}

.blog-details h4 {
    font-family: "Open sans";
	line-height: 26px;
    font-size: 18px;
    font-weight: 600;
}

.blog-details h5 {
    font-family: "Open sans";
	line-height: 24px;
    font-size: 16px;
    font-weight: 600;
	font-style: unset;
}

.blog-details h6 {
    font-family: "Open sans";
	line-height: 22px;
    font-size: 14px;
    font-weight: 600;
	font-style: unset;
}

.blog-details ul li {
	font-size: 14px;
}

.blog-details blockquote {
    margin: 24px 44px 16px 60px;
    font-size: 18px;
    line-height: 40px;
    position: relative;
}

.blog-details blockquote:before {
    display: block;
    content: '\201c';
    color: #747474;
    font-size: 80px;
    font-family: Georgia;
    position: absolute;
    top: 20px;
    left: -36px;
}

.blog-details pre code {
	font-size: 14px;
}

.author-name {
  font-style: italic;
}

.publishing-date,
.reading-time {
  text-transform: uppercase;
}

.blog .blog-info .blog-name {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-size: 21px;
  line-height: 32px;
  color: #20699c;
  cursor: pointer;
}

.blog .blog-info .flex-container {
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px;
}

.blog .blog-info .flex-container .blog-thumbnail-container {
  width: 15%;
  margin-right: 20px;
}

.blog .blog-info .flex-container .summary-with-image {
  width: 80%;
}

.blog .blog-info .flex-container .blog-summary .summary {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #494949;
  text-align: justify;
}

.blog-info-mobile-view {
  display: none;
}

.blog-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.blog-pagination .link {
  cursor: pointer;
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #20699c;
}

.back-link {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: #20699c;
  margin-top: 10px;
}

.back-link a i {
  margin-right: 6px;
}

a {
  text-decoration: none;
  cursor: pointer;
}

a:visited {
  color: #615389;
}

.blog-details .blog-name {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-size: 28px;
  line-height: 32px;
  color: #494949;
}

.blog-details .blog-content .blog-heading {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  color: #000000;
}

.blog-details .blog-content .blog-paragraph {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #000000;
  margin-top: 5px;
  text-align: justify;
}

.related-posts .heading {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-size: 21px;
  line-height: 24px;
  color: #494949;
}

.related-posts .post-title {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 32px;
  color: #20699c;
}

.blog-tags {
  margin-top: 20px;
}

.blog-tags a {
  color: #20699c;
}

.blog-tags a {
  text-decoration: underline;
}

.share-section {
  margin-top: 20px;
  display: flex;
}

.share-section .heading {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  line-height: 18px;
  color: #20699c;
  margin-right: 20px;
  font-size: 16px;
}

.share-section i {
  margin: 0 5px;
  font-size: 16px;
}

.share-section .fa-envelope {
  color: #528abc;
}

.share-section .fa-twitter {
  color: #21a0e7;
}

.share-section .fa-linkedin {
  color: #196daa;
}

.share-section .fa-facebook-f {
  color: #384d8b;
}

.sample-page {
  height: 100vh;
}
.no-results-section {
  background: #dfecf5;
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  color: #494949;
  margin-top: 20px;
  padding: 12px 16px;
}
.page-not-found-section {
  border-bottom: 6px solid rgba(41, 144, 217, 0.11);
  margin-bottom: 80px;
}
.page-not-found-section h1 {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-size: 34px;
  line-height: 32px;
  color: #494949;
  margin-bottom: 24px;
}

.page-not-found-section p {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 32px;
  color: #494949;
  margin-top: 0;
}

.comments-area .comment-reply-title {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-size: 21px;
  line-height: 24px;
  color: #494949;
}

.comments-area .comment-policy {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #494949;
}

.comments-area label {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: #000000;
}

.comments-area input {
  background: #ffffff;
  border: 1px solid #979797;
  width: 289px;
  height: 40px;
}
.comments-area textarea {
  width: 100%;
  height: 98px;
}
.comments-area .comment-form-author {
  margin-right: 40px;
  margin-top: 25px;
}
.comments-area .comment-form-email {
  margin-top: 25px;
}

.comments-area .comment-form-comment {
  margin-top: 25px;
}

.comments-area .form-flex-container {
  display: flex;
  flex-wrap: wrap;
}

.comments-area .submit {
  width: 83px;
  height: 40px;
  background: #20699c;
  margin-top: 25px;
}

#subscribe-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content */
.subscribe-modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 30px;
  border: 1px solid #888;
  width: 80%;
  max-width: 464px;
  text-align: start;
}

.subscribe-modal-content h1 {
  font-family: "Merriweather";
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 32px;
  color: #494949;
}

#unsubscribe-container {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

/* Modal Content */
.unsubscribe-container-content {
  background-color: #fefefe;
  margin: auto;
  padding: 30px;
  text-align: center;
}

.unsubscribe-container-content h1 {
  font-family: "Merriweather";
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 32px;
  color: #494949;
}

/* The Close Button */
.close {
  color: #20699c;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.subscription-form .email-input {
  height: 39.67px;
  width: 100%;
  background: #ffffff;
  border: 1px solid #20699c;
  margin-top: 10px;
  font-size: 16px;
}

.privacy-notice {
  margin-top: 10px;
  display: flex;
  align-items: start;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  color: #494949;
}

.privacy-notice .checkbox-input {
  margin-top: 5px;
  margin-left: 0;
  margin-right: 5px;
  height: auto;
  width: auto;
}

.subscription-form button {
  margin-top: 10px;
}

.unsubscription-form .email-input {
  height: 39.67px;
  width: 25%;
  background: #ffffff;
  border: 1px solid #20699c;
  margin-top: 10px;
  font-size: 16px;
}

.unsubscription-form button {
  margin-top: 10px;
}

.confirmation-toast, .information-toast {
  display: flex;
  justify-content: center;
  margin: 16px 0;
  position: fixed;
  top: 22%;
  left: 30%;
  z-index: 1;
  width: 42%;
  font-size: 16px;
  }
  .confirmation-toast .confirmation-toast-content, .information-toast .information-toast-content {
  box-shadow: -1px 1px 4px 2px #969696;
  padding: 16px;
  }
  .confirmation-toast .confirmation-toast-content {
  background-color: #c8e5bb;
  }
  .information-toast .information-toast-content {
  background-color: #d3e4f0;
  }

@media screen and (max-width: 870px) {
  .blog-info-mobile-view {
    display: block;
  }

  .blog-info-desktop-view {
    display: none;
  }

  .blog .blog-info .flex-container .blog-thumbnail-container {
    width: 40%;
  }

  .blog .blog-info .flex-container .blog-summary {
    width: 100%;
    margin-top: 10px;
  }

  .blog .blog-info .flex-container .blog-summary .summary {
    margin-top: 8px;
  }

  .blogs-list,
  .blog-details-container {
    margin: 0;
  }
}

@media only screen and (max-width: 1199px) {
  .right-sidebar {
    display: none;
  }
}

/* Comment list CSS */
.comment-list .comment, .comment-list .comment-respond {
  padding-bottom: 22px;
}

.comment-list .depth-1 {
	border-bottom: 1px solid #d9d9d9;	
	margin-bottom: 28px;
}

#cancel-comment-reply-link {
  margin-left: 10px;
}
