html, body {
height:100%;
margin:0;
padding:0;
font-family:Arial;
font-size:14px;
background: #ffffff;
color:#000000;
min-width:1200px;
}

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

hr {margin:6px 0; height:0; color:#aabbcc; background-color:#aabbcc; border:1px solid #aabbcc; 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;}

ul {margin:0; padding:0 0 0 24px; list-style:url(/tpl/i/li.gif);}
ol {margin:0; list-style:decimal;}

form     {margin:0; padding:0;}
select   {font-family:Arial; border:1px solid #999999; height:22px; background:#fff;}
input    {font-family:Arial; border:1px solid #999999; height:18px; padding:1px 3px; background:#fff;}
textarea {font-family:Arial; border:1px solid #999999; padding:1px 3px;}
.submit  {font-family:Arial; color:#444444; height:22px; border:1px solid #999999; 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;}

.clear {clear:both;}

h1 {padding:0; margin:20px 0; 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;}


#wrapper {
height:auto !important; height:100%; min-height:100%;
margin:0 auto;
background: url(/tpl/i/bgr.png) no-repeat top center;
width:100%;
}

#header {margin:0 auto; width:1200px; height:105px;}
#header .left {
  float: left;
  width: 330px;
  height:105px;
}
#header .right {
  float: right;
  width: 870px;
  height:105px;
}

#header .logo {float:left; margin:10px 0 0 15px; width:430px; height:140px; color:#777777;}
#header .logo a {
display: inline-block;
float:left;
color: #336699;
font-size: 25px;
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 {
width: 100px;
float:left;
margin-right:10px;
}

#header .phone {float:right; color:#118800; font-family:Tahoma; font-size:22px; padding:5px 0 0 0; text-align:right;}
#header .phone span {font-size:18px; font-weight:normal;}





#login {
display: inline-block;
float: right;
width: 264px;
height: 70px;
background: transparent url(/i/75white.png);
-moz-border-radius: 4px;
border-radius:4px;
padding: 8px;
margin: 15px 15px 0 0;
}
#login input {
height:18px;
}
#login .submit {
height: 22px;
}






.search {margin: 3px 10px; float:right;}
.search-text {
  border: none;
  margin: 3px;
  width: 128px;
  height: 24px;
  padding: 2px 4px;
  -moz-border-radius:4px;
  border-radius:4px;
  background: #ffffff;
  font-size:14px;
  color:#888888;
}
.search-text:focus {outline:none;}
.search-image {
  margin: 0;
  padding: 0;
  border: none;
  width: 24px;
  height: 26px;
  background: transparent;
}

.searchform {
display: inline-block;
padding: 10px 10px 5px 10px;
background: #690;
color:#fff;
-moz-border-radius: 5px;
border-radius: 5px;
}
.searchform .txt {
  width: 170px;
}

.searchform td {
color:#fff;
}

#visual {
position: relative;
width: 100%;
height: 420px;
margin: 15px auto 0;
background: #eeeeee;
}
#visual .inner {
width: 1200px;
height: 420px;
margin: 0 auto;
padding: 4px 0;
}


#vispace {
	height: 40px;
}

.button {
font-size: 20px;
}

.button a {
margin: 35px 45px;
padding: 10px 20px;
display: inline-block;
box-shadow:0 0 4px 0 rgba(0, 0, 0, 0.4);
-moz-border-radius:6px;
border-radius:6px;
}

.green a {
background: #559922;
border: 1px solid #448811;
color: #ffffff;
text-decoration: none;
}

.green a:hover {
background: #66aa33;
}





