/* Globals */

* { margin: 0; padding: 0; }

A.admin { font-size: 9px; color: red !important; opacity: 0.6;}

img{ border:0; }
a{
  color:#fff;
  text-decoration:none;
  font-weight:bold;
}
a:hover{
  text-decoration:underline;
}
input, select, textarea {
  border:1px inset;
  background:#dcdcdb;
  font-family:Arial;
  color:#333333;
  padding: 2px;
  -moz-border-radius: 5px; 
  border-radius: 5px; 
  behaviour(border-radius.htc);
}
/* input.ok_button {
  border:0 !important;
  width:31px !important;
  height:32px !important;
  background:url(../img/button_ok.gif);
  border:0;
  cursor: pointer;
} */

/* generic styles */
.float_left{ float:left; margin-right:5px; }
.small { font-size: smaller; }
.clear_both { clear: both; }
.relative { position: relative; }
.absolute { position: absolute; }

body{
  background: white url(../img/body_bg_1.jpg) top no-repeat;
  font-family:Arial;
  font-size:12px;
  color:#fff;
}

#container {
  width:1000px;
  margin:0 auto;
  padding-top:141px;
}
#container .header {
  width:980px;
  margin:0 auto;
  height:63px;
  position:relative;
}
#container .header .logo { 
  display: block;
  width: 200px; height: 90px; 
  position: absolute;
  left: 20px;                           
  top: 0;
}
#container .header .top_menu{
  position:absolute;
  top:3px;
  right:30px;
}
#container .header #account_info { 
  position: absolute;
  top: 57px;                                   
  right: 30px;
  text-align: right;
  color: silver;
  z-index: 50;
}

#container .content {
  position: relative;
  width:1000px;
  margin:0 auto;
}
#container #content-bg { 
  position: absolute; width: 1000px; top: 250px; bottom: 0;
  background:url(../img/content_bg_thin.jpg) center repeat;  
}
#container .content table.structure{
  width:980px;
  margin:0 auto;
  /* margin-bottom: 80px; */
  border-collapse:collapse;
  position: relative;                                     
}
#container .content table.structure td{
  vertical-align:top;
}
#container .content table.structure td.left,
#container .content table.structure td.right{
  padding-top:40px;
  padding-bottom: 40px;
}
#container .content table.structure td.left{
  width:219px;
  padding-left:25px;
  padding-right:20px;
}
#container .content table.structure td.left .box{
  background:url(../img/leftbox_bg.gif) left 25px repeat-x;
  padding-bottom:20px;
  margin-bottom: 20px;
}
#container .content table.structure td.left .box h3{
  background:url(../img/boxtitle_bg.gif) left no-repeat;
  padding-left:20px;
  color:#f0ca2a;
  font-size:18px;
  font-weight:bold;
  line-height:25px;
  height:25px;
}
#container .content table.structure td.left .box h4{
  margin-top: 5px;
  padding-left:18px;
  color:#f0ca2a;
  font-size:16px;
  font-weight:bold;
  line-height:20px;
}
#container .content table.structure td.left .box p{
  margin:10px 18px;
  margin-right: 0px; /* long words there... */
}
#container .content table.structure td.right{
  width:182px;
  padding-right:25px;
  padding-left:20px;
}
#container .content table.structure td.right .box{
  width:183px;
  background:url(../img/rightbox_bg.gif) left top repeat-x;
  padding-bottom:25px;
  position:relative;
}
#container .content table.structure td.right .box.hadith{
  background:url(../img/rightbox_hadith_bg.gif) left top repeat-x;
}
#container .content table.structure td.right .box.hadith .fake_img { 
  width: 60px; height: 40px; 
  float: right;
}
#container .content table.structure td.right .box h3{
  font-size:15px;
  color:#fff;
  line-height:45px;
  margin-left:18px;
}
#container .content table.structure td.right .box p.intro{
  width:94px;
  margin:0 18px;
  padding-bottom:25px;
}
#container .content table.structure td.right .box p{
  margin:0 18px;
}
#container .content table.structure td.right .box a.more{
  position:absolute;
  bottom:0;
  right:18px;
  display:block;
}
#container .content table.structure td.right table { 
  margin: 5px 18px;
}

#container .content table.structure td.center{
  width:508px;
  padding-bottom: 20px;
}
#container .content table.structure td.center .panel{
  width:508px;
  height:26px;
  background:url(../img/panel_bg.gif);
  position:relative;
}
#container .content table.structure td.center .panel a{
  position:absolute;
}
#container .content table.structure td.center .panel a.left{
  width:217px;
  height:26px;
  right:172px;
}
#container .content table.structure td.center .panel a.right{
  width:146px;
  height:26px;
  right:18px;
}
#container .content table.structure td.center .search{
  height:89px;
  width:505px;
  padding:0 2px;
  background:url(../img/searchbox_bg.gif);
}
#container .content table.structure td.center .search h2{
  background:url(../img/h2_bg.gif) left no-repeat;
  padding-left:20px;
  color:#f0ca2a;
  font-size:18px;
  font-weight:bold;
  line-height:45px;
  height:45px;
}
#container .content table.structure td.center .search input{
  width:300px;
  margin-left:20px;
  padding:2px 5px;
}

