<?php
global $options;
 
foreach ($options as $value) {
        if (get_option( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_option( $value['id'] ); } }

$lineheight = $flex_post_size + 4;
if ($flex_content_trans == "no") { 
$pagewidth = $flex_blog_width - $flex_blog_padding;
} else { 
$pagewidth = $flex_blog_width;
}
$featwidgets = ($flex_blog_width - (($flex_feat_widgets - 1) * 30) - 50) / $flex_feat_widgets;
$footwidgets = ($flex_blog_width - (($flex_foot_widgets - 1) * 30) - 50) / $flex_foot_widgets;
$footerwidth = $flex_blog_width;
$titlelineheight = $flex_title_size +4;
$navwidth = $flex_blog_width - 8;
$searchbox = $flex_search_margin;
if ($flex_search_visibility == "yes" || $flex_subrss_visibility == "yes") {
$titlewidth = $flex_blog_width - 280 - $flex_head_leftpad;
} else {
$titlewidth = $flex_blog_width - 10;
}

if ($flex_content_trans == "no") { 
if ($flex_lsb_show == "yes" && $flex_rsb_show == "yes" && $flex_lsb_pos == "left of post") {
$contentwidth = $flex_blog_width - $flex_rsb_width - $flex_lsb_width  - 2 -($flex_blog_padding * 4);
} 
else if ($flex_lsb_show == "yes" && $flex_rsb_show == "yes" && $flex_lsb_pos == "right of post") {
$contentwidth = $flex_blog_width - $flex_rsb_width - $flex_lsb_width - 2 - ($flex_blog_padding * 4);
} 
else if ($flex_lsb_show == "no" && $flex_rsb_show == "yes") {
$contentwidth = $flex_blog_width - $flex_rsb_width - ($flex_blog_padding * 3);
}
else if ($flex_lsb_show == "yes" && $flex_rsb_show == "no") {
$contentwidth = $flex_blog_width - $flex_lsb_width - ($flex_blog_padding * 3);
}
else if ($flex_lsb_show == "no" && $flex_rsb_show == "no"){
$contentwidth = $flex_blog_width - ($flex_blog_padding * 2);
}
else if (!$flex_lsb_show && !$flex_rsb_show && $flex_content_width){
$contentwidth = get_option('flex_content_width');
}
$sidebar = $flex_blog_width - $contentwidth - 15;
if ($flex_lsb_show == "yes" && $flex_rsb_show == "yes") {
$sidebar = $flex_blog_width - $contentwidth - $flex_lsb_width - ($flex_blog_padding * 5);
}


} else { 
if ($flex_lsb_show == "yes" && $flex_rsb_show == "yes" && $flex_lsb_pos == "left of post") {
$contentwidth = $flex_blog_width - $flex_rsb_width - $flex_lsb_width  - 2 -($flex_blog_padding * 2);
} 
else if ($flex_lsb_show == "yes" && $flex_rsb_show == "yes" && $flex_lsb_pos == "right of post") {
$contentwidth = $flex_blog_width - $flex_rsb_width - $flex_lsb_width - 2 - ($flex_blog_padding * 2);
} 
else if ($flex_lsb_show == "no" && $flex_rsb_show == "yes") {
$contentwidth = $flex_blog_width - $flex_rsb_width - $flex_blog_padding;
}
else if ($flex_lsb_show == "yes" && $flex_rsb_show == "no") {
$contentwidth = $flex_blog_width - $flex_lsb_width - $flex_blog_padding;
}
else if ($flex_lsb_show == "no" && $flex_rsb_show == "no"){
$contentwidth = $flex_blog_width - ($flex_blog_padding * 2);
}
else if (!$flex_lsb_show && !$flex_rsb_show && $flex_content_width){
$contentwidth = get_option('flex_content_width');
}
$sidebar = $flex_blog_width - $contentwidth - 15;
if ($flex_lsb_show == "yes" && $flex_rsb_show == "yes") {
$sidebar = $flex_blog_width - $contentwidth - $flex_lsb_width - 20;
}


}

$commentswidth = $contentwidth - 30;
$commenttextwidth = $contentwidth -20;
$rsstoppadding = $flex_head_height/2;
$squeezepagewidth = $flex_squeeze_width -5;
$squeezenavwidth = $flex_squeeze_width - 8;
$squeezefeatwidgets = ($flex_squeeze_width - (($flex_feat_widgets - 1) * 30) - 50) / $flex_feat_widgets;
$squeezecontwidth = $flex_squeeze_width - 10;
$squeezeh1 = $flex_squeeze_h1 + 5;
$squeezeh2 = $flex_squeeze_h2 + 5;
$squeezeh3 = $flex_squeeze_h3 + 4;
$squeezeh4 = $flex_squeeze_h4 + 4;
$squeezecont = $flex_squeeze_contsize +4;
$squeezehead = $flex_squeeze_height - $flex_squeeze_tmargin;
?>
/*  
Theme Name: FlexSqueeze
Theme URI: http://www.flexsqueeze.com/
Description: FlexSqueeze is the ultimate tool for creating custom niche blogs, sales pages and video opt-in pages in WordPress
Version: 1.5.1
Author: Advantus Media, Inc.
Author URI: http://www.flexsqueeze.com
Tags: dark, light, two-columns, custom-colors, custom-header, theme-options, right-sidebar, threaded-comments
*/

html {
	margin: 0px;
	min-height: 100%;
}
.clear {
	clear: both;
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}
.clearfix:after {
	clear: both;
	content: ' ';
	display: block;
	font-size: 0;
	line-height: 0;
	visibility: hidden;
	width: 0;
	height: 0;
}
.clearfix {
	display: inline-block;
}
* html .clearfix {
	height: 1%;
}
.clearfix {
	display: block;
}
body {
	margin:0px;
	padding:0px;
	background-color: #<?php echo $flex_page_backgroundcolor; ?>;
	min-height: 100%;	
<?php if ($flex_blog_bgimage == "no background image") { ?>

<?php } elseif ($flex_blog_bgimage == "custom background image"){ ?>
	background-image: url(<?php echo $flex_blog_custombg; ?>);
	background-repeat: <?php echo $flex_blog_bgrepeat; ?>; 
	background-position: center top;
    
<?php } else { ?>
	background-image: url(images/backgrounds/<?php echo $flex_blog_bgimage; ?>);
	background-repeat: repeat; 
	background-position: center top;

<?php  } ?>
}
a:link, a:visited, a:active, a:focus, a:hover {
    outline: 0;
}
h1, h2, h3, h4 {
	font-family: <?php echo $flex_blog_font; ?>, Helvetica, sans-serif;
}
.postcontent h1 {
	font: <?php echo $flex_post_h1wt; ?> <?php echo $flex_post_h1; ?>px/120% <?php echo $flex_post_h1font; ?>, Arial, Helvetica;
    line-height:120%;
    color: #<?php echo $flex_post_h1clr; ?>;
}
.postcontent h2 {
	font: <?php echo $flex_post_h2wt; ?> <?php echo $flex_post_h2; ?>px/120% <?php echo $flex_post_h2font; ?>, Arial, Helvetica;
    line-height:120%;
    color: #<?php echo $flex_post_h2clr; ?>;
}
.postcontent h3 {
	font: <?php echo $flex_post_h3wt; ?> <?php echo $flex_post_h3; ?>px/120% <?php echo $flex_post_h3font; ?>, Arial, Helvetica;
    line-height:120%;
    color: #<?php echo $flex_post_h3clr; ?>;
}
.postcontent h4 {
	font: <?php echo $flex_post_h4wt; ?> <?php echo $flex_post_h4; ?>px/120% <?php echo $flex_post_h4font; ?>, Arial, Helvetica;
    line-height:120%;
    color: #<?php echo $flex_post_h4clr; ?>;
}

.postcontent h5 {
	font-size: 12px;
    font-weight: bold;
    line-height:120%;
}
.postcontent h6 {
	font-size: 11px;
    font-weight: bold;
    line-height:120%;
}
img {
	border:none;
	margin:0;
	padding:0;
}
.alignleft {
	margin-right:10px;
	margin-bottom:10px;
    float: left;
}
.alignright {
	margin-bottom:10px;
	margin-left:10px;
    float: right;
}
.aligncenter {
	display: block; 
	margin-left: auto; 
	margin-right: auto;
    margin-bottom:10px;
}
hr {
	height: 1px;
	border:0;
	width: 95%;
	color: #E6E6E6;
	background-color: #E6E6E6;
}
h2.pagetitle {
	padding:8px 8px 8px 15px;
	margin:0px 0px <?php echo $flex_blog_padding; ?>px 0px;
	background-color:#<?php echo $flex_post_titlebg; ?>;
	font: <?php echo $flex_post_weight; ?> <?php echo ($flex_post_size - 6); ?>px/<?php echo ($lineheight - 6); ?>px <?php echo $flex_post_font; ?>;
	color: #<?php echo $flex_post_color; ?>;
	border: solid <?php echo $flex_post_brdrsize; ?>px #<?php echo $flex_post_brdr; ?>;
}
blockquote {
	clear:both;
	border: 1px solid #<?php echo $flex_bquote_border; ?>;
	background-color: #<?php echo $flex_bquote_color; ?>;
	margin:0 15px 10px 15px;
	padding:10px 15px;
    <?php if ($flex_bquote_image == "lighten") { ?>
	background-image: url(images/bq-light.png);
	background-repeat: no-repeat;
	background-position: 10px 7px;
    padding-left: 70px;
    <?php } else if ($flex_bquote_image == "darken") { ?>
    background-image: url(images/bq-dark.png);
	background-repeat: no-repeat;
	background-position: 10px 7px;
    padding-left: 70px;
    <?php } ?>
}
blockquote blockquote {
	margin-right:5px;
	margin-left:0;
	background: #<?php echo $flex_bquote_color; ?>;
}
blockquote p {
	margin:0;
	padding:0 0 5px;
}
.postwrap a {
	color: #<?php echo $flex_blog_tclink; ?>; 
}
#bgwrapper {  
	width: 100%;
	margin: 0px;
<?php if ($flex_header_fw == "no") { ?>
	padding-top:<?php echo $flex_blog_margin; ?>px;  
<?php } ?> 
<?php if (($flex_blog_gradient != "None" && $flex_header_fw == "no") || ($flex_blog_gradient != "None" && $flex_header_trans == "yes")) { ?>
	background: url(images/gradients/<?php echo $flex_blog_gradient; ?>) repeat-x left top;
<?php } else if ($flex_blog_gradient != "None" && $flex_header_fw == "yes" && $flex_header_trans == "no") { ?>
	background: url(images/gradients/<?php echo $flex_blog_gradient; ?>) repeat-x left <?php echo $flex_head_height; ?>px;
<?php } ?>  
	min-height: 100%;
}
#wrap {
	width:<?php echo $flex_blog_width ?>px;
	margin:0px auto <?php if ($flex_footer_fw == "no") { echo '15px'; } else { echo $flex_mar_cont.'px';} ?>;
	padding:0;
	border: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;
    font:<?php echo $flex_blog_size; ?>px <?php echo $flex_blog_font; ?>, Arial, sans-serif;
}
#headerwrap {
	width:100%;
    margin: 0 0 <?php echo $flex_mar_head;?>px 0;  
    padding:0px;
    <?php if ($flex_header_trans == "no") { ?>
    <?php if ($flex_header_fwbg != "None") { ?>
    background-image: url(images/fwheaders/<?php echo $flex_header_fwbg; ?>);
    <?php if ($flex_header_fwbg == "fade-dark-top.png" || $flex_header_fwbg == "fade-light-top.png") { ?>
		background-position: center top;
		<?php } else if ($flex_header_fwbg == "fade-dark-bottom.png" || $flex_header_fwbg == "fade-light-bottom.png") { ?>
        background-position: center bottom;
        <?php } else { ?>
        background-position: center;
        <?php } ?>
        background-color: #<?php echo $flex_header_backgroundcolor; ?>; 	
    	<?php if ($flex_header_fwbg == "fade-dark-bottom.png" || $flex_header_fwbg == "fade-light-bottom.png") { ?>
    	background-repeat: repeat-x;
        <?php } else { ?>
        background-repeat: repeat;
        <?php } ?>
    <?php } else { ?>
    background-color: #<?php echo $flex_header_backgroundcolor; ?>;
    <?php } ?>
    
    <?php } else { ?>
    background-color: transparent;
    <?php } ?>
    border-bottom: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;
    text-align:center;
}
#header {
<?php if (!$flex_head_image && $flex_header_bg != "None") { ?>
	background: url(images/headers/<?php echo $flex_header_bg; ?>) no-repeat center top;
<?php } elseif ($flex_head_image && $flex_header_bg != "None") { ?>
	background: url(<?php echo $flex_head_image; ?>) no-repeat bottom <?php echo $flex_header_bgalign; ?>;
<?php } else  { ?>
	background-image: none;
<?php } ?>
<?php if ($flex_header_fw == "no") { ?>
	background-color: #<?php echo $flex_header_backgroundcolor; ?>;
    border-bottom: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;
    margin: 0 0 <?php echo $flex_mar_head;?>px 0;  
	 
<?php } else { ?>
	background-color:transparent;
    margin:0 auto;
    text-align:left;
    
<?php } ?>
	width:<?php echo $flex_blog_width; ?>px;
    position: relative;
	height:<?php echo $flex_head_height; ?>px;
}
#header a {
	color:#<?php echo $flex_title_clr; ?>;
	text-decoration: none;
}
#header h3, #header h1 {
	font-size:<?php echo $flex_title_size; ?>px;
	width:<?php echo $titlewidth; ?>px;
	font-weight:400;
	line-height:<?php echo $titlelineheight; ?>px;
	font-family: <?php echo $flex_title_font; ?>;
	margin:0px;
	padding: <?php echo $flex_head_toppad; ?>px 0 10px <?php echo $flex_head_leftpad; ?>px;
    <?php if ($flex_title_align == "center" && $flex_search_visibility == "no" && $flex_subrss_visibility == "no") { ?>
	text-align:center;
    padding-left:10px;
	<?php } else { ?>
    text-align:left;
    <?php } ?>
}
#logo {
	margin-top: <?php echo $flex_head_toppad; ?>px; 
    <?php if ($flex_blog_logo) { ?>
    padding-left: <?php echo $flex_head_leftpad; ?>px;
    <?php } ?>
} 
#header h3 a, #header h1 a {
	color: #<?php echo $flex_title_clr; ?>;
}
#header h3 a:hover, #header h1 a:hover {
	color: #<?php echo $flex_title_hvr; ?>;
	text-decoration: none;
}
p.tagline {
	font-size:14px;
	font-weight:700;
	width:<?php echo $titlewidth; ?>px;
	left:20px;
	color: #<?php echo $flex_tagline_color; ?>;
	margin:0;
    float:left;
	padding: 0 0 0 <?php echo $flex_head_leftpad; ?>px;
    <?php if ($flex_title_align == "center" && $flex_search_visibility == "no" && $flex_subrss_visibility == "no") { ?>
	text-align:center;
    padding-left:10px;
	<?php } else { ?>
    text-align:left;
    <?php } ?>
}
<?php if ($flex_title_seo == "yes" && $flex_blog_logo) { ?>
#header h3, #header h1, #header p.tagline {
	height: 1px;
	width: 1px;
	position: absolute;
	overflow: hidden;
	top: -999px;
}
<?php } ?>

#navwrap {
	width:100%;
    text-align:center; 
    padding:0px;
    margin: 0 0 <?php echo $flex_mar_nav;?>px 0;
    <?php if ($flex_nav_style == "reflect") { ?>
	background: url(images/navfhleft.png) left top repeat; 
	background-color: #<?php echo $flex_nav_color; ?>;
<?php } else if ($flex_nav_style == "simple") { ?>
	background: url(images/navsftleft.png) left top repeat; 
	background-color: #<?php echo $flex_nav_color; ?>;
<?php } elseif ($flex_nav_style == "arrowlight") { ?>
	background: url(images/navangltbg.png) left top repeat;
    background-color: #<?php echo $flex_nav_color; ?>;
<?php } elseif ($flex_nav_style == "arrowdark") { ?>
	background: url(images/navangbg.png) left top repeat;
    background-color: #<?php echo $flex_nav_color; ?>;
<?php } elseif ($flex_nav_style == "indent") { ?>
background: url(images/navrdbg.png) left top repeat;
    background-color: #<?php echo $flex_nav_color; ?>;
<?php } elseif ($flex_nav_style == "aqua") { ?>
	background: url(images/navsfbg.png) left top repeat;
    background-color: #<?php echo $flex_nav_color; ?>;
<?php } elseif ($flex_nav_style == "button" || $flex_nav_style == "basic") { ?>
    background-color: #<?php echo $flex_nav_color; ?>;
<?php } elseif ($flex_nav_style == "blackbar") { ?>
	background: none; 
	background-color: #<?php echo $flex_nav_color; ?>;
<?php } elseif ($flex_nav_style == "tabs") { ?>
	background: url(images/navssbg.png) left top repeat;
    background-color: #<?php echo $flex_nav_color; ?>;
<?php } elseif ($flex_nav_style == "square tabs") { ?>
	background: url(images/navss2bg.png) left top repeat;
    background-color: #<?php echo $flex_nav_color; ?>;
<?php } elseif ($flex_nav_style == "square tabs light") { ?>
	background: url(images/navss3bg.png) left top repeat;
    background-color: #<?php echo $flex_nav_color; ?>;
<?php } elseif ($flex_nav_style == "cnn") { ?>
	background: url(images/navcnnbg.png) left top repeat;
    background-color: #<?php echo $flex_nav_color; ?>;
<?php } elseif ($flex_nav_style == "transparent") { ?>
	background-image:none;
    background-color: transparent;
<?php  } ?>
    text-align:center;
}

