/* Small Devices, Tablets */
@media only screen and (max-width : 1024px) {
    html, body
    {
      height: 100%;
    }

    body {
        margin: 0 auto;
        font-size: 12px;
    }

    table {
        width: 100%;
    }

    th {
        min-width: 55px;
    }

    tr td {
        height: 40px;
    }

    th, td {
        border-right: 1px solid #999;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
    }

    tbody td {
        text-align: center;
    }

    p {
        margin: 0 0;
    }

    .col-heads {
        text-align: center;
    }

    .col-heads img {
        width: 100%;
        max-width: 80px;
    }

    .table-label {
        background-color: #327BC1;
        color: #FFF;
        min-width: 60px;
    }

    #headtext {
        float: left;
        width: 59%;
        display: inline-block;
        height: 39px;
    }

    #headtext h1,
    #headtext h2 {
        font-size: 10px;
        margin-top: 5px;
        margin-bottom: 5px;
        text-align: left;
    }

    .adsbanner {
        text-align: center;

    }

    .adsbanner a img {
        text-align: center;
        width: 21%;
    }

    #footer {
        text-align: center;
    }

    #list {
        height: 100% !important;
        border-top: 3px solid transparent;
    }

    .head-img {
        font-size: 10px;
    }

    p.pdf {
        background-image: url("/img/pdf.png");
        background-repeat: no-repeat;
        padding-left: 18px;
        height: 16px;
        line-height: 16px;
        width: 20px;
        margin: 1px auto;
    }

    p.jpeg {
        background-image: url("/img/jpeg.png");
        background-repeat: no-repeat;
        padding-left: 18px;
        height: 16px;
        line-height: 16px;
        width: 20px;
        margin: 1px auto;
    }

    p.upload {
        text-align: left;
        background-image: url("/img/upload.png");
        background-repeat: no-repeat;
        padding-left: 18px;
        height: 16px;
        line-height: 16px;
        margin: 1px auto;
        width: 43px;
    }

    p.media {
        text-align: left;
        background-image: url("/img/disc.png");
        background-repeat: no-repeat;
        padding-left: 18px;
        height: 16px;
        line-height: 16px;
        margin: 1px auto;
        width: 40px;
        word-break: break-all;
    }

    p.paypal {
        text-align: left;
        background-image: url("/img/paypal.png");
        background-repeat: no-repeat;
        padding-left: 18px;
        height: 16px;
        line-height: 16px;
        margin: 1px auto;
        width: 40px;
    }

    p.amazon {
        text-align: left;
        background-image: url("/img/amazon.png");
        background-repeat: no-repeat;
        padding-left: 18px;
        height: 16px;
        line-height: 16px;
        margin: 1px auto;
        width: 40px;
    }

    p.rakuten {
        text-align: left;
        background-image: url("/img/rakuten.png");
        background-repeat: no-repeat;
        padding-left: 18px;
        height: 16px;
        line-height: 16px;
        margin: 1px auto;
        width: 40px;
    }

    p.red {
        font-weight: bold;
        color: red;
    }

    .hdd {
        font-size: 8px;
    }

    #headlogo {
        float: left;
        content: '';
        background-image: url("/img/bookfire.gif");
        background-size: contain;
        background-position: center bottom;
        background-repeat: no-repeat;
        width: 159px;
        height: 39px;
        margin-left: 10px;
        display: inline-block;
    }

    .none {
        display: none;
    }

    .clear {
        clear: both;
    }

    .center {
        text-align: center;
    }

    .bottom-link {
        margin-bottom: 15px;
    }

    #headtext h2:first-child {
        margin-bottom: 0px;
    }
    #headtext h2:last-child {
        margin-top: 0px;
    }

    .link-button {
        display: block;
        width: 70px;
        height: 15px;
        background: #2196f3;
        padding: 17px;
        text-align: center;
        border-radius: 5px;
        color: white;
        font-weight: bold;
        line-height: 1.3;
        text-decoration: none;
        font-size: 14px;
        margin: 10px auto;
    }

    .link-button:hover {
        background: #1976d2;
    }

    .banner-label {
        background-color: #0d47a1;
    }

    #notes {
        padding: 0 10px;
    }

    #notes p {
        margin-bottom: 10px;
        color: #111;
    }



}

@media only screen and (max-width : 400px) {

    #headlogo {
        content: '';
        background-image: url("/img/bookfire.gif");
        background-size: contain;
        background-position: center bottom;
        background-repeat: no-repeat;
        width: 125px;
        height: 33px;
        display: inline-block;
        margin-left: 5px;
    }

    #headtext h2:first-child {
        margin-bottom: 0px;
    }
    #headtext h2:last-child {
        margin-top: 0px;
    }
    .col-heads {
        padding: 0;
    }
    p.amazon {
        font-size: 10px;
        overflow: hidden;
        word-break: break-all;
    }

    td {
        word-break: break-all;
    }

}