/*	CSS-Framework

	Version		: 0.21
	File name	: cssf-base.css
	Description	: Styles for webdewelopers
	Author		: Aleksej Romanovskij (http://css-framework.ru)
	
------------------------------ */

/* Utilites
------------------------------ */

* { margin: 0; padding: 0; }

*:focus { outline: none; }
.hidden { display: none; }
.show { display: block!important; }
.no-margin { margin: 0!important; }
.no-padding { padding: 0!important; }
.no-bg { background: none!important; }
.no-border, img { border: none!important; }

.png{ filter:expression(png(this));}

.container { overflow: hidden; }
.img-repl { text-indent: -9999px; overflow: hidden; display: block; }

/* Main custom rules
------------------------------ */

html { background: #ffffff; font: .85em/1.4 Arial, Verdana, Helvetica, sans-serif; }
body { padding: 0; }

a { color: #0066cc; }
a:visited {  }
a:hover {  }
a:active {  }

/* Demo Template
------------------------------ */

#site { width: 100%; margin: 0 auto; padding: 0; background: #fff; border: 0; min-width:1000px; text-align:left; }
#header {}
#wrapper {
    position: absolute;
    width: 100%;
	height: 675px;
    margin-left:0;
    min-height: 675px; 
	background-color:#f6eccf; 
	background: url("../img/bg_sky.jpg") repeat-x;
	/*assets/templates/kazan/*/
}

#wrapper2 {
	background: url("../img/home.jpg") repeat-x;
	/*assets/templates/kazan/*/
}

#content-m { position: absolute; margin-top:-195px; width:1000px;  }
#col-left { 
			float: left; 
			width: 150px; 
			min-height:200px;
			margin: 570px 20px 20px 0; 
			padding:20px; 
}
#content { width: 65%; float: right; margin: 600px 40px 20px 0; }
#footer { clear: both; padding-top: 1em;  background: url("/assets/templates/drev/img/bg_footer.jpg") repeat-x; height:50px; overflow: hidden;}

/* Horizontal Menu
------------------------------ */
.menu { list-style: none; }

.menu-h { overflow: hidden;}
.menu-h li { float: left; list-style: none; padding: 0 .8em; }

.menu-h-t { overflow: hidden;}
.menu-h-t li { float: right; list-style: none; padding: 0 .8em; }


/* 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 a, .menu-h a { text-decoration: none; display: block; }
.menu-v a:hover, .menu-h a:hover { text-decoration: underline; }

.menu-v { margin:5px; }
.menu-v li { padding: 0; list-style: none;  }
.menu-v li ul { padding-left: 1em; margin-top: 2px;  }
.menu-v li li { border: none; list-style-image: url("/assets/templates/drev/img/bullet.gif");}
.menu-v h1 { margin:0; font-size: 1.2em; color: #333333;}
.menu-v span { color: #1b557e; 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%; }

/* Content elements
------------------------------ */

h1, .content h2, .content h3, .content h4 { font: 1.9em  Arial, Verdana, Helvetica, sans-serif; margin-bottom: .5em;  }

h1 { color: #1b557e; }
	
.content h2 { font-size: 1.5em; }
.content h3 { font-size: 1.3em; }
.content h4 { font-size: 1.1em; font-weight: bold; }

blockquote { margin-left: 10em; padding-left: 1em; border-left: 2px solid #ccc; }
pre, code { font: 1.2em/1.8 "Courier New", Courier, monospace; border: 1px dashed #aaa; padding: 1em; background: #eee; }
code { padding: .2em .5em; }

.content ul, .content ol { margin-left: 3em; line-height: 1.3em; }
.content ul li, .content ol li { margin-bottom: .2em; }

.icons a, .icon { padding-left: 20px; background-repeat: no-repeat; background-position: left center; }

.content p, .content ul, .content ol, .content table, blockquote, pre, .columns, .content img { margin-bottom:0; padding:0; }

/* 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 { width: 100%; overflow: hidden; }
.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; overflow: hidden; }

.col-content { padding: 0 6px 0 220px; margin: 600px 40px 20px 0; }
.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 { padding: 5px; border: 0 !important; margin-top: .4em; }
.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: 0 1px; font: 1em sans-serif; }
.button { padding: 0 .25em; width: auto; overflow: visible; cursor: pointer; }

/* Additional
------------------------------ */

#topimg {
    position: absolute;
	margin-top: 100px;
    margin-left: -10%;
	z-index:0;
}

#topimg1 {
    position: absolute;
	margin-top: 200px;
    margin-left: 10px;
	z-index:100;
}

#topimg2 {
    text-align: right;
    position: absolute;
    width: 100%;
	margin-top:265px;
	margin-left: -40px;
}

#topimg3 {
    position: absolute;
    width: 100%;
	margin-left: -15%;
	margin-top: 290px;
	z-index: 10;
}

#topimg4 {
    position: absolute;
    margin-left: 31%;
	margin-top: 0px;

}

#topimg5 {
    text-align: right;
    position: absolute;
    width: 100%;
	margin-top: 43px;
	margin-left: -50px;
	z-index: 12;
	/*border:1px #FF0000 solid;*/
}

#toper {
	position: absolute;
	text-align:right;
	width:100%;
	margin-right:100px;
	margin-top: 50px;
}

