html { /* 1.25 * 16px = 20px */
    font-size: 1.25em;
}

body { /* adjusts base font to 10px */
    font-size: 50%;
}

html>body { /* overrides the above in all browsers except IE */
    font-size: 10px;
}

body {
    background: #f7f7f7;
    color: #41484f;
    font-family: Tahoma, Arial, Helvetica, Verdana, sans-serif;
}

html,body {
    margin: 0px;
    padding: 0px;
    background-color: #FFFFFF;
    width: 100%;
}

html, body {
    background: #2266c5 url('/img/bg-page.gif') 0px 240px repeat-x;
}

* {
    font-size: 1em;
}

.hidden {
	display: none;
}


/* Common styles */
.align-right {
    text-align: right;
}

.align-center {
    text-align: center;
}

.clear-both {
    clear: both;
}

.nowrap {
    white-space: nowrap;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}


#main a:link,
#main a:visited,
#main a:active,
#main a:hover {
    color: #0b438f;
}

#main a:hover {
    text-decoration: none;
}

textarea, input {
    border: 1px solid #7b7b7b;
}

#site {
    text-align: center;
    min-width: 1000px;
}

#page {
    text-align: left;
    width: 100em;
    margin: 0 auto;
}

#head {
    height: 240px;
    text-align: center;
    background: transparent url('/img/bg-masthead.jpg') top center no-repeat;
    width: 100%;
}

#head a {
    display: block;
    margin: 0 auto;
    width: 1000px;
    height: 240px;
}

#footer {
    font-size: 1.2em;
    height: 4.25em;
    color: White;
    text-align: center;
    background: #2266c5 /*url('/img/bg-html.gif') bottom left no-repeat*/;
    padding-top: 2em;
    clear: both;
}

#footer a:link,
#footer a:visited,
#footer a:hover,
#footer a:active {
    color: White;
    text-decoration: underline;
}

#footer a:hover {
    text-decoration: none;
}

#main {
    padding: 2em 1.5em 0 1.5em;
    background: #2266c5 url('/img/bg-page.gif') top left repeat-x;
    overflow: hidden;
    position: relative;
}

body.ie #main {
    float: left;
    width: 100em;
}

/* content-area */
#content-area {
    position: relative;
    padding: 18px 2px;
    font-size: 1.2em;
    border: 2px solid #fcfcfc;
    float: left;
    width: 80em;
    background: #d4d4d4 url('/img/bg-content.gif') top left repeat-y;
}

body.ie #content-area {
    width: 80.5em;
}

/* Углы */
#content-area .crnr {
    width: 17px;
    height: 17px;
    position: absolute;
    z-index: 10;
}

#content-area .crnr.tl {
    background: transparent url('/img/crnr-tl.gif') top left no-repeat;
    top: 0;
    left: 0;
    margin-top: -2px;
    margin-left: -2px;
}

#content-area .crnr.tr {
    background: transparent url('/img/crnr-tr.gif') top left no-repeat;
    top: 0;
    right: 0;
    margin-top: -2px;
    margin-right: -2px;
}

#content-area .crnr.bl {
    background: transparent url('/img/crnr-bl.gif') top left no-repeat;
    bottom: 0;
    left: 0;
    margin-bottom: -2px;
    margin-left: -2px;
}

body.ie #content-area .crnr.bl {
    margin-bottom: -3px;
}

#content-area .crnr.br {
    background: transparent url('/img/crnr-br.gif') top left no-repeat;
    bottom: 0;
    right: 0;
    margin-bottom: -2px;
    margin-right: -2px;
}

body.ie #content-area .crnr.br {
    margin-bottom: -3px;
}

/* Колонки */
#content-area #left {
    width: 14em;
    float: left;
    background-color: #d4d4d4;
    /* margin-top: 70px; */
    padding-top: 35px;
    overflow: hidden;
}

body.ie #content-area #left {
    width: 14.3em;
    /* margin-top: 75px; */
}

#content-area #center {
    margin-left: 15px;
/*    border: 1px solid fuchsia; */
    /*width: 41em;*/
    width: 570px;
    float: left;
    background-color: #f7f7f7;
    /* margin-top: 70px; */
    font-size: 1em;
    padding: 10px;
    padding-right: 2px;
}

