/*
 * HTML5 Boilerplate Reset (slightly simplified)
 * Detailed information about this reset: h5bp.com/css
 */


/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

/* =============================================================================
   Base
   ========================================================================== */

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

html, button, input, select, textarea { font-family: Helvetica, sans-serif; color: #222; }

body { margin: 0; font-size: 1em; line-height: 1.4; }

::-moz-selection { background: #f3a03d; color: #fff; text-shadow: none; }
::selection { background: #f3a03d; color: #fff; text-shadow: none; }


/* =============================================================================
   Links
   ========================================================================== */

a { color: #666; text-decoration: none; font-weight: bold;}
a:visited {}
a:hover { text-decoration: underline;}
a:focus { outline: none; }
a:hover, a:active { outline: none; }

/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

dfn { font-style: italic; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

ins { background: #ff9; color: #000; text-decoration: none; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }

pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol, dl { margin: 0; padding: 0; }
dd { margin: 0; padding: 0; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }


/* =============================================================================
   Forms
   ========================================================================== */

/* WARNING: RESTORE FORM RESET on production (snipped out for exercise) */

/* ==|== primary styles =====================================================
   Author: Orson Bradford
   ========================================================================== */

h1,h2,h3,h4,h5,h6 {
    margin: 0 0 10px 0;
    font-family: Georgia, serif;
}

h1 {
    font-size: 1.5em;
    line-height: 1.2;
}

h2 {
    font-size: 1.25em;
    line-height: 1.2;
}

h2 {
    font-size: 1.125em;
    line-height: 1.3;
}

p {
    margin: 0 0 10px 0;
}

p, li, dt, dd {
    font-size: 0.75em;
    line-height: 1.5;
}

p a {
    color: #444;
}

/* =============================================================================
   Layout
   ========================================================================== */

html,
body {
    height: 100%;
}

footer {
    min-height: 40px;
}

/*LIST*/

body.card-gallery {
    text-align: center;
}

body header {
	margin-bottom: 20px;
}

hgroup.page-title {
	display: inline-block;
	min-width: 240px;
	padding: 16px 0 10px 0;
	color: #444;
	background: url(../images/icon.png) no-repeat left top, url(../images/icon.png) no-repeat right top;	
}

body.card-gallery h1,
body.about h1 {
	font-size: 1.75em;
    text-transform: uppercase;
    letter-spacing: 3px;
}

body.card-gallery h2 {
    margin: 0;
}

.site-nav li {
    display: inline-block;
}

.site-nav a {
    padding: 5px 10px 10px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
}

#card-index {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 4px solid #666;
	-moz-column-count:3;
	-webkit-column-count:3;
	column-count:3;
	-moz-column-gap:1px;
	-webkit-column-gap:1px;
	column-gap: 1px;
	-moz-column-rule: 1px dotted #666;
	-webkit-column-rule: 1px dotted #666;
	column-rule: 1px dotted #666;
}

#card-index a {
	display: inline-block;
	min-width: 75px;
    margin: 0 auto;
    padding: 5px 10%;
    background-color: #eee;
    border: 1px outset #ccc;
    font-size: 1em;
    color: #000;
}

#card-index li {
	padding: 0;
    margin: 5px 0 5px 0;
    font-weight: bold;
}

#page-nav {
	display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0px;
    overflow: scroll;
    background-color: #fff;
}

#page-nav li {
    /*margin-bottom: 10px;*/
    font-size: 2em;
	padding: 5px;
}

#page-nav a {
	padding: 5px;
    /*font-size: 1em;*/
    text-align: center;
    line-height: 1;
}

#page-nav a:hover {
    text-decoration: none;
}

#page-nav-index a {
	/*font-size: 2em;*/
    border-top: 1px solid #444;
}

#page-nav-about a {
	/*font-size: 2em;*/
    border-bottom: 1px solid #444;
}

#card-gallery {
    overflow: hidden;
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 4px solid #666;
}

#galleryShade {
    background-color: #fff !important;
}

#card-gallery article {
	position: relative;
	float: left;
    height: 560px;
    margin: 20px;
}

#card-gallery article a,
#card-gallery article a img.small {
    display: block;
}

#card-gallery article .rules,
#card-gallery article .history,
#card-gallery article .status,
#card-gallery article .notes {
    display: none;
}

#card-gallery article h1 {
	display: none;
    text-align: center;
}

#card-gallery .show-text,
#card-gallery .show-details {
	clear: both;
	display: block;
	width: 280px;
	margin: 0 auto;
	padding: 5px 0;
    background-color: #ccc;
    -webkit-border-radius: 6px 6px 0 0;
	-moz-border-radius:  6px 6px 0 0;
	border-radius: 6px 6px 0 0;
	text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 3px;
	color: #666;
	cursor: pointer;
}

#card-gallery .show-details {
	padding: 5px;
    -webkit-border-radius: 0 0 6px 6px;
	-moz-border-radius: 0 0 6px 6px;
	border-radius: 0 0 6px 6px;
}

#card-gallery .status ul {
	min-height: 20px;
    overflow: hidden;
}

.status ul li {
    list-style: none;
    font-style: italic;
    color: #666;
}

#card-gallery .status ul li {
    float: left;
    margin: 0 0 0 10px;
    font-size: 12px;
    line-height: 1.2;
}

