html, body {
	height: 100%;
	background: #B9B7BC;
	width: 100%;		
}

.clear {
	height: 1px;
	padding: 0;
	margin: 0;
	clear: both;
}

 /*
 *  Wrap
*/
#wrap {
    background: #fff;
	margin: 0px auto;
	/*min-height: 100%;*/
	height: auto !important;	
	height: 100%; /* IE6 */
	width: 1024px;	
}

 /*
 *  Header
*/
#header {
	background: #FFF url('../image/header_top.png') no-repeat;	
	padding: 21px 0 0 0;	
}

#header a img {
    position: relative;	
    top: 10px;
    left: 30px;
	float: left;		
	margin-bottom: -6px;
}

 /*
 *  Top login box
*/
#header #login {
    margin: 7px 0 0 0;
    float: right;
    width: 353px;    
    height:80px;
}

#login #sign_up {
    float: left;
    text-align: center;
    width: 100px;
    height: 85px;
    border-right: solid 1px #B9B7BC;
}

#login #sign_up button {
    margin: 15px 0 3px;
}

#login #sign_up span {
    color: #FF4162;
    font-weight: bold;
}

#login #login_controls {
    float: left;
    padding: 0 0 10px 0;
    text-indent: 0;
    margin: 2px 0 0 26px;
    width:134px;
}
#login .button_part {
    float: left;
    padding:17px 0 0 0;
}

#login #login_controls label {    
    font-size: 11px;    
    display: block;    
    clear: both;
    float: left;    
    color: #4F2F7F;
    margin-left: 25px;
}

#login .button_part a,
#login .button_part button {
    margin: 0 0 0 12px;
}

#login .button_part a 
{
    text-align: center;
    margin: 12px 0 0 4px;
}

.validation {
    height: 20px;
    
}

.err {
    background-image: url('../image/err_field.png');
    background-repeat:no-repeat;
    background-position: 8px 5px;
}


.validation_img {
    display:block;
    float:left;
    left:6px;
    position:relative;
    top:5px;
}

#login #login_controls input {
    /*float: left;*/
    float: right;
    /*clear: left;  */  
    /*margin-bottom: 5px;*/    
}

#login .button_part a {
    position: relative;
    bottom: 5px;
    color: #6B4A9C;    
    font-size: 11px;
    width: 80px;
    float: left;
    text-decoration: underline;
    bottom:0px;
}

#login #login_controls a:hover {
    text-decoration: none;
}

#login .button_part 
{
    float: none;
}
#login .button_part #login_btn 
{
    margin: 0 !important;
    padding: 0 !important;
}    

#login .button_part .logof 
{
    float:none !important;
    
}

.logof {
    /*float: right !important;*/
    margin-right: 17px !important;
    width: 200px;
    margin: 0 auto !important;
    line-height: 20px;
    text-align: center;
    padding: 0 !important;
}


#aFogotPass {
    cursor: pointer;
}
 /*
 *  Navigation tabbed menu
*/

#header .navigation_menu {
    margin-left: 290px;
    clear: both;
    
    /*position:relative;
    top:12px;*/
    
}

#search-in-container 
{    
	vertical-align:middle;
	height:20px;
	width:100%;	
}


#header .navigation_menu li {
    height: 25px;
    float: left;        
    background: url('../image/header_nav_tab_right.png') no-repeat right top;
}

#header .navigation_menu li a {
    color: #1F1F1F;        
    float: left;
    display: block;    
    padding: 0 13px 0 13px;
    line-height: 25px;
    height: 25px;    
    background: url('../image/header_nav_tab_left.png') no-repeat left top;    
}

#header .navigation_menu li.selected,
#header .navigation_menu li:hover {
    background-position: right bottom;
}

#header .navigation_menu li.selected a,
#header .navigation_menu li a:hover {
    color: #fff;
    text-decoration: none;
    background-position: left bottom;        
}

#header .hr {
    border: 0 none;
    clear: both;
    height: 10px;    
    background: #4F2F7F;
}



 .tab_navigation li a {font-size: 12px !important;}

 .tab_navigation {
    clear: both;
}


 .tab_navigation li {
    height: 25px;
    float: left;        
    background: url('../image/nav_tab_right.png') no-repeat right top;   
}



