/* Reset
- - - - - - - - - -- - - - -- - - - -- - - - -- - - - -- - - - -- - - - -- - - - -*/
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {
	margin:0;
	padding:0;
}
p, blockquote, ul, fieldset, form, ol, dl, dir, menu { margin: 0 0 1.12em 0;}
table {
	border-collapse:collapse;
	border-spacing:0;
}
a { outline:none; border:none;}
fieldset,img { border:0; }
address,caption,code,dfn,th {
	font-style:normal;
	font-weight:normal;
}
i,cite,em,var,address { font-style: italic }
ol,ul { margin-left: 40px; }
ol ul, ul ol, ul ul, ol ol    { margin-top: 0; margin-bottom: 0 }
ol  { list-style-type: decimal }
caption,th { text-align:left; }
q:before,q:after { content:''; }
abbr,acronym { border:0; }

h1,h2,h3,h4,h5,h6  { font-weight: normal; }
strong,b  { font-weight: 700; }
h1 {font-size: 2.5em;margin: 0 0 .4em 0; padding:0 0 .2em;border-bottom:2px dashed #999;}
h2 { font-size: 2em; margin: .75em 0 .5em; }
h3 { font-size: 1.5em; font-style:italic; margin: .83em 0 .5em; padding:0 0 .2em .5em; border-bottom:1px #999 solid; color:#333; clear:both;}
h4 { font-size: 1em; margin: 1.12em 0 .5em; }
h5 { font-size: .83em; margin: 1.5em 0 .5em; }
h6 { font-size: .75em; margin: 1.67em 0 .5em; }

.clear { clear: both; }

html { height: 100%; }
body { /*height: 100%; */padding:20px; }

/* Main
- - - - - - - - - -- - - - -- - - - -- - - - -- - - - -- - - - -- - - - -- - - - -*/
#wrap {
    margin: 0 auto;
    background: url('/assets/images/bg_gray.png') gray;
    /*padding: 115px 271px 100px 55px;*/
    position: relative;
   /* min-height: 600px;*/
	min-width:900px;
	max-width:1440px;
	padding:0 55px 10px 55px;}

    #main-nav {
        display: block;
        position: absolute;
        list-style: none;
        top: 70px;
        left: 312px;
    }
        ul#main-nav li {
            display: block;
            float: left;
            margin-left: 15px;
        }
            ul#main-nav li a {
                text-decoration: none;
                color: #fff;
                font: italic 700 20px "Times New Roman", Times, serif;
				border-bottom:1px #FFF dashed;
				display:block;
            }
			ul#main-nav li.active a {
				border-bottom:1px #FFF solid;
				display:block;
            }
			ul#main-nav li a:hover {
                text-decoration: none;
                border-bottom:1px #FFF solid; 
            }
			ul#main-nav li span {
                text-decoration: none;
                color: #fff;
                font: italic 700 20px "Times New Roman", Times, serif;
				border-bottom:2px #FFF solid; 
				display:block;
            }
			ul#main-nav li.last { margin:7px 0 0 150px;}
			ul#main-nav li.last a {font-size:12px; color:#E4E4E4;border-bottom:1px #E4E4E4 dashed;}
			ul#main-nav li.last span {font-size:12px; color:#E4E4E4;border-bottom:2px #E4E4E4 solid; }

    a#star {
        position: absolute;
        bottom: -80px;
        right: -40px;
        background-image: url('/assets/images/anim.gif');
        width: 153px;
        height: 146px;
		z-index:3;
    }

    #wrap > .border { position: absolute; }
    #wrap > .bottom.border, #wrap > .top.border{
        width: 100%;
        height: 14px;
        left: 0;
        background-image: url('/assets/images/main_border.png');
    }
    #wrap > .bottom.border { bottom: 0; }
    #wrap > .top.border { top: 0; }
    #wrap > .left.border, #wrap > .right.border {
        height: 100%;
        top: 0;
        width: 14px;
        background-image: url('/assets/images/main_border1.png');
    }
    #wrap > .left.border { left: 0; }
    #wrap > .right.border { right: 0; }

    #wrap #logo {
        position: absolute;
        width: 175px;
        height: 77px;
        background: url('/assets/images/logo.png');
        top: 25px;
        left: 70px;
    }

    #content-bg {
        position: relative;
		float:left;
        background-color: #FFF;
        margin: 115px 0 50px 0;
		width:100%;
		min-height: 400px;
    }
        #content-bg > .border { position: absolute; z-index:1;}
        #content-bg > .bottom.border, #content-bg > .top.border {
            width: 100%;
            left: 0;
            height: 2px;
        }
        #content-bg > .bottom.border { bottom: -2px; background-image: url('/assets/images/small_border_bottom.png'); }
        #content-bg > .top.border { top: -2px; background-image: url('/assets/images/small_border_top.png'); }
        #content-bg > .left.border, #content-bg > .right.border {
            height: 100%;
            top: 0;
            width: 2px;
        }
        #content-bg > .left.border { left: -2px; background-image: url('/assets/images/small_border_left.png'); }
        #content-bg > .right.border { right: -2px; background-image: url('/assets/images/small_border_right.png'); }

    #content {
		/*position:relative;*/
        padding: 15px 25px;
        font: normal 14px "Georgia", "Times New Roman", "Times", serif;
		margin:0 220px 0 0;
		float:left;
		width: auto;

    }
	 	#content .allmaincontent{}
	#content li{ margin-bottom:5px;}
	#content .prtable { margin-bottom:10px;}
	#content .prtable td { border-bottom:1px #999 solid; padding:3px 5px;}
	#content .prtable th { border-bottom:2px #999 solid; padding:3px 5px; font-weight:bold;}
	#content .prtable tr.grey td { background:#e6e6e6;}

    #right-block {
        position: absolute;
		/*float:left;*/
        width: 216px;
	    top: -3px;
        right: 0;
        height: 100.4%;
		background:#FFF;
		z-index:2;
    }
        #right-block > .col {
            width: 54px;
            height: 100%;
            float: left;
            position: relative;
        }
            #right-block > .col > .blck {
                border: 1px dashed #fff;
                position: absolute;
                left: 0;
                right: 0;
            }
                #right-block > .col > .blck > .tbg {
                    position: absolute;
                    top: 0;
                    width: 100%;
                    height: 50px;
                    background-repeat: no-repeat;
                    background-image: url('/assets/images/top_bg.png');
                }
                #right-block > .col > .blck > a {
                    position: absolute;
                    height: 346px;
                    background: transparent no-repeat center 15px;
                    width: 52px;
                    border: none;
                }

            #right-block > .col > .top {
                top: -113px;
                height: 113px;
                display: none;
				border-top: none;
            }

            #right-block > .col > .main {
                /*bottom: 120px;*/
				height:100%;
                /*top: 113px;*/
            }

            #right-block > .col.active > .top { display: block; }

            #right-block > #col_1 > .blck { background-image: url('/assets/images/bg_blue.png'); }
            #right-block > #col_2 > .blck { background-image: url('/assets/images/bg_dark_blue.png'); }
            #right-block > #col_3 > .blck { background-image: url('/assets/images/bg_brown.png'); }
            #right-block > #col_4 > .blck { background-image: url('/assets/images/bg_cyan.png'); }
    #contacts {
		position:relative;
        font: italic 20px "Georgia", "Times New Roman", "Times", serif;
		width:470px;
		float:left;
        color: #fff;
    }
#footer{
    font-size: 9px;
    /*margin-top: 40px;*/
	padding-bottom:30px;
	position:relative;
	clear:both;
	
}
#footer .footright{ position:relative;text-align:right; right:200px;}
    #footer a{
        color: #aaa;
    }

/* для Oper-ы */
@media all and (-webkit-min-device-pixel-ratio:10000),
not all and (-webkit-min-device-pixel-ratio:0) {
   /* #right-block > .col > .main{
        height: 65%;
    }*/
}