.no-flex {
	display: block !important;
}
	.cb-container  {
  		display: flex;
  		flex-wrap: wrap;
    	grid-gap: 20px;
	  	background-color:#3498DB;
		padding: 10px;
		border-radius: 10px;
	    justify-content: center;
	    min-height: 300px;
	}

.cb-item {
  display: inline;
  padding: 5px;
}

.cb-item:not(:first-child) {
  flex: 1;
}

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

.cb-item:nth-child(2) {
  	max-width: 200px;
  	text-align: center;
}

/* tabs */



/**
 * Tabs Block
 */
.tabs-block {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

/**
 * Tabs
 */
.tabs-wrapper {
    width: 100%;
    margin: 0 auto;
}

.tabs-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tabs-block {
    width: 100%;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.tabs label {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    margin-right: 0.0625rem;
    margin-bottom: 0.0625rem;
    cursor: pointer;
    background-color: #034f84;
    color: #fff;
    font-family: Roboto, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    transition: background-color ease 0.3s;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.tabs .tab {
    flex-grow: 1;
    width: 100%;
    height: 100%;
    display: none;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.4);
}

.tabs .tab > *:not(:last-child) {
    margin-bottom: 0.8rem;
}

.tabs [type=radio] {
    display: none;
}

.tab {
    background-color: #c2d4dd;
    color: #0067b8;
    justify-content: center;
}

.tabs [type=radio]:checked + label {
    background-color: #c2d4dd;
    color: #0067b8;
    border-top: 4px solid #0067b8;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.4);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.tabs [type=radio]:checked + label + .tab {
    display: block;
}

@media (min-width: 768px) {
    .tabs label {
        order: 1;
        width: auto;
    }

    .tabs .tab {
        order: 9;
    }

    .tabs [type=radio]:checked + label {
        border-bottom: none;
    }
}

/*end tabs */

/* start Dropdown*/
/* Style The Dropdown Button */
.dropbtn {
	cursor: pointer; 
    background-color: #f1f1f1; 
    border: 2px solid #34495E;
    font-size: 15px; 
    font-family: Gill Sans; 
    color: #2471A3;  
    padding: 14px 16px;
    
}

.dropbtn img {
	vertical-align:middle;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative; 
  display: block;
  float: right;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  left: auto;
  right: 0;
  background-color: #f9f9f9;
  min-width: 250px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a:link, .dropdown-content a:visited{
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  border: 1px solid #f1f1f1;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #f1f1f1}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* end Dropdown*/

.img200 img {
  border: none;
  width: 200px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 20px  0px;
}

.imgFull {
    max-width: 100% !important;
    width:100% !important;
    flex: none !important;
}

.imgFull img {
  border: none;
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 20px  0px;
}

.imgcenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.gcAd  {
	display: flex;
	flex-wrap: wrap;
	grid-gap: 20px;
	padding: 10px;
    justify-content: center;
    align-items: center;
	border-radius: 10px;
	border: 2px solid #2980B9;
}

.ebItem {
	flex: 1;
	 justify-content: center;
	 text-align: center;
}

.ebItem img {
  border: none;
  width: 100px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.ebItem:last-child {
  width: 100%;
}
	.ft-container  {
  		display: flex;
  		flex-wrap: wrap;
	}

	.ft-item {
  		display: inline;
  		padding: 5px;
	}
	

.tbox {
	background-color:#E5E7E9;
	color:#000000;
	padding:10px; 
	border: 2px solid #2980B9; 
	border-radius: 10px;
	display: flex;
  	flex-wrap: wrap;
}

.tbox li{
  margin: 10px 0;
}

.tbox a:link, .tbox a:visited {
  color: #2980B9;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 2px solid #2980B9;
}

.tbox a:hover {
  color: blue;
}

.tbox-item {
  display: inline;
  padding: 5px;
  max-width: 120px;
  flex: 1;
  text-align: center;
}

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

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

.frm_overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  display:none;
  opacity: 1;
}
      .formPopup {
      	color:#333333;
        
        position:fixed;
        top:50%;
        left:50%;
        transform:translate(-50%,-50%);
        box-sizing:border-box;
        max-width:calc(100%);
  		max-height:calc(100%);
  		overflow:auto;
  		max-height:calc(100vh);
      }
      .formContainer {
        max-width: 400px;
        min-width: 275px;
        padding: 15px;
        background-color: #fff;
		border-radius: 10px;
      }
      .formContainer input[type=text],
      .formContainer input[type=password] {
        width: 90%;
        padding: 10px;
        margin: 5px 0 15px 0;
        border: none;
        background: #eee;
      }
      .formContainer input[type=text]:focus,
      .formContainer input[type=password]:focus {
        background-color: #ddd;
        outline: none;
      }
      .formContainer .btn {
        padding: 12px 20px;
        border: none;
        background-color: #8ebf42;
        color: #fff;
        cursor: pointer;
        width: 100%;
        margin-bottom: 15px;
        opacity: 0.8;
      }
      .formContainer .cancel {
        background-color: #cc0000;
      }
      .formContainer .btn:hover,
      .openButton:hover {
        opacity: 1;
      }
      
.scroller {
    display: none;
}

.iZoom {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 99; /* Sit on top */
    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.9); /* Black w/ opacity */
}

.zoom-content {
    margin: auto;
    display: block;
    max-height: 75%;
    max-width:100%;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(1)}
    to {-webkit-transform:scale(2)}
}
@keyframes zoom {
    from {transform:scale(0.4)}
    to {transform:scale(1)}
}

@-webkit-keyframes zoom-out {
    from {transform:scale(1)}
    to {transform:scale(0)}
}
@keyframes zoom-out {
    from {transform:scale(1)}
    to {transform:scale(0)}
}

.zoom-content, #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

.out {
  animation-name: zoom-out;
  animation-duration: 0.6s;
}


@media screen and (max-width : 760px){
    
    .cb-container  {
    	  border-radius: 1px;
    }
    
	.dropdown {
	  float: none;
	}
	
	.dropdown-content {
		  left: 0; 
		  right: 0; 
		  margin-left: auto; 
		  margin-right: auto;
	}
	
}

/* Collection entry dialog */
#frm_overlay {
    z-index: 1000;
}
#popupForm {
    box-sizing: border-box;
    width: 640px;
    overflow-x: hidden;
    overflow-y: auto;
    max-width: calc(100% - 24px);
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .3);
    overscroll-behavior: contain;
}
#popupForm .formContainer {
    box-sizing: border-box;
    width: 100%;
    position: relative;
    max-width: 100%;
    min-width: 0;
    padding: 24px;
    text-align: left;
}
#popupForm h2 {
    margin: 0 36px 24px 0;
    font-size: 1.4rem;
    line-height: 1.3;
}
#popupForm .figure-form-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 6px;
    background: #eef3f7;
    color: #234e70;
    font-size: 28px;
    cursor: pointer;
}
#popupForm .figure-form-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
}
#popupForm .figure-field {
    min-width: 0;
    overflow-wrap: anywhere;
}
#popupForm .figure-field-wide {
    grid-column: 1 / -1;
}
#popupForm .figure-field label {
    display: block;
    margin-bottom: 7px;
}
#popupForm .figure-field input,
#popupForm .figure-field select,
#popupForm .figure-field textarea {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 10px;
    border: 1px solid #9baebb;
    border-radius: 6px;
    background: #fff;
    color: #222;
    font: inherit;
    font-size: 16px;
}
#popupForm textarea {
    resize: vertical;
}
#popupForm :is(input, select, textarea, button):focus-visible {
    outline: 3px solid #2471a3;
    outline-offset: 2px;
}
#popupForm .figure-accessories {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 12px 16px;
    border: 1px solid #c5d3de;
    border-radius: 8px;
    background: #f5f8fb;
}
#popupForm legend {
    padding: 0 6px;
    font-weight: bold;
}
#popupForm .figure-accessories input {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    accent-color: #2471a3;
}
#popupForm .figure-accessories label {
    display: inline-block;
    padding: 10px 0;
    max-width: calc(100% - 32px);
    vertical-align: middle;
    cursor: pointer;
}
#popupForm .figure-accessory-divider {
    border: 0;
    border-top: 1px solid #c5d3de;
}
#popupForm .figure-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}
#popupForm .figure-form-actions .btn {
    flex: 1 1 200px;
    width: auto;
    margin: 0;
    min-height: 44px;
    border-radius: 6px;
    background: #21658e;
    font: inherit;
    font-weight: bold;
    opacity: 1;
}
#popupForm .figure-form-actions .cancel {
    flex: 0 1 auto;
    background: #e8eef3;
    color: #234e70;
}
@media screen and (max-width: 520px) {
    #popupForm .formContainer { padding: 18px; }
    #popupForm .figure-form-fields { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    #popupForm .figure-form-actions .btn { flex: 1 1 100%; }
}

