body {
	overflow-y: scroll;
}

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
 
html[xmlns] .clearfix {
	display: block;
}
 
* html .clearfix {
	height: 1%;
}

a img {
	border: none;
}

@font-face {
    font-family: 'MPRegular';
    src: url('../fonts/mpro-regular_0-webfont.eot');
    src: url('../fonts/mpro-regular_0-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/mpro-regular_0-webfont.woff') format('woff'),
         url('../fonts/mpro-regular_0-webfont.ttf') format('truetype'),
         url('../fonts/mpro-regular_0-webfont.svg#MyriadProRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* We need a long font declaration to get everyone so we'll add a class to everything that needs it */
.lucida, .lucida * {
	font-family: 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans Unicode', 'DejaVu Sans Condensed', Garuda, sans-serif;
}

#maincontainer, #titlebar, #page_footer {
	width: 960px;
	margin: 0 auto;
}

#container.with_sidebar {
	float:left;
	width:100%;
}

#main {
	/*overflow:auto;*/
}
#container.with_sidebar #main {
	margin-left: 240px;
}

/* SIDEBAR */
#sidebar.left {
	float:left;
	width: 220px;
	height: inherit;
	padding: 10px;
	margin-left: -100%;
}
/* END SIDEBAR */


#titlebar {
	height: 91px;
}
#mainlogo {
	float: left;
	padding: 35px 0 0 17px;
}
#ymflogobox {
	float: right;
}
#ymflogo {
	padding: 11px 27px 0 0;
}
#projectof {
	padding: 61px 11px 0 0;
}

#topnav, #hometop {
	background: #0d527b; /* Old browsers */
	background: -moz-linear-gradient(left, #0d527b 0%, #4a8fb8 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,#0d527b), color-stop(100%,#4a8fb8)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(left, #0d527b 0%,#4a8fb8 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(left, #0d527b 0%,#4a8fb8 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(left, #0d527b 0%,#4a8fb8 100%); /* IE10+ */
	background: linear-gradient(left, #0d527b 0%,#4a8fb8 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0d527b', endColorstr='#4a8fb8',GradientType=1 ); /* IE6-9 */
}

#topnav {	
	width: 904px;
	margin: 0 auto;
	height: 28px;
	padding: 28px;
	position: relative;
}

#searchForm {
	float:left;
}
#searchbox {
	width: 255px;
	height: 18px;
	background: #fff;
	border: 1px solid #000;
}
#searchsubmit {
	height: 28px;
	width: 28px;
	background:transparent url('../images/search-go.png') scroll no-repeat center center;
	border: none;
	margin-left: -18px;
}

#categoryLink:link, #categoryLink:visited, 
#speakersLink:link, #speakersLink:visited, 
#adminLink:link, #adminLink:visited {
	text-decoration: none;
	float: left;
	width: 85px;
	height: 23px;
	margin: 2px 0 0 20px;
	
	color: transparent;
	
	/* IE */ font-size: 0;
}
#categoryLink {
	background: transparent url('../images/shiurim-button.png') scroll no-repeat center center
}
/* BEGIN CATEGORY MENU */
#categoryMenu {
	margin: 0;
	padding: 0;
	position: relative;
}
#categoryMenu li {
	float: left;
	list-style: none;
	/*font: 12px Tahoma, Arial;*/
	margin: 0;
	padding: 0;
}
#categoryMenu li a{
	display: block;
	/*background: #20548E;*/
	/*padding: 5px 12px;*/
	text-decoration: none;
	/*border-right: 1px solid white;*/
	/*width: 70px;*/
	/*color: #EAFFED;*/
	white-space: nowrap
}
#categoryMenu li a:hover {
	/*background: #1A4473*/
}
#categoryMenu li ul {
	margin: 0 0 0 20px;
	padding: 0 8px;
	position: absolute;
	top: 25px;
	visibility: hidden;
	border: 1px solid #d4d4d4;
	width: 140px;
	z-index: 900;
	background: #fff;
}
#categoryMenu li ul li {
	float: none;
	/*display: inline;*/
	z-index: 901;
	
	border-bottom: 1px solid #d4d4d4;
	padding: 4px 0;
}
#categoryMenu li ul li.last {
	border:none;
}
#categoryMenu li ul li a {
	width: auto;
	color: #000;
	/*border-bottom: 1px solid #d4d4d4;
	margin: 0 8px;*/
	padding: 4px 0;
}
#categoryMenu li ul li a:link, #categoryMenu li ul li a:visited, #categoryMenu li ul li a:hover {
	color: #000;
	font-family: 'Trebuchet MS';
	font-size: 13px;
}
#categoryMenu li ul li a:hover{
	background: #eee;
}

/* END CATEGORY MENU*/
#speakersLink {
	background: transparent url('../images/speakers-button.png') scroll no-repeat center center
}