#container .content table.structure td.center .search_advanced{
  height:233px;
  width:505px;
  padding:0 2px;
  background:url(../img/searchbox_adv_bg.gif);
  margin-bottom: 2em;
}
#container .content table.structure td.center .search_advanced h2{
  background:url(../img/h2_bg.gif) left no-repeat;
  padding-left:20px;
  color:#f0ca2a;
  font-size:18px;
  font-weight:bold;
  line-height:45px;
  height:45px;
}
#container .content table.structure td.center .search_advanced .ok{
  position:relative;
}
#container .content table.structure td.center .search_advanced .ok input{
  position:absolute;
  top:-5px;
}
#container .content table.structure td.center .search_advanced table{
  margin-top:50px;
}
#container .content table.structure td.center .search_advanced table tr.city_row { height: 28px; }
#container .content table.structure td.center .search_advanced table th,
#container .content table.structure td.center .search_advanced table td{
  border-bottom:5px solid transparent;
}
#container .content table.structure td.center .search_advanced table th{
  color:#f0ca2a;
  font-size:18px;
  font-weight:bold;
  text-align:right;
  width:105px;
  padding: 0;
  padding-right:15px;
}
#container .content table.structure td.center .search_advanced table td{
  color:#f0ca2a;
  font-size:11px;
  font-weight:bold;
  padding: 0;
}
#container .content table.structure td.center .search_advanced table td.examples{ 
                                                                                  width: 250px;
                                                                                  }
#container .content table.structure td.center .search_advanced table td input{
  font-size:14px;
  line-height:19px;
  font-weight:normal;
  height:19px;
}
#container .content table.structure td.center .search_advanced table td input.ok_button {
  height: auto;
  font-weight: bold;
  height: 25px;
}
#container .content table.structure td.center .search_advanced table td input#id_city{
  width:200px;
}
#container .content table.structure td.center .search_advanced table td input#id_address,
#container .content table.structure td.center .search_advanced table td input#id_keywords{
  width:300px;
}
#search_form .ok_button,
FORM.signup TABLE INPUT.submit,
#container .content table.structure td.center .search .submit{
  width: auto;
  display: inline;
  font-size: larger;
  font-weight: bolder;
  background: #FBCE25;
  border:1px outset;  
  cursor: pointer;
  -moz-border-radius: 20px;
  border-radius: 20px;
}
#container .search_advanced FORM TABLE INPUT.ok_button { 
  padding-left: 10px; 
  padding-right: 10px; 
  margin-left: 5px;
}
#search_form .ok_button:hover,
FORM.signup TABLE INPUT.submit:hover,
#container .content table.structure td.center .search .submit:hover {
  color: #FBCE25;
  background: black;
}
#container .content table.structure td.center .pagination{
  margin:10px 0;
  display:block;
  height:17px;
  list-style-type:none;
  color:#333333;
  font-size:11px;
  line-height:17px;
}
#container .content table.structure td.center .pagination a{
  font-weight: normal;
  color:#333333;
}
#container .content table.structure td.center .pagination .current { 
  font-weight: bold;
}
#container .content table.structure td.center .pagination li{
  float:right;
}
#container .content table.structure td.center .pagination .start{
  width:6px;
  background:url(../img/page_start.gif) left no-repeat;
  height:17px;
}
#container .content table.structure td.center .pagination .text{
  padding:0 5px;
  background:url(../img/page_text.gif);
  height:17px;
}
#container .content table.structure td.center .pagination .end{
  width:6px;
  background:url(../img/page_end.gif);
  height:17px;
}
#container .content table.structure td.center .back{
  margin:10px 0;
  display:block;
  height:17px;
  list-style-type:none;
  color:#333333;
  font-size:11px;
  line-height:17px;
}
#container .content table.structure td.center .back a{
  color:#333333;
}
#container .content table.structure td.center .back li{
  float:right;
}
#container .content table.structure td.center .back .start{
  width:14px;
  background:url(../img/page_back.gif) left no-repeat;
  height:17px;
}
#container .content table.structure td.center .back .text{
  padding:0 5px;
  background:url(../img/page_text.gif);
  height:17px;
}
#container .content table.structure td.center .back .end{
  width:6px;
  background:url(../img/page_end.gif);
  height:17px;
}
#container .content table.structure td.center .result_box{
  background:url(../img/stbox_topbg.gif) top no-repeat;
  width:505px;
  padding:0 2px;
  margin-bottom:20px;
}
#container .content table.structure td.center .result_box h3{
  background:url(../img/boxtitle_bg.gif) left no-repeat;
  padding-left:20px;
  color:#fff;
  font-size:14px;
  font-weight:bold;
  line-height:45px;
  height:45px;
}
#container .content table.structure td.center .result_box .content{
  margin:0 20px;
  width:464px;
}
#container .content table.structure td.center .result_box .content img{
  z-index:10;
}
#container .content table.structure td.center .result_box .content .description{
                                                                                  height:2em;
                                                                               
  overflow: hidden;
  padding-bottom:7px; 
  border-bottom:1px solid #b4b4b4;
}
#container .content table.structure td.center .result_box .content .contact{
  padding-top:7px;
  /* border-top:1px solid #292929; */
  position:relative;
}
#container .content table.structure td.center .result_box .content .contact .phone{
  position:absolute;
  right:0;
  bottom:0;
  font-size:14px;
  font-weight:bold;
}
#container .content table.structure td.center .result_box .links{
  width:100%;
  background:url(../img/results_links_bg.gif) center no-repeat;
  height:25px;
  margin-top:10px;
  position:relative;
}
#container .content table.structure td.center .result_box .links a.disabled{ 
  color: #555;
  cursor: default;
  text-decoration: none;
}
#container .content table.structure td.center .result_box .links a.one{
  position:absolute;
  left:163px;
  top:7px;
}
#container .content table.structure td.center .result_box .links a.two{
  position:absolute;
  left:280px;
  top:7px;
}
#container .content table.structure td.center .detail_box{
  background:url(../img/stbox_topbg.gif) top no-repeat;
  width:505px;
  height:160px;
  padding:0 2px;
}
#container .content table.structure td.center .detail_box h1{
  background:url(../img/boxtitle_bg.gif) left no-repeat;
  padding-left:20px;
  color:#fff;
  font-size:14px;
  font-weight:bold;
  line-height:45px;
  height:45px;
  overflow: hidden;
}
#container .content table.structure td.center .detail_box .details{
  width:125px;
  margin-left:20px;
  float:left;
}
#container .content table.structure td.center .detail_box .details p{
  font-size:10px;
  margin:15px 0 0 0;
}
#container .content table.structure td.center .detail_box .details .picture A{
                                                                               
  float: none;
}
#container .content table.structure td.center .detail_box .details a.website{
  background:url(../img/details_site.gif) left no-repeat;
  height:21px;
  display:block;
  width:75px;
  line-height:21px;
  padding-left:35px;
  margin:20px 0;
}

