/*  
Theme Name: qubeGroup
Theme URI: http://www.qubegroup.com/
Description: The qubeGroup website.
Version: 1.0
Author: Yin Zheng

*/



/* Begin Typography & Colors */
body {
	font-size: 75%; /* Resets 1em to 12px */
	font-family: Arial, Helvetica, sans-serif;
	background: #fff;
	/*color: #979393;*/
	color: #000;
	text-align: center;
	}

#page {
	background-color: white;
	text-align: left;
	}

#header {
	text-align: left;
	}

#content {
	font-size: 1em
	}

.narrowcolumn .entry, .widecolumn .entry {
	line-height: 1.4em;
	}

.narrowcolumn .postmetadata {
	text-align: center;
	}

.alt {
	background-color: #f8f8f8;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	}

#footer {
	border: none;
	}

small {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 0.9em;
	line-height: 1.5em;
	}

h1 {
	display: none;
	}

h2,
h2.pagetitle  {
	font-size: 24px;
	text-transform: lowercase;
	font-weight: normal;
	}

h3 {
	font-size: 1.3em;
	}

h1, h1 a, h1 a:hover, h1 a:visited, #header .description {
	text-decoration: none;
	}

h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited {
	color: #333333;
	}

h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
	text-decoration: none;
	}

.entry p {
	margin: .5em 0;
}

.entry p a:visited {
	color: #e58b5f;
	}

.commentlist li, #commentform input, #commentform textarea {
	font-size: 0.9em;
	}

.commentlist li {
	font-weight: bold;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

#commentform p {
	}

.commentmetadata {
	font-weight: normal;
	}

#sidebar {
	font-size: 1em;
	}

small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
	color: #777;
	}

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

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

a	{
	color: #e58b5f;
	text-decoration: none;
	}

a:hover {
	color: #e58b5f;
	text-decoration: underline;
	}
	
h2 a:hover, h3 a:hover {
	color: #979393;
}

#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 Structure */
body {
	margin: 0;
	padding: 0; 
	}

#page {
	background-color: white;
	margin: auto;
	padding: 0;
	}

#header {
	margin: 0; 
	padding: 0;
	position: relative;
	}


.narrowcolumn,
.widecolumn  {
	float: left;
	padding: 0 10px;
	}

.narrowcolumn #maincontent,
.narrowcolumn .case_study {
	float: left;
	}
	
.narrowcolumn #maincontent{
}

.entry {
	margin: 0 0 15px;
	padding: 0 15px;
}

.post {
	margin: 0;
	}

.post hr {
	display: block;
	height:0;
	border: 1px solid #e58b5f;
	}

.widecolumn .post {
	margin: 0;
	}

.narrowcolumn .postmetadata {
	padding-top: 5px;
	}

.widecolumn .postmetadata {
	margin: 30px 0;
	}

.widecolumn .smallattachment {
	text-align: center;
	float: left;
	margin: 5px 5px 5px 0px;
}

.widecolumn .attachment {
	text-align: center;
	margin: 5px 0px;
}

.postmetadata {
	clear: left;
	display: none;
}

#footer {
	padding: 0 25px;
	margin: 0 auto;
	clear: both;
	position: relative;
	}

#footer p {
	margin: 0;
	padding: 10px 0;
	text-align: left;
	font-size: .9em;
	}
/* End Structure */


/* Miscellaneous
--------------------------------------------- */
	
.clear {
	clear: both;
	}
	
	
.alignright {
	float: right;
	}

.alignleft {
	float: left
	}


/*	Begin Headers */

h1 a {
	height: 100%;
	width: auto;
}

h2 {
	margin: 0 0 24px;
	}

h2.pagetitle {
}

#sidebar h2 {
	margin: 5px 0 0;
	padding: 0;
	}

h3 {
	padding: 0;
	margin: 1em 0 0;
	}

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
	}

p.large{
	font-size: 1.5em;
}
/* End Headers */



/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */



/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}

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

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

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}

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

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

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

#sidebar ul ul li, #sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
	}
/* End Entry Lists */