#adminLink {
	background: transparent url('../images/admin-actions-button.png') scroll no-repeat center center
}
/* BEGIN ADMIN MENU */
#adminMenu {
	margin: 0;
	padding: 0;
	position: relative;
}
#adminMenu li {
	float: left;
	list-style: none;
	/*font: 12px Tahoma, Arial;*/
	margin: 0;
	padding: 0;
}
#adminMenu li a{
	display: block;
	/*background: #20548E;*/
	/*padding: 5px 12px;*/
	text-decoration: none;
	/*border-right: 1px solid white;*/
	/*width: 70px;*/
	/*color: #EAFFED;*/
	white-space: nowrap
}
#adminMenu li a:hover {
	/*background: #1A4473*/
}
#adminMenu li ul {
	margin: 0 0 0 20px;
	padding: 0 8px;
	position: absolute;
	top: 25px;
	visibility: hidden;
	border: 1px solid #d4d4d4;
	width: 140px;
	z-index: 900;
	background: #fff;
}
#adminMenu li ul li {
	float: none;
	/*display: inline;*/
	z-index: 901;
	
	border-bottom: 1px solid #d4d4d4;
	padding: 4px 0;
}
#adminMenu li ul li.last {
	border:none;
}
#adminMenu li ul li a {
	width: auto;
	color: #000;
	/*border-bottom: 1px solid #d4d4d4;
	margin: 0 8px;*/
	padding: 4px 0;
}
#adminMenu li ul li a:link,
#adminMenu li ul li a:visited,
#adminMenu li ul li a:hover {
	color: #000;
	font-family: 'Trebuchet MS';
	font-size: 13px;
}
#adminMenu li ul li a:hover{
	background: #eee;
}

/* END ADMIN MENU*/

#date {
	z-index: 500;
	position: absolute;
	top: 16px;
	right: 28px;
	color: #e4e4e4;
	font-family: 'Trebuchet MS';
	font-size: 12px;
}

#page_footer {
	border-top: 3px solid #e9e9e9;
	background: #e9e9e9;
	padding-bottom: 8px;
	margin: 8px auto;
}

#mainwrapper {
	
}

#hometop {
	width: 935px;
	margin: 0 auto;
	height: 223px;
	padding: 13px 0 0 25px;
	position: relative;
}

#home-toppicture {
	position: absolute;
	bottom: 0;
	right: 0;
}

#home-toptitle {
	background: transparent url('../images/home-swipe.png') scroll no-repeat bottom left;
	font-size: 30px;
	margin: 0;
	line-height: 27px;
	color: #fff;
	font-family: MPRegular;
	padding-bottom: 25px;
	font-weight: normal;
	text-shadow: #666 1px 1px 2px;
}

#home-toptext {
	background: transparent url('../images/home-headphonetarget.png') scroll no-repeat center left;
	padding: 10px 0 0 110px;
	color: #fff;
	font-family: MPRegular;
	font-size: 19px;
	height: 140px;
	width: 380px;
}

.home-bottom-boxes {
	float:left;
	margin-top: 24px;
	width: 200px;
	
	font-size: 13px;
	color: #5e5e5e;
}
.home-bottom-boxes p strong {
	font-size: 22px;
	color: #000;
	font-weight: normal;
}

#home-bottom-1 {
	width: 420px;
	padding: 0 24px;
	border-right: 3px solid #e9e9e9;
}
#home-bottom-2 {
	padding: 0 16px 0 24px;
}
#home-bottom-3 {
	padding: 0 24px 0 16px;
}
#share-a-shiur:link, #share-a-shiur:visited, #share-a-shiur strong {
	text-decoration: none;
	color: #00c;
}
#share-a-shiur:hover {
	color: #00f;
}

#speaker-summary {
	margin: 18px 26px 0;
	font-size: 12px;
	color: #666;
	min-height: 150px;
}
#speaker-pic {
	float: left;
	min-width: 150px;
	text-align:center;
	padding: 0 12px 0 3px;
}
#speaker-summary h1 {
	font-weight: bold;
	font-size: 18px;
}

#shiur-list-box {
	margin: 18px 26px 0;
	border: 1px solid #e4e4e4;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	padding: 20px;
}
.shiur-list {
/*	margin: 22px 36px 0 180px;*/
	border-collapse: collapse;
/*	width: 690px;*/
	width: 100%;
}
.shiur-list tr th, .shiur-list tr td {
	border-bottom: 1px solid #e4e4e4;
	min-height: 24px;
	line-height: 24px;
}
.shiur-list tr th {
	font-size: 13px;
	font-weight: bold;
	text-align: left;
	color: #888;
}
.shiur-list tr td {
	font-size: 12px;
	text-align: left;
	color: #888;
}
.shiur-list .c_name {
	padding-left: 5px;
	/*width: 350px;*/
}
.shiur-list .c_cat {
	width: 175px;
}
.shiur-list .c_len {
	width: 60px;
}
.shiur-list .c_down {
	padding-right: 5px;
	width: 70px;
}
.shiur-list .c_down a:link, .shiur-list .c_down a:visited {
	color: #39c;
	text-decoration: none;
}
.shiur-list .c_len, .shiur-list .c_down {
	text-align: right;
}
.shiur-list tr:nth-child(even) td {
	background: #f6f6f6;
}
.shiur-list tr:hover td {
	background: #e4e4e4;
}

