.cb-container  {
  display: flex;
  flex-wrap: wrap;
    background-color:#3498DB;
  	  #background-color: #2196F3;
	  padding: 10px;
	  border-radius: 10px;
    justify-content: center;
    min-height: 300px;
}

.cb-item {
  position: relative;
  display: inline;
  padding: 5px;
  text-align: center;
}

.cb-item:first-child {
  width: 100%;
}

.cb-acc {
  width: 100%;
  padding: 5px;
  text-align: center;
}

.cb-acc table {
  margin: 0 auto;
}

.cb-item:not(:first-child) {
  flex: 1;
    max-width: 120px;
}

.cb-item:hover img {
  transform: scale(1.15);
}

.cb-item figure {
  margin: 0;
  #overflow: hidden;
}

.cb-item img {
  border: none;
  display: block;
  transition: transform .2s ease-in-out;
  margin-left: auto;
  margin-right: auto;
}

.fig img {
  height: 230px;
  min-width: 100px;
}

.nonfig {
  max-width: 300px !important;
}

.nonfig img {
  height: 150px;
  width: 300px;
}

.sprite {
  height: 10px !important;
  width: 10px !important;
  min-width: 10px !important;
  display:inline !important;
}
.acc img {
  height: 110px;
  width: 110px;
}


.fullwidth {
  flex-basis: 100%;
  height: 0;
}

.ebcont {
    width: 100%; 
    text-align:left;
    display: flex; 
    flex-wrap: wrap;
    padding: 10px;
    align-items: center;
}

.ebitm {
    flex: 1;
    display: inline;
    align-items: center;
    padding: 10px;
}

.ebitm:first-child {
    max-width: 120px;
    text-align: center;
}
.ebitm:not(:first-child) {
  flex: 1;
  text-align:left;
  height:100%;
}

.ebitm img {
  max-width: 110px;
}

.ebitm a:link, .eb a:visited {
    text-decoration: none;
    border-bottom: 0px;
}

@media screen and (max-width : 760px){
    .cb-container  {
    	  border-radius: 1px;
    }

}

/* Revoked or unavailable sharing links should not look like empty collections. */
.main-content:has(.cb-share-notice) { min-height: 0; }
.cb-share-notice {
    background: #E5E7E9;
    color: #202020;
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
    font: 16px/1.5 system-ui, sans-serif;
}
.cb-share-notice h1 { font-size: clamp(23px, 3vw, 28px); line-height: 1.25; margin: 0 0 12px; }
.cb-share-notice p { max-width: 560px; margin: 0 auto 20px; color: #52585e; }
.cb-share-notice a.gbut,
.cb-share-notice a.gbut:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 44px;
    max-width: 100%;
    padding: 10px 18px;
    background: #202020;
    color: #fff;
    border: 1px solid #202020;
    border-radius: 7px;
    font: 600 15px/1.4 system-ui, sans-serif;
    text-decoration: none;
}
.cb-share-notice a.gbut:hover {
    background: #3d3d3d;
    color: #fff;
    border: 1px solid #3d3d3d;
}
.cb-share-notice a.gbut:focus-visible {
    outline: 3px solid #267bca;
    outline-offset: 3px;
}

/* Cardback introduction and signup; scoped to avoid affecting other tile pages. */
.cb-guide .cb-guide-intro {
    box-sizing: border-box;
    padding: 24px 22px 16px;
    text-align: left;
    min-width: 0;
    font: 16px/1.6 system-ui, sans-serif;
}
.cb-guide .cb-guide-intro h1 {
    margin: 0 0 14px;
    text-align: left;
    font: 700 clamp(26px, 3vw, 36px)/1.2 system-ui, sans-serif;
}
.cb-guide-description { max-width: 850px; margin-bottom: 24px; }
.cb-guide-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.cb-guide-controls label { font-weight: 600; }
.cb-guide-controls select {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 8px 34px 8px 12px;
    border: 1px solid rgba(0, 0, 0, .22);
    border-radius: 6px;
    background-color: #fff;
    color: #202020;
    font: inherit;
}
.cb-guide-links { margin-top: 14px; font-size: 15px; line-height: 1.8; }
.cb-guide-links span { margin: 0 8px; }
.cb-guide .gc-collection-signup {
    box-sizing: border-box;
    width: calc(100% - 44px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 20px;
    margin: 0 22px 24px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 8px;
    background: rgba(255, 255, 255, .15);
    font: 16px/1.5 system-ui, sans-serif;
    text-align: left;
}
.gc-collection-signup a { font-weight: 600; white-space: nowrap; }
.cb-guide-links a:focus-visible, .gc-collection-signup a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@media (max-width: 600px) {
    .cb-guide .cb-guide-intro { padding: 16px 8px; }
    .cb-guide-controls { align-items: stretch; flex-direction: column; }
    .cb-guide .gc-collection-signup { width: calc(100% - 16px); margin: 0 8px 20px; padding: 14px; }
}

.cb-guide-personal p { margin: 0 0 8px; }
.cb-guide-personal p:last-child { margin-bottom: 0; }