#navwrap #nav {
<?php if ($flex_nav_style == "reflect") { ?>
	background: url(images/navfhleft.png) left top repeat; 
	background-color: #<?php echo $flex_nav_color; ?>;
    padding-left:0px;
<?php } else if ($flex_nav_style == "simple") { ?>
	background: url(images/navsftleft.png) left top repeat; 
	background-color: #<?php echo $flex_nav_color; ?>;
    padding-left:0px;
<?php } elseif ($flex_nav_style == "arrowlight") { ?>
	background: url(images/navangltbg.png) left top repeat;
    background-color: #<?php echo $flex_nav_color; ?>;
    padding-left:8px;
<?php } elseif ($flex_nav_style == "arrowdark") { ?>
	background: url(images/navangbg.png) left top repeat;
    background-color: #<?php echo $flex_nav_color; ?>;
    padding-left:8px;
<?php } elseif ($flex_nav_style == "indent") { ?>
background: url(images/navrdbg.png) left top repeat;
    background-color: #<?php echo $flex_nav_color; ?>;
    padding-left:4px;
<?php } elseif ($flex_nav_style == "aqua") { ?>
	background: url(images/navsfbg.png) left top repeat;
    background-color: #<?php echo $flex_nav_color; ?>;
    padding-left:10px;
<?php } elseif ($flex_nav_style == "button" || $flex_nav_style == "basic") { ?>
    background-color: #<?php echo $flex_nav_color; ?>;
    padding-left:4px;
<?php } elseif ($flex_nav_style == "blackbar") { ?>
	background: none; 
	background-color: #<?php echo $flex_nav_color; ?>;
    padding-left:0px;   
<?php } elseif ($flex_nav_style == "tabs") { ?>
	background: url(images/navssbg.png) left top repeat;
    background-color: #<?php echo $flex_nav_color; ?>;
    padding-left:10px;
<?php } elseif ($flex_nav_style == "square tabs") { ?>
	background: url(images/navss2bg.png) left top repeat;
    background-color: #<?php echo $flex_nav_color; ?>;
    padding-left:10px;
<?php } elseif ($flex_nav_style == "square tabs light") { ?>
	background: url(images/navss3bg.png) left top repeat;
    background-color: #<?php echo $flex_nav_color; ?>;
    padding-left:10px;
<?php } elseif ($flex_nav_style == "cnn") { ?>
	background: url(images/navcnnbg.png) left top repeat;
    background-color: #<?php echo $flex_nav_color; ?>;
    padding-left:0px;
    text-transform: uppercase;
<?php } elseif ($flex_nav_style == "transparent") { ?>
	background-image:none;
    background-color: transparent;
    padding-left:0px;
<?php  } ?>
	<?php if ($flex_nav_fw == "no" || $flex_nav_position == "below feature") { ?>
	border-bottom: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;
    margin: 0 0 <?php echo $flex_mar_nav;?>px 0;
    <?php } else { ?>
    margin: 0 auto;
    <?php } ?>
    width:<?php echo $navwidth; ?>px;  
    <?php if ($flex_nav_align == "left" || $flex_nav_align == "center") { ?>
    padding-left: 8px; 
    <?php } else if ($flex_nav_align == "right") { ?>
	padding:0 8px 0 0;
    <?php } ?>
    text-align:left;

}
.sf-menu, .sf-menu * {
	margin:			0;
	padding:		0;
	list-style:		none;
}
ul.sf-menu {
	line-height:	1.0;
    <?php if ($flex_nav_align == "right") { ?>
    float:			right;
    <?php } ?>
}
.sf-menu ul {
	position:		absolute;
	top:			-999em;
	width:			<?php echo $flex_nav_subwidth; ?>px; /* left offset of submenus need to match (see below) */
    <?php if ($flex_nav_style == "transparent") { ?>border-top:<?php echo $flex_nav_subborder; ?>px solid #<?php echo $flex_nav_subbrdrclr; ?>;<?php } ?>;
} 
.sf-menu ul ul {
<?php if ($flex_nav_style == "transparent") { ?>border-top:none;<?php } ?>;
}
.sf-menu ul li {
	width:			100%;
}
.sf-menu li:hover {
	visibility:		inherit; /* fixes IE7 'sticky bug' */
}
.sf-menu li {
	float:			left;
	position:		relative;
	z-index:10;
}

.sf-menu a {
	display:		block;
	position:		relative;
    font-size: <?php echo $flex_nav_txtsize; ?>px;
    font-weight: <?php echo $flex_nav_fontwt; ?>;
    font-family: <?php echo $flex_nav_font; ?>, Arial, Helvetica;
    line-height: 33px;
	white-space: pre;
}
.sf-menu li li a {
	font-size: <?php echo $flex_nav_ddtxtsize; ?>px;
    font-family: <?php echo $flex_nav_ddfont; ?>, Arial, Helvetica;
}
.sf-menu ul a { white-space: normal;}
.sf-menu li:hover ul, .sf-menu li.sfHover ul {
	left:			-<?php echo $flex_nav_subborder; ?>px;
	top:			33px; /*  match top ul list item height */
	z-index:		99;

}
ul.sf-menu li:hover li ul, ul.sf-menu li.sfHover li ul {
	top:			-999em;
}
#navwrap #nav ul.sf-menu li:hover, #navwrap #nav ul.sf-menu li.sfHover * { z-index:1000;}
ul.sf-menu li li:hover ul, ul.sf-menu li li.sfHover ul {
	left:			<?php echo $flex_nav_subwidth; ?>px; /* match ul width */
	top:			-<?php echo $flex_nav_subborder; ?>px;
}
ul.sf-menu li li:hover ul li, ul.sf-menu li li.sfHover ul li {
	left:			<?php echo $flex_nav_subborder; ?>px; 
}
ul.sf-menu li ul {
	background-color:#<?php echo $flex_nav_subbrdrclr; ?>;
    width:<?php echo ($flex_nav_subwidth + ($flex_nav_subborder*2)); ?>px;
}
ul.sf-menu ul li {
	width:<?php echo $flex_nav_subwidth; ?>px;
    margin-left:<?php echo $flex_nav_subborder; ?>px; 
}
ul.sf-menu li li:hover li ul, ul.sf-menu li li.sfHover li ul {
	top:			-999em;
}
ul.sf-menu li li li:hover ul, ul.sf-menu li li li.sfHover ul {
	left:			<?php echo $flex_nav_subwidth; ?>px;/* match ul width */
	top:			-<?php echo $flex_nav_subborder; ?>px;
}
#navwrap #nav ul.sf-menu li.sfHover li.sfHover li, #navwrap #nav ul.sf-menu li.sfHover li.sfHover li {
	margin:0px;padding:0px;
}
.sf-menu {
	float:			left;
	margin-bottom:	0px;
}
.sf-menu a {
	padding: 0px;
<?php if ($flex_nav_style == "reflect") { ?>
	margin-right: 0px;
<?php } elseif ($flex_nav_style == "simple") { ?>
	margin-right: 0px;
<?php } elseif ($flex_nav_style == "tabs" || $flex_nav_style == "square tabs" || $flex_nav_style == "square tabs light"){ ?>
	margin-right: 1px;
<?php } elseif ($flex_nav_style == "indent"){ ?>
	margin-right: 1px;
<?php } elseif ($flex_nav_style == "button" || $flex_nav_style == "basic"){ ?>
	margin-right: 1px;
<?php } elseif ($flex_nav_style == "cnn"){ ?>
	margin-right: 0px;
<?php } elseif ($flex_nav_style == "aqua"){ ?>
	margin-right: 3px;
<?php } elseif ($flex_nav_style == "transparent"){ ?>
	margin-right: 0px;
<?php } elseif ($flex_nav_style == "arrowlight" || $flex_nav_style == "arrowdark"){ ?>
	padding-left: 2px;
<?php } ?>
	height:33px;
<?php if ($flex_nav_style == "indent") { ?>
	background: url(images/navrdleft.png) left top no-repeat;
<?php } elseif ($flex_nav_style == "tabs") { ?>
	background: url(images/navssleft.png) left top no-repeat;
<?php } elseif ($flex_nav_style == "square tabs") { ?>
	background: url(images/navss2left.png) left top no-repeat;
<?php } elseif ($flex_nav_style == "square tabs light") { ?>
	background: url(images/navss3left.png) left top no-repeat;
<?php } elseif ($flex_nav_style == "button") { ?>
	background: url(images/navsoftlt.png) left top no-repeat;
<?php } elseif ($flex_nav_style == "basic") { ?>
	background: url(images/navbasiclt.png) left top no-repeat;
<?php } elseif ($flex_nav_style == "reflect") { ?>
	background: url(images/navfhleft.png) left top repeat-x;
<?php } elseif ($flex_nav_style == "simple") { ?>
	background: url(images/navsftleft.png) left top repeat-x;
<?php } elseif ($flex_nav_style == "blackbar") { ?>
	background: url(images/navwtbarlt.png) left top repeat-x;
<?php } elseif ($flex_nav_style == "aqua") { ?>
	background: url(images/navsfleft.png) left top no-repeat;
<?php } elseif ($flex_nav_style == "cnn") { ?>
	background: url(images/navcnnleft.png) left top no-repeat;
<?php } elseif ($flex_nav_style == "arrowdark") { ?>
	background: url(images/navangleft.png) left top no-repeat;
<?php } elseif ($flex_nav_style == "arrowlight") { ?>
	background: url(images/navangltleft.png) left top no-repeat;
<?php  } ?>
	background-color: <?php if ($flex_nav_style == "transparent") { ?>transparent<?php } else { ?>#<?php echo $flex_nav_color; ?><?php } ?>;
	text-decoration: none;
}
.sf-menu li li a {
	margin:0px;
}
.sf-menu li a span {
	display: block;
	margin-left: 11px;
	padding-left: 1px;
	padding-right: 13px;
	line-height: 33px;
    padding-bottom:0px;
	color: #<?php echo $flex_nav_txtclr; ?>;
<?php if ($flex_nav_style == "indent") { ?>
	background: url(images/navrdright.png) right top no-repeat;
<?php } elseif ($flex_nav_style == "tabs") { ?>
	background: url(images/navssright.png) right top no-repeat;
	line-height: 26px;
	padding-top:7px;
<?php } elseif ($flex_nav_style == "square tabs") { ?>
	background: url(images/navss2right.png) right top no-repeat;
	line-height: 26px;
	padding-top:7px;
<?php } elseif ($flex_nav_style == "square tabs light") { ?>
	background: url(images/navss3right.png) right top no-repeat;
	line-height: 26px;
	padding-top:7px;
<?php } elseif ($flex_nav_style == "button") { ?>
	background: url(images/navsoftrt.png) right top no-repeat;
<?php } elseif ($flex_nav_style == "basic") { ?>
	background: url(images/navbasicrt.png) right top no-repeat;
<?php } elseif ($flex_nav_style == "reflect") { ?>
	background: url(images/navfhright.png) right top no-repeat;
<?php } elseif ($flex_nav_style == "simple") { ?>
	background: url(images/navsftright.png) right top no-repeat;
<?php } elseif ($flex_nav_style == "blackbar") { ?>
	background: url(images/navwtbarrt.png) right top no-repeat;
<?php } elseif ($flex_nav_style == "aqua") { ?>
	background: url(images/navsfright.png) right top no-repeat;
<?php } elseif ($flex_nav_style == "arrowdark") { ?>
	background: url(images/navangright.png) right top no-repeat;
	padding-right:25px;
	margin-left:0px;
<?php } elseif ($flex_nav_style == "arrowlight") { ?>
	background: url(images/navangltright.png) right top no-repeat;
	padding-right:25px;
	margin-left:0px;
<?php } elseif ($flex_nav_style == "cnn") { ?>
	background: url(images/navcnnright.png) right top no-repeat;
    margin-left: 0px;
    padding-left: 8px;

<?php  } ?>
	background-color: <?php if ($flex_nav_style == "transparent") { ?>transparent<?php } else { ?>#<?php echo $flex_nav_color; ?><?php } ?>;
	text-decoration: none;
}
.sf-menu li li a span {
	display: block;
	padding-bottom:0px;
<?php if ($flex_nav_style == "arrowlight" || $flex_nav_style == "arrowdark") { ?>
	margin-left:11px;
<?php } ?>
}
.sf-menu a, .sf-menu a:visited  { /* visited pseudo selector so IE6 applies text colour*/
	color: #<?php echo $flex_nav_txtclr; ?>;
}
.sf-menu li li {
	color:#<?php echo $flex_nav_subtext; ?>;
	background:#<?php echo $flex_nav_subback; ?>;
	border-bottom:<?php echo $flex_nav_subborder; ?>px solid #<?php echo $flex_nav_subbrdrclr; ?>;
}
.sf-menu li li a:hover span {
	background-color:transparent;
}
.sf-menu li li li:first-child {
	border-top:<?php echo $flex_nav_subborder; ?>px solid #<?php echo $flex_nav_subbrdrclr; ?>;
}
.sf-menu li li li {
	background:#<?php echo $flex_nav_subback; ?>;
}
.sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active, .sf-menu li.sfHover a {
	background-position: left -33px;
	text-decoration: none;
    background-color: <?php if ($flex_nav_style == "transparent") { ?>transparent<?php } else { ?>#<?php echo $flex_nav_tabhvr; ?><?php } ?>;
	cursor: pointer; /* For IE6 */
	outline:		0;
    color: #<?php echo $flex_nav_hvrcolor; ?>;
}  
.sf-menu a:focus span, .sf-menu a:hover span, .sf-menu a:active span, .sf-menu li.sfHover a span {
	background-position: right -33px;
	color: #<?php echo $flex_nav_hvrcolor; ?>;
	background-color: <?php if ($flex_nav_style == "transparent") { ?>transparent<?php } else { ?>#<?php echo $flex_nav_tabhvr; ?><?php } ?>;
<?php if ($flex_nav_style == "tabs" || $flex_nav_style == "square tabs" || $flex_nav_style == "square tabs light") { ?>
	padding-top:0px;
    line-height:33px;
<?php  } ?>
}
<?php if ($flex_nav_style == "tabs" || $flex_nav_style == "square tabs" || $flex_nav_style == "square tabs light") { ?>
.sf-menu ul a:focus span, .sf-menu ul a:hover span, .sf-menu ul a:active span, .sf-menu li.sfHover ul a span {
	line-height:normal;
}
<?php  } ?>
.sf-menu li li a span, .sf-menu li.current_page_item li a span, .sf-menu li.current-menu-item li a span {
	background-color: transparent;
}
.sf-menu li.current_page_item a:hover, .sf-menu li.current-menu-item a:hover {
    color: #<?php echo $flex_nav_hvrcolor; ?>;
	background-color: <?php if ($flex_nav_style == "transparent") { ?>transparent<?php } else { ?>#<?php echo $flex_nav_tabhvr; ?><?php } ?>;
}  
.sf-menu li.current_page_item a:hover span, .sf-menu li.current-menu-item a:hover span {
	background-color: <?php if ($flex_nav_style == "transparent") { ?>transparent<?php } else { ?>#<?php echo $flex_nav_tabhvr; ?><?php } ?>;
}  
.sf-menu li li.current_page_item a:hover span, .sf-menu li.current_page_item li a:hover span, .sf-menu li li.current-menu-item a:hover span, .sf-menu li.current-menu-item li a:hover span {
	background-color: transparent;
}  
.sf-menu li.current_page_item a, .sf-menu li.current_page a, .sf-menu li.current-menu-item a {
	background-position: left -33px;
    background-color: <?php if ($flex_nav_style == "transparent") { ?>transparent<?php } else { ?>#<?php echo $flex_nav_tabact; ?><?php } ?>;    
}
.sf-menu li.current_page_item a span, .sf-menu li.current-menu-item a span {
	background-position: right -33px;
	color: #<?php echo $flex_nav_hvrcolor; ?>;
	background-color: <?php if ($flex_nav_style == "transparent") { ?>transparent<?php } else { ?>#<?php echo $flex_nav_tabact; ?><?php } ?>; 
	<?php if ($flex_nav_style == "tabs" || $flex_nav_style == "square tabs" || $flex_nav_style == "square tabs light") { ?>
	padding-top:0px;
    line-height:33px;
<?php  } ?>
}
.sf-menu li li a span, .sf-menu li li a:visited span {
	color:#<?php echo $flex_nav_subtext; ?>;
}   
.sf-menu li.current_page_item li a span, .sf-menu li.current-menu-item li a span {
    color: #<?php echo $flex_nav_subtext; ?>;
}
.sf-menu li:hover a span, .sf-menu li.sfHover a span{
    color: #<?php echo $flex_nav_hvrcolor; ?>;
}  
.sf-menu li:hover li a span, .sf-menu li.sfHover li a span {
    color: #<?php echo $flex_nav_subtext; ?>;
} 
.sf-menu li.sfHover a, .sf-menu li.sfHover a span {
	background-color: <?php if ($flex_nav_style == "transparent") { ?>transparent<?php } else { ?>#<?php echo $flex_nav_tabhvr; ?><?php } ?>;
}
.sf-menu li.sfHover li a, .sf-menu li.sfHover li a span {
	background-color: #<?php echo $flex_nav_subback; ?>;
}
.sf-menu li li a:focus, .sf-menu li li a:hover, .sf-menu li li a:active {
	background: #<?php echo $flex_nav_subhov; ?>; 
	outline:		0;
    color:#<?php echo $flex_nav_subtexthov; ?>;
}
.sf-menu li li a:focus span, .sf-menu li li a:hover span, .sf-menu li li a:active span {
    color:#<?php echo $flex_nav_subtexthov; ?>;
    background: transparent;
}
.sf-menu li li.current_page_item a, .sf-menu li.current_page_item li a, .sf-menu li li.current-menu-item a, .sf-menu li.current-menu-item li a {
   background-image: none;
   background-color: #<?php echo $flex_nav_subback; ?>;
}
.sf-menu li li.current_page_item a:hover, .sf-menu li.current_page_item li a:hover, .sf-menu li li.current-menu-item a:hover, .sf-menu li.current-menu-item li a:hover {
   background-image: none;
   background-color: #<?php echo $flex_nav_subhov; ?>;
}
.sf-menu li li.current_page_item, .sf-menu li li.current-menu-item , .sf-menu li li.current_page_item a, .sf-menu li li.current-menu-item a, .sf-menu li li.current_page_item a span, .sf-menu li li.current-menu-item a span{
    background-color: #<?php echo $flex_nav_subact; ?>;
}
.sf-menu li li.current_page_item .children a, .sf-menu li li.current_page_item .children a span, .sf-menu li li.current-menu-item .children a, .sf-menu li li.current-menu-item .children a span{
    background-color: #<?php echo $flex_nav_subback; ?>;
}
.sf-menu li li.current_page_item .sub-menu a, .sf-menu li li.current_page_item .sub-menu a span, .sf-menu li li.current-menu-item .sub-menu a, .sf-menu li li.current-menu-item .sub-menu a span{
    background-color: #<?php echo $flex_nav_subback; ?>;
}
.sf-menu li li.current_page_item .children a:hover, .sf-menu li li.current_page_item .children a:hover span, .sf-menu li li.current-menu-item .children a:hover, .sf-menu li li.current-menu-item .children a:hover span{
    background-color: #<?php echo $flex_nav_subhov; ?>;
}
.sf-menu li li.current_page_item .sub-menu a:hover, .sf-menu li li.current_page_item .sub-menu a:hover span, .sf-menu li li.current-menu-item .sub-menu a:hover, .sf-menu li li.current-menu-item .sub-menu a:hover span{
    background-color: #<?php echo $flex_nav_subhov; ?>;
}
.sf-menu li li.current_page_item a:hover, .sf-menu li li.current-menu-item a:hover {
	color:#<?php echo $flex_nav_subtext; ?>;
}
.sf-menu li:hover, .sf-menu li.sfHover {
	outline:		0;
    color: #<?php echo $flex_nav_hvrcolor; ?>;
} 
.sf-menu li:hover li, .sf-menu li.sfHover li, .sf-menu li.sfHover li {
	background: #<?php echo $flex_nav_subback; ?>; 
	outline:		0;
    color:#<?php echo $flex_nav_subtext; ?>;
}
.sf-menu li.sfHover li a:hover {
    color: #<?php echo $flex_nav_subtexthov; ?>;
}
.sf-menu li ul li a, .sf-menu li ul li a span {
	background-image:none;
}
.sf-menu li li a {
	padding: <?php echo round(($flex_nav_subheight - 12)/2); ?>px 0px;
    width:			<?php echo $flex_nav_subwidth; ?>px;
    height:100%;
}
.sf-menu li li a span, .sf-menu li li a:hover span {  
    line-height: normal;
} 

/*** arrows **/

span.sf-sub-indicator {
	top:			1.05em; /* IE6 only */
}
a > span.sf-sub-indicator {  /* give all except IE6 the correct values */
	top:			11px;
	<?php if ($flex_nav_style == "tabs" || $flex_nav_style == "square tabs" || $flex_nav_style == "square tabs light") { ?>
	top: 			14px;
	<?php } ?>
}
<?php if ($flex_nav_style == "tabs" || $flex_nav_style == "square tabs" || $flex_nav_style == "square tabs light") { ?>
	li.sfHover a > .sf-sub-indicator {
	top:			10px;
	}
	 li.current_page_item a > .sf-sub-indicator {
	top:			10px;
	}
	<?php } ?>
ul ul a > span.sf-sub-indicator {  /* give all except IE6 the correct values */
	top:			10px;
}
.sf-menu a.sf-with-ul {
	padding-right: 	0em !important;
	min-width:		1px; /* trigger IE7 hasLayout so spans position accurately */
}
.sf-menu a.sf-with-ul span {
	padding-right:23px;
	<?php if ($flex_nav_style == "arrowdark" || $flex_nav_style == "arrowlight") { ?>
	padding-right:40px;
	<?php } ?>
	}
.sf-menu a.sf-with-ul span.sf-sub-indicator {
	position:		absolute;
	display:		block;
	padding:0px;
	right:			10px;
	<?php if ($flex_nav_style == "arrowdark" || $flex_nav_style == "arrowlight") { ?>
	right: 23px;
	<?php } ?>
	width:			10px;
	height:			10px;
	text-indent: 	-999em;
	overflow:		hidden;
	background:	transparent url('images/arrows-<?php echo $flex_nav_arrows ; ?>.png') no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */

}
.sf-menu ul a.sf-with-ul span.sf-sub-indicator { right: .5em; top: <?php echo round(($flex_nav_subheight / 2) - 5); ?>px;}
a > span.sf-sub-indicator {  /* give all except IE6 the correct values */
	background-position: 0 -100px; /* use translucent arrow for modern browsers*/
}
/* apply hovers to modern browsers */
a:focus > .sf-sub-indicator,
a:hover > .sf-sub-indicator,
a:active > .sf-sub-indicator,
li:hover > a > .sf-sub-indicator,
li.sfHover > a > .sf-sub-indicator {
	background-position: -10px -100px; /* arrow hovers for modern browsers*/
}

/* point right for anchors in subs */
.sf-menu ul a.sf-with-ul span.sf-sub-indicator { background-position:  -10px 0; }
.sf-menu ul a.sf-with-ul > span.sf-sub-indicator { background-position:  0 0; }
/* apply hovers to modern browsers */
.sf-menu ul a:focus > .sf-sub-indicator, .sf-menu ul a:hover > .sf-sub-indicator, .sf-menu ul a:active > .sf-sub-indicator, .sf-menu ul li:hover > a > .sf-sub-indicator, .sf-menu ul li.sfHover > a > .sf-sub-indicator { background-position: -10px 0; /* arrow hovers for modern browsers*/ }

#secondary-navwrap {
	width:100%;
    text-align:center; 
    padding:0px;
    margin: 0 0 <?php echo $flex_mar_nav2;?>px 0;
 	background-image:none;
    <?php if ($flex_nav_trans2 == "no") { ?>
    background-color: #<?php echo $flex_nav2_bgcolor; ?>;
    <?php } else { ?>
    background-color: transparent; 
    <?php } ?>
    text-align:center;
}

#secondary-nav {
	<?php if ($flex_nav_trans2 == "no") { ?>
    background-color: #<?php echo $flex_nav2_bgcolor; ?>;
    <?php } else { ?>
    background-color: transparent; 
    <?php } ?>
    padding-left:0px;

	<?php if ($flex_nav_fw == "no" || $flex_nav_position2 == "below feature") { ?>
	border-bottom: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;
    margin: 0 0 <?php echo $flex_mar_nav2;?>px 0;
    <?php } else { ?>
    margin: 0 auto;
    <?php } ?>
    width:<?php echo $navwidth; ?>px;  
    <?php if ($flex_nav_align2 == "left" || $flex_nav_align2 == "center") { ?>
    padding-left: 8px; 
    <?php } else if ($flex_nav_align2 == "right") { ?>
	padding:0 8px 0 0;
    <?php } ?>
    text-align:left;   
}

#secondary-nav .sf-menu ul {
	width:			<?php echo $flex_nav2_subwidth; ?>px; 
} 
#secondary-nav ul.sf-menu {
    <?php if ($flex_nav_align2 == "left") { ?>
    float:			left;
    <?php } ?>
}

#secondary-navwrap #secondary-nav ul.sf-menu li:hover, #secondary-navwrap #secondary-nav  ul.sf-menu li.sfHover *  { z-index:999;}

#secondary-nav .sf-menu li li a {
	font-size: <?php echo $flex_nav2_ddtxtsize; ?>px;
    font-family: <?php echo $flex_nav2_ddfont; ?>, Arial, Helvetica;
}

#secondary-nav ul.sf-menu li li:hover ul, #secondary-nav ul.sf-menu li li.sfHover ul {
	left:			<?php echo $flex_nav2_subwidth; ?>px; 
	top:			-<?php echo $flex_nav2_subborder; ?>px;
}
#secondary-nav ul.sf-menu li li:hover ul li, #secondary-nav ul.sf-menu li li.sfHover ul li {
	left:			<?php echo $flex_nav2_subborder; ?>px; 
}
#secondary-nav ul.sf-menu li ul {
	background-color:#<?php echo $flex_nav2_subbrdrclr; ?>;
    width:<?php echo ($flex_nav2_subwidth + ($flex_nav2_subborder*2)); ?>px;
}
#secondary-nav ul.sf-menu ul li {
	width:<?php echo $flex_nav2_subwidth; ?>px;
    margin-left:<?php echo $flex_nav2_subborder; ?>px; 
}
#secondary-nav ul.sf-menu li li li:hover ul, #secondary-nav ul.sf-menu li li li.sfHover ul {
	left:			<?php echo $flex_nav2_subwidth; ?>px;
	top:			-<?php echo $flex_nav2_subborder; ?>px;
}

