<?php
require_once( dirname(__FILE__) . '../../../../wp-config.php');
require_once( dirname(__FILE__) . '/functions.php');
header("Content-type: text/css");
//allows the theme to get info from the theme options page
global $options;
foreach ($options as $value) {
	if ( isset( $value['id'] ) ) {
		if (get_option( $value['id'] ) === FALSE) {
			$$value['id'] = $value['std'];
		} else {
			$$value['id'] = get_option( $value['id'] );
		}
	}
}
?>
/* --------------[ User-Defined Adjustments from Stylesheet #2 ]-------------- */

@import 'style-2.css';


/* --------------[ User-Defined Adjustments ]-------------- */

/*---------------[Header Picture ]--------------------------*/
<?php if ( $breathe_head_pic_option == 'Ours' ) { ?>
#header {
	background:  url( images/header.jpg) left 45px no-repeat;
}
<?php } ?>
<?php if ( $breathe_head_pic_option == 'Custom' && $breathe_head_pic_url ) { ?>
#header {
	background:  url(<?php echo $breathe_head_pic_url; ?>) left 45px no-repeat;
}
<?php } ?>

#header {height: <?php echo $breathe_head_height; ?>;}

/*--------------[ Header Color ]---------------------------*/
#top h1 {
	font-size: <?php echo $breathe_blog_title_size; ?>;
	font-family: <?php echo $breathe_blog_title_font_family; ?>;
        
}

#top h1 a {
	color: <?php echo $breathe_blog_title_color; ?>;
}


#top h1 span.black {
	color:<?php echo $breathe_tag_title_color; ?>;
	font-size: <?php echo $breathe_tag_title_size; ?>;
	font-family: <?php echo $breathe_tag_title_font_family; ?>;
}


/*--------------[ Advertising ]---------------------------*/
<?php if ( $breathe_ads_top == 'yes' && $breathe_ads_code_top) { ?>
.top-ads{
	background:  url(<?php echo $breathe_ads_code_top; ?>) no-repeat;
	font-family:<?php echo $breathe_site_font_family; ?>;
	font-size:<?php echo $breathe_site_font_size; ?>;
}
<?php } ?>


<?php if ( $breathe_ads_bottom == 'yes' && $breathe_ads_code_bottom ) { ?>
.bottom-ads{
	background:  url(<?php echo $breathe_ads_code_bottom; ?>) no-repeat;
	font-family:<?php echo $breathe_site_font_family; ?>;
	font-size:<?php echo $breathe_site_font_size; ?>;
}
<?php } ?>

.welcome {font-family:<?php echo $breathe_site_font_family; ?>;
		font-size:<?php echo $breathe_site_font_size; ?>;}

/*------------[Search Bar Postition]----------------------*/
#searchform {
        left:<?php echo $breathe_search_left; ?>;
	    top:<?php echo $breathe_search_top; ?>; 
}
/*------------[Overall Options]----------------------*/
#body {
        font-family:<?php echo $breathe_site_font_family; ?>;
}
p { 
        font-family:<?php echo $breathe_site_font_family; ?>;
		font-size:<?php echo $breathe_site_font_size; ?>;
		color:<?php echo $breathe_site_font_colour; ?>;
}

h2.entry-title {
        font-size:<?php echo $breathe_title_font_size; ?>;
		font-family:<?php echo $breathe_site_font_family; ?>;
        color: <?php echo $breathe_title_colour; ?>; 
}

h2.entry-title a:link {
         color:<?php echo $breathe_title_colour; ?>;
}

h2.entry-title a:visited {
         color:<?php echo $breathe_title_colour; ?>;
}

h2.entry-title a:hover {
         color:<?php echo $breathe_title_colour; ?>;
}

.comments {
 		 font-family:<?php echo $breathe_site_font_family; ?>;
} 
/*-----------[SIDEBAR WIDGET HEADER COLOUR]-----------*/
<?php if ( $breathe_widget_header_colour == 'Red' ) { ?>
h3.widgettitle {
         background:url('images/widget-header-red.jpg') left center no-repeat;
}
h3.footer-widgettitle {
         background:url('images/widget-header-red.jpg') no-repeat;
}
<?php } ?>
/*-----------[FOOTER WIDGETS HEADER COLOUR]-----------*/
<?php if ( $breathe_widget_header_colour == 'Black' ) { ?>
h3.widgettitle {
         background:url('images/widget-header-blk.jpg') no-repeat;
}
h3.footer-widgettitle {
         background:url('images/widget-header-blk.jpg') no-repeat;
}
<?php } ?>

/*-----------[READ MORE HEADER COLOUR]----------*/
<?php if ( $breathe_read_more_button == 'Red' ) { ?>
.more {
         background:url('images/read-more-red.png') no-repeat;
}
<?php } ?>
<?php if ( $breathe_read_more_button == 'Black' ) { ?>
.more {
         background:url('images/read-more-blk.png') no-repeat;
}
<?php } ?>
/*----------[MAKE ALL THE VARIABLES HAVE THE SAME FONT AND FONT SIZE]----------*/
.more {
	   	 font-family:<?php echo $breathe_site_font_family; ?>;
}
.additional-meta {
		 font-family:<?php echo $breathe_site_font_family; ?>;
}
.widget {
		 font-family:<?php echo $breathe_site_font_family; ?>;
         font-size:<?php echo $breathe_site_font_size; ?>; 
}
.footer-widget {
		 font-family:<?php echo $breathe_site_font_family; ?>;
         font-size:<?php echo $breathe_site_font_size; ?>; 
}
.navigation-index {
		 font-family:<?php echo $breathe_site_font_family; ?>;
		 font-size:<?php echo $breathe_site_font_size; ?>;
}
#footer {
		 font-family:<?php echo $breathe_site_font_family; ?>;
}
.entry-meta {
		 font-family:<?php echo $breathe_site_font_family; ?>;
		 font-size:<?php echo $breathe_site_font_size; ?>;
}
.nav-prev {
		 font-family:<?php echo $breathe_site_font_family; ?>;
		 font-size:<?php echo $breathe_site_font_size; ?>;
}
.nav-next {
		 font-family:<?php echo $breathe_site_font_family; ?>;
		 font-size:<?php echo $breathe_site_font_size; ?>;
}
.authortext{
		font-family:<?php echo $breathe_site_font_family; ?>;
}
.response {
		font-family:<?php echo $breathe_site_font_family; ?>;
}
.cite {
	   	font-family:<?php echo $breathe_site_font_family; ?>;
}
/*-----------[TOP MENU FONT FAMILY SAME AS EVERYTHING ELSE]----------*/
.menu{
         font-family:<?php echo $breathe_site_font_family; ?>;
		 
}
/*-----------[BACKGROUND STYLE]----------*/
<?php if ( $breathe_background_style == 'Fading' ) { ?>
body {
         background: url('images/bg.jpg') center top repeat-x;
}
<?php } ?>
<?php if ( $breathe_background_style == 'Solid' ) { ?>
body {
         background: #e9e9e7;
}
<?php } ?>


