/* Eric Meyer's CSS Reset v1.0 | 20080212 */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent; }
body { line-height: 1; }
ol, ul { list-style: none; }
blockquote, q {	quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after {	content: ''; content: none; }

/* remember to define focus styles! */
:focus { outline: 0; }

/* remember to highlight inserts somehow! */
ins { text-decoration: none; }
del { text-decoration: line-through; }

/* tables still need 'cellspacing="0"' in the markup */
table {	border-collapse: collapse; border-spacing: 0; }


/* =HYPERLINKS */
a { color: #379AD0; outline-style: none; }
a:link { text-decoration: underline; }
a:visited { text-decoration: underline;; }
a:hover { /*color: #797979; text-decoration: underline;*/ }
a:active { text-decoration: underline; }


/* =GENERAL */
body { background: #FFF url(../img/body_bg.png) repeat-x 0 0; color: #333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; }

h1 { color: #797979; font-family: Tahoma, "Lucida Grande CE", lucida, sans-serif; font-size: 18px; font-weight: normal; text-align: center; }
h2 { color: #379AD0; font-size: 15px; font-weight: bold; margin-bottom: 5px; }
h3 { color: #379AD0; font-size: 12px; font-weight: bold; margin-bottom: 5px; }
h4 { color: #797979; font-size: 10px; font-weight: bold; margin: 0 0 5px 6px; text-transform: uppercase; }
p { line-height: 18px; margin-bottom: 20px; }

/* =HEADER */
h1 { padding: 25px 0 20px 0; }
h1 img { padding-right: 10px; }
#header h2 a { font-size: 30px; font-weight: bold; position: relative; text-decoration: none; top: 0; }

/* =MAIN */
#main { margin: 0 auto; padding-top: 31px; width: 960px; }
ul li { line-height: 18px; }


/* =CONTENT */
.categories-index #content,
.categories-show_all #content { margin-top: 20px; }


/* =BREADCRUBMS */
.breadcrumbs { color: #FFF; height: 30px; left:50%; line-height: 30px; margin-left: -480px; position: absolute; text-align: center; top: 0; width: 960px; }
.breadcrumbs a { color: #FFF; text-decoration: none; }
.breadcrumbs strong { font-weight: bold; }
.breadcrumbs h1 { color: #FFF; font-size: 12px; font-weight: bold; padding: 0; }

/* =CATEGORIES */
.categories { margin: 0 auto; width: 336px; }
.categories li { line-height: 18px; margin: 0 20px 10px 0; width: 300px; }
.categories h2 { font-size: 18px; font-weight: bold; line-height: 24px; }
.categories a {  }

/* =COMPANIES */
.companies { font-size: 15px; line-height: 18px; margin: 0 auto; width: 336px; }
.companies a { font-size: 15px; }
.companies li { margin-bottom: 18px; }
.companies .address { display: inline; }
.companies .phone { display: inline; font-style: italic; }
.companies p { margin-bottom: 0; }

/* =EXTERNAL */
.external { clear: both; }

/* =DETAILS */
.details { margin: 0 auto; width: 336px; }
.details li { margin-bottom: 18px; }
.details li li { margin-bottom: 0; }

.related_companies { clear: both; margin: 0 auto; width: 336px; }
.related_companies li { line-height: 18px; }

.map { height: 280px; margin: 30px auto; width: 336px; }
.map img { border: 1px solid #797979; }

/* =SINGLE*/
/*.single .details { font-size: 11px; }
.single h2 { font-size: 11px; font-weight: normal; }
*/

/* =ADS */

.ad336x280 { margin: 30px 0 50px 0; text-align: center; width: 336px; }
.ad300x250 { margin: 60px 0 100px 0; text-align: center; }
.ad728x15 { background-color: #000; height: 24px; margin: 0 auto; padding-top: 6px; position: relative; top: 31px; text-align: center; width: 100%; }

.promo { background-color: #FFFBCC; height: 30px; line-height: 30px; margin: 0 auto 20px auto; position: relative; top: 31px; text-align: center; width: 100%; }

/* =SEARCH FORM */
.search_form form .input input { float: left; margin-right: 5px; width: 400px; }
.search_form form .submit input { width: 80px; }


/* SEND TO EMAIL FORM */
#CompanySendToEmailForm { background: #FFFBCC; border: 1px solid #CCC; padding: 10px; width: 270px; }
#CompanySendToEmailForm label,
#CompanySendToEmailForm .input { float: left; font-weight: bold; line-height: 20px; margin-right: 10px; }


/* =PAGINATION */
.pagination { margin: 0 auto; width: 500px; }
.pagination a,
.pagination .current,
.pagination .disabled { color: #797979; float: left; margin-right: 2px; padding: 2px 5px; }
.pagination .current { color: #797979; font-weight: bold; }
.pagination .disabled { color: #797979; }
.pagination a:hover { color: #797979; }
.pagination .next,
.pagination .previous,
.pagination .first,
.pagination .last { font-weight: bold; }


/* =LINK FORM */
#LinkAddLinkForm { position: relative; margin-top: 30px; }
#LinkAddLinkForm, #LinkAddLinkForm input, #LinkAddLinkForm select { font-size: 15px; margin-bottom: 10px; }
#LinkAddLinkForm .input.text { position: relative; }
#LinkAddLinkForm .input.text input { width: 440px; }
#LinkAddLinkForm label { display: block; float: left; width: 280px; }
#LinkAddLinkForm .submit { bottom: -50px; position: absolute; right: 230px; }
#LinkAddLinkForm .error-message { color: #FF0000; font-weight: bold; position: absolute; right: 50px; top: 5px; }


/* =FOOTER */
#footer { clear: both; color: #797979; font-size: 10px; margin: 10px auto; padding-top: 2px; text-align: center; }
#footer a { color: #797979; text-decoration: underline; }
#footer img.whosamungus { display: none; }


/* =MISC */
.clearer { clear: both; display: block; }
.print a { background: url(../img/print.png) no-repeat 0 0; cursor: pointer; display: block; padding-left: 25px; }
.print_url { display: none; }
#flashMessage { background: #FFBABA; border: 1px solid #FF0000; color: #333; font-weight: bold; margin: 0 auto; padding: 10px; text-align: center; width: 50%; }
#flashMessage.success { background: #DFF2BF; border: 1px solid #4F8A10; color: #4F8A10; margin-bottom: 20px; width: auto; }

/*.facebook_like { margin: 5px auto 0 auto; left: 50%; margin-left: -200px; position: absolute; top: 45px; width: 400px; }
.categories-index .facebook_like,
.categories-show_all .facebook_like { top: 25px; }
*/

.facebook_headline { color: #FF0000; display: block; font-size: 20px; font-weight: bold; text-align: center; text-transform: uppercase; }
#facebook_like_button_wrapper { background-color: #000; color: #FFF; margin: 20px auto; position: relative; height: 350px; width: 401px; }
#facebook_like_button_wrapper iframe { position: absolute; bottom: 175px; left: 155px; width: 401px !important; }
#facebook_button_fake { background: url(../img/youtube.jpg) no-repeat 0 0; height: 350px; pointer-events: none; position: absolute; left: 0; top: 0; width: 401px; }


/* =LOGS */
.cake-sql-log { background-color: #333; color: #FFF; line-height: 18px; width: auto; }
.cake-sql-log caption { color: #000; }
.cake-sql-log td {  padding: 0 20px; }
