/* IP EDUCATION LOOKUP STYLES */
#ip_popup_bg {
	position: absolute; top: 0; left: 0; z-index: 10; overflow: hidden; width: 100%; background-color: #000; 
	opacity: 0.2; filter: alpha(opacity=20); /* FF/Safari, IE opacity, respectively */
}

/* Box for schools - Everything is contained within this */
#ip_popup_schools {
	position: absolute; top: 67px; left: 30px; z-index: 20;
	width: 450px; padding: 0 10px 10px; margin: 0 auto;
	color: #000063; background-color: #fff;	border: 2px solid #000063;
}
#ip_popup_schools { -moz-border-radius: 0px 20px 20px; } /* make it prettier for real browswers ^_~ */

/* Close button */
#ip_popup_schools a#close_button {
	width: 45px; height: 14px; margin: 0; padding: 0;
	position: absolute; top: 3px; right: 8px;
	background:  url( '/colleges/library/ip/images/close-button.gif') no-repeat top left;
	text-indent: -3000px; overflow: hidden;
}
#ip_popup_schools a#close_button:link, #ip_popup_schools a#close_button:visited { background-position: 0 0; }
#ip_popup_schools a#close_button:hover, #ip_popup_schools a#close_button:active { background-position: 0 -14px; }

#ip_popup_schools h2 { font-size: 15px; margin: 10px 0 0; border-bottom: 1px solid #5a79a5; padding-right: 50px; }
#ip_popup_schools p { font-size: 11px; margin: 3px 0 0; padding: 0;}
#ip_popup_schools a { color: #ce0000; }
#ip_popup_schools .more_info { float: right; font-size: 10px; color: #00f; padding: 50px 5px 0 0; }
#ip_popup_schools .more_info_button { display: block; text-align: right; font-size: 11px; color: #00f; padding-top: 5px; margin-top: 2px; }

/* Listing of schools */
#ip_popup_schools .school_list { height: 310px; overflow: auto; padding: 0; margin-top: 10px; margin-right: 0px; margin: 10px 0 0 0; list-style: none; }
#ip_popup_schools .school_list li { clear: both; border-bottom: 1px solid #eee; background:  url( '/colleges/library/ip/images/blue-arrow-off.gif') no-repeat right 20px; padding: 0; }
#ip_popup_schools .school_list li h3 { height: 66px; margin: 0; padding: 0; font-size: 13px; line-height: 20px; }
#ip_popup_schools .school_list li h3 a { text-decoration: none; padding-top: 0px; display: block; }
#ip_popup_schools .school_list li h3 img { margin: 3px 5px 3px 3px;  border: 0;}

/* Customisations for each type */
#ip_popup_schools .city .school_list { height: 320px; }
#ip_popup_schools .online .school_list { height: 290px; }
#ip_popup_schools.near .school_list { height: 270px; }
#ip_popup_schools.near .in_city { font-size: 13px; text-decoration: underline; padding: 0; margin: 0; line-height: 1em; } /* 'In *CITY* header for 'near' */
#ip_popup_schools.online p { border-bottom: 1px solid #f5f5f5; }
#ip_popup_schools.near p { margin-top: 5px; padding-top: 5px; border-top: 2px solid #999; clear: both; } /* Other cities at bottom of box for 'near' */

/* Hover jazz */
#ip_popup_schools .school_list li.current_school { background: #5a79a5 url( '/colleges/library/ip/images/blue-arrow-on.gif') no-repeat right 20px;}
#ip_popup_schools .school_list li.current_school a, #ip_popup_schools .school_list li.current_school .in_city { color: #fff; }
#ip_popup_schools .school_list li.current_school .school_info { 
	display: block; position: absolute; top: 25px; right: -238px;  z-index: 10;
	width: 225px; height: 300px; padding: 5px; overflow: auto;
	border: 2px solid #000;	border-left: 1px solid #eee; background-color: #fff;
	-moz-border-radius: 0 10px 10px 0;
}

/* School info */
#ip_popup_schools .school_info h4.school { padding: 2px 0; margin: 5px 0 0; background-color: #5a79a5; color: #fff; text-align: center}
#ip_popup_schools .school_info h4 { padding: 3px 0 5px; margin: 5px 0 0; border-top: 1px solid #5a79a5; font-size: 11px;}
#ip_popup_schools .school_info h4.top { padding-top: 0; margin-top: 0; border-top: none; }
#ip_popup_schools .school_info p { padding: 0; margin: 0; border: 0; }
#ip_popup_schools .school_info { display: none; font-size: 11px; }
#ip_popup_schools .school_info h4 { text-align: center; }

/* Program listing */
#ip_popup_schools ul.program_list { padding: 0 0 0 12px; margin: 0; font-size: 11px; list-style: disc ;}
#ip_popup_schools ul.program_list li { background-image: none; width: auto; height: auto; padding: 2px 0; }
#ip_popup_schools ul.program_list li:hover { background: #fff; }
#ip_popup_schools ul.program_list li a:link, #ip_popup_schools ul.program_list li a:visited { color: #000063; text-decoration: none; }
#ip_popup_schools ul.program_list li a:hover, #ip_popup_schools ul.program_list li a:active { color: #fff; background-color: #5a79a5; }


/* IE SELECT z-index hack */
#ip_popup_bg iframe {
	display:none;/*sorry for IE5*/
	display/**/:block;/*sorry for IE5*/
	position:absolute; top:0; left:0; z-index:-1;
	filter:mask() alpha(opacity=0);
	width:100%; height:100%;
}