body.ie #content-area #center {
    /* margin-top: 75px; */
    /*width: 42.5em;*/
    width: 580px;
    margin-left: 5px;
}

#content-area #center h1 {
    text-align: center;
    font-size: 1.5em;
    font-weight: normal;
}

#content-area #center P * IMG,
#content-area #center P IMG {
    margin: 10px 20px;
}

#content-area #right {
    width: 15em;
    float: right;
    /*border: 1px solid black;*/
    background-color: #d4d4d4;
    padding-top: 35px;
    /* margin-top: 70px; */
    overflow: hidden;
}

body.ie #content-area #right {
    width: 15.5em;
    /* margin-top: 75px; */
}

#content-area #right .block {
    background: transparent url('/img/bg-hr-right.gif') -55px 30px no-repeat;
    padding: 0 0.5em 1em 0.5em;
    font-size: 1.2em;
}

#content-area #right .block a:link,
#content-area #right .block a:visited,
#content-area #right .block a:active,
#content-area #right .block a:hover  {
    color: #0b438f;
}

#content-area #right .block .date {
    color: #cf0000;
}

#content-area #right .block .content {
    margin-bottom: 1em;
}

#content-area #right h2 {
    text-align: right;
    padding-right: 35px;
    font-size: 1.5em;
    font-weight: normal;
    color: #053e8c;
    background: transparent url('/img/bullet.gif') 95% 7px no-repeat;
}

#content-area #right input {
    border: 1px solid #7b7b7b;
    color: #053e8c;
    margin: 2px 0 2px 2px;
}

#content-area #right input.text {
    width: 7.2em;
}

#content-area #right #user-info {
    overflow: hidden;
    width: 11.2em;
}

#content-area #right #user-info img{
    margin: 3px;
    border: 1px solid #7b7b7b;
}

#content-area #right #user-info h2 {
    margin-top: 0px;
}

body.ie #content-area #right #user-info {
        width: 12em;
}

#content-area #banner {
    width: 968px;
    height: 34px;
    background: #ffcc00 url('/img/bg-banner.gif') top left repeat-x;
    position: absolute;
    z-index: 11;
    top: 50px;
    left: 0;
    margin-left: -2px;
    text-align: center;
}

body.ie #content-area #banner {
    width: 972px;
}

#content-area #banner img {
    margin: 4px 0;
}

#content-area #site-map {
    position: absolute;
    z-index: 15;
    width: 18em;
    top: 1em;
    left: 2.5em;
}

#content-area #site-map a {
    color: #1e4975;
    font-size: 1.5em;
    font-weight: bold;
}

#content-area #site-map a:hover {
    text-decoration: none;
}

#content-area #settings {
    position: absolute;
    z-index: 15;
    width: 10em;
    top: 1em;
    right: 2em;
}

#content-area #settings a {
    color: #1e4975;
    font-size: 1.5em;
    font-weight: bold;
}

#content-area #settings a:hover {
    text-decoration: none;
}

#content-area #search-form {
    position: absolute;
    z-index: 15;
    width: 40em;
    top: 15px;
    left: 20em;
}

#content-area #search-form #search {
    width: 25em;
}

#content-area #search-form label {
    color: #053e8c;
    font-size: 1.2em;
    font-weight: bold;
}

#content-area #search-form input {
    border: 1px solid #7b7b7b;
    color: #053e8c;
    font-size: 1.2em;
}

#menu {
    font-size: 1.2em;
}

#menu li, #menu ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

#menu a:link,
#menu a:visited,
#menu a:active,
#menu a:hover {
    display: block;
    /*white-space: nowrap;*/
    /*height: 1.6em;*/
    margin: 0.2em 0;
    padding-left: 1.55em;
    background: transparent url('/img/bullet.gif') 5px 5px no-repeat;
    color: #1e4975;
    font-size: 1.2em;
}

#menu a:hover {
    text-decoration: none;
}

#menu a.selected:link,
#menu a.selected:visited,
#menu a.selected:active,
#menu a.selected:hover {
    color: #323232;
    text-decoration: none;
    font-size: 1.05em;
    font-weight: bold;
    padding-left: 1.7em;
}

#sample-text {
    height: 10em;
    padding: 4px;
    overflow: hidden;
    border: 3px double Black;
    clear: both;

}

/* TABLE LIST */
table.list {
    width: 90%;
    text-align: left;
    border-collapse: collapse;
    margin: 0 auto;
}