.tab_navigation li a {
    color: #1F1F1F;        
    float: left;
    display: block;    
    padding: 0 13px 0 13px;
    line-height: 25px;
    height: 25px;    
    background: url('../image/nav_tab_left.png') no-repeat left top;    
}

.tab_navigation li.selected,
.tab_navigation li:hover {
    background-position: right bottom;
}

.tab_navigation li.selected a,
.tab_navigation li a:hover {
    color: #fff;
    text-decoration: none;
    background-position: left bottom;        
}

 .hr {
    border: 0 none;
    clear: both;
    height: 10px;    
    background: #4F2F7F;
}


.block_top_small {
    background: url('../image/block_top_small.png') no-repeat left top;    
    height: 8px;
    width: 585px;
    clear: both;
}

.block_content {
    border-left: 1px solid #bababa; border-right: 1px solid #bababa;
    padding:0 11px 0 11px;
}

.w_561 {
     width: 561px;
}    

.h_246 { 
    height: 246px;
}


.h_317 { 
    height: 317px;
}

.w_583 {
     width: 583px;
}    


#map_canvas2 {
    height:246px;
}

.map_footer {
   height: 46px;
   margin-top: 25px;
}

.map_footer a{
   color: #177a4e;
}

#see_btn {
    background: url('../image/see_button.png') no-repeat;    
    width: 62px;
    height: 21px;
}

.block_bottom_small {
    background: url('../image/block_bottom_small.png') no-repeat left top;    
    height: 8px;
    width: 585px;
    clear: both;
}

.block_content h3 {
    display:block;
    height: 23px;
    line-height: 23px;
    color:#656565;
    
}

.block_content h3 a {
    font-weight: bold;
    color: #177a4e;
}

 /*
 *  Search box
*/
#content #search 
{
	padding-bottom : -5px;    
    overflow: visible;        
    margin-bottom:-8px;
    margin-top : -4px;
    
}

#content #search label {
    color: #4F2F7F;
    height: 19px;
    float: left;
    padding: 1px 0;
    margin: 0 15px 0 0;
    line-height: 19px;
    font-size: 11px;  
}

.search_btn {
    background:  url('../image/search_button.png') no-repeat;
    height: 21px;
    width: 90px;        
    position:relative;
    float:left;
    vertical-align: top;
    margin-left: 12px !important;    
}

.search_field .validation
{
    float:left;    
    margin-left:7px;
    margin-bottom:5px;    
    position:relative;
}

#search .error_message {
    
    background: white;
    width: 230px;
    position:relative;        
    float:left;
    display: none;    
    margin-top: -9px;
    margin-left : 10px;
    vertical-align:middle;
}

#search .error_message.show {
    display: block;
    position:relative;        
    float:left;
    width: 285px;       
    margin-left : 10px;
    vertical-align:middle;    
    margin-top:3px;
}

/*----------*/
 #search_in_content {
    /*position: relative;
    bottom: 4px;*/
    float: right;     
    /*margin: 0 17px 0 0; */
    width:214px !important;
    text-align:right;
}

#search_in_content label {
    color: #4F2F7F;
    height: 19px;
    float: left;
    padding: 1px 0;
    margin: 0 10px 0 0;
    line-height: 19px;
    font-size: 11px;  
}
#search_in_content #SearchText 
{
    width: 130px;
    border: 1px solid #8A8A8A;
    height: 19px;
}

#search_in_content #submitSearch {
    background:  url('../image/search_button_small.png') no-repeat;
    height: 21px;
    width: 62px;
    position: relative;
    top: 1px;
    /*margin-left: 8px !important;*/
    text-align: center;
  
}


.block_top_big {
    background: url('../image/line_menu.png') repeat-x left top;    
    height: 29px;
    width: 100%;
    /*width: 735px;*/
    /*width: 585px;*/
    clear: both;
}

.block_bottom_big {
    background: url('../image/block_bottom_big.png') no-repeat left top;    
    height: 24px;
    width: 100%;
    /*width: 735px;*/
    /*width: 585px;*/
    clear: both;
}


 /*
 * Content
*/

#content {	
    background: #FFF;    
}

#content div#cat_logo {
    float: none;
    clear: both;
    margin: 11px 17px;   
    height:195px;
    width:990px;     
}

 /*
 * Left navigation menu
*/
#left_menu {    
    background: #F6F6F6 url('../image/left_menu_bg.png') repeat-y;
    position:absolute;
    width:110px;
    display:none;
    z-index:10000;
}

#left_menu div {
    background: url('../image/left_menu_footer.png') no-repeat center bottom;
}

#left
{
    margin: 0 0 0 17px;
    float: left;
    width: 114px;
    background: #F6F6F6 url('../image/left_menu_bg.png') repeat-y;
}

#left_menu h5 {
    color: #FFF;
    height: 26px;
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    line-height: 26px;
    background: url('../image/left_menu_header.png');
}

#left_menu .categories {
    padding-top:2px;
}

#left_menu li {
    display: block;        
    background: url('../image/left_menu_item_bg.png') no-repeat center bottom;
}

#left_menu li a {
    display: block;
    text-align: center;
    padding: 8px 10px 8px 15px;    
}

#left_menu_last_items
{
	background-image:  none !important;	
}

#left_menu li.selected a,
#left_menu li a:hover {
    background: url('../image/left_menu_selected_item_bg.png') no-repeat 8px top;    
}

#left_menu li.last {
    background-image: none;
}




/*
 * Google map canvas
*/

.block_content #map_canvas {
    width: 733px;
}

#map_canvas {
    float: left;
    border: solid 1px #BBB;
    padding: 1px;
    width: 733px;      
    height: 450px;
    position: relative;  
}

#main_content{
    float: left;
    margin: 0 3px 0 4px;
    padding-left:13px;
    /*border: solid 1px #BBB;*/    
    width: 736px;    
}

#main_content input{
    border: 1px solid #8A8A8A;
    height: 20px;
}
#main_content #Usernames,  #Subject
{
    width: 200px;
}

#main_content .navigation {
    height: 25px;
}

    
#canvas {    
    width: 100%;
    height: 100%;    
}

#hidden_elements {
    display: none;
}


 /*
 * Right menu
*/
#right_menu {
    margin: 0 0 0 4px;    
    float: left;   
    width: 110px;        
}

#right_menu h5 {
    color: #FFF;
    height: 26px;
    text-align: center;
    line-height: 26px;
    font-weight: bold;
    font-size: 13px;
    background: url('../image/right_menu_header.png');
} 

#right_menu button {
    margin: 11px 0 2px 10px;
    background: url('../image/button2.png');
    width: 90px;
}

#right_menu a img{
    margin: 14px 0 -6px 2px;
}

#right_narrow_col {
    float: left;            
    width: 108px;    
}
 /*
 * Advertisement box
*/
#ads_box {
    background: url('../image/ads_bg.png') no-repeat center bottom;    
    margin: 0 0 0 4px;    
    width: 133px;    
}

#ads_box h5 {
    background: url('../image/ads_header.png') no-repeat center top;
}

#ads_box p {
    position: relative;
    top: 50%;
    color: White;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

 /*
 * Footer
*/
#footer {
    width: 1024px;    
    position: relative;    
    height: 35px;
    padding: 0 0 40px 0;
    margin: -75px auto 0 auto;
    background: #FFF url('../image/footer_bottom.png') no-repeat center 120px;
}

#footer div{  
    padding: 15px 0 0 0;  
    height: 20px;    
    background: #FFF;
}

#fake_footer {
    height: 75px;
}

 /*
 * Footer menu
*/

 
#footer ul {
    margin-left:147px;    
    position:relative;
    bottom:5px;
}

#footer ul li {
    float: left;
}
 
#footer ul li a {
    font-size: 11px;
    color: #575757;
    border-left: solid 1px #575757;
    padding: 0 19px;    
    font-weight: bold;    
}

#footer ul li.first a {
    border: 0 none;
}

 /*
 * Copyright
*/

