* {
    font-family: Verdana, Arial, Helvetica;
}

.h2 {
  font-weight: bold;
}

p, div, a, span, td {
    color: #333333;
    font-size: 12px;
}

p,li {
    line-height: 18px;
}

img {border: none;}

html {
    height: 100%;
}

body {
    height: 100%;
    padding: 0px;
    margin: 0px;
	background-color: #fffbef;
}

.nowrap {
    white-space: nowrap;
}

#main {
    margin: 0 auto;
    height: 100%;
	width: 1000px;
}

#header {
    height: 171px;
	background: url(../i/header.jpg) no-repeat;
	color: #42161B;
	font-family: serif;
	font-weight: bold;
	font-size: 14px;
	padding-bottom: 5px;
	/*
    background-color: #fee7a0;
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#dfc46d), to(#fee7a0));
    background-image: -moz-linear-gradient(-90deg, #dfc46d, #fee7a0);
    */
}

#main-page-link {
	display: block; margin-left: 20px; margin-top: 20px; width: 100px; height: 90px;
	float: left;
}

.page-image {
    float: right;
    margin-left: 15px;
    margin-bottom: 15px;
}

#mission, .main-text {
    color: #633;
    font-family: serif;
    font-size: 18px;
    text-align: right;
    font-style: italic;
    line-height: 22px;
    margin-bottom: 25px;
}

.main-text {
    text-align: left;
}

#mission > .strong, .main-text > .strong {
    color: #633;
    font-family: serif;
    font-weight: bold;
    font-size: 18px;
}

#header > img {
    margin-right: 20px;
    margin-left: 30px;
}

#header h1 {
    font-family: Times, serif;
	font-weight: bold;
	margin: 45px 0px 0px 5px;
	color: #663333;
}

#header #programm-name {
	font-size: 1.2em;
	font-family: Times, serif;
	color: #333333;
}

#footer {
	background: url(../i/bottom.png) no-repeat 0px 5px;
	height: 33px;
	padding-top: 5px;
}

#copyright {
    color: #333333;
    padding: 5px 30px 0px 30px;
    vertical-align: middle;
}

#counters {
	float: right;
    height: 36px;
    vertical-align: middle;
    text-align: center;
    padding: 8px 30px 0px 30px;
}

#content {
    vertical-align: top;
    padding: 0 20px 20px 20px;
    width: 560px;
}

.column {
    width: 220px;
    vertical-align: top;
    padding: 0 5px;
}

#left-column {
	border-right: thin solid #e8c996;
}

#right-column {
	border-left: thin solid #e8c996;
}

#search-column {
    padding-left: 30px;
    height: 2.5em;
}

#breadcrumb-column {
    padding: 0 20px;
}

#phone-column {
    text-align: right;
}

#ya-phone-1, #big-phone {
	font-family: serif;
    font-weight: bold;
    font-size: 1.3em;
    color: #663333;
}

.splitter {
	height: 4px;
	text-align: center;
	margin: 20px 0px;
	background: url(../i/end.png) no-repeat center;
}

.splitter_wide {
	height: 9px;
	text-align: center;
	margin: 20px 0px;
	background: url(../i/sep.png) no-repeat center;
}

a {
    color: #990000;
}

a:hover {
    color: #cc0000;
    text-decoration: underline;
}

a:visited {
    color: #432910;
}

a:active {
    color: #990000;
}

h1, h2, .h2, h3 {
	font-family: Georgia, serif;
    color: #333333;
}

hr {
    border:0;
    background-color: gray;
    height: 1px;
    margin: 1em 0;
}

.feed-link {
    display: block;
    float: right;
}

/* menu */
#enter-menu {
	margin-top: 15px;
	text-align: center;
}

#enter-menu a {
	display: block;
	margin-bottom: 5px;
}

#breadcrumb {
    color: #990000;
    padding: 0;
    margin: 0.7em 0;
}

#breadcrumb li {
    list-style: none none none none;
    display: inline;
}

#breadcrumb li.last {
    font-weight: bold;
}

#menu-top {
	height: 26px;
	background: url(../i/menu_background_top.png) no-repeat;
	margin-bottom: 0px;
}

#menu-bottom {
	height: 26px;
	background: url(../i/menu_background_bottom.png) no-repeat;
	margin-top: 0px;
}

#menu {
	background: url(../i/menu_background.png) repeat-y;
	margin: 0px;
	padding-left: 20px;
	padding-right: 10px;
}

#menu > li {
	list-style-type: none;
	margin-bottom: 0.5em;
	padding-bottom: 2px;
	border-bottom: thin solid #e8c996;
}