/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 5px 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;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 100%;
	padding: 2px;
	}

#commentform #submit {
	margin: 0;
	float: right;
	}
/* End Form Elements */



/* Begin Comments*/
.alt {
	display: none;
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	}

.commentlist li {
	margin: 15px 0 3px;
	padding: 5px 10px 3px;
	list-style: none;
	}

.commentlist p {
	margin: 10px 5px 10px 0;
	}

#commentform p {
	margin: 5px 0;
	}

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

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */



/* Begin Sidebar */
#sidebar{
	display: none !important;
	padding: 20px 0 10px 0;
	margin-left: 545px;
	width: 190px;
	}

#sidebar form {
	margin: 0;
	}
/* End Sidebar */



/* 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;
	}

hr {
	display: none;
	}

a img {
	border: none;
	}

/* End Various Tags & Classes*/

/* Begin Navigation */
#navigation {
	display: none;
}

/* End Navigation */


/* Begin Case Study */
div#myGallery,
div#foliothumbnails,
#cases {
	display: none;
}

/* End Case Study */

/* Begin SubNav */

#subnavigation,
.entry .quicklinks,
#footer .quicklinks{
	display: none;
}

/* End SubNav */

/* Begin Footer */

#footer a {
	color: #333;
}


/* End Footer */

/* Begin Quick Links*/

/* End Quick Links*/

#homebanner {
	display: none;
}

/* Begin Orange Box */
/* Javascript is used to insert spans for the Orange Box as wordpress editor does not handle spans very well*/
#maincontent .box,
#contactform {
	position: relative;
	background: #FAEFE5;
	padding: 0 0 10px;
}

#maincontent .box h3,
#contactform h3,
#maincontent .box .header,
#contactform .header{
	display: block;
	width: auto;
	margin: 0;
	padding: 10px 20px;
	background: #cc6600;
	color: #fff;
	font-size: 14px;
	font-weight: bold;
}


#maincontent .box .outer,
#maincontent .box .inner,
#contactform .outer,
#contactform .inner
{
	display: block;
	width: 10px;
	height: 10px;
	position: absolute;
	margin: 0;
	padding: 0;
}

#maincontent .box .header,
#contactform .header{
	background:  #cc6600 url('images/square_top_left_orange.gif') top left no-repeat;
}
#maincontent .box .header h3,
#contactform .header h3{
	padding: 0;
}


#maincontent .box h3 .inner,
#contactform h3 .inner{
	right: 0;
	top: 0;
	background: transparent url('images/square_top_right_orange.gif') top right no-repeat;
}

#maincontent .box .outer,
#contactform .outer{
	left: 0;
	bottom: 0;
	background: url('images/square_bottom_left.gif') left bottom no-repeat;
}

#maincontent .box .inner,
#contactform .inner{
	right: -1px;
	bottom: 0;
	background: url('images/square_bottom_right.gif') left bottom no-repeat;
}

#maincontent .box ul{
	margin: 0 20px;
	padding: 0;
	list-style: none;
}

#maincontent .box li{
	border-top:  #cc6600 solid 1px;
	padding: .8em 0 .8em 2em;
	background: url('images/dh_arrow_orange.gif') top left no-repeat;
	background-position: 0 .8em ;
}

#maincontent .box li.first{
	border: none;
}

/* End Orange Box */

/* Begin Contact */
.contact #maincontent {
	float: left;
	width: 100%;
	}

#contactform{
	display: none;
	width: 370px;
	margin: 0;
	padding: 0;
	text-align: left;
}

.contact #contactform {
	float: left;
}

#contactform span.formlabel{
	display: block;
	float: left;
	padding: 2px;
	font-weight: bold;
	width: 120px;
	text-align: left;
}

#contactform .em_wfs_input_text,
#contactform .em_wfs_layout {
	width: 200px;
	padding: 2px;
	float: left;
}

#contactform .em_wfs_input_text{
	border: 1px solid #979393;
}

#contactform .formitem{
	display: block;
	clear: both;
	text-align: left;
	padding: 4px 20px;
}
/* End Contact */