a {
	cursor: pointer;
}
.print-data {
	min-width: 180px;
	font-size: 1em;
	max-height: 400px;
	overflow: scroll;
}
.underlined {
	text-decoration: underline;
}
#search-bar {
	font-size: 1.3em;
	min-width: 60%;
}
#search-button {
	font-size: 1.3em;
}
.flex {
	flex-wrap: wrap;
}
.flex-column {
	display: flex;
	flex-direction: column;
}
.syntax-text {
	padding-left: 30px;
}
.syntax-header {
	font-size: 2em;
	padding-left: 10px;
}
table {
	margin: auto;
	text-align: center;
}
td {
	max-width: 20vw;
}
#format-title {
	font-size: 1.3em;
	margin: 3px;
}
/*
@font-face {
	font-family: Beleren;
	src: url('../../fonts/Beleren Bold.ttf'), url('https://lackeybot.com/fonts/Beleren Bold.ttf'), url('https://lackeybot.herokuapp.com/fonts/Beleren Bold.ttf');
}*/
.button-grid {
	width: 80%;
	max-width: 1200px;
	height: 40px;
	margin: auto;
	display: grid;
	grid-template-columns: 4fr 1fr;
	gap: 10px;
	padding-top: 10px;
	padding-bottom: 20px;
	justify-items: center;
}
.results-text {
	padding-top: 10px;
}
.prev-next-btns {
	height: 40px;
	margin: auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5px;
	align-items: center;
}
button {
	background-color: var(--primary-color);
	border: 1px solid var(--primary-lightest-text);
	border-radius: 8px;
	box-shadow: rgba(213, 217, 217, .5) 0 2px 5px 0;
	color: var(--primary-color-text);
	cursor: pointer;
	font-size: 13px;
	width: 100%;
	height: 35px;
	min-width: 85px;
}
button:hover {
	background-color: var(--primary-highlight);
	color: var(--primary-highlight-text);
}
button:focus {
	border-color: var(--primary-dark)
	box-shadow: rgba(213, 217, 217, .5) 0 2px 5px 0;
	outline: 0;
}
button:disabled {
	cursor: auto;
	background-color: var(--primary-lightest);
	font-style: italic;
	box-shadow: none;
	color: var(--primary-lightest-text);
}
.button-grid .results-text {
	margin-right: -3px;
}
.button-grid .select-text {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: left;
	gap: 8px;
	font-size: 14.5px;
	text-align: center;
}
select {
	background-color: #fafafa;
	border: 1px solid #d5d9d9;
	border-radius: 8px;
	box-shadow: rgba(213, 217, 217, .5) 0 2px 5px 0;
	text-align: center;
	color: #171717;
	font-size: 13px;
	height: 30px;
}
.grid-container {
	display: grid;
	grid-template-columns: auto;
	max-width: 1500px;
	margin: auto;
}
.image-grid-container {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	width: 95%;
	max-width: 1500px;
	margin: auto;
	gap: 5px;
	justify-items: center;
}
@media ( max-width: 750px ) {
	.image-grid-container {
		grid-template-columns: 1fr 1fr;	
	}
}
.image-grid {
	width: 95%;
	margin: auto;
	display: grid;
	grid-template-columns: minmax(150px, 1fr) minmax(300px, 2fr);
	gap: 50px;
	padding-bottom: 10px;
	justify-items: left;
}
.image-grid img {
	position: relative;
}
.card-image {
	float: left;
	width: 100%;
	height: auto;
	display: block;
}
.card-text {
	padding-top: 10px;
	padding-bottom: 20px;
	background: var(--primary-lightest);
	width: 100%;
	border: 1px solid var(--primary-lightest-text);
	border-top: 3px solid var(--primary-lightest-text);
	border-bottom: 3px solid var(--primary-lightest-text);
	border-radius: 6px;
	height: fit-content;
	min-height: 75%;
	margin-top: 3%;
	position: relative;
}
.expander {
	position: absolute;
	bottom: 15px;
	width: 100px;
	height: 1.3em;
	cursor: pointer;
	border: 1px solid var(--primary-lightest-text);
}
.card-text.has-printings {
	display: grid;
	grid-template-columns: 4fr 1fr;
}
.card-text div {
	white-space: normal;
	font-size: 18px;
	padding-left: 12px;
	padding-right: 12px;
}
.card-text .name-cost {
	font-weight: bold;
	font-size: 24px;
	white-space: pre-wrap;
}
.name-cost .mana-cost {
	font-size: 16px;
}
.card-text .effects {
	line-height: 155%;
}
.effects .mana-cost {
	font-size: 13px;
}
.card-text .mana-cost {
	margin-bottom: 3px;
}
.card-text br {
	margin-bottom: 3px;
}
.card-text .type {
	font-size: 20px;
	text-decoration: underline;
}
.card-text .rarity-symbol {
	height: 25px;
	top: 5px;
}
.card-text .pt {
	font-weight: bold;
}
.img-container {
	position: relative;
	width: 100%;
	align-self: center;
}
.img-container img {
	width: 100%;
	height: auto;
	border-radius: 5% / 3.5%;
}
.img-container .btn {
	position: absolute;
	background: #ffffff;
	margin: 0;
	color: #16161D;
	border-radius: 100%;
	border: 2px solid black;
	display: block;
	height: 11%;
	width: 15%;
	cursor: pointer;
	top: 44%;
	left: 44%;
	opacity: 0.4;
	transform-style: flat;
	transition: background-color 200ms linear, opacity 50ms linear;
	z-index: 1000;
	min-width: 20;
}
.img-container .btn:hover {
	opacity: 0.75;
}
.img-container .hidden-text {
	position: absolute;
	/*font-family: Beleren;*/
	top: 5%;
	left: 9%;
	font-size: .97vw;
	color: rgba(0, 0, 0, 0);
}
.transparent {
	color: rgba(0, 0, 0, 0);
}
.section-container {
	padding-top: 10px;
	padding-bottom: 10px;
	display: flex;
}
.legality {
	padding: 5px;
	border: 1px solid var(--text-color)
}
.legality.legal {
	background-color: #4afa4a;
	color: black;
}
.legality.banned {
	background-color: #fa8a8a;
	color: black;
}
#lairbox {
	text-wrap: nowrap;
	padding-left: 10px;
	padding-right: 10px;
}
.card-changed {
	background-color: yellow;
}
.list-tile {
	width: 200px;
	border: 1px solid black;
	padding: 5px;
	margin: 5px;
	align-content: center;
}
#cotd-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
}
#cotd {
	text-align: center;
	font-weight: bold;
	font-size: 1.6em;
}
#card-info {
	width: 95%;
	margin: auto;
	padding-bottom: 20px;
}
.hidden {
	display: none;
}