table.list td,table.list tr.hover td {
    padding-left: 7px;
    border-top: 1px solid #56927A;
    border-bottom: 1px solid #56927A;
    padding-right: 10px;
}

table.list tr.hover td,table.list tr:hover td {
    background-color: #F1F6F4;
}

table.list td span {
    margin-left: 15px;
}

table.list td img {
    border: none;
    display: inline;
    margin: 2px 4px;
    vertical-align: middle;
}

table.list td a {
    color: black;
    /*font-size: 8pt;*/
}

table.list td a.section {
    font-weight: bold;
}

table.list td.up {
    width: 15px;
    text-align: left;
}

table.list td.delete {
    width: 50px;
    vertical-align: middle;
    white-space: nowrap;
}

table.list td.delete a {
    font-weight: bold;
    /*font-size: 7pt;*/
    color: #777777;
}

table.list td.dir {
    font-weight: bold;
}


ul.article {
    list-style-type: none;
}


#map ul {
    list-style-type: none;
}

#add_gbook_form .ok,
#add_gbook_form .error {
    width: 500px;
    padding: 30px;
    margin-bottom: 2em;
}

#add_gbook_form .ok {
    border: 1px solid Green;
    color: Green;
}

#add_gbook_form .error {
    border: 1px solid Red;
    color: Red;
}

#add_gbook_form div {
    margin: 0.2em 0;
}

#add_gbook_form .text {
    border: 1px solid #7b7b7b;
    width: 455px;
}

body.ie #add_gbook_form .text {
    width: 425px;
}

#add_gbook_form textarea {
    border: 1px solid #7b7b7b;
    width: 568px;
}

body.ie #add_gbook_form textarea {
    width: 575px;
}

body.ie7 #add_gbook_form textarea {
    width: 565px;
}


#add_gbook_form .button {
    border: 1px solid #7b7b7b;
}

body.ie .catalog {
    float: left;
    width: 530px;
}

.catalog.category {
    border: 2px solid Green;
    margin: 10px;
    padding: 5px;
    overflow: hidden;
}

.catalog.product {
     border: 1px solid Red;
     margin: 10px;
     padding: 5px;
     overflow: hidden;
}

.catalog .photo {
    border: none;
    float: left;
    margin: 5px;
}

.catalog .text {
    margin-left: 140px;
}

.product.photo {
    border: none;
    margin: 0 5px 5px 0;
}

#cart-notice {
    height: 2em;
    vertical-align: middle;
    margin: 5px 0;
}

#cart-notice.error {
    font-style: italic;
    color: Red;
    font-weight: bold;
    font-size: 1.2em;
}

#cart-notice.ok {
    color: Green;
    font-size: 1.2em;
}

#cart-total {
    white-space: nowrap;
}

#cart-list a img {
    border: none;
}

#cart-list table {
    width: 100%;
    border-collapse: collapse;
}

#cart-list td, #cart-list th {
    border: 1px solid #d4d4d4;
}

#cart-list tr.noborder td,
#cart-list tr.noborder th {
    border: none;
    padding: 3px;
}

#cart-list tr.noborder td {
    text-align: left;
}

#cart-list tr.noborder th {
    text-align: right;
}

#cart-list th {
    text-align: center;
    padding: 3px;
}

#cart-list td {
    padding: 3px;
    text-align: center;
}

#cart-list td.name {
    width: 50%;
    text-align: left;
}

#cart-list textarea {
    width: 99%;
}

.invisible img {
    border: none;
    width: 1px;
    height: 1px;
}

#form-settings p {
    clear: both;
    overflow: hidden;
}

#form-settings select {
    border: 1px solid #7b7b7b;
}

#form-settings label {
    width: 15em;
    display: block;
    float: left;
}




.legal_term_page .letters {
	list-style: none;
	text-align: center;	
	padding: 10px;	    
}


.legal_term_page .letters li {
	display: inline;
	padding: 10px 5px;	
}

.legal_term_page .letters li span {
	font-weight: bold;
}

.legal_term_page .article {
	padding-left: 0;

}

.legal_term_page .article li {
    margin: 10px 0;	
}

.legal_term_page .article p {
	padding: 0;
}

.legal_term_page .page_nav {
    text-align: center;
    margin: 10px 0;	
}

