/* 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; }

/* 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 alert CSS courtesy of;
   Alexandre Plennevaux <alexandre@pixeline.be>,
   Brice Burgess <bhb@iceburg.net> */


div.jqmAlert { /* contains + positions the alert window */
  display: none;
  
  position: fixed;
  top: 17%;
  width: 100%;
}
    
/* 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 div.jqmAlert {
     position: absolute;
     top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}

div.jqmAlertWindow {
  height:auto;
  width: auto;
  margin: auto;
  
  max-width:400px;
  padding: 0 10px 10px;
  
  background:#fff;
  border:1px solid #810000;
}

div.jqmAlertWindow fieldset {
  border: 0; margin: 0; padding: 0;
}

div.jqmAlertWindow legend {
  display: none;
}

.jqmAlertTitle{
  margin:5px 2px;
  height:20px;
  color:#810000;
}
.jqmAlertTitle h2{
  margin:5px 2px;
  padding-left:5px;
  padding:0;
  font-size:1.1em;
  letter-spacing:-1px;
  font-weight:bold;
  color:#810000;
  float:left;
  height:20px;
}

div.jqmAlert .jqmClose em{display:none;}
div.jqmAlert .jqmClose {
  width:20px;
  height:20px;
  display:block;
  float:right;
  clear:right;
  background:transparent url('../images/js/close_icon_double.gif') 0 -20px no-repeat;
}

div.jqmAlert a.jqmClose:hover,div.jqmAlert a.jqmCloseHover{ background-position: 0 0; }

div.jqmAlertContent {
  color:#000;
  padding:5px;
  margin:5px;
  letter-spacing:0px;
}

div.jqmAlertContent table {
  width: 100%;
}

div.jqmAlertContent th, div.jqmAlertContent td {
  font-size: 0.8em;
}

div.jqmAlertContent th {
  width: 30%;
  text-align: right;
  vertical-align: top;
  padding-top: 3px;
}

div.jqmAlertContent td.send {
  text-align: right;
}

div.jqmAlertContent td {
  text-align: left;
}

div.jqmAlertContent input[type="text"] {
  font-family: Constantia, "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  border: 1px solid #333;
  width: 260px;
}

div.jqmAlertContent input[type="submit"] {
  font-family: Constantia, "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  border: 1px solid #333;
  background: #810000;
  width: 100px;
  color: #fff;
  font-weight: bold;
}

div.jqmAlertContent textarea {
  font-family: Constantia, "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  border: 1px solid #333;
  width: 260px;
  height: 100px;
}

/*Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°Â°
  clearing a float without additional markup
   http://www.positioniseverything.net/easyclearing.html */

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */