/*  
Theme Name: IPM
Description: WordPress Theme for IPM, adapted from the Default WordPress theme.
Version: 0.1
Author: Morley Zhi
Email: mz@entermarketing.com

	WordPress Default
	 http://wordpress.org/

	Kubrick v1.5
	 http://binarybonsai.com/kubrick/

	This theme was modified from one built by Michael Heilemann,
	whose blog you will find at http://binarybonsai.com/

	The CSS and XHTML is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/


/**************************************
RESET
**************************************/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, font, img, ins, kbd, q, s, samp,
small, strike, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {	outline: 0; }
body { line-height: 1; color: black; background: white; }
ol, ul {	list-style: none; }
/* tables still need 'cellspacing="0"' in the markup */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td {	text-align: left;	font-weight: normal; }
blockquote:before, blockquote:after, q:before, q:after {	content: ""; }
blockquote, q { quotes: "" ""; }


/**************************************
DIRECT FROM SERGE - CLASSES
**************************************/

a:link, a:visited {
  color: #266CAC;
  text-decoration: none;
}
a:hover, a:active {
  color: #064C9C;
  text-decoration: underline;
}

.err, .required {
  color: #fe1010;
  font-weight: bold;
}

.err0 {
  color: #fe1010;
  font-weight: normal;
}


form {
  margin: 0;
}

.clear {
  clear: both;
}


/**************************************
DIRECT FROM SERGE - HEADER
**************************************/

body {
  background: #5D9ED8 url(images/ipm_bg.jpg) repeat-x left top;
  margin: 0;
  padding: 0;
  width: 100%;
}

#wrapper {
  width: 942px;
  margin: 0 auto;
  margin-top: 85px;
  margin-bottom: 15px;
}

#wrapper_inner {
  width: 910px;
  margin: 0 16px;
}

#header {
  width: 910px;
  height: 105px;
  background: #FFFFFF url(images/wrapper_top.gif) no-repeat left top;
}

#content {
  position: relative;
  width: 910px;
  text-align: left;
  min-height: 380px;
  overflow: visible;
  background-color: #FFFFFF;
}

#content_inner {
  width: 870px;
  padding: 0 20px 10px 20px;
}

* html #content {
  height: 380px;
  overflow: visible;
}


#logo {
  float: left;
  width: 349px;
  height: 93px;
  margin-top: 12px;
}

#login {
  float: right;
  width: 325px;
  height: 93px;
  text-align: left;
  margin-top: 12px;
  overflow: hidden;
}

#login_form {
  margin: 18px 0 0 10px;
}

#login_row2 {
  margin: 4px 0;
  font-size: 9px;
  color: #898989;

}

#login_row2 input, #login_row2 label {
vertical-align:middle;
}
#agentcode, #password {
	font-family: Tahoma, Verdana, Sans-Serif;
  color: #535353;
  font-size: 11px;
  line-height: 11px;
  background-color: #FFFFFF !important;
  border: #C3C3C3 1px solid;
  margin: 0;
  padding: 1px;
  width: 82px;
  height: 14px;
}

#javaClient {
  padding: 0;
  margin: 0;
}

/**************************************
DIRECT FROM SERGE - NAV
**************************************/

#menu {
  width: 910px;
  height: 32px;
  overflow: hidden;
  text-align: left;
  background: #ac0100 url(images/menu_bg.gif) repeat-x left top;
}

.menu_main {
  float: left;
  height: 32px;
  min-width: 10px;
}

* html .menu_main {
  width: 10px;
  overflow: visible;
}

.menu_main_inner, .menu_main_inner_a {
  position: relative;
  height: 26px;
  margin-top: 6px;
  margin: 6px 2px 0 1px;
}

.menu_main_inner_a {
  background-color: #FFFFFF;
}

.menu_main0 {
  float: left;
  height: 26px;
  width: 20px;
}

.menu_main_inner a, .menu_main_inner_a a {
  display: block;
  position: relative;
  padding: 5px;
  font-size: 13px;
  font-family: Arial, Helvetica, Sans-Serif;
  text-transform: uppercase;
  color: #FFFFFF;
}

.menu_main_inner_a a {
  color: #CC0000;
}

.menu_main_inner a, .menu_main_inner a:link, .menu_main_inner a:visited {
  color: #FFFFFF;
  text-decoration: none;
}

.menu_main_inner a:hover, .menu_main_inner a:active {
  color: #FFFFFF;
  text-decoration: underline;
}

.menu_main_inner_a a, .menu_main_inner_a a:link, .menu_main_inner_a a:visited {
  color: #CC0000;
  text-decoration: none;
}

.menu_main_inner_a a:hover, .menu_main_inner_a a:active {
  color: #CC0000;
  text-decoration: underline;
}

.mm_item_bg {
  position: relative;
  height: 0;
}

.mm_item_bg_left {
  position: absolute;
  left: 0;
  top: 0;
  width: 11px;
  height: 26px;
  background: #FFFFFF url(../images/mm_item_bg_left.gif) no-repeat left top;
}

.mm_item_bg_right {
  position: absolute;
  right: -1px;
  top: 0;
  width: 11px;
  height: 26px;
  background: #FFFFFF url(../images/mm_item_bg_right.gif) no-repeat left top;
}

#submenu {
  background-color: #FFFFFF;
  text-align: left;
  padding: 9px 2px 6px 26px;
  font-size: 11px;
  line-height: 14px;
  font-family: Tahoma, Verdana, Arial, Helvetica, Sans-Serif;
}

#submenu a, #submenu a:link, #submenu a:visited, #submenu a:hover, #submenu a:active {
  color: #535353;
}

#submenu a.active, #submenu a.active:link, #submenu a.active:visited, #submenu a.active:hover, #submenu a.active:active {
  color: #266CAC;
  text-decoration: underline;
}

/**************************************
DIRECT FROM SERGE - FOOTER
**************************************/

#footer {
  width: 910px;
  height: 90px;
}

#footer div {
  padding-top: 18px;
}

#footer #copyright {
  padding-top: 12px;
}

.copyright {
  font-size: 11px;
  color: #A9CEF0;
}

.copyright a, .copyright a:link, .copyright a:visited {
  color: #A9CEF0;
  text-decoration: none;
}

.copyright a:active, .copyright a:hover {
  color: #A9CEF0;
  text-decoration: underline;
}

.text, .select {
  background-color: #ffffff !important;
}




/**************************************
PAGE STRUCTURE - COLUMNS
**************************************/

#content_out {
background: url(images/wrapper_bottom.gif) bottom no-repeat;
padding: 0 0 10px;
}

#content {
background:#fff;
padding:25px 0 10px;
}
.narrowcolumn {
padding:0 20px 0 5px;
width:604px;
float:right;
}

#sidebar_bottom {
background: url(images/home_box_left_bottom.gif) bottom no-repeat;
padding: 0 0 6px;
width:254px;
margin:0 5px 0 20px;
}

#sidebar_top {
background: url(images/home_box_left_top.gif) top no-repeat;
padding: 6px 0 0;
}

#sidebar {
background: url(images/home_box_left_bg.gif) repeat-y;
}

/**************************************
PAGE STRUCTURE - POSTS
**************************************/


.post, .post_single {
margin: 20px 0;
width:604px;
background: url(images/home_box_right_bg.gif) repeat-y;
}
.post_single { margin:0 0 20px; }
.post_description, .post_data, .entry {
padding:5px 10px;
}

.post_data {
background:#ddd;
}

.post_description {
background: url(images/home_box_right_bottom.gif) bottom no-repeat;
border-top:1px solid #ddd;
}

h2 {
padding:10px;
background:#ac0100 url(images/home_box_right_top.gif) top no-repeat;
}

/**************************************
TYPO - GENERAL
**************************************/

body, html {
font:11px Tahoma;
color:#535353;
}

p {
padding: 10px 0;
}

ul { 
margin: 0 0 0 25px;
padding: 0 0 10px 5px;
}

li {
list-style-type:disc;
margin:5px 0;
}

/**************************************
TYPO - HEADERS
**************************************/

h1, h2, h3, h4 {
font-family:Helvetica, Arial, sans-serif;
}

h1, h1 a:link, h1 a:visited, h1 a:active, h1 a:hover {
font-size:24px;
font-weight:bold;
color:#000;
text-decoration:none;
}


h2, h2 a:link, h2 a:visited, h2 a:active, h2 a:hover {
font-size:16px;
text-transform:uppercase;
font-weight:normal;
color:#fff;
text-decoration:none;
}

h1 a:hover, h2 a:hover {
text-decoration:underline;
}


/**************************************
TYPO - POSTS
**************************************/

#sidebar p {
padding:5px 10px;
}


/**************************************
TYPO - SIDEBAR
**************************************/

.post p.post_data {
padding:5px 10px;
background:#ddd;
color:#333;
}

.post p.post_description {

border-top:1px solid #ddd;
}

/**************************************
TYPO - COMMENTS
**************************************/


.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}


	
.commentlist {
list-type:none;
padding:20px 0;
}

.commentlist li {
list-style:none;
padding:0;
margin:0 0 10px;
background:#f6f6f6;
}

.commentlist li p {
padding:10px; 
}

h4 {
background: #5D9ED8;
}

h4, h4 a:link, h4 a:visited, h4 a:active, h4 a:hover {
color:#fff;
font-size:12px;

}

.commentlist li h4, p.comment_data {
padding:5px 10px !important;
}

p.comment_data { background:#ddd; }

h3#comments, h3#respond {
font-size:16px;
font-weight:bold;
padding:10px 0 0;
}

#commentform p {
padding: 5px 0;
}

#commentform input {
	width: 170px;
	padding: 7px 7px 3px 2px;
	}

#commentform textarea {
	width: 600px;
	padding: 2px;
	}
	
	#commentform #comment {
	height:100px;
	}



#commentform #submit {
	margin: 0;
	float: right;
	}

#commentform p {
	margin: 5px 0;
	}


/**************************************
TYPO - NAVIGATION
**************************************/

div.navigation {

}

div.navigation div.prev, div.navigation div.next {
display:inline;
padding:10px;
}



/**************************************
LISTS - SIDEBAR
**************************************/


#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
	}

#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	padding-bottom: 15px;
  margin:0;
	}

#sidebar ul select {
	padding: 5px 0 8px;
	}

#sidebar ul ul, #sidebar ul ol {
	padding: 5px 0 0 10px;
	}

#sidebar ul ul ul, #sidebar ul ol {
	padding: 0 0 0 10px;
	}

ol li, #sidebar ul ol li {
	list-style: decimal outside;
	}

#sidebar ul ul li, #sidebar ul ol li {
	padding: 5px 0 0;
	}


.widecolumn .entry p {
	}

.narrowcolumn .entry, .widecolumn .entry {

	}

.widecolumn {
	}

.narrowcolumn .postmetadata {

	}





code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}

acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: .07em;
	}

#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
/* End Typography & Colors */





/* Begin Form Elements */
#searchform {
	margin: 0 auto;
	padding: 15px 3px; 
	text-align: center;
	}

#sidebar #searchform #s {
	width: 108px;
	padding: 2px;
	}

#sidebar #searchsubmit {
	padding: 1px;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}


/* End Form Elements */





/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}


a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	}
/* End Various Tags & Classes*/