#footer p {
    float: right;
    margin: 0 17px 0 0;
    padding: 2px 0 0 0;
    color: #8CC643;
    font-size: 10px;
}

.dbg, .dbg * {
    border: solid 1px red;
}
#map_canvas button.clear_map
{
    border-color:Black;
    border-style:solid;
    border-width:1px;
    position:absolute;
    bottom:0;
    margin:0 3px 43px 0;
    padding:0 3px 0 3px;
    width:50px;
    height:auto;
    background: White; 
}


div.selectbox_wrapper {
background-color:white;
border:1px solid #CCCCCC;
font-size:0.8em;
max-height:200px;
overflow:auto;
padding:0;
text-align:left;
width:170px;
}
div.selectbox-wrapper ul {
list-style-type:none;
margin:0;
padding:0;
}
div.selectbox-wrapper ul li {
cursor:pointer;
display:block;
list-style-type:none;
margin:0;
padding:2px;
}
.avatar_selector
{
    float:left;
    margin:0 18px 9px 0;
    width:170px;    
}

.w_13{
	width: 13px;
}
.w_27{
	width: 27px;
}

.w_40{
	width: 40px;
}
.w_60{
	width: 60px;
}

.w_70{
	width: 70px;
}

.w_80{
	width: 80px;
}

.w_120{
	width: 120px;
}

.w_150{
	width: 150px;
}

.w_180{
	width: 180px;
}

.w_300{
	width: 300px;
}

.w_315{
	width: 315px;
}


.w_335{
	width: 335px;
}

.p_10 {
    padding-left: 10px !important;
}

.item_table td{
	border-bottom: 1px solid #D6D6D6;
	vertical-align: middle;
	padding: 10px 0 10px 0;
}

.no_border {
	border:0 !important;
}
.block_top_small {
    background: url('../image/block_top_small.png') no-repeat left top;    
    height: 8px;
    width: 699px;
    clear: both;
}
.block_content {
    border-left: 1px solid #bababa; border-right: 1px solid #bababa;
    padding:0 11px 0 11px;
}
.block_bottom_small {
    background: url('../image/block_bottom_small.png') no-repeat left top;    
    height: 8px;
    width: 699px;
    clear: both;
}


#map_canvas_734 {
    float: left;
    margin: 0 0 0 4px;    
    border: solid 1px #BBB;
    padding: 1px;
    width: 734px;  
    position:relative;  
}
.marked_line {
	color: #18744B;
	font-weight: bold;
}
.marked_line_read {
	color: #18744B;
	font-weight: normal;
}

ul.friends_links {
   list-style-type: none;
}    
ul.friends_links li 
{
    margin-top: 5px;
}



/*********** PAGING *****************/

.paging {
    text-align:center;
    height: 25px;
    line-height: 25px;
}    

.page_box {
    display:inline;
    height:25px !important;
    line-height:25px;
    margin:0 1px;
    padding:4px;
    border: none;
    font-size:12px;
    font-weight:bold;
    padding-top:2px;
    text-align:center;
}

.current {
    color: #1a7c4d !important;
}

a.page_box:hover {
    color: #1a7c4d;
    text-decoration: underline;
}

.no_item_found {
    height: 40px; 
    text-align:center;
    font-weight: bold;
}

.help {font-size:10px;}

.send_message_success {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    color: #197c4d;
}    

.message_links a, .message_links a:active, .message_links a:visited {
    text-decoration: none;
    font-weight: bold;
    color: #197c4d;
}
.message_links a:hover {
    text-decoration: underline; 
}    

h6 {
    height: 25px;
    line-height: 25px;
    font-size: 14px;
    padding-left: 10px;
}
.from {
     background-color:#cccccc;
 }
 .to {
     
 }
 
 .justify    {
     text-align: justify;
     line-height: 1.4em;
     margin-top: 15px;
}
     
 .justify:first-letter   
 {
    color:#8CC643;
    font-size:18px;
    font-weight:bold;
 }
 
 