#secondary-nav ul.sf-menu li li:hover ul li, #secondary-nav ul.sf-menu li li.sfHover ul li {
	left:			<?php echo ($flex_nav2_subborder - $flex_nav2_subborder); ?>px; 
}

#secondary-nav ul.sf-menu {
	line-height:	1.0;
    <?php if ($flex_nav_align2 == "right") { ?>
    float:			right;
    <?php } ?>
}

#secondary-nav .sf-menu li:hover ul, #secondary-nav .sf-menu li.sfHover ul {
	left:			-<?php echo $flex_nav2_subborder; ?>px;
	top:			<?php echo $flex_nav2_height; ?>px; 
}

#secondary-nav .sf-menu a {
	display:		block;
	position:		relative;
    font-size: <?php echo $flex_nav2_txtsize; ?>px;
    font-weight: <?php echo $flex_nav2_fontwt; ?>;
    font-family: <?php echo $flex_nav2_font; ?>, Arial, Helvetica;
    line-height: <?php echo $flex_nav2_height; ?>px;
	white-space: pre;
	padding: 0 8px;
	height:<?php echo $flex_nav2_height; ?>px;
	<?php if ($flex_nav_trans2 == "no") { ?>
    background-color: #<?php echo $flex_nav2_bgcolor; ?>;
    <?php } else { ?>
    background-color: transparent; 
    <?php } ?>
	text-decoration: none;
    background-image:none;
    margin:0px;
}

#secondary-nav .sf-menu a:hover {
<?php if ($flex_nav_trans2 == "no") { ?>
    background-color: #<?php echo $flex_nav2_tabhvr; ?>;
    <?php } else { ?>
    background-color: transparent; 
    <?php } ?>
}

#secondary-nav .sf-menu a, #secondary-nav .sf-menu a:visited  { 
	color: #<?php echo $flex_nav2_txtclr; ?>;
}

#secondary-nav .sf-menu li li {
	color:#<?php echo $flex_nav2_subtext; ?>;
	background-color:#<?php echo $flex_nav2_subback; ?>;
	border-bottom:<?php echo $flex_nav2_subborder; ?>px solid #<?php echo $flex_nav2_subbrdrclr; ?>;
}

#secondary-nav .sf-menu li li li:first-child {
	border-top:<?php echo $flex_nav2_subborder; ?>px solid #<?php echo $flex_nav2_subbrdrclr; ?>;
}
#secondary-nav .sf-menu li li li {
	background:#<?php echo $flex_nav2_subback; ?>;
}
#secondary-nav .sf-menu a:focus, #secondary-nav .sf-menu a:hover, #secondary-nav .sf-menu a:active, #secondary-nav .sf-menu li.sfHover a {
    <?php if ($flex_nav_trans2 == "no") { ?>
    background-color: #<?php echo $flex_nav2_tabhvr; ?>;
    <?php } else { ?>
    background-color: transparent; 
    <?php } ?>
    color: #<?php echo $flex_nav2_hvrcolor; ?>;
}  

#secondary-nav .sf-menu li.current_page_item a:hover, #secondary-nav .sf-menu li.current-menu-item a:hover {
    color: #<?php echo $flex_nav2_hvrcolor; ?>;
	<?php if ($flex_nav_trans2 == "no") { ?>
    background-color: #<?php echo $flex_nav2_tabhvr; ?>;
    <?php } else { ?>
    background-color: transparent; 
    <?php } ?>
}  
 
#secondary-nav .sf-menu li.current_page_item a, #secondary-nav .sf-menu li.current_page a, #secondary-nav .sf-menu li.current-menu-item a {
	background-position: left -<?php echo $flex_nav2_subheight; ?>px;
    <?php if ($flex_nav_trans2 == "no") { ?>
    background-color: #<?php echo $flex_nav2_tabact; ?>;
    <?php } else { ?>
    background-color: transparent; 
    <?php } ?>  
}

#secondary-nav .sf-menu li.sfHover a {
	<?php if ($flex_nav_trans2 == "no") { ?>
    background-color: #<?php echo $flex_nav2_tabhvr; ?>;
    <?php } else { ?>
    background-color: transparent; 
    <?php } ?>
}
#secondary-nav .sf-menu li.sfHover li a {
	background-color: #<?php echo $flex_nav2_subback; ?>;
    color:#<?php echo $flex_nav2_subtext; ?>;
}
#secondary-nav .sf-menu li li a:focus, #secondary-nav .sf-menu li li a:hover, #secondary-nav .sf-menu li li a:active {
	background-color: #<?php echo $flex_nav2_subhov; ?>; 
    color:#<?php echo $flex_nav2_subtexthov; ?>;
}
#secondary-nav .sf-menu li li.current_page_item a, #secondary-nav .sf-menu li.current_page_item li a, #secondary-nav .sf-menu li li.current-menu-item a, #secondary-nav .sf-menu li.current-menu-item li a {
   background-color: #<?php echo $flex_nav2_subback; ?>;
}
#secondary-nav .sf-menu li li.current_page_item a:hover, #secondary-nav .sf-menu li.current_page_item li a:hover, #secondary-nav .sf-menu li li.current-menu-item a:hover, #secondary-nav .sf-menu li.current-menu-item li a:hover {
   background-color: #<?php echo $flex_nav2_subhov; ?>;
}
#secondary-nav .sf-menu li li.current_page_item, #secondary-nav .sf-menu li li.current-menu-item , #secondary-nav .sf-menu li li.current_page_item a, #secondary-nav .sf-menu li li.current-menu-item a, #secondary-nav .sf-menu li li.current_page_item a span, #secondary-nav .sf-menu li li.current-menu-item a span{
    background-color: #<?php echo $flex_nav2_subact; ?>;
}
#secondary-nav .sf-menu li li.current_page_item .children a, #secondary-nav .sf-menu li li.current_page_item .children a span, #secondary-nav .sf-menu li li.current-menu-item .children a, #secondary-nav .sf-menu li li.current-menu-item .children a span{
    background-color: #<?php echo $flex_nav2_subback; ?>;
}
#secondary-nav .sf-menu li li.current_page_item .sub-menu a, #secondary-nav .sf-menu li li.current_page_item .sub-menu a span, #secondary-nav .sf-menu li li.current-menu-item .sub-menu a, #secondary-nav .sf-menu li li.current-menu-item .sub-menu a span{
    background-color: #<?php echo $flex_nav2_subback; ?>;
}
#secondary-nav .sf-menu li li.current_page_item .children a:hover, #secondary-nav .sf-menu li li.current_page_item .children a:hover span, #secondary-nav .sf-menu li li.current-menu-item .children a:hover, #secondary-nav .sf-menu li li.current-menu-item .children a:hover span{
    background-color: #<?php echo $flex_nav2_subhov; ?>;
}
#secondary-nav .sf-menu li li.current_page_item .sub-menu a:hover, #secondary-nav .sf-menu li li.current_page_item .sub-menu a:hover span, #secondary-nav .sf-menu li li.current-menu-item .sub-menu a:hover, #secondary-nav .sf-menu li li.current-menu-item .sub-menu a:hover span{
    background-color: #<?php echo $flex_nav2_subhov; ?>;
}
#secondary-nav .sf-menu li li.current_page_item a:hover, #secondary-nav .sf-menu li li.current-menu-item a:hover {
	color:#<?php echo $flex_nav2_subtext; ?>;
}
#secondary-nav .sf-menu li:hover, #secondary-nav .sf-menu li.sfHover {
    color: #<?php echo $flex_nav2_subtext; ?>;
} 
#secondary-nav .sf-menu li:hover li, #secondary-nav .sf-menu li.sfHover li, #secondary-nav .sf-menu li.sfHover li {
	background: #<?php echo $flex_nav2_subback; ?>; 
    color:#<?php echo $flex_nav2_subtext; ?>;
}
#secondary-nav .sf-menu li.sfHover li a:hover {
    color: #<?php echo $flex_nav2_subtexthov; ?>;
}
#secondary-nav .sf-menu li li a {
	padding: 0px 8px;
    width:			<?php echo ($flex_nav2_subwidth - 16); ?>px;
    height:100%;
    line-height:<?php echo $flex_nav2_subheight; ?>px;
}

#secondary-nav a > span.sf-sub-indicator { 
	top:			<?php echo floor(($flex_nav2_height / 2)-5); ?>px;
}

#secondary-nav li.sfHover a > .sf-sub-indicator, #secondary-nav li.current_page_item a > .sf-sub-indicator, #secondary-nav ul ul a > span.sf-sub-indicator {
	top:			<?php echo floor(($flex_nav2_height / 2)-5); ?>px;
	}

#secondary-nav .sf-menu a.sf-with-ul {
	padding-right: 	25px !important;
	min-width:		1px; /* trigger IE7 hasLayout so spans position accurately */
}

#secondary-nav .sf-menu ul a.sf-with-ul {
	padding-right: 	8px !important;
}

#secondary-nav .sf-menu a.sf-with-ul span.sf-sub-indicator {
	background:	transparent url('images/arrows-<?php echo $flex_nav2_arrows ; ?>.png') no-repeat -10px -100px;; /* 8-bit indexed alpha png. IE6 gets solid image only */
}

#secondary-nav .sf-menu ul a.sf-with-ul span.sf-sub-indicator { right: .5em; top: <?php echo round(($flex_nav2_subheight / 2) - 5); ?>px;}

#secondary-nav .sf-menu ul a.sf-with-ul span.sf-sub-indicator { background-position:  -10px 0; }
#secondary-nav .sf-menu ul a.sf-with-ul > span.sf-sub-indicator { background-position:  0 0; }

#secondary-nav .sf-menu ul a:focus > .sf-sub-indicator, #secondary-nav .sf-menu ul a:hover > .sf-sub-indicator, #secondary-nav .sf-menu ul a:active > .sf-sub-indicator, #secondary-nav .sf-menu ul li:hover > a > .sf-sub-indicator, #secondary-nav .sf-menu ul li.sfHover > a > .sf-sub-indicator { background-position: -10px 0; }

#secondary-nav .sf-menu li {
	z-index:8;
}
#secondary-nav .sf-menu li:hover ul, #secondary-nav .sf-menu li.sfHover ul {
	z-index:		90;
}
#secondary-nav .sf-menu a.sf-with-ul span.sf-sub-indicator {
	right:			10px;
}

.headwidget {
	float:right;
}
#header #searchform {
	width: 242px;
	height: 31px;
	background: url(images/searchboxes/<?php echo $flex_search_img; ?>) left 0px no-repeat;
	position: absolute;
	top: <?php echo $searchbox; ?>px;
	right: 15px;
}
*:first-child+html #header #searchform { /* Filter for IE7 */
  	padding: 0px 0;
}
* html #header #searchform { /* Filter for IE6 */
  	padding: 5px 0;
}
* html #header #searchbox { /* Filter for IE6 */
  	margin-top: 0px;
}
#header #searchbox {
	margin-left: 28px;
	margin-top:6px;
	margin-bottom: 3px;
	width: 140px;
	background: none;
	border: none;
	color: #<?php echo $flex_search_color; ?>;
	font-size: 11px;
}
#header #searchbutton {
  	width: 50px;
  	background: none;
  	border: none;
  	margin-left:10px;

}
#header #searchbutton:hover {
	cursor: pointer;
}
#sidebar-top #searchform2<?php if ($flex_sidebar_bsl == "right sidebar") { ?>, #sidebar-bottom #searchform2<?php } ?> {
	width: <?php echo ($flex_rsb_width - 15); ?>px;
	padding:8px;
}
#sidebar-top input#searchbox2<?php if ($flex_sidebar_bsl == "right sidebar") { ?>, #sidebar-bottom input#searchbox2<?php } ?> {
	width: <?php echo ($flex_rsb_width - 130); ?>px;
	padding:2px;
}
#sidebar-top input#searchbutton2<?php if ($flex_sidebar_bsl == "right sidebar") { ?>, #sidebar-bottom input#searchbutton2<?php } ?> {
	width: 100px;
	padding: 2px 0;
	color: #<?php echo $flex_sidebar_title; ?>;
	background: #<?php echo $flex_sidebar_titlebackground; ?> url(images/form-btn-bg.png) no-repeat center;
	border: 1px solid #<?php echo $flex_sidebar_boxborder; ?>;
	cursor:pointer;
}
#sidebar-top input#searchbutton2:hover, #sidebar-bottom input#searchbutton2:hover {
	background-image:none;
}
#sidebar-top #s<?php if ($flex_sidebar_bsl == "right sidebar") { ?>, #sidebar-bottom #s<?php } ?> {
	margin: 20px 0 5px 0;
	width: <?php echo $flex_rsb_width; ?>px;
}

#sidebar-left #searchform2<?php if ($flex_sidebar_bsl == "left sidebar") { ?>, #sidebar-bottom #searchform2<?php } ?>  {
	<?php if ($flex_ssb_loc == "left" && $flex_rsidebar_show == "yes") { ?>
    	width: <?php echo $flex_lsidebar_width; ?>px;	
        <?php } else if ($flex_ssb_loc == "left" && $flex_rsidebar_show == "no") { ?>
        width: <?php echo ($flex_lsb_width - 10); ?>px;
        <?php } else if ($flex_ssb_loc == "both") { ?>
        width: <?php echo ($flex_lsb_width - 10); ?>px;
        <?php } else if ($flex_ssb_loc == "right" && $flex_rsidebar_show == "yes") { ?>
        width: <?php echo $flex_lsidebar_width; ?>px;	
        <?php } else if ($flex_ssb_loc == "right" && $flex_rsidebar_show == "no") { ?>
        width: <?php echo ($flex_rsb_width - 10); ?>px;
        <?php } else { ?>
        width: 200px;
        <?php } ?>
	padding:8px;
}
#sidebar-left input#searchbox2<?php if ($flex_sidebar_bsl == "left sidebar") { ?>, #sidebar-bottom input#searchbox2<?php } ?> {
	<?php if ($flex_ssb_loc == "left" && $flex_rsidebar_show == "yes") { ?>
    	width: <?php echo $flex_lsidebar_width - 100; ?>px;	
        <?php } else if ($flex_ssb_loc == "left" && $flex_rsidebar_show == "no") { ?>
        width: <?php echo ($flex_lsb_width - 110); ?>px;
        <?php } else if ($flex_ssb_loc == "both") { ?>
        width: <?php echo ($flex_lsb_width - 110); ?>px;
        <?php } else if ($flex_ssb_loc == "right" && $flex_rsidebar_show == "yes") { ?>
        width: <?php echo $flex_lsidebar_width - 100; ?>px;	
        <?php } else if ($flex_ssb_loc == "right" && $flex_rsidebar_show == "no") { ?>
        width: <?php echo ($flex_rsb_width - 110); ?>px;
        <?php } else { ?>
        width: 200px;
        <?php } ?>
	padding:2px;
}
#sidebar-left input#searchbutton2<?php if ($flex_sidebar_bsl == "left sidebar") { ?>, #sidebar-bottom input#searchbutton2<?php } ?> {
	width: 75px;
	padding: 2px 0;
	color: #<?php echo $flex_sidebar_title; ?>;
	background: #<?php echo $flex_sidebar_titlebackground; ?> url(images/form-btn-bg.png) no-repeat center;
	border: 1px solid #<?php echo $flex_sidebar_boxborder; ?>;
	cursor:pointer;
}
#sidebar-left input#searchbutton2:hover {
	background-image:none;
}
#sidebar-left #s {
	margin: 20px 0 5px 0;
	width: <?php echo $flex_lsidebar_width; ?>px;
}
#sidebar-right #searchform2 {
	<?php if ($flex_ssb_loc == "right" && $flex_lsidebar_show == "yes") { ?>
    	width: <?php echo $flex_rsidebar_width; ?>px;	
        <?php } else if ($flex_ssb_loc == "right" && $flex_lsidebar_show == "no") { ?>
        width: <?php echo ($flex_rsb_width - 10); ?>px;
        <?php } else if ($flex_ssb_loc == "both") { ?>
        width: <?php echo ($flex_rsb_width - 10); ?>px;
        <?php } else if ($flex_ssb_loc == "left" && $flex_lsidebar_show == "yes") { ?>
        width: <?php echo $flex_rsidebar_width; ?>px;	
        <?php } else if ($flex_ssb_loc == "left" && $flex_lsidebar_show == "no") { ?>
        width: <?php echo ($flex_lsb_width - 10); ?>px;
        <?php } else { ?>
        width: 200px;
        <?php } ?>
}
#sidebar-right input#searchbox2 {
	<?php if ($flex_ssb_loc == "right" && $flex_lsidebar_show == "yes") { ?>
    	width: <?php echo $flex_rsidebar_width - 100; ?>px;	
        <?php } else if ($flex_ssb_loc == "right" && $flex_lsidebar_show == "no") { ?>
        width: <?php echo ($flex_rsb_width - 110); ?>px;
        <?php } else if ($flex_ssb_loc == "both") { ?>
        width: <?php echo ($flex_rsb_width - 110); ?>px;
        <?php } else if ($flex_ssb_loc == "left" && $flex_lsidebar_show == "yes") { ?>
        width: <?php echo $flex_rsidebar_width - 100; ?>px;	
        <?php } else if ($flex_ssb_loc == "left" && $flex_lsidebar_show == "no") { ?>
        width: <?php echo ($flex_lsb_width - 110); ?>px;
        <?php } else { ?>
        width: 200px;
        <?php } ?>
	padding:2px;
}
#sidebar-right input#searchbutton2 {
	width: 75px;
	padding: 2px 0;
	color: #<?php echo $flex_sidebar_title; ?>;
	background: #<?php echo $flex_sidebar_titlebackground; ?> url(images/form-btn-bg.png) no-repeat center;
	border: 1px solid #<?php echo $flex_sidebar_boxborder; ?>;
	cursor:pointer;
}
#sidebar-left input#searchbutton2:hover {
	background-image:none;
}
#sidebar-right #s {
	margin: 20px 0 5px 0;
	width: <?php echo $flex_rsidebar_width; ?>px;
}
#header .headerwidget {
	width:<?php echo $flex_hwid_width; ?>px;
    height:<?php echo $flex_hwid_height; ?>px;
	position: absolute;
	top:<?php echo $flex_hwid_tpos; ?>px;
	right:<?php echo $flex_hwid_rpos; ?>px;
    text-align:<?php echo $flex_hwid_falign; ?>;
	color: #<?php echo $flex_hwid_clr; ?>;
    font: normal <?php echo $flex_hwid_size; ?>px/<?php echo ($flex_hwid_size + 4); ?>px <?php echo $flex_hwid_font; ?>, Helvetica, Georgia;
}
#header .headerwidget a {
	color: #<?php echo $flex_hwid_linkclr; ?>;
}
#header .headerwidget a:hover {
	color: #<?php echo $flex_hwid_hvr; ?>;
}
.headerwidget p {
	padding-top:0px;
    margin-top:0px;
}
p.headtitle {
	color: #<?php echo $flex_rss_color; ?>;
    font-weight: bold;
    padding-right:8px;
    padding-top:0px;
    margin-top:0px;
}
p.headtitle a {
	color: #<?php echo $flex_rss_color; ?>;
}
p.headtitle a:hover {
	color: #<?php echo $flex_rss_hover; ?>;
}
#rssfeeds {
	width:300px;
	height: 70px;
	position: absolute;
	padding-top: 0px;
	bottom:0px;
	right:22px;
	color: #<?php echo $flex_rss_color; ?>;
}
#rssicon {
	float:right;
    margin-left:5px;
}
#rssfeeds a {
	color: #<?php echo $flex_rss_color; ?>;
    text-decoration:underline;
}
#rssfeeds a:hover {
	color: #<?php echo $flex_rss_hover; ?>;
}
#rssfeeds p {
	line-height:16px;
	margin:0;
	padding:27px 0px 0 0;
	text-align: right;
}
#feature {
	<?php if ($flex_feat_shadow == "yes" && !$flex_feat_custbg) { ?>
	background: url(images/feature-bg.png) no-repeat bottom left;
    <?php } else if ($flex_feat_custbg) { ?>
    background: url(<?php echo $flex_feat_custbg; ?>) no-repeat top center;
    <?php } ?>
    background-color: #<?php echo $flex_feat_bgcolor; ?>;
    width: <?php echo $flex_blog_width; ?>px;
    clear:both;
    color: #<?php echo $flex_feat_txtcolor; ?>;
    padding-bottom:10px;
	margin:<?php echo $flex_mar_feattop; ?>px 0 <?php echo $flex_mar_feat; ?>px 0;
    <?php if ($flex_feat_height) { ?>
    height: <?php echo ($flex_feat_height - 10); ?>px;
    <?php } ?>
}
#feature .topshadow {
	<?php if ($flex_feat_shadow == "yes") { ?>
	background: url(images/feature-shadow.png) no-repeat top left;
    <?php } ?>
    width: <?php echo $flex_blog_width; ?>px;
}
#feature h2 {
    padding:0px;
        margin:0px 0px 10px 0px;
	color: #<?php echo $flex_feat_titlecolor; ?>;
	font-family: <?php echo $flex_sidebar_topfont; ?>, Arial, Helvetica;
	font-size: <?php echo $flex_feat_fontsize; ?>px;
}	
#feature a, #feature a:visited, #feature a:active {
	color: #<?php echo $flex_feat_linkcolor; ?>;
}
#feature a:hover {
	color: #<?php echo $flex_feat_hovercolor; ?>;
}
#feature .textwidget {
	padding:0px;
	color: #<?php echo $flex_feat_txtcolor; ?>;
}
#feature ul {
	list-style-type:none;
    padding:0px;   
}
#feature ul.children {
	margin:3px 0 0px 0;
	padding: 0px 0px 3px 0px;
	border:none;
}
#feature ul.children li{
    padding-bottom: 0px;
}
#feature ul li{
	list-style-type:none;