hgroup.page-title h1,
hgroup.page-title h2 {
    text-align: center;
}

body.card-gallery .cost:before {
   content: "Cost: ";
}

body.card-gallery .type:before {
   content: "Type: ";
}

.cost,
.type,
.bonus {
    font-weight: bold;
}

/*LIST*/

body.about {
    text-align: center;
}

#about {
	max-width: 640px;
	margin: 0 auto 10px;
    /*margin-top: 20px;
	padding-top: 20px;
	border-top: 4px solid #666;*/
}

#about .details h2 {
    text-align: left;
}

#about .details {
	margin: 0 10px 0 10px;
	-moz-column-count:1;
	-webkit-column-count:1;
	column-count:1;
	-moz-column-gap:20px;
	-webkit-column-gap:20px;
	column-gap: 20px;
}

#about p {
    font-size: 14px;
	/*margin: 0 auto 10px;*/
	text-align: left;
}

#about .divider {
	margin: 0 0 20px 0;    
}

/*DETAIL*/

body.card-detail nav li {
    position: absolute;
	left: 0;
	right: 0;
	bottom: 0px;
	text-align: center;
	font-size: 24px;
	line-height: 1;
}

body.card-detail nav li.prev {
	right: auto;
}

body.card-detail nav li.next {
	left: auto;
}

body.card-detail nav ul {
    position: relative;
    height: 30px;
    max-width: 320px;
	max-width: 400px;
	margin: 0 auto;
	padding: 0 40px;
}

body.card-detail nav a {
	display: inline-block;
    width: 30px;
    font-weight: bold;
    text-align: center;
}

body.card-detail {
    background-color: #ccc;
}

#card-detail {
	position: relative;
	max-width: 320px;
	max-width: 400px;
	margin: 10px auto 0;
	padding: 20px 40px;
	text-align: left;
	background-color: #fff;
	font-size: 1.25em;
}

#card-detail h1,
#card-detail .rules {
    max-width: 320px;
    margin: 0 auto;
	/*margin-top: 60px;*/
    padding: 10px;
    text-align: center;
    border: 2px solid #666;
}

#card-detail h1 {
	margin-top: 30px;
	padding-bottom: 0;;
    border-bottom: none;
    -webkit-border-radius: 6px 6px 0 0;
	-moz-border-radius:  6px 6px 0 0;
	border-radius: 6px 6px 0 0;
}


#card-detail .rules {
	position: relative;
    border-top: none;
    padding-top: none;
    padding-bottom: 30px;
    -webkit-border-radius: 0 0 6px 6px;
	-moz-border-radius:  0 0 6px 6px;
	border-radius: 0 0 6px 6px;
}

#card-detail p {
    clear: both;
}

#card-detail .cost,
#card-detail .type {
	position: absolute;
	width: 100%;
	margin-bottom: 0;
	padding: 5px 0;
	background-color: #666;
	color: #fff;
	font-size: 12px;
}

#card-detail .cost {
	left: 0;
	bottom: 0;
	text-align: left;
	text-indent: 10px;
}

#card-detail .type {
	right: 10px;
	bottom: 0;
	z-index: 2;
	background-color: transparent;
	text-align: right;
}

#card-detail .image {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	padding: 10px;
	text-align: center;
}

#card-detail .image a {
	display: block;
	height: 30px;
}

#card-detail .image a:before {
   content: "View Image";
}

#card-detail .image img {
    display: none;
}

#card-detail .status,
#card-detail .history,
#card-detail .notes {
	padding: 10px 0;
}

#card-detail .status,
#card-detail .history {
    font-size: .75em;
}

#card-detail .status {
	float: right; 
}

#card-detail .notes {
	clear: both;
	padding: 10px 0;
    border-top: 2px solid #666;
}

#card-detail .notes dl,
#card-detail .notes ul,
#card-detail .notes ol {
    margin: 0 0 10px 0;
    padding: 0 0 0 10px;
}

#card-detail .notes li,
#card-detail .notes dt,
#card-detail .notes dd {
    list-style: disc inside;
}

#card-detail .notes dt {
  font-weight: bold;
}

#card-detail .history dt,
#card-detail .history dd {
	font-style: italic;
    color: #666;    
}

/* =============================================================================
   Disqus
   ========================================================================== */

#disqus_header {
	clear: both;
	min-width: 320px;
	max-width: 480px;
	margin: 0 auto;
}

#disqus_thread {
	min-width: 320px;
	max-width: 480px;
	margin: 0 auto;
}

/* =============================================================================
   Tool-Tip
   ========================================================================== */

.ui-tooltip, .qtip {
    font-size: 1.5em !important;
    line-height: 1.4 !important;
}

/* =============================================================================
   Media
   ========================================================================== */

@media screen and (max-width: 320px) {
	#card-gallery article {
    	margin: 20px 0;
	}
}

@media screen and (min-width: 600px) {
	#card-index {
	-moz-column-count:5;
	-webkit-column-count:5;
	column-count:5;
	}
	
	#about .details {
	-moz-column-count:2;
	-webkit-column-count:2;
	column-count:2;
	}

	#about .details p {
	max-width: 300px;
	}

	#about .details h2 {
	    text-align: left;
	}
}