html,body {
    margin: 0px;
    border: 0px;
    padding: 0px;
    height: 100%;
    //background: #e8e8e8;
    background: #ffffff;
    }
.cardimage {
    width: 200px;
    padding: 0px 2px;
    }
.text {
    //width: 800px;
    white-space: pre;
    font-family: mono, fixed, monospace;
    }
form {
    width: 100%;
    display: block;
    overflow: hidden;
}
.search {
    display: block;
    overflow: hidden;
    padding-right: 10px;
}
#q {
    width: 100%;
    font-size: 16pt;
    border: 2px solid #f80;
    border-radius: 5px;
    }
#sort {
    height: 32px;
    font-size: 12pt;
    float: right;
    }
#compact {
    float: right;
    width: 25px;
    height: 25px;
}
.tabs {
    float: right;
    padding: 5px 10px 0px 10px;
    font-size: 16px;
}
.spacer2 {
    display: inline-block;
    width: 71px;
    float: right;
    }
#status {
    position: fixed;
    top: 0px;
    right: 0px;
    height: 71px;
    width: 71px;
    background: #444;
    display: none;
    }
#content {
    padding-top: 80px;
    padding-bottom: 27px;
    }
#content td {
    padding: 2px 8px;
    }
a {
    text-decoration: none;
    color: #84f;
    }
a:hover {
    text-decoration: underline;
}
.wrapper {
    min-height: 100%;
    position: relative;
    }
.header1,.header3 {
    position: fixed;
    top: 0px;
    left: 0px;
    height: 32px;
    width: 100%;
    background: #444;
    padding: 5px;
    color: black;
    }
.header2 {
    position: fixed;
    top: 40px;
    left: 0px;
    height: 27px;
    width: 100%;
    background: #444;
    padding: 0px 0px 4px 0px;
    color: #fff;
    }
.footer {
    width: 100%;
    background: #444;
    color: #fff;
    position: absolute;
    bottom: 0px;
    height: 27px;
    }
.header2 a {
    color: #f80;
    }
.footer a {
    color: #f80;
    }
.pager {
    text-align: center;
    min-width: 60px;
    }
.pager-center {
    min-width: 250px;
    }
.link {
    margin-right: 10px;
    }
.cardpane {
    display: inline-block;
    margin-bottom: 20px;
    }
.orange {
    color: #f80;
    }
.white {
    color: #fff;
    }
.code {
    font-family: mono;
    color: black;
    background: #ddd;
    border: 1px solid #88f;
    border-radius: 3px;
    text-decoration: none;
    white-space: nowrap;
    }
.code:hover {
    border: 1px solid #00f;
    background: #eee;
    }
.main {
    //max-width: 640px;
    padding: 10px;
    padding-top: 50px
    }
.side {
    display: inline-block;
    vertical-align: top;
    }
.total {
    border-top: 2px solid black;
    margin-top: 3px;
    padding-top: 3px;
    }
.right {
    text-align: right;
    }
.spacer {
    height: 22px;
    display: inline-block;
    }
.cardpane2 {
    display: inline-block;                                                                                                                                   
    padding-bottom: 8px;                                                                                                                                                                                     
    width: 223px;                                                                                                                                            
    }  
.big {
    font-size: 22pt;
    }
.cardpane_price {
    float: right;
    }
.cardpane_set {
    display: block;                                                                                                                                          
    overflow: hidden;                                                                                                                                                                                        
    text-overflow: ellipsis;                                                                                                                                 
    white-space: nowrap;                                                                                                                                                                                     
}  
.carddetail {
    white-space: pre;
    font-family: mono, fixed, monospace;
    font-size: 9pt;
    margin-bottom: 12px;
}
.small-window {
    margin: 20px auto;
    width: 400px;
    text-align: center;
    border: 1px solid black;
    border-radius: 10px;
    background: white;
    padding: 30px;
}
.button {
    background: linear-gradient(#aaf, #88f);
    color: #fff;
    border: 1px solid #666;
    border-radius: 8px;
    padding: 8px;
}
.alert {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px;
    background: #fdd;
    color: #a00;
}
@media all and (max-width: 1024px) {
    .header1 {
        height: 56px;
    }
    .header2 {
        top: 66px;
    }
    .tabs {
        display: block;
        float: none;
        top: 37px;
        left: 0px;
        position: absolute;
    }
    #sort {
        margin-right: 10px;
    }
    #content {
        padding-top: 106px;
    }
}
