body{
background-image: url('<?php echo $domain; ?>/images/tile.png');
width: 800px;
margin: auto;
font-family: helvetica;
font-size: 12px;
color: rgb(37,42,48);
}
#main{
background-image: url('<?php echo $domain; ?>/images/back.png');
width: 800px;
height: <?php echo $page_height; ?>px;

margin-bottom: 5px;

}

#top_back{
margin-bottom: -90px;
width: 800px;
height: 100px;
margin-top: 5px;
background-image: url('<?php echo $domain; ?>/images/top.png');
z-index: 100;
}


#body{
width: 780px;
height: <?php echo $page_height - 29; ?>px;


margin-left: 10px;
z-index: 1000;
}

#register img{
margin-right: 10px;
margin-top: 22px;
}
#register{
float: right;
}
.button{
float: left;
width: 70px;
height: 22px;
background-image: url('<?php echo $domain; ?>/images/button.png');
margin-right: 10px;
margin-top: 22px;
text-align: center;
padding-top: 3px;
}
.button a{
text-decoration: none;
color: black;
font-family: serif;
font-size: 14px;
}
.button a:hover{
color: rgb(100,100,100);
}

#footer{
height: 48px;
width: 800px;
z-index: 101;

}

#footer a{
font-family: helvetica;
font-size: 12px;
color: rgb(200,200,200);
text-decoration: none;
}

#register_form{
width: 600px; 
padding: 5px;
margin-top: 10px;
}

#register_form p{
margin: 0px; 
padding: 0px;

}
#register_form input{
width: 200px;
}

#register_form select{
width: 200px;
}

#footer a:hover{
text-decoration: underline;
}

#footer p{
padding: 0px;
margin: 0px;
color: rgb(200,200,200);
}

#advert_form{
width: 770px; 
padding: 5px;
margin-top: 10px;
}
#advert_form input{
width: 765px;
}

.wide_box{
width: 768px;
border: 1px solid rgb(143,143,143);
padding: 5px;
background-image: url('<?php echo $domain; ?>/images/tab_gradient.png');
margin: 0px;
}

.thin_box{
width: 506px;
border: 1px solid rgb(143,143,143);
padding: 5px;
background-image: url('<?php echo $domain; ?>/images/tab_gradient.png');
margin: 0px;
}

.wide_box_p{
width: 768px;
margin: 0px;
}

#left{
width: 240px;
padding: 5px;
float: left;
height: <?php echo $page_height - 185; ?>px;
border: 1px solid rgb(143,143,143);
background-image: url('<?php echo $domain; ?>/images/tab_gradient.png');
background-repeat: repeat-x;
}

#left form{

}
#left select{
width: 150px;
}

#left p{
margin: 0px;
padding: 0px;
margin-top: 5px;
margin-bottom: 10px;
}

.triple{
height: 70px;
margin-bottom: 5px;
}

.minmax{
height: 30px;
}

.minmax input{
width: 30px;
}

#right{
float: right;
height: 500px;
width: 520px;
}

.list_p{
float: left;
width: 192px;
margin: 0px;
margin-bottom: 5px;
margin-top: 5px;
}

.list_p a{
font-family: helvetica;
font-size: 12px;
color: rgb(37,42,48);
text-decoration: none;
}
.list_p a:hover{
color: rgb(137,142,148);
}

.thin_list_p{
float: left;
width: 171px;
margin: 0px;
margin-bottom: 5px;
margin-top: 5px;
}

.thin_list_p a{
font-family: helvetica;
font-size: 12px;
color: rgb(37,42,48);
text-decoration: none;
}
.thin_list_p a:hover{
color: rgb(137,142,148);
}

.pclass{
margin-top: 10px;
padding-right: 5px;
}

#left_links a{
font-size: 14px;
color: rgb(50,50,50);
}
#left_links a:hover{
color: rgb(150,150,150);
}

.ads_preview_container{
margin: 0px;
margin-top: 4px;
padding: 0px;
margin-bottom: 10px;
width: 800px;
}
.ad_preview{
width: 244px;
margin: 0px;
padding: 5px;
float: left;
height: 75px;
margin-right: 6px;
margin-bottom: 5px;
border: 1px solid rgb(143,143,143);
}
.business_preview{
width: 498px;
margin: 0px;
padding: 5px;
float: left;
height: 75px;
margin-right: 6px;
margin-bottom: 5px;
border: 1px solid rgb(143,143,143);
}
.business_preview img{
float: left;
margin-right: 5px;
border: none;
max-height: 75px;
}

.ad_preview2{
width: 244px;
margin: 0px;
padding: 5px;
float: left;
height: 75px;
margin-bottom: 5px;
border: 1px solid rgb(143,143,143);
}
.ad_preview img{
float: left;
margin-right: 5px;
border: none;
}
.ad_preview2 img{
float: left;
margin-right: 5px;
border: none;
}

h2{
display: inline;
margin: 0px;
padding: 0px;
font-size: 18px;
}

#menu a{
font-family: helvetica;
text-decoration: none;
color: rgb(37,42,48);

font-size: 20px;
font-weight: heavy;
}

#menu a:hover{
color: rgb(137,142,148);
}

.menu_tab{
float: left;
margin: 0px;
padding: 0px;
border-right: 1px solid rgb(143,143,143);
background-image: url('<?php echo $domain; ?>/images/tab_gradient.png');
height: 38px;
position: relative;
bottom: 10px;
padding-left: 10px;
padding-right: 10px;
padding-top: 14px;

}

.menu_tab1{
float: left;
margin: 0px;
padding: 0px;
border-left: 1px solid rgb(143,143,143);
border-right: 1px solid rgb(143,143,143);
height: 38px;
position: relative;
bottom: 10px;
padding-left: 10px;
padding-right: 10px;
padding-top: 14px;
background-image: url('<?php echo $domain; ?>/images/tab_gradient.png');
}


#menu{
width: 790px;
height: 42px;
margin-left: -10px;
border-bottom: 1px solid rgb(143,143,143);
padding-left: 10px;
margin-bottom: 10px;
}
