/*
Theme Name: BlueMasters
Theme URI: http://codyaswann.com/
Description: This theme is based on the Blue Masters PSD templates
Author: Cody Swann
Version: 1.0
*/


/* 
  style.css contains a reset, font normalization and some base styles.
  
  credit is left where credit is due.
  additionally, much inspiration was taken from these projects:
    yui.yahooapis.com/2.8.1/build/base/base.css
    camendesign.com/design/
    praegnanz.de/weblog/htmlcssjs-kickstart
*/

/* 
  html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
  v1.4 2009-07-27 | Authors: Eric Meyer & Richard Clark
  html5doctor.com/html-5-reset-stylesheet/
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, figure, footer, header, 
hgroup, menu, header nav ul , section, menu,
time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}                  

article, aside, figure, footer, header, 
hgroup, header nav ul , section { display:block; }

header nav ul  ul { list-style:none; }

blockquote, q { quotes:none; }

blockquote:before, blockquote:after,
q:before, q:after { content:''; content:none; }

a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; }

ins { background-color:#ff9; color:#000; text-decoration:none; }

mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }

del { text-decoration: line-through; }

abbr[title], dfn[title] { border-bottom:1px dotted #000; cursor:help; }

/* tables still need cellspacing="0" in the markup */
table { border-collapse:collapse; border-spacing:0; }

hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }

input, select { vertical-align:middle; }
/* END RESET CSS */


/*
fonts.css from the YUI Library: developer.yahoo.com/yui/
          Please refer to developer.yahoo.com/yui/fonts/ for font sizing percentages

There are three custom edits:
 * remove arial, helvetica from explicit font stack
 * make the line-height relative and unit-less
 * remove the pre, code styles
*/
body { font:13px sans-serif; *font-size:small; *font:x-small; line-height:1.22; }

table { font-size:inherit; font:100%; }

select, input, textarea { font:99% sans-serif; }


/* normalize monospace sizing 
 * en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome
 */
pre, code, kbd, samp { font-family: monospace, sans-serif; }
 


/* 
 * minimal base styles 
 */


/* #444 looks better than black: twitter.com/H_FJ/statuses/11800719859 */ 
body, select, input, textarea { color:#444; }

/* Headers (h1,h2,etc) have no default font-size or margin,
   you'll want to define those yourself. */ 
 
/* www.aestheticallyloyal.com/public/optimize-legibility/ */ 
h1,h2,h3,h4,h5,h6 { font-weight: bold; text-rendering: optimizeLegibility; }

/* maxvoltar.com/archive/-webkit-font-smoothing */
html { -webkit-font-smoothing: antialiased; }

 
/* Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active { outline: none; }

a, a:active, a:visited { color:#607890; }
a:hover { color:#036; }


ul { margin-left:30px; }
ol { margin-left:30px; list-style-type: decimal; }

small { font-size:85%; }
strong, th { font-weight: bold; }

td, td img { vertical-align:top; } 

sub { vertical-align: sub; font-size: smaller; }
sup { vertical-align: super; font-size: smaller; }

pre { 
  padding: 15px; 
  
  /* www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap/ */
  white-space: pre; /* CSS2 */
  white-space: pre-wrap; /* CSS 2.1 */
  white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
  word-wrap: break-word; /* IE */
}

/* align checkboxes, radios, text inputs with their label
   by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css  */
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; *vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }

/* hand cursor on clickable input elements */
label, input[type=button], input[type=submit], button { cursor: pointer; }


/* These selection declarations have to be separate.
   No text-shadow: twitter.com/miketaylr/status/12228805301 
   Also: hot pink. */
