/* main */
body {
  margin: 0px;
  position: relative;
  background-image:  url('/gfx/textile.jpg');
}
body #top-gradient{
  position: absolute;
  top: -20px; left: 0px;
  background-image: url('/gfx/textile_gradient.jpg');
  background-repeat:  repeat-x;
  height: 800px;
  width: 100%;
  overflow: hidden;
  z-index: -10;
}
html{
  margin: 0px;
}
#bg { 
  position: fixed; 
  top: 0; 
  left: 0;
  z-index: -11; 
}
.bgwidth { 
  width: 100%; 
}
.bgheight { 
  height: 100%; 
}
.wrapper{
  width: 982px;
  margin: 10px auto 0px auto;
  position: relative;
  min-height: 555px;
  padding: 20px 0px;
}
.wrapper #bg-wrapper-top {
  background: 0px 0px url('/gfx/bg-wrapper-top.png') no-repeat;
  position: absolute;
  top: 0px; left: 0px;
  width: 982px; height: 406px;
  z-index: -6;
}
.wrapper #bg-wrapper-body {
  background: 0px 0px url('/gfx/bg-wrapper-body.png') repeat-y;
  position: absolute;
  bottom: 184px;
  top: 406px; left: 0px; 
  width: 982px;
  z-index: -6;
}
.wrapper #bg-wrapper-bottom {
  background: 0px 0px url('/gfx/bg-wrapper-bottom.png') no-repeat;
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 982px; height: 184px;
  z-index: -6;
}
.wrapper .content-top {
  background: 0px 0px url('/gfx/bg-content-top.png') no-repeat;
  position: relative;
  width: 945px; 
  height: 14px;
  margin: auto;
  z-index: -3;
  font-size: 0.1em; /*IE6 fix*/
}
.wrapper .content{
  background: 0px 0px url('/gfx/bg-content-body.png') repeat-y;
  width: 881px;
  margin: auto; 
  padding: 60px 32px 10px 32px;
  min-height: 360px;
}
.wrapper .content .pagetitle{
  display: none;
}
.wrapper .content-bottom{
  background: 0px 0px url('/gfx/bg-content-bottom.png') no-repeat;
  width: 945px;
  height: 14px; 
  margin: auto;
}
.wrapper .content .pagetitle{

}
.wrapper .logo {
  background: 0px 0px url('/gfx/logo.png') no-repeat;
  position: absolute;
  width: 172px; height: 36px;
  top: 36px;
  left: 6px;
  z-index: 0;
  cursor: pointer;
  padding-right: 23px;
}
.wrapper .slogan {
  float: right;
  font-style: italic;
  margin-right: 42px;
}
.wrapper .bullet {
  margin: 0 0.3em;
  color: inhert;
}
.floatleft {
  float: left;
}
.floatright {
  float: right;
}
.half {
  width: 45%;
  margin-right: 10px;
  margin-bottom: 10px;  
}
.third {
  width: 33%;
  margin-right: 0px;
}
.quarter {
  width: 24%;
  margin-right: 3px;
}
.textcenter {
  text-align: center;
}
.textright {
  text-align: right;
}
a img {
  border-width: 0px;
}
.clearfloat{
  clear: both;
}