.submenu {margin:0; padding: 15px 0; font-size:13px;}
.submenu a {display:block; text-decoration:none;}
.submenu a:hover {background: rgba(255,255,255,0.4);}
.submenu ul {list-style:none; padding:0; border-bottom: 1px dotted rgba(0,0,0,.3);}
.submenu ul li {border-top: 1px dotted rgba(0,0,0,.3);}
.submenu ul li a {font-size: 15px; padding:5px 10px;}
.submenu ul li span {
float:right;
width: 35px;
padding: 1px 5px!important;
font-size: 13px!important;
color:#222;
background: #eee;
-moz-border-radius:6px;
border-radius:6px;
box-shadow: inset 1px 1px 3px 0 rgba(0,0,0,.5);
}
.submenu ul ul {list-style:none; display: none; padding:0px;}
.submenu ul ul li {border-top: 1px dotted rgba(0,0,0,.1);}
.submenu ul ul li a {font-size:13px; padding:4px 10px;}
.submenu h3 {cursor:pointer; color: #222; padding:5px 10px;}
.submenu h3:hover {background: rgba(255,255,255,0.4);}
.submenu li.selected a {color:#000; background:rgba(255,255,255,0.4);}
.submenu li.active ul {display: block;}
.submenu li.active h3 {color:#000;}

#container {width:1200px; margin:0 auto; background:#fff;}

#front {width:1200px; margin:0 auto;}
#front .left {float:left; width:718px; padding:0;}
#front .right {float:right; width:442px; padding: 20px 0 0 0;}
#front .left .content {padding: 0;}
#front .right .content {padding: 0;}
#front .right .content .text {padding: 6px 0 0 0;}
#front h2 {}
#front h2 a {text-decoration: none;}
#front .notice {
width:790px;
background: #690;
color: #fff;
font-size: 15px;
-moz-border-radius:5px;
border-radius:6px;
padding: 12px 20px;
margin: 20px 0 0 5px;
box-shadow: 3px 3px 8px 0 #888;
}
#front .notice h2 {color:#fff; margin:0;}
#front .notice a {color:#fdd;}
#front .notice a:hover {color:#fff;}

#doc {}
#doc h1 {margin: 10px 0;}
#doc h1 a {text-decoration:underline;}
#doc h2 {padding:0; margin:0;}
#doc .image {}
#doc .text {}

#doc1 {width:1200px; margin:0 auto;}
#doc1 .center {float:left; width:1200px; padding:0;}
#doc1 .center .content {padding: 0 20px 20px;}

#doc2 {width:1200px; margin:0 auto;}
#doc2 h1 {margin: 10px 0;}
#doc2 h1 a {text-decoration:underline;}
#doc2 .left {float:left; width:260px; padding:0;}
#doc2 .right {float:right; width:920px; padding:0;}
#doc2 .left .content {padding:0 20px;}
#doc2 .right .content {padding:0;}

#doc3 {width:1200px; margin:0 auto;}
#doc3 .left {float:left; width:340px; padding:0;}
#doc3 .right {float:right; width:200px; padding:0;}
#doc3 .center {float:left; width:660px; padding:0;}
#doc3 .left .content {padding: 0 0 0 20px;}
#doc3 .right .content {padding: 0 20px 0 0;}
#doc3 .center .content {padding: 0 20px;}




.lightbox img {padding:0; margin:0 10px 10px 0; border:0;
-moz-border-radius:5px;
border-radius:5px;
}

.imgright {float:right; padding:0; margin:0 0 10px 10px!important; border:0;
-moz-border-radius:5px;
border-radius:5px;
}
.imgleft {float:left; padding:0; margin:0 10px 10px 0!important; border:0;
-moz-border-radius:5px;
border-radius:5px;
}

.autoimage {clear:both; padding-top:10px;}
.autoimage img {padding:0; margin:0 2px 2px 0; border:#eeeeee solid 4px;}

.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;
}

.spacer {height:150px;}

#footer {width:100%; background:#e0e0e0; height:130px; margin:0 auto; margin-top:-130px;}
#footer .content {width:1200px; margin:0 auto;}
#footer .menubot {float:left; width:860px; color:#aaa; padding: 20px 0 0 0;}
#footer a {color:#555;}
#footer a:hover {color:#333;}
#footer .counters {margin: 30px 0 0 0;}
#footer .counters a {text-decoration:none; color:#777;}
#footer .info {float:right; width:280px; color:#aaa; padding: 20px 0 0 30px; text-align:right;}

.thumblogo img {
	height: 50px;
	width: auto;
	padding: 4px 0;
}
.thlogo img {
	height: 44px;
	width: auto;
	padding: 4px;
}



.anons {padding:5px 0 10px; clear: both;}
.anons .title {font-size:20px; font-weight:bold; margin:6px 0;}
.anons .title a {color:#224499; text-decoration: none;}
.anons .title a:hover {color:#992266;}

.foto {float:left; width:232px; margin:0 0 10px;}
.foto .title {font-weight:bold; font-size:15px; line-height: 18px; padding: 8px 0;}
.foto .title a {color:#2255aa; text-decoration: none;}
.foto .title a:hover {color:#992266;}
.foto .image {width:210px; height: 170px; overflow: hidden;}
.foto img {width:210px; height:auto; transition: 0.4s;}
.foto img:hover {transform:scale(1.1);}

.news {padding-bottom:20px; position: relative;}
.news a {text-decoration:none;}
.news .image {float:left; width:170px; border-right: 1px solid gray;}
.news img {width:160px; height:auto;}
.news .date {display:inline-block; color:#ffffff; background:#4499cc; padding:0 4px;}
.news .title {font-size:16px; font-weight:bold; margin:6px 0;}
.news .title a {color: #003399;}
.news .title a:hover {color: #2255aa;}
.news .text {margin-left: 170px; border-left: 1px solid gray; padding: 0 0 0 8px;}
.news .textwide {padding: 0;}

.news .text a, .news .textwide a {color:#222222;}
.news .text a:hover, .news .text a:hover {color:#333333;}



.gray {background: #777!important;}

.txt_toggle {display:inline-block; font-size:18px; text-decoration:none!important; color:#cc1111; border-bottom:1px dashed #cc1111; margin:0;}
.txt_toggle:hover {text-decoration:none; color:#dd2222;  border-bottom:1px dashed #dd2222;}
.txt_vslider {padding: 10px 0 0 0; display:none;}


.breadcrump {padding:0; margin:20px 0 15px 0;}

.printlink {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:2px 5px;}
.pages span {color:#ffffff; background-color:#0066cc; padding:2px 5px;}

.tbl1 td {padding:3px 8px 3px 8px;border-top:1px solid #cccccc;}
.tbl1 th {padding:4px 8px 4px 8px;border-top:2px solid #999999;}
.tbl1tr {padding:3px 8px 3px 8px;border-top:2px solid #aaaaaa;}
.tbl1 .header td {padding:3px 8px 3px 8px;border-top:2px solid #aaaaaa; background: #eeddee;}
.tbl1 .sel td {padding:3px 8px 3px 8px;border-top:2px solid #aaaaaa; background: #eeddee;}

.tbl2 {border-bottom:1px solid #aaaaaa; border-left:1px solid #aaaaaa;}
.tbl2 td {padding:3px 8px; border-top:1px solid #aaaaaa; border-right:1px solid #aaaaaa;}
.tbl2tr {padding:3px 8px; border-top:2px solid #aaaaaa;}
.tbl2header td {padding:6px 8px; border-top:1px solid #aaaaaa; border-right:1px solid #aaaaaa; background-color:#ddeedd; font-weight:bold;}

#table1 {border-bottom:1px solid #aaaaaa; border-left:1px solid #aaaaaa;}
#table1 td {padding:3px 8px; border-top:1px solid #aaaaaa; border-right:1px solid #aaaaaa;}
#table1 .tr {background: #eee;}
#table1 .tr2 td {background: #ffe;}
#table1 th {padding:6px 8px; border-top:1px solid #aaaaaa; border-right:1px solid #aaaaaa; background-color:#ddeedd; font-weight:bold;}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

table caption {
	font-family: 'robotobold';
  font-weight: normal;
}


.table-style-2{
	border-top-style: solid;
	border-top-width: 1px;	
	text-align: left;
	margin-bottom: 1em;
	font-size:12px;
}

.table-style-2 tr.aidecollectif{
  line-height: 15px;
}

.table-style-2 tr.aidecollectif2{
  line-height: 15px;
  color:black;
}

.table-style-2 tr.aidecollectif2 a {
  color:black;
}

.aidecollectif2:nth-child(even){
  background: #eaeaea;
}

.table-style-2 tr{
  line-height: 30px;
}

.table-style-2 th{
	padding: .5em;
	border-bottom-style: solid;
	border-bottom-width: 1px;	
	vertical-align: top;	
}

.table-style-2 td{
	padding: .5em;
	border-bottom-style: solid;
	border-bottom-width: 1px;	
	vertical-align: middle;	
}

.table-style-2 img.flag{
  vertical-align: middle;
  padding-right: 1em;
  max-height:30px;
  margin-bottom: 0;
  max-width: 30px;
}

.table-style-2 img.flag20{
  vertical-align: middle;
  padding-right: 1em;
  max-height:20px;
  margin-bottom: 0;
  max-width: 20px;
}

.table-style-2 img.flag1{
  vertical-align: middle;
  padding-right: 0.25em;
  max-height:30px;
  margin-bottom: 0;
  max-width: 30px;
}

.table-style-2 img.flag2{
  vertical-align: middle;
  padding-left: 1em;
  max-height: 30px;
  margin-bottom: 0;
  max-width: 30px;
}

.table-style-2 img.flag22{
  vertical-align: middle;
  padding-left: 1em;
  max-height: 22px;
  margin-bottom: 0;
  max-width: 22px;
}

.table-style-2 img.flag3{
  vertical-align: middle;
  padding-right: 0.2em;
  max-height: 30px;
  margin-bottom: 0;
  max-width: 30px;
}

.table-style-2 img.flag4{
  vertical-align: middle;
  padding-left: 2em;
  padding-right: 0.2em;
  max-height: 30px;
  margin-bottom: 0;
  max-width: 30px;
}

.table-style-2 img.flag_large{
  vertical-align: middle;
  padding-right: 1em;
  max-height:20px;
  max-width: 100px;
  margin-bottom: 0;
}

.table-style-2 img.logo_sport{
  vertical-align: middle;
  padding-right: 1em;
  max-height:70px;
  max-width: 70px;
  margin-bottom: 0;
}

.table-style-2 img.embleme{
  vertical-align: middle;
  padding: 1em;
  margin-bottom: 0;
  max-width: 40px;
}

.table-style-2 a.hautecote {
  font-weight: bold;
  color: #990000;
}

.table-style-2 a.nodecort {
  text-decoration: none;
}

.toggle-content .table-style-2 tr:last-child td{
	border-bottom: none;
}

.table-style-2 td:empty, .table-style-1 td:empty{ }

.table-style-2 th.th-vcenter{
  vertical-align: middle;
}

.table-style-2 td.td-top{
  vertical-align: top;
}

.table-style-2 tr.tr-noborder td{
	border-bottom: none;
}

.table-style-2 tr.tr-border-light td{
	border-bottom-style: dotted;
	border-width:1px;
}

.table-style-2 tr td.td-noborder{
	border-bottom: none;
}

.table-style-2 tr td.td-nolborder{
	border-left: none;
}

.table-style-2 tr td.td-nopadding{
	padding: 0;
}



.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;}

.adminbox:hover {background: rgba(50,50,50,.1);}
.adminbox:hover .adminlinks{display:block;}

.adminlinks {position:absolute; width:90px; font-weight:bold; font-size:12px; color:#d6dc6c; background: rgba(180,0,0,.8); padding:2px 5px 2px 5px; display:none; margin:0; z-index:999;}
.adminlinks a {text-decoration:none; color:#ffffff;}
.adminlinks a:hover {text-decoration:underline; color:#ffffff;}

.menutop {
overflow: visible;
background:#3377ee;
margin:0;
padding:0;
}
.menutop-inner {
width: 1200px;
margin: 0 auto;
}

/*** sf base ***/
.sf-menu, .sf-menu * {margin:0; padding:0; list-style:none;}
.sf-menu li {position:relative;}
.sf-menu ul {position:absolute; display:none; top:100%; z-index:99;}
.sf-menu > li {float:left;}
.sf-menu li:hover > ul, .sf-menu li.sfHover > ul {display:block;}
.sf-menu a {display:block; position:relative;}
.sf-menu ul ul {top:0; left:100%;}

/*** sf skin ***/
.sf-menu {
display: block;
width: 1200px;
font-family:Tahoma; font-size:18px;
height: 40px;
background:#1155cc;
}
.sf-menu ul {
display:hidden;
}
.sf-menu a {
color:#ffffff; margin:0; padding:8px 20px; text-decoration:none;
zoom: 1; /* IE7 */
}
.sf-menu li {
	white-space: nowrap; /* no need for Supersubs plugin */
	*white-space: normal; /* ...unless you support IE7 (let it wrap) */
	-webkit-transition: background .2s;
	transition: background .2s;
}
.sf-menu li.selected {
	color:#fff; background: rgba(155,155,155,.6); text-decoration:none;
}
.sf-menu ul li {
	background: #665544;
}
.sf-menu ul ul li {
	background: #554433;
}
.sf-menu li:hover {
	color:#fff; background: rgba(155,155,155,.4); text-decoration:underline;
}
.sf-menu ul li:hover {
	color:#fff; background: #443322; text-decoration:underline;
}


/*** arrows (for all except IE7) **/
.sf-arrows .sf-with-ul {
	padding-right: 2.5em;
	*padding-right: 1em; /* no CSS arrows for IE7 (lack pseudo-elements) */
}
/* styling for both css and generated arrows */
.sf-arrows .sf-with-ul:after {
	content: '';
	position: absolute;
	top: 50%;
	right: 1em;
	margin-top: -3px;
	height: 0;
	width: 0;
	/* order of following 3 rules important for fallbacks to work */
	border: 5px solid transparent;
	border-top-color: #dFeEFF; /* edit this to suit design (no rgba in IE8) */
	border-top-color: rgba(255,255,255,.5);
}
.sf-arrows > li > .sf-with-ul:focus:after,
.sf-arrows > li:hover > .sf-with-ul:after,
.sf-arrows > .sfHover > .sf-with-ul:after {
	border-top-color: white; /* IE8 fallback colour */
}
/* styling for right-facing arrows */
.sf-arrows ul .sf-with-ul:after {
	margin-top: -5px;
	margin-right: -3px;
	border-color: transparent;
	border-left-color: #dFeEFF; /* edit this to suit design (no rgba in IE8) */
	border-left-color: rgba(255,255,255,.5);
}
.sf-arrows ul li > .sf-with-ul:focus:after,
.sf-arrows ul li:hover > .sf-with-ul:after,
.sf-arrows ul .sfHover > .sf-with-ul:after {
	border-left-color: white;
}

/* Стили для UI Jquery */
#slider1 {
	width:210px;
    height:6px;
    margin:10px 0;
}
.ui-slider {
	position: relative;
}
.ui-slider .ui-slider-handle {
	position: absolute;
	z-index: 2;
	width: 18px;
	height: 18px;
	background: #88cc22;
    border: 1px solid #339900;
    cursor: pointer;
	outline: none;
}
.ui-slider .ui-slider-range {
	position: absolute;
	z-index: 1;
	display: block;
	border: 0;
	overflow: hidden;
}
.ui-slider-horizontal {
	 height: 4px;
}
.ui-slider-horizontal .ui-slider-handle {
	top: -7px;
	margin-left: -2px;
}
.ui-slider-horizontal .ui-slider-range {
	top: 0;
	height: 100%;
}
.ui-slider-horizontal .ui-slider-range-min {
	left: 0;
}
.ui-slider-horizontal .ui-slider-range-max {
	right: 0;
}
.ui-widget-content {
	border: 1px solid #999999;
	background: #fff;
}
.ui-widget-header {
	border: 1px solid #dd6600;
	background: #ee7711;
}
.ui-corner-all {
	-moz-border-radius: 9px;
	-webkit-border-radius: 9px;
	border-radius: 9px;
}

/*
Стили для lib-form.php
*/
#imgsess {
float:left;
}

#imgrenew {
float: left;
margin: 8px;
text-decoration: none;
display: block;
line-height: 12px;
width: 50px;
background: #eee;
-moz-border-radius:8px;
border-radius:8px;
padding: 6px;
border: 1px solid #aaa;
}
#imgrenew:hover {
background: #eef5ff;
border: 1px solid #aaccee;
}

#lib-form-table td {padding:2px 0px 2px 4px;border-bottom: 1px solid #cccccc;}
#lib-form-table th {padding:4px 0px 4px 4px;border-bottom: 2px solid #999999;}
#lib-form-tr td {padding:3px 0px 3px 4px;border-bottom: 2px solid #aaaaaa;}

.lib-form-header {
	height: 32px;
	font: bold Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: Maroon;
	background-color: #E4E1DC;
	border-top: 1px solid silver;
	padding-left: 6px;
	padding-right: 6px;
}

.lib-form-text {
	background-color:#f9f9f9;
	border: 1px solid silver;
}

.lib-form-textarea {
	background-color:#f9f9f9;
	border: 1px solid silver;
}

.lib-form-checkbox {
    text-align: left;
	height: 28px;
	color: #222222;
	border-bottom: 1px solid #dddddd;
	padding-left: 6px;
	padding-top: 4px;
}

.lib-form-radio {
	border: 0;
}

.lib-form-select {
    height: 20px;
	background-color: #f9f9f9;
	border: 1px solid silver;
}

.lib-form-button {
	font-size: 12px;
	height: 20px;
	border: 1px ridge #aaaaaa;
	background-color: #e4e4dd;
	color: #444444;
/*
	border: 1px hidden #f7f7f7;
	button-gradient-end-color: #f7f7f7;
	button-gradient-start-color: #b7b7b7;
	filter:progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#f0f0f0,endColorStr=#c3c3c3)
*/
}

.lib-form-file {
	background-color: #f9f9f9;
	border: 1px solid silver;
	height: 20px;
}

.lib-form-comment {
    text-align: left;
	height: 28px;
	color: Maroon;
	background-color: #f5f5f5;
	border-bottom: 1px solid silver;
	padding-left: 6px;
	padding-right: 6px;
}

.lib-form-endcomment {
	height: 1px;
	color: Maroon;
	background-color: #f5f5f5;
	border-bottom: 1px solid silver;
	padding:0;
}

.lib-form-td {
	height: 28px;
	color: #222222;
    text-align: left;
	border-bottom: 1px solid #dddddd;
	padding-left: 6px;
}

.lib-form-submit {
    text-align: left;
	height: 28px;
	background: #eeeeee;
	border-bottom: 1px solid #bbbbbb;
	padding-left: 6px;
}