::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; }
::selection { background:#FF5E99; color:#fff; text-shadow: none; } 

/*  j.mp/webkit-tap-highlight-color */
a:link { -webkit-tap-highlight-color: #FF5E99; } 


/* always force a scrollbar in non-IE */
html { overflow-y: scroll; }

/* make buttons play nice in IE:    
   www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
button {  width: auto; overflow: visible; }
 
/* bicubic resizing for non-native sized IMG: 
   code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */
.ie7 img { -ms-interpolation-mode: bicubic; }



/* 
 * Non-semantic helper classes 
 */

/* for image replacement */
.ir { display:block; text-indent:-999em; overflow:hidden; background-repeat: no-repeat; }

/* Hide for both screenreaders and browsers
   css-discuss.incutio.com/wiki/Screenreader_Visibility */
.hidden { display:none; visibility:hidden; } 

/* Hide only visually, but have it available for screenreaders 
   www.webaim.org/techniques/css/invisiblecontent/ 
   Solution from: j.mp/visuallyhidden - Thanks Jonathan Neal! */
.visuallyhidden { position:absolute !important;    
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px); }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* >> The Magnificent CLEARFIX << */
.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.clearfix { display: inline-block; }
* html .clearfix { height: 1%; } /* Hides from IE-mac \*/
.clearfix { display: block; }





 /* Primary Styles
    Author: Cody Swann
 */
 
body {
  background:url("images/bg.png") repeat scroll 0 0 transparent;
  font-family: Arial, sans-serif;
}

a, a:active, a:visited { color:#11719f; }
a:hover { color:#fff; }

h1,h2,h3,h4,h5,h6 { font-weight: normal; }

ul { margin-left:0; }
ol { margin-left:0; }


#container {
  background:url("images/strip.png") repeat-x scroll 0 0 transparent;
  width:100%;
}

#container > aside > div,
#container > header,
#container > #main,
footer #sub-footer > div,
footer > aside {
  margin:0 auto;
  width: 73em;
}

#top-bar {
  background:#000;
  background-image: -moz-linear-gradient(0% 100% 90deg,#000, #444);
  background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#444), to(#000));
  background-image: -khtml-gradient(linear, 0% 0%, 0% 100%, from(#444), to(#000));
  background-image: -o-gradient(linear, 0% 0%, 0% 100%, from(#444), to(#000));
  -pie-background: linear-gradient(0% 100% 90deg,#000, #444);
  behavior: url(/wp-content/themes/thesis_18b1/custom/javascripts/PIE.htc);
}

#top-bar div {
  padding:1em;
}

#top-bar p {
  color:#d1d1d1;
  float:right;
  font-size:108%;
}

header hrgroup {
  clear:both;
}

header hrgroup h1,
header hrgroup h2 {
  font-size:197%;
}

header hrgroup {
  color: #607890;
}

header nav {
  float:right;
  margin-top:1em;
}

/*---:[ horizontal dropdown header nav ul  menu structure ]:---*/
header nav ul  { position: relative; list-style: none; z-index: 50; }
	header nav ul  li { position: relative; float: left; }
		header nav ul  ul { position: absolute; visibility: hidden; list-style: none; z-index: 110; }
			header nav ul  ul li { clear: both; }
		header nav ul  a { display: block; }
	header nav ul  table { position: absolute; left: 0; border-collapse: collapse; }
		header nav ul  table table { top: 0 !important; }
		header nav ul  ul ul { position: absolute; top: 0; }
	header nav ul  li:hover ul, header nav ul  a:hover ul, header nav ul  :hover ul :hover ul, header nav ul  :hover ul :hover ul :hover ul { visibility: visible; }
	header nav ul  :hover ul ul, header nav ul  :hover ul :hover ul ul { visibility: hidden; }

/*---:[ header nav ul  menu styles ]:---*/
header nav ul , header nav ul  a, header nav ul  li ul { border-style: solid; }
	header nav ul  a { 
	  letter-spacing: 1px; 
	  text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
    filter: dropshadow(color=#000000, offx=2, offy=2);
  }
	header nav ul  .current > a, header nav ul  .current-cat > a, header nav ul  .current-menu-item > a { cursor: text; }
		header nav ul  .rss { float: right; }
		header nav ul  .rss a, header nav ul  .rss a:hover { padding-right: 16px; background: url('lib/images/icon-rss.gif') 100% 50% no-repeat; border: none; }
		header nav ul  .rss a:hover { text-decoration: underline; }

header nav ul :after, #content_box:after, #sidebars:after, .format_text:after, .teasers_box:after, .prev_next:after, ul.sidebar_list:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }

header nav ul  ul, 
header nav ul  ul li { width: 15em; }

header nav ul  ul ul,
header nav ul  :hover ul :hover ul { left: 15em; }

header nav ul  li:hover ul,
header nav ul  a:hover ul { left: 0; }

header nav ul  { border-width: 0 0 0 0; }

header nav ul ,
header nav ul  a, 
header nav ul  li ul { border: none; }
header nav ul  table { bottom: 0; }

header nav ul ,
header nav ul  a,
header nav ul  li ul { border-color: #DDDDDD; }

header nav ul  ul .current a, header nav ul  ul .current-cat a, header nav ul  .current ul a, header nav ul  .current-cat ul a, header nav ul  ul .current-menu-item a { border-bottom-color: #DDDDDD; }
header nav ul  a, header nav ul  a:visited, header nav ul  .current ul a, header nav ul  .current-cat ul a, header nav ul  .current-menu-item ul a { color: #7a8090; background: transparent; }
header nav ul  a:hover, 
header nav ul  .current ul a:hover, 
header nav ul  .current-cat ul a:hover, 
header nav ul  .current-parent a:hover, 
header nav ul  .current-menu-item ul a:hover, 
header nav ul  .current-menu-ancestor a:hover { 
  color: #FFFFFF; 
  background: #16191F; 
  
  -webkit-transition: color .25s linear;
  -moz-transition: color .25s linear;
  -o-transition: color .25s linear;
  transition: color .25s linear;
  
  -webkit-transition: background-color .25s linear;
  -moz-transition: background-color .25s linear;
  -o-transition: background-color .25s linear;
  transition: background-color .25s linear;
}
header nav ul  .current-post-ancestor a, 
header nav ul  .current a, 
header nav ul  .current a:hover, 
header nav ul  .current-cat a, 
header nav ul  .current-cat a:hover, 
header nav ul  .current-menu-item a, 
header nav ul .current-menu-item a:hover { color: #FFFFFF; background: #16191F; }
header nav ul .current-parent > a, header nav ul  .current-cat-parent > a, header nav ul  .current-menu-ancestor > a { color: #111111; background: #F0EEC2; }


header nav ul  a { font-size: 138.5%; line-height: 1.231em; padding: 0.692em 0.846em; border-width: 0em; border-left-width: 0; }
header nav ul  ul a { width: 9.846em; border-left-width: 0em; }


header nav > ul > li {
  margin-left: .333em;
}

header nav > ul > li > a {
  padding: .333em 1em;
  text-decoration: none;
  
  -moz-border-radius:6px;
  -webkit-border-radius:6px;
  -khtml-border-radius:6px;
  -o-border-radius:6px;
  border-radius:6px;
  behavior: url(/wp-content/themes/thesis_18b1/custom/javascripts/PIE.htc);
}

header nav > ul > li.current-menu-item > a {  
  -webkit-box-shadow: inset 0 .05em .05em .05em rgba(0, 0, 0, 0.2);
  -khtml-box-shadow:  inset 0 .05em .05em .05em rgba(0, 0, 0, 0.2);
  -o-box-shadow:      inset 0 .05em .05em .05em rgba(0, 0, 0, 0.2);
  -moz-box-shadow:    inset 0 .05em .05em .05em rgba(0, 0, 0, 0.2);
  box-shadow:         inset 0 .05em .05em .05em rgba(0, 0, 0, 0.2);
}

header section,
#slider-wrapper {
  margin:2em auto 3em auto;
}

#slider-wrapper {
  background:#fff;
  min-height:320px;
}

.nivo-controlNav {
	position:absolute;
	left:47%;
	bottom:-30px;
}
.nivo-controlNav a {
	display:block;
	width:15px;
	height:14px;
	background:url(images/bullets.png) no-repeat scroll -20px 0 transparent;
	text-indent:-9999px;
	border:0;
	margin-right:3px;
	float:left;
}
.nivo-controlNav a.active {
	background-position:0 0;
}

.nivo-directionNav a {
	display:block;
	width:30px;
	height:30px;
	background:url(images/arrows.png) no-repeat;
	text-indent:-9999px;
	border:0;
}
a.nivo-nextNav {
	background-position:-30px 0;
	right:15px;
}
a.nivo-prevNav {
	left:15px;
}

#slider {
  background:url(images/loading.gif) no-repeat 50% 50%; 
  border:.75em solid #fff;
	position:relative;	
}

#slider img {
	position:absolute;
	top:0px;
	left:0px;
/*  display:none;*/
}

.shadow {
  background:url(images/shadow.png) no-repeat scroll -0 0 transparent;
  height:47px;
  position:absolute;
}

.home #main {
  color: #607890;
}

 #main {
  clear:both;
  color: #444;
  padding:1.3em;
  
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

article a:hover,
article a:hover { 
  background:#444; 
  border-bottom:#11719f 1px solid; 
  text-decoration:none;
}

#main article,
#main aside {
  float:left;
  width:32%;
  
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.home #main article {
  margin-right: 1.3em;
}

.home #main article {
  background:transparent;
  width:32%;
}

#main article blockquote {
  background:#eef0f5;
  border:1px solid #9097a9;
  font-style:italic;
  font-weight:bold;
  margin-bottom:1em;
  padding:1em 2em;
}

#main article blockquote p {
  margin:.5em 0;
  padding:0;
} 

#main aside#sidebar-2 {
  margin-left: 1.3em;
}

#main article h2,
#main aside h3 {
  background: #9097a9;
  padding: 1em 0.6em 1em 1.3em;
}

