<?php
require_once( dirname(__FILE__) . '../../../../wp-config.php');
require_once( dirname(__FILE__) . '/functions.php');
header("Content-type: text/css");
 
global $options;
 
foreach ($options as $value) {
        if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); } }
?>
/*

General styling

*/

body {
	margin:0;
	background-color:<?php echo $water_body_bgcolor; ?>;
	font-family:<?php echo $water_font_family; ?>;
	font-size:11px;
	color:<?php echo $water_body_color; ?>;
}

#wrapper {
    width:800px;
    margin:0 auto;
}

a:link, a:visited {
	text-decoration:none;
	color:<?php echo $water_maincolor_1; ?>;
}

a:hover {
    text-decoration:underline;
}

* {
padding:0;
margin:0;
}

/* HEADER */

#header {
    margin-bottom:30px;
margin-top:-20px;
}

    #topmenu {
        margin-top:40px;
        z-index:5;
        float:left;
        width:400px;
    }
    
        #topmenu a:link, #topmenu a:visited {
            color:<?php echo $water_body_color; ?>;
        }
        
        #topmenu a:hover {
            text-decoration:none;
        }
    
		#topmenu ul { 
			list-style:none;
			margin:0 0 0 5px;
			padding:0;
		}
				
				#topmenu ul li a:link, #topmenu ul li a:visited {
					display:block;
					line-height:11px;
					padding:5px 15px 2px 5px;
					margin:0 5px 0 0;
					font-size:11px;
					border-bottom:2px solid <?php echo $water_maincolor_1; ?>;
					text-transform:uppercase;
				}
				
				#topmenu ul li a:hover {
				    border-bottom:2px solid <?php echo $water_maincolor_2; ?>;
				}
				
				#topmenu ul li {
					display:block;
					float:left;
					position:relative; 
				}
				
				#topmenu ul li ul {
					display:block;
					position:absolute;
					top:auto;
					list-style:none;
					margin:0;
					padding:0;
					visibility:hidden;
					border-top:1px solid <?php echo $water_gray_1; ?>;
					width:220px;
				}
				
				#topmenu ul li:hover ul,
				#topmenu ul li.msiefix ul {
					visibility:visible;
				}
				
				#topmenu ul li ul li {
					position:relative;
					float:none;
					line-height:18px;
					color:<?php echo $water_body_color; ?>;
					font-size:10px;
					_height:1px;
				}
				
				#topmenu ul li ul li a:link, #topmenu ul li ul li a:visited, #topmenu ul li ul li a {
					display:block;
					margin:0;
					line-height:15px;
					padding:2px 0 2px 10px;
					color:#FFF;
					_height:1px;
					text-transform:none;
					border:0;
					background-color:<?php echo $water_maincolor_1; ?>;
				}
				
				#topmenu ul li ul li a:hover {
					background-color:<?php echo $water_maincolor_2; ?>;
				}
				
    #headerimage {
        clear:both;
        height:150px;
        border-top:;
        border-bottom:;
        background-image:url(<?php echo $water_header_image; ?>);
        background-repeat:no-repeat;
        background-position:center;
    }
    

/* SIDEBAR */

#sidebar {
    width:215px;
    float:right;
    margin:0px 5px 0px 0px;
}

#sidebar a:link, #sidebar a:visited {
    color:#83543e;
}

#sidebar a:hover {
    color:#83543e;
    text-decoration:underline;
}


/* LISTS */

html>body .the_content ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
	text-indent: -10px;
	} 

html>body .the_content li {
	margin: 7px 0 8px 10px;
	}

.the_content ol {
	padding: 0 0 0 15px;
	margin: 0;
	text-indent:-5px;
}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style: none;
	}
	
#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
	}

#sidebar ul li {
	list-style: none;
	margin-bottom: 15px;
	}

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}

#sidebar ul ul, #sidebar ul ol {
	margin: 5px 0 0 5px;
	}

#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 10px;
	}

#sidebar ul ul li, #sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
	}

.the_content ul li:before, #sidebar ul ul li:before {
	content: "\00BB\00A0";
	color:<?php echo $water_maincolor_1; ?>;
	}

