/* social */
 am-fav.am-block {
	display: flex;
	justify-content: var(--am-button-justify);
	align-items: center;
	gap: var(--am-button-gap);	
}

.am-fav {
	box-sizing: content-box;
	padding: var(--am-button-padding-vertical)
		var(--am-button-padding-horizontal);
	line-height: var(--am-button-lineheight);
	font-family: inherit;
	font-weight: inherit;
	font-size: var(--am-button-font-size);
	text-transform: none;
	text-decoration: none;
	max-width: 50px;
	min-width: 0px !important;
}

.am-social {
  display:grid;
  justify-content: center;
  gap:var(--std-layout-gap);
}
.am-social__item {
  display:flex;
  align-items:center;
  gap:1em;
  min-width:0;
  padding:1.2em 4em;
  border:1px solid var(--std-border-clr);
  border-radius:10px;
  background-color:var(--std-bg-1);
  margin-bottom: 2rem;
  transition:background-color .2s
}

am-flex {
	min-width: 0px !important;
}

.std-pagelist--grid,
.std-pagelist--masonry {
  --column-size: 25rem;
}

/* card */
.card-body {
  display:flex;
  flex-direction:column;
  flex-grow:1;
  padding:calc(var(--std-card-inner-space) * .8) var(--std-card-inner-space);
  border:1px solid var(--std-border-clr);
  border-radius:10px;
  background-color:var(--std-bg-1);
  margin-bottom: 2rem;
  transition:background-color .2s
}

.card-header {
  display:grid;
  justify-content: center;
	justify-items: center;
  width:100%;
}

.card-header-item {
  display:flex;
  align-items:center;
	justify-content:center;
  width:125px;
  height:125px;
	margin:0 auto;
}

.card-item-img {
  display:flex;
  justify-content:center;
  align-items:center;

}

.card-footer {
  display:grid;
  justify-content: left;
  width:100%;
  font-size: 0.9rem;
}

/* button */
.threedemo-download-buttons {
	display: flex;
	box-sizing:border-box;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.am-button.threedemo-download-button,
.am-button.threedemo-download-button:link,
.am-button.threedemo-download-button:visited {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	background: transparent !important;
	border: 2px solid #2b2b2b !important;
	border-radius: 0.5rem;
	padding: 0.5rem 1rem;
	height: 2.5rem;
	font-size: 1rem;
	line-height: 1.2;
	outline: none;
	cursor: pointer;
	transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.am-button.threedemo-download-button:hover,
.am-button.threedemo-download-button:active,
.am-button.threedemo-download-button:focus {
	color: #ffffff !important;
	background: transparent !important;
	border: 2px solid #ffffff !important;
}

.am-button.threedemo-download-button:focus {
	outline: none;
}

.threedemo-download-error {
	color: #b00020;
}

/* stats */
.threedemo-download-stats {
	display: grid;
	gap: 1.5rem;
}

.threedemo-download-stats-total,
.threedemo-download-stats-page-total {
	margin: 0;
}

.threedemo-download-stats-page {
	padding: 1rem;
	border: 1px solid var(--std-border-clr, #ddd);
	border-radius: 0.75rem;
	background: var(--std-bg-1, transparent);
}

.threedemo-download-stats-page-title,
.threedemo-download-stats-title {
	margin-top: 0;
	margin-bottom: 0.5rem;
}

.threedemo-download-stats-table-wrap {
	overflow-x: auto;
}

.threedemo-download-stats-table {
	width: 100%;
	border-collapse: collapse;
}

.threedemo-download-stats-table th,
.threedemo-download-stats-table td {
	padding: 0.5rem 0.75rem;
	text-align: left;
	border-bottom: 1px solid var(--std-border-clr, #ddd);
	vertical-align: top;
}

.threedemo-download-stats-empty {
	margin: 0;
	opacity: 0.8;
}