.home #main article h2,
.home #main aside h3 {
  background:#4a546d;
  
  padding: 1.3em 0.6em 1.3em 1.3em;
  
  background-image: -moz-linear-gradient(0% 100% 90deg,#2f3951, #4a546d);
  background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#4a546d), to(#2f3951));
  background-image: -khtml-gradient(linear, 0% 0%, 0% 100%, from(#4a546d), to(#2f3951));
  background-image: -o-gradient(linear, 0% 0%, 0% 100%, from(#4a546d), to(#2f3951));
  -pie-background: linear-gradient(0% 100% 90deg,#2f3951, #4a546d);
  behavior: url(/wp-content/themes/thesis_18b1/custom/javascripts/PIE.htc);
  
}


#main article h2 span,
#main aside h3 span {
  background:url("images/about.png") no-repeat scroll 0 0 transparent;
  color:#fff;
  font-size:153.9%;
  padding-left:34px;
}

#main aside .widget_text h3 span {
  background-image:url("images/welcome.png");
}

#main aside h3 span {
  background-image:url("images/list.png");
}

.home #main aside#sidebar-1 h3 span {
  background-image:url("images/news.png");
}

.home #main aside#sidebar-2 h3 span {
  background-image:url("images/contact.png");
}

.home #main aside#sidebar-2 p {
  margin:0;
}