<?php if ($flex_feat_bullet == "light arrow") { ?>
	background:url(images/liarrow.png) no-repeat left top; padding-left:10px;
<?php } elseif ($flex_feat_bullet == "light square dot") { ?>
	background:url(images/lidot.png) no-repeat left top; padding-left:10px;
<?php } elseif ($flex_feat_bullet == "dark arrow") { ?>
	background:url(images/liarrow-dark.png) no-repeat left top; padding-left:10px;
<?php } elseif ($flex_feat_bullet == "dark square dot") { ?>
	background:url(images/lidot-dark.png) no-repeat left top; padding-left:10px;
<?php } elseif ($flex_feat_bullet == "none") { ?>
	background: none; padding-left:0px;
<?php  } ?>
	padding-bottom:3px;
}
#feature ul li a {
	text-decoration:none;
}
.feat_box {
	padding:15px 15px 15px 15px;
    margin:0px;
	width: <?php echo $featwidgets; ?>px;
    float: left;
}
#content {
	width:<?php echo $pagewidth; ?>px;
	position:relative;
	float:left;
	color: #<?php echo $flex_blog_tc; ?>;
    background-color: <?php if ($flex_content_trans == "yes") { ?>transparent<?php } else { ?>#<?php echo $flex_content_color; ?><?php } ?>;
	padding:<?php if ($flex_content_trans == "no") { echo $flex_blog_padding; } else { echo '0'; }?>px 0px 0px <?php if ($flex_content_trans == "yes") { echo '0'; } else { echo $flex_blog_padding; } ?>px;
    margin: 0 0 <?php if ($flex_footer_fw == "no") { echo $flex_mar_cont; } else { echo '0'; }?>px 0;
}
.post a:link, .post a:visited, .post a:active {
	text-decoration:none;
	color: #<?php echo $flex_link_color; ?>;
	border:0;
	outline: 0;
}
.post a:hover {
	text-decoration:underline;
	color: #<?php echo $flex_link_hover; ?>;
	border:0;
	outline: 0;
}
.posthead h1, .posthead h2 {
	margin:0px;
	text-align: <?php echo $flex_post_titalign; ?>;
	padding:<?php echo $flex_post_h1pad; ?>px 8px <?php echo $flex_post_h1pad; ?>px 15px;
	background-color: #<?php echo $flex_post_titlebg; ?>;
	font: <?php echo $flex_post_weight; ?> <?php echo $flex_post_size; ?>px/<?php echo $lineheight; ?>px <?php echo $flex_post_font; ?>;
	border-bottom: <?php echo $flex_ptitle_uline; ?> <?php echo $flex_ptitle_ulines; ?>px #<?php echo $flex_ptitle_ulinec; ?>;
}
.postwrap {
	float:left;
	width:<?php echo $contentwidth; ?>px;
	padding:0px <?php if ($flex_lsb_show == "yes" && $flex_rsb_show == "yes" && $flex_lsb_pos == "right of post") { echo $flex_blog_padding; } else { echo 0; } ?>px 0px 0px;
    margin-bottom:5px;
}
.post {
	background-color: #<?php echo $flex_post_clr; ?>;
	margin-bottom:<?php echo $flex_blog_padding; ?>px;
	padding:0px;
	border: solid <?php echo $flex_post_brdrsize; ?>px #<?php echo $flex_post_brdr; ?>;
}
.postwrap p {
	line-height:140%;
}
.posthead {
	padding-bottom:0px;
	position:relative;
	clear:left;
	margin-bottom: 0px;
}
#content .posthead h1, #content .posthead h1 a, #content .posthead h2, #content .posthead h2 a {
	color: #<?php echo $flex_post_color; ?>;
}
#content .posthead h1 a:hover, #content .posthead h2 a:hover, #content .postMeta a:hover {
	text-decoration: none;
	color: #<?php echo $flex_post_hover; ?>;
}
.postMeta {
<?php if ($flex_metadata_bg == "yes") { ?>
	background: url(images/meta-bg.png) no-repeat left top;
<?php  } ?>
	background-color: #<?php echo $flex_metadata_color; ?>;
	color: #<?php echo $flex_metadata_link; ?>;
	margin:0px;
	padding:5px 15px 5px 15px;
	font-size: 11px;
    height:20px;
    <?php if ($flex_metadata_show == "no" && $flex_metadata_comoff== "no") { echo 'display:none;'; } ?>
}
.postMeta a, .postMeta a:link, .postMeta a:visited, .postMeta a:active {
	text-decoration: none;
    color: #<?php echo $flex_metadata_link; ?>;
}
#content .postMeta a:hover {
	text-decoration: underline;
    color: #<?php echo $flex_metadata_link; ?>;
}
div.commentcount {
	padding-left: 24px;
	background: url(images/comment.png) left top no-repeat;
	text-decoration: none;
	padding-top: 3px;
	padding-bottom: 3px;
    float:right;
}
div.postdate {
	padding-left: 24px;
	background: url(images/date.png) left top no-repeat;
	text-decoration: none;
	padding-top: 3px;
	padding-bottom: 3px;
    float:left;
}
#content .postcontent {
	padding:8px 15px 10px 15px;
	line-height: 140%;
	color: #<?php echo $flex_posttext_color; ?>;
}
#content .postcontent a {
<?php if ($flex_link_und == "yes") { ?>
	text-decoration: underline;
	<?php } else { ?>
	text-decoration: none;
	<?php } ?>
}
pre {
	background-color: #F9F8E3;
    border: 1px dotted #999;
    padding: 0px 8px 15px 8px;
    margin:0 15px 10px 15px;
}	
.more-link {
	font-weight:700;
	margin-top:15px;
	height: 16px;
	width: 300px;
	display: block;
}
.Note {
	margin:0px;
    padding:0px;
    font-size:11px;
}
#content ul.Note li a, #content ul.Note li a:link, #content ul.Note li a:visited {
	color: #<?php echo $flex_blog_tc; ?>;
}
ul.Note {
	margin-top:0px;
	padding:5px;

}
.Note li {
	list-style-type:none;
	padding:2px 0 2px 15px;
}
.NoteRss {
	background:url(images/NoteRss.png) no-repeat left 2px;
    display:inline;
    margin-left:5px;
}
.NoteTrackBack {
	background:url(images/NoteTrackBack.gif) no-repeat left 2px;
    display:inline;
    margin-left:10px;
}

.comment-wrap { 
	padding-left:10px;
    padding-right:10px;
	padding-top: 10px;
	padding-bottom: 10px;
	display: block;
}
.commentdate {
	padding-left:0;
}
#commentlist li p {
	margin-bottom:8px;
	line-height: 120%;
	padding:0;
}
.commentlist li.alt .commenttext {
	clear: both;
}
.commentname {
	margin:0;
	padding:5px 5px 5px 0;
}
.commentinfo {
	clear:both;
}
.commenttext {
	clear:both;
	padding-top: 10px;
    display:block;
	margin-bottom: 0px;
}
.comment-wrap blockquote, .comment-wrap blockquote blockquote {
	margin-bottom:10px;
	margin-top: 8px;
    background: url(images/comments-lighter.png) no-repeat top left;
    border: 1px solid #000;
}
.commenttext p {
	margin:0;
	padding:0 0 10px 0;
}
#commentform #submit {
	color: #<?php echo $flex_comments_buttext; ?>;
	font-family:Arial, Helvetica;
	font-size:14px;
	font-weight:700;
	border:1px solid #000;
	display:block;
	margin:0;
	padding:4px;
	background-color: #<?php echo $flex_comments_button; ?>;
}
#commentform input, #commentform textarea {
	padding:5px;
	background-color: #<?php echo $flex_comments_background; ?>;
    border: solid 1px #<?php echo $flex_comments_border; ?>;
    color: #<?php echo $flex_blog_tc ?>;
}
#commentform textarea {
	width: 98%;
}
p.meta {
	margin: 0 0 5px 0;
	padding: 0px;
	float: left;
}
p.meta a {
	text-decoration: none;
}
p.approval {
	font-style: italic;
	clear: left;
}
p.commenttitle {
	font: 18px Georgia, "Times New Roman", Times, serif;
	margin-top: 0px;
	padding-top: 0px;
} 
#sidebar {
	float:right;
	width:<?php echo $flex_rsb_width; ?>px;
	margin-top:0px;
	position:relative;
	padding-right: 0px;
	margin-bottom: 15px;
    margin-left:<?php echo $flex_blog_padding; ?>px;
    <?php if ($flex_content_trans == "no") { ?>
    margin-right:<?php echo $flex_blog_padding; ?>px;
    <?php } ?>
}
#left-sidebar {
	float:left;
	width:<?php echo $flex_lsb_width; ?>px;
	margin-top:0px;
	position:relative;
	padding-left: 0px;
	margin-bottom: 15px;
    margin-left:0px;
    margin-right:<?php if ($flex_lsb_show == "yes" && $flex_rsb_show == "yes" && $flex_lsb_pos == "right of post") { echo 0; } else { echo $flex_blog_padding; } ?>px;
}
#sidebar ul, #left-sidebar ul, #feature ul{
	margin: 0px;
    padding: 0 0 0 8px;
}
#sidebar-top<?php if ($flex_sidebar_bsl == "right sidebar") { ?>, #sidebar-bottom<?php } ?> {
	width: <?php echo $flex_rsb_width; ?>px;
	padding:0px;
    color: #<?php echo $flex_sidebar_textcolor; ?>;
    font-family: <?php echo $flex_sidebar_font; ?>, Arial, Helvetica;
    font-size: <?php echo $flex_sidebar_fontsize; ?>px;
}	

#left-sidebar-top<?php if ($flex_sidebar_bsl == "left sidebar") { ?>, #sidebar-bottom<?php } ?> {
	width: <?php echo $flex_lsb_width; ?>px;
	padding:0px;
    color: #<?php echo $flex_sidebar_textcolor; ?>;
    font-family: <?php echo $flex_sidebar_font; ?>, Arial, Helvetica;
    font-size: <?php echo $flex_sidebar_fontsize; ?>px;
}
#sidebar-bottom { 
	padding-top:<?php if ($flex_blog_padding >= 10) { echo $flex_blog_padding; } else { echo 10; } ?>px ;
}
#sidebar-top h5, #sidebar-bottom h5, #left-sidebar-top h5 {
    margin:0px;
	padding: 8px <?php if ($flex_sidebar_align == "left") { echo 8; } else { echo 10; } ?>px 8px <?php if ($flex_sidebar_arrow == "yes" && $flex_sidebar_h5bg != "None") { ?>23px<?php } else { ?>10px<?php } ?>;
	color: #<?php echo $flex_sidebar_title; ?>;
	font-family: <?php echo $flex_sidebar_topfont; ?>, Arial, Helvetica;
	font-size: <?php echo $flex_sidebar_tfontsize; ?>px;
    <?php if ($flex_sidebar_h5bg != "None") { ?>
	background: url(images/sidebars/<?php echo $flex_sidebar_h5bg; ?>.png) repeat-x <?php if ($flex_sidebar_arrow == "yes") { ?>0px<?php } else { ?>-20px<?php } ?> center;
    <?php } ?>
	background-color: #<?php echo $flex_sidebar_titlebackground; ?>;
    border-bottom: solid 1px #<?php echo $flex_sidebar_boxborder; ?>;
	text-transform: <?php echo $flex_sidebar_case; ?>;
	letter-spacing: <?php echo $flex_sidebar_tfontspace; ?>px;
	text-align: <?php echo $flex_sidebar_align; ?>;
}
#sidebar-top a, #sidebar-top a:visited, #sidebar-top a:active, #sidebar-bottom a, #sidebar-bottom a:visited, #sidebar-bottom a:active, #left-sidebar-top a, #left-sidebar-top a:visited, #left-sidebar-top a:active {
	color: #<?php echo $flex_sidebar_textlink; ?>;
}
#sidebar-top a:hover, #sidebar-bottom a:hover, #left-sidebar-top a:hover{
	color: #<?php echo $flex_sidebar_hovercolor; ?>;
}

#sidebar-top .textwidget, #sidebar-bottom .textwidget, #left-sidebar-top .textwidget {
	padding:10px;
	color: #<?php echo $flex_sidebar_textcolor; ?>;
}
#sidebar-top ul, #sidebar-bottom ul, #left-sidebar-top ul {
	list-style-type:none;
    padding:10px;   
}
#sidebar-top ul ul, #sidebar-bottom ul ul, #left-sidebar-top ul ul{
    padding:0px;   
}
#sidebar-top .widget, #sidebar-bottom .widget, #left-sidebar-top .widget {
    margin:0px 0px <?php echo $flex_blog_padding;?>px 0px;
	background-color: #<?php echo $flex_sidebar_boxcolor; ?>;
	border: solid <?php echo $flex_sidebar_brdrsize; ?>px #<?php echo $flex_sidebar_boxborder; ?>;	
}
#sidebar-top ul.children li, #sidebar-bottom ul.children li, #left-sidebar-top ul.children li {
    padding-bottom: 0px;
}
#sidebar-top ul li, #sidebar-bottom ul li, #left-sidebar-top ul li {
	list-style-type:none;
<?php if ($flex_sidebar_list == "light arrow") { ?>
	background:url(images/liarrow.png) no-repeat left <?php echo ($flex_sidebar_fontsize - 12); ?>px; padding:0 0 0px 8px;
<?php } elseif ($flex_sidebar_list == "light square dot") { ?>
	background:url(images/lidot.png) no-repeat left <?php echo ($flex_bsidebar_fontsize - 12); ?>px; padding:0 0 0px 8px;
<?php } elseif ($flex_sidebar_list == "dark arrow") { ?>
	background:url(images/liarrow-dark.png) no-repeat left <?php echo ($flex_sidebar_fontsize - 12); ?>px; padding:0 0 0px 8px;
<?php } elseif ($flex_sidebar_list == "dark square dot") { ?>
	background:url(images/lidot-dark.png) no-repeat left <?php echo ($flex_sidebar_fontsize - 12); ?>px; padding:0 0 0px 8px;
<?php } elseif ($flex_sidebar_list == "none") { ?>
	background: none; padding-left:0px;
<?php  } ?>
	line-height: 120%;
    margin:4px 0 4px 0;
}
#sidebar-top ul li a, #sidebar-bottom ul li a, #left-sidebar-top ul li a {
	text-decoration:none;
}
#sidebar-left a, #sidebar-left a:visited, #sidebar-left a:active, #sidebar-right a, #sidebar-right a:visited, #sidebar-right a:active {
	color: #<?php echo $flex_lsidebar_linkcolor; ?>;
	text-decoration: none;
}
#left-sidebar #sidebar-left, #sidebar #sidebar-left, #sidebar #sidebar-right {
	color: #<?php echo $flex_lsidebar_txtcolor; ?>;
}
#sidebar-left a:hover, #sidebar-right a:hover {
	color: #<?php echo $flex_lsidebar_hovercolor; ?>;
}
#sidebar-left {
	float:left;
	<?php if ($flex_ssb_loc == "left" && $flex_rsidebar_show == "yes") { ?>
    	width: <?php echo $flex_lsidebar_width; ?>px;	
        <?php } else if ($flex_ssb_loc == "left" && $flex_rsidebar_show == "no") { ?>
        width: <?php echo ($flex_lsb_width - 10); ?>px;
        <?php } else if ($flex_ssb_loc == "both") { ?>
        width: <?php echo ($flex_lsb_width - 10); ?>px;
        <?php } else if ($flex_ssb_loc == "right" && $flex_rsidebar_show == "yes") { ?>
        width: <?php echo $flex_lsidebar_width; ?>px;	
        <?php } else if ($flex_ssb_loc == "right" && $flex_rsidebar_show == "no") { ?>
        width: <?php echo ($flex_rsb_width - 10); ?>px;
        <?php } else { ?>
        width: 200px;
        <?php } ?>
	padding:0 4px 0 4px;
    font-family: <?php echo $flex_lsidebar_font; ?>, Arial, Helvetica;
    font-size: <?php echo $flex_lsidebar_fontsize; ?>px;
}
#sidebar-left h5, #sidebar-right h5 {
	margin:<?php if ($flex_blog_padding >= 8) { echo $flex_blog_padding; } else { echo 8; } ?>px 0px 10px 0px;
	padding-left: 5px;
	float:left;
	width:100%;
	color: #<?php echo $flex_lsidebar_titlecolor; ?>;
	border-bottom: <?php echo $flex_sidebar_uline; ?> <?php echo $flex_sidebar_ulines; ?>px #<?php echo $flex_sidebar_ulinec; ?>;
	font-family: <?php echo $flex_sidebar_ssfont; ?>, Arial, Helvetica;
	font-size: <?php echo $flex_sidebar_ssfontsize; ?>px;
	text-transform: <?php echo $flex_sidebar_scase; ?>;
	letter-spacing: <?php echo $flex_sidebar_sfontspace; ?>px;
	text-align: <?php echo $flex_sidebar_salign; ?>;
}
#sidebar-right {
	float:right;
    <?php if ($flex_ssb_loc == "right" && $flex_lsidebar_show == "yes") { ?>
    	width: <?php echo $flex_rsidebar_width; ?>px;	
        <?php } else if ($flex_ssb_loc == "right" && $flex_lsidebar_show == "no") { ?>
        width: <?php echo ($flex_rsb_width - 10); ?>px;
        <?php } else if ($flex_ssb_loc == "both") { ?>
        width: <?php echo ($flex_rsb_width - 10); ?>px;
        <?php } else if ($flex_ssb_loc == "left" && $flex_lsidebar_show == "yes") { ?>
        width: <?php echo $flex_rsidebar_width; ?>px;	
        <?php } else if ($flex_ssb_loc == "left" && $flex_lsidebar_show == "no") { ?>
        width: <?php echo ($flex_lsb_width - 10); ?>px;
        <?php } else { ?>
        width: 200px;
        <?php } ?>
	padding:0 4px 0 4px;
    font-family: <?php echo $flex_lsidebar_font; ?>, Arial, Helvetica;
    font-size: <?php echo $flex_lsidebar_fontsize; ?>px;
}
#sidebar-left ul , #sidebar-right ul {
	padding-left:5px;
}
#sidebar-left ul ul, #sidebar-right ul ul{
	padding-left:2px;
}
#sidebar-right ul li, #sidebar-left ul li {
<?php if ($flex_lsidebar_list == "light arrow") { ?>
	background:url(images/liarrow.png) no-repeat left <?php echo ($flex_lsidebar_fontsize - 12); ?>px; padding:0 0 0px 8px;
<?php } elseif ($flex_lsidebar_list == "light square dot") { ?>
	background:url(images/lidot.png) no-repeat left <?php echo ($flex_lsidebar_fontsize - 12); ?>px; padding:0 0 0px 8px;
<?php } else if ($flex_lsidebar_list == "dark arrow") { ?>
	background:url(images/liarrow-dark.png) no-repeat left <?php echo ($flex_lsidebar_fontsize - 12); ?>px; padding:0 0 0px 8px;
<?php } elseif ($flex_lsidebar_list == "dark square dot") { ?>
	background:url(images/lidot-dark.png) no-repeat left <?php echo ($flex_lsidebar_fontsize - 12); ?>px; padding:0 0 0px 8px;
<?php } elseif ($flex_lsidebar_list == "none") { ?>
	background: none; padding:0 0 5px 0px;
<?php  } ?>
	list-style:none;
	margin:0;
    width:95%;
	line-height: 140%;
}
#sidebar-left li, #sidebar-right li {
	float:left;
	width:100%;
    list-style:none;
}
#sidebar-top h5 a.rsswidget, #sidebar #sidebar-bottom h5 a.rsswidget, #left-sidebar #sidebar-bottom h5 a.rsswidget, #left-sidebar-top h5 a.rsswidget {
	color: #<?php echo $flex_sidebar_title; ?>;
	text-decoration: none;
}
#sidebar-left h5 a.rsswidget, #sidebar-bottom h5 a.rsswidget, #sidebar-right h5 a.rsswidget {
	color: #<?php echo $flex_lsidebar_titlecolor; ?>;
	text-decoration: none;
}
#sidebar .rsswidget img, #left-sidebar .rsswidget img {
	float: left;
	margin-top: 2px;
	margin-right: 7px;
}
#footer {
	<?php if ($flex_footer_fw == "no") { ?>
	float:left;
	width: <?php echo $footerwidth; ?>px;
    <?php } else { ?>
    float:left;
    width: 100%;
    <?php } ?>
    <?php if ($flex_footer_bgimg == "yes" && $flex_footer_fw == "yes" && $flex_footer_trans == "no") { ?>
	background: url(images/feature-shadow.png) repeat-x top left;
    <?php } ?>
    background-color: #<?php echo $flex_footer_color; ?>;
	color: #<?php echo $flex_footer_text; ?>;
	font:<?php echo $flex_blog_size; ?>px <?php echo $flex_blog_font; ?>, Arial, sans-serif;
	padding:0px;
	margin: 0px;
    
}
#squeeze #footer {
	width: <?php echo $flex_squeeze_width; ?>px;
    background-color: #<?php echo $flex_squeeze_footcolor; ?>;
    color: #<?php echo $flex_squeeze_txtcolor; ?>;
    text-align:center;
    border: none;
}
#footer a:link, #footer a:visited, #footer a:hover, #footer a:active, #footer a:focus {
	color: #<?php echo $flex_footer_link; ?>;
    <?php if (get_option('flex_footer_ul') == "yes") { ?>
	text-decoration:underline;
    <?php } else { ?>
    text-decoration:none;
    <?php } ?>
}
#squeeze #footer a:link, #squeeze #footer a:visited, #squeeze #footer a:active, #squeeze #footer a:focus {
	color: #<?php echo $flex_squeeze_txtcolor; ?>;
	text-decoration:none;
}
#squeeze #footer a:hover {
	text-decoration:underline;
}
#footerdark {
	<?php if ($flex_footer_bgimg == "yes" && !$flex_foot_darkcustbg) { ?>
	background: url(images/footerdark.png) repeat-x top left;
    <?php } else if ($flex_foot_darkcustbg && ($flex_footer_dcbrepeat == "center")) {?>
    background: url(<?php echo $flex_foot_darkcustbg; ?>) no-repeat center top;
    <?php } else if ($flex_foot_darkcustbg && ($flex_footer_dcbrepeat == "repeat")) {?>
    background: url(<?php echo $flex_foot_darkcustbg; ?>) repeat-x center top;
    <?php } ?>
    <?php if ($flex_footer_fw == "no") { ?>
	float:left;
	width: <?php echo $footerwidth; ?>px;
    <?php } else { ?>
    width: 100%;
    <?php } ?>
    padding:7px 0 25px 0;
    <?php if ($flex_foot_darkht) { ?>
    height: <?php echo ($flex_foot_darkht - 32); ?>px;
    <?php } ?>
}
#footercontent {
	width: <?php echo $footerwidth; ?>px;
    margin:0 auto;	
}
#footerdark, #footerdark p {
	text-align: <?php echo $flex_foot_align; ?>;
}

