/*  
Theme Name: ics-it
Theme URI: http://www.ics-it.co.uk
Description: Intelligent Computing Solutions v1.1 web site
Author: Michalis Kongtongk
Author URI: http://www.ics-it.co.uk
Version: 1.1
*/

body {
	margin: 0;
	padding: 0;
	font-family: Verdana, sans-serif;
	font-size: small;
	text-align: center;
	color: #333;
	background: #eee;
	}

a:link, a:visited {
	color: #399DCF;
	text-decoration: none;
	}
a:hover {
	color: #fff;
	background: #399DCF;
	}

/* ------------------------------------------------------------

	page structure

------------------------------------------------------------ */

#wrap {
	width: 770px;
	margin: 0 auto;
	padding: 0 6px;
	font-size: 95%;
	text-align: left;
	background: #fff url(images/wrap-bg.gif) repeat-y top left;
	}
#main-body {
	float: left;
	width: 100%;
	background: url(images/nav-bg.gif) no-repeat top left;
	}
#content {
	float: left;
	width: 496px;/*prev 496px*/
	margin: 12px 0 0 0;
	background: #fff;
	}
#sidebar {
	float: right;
	position: relative;
	width: 274px;/*prev 274px*/ 
	background: #dbdbdb;
	}
#footer {
	clear: both;
	margin: 0;
	padding: 20px 20px 12px 20px;
	border-top: 1px solid #fff;
	background: #cecece url(images/footer-bg.gif) no-repeat top left;
	}

/* ------------------------------------------------------------

	header

------------------------------------------------------------ */

#header {
	float: left;
	width: 100%;
	background: #fff;
	}
#header h1 {
	float: left;
	margin: 0;
	padding: 20px;
	}
#header h2 {
	float: right;
	margin: 28px 20px 20px 20px; /*prev 28px 20px 20px 20px*/
	padding: 0;
	font-family: "Trebuchet MS", sans-serif;
	font-size: 100%;
	font-weight: normal;
	color: #777;
	}

/* ------------------------------------------------------------

	navigation

------------------------------------------------------------ */

#nav {
	float: left;
	width: 100%;
	font-size: 90%;
	}
#nav ul {
	float: left;
	width: 738px;
	margin: 0;
	padding: 0 0 12px 20px;
	list-style: none;
	}
#nav ul li {
	float: left;
	margin: 0;
	padding: 0;
	}
#nav ul li a {
	display: block;
	float: left;
	margin: 1px 0 0 0;
	padding: 6px 10px 9px 10px;
	font-weight: bold;
	text-decoration: none;
	color: #555;
	}
#nav ul li a:hover {
	background: #c9c9c9;
	}
#nav ul li.active a, #nav ul li.active a:hover {
	margin-top: 0;
	padding-bottom: 10px;
	border-right: 1px solid #bbb;
	background: #fff url(images/nav-item-bg.gif) no-repeat bottom right;
	}

/* ------------------------------------------------------------

	content

------------------------------------------------------------ */

h2#title {
	margin: 0;
	padding: 18px 20px; /*prev 18px 20px*/
	font-family: "Trebuchet MS", sans-serif;
	font-size: 180%;
	color: #fff;
	background: #399DCF url(images/title-bg.gif) no-repeat top left;
	}

/* override for home page */

body.home h2#title {
	margin: 0;
	padding: 0;
	background: none;
	}
	
#content-inner {
	margin: 20px;
	line-height: 1.4em;
	}
#content-inner ul {
	margin: 1.5em 0 1.5em 40px;
	padding: 0;
	list-style: none;
	}
#content-inner ul li {
	margin: 0 0 8px 0;
	padding: 0 0 0 13px;
	color: #555;
	background: url(images/icon-bullet.gif) no-repeat 0 6px;
	}
#content-inner blockquote {
	margin: 1em 0 1em 20px;
	padding: 0 0 0 22px;
	font-size: 90%;
	line-height: 1.4em;
	color: #666;
	background: url(images/icon-quotes.gif) no-repeat 0 2px;
	}

/* weblog entries */

div.entry h3 {
	font-family: "Trebuchet MS", sans-serif;
	font-size: 150%;
	}
div.entry p.posted {
	margin: 0;
	padding: 0 0 0 21px;
	font-size: 90%;
	color: #666;
	background: url(images/icon-permalink.gif) no-repeat 0 3px;
	}
div.entry p.tags {
	margin: 4px 0 20px 0;
	padding-bottom: 20px;
	border-bottom: 1px solid #ddd;
	background-image: url(images/icon-tags.gif);
	}
div.entry p.posted a {
	color: #666;
	border-bottom: 1px dotted #bbb;	
	}
div.entry p.posted a:hover {
	background: #666;
	color: #fff;
	border: none;
	}
div.last p.posted {
	border-bottom: none;
	}
	
/* ------------------------------------------------------------

	sidebar

------------------------------------------------------------ */

/* contactdetails box */

#contactdetails {
	margin: 0;
	padding: 20px;
	background: #A9CC4C url(images/sidebar-green-bg.gif) no-repeat top left;
	}
#contactdetails h3 {
	margin: 0;
	padding: 0;
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	font-size: 150%;
	color: #fff;
	}
#contactdetails dl {
	margin: 1em 0;
	padding: 0;
	line-height: 1.3em;
	}
#contactdetails dl dt {
	margin: 0;
	padding: 0 0 0 22px;
	font-weight: bold;
	background: url(images/icon-news.gif) no-repeat 0 1px;
	}
#contactdetails dl dd {
	margin: 0 0 8px 22px;
	padding: 0;
	font-size: 90%;
	color: #527000;
	}
