@font-face {
    font-family: 'Magicthe-Gathering';
    src:url('fonts/Magicthe-Gathering.ttf.woff') format('woff'),
        url('fonts/Magicthe-Gathering.ttf.svg#Magicthe-Gathering') format('svg'),
        url('fonts/Magicthe-Gathering.ttf.eot'),
        url('fonts/Magicthe-Gathering.ttf.eot?#iefix') format('embedded-opentype'); 
    font-weight: normal;
    font-style: normal;
}

.mi-mana::before {
    top: 0em!important;
}
.mi-mana.mi-tap::before {
    margin-top:2px;
}
.mi-mana.mi-0::before, .mi-mana.mi-1::before, .mi-mana.mi-2::before, .mi-mana.mi-3::before, .mi-mana.mi-4::before, .mi-mana.mi-5::before, .mi-mana.mi-6::before, .mi-mana.mi-7::before, .mi-mana.mi-8::before, .mi-mana.mi-9::before,.mi-mana.mi-x::before {
    top:0em!important;
} 

.mi-mana.mi-w::before,.mi-mana.mi-u:before,.mi-mana.mi-b:before,.mi-mana.mi-g:before,.mi-mana.mi-r:before {
    margin-top:1px;
}

.mi-mana.mi-x::before {
    margin-top: 3px;
}

body, h1, div, p, h2, h3 { 
   font-family: 'Magicthe-Gathering';
}  

 body, html {
   background-color: #000000;
   background-image: linear-gradient(315deg, #000000 36%, #302020 100%);
   color: #bce;
 }
 body.browser, pre {
     color:white;
}

a {
    color: white;
}
a:hover {
    text-decoration:underline;
    color:white;
}


 img {
   margin:auto;
 }

.set-icons {
    text-align:center;
}
.set-icons a {
    color: white;
}
.set-icons img {
    /*width: 128px;*/
    max-height:128px;
    max-width: 100%;
    padding-bottom:2em;
}
.set-heading {
    padding:1em 1em 1em 1em;
    border-bottom: 1px solid #222;
    background-color:#111;
}
.set-heading img {
    max-width:2em;
    margin-right:.5em;
    position: relative;
    top: -4px;
}
.set-heading .setname {
    font-size:1.5em;
}

.set-heading a {
    color: #ccc;
}

.container.contents {
    padding-top:1em;
    padding-bottom:1em;
}

.item_expand {
    display:none;
}
.item {
    border: 1px solid black;
    padding: 1em;
    text-align: center;
    border-radius: 1em;
    background-color: #333;
}

.details {
    font-size:0.8em;
    color:#ccc;
}
.details, .details > h3 {
    font-family: arial;
}

.details.copycount {
    text-align:right;
}

.table-dark thead th {
    background-color: black;
}

/*
.rare { color:gold; }
.uncommon { color:silver; }
.common { color:black;}
*/
.rarity { color:black;font-size:1.1em; font-weight:bold; }
.mythic { background-color:maroon; color:silver; }
.rare { background-color:gold; }
.uncommon { background-color:silver; }
.common { background-color:black; color:silver;}
.rarity { padding:4px 4px 0px 5px;border-radius:4px; margin-right:.5em;}

.details > .rarity {
    padding: 0 6px;
    position: relative;
    top: 1px;
}

.images img {
    width:100%;
    padding-bottom: .5em;
}

.pointer, .clickable { cursor: pointer; }
.gallery .clickable, .clicktozoom { cursor: zoom-in; }

.dup_subheading {
    padding:.75rem;
    margin-bottom:0.75rem;
    border-bottom:1px solid #454d55;
}

div#zoom img {

  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}
#zoom {
    z-index: 100;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
}
#zoom .clicktozoom{
    cursor: zoom-out;
}
#overlay {
    opacity: 0.8;
    position:fixed;
    top:0;
    left:0;
    height:100%;
    width:100%;
    z-index:90;
    background-color:black;
}
.zoombtns{
    z-index:200;
    color:black;
}
.btn_next, .btn_prev {
    background-color: white;
    padding: 2em 1em;
    position: fixed;
    cursor: pointer;
}

span.btn_next {
    top: 50%;
    right: 0;
}

span.btn_prev {
    top: 50%;
    left: 0;
}
#fulls {   
    position:fixed; 
    top:1em;
    left:50%;
    width:200px;
    margin-left:-100px;
    z-index:200;
}

#contactform {
    position: fixed;
    top: 0;
    left: 25%;
    background-color: black;
    margin: 2em;
    padding: 2em;
    border-radius: 1em;
    border: 1px solid #aaa;
    width: 50%;
}
img.thumbnail {
    margin-right:1em;
    width: 150px;
    cursor: pointer;
}
img.thumbnail.cardback {
    opacity:0.4;
    transform: rotate(-7deg) scale(0.85);
    cursor:default;
}
.img-fluid{ width:100%;}

.contents.gallery {
    text-align: center;
}

.nocollect { 
    text-align: center;
    position: relative;
    opacity: 0.4;
    text-shadow: 6px -4px 3px black;
    /*transform: rotate(5deg);*/

    margin-top: 1.25em;
    font-size:2.5em;
}

.feature_img {
    perspective:500px;
    padding-bottom:1em;
}
.feature_img > img {
    box-shadow: -4px 4px 8px black;
    transition: all 2s;
    transform: scale(0.8);
}
.feature_img > img.loaded {
    transform: rotateY(11deg);
}
.feature_about {
    font-size:1.5em;
    padding-top:1em;
}

.fixed-header > .set-heading {
    position:fixed;
    width:100%;
}
.fixed-header > .contents {
    padding-top:100px;
}

.expand_details {
    position:relative;
    top:0.6em;
}
.inventorynum {
    float:right;
    margin:1em 2em;
    color:#888;
    font-size: 80%;
    font-weight:400;
    font-style:italic;
}
.inventorynum a {
    /*text-decoration:underline;*/
    color: #aaa;
}

img.thumbLoading {
    position: absolute;
    z-index: 99;
    width: 32px;
    top: 55%;
    left: 50%;
    margin-left: -16px;
    background-color:black;
    border-radius:16px;
    padding:4px;
}

@media screen and (max-width: 1200px) {
    #contactform {
	left:0;
	width:90%;
    }
    .nocollect {
	margin-top:1.5em;
	font-size:2em;
    }
    .feature_about{
	font-size:1.25em;
	}
}
@media screen and (max-width: 800px) {
    img.thumbnail {
	max-width: 100px;
    }
    .nocollect {
	font-size:1.5em;
    }
}
@media screen and (max-width: 756px) {
    .feature_about{
	font-size:0.9em;
    padding-top:0em;
	}
}