/* 
Style Sheet code for Image Caption Easy Plugin for WordPress
Copy and Paste this code into your WordPress theme style sheet file (style.css) then upload to its location.
You can edit any of these to suit your needs.
*/
.imagecaptioneasy {
  padding: 5px;
  font-family: arial,helvetica,sans-serif;
  font-size: 10px;
  line-height: 1.15em;
  text-align: center;
  border: 1px solid #808080;
  background: #EAEAEA;
  color: #333;
}
.imagecaptioneasy img { border: 0px solid #fff; margin-bottom:5px; }
.imagecaptioneasy span { text-align: center; }
.imagecaptioneasy_top_left { margin: 0 11px 11px 0; float: left; }
.imagecaptioneasy_top_right { margin: 0 0 11px 11px; float: right; }
.imagecaptioneasy_top_nowrap { margin: 0 0 11px 0; float: none; }
.imagecaptioneasy_left { margin: 11px 11px 11px 0; float: left; }
.imagecaptioneasy_right { margin: 11px 0 11px 11px; float: right; }
.imagecaptioneasy_nowrap { margin: 11px 0 11px 0; float: none; }

/* CONTENT */

#content {
    margin:0 0 0 15px;
    width:530px;
    float:left;
}

.post {
    margin:0 0 35px 0;
    clear:both;
}

    .post .posttitle, h2 {
        font-size:15px;
        line-height:140%;
        color:<?php echo $water_maincolor_2; ?>;
        margin:0 0 7px 0;
        font-weight:normal;
        text-transform:uppercase;
        font-family:"News Gothic MT";

        
    }
    
        .post a:link, .post a:visited {
            color:<?php echo $water_maincolor_2; ?>;
        }
    
        .post a:hover {
            color:<?php echo $water_maincolor_1; ?>;
            text-decoration:none;
        }
    
        .post a:link span, .post a:visited span {
            color:<?php echo $water_gray_1; ?>;
        }
        
        .post a:hover span {
            color:<?php echo $water_gray_2; ?>;
        }
        
    .post .postmeta {
        font-size:10px;
        line-height:12px;
        color:<?php echo $water_gray_1; ?>;
        text-transform:uppercase;
        margin:0 0 5px 0;
    }
    
        .post .postmeta a:link, .post .postmeta a:visited {
            color:<?php echo $water_gray_2; ?>;
        }
        
        .post .postmeta a:hover {
            color:<?php echo $water_maincolor_1; ?>;
            text-decoration:none;
        }
        
/*     .post p {
        margin:0 0 14px 0;
        line-height:130%;
letter-spacing:normal
    } */
	/* Image Caption Easy Plugin - Changed */
	.post p { padding-top:1em; }
    
        .post p a:link,
        .post p a:visited,
        .post ul a:link,
        .post ol a:link,
        .post ul a:visited,
        .post ol a:visited {
            color:#83543e;
        }
    
        .post p a:hover,
        .post ul a:hover,
        .post ol a:hover {
            text-decoration:underline;
        }
        
        .post .the_content ul, .post .the_content ol {
            margin-bottom:15px;
        }
    
    .post blockquote {
        margin:0 0 15px 20px;
        padding:5px;
    }
    
        .post blockquote p {
            margin:0;
            font-style:italic;
        }
        
        .post blockquote blockquote {
            margin-top:15px;
            background-color:<?php echo $water_gray_3; ?>;
        }

		/* Image Caption Easy Plugin - Changed */
/*     .post img {
    border:0px solid <?php //echo $water_maincolor_1; ?>;
    margin:5px 10px 5px 0px;
    } */
    
    .post .wp-smiley {
        float:none;
        border:0;
        margin:0;
    }


/* COMMENTS */

#commentlist, #trackbacks {
    list-style:none;
}

    #commentlist li {
        margin:0;
        padding:15px 10px 0 10px;
        border-bottom:1px solid <?php echo $water_maincolor_1; ?>;
    }

    #commentlist li.odd {
        background-color:<?php echo $water_gray_3; ?>;
    }
    
    #trackbacks li {
        padding:5px 10px 5px 10px;
    }

.post .commenttitle {
        font-size:16px;
        line-height:16px;
        color:<?php echo $water_maincolor_2; ?>;
        margin:0 0 2px 0;
        font-weight:normal;
    }
    
        .post #commentlist .commenttitle a:link, .post #commentlist .commenttitle a:visited {
            color:<?php echo $water_maincolor_2; ?>;
        }
    
        .post #commentlist .commenttitle a:hover {
            color:<?php echo $water_maincolor_1; ?>;
            text-decoration:none;
        }
        
        textarea {
            width:100%;
        }

#footer {

    clear:both;

    border-top:;

}



    #footer p {

        margin:5px 0 30px 5px;

        color: black;

        text-transform:uppercase;

        font-size:9px;

    }

    

    #footer a:link, #footer a:visited {

        color: #83543e;

    }

    

    #footer a:hover {

        color: #83543e;

        text-decoration:none;

    }