/* typography */
.wrapper {
  font-family: "myriad-pro-1","myriad-pro-2";
  font-size: 10pt;
  line-height: 1.5em;
}
.wrapper a {
  color: #003aa3;
  font-family: inherit;
  text-decoration: none;
  font-style: italic;
}
.wrapper a:hover {
  text-decoration: underline;
}
.wrapper .logo {
  color: white;
  line-height: 31px;
  text-align: right;
  font-size: 1.1em;
  font-style: italic;
  font-family: "rooney-web-1","rooney-web-2";  
}
.wrapper p {
  margin: 0px 0px 1.5em 0px;
}
.wrapper .slideshare {
	margin: 0px 0px 1.5em 0px;
}
.wrapper h1, .wrapper h2, .wrapper h3 {
  font-family: "rooney-web-1","rooney-web-2";
  font-weight: 700;
  font-style: normal;
  margin: 0px;
  padding: 0px;
}
.wrapper h1 a, .wrapper h2 a, .wrapper h3 a {
  font-style: normal;
}
.wrapper h1 {
  font-size: 15pt;
  line-height: 1em;
}
.wrapper h2 {
  font-size: 13pt;
  line-height: 1.1538em;
}
.wrapper h3 {
  font-size: 11pt;
  line-height: 1.3636em;
}
.wrapper pre {
  font-family: "inconsolata-1","inconsolata-2","courier";
  padding: 0px 2em;
  line-height: 1.5em;
  font-size: 10pt;
  margin: 0px 0px 1.5em 0px;  
  background-color: #ccc;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;  
	white-space: pre-wrap;
	white-space: -moz-pre-wrap !important;
	white-space: -pre-wrap;
	white-space: -o-pre-wrap;
	word-wrap: break-word;
}
.wrapper span.code {
  font-family: "inconsolata-1","inconsolata-2","courier";
  padding: 0.2em 0.2em;
  line-height: 1.5em;
  font-size: 10pt;
  margin: 0px;
  background-color: #ccc;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
.wrapper .footer {
  font-size: 10pt
}
.wrapper .footer h2 {
  margin-bottom: 0em;
}

/*blog*/
.blog {
  margin: 0px;
}
.blog .blogname{
  display: none; /* duplicate with page title */
}
.blog .blogitem .blogname{
  display: block; /* do show in single blogitem */
}
.blog .blogitems{

}
.blog .permalink {
  display: none;
}
.blog .blogitem {
  margin: 0px -29px 3em -30px; /* hit the sides */
  padding: 0px 29px 4em 30px; /* compensate sides */
  background-image: url('/gfx/blogitem-bg.png');
  background-repeat: no-repeat;
  background-position: left bottom;
}
.blog .blogitem .col1 {
  float: left;
  width: 240px;
  font-style: italic;  
  text-align: right;
}
.blog .blogitem .col1 .intro {
  margin-top: 1.5em;
  position: relative;
}
.blog .blogitem .col1 .intro h3 {
	font-style: italic;
	display: block;
}

.blog .blogitem .col2 {
  margin-left: 260px;
}
.blog .blogitem .col2 p:last-child {
  margin-bottom: 0.75;
}

.blog .blogitem h1 {
  padding-left: 260px;
  border-bottom: 1px dashed #aaa;
  padding-bottom: 0.45em;
  margin-bottom: 0.45em;
}
.blog .blogitem h1 a {
  text-decoration: none;  
  color: inherit;
}
.blog .blogitem h1 a:hover {
  text-decoration: underline;
  color: inherit;
}
.blog .blogitem .blogdate {
  font-size: 13pt;
  line-height: 1.1538em;
	font-weight: bold;
  font-family: "rooney-web-1","rooney-web-2"; 	
}
.blog .blogitem .blogtext {
  clear: left;
}
.blog h3{
  display: inline;
}

/* blog tags */
.content .blogitem .tags {
	float: right;
	margin-top: 4px;
}
.content .blogitem .tags ul {
  margin: 0px; padding: 0px;
}
.content .blogitem .tags ul li{
  list-style-type: none; 
  display: inline; 
  margin: 0px; padding: 0px;
}
.content .blogitem .tags ul li.tagicon{
  margin-right: 6px;
}
.content .blogitem .tags ul li.tagicon img{
  margin-bottom: -1px;
}
.content .blogitem .tags ul li a{
  text-decoration: none;
}
.content .blogitem .tags ul li a:hover{
  text-decoration: underline;
}

/* blogitem footer boxes */
.blog .blogitem .bottom {
  margin-left: 260px;  
  border-top: 1px dashed #aaa;
  padding-top: 0.75em;
  margin-top: -0.75em;
}
.content .blogitem .related,
.content .blogitem .share {
  float: left;
}

/* blog related items */
.content .blogitem .related {
  float: left;
  margin: 1px solid red;
}
.content .blogitem .related ul {
  margin: 0px; padding: 0px;
}
.content .blogitem .related ul li{
  list-style-type: none;
  margin: 0px; padding: 0px;
}
.content .blogitem .related ul li .abstract {
	padding-left: 2em;
	display: block;
	color: #999;
	margin-bottom: 0;
}

/* blog attachments */
.content .blogitem .attachments {
	position: relative;
	margin-top: -0.75em;
	padding-top: 0.75em;
	margin-bottom: 0.75em; /*some extra margin because of negative margin of .bottom */
	z-index: 2;
	border-top: 1px dashed #aaa;
}
.content .blogitem .attachments ul {
  margin: 0px; padding: 0px;
}
.content .blogitem .attachments ul li{
  list-style-type: none;
}
.content .blogitem .attachments ul li div{
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	border: 1px solid #aaa;
	width: 60px;
	height: 60px;
	overflow: hidden;
	float: left;
  margin: 0px 1em 1em 0px; 	
  text-align: center;
  vertical-align: center;
	word-wrap: break-word;  
}
.content .blogitem .attachments ul li img{
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

/* blog sharing */
.content .blogitem .share {
  float: left;
  width: 165px;
  margin-left: 10px; 
}

/* tag page */
.content .tag, .content .alltags {
  margin: 0px -29px 1em -30px;
  padding: 0px 29px 2.5em 30px;
  background-image: url('/gfx/blogitem-bg.png');
  background-repeat: no-repeat;
  background-position: left bottom;
}
.content .tag ul, .content .alltags ul {

}
.content .tag ul li .abstract {
	padding-left: 2em;
	display: block;
	color: #999;
	margin-bottom: 0;
}
.content .tag h1, .content .alltags h1 {
  border-bottom: 1px dashed #aaa;
  padding-bottom: 0.45em;
  margin-bottom: 0.45em; 
}
.content .tag h1 img, .content .alltags h1 img{
  display: inline;
  margin-right: 6px;
}
.content .alltags ul li {
  float: left;
  width: 200px;
}

/* colorbox */
#colorbox {
	font-family: "myriad-pro-1","myriad-pro-2";
	font-weight: normal;
	font-size: 10pt;
}

/* pagination */
.pagination {
  font-style: italic;
  margin: -3em auto 0px auto;
  text-align: center;
}
.pagination span {
  background-color: #ddd;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  padding: 4px 8px;
  margin-left: .6em;
}
.pagination span.selected {
  border: 1px solid #aaa;
  font-weight: bold;
  padding: 3px 7px;
}
.pagination span:hover {
  cursor: pointer;
  border: 1px solid #aaa;
  padding: 3px 7px;
}

/* link blocks */
.linkblock{
  float: left;
}
.linkblock .title{
  font-weight: bold;
}
.linkblock a {
  color: #001a44;
}
.footer #linkblock-1, .footer #linkblock-3 {
  width: 280px;
  margin-right: 15px;
}
.footer #linkblock-2 {
  width: 280px;
}

/* Footer */
.footer{
  width: 881px;
  margin: 1em auto 0px auto;
}
.footer ul {
  margin: 0px; padding: 0px;
}
.footer ul li {
  list-style-type: none;
  display: inline;
}
