@import url('http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz');
@import url('http://fonts.googleapis.com/css?family=Yellowtail&v2');
/* Typography ========== */
p {
  margin: 0 0 20px;
  font-family: Arial, verdana, arial, sans-serif;
  font-size: 12px;
  line-height: 20px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 10px;
  font-family: "Yanone Kaffeesatz", arial, serif;
  font-weight: normal;
  line-height: 40px;
  text-rendering: optimizelegibility;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 22px;
}

h4 {
  font-size: 20px;
}

h5 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 30px;
}

h6 {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 30px;
}

/* Lists */
ul,
ol {
  margin: 0 0 20px;
  padding: 0;
}

ul {
  list-style: none;
}

ol {
  list-style: decimal inside;
}
ol ol {
  list-style: upper-alpha inside;
}
ol ol ol {
  list-style: lower-roman inside;
}
ol ol ol ol {
  list-style: lower-alpha inside;
}

li {
  margin: 0 0 0 20px;
  padding: 2px 0 2px 20px;
}
li ul,
li ol {
  margin: 0;
  padding: 10px 0;
}
li li {
  margin: 0;
}

/* Definition Lists */
dl {
  margin: 0 0 40px;
}

dt,
dt:after,
dd {
  display: inline;
}

dt {
  font-weight: bold;
}

dt:after {
  content: ":";
}

dd {
  margin: 0;
}

dd:after {
  content: ",";
  padding-right: .25em;
}

dl dd:last-child:after {
  content: ".";
}

/* Blockquotes */
blockquote {
  overflow: hidden;
  margin: 20px 0;
  padding-left: 40px;
  color: #666666;
  background: url("../images/quote.png") 0 0 no-repeat;
}
blockquote p:last-child {
  margin-bottom: 0;
}
blockquote cite {
  display: block;
  color: #4d4d4d;
  text-align: right;
  font-size: 11px;
}
blockquote cite:before {
  content: "- ";
}
.dark-skin blockquote {
  color: white;
  background-image: url("../images/quote-white.png");
}
.dark-skin blockquote cite {
  color: #f8f8f8;
}
blockquote.alignleft, blockquote.align-left, blockquote.alignright, blockquote.align-right {
  width: 35%;
}
blockquote.alignleft, blockquote.align-left {
  margin: 0 20px 20px 0;
}
blockquote.alignright, blockquote.align-right {
  margin: 0 0 20px 20px;
}

/* Preformatted text and code styles */
code, pre {
  clear: both;
  margin: 0 0 20px;
  font-family: "Courier New", Courier, monospace, serif;
}

pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  display: block;
  overflow: auto;
  overflow-y: hidden;
  padding: 25px 20px 25px 40px;
  line-height: 25px;
  background: url("../images/code.gif") 0 0 repeat-y;
}
.dark-skin pre {
  color: #dedede;
  background: url("../images/code-dark.gif") 0 0 repeat-y;
}

/* Misc */
hr {
  clear: both;
  overflow: hidden;
  display: block;
  margin: 20px 0;
  padding: 1px 0;
  border: none;
  height: 2px;
  background: url("../images/separator.png") top repeat-x;
}
.dark-skin hr {
  background-image: url("../images/separator-black.png");
}
.ie7 hr {
  border-top: 1px solid #dedede;
  border-bottom: 1px solid #fff;
  zoom: 1;
}
.dark-skin .ie7 hr {
  border-top: 1px solid #000;
  border-bottom: 1px solid #333;
}

dfn {
  border-bottom: 1px dashed;
  font-style: italic;
}

abbr {
  border-bottom: 1px dashed;
  cursor: help;
}

strong {
  font-weight: bold;
}

em {
  font-style: italic;
}

address {
  display: block;
  margin-bottom: 20px;
  line-height: 20px;
  font-style: normal;
}

br {
  clear: both;
}

mark, .highlight {
  display: inline;
  padding: 1px 2px;
  color: #000;
  background: #ff0;
}

/* Selected text styles */
:focus {
  outline: none;
}

::selection {
  background: #b93819;
  color: white;
  text-shadow: none;
}

::-moz-selection {
  background: #b93819;
  color: white;
  text-shadow: none;
}

* {
  background: transparent !important;
  color: black !important;
  text-shadow: none !important;
  filter: none !important;
  -ms-filter: none !important;
}

body {
  margin: 50px !important;
  padding: 0;
  font-family: Arial, verdana, arial, sans-serif;
  font-size: 12px;
  line-height: 20px;
  color: #333333;
}

a, a:visited {
  color: #444 !important;
  text-decoration: underline;
}

a[href]:after {
  content: " (" attr(href) ")";
}

.element-holder a[href]:after,
a[href].element-holder:after,
.align-left a[href]:after,
a[href].align-left:after,
.align-right a[href]:after,
a[href].align-right:after,
.align-center a[href]:after,
a[href].align-center:after,
.portfolio-item a[href]:after {
  display: block;
  width: 100%;
}

abbr[title]:after {
  content: " (" attr(title) ")";
}

.ir a:after,
#header-logo a:after,
a[href^="javascript:"]:after,
a[href^="#"]:after {
  content: '';
}

pre, blockquote {
  border: 1px solid #999;
  page-break-inside: avoid;
}

thead {
  display: table-header-group;
}

tr, img {
  page-break-inside: avoid;
}

@page {
  margin: 0.5cm;
}

