/*
 * css for Wills Eye Institute
 * (c) 2010 Solid Websites
 * www.solidwebsites.com
 */

/* Reset browser */
@import url("/_css/reset.css");

/* import video cards */
@import url("/_css/video.css");

body {
	margin: 0 auto;
	padding: 0;
	width: 100%;
	font: 80% Arial, Helvetica, sans-serif;
	color: #333;
}

	.inner {
		width: 1000px; 
		margin: 0 auto;
		}
	.pad {padding: 10px;}

        .article {padding: 30px;}

h3 {
	font: 120% "Trebuchet MS", Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	font-weight: bold;
	padding: 10px;
	color: #fff;
}
#header {height: 80px;}

	#header a.logo {
		background: url(/_images/logos/wei.header50.png) no-repeat center left;
		width: 301px;
		height: 50px;
		display: block;
		text-indent: -9999px;
		float: left;
		margin-top: 20px;
	}
	#header .contact {
		float: right;
		text-align: right;
		font: bold 120% Arial, Helvetica, sans-serif;
		color: #777;
		text-transform: uppercase;
		margin-top: 15px;
	}
	#header .contact strong {color: #000; font-size: 140%;}
	#header .contact span { 
		/* WEI red W logo to direct the eye to emergency number */
		background: url(/_images/icons/w10red.png) no-repeat center right;
                display: inline-block;
                text-align: left;
		width: 15px;
		height: 15px;
		/*margin-left: 4.5em; */
		text-indent: -99999px;
		overflow: hidden;
		position: absolute;
                /*float: right;*/
		}
		
	#header li.subnum {
		font-size: 80%; 
		color: #666;
		margin-top: -5px;
		}	

		
#nav_bar {
	height: 40px;
	background: url(/_images/ui/bkg.top_nav2.png) repeat-x top;
	border-top: 1px solid #fff;
}

#body {
	border-bottom: 1px solid #BBB;
	border-top: 1px solid #DDD;
	}

#mediaviewer, #medialoaded, #mediawrap {
	display: block;
	float: left;
	width: 699px;
	height: 349px; /* removes resulting bottom border set by BG color flashvar*/
	overflow: hidden;
	background: #000;
	position: relative;
}

.content a {
  color: #777;
  text-decoration: none;
}
.content a:hover {
  text-decoration: underline;
}
	/* nav for slideshow */
	#pager {
		display: block;
		position: absolute;
		height: 40px;
		z-index: 250;
		margin: 290px 20px 0 0;
		float: right;
		right: 0;
	}
	
	#pager a {
		display: inline-block;
		background: url(/_images/ui/bkg.slide.number.png) no-repeat center center transparent; 
		text-decoration: none;
		padding-top: 10px;
		margin-right: 7px;
		width: 32px;
		height: 32px;
		color: #222;
		font-size: 150%;
		font-weight: bold;
		position: relative;
		text-align: center;
		z-index: 400;
		}
		#pager a.activeSlide {
			background: url(/_images/ui/bkg.slide.number.hover.png) no-repeat center center transparent;
			color: #fff;
			}
		#pager a:focus { outline: none; }
		
	.content {
		display: inline-block;
		width: 282px;
		height: 70px;
		white-space: normal;
		background: transparent url(/_images/ui/bkg.slide.label.png) no-repeat left center;
		float: left;
		position: absolute;
		margin: 260px 0 0 0;
		z-index: 250;
	}
		.content h1 {
			color: #fff;
			font-size: 150%;
			padding: 8px 0 0 20px;
		}
    
    .content h1.smaller {
      font-size: 135%;
    }
		.content p {
			color: #777;
			padding: 0 0 0 20px;
		}

