/* jqModal base Styling courtesy of;
	Brice Burgess <bhb@iceburg.net> */

/* The Window's CSS z-index value is respected (takes priority). If none is supplied,
	the Window's z-index value will be set to 3000 by default (via jqModal.js). */

.jqmWindow {
    display: none;

    position: fixed;
    top: 17%;
    left: 50%;

    margin-left: -300px;
    width: 600px;

    background-color: #EEE;
    color: #333;
    border: 1px solid black;
    padding: 12px;
}

.jqmOverlay { background-color: #000; z-index: 900;}

/* Background iframe styling for IE6. Prevents ActiveX bleed-through (<select> form elements, etc.) */
* iframe.jqm {position:absolute;top:0;left:0;z-index:-1;
	width: expression(this.parentNode.offsetWidth+'px');
	height: expression(this.parentNode.offsetHeight+'px');
}

/* Fixed posistioning emulation for IE6
     Star selector used to hide definition from browsers other than IE6
     For valid CSS, use a conditional include instead */
* html .jqmWindow {
     position: absolute;
     top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}

/* jqModal base Styling courtesy of;
  Brice Burgess <bhb@iceburg.net> */

/* The Window's CSS z-index value is respected (takes priority). If none is supplied,
  the Window's z-index value will be set to 3000 by default (in jqModal.js). You
  can change this value by either;
    a) supplying one via CSS
    b) passing the "zIndex" parameter. E.g.  (window).jqm({zIndex: 500}); */

.jqmWindow {
    display: none;

    position: absolute;
    top: 10%;
    left: 50%;

    margin-left: -300px;
    width: 600px;

    background-color: #FFF;
    color: #333;
    border: 1px solid black;
    padding: 15px 25px;
}

.jqmOverlay { background-color: #000; }

.jqmClose {
    display:block;
    text-align:right;
    text-decoration: none;
    padding:  0 5px 15px 0;
    float:right;
    color:#2B587A;
}

a#vk_back {
    width:50%;
    height:100%;
    display: none;
    position: fixed;
}
a#vk_close {
    width:50%;
    height:100%;
    display: none;
    position: fixed;
    margin-left: 50%;
}
a#vk_back span {
    background-image: url(/img/vk_back.png);
    width:12px;
    height:22px;
    background-position: 0 0;
    display: block;
    position: absolute;
    top:15%;
    left:7%;
}
a#vk_back:hover span {
    background-position: 0 bottom;
}
a#vk_close span {
    background-image: url(/img/vk_close.png);
    width:22px;
    height:21px;
    background-position: 0 0;
    display: block;
    position: absolute;
    top:15%;
    right:7%;
}
a#vk_close:hover span {
    background-position: 0 bottom;
}
#vk_photo_counter {
    float:left;
    color: #2B587A;
    font-weight: bold;
}