#menu li li {
	padding: 4px 0;
    line-height: 16px;
}

#menu a {
	font-family: serif;
	font-size: 1.3em;
	text-decoration: none;
}

#menu > li.last {
	margin: 0px;
	border-bottom: none;
}

.menu li.selected > a {
    text-decoration: none;
    font-weight: bold;
}

#advert {
    text-align: center;
    padding: 0 10px;
}

#advert > div {
    margin-bottom: 2em;
}

/* person */
.person {margin-bottom: 30px;}
.person > .photo {float: left;}
.person > .biography {margin-left: 100px;}
.person > .email {margin-left: 100px; margin-top: 10px;}

/* list table */
table.list {
    border-spacing: 0px 0px;
    border-collapse: collapse;
    border-left: 1px solid #e8c996;
    border-top: 1px solid #e8c996;
    margin: 1em 0px;
    width: 100%;
}

table.list th {
    background: #F9F0DA;
    border-bottom: 1px solid #e8c996;
    border-right: 1px solid #e8c996;
    color: #333;
    font-size: 0.9em;
    font-weight: bold;
    padding: 4px;
    text-align: left;
}

table.list td {
    border-bottom: 1px solid #e8c996;
    border-right: 1px solid #e8c996;
    padding: 0.25em 0.5em;
    vertical-align: top;
}

table.list div.description {
    font-size: 0.8em;
    color: gray;
}

.form-buttons {margin: 15px;}

.post .info {
    display: block;
    font-weight: normal;
    font-size: 12px;
    color: gray;
}

.post li {
    list-style: none;
}

.post h3 {
    margin-top: 0px;
    margin-bottom: 5px;
}

.post .head {
    padding: 3px;
    background-color: #f3f3f3;
    margin-bottom: 10px;
}

.post .buttons {
    margin-top: 5px;
    margin-bottom: 20px;
}

.forum {
    margin-bottom: 2em;
}

.forum h3 {
    margin-bottom: 5px;
}

table.list .forum-category {
    font-weight: bold;
    padding-top: 1em;
    padding-bottom: 0.25em;
}

.description {
    font-size: 0.9em;
    color: gray;
}

.new {
    font-size: 0.7em;
    color: #cd5c5c;
    vertical-align: super;
}

.post .new {
    font-size: 1em;
    vertical-align: baseline;
}

.post .topic_link {
    margin-bottom: 1em;
}

.last-post {
    white-space: nowrap;
}

#mark-read {
    margin-top: 10px;
}

/* news */
.news {
    margin-bottom: 3em;
}

.news > .source {
    margin: 0.5em 0em;
}

.news > .date {
    margin: 0.5em 0em;
}

.news > .tags {
    margin: 0.5em 0em;
}

/*
.news > .splitter {
    border-bottom: thin dotted gray;
}
*/

/* forms style */
label {display: block;}
form.normform div.form-row {margin-bottom: 1.5em;}
form.normform div.form-row .errorlist {margin: 0; padding: 0;}
form.normform div.form-row .errorlist li {color: red; list-style: none;}
form.normform .captcha {display: block;}
form.normform .required-mark {color: #FFAE00;}
form.normform div.form-row .comments {font-size: 0.8em;}
form.normform div.form-row label {font-weight: bold; color: #494949;}
.search-field {margin-right: 5px; width: 120px;}
form.normform .errorlist {padding-left: 0px;}
form.normform .errorlist li {color: red; list-style: none;}
fieldset { border:thin solid #E8C996; }


/* pagination */
.pagination {margin: 1em 0em;}

/* search */
.search-results dt {font-size: 1.1em; margin-bottom: 0.5em;}
.search-results dd {margin: 0px 0px 1em 1.5em;}
.search-snippet {margin-bottom: 0.5em;}
.search-info {font-size: 0.85em; margin-bottom: 1.2em;}

/* lists */
.column h2, .column .h2 {
    text-align: center;
    font-size: 1.2em;
	font-weight: bold;
    clear: both;
}
.column .items-list {
    padding-left: 30px;
}
.column #username {
    font-size: 1.1em;
    font-weight: bold;
    padding-left: 25px;
    padding-top: 0.5em;
}
.column #auth {
    margin-top: 0.5em;
}

#order-buttons {
	width: 213px;
	height: 224px;
	background: url(../i/frame2.png) no-repeat;
	padding-top: 25px;
	margin-left: 4px;
}

#order-buttons-horizontal {
	width: 524px;
	height: 100px;
	background: url(../i/frame3.jpg) no-repeat;
	padding-top: 25px;
	margin: 0 auto;
}