p, h2, h3 {
  orphans: 3;
  widows: 3;
}

h2, h3 {
  page-break-after: avoid;
}

hr {
  margin: 20px 0;
  clear: both;
}

/* Grid system ========== */
.row {
  width: 100%;
  overflow: hidden;
  *zoom: 1;
}

[class*="layout"] {
  float: left;
  margin-left: 20px;
}

[class*="layout"]:first-child {
  margin-left: 0;
}

.layout-bottom-no > *:last-child {
  margin-bottom: 0!Important;
}

/* Column widths */
.layout-1-1,
.layout-2-2,
.layout-3-3,
.layout-4-4,
.layout-5-5,
.layout-6-6 {
  clear: both;
  width: 100%;
}

/* x/2 */
.layout-1-2 {
  width: 460px;
}

/* x/3 */
.layout-1-3 {
  width: 300px;
}

.layout-2-3 {
  width: 620px;
}

/* x/4 */
.layout-1-4 {
  width: 220px;
}

.layout-2-4 {
  width: 460px;
}

.layout-3-4 {
  width: 700px;
}

/* x/5 */
.layout-1-5 {
  width: 172px;
}

.layout-2-5 {
  width: 364px;
}

.layout-3-5 {
  width: 556px;
}

.layout-4-5 {
  width: 748px;
}

/* x/6 */
.layout-1-6 {
  width: 140px;
}

.layout-2-6 {
  width: 300px;
}

.layout-3-6 {
  width: 460px;
}

.layout-4-6 {
  width: 620px;
}

.layout-5-6 {
  width: 780px;
}

/* Nested grid */
[class*="layout"] [class*="layout"],
[class*="page-sidebar-"] [class*="layout"] {
  margin-left: 3%;
}

[class*="layout"] [class*="layout"]:first-child,
[class*="page-sidebar-"] [class*="layout"]:first-child {
  margin-left: 0;
}

/* x/2 */
[class*="layout"] .layout-1-2,
[class*="page-sidebar-"] .layout-1-2 {
  width: 48.5%;
}

/* x/3 */
[class*="layout"] .layout-1-3,
[class*="page-sidebar-"] .layout-1-3 {
  width: 31.33333333333333%;
}

[class*="layout"] .layout-2-3,
[class*="page-sidebar-"] .layout-2-3 {
  width: 65.66666666666667%;
}

/* x/4 */
[class*="layout"] .layout-1-4,
[class*="page-sidebar-"] .layout-1-4 {
  width: 22.75%;
}

[class*="layout"] .layout-2-4,
[class*="page-sidebar-"] .layout-2-4 {
  width: 48.5%;
}

[class*="layout"] .layout-3-4,
[class*="page-sidebar-"] .layout-3-4 {
  width: 74.25%;
}

/* x/5 */
[class*="layout"] .layout-1-5,
[class*="page-sidebar-"] .layout-1-5 {
  width: 17.6%;
}

[class*="layout"] .layout-2-5,
[class*="page-sidebar-"] .layout-2-5 {
  width: 38.2%;
}

[class*="layout"] .layout-3-5,
[class*="page-sidebar-"] .layout-3-5 {
  width: 58.8%;
}

[class*="layout"] .layout-4-5,
[class*="page-sidebar-"] .layout-4-5 {
  width: 79.4%;
}

/* x/6 */
[class*="layout"] .layout-1-6,
[class*="page-sidebar-"] .layout-1-6 {
  width: 14.16666666666667%;
}

[class*="layout"] .layout-2-6,
[class*="page-sidebar-"] .layout-2-6 {
  width: 31.33333333333333%;
}

[class*="layout"] .layout-3-6,
[class*="page-sidebar-"] .layout-3-6 {
  width: 48.50000000000001%;
}

[class*="layout"] .layout-4-6,
[class*="page-sidebar-"] .layout-4-6 {
  width: 65.66666666666668%;
}

[class*="layout"] .layout-5-6,
[class*="page-sidebar-"] .layout-5-6 {
  width: 82.83333333333335%;
}

/* Align elements
----------------------------------------------------------------------------- */
.align-left {
  clear: left;
  float: left;
  margin: 0 20px 20px 0;
  overflow: hidden;
}

.align-right {
  clear: right;
  float: right;
  margin: 0 0 20px 20px;
  overflow: hidden;
}

.align-center {
  display: block;
  margin: 20px auto;
  float: none;
  clear: both;
  text-align: center;
}

.align-center * {
  margin: 0 auto;
  text-align: center;
}

/* Hide unnecessary elements */
#header-navigation,
#page-subheader,
.title-right,
#supersized-loader,
#supersized,
#body-texture,
#footer-right,
#theme-backgrounds,
.post-header-comments,
form,
.page-sidebar,
#bottom-widgets,
#pager,
.post-related,
.comment-avatar,
#page-slider {
  display: none !important;
}

/* Logo styling */
#header-logo {
  margin: 0 auto;
  text-align: right;
}

/* Page title */
#page-title {
  border-bottom: 1px solid #666;
  margin-bottom: 20px;
}

/* Page footer */
#page-footer {
  border-top: 1px solid #666;
  padding-top: 20px;
  margin-top: 50px;
  clear: both;
}

/* Elements margins */
.postlist-item,
.post-content,
.post-author,
.comment-item {
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 1px dotted #ccc;
}

/* Portfolio images */
.portfolio-thumb img {
  width: 100%;
  height: auto;
}
