/* Ontario Society of Retina Specialists
Copyright 2012
*/

/* Global Styles */

html, body {margin: 0px;
	padding: 0px;
	background:#fff;
	height: 100%;

}

*{
	color:#000;
	font-size: 13pt;
}

#pageWrapper{
	position: relative;
	min-height: 100%;
	background: url('../images/content_bg.png') top center repeat-y;
}

.hidden{
	display:none;
}

.left{text-align: left;}

.right{text-align: right;}

.center{text-align: center;}

.floatleft{float: left;}

.floatright{float: right;}

.clear{
	clear:both;
}

.margin{
	margin: 10px;
}

a{
	text-decoration:none;
	color: #355286;
}

.innerWrapper{
	position: relative;
	width: 980px;
	margin: 0px auto;
padding:0px;

}

h1{
	font-variant:small-caps;
	font-size:18pt;
	color:#091c3e;
}

h2{
	font-variant:small-caps;
	font-size:16pt;
	color:#091c3e;
}

/* Header Styles */

#header{
	position:relative;
	margin:0px;
	width:100%;
	background: #fff;

}

#headerwrapper{
	position: relative;
	width:100%;
	background:url('../images/headerbg.jpg') top center no-repeat;
	height:280px;
}

#headerRTile{
	position: absolute;
	right:0px;
	bottom:0px;
	width: 50%;
	height: 60px;
	background: url('../images/rheadertile.png') top right repeat-x;
	display:block;
}

#headerLTile{
	position: absolute;
	left:0px;
	bottom:0px;
	width: 50%;
	height: 5px;
	background: url('../images/lheadertile.png') bottom left repeat-x;
	display:block;
}

@media screen and (max-width: 980px) {

	#headerwrapper{
		width:980px;
	}

}


#title{
	position: absolute;
	top: 20px;
	left: 350px;
	width: 514px;
	height:184px;
	display:block;
	background: url('../images/title.png') bottom left repeat-x;
}

#nav{
	position: absolute;
	top:235px;
	left:260px;
	width: 700px;
	height: 40px;
	padding-top: 5px;
}

#nav a{
	position: relative;
	display:block;
	float:left;
	height:18px;
	margin-left:30px;
	color:#041639;
	font-size:14pt;

-webkit-transition: color 0.5s ease;
  -moz-transition: color 0.5s ease;
  -o-transition: color 0.5s ease;
  transition: color 0.5s ease;
}

#nav a:hover{
	color:#36599a;
}

/* Content Area Styles */

#contentArea{
}

#contentArea .innerWrapper{
	padding:0px;
	width:980px;

padding-top:16px;
}

#leftContent{
	position:relative;
	float:left;
	width: 540px;
	padding: 0px 60px 60px;
}

#rightContent{
	position:absolute;
	right:16px;
	width: 284px;
	height:100%;
	background:#374661;
}

#mainContent{
	position:relative;
	width: 860px;
	padding: 0px 60px 60px;
}

#sidebarImg{
	display:block;
	position:relative;
	margin-top:20px;
	width:284px;
	height:247px;
	background: url('../images/sidebar_img.jpg') top center no-repeat;
}

.slides{
position:relative;
margin-left: 16px;
margin-top: -16px;
width: 948px;
height: 283px;
background:#374661;
}

.slides div{
position:absolute;
width:948px;
height: 283px;
display:none;
}

.slides .text{
position:absolute;
top:0px;
left:554px;
padding: 60px 20px 20px;
width: 354px;
text-align: left;
font-size: 32pt;
color:#fff;
font-family: arial;
display:block;
}

.slidetabs{
position: absolute;
top:16px;
left: 36px;
}

.slidetabs a{
float:left;
position:relative;
width: 20px;
height: 20px;
background:#676978;
margin-right: 10px;
display:block;
}

.slidetabs a.current{
background:#374661;
}

/* Footer Styles */

#footer{
	background:#041639;
	position: absolute;
	height:40px;
	color:#fff;
	width: 100%;
	padding-top: 10px;
	bottom: 0px;
}

#footer .innerWrapper{
	text-align:center;
	color:#fff;
}
 

/* Specific Page Styles */

.text_profile{
	clear: both;
}

.text_profile img{
	float: left;
	width: auto;
	height: 100px;
	margin: 0px 20px 20px;
}

#pic_profiles{
	text-align: center;
}

.pic_profile{
	display: inline-block;
	margin: 10px;
	width: 200px;
	text-align: center;
}

.pic_profile img{
	width: auto;
	height: 100px;
	margin: 0px 20px 20px;

}

#fellowship_img{
	float: left;
	margin-right: 20px;
}

#fellowship_img img{
	width: auto;
	height: 160px;
	margin: 0px;
	padding: 0px;
	display: block;
	float: left;
}

.gallery a{
	float: left;
	position: relative;
	display: block;
	width: 250px;
	height: 250px;
	background-size: cover;
	margin: 16px;
}