html, body {height: 100%; margin: 0; padding:0;}

body {background-color:#4B3520; font-family: Arial, Helvetica, sans-serif; font-size:14px; color:#335457;}
a {/*font-family: Arial, Helvetica, sans-serif; */ color:#F98101; text-decoration:underline;}
.clear {clear:both}
img {border:none;}

hr {margin: 1em 0; background:#ccc;height:1px;color:#ccc;border:none;clear:both}

#all { 
    position: relative; 
    height: 100%; 
    width:1024px; 
    margin:0 auto 0 auto;
    padding: 0.001px;
    background:#F9DD50 url(/img/footer_bg.jpg) bottom left repeat-x scroll;
    }
    
html>body #all {height: auto; min-height: 100%;}

/*div, td {border:1px solid green;} */

#header {width:1024px; height:233px; background: url(/img/header_img.jpg) left top no-repeat scroll; margin:0 auto 0 auto;}

#p_header {width:1024px; height:163px; background: url(/img/2header_img.jpg) left top no-repeat scroll; margin:0 auto 0 auto;}

#menu {margin-left:253px; font-family:"Times New Roman", Times, serif; font-size:13px; color:#79653A; font-weight:bold; text-transform:uppercase; list-style:none; list-style-image:none; list-style-position:inside; list-style-type:none; border-left:1px white solid;}
#menu ul, #footer ul {list-style:none; margin:0; padding:0; position:relative;}
#menu li {float:left; background-color:#F7E46C; color:#fff; border-right:1px white solid;}
#menu a {display:block;  padding:4px 16px; font: bold 13px "Times New Roman", Times, serif;  color:#79653A; text-transform:uppercase; text-decoration:none;} 

#main {margin:0 46px 0 46px; padding:17px 70px 40px 220px; background:#FFFFFF url(/img/right_img.jpg) right top no-repeat scroll; min-height:408px; _height:408px;}

#p_main {/*position:relative;*/ margin:0 46px 0 46px; padding:57px 70px 40px 190px; background:#FFFFFF url(/img/2right_img.jpg) right top no-repeat scroll; min-height:408px; _height:408px;}

#left_img {background: url(/img/left_img.jpg) left top no-repeat scroll; position:absolute; top:233px; left:0; width:260px; height:468px;}
#right_img2 {background: url(/img/right_img2.jpg) left top no-repeat scroll; position:absolute; top:233px; right:0; width:46px; height:446px;}

#p_left_img {background: url(/img/2left_img.jpg) left top no-repeat scroll; position:absolute; top:163px; left:0; width:260px; height:468px;}
#p_right_img2 {background: url(/img/2right_img2.jpg) left top no-repeat scroll; position:absolute; top:163px; right:0; width:46px; height:446px;}

#empty {clear:both; height:79px;}
#footer {
    /*width: 800px; 
    position:absolute; 
    bottom:1px; left:400px; 
    */
    text-align:center;
    width: 650px;
    position: relative;
    /*margin: -18px auto 0 auto;*/
    margin:-20px 390px;
    height: 16px;
    padding:1px;
    color:#FFFFFF; 
    font-family:"Times New Roman", Times, serif; 
    font-size:12px; line-height:10px;
    font-weight:bold; 
    text-transform:uppercase; 
    
    }
    
#footer ul {
    list-style:none;
    border-left: 1px white solid;
    margin:0;padding:0;
    height:16px; overflow:hidden;
    }
    
#footer ul:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

#footer li {margin:0; padding:0; float:left;  border-right:1px white solid;}

#footer  a {
     color:#FFFFFF; 
     text-decoration:none;
     display:block;
     padding:2px 10px;
      }

#reg {border-top: 1px solid #A69865; border-bottom: 1px solid #A69865; margin:11px 0 24px 0; padding:11px 0 24px 0; width:630px;}
#reg form {
    /*background:url(/img/form_border.gif) right bottom no-repeat scroll; 
    width:135px; 
    height:70px; 
    height:74px;*/ margin:0 0 5px 0; padding:0;}



#gallery {background-color:#F9DD50; margin: 0 46px 23px 46px; color:#FF1212; font-family:"Times New Roman", Times, serif; font-size:24px; text-transform:uppercase; font-weight:bold; padding-top:14px;}
#gallery table {padding-top:14px;}
#gallery td {text-align:center; vertical-align:top;}

#gallery-top td {padding:5px 5px 10px 0;}