#container .content table.structure td.center .meta_box{
  margin-top: 20px;
  background:url(../img/stbox_topbg.gif) top no-repeat;
  width:505px;
  height:160px;
  padding:0 2px;
}
#container .content table.structure td.center .meta_box h2{ 
  padding-left:20px;
  background:url(../img/boxtitle_bg.gif) left no-repeat;
  color:#fff;
  font-size:14px;
  font-weight:bold;
  line-height:45px;
  height:45px;
}

#container .content table.structure td.center .content_box{
  background:url(../img/stbox_topbg.gif) top no-repeat;
  min-height: 160px;                                                           
  width:505px;
  padding:0 2px;
}
#container .content table.structure td.center .content_box h1,
#container .content table.structure td.center .content_box h2,
#container .content table.structure td.center .content_box h3,
#container .content table.structure td.center .content_box h4{ 
  padding-left:20px;
}
#container .content table.structure td.center .content_box h1{
  background:url(../img/boxtitle_bg.gif) left no-repeat;
  color:#fff;
  font-size:14px;
  font-weight:bold;
  line-height:45px;
  height:45px;
}
#container .content table.structure td.center .content_box table,
#container .content table.structure td.center .content_box ol,
#container .content table.structure td.center .content_box ul,
#container .content table.structure td.center .content_box p{
  margin: 5px 20px;
}
#container .content table.structure td.center .content_box ol,
#container .content table.structure td.center .content_box ul{ 
  padding-left: 2em;                                                               
}

#container .content table.structure td.center .standard_box{
  width:505px;
  position:relative;
  padding:0 2px;
  height:300px;
  margin-top:20px;
}
#container .content table.structure td.center .standard_box .topbg{
  position:absolute;
  width:509px;
  height:160px;
  background:url(../img/stbox_topbg.gif) top no-repeat;
  top:0;
  left:0;
  z-index:0;
}
#container .content table.structure td.center .standard_box .botbg{
  position:absolute;
  width:509px;
  height:160px;
  background:url(../img/stbox_botbg.gif) top no-repeat;
  bottom:0;
  left:0;
  z-index:0;
}
#container .content table.structure td.center .standard_box h2{
  background:url(../img/boxtitle_bg.gif) left no-repeat;
  padding-left:20px;
  color:#f0ca2a;
  font-size:18px;
  font-weight:bold;
  line-height:45px;
  height:45px;
  z-index:10;
}

