/*@import url('/stylesheets/refinery/home.css');*/
/*
	Override default refinery homepage styles here.
	These only apply to the homepage of your site.
*/
h1#logo {
  position: relative;
}
#page {
    min-height: 1116px;
}
#header_content {
    background: url('/images/menu_bg.png') 0px 100% no-repeat;
    padding-bottom: 33px; /* 72 px padding minus 39 px height of #header_tagline */
}
#header_tagline {
    background: #dfdfdf url('/images/header_tagline_background.png') no-repeat;
    text-align: right;
    line-height: 24px;
    margin: 0px auto;
    padding: 9px 11px;
    width: 939px; /* 961px - 22px horizontal padding */
    height: 21px;
    font-family: "Trebuchet MS", Trebuchet;
    font-size: 14px;
    overflow: hidden;
}
#header_tagline * {
    margin: 0px;
}
#header_tagline a {
    color: #0590c6;
}
#menu_container {
    background: no-repeat 214px 0px #2a2a2a;
    padding: 11px 0px;
    margin: 10px auto 0px auto;
    width: 961px;
    height: 276px;
    overflow-y: hidden;
}
#menu_container_link, #menu_container_image {
    position: absolute;
    width: 747px;
    height: 298px;
    max-height: 298px;
    right: 0px;
    top: 0px;
    color: none;
    border: 0px none;
    text-decoration: none;
}

#search {
	top: -125px;
}

#menu {
    margin: 0px;
    padding: 0px 0px;
    border-top: 1px solid #1e1e1e;
    border-bottom: 1px solid #383838;
    width: 214px;
    background: url('/images/menu_bg.png');
}
#menu li {
    width: 214px;
    overflow-y: hidden;
}
#menu li a {
    padding: 11px 17px;
    font-size: 18px;
    width: 170px;
    background: #2a2a2a;
    border-top: 1px solid #383838;
    border-bottom: 1px solid #1e1e1e;
}
#menu li:hover a, #menu li a:hover {
    background: transparent;
    border-color: transparent;
}
#menu li ul {
    left: 214px;
    top: 0px;
    overflow-y: hidden;
}
#menu li ul li {
    float: left;
    width: auto;
    overflow-y: hidden;
    height: 46px;
}
#menu li ul li a {
    font-size: 14px;
    height: 20px;
    width: auto;
    padding: 13px 17px;
    font-weight: normal;
}
#menu li ul li:hover a, #menu li:hover ul li a:hover {
    background: url('/images/opacity.png');
}
#menu li:hover {
    width: 961px;
}
#menu li:hover ul {
    display: block;
}
#menu li ul li:hover {
    width: auto;
}

/* backgrounds */
#menu li#item_0 {
    background: #ae5757;
}
#menu li#item_1 {
    background: #5381a9;
}
#menu li#item_1 ul li:hover a, #menu li#item_1:hover ul li a:hover {
    background: #486f92;
}
#menu li#item_2 {
    background: #8d7f6c;
}
#menu li#item_2 ul li:hover a, #menu li#item_2:hover ul li a:hover {
    background: #706556;
}
#menu li#item_3 {
    background: #ba9f73;
}
#menu li#item_3 ul li:hover a, #menu li#item_3:hover ul li a:hover {
    background: #98876D;
}
#menu li#item_4 {
    background: #63927f;
}
#menu li#item_4 ul li:hover a, #menu li#item_4:hover ul li a:hover {
    background: #588271;
}
#menu li#item_5 {
    background: #63698c;
}

#menu li#item_5 ul li:hover a, #menu li#item_5:hover ul li a:hover {
    background: #565b7a;
}
#menu li#item_6 {
    background: #c99392;
}
#menu li#item_6 ul li:hover a, #menu li#item_6:hover ul li a:hover {
    background: #b48281;
}
#body_content {
    height: 625px;
    overflow: hidden;
    margin-top: 0px;
}

#body_content_page_title {
    height: 77px; /* 110px - 33px padding on menu */
}
#body_content_page_title h1 {
    margin: 0px;
}

#body_content_left {
    width: 204px;
    float: left;
}
#body_content_middle {
    margin-left: 10px;
    width: 418px;
    float: left;
}
#body_content_right {
    width: 311px;
    float: right;
    position: relative;
    height: 525px;
}

#body_content_right p.random_ad {
    margin-top: 0px;
    position: absolute;
    bottom: 0px;
    margin-bottom: 0px;
}

#body_content_right p.video-content-box {
  position: absolute;
  top: 0px;
}
#body_content_right p.video-title-box {
  position: absolute;
  width: 311px;
  bottom: 237px;
  margin-bottom: 0px;
}
#body_content_right p.video-title-box a {
  margin-bottom: 0px;
  margin-right: 18px;
  margin-left: 0px;
}

#body_content_middle_top #jewish_community_news {
    width: 182px;
    float: left;
}
#body_content_middle_top #federation_focus {
    width: 182px;
    float: right;
}
#federation_focus p {
    margin: 0px;
}

#newsletter_signup, #jewish_community_news, #federation_focus {
    height: 78px;
    overflow: hidden;
}
#newsletter_signup .interior, #jewish_community_news .interior, #federation_focus .interior {
    height: 71px;
    overflow: hidden;
}

#people_in_pictures, #body_content_middle_bottom {
    margin-top: 10px;
}

#people_in_pictures, #latest_events {
    height: 349px;
    overflow: hidden;
}
#people_in_pictures .interior, #latest_events .interior {
    height: 341px;
    overflow: hidden;
}
#people_in_pictures img {
    margin: 12px 0px 0px -11px;
}

/* box background colours */
.box, .box a {
    color: white;
}
#newsletter_signup {
    background-color: #5381a9;
}
#jewish_community_news {
    background-color: #8d7f6c;
}
#federation_focus {
    background-color: #c99392;
}
#federation_focus a.opacity_link {
    background: #b48281;
}
#people_in_pictures {
    background-color: #63927f;
}
#people_in_pictures a.opacity_link {
    background: #588271;
}
#latest_events {
    background-color: #63698c;
}
#latest_evenst a.opacity_link {
    background: #565b7a;
}

h2 {
    font-weight: normal;
}
.box h2 {
    margin-top: 0px;
}
.box #ec-list-view p img.image-align-right {
    margin-right: -10px;
}
#ec-list-view {
    border-top: 0px none;
}
#latest_events h2 {
    margin-bottom: 6px;
}
#latest_events h2 a {
    text-decoration: none;
    font-size: 16px;
}

#latest_events .ec-list-day h2 a {
    text-decoration: underline;
    font-size: 14px;
}
#latest_events .ec-list-date-time h2 {
    font-size: 11px;
    margin-bottom: 0px;
}
#latest_events .ec-list-day {
    margin: 6px 0px;
}
#latest_events .ec-list-day p {
    margin-top: 0px;
}
#latest_events .ec-list-day .image-align-right {
    margin-top: -50px;
}
#latest_events .ec-list-day.first_event .image-align-right {
    margin-top: -18px;
}
#body_content .video-title-box {
    font-size: 16px;
    line-height: 37px;
}
#body_content p.video-content-box {
    margin-bottom: 0px;
}
#body_content p.video-title-box {
    margin-bottom: 18px;
}
#please_donate {
    position: absolute;
    top: -125px;
}
#menu ul li a {
    z-index: 100;
}
#featured_item, #featured_item img {
    border: 0px none;
    display: block;
}
#drjtti-drjtti {
    width: 148px;
    border:0px none;
    line-height:22px;
    height: 16px;
    padding: 3px 0px;
}