#sub {/*position:absolute; left:0; width:700px; height:40px;*/ background:#F9DD50 url(/img/flower.gif) 136px center no-repeat scroll; margin: 10px 0 10px 0; color:#335457; font-size:24px; font-weight:bold; padding: 30px 60px 30px 240px; font-size:13px;}

#flowers {margin: 0 46px;  background-color:#FFFFFF; text-align:center; padding: 20px; position:relative;}

#flowers ul { display:none; margin:0 auto 0 auto; padding:0; list-style:none; display:table; white-space:nowrap; font-family: "Times New Roman", Times, serif;font-size:14px; text-transform:uppercase;font-weight:bold;font-style:italic}
#flowers li {display:table-cell; margin:0; padding:0;}
#flowers a {float:left; color:#fff; background: #E39E5F ; margin:0 10px 0 0; padding:5px 10px; text-decoration:none; letter-spacing:0px;}
#flowers a:hover {background-color:#f60;color:#fff}




#regform textarea {width:300px; height:100px;}

.gallery {width:100%;}
.gallery td {text-align:center; font-size:130%; padding:10px 15px 10px 0;  vertical-align:top;}
.gallery td span {font-size:12px; display:block}
.gallery td img {display:block; margin:auto; border: double 3px #ccc;}
.gallery td a {display:block;}

.gallery-wrapper {margin: 20px 0 0 -60px; width: 730px; height: 190px; overflow:auto;}

.gallery-wrapper

.onpage {margin: auto; width:auto; }
.onpage td {padding:10px 5px 10px 0;}

.ageselect {float:left; width:510px; font-size:12px;}
#searchbyid {float:right; width: 150px; text-align:right}
#searchbyid label, #searchform label {font-weight:bold}
#searchid {width:30px;}


#searchform {
    width:460px; 
    }

#searchform label {
    width:100px;
    float:left;
    display:block;
    padding: 5px 0 0 0 ;
}

div#searchform label {
    width:auto;
    float:left;
    display:block;
    padding: 5px 0 0 0 ;
margin-right:10px;
}

div#searchform input#age0, div#searchform input#age1, div#searchform input#height {
width:20px;
}

#searchform div {
    height:auto !important;
    _height:1%;
    margin: 0 0 5px 0;
    padding: 0 0 3px 0;
}
#searchform div:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.pager {
    text-align:center;
    margin: 1em 0;
}
.girlpage-top {
    min-height:460px;
}
#cattable {border-bottom:#F5EB90 solid 7px;}

#cattable td, #cattable th {
    background:#F4F3F3;
    border-top:#FFFFFF 1px solid;
    text-align:left;
    vertical-align:top;
}
#catheader {color:#FF4A12; font-family:'Times New Roman', Times, serif; font-size:24px; font-style:italic; text-transform:uppercase; border-bottom:#F5EB90 solid 7px !important; background:none !important; font-weight:bold; border-top:0 !important;}
#catid {color:#FF4A12; font-size:14px; text-align:right !important; border-bottom:#F5EB90 solid 7px !important; background:none !important;vertical-align:bottom !important; font-weight:bold; border-top:0 !important;}


/* Login form on main page */

#login {
    position:relative;
    }

div#username,
div#password {
	position:relative;
}

.textinput {
    border:1px solid #BCB28C; 
    width:125px;
    height:17px;
    text-align:center;
    color:#BCB28C;
    padding:0;
    margin:0 0 3px 0;
}
.submit {
     border:1px solid #BCB28C;
     width:127px; height:19px;
     background:url(/img/submit.jpg) left top no-repeat;
     padding:0; margin:0;
    }


label.overlabel {
	color:#999;
}
label.overlabel-apply {
	position:absolute;
	top:1px;
	left:5px;
	z-index:1;
	color:#999;
	width: 125px;
	display: block;
	text-align:center;
}

.loginform label {
    width:100px;
    float:left;
    display:block;
    padding: 5px 0 0 0 ;
}

.loginform  div {
    height:auto !important;
    _height:1%;
    margin: 0 0 5px 0;
    padding: 0 0 3px 0;
}
.loginform  div:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.dig {width: 20px;}

#searchform1 label { font-weight: bold;}
#searchform1 table td.odd { text-align: right;}
#sidebar { text-align: center; position: absolute; top: 703px; left: 93px; }
#sidebar div { margin-bottom: 30px;  }
#birthsday {height:107px; text-align:right; padding:20px 20px 20px 0;}

.field_title { vertical-align: top; font-weight: bold; color: gray; width: 200px;}

.s_story td {padding-bottom: 10px;}

.captcha_input {
    font-size: 25px;
    text-align: center;
}

#p_main h1 {
    font-size: 21px;
}