@media (min-width: 768px) {
	html {
		font-size: 16px;
	}
}

@media (min-width: 900px) {
	#deck-full {
		display:flex;
	}

	#deck-mobile {
		display: none;
	}
	
	.hamburger {
		display:none;
	}
}

@media (max-width: 899px) {
	#deck-full {
		display: none;
	}

	#deck-mobile {
		display: flex;
	}

	.hamburger {
		display: block;
		cursor: pointer;
		padding: 10px;
		margin-bottom: 12px;
		margin-right: 10px;
	}

	.hamburger-icon {
		display: block;
		width: 30px;
		height: 3px;
		background-color: #333;
		margin: 6px 0;
		position: relative;
	}

	.main_menu {
		display: block !important;
		position: fixed;
		top: 0;
		left: -250px;
		width: 250px;
		height: 100%;
		z-index: 999;
		background-image: linear-gradient(to bottom, rgba(24, 83, 129, 1) 0%, rgba(0, 57, 104, 1) 35%, rgba(0, 41, 79, 1) 65%, rgba(0, 23, 51, 1) 100%);
		padding-top: 15px !important;
	}

		.main_menu.active {
			left: 0;
		}

	.main-menu img {
		display:none;
	}

	svg {
		display: none;
	}
}

body {
	margin: 0;
	min-height: 100%;
	margin-bottom: 60px;
}

	body.loading {
		overflow: hidden;
	}
		
		body.loading .overlay {
			display: flex;
		}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
	box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.card-header {
	font-size: x-large;
	color: white;
	background: linear-gradient(rgba(1, 30, 48, 1) 0%, rgba(26, 71, 103, 1) 100%);
	text-align: center;
}

.card-hr {
	margin-top: 2px;
	margin-bottom: 4px;
}

.card-img {
	max-width: 200px;
	width: 100%;
	height: auto;
}

.card-info {
	min-height: 15px;
	padding: 5px;
	text-align: left;
}

.card-label {
	text-align: center;
	background-color: #0c5483;
	justify-content: center;
	align-items: center;
	color: white;
	border: 1px solid #7196a6;
	padding: 5px;
	display: flex;
	align-items: center;
}

.card-row {
	background-image: linear-gradient(rgb(1,43,77) 0%, rgb(1,54,80) 80%, rgb(1,56,81) 100%);
	background-color: black;
	text-decoration: none;
	color: white;
	display: block;
	border-color: white;
	border-style: groove;
	margin: 2px;
}

.card-search-img {
	width: 96px;
	height: auto;
	margin-bottom: 3px;
}

.card-spacer {
	height: 15px;
}

.card-type-value {
	padding: 5px;
	color: white;
	text-align: center;
	border: 1px solid #7196a6;
	background-color: #01233A;
}

.card-value {
	padding: 5px;
	color: white;
	text-align: left;
	border: 1px solid #7196a6;
	background-color: #01233A;
}

.center-h {
	text-align: center;
}

.center-v {
	display: flex;
	vertical-align: middle;
}

.click-image {
	height: 16px;
	width: 13px;
	cursor: pointer;
	padding-top: 2px;
}

.container {
	max-width: 980px;
}

.deck-list-action {
	padding: 5px 10px;
	border: 1px solid #7196a6;
	border-radius: 5px;
	color: white;
	margin: 1px 3px;
	background-color: #013650;
	display: inline-block;
	cursor: pointer;
}

	a.deck-list-action {
		text-decoration: none;
	}

.deck-list-cell {
	border: 1px solid #7196a6;
}

.deck-list-group-header {
	font-weight: bold;
	text-align: center;
	border-style: ridge;
	border-color: black;
	background-color: #5c5c5c;
	color: white;
}

.deck-list-name-val {
	text-align: left;
	border-bottom-style: groove;
	min-height: 23px;
}

.deck-list-points-val {
	text-align: center;
	border-bottom-style: groove;
	border-right-style: groove;
	min-height: 23px;
}

.deck-list-quantity-edit {
	margin-top: 4px;
	text-align:center;
}

.deck-list-qty-cell {
	cursor: pointer;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.deck-list-qty-val {
	text-align: center;
	font-weight: bold;
	border-bottom-style: groove;
	border-left-style: groove;
	min-height: 23px;
}

.deck-list-section-header {
	padding-left: 5px;
	padding-top: 2px;
	padding-bottom: 2px;
	font-weight: bold;
	text-align: left;
	border-style: ridge;
	border-color: black;
	background-color: #333333;
	color: white;
	margin-bottom: 5px;
}

.deck-list-section-total {
	padding-right: 5px;
	text-align: right;
	font-weight: bold;
}

.deck-list-sub-group-header {
	font-weight: bold;
	text-align: center;
	border-style: ridge;
	border-color: darkgray;
	background-color: lightgray;
}

.deck-row {
	border-bottom: 1px solid #7196a6;
}

footer {
	padding-top: 15px;
	background-color: black;
}

	.footer-p {
		line-height: 20px;
		padding: 2px;
	}

header {
	background-color: black;
	color: white;
}

	#header_meta {
		max-width: 980px;
		margin-left: auto;
		margin-right: auto;
	}

	#header_menu > nav {
		max-width: 980px;
		margin-left: auto;
		margin-right: auto;
	}

		#header_menu > nav > ul, #header_menu > nav > ul > li {
			padding: 0;
			margin: 0 auto;
			text-align: left;
			list-style: none;
			font-weight: normal;
		}

	#header_menu svg {
		height: 32px;
		margin: 0 auto 2px;
	}