/* Personal collection: restrained vintage cardback palette. */
/* Keep the detail column readable and allow the image to wrap above it. */
#mainCont {
    min-width: 0;
    flex: 1 1 420px;
    box-sizing: border-box;
}
@media screen and (max-width: 760px) {
    #mainCont { flex-basis: 100%; width: 100%; }
}
.figure-collection {
    --fc-bg: #E5E7E9;
    --fc-panel: #fff;
    --fc-ink: #202020;
    --fc-muted: #626262;
    --fc-line: #c9c9c6;
    --fc-accent: #984a28;
    --fc-accent-soft: #f3e3d6;
    --fc-success: #287044;
    background: var(--fc-bg);
    color: var(--fc-ink);
    font: 15px/1.5 system-ui, sans-serif;
    text-align: left;
    border-radius: 14px;
    padding: 26px;
    margin: 24px 0;
    min-width: 0;
    scroll-margin-top: 20px;
}
.figure-collection, .figure-collection *, .figure-collection *::before { box-sizing: border-box; }
.figure-collection [hidden] { display: none !important; }
.figure-collection .fc-header, .figure-collection .fc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}
.figure-collection .fc-header { margin-bottom: 24px; }
.figure-collection .fc-header > div { flex: 1 1 240px; min-width: 0; }
.figure-collection h2 { margin: 6px 0 8px; font-size: clamp(23px, 2.7vw, 30px); line-height: 1.2; letter-spacing: -.6px; }
.figure-collection h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.3; }
.figure-collection h4 { margin: 0 0 10px; font-size: 13px; font-weight: 650; }
.figure-collection p { margin: 0; }
.figure-collection .fc-eyebrow { color: var(--fc-accent); font-size: 14px; letter-spacing: 2px; font-weight: 750; }
.figure-collection .fc-eyebrow a, .figure-collection .fc-eyebrow a:visited { color: inherit; border-bottom: 0; text-decoration: underline; text-decoration-color: #bc927c; text-underline-offset: 3px; }
.figure-collection .fc-eyebrow a:hover { color: var(--fc-ink); text-decoration-color: currentColor; }
.figure-collection .fc-context, .figure-collection .fc-muted, .figure-collection .fc-variation { color: var(--fc-muted); font-size: 13px; }
.figure-collection .fc-context { font-size: 15px; }
.figure-collection .fc-context > span[aria-hidden] { margin: 0 5px; }
.figure-collection .fc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 18px; align-items: stretch; }
.figure-collection .fc-card { width: 100%; max-width: 370px; display: flex; flex-direction: column; background: var(--fc-panel); border: 1px solid var(--fc-line); border-radius: 12px; min-width: 0; overflow: hidden; }
.figure-collection .fc-card-body { padding: 22px; flex: 1; }
.figure-collection :is(h2, h3, p, dd, .fc-badge, .fc-accessory-list) { overflow-wrap: anywhere; }
.figure-collection .fc-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 18px; }
.figure-collection .fc-badge { border: 1px solid var(--fc-line); border-radius: 5px; padding: 4px 8px; font-size: 12px; background: #E5E7E9; }
.figure-collection .fc-valuation { padding: 16px; background: #dce6ef; border: 1px solid #b9cbdc; border-radius: 8px; color: #243e59; }
.figure-collection .fc-valuation > span { display: block; font-size: 12px; }
.figure-collection .fc-valuation strong { display: block; font-size: 28px; font-weight: 650; letter-spacing: -.5px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.figure-collection .fc-valuation small { display: block; margin-top: 5px; color: #465c70; font-size: 12px; }
.figure-collection .fc-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 20px 0; }
.figure-collection dt { color: var(--fc-muted); font-size: 12px; margin-bottom: 4px; }
.figure-collection dd { margin: 0; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.figure-collection .fc-accessories, .figure-collection .fc-notes { border-top: 1px solid var(--fc-line); padding-top: 16px; margin-top: 16px; }
.figure-collection .fc-accessory-list { list-style: none; padding: 0; margin: 0; }
.figure-collection .fc-accessory-list li { display: flex; align-items: baseline; gap: 8px; padding: 5px 0; font-size: 13px; }
.figure-collection .fc-accessory-list li > span:nth-child(2) { flex: 1; min-width: 0; }
.figure-collection .fc-accessory-list small { font-size: 11px; color: var(--fc-muted); flex-shrink: 0; }
.figure-collection .fc-accessory-mark { flex: 0 0 18px; text-align: center; font-weight: 750; }
.figure-collection .fc-owned .fc-accessory-mark { color: var(--fc-success); }
.figure-collection .fc-missing { color: var(--fc-muted); }
.figure-collection .fc-notes p[id] { white-space: pre-wrap; font-size: 13px; }
.figure-collection .fc-notes p[id]:empty { display: none; }
.figure-collection .fc-card-actions { display: flex; align-items: center; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--fc-line); }
.figure-collection .fc-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 10px 15px; border: 1px solid var(--fc-line); border-radius: 7px; background: var(--fc-panel); color: var(--fc-ink); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.figure-collection .fc-button:hover { border-color: var(--fc-accent); background: var(--fc-accent-soft); }
.figure-collection .fc-primary { background: var(--fc-ink); border-color: var(--fc-ink); color: #fff; }
.figure-collection .fc-primary:hover { background: var(--fc-accent); color: #fff; }
.figure-collection .fc-edit { flex: 1; }
.figure-collection .fc-delete { border-color: transparent; color: #8c3434; }
.figure-collection .fc-delete:hover { border-color: #d9baba; background: #fff5f5; }
.figure-collection button:disabled { opacity: .6; cursor: wait; }
.figure-collection :focus-visible { outline: 3px solid #267bca; outline-offset: 3px; }
.figure-collection .fc-footer { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--fc-line); font-size: 13px; color: var(--fc-muted); }
.figure-collection .fc-empty { text-align: center; padding: 32px 20px; border: 1px dashed var(--fc-line); border-radius: 10px; background: var(--fc-panel); }
.figure-collection .fc-empty p { color: var(--fc-muted); max-width: 420px; margin: 10px auto 20px; }
.figure-collection .fc-empty-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--fc-accent-soft); color: var(--fc-accent); font-size: 24px; margin-bottom: 16px; }
.figure-collection .fc-feedback { border-left: 3px solid var(--fc-accent); padding: 12px 16px; background: var(--fc-panel); margin-bottom: 18px; font-size: 13px; }
@media (max-width: 640px) {
    .figure-collection { padding: 18px; }
    .figure-collection .fc-grid { grid-template-columns: minmax(0, 1fr); }
    .figure-collection .fc-card { max-width: none; }
    .figure-collection .fc-card-body { padding: 18px; }
    .figure-collection .fc-card-actions { padding: 14px 18px; }
    .figure-collection .fc-header > .fc-button { width: 100%; }
}
