@import "/assets/css/reset.css";
@import "/assets/css/text.css";
@import "/assets/css/960.css";

/* basics */
body { background: #eaeaea; }
input { border: 1px solid #ccc;background: #ff; }
textarea { border: 1px solid #ccc;background: #ff; }

div#top { height: 20px;position: relative; background: #fff; padding: 5px 0; }
div#top img { margin: 0;padding: 0;display: block; position: absolute; top: 3px; left: 877px;}
div#top span { font-size: 12px; margin: 0;padding: 0;display: block; position: absolute; top: 2px; left: 791px;}

div#header {height: 130px; width: 940px; margin: 0 auto; }

/* misc */
.content-padding { padding: 20px; }
.right { text-align: right; }
.inline { display: inline; }
.border-top { border-top: 1px solid #ccc; }
.border-right { background: url('/assets/img/layout/right_left_border_bg.jpg') right repeat-y; }
.border-bottom { border-bottom: 1px solid #ccc; }
.border-left { background: url('/assets/img/layout/right_left_border_bg.jpg') left repeat-y; }

/* logo */
div#logo { float: left; position: absolute; width: 400px; }
div#logo img { position: absolute; top: 26px; left: 0; }
div#logo h1.logo-h1 { position: absolute; color: #1a364c; font-size: 2.8em; letter-spacing: -1px; top: 28px; left: 60px; }
div#logo h2.logo-h2 { position: absolute; color: #1a364c; font-size: 2.8em; letter-spacing: -1px; top: 28px; left: 60px; }
div#logo h2.tag-h2 { position: absolute; color: #1a364c; font-size: .88em; letter-spacing: 0; top: 75px; left: 63px; }
div#logo .span-1 { color: #ec0000 }
div#logo .span-2 { color: #0080ff }
div#logo .span-3 { color: #800080 }


/* header_ad */
div#header_ad { float: right; width:520px; height: 98px; text-align: right; padding: 32px 0 0; margin:0; }

/* main_nav */
div#main_nav { background: #fff url('/assets/img/layout/main_nav_bg.jpg'); height: 40px; }
div#main_nav ul { text-align: center; }
div#main_nav ul li { display: -moz-inline-box; display: inline-block;  zoom:1; *display: inline;  /* ie hack */ list-style: none; margin: 0; }
div#main_nav ul li a { color: #fff; display: block; /* remove from ie6 sheet */ height: 40px; line-height: 40px; padding: 0 10px; }
div#main_nav ul li a:hover { background: #132839; }

/*search_box */
div#search_box { background: #fff url('/assets/img/layout/search_box_bg.jpg'); height: 107px; position: relative; }
div#search_box form div { display: -moz-inline-box; display: inline-block; margin: 20px 0 0 20px; zoom:1; /* ie hack */ *display:inline;  /* ie hack */ }
div#search_box form div.search_element { display: block; margin: 0; padding: 0; }
div#search_box form label { color: #1a364c; display: -moz-inline-box; display: inline-block; margin: 0 0 5px 0; }
div#search_box form input { font-size: 1.3em; padding: 8px; width: 240px; -webkit-border-radius: 5px; -moz-border-radius: 5px;  }
div#search_box form button { background: #1a364c URL('/assets/img/layout/search_button_bg.jpg'); border: 0; color: #fff; margin: 0 0 0 15px; height: 39px; width: 76px; }
div#search_box form label span { font-size: 10px; }

div#jewish_referral { cursor: pointer; position: relative; overflow: hidden;  background: #fff url('/assets/img/layout/jewish_referral_bg.jpg'); height: 67px; margin-top: 10px; margin-bottom: 10px; position: relative; }
div#jewish_referral p { font-size: .85em; position: absolute; width: 265px; height: 45px; top: 8px; left: 572px; }
div#jewish_referral a { text-decoration: none; color: #1a364c; }

div#content { z-index: -1; background: #fff; padding: 10px 0; -webkit-border-radius: 5px; -moz-border-radius: 5px; }

div#content_bottom_ads { background: #eaeaea; height:120px; margin-top: 20px; -webkit-border-radius: 5px; -moz-border-radius: 5px; }
div#content_bottom_ads img.content_bottom_ad, div#content_bottom_ads object.content_bottom_ad { width: 160px; height: 80px; margin: 20px 12px; display: inline; }
div#content_bottom_ads img.first, div#content_bottom_ads object.first { margin-left: 22px; }
div#content_bottom_ads img.last, div#content_bottom_ads object.last { margin-right: 0; }

div#footer { margin-top: 20px; }
div#footer ul { text-align: center; }
div#footer ul li { display: -moz-inline-box; display: inline-block; font-size: .85em; list-style: none; margin: 0 3px; zoom:1; /* ie hack */ *display:inline;  /* ie hack */ }
div#footer ul li a { color: #1a364c; }

div#content_right_hotdeals { background: transparent url('/assets/img/layout/hot_deals_bg.jpg'); height: 109px; position: relative; }
div#content_right_hotdeals h2 { color: #b57601; font-size: 1.5em; margin: 0; position: absolute; top: 12px; left: 2px; }
div#content_right_hotdeals p { font-size: .85em; margin: 0; position: absolute; top: 56px; left: 15px; line-height: 20px; }
div#content_right_hotdeals a { color: #1a364c; }
div#content_right_hotdeals a:hover { text-decoration: underline; }

div#content_right_coupons { background: transparent url('/assets/img/layout/coupons_bg.jpg'); height: 122px; position: relative;  }
div#content_right_coupons h2 { color: #b57601; font-size: 1.5em; margin: 0; position: absolute; top: 25px; left: 2px; }
div#content_right_coupons p { font-size: .85em; margin: 0; position: absolute; top: 68px; left: 15px; line-height: 20px; }
div#content_right_coupons a { color: #1a364c; }
div#content_right_coupons a:hover { text-decoration: underline; }

div#content_right_followus { background: transparent url('/assets/img/layout/follow_us_bg.jpg') no-repeat; height: 160px; margin-top: 20px; width: 280px; }

div#content_right_followus #mailing_list { height: 120px; position: relative; }
div#content_right_followus #mailing_list h3 { color: #fff; font-size: 1em; margin: 6px 0 0 12px; }
div#content_right_followus #social_media { height: 40px; padding: 5px 0 0 0; position: relative; }
div#content_right_followus #social_media img { display: inline; }
div#content_right_followus #social_media h3 { color: #1a364c; display: inline; line-height: 0; font-weight: bold; font-size: 1.3em; top: 20px; left: 115px; position: absolute; }


/* page specific */
/* pages */
div#page {  }
div#page h1 { font-size: 1.5em; color: #1a364c;  }
div#page h2 { font-size: 1.3em; color: #b57601; margin: 0 0 10px; }
div#page h3 { font-size: 1.2em; color: #b57601; margin: 0 0 10px; }

div#page_sidebar { padding: 20px 0; }
div#page_sidebar h2 { font-size: 1.1em; color: #b57601; margin: 0 0 10px; }
div#page_sidebar .less-margin { margin: 0; }
div#page_sidebar ul { }
div#page_sidebar ul li { list-style: none; margin: 5px 0; font-size: .9em; }
div#page_sidebar ul li a { color: #1a364c; }

/*page forms */
.input { padding: 5px; font-size: 1.3em; width: 210px; margin: 0; }
form.horiz-form { margin: 0 20px; }
.horiz-input { padding: 5px; font-size: 1.3em; width: 480px; margin: 0; }
.horiz-label { display: -moz-inline-box; display: inline-block; width: 100px; font-weight: bold; }
.horiz-form-div { margin: 0 0 20px 0; }
.button { font-size: 1em; padding: 5px; }

/* home */
/*  content_slider */
div.content_slider { background: #eaeaea url('/assets/img/layout/content_slider_bg.jpg') repeat-y; height: 230px; margin: 0 0 20px 0; position: relative; }
div.content_slider h2 { background: transparent url('/assets/img/layout/content_slider_left_h2_bg.jpg'); color: #fff; font-size: 1.4em; font-weight: normal; height: 51px; line-height: 51px; padding: 0 0 0 20px; margin: 0; }
div.content_slider p { padding: 10px 20px; margin: 0; }
div.content_slider_bottom { background: url('/assets/img/layout/content_slider_bottom.jpg') no-repeat; clear: both; height: 6px; margin: 0; padding: 0; position: absolute; top: 227px; width: 640px; }

div#content_left_whitepages { background: transparent url('/assets/img/layout/white_pages_bg.jpg'); height: 160px; }
div#content_left_whitepages h3 { font-size: 1em; color: #1a364c; padding: 0 0 0 20px; position: absolute; top: 7px; left: 10px; background: url('/assets/img/icons/search.png') no-repeat left; }
div#content_left_whitepages div { margin: 40px 0 0 17px; }
div#content_left_whitepages .input { font-size: .7em; color: #1a364c; padding: 3px; width: 180px; margin: 0 0 5px; }
div#content_left_whitepages .button { font-size: .7em; color: #1a364c; padding: 3px; width: 50px; }


div#content_left_calendar { background: transparent url('/assets/img/layout/calendar_bg.jpg'); height: 160px; position: relative; }
div#content_left_calendar h3 { font-size: 1em; color: #1a364c; padding: 0 0 0 20px; position: absolute; top: 7px; left: 10px; background: url('/assets/img/icons/calendar.png') no-repeat left; }
div#content_left_calendar p { font-size: .8em; color: #1a364c; padding: 45px 10px 10px; }
div#content_left_calendar table { color: #333; width: 100%; height: 160px;}
div#content_left_calendar table th { background: #f9cd11; font-size: .85em;  -webkit-border-top-left-radius: 5px; -webkit-border-top-right-radius: 5px; }
div#content_left_calendar table tr { }
div#content_left_calendar table td { text-align: center; font-size: .7em;  padding: 2px 1px; border-left: 1px solid #f9cd11; border-top: 1px solid #f9cd11;  }
div#content_left_calendar table td:first-child { border-left: 0; }
div#content_left_calendar table td:hover { background: #f9cd11; }

div#content_left_synagogues { background: transparent url('/assets/img/layout/worldwide_synagogues_bg.jpg') no-repeat; height: 160px; width: 160px; }
div#content_left_synagogues h3 { color: #1a364c; font-size: 1.7em; margin: 10px 0 0 15px; line-height: 30px;}

/* search and listing pages */
#search_results { min-height: 600px; padding: 0 10px; background: url('/assets/img/layout/search_results_border_bg.jpg');}
div.listing { padding: 0 10px 10px 10px; }
div.listing h1 { font-size: 1.5em; color: #1a364c;  }
div.listing h2 { font-size: 1.3em; margin: 0 0 10px;}
div.listing h2 a { color: #b57601; }
div.listing a { color: #b57601; }
div.listing a:hover { color: #b57601; text-decoration: underline; }
div.listing p { color: #666666; margin: 0 0 10px;}
div.listing hr { height: 0; background: #ccc; margin: 0; border-top: 1px solid #ccc; } 

div#listing_sidebar h3 { font-size: 1.3em; margin: 0 0 10px 10px; color: #1a364c; }
div#listing_sidebar ul li { font-size: .85em; list-style: none; margin: 4px 10px; }
div#listing_sidebar ul li a { color: #004080; }

div.search_options { margin-bottom: 30px; padding: 20px 0; }

div#client_view { min-height: 600px; background: url('/assets/img/layout/client_page_border_bg.jpg');}

/* hotdeals */
div#hotdeals_header { position: relative; }
div#hotdeals_header h3 { position: absolute; top: 0; left: 750px;}
div.hotdeal { border: 1px dashed #1a364c; width: 880px; margin: 0 auto 20px; padding: 10px; text-align: center; }
div.hotdeal h3 { font-size: 20px; color: #1a364c; text-align: center; margin: 0 0 10px;}
div.hotdeal p.disclaimer { font-size: .85em; }
div.hotdeal p.print { margin:0; }
div.hotdeal p.print a { color: #1a364c; }
div.hotdeal p.print a:hover { text-decoration: underline; }
div.coupon_box { border: 1px dashed #000; width: 380px; height: 120px; float: left; text-align: center; padding: 20px; }
.coupon_box_left { margin: 0 24px 0 24px; }
.coupon_box_right { margin: 0 24px 0 24px; }
.hotdeals_forms div { margin: 0 0 10px; }
.hotdeals_forms label { width: 150px; display: inline-block; font-weight: bold; }

/* archives */
ul.archives { margin: 0; }
ul.archives li { float: left; list-style: none; margin: 0; height: 164px; width: 164px; overflow: hidden; margin: 0 20px 20px 0;}
ul.archives li.last { margin-right: 0; } 

/* in the news */
ul.in_the_news li { float: left; text-align: center; width: 190px; height: 200px; overflow: hidden; margin: 0 20px 20px 0; padding: 10px; }
ul.in_the_news li.last { margin: 0 0 20px 0; }

/* advertise */


/* misc */
div.view_ad_coupon { padding: 0 0 15px 0; text-align: left; }

/* text icons */
.icon-phone { padding: 0 0 0 25px; background: transparent url(../img/icons/telephone.png) center left no-repeat; }
.icon-fax { padding: 0 0 0 25px; background: transparent url(../img/icons/fax.png) center left no-repeat; }
.icon-email { padding: 0 0 0 25px; background: transparent url(../img/icons/email.png) center left no-repeat; }
.icon-website { padding: 0 0 0 25px; background: transparent url(../img/icons/website.png) center left no-repeat; }
.icon-print { padding: 0 0 0 25px; background: transparent url(../img/icons/printer.png) center left no-repeat; }
.icon-coupon { padding: 0 0 0 25px; background: transparent url(../img/icons/coupon.png) center left no-repeat; }
.icon-dapey-logo { padding: 0 0 0 25px; background: transparent url(../img/icons/dapey_logo.png) center left no-repeat; }

/* autocomplete */
.search_suggestions { z-index: 1000; position: absolute; left: 0; top: 65px; margin: 10px 00; width: 258px; padding: 0; background: #fff; color: #333; -webkit-border-radius: 5px; -moz-border-radius: 5px; }
.search_suggestions_list { margin: 0; padding: 0; position: relative; }
ul.search_suggestions_list { font-size: ; padding: 0; margin: 0; }
ul.search_suggestions_list li { list-style:none; margin: 0; padding: 1px 6px; border-bottom:1px dotted #ddd; cursor: pointer; }
ul.search_suggestions_list li:hover { background: #ddd; }

.location_suggestions { z-index: 1000; position: absolute; left: 282px; top: 65px; margin: 10px 00; width: 258px; padding: 0; background: #fff; color: #333; -webkit-border-radius: 5px; -moz-border-radius: 5px; }
.location_suggestions_list { margin: 0; padding: 0; position: relative; }
ul.location_suggestions_list { font-size: ; padding: 0; margin: 0; }
ul.location_suggestions_list li { list-style:none; margin: 0; padding: 1px 6px; border-bottom:1px dotted #ddd; cursor: pointer; }
ul.location_suggestions_list li:hover { background: #ddd; }

/* slider */
.anythingSlider { width: 640px; height: 231px; position: relative; margin-bottom: 20px; }
.anythingSlider .wrapper { width: 640px; overflow: auto; height: 231px; margin: 0; position: absolute; top: 0; left: 0; }
.anythingSlider .wrapper ul { width: 99999px; list-style: none; position: absolute; top: 0; left: 0; background: #eee; margin: 0; }
.anythingSlider ul li { display: block; float: left; padding: 0; height: 231px; width: 640px; margin: 0; }


#tabs_container {
	width: 600px;
}
ul.tabs {
	list-style: none;
	margin: 0;
	border-bottom: 1px solid #ccc;
}
.tabs li  {
    padding: 3px 10px;
    display: block;
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
    text-decoration: none;
    background-color: #fff;
    cursor: pointer;
    margin: 0;

}
ul.tabs li.active  {
    background-color: #efefef;
    padding-top: 4px;
}
div.tab_contents_container {

}
div.tab_contents {
    display: none;
}
div.tab_contents_active {
    display: block;
}
div.clear {
    clear: both;
}