#squeeze #footerdark {
	width: <?php echo $flex_squeeze_width; ?>px;
    background: none;
}
#footer .topshadow {
	<?php if ($flex_footer_bgimg == "yes" && $flex_footer_fw == "no") { ?>
	background: url(images/feature-shadow.png) repeat-x top left;
    <?php } ?>
	padding-bottom:20px;
    width: <?php echo $footerwidth; ?>px;
    margin:0 auto;
}
#footer p {
	padding:10px 0 0 15px;
    margin:0px;
}
#footerdark p {
	padding-right: 15px;
}
#footerfeature {
	<?php if ($flex_footer_fw == "no") { ?>
	width: <?php echo $footerwidth; ?>px;
    <?php } else { ?>
    width: 100%;
    margin:0 auto;
    <?php } ?>
	color: #<?php echo $flex_footfeat_text; ?>;
    background-color: #<?php echo $flex_footer_featcolor; ?>;
    <?php if ($flex_foot_custbg && ($flex_foot_ffrepeat == "center")) { ?>
    background: url(<?php echo $flex_foot_custbg; ?>) no-repeat top center;
    <?php } else if ($flex_foot_custbg && ($flex_foot_ffrepeat == "repeat")) { ?>
    background: url(<?php echo $flex_foot_custbg; ?>) repeat-x top center;
    <?php } ?>
    <?php if ($flex_foot_height) { ?>
    height: <?php echo ($flex_foot_height); ?>px;
    <?php } ?>
}
#footerfeature .textwidget p {
	padding: 0;
	margin: 8px 0;
}
#footerfeature h2 {
    padding:0px;
        margin:0px 0px 10px 0px;
	color: #<?php echo $flex_footfeat_widtitclr; ?>;
	font-family: <?php echo $flex_footer_widtitfont; ?>, Arial, Helvetica;
	font-size: <?php echo $flex_footer_widtitle; ?>px;
}	
#footerfeature .textwidget {
	padding:0px;
	color: #<?php echo $flex_footer_text; ?>;
}
#footerfeature a:link, #footerfeature a:visited, #footerfeature a:hover, #footerfeature a:active, #footerfeature a:focus {
	color: #<?php echo $flex_footfeat_link; ?>;
}

#footer ul {
	list-style-type:none;
    padding:0px;   
}
#footer ul.children {
	margin:3px 0 0px 0;
	padding: 0px 0px 3px 0px;
	border:none;
}
#footer ul.children li{
    padding-bottom: 0px;
}
#footer ul li{
	list-style-type:none;
<?php if ($flex_foot_list == "light arrow") { ?>
	background:url(images/liarrow.png) no-repeat left top; padding-left:10px;
<?php } elseif ($flex_foot_list == "light square dot") { ?>
	background:url(images/lidot.png) no-repeat left top; padding-left:10px;
<?php } else if ($flex_foot_list == "dark arrow") { ?>
	background:url(images/liarrow-dark.png) no-repeat left top; padding-left:10px;
<?php } elseif ($flex_foot_list == "dark square dot") { ?>
	background:url(images/lidot-dark.png) no-repeat left top; padding-left:10px;
<?php } elseif ($flex_foot_list == "none") { ?>
	background: none; padding-left:0px;
<?php  } ?>
	padding-bottom:3px;
}
#footer ul li a {
	text-decoration:none;
}
.foot_box {
	padding:15px 15px 15px 15px;
    margin:0px;
	width: <?php echo $footwidgets; ?>px;
    float: left;
}
.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
}
.wp-caption .aligncenter{
	margin: 10px auto;
}
.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}
.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 120%;
	padding: 0 4px 5px;
	margin: 0;
}
#wp-calendar {
	width:100%;
	border-collapse:collapse;
	margin:0;
	padding:0;
	background: #FFFFFF;
}
#sidebar-left #wp-calendar, #sidebar-right #wp-calendar {
	float:left;
}
#wp-calendar caption {
	padding: 5px 0 5px 8px;
	text-align:left;
	font-family: <?php echo $flex_sidebar_ssfont; ?>, Arial, Helvetica;
	font-size: <?php echo $flex_sidebar_ssfontsize; ?>px;
	font-weight: bold;
	color: #<?php echo $flex_lsidebar_titlecolor; ?>;
	text-transform: <?php echo $flex_sidebar_scase; ?>;
	letter-spacing: <?php echo $flex_sidebar_sfontspace; ?>px;
}
#wp-calendar td {
	text-align:center;
	padding-top:2px;
	padding-bottom:2px;
	line-height:15px;
}
#wp-calendar th {
	background-color: #<?php echo $flex_header_backgroundcolor; ?>;
	color: #FFFFFF;
}
#wp-calendar tbody {
	border-right: 1px solid #D8D8D8;
	border-left: 1px solid #D8D8D8;
}
#content #sidebar #wp-calendar a {
	font-weight:700;
	color: #<?php echo $flex_rss_color; ?>;
	text-decoration:none;
	display:block;
	border-style:none;
	margin:0;
	padding:0;
	background-color: #<?php echo $flex_header_backgroundcolor; ?>;
}
#content #sidebar #wp-calendar a:hover {
	font-weight:700;
	color: #<?php echo $flex_rss_hover; ?>;
	text-decoration:none;
	border-style:none;
	margin:0;
	padding:0;
}
#wp-calendar tfoot, #wp-calendar tfoot .pad {
	background-color: #<?php echo $flex_header_backgroundcolor; ?>;
}
#wp-calendar tfoot a:hover {
	text-decoration:underline;
}
#wp-calendar tfoot a {
	display:block;
	padding:2px 0;
	color: #FFFFFF;
	text-decoration: none;
}
#wp-calendar tfoot td {
	padding:4px 0;
}
#wp-calendar thead {
	border-right: 1px solid #<?php echo $flex_header_backgroundcolor; ?>;
	border-left: 1px solid #<?php echo $flex_header_backgroundcolor; ?>;
}
#wp-calendar tfoot {
	border-right: 1px solid #<?php echo $flex_header_backgroundcolor; ?>;
	border-left: 1px solid #<?php echo $flex_header_backgroundcolor; ?>;
}
#credit {
	font: 11px Arial, Helvetica;
	padding: 8px;
    width:<?php echo $flex_blog_width; ?>px;
    margin: 0 auto;
    text-align:center;
}
form {
	margin:0;
	padding:0;
}
#rss a {
	color: #<?php echo $flex_sidebar_title; ?>;
	line-height: 20px;
}
#rss a:hover {
	color: #<?php echo $flex_sidebar_title; ?>;
	text-decoration: none;
}
.clearer {
	clear: both;
	float: none;
}
#nextprevious {
	padding: 5px 0;
    margin-bottom:15px;
    float:left;
    width: 95%;
    text-align: center;
}
img.avatar {
	float:right;
    border:solid 2px #000;
}
div.vcard a {
	font-weight:bold;
}
ol li div.comment-meta { font-size:9px; margin:5px 0 10px 0; }
#content ol.commentlist a {
<?php if ($flex_comments_linkund == "yes") { ?>
text-deocoration: underline;
<?php } else { ?>
text-decoration:none;
<?php } ?>
}
#content ol.commentlist a, #content ol.commentlist a:link, #content ol.commentlist a:visited {color: #<?php echo $flex_comments_link; ?>; }
ol.commentlist { list-style:none; margin:0 0 1em; padding:0; text-indent:0; color: #<?php echo $flex_comments_text; ?>;}
ol.commentlist li {margin-bottom: 10px;}
ol.commentlist li.alt { }
ol.commentlist li.bypostauthor {}
ol.commentlist li.byuser {}
ol.commentlist li.comment-author-admin {background-color: #<?php echo $flex_admin_comments; ?>;}
ol.commentlist li.comment { padding:1em; }
ol.commentlist li div.comment-author {}
div.vcard { font:normal 16px georgia,times,serif; }
ol.commentlist li div.vcard cite.fn { font-style:normal;font-weight:bold; }
ol.commentlist li div.vcard cite.fn a.url {}
ol.commentlist li div.vcard img.avatar { border:2px solid #000; float:right; margin:0 0 1em 1em; }
ol.commentlist li div.vcard img.avatar-32 {}
ol.commentlist li div.vcard img.photo {}
ol.commentlist li div.vcard span.says {}
ol.commentlist li div.commentmetadata {}
ol.commentlist li div.comment-body p {font-family:<?php echo $flex_comments_font; ?>, Arial, Helvetica; font-size:<?php echo $flex_comments_fontsize; ?>px;}
ol.commentlist li div.comment-meta { font-size:10px; margin:5px 0 10px 0; }
ol.commentlist li div.comment-meta a { }
ol.commentlist li p { margin:0 0 1em; }
ol.commentlist li ul { list-style:square; margin:0 0 1em 2em; }
ol.commentlist li div.reply { font-size:11px; }
#content ol.commentlist li div.reply a { color:#FFF; font-weight:bold; padding:3px 6px; background-color: #<?php echo $flex_comments_reply; ?>;  border:1px solid #000;text-decoration:none;}
#content ol.commentlist li div.reply a:hover { background-color:#555; text-decoration:none;}
ol.commentlist li ul.children { list-style:none; margin:1em 0 0; text-indent:0; }
ol.commentlist li ul.children li {}
ol.commentlist li ul.children li.alt {}
ol.commentlist li ul.children li.byuser {}
ol.commentlist li ul.children li.comment {}
ol.commentlist li ul.children li.comment-author-admin {background-color: #<?php echo $flex_admin_comments; ?>;}
ol.commentlist li.depth-1, ol.commentlist li.depth-1.parent {border: solid 1px #<?php echo $flex_comments_border; ?>;}
ol.commentlist li ul.children li.depth-2 { border:1px solid #<?php echo $flex_comments_border; ?>; margin:0 0 .25em .25em; }
ol.commentlist li ul.children li.depth-3 { border:1px solid #<?php echo $flex_comments_border; ?>; margin:0 0 .25em .25em; }
ol.commentlist li ul.children li.depth-4 { border:1px solid #<?php echo $flex_comments_border; ?>; margin:0 0 .25em .25em; }
ol.commentlist li ul.children li.depth-5 { border:1px solid #<?php echo $flex_comments_border; ?>; margin:0 0 .25em .25em; }
ol.commentlist li ul.children li.odd {}
ol.commentlist li.even { background-color: #<?php echo $flex_comments_background; ?>; background-image:none; }
ol.commentlist li.comment-author-admin.even, ol.commentlist li.comment-author-admin.odd { background-color: #<?php echo $flex_admin_comments; ?>; background-image:none;}
ol.commentlist li.odd { background: url(images/comments-lighter.png) no-repeat top left; background-color: #<?php echo $flex_comments_background; ?>;  }
ol.commentlist li.parent { border:none; }
ol.commentlist li.pingback { border-bottom:1px dotted #666; padding:1em; }
ol.commentlist li.thread-alt { }
ol.commentlist li.thread-even {}
ol.commentlist li.thread-odd {}
ol.commentlist li.bypostauthor {background-color: #<?php echo $flex_admin_comments; ?>;}
ol.pinglist li a, ol.pinglist li a:link, ol.pinglist li a:visited ol.pinglist li {color: #<?php echo $flex_blog_tclink; ?>; ; }

#squeeze #bgwrapper { 
	width: 100%;
	margin: 0px;
	padding-top:<?php echo $flex_blog_margin; ?>px;   
<?php if ($flex_squeeze_bgfade == "yes") { ?>
	background: url(images/bg-fade.png) repeat-x top left;
<?php } else { ?>
	background-image:none;
<?php } ?>  
	min-height: 100%;
}
#squeeze #wrap {
	width:<?php echo $flex_squeeze_width ?>px;
    border: solid <?php echo $flex_squeeze_brdr; ?>px #<?php echo $flex_blog_bordercolor; ?>;
}
#squeeze #spheader {
	width:<?php echo $flex_squeeze_width ?>px;
    height: <?php echo $squeezehead; ?>px;
    padding-top: <?php echo $flex_squeeze_tmargin; ?>px;
    border-bottom: none;
    color: #<?php echo $flex_squeeze_titleclr ?>;
    padding-top: <?php echo $flex_squeeze_tmargin; ?>px;

}
#squeeze #spheader h3 {
	width:400px;
	padding-left:20px;
    font-size: <?php echo $flex_squeeze_titlefont; ?>px;
    font-family: <?php echo $flex_squeeze_tfont; ?>;
	font-weight:400;
	line-height:<?php echo ($flex_squeeze_titlefont + 4); ?>px;
	margin:0px;
}
#squeeze #spheader p.tagline {
	width:400px;
	padding-left:20px;
    color: #<?php echo $flex_squeeze_titleclr ?>;
    font-size:16px;
}
#squeeze #nav {
	width:<?php echo $squeezenavwidth; ?>px;  
    margin-top:0px;
}
#squeeze .feat_box {
	width: <?php echo $squeezefeatwidgets; ?>px;
}
#squeeze #footer {
	width: <?php echo $flex_squeeze_width; ?>px;
    background-color: #<?php echo $flex_squeeze_footcolor; ?>;
    color: #<?php echo $flex_squeeze_txtcolor; ?>;
    text-align:center;
}
#squeeze #footer a:link, #squeeze #footer a:visited, #squeeze #footer a:active, #squeeze #footer a:focus {
	color: #<?php echo $flex_squeeze_txtcolor; ?>;
	text-decoration:none;
}
#squeeze #footer a:hover {
	text-decoration:underline;
}
#squeeze #footerdark {
	width: <?php echo $flex_squeeze_width; ?>px;
    background: none;
}
#mainContent {
	width:<?php echo $squeezepagewidth; ?>px;
	position:relative;
	float:left;
    text-align:left;
	color: #000;
    background-color: #FFF;
	padding:5px 0px 0px 5px;
    font-family: <?php echo $flex_squeeze_contfont; ?>, helvetica, sans serif;
    font-size: <?php echo $flex_squeeze_contsize; ?>px;
    line-height: <?php echo $squeezecont; ?>px;
}
#mainContent .postwrap {
	float:left;
	width:<?php echo $squeezecontwidth; ?>px;
	padding:0px 0px 0px 0px;
    margin-bottom:5px;
}
#mainContent .post {
	border:none;
}
#mainContent .postcontent {
	padding:20px;
    background-color:#fff;
}
.greybox {
	background-color: #F3F3F3;
	border: 1px solid #E2E2E2;
	width: 80%;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 20px;
	padding-top: 15px;
	padding-right: 15px;
	padding-bottom: 15px;
	padding-left: 15px;
}
.offercoupon {
	padding: 20px;
	background-color: #FEFCD8;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 18px;
	font-weight: bold;
	background-image: url(images/coupon-bg.jpg);
	background-repeat: repeat-x;
	background-position: bottom;
}
.offercouponoutline {
	width: 70%;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
	border: 4px dashed #CC0000;
	padding: 5px;
	margin-top: 30px;
	margin-bottom: 30px;
}
.offercoupon form {
	margin: 0px;
	padding: 0px;
}
#mainContent .offercoupon p {
	line-height: 22px;
}
.shadowbox { 
	background-color: #FFFFFF;
	width: 90%;
	margin-right: auto;
	margin-left: auto;
	margin-top: 20px;
	margin-bottom: 20px;
	text-align: center;
}
.sbcontent { 
	padding: 15px;
	border: 1px solid #E2E2E2;
	background-color: #F3F3F3;
	background-image: url(images/shadowbox-corner.jpg);
	background-repeat: no-repeat;
	background-position: right bottom;
}
.sbshadow {
	background-image: url(images/shadowbox-shadow.jpg);
	background-repeat: no-repeat;
	background-position: right top;
	height: 28px;
}
ul.greencheck, ul.redstop, ul.bluecheck, ul.greencheckbox, ul.bluecheckbox, ul.orangecheckbox, ul.greencheck2, ul.greencheck3, ul.plusgreen, ul.redstop2, ul.redstop3, ul.redstop4, ul.redstop5, ul.warning, ul.question {line-height: 18px;min-height:0px;}
.greencheck li, .redstop li, .bluecheck li, .greencheckbox li, .bluecheckbox li, .orangecheckbox li, #feature .greencheck li, #feature .redstop li, #feature .bluecheck li, #feature .greencheckbox li, #feature .bluecheckbox li, #feature .orangecheckbox li, #footerfeature .greencheck li, #footerfeature .redstop li, #footerfeature .bluecheck li, #footerfeature .greencheckbox li, #footerfeature .bluecheckbox li, #footerfeature .orangecheckbox li{list-style:none;padding: 4px 20px 10px 50px; margin-top:10px; background-repeat: no-repeat;background-position: 5px top;}
.greencheck2 li, .greencheck3 li, .plusgreen li, .redstop2 li, .redstop3 li, .redstop4 li, .redstop5 li, .warning li, .question li, #feature .greencheck2 li, #feature .greencheck3 li, #feature .plusgreen li, #feature .redstop2 li, #feature .redstop3 li, #feature .redstop4 li, #feature .redstop5 li, #feature .warning li, #footerfeature .greencheck2 li, #footerfeature .greencheck3 li, #footerfeature .plusgreen li, #feature .question li, #footerfeature .redstop2 li, #footerfeature .redstop3 li, #footerfeature .redstop4 li, #footerfeature .redstop5 li, #footerfeature .warning li, #footerfeature .question li  {list-style:none;padding: 4px 20px 10px 50px; margin-top:10px; background-repeat: no-repeat;background-position: left top;}
.greencheck li, #feature .greencheck li, #footerfeature .greencheck li {background-image: url(images/checkmark-green.png);}
.greencheck2 li, #feature .greencheck2 li, #footerfeature .greencheck2 li {background-image: url(images/checkmark-green2.png);}
.greencheck3 li, #feature .greencheck3 li, #footerfeature .greencheck3 li {background-image: url(images/checkmark-green3.png);}
.plusgreen li, #feature .plusgreen li, #footerfeature .plusgreen li {background-image: url(images/plus-green.png);}
.question li, #feature .question li, #footerfeature .question li {background-image: url(images/blue-question.png);}
.redstop li, #feature .redstop li, #footerfeature .redstop li {background-image: url(images/stop.png);}
.redstop2 li, #feature .redstop2 li, #footerfeature .redstop2 li {background-image: url(images/stop2.png);}
.redstop3 li, #feature .redstop3 li, #footerfeature .redstop3 li {background-image: url(images/stop3.png);}
.redstop4 li, #feature .redstop4 li, #footerfeature .redstop4 li{background-image: url(images/stop4.png);}
.redstop5 li, #feature .redstop5 li, #footerfeature .redstop5 li {background-image: url(images/stop5.png);}
.warning li, #feature .warning li, #footerfeature .warning li {background-image: url(images/warning.png);}
.bluecheck li, #feature .bluecheck li, #footerfeature .bluecheck li  {background-image: url(images/checkmark-blue.png);}
.bluecheckbox li, #feature .bluecheckbox li, #footerfeature .bluecheckbox li{background-image: url(images/checkbox-blue.png);}
.greencheckbox li, #feature .greencheckbox li, #footerfeature .greencheckbox li  {background-image: url(images/checkbox-green.png);}
.orangecheckbox li, #feature .orangecheckbox li, #footerfeature .orangecheckbox li  {background-image: url(images/checkbox-orange.png);}
.shortfade {background: url(images/fades/sp-short-fade.png) repeat-x center left;}
.shortreflect {background: url(images/fades/sp-short-reflect.png) repeat-x center left;}
.longfade {background: url(images/fades/sp-long-fade.png) repeat-x top left;}
.longfadedark {background: url(images/fades/sp-long-fade-dark.png) repeat-x top left;}
.longfadelight {background: url(images/fades/sp-long-fade-light.png) repeat-x top left;}
.downarroworange {background: url(images/down-arrow-orange.png) no-repeat top center;padding-top:120px;width:100%;}
.downarrowblue {background: url(images/down-arrow-blue.png) no-repeat top center;padding-top:120px;width:100%;}
.downarrowgreen {background: url(images/down-arrow-green.png) no-repeat top center;padding-top:120px;width:100%;}
.downarrowred {background: url(images/down-arrow-red.png) no-repeat top center;padding-top:120px;width:100%;}
.downarrowgrey {background: url(images/down-arrow-grey.png) no-repeat top center;padding-top:120px;width:100%;}
.rightarrowred {width:80px;height:220px;background: url(images/right-arrow-red.png) no-repeat center left;}
.rightarroworange {width:80px;height:220px;background: url(images/right-arrow-orange.png) no-repeat center left;}
.rightarrowblue {width:80px;height:220px;background: url(images/right-arrow-blue.png) no-repeat center left;}
.rightarrowgreen {width:80px;height:220px;background: url(images/right-arrow-green.png) no-repeat center left;}
.rightarrowgrey {width:80px;height:220px;background: url(images/right-arrow-grey.png) no-repeat center left;}
.boxtop {background: url(images/box-top.png) repeat-x top left;}
.boxtopdark {background: url(images/box-top-dark.png) repeat-x top left;}
.curvearrow{background: url(images/arrow-curved.png) no-repeat top left;}
.arrowredleft {width:100%;background: url(images/arrow-left-red.png) no-repeat top left;text-align:center;}
.arrowredright {width:100%;background: url(images/arrow-right-red.png) no-repeat top right;text-align:center;}
.arroworangeleft {width:100%;background: url(images/arrow-left-orange.png) no-repeat top left;text-align:center;}
.arroworangeright {width:100%;background: url(images/arrow-right-orange.png) no-repeat top right;text-align:center;}
.arrowblueleft {width:100%;background: url(images/arrow-left-blue.png) no-repeat top left;text-align:center;}
.arrowblueright {width:100%;background: url(images/arrow-right-blue.png) no-repeat top right;text-align:center;}
.arrowgreenleft {width:100%;background: url(images/arrow-left-green.png) no-repeat top left;text-align:center;}
.arrowgreenright {width:100%;background: url(images/arrow-right-green.png) no-repeat top right;text-align:center;}