#main article h4 span,
#main aside h4 span {
  color:#fff;
  font-size:138.5%;
}

#main article img.attachment-thumbnail,
#main aside img.attachment-thumbnail {
  display:block;
  margin:1.2em auto;
}

.home #main article .entry-content,
.home #main aside .entry-content {
  margin:1.2em auto;
  min-height:28em;
  width:249px;
}

#main article p,
#main aside p {
  font-size:93%;
  margin-bottom:1em;
}


.home #main article p,
.home #main aside p {
  font-size:108%;
  margin-top:1.3em;
}

#main aside ul,
#main aside menu {
  list-style-type: none;
  margin:0;
}

menu.contact li {
  background:url("images/phone-icon.png") no-repeat scroll 0 0 transparent;
  height:32px;
  margin:0 0 1.6em 0;
  padding:0 0 0 48px;
}

menu.contact li.skype {
  background-image:url("images/skype-icon.png");
}

menu.contact li.email {
  background-image:url("images/email-icon.png");
}

menu.contact li.quote {
  background-image:url("images/email-icon.png");
}

menu.contact a {
  color:#607890;
  text-decoration:none;
}

menu.contact a:hover {
  text-decoration:underline;
}

.home menu.contact a:hover {
  color:#fff;
}


menu.contact h5 span {
  color:#444;
  font-size:108%;
}

