/* Universal */

body {
    margin:     0;
    padding:    0;
    font-family:	Tahoma,Verdana,FreeSet,Frutiger,sans-serif;
}

/* Headers */

h1, h2, h3 {
    color:		#300;
    position:	relative;
    left:		-40px;
}

h1 {
    font-size:	120%;
}

h2 {
    font-size:	110%;
}

h3 {
    font-size:	100%;
}

th h1, th h2, th h3 {
    left:   0;
}

/* Links */

a {
    color:  #C00;
}

a:visited {
    color:  #900;
}

a:active {
color:  #F90;
}

a:hover, a:focus {
    color:  #C60;
}


a img, a:link img, a:visited img {
border:         none;
text-decoration:none;
}

.r {
    text-align: right;
}

em {
    color:  #c60;
}

/* Lists */
ul {
    list-style-image:url(/pic/sq.gif);
}

/* Tables */
.tb {
    border-collapse:	collapse;
}

.tb th {
    background:	#fed;
}

.tb td, .tb th {
    border:	1px solid #fa8;
    padding:	1px 5px 2px;
}

.dis, .dis td {
    color: #933;
    text-decoration: line-through;
}

.dis td:last-child {
    text-decoration: none;
}

.old {
    color:  #666;
}

.old .tb td, .old .tb th {
    color:  #666;
    border-color:	#fba;
}

.old .tb th {
    background:	#fff8f0;
}

.old h1, .old h2, .old h3 {
    color:  #966;
}


/* Media specific */

@media screen {
    #ti0 {
    color:		#fed;
    background:	#cb3c1b url(/pic/ti0.png);
    font-size:	80%;
    font-weight:	bold;
    height:	72px;
    text-align:	right;
    padding:	0px 5px 8px 0px;
    }

    #ti0 p
    {
    margin:	0px;
    padding:	32px 0px 0px;
    line-height:	200%;
    }

    #ti0 a:link
    {
    color:		#fed;
    text-decoration:	none;
    }

    #ti0 a:visited
    {
    color:		#fec;
    text-decoration:	none;
    }

    #ti0 a:hover, #ti0 a:focus
    {
    color:		#fff;
    text-decoration:	underline;
    }

    #ti1
    {
    width:		204px;
    height:	64px;
    border:	none;
    float:		left;
    }



    /* ����� ��� ����� ���⨭�� */
    .lpic, .i1
    {
    float:		left;
    position:	relative;
    left:	-90px;
    margin-right:	-80px;
    }

    /* ����䮫��/������� */
    .iban
    {
    margin:	7px 10px 10px 0px;
    border:	none;
    }

    a .iban
    {
    border:	none;
    }


    /* �᭮���� ⥪�� */
    .text
    {
    padding:	5px 10px 5px 100px;
    background:	white;
    color:		black;
    }

    /* ���᪨ */
    dt
    {
    font-weight:	bold;
    position:	relative;
    left:		-20px;
    margin:	1em 10em 2px 0px;
    }

    dd
    {
    margin-left:	0;
    }


    hr
    {
    border-top:	2px solid #930;
    border-bottom:	0px;
    border-left:	0px;
    border-right:	0px;
    }

    acronym
    {
    border-bottom:	1px dashed green;
    cursor:	help;
    }

    .news
    {
    float:		right;
    width:		200px;
    border-left:	solid 1px #fa8;
    font-size:	80%;
    padding:	0px 5px 0px 25px;
    }

    .news h2
    {
    font-size:	100%;
    left:		-20px;
    }

    .news h3
    {
    font-size:	90%;
    left:		-10px;
    }

    dd address
    {
    display:	block;
    font-size:	75%;
    color:		#999;
    padding-left:	2em;
    }

    dd address a:link, dd address a:visited
    {
    color:		#b39a80;
    }

    blockquote
    {
    border-left:	#e40 solid 2px;
    padding:	10px;
    background-color:	#ffefea;
    }

    #nav, #nav li {
        margin: 0;
        padding: 0;
        display: none;
        list-style: none;
    }
    #nav li {
       padding: 0 5px;
    }
    #nav a {
/*         display: block; */
        width: 16px;
        text-indent: 9999em;
        background: #009 url(/pic/nav/all.png) no-repeat;
    }
    #nav a#navhome {
        background-position: -48px 0;
    }
    #nav a#navmail {
        background-position: -32px 0;
    }
    #nav a#navsearch {
        background-position: -16px 0;
    }
/*    #nav a#navsitemap {
        background-position: 0 0;
    }*/

}

@media print {
    body {
        font-family:	"Garamond Narrow",Garamond,Georgia,serif;
    }

    h1, h2, h3, h4 {
    font-family:	FreeSet,Frutiger,Verdana,Tahoma,sans-serif;
    left:		-6pt;
    }

    #ti0,  #noprn, form {
        display:	none;
        visibility:	hidden;
    }

    /* Класс для левых картинок */ 
    .lpic
    {
    left:		-10px;
    margin-right:	-10px;
    }

    /* Основной текст */
    .text
    {
    padding:	5px 10px 5px 10px;
    }

    /* Списки */
    dt
    {
    left:		-10px;
    margin:	1em 10em 2px 0px;
    }

    dd
    {
    margin-left:	0px;
    }


    acronym:after
    {
    content: " (" attr(title) ")";
    font-size: 80%;
    text-decoration: none;
    border:	none;
    }


    .text a:link:after, .text a:visited:after {
    content: " [" attr(href) "]";
    font-size: 80%;
    text-decoration: none;
    }

    .text a[href^="/"]:after {
    content: " [http://shoorick.ru" attr(href) "]";
    }

    .tb td, .tb th {
        border-color:	#bbb;
        padding:	0.1em 0.5em 0.2em;
    }


}

@media handheld {
    * {
        margin-left:    0;
        padding-left:   0;
    }
}
