* {
	margin: 0;
	padding: 0;
	border-style: none;
}

#lang {
	position: fixed;
	left: 10px;
	top: 10px;
	z-index: 999;
}

#lang img {
	width: 20px;
	cursor: pointer;
	opacity: .5;
	border: 1px solid #eee;
}

#lang img:hover {
	opacity: 1;
}

.lang-ru .en {
	display: none;
}
.lang-ru .ru {
	display: inline;
}
.lang-ru #lang .flag-ru {
	width: 25px;
	opacity: 1;
	cursor: inherit;
}

.lang-en .ru {
	display: none;
}
.lang-en .en {
	display: inline;
}
.lang-en #lang .flag-en {
	width: 25px;
	opacity: 1;
	cursor: inherit;
}

.toL {float: left; margin-right: 12px;}
.toR {float: right; margin-left: 12px;}

.onl {text-align: left;}
.onc {text-align: center;}
.onr {text-align: right;}

body {
	background: #fff url(../imgs/tunnel-walking-backgrounds-wallpapers.jpg) fixed;
	background-size: cover;
	font: 14pt "Arial";
}
a {
	color: #99f;
	cursor: pointer;
}
a.external {
	font-size: 10pt;
	text-decoration: none;
	font-weight: bold;
	display: inline-block;
	padding: 0 2px;
	border: 2px solid #99f;
}
a:hover {
	color: #60f;
}
a.external:hover {
	border-color: #60f;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 35px;
	overflow: hidden;
  background-color: rgba(255, 255, 255, .8);
	background-size: cover;
	box-shadow: 0 2px 10px #777;	
  z-index: 999;
}
nav {
	text-align: right;
	background: linear-gradient(to left, rgba(255,255,255,.5) 450px, rgba(255,255,255,0) 550px);
}
nav a {
	display: inline-block;
	padding: 6px 15px;
	color: #000000;
}
nav a.active {
	text-decoration: none;
  cursor: default;
}
nav a.active:hover {
	color: #000000;
}
article {
	width: 1010px;
	margin: 60px auto 0;
}
article h3 {
	text-align: center;
  font-size: 16pt;
  font-weight: normal;
  padding: 5px 0;
  color: #fff;
  background: #999;
  background: linear-gradient(to left, transparent, rgba(0, 0, 0, .5), transparent);
}
.resume-div {
	background-color: rgba(255, 255, 255, .8);
  box-shadow: 2px 10px 15px #777;	
  padding: 16px 11px;
}
.resume-tab {
	border-collapse: collapse;
  width: 100%;
}
.resume-tab td {
	padding: 8px 5px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid #eee;
}
.resume-tab td:first-of-type {
	width: 200px; 
	padding-right: 20px;
}
.resume-tab p {
	margin-bottom: 8px;
}
.portfolio-div .item {
	background-color: rgba(255, 255, 255, .8);
  box-shadow: 2px 10px 15px #777;	
  margin-bottom: 16px;
  padding: 16px 16px 46px;
  overflow: hidden;
  position: relative;
}
.portfolio-div .item:last-of-type {
	margin-bottom: 0;
}
.portfolio-div .item .screen {
	float: left;
  width: 150px;
  height: 100px;
  border-radius: 5px;
  border: 1px solid #ccc;
  background-size: cover;
  background-position: 50% 0;
  background-repeat: no-repeat;
  background-color: #fff;
}
.portfolio-div .item .gallery {
	float: left;
  width: 35px;
  position: absolute;
  left: 176px;
  top: 16px;
  bottom: 16px;
  overflow: hidden;
}
.portfolio-div .item .gallery .inner {
	position: absolute;
}
.portfolio-div .item .gallery img {
	margin-bottom: 10px;
}
.portfolio-div .item .description {
	margin-left: 160px;
}
.portfolio-div .item .gallery + .description {
	margin-left: 200px;
}
.portfolio-div .item .title {
	font-size: 14pt;
  margin-bottom: 12px;
}
.portfolio-div .item .text {
	font-size: 12pt;
}
.portfolio-div .item .link {
	font-size: 12pt;
  position: absolute;
  right: 16px;
  bottom: 16px;
}
.portfolio-div .item .year {
	font-size: 10pt;
	margin-top: 10px;
}
footer {
	text-align: center;
}
footer small {
  display: inline-block;
  width: 1010px;
  font-size: 12pt;
  padding: 5px 0;
  color: #fff;
  background: #999;
  background: linear-gradient(to left, transparent, rgba(0, 0, 0, .5), transparent);
}