.left .box ul { margin-top: 1em; padding-left: 20px; }

/* temp. */
.detail_box .meta { clear: both; }

/* map */

.detail_box #map { margin: 0 20px 10px 5px; width: 335px; height: 335px; 
                   float: right; color: black; }
.detail_box #map A { color: blue; }


/* forms */
.content form table {  }
.content form table td,
.content form table th { padding: 5px 0; font-weight: normal; }
.content form table th.required { font-weight: bold; }
.content form table th { text-align: left; width: 20em; vertical-align: top; }
.content form .submit { width: auto; border:1px outset; font-size: smaller; }
.content form .cancel { width: auto; border:1px outset; background: #fd8; font-size: smaller; }
.content form .errorlist { margin: 0 !important;
                           list-style: none; color: red; font-size: smaller; }
.content form textarea { width: 300px; }
#place_submit_form ul { list-style: none; margin: 0; }
.right #add_info_form { font-size: smaller; }
.right #add_info_form p { margin-top: 0.5em !important }
.right #add_info_form p.buttons { }
.right #add_info_form #id_value { width: 140px; height: 120px; font-size: 12px; padding: 2px; }
.right #add_info_form .instructions { color: #888; margin-top: 1em; }
.right #add_info_form { font-size: smaller; }
#add_info_form #id_value.help_text { color: #888;}
.right .box .contributions { margin-top: 1em !important; font-size: larger; }

/* misc */
#id_comment { height: 3em; }
.center .comment { padding-left: 1em; border-bottom: 1px solid silver; }
.center .comment .meta { font-size: smaller; }
.flag_link { margin: 20px 20px; }
.flag_link a { color: #888; }
.flag_link a:hover { color: #F0CA2A; text-decoration: none; }
.flag_link .icon { font-size: 20px; }
.add_info_link:hover { color: #F0CA2A ; text-decoration: none; } 
.add_info_link .icon { font-size: 20px; }

.broaden_link { font-size: 20px; color: white; }
INPUT.autolabel.inactive { color: silver; }

.autocompleter-choices { padding: 2px 5px 5px 5px; background: #343434; }
.autocompleter-choices LI { cursor: pointer }
.autocompleter-choices LI.autocompleter-selected { color: white; }

.content_box P IMG { margin: 10px; }
.diario-entry { margin-bottom: 2em; }
.diario-entry A.more { color: #f0ca2a; }

/* see sfx.js */
.openable_container .openable { display: none; }
.openable_container.open .openable { display: block; }
.openable_container.open .closable { display: none; }
.openable_container.open .open_button { display: none; }



/* resources */
.resources_category_content {  }
.resources_category_content .documents { width: 100%; }
.resources_category_content .documents .title { width: 100px; }
.resources_link { margin-bottom: 1em; }
.resources_link A.url { color: #F0CA2A }
.submit-link { text-align: center; margin-top: 3em; font-size: larger; }

#bottom-ad { position: relative; clear: both; margin: 20px 50px 0px 50px; text-align: center; }
#bottom-ad H4 { color: #555;}

#left-ad { margin-left: 20px; }
#left-ad IMG { border: 1px solid #333; }

#footer { position: relative; clear: both; margin: 50px 50px 0px 50px; color: #222; font-size: smaller; text-align: right; }
#footer A { color: grey; text-decoration: none; }
#footer A:hover { color: white; text-decoration: underline; }

.event_list .more { color: #F0CA2A }

.agenda_box .more { font-size: smaller; }
.agenda_box .more A { color: #f0ca2a }

#content A.featured { color: #f0ca2a; }


.spelling_suggestion { font-size: larger; color: #ee8; }

.right .box .newsletter-subscribe INPUT.submit { cursor: pointer; background: none; border: none; margin: 2px; font-size: 15px; font-weight: bold; color: #FDCB00; }
.right .box .newsletter-subscribe INPUT.submit:hover { color: #Fff; }

#top-ad { position: absolute; top: 15px; width: 1000px; text-align: center; }

#container { position: relative; }
#fb-container { 
position: absolute;
top: 20px;
left: 30px;
}
#gp-container {
position: absolute;
top: 50px;
left: 30px;
}

FORM.signup TABLE { 
  width: 465px;
  margin-top: 10px !important;
  padding-top: 10px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
FORM.signup TABLE TH {
  font-weight: bold;
}

FORM.signup TABLE INPUT.submit { padding: 5px; }
FORM.signup TABLE INPUT[type=text] { width: 240px; }
FORM.signup TABLE INPUT[type=file] { background: none; border: none; }
FORM.signup.login INPUT[type=submit] { font-size: smaller; margin-left: 10px; }

