body {margin: 0px; font-family: "Arial"; font-size: small;}
fieldset, legend {border: 0px; padding: 0px;}
textarea {width: 440px; height: 200px;}
.wideinput {width: 440px;}
a {text-decoration: none;}
a:hover {text-decoration: underline;}
a img {border: 0px;}
a, label, legend {color: #5F151E;}
h1 {font-size: x-large; margin-bottom: 0px; padding-left: 0px;}
h2 {margin-top: 0px; font-size: large;}
legend, strong {font-size: large;}

/* general layout */
.errormessage {color: #FF0000; font-weight: bold;}
#logoutform, #logoutform fieldset, #logoutform fieldset input {border: 0px solid; margin: 0px; padding: 0px;}
.submit {background: #F6F7F4; color: #5F151E;}

#logo {position:absolute; top: 2px; text-align: center; margin: auto; width: 100%;}

#signuptodaytext {font-weight: bold;}
#usercontrols {width: 200px; float: left; padding-left: 3px; z-index: 200;}
#usercontrols #login_email, #usercontrols #login_pass, #signup_email {width: 170px;}
#usercontrols #donateform {margin-top: 2px; margin-bottom: 15px;}
#usercontrols .submit {width: 65px; margin-bottom: 8px; margin-top: 2px;}
#usercontrols a, #signupform span {color: #5F151E; font-weight: bold;}
#hometextlink {padding-left: 2px;}
#loginform {margin-top: 5px; margin-bottom: 0px; z-index: 10; position: relative;}
#loginform legend {display: none;}
#loginform a {font-size: small; font-style: italic;}

/* this is ad-specific */
#adleftcolumn {position: absolute; left: 5px; width: 170px; text-align: center; font-weight: bold; margin-top: 5px;}
#adleftcolumn span {font-size: large;}
#donateheader h2 {margin-bottom: 0px;}
* html .loggedin #donateheader h2 {margin-top: 15px;}
*:first-child+html .loggedin #donateheader h2 {margin-top: 15px;}

#signupform {margin-bottom: 110px; letter-spacing: 1px;}
#signupform input {margin-left: 5px;}
#signupform span {font-size: medium; padding-right: 5px;}

#signuptocontactuser {margin-top: 20px;}
#signuptocontactuser #signupform {margin-top: 10px; margin-bottom: 20px;}

#bodycontent {margin-left: 220px; margin-top: 115px; margin-bottom: 20px; min-height: 580px; height: auto !important; height: 490px; z-index: 9999 !important; position:relative;}

#toprightcorner {position: absolute; right: 0px; top: -2px; width: 100px; height: 112px; background: URL('/images/corner_woman.jpg');}

#topleftcorner {position: absolute; left: 0px; top: -2px; width: 100px; height: 101px; background: URL('/images/corner_man.jpg');}

/* -171 without text over ad */
#bottomleftcorner {margin-top: -100px; width: 333px; height: 399px; background: URL('/images/corner_island.jpg');}
#bottomleftcorner div {padding-top: 167px;}
#bottomleftcorner a {padding-left: 46px;}

#bottomstrip {width: 100%; height: 399px; background: URL('/images/corner_boat.jpg') repeat-x 333px 181px; z-index: 1 !important; position: relative;}

#alwaysfreewave {position: absolute; left: 0px; top: 145px; width: 100%; height: 98px; background: URL('/images/wave_alwaysfree.png');}

#viewalllinks {font-size: xx-small; position: absolute; right: 0px; top: 0px; z-index: -10}

/* search */
#usersearch legend, #usersearch label, .searchnav {font-weight: bold; font-size: medium;}
#usersearch fieldset fieldset label {font-weight: normal; font-size: small;}
#usersearch #age_low, #usersearch #advancedSearch div {margin-top: 5px;}
#advancedSearch {margin-bottom: 5px;}
#advancedSearch .column1 {clear: left;}
#advancedSearch .column1, #advancedSearch .column2 {float: left; width: 300px;}
#advancedSearch .column1 select,
#advancedSearch .column2 select { min-width: 280px; width: auto !important; width: 280px; height:100px;}
#advancedSearch select#familyorigin,
#advancedSearch select#marriagetimeframe,
#advancedSearch select#observance {width: auto;}
#advancedSearch #finalbreak {clear:both; display: block; height: 10px;}
.searchnav {text-align: right; width: 700px;}
fieldset#languages,
fieldset#continuinged {clear: left;}
fieldset#languages,
fieldset#compromises,
fieldset#educationtype,
fieldset#childrearing,
fieldset#continuinged {float: left; margin: 6px 20px 0 0;}
/*fieldset#childrearing {display:none;}*/
/*fieldset#childrearing {display:block; clear:left; margin-bottom: 10px;}*/
fieldset#continuinged {margin-bottom: 14px;}
fieldset h2 { clear: left; margin-bottom: 0;}
fieldset p {max-width: 615px; margin-top: 4px;}
fieldset div {margin-top:4px;}
.intcolumn1,
.intcolumn2 {float: left;}
.intcolumn2 {margin-left: 101px; width: 450px; }
#usersearch option {font-weight: normal;}
#gender, #age_low, #age_high {margin-left: 4px;}
#age_low {margin-right: 3px;}

/* page-specific */
#enlargedimagesad {float: right;}
#welcomemessage, .eventinstructions {margin-bottom: 10px; color: #5F151E; font-weight: bold;}
#welcomemessage, #welcomemessage strong {font-size: medium; width: 650px;}
#welcomemessage strong {color: #FD9C35;}
#welcomemessage #frontpagelink {width: 195px; margin-left: 10px; float: right; border: 2px solid #5F151E; padding-left: 4px; padding-right: 4px; text-align: center;}
#welcomemessage #welcomemessagep2 {text-align: justify;}
#eventbodytext {width: 530px;}
#eventbodytext strong {font-size: small;}
div.thumbnail {width: 124px; height: 121px; padding-top: 3px; background: URL('/images/thumbnail_frame.png') no-repeat; text-align: center; float: left; display: table;}
div.thumbnail > div {display: table-cell; vertical-align: middle;}
div.thumbnail > div div img {position: relative; top:-4px;}
/*div.thumbnail a {}*/
#toprightnav {max-width: 600px; text-align: right; margin-bottom: -46px; font-weight:bold; margin-right: 5px;}
#toprightnav div {margin-top: 10px;}
#toprightnav div a {background: #5F151E; color: #FFFFFF; padding-left: 2px; padding-right: 2px;}
* html #toprightnav {width: 540px;}
.profileimage {margin: 16px 0;}
#youtubevideo {clear: left; padding-top: 10px;}
#profilefields {margin-left: 20px; clear: left;}
#profilefields label {margin-left: -20px; font-weight: bold;}
#profilefields div {margin-top: 10px; margin-right: 10px;}
#contactuserform {margin-top: 20px; margin-bottom: 20px;}
#searchresults {padding-left: 0px; margin-left: 0;}
#searchresults li {list-style: none; height: 121px; clear: left; width: 725px;}
#searchresults li div.username {padding-top: 45px; padding-left: 25px; font-size: medium; font-weight: bold; float: left;}
#searchresults li div.username img {vertical-align: top; margin-right: 5px;}
#searchresults li div.usersummary {padding-top: 48px; font-weight: bold; text-align: right; padding-right: 25px;}
#biosugestions {padding-left: 15px; padding-right: 10px;}

.wave1 {background: URL('/images/wave1.png') no-repeat 110px;}
.wave2 {background: URL('/images/wave2.png') no-repeat 110px;}
#thumbnailpattern .thumbnailrow {margin-top: 10px; height: 118px; clear: left;}
#backlink, #createaccount a {font-weight: bold;}
/* IE6 & 7 fixes */
*:first-child+html #logo {position: relative; height: 115px;} * html #logo {position: relative; height: 115px;}
*:first-child+html #bodycontent {margin-top: 0;} * html #bodycontent {margin-top: 0;}
*:first-child+html #bottomleftcorner {margin-top: 0;} * html #bottomleftcorner {margin-top: 0;}
*:first-child+html .intcolumn2 {margin-left: 105px; width: 440px;} * html .intcolumn2 {margin-left: 105px; width: 440px;}
* html #usercontrols {position: relative; top: 5px;}
* html div.thumbnail {background: URL('/images/thumbnail_frame_8bit.png') no-repeat;}
* html fieldset p {width: 615px;}
* html div.thumbnail {position: relative;}
* html div.thumbnail a {position: relative; bottom: 4px;}
* html div.thumbnail div {position: absolute; top: 50%; left: 50%;}
* html div.thumbnail div div {position:relative; top:-50%; left: -50%;}
/* *:first-child+html #bottomstrip {margin-top: -185px;} * html #bottomstrip {margin-top: -185px;} */
*:first-child+html #advancedSearch .column1 select,
*:first-child+html #advancedSearch .column2 select { width: 280px !important;}
*:first-child+html #advancedSearch .column2 select#marriagetimeframe,
*:first-child+html #advancedSearch .column2 select#observance,
*:first-child+html #advancedSearch .column2 select#familyorigin {width:auto!important;}
*:first-child+html div.thumbnail {position: relative;}
*:first-child+html div.thumbnail a {position: relative; bottom: 4px;}
*:first-child+html div.thumbnail div {position: absolute; top: 50%; left: 50%;}
*:first-child+html div.thumbnail div div {position:relative; top:-50%; left: -50%;}
*:first-child+html div.thumbnail > div div img {top: 2px;}