/*
 Copyright © 2015 Alexander Karasev. All rights reserved.
 @link        http://karasevstudio.com
 @version     0.1
 @package     KarasevStudio
*/
html, body {
  min-height: 100%;
  padding: 0;
  margin: 0;
  background-color: white;
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
}

#wrapper {
  padding: 3em 0 2em 0;
  position: absolute;
  top: 0; bottom: 0; left: 0; right: 0;
}

#header {
	background-color: red;
  margin-top: -3em;
  height: 3em;
  padding: 0.2em 3em 0 3em;
	border-bottom: 1px solid #AAA;
}
#header .left {
  float: left;
}
#header .right {
  float: right;
  text-align: right;
}
#header .middle {
  margin: 0 auto;
  text-align: center;
}
#header img {
  margin-top: 4px;
  height: 39px;
  width: auto;
  border: 0;
}

#footer {
  margin-bottom: -2em;
  height: 2em;
  text-align: center;
  line-height: 2em;
  font-size: 90%;
  text-shadow: 0 0 0.8em white;
}

#article {
	padding: 0 3em;
  font-weight: 300;
  font-size: 96%;
  line-height: 160%;
}
#article h1:first-child, #article h2:first-child { 
  margin: 0.3em 0 0.1em 0;
}
#article h1, #article h2, #article h3, #article h4 {
  font-style: normal;
	line-height: 100%;
  font-weight: 300;
  margin: 1.2em 0 0.1em 0;
}
#article h1 {
  font-weight: 100;
	font-size: 420%;
}
#article h2 {
	font-size: 180%;
}
#article h3 {
	font-size: 130%;
}
#article h4 {
	font-size: 115%;
}
#article .subtitle {
	font-size: 98%;
	font-variant: small-caps;
	letter-spacing: .5em;
	/* font-stretch: extra-expanded; */
}

hr {
	height: 1px;
  border-width: 0;
  color: black;
  background-color: black;
  margin: 1em 0 1.8em 0;
}

#KS-tabs {
  text-align: center;
  list-style: none;
  margin: 21px 0 21px 0;
  padding: 0;
  line-height: 26px;
  height: 28px;
  overflow: hidden;
  font-size: 16px;
  font-family: 'Roboto Condensed', Verdana, Helvetica, Arial, sans-serif;
  position: relative;
}
#KS-tabs li {
  border: 1px solid #AAA;
  background: #D1D1D1;
  background: -o-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
  background: -ms-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
  background: -moz-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
  background: -webkit-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
  background: linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
  display: inline-block;
  position: relative;
  z-index: 0;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.4), inset 0 1px 0 #FFF;
  text-shadow: 0 1px #FFF;
  margin: 0 -5px;
  padding: 0 1.3%;
}
#KS-tabs a {
  color: #555;
  text-decoration: none;
}
#KS-tabs li.selected {
  background: #FFF;
  color: #333;
  z-index: 2;
  border-bottom-color: #FFF;
}
#KS-tabs:before {
  position: absolute;
  content: " ";
  width: 100%;
  bottom: 0;
  left: 0;
  border-bottom: 1px solid #AAA;
  z-index: 1;
}
#KS-tabs li:before,
#KS-tabs li:after {
  border: 1px solid #AAA;
  position: absolute;
  bottom: -1px;
  width: 5px;
  height: 5px;
  content: " ";
}
#KS-tabs li:before {
  left: -6px;
  border-bottom-right-radius: 6px;
  border-width: 0 1px 1px 0;
  box-shadow: 2px 2px 0 #D1D1D1;
}
#KS-tabs li:after {
  right: -6px;
  border-bottom-left-radius: 6px;
  border-width: 0 0 1px 1px;
  box-shadow: -2px 2px 0 #D1D1D1;
}
#KS-tabs li.selected:before {
  box-shadow: 2px 2px 0 #FFF;
}
#KS-tabs li.selected:after {
  box-shadow: -2px 2px 0 #FFF;
}