.home menu.contact h5 span {
  color:#fff;
  text-transform:uppercase;
}

footer {
  clear:both;
  background: #0f131f;
  margin-top:1.3em;
}

footer a {
  text-decoration:none;
}

footer a:link,
footer a:visited {
  color: #607890;
}

footer a:hover {
  color:#fff;
}

footer nav ul,
footer aside .widget-area ul {
  list-style-type:none;
}

footer > aside > .widget-area > ul h3 {
  padding-bottom:1.3em;
}

footer .widget-area {
  float:left;
  padding:2em 0 2em 1em;
  width:33%;
  
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

footer #first .widget-container {
  float:left;
  padding-left:.5em;
  width:50%;
  
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

footer #first {
  padding-left:0;
}

footer #first .widget-container:first-child {
  padding-left:0;
  padding-right:.5em;
}

.photogallery li {
  float:left;
}

.photogallery li a {
  border:.2em solid #181f31;
  display:block;
  margin: 0 .6em .3em 0;
  padding: .5em;
}


footer > aside > .widget-area > ul h3 span {
  color: #607890;
  font-size: 167%;
}

footer > aside > .widget-area > ul > li {
  padding-bottom:.2em;
}

footer li>a, footer p {
  font-size:93%;
  line-height:166%;
}

footer .photogallery li>a {
  line-height:0;
}

footer p {
  color:#11719f;
}

footer #third .widget-container {
  background:url("images/quote.png") no-repeat scroll 80% 27px transparent;
}

footer #third .textwidget {
  background: #191f2f;
  min-height:8em;
  padding:1em;
  
  -moz-border-radius:6px;
  -webkit-border-radius:6px;
  -khtml-border-radius:6px;
  -o-border-radius:6px;
  border-radius:6px;
  behavior: url(/wp-content/themes/thesis_18b1/custom/javascripts/PIE.htc);
}


#sub-footer nav {
  float:right;
}

#menu-footer li {
  float:left;
  padding:0 .45em;
}

#menu-footer li span {
  letter-spacing:3px;
}

#menu-footer li:first-child span {
  display:none;
}

#sub-footer {
  background:#000;
  border-top:.01em solid #181f31;
  clear:both;
  padding:2em 1.3em;
}

#legal {
  display:block;
  font-size:93%;
}

.nav-previous a,
.nav-next a,
.nav-previous a:visited,
.nav-next a:visited,
article form input[type=submit],
.bluemasters-button,
.bluemasters-button:visited {
  color:#fff;
  background-color: #11719F;
  border-bottom-width:0;
  display:block;
  float:right;
  padding:1em;
  text-decoration:none;
}

.home .bluemasters-button,
.home .bluemasters-button:visited {
  margin:2em 1em 1em 0;
  float:left;
}

.nav-previous a:hover,
.nav-next a:hover,
article form input[type=submit]:hover,
.bluemasters-button:hover {
  color:#11719F;
  background-color: #fff;
  border-bottom-width:0;
  
  -webkit-transition: color .25s linear;
  -moz-transition: color .25s linear;
  -o-transition: color .25s linear;
  transition: color .25s linear;
  
  -webkit-transition: background-color .25s linear;
  -moz-transition: background-color .25s linear;
  -o-transition: background-color .25s linear;
  transition: background-color .25s linear;
}

.utilities {
  clear:both;
}

.edit-link {
  display:none;
}

#main aside#single-widget-area {
  background:#eef0f5;
  float:right;
  width:28.5%;
}

#main aside#single-widget-area .widget-area > ul > li > div {
  padding:1em 1.5em;
}

#main aside#single-widget-area .widget-area > ul > li > div.menu-primary-container {
  padding:.8em;
}

#main article {
  background:#fff;
  margin:0;
  width:71.5%;
}

#portfolio-wrapper > div > h1,
article > div > h1,
article > div > h3 {
  background: url("images/single.png") no-repeat scroll 0 0 #fff;
  border-bottom: 1px dotted #444;
  margin-bottom:1em;
  padding: 0 0 0.2em 3em;
}