.buybutton { margin:10px auto; background-repeat: no-repeat; }
.buybutton a {height:100%;width:100%;display:block;text-indent:-9999px; background-repeat: no-repeat; background-position:0 0;}

.submitbutton { margin:5px auto; background-repeat: no-repeat; }
.submitbutton a {height:100%;width:100%;display:block;text-indent:-9999px; background-repeat: no-repeat; background-position:0 0;}

.focusField { width:200px; margin-bottom:12px; border:3px solid #000; background:#eee; font-size:16px; color:#fff; padding:2px; -webkit-box-shadow: 0px 0px 7px rgba(0, 0, 0, 1); -moz-box-shadow: 0px 0px 7px rgba(0, 0, 0, 1); }
.idleField { width:200px; margin-bottom:12px; border:3px solid #222; background:#fff; font-size:16px; color:#333; padding:2px; }

.testimonial {
	width: 90%;
	margin-right: auto;
	margin-left: auto;
    margin-bottom: 20px;
	border: 1px solid #<?php echo $flex_squeeze_testbrdr; ?>;
    background-color: #<?php echo $flex_squeeze_test; ?>;
}
.testimonial img {
	padding-top: 15px;
}
.roundbox { 
	background-image: url(images/round-box-fill.gif);
	background-repeat: repeat-y;
	background-position: center;
	width: 475px;
	margin-right: auto;
	margin-left: auto;
	margin-top: 25px;
	margin-bottom: 25px;
    height:auto;
    min-height:300px;
}
#mainContent .roundboxcontent p {
	line-height: 25px;
    margin-bottom:0px;
}
.roundboxcontent {
	padding-right: 25px;
	padding-left: 25px;
	font-size: 18px;
	font-weight: bold;
	text-align: center;
	font-family: Georgia, "Times New Roman", Times, serif;
}
.roundboxcontent .input {
	width: 300px;
	font-size: 15px;
	font-weight: bold;
	padding: 2px;
	color: #CC0000;
	text-align: center;
	margin-right: auto;
	margin-left: auto;
	border: 1px solid #333333;
	background-color: #FFF9DF;
}
.roundboxcontent .label {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	text-align: center;
}
#mainContent .button, #content .button  {
	background-color: #<?php echo $flex_squeeze_button; ?>;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-weight: bold;
	color: #FFFFFF;
	padding: 4px;
	background-image: url(images/form-btn-bg.png);
	background-repeat: no-repeat;
	background-position: center;
	border: 2px solid #000;
	margin-top: 10px;
    cursor:pointer;
}
.flexbutton  {
	font: normal 36px/36px Verdana, Helvetica, Arial; 
	text-shadow: 0px 0px 5px #000;
	background-color: #<?php echo $flex_squeeze_button; ?>;
	color: #FFFFFF;
	padding:4px 18px 8px 18px;
   	width:auto;
   	overflow:visible;
	background-image: url(images/button-highlight.png);
	background-repeat: no-repeat;
	background-position: center;
	border: 2px solid #<?php echo $flex_squeeze_button; ?>;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-webkit-box-shadow: 0px 0px 7px rgba(0,0,0,0.8); 
	-moz-box-shadow: 0px 0px 7px rgba(0,0,0,0.8);
	text-align:center;
    cursor:pointer;
}
.flexbutton:hover  {
	background-color: #<?php echo $flex_squeeze_buttonhvr; ?>;
}

#mainContent .button:hover, #content .button:hover {
	background-color: #<?php echo $flex_squeeze_buttonhvr; ?>;
}
.roundboxcontent form {
	margin-bottom: 0px;
}
.roundboxbtm {
	background-image: url(images/round-box-btm.gif);
	background-repeat: no-repeat;
	background-position: center bottom;
	height: 22px;
    margin:0px;
    padding:0px;
}
.roundboxtop {
	background-image: url(images/round-box-top.gif);
	background-repeat: no-repeat;
	background-position: center top;
	height: 22px;
}
#squeeze h1, #squeeze h2, #squeeze h3, #squeeze h4 {
	font-family: <?php echo $flex_squeeze_headfont; ?>, helvetica, sans serif;
}
#mainContent .postwrap a, #mainContent .postwrap a:link, #mainContent .postwrap a:visited, #mainContent .postwrap a:active {
	color: #<?php echo $flex_squeeze_txtlink; ?>;
    <?php if ($flex_squeeze_effect == "yes") { ?>
	text-decoration: underline;
<?php } else { ?>
	text-decoration: none;
<?php } ?>
}
#mainContent .postwrap a:hover {
	color: #<?php echo $flex_squeeze_linkhvr; ?>;
}

#squeeze h1 {
	font-size: <?php echo $flex_squeeze_h1; ?>px;
    line-height: <?php echo $squeezeh1; ?>px;
    margin-top:0px;
    padding-top:0px;
}
#squeeze h2 {
	font-size: <?php echo $flex_squeeze_h2; ?>px;
    line-height: <?php echo $squeezeh2; ?>px;
}
#squeeze h3 {
	font-size: <?php echo $flex_squeeze_h3; ?>px;
    line-height: <?php echo $squeezeh3; ?>px;
}
#squeeze h4 {
	font-size: <?php echo $flex_squeeze_h4; ?>px;
    line-height: <?php echo $squeezeh4; ?>px;
    font-weight:normal;
}

.yellow { /* this makes your text look like it is highlighted in yellow */
	background-color: #FFFF00;
    font-weight:bold;
}
.red {
	color: #CC0000;
}

.blue {
	color: #0000FF;
}

.green {
	color: #007d0f;
}
.center {
	text-align:center;
}
.lineout { /* crosses out text with a line */
	text-decoration: line-through;
}
.paper1btm {
	background-image: url(images/paper1-btm.jpg);
	background-repeat: no-repeat;
	background-position: center bottom;
	height: 40px;
	margin:0px;
	padding:0px;
}
.paper1top {
	background-image: url(images/paper1-top.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	height: 73px;
}

.paper1 { 
	background-image: url(images/paper1-fill.jpg);
	background-repeat: repeat-y;
	background-position: center;
	width: 475px;
	margin-right: auto;
	margin-left: auto;
	margin-top: 25px;
	margin-bottom: 25px;
	height:auto;
	min-height:300px;
}
#mainContent .paper1content p, #content .paper1content p {
	line-height: 26px;
}
.paper1content {
	font-size: 18px;
	font-weight: bold;
	text-align: left;
	font-family: "Courier New", Courier, monospace;
	padding-right: 35px;
	padding-left: 35px;
}
.stickywrap {
}
.stickynote {
	background: url(images/stickynote.jpg) no-repeat left top;
	padding: 38px 40px 35px 60px;
	height: 261px;
	width: 260px;
	font: 18px/22px "Courier New", Courier, monospace;
	text-align: center;
	float: left;
}
.paper2btm {
	background-image: url(images/paper2-btm.jpg);
	background-repeat: no-repeat;
	background-position: center bottom;
	height: 60px;
	margin:0px;
	padding:0px;
}
.paper2top {
	background-image: url(images/paper2-top.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	height: 44px;
}
#mainContent .paper2, #content .paper2 { 
	background-image: url(images/paper2-fill.jpg);
	background-repeat: repeat-y;
	background-position: center;
	width: 475px;
	margin-right: auto;
	margin-left: auto;
	margin-top: 25px;
	margin-bottom: 25px;
	height:auto;
	min-height:300px;
}
#mainContent .paper2content p, #content .paper2content p {
	line-height: 26px;
}
.paper2content {
	font-size: 16px;
	font-weight: bold;
	text-align: left;
	font-family: Georgia, "Times New Roman", Times, serif;
	padding-right: 45px;
	padding-left: 45px;
}
.paper3btm {
	background-image: url(images/paper3-btm.jpg);
	background-repeat: no-repeat;
	background-position: center bottom;
	height: 106px;
	margin:0px;
	padding:0px 45px 25px;
}
.paper3top {
	background-image: url(images/paper3-top.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	height: 106px;
	padding-right: 45px;
	padding-left: 45px;
	padding-top: 25px;
}
#mainContent .paper3, #content .paper3  { /* this is the opt-in email box with rounded corners */
	background-image: url(images/paper3-fill.jpg);
	background-repeat: repeat-y;
	background-position: center;
	width: 475px;
	margin-right: auto;
	margin-left: auto;
	margin-top: 25px;
	margin-bottom: 25px;
	height:auto;
	min-height:300px;
}
#mainContent .paper3content p, #content .paper3content p{
	line-height: 26px;
}
.paper3content {
	text-align: left;
	padding-right: 45px;
	padding-left: 45px;
}
.wp-pagenavi, #wp-pagenavi {
	color: #<?php echo $flex_pagenavi_text; ?>;
    margin:0 auto;
}

.wp-pagenavi a, .wp-pagenavi a:link, #wp-pagenavi a, #wp-pagenavi a:link  {
	padding: 3px 5px 3px 5px; 
	margin: 2px;
	text-decoration: none;
	border: 1px solid #000000;
	color: #<?php echo $flex_pagenavi_text; ?>;
    background: url(images/pagenavi-bg.png) left bottom no-repeat;
	background-color: #<?php echo $flex_pagenavi_bg; ?>;
    
}
.wp-pagenavi a:visited, #wp-pagenavi a:visited {
	padding: 3px 5px 3px 5px;
	margin: 2px;
	text-decoration: none;
	border: 1px solid #000000;
	color: #<?php echo $flex_pagenavi_text; ?>;
    background: url(images/pagenavi-bg.png) left bottom no-repeat;
	background-color: #<?php echo $flex_pagenavi_bg; ?>;	
}
.wp-pagenavi a:hover, #wp-pagenavi a:hover {	
	border: 1px solid #000000;
	color: #<?php echo $flex_pagenavi_text; ?>;
    background: url(images/pagenavi-bg.png) left bottom no-repeat;
	background-color: #<?php echo $flex_pagenavi_hover; ?>;
}
.wp-pagenavi a:active, #wp-pagenavi a:active {
	padding: 3px 5px 3px 5px;
	margin: 2px;
	text-decoration: none;
	border: 1px solid #000000;
	color: #<?php echo $flex_pagenavi_text; ?>;
    background: url(images/pagenavi-bg.png) left bottom no-repeat;
	background-color: #<?php echo $flex_pagenavi_active; ?>;	
}
.wp-pagenavi span.pages, #wp-pagenavi span.pages {
	padding: 3px 5px 3px 5px;
	margin: 2px 2px 2px 2px;
	color: #<?php echo $flex_blog_tc; ?>;
	border: none
}
.wp-pagenavi span.current, #wp-pagenavi span.current {
	padding: 3px 5px 3px 5px;
	margin: 2px;
	font-weight: bold;
	border: 1px solid #000000;
	color: #<?php echo $flex_pagenavi_text; ?>;
    background: url(images/pagenavi-bg.png) left bottom no-repeat;
	background-color: #<?php echo $flex_pagenavi_active; ?>;
}
.wp-pagenavi span.extend, #wp-pagenavi span.extend {
	padding: 3px 5px 3px 5px; 
	margin: 2px;	
	border: 1px solid #000000;
	color: #<?php echo $flex_pagenavi_text; ?>;
    background: url(images/pagenavi-bg.png) left bottom no-repeat;
	background-color: #<?php echo $flex_pagenavi_bg; ?>;
}

<?php if ($flex_header_trans == "yes") { ?>
#header {background-color:transparent; border:none;}
#wrap {border:none;}
<?php if ($flex_nav_fw == "no") {?>
#navwrap #nav {border: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
<?php } ?>
#feature {border-top: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>; border-left: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>; border-right: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
#content {border-top: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>; border-left: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>; border-right: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
#footer { border-left: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>; border-right: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>; border-bottom: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
<?php } ?>

<?php if ($flex_footer_trans == "yes") { ?>
#wrap {border:none;}
#footer { background-color:transparent; border:none;}
#footer .topshadow {background-image:none;}
#footerdark { background-color:transparent; border:none; background-image:none;}
#footerfeature { background-color:transparent; border:none; background-image:none;}
<?php } ?>

<?php if ($flex_feat_trans == "yes") { ?>
#wrap {border:none;}
#feature {background-color:transparent;background-image:none;border:none;}
#feature .topshadow {background-image:none;}
<?php } ?>

<?php if ($flex_blog_mainbrdr == "yes") { ?>
#wrap {border:none;}
<?php } ?>


<?php if ($flex_nav_border == "yes") { ?>
#navwrap #nav {border:none;}
<?php } ?>
<?php if ($flex_header_trans == "yes" && $flex_nav_position == "below") { ?>
#navwrap #nav {border-bottom:none;}
#content {border-top:none;}
<?php } ?> 

