#profile {
    padding: 5px;
    }

#profile .error {
    padding: 5px;
    border: 1px solid #ff0000;
    background-color: #f08080;
    }

#profile .message {
    padding: 5px;
    border: 1px solid #ffff00;
    background-color: #ffffe0;
    }


/* AMESBURY WEB */
#profile {padding-top: 0;}	
#profile .message {margin-bottom: 2.5em;}
#profile h3 {padding: 1.5em 0 .5em;}
#profile th {width: 150px; text-align: left; vertical-align: top; padding-bottom: 3px;}
#profile td {vertical-align: top; padding-bottom: 5px;}
#profile input#cimy_uef_13,
#profile input#cimy_uef_23,
#profile input#cimy_uef_24 {margin-bottom: 1.5em;} 
#profile .form-table input    {width: 257px;}
#profile .form-table textarea {width: 400px; height: 9em; font-family: Arial !important;}
#profile #pass1,
#profile #pass2 {margin: 0 5px 5px 0; width: 150px; vertical-align: middle;}

#profile #WishListMemberUserProfile {display: none;}
#profile #WishListMemberUserProfile h3 {padding-top: 0;}
#profile #WishListMemberUserProfile input {width: auto;}

#pagemenu, #catmenu {width: 780px;}
html {min-height: 100%; padding-bottom: 1px;}

.directory-result:after {content: "";display: block;height: 0;clear: both;visibility: hidden;}
.directory-result {zoom: 1;}
.directory-page:after {content: "";display: block;height: 0;clear: both;visibility: hidden;}
.directory-page {zoom: 1;}
.directory-page img {float: right; margin: 0 0 1em 1em; max-width: 400px; max-height: 300px; border: 0;}
.directory-page th {text-align: left;}

.directory-search {margin: 0 0 2em; padding: 0 0 1em; border: solid green; border-width: 0 0 1px;}
.directory-search h3 {margin: 1em 0 0; padding: 2em 0; border-top: solid green 1px;}
.directory-search h4 {font-size: 15px; padding: 0;}
.directory-search p {clear: left;}

.directory-search hr {display: none;}
.directory-result .img {width: 45%; height: 60px; float: right; margin: 0; overflow: hidden; text-align: left;}
.directory-result .img img {max-width: 234px; max-height: 60px; border: 0;}



#container {margin-top: 5px;}
#login-header {margin: 9px auto 7px; width: 772px; text-align: right;}
#login-header a {color: #FFF;}
#login-header a:hover {color: #FFF;}
