	<?php
		include "database.php";
		$res = mysqli_query($con, "SELECT * FROM system_configuration");
		$lang = mysqli_fetch_array($res);
	?>
	<meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- Tell the browser to be responsive to screen width -->
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <!-- Favicon icon -->
    <link rel="icon" href="assets/images/favicon.png" sizes="32x32" />
    <title><?php echo $lang['system_name']?></title>
    <!-- Bootstrap Core CSS -->
    <link href="assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <!-- morris CSS -->
    <link href="assets/plugins/morrisjs/morris.css" rel="stylesheet">
    <!-- Custom CSS -->
    <link href="css/style.css" rel="stylesheet">
    <!-- You can change the theme colors from here -->
    <link href="css/colors/blue.css" id="theme" rel="stylesheet">
	
<link href="assets/plugins/summernote/dist/summernote.css" rel="stylesheet" />
<style>
	.topbar {
		background:#FF4E4E !important;
	}
	.topbar .top-navbar .navbar-header {
		background:#fff !important;
	}
	.ti-menu,.mdi-close,.mdi-menu:before {
	    color:white !important;
	}
	.text-themecolor {
		color:#FF4E4E !important;
	}
	.btn-success {
		background:#FF4E4E !important;
		border: 1px solid #FF4E4E !important;
		box-shadow:none !important;
	}
	.sidebar-nav > ul > li.active > a {
		color:#fff !important;
		border-color: #FF4E4E;
	}
	.sidebar-nav ul li a:hover {
		//color:#FF4E4E !important;
	}
	.sidebar-nav ul li a:hover > i {
		//color:#FF4E4E !important;
	}
	.sidebar-nav > ul li a.active i {
		//color:#FF4E4E !important;
	}
	.topbar ul.dropdown-user li a:hover {
		color:#FF4E4E !important;
	}
	.dataTables_wrapper .dataTables_paginate .paginate_button.current {
		border: 1px solid #FF4E4E;
		background-color: #FF4E4E;
	}
	.profile-tab li a.nav-link.active {
		border-bottom: 2px solid #FF4E4E;
		color: #FF4E4E;
	}
	.text-success {
		color:#FF4E4E !important;
	}
	.control-label,b,h2 {
		color:black !important;
	}
	h6 {
		color:#FF4E4E !important;
		font-weight:500;
	}
	.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
		border: 1px solid #FF4E4E;
		background-color: #FF4E4E;
	}
	.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
		border: 1px solid #FF4E4E;
		background-color: #FF4E4E;
	}
	.user-profile .profile-text>a:hover {
		color:#FF4E4E !important;
	}
	.form-material .form-control {
		background-image: linear-gradient(#FF4E4E, #FF4E4E), linear-gradient(rgba(120, 130, 140, 0.13), rgba(120, 130, 140, 0.13)) !important;
	}
	table, th, td {
	  color: black !important;
	}
	
	.label-success {
		background:#FF4E4E !important;
	}
	
	@media only screen and (max-width: 600px) {
	  .dark-logo {
			width:40px !important;
		}
	}
</style>

<?php
	$res1 = mysqli_query($con, "SELECT * FROM system_configuration");
	$lang1 = mysqli_fetch_array($res1);
	$theme_color = $lang1['theme_color'];
  ?>
  
  <style>
	:root {
		--primary-color: #121a25;
		--secondary-color: <?php echo $theme_color; ?> !important;
	}
	.topbar,.btn-success {
		background:<?php echo $theme_color; ?> !important;
	}
	.btn-success {
		border: 1px solid <?php echo $theme_color; ?> !important;
	}
	.sidebar-nav > ul > li.active > a {
		border-color: <?php echo $theme_color; ?> !important;
	}
	
	.sidebar-nav > ul li a.active i {
		color: <?php echo $theme_color; ?> !important;
	}
	
	.sidebar-nav ul li:hover {
		color: <?php echo $theme_color; ?> !important;
	}
	
	.sidebar-nav>ul>li>a i {
		color: <?php echo $theme_color; ?> !important;
	}
	
	.profile-tab li a.nav-link.active {
		border-bottom: 2px solid <?php echo $theme_color; ?> !important;
		color: <?php echo $theme_color; ?> !important;
	}
	
	.hide-menu:hover {
		color: <?php echo $theme_color; ?> !important;
	}
	
	.text-themecolor {
		color:black !important;
	}
	
	.header__menu--items:hover .header__menu--link {
		color:<?php echo $theme_color; ?> !important;
	}
  </style>