<?php if ($flex_nav_fw == "no" || $flex_nav_position == "below feature") {
switch ($flex_blog_navbrdr) {
	case "all":
	?>#navwrap #nav {border: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break;
	case "none":
	?>#navwrap #nav {border-right:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-left:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-top:none;border-bottom:none;}
    <?php break;
	case "top only":
	?>#navwrap #nav {border-top: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-left:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-right:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-right:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-right:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-bottom:none;}
    <?php break;
	case "bottom only":
	?>#navwrap #nav {border-bottom: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-left:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-right:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-top:none;}
    <?php break;
	case "top and bottom only":
	?>#navwrap #nav {border-bottom: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-left:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-right:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-top:solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break;
	case "right and left only":
	?>#navwrap #nav {border-left: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-top:none;border-bottom:none;border-right:solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break;
	case "top, right and left only":
	?>#navwrap #nav {border-left: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-top: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-bottom:none;border-right:solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break;
	case "bottom, right and left only":
	?>#navwrap #nav {border-left: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-top:none;border-bottom:solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-right:solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break; }
	
	
} else { 
switch ($flex_blog_navbrdr) {
	case "all":
	?>#navwrap {border-bottom: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-top: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break;
	case "none":
	?>#navwrap {border: none;}
    <?php break;
	case "top only":
	?>#navwrap {border-top: solid <?php echo $flex_blog_borderwidth; ?>px;}
    <?php break;
	case "bottom only":
	?>#navwrap {border-bottom: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break;
	case "top and bottom only":
	?>#navwrap {border-bottom: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-top: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
       <?php break;
 } } ?>
 
<?php if ($flex_nav_fw == "no" || $flex_nav_position2 == "below feature") {
	switch ($flex_blog_nav2brdr) {
	case "all":
	?>#secondary-nav {border: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break;
	case "none":
	?>#secondary-nav {border:none;}
    <?php break;
	case "top only":
	?>#secondary-nav {border-top: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-left:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-right:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-right:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-right:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-bottom:none;}
    <?php break;
	case "bottom only":
	?>#secondary-nav {border-bottom: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-left:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-right:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-top:none;}
    <?php break;
	case "top and bottom only":
	?>#secondary-nav {border-bottom: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-left:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-right:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-top:solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break;
	case "right and left only":
	?>#secondary-nav {border-left: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-top:none;border-bottom:none;border-right:solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break;
	case "top, right and left only":
	?>#secondary-nav {border-left: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-top: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-bottom:none;border-right:solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break;
	case "bottom, right and left only":
	?>#secondary-nav {border-left: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-top:none;border-bottom:solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-right:solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break; } 
	
	} else { 
switch ($flex_blog_nav2brdr) {
	case "all":
	?>#secondary-navwrap {border-bottom: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-top: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break;
	case "none":
	?>#secondary-navwrap {border: none;}
    <?php break;
	case "top only":
	?>#secondary-navwrap {border-top: solid <?php echo $flex_blog_borderwidth; ?>px;}
    <?php break;
	case "bottom only":
	?>#secondary-navwrap {border-bottom: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break;
	case "top and bottom only":
	?>#secondary-navwrap {border-bottom: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-top: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
       <?php break;
 } } ?>
	
<?php if ($flex_header_fw == "no") { ?>
<?php 
switch ($flex_blog_headbrdr) {
	case "all":
	?>#header {border: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break;
	case "none":
	?>#header {border-top:none;border-bottom:none;border-right:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-left:solid <?php echo $flex_blog_borderwidth; ?>px transparent;}
    <?php break;
	case "top only":
	?>#header {border-top: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-left:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-right:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-bottom:none;}
    <?php break;
	case "bottom only":
	?>#header {border-bottom: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-left:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-right:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-top:none;}
    <?php break;
	case "top and bottom only":
	?>#header {border-bottom: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-left:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-right:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-top:solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break;
	case "right and left only":
	?>#header {border-left: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-top:none;border-bottom:none;border-right:solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break;
	case "top, right and left only":
	?>#header {border-left: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-top: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-bottom:none;border-right:solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break;
	case "bottom, right and left only":
	?>#header {border-left: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-top:none;border-bottom:solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-right:solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break;
	
} ?>
<?php } else { ?>
<?php 
switch ($flex_blog_headbrdr) {
	case "all":
	?>#headerwrap {border-bottom: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-top: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break;
	case "none":
	?>#headerwrap {border: none;}
    <?php break;
	case "top only":
	?>#headerwrap {border-top: solid <?php echo $flex_blog_borderwidth; ?>px;}
    <?php break;
	case "bottom only":
	?>#headerwrap {border-bottom: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break;
	case "top and bottom only":
	?>#headerwrap {border-bottom: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-top: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
       <?php break;
} ?>

<?php } ?>
<?php 
switch ($flex_blog_featbrdr) {
	case "all":
	?>#feature {border: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break;
	case "none":
	?>#feature {border-left:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-right:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-top:none;border-bottom:none;}
    <?php break;
	case "top only":
	?>#feature {border-top: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-left:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-right:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-bottom:none;}
    <?php break;
	case "bottom only":
	?>#feature {border-bottom: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-left:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-right:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-top:none;}
    <?php break;
	case "top and bottom only":
	?>#feature {border-bottom: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-left:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-right:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-top:solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break;
	case "right and left only":
	?>#feature {border-left: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-top:none;border-bottom:none;border-right:solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break;
	case "top, right and left only":
	?>#feature {border-left: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-top: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-bottom:none;border-right:solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break;
	case "bottom, right and left only":
	?>#feature {border-left: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-top:none;border-bottom:solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-right:solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break;
	
} ?>

<?php 
switch ($flex_blog_contbrdr) {
	case "all":
	?>#content{border: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break;
	case "none":
	?>#content {border-top:none;border-bottom:none;border-left:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-right:solid <?php echo $flex_blog_borderwidth; ?>px transparent;}
    <?php break;
	case "top only":
	?>#content {border-top: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-left:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-right:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-bottom:none;}
    <?php break;
	case "bottom only":
	?>#content {border-bottom: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-left:none;border-right:none;border-top:none;}
    <?php break;
	case "top and bottom only":
	?>#content {border-bottom: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-left:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-right:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-top:solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break;
	case "right and left only":
	?>#content {border-left: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-top:none;border-bottom:none;border-right:solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break;
	case "top, right and left only":
	?>#content {border-left: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-top: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-bottom:none;border-right:solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break;
	case "bottom, right and left only":
	?>#content {border-left: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-top:none;border-bottom:solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-right:solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break;
	
} ?>

<?php 
if ($flex_footer_fw == "no") {
switch ($flex_blog_footbrdr) {
	
	case "all":
	?>#footer{border: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break;
	case "none":
	?>#footer {border-top:none;border-bottom:none;border-right:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-left:solid <?php echo $flex_blog_borderwidth; ?>px transparent;}
    <?php break;
	case "top only":
	?>#footer {border-top: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-left:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-right:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-bottom:none;}
    <?php break;
	case "bottom only":
	?>#footer {border-bottom: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-left:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-right:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-top:none;}
    <?php break;
	case "top and bottom only":
	?>#footer {border-bottom: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-left:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-right:solid <?php echo $flex_blog_borderwidth; ?>px transparent;border-top:solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break;
	case "right and left only":
	?>#footer {border-left: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-top:none;border-bottom:none;border-right:solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break;
	case "top, right and left only":
	?>#footer {border-left: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-top: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-bottom:none;border-right:solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break;
	case "bottom, right and left only":
	?>#footer {border-left: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-top:none;border-bottom:solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-right:solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break;

} 
	} else if ($flex_footer_fw == "yes"){ 
    
    switch ($flex_blog_footbrdr) {
	
	case "all":
	?>#footer{border-top: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>; }
    <?php break;
	case "none":
	?>#footer {border:none;}
    <?php break;
	case "top only":
	?>#footer {border-top: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>; }
    <?php break;
	case "bottom only":
	?>#footer {border-bottom: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break;
	case "top and bottom only":
	?>#footer {border-bottom: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;border-left:none;border-right:none;border-top:solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break;
	case "right and left only":
	?>#footer {border:none;}
    <?php break;
	case "top, right and left only":
	?>#footer {border-top: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>; }
    <?php break;
	case "bottom, right and left only":
	?>#footer {border-bottom: solid <?php echo $flex_blog_borderwidth; ?>px #<?php echo $flex_blog_bordercolor; ?>;}
    <?php break;

} 

}

 if ($flex_header_fw == "no") {
switch ($flex_c_header) {
	case "all":
	?>#header {border-radius:<?php echo $flex_c_outerradius; ?>px;-moz-border-radius:<?php echo $flex_c_outerradius; ?>px;}
    <?php break;
	case "top":
	?>#header {border-top-left-radius:<?php echo $flex_c_outerradius; ?>px;-moz-border-radius-topleft:<?php echo $flex_c_outerradius; ?>px;border-top-right-radius:<?php echo $flex_c_outerradius; ?>px;-moz-border-radius-topright:<?php echo $flex_c_outerradius; ?>px;}
    <?php break;
	case "bottom":
	?>#header {border-bottom-left-radius:<?php echo $flex_c_outerradius; ?>px;-moz-border-radius-bottomleft:<?php echo $flex_c_outerradius; ?>px;border-bottom-right-radius:<?php echo $flex_c_outerradius; ?>px;-moz-border-radius-bottomright:<?php echo $flex_c_outerradius; ?>px;}
    <?php break; } } ?>
    
<?php
if ($flex_nav_fw == "no" || $flex_nav_position == "below feature") {
switch ($flex_c_nav) {
	case "all":
	?>#navwrap, #navwrap #nav {border-radius:<?php echo $flex_c_outerradius; ?>px;-moz-border-radius:<?php echo $flex_c_outerradius; ?>px;}
    <?php break;
	case "top":
	?>#navwrap, #navwrap #nav {border-top-left-radius:<?php echo $flex_c_outerradius; ?>px;-moz-border-radius-topleft:<?php echo $flex_c_outerradius; ?>px;border-top-right-radius:<?php echo $flex_c_outerradius; ?>px;-moz-border-radius-topright:<?php echo $flex_c_outerradius; ?>px;}
    <?php break;
	case "bottom":
	?>#navwrap, #navwrap #nav {border-bottom-left-radius:<?php echo $flex_c_outerradius; ?>px;-moz-border-radius-bottomleft:<?php echo $flex_c_outerradius; ?>px;border-bottom-right-radius:<?php echo $flex_c_outerradius; ?>px;-moz-border-radius-bottomright:<?php echo $flex_c_outerradius; ?>px;}
    <?php break; } } ?>
    
<?php
if ($flex_nav_fw == "no" || $flex_nav_position2 == "below feature") {
switch ($flex_c_nav2) {
	case "all":
	?>#secondary-nav {border-radius:<?php echo $flex_c_outerradius; ?>px;-moz-border-radius:<?php echo $flex_c_outerradius; ?>px;}
    <?php break;
	case "top":
	?>#secondary-nav {border-top-left-radius:<?php echo $flex_c_outerradius; ?>px;-moz-border-radius-topleft:<?php echo $flex_c_outerradius; ?>px;border-top-right-radius:<?php echo $flex_c_outerradius; ?>px;-moz-border-radius-topright:<?php echo $flex_c_outerradius; ?>px;}
    <?php break;
	case "bottom":
	?>#secondary-nav {border-bottom-left-radius:<?php echo $flex_c_outerradius; ?>px;-moz-border-radius-bottomleft:<?php echo $flex_c_outerradius; ?>px;border-bottom-right-radius:<?php echo $flex_c_outerradius; ?>px;-moz-border-radius-bottomright:<?php echo $flex_c_outerradius; ?>px;}
    <?php break; } } ?>
    
<?php
switch ($flex_c_feat) {
	case "all":
	?>#feature {border-radius:<?php echo $flex_c_outerradius; ?>px;-moz-border-radius:<?php echo $flex_c_outerradius; ?>px;}#feature .topshadow {border-top-left-radius:<?php echo ($flex_c_outerradius - $flex_blog_borderwidth);?>px;-moz-border-radius-topleft:<?php echo ($flex_c_outerradius - $flex_blog_borderwidth);?>px;border-top-right-radius:<?php echo ($flex_c_outerradius - $flex_blog_borderwidth);?>px;-moz-border-radius-topright:<?php echo ($flex_c_outerradius - $flex_blog_borderwidth);?>px;}
    <?php break;
	case "top":
	?>#feature {border-top-left-radius:<?php echo $flex_c_outerradius; ?>px;-moz-border-radius-topleft:<?php echo $flex_c_outerradius; ?>px;border-top-right-radius:<?php echo $flex_c_outerradius; ?>px;-moz-border-radius-topright:<?php echo $flex_c_outerradius; ?>px;}#feature .topshadow {border-top-left-radius:<?php echo $flex_c_outerradius; ?>px;-moz-border-radius-topleft:<?php echo $flex_c_outerradius; ?>px;border-top-right-radius:<?php echo $flex_c_outerradius; ?>px;-moz-border-radius-topright:<?php echo $flex_c_outerradius; ?>px;}
    <?php break;
	case "bottom":
	?>#feature {border-bottom-left-radius:<?php echo $flex_c_outerradius; ?>px;-moz-border-radius-bottomleft:<?php echo $flex_c_outerradius; ?>px;border-bottom-right-radius:<?php echo $flex_c_outerradius; ?>px;-moz-border-radius-bottomright:<?php echo $flex_c_outerradius; ?>px;}
    <?php break; } ?>

<?php
switch ($flex_c_cont) {
	case "all":
	?>#content {border-radius:<?php echo $flex_c_outerradius; ?>px;-moz-border-radius:<?php echo $flex_c_outerradius; ?>px;}
    <?php break;
	case "top":
	?>#content {border-top-left-radius:<?php echo $flex_c_outerradius; ?>px;-moz-border-radius-topleft:<?php echo $flex_c_outerradius; ?>px;border-top-right-radius:<?php echo $flex_c_outerradius; ?>px;-moz-border-radius-topright:<?php echo $flex_c_outerradius; ?>px;}
    <?php break;
	case "bottom":
	?>#content {border-bottom-left-radius:<?php echo $flex_c_outerradius; ?>px;-moz-border-radius-bottomleft:<?php echo $flex_c_outerradius; ?>px;border-bottom-right-radius:<?php echo $flex_c_outerradius; ?>px;-moz-border-radius-bottomright:<?php echo $flex_c_outerradius; ?>px;}
    <?php break; } ?>  
    
<?php
if ($flex_footer_fw == "no") {
switch ($flex_c_foot) {
	case "all":
	?>#footer {border-radius:<?php echo $flex_c_outerradius; ?>px;-moz-border-radius:<?php echo $flex_c_outerradius; ?>px;}#footer .topshadow, #footerfeature {border-top-left-radius:<?php echo ($flex_c_outerradius - $flex_blog_borderwidth);?>px;-moz-border-radius-topleft:<?php echo ($flex_c_outerradius - $flex_blog_borderwidth);?>px;border-top-right-radius:<?php echo ($flex_c_outerradius - $flex_blog_borderwidth);?>px;-moz-border-radius-topright:<?php echo ($flex_c_outerradius - $flex_blog_borderwidth);?>px;} 
    <?php if ($flex_foot_feature == "yes") { ?>
    #footerdark {border-bottom-left-radius:<?php echo ($flex_c_outerradius - $flex_blog_borderwidth);?>px;-moz-border-radius-bottomleft:<?php echo ($flex_c_outerradius - $flex_blog_borderwidth);?>px;border-bottom-right-radius:<?php echo ($flex_c_outerradius - $flex_blog_borderwidth);?>px;-moz-border-radius-bottomright:<?php echo ($flex_c_outerradius - $flex_blog_borderwidth);?>px;}
    <?php } else { ?>
    #footerdark {border-radius:<?php echo ($flex_c_outerradius - $flex_blog_borderwidth);?>px;-moz-border-radius:<?php echo ($flex_c_outerradius - $flex_blog_borderwidth);?>px;}
    <?php } ?>
    <?php break;
	case "top":
	?>#footer {border-top-left-radius:<?php echo $flex_c_outerradius; ?>px;-moz-border-radius-topleft:<?php echo $flex_c_outerradius; ?>px;border-top-right-radius:<?php echo $flex_c_outerradius; ?>px;-moz-border-radius-topright:<?php echo $flex_c_outerradius; ?>px;}#footer .topshadow, #footefeature {border-top-left-radius:<?php echo $flex_c_outerradius; ?>px;-moz-border-radius-topleft:<?php echo $flex_c_outerradius; ?>px;border-top-right-radius:<?php echo $flex_c_outerradius; ?>px;-moz-border-radius-topright:<?php echo $flex_c_outerradius; ?>px;}
    <?php break;
	case "bottom":
	?>#footer {border-bottom-left-radius:<?php echo $flex_c_outerradius; ?>px;-moz-border-radius-bottomleft:<?php echo $flex_c_outerradius; ?>px;border-bottom-right-radius:<?php echo $flex_c_outerradius; ?>px;-moz-border-radius-bottomright:<?php echo $flex_c_outerradius; ?>px;} #footerdark {border-bottom-left-radius:<?php echo ($flex_c_outerradius - $flex_blog_borderwidth);?>px;-moz-border-radius-bottomleft:<?php echo ($flex_c_outerradius - $flex_blog_borderwidth);?>px;border-bottom-right-radius:<?php echo ($flex_c_outerradius - $flex_blog_borderwidth);?>px;-moz-border-radius-bottomright:<?php echo ($flex_c_outerradius - $flex_blog_borderwidth);?>px;}
    <?php break; } }?>
    
<?php
switch ($flex_c_post) {
	case "all":
	?>.post, h2.pagetitle  {border-radius:<?php echo $flex_c_innerradius; ?>px;-moz-border-radius:<?php echo $flex_c_innerradius; ?>px;} .posthead h1, .posthead h2 {border-top-left-radius:<?php echo ($flex_c_innerradius - $flex_post_brdrsize - 1); ?>px;  -moz-border-radius-topleft:<?php echo ($flex_c_innerradius - $flex_post_brdrsize - 1); ?>px;border-top-right-radius:<?php echo ($flex_c_innerradius - $flex_post_brdrsize - 1); ?>px;-moz-border-radius-topright:<?php echo ($flex_c_innerradius - $flex_post_brdrsize - 1); ?>px; }
    <?php break;
	case "top":
	?>.post, h2.pagetitle {border-top-left-radius:<?php echo $flex_c_innerradius; ?>px;-moz-border-radius-topleft:<?php echo $flex_c_innerradius; ?>px;border-top-right-radius:<?php echo $flex_c_innerradius; ?>px;-moz-border-radius-topright:<?php echo $flex_c_innerradius; ?>px;} .posthead h1, .posthead h2 {border-top-left-radius:<?php echo ($flex_c_innerradius - $flex_post_brdrsize); ?>px;  -moz-border-radius-topleft:<?php echo ($flex_c_innerradius - $flex_post_brdrsize); ?>px;border-top-right-radius:<?php echo ($flex_c_innerradius - $flex_post_brdrsize); ?>px;-moz-border-radius-topright:<?php echo ($flex_c_innerradius - $flex_post_brdrsize); ?>px; }
    <?php break;
	case "bottom":
	?>.post, h2.pagetitle  {border-bottom-left-radius:<?php echo $flex_c_innerradius; ?>px;-moz-border-radius-bottomleft:<?php echo $flex_c_innerradius; ?>px;border-bottom-right-radius:<?php echo $flex_c_innerradius; ?>px;-moz-border-radius-bottomright:<?php echo $flex_c_innerradius; ?>px;}
    <?php break; } ?>   
    
<?php
switch ($flex_c_wid) {
	case "all":
	?>#sidebar-top .widget ,#sidebar-bottom .widget, #left-sidebar-top .widget  {border-radius:<?php echo $flex_c_innerradius; ?>px;-moz-border-radius:<?php echo $flex_c_innerradius; ?>px;} #sidebar-top h5, #sidebar-bottom h5, #left-sidebar-top h5 {border-top-left-radius:<?php echo ($flex_c_innerradius - $flex_sidebar_brdrsize - 1); ?>px;-moz-border-radius-topleft:<?php echo ($flex_c_innerradius - $flex_sidebar_brdrsize - 1); ?>px;border-top-right-radius:<?php echo ($flex_c_innerradius - $flex_sidebar_brdrsize - 1); ?>px;-moz-border-radius-topright:<?php echo ($flex_c_innerradius - $flex_sidebar_brdrsize - 1); ?>px; }
    <?php break;
	case "top":
	?>#sidebar-top .widget, #sidebar-bottom .widget, #left-sidebar-top .widget {border-top-left-radius:<?php echo $flex_c_innerradius; ?>px;-moz-border-radius-topleft:<?php echo $flex_c_innerradius; ?>px;border-top-right-radius:<?php echo $flex_c_innerradius; ?>px;-moz-border-radius-topright:<?php echo $flex_c_innerradius; ?>px;} #sidebar-top h5, #sidebar-bottom h5, #left-sidebar-top h5 {border-top-left-radius:<?php echo ($flex_c_innerradius - $flex_sidebar_brdrsize); ?>px;-moz-border-radius-topleft:<?php echo ($flex_c_innerradius - $flex_sidebar_brdrsize); ?>px;border-top-right-radius:<?php echo ($flex_c_innerradius - $flex_sidebar_brdrsize); ?>px;-moz-border-radius-topright:<?php echo ($flex_c_innerradius - $flex_sidebar_brdrsize); ?>px; }
    <?php break;
	case "bottom":
	?>#sidebar-top .widget, #sidebar-bottom .widget, #left-sidebar-top .widget  {border-bottom-left-radius:<?php echo $flex_c_innerradius; ?>px;-moz-border-radius-bottomleft:<?php echo $flex_c_innerradius; ?>px;border-bottom-right-radius:<?php echo $flex_c_innerradius; ?>px;-moz-border-radius-bottomright:<?php echo $flex_c_innerradius; ?>px;}
    <?php break; } ?>  
    
<?php
switch ($flex_c_comment) {
	case "all":
	?>.comment {border-radius:<?php echo $flex_c_innerradius; ?>px;-moz-border-radius:<?php echo $flex_c_innerradius; ?>px;}
    <?php break;
	case "top":
	?>.comment {border-top-left-radius:<?php echo $flex_c_innerradius; ?>px;-moz-border-radius-topleft:<?php echo $flex_c_innerradius; ?>px;border-top-right-radius:<?php echo $flex_c_innerradius; ?>px;-moz-border-radius-topright:<?php echo $flex_c_innerradius; ?>px;}
    <?php break;
	case "bottom":
	?>.comment {border-bottom-left-radius:<?php echo $flex_c_innerradius; ?>px;-moz-border-radius-bottomleft:<?php echo $flex_c_innerradius; ?>px;border-bottom-right-radius:<?php echo $flex_c_innerradius; ?>px;-moz-border-radius-bottomright:<?php echo $flex_c_innerradius; ?>px;}
    <?php break; } ?>  

<?php if ($flex_s_header) { ?>
<?php if ($flex_header_fw == "no") { ?>
	#header{-moz-box-shadow: 0 0 <?php echo $flex_s_header; ?>px #<?php echo $flex_s_color; ?>;-webkit-box-shadow: 0 0 <?php echo $flex_s_header; ?>px #<?php echo $flex_s_color; ?>;box-shadow: 0 0 <?php echo $flex_s_header; ?>px #<?php echo $flex_s_color; ?>;}
    <?php } else { ?>
    #headerwrap{-moz-box-shadow: 0 0 <?php echo $flex_s_header; ?>px #<?php echo $flex_s_color; ?>;-webkit-box-shadow: 0 0 <?php echo $flex_s_header; ?>px #<?php echo $flex_s_color; ?>;box-shadow: 0 0 <?php echo $flex_s_header; ?>px #<?php echo $flex_s_color; ?>;}
    <?php } ?>
<?php } ?>

<?php if ($flex_s_nav) { ?>
<?php if ($flex_nav_fw == "no") { ?>
	#navwrap #nav{-moz-box-shadow: 0 0 <?php echo $flex_s_nav; ?>px #<?php echo $flex_s_color; ?>;-webkit-box-shadow: 0 0 <?php echo $flex_s_nav; ?>px #<?php echo $flex_s_color; ?>;box-shadow: 0 0 <?php echo $flex_s_nav; ?>px #<?php echo $flex_s_color; ?>;}
    <?php } else { ?>
    #navwrap{-moz-box-shadow: 0 0 <?php echo $flex_s_nav; ?>px #<?php echo $flex_s_color; ?>;-webkit-box-shadow: 0 0 <?php echo $flex_s_nav; ?>px #<?php echo $flex_s_color; ?>;box-shadow: 0 0 <?php echo $flex_s_nav; ?>px #<?php echo $flex_s_color; ?>;}
    <?php } ?>
<?php } ?>

<?php if ($flex_s_nav2) { ?>
<?php if ($flex_nav_fw == "no" || $flex_nav_position2 == "below feature") { ?>
	#secondary-nav{-moz-box-shadow: 0 0 <?php echo $flex_s_nav2; ?>px #<?php echo $flex_s_color; ?>;-webkit-box-shadow: 0 0 <?php echo $flex_s_nav2; ?>px #<?php echo $flex_s_color; ?>;box-shadow: 0 0 <?php echo $flex_s_nav2; ?>px #<?php echo $flex_s_color; ?>;}
    <?php } else { ?>
    #secondary-navwrap{-moz-box-shadow: 0 0 <?php echo $flex_s_nav2; ?>px #<?php echo $flex_s_color; ?>;-webkit-box-shadow: 0 0 <?php echo $flex_s_nav2; ?>px #<?php echo $flex_s_color; ?>;box-shadow: 0 0 <?php echo $flex_s_nav2; ?>px #<?php echo $flex_s_color; ?>;}
    <?php } ?>
<?php } ?>

<?php if ($flex_s_feat) { ?>
	#feature{-moz-box-shadow: 0 0 <?php echo $flex_s_feat; ?>px #<?php echo $flex_s_color; ?>;-webkit-box-shadow: 0 0 <?php echo $flex_s_feat; ?>px #<?php echo $flex_s_color; ?>;box-shadow: 0 0 <?php echo $flex_s_feat; ?>px #<?php echo $flex_s_color; ?>;}
<?php } ?>

<?php if ($flex_s_content) { ?>
	#content{-moz-box-shadow: 0 0 <?php echo $flex_s_content; ?>px #<?php echo $flex_s_color; ?>;-webkit-box-shadow: 0 0 <?php echo $flex_s_content; ?>px #<?php echo $flex_s_color; ?>;box-shadow: 0 0 <?php echo $flex_s_content; ?>px #<?php echo $flex_s_color; ?>;}
<?php } ?>

<?php if ($flex_s_post) { ?>
	.post{-moz-box-shadow: 0 0 <?php echo $flex_s_post; ?>px #<?php echo $flex_s_color; ?>;-webkit-box-shadow: 0 0 <?php echo $flex_s_post; ?>px #<?php echo $flex_s_color; ?>;box-shadow: 0 0 <?php echo $flex_s_post; ?>px #<?php echo $flex_s_color; ?>;}
<?php } ?>

<?php if ($flex_s_wid) { ?>
	#sidebar .widget, #left-sidebar .widget {-moz-box-shadow: 0 0 <?php echo $flex_s_wid; ?>px #<?php echo $flex_s_color; ?>;-webkit-box-shadow: 0 0 <?php echo $flex_s_wid; ?>px #<?php echo $flex_s_color; ?>;box-shadow: 0 0 <?php echo $flex_s_wid; ?>px #<?php echo $flex_s_color; ?>;}
<?php } ?>

<?php if ($flex_s_comments) { ?>
	.comment{-moz-box-shadow: 0 0 <?php echo $flex_s_comments; ?>px #<?php echo $flex_s_color; ?>;-webkit-box-shadow: 0 0 <?php echo $flex_s_comments; ?>px #<?php echo $flex_s_color; ?>;box-shadow: 0 0 <?php echo $flex_s_comments; ?>px #<?php echo $flex_s_color; ?>;}
<?php } ?>

<?php if ($flex_s_foot) { ?>
	#footer{-moz-box-shadow: 0 0 <?php echo $flex_s_foot; ?>px #<?php echo $flex_s_color; ?>;-webkit-box-shadow: 0 0 <?php echo $flex_s_foot; ?>px #<?php echo $flex_s_color; ?>;box-shadow: 0 0 <?php echo $flex_s_foot; ?>px #<?php echo $flex_s_color; ?>;}
<?php } ?>

<?php if ($flex_s_wrap) { ?>
	#wrap{-moz-box-shadow: 0 0 <?php echo $flex_s_wrap; ?>px #<?php echo $flex_s_color; ?>;-webkit-box-shadow: 0 0 <?php echo $flex_s_wrap; ?>px #<?php echo $flex_s_color; ?>;box-shadow: 0 0 <?php echo $flex_s_wrap; ?>px #<?php echo $flex_s_color; ?>;}
<?php } ?>

<?php if ($flex_nav_fw == "no" && $flex_nav_show == "yes" && $flex_nav_position == "below" && $flex_header_fw == "yes") { ?>
	#navwrap #nav {position:absolute;bottom:0px;}
    #rssfeeds {bottom:35px;}
<?php } ?>



.flexform input {
	color:#333;
}

/* Tab Slider */

#slider {
	margin: 15px 0 0 0;
	position: relative;
	padding: 10px 0 0 0;
	background-color: #<?php echo $flex_sl_menubg; ?>;
	border-top-left-radius: 5px;
	border-top-right-radius:5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
}
#slider .nav li {
	background-image:none;
    padding-left:0px;
}
#slider .nav li a {
	border-top-left-radius: 5px;
	border-top-right-radius:5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	margin-right:3px;
}

.scroll {
	overflow: hidden;
	position: relative; /* fix for IE to respect overflow */
	background: #ffffff;
}

.scrollContainer div.panel {
	padding: 20px;
	overflow: hidden;
}

.scrollButtons {
	position: absolute;
	cursor: pointer;
}

.scrollButtons.left {
	left: 0px;
	border: 0px;
}

.scrollButtons.right {
	right: 0px;
	border: 0px;
}

#slider ul.nav {
    list-style: none;
    margin: 0 0 0 10px;
    padding: 0;
    padding-bottom: 9px;
    font: <?php if ($flex_sl_font == "Impact") { echo 'normal';} else { echo 'bold';}?> <?php echo $flex_sl_fontsize; ?>px/<?php echo ($flex_sl_fontsize - 2);?>px <?php echo $flex_sl_font; ?>, Arial, Helvetica, sans-serif;
}