#newsviewer {
	float: left;
	width: 300px;
}

	#newsviewer .bar {
		width: 100%;
		height: 30px;
		background: url(/_images/ui/bkg.hdr.news.png) repeat-x top #222;
		text-transform: uppercase;
		color: #FFF;
		font-weight: bold;
	}
		#newsviewer .bar p {padding: 7px 0 0 7px; margin: 0;}
	#news {
		height: 145px;
		overflow: auto;
		font: 120% "Trebuchet MS", Arial, Helvetica, sans-serif;
		padding-left: 10px;
	}
		#news ul {list-style: none;}
		#news ul li {
			width: 95%;
			border-bottom: 1px solid #EEE;
			text-transform: uppercase;
			line-height: 1.3em;
			overflow: hidden;
			white-space: normal;
		}
	
		#news a {
			color: #AAA;
			display: block;
			padding: 5px 0 5px 5px;
			text-decoration: none;
			}
		#news a:hover {color: #555;}
	
	#calendar {
		background: #f2f2f2;
		display: block;
		height: 175px;
		}
		#calcontainer {
			display: block;
			height: 145px;
			margin: 0 auto;
			padding: 3px;
			overflow: hidden;
			}
		
		.month {	/* month box */
			display: block;
			margin: 1px 3px 3px 3px;
		}
			.one {float: left;}	/* first month */
			.two {float: left;} /* second month */
		
	.arrow {
		display: block;
		width: 13px;
		height: 140px;
		text-indent: -999999px;
		overflow: hidden;
	}
		.arrowLt {
			background: url(/_images/ui/arrow.left.png) no-repeat left center;
			float: left;
			}
		.arrowRt {
			background: url(/_images/ui/arrow.right.png) no-repeat right center;
			float: right;
			}
		.show_event {/* hidden element to display event descriptions. Targeted by calendar. */
			display: none;
			background: transparent url(/_images/ui/bkg.transparent.70.png);
			width: 290px;
			height: 135px;
			margin-top: -135px;
			position: absolute;
			z-index: 200; 	/* must remain below 300 - z-index for menu dropdowns */
			color: #FFF;
			-moz-border-radius: 7px; 
			-webkit-border-radius: 7px;	
			overflow: hidden;
			}
                        .rightcal {margin: -135px 0 0 -145px;}

			.event_scroll {overflow: auto; height:115px;}
			.event_inner {
				width: 270px;
				height: 115px;
				display: block;
				white-space: normal;
				position: relative;
				z-index: 250; /* Just above .show_event */
				left: 10px;
				top: 10px;
				text-align: left;
				font: 110% Arial, Helvetica, sans-serif;
			}
			.event_inner span {font: 150% Arial, Helvetica, sans-serif; color: #FFf; padding: 0; margin: 0;}
                        .event_inner strong {color: #FF0;}
			.inner_close {
				background: url(/_images/icons/x15red.png) no-repeat bottom right;
				color: #FFF;
				display: block;
                                height: 15px;
                                width: 15px;
				float: right;
				width: 100%;
				bottom: 10px;
				right: 10px;
				position: absolute;
				z-index: 300;
				text-indent: -999999px;
				overflow: hidden;
				}
#breadcrumb {
  width: 100%;
  height: 20px;
  margin: 5px 0;
  color: #777;
}
  #breadcrumb ul li {
    display: inline-block;
    float: left;
    margin-right: 5px;
  }

  #breadcrumb ul li a {
    font-size: 85%;
    color: #777;
    text-decoration: none;
    padding: 2px 3px;
  }

   #breadcrumb ul li a:hover {
    font-size: 85%;
    color: #fff;
    background: #bbb;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    }