#shiur {
	width: 540px;
	height: 150px;
	border: 1px solid #e4e4e4;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	position: relative;
	
	padding: 26px 30px 20px 26px;
	
	margin: 18px 26px 0 0;
	float: right;
	
	background: transparent;
	background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(250,250,250,0) 85%, rgba(249,249,249,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(85%,rgba(250,250,250,0)), color-stop(100%,rgba(249,249,249,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(250,250,250,0) 85%,rgba(249,249,249,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(250,250,250,0) 85%,rgba(249,249,249,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(250,250,250,0) 85%,rgba(249,249,249,1) 100%); /* IE10+ */
	background: linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(250,250,250,0) 85%,rgba(249,249,249,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#f9f9f9',GradientType=0 ); /* IE6-9 */
}

#shiur .legend {
	color: #888;
	font-size: 12px;
}
#shiur #v_desc {
	color: #888;
	font-size: 11px;
	width: 350px;
	padding-top: 6px;
}
#shiur .value {
	color: #505050;
	font-size: 14px;
}
#shiur #c_len {
    position: absolute;
    right: 120px;
    top: 26px;
	width: 70px;
}

#shiur .download {
	position: absolute;
	top: 26px;
	right: 26px;
	width: 80px;
	text-align: center;
}
#shiur .download a:link, #shiur .download a:visited, #shiur .share a:link, #shiur .share a:visited, #shiur .docs a:link, #shiur .docs a:visited {
	color: #888;
	text-decoration: none;
}

#shiur .share {
	position: absolute;
	top: 110px;
	right: 26px;
	width: 80px;
	text-align: center;
}

#shiur .docs {
	position: absolute;
	top: 110px;
	right: 120px;
	width: 70px;
}
#shiur .docs img {
	margin-bottom: -6px;
}

#shiur #c_speaker {
	position: absolute;
	bottom: 60px;
	left: 26px;
}

#shiur #c_cat {
	position: absolute;
	bottom: 22px;
	left: 26px;
}

#shiur #v_speaker a:link, #shiur #v_speaker a:visited, #shiur #v_cat a:link, #shiur #v_cat a:visited {
	text-decoration: none;
	color: #39c;
	font-size: 11px;
}

/** Generic Entity List stuff */
.entitylist:after {
    content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.entitylist .letter:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

/** Speaker List Page */
#entitylist_Speakers .letter {
	margin-top: 1em;
	position: relative;
}
#entitylist_Speakers .letter h3 {
	background: #ddd;
	padding: 2px 0 2px 6px;
	margin: 1em 0;
	line-height: 23px;
}
#entitylist_Speakers ul{
	list-style: none outside;
	padding: 0;
	margin: 0;
}
#entitylist_Speakers li{
	float: left;
}
#entitylist_Speakers .letter a{
	display: inline;
	float: left;
	margin: 0 0 0 30px;
	color: #000;
	font: normal 14px "helvetica neue", helvetica, arial, sans-serif;
	padding: 7px 1px 8px;
	text-decoration: none;
	text-align: left;
	width: 200px;
}
#entitylist_Speakers a:hover {
	color: #06f;
}
#entitylist_Speakers a.backtotop {
	float: none;
	margin: 0;
	position: absolute;
	top: 0;
	right: 0;
	line-height: 27px;
	width: auto;
	padding: 0 4px;
}

#alphashortcutlist {
	float:right;
	margin: -31px 7px 0 0;
	background: #ccc;
	padding: 3px;
	border-radius: 4px;
}
#alphashortcutlist a, #alphashortcutlist a:visited {
	font-family: Consolas;
	color: #00d;
	text-decoration: none;
	padding-right: 5px;
}
#alphashortcutlist a:hover {
	color: #06f;
}
#alphashortcutlist a:last-child {
	padding-right: 0;
}

/** Subcategory List on Category Page */
#entitylist_Subcategories .letter {
	clear: left;
}
#entitylist_Subcategories .letter h3 {
	background: #ddd;
	padding: 2px 0 2px 6px;
}
#entitylist_Subcategories > ul{
	list-style: none outside;
	padding: 0;
	margin: 0;
}
#entitylist_Subcategories > ul > li{
	float: left;
}
#entitylist_Subcategories > ul > li > a{
	display: inline;
	float: left;
	margin: 0 0 27px 30px;
	
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	color: #000;
	border: 1px solid #ccf;
	
	font: normal 14px "helvetica neue", helvetica, arial, sans-serif;
	padding: 7px 1px 8px;
	text-decoration: none;
	text-align: center;
	width: 200px;
}
#entitylist_Subcategories a:hover {
	border-color: #00c;
	padding: 8px 0px 7px 2px;
}