/* Mybox Styles - many settings shouldn't be edited, see comments.
   SETTINGS HERE THAT HAVE A COUNTERPART IN mybox_ie.css MAY NEED
   TO BE ADJUSTED THERE AS WELL TO WORK IN IE, ESPECIALLY in IE 6 AND EARLIER */

body { /* Recommended for a nice 'full page' look */
margin:0;
padding:0;
border: 0;
}

#theolay { /* Styles for the overlay, shouldn't be edited except for background-color, opacity, and possibly (with care) z-index */
top:0;
left:0;
position:absolute;
width:0px;
height:0px;
background-color:#000000;
opacity:0.75; /* Adjusting the opacity here will not affect IE, adjust the alpha filter in mybox_ie.css as well */
display:none;
z-index:90;
}
#thebox, #loading { /* Styles for the box & loading elements, shouldn't be edited except as noted */
position:absolute;
width:auto;
height:auto;
display:none;
background-color:#dddddd; /* adjustable */
color:black; /* adjustable */
z-index:100; /* adjustable, with care */

}
.boximage, .id, #loading div { /* These styles will be applied to the content as a sort of frame within the box (except iframe content) */
       /* For iframe 'styling' use iframe link's rev attribute to set an iframe's attributes */

}
.boximage { /* No padding for an image as sole content of the box (image method) - adjustable */
padding:0;
display:block; /* Required in some browsers if a strict DOCTYPE is used */
}

#thebox.text { /* Added style to the box when displaying text or text and image(s) */
min-width:250px;
min-height:50px;
}

#thebox.plain {  /* Added style to the box when using iframe method - other characteristics for iframe are set in the calling link */
background-color:#ffffff; 
padding: 0;
margin: 0;
}

/* The remainder of the styles affect the close link and (if used) caption.
   Other than colors, adjust with care.  Some changes here may need
   to be reflected in mybox_ie.css to affect IE 6 and earlier */


.close div {
color:#2D7F00; /* Color of caption text */
}
.close#cap {
background-color:#FFF; /* Background color of caption text - should be the same as the box's border color */
}
.close a {

position:absolute;
text-decoration:none;
right:0;
top:-3.5ex;
color:#444444; /* Color of text for the word CLOSE in the close link of the box (resting state) */
letter-spacing:-1px;
}
.close a:hover {
color:#2D7F00; /* Color of text for the word CLOSE in the close link of the box (hover state) */
font-weight:bold; /* This style disabled in the script for several browsers */
}
.close a span {
font-weight:bold;
font-size:140%;
color:black; /* Color of text for the X in the close link of the box (resting state) */
}

/* End Mybox Styles */

iFrame {
	border: 0;
}