#contactdetails p {
	margin: 0;
	padding: 0;
	font-size: 90%;
	text-align: right;
	}
#contactdetails a.more {
	padding-right: 8px;
	font-weight: bold;
	background: url(images/bullet-newsmore.gif) no-repeat 100% 4px;
	}
#contactdetails a {
	color: #3B5000;
	text-decoration: none;
	}
#contactdetails a:hover {
	background-color: #C6E76E;
	}



/* sidebar contents */

#sidebar-inner {
	border-top: 1px solid #fff;
	padding: 20px;
	}
#sidebar-inner h4 {
	margin: 0 0  5px 0;
	padding: 0;
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	font-size: 130%;
	color: #555;
	}
#sidebar-inner ul {
	margin: 0 0 20px 0;
	padding: 0;
	list-style: none;
	}
#sidebar-inner ul li {
	margin: 0;
	padding: 5px 0 5px 15px;
	font-size: 90%;
	border-bottom: 1px solid #ccc;
	background: url(images/bullet-grey.gif) no-repeat 3px 9px;
	}
#sidebar-inner ul li.last {
	border-bottom: none;
	}

/* teasers */

dl.teaser {
	margin: 0 0 10px 0;
	padding: 0 0 10px 0;
	font-size: 90%;
	line-height: 1.4em;
	border-bottom: 1px solid #ccc;
	}
dl.teaser:after {
	content: "."; 
    display: block; 
    height: 0; 
    clear: left; 
    visibility: hidden;
    }
dl.last {
	border-bottom: none;
	}
dl.teaser dt {
	float: left;
	}
dl.teaser dt img {
	padding: 3px;
	border: 1px solid #ccc;
	border-top: none;
	border-left: none;
	background: #fff;
	}
dl.teaser dt a:hover img {
	border-color: #eee;
	background: #ccc;
	}
dl.teaser dd {
	margin: 0 0 0 65px;
	padding: 0;
	color: #444;
	}
dl.teaser dd.link {
	margin-bottom: 3px;
	font-family: "Trebuchet MS", sans-serif;
	font-weight: bold;
	font-size: 130%;
	}
dl.teaser dd.link a {
	padding-right: 9px;
	background-image: url(images/bullet-sidemore.gif);
	background-repeat: no-repeat;
	background-position: 100% 6px;
	}
dl.teaser dd.link a:hover {
	background-image: url(images/bullet-sidemore-hov.gif);
	}

/* subnav box */

#subnav {
	margin: 0;
	padding: 20px;
	background: #A9CC4C url(images/sidebar-green-bg.gif) no-repeat top left;
	}
#subnav h3 {
	margin: 0 0 5px 0;
	padding: 0;
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	font-size: 130%;
	color: #fff;
	}
#subnav ul {
	margin: 0;
	padding: 0;
	font-size: 90%;
	list-style: none;
	line-height: 1.3em;
	}
#subnav ul li {
	margin: 0;
	padding: 8px 0 8px 15px;
	font-weight: bold;
	border-bottom: 1px solid #9FC43D;
	background: url(images/bullet-green.gif) no-repeat 3px 12px;
	}
#subnav ul li#subnav-last {
	padding-bottom: 0;
	border-bottom: none;
	}
#subnav a {
	color: #3B5000;
	text-decoration: none;
	}
#subnav a:hover {
	background-color: #C6E76E;
	}
#subnav ul li.active {
	background-image: url(images/bullet-blue.gif);
	}
#subnav ul li.active a, #subnav ul li.active a:hover {
	color: #195F82;
	background-color: none;
	}


/* ------------------------------------------------------------

	forms

------------------------------------------------------------ */
.contactform { padding: 5px 0 5px 0; }	

.contact_email { margin: 0 10px 0 10px; }			
.inputbox { border: 1px solid #ccc; width: 350px; background: #fff; font: 12px monaco, verdana, sans-serif;	color: #444; padding: 3px; margin-bottom: 10px; outline: none; }	
.inputbox:focus {	background-color: #F3FBFD; }	

/* ------------------------------------------------------------

	footer

------------------------------------------------------------ */

#footer p {
	margin: 0 0 8px 0;
	padding: 0;
	font-size: 90%;
	color: #555;
	}
	
#footer p.logo {
  	padding: 5px 0 5px 0;
	background: url(images/footerlogo.gif) no-repeat 100% 50%;
	line-height: 140%;
	}
	
#footer p a {
	color: #555;
	border-bottom: 1px dotted #aaa;
	}
#footer p a:hover {
	color: #fff;
	border: none;
	background: #555;
	}

/* ------------------------------------------------------------

	misc.

------------------------------------------------------------ */

a img {
	border: none;
	}
hr, .hide {
	display: none;
	}

/* ------------------------------------------------------------

	IE fixes

------------------------------------------------------------ */

/* hide from IE/Mac \*/
#main-body {
	clear: left;
	}

* html div {
	height: 1%;
	}
/* end hide */


body {
	font-size: x-small; /* IE5 Win */
  	voice-family: "\"}\""; 
  	voice-family: inherit;
  	font-size: small;
	}
html>body { /* be nice to Opera */
	font-size: small;
	}

#wrap {
	width: 782px; /* IE5 Win prev 782px*/
  	voice-family: "\"}\""; 
  	voice-family: inherit;
  	width: 770px;
	}
html>body #wrap { /* be nice to Opera */
	width: 770px;
	}


/* self-clearing float */

#nav { display: inline-block; } /* for IE/Mac */
/* Hides from IE/Mac \*/
* html #nav, * html #footer { height: 1%; }
#nav { display: block; }
/* End hide from IE/Mac */
