/* Compatibility styles for migrated Vaxbarn content and Accession-generated pages. */

.pull-left {
  float: left;
  margin: 0 1rem 1rem 0;
}

.pull-right {
  float: right;
  margin: 0 0 1rem 1rem;
}

.clearfix::after,
.item-page::after,
.com-content-article::after {
  clear: both;
  content: "";
  display: table;
}

.well {
	min-height: 20px;
	padding: 19px;
	margin-bottom: 20px;
	background-color: #f5f5f5;
	border: 1px solid #e3e3e3;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
	-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
}
.well blockquote {
	border-color: #ddd;
	border-color: rgba(0,0,0,0.15);
}
.well-large {
	padding: 24px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}
.well-small {
	padding: 9px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
.well .page-header {
	margin: 0px 0px 5px 0px;
}
.well select,
.well .chzn-container {
	max-width: 100%;
}
.pull-left {
	float: left;
}
.jcm-count-cm {
    display: none;
}

h1,
h2.item-title,
h3.card-header,
h2[itemprop="name"],
h2[itemprop="headline"] {
  background-color: #0088cc;
  color: #ffffff;
/*  border-radius: 12px !important;
*/  padding-left: 0.5em;
  padding-right: 0.5em;
  padding-top: 0.2em;
  padding-bottom: 0.2em;
}

.card-header:first-child {
  border-top-left-radius: 12px !important;
  border-top-right-radius: 12px !important;
  border-bottom-left-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
}

h1 a,
h2.item-title a,
h3.card-header a,
h2[itemprop="name"] a,
h2[itemprop="headline"] a {
  color: #ffffff;
  text-decoration: none;
}

.blog-items {
    grid-gap: 0.5em !Important;
    margin: 0 0 0.5em !Important;
}

.blog-item {
  border-style: solid !Important;
  border-width: 1px !Important;
  border-color: rgba(0, 136, 204, 1) !Important;
  padding: 0em !Important;
}

.item-content p,
.item-content dl {
  padding-left: 0.5em !Important;
  padding-right: 0.5em !Important;
  padding-top: 0em !Important;
  padding-bottom: 0em !Important;
}

.container-fluid,
.container,
.item-content {
  padding: 0 !Important;
}


.thumbnail,
.img-thumbnail,
.img-polaroid {
  background: #fff;
  border: 1px solid #d7e0e4;
  border-radius: 4px;
  display: inline-block;
  max-width: 100%;
  padding: 0.25rem;
}

.accession-breadcrumb {
  color: #56636d;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.accession-facts {
  display: grid;
  gap: 0.5rem 1rem;
  grid-template-columns: max-content minmax(0, 1fr);
}

.accession-facts dt {
  color: #56636d;
  font-weight: 700;
}

.accession-media {
  clear: both;
  margin: 1.5rem 0;
}

.accession-media h2,
.accession-items h2,
.accession-related h2,
.accession-resources h2 {
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
}

.accession-media figure {
  display: inline-block;
  margin: 0 1rem 1rem 0;
  max-width: min(260px, 100%);
  vertical-align: top;
}

.accession-media img {
  border: 1px solid #d7e0e4;
  border-radius: 4px;
  display: block;
  height: auto;
  max-width: 100%;
}

.accession-media figcaption {
  color: #56636d;
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

.accession-related span,
.accession-resources span,
.accession-items span {
  color: #56636d;
}

.vaxbarn-powered-by-accession {
  margin: 1.5rem auto;
  text-align: center;
}

.vaxbarn-powered-by-accession img {
  display: inline-block;
  height: auto;
  max-width: min(320px, 90vw);
  vertical-align: middle;
}

@media (max-width: 700px) {
  .pull-left,
  .pull-right {
    float: none;
    margin: 0 0 1rem;
  }

  .accession-facts {
    grid-template-columns: 1fr;
  }

  .accession-media figure {
    display: block;
    margin-right: 0;
    max-width: 100%;
  }
}

.card, .mm-collapse, .breadcrumb, .item-content, .blog-item, .item-image, .item-page, .left.item-image img, .category-list, .reset, .remind, .pagination, .page-link, .login, .list-group-item, .finder, .no-card .newsflash-horiz li {
    border-radius: 12px !important;
    border-color: #0088cc !important;
}

.container-header,
.footer {
    background-color: #ffffff !important;
    background-image: none !important;
}

.btn-primary {
    background-color: #0088cc !important;
    border-color: #0088cc !important;
}

h1, .h1 {
  font-size: 1.8rem !important;
}


h2, .h2 {
  font-size: 1.6rem !important;
}

h3, .h3 {
  font-size: 1.4rem !important;
}

h4, .h4 {
  font-size: 1.2rem !important;
}

h5, .h5 {
  font-size: 1.1rem !important;
}

h6, .h6 {
  font-size: 1rem !important;
}

.navbar-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
}

.brand-logo,
.brand-logo img {
  width: 50%;
  max-width: 400px;
  height:auto
}