/*FriendshipRequest*/
#FriendshipRequest{
  border: 1px dotted green; 
    text-align: center;  
    float: left; 
    width: 335px;  
    height: 47px; 
    margin: 5px 17px 0  0px; 
    vertical-align: middle;
}    

#FriendshipRequest table { height: 42px;}
#FriendshipRequest td { vertical-align: middle; text-align:center;}


.login_form_pass {
    clear: both;
    margin: 5px 0 0 0;    
}

 /*
 * Google popup design
*/



.marker_bubble, .route_bubble
{
    width: 300px;        
}

.wait
{
    text-decoration: none !important;
    color: Black !important;
    cursor: default;
}

.marker_official 
{    
    background: transparent url("../../public/image/official-watermarkstamp.png") no-repeat center !important;
    background-position: center top;
}

.marker_bubble h3 , .route_bubble h3{
    font-size: 18px;
    font-weight: bold;
    margin: 5px;
    height: 100% !important;
}

.marker_bubble p , .route_bubble p{
    margin: 7px 5px;
}

.marker_bubble p strong , .route_bubble p strong{
    font-weight: bold;
}

.marker_bubble p a  , .route_bubble p a
{
    margin-right: 5px;
    color: Blue;
    text-decoration: underline;
}

.marker_bubble p a:hover, .route_bubble p a:hover {
    text-decoration: none;
}

/* search */

.search_field .error_message
{
    font-size: small;
    font-style: italic;
    color: Red;
}

ul.searchlist 
{
    list-style-type:none;
    margin:0 0 0 20px;
    padding:0;
    margin-top: 3px;
    position:relative;
    float:left;        
}

ul.searchlist li
{
    display:inline;
}

ul.searchlist li a
{
    color:#000;
    font-size:12px;
}

ul.searchlist li a:hover
{
    color:Green;
}

ul.searchlist li.selected a, ul.searchlist li.selected a
{
    color:Green;
    text-decoration:underline;
}

/*Friends chat block*/
#Friendschat {
    float: left;        
    margin: 0 0 0 4px;    
    width: 108px;
    height: 155px;
    overflow: auto;
}





/************/
#friendsonline {
    margin: 0 0 0 4px;        
    width: 108px;        
    background: #F6F6F6 url('../image/right_bg.png') repeat-y;
    display: block;   
    position:absolute;
    top: -80px;
    left: 135px;  
    z-index: 490; 
    height: 56px;  
}

#friendsonlineStub 
{
    line-height: 100px;
    height: 100px !important;
    display: block;    
}

#friendsonline h5 {
    color: #FFF;
    height: 26px;
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    line-height: 26px;
    background: url('../image/right_header2.png');
    cursor: pointer;
}

#friendsonline .friends_div {
    height: 100%;
    background: url('../image/right_footer.png') no-repeat center bottom;
}
    
#friendsonline #friendsonlineList {    
      margin: 0 0 0 25px;  
      padding-bottom: 10px;
      display: none;
}

#friendsonline div ul {
    margin: 0;    
    padding: 0;     
}

#friendsonline div ul li 
{    
    margin: 0;    
    padding: 0;      
    color: #1a7b4d;
}

#friendsonline .title
{    
    height: 20px;
    vertical-align: middle;
    margin: 0;    
    padding: 0;      
    color: #1a7b4d;
    font-weight: bold;
    background-color: #dddddd;
    text-align: center;
    width: 100%;    
}

.userLink
{
    cursor: pointer;    
    color: Blue;
    font-weight:bold;
}

.hidden 
{
    display: none;
}

#registrationForm
{    
    height: 381px;    
}


.auto_css{ 
	font-size:inherit;
	font-family:auto;
	font-style:inherit;
	font-weight:inherit;
	margin: auto;	
	padding: auto;
	text-align:inherit;
	vertical-align:inherit;
}

#cybervideo{

  margin-left: 200px;
  margin-top: 20px;
  /*border: 1px solid red;	*/
  position: relative;
  padding: 0;
  top:0 !important;
  left: 0 !important;
  float: left;
}
 #cybervideo a img 
{
	position: relative;
	padding: 0;	

	top:0 !important;
	left: 0 !important;
}

