.advert {
    text-align: center;
    position: relative;
    display: block;
}

#ad {
    border: solid;
    padding: 10px 15px;
    width: 60%;
    margin: 0 auto;
    text-align: center
}

.advert #ad {
    color: #000;
    text-align: center;
}

#ad h1 {
    font-size: 2em !important;
    line-height: 1.2em;
    letter-spacing: .2em
}

#ad h2 {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

#ad h1, h3 {
    text-align: center;
    color: #000;
}

#ad p {
    margin-bottom: 30px
}

.highBlue {
    background-color: blue
}

.highYellow {
    background-color: yellow
}

#ad h3 {
    line-height: 1.4em;
    margin: 20px 0
}

#advertCanvas {
    border: solid red;
    position: absolute;
    left: 0px;
    width: 500px;
    height: 501px;
    display: none;
    z-index: 50
}

#key {
    list-style: none;
    border: solid;
    padding: 10px;
    width: 300px;
    margin-bottom: 20px;
}

#key li {
    line-height: 40px;
    margin-bottom: 2px
}

#bluePen {
    background: url('../images/a17/penIcon_blue.png');
}

#yellowPen {
    background: url('../images/a17/penIcon_yellow.png');
}

#redPen {
    background: url('../images/a17/penIcon_red.png');
}

.highlight {
    background: #16a79d;
    width: 33px;
    height: 33px;
    display: inline-block;
    float: right
}

#bin {
    background: url('../images/binIcon.png');
    background-position: 0px -35px
}

.ansBlue {
    background-color: none
}

.ansYellow {
    background-color: none
}

.ipad {
    display: none
}


/* ----------- Laptop ----------- */

@media screen and (max-width: 1366px) and (max-height: 768px) {
    /* Styles */
    #ad h1 {
        letter-spacing: normal;
        font-size: 2em;
    }
}


/* ----------- iPad 1 and 2 ----------- */


/* Portrait and Landscape */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) {
    .desktop {
        display: none
    }
    .ipad {
        display: inline-block
    }
    .highlight {
        border-radius: 100%
    }
}