.pdf {
	padding-left:23px;
	padding-bottom:5px;
	background:transparent url(../img/icon_pdf.gif) no-repeat 0 0;
}

.abs{position:absolute;}
.r1{padding:0 0 18px 0;float:left;width:100%;}
* html .r1{padding:0;}

.r1 .rtop{height:30px;background:url("/assets/templates/drev/img/rh.jpg") top repeat-x;}
.r1 .rtop .rtopleft{float:left;height:30px;background:url("/assets/templates/drev/img/rtopbgleftact.gif") no-repeat;}
.r1 .rtop .rtopleft h2{font-weight:normal;font-size:120%;padding:5px 0 0 11px;}

.r1 .rtopright{width:9px;height:30px;float:right;background:url("/assets/templates/drev/img/rtopbgrightact.gif") no-repeat;}
.r1 .rcenter{border-right:1px solid #f0e9e2;border-left:1px solid #f0e9e2;padding-right:15px;}
.r1 .rcenter .imgr{padding:0 15px 0 10px;float:left;}
.r1 .rcenter .rtxt{padding:16px 10px 10px 10px;}
.r1 .rcenter .rtxt .rtxtleft{float:left;}
.r1 .rcenter .rtxt .rtxtright{float:right;}
.r1 .rbottom{height:9px;background:url("/assets/templates/drev/img/ruBbg.gif") repeat-x;}

.r1 .rbottom .rbottomleft{float:left; height:9px; width:9px; background:url("/assets/templates/drev/img/ruBL.gif") no-repeat;}
.r1 .rbottom .rbottomright{float:right; height:9px; width:9px; background:url("/assets/templates/drev/img/ruBR.gif") no-repeat;}
.r1 .clear{font-size:0 !important;}

.rtxt a span{font-size:80%;text-decoration:none !important;}
.rtxt a{text-decoration:none;}
.rtxt a:hover{text-decoration:underline;}
.rtxt a:hover span{text-decoration:none !important;}
.rtxt p{font-size:85%; padding:0;}

/* Top buttons
------------------------------ */
a.button, span.button, del.button{
	
	display:-moz-inline-box;
	display:inline-block;
	cursor:pointer;
	border:none;
    font-size:0;
    line-height:0;
    
	/*
	for Safari, read this first
	http://creativebits.org/webdev/safari_background_repeat_bug_fix
	*/
	background-position:0 0;
	background-repeat:no-repeat;
	height:40px;
	text-decoration:none;
	/*color:#2e523b;*/
	font-style:normal;
	margin:0 6px 0px 0;
	padding:0 10px 0 0;	
	vertical-align:middle;	
	
    padding-top:-2px;
	_position:relative;
	_width:10px;	
	_overflow-y:hidden;
}



a.button, span.button, del.button,
a.button span, span.button button, span.button input, del.button span{
    background-image:url("../img/form_buttons.png");
    _background-image:url("../img/form_buttons.gif");
}


a.button span, span.button button, span.button input, del.button span{
	
	white-space:nowrap;
	cursor:pointer;
    /*color:#222;*/
	display:-moz-inline-box;
	display:inline-block;
	line-height:1;
    letter-spacing:0 !important;
    font-family:"Arial" !important;
    font-size:14px !important;
    font-style:normal;    
    background-color:transparent;
	background-position:100% 0;
	background-repeat:no-repeat;
	height:40px;
	padding:12px 20px 0 10px;
	margin:0 -16px 0 10px;
	border:none;
	vertical-align:text-top;
	zoom:1;
	_position:relative;
    _padding-left:0px;
	_padding-right:12px;
	_margin-right:-10px;	
	_display:block;
	_top:0;
	_right:-5px;
	
}


span.button button{
   line-height:2.5;/*Opera need this*/
}

html.safari a.button span, 
html.safari del.button span{
  line-height:1.3;
}

html.safari span.button button{
  line-height:2.6;
}

html.safari a.button:focus,
html.safari span.button button:focus{
    outline:none;
}



del.button{
	/* cursor:not-allowed;	*/
	background-position:0 -120px;
	
}

del.button span{
	cursor:default;
    color:#649800 !important;
	background-position:100% -120px;
	text-decoration:none !important;
}


span.button button, span.button input{
	padding-top:0px;
	line-height:2.5;/*Opera need this*/
}


/** optional **/
/*
a.button:visited{
	color:#aaa;
}
*/


/*Hover Style*/

a.button:hover, 
span.button:hover,
a.button:focus, 

a.dom-button-focus, 
span.button-behavior-hover{
	background-position:0 -60px;
	color:#fff;
	text-decoration:none;
}





a.button:hover span, 
span.button:hover button, 
a.button:focus span, 

span.button-behavior-hover button, 
span.button-behavior-hover input{
	background-position:100% -60px;
}


a.button:active, a.button:focus span{
	color:#444;
}




del.button-behavior-hover, del.button:hover {
	background-position:0 -180px;
	/* cursor:not-allowed; */
}


del.button-behavior-hover span, del.button:hover span {
	background-position:100% -180px;
	/* cursor:not-allowed; */
	
}



img.list_image {
	border:3px solid #cedbad;
	padding:14px;	
}


