/* body {color:#000; background:#fff; font:100%/1.5 arial,sans-serif;} */
h2 {margin-top:0}

/* Styling applied to classes only */

/*  Pop-up content shifted off-screen when not in view.
    Still readable by screen-reader software.
    When targeted it fills the browser window.
*/
.pop-up {position:absolute; top:0; left:-500em;}
.pop-up:target {position:static; left:0;}


/* The pop-up itself */
.popBox {
    background:#ffffff;

    /* alternatively fixed width / height and negative margins from 50% */
    position:absolute; left:30%; right:30%; top:30%; bottom:30%;

    z-index:10;
    /* padding:1%; removed 17/07/2012 */
    border:1px solid #3a3a3a;

    /* CSS3 where available: rounded corners, drop-shadow, and fade in. */
    -moz-border-radius:12px;
    border-radius:12px;
    -webkit-box-shadow:2px 2px 4px #3a3a3a;
    -moz-box-shadow:2px 2px 4px #3a3a3a;
    box-shadow:2px 2px 4px #3a3a3a;
    opacity:0;
    -webkit-transition: opacity 0.5s ease-in-out;
    -moz-transition: opacity 0.5s ease-in-out;
    -o-transition: opacity 0.5s ease-in-out;
    -ms-transition: opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out;
}

:target .popBox {position:fixed; opacity:1;}

/* Light box properties */
.lightbox {display:none; text-indent:-200em; background:#000; opacity:0.4; width:100%; height:100%; position:fixed; top:0; left:0; bottom:0; right:0; z-index:5;}
:target .lightbox {display:block;}
.lightbox:hover {background:#000;}

/* The pop-ups close link, moved via CSS to the top right of the pop-up */
.close:link,
.close:visited {
    position:absolute; top:-0.75em; right:-0.75em; display:block; width:1em; height:1em;
    padding:0;
    font:bold large/1 arial, sans-serif; text-align:center; text-decoration:none;
    background:#000; border:3px solid #fff; color:#fff;
    -moz-border-radius: 1em;
    -webkit-border-radius: 1em;
    border-radius: 1em;
    -moz-box-shadow: 0 0 1px 1px #3a3a3a;
    -webkit-box-shadow: 0 0 1px 1px #3a3a3a;
    box-shadow: 0 0 1px 1px #3a3a3a;
}
.close:before {content:"X";}
.close:hover,
.close:active,
.close:focus {box-shadow:0 0 1px 1px #c00; background:#c00; color:#fff;}
.close span {text-indent:-200em; display:block;}

/* The pop-up content div will scroll if it has too much content */
/* .popScroll {max-height:99%; overflow:hidden; overflow-y:scroll;} removed 17/07/2012 */
.popScroll {position:absolute; top:9%; left:3%; right:3%; bottom:9%; overflow-y:auto; *overflow-y:scroll; padding-right:0.5em}