html {
	font-size: 14px;
	position: relative;
	min-height: 100%;
}

.icon {
	width: 20px;
	height: 20px;
	margin-right: 5px;
}

.image-search-results {
	height:200px;
	overflow-y: scroll;
}

label {
	color: black;
}

.loader {
	margin-top: 4px;
	width: 20px;
	height: 20px;
	border: 5px solid #f3f3f3;
	border-radius: 50%;
	border-top: 5px solid #3498db;
	-webkit-animation: spin 2s linear infinite;
	animation: spin 2s linear infinite;
	display: none;
}
	
	@-webkit-keyframes spin {
		0% { -webkit-transform: rotate(0deg); }
		100% { -webkit-transform: rotate(360deg); }
	}

	@keyframes spin {
		0% { transform: rotate(0deg); }
		100% { transform: rotate(360deg); }
	}

.match-form {
	padding-top: 5px;
}

.match-form-large {
	padding-top: 8px;
}

.menu-image {
	margin: 0 auto 2px;
}

.nav-link {
	color: white !important;
	padding-left: 7px !important;
}

.navbar-nav {
	line-height: 21px;
	flex-direction: row;
}

.navbar-site-img {
	max-height: 75px;
	width: auto;
}

.orange-button {
	color: white;
	border: 1px solid #7196a6;
	border-radius: 5px;
	background: linear-gradient(rgba(255, 188, 3, 0.8) 0%, rgba(255, 169, 0, 0.8) 50%, rgba(255, 102, 0, 0.8) 100%);
	min-width: 150px;
}

	a.orange-button {
		text-decoration: none;
		padding: 2px 10px;
		margin: 5px auto;
		line-height: 35px;
	}

.overlay {
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 999;
	background-color: rgba(50,50,50,0.8);
	align-items: center;
	justify-content: center;
}

.pointer {
	cursor: pointer;
}

.points-cell {
	display: flex;
	justify-content: center;
	align-items: center;
}

::placeholder {
	color: black;
}

.results-per-page {
	max-width: 50px;
	display: inline;
	margin-left: 5px;
}

.right-text {
	text-align: right;
}

.search-buffer {
	padding-bottom: 5px;
}

.search-filter {
	background-color: #467491;
	color: white;
	cursor: pointer;
}

.search-header {
	background-color: #013650;
	color: white;
	border: 1px solid #7196a6;
	border-radius: 5px;
	padding: 5px;
	display: flex;
	align-items: center;
}

.search-image-label {
	padding-top: 4px;
}

.search-option {
	align-items: center;
	background: rgb(0, 68, 125);
	background: -webkit-linear-gradient(bottom, rgba(0,68,125,.9) 0%, rgba(93,162,179,..5) 100%);
	background: -o-linear-gradient(bottom, rgba(0,68,125,.9) 0%, rgba(93,162,179,.5) 100%);
	background: linear-gradient(to top, rgba(0, 68, 125, .9) 0%, rgba(93, 162, 179, .5) 100%);
	border: 1px solid #9bc0cb;
	border-bottom-color: #175b77;
	border-radius: 2px;
	border-right-color: #6890a3;
	box-sizing: border-box;
	color: #ffffff;
	cursor: pointer;
	display: inline-flex;
	justify-content: center;
	line-height: 1;
	margin: 5px 1px;
	min-height: 30px;
	min-width: 70px;
	padding: 7px 10px;
}

	.search-option img {
		margin-right: 3px;
		height: 1rem;
		width: 1rem;
	}

	.search-option.selected {
		color: #f4700f;
		font-weight: bold;
		background: rgb(255, 255, 255);
		background: -webkit-linear-gradient(bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 182, 1) 20%, rgba(255, 255, 17, 1) 100%);
		background: -o-linear-gradient(bottom, rgba(255,255,255,1) 0%, rgba(255,255,182,1) 20%, rgba(255,255,17,1) 100%);
		background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 182, 1) 20%, rgba(255, 255, 17, 1) 100%);
		border: 1px solid #ffffff;
		border-top-color: #777700;
		border-left-color: #aaaa12;
	}

.selected-card {
	border: 4px solid #0066FF;
}

.ui-dialog-titlebar-close {
	visibility: hidden;
}

.ui-tabs {
	background-color: #01233A !important;
}

.ui-tabs-panel {
	color: white;
}

.ui-tabs-nav {
	background-color: #01233A !important;
	border-left: none;
	border-right: none;
	border-top: none;
}

.white-text {
	color: white;
}

.wrapper {
	background-image: url('../images/bg_ocgtcg.png');
	background-repeat: repeat;
	display: block;
	background-color: #021320;
	min-height: 100vh;
	margin-bottom: -60px;
	padding-bottom: 130px;
}

	.wrapper::before {
		background: linear-gradient(to right, rgba(2,19,32,0) 0%, rgba(2,19,32,.8) 100%);
	}

	.wrapper::after {
		background: linear-gradient(to right, rgba(2,19,32,.8) 0%, rgba(2,19,32,0) 100%);
	}

	.wrapper::before, .wrapper::after {
		content: '';
		display: block;
		flex: 1;
	}