#body2 {
	background: url(/_images/ui/bkg.body2.png) repeat-x top #fff;
	border-top: 1px solid #fff;
	display: block;
}
  #body2 .inner #blocks {margin: 0 auto;}

    #body2 .image-container  {
      width: 615px;
      height: 200px;
      display: block;
      -moz-box-shadow: 1px 1px 15px #000;
      -webkit-box-shadow: 1px 1px 15px #000;
      box-shadow: 1px 1px 15px #000;
      border: 1px solid #eee;
      overflow: hidden;
    }
    #body2 #article {
      width: 680px;
      background-color: #fff;
      font-size: 120%;
      border-radius: 7px 0 7px 7px;
      -moz-border-radius: 7px 0 7px 7px;
      -webkit-border-radius: 7px;
      -webkit-border-top-right-radius: 0;
      border: 2px solid #BBB;
      margin: 0 10px 20px 0;
      float: left;
    }

    #body2 #article p, #body2 #article ul {line-height: 1.5em;}
    #body2 #article ul {margin: 20px 10px;}

    #body2 #article h2 {
        font: bold 200% Georgia, "Times New Roman", serif;
        margin: 20px 0;
    }

    #body2 #sidebar.header {
      width: 300px;
      height: 30px;
      background: url("/_images/ui/bkg.hdr.news.png") repeat-x center top #222 ;
      text-transform: uppercase;
      color: #fff;
      font-weight: bold;
      border-radius: 0 0 7px 0;
      -moz-border-radius-topright: 7px;
      -webkit-border-top-right-radius: 7px;
      margin: 0;
      float: left;
    }

      #body2 #sidebar.block {
        margin-top: 3px;
        border-radius: 0;
        -moz-border-radius-topright: 0;
        -webkit-border-top-right-radius: 0;
      }
      #body2 #sidebar.header p {
        padding: 7px 0 0 7px;
      }

      #body2 #sidebar {
        width: 300px;
        background-color: #fff;
        margin-top: 3px;
        float: left;
      }

      #body2 #sidebar ul {padding: 20px 10px;}

	.info_box {
		background: url(/_images/ui/bkg.info_box.png) repeat-x bottom #fff;
		display: block;
		height: 200px;
		width: 24%;
		margin: 10px 10px 10px 0;
                -moz-border-radius: 7px;
		-webkit-border-radius: 7px;
		border: 1px solid #BBB;
		float: left;
	}
		.info_box h2 {
			font: 175% "Trebuchet MS", Arial, Helvetica, sans-serif;
			text-transform: uppercase;
			text-align: center;
			padding: 10px 0;
		}
		.info_box h2 a:hover {text-decoration: none;} 

		.info_box ul {
			font-size: 110%;
			list-style-image: none;
			line-height: 1.7em;
			padding: 0 20px;
			}
      .info_box ul#giving { width: 113px; float: left; }
        .info_box ul#giving li { width: 113px; white-space: normal; }
		.info_box ul li {background: url(/_images/ui/pyra.png) no-repeat left center; padding-left: 18px; white-space: nowrap;}
		.info_box ul li:hover {background: url(/_images/ui/pyra2.png) no-repeat left center; padding-left: 18px;}
		
		.info_box a {
			color: #333;
			text-decoration: none;
		}
		.info_box a:hover {color:#000; text-decoration: underline;}

    .info_box ul li a.golf-classic,
		.info_box ul li a.usnews {
			text-indent: -99999px;
			overflow: hidden;
			position: relative;
      width: 88px;
			height: 100px;
			z-index: 250;
			float: right;
		}
    .info_box ul li a.usnews {
      background: url(/_images/USNews_all-hospitals-vector.png) no-repeat center right;
			margin: -130px -12px 0 0;
    }
    .info_box ul li a.golf-classic {
      -moz-border-radius: 2px;
      -webkit-border-radius: 2px;
      border: 1px solid #666;
      background: url(/_images/golf_2011_logo3.png) no-repeat center center;
			margin: -111px -77px 0 0;
      height: 68px;
      width: 75px;
    }
			
	#video_bar {
		position: relative;
		width: 100%;
		height: 125px;
		background: url(/_images/ui/bkg.vid.top.png) repeat-x top;		
		-moz-border-radius-topleft: 7px;
		-webkit-border-top-left-radius: 7px;
		-moz-border-radius-topright: 7px;
		-webkit-border-top-right-radius: 7px;
		border: 1px solid #bbb;
	}
	#video_bar_strip {
		position: relative;
		width: 100%;
		height: 40px;
		background: #fff;
		margin-bottom: 10px;
		-moz-border-radius-bottomleft: 7px;
		-webkit-border-bottom-left-radius: 7px;
		-moz-border-radius-bottomright: 7px;
		-webkit-border-bottom-right-radius: 7px;
		border: 1px solid #BBB;
		border-top: none;
	}
	
	#video_bar_content {
		position: relative;
		z-index: 100;
		float: left;
		padding: 7px 0 10px 10px;
		margin-top: -100px;
		text-align: center;
		font-weight: bold;
		font-size: 85%;
	}
		#video_bar_content ul.container {
			margin: 0 7px; 
			float: left;
			width: 150px;
			white-space: normal;
		}
		#video_bar_content ul.container li.description {
			margin: 20px 0 10px 0;
			line-height: 1.3em;
		}
		#video_bar_content ul li.vidcard {
			width: 140px;
			height: 75px;
		}

		#video_bar_content ul li a.play {
			background: transparent url(/_images/ui/arrow.vid.play.png) no-repeat center center;
			display: block;
			width: 140px;
			height: 75px;
			text-indent: -999999px;
			overflow: hidden;
			border: 1px solid #fff;
		}
		#video_bar_content ul li a.play:hover {background: transparent url(/_images/ui/arrow.vid.play.hover.png) no-repeat center center;}

