.pg_t {
    background-image: url(/images/frames/lr1_s.png);
    background-repeat: repeat-x;
    background-position: top;
}

.pg_r {
    background-image: url(/images/frames/tb3_s.png);
    background-repeat: repeat-y;
    background-position: right;
}

.pg_b {
    background-image: url(/images/frames/lr3_s.png);
    background-repeat: repeat-x;
    background-position: bottom;
}

.pg_l {
    background-image: url(/images/frames/tb1_s.png);
    background-repeat: repeat-y;
    background-position: left;
}

.pg_tl {
    background-image: url(/images/frames/rb_s.png);
    background-repeat: no-repeat;
    background-position: top left;
}

.pg_tr {
    background-image: url(/images/frames/lb_s.png);
    background-repeat: no-repeat;
    background-position: top right;
}

.pg_br {
    background-image: url(/images/frames/lt_s.png);
    background-repeat: no-repeat;
    background-position: bottom right;
}

.pg_bl {
    background-image: url(/images/frames/tr_s.png);
    background-repeat: no-repeat;
    background-position: bottom left;
}

@media (min-width: 320px) {
    .pg_t {
        background-image: url(/images/frames/lr1.png);
        background-size: 116px 30px;
        background-repeat: repeat-x;
        background-position: top;
    }

    .pg_r {
        background-image: url(/images/frames/tb3.png);
        background-size: 14px 87px;
        background-repeat: repeat-y;
        background-position: right;
    }

    .pg_b {
        background-image: url(/images/frames/lr3.png);
        background-size: 114px 29px;
        background-repeat: repeat-x;
        background-position: bottom;
    }

    .pg_l {
        background-image: url(/images/frames/tb1.png);
        background-size: 14px 87px;
        background-repeat: repeat-y;
        background-position: left;
    }

    .pg_tl {
        background-image: url(/images/frames/rb.png);
        background-size: 39px 42px;
        background-repeat: no-repeat;
        background-position: top left;
    }

    .pg_tr {
        background-image: url(/images/frames/lb.png);
        background-size: 39px 42px;
        background-repeat: no-repeat;
        background-position: top right;
    }

    .pg_br {
        background-image: url(/images/frames/lt.png);
        background-size: 32px 19px;
        background-repeat: no-repeat;
        background-position: bottom right;
    }

    .pg_bl {
        background-image: url(/images/frames/tr.png);
        background-size: 32px 19px;
        background-repeat: no-repeat;
        background-position: bottom left;
    }
}

@media only screen and (device-width: 800px) {
    .pg_t {
        background-image: url(/images/frames/lr1_s.png);
        background-repeat: repeat-x;
        background-position: top;
    }

    .pg_r {
        background-image: url(/images/frames/tb3_s.png);
        background-repeat: repeat-y;
        background-position: right;
    }

    .pg_b {
        background-image: url(/images/frames/lr3_s.png);
        background-repeat: repeat-x;
        background-position: bottom;
    }

    .pg_l {
        background-image: url(/images/frames/tb1_s.png);
        background-repeat: repeat-y;
        background-position: left;
    }

    .pg_tl {
        background-image: url(/images/frames/rb_s.png);
        background-repeat: no-repeat;
        background-position: top left;
    }

    .pg_tr {
        background-image: url(/images/frames/lb_s.png);
        background-repeat: no-repeat;
        background-position: top right;
    }

    .pg_br {
        background-image: url(/images/frames/lt_s.png);
        background-repeat: no-repeat;
        background-position: bottom right;
    }

    .pg_bl {
        background-image: url(/images/frames/tr_s.png);
        background-repeat: no-repeat;
        background-position: bottom left;
    }
}

.pg_inner {
    padding: 30px 14px;
}

h1 {font-size:1em;padding:4px;}
h2 {font-size:1em;padding:4px;}
h3 {font-size:1em;padding:4px 0;}
.event, .block, h1, h2 {border:none; background-color:inherit;}
.framed {padding-top:4px;background-image: url('/images/frames/lr2.png');background-repeat:repeat-x;background-size: 50px 5px;}
.expBlock{margin:0 16px;}
