/* 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;
    overflow:auto;
    position: fixed;
    top: 10%;
    left: 50%;
    
    margin-left: -450px;
    width: 900px;
    height: 650px;
    
    background-color: #EEE;
    color: #333;
    border: 1px solid black;
    padding: 12px;
}


.jqmWindow .close_bar   {
        font: bold 18px Arial;
        text-align: left;
        width: 300px;
        width: 100%;
        height: 24px;
}

.jqmWindow .close_bar .close    {
        font: 10px Arial;
        width: auto;
        height: 100%;
        letter-spacing: 1px;
        padding-right: 6px;
        float: right;
}

.jqmWindow .close_bar .lnkFermer        {
        font: 10px Arial;
        padding-bottom:5px;
        text-decoration:underline;
}

.jqmWindow .close_bar .close a.jqmClose {
        font: bold 18px Arial;
        text-decoration: none;
        vertical-align: middle;
}

.jqmWindow .popupTitle { padding-left: 5px; }

.jqmWindow .popupContent        {
        text-align: center;
        padding: 10px;
}

.jqmWindow .popupContent p      {
        font: 12px Arial;
        text-align: center;
        margin: 8px 0px;
}

.jqmWindow .popupButton { padding: 5px; }
.jqmWindow .popupButton .btn { margin: 0 auto;}

.jqmOverlay {
        background-color: #000;
}

/* Background iframe styling for IE6. Prevents ActiveX bleed-through (<select> form elements, etc.) */

* iframe.jqm    {
        position: absolute;
        top: 0;
        left: 0;
        width: expression(this.parentNode.offsetWidth+'px');
        height: expression(this.parentNode.offsetHeight+'px');
        z-index: -1;
}

#jqm-content {
        width: 500;
}

#jqm-image .popupContent {
        height: 600px;
        overflow-y: auto;
        background: #FFF!important;
}

/* 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(50 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px') - Math.round(this.height/2);
}