#slider ul.nav li {
    display: inline;
    margin-right: 0px;
}

#slider ul.nav a {
    padding: 10px;
    color: #<?php echo $flex_sl_menutext; ?>;
    text-decoration: none;
	background-color: #<?php echo $flex_sl_menutab; ?>;
	font-style: normal;
}

#slider ul.nav a:hover {
    background-color: #<?php echo $flex_sl_menutabhov; ?>;
	color: #<?php echo $flex_sl_menutexthov; ?>;
}

#slider ul.nav a.selected {
    background-color: #<?php echo $flex_sl_menutabhov; ?>;
	color: #<?php echo $flex_sl_menutexthov; ?>;
}

#slider ul.nav a:focus {
    outline: none;
}

#slider .hide {
    display: none;
}

#content div.flexsig p {
	padding:0px;
    margin:0px;
    color: #<?php echo $flex_sig_clr; ?>;
    font-family: <?php echo $flex_sig_font; ?>, Arial, Helvetica;
    font-size: <?php echo $flex_sig_fontsize; ?>px;
}
.divider_pad {
	clear:both;
    display:block;
    padding:8px 0;
}
.one_third {
	float:left;
    width: 31%;
    margin-right: 2%;
}
.one_third_last {
	float:left;
    width: 33%;
}
.two_thirds {
	float:left;
    width: 64%;
    margin-right: 2%;
}
.two_thirds_last {
	float:left;
    width: 66%;
}
.one_half {
	float:left;
    width: 48%;
    margin-right: 2%;
}
.one_half_last {
	float:left;
    width: 50%;
}
.one_fourth {
	float:left;
    width: 23%;
    margin-right: 2%;
}
.one_fourth_last {
	float:left;
    width: 25%;
}
.three_fourths {
	float:left;
    width: 73%;
    margin-right: 2%;
}
.three_fourths_last {
	float:left;
    width: 75%;
}
.dropcap {
    display:block;
    padding-right:5px;padding-bottom:5px;
    float:left;
}

/*** 1.5 additions ***/

.tagcloud a { text-decoration:none;}

.attachment-thumbnail, .attachment-post-thumbnail {
	border: <?php echo $flex_posttext_tnbrdr; ?>px solid #<?php echo $flex_posttext_tnbrdrclr; ?>;
    float:<?php echo $flex_posttext_tnalignment; ?>;
    <?php if ($flex_posttext_tnalignment == "left") { ?>
    margin: 15px 15px 10px 0;
    <?php } else { ?>
    margin: 15px 0px 10px 15px;
    <?php } ?>
}
.widget_tag_cloud div{
	padding:0 8px 8px 8px;
}
.widget_tag_cloud div.toptitle{
	padding:0px;
}

.testblacktop {width:510px; height:43px; background: transparent url(images/page-elements/testimonial_black_top.jpg) no-repeat center; }
.testblackfill {background: transparent url(images/page-elements/testimonial_black_fill.jpg) repeat-y top center;}
.testblackbtm {width:510px; height:40px; background: transparent url(images/page-elements/testimonial_black_bottom.jpg) no-repeat center; }
.testredtop {width:510px; height:43px; background: transparent url(images/page-elements/testimonial_red_top.jpg) no-repeat center; }
.testredfill {background: transparent url(images/page-elements/testimonial_red_fill.jpg) repeat-y top center;}
.testredbtm {width:510px; height:40px; background: transparent url(images/page-elements/testimonial_red_bottom.jpg) no-repeat center; }
.testbluetop {width:510px; height:43px; background: transparent url(images/page-elements/testimonial_blue_top.jpg) no-repeat center; }
.testbluefill {background: transparent url(images/page-elements/testimonial_blue_fill.jpg) repeat-y top center;}
.testbluebtm {width:510px; height:40px; background: transparent url(images/page-elements/testimonial_blue_bottom.jpg) no-repeat center; }
.testorangetop {width:510px; height:43px; background: transparent url(images/page-elements/testimonial_orange_top.jpg) no-repeat center; }
.testorangefill {background: transparent url(images/page-elements/testimonial_orange_fill.jpg) repeat-y top center;}
.testorangebtm {width:510px; height:40px; background: transparent url(images/page-elements/testimonial_orange_bottom.jpg) no-repeat center; }
.testgoldtop {width:510px; height:43px; background: transparent url(images/page-elements/testimonial_gold_top.jpg) no-repeat center; }
.testgoldfill {background: transparent url(images/page-elements/testimonial_gold_fill.jpg) repeat-y top center;}
.testgoldbtm {width:510px; height:40px; background: transparent url(images/page-elements/testimonial_gold_bottom.jpg) no-repeat center; }
.testgreentop {width:510px; height:43px; background: transparent url(images/page-elements/testimonial_green_top.jpg) no-repeat center; }
.testgreenfill {background: transparent url(images/page-elements/testimonial_green_fill.jpg) repeat-y top center;}
.testgreenbtm {width:510px; height:40px; background: transparent url(images/page-elements/testimonial_green_bottom.jpg) no-repeat center; }
.testsimple {width:400px; margin:0 auto; text-align:left; }
.testsimpletop {width:400px; height:47px; background: transparent url(images/page-elements/testimonial-simple-top.png) no-repeat center; }
.testsimplebtm {width:400px; height:47px; background: transparent url(images/page-elements/testimonial-simple-btm.png) no-repeat center; }
.testsimpletopred {width:400px; height:47px; background: transparent url(images/page-elements/testimonial-simple-top-red.png) no-repeat center; }
.testsimplebtmred {width:400px; height:47px; background: transparent url(images/page-elements/testimonial-simple-btm-red.png) no-repeat center; }
.testsimpletopblue {width:400px; height:47px; background: transparent url(images/page-elements/testimonial-simple-top-blue.png) no-repeat center; }
.testsimplebtmblue {width:400px; height:47px; background: transparent url(images/page-elements/testimonial-simple-btm-blue.png) no-repeat center; }

.testphoto {width:500px; margin:0 auto; text-align:left; border-top: 2px solid #ddd; border-bottom: 2px solid #ddd; padding: 10px 0;}
.testphoto img {float:left; margin: 0px 20px 10px 0; }
.testphoto p {margin: 10px 0 0 0; padding: 0; }

.testphotoright {width:500px; margin:0 auto; text-align:left; border-top: 2px solid #ddd; border-bottom: 2px solid #ddd; padding: 10px 0;}
.testphotoright img {float:right; margin: 0px 0px 10px 20px; }
.testphotoright p {margin: 10px 0 0 0; padding: 0; }

.guaranteeblacktop {width:508px; height:193px; background: transparent url(images/page-elements/certificate_black_top.jpg) no-repeat center; }
.guaranteeblackfill {background: transparent url(images/page-elements/certificate_black_fill.jpg) repeat-y top center; }
.guaranteeblackbtm {width:580px; height:122px; background: transparent url(images/page-elements/certificate_black_bottom.jpg) no-repeat center; }
.guaranteeredtop {width:508px; height:193px; background: transparent url(images/page-elements/certificate_red_top.jpg) no-repeat center; }
.guaranteeredfill {background: transparent url(images/page-elements/certificate_red_fill.jpg) repeat-y top center; }
.guaranteeredbtm {width:580px; height:122px; background: transparent url(images/page-elements/certificate_red_bottom.jpg) no-repeat center; }
.guaranteebluetop {width:508px; height:193px; background: transparent url(images/page-elements/certificate_blue_top.jpg) no-repeat center; }
.guaranteebluefill {background: transparent url(images/page-elements/certificate_blue_fill.jpg) repeat-y top center; }
.guaranteebluebtm {width:580px; height:122px; background: transparent url(images/page-elements/certificate_blue_bottom.jpg) no-repeat center; }
.guaranteeorangetop {width:508px; height:193px; background: transparent url(images/page-elements/certificate_orange_top.jpg) no-repeat center; }
.guaranteeorangefill {background: transparent url(images/page-elements/certificate_orange_fill.jpg) repeat-y top center; }
.guaranteeorangebtm {width:580px; height:122px; background: transparent url(images/page-elements/certificate_orange_bottom.jpg) no-repeat center; }
.guaranteegoldtop {width:508px; height:193px; background: transparent url(images/page-elements/certificate_gold_top.jpg) no-repeat center; }
.guaranteegoldfill {background: transparent url(images/page-elements/certificate_gold_fill.jpg) repeat-y top center; }
.guaranteegoldbtm {width:580px; height:122px; background: transparent url(images/page-elements/certificate_gold_bottom.jpg) no-repeat center; }
.guaranteegreentop {width:508px; height:193px; background: transparent url(images/page-elements/certificate_green_top.jpg) no-repeat center; }
.guaranteegreenfill {background: transparent url(images/page-elements/certificate_green_fill.jpg) repeat-y top center; }
.guaranteegreenbtm {width:580px; height:122px; background: transparent url(images/page-elements/certificate_green_bottom.jpg) no-repeat center; }

.greybox {padding:10px 20px;background-color:#F3F3F3;border:1px solid #ccc;margin-bottom:10px;}
.redbox {padding:10px 20px;background-color:#FFE6E6;border:1px solid #FFBBBB;margin-bottom:10px;}
.bluebox {padding:10px 20px;background-color:#E6F2FF;border:1px solid #B3D9FF;margin-bottom:10px;}
.yellowbox {padding:10px 20px;background-color:#FFFFCC;border:1px solid #FFCC33;margin-bottom:10px;}
.greenbox {padding:10px 20px;background-color:#F1FFC6;border:1px solid #81C600;margin-bottom:10px;}
.purplebox {padding:10px 20px;background-color:#F0E1FF;border:1px solid #63F;margin-bottom:10px;}
.whitebox {padding:10px 20px;background-color:#FFF;border:1px solid #ccc;margin-bottom:10px;}
.belcherwt {padding:10px 20px;background-color:#FFF;border:6px dashed #C00;margin-bottom:10px;}
.belcheryellow {padding:10px 20px;background-color:#FFFFCC;border:6px dashed #C00;margin-bottom:10px;}
.belcherwtsol {padding:10px 20px;background-color:#FFF;border:6px solid #C00;margin-bottom:10px;}
.belcheryellowsol {padding:10px 20px;background-color:#FFFFCC;border:6px solid #C00;margin-bottom:10px;}
.ltgreybox {padding:10px 20px;background-color:#ccc;border:3px solid #888;margin-bottom:10px;}
.medgreybox {padding:10px 20px;background-color:#666;border:3px solid #444;margin-bottom:10px;color:#fff}
.darkgreybox {padding:10px 20px;background-color:#333;border:3px solid #000;color:#fff;margin-bottom:10px;}

.light20 {background-image: url(images/fades/White-Top-40.png); background-position: top center; background-repeat: repeat-x; }
.light40 {background-image: url(images/fades/White-Top-60.png); background-position: top center; background-repeat: repeat-x; }
.light60 {background-image: url(images/fades/White-Top-80.png); background-position: top center; background-repeat: repeat-x; }
.dark20 {background-image: url(images/fades/Black-Bottom-20.png); background-position: bottom center; background-repeat: repeat-x; }
.dark40 {background-image: url(images/fades/Black-Bottom-40.png); background-position: bottom center; background-repeat: repeat-x; }
.dark60 {background-image: url(images/fades/Black-Bottom-60.png); background-position: bottom center; background-repeat: repeat-x; }

.roundfive {border-radius: 5px; -moz-border-radius: 5px; webkit-border-radius:5px;}
.roundten {border-radius: 10px; -moz-border-radius: 10px; webkit-border-radius:10px;}
.roundfifteen {border-radius: 15px; -moz-border-radius: 15px; webkit-border-radius:15px;}

.shadowfive {box-shadow: 0px 0px 5px #000; -moz-box-shadow: 0px 0px 5px #000; -webkit-box-shadow: 0px 0px 5px #000;}
.shadowten {box-shadow: 0px 0px 10px #000; -moz-box-shadow: 0px 0px 10px #000; -webkit-box-shadow: 0px 0px 10px #000;}
.shadowfifteen {box-shadow: 0px 0px 15px #000; -moz-box-shadow: 0px 0px 15px #000; -webkit-box-shadow: 0px 0px 15px #000;}

table.pricingtable {
	border-collapse: separate;
	background-color: #859FC0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	margin-top: 15px;
	margin-bottom: 15px;
}
table.pricingtable p {margin:0px;padding:0px;}
.pricingtable .pricetitle {
	font-size: 21px;
	font-weight: bold;
	margin-top: 10px;
	margin-bottom: 2px;
	color: #496F9F;
	text-align: center;
}
.pricingtable .itemprice {
	font-weight: bold;
	color: #666;
	font-size: 14px;
	margin-bottom: 10px;
	text-align: center;
}
.pricingtable td.light {
	border:5px solid #C4D1E1;
	background-color: #F9FBFC;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
.pricingtable td.ultimate {
	border:5px solid #F90;
	background-color: #FFF;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
.pricingtable td.dark {
	border:5px solid #C4D1E1;
	background-color: #EDF1F6;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
.pricingtable ul {
	margin-top: 8px;
	margin-right: 0;
	margin-bottom: 20px;
	margin-left: 0;
	padding-top: 0;
	padding-right: 12px;
	padding-bottom: 0;
	padding-left: 12px;
}
.pricingtable li {
	list-style:none;
	background-image: url(images/iGrayCheckMark.gif);
	background-repeat: no-repeat;
	background-position:left top;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #D8E0EB;
	padding-top: 0px;
	padding-right: 0;
	padding-bottom: 5px;
	padding-left: 20px;
	margin-top: 5px;
}
.pricingtable a.signupbtn {
	background-color: #859FC0;
	width: 75%;
	text-align: center;
	margin-right: auto;
	margin-left: auto;
	margin-top: 0px;
	margin-bottom: 20px;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 13px;
	font-weight: bold;
	color: #FFF;
	padding-top: 8px;
	padding-bottom: 8px;
	display: block;
	text-decoration: none;
	-moz-border-radius: 15px;
	border-radius: 15px;
}
.pricingtable a.signupbtn:hover {
	background-color: #3E5879;
}

table.gridtable {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	margin-top: 15px;
	margin-bottom: 15px;
	border: 1px solid #859FC0;
}
.gridtable th {
	font-weight:bold;
	padding: 6px;
	text-align: left;
}
.gridtable td {
	text-align: center;
	padding: 5px;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #C4D1E1;
}
.gridtable .header {
	font-size: 18px;
	font-weight: bold;
	color: #FFF;
	text-align: center;
	background-color: #859FC0;
	line-height: 40px;
}
.gridtable .light {
	background-color: #F9FBFC;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
.gridtable .dark {
	background-color: #EDF1F6;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
.gridtable a.signupbtn {
	background-color: #859FC0;
	width: 85%;
	text-align: center;
	margin-right: auto;
	margin-left: auto;
	margin-top: 10px;
	margin-bottom: 10px;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 13px;
	font-weight: bold;
	color: #FFF;
	display: block;
	text-decoration: none;
	-moz-border-radius: 5px;
	border-radius: 5px;
	padding: 5px;
}
.gridtable a.signupbtn:hover {
	background-color: #3E5879;
}

.breadcrumbs {
	clear:both;
	background-color: <?php if ($flex_bc_trans == "no") { echo '#' . $flex_bc_bg; } else { echo 'transparent'; } ?>;
  	color: #<?php echo $flex_bc_text; ?>;
    font-size: <?php echo $flex_bc_font; ?>px;
    padding: 10px 0px 10px 15px;
    font-weight: <?php echo $flex_bc_fontweight; ?>;
}
.breadcrumbs a {
	color: #<?php echo $flex_bc_link; ?>;
    text-decoration: <?php if ($flex_bc_underline == "yes") { echo 'underline'; } else { echo 'none'; } ?>;
}
.breadcrumbs a:hover {
	color: #<?php echo $flex_bc_hover; ?>;
}
.toppostwidget, .bottompostwidget {
	clear:both;
    padding-right: <?php echo $flex_postwid_pad; ?>px;
    padding-left: <?php echo $flex_postwid_pad; ?>px;
}
.toppostwidget h5, .bottompostwidget h5 {
	font: <?php echo $flex_postwid_h5wt; ?> <?php echo $flex_postwid_h5size; ?>px/<?php echo ($flex_postwid_h5size + 4); ?>px <?php echo $flex_postwid_h5font; ?>, Helvetica, Tahoma;
    margin:10px 0 5px 0;
    padding: 0px;
    color: #<?php echo $flex_postwid_h5; ?>;
}
.adsenseposttop {
	<?php if ($flex_adsense_loc4align == "left") { ?>
	float:left;
    margin:10px 15px 15px 0;
    <?php } else if ($flex_adsense_loc4align == "right") { ?>
    float:right;
    margin:10px 0 15px 15px;
    <?php } else { ?>
    display:block; 
    margin:10px 0 15px 0;
    <?php } ?>
}
.adsenseleaderboard {
	 width:730px;
     height:90px;
     display:block;
     margin:5px auto 15px auto;
     text-align:center;
}
.adsensebottompost {
	clear:both;
}
<?php echo $flex_customcss; ?>