/**
 * Evil Apples!
 */

html {
	position: relative;
	min-height: 100%;
	max-width: 100%;
}

.container {
	padding: 20px 20px 140px;
}

.breadcrumbs {
	display: inline-block;
}

.users {
	font-size: 18px;
}

body {
	-webkit-font-smoothing: antialiased;
	font: 700 26px/1.2 'Helvetica Neue', Arial, sans-serif;
	background: black;
	color: white;
	background-size: 75%;
}

th,
td {
	text-align: left;
	color: springgreen;
	vertical-align: top;
	padding: 0px 12px 12px 12px;
}

td {
	font-size: 20px;
	font-weight: normal;
	color: white;
}

th.number,
td.number,
th.secondary,
td.secondary {
	text-align: right;
}

p {
	margin: 0 0 20px;
	font-size: 18px;
}

pre.logs {
	margin: 0;
	font: 500 14px/1.4 'Helvetica Neue', Arial, sans-serif;
	text-decoration: none;
}

p.stats {
	font-size: 18px;
}

a:link {
	color: white;
	text-decoration: none;
}      /* unvisited link */

a:visited {
	color: gray;
	text-decoration: none;
}  /* visited link */

a:hover {
	color: white;
	text-decoration: underline;
}  /* mouse over link */

a:active {
	color: gray;
	text-decoration: none;
}  /* selected link */

a:link.hiddenCard {
	color: mediumslateblue;
}

a.navigation {
	font-size:20px;
	display: inline-block;
}

a:visited.navigation {
	color: white;
	text-decoration: none;
}  /* visited link */

a:hover.button {
	color: white;
	text-decoration: none;
}  /* visited link */

a.breadcrumbs,
p.breadcrumbs {
	font-size: 20px;
}

a.flagged {
	color: crimson;
}

input, select {
	margin: 5px 5px 20px 0px;
}

label {
	/*padding: 22px 0px 5px 0px;*/
	font-size: 18px;
}

input.text {
	width: 100%;
	font-size: 18px;
}

input.bottom, select.bottom {
	margin-bottom: 5px;
}

input[type=checkbox] {
	margin-left: 15px;
}

input[type=checkbox].certification {
	margin: 0px;
}

li.duplicate {
	font-size: 18px;
	margin: 10px 0px 0px 0px;
}

button[type="submit"]:disabled {
	opacity: 0.5;
}

.email-consent-tools {
	color: #A282E2;
}

.support-tools {
	color: #C95758;
}

.abuser {
	color: #C95758;
}

.admin-tools {
	color: #A282E2;
}

.bot {
	color: #A282E2;
}

.decks-published {
	color: #A282E2;
	text-decoration: underline;
	padding-bottom: 10px;
}

.decks-unpublished {
	color: #A282E2;
	text-decoration: underline;
	padding-bottom: 10px;
}

.decks-grid {
	display: grid;
	grid-template-columns: repeat(4, 40px auto);
}

/* The alert message box */
.alert {
	position: absolute;
	width: 100%; /* Full width (cover the whole page) */
  padding: 20px;
  background-color: mediumseagreen; /* Red */
  color: white;
  margin-bottom: 15px;
  opacity: 1;
  transition: 0.6s;
  z-index: 10000000;
}

.btn {
	display: block;
	height: 40px;
	min-width: 120px;
	padding: 0px 10px 0px 10px;
	text-align: center;
	border-radius: 6px;
	text-decoration: none;
}

.btn.join {
	height: unset;
	padding: 4px 4px 8px;
}

.btn.red {
	background: hsl(356, 83%, 55%);
	box-shadow: inset 0 -3px hsl(356, 83%, 38%);
	color: white;
}

.btn.green {
	background: hsl(120, 83%, 41%);
	box-shadow: inset 0 -3px hsl(120, 83%, 27%);
	color: white;
}

.btn.blue {
	background: hsl(240, 83%, 41%);
	box-shadow: inset 0 -3px hsl(240, 83%, 25%);
	color: white;
}

.btn.yellow {
	background: hsl(45, 100%, 45%);
	box-shadow: inset 0 -3px hsl(45, 83%, 30%);
	color: white;
}

.btn.rating {
	width: 120px;
	height: 40px;
	margin: 0px 0px 10px 0px;
	font-size: 20px;
}

.btn.submit {
	margin: 20px 0px 0px 0px;
	font-size: 20px;
}

.btn.deck {
	width: auto;
}

/* The close button */
.closebtn {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

/* When moving the mouse over the close button */
.closebtn:hover {
  color: black;
}

.duplicate {
	font-weight: normal;
	color: #CF6766;
}

.flagged {
	color: crimson;
}

.hiddenCard {
	color: mediumslateblue;
}

.subtitle {
	color: #AB987A;
	font-size: 18px;
}

.title {
	color: #F7CE3E;
	font-size: 20px;
}

.topcorner {
    position: absolute;
    top: 25px;
    right: 20px;
}

#app-store-link {
	display: block;
	width: 190px;
	height: 68px;
	margin: 40px auto 0;
	background: url(../img/app-store-badge.png) no-repeat;
	background-size: 100%;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
	background-color: transparent;
	border: 0;
	overflow: hidden;
	/* IE 6/7 fallback */
	*text-indent: -9999px;
}

.ir:before {
	content: "";
	display: block;
	width: 0;
	height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
	display: none !important;
	visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
	visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
	content: " "; /* 1 */
	display: table; /* 2 */
}

.clearfix:after {
	clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
	*zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
	/* Style adjustments for viewports that meet the condition */
}

@media print,
	   (-o-min-device-pixel-ratio: 5/4),
	   (-webkit-min-device-pixel-ratio: 1.25),
	   (min-resolution: 120dpi) {
	/* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
	* {
		background: transparent !important;
		color: #000 !important; /* Black prints faster: h5bp.com/s */
		box-shadow: none !important;
		text-shadow: none !important;
	}

	a,
	a:visited {
		text-decoration: underline;
	}

	a[href]:after {
		content: " (" attr(href) ")";
	}

	abbr[title]:after {
		content: " (" attr(title) ")";
	}

	/*
	 * Don't show links for images, or javascript/internal links
	 */

	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content: "";
	}

	pre,
	blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	thead {
		display: table-header-group; /* h5bp.com/t */
	}

	tr,
	img {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

	@page {
		margin: 0.5cm;
	}

	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}

	h2,
	h3 {
		page-break-after: avoid;
	}
}
