html {font-size:100%; -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%; max-width:420px; margin:0 auto;}

body {
height:100%;
margin:0 auto;
padding:0;
font-family:Arial;
font-size:13px;
background:#ffffff;
color:#000000;
max-width:420px;
min-width:250px;
}

td, th {font-family:Arial; font-size:13px; color:#000000;}
img {border:none;}

hr {
    display:block;
    width:100%;
	margin:6px 0;
	height:0;
	color:#557799;
	background-color:#44aa00;
	border:1px solid #44aa00;
	border-bottom:none;
}
* html hr {
	margin:0; /* for IE6 */
}
*+html hr {
	margin:0; /* for IE7 */
}

a {text-decoration:underline; color:#0044aa;}
a:hover {text-decoration:underline; color:#0088cc;}

h1 {padding:0; margin:10px 0 5px; color:#446699; font-size:24px; font-family:Tahoma; font-weight:normal;}
h1 a {color:#226699; text-decoration:none;}
h1 a:hover {color:#4477aa;}
h2 {padding:0; margin:10px 0; color:#449900; font-size:20px; font-family:Tahoma; font-weight:normal;}
h3 {color:#004488; font-size:17px; padding:0; margin:0; font-family:Tahoma; font-weight:normal;}
h3 a {text-decoration:none;}
h3 a:hover {text-decoration:underline; color:#116666;}

h4 {color:#000000; font-size:14px; padding:0; margin:0;}

ul {margin:0;}
ol {margin:0; list-style:decimal;}

.clear {clear:both;}



#wrapper {max-width:420px; margin:0 auto; height:auto !important; height:100%; min-height:100%;}

#header {margin:0; padding: 50px 0 0 0; text-align:center;}

#header .logo {margin:0 10px; color:#777777;}
#header .logo a {
display: inline-block;
text-align: left;
color: #336699;
font-size: 18px;
text-decoration: none;
padding: 0 0 10px 0;
}
#header .logo a span {
display: inline-block;
float:left;
color:#777777;
margin-top: 5px;
font-size: 14px;
}
#header .logo img {
float:left;
width: 80px;
margin-right:10px;
}


.search {margin-left:396px; width:448px; height:69px; background:#ff7700; padding: 75px 0 0 20px;}
.search td {color:#ffffff; font-size:14px;}

#slider {margin: 0 0 10px 0;}



#visual {
position: relative;
width: 100%;
height: 268px;
margin: 35px auto 0;
background: #55aadd;
}
#visual .inner {
width: 1340px;
height: 260px;
margin: 0 auto;
padding: 4px 0;
background: #55aadd;
}
#visual .wave-top {
position: absolute;
top: 0;
width: 100%;
height: 13px;
background: transparent url(/tpl/i/wsi-t.png) repeat-x top;
}
#visual .wave-bot {
position: absolute;
bottom: 0;
width: 100%;
height: 20px;
background: transparent url(/tpl/i/ws-b.png) repeat-x bottom;
}


#menutop {
background: #1155cc;
text-align: center;
color: #ffffff;
line-height: 40px;
-webkit-box-sizing: border-box;
        box-sizing: border-box;
width: 100%;
max-width:420px;
height: 40px;
padding: 0;
margin:0 auto;
position: fixed;
top: 0;
z-index: 9999999;
}
#menutop a {
color: #ffffff;
float:right;
font-size: 16px;
display: inline-block;
text-decoration: none;
padding: 0 10px;
}
#menutop a.menu {
display: block;
width: 28px;
height: 18px;
padding: 11px;
position:absolute;
}
#menutop a.menu:before,
#menutop a.menu:after {
content: '';
display: block;
background: #fff;
height: 2px;
}
#menutop a.menu span {
background: #fff;
display: block;
height: 2px;
margin: 6px 0;
}
#menutop a.text {
float: left;
margin-left:40px;
}
#menu {
max-width:1024px;
}
#menu:not(.mm-menu) {
display: none;
}


#container {overflow: hidden; padding: 0 15px;}

#center .content {padding:10px 0;}
#center h2 {margin: 10px 0 5px;}
#center h2 a {color:#004499; text-decoration:none;}

