@media screen and (max-width: 1010px) {
    #search {
        display: none;
    }
}

/** Screens with a width of 1050px or less **/
@media screen and (max-width: 1050px) {
    /** Get rid of the advert on the right hand side of the screen **/
    #body {
        padding-right: 20px;
    }

    #advert-skyscraper, #advert-leaderboard {
        display: none;
    }

    #footer {
        padding-right: 5px;
    }
}

/** Screens with a width of 1320px or less **/
@media screen and (max-width: 1320px) {
    /* Make the advertiser's directory 2 columns */
    #advert-links-bottom ul li {
        width: 50%;
        padding-right: 0;
    }
}

/** Screens with a width of 1500px or more **/
@media screen and (min-width: 1500px) {
    /* Make the advertiser's directory 4 columns */
    #advert-links-bottom ul li {
        width: 25%;
        padding-right: 0;
    }
}

/** Printing **/
@media print {
    #body {
        padding-right: 20px;
        padding-left: 20px;
    }

    .print_hide {
        display: none;
    }

    .print_show {
        display: block;
    }

    /** Remove addtoany buttons **/
    .post .meta .a2a_dd {
        display: none;
    }

    #advert-skyscraper, #advert-leaderboard, #advert-banner, nav, #advert-links-bottom, #search, section .wp-pagenavi {
        display: none;
    }

    #footer {
        border-left: 0px;
    }

    #logo {
        position: static;
        clear: left;
    }

    #fairuse {
        display: block;
    }
}