#portfolio-wrapper > div > h1 span,
article > div > h1 span,
article > div > h3 span {
  font-size: 167%;
  font-weight:bold;
}

article > div {
  padding: 1.5em;
}

.home article > div {
  padding: 0;
}

.entry-content h3 span,
.entry-content h1 span {
  color:#11719F;
  font-size:197%;
  font-weight:bold;
}

article .thumbnail-frame {
  background:#eef0f5;
  border:1px solid #9097a9;
  display:block;
  overflow:hidden;
  margin-bottom:1em;
  padding:5px;
}

.category-meta {
  padding:.1em 0 1em 0;
}

#portfolio-wrapper nav,
article nav {
  background:#eef0f5;
  border:1px solid #9097a9;
  margin:0 1.5em 1.5em 1.5em;
}

#portfolio-wrapper nav div,
article nav div {
  margin: 1em 1.5em;
}

#portfolio-wrapper nav div.nav-previous,
article nav div.nav-previous {
  float:left;
}

#portfolio-wrapper nav div.nav-next,
article nav div.nav-next {
  float:right;
}

#portfolio-wrapper nav,
article nav {
  clear:both;
  display:block;
}

#single-widget-area .widget-area .menu-item {
  background:url("images/arrow.png") no-repeat scroll 95% 50% #dce0e9;
  margin:.2em 0;
  padding:1em .8em;
}

#single-widget-area .widget-area .menu-item a {
  color:#9097A9;
  display:block;
  font-size:100%;
  text-decoration:none;
}

#single-widget-area .widget-area .menu-item.current-menu-item,
#single-widget-area .widget-area .menu-item:hover,
#single-widget-area .widget-area .menu-item.current-post-ancestor { 
  background:url("images/arrow-current.png") no-repeat scroll 95% 50% #d0d4de;
}

#single-widget-area .widget-area .menu-item:hover a,
#single-widget-area .widget-area .menu-item.current-post-ancestor a {
  color:#444;
}

article form input[type=text],
article form textarea {
  background:#eef0f5;
  border:1px solid #9097a9;
}

article form input[type=text] {
  font-size:300%;
  width:50%;
}

article form textarea {
  width:100%;
}

article form input[type=submit] {
  border:none;
  float:right;
  margin:0;
}

.blog #main article,
.category #main article,
.archive #main article,
.tag #main article {
  border-bottom: 1px dotted #444;
}

.category-portfolio #main article {
  background:transparent;
  border-bottom-width:0;
  float:left;
  min-height: 150px;
  width:auto;
}

.category-portfolio #main article div {
  padding:1em;
}

.category-portfolio article .thumbnail-frame {
  float:left;
  line-height:0;
}

#portfolio-wrapper {
  background:#fff;
}

#portfolio-wrapper > div > h1 {
  background-image:url("images/portfolio.png");
  border-bottom-width:0;
  margin-bottom:0;
}

#portfolio-wrapper > div {
  padding:1.5em 1.5em 0 1.5em;
}

/* 
 * print styles
 * inlined to avoid required HTTP connection www.phpied.com/delay-loading-your-print-css/ 
 */
@media print {
  * { background: transparent !important; color: #444 !important; text-shadow: none; }

  a, a:visited { color: #444 !important; text-decoration: underline; }

  a:after { content: " (" attr(href) ")"; } 

  abbr:after { content: " (" attr(title) ")"; }
  
  .ir a:after { content: ""; }  /* Don't show links for images */
  
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  
  img { page-break-inside: avoid; }

  @page { margin: 0.5cm; }

  p, h2, h3 { orphans: 3; widows: 3; }

  h2, h3{ page-break-after: avoid; }
}



/*
 * Media queries for responsive design
 */

@media all and (orientation:portrait) { 
  /* Style adjustments for portrait mode goes here */
  
}

@media all and (orientation:landscape) { 
  /* Style adjustments for landscape mode goes here */
  
}

/* Grade-A Mobile Browsers (Opera Mobile, iPhone Safari, Android Chrome)  
   Consider this: www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/ */
@media screen and (max-device-width: 480px) {
  
  
  /* Prevent iOS, WinMobile from adjusting font size */
  html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } 
}