.center {margin:0 auto; padding:0;}
.center .content {padding:10px 0;}


#footer {margin:0 auto; height:90px; background:#e0e0e0;}
#footer a {color:#555;}
#footer a:hover {color:#333;}
#footer .bottom {padding:15px 20px 5px; text-align:center;}
#footer .counters {padding:10px 20px; text-align:center;}
#footer .menubot {padding:10px 20px; text-align: center;}


.news {padding:10px 0;}
.news a {text-decoration:none;}
.news .date {display:inline-block; color:#ffffff; background:#4499cc; padding:0 4px;}
.news .title {font-weight:bold; margin:6px 0;}
.news .title a {color: #003399;}
.news .title a:hover {color: #2255aa;}
.news .date {font-size:12px; color:#ffffff; background:#4499cc; margin:0; padding:1px 2px;}
.news .image img {float:left; width:100px; height:auto; padding:4px; background:#ffffff; border: 1px solid silver; margin-right:14px;}
.news .text {margin:10px 0 6px 0; padding:0;}
.news .text a, .news .textwide a {color:#222222;}
.news .text a:hover, .news .text a:hover {color:#333333;}


.anons {padding:10px 0;}
.anons .image {float:left; margin:2px 10px 2px 0; box-shadow: 2px 2px 5px rgba(0,0,0,0.3);}
.anons .image img {width: 160px; height: auto;}
.anons .title {font-size:16px; font-weight:bold; color:#000000; margin:0; padding:0 0 6px 0;}
.anons .titlecat {font-size:20px; font-weight:bold; color:#000000; margin:0; padding:0 0 6px 0;}
.anons .text {}
.anons a {color:#0077bb; text-decoration:none;}
.anons a:hover {color:#0066aa; text-decoration:underline;}
.anons .cat {margin:0 0 6px 0;}
.anons .cat a {font-size:16px; font-family: Verdana, Arial, Helvetica, sans-serif; line-height:22px; color:#225577;}


.foto {float:left; width:242px; margin:0 0 15px 0;}
.foto .title {padding:5px; font-size:15px; color:#114444; height: 40px; overflow: hidden;}
.foto .title a {text-decoration:none; color:#0055aa; line-height:20px;}
.foto .title a:hover {text-decoration:underline; color:#003388;}
.foto .image {padding:4px;}
.foto .image img {width:220px; height:auto; padding:4px; background:#ffffff; border:1px solid silver; box-shadow:1px 2px 4px rgba(0,0,0,0.3);}

 {padding:0; margin:0; border:0;}

center img,
.lightbox img,
.imgright, .imgleft {padding:5px 0; margin:0; border:0; width:100%; max-width:420px;}

.gallerya {margin:0 0 0 15px;}
.gallerya img {width:130px; height:auto; margin:0 2px 2px 0;}


.autoimage {
padding: 0;
margin: 10px 0 0 0;
overflow: hidden;
}

.autoimg {
display: inline-block;
float: left;
width: 160px;
margin: 3px;
padding: 0;
}

.autoimg img {
width: 160px;
height: auto;
margin:0;
padding:0;
}

.xls {display:inline-block;}
.xls img {float:left; margin: 0 5px 0 0;}
.xls img, .doc img {
width: 16px;
margin: 0;
padding: 0 5px 0 0;
vertical-align: middle;
}

.breadcrump {padding:0 0 10px; margin:0; line-height: 18px;}

.printlink {clear: both; padding:16px 0 0 0;}

.quote {padding:10px; border:#00aacc double 3px; color:#ffffff; background:#336699;}
.quote a {color:#55ddff;}
.quote a:hover {color:#77ffff;}

.pages {color:#444444; padding:10px 0;}
.pages li {list-style: none; display: inline-block;}
.pages a {color:#0066cc; padding:3px 7px; margin: 0 1px;}
.pages a:hover {background:#eeeeee; -moz-border-radius:4px; border-radius:4px;}
.pages span {color:#ffffff; background:#555555; padding:3px 7px; -moz-border-radius:4px; border-radius:4px;}


.adminbox:hover {background:rgba(0,0,0,.1);}
.adminbox:hover .adminlinks {display:block;}
.adminlinks {position:absolute; font-weight:bold; font-size:12px; background:rgba(200,0,0,.8); padding:3px 8px; margin:0; display:none; z-index:9999;}
.adminlinks a {text-decoration:none; color:#ffffff!important;}
.adminlinks a:hover {text-decoration:underline; color:#ffffff!important;}

.adm-link {font-size:12px; font-family:Arial; font-weight:bold; color:#222222;}
.adm-link a {font-weight:normal; text-decoration:none; color:#002244;}
.adm-link a:hover {font-weight:normal; text-decoration:underline; color:#224488;}

form     {margin:0; padding:0;}
select   {font-family:Arial; border:1px solid #999999; height:22px; background:#fff; vertical-align:middle;}
input    {font-family:Arial; border:1px solid #999999; height:18px; background:#fff; vertical-align:middle;}
textarea {font-family:Arial; border:1px solid #999999;}
.submit  {font-family:Arial; color:#444444; height:22px; border:1px solid #999999; background:#ddd; filter:progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#f0f0f0,endColorStr=#c5c5c5);}
.upload  {font-family:Arial; border:1px solid #999999; background:#fff; height:22px; width:99%; margin: 0 2px;}
label {
    display: block;
    line-height: 130%;
}
label.inline {
    display: inline;
    height: 1.6em;
    line-height: 1.6em;
    vertical-align: top;
}

table.table1 {border:0;
border-top:1px solid #888888;
border-bottom:1px solid #888888;
}
table.table1 td {padding:3px 8px 3px 8px;border-top:1px solid #bbbbbb;}
table.table1 th {padding:0;border:0;}
table.tr1 td {padding:3px 8px 3px 8px;border-top:2px solid #aaaaaa;}
.table1 .header {background:#cddedf; font-weight:bold;}
.table1 .sel {background:#e0e0e0; font-weight:bold;}

table#tbl {
	border-bottom:1px solid #888888;
	border-left:1px solid #888888;
}
table#tbl td {
	padding:3px 8px 3px 8px;
	border-top:1px solid #888888;
	border-right:1px solid #888888;
}
table#tbl th {
	padding:4px 8px 4px 8px;
	border-top:1px solid #888888;
	border-right:1px solid #888888;
	background-color:#5A514D;
	height:28px;
}

table.tbl .tr1 {padding:3px 8px 3px 8px;border-top:2px solid #aaaaaa;}

@media screen and (max-width: 600px) {}

/*
Стили для lib-form.php
*/
#imgsess {

}

#imgrenew {
margin: 4px 0;
padding: 8px;
width:162px;
text-decoration: none;
display: block;
line-height: 12px;
background: #eee;
-moz-border-radius:4px;
border-radius:4px;

border: 1px solid #aaa;
}
#imgrenew:hover {
background: #eef5ff;
border: 1px solid #aaccee;
}

.lf-form {
width: 100%;
}
.lf-header {
color: Maroon;
background: #e4e1dc;
padding: 6px;
border-top: 1px solid #bbbbbb;
}

.lf-comment {
padding: 6px;
color: Maroon;
background: #f5f5f5;
border-top:1px solid #cccccc;
}

.lf-line {
clear: both;
border-top:1px solid #cccccc;
padding: 4px 0;
}
.lf-left {
float:left;
width:128px;
padding: 5px 0 0 6px;
}
.lf-right {
margin-left:134px;
}

.lf-text, .lf-textarea {
width: 95%;
font-size: 15px;
padding: 4px;
}
.lf-select {
font-size: 15px;
}

.lf-attention {
padding: 6px;
}

.lf-nrtext {
padding: 4px 6px 6px 6px;
}

.lf-nr {
width: 170px;
}

.lf-line-submit {
padding: 4px 0;
background: #eeeeee;
border-top:1px solid #cccccc;
}

.lf-submit, .lf-button {
font-family: Arial;
border: 1px solid #337700;
background: #448800;
color: #ffffff;
height: 28px;
padding: 0 16px;
border-radius: 4px;
}

