html, body {
  height: 100%;
}

body {
	background: white;
	font-family: "Century Gothic", "Verdana", Arial, sans-serif;
	color: #C2C2C2;
}

.page-wrap {
  min-height: 100%;
  margin-bottom: -39px;
}

.page-wrap:after {
  content: "";
  display: block;
}

.page-wrap:after {
  height: 39px;
}

.wrapper {
	position: relative;
	width: 1024px;
	margin: 0 auto;
}

.main-header {
	background: #2a2a2a;
	position: relative;
}

.main-header__logo {
	position: absolute;
	width: 130px;
	height: 120px;
	bottom: -20px;
	left: -15px;
	background: url('../images/logo.png') center center no-repeat;
	z-index: 2;
}

.main-header__title {
	position: absolute;
	left: 125px;
	top: 17px;
	font-size: 20px;
	width: 180px;
	height: 20px;
}

.main-nav {
	position: relative;
	padding-top: 90px;
	padding-bottom: 10px;
}

.main-nav__list:after {
	display: block;
	width: 100%;
	clear: both;
	content: ' ';
}

.main-nav__sublist {
	position: absolute;
	top: 100%;
	padding-top: 10px;
	left: 0;
	white-space: nowrap;
	opacity: 0;
	text-align: center;
	min-width: 100%;
	-webkit-transition: all linear 0.2s;
	-moz-transition: all linear 0.2s;
	-ms-transition: all linear 0.2s;
	transition: all linear 0.2s;
	z-index: 2;
	background: #2a2a2a;
}

.main-nav__subel {
	display: none;
}

.main-nav__subel a {
	border-top: solid thin #C2C2C2;
	padding: 8px 10px;
	font-size: 14px;
}

.main-nav__subel a:hover {
	background-color: rgb(65, 65, 65);
}

.main-nav__el {
	position: relative;
	float: right;
	padding: 0 20px;
	border-right: solid thin #C2C2C2;
}

.main-nav__el:first-of-type {
	padding-right: 0;
	border-right: none;
}

.main-nav__el a {
	color: #C2C2C2;
	text-decoration: none;
	display: block;
	-webkit-transition: all linear 0.2s;
	-moz-transition: all linear 0.2s;
	-ms-transition: all linear 0.2s;
	transition: all linear 0.2s;
}

.main-nav__el:hover .main-nav__sublist {
	opacity: 1;
}

.main-nav__el:hover .main-nav__subel {
	display: block;
}

.main-nav__el:hover > a,
.main-nav__subel:hover > a {
	color: white;
}

.stripes {
	position: relative;
	height: 9px;
	width: 100%;
	background: url('../images/stripes.png');
}

.stripes:after {
	position: absolute;
	height: 100%;
	width: 50px;
	background: url('../images/fade.png');
	top: 0;
	left: 0;
	content: ' ';
}

.stripes:before {
	position: absolute;
	height: 100%;
	width: 50px;
	background: url('../images/fade_inverted.png');
	top: 0;
	right: 0;
	content: ' ';
}

.main-content {
	padding-bottom: 100px;
	background-color: white;
	color: #2a2a2a;
}

.main-page-text {
	position: relative;
	padding-top: 20px;
	font-weight: normal;
	font-size: 18px;
	margin-bottom: 50px;
	line-height: 1.2;
	padding: 0 60px;
	text-align: justify;
}

.main-page-text:before {
	position: absolute;
	width: 53px;
	height: 42px;
	background: url('../images/quotes.png');
	top: -20px;
	left: 0;
	content: ' ';
}

.main-page-text:after {
	position: absolute;
	width: 53px;
	height: 42px;
	background: url('../images/quotes_inverted.png');
	bottom: -20px;
	right: 0;
	content: ' ';
}

.main-page-text p {
	margin-bottom: 10px;
}

.main-footer {
	background: #2a2a2a;
	font-size: 12px;
}

.main-footer__content {
	height: 30px;
	line-height: 30px;
	text-align: center;
}

.main-content__image-wrapper {
	width: 100%;
	height: 400px;
	overflow: hidden;
	margin-bottom: 20px;
}

.main-content__title {
	font-size: 30px;
	font-weight: bold;
	margin-bottom: 10px;
}

.main-content__text p {
	font-size: 16px;
	line-height: 1.2;
}

.main-content__text p:after {
	content: ' ';
	clear: both;
	display: block;
}

.grid:after {
	content: ' ';
	display: block;
	clear: both;
}

.grid__nav {
	width: 204px;
	float: left;
}

.grid__content {
	width: 800px;
	float: left;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	border-left: solid thin #2a2a2a;
	padding-left: 20px;
}

.grid__title {
	font-size: 28px;
	margin-bottom: 10px;
}

.grid__el a {
	color: #2a2a2a;
	text-decoration: none;
}

.grid__el a:hover,
.grid__el_is-active a {
	text-decoration: underline;
}

.grid__el {
	margin-bottom: 8px;
}

.main-table tr {
	border-bottom: solid thin rgb(168, 168, 168);
}

.main-table td {
	padding: 15px 30px 15px 0;
}

.main-table tr:first-of-type {
	font-weight: bold;
}

.main-table tr:last-of-type {
	border-bottom: none;
}

.main-content__text p a {
	color: #000000;
}

.main-form td {
	vertical-align: middle;
}

.main-form input,
.main-form textarea {
	margin-left: 10px;
	width: 300px;
	font-family: "Century Gothic", "Verdana", Arial, sans-serif;
}

.main-form button {
	margin-left: 10px;
}

.main-form__error {
	color: red;
}

.main-form__success {
	color: green;
}
