/*	CSS-Framework

	Version		: 0.3
	File name	: cssf-base.css
	Author		: Aleksej Romanovskij (http://css-framework.ru)
	License		: Creative Commons Attribution 3.0 Unported License (http://creativecommons.org/licenses/by/3.0/)
	
------------------------------ */

/* Core
------------------------------ */

* { margin: 0; padding: 0; }

*:focus { outline: none; }
.hidden { display: none; }
.over {overflow:hidden;}
.show { display: block!important; }
.no-margin { margin: 0!important; }
.no-padding { padding: 0!important; }
.no-bg { background: none!important; }
.no-border, a img { border: none; }
.container { width: 100%; }
.container:after, .columns:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.img-repl { text-indent: -9999px; overflow: hidden; display: block; }
.cc { clear: both; }

.left {float:left;}
.right {float:right;}

/* Main styles
------------------------------ */

html { height: 100%; background:url('../i/top-bg-gridi.jpg') top left repeat-x #fff ; font: .75em/1.5 Verdana, Arial, Helvetica, sans-serif; }
body { height: auto !important; background:url('../i/bg-bottom.png') bottom left repeat-x  ;height: 100%; min-height: 100%; position: relative; } /* body height 100% */

a { font-family: georgia serif;color:#e81c33; }
a:visited {  }
a:hover {  text-decoration:none;}
a:active {  }

/* Layout Boxs
------------------------------ */

.page-layout { margin-right: -5px; }
.layout-box { float: left; margin: 0 5px 5px 0; }

.lb-1 { width: 779px; } /* 100% */
.lb-2 { width: 583px; } /* 75% */
.lb-3 { width: 387px; } /* 50% */
.lb-4 { width: 191px; } /* 25% */
    html, body {
      height:100%; margin:0;
    }
 
    html>body {
      min-height:100%;
      height:auto;
    }
	
	    body {
      position:relative;
    }
	
/* Demo Template
------------------------------ */
#page { width:963px; margin:0px auto;padding:0px 35px;padding-bottom: 220px;}
#main  #page {padding-left:0px;background:url('../i/footer.jpg') center bottom no-repeat ;}

#header {  width:988px; margin:0px auto; height:280px;position:relative;margin-bottom:10px;background:url('../i/header.jpg') top center no-repeat ;}
#col-right {float:right;width:220px;text-align:center;padding-top:50px;text-align:center;}

#main #content { float:left;width:580px;padding:0px 50px;padding-left:85px;background:url('../i/content-top.jpg') 5px 30px no-repeat;}
 #content { padding:0px 85px;background:url('../i/i2.jpg') 5px 60px no-repeat;}
	.content {color:#444;font-size:1.2em;margin-bottom:35px;min-height:300px;}
	.content p  {margin-bottom:1em;}

.er404 	 #content { background:url('../i/i2.jpg') 5px 160px no-repeat;}
.frf {background:url('../i/im.jpg')  no-repeat;}	
#main #footer .footer {background:none;}
#footer {position:absolute;bottom:0; width:100%;}
.footer {width:833px; height:30px;padding:10px 65px; padding-top:200px;margin:0px auto;background:url('../i/footer2.jpg') center bottom no-repeat ; }


* html #page {
  height: 100%;
}



/* Content elements ------------------------------ */

.content a , #content a {font-family:Arial, Helvetica, sans-serif;}
 h1,  h2,  h3,  h4 {color:#ec297b;  font: 1.7em Georgia ,Verdana, Arial, Helvetica, serif; margin-bottom: .3em; color:#ec297b;}
 h1 {  font: 2.6em georgia serif;text-align:center;color:#ec297b; }
 h2 { font-size: 1.5em; }
 h3 { font-size: 1.3em; font-weight: bold; }
 h4 { font-size: 1.1em; font-weight: bold; }

blockquote { margin-left: 10em; padding-left: 1em; border-left: 2px solid #ccc; }
code, pre { font: 1.2em/1 "Courier New", Courier, monospace; padding: 1px 2px; background: #eee; }
pre { border: 1px dashed #aaa; line-height: 1.7em; padding: 5px; font-size: .9em; background: #eee; margin: 0; }
strong {  }
em {  }
sup, sub { vertical-align: baseline; position: relative; }
sup { top: -0.4em; }
sub { bottom: -0.3em; }

hr { color: #ccc; background-color: #ccc; height: 1px; border-width: 0px; }

.em { font-style: italic; }
.strong { font-weight: bold; }

.content ul, .content ol { margin-left: 3em; line-height: 1.3em; }
.content ul li, .content ol li { margin-bottom: .2em; }

.content dl {  }
.content dl dt { margin-bottom: .2em; font-weight: bold; }
.content dl dd { padding-left: 5em; margin-bottom: .4em; }

.icons a, .icon { padding: 1px 0 1px 20px; background-repeat: no-repeat; background-position: left center; }

.content p, .content ul, .content ol, .content dl, .content table, blockquote, pre, .columns, .content img, hr { margin-bottom: 11px; }

.menu-d {margin-left:1.2em;list-style:none;font-size:1.4em;color:#ec297b;margin-bottom:25px;}
.menu-d li {overflow:hidden; }
.menu-d li span {display:block;float:left;}
.menu-d li a {font-size:1em;display:block;padding:2px 5px;}
.menu-d li a:hover {}
.content .menu-d  {margin-left:10px;font-size:18px;}

.prof a {text-decoration:none;}
.prof a:hover {text-decoration:none;}

.box { margin: 11px; }

.tel {position:absolute;width:300px;right:0px;top:10px;text-align:right;}
.tel, .copyright {color:#e81a6c;font-size:1.7em;}

.break  , .news h2 {color:#444;background:url('../i/break.jpg') center right no-repeat #fcedf5;padding:5px 12px;}
.break a {color:#444;}

.brek-box {margin-bottom:20px;}

.right-foto  {position:relative;display:block;width:136px;height:98px;margin:10px auto;text-align:center;}
.right-foto span {	width : 100%;	height : 100%;	position : absolute;background:url('../i/foto1.png') center center no-repeat;} 

.b-link {font-size:20px;font-weight:normal; }

.bg-hov {background:url('../i/01.png')  74% bottom no-repeat;overflow:hidden;}
.m-news-title {font-size:14px;font-weight:normal;padding:3px 0px;}

.all-feed , .full-news {padding-bottom:30px;overflow:hidden;}
.feed  {overflow:hidden;margin-bottom:30px;}
.feed .feed-img {width:180px;float:left;text-align:center;}
.feed .feed-img .right-foto  {margin:0px;padding:0px;width:180px;height:126px;}
.feed .feed-img .right-foto span {	background:url('../i/foto0.png') center center no-repeat ;} 
.feed .feed-text , .full-news-text {margin-left:190px;padding:10px;border:1px solid #e81a6c;position:relative;font: 1.3em georgia serif; color:#ec297b;}
.feed .feed-text  h3 {color:#999;font-style:italic;font-size:0.7em;padding-top:10px;}

.tl {left:-1px;top:-1px;background:url('../i/br.png') bottom right;}
.tr {right:-1px;top:-1px;background:url('../i/br.png') bottom left;}
.bl {left:-1px;bottom:-1px;background:url('../i/br.png') top right;}
.br {right:-1px;bottom:-1px;background:url('../i/br.png') top left;}
.b12 {width:17px;height:17px;position:absolute;}


.news {width:400px;padding-bottom:30px;}
.news h2  {color:#ec297b;font: 2em georgia serif;margin-bottom:0px;}
.one-news {padding:3px 15px;font-size:1.2em;overflow:hidden;}
.one-news .date {color:#666;}


.full-news-text {margin-left:0px;margin-bottom:20px;padding:10px;}
.full-news-text {} 
.full-news-text-p {padding:5px 10px 0 10px;}
.full-news-title {padding:5px 10px;background:url('../i/break.jpg') center right no-repeat #fcedf5; }
.full-news-title h3 {font-weight:normal;padding:0px;margin:0px;font-size:1em;}
.full-news-title .date {color:#666;font-size:1em;padding-top:3px;}


.prof {float:left;margin:8px;text-align:center;line-height:0.9;}
.prof .right-foto  {margin:0px;padding:0px;width:180px;height:126px;margin-bottom:3px;}
.prof .right-foto span {	background:url('../i/foto0.png') center center no-repeat ;}
.prof-title {font-size:1.1em;text-decoration:none;}
#content .prof-title:hover {text-decoration:underline;}

.alb {margin:9px;width:114px;text-align:center;line-height:1;}
.alb a  img {padding:0px;margin:0px;border:2px solid #aaa;display:block;}
.alb a:hover img {border:2px solid #e81c33;}


.page {padding:10px;text-align:center;font: 18px georgia serif;}
.page span {padding:2px 4px;font: 18px georgia serif;color:#999;}
.page a {padding:2px 4px;font: 18px georgia serif;}

.logo  {
	position:absolute;
	width : 278px;
	height : 174px;

	left : 54px;
	top : 16px;
	font-size : 18px;
	color:#bd3102;
}
.logo span {
	width : 100%;
	height : 100%;
	position : absolute;
	background : url('../i/logo.jpg');
} 


/* Horizontal Menu
------------------------------ */

.menu-h {  list-style: none;position:absolute;top:144px;}
.menu-h li { position:absolute;display:block; padding: 0 .8em;width:145px;text-align:center;}
.menu-h a { font-size:1.3em;color:#e81c33; display: block; padding-top:46px;background:url('../i/menu.png') top center no-repeat ;}
.menu-h a:hover { background:url('../i/menu.png') 50%  -125px  no-repeat ;}
.menu-h li.active a { background:url('../i/menu.png') 50%  -254px  no-repeat ;}
.menu-h li.active a:hover { background:url('../i/menu.png') 50%  -125px  no-repeat ;}

#main-menu2 {left:22px;top:46px;}
#main-menu3 {left:138px;top:22px;}
#main-menu4 {left:269px;top:46px;}
#main-menu5 {left:394px;top:4px;}
#main-menu6 {left:534px;top:55px;}
#main-menu7 {left:654px;top:11px;}
#main-menu8 {left:784px;top:35px;}
#main-menu9 {left:864px;top:0px;}
/* Horizontal Drop Down Menu
------------------------------ */

.menu-h-d { min-height: 24px; border-left: 1px solid #ccc; }
.menu-h-d li { float: left; display: block; position: relative; border: 1px solid #ccc; border-width: 1px 1px 1px 0px; list-style: none; }
.menu-h-d a { text-decoration: none; padding: 2px 10px; display: block; }

.menu-h-d ul { display: none; position: absolute; top: 22px; left: -1px; width: 160px; background: #fff; border: 0; border-bottom: 1px solid #ccc; }
.menu-h-d ul ul { left: 100%; top: -1px; }

.menu-h-d li li { float: none; border-width: 1px 1px 0px 1px; }

.menu-h-d li:hover { background: #ccc; }
.menu-h-d a:hover { color: #fff; }

.menu-h-d li:hover ul ul,
.menu-h-d li:hover ul li:hover ul ul { display: none; }

.menu-h-d li:hover ul,
.menu-h-d li:hover ul li:hover ul,
.menu-h-d li:hover ul li:hover ul li:hover ul { display: block; }

/* Horizontal Drop Up Menu
------------------------------ */

.menu-h-d.d-up ul { bottom: 22px; }
.menu-h-d.d-up ul ul { bottom: -1px; }

/* Vertical Menu
------------------------------ */

.menu-v { border-top: 1px solid #ccc; }
.menu-v li { padding: 2px 0; list-style: none; border-bottom: 1px solid #ccc; }
.menu-v li ul { padding-left: 1em; margin-top: 2px; }
.menu-v li li { border: none; border-top: 1px solid #ccc; }
.menu-v a { text-decoration: none; display: block; }
.menu-v a:hover { text-decoration: underline; }

/* Vertical Drop Down Menu
------------------------------ */

.menu-v-d { border-top: 1px solid #ccc; }
.menu-v-d li { padding: 2px 0; display: block; position: relative; border: 1px solid #ccc; border-width: 0px 1px 1px 1px; list-style: none; }
.menu-v-d li a { display: block; position: relative; text-decoration: none; padding-left: 10px; }

.menu-v-d li:hover { background: #ccc; }
.menu-v-d a:hover { color: #fff; }

.menu-v-d li ul { display: none; position: absolute; top: -1px; border-top: 1px solid #ccc; left: 100%; width: 100%; background: #fff; }
.menu-v-d li ul li { background: #fff; }

.menu-v-d li:hover ul ul,
.menu-v-d li:hover ul li:hover ul ul { display: none; }

.menu-v-d li:hover ul,
.menu-v-d li:hover ul li:hover ul,
.menu-v-d li:hover ul li:hover ul li:hover ul { display: block; }

.menu-v-d ul ul { left: 100%; }

/* Corners (em)
------------------------------ */

.corners { position: relative; overflow: hidden; }
.corners em.tl, .corners em.tr, .corners em.bl, .corners em.br { position: absolute; font-size: 1px; }

.corners-2 em.tl, .corners-2 em.tr, .corners-2 em.bl, .corners-2 em.br { width: 4px; height: 4px; background-image: url(../i/corners/corners-2.png); }
	.corners-2 em.tl { left: -2px; top: -2px; } .corners-2 em.tr { right: -2px; top: -2px; } .corners-2 em.bl { left: -2px; bottom: -2px; } .corners-2 em.br { right: -2px; bottom: -2px; }
.corners-3 em.tl, .corners-3 em.tr, .corners-3 em.bl, .corners-3 em.br { width: 6px; height: 6px; background: url(../i/corners/corners-3.png); }
	.corners-3 em.tl { left: -3px; top: -3px; } .corners-3 em.tr { right: -3px; top: -3px; } .corners-3 em.bl { left: -3px; bottom: -3px; } .corners-3 em.br { right: -3px; bottom: -3px; }
.corners-4 em.tl, .corners-4 em.tr, .corners-4 em.bl, .corners-4 em.br { width: 8px; height: 8px; background: url(../i/corners/corners-4.png); }
	.corners-4 em.tl { left: -4px; top: -4px; } .corners-4 em.tr { right: -4px; top: -4px; } .corners-4 em.bl { left: -4px; bottom: -4px; } .corners-4 em.br { right: -4px; bottom: -4px; }
.corners-5 em.tl, .corners-5 em.tr, .corners-5 em.bl, .corners-5 em.br { width: 10px; height: 10px; background: url(../i/corners/corners-5.png); }
	.corners-5 em.tl { left: -5px; top: -5px; } .corners-5 em.tr { right: -5px; top: -5px; } .corners-5 em.bl { left: -5px; bottom: -5px; } .corners-5 em.br { right: -5px; bottom: -5px; }
.corners-6 em.tl, .corners-6 em.tr, .corners-6 em.bl, .corners-6 em.br { width: 12px; height: 12px; background: url(../i/corners/corners-6.png); }
	.corners-6 em.tl { left: -6px; top: -6px; } .corners-6 em.tr { right: -6px; top: -6px; } .corners-6 em.bl { left: -6px; bottom: -6px; } .corners-6 em.br { right: -6px; bottom: -6px; }
.corners-7 em.tl, .corners-7 em.tr, .corners-7 em.bl, .corners-7 em.br { width: 14px; height: 14px; background: url(../i/corners/corners-7.png); }
	.corners-7 em.tl { left: -7px; top: -7px; } .corners-7 em.tr { right: -7px; top: -7px; } .corners-7 em.bl { left: -7px; bottom: -7px; } .corners-7 em.br { right: -7px; bottom: -7px; }
.corners-8 em.tl, .corners-8 em.tr, .corners-8 em.bl, .corners-8 em.br { width: 16px; height: 16px; background: url(../i/corners/corners-8.png); }
	.corners-8 em.tl { left: -8px; top: -8px; } .corners-8 em.tr { right: -8px; top: -8px; } .corners-8 em.bl { left: -8px; bottom: -8px; } .corners-8 em.br { right: -8px; bottom: -8px; }
.corners-9 em.tl, .corners-9 em.tr, .corners-9 em.bl, .corners-9 em.br { width: 18px; height: 18px; background: url(../i/corners/corners-9.png); }
	.corners-9 em.tl { left: -9px; top: -9px; } .corners-9 em.tr { right: -9px; top: -9px; } .corners-9 em.bl { left: -9px; bottom: -9px; } .corners-9 em.br { right: -9px; bottom: -9px; }
.corners-10 em.tl, .corners-10 em.tr, .corners-10 em.bl, .corners-10 em.br { width: 20px; height: 20px; background: url(../i/corners/corners-10.png); }
	.corners-10 em.tl { left: -10px; top: -10px; } .corners-10 em.tr { right: -10px; top: -10px; } .corners-10 em.bl { left: -10px; bottom: -10px; } .corners-10 em.br { right: -10px; bottom: -10px; }

/* Text align, float
------------------------------ */

.a-left { text-align: left; }
.a-center { text-align: center; }
.a-right { text-align: right; }

.f-left { float: left; }
.f-right { float: right; }

/*	Tables
------------------------------ */

table { border-collapse: collapse; width: 100%; }
table th, table td { border: 1px solid #ccc; padding: 2px 3px; vertical-align: top; }
table th { background: #f4f4f4; }
table td {  }

/*	Columns
------------------------------ */

.columns {  }
.w-5, .w-10, .w-15, .w-20, .w-25, .w-30, .w-35, .w-40, .w-45, .w-50, .w-55, .w-60, .w-65, .w-70, .w-75, .w-80, .w-85, .w-90, .w-95, .w-100, .w-33, .w-66, .w-38, .w-62 { float: left;  }

.col-content { padding-right: 6px; }
.col-first { padding-left: 0!important; }
.col-last { padding-right: 0!important; }

.w-5 { width: 5%; }
.w-10 { width: 10%; }
.w-15 { width: 15%; }
.w-20 { width: 20%; }
.w-25 { width: 25%; }
.w-30 { width: 30%; }
.w-35 { width: 35%; }
.w-40 { width: 40%; }
.w-45 { width: 45%; }
.w-50 { width: 50%; }
.w-55 { width: 55%; }
.w-60 { width: 60%; }
.w-65 { width: 65%; }
.w-70 { width: 70%; }
.w-75 { width: 75%; }
.w-80 { width: 80%; }
.w-85 { width: 85%; }
.w-90 { width: 90%; }
.w-95 { width: 95%; }
.w-100 { width: 100%; }

.w-33 { width: 33%; }
.w-66 { width: 66%; }

.w-38 { width: 38%; }
.w-62 { width: 62%; }

/* Images
------------------------------ */


.content img.null-image { padding: 0!important; border: none!important; margin: 0!important; }
img.f-left { margin-right: 1em; }
img.f-right { margin-left: 1em; }

/* Content Form
------------------------------ */

.content form { padding: .5em 0; }
.content fieldset { margin-bottom: 1em; border: none; }
.content legend { margin-top: -1px; padding-bottom: 1em; font-size: 1.1em; font-weight: bold; }

.content .f-row { overflow: hidden; margin-bottom: .5em; }
.content label { float: left; text-align: right; width: 25.99%; padding: 0 2%; }
.content .f-inputs { padding-left: 30%; }

.f-actions { padding-top: 1em; border-top: 1px solid #ccc; }

/* Inputs
------------------------------ */

input { vertical-align: middle }
.i-checkbox { margin-top: 3px; }
.i-text { width: 200px; padding: 1px; font: 1em sans-serif; }
.button { padding: 0 .25em; width: auto; overflow: visible; cursor: pointer; }