#order-buttons a {
	color: #82292C;
	font-weight: bold;
	font-size: 1em;
	display: block;
	height: 44px;
	padding-left: 65px;
	margin: 1em 10px 1em 12px;
	clear: both;
}

#order-button-research {
	color: #82292C;
	font-weight: bold;
	font-size: 1em;
	display: block;
    width: 155px;
	margin: 0 0 0 115px;
    float: left;
}

#order-button-diplom {
	color: #82292C;
	font-weight: bold;
	font-size: 1em;
	display: block;
    width: 140px;
	margin: 0 0 0 375px;
}

.order-button-research-img {
    background: url(/media/i/icon_1.png) no-repeat left center;
}

.order-button-diplom-img {
    background: url(/media/i/icon_2.png) no-repeat left center;
}

.order-button-family-site {
    background: url(/media/i/icon_3.png) no-repeat left center;
}

.shop-categories {
    padding-left: 0;
}
.shop-categories li {
    font-size: 1.2em;
    font-weight: bold;
    list-style: none;
}

#cart-short-info {
    border:thin solid #E8C996;
    padding: 3px;
}

/* rating */
.rating_bar {
  width: 55px;
  background: url(../i/star_x_grey.gif) 0 0 repeat-x;
}

.rating_bar div {
  height: 12px;
  background: url(../i/star_x_orange.gif) 0 0 repeat-x;
}

/* social */
.yashare-auto-init {float: right;}

div.howh1, .h1inline span
{
font-family: Times, serif;
font-weight: bold;
margin: 50px 0px 0px 5px;
color: #633;
font-size: 1.6em;
}

.h1inline span{
   font-family: Georgia, serif;
   color: #333;

}

.bold{
 font-weight: bold;
}

.italic{
 font-style: italic;
}

.h1inline h1{
  display: inline;
}

/* messages */
div.alert { padding: 0.5em; margin: 1em 0; background-color: #FBF1D8;}
div.alert-success {color: green;}
div.alert-error {color: red;}

/* portfolio */
div.portfolio a {display: block; float: left; text-align: center; width: 120px; height: 140px; margin: 10px 14px;}
div.portfolio a img {float: none;}

/* samples */
.report_sample {
    border: none;
    margin-bottom: 20px;
}
.report_sample .title {
    font-family: Times, serif;
    font-weight: bold;
    font-style: italic;
    font-size: 18px;
    line-height: 26px;
    color: #633;
    width: 200px;
    vertical-align: top;
}
.report_sample .samples {
    width: 525px;
    vertical-align: top;
}
.report_sample .samples img {
    padding: 3px;
    border: 1px solid #73564e;
    margin-right: 8px;
    margin-bottom: 8px;
}

/* gerb */
.gerb-text {
    width: 350px;
    padding-top: 50px;
}

.gerb-institute {
    float: right;
    text-align: center;
}

.gerb-institute div {
    font-style: italic;
    font-size: 10pt;
    font-family: georgia, serif;
    color: #663333;
    margin-top: 10px;
}

.gerb-institute div strong {
    font-family: georgia, serif;
}

.gerb-examples {
    clear: both;
    padding-top: 30px;
}

.gerb-examples div {
    float: left;
    text-align: center;
    font-style: italic;
    font-size: 10pt;
    font-family: georgia, serif;
    color: #663333;
    margin: 0 10px 15px 0;
}

.gerb-price .image {
    padding-bottom: 35px;
}

.gerb-price .description {
    vertical-align: top;
    padding-left: 25px;
}

.gerb-price .description .name {
    font-size: 16px;
    font-weight: bold;
    margin-top: 30px;
}

.gerb-price .description .elements {
    color: #663333;
    margin-top: 8px;
}

.gerb-price .description .price {
    color: #990000;
    font-size: 20px;
    margin-top: 20px;
}

a.btn {
    text-decoration: none;
}

#social-links {
    text-align: right;
    padding-right: 30px;
    padding-top: 8px;
}
#social-links > a {
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    display: inline-block;
}
.social-link-vk {
    background-image: url(../social_icons/vkontakte.png);
}
.social-link-facebook {
    background-image: url(../social_icons/facebook.png);
}
.social-link-twitter {
    background-image: url(../social_icons/twitter.png);
}
.social-link-ok {
    background-image: url(../social_icons/odnoklassniki.png);
}

.familysite-banner {
    display: inline-block;
    text-align: center;
    font-weight: bold;
    color: #3ABD46;
    margin-bottom: 10px;
    text-decoration: none;
    max-width: 200px;
}
.familysite-banner:visited {
    color: #3ABD46;
}
.familysite-banner img {
    border: none;
    max-width: 200px;
}
