<?php

$root = dirname(dirname(dirname(dirname(dirname(__FILE__)))));
if ( file_exists( $root.'/wp-load.php' ) ) {
    require_once( $root.'/wp-load.php' );
} elseif ( file_exists( $root.'/wp-config.php' ) ) {
    require_once( $root.'/wp-config.php' );
}
header("Content-type: text/css; charset=utf-8");
global $theme_option;
$main_color = onno_get_option( 'main_color' );
?>
a:hover,
a:focus,
a:active , header .dropdown.active > a,
header .dropdown.active .dropdown-menu .active > a,
.features-row .item-holder:hover,
.features-row .item-holder:hover h2,
.clear-link:hover,
.section-footer .clear-link:hover , header .top-menu-holder nav > ul > li a:hover, header .top-menu-holder nav > ul > li.current-menu-item > a
, header .top-menu-holder nav > ul > li.current-menu-ancestor > a,
.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus, .blog-list-page .blog-post-featured-row .blog-post-featured-excerpt a.readmore:hover, .section-footer a:hover, , .sticked-title a:hover, .blog-post-featured-excerpt h1 a:hover, .pages_link{
  color: <?php echo $main_color; ?>;
}
.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus{
	background-color: #fff;
}
::-moz-selection , ::selection {
  background-color: <?php echo $main_color; ?>;
}
.top-drop-menu {
	border-color: <?php echo $main_color; ?>;
}

.home-slider .flexslider .flex-direction-nav a:hover {
  color: <?php echo $main_color; ?> !important;
}
.section-footer{
	background-color: <?php echo onno_get_option( 'footer_bg' ); ?>
}
<?php
     $rgba = onno_hex2rgb($main_color);
?>
.home-slider .flexslider .flex-caption{
	background-color: rgba(<?php echo $rgba[0]; ?>, <?php echo $rgba[1]; ?>, <?php echo $rgba[2]; ?>,0.5);
}

<?php echo onno_get_option( 'custom_css' ); ?>