#footer {
	background: #990000;
	position: relative;
	bottom: 0;
	width: 100%;
        height: 100%;
	color: #fff;
}
	#footer span {color: #FFF;}
	#footer h4 {
		font: 100% Arial, Helvetica, sans-serif bold;
		color: #FFF;
		margin-bottom: 10px;
		text-transform: uppercase;
		}
		.left h4 {margin: 30px 0; font-size: 85% !important;}

	#footer a {text-decoration: none; color: #fff;}
	#footer a:hover {text-decoration: underline; color:#FFF;}
.col {
	font: 85% Arial, Helvetica, sans-serif;
	float: left;
	width: 24%;
	overflow: hidden;
	margin-top: 10px;
	vertical-align: middle;
	display: block;
}
	.col ul {
		list-style: none;
		line-height: 1.5em;
	}
	.p30 {padding-left: 30px;}

#footer a.SoldWebsites {
	display: inline-block;
	text-indent: -99999px;
	height: 40px;
	width: 107px;
	padding: 5px;
	text-decoration: none;
	float: left;
	overflow: hidden;
}

#footer a.GibraltarTech {
	text-decoration: none;
	float: left;
	width: 110px;
	white-space: normal;
}
	#footer a.GibraltarTech:hover {text-decoration: underline;}
        #footer ul#social li {
            width: 32px;
            display: block;
            float: left;
            margin-right: 5px;
}

#footer ul#social li a {
	display: block;
	text-indent: -9999px;
        overflow: hidden;
	height: 32px;
	width: 32px;
	margin-right: 5px;
	float: left;
}

a.twitter { background: url(/_images/icons/twitter_32_off.png) no-repeat left center;}
a.twitter:hover { background: url(/_images/icons/twitter_32.png) no-repeat left center;}
a.facebook { background: url(/_images/icons/facebook_32_off.png) no-repeat left center;}
a.facebook:hover { background: url(/_images/icons/facebook_32.png) no-repeat left center;}
a.linkedin { background: url(/_images/icons/linkedin_32_off.png) no-repeat left center;}
a.linkedin:hover { background: url(/_images/icons/linkedin_32.png) no-repeat left center;}
a.myspace { background: url(/_images/icons/myspace_32_off.png) no-repeat left center;}
a.myspace:hover { background: url(/_images/icons/myspace_32.png) no-repeat left center;}
a.youtube { background: url(/_images/icons/youtube_32_off.png) no-repeat left center;}
a.youtube:hover { background: url(/_images/icons/youtube_32.png) no-repeat left center;}

a.SoldWebsites {background: url(/_images/logos/sws_off.png) no-repeat top left;}
a.SoldWebsites:hover {background: url(/_images/logos/sws_on.png) no-repeat top left;}

.wei {background: url(/_images/icons/w20.png) no-repeat left center; vertical-align: middle; display: inline-block; padding: 0 0 0 30px;}
.nomargin {margin-right: 0;}
.left {float: left;}
.nobo {border: none;}


/* ---------------------------------- clearfix ---------------------------------------- */
/* slightly enhanced, universal clearfix hack */
.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
.clearfix { display: inline-block; }
/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* close commented backslash hack */
/* --------------------------------- end clearfix --------------------------------------- */


