*{margin:0;padding:0}
body{font-family:'Trebuchet MS',Helvetica,sans-serif;background:#DADADA url(../images/main-bg.png) repeat-x left top;position:relative}
body.mainpage{background:#DADADA url(../images/main-bg2.png) repeat-x left top}
table{border-collapse:collapse}
q{quotes:none}
a{color:#4F829E}
a:hover{text-decoration:none}
a img{border:none}

#wrap{min-width:1002px}

#header{height:440px;position:relative;background:url(../images/header-bg.jpg) no-repeat left top}
.mainpage #header{height:680px;background:url(../images/header-bg2.jpg) no-repeat left top}
    #header h1{font-size:0.75em;text-transform:uppercase;color:#8EB3C2;position:absolute;left:55px;top:105px}
    .mainpage #header h1{top:345px}
    #header .logo{position:absolute;left:568px;top:140px}
    .mainpage #header .logo{left:468px;top:380px}
    #header ul{list-style-type:none;font-size:0.8em;position:absolute;left:55px;top:58px;line-height:150%}
        #header ul li.current{font-weight:bold}
            #header ul li a{color:#fff}
    #header address{font-size:0.7em;color:#fff;position:absolute;left:70px;top:190px;width:190px;font-style:normal;line-height:130%}
    .mainpage #header address{top:430px}
        #header address big{font-size:1.4em;display:block;font-style:italic;padding:10px 0 0 0}
        #header address span{font-size:1.4em;display:block;font-style:italic;padding:10px 0 0 0}
    #header .footnote{width:30%;height:202px;background:url(../images/footnote-bg.png) repeat-x left top;position:absolute;right:55px;top:58px;color:#fff}
    #header .add-footnote{right:42%}
        #header .footnote div{background:url(../images/footnote-lbg.png) no-repeat left top}
        #header .footnote div div{background:url(../images/footnote-rbg.png) no-repeat right top;padding:10px 15px 35px 15px;height:157px}
        #header .footnote h2{font-size:1.1em;font-style:italic; margin-bottom:10px}
        #header .footnote h2 a{color:#fff; text-decoration:underline;}
        #header .footnote h2 a:hover{text-decoration:none;}
        #header .footnote p{font-size:0.75em}

#aside{width:285px;padding:0 0 50px 55px;float:left}
    #aside h2{font-size:1.1em;font-style:italic;text-decoration:underline;margin-bottom:10px;color:#5787A1}
    #aside h3{font-size:1em;font-style:italic;text-decoration:underline;margin-bottom:10px;color:#5787A1}
    #aside p{font-size:0.8em;margin-bottom:10px}
    #aside ul{font-size:0.8em;margin-bottom:30px;list-style-type:none;height:1%}
        #aside ul li{margin-bottom:5px; color:#4F829E}
        #aside ul li.current, #aside ul li.current li.current{font-weight:bold}
        #aside ul li.current li{font-weight:normal}
        #aside ul ul{font-size:0.9em;padding:10px 0 5px 15px;margin:0}
    #aside .search{height:33px;background:url(../images/search-bg.gif) no-repeat left top;padding:11px 0 0 65px;margin-bottom:20px}
        #aside .search .input-text{width:106px;float:left;font:0.75em Arial,Helvetica,sans-serif;padding:2px 4px;margin:0 15px 0 0}
        #aside .search .input-button{float:left;font:0.75em Arial,Helvetica,sans-serif;padding:0 5px;overflow:visible;cursor:pointer}
    
    #aside .aside-block{background:#99B8C9 url(../images/aside-block-tbg.png) no-repeat left top; margin-bottom:20px; color:#fff}
    #aside .aside-block-entry{background:url(../images/aside-block-bbg.png) no-repeat left bottom;padding:45px 15px 10px 15px}
        #aside .module-block h2{color:#fff}
        #aside .module-block h3{color:#fff}
        #aside .module-block p{font-size:0.75em;}
        #aside .module-block .date{display:block;font-style:italic;line-height:100%}
        #aside .module-block a{color:#fff}
        
        
    #aside .news{color:#fff}
        #aside .news h2{color:#fff}
        #aside .news h3{color:#fff}
        #aside .news p{font-size:0.75em}
        #aside .news .date{display:block;font-style:italic;line-height:100%}
        #aside .news a{color:#fff}
        
        


#content{overflow:hidden; height:1%;padding:0 55px 50px 85px;}
    #content h2{font-size:1.1em;font-style:italic;text-decoration:underline;margin-bottom:20px;color:#5787A1}
    
    #content h3{font-size:0.75em; font-weight:normal; color:#4F829E}

    #content p{font-size:0.75em;margin-bottom:10px;line-height:120%}
    #content ul{font-size:0.75em;margin-bottom:10px;list-style-type:none;height:1%}
    #content ol{font-size:0.75em;margin-bottom:10px;height:1%;padding:0 0 0 25px}
    #content dl{font-size:0.75em;margin-bottom:20px;list-style-type:none;height:1%}
        #content dl dd{padding:0 0 0 10px}
    #content address{font-size:0.75em;margin-bottom:10px;font-style:normal}
        #content address .phones{display:block;font-style:italic;font-size:1.2em;color:#5787A1}
    #content .contacts div{margin-bottom:80px}
    #content .column{width:48%;float:left}
    #content .column h2{text-decoration:none;}
    #content .column h2 a{text-decoration:underline;}
    #content .column h2 a:hover{text-decoration:none;}
    
    
    #content .last-column{float:right}
    #content .content-block-top{background:url(../images/content-tlc.gif) no-repeat left top;font-size:0}
        #content .content-block-top div{background:url(../images/content-trc.gif) no-repeat right top;padding:0 16px}
            #content .content-block-top div div{background:#C7C7C7;height:16px}
    #content .content-block-bottom{background:url(../images/content-blc.gif) no-repeat left top;font-size:0;margin-bottom:40px}
        #content .content-block-bottom div{background:url(../images/content-brc.gif) no-repeat right top;padding:0 16px}
            #content .content-block-bottom div div{background:#C7C7C7;height:16px}
    #content .content-block{background:#C7C7C7;padding:0 15px;overflow:hidden;height:1%}
    #content .photo{background:url(../images/photo-bg.gif) no-repeat left top;width:145px;height:113px;display:block;text-align:center;padding:10px 0 0 0}
    #content .no-photo{background:url(../images/nophoto-bg.gif) no-repeat left top}
    #content .catalog .photo{float:right;margin:0 0 0 10px}
    #content .catalog h3{margin-bottom:10px}
    #content .news .date{font-style:italic;margin:0;color:#58809C}



#footer{background:url(../images/footer-bg.gif) repeat-x left top;clear:both;padding:15px 20px 25px 20px;text-align:center;position:relative;height:1%}
    #footer ul{font-size:0.75em;list-style-type:none}
    #footer p{font-size:0.75em;color:#5787A1;text-decoration:underline}
    #footer .nav{margin-bottom:40px;line-height:100%}
        #footer .nav li{display:inline;border-right:1px solid #bbb;padding:0 5px}
        #footer .nav li.last{border:none}
            #footer .nav li a{color:#bbb}
    #footer .banners{position:absolute;right:50px;bottom:15px}
        #footer .banners li{float:left;margin:0 0 0 30px}
        
/* ENGINE STYLE */

.clearfix:after, .container:after {content:"\0020";display:block;height:0;clear:both;visibility:hidden;overflow:hidden;}
.clearfix, .container {display:block;}
.clear {clear:both;}

#ajax{position: absolute; width:100%; top:0;left:0;}

dl {margin:0 0 1.5em 0;}
dl dt {}
dd {margin-left:1.5em;}


.input-text, .xprofile input, .xfields input , .textin{width:300px; text-align:left; border:1px solid #AFAFAF;  background:#F4F4F4; padding:2px 4px; margin:0 15px 0 0;}
.input-textarea {width:458px;  height:170px; text-align:left; border:1px solid #AFAFAF; background:#F4F4F4; padding:2px 4px; margin:0 15px 0 0;}
.poll,.input-textarea{ width:458px;}
.xfields textarea , .xprofile textarea{width:458px; text-align:left; height:170px; border:1px solid #AFAFAF; background:#F4F4F4; padding:2px 4px; margin:0 15px 0 0;}

#content .error-title{font-size:1.1em; font-style:italic; text-decoration:underline;margin-bottom:20px; color:#990000;}
#content .error-body{font-size:0.9em; margin-bottom:20px;}


/* ==================== Комментарии */

.comment{margin:0 0 30px 0;}
    .comment-head {padding:0 0 5px 0;}
        .right { float:right; }
    .line{height:2px; font-size:0; background:#ccc; margin:25px 0; }
    .comment-content {overflow:hidden;padding:15px 0;}
        .author-info {float:left; width:110px; padding:0 6px;}
        .comment-body {display:table; padding:0 6px;}
            .quote {margin:5px 0 0 0; background:#DBDBDB; border:1px dotted #999;}
            
            
/* ==================== Цитата и скрытый текст */

.title_quote {color: #636363; background-color: #f2f2f2; border: 1px dotted #bebebe; border-bottom: 0; font-weight: bold; padding: 5px;}
.quote {color: #757575; background-color: #f2f2f2; border: 1px dotted #bebebe; text-align: justify; padding: 5px;}

/* ==================== Тег SPOILER */
.title_spoiler {color: #636363; background-color: #f2f2f2; border: 1px dotted #bebebe; font-weight: bold; padding: 5px;}
.text_spoiler { color: #757575; background-color: #f2f2f2; border: 1px dotted #bebebe;  border-top: 0; text-align: justify; padding: 5px;}

/* ==================== Tэг CODE */
.scriptcode { color: #757575; background-color: #f2f2f2; border: 1px dotted #bebebe; text-align: left; padding: 5px;}


.vote{font-size:0.8em;}


/* класс bbcodes_poll используем в poll.tpl, vote.tpl, addnews.tpl */




.bbcodes_poll {}
.editor_button { float: left; cursor: pointer; padding-left: 2px; padding-right: 2px;}
.editor_buttoncl {float: left; cursor: pointer; padding-left: 1px; padding-right: 1px; border-left: 1px solid #bbbbbb;border-right: 1px solid #bbb;}
.editbclose { float: right; cursor: pointer;}
.editor_button select {font-family: tahoma; font-size: 11px;}
.editor_button img {margin: 0; padding: 0;}
.editbclose img {margin: 0; padding: 0;}
.editor_button_brk img {margin: 0; padding: 0;}

/* ==================== Выпадающее меню */
#dropmenudiv {border: 1px solid #ffffff; border-bottom-width: 0; font: normal 10px Verdana; background-color: #6497ca; line-height: 20px; margin: 2px;}
#dropmenudiv a { display: block; text-indent: 3px; text-decoration:none; color: #ffffff; background:#6497ca; border: 1px solid #ffffff; padding: 1px 0; margin: 1px;font-weight: bold;}
#dropmenudiv a:hover {background:#fdd08b;color:#000000;}

/* ==================== Уведомление о получении новых PM */
#newpm { position: absolute; width: 400px; padding: 4px; background-color: #fdfdfd; border: 1px solid #bbbbbb; font-family: verdana;line-height: 135%;}
#newpmheader {padding-left: 5px; padding-right: 5px; padding-top: 2px; height: 20px; color: #636363; font-weight: bold;background-color: #b2c7f1;font-family: verdana;cursor: move;}
#newpm a {background: transparent;color: #4b73d4;text-decoration: none;}
#newpm a:hover {background: transparent; color: #4b73d4; text-decoration: underline;}

/* ==================== Ссылка на скачивание прикрепленного файла */
.attachment { }

/* ==================== Поиск по сайту и результаты поиска */
.search { vertical-align:top; border:none; }
.textin { }
.sresult {line-height:50px; height:40px; padding-bottom:10px; font-size:1em;}

.day-curre nt { background:#F9F9F9; border:1px solid #E6E6E6; }

/* ==================== Рамка расширенной формы поиска по сайту */
.searchField { padding: 0px; margin:0px 20px 10px 0px; text-align: left;  border: 1px solid #ccc; padding: 3px;font-size:0.8em; color:#333;}
    .searchField  legend {   padding: 5px; font-size:1em; color:#336699; }
    .contentField{ border:none; padding:0px 10px 10px 10px; }
    .marginRight{margin-right:0;}


/* ==================== показ оригинальной картинки загруженной на сайт из уменьшенной копии */
.highslide-wrapper, .highslide-outline {	background: #FFFFFF;}
.highslide-image { border: 2px solid #FFFFFF;}
.highslide-active-anchor { visibility: hidden;} 
.highslide-active-anchor img {visibility: hidden;}
.highslide-dimming {background: black;}
.highslide-html {background-color: white;}
.highslide-html-content {display: none;}
.highslide-loading { display: block;	color: white; font-size: 9px; font-weight: bold; text-decoration: none; padding: 3px; border: 1px solid white;  background-color: black;}
a.highslide-full-expand {background: url(../dleimages/fullexpand.gif) no-repeat; display: block; margin: 0 10px 10px 0; width: 34px; height: 34px;}
.highslide-footer { height: 11px;}
.highslide-footer .highslide-resize { float: right; height: 12px; width: 11px; background: url(../dleimages/resize.gif);}
.highslide-resize { cursor: nw-resize;}
.highslide-display-block { display: block;}
.highslide-display-none { display: none;}
.highslide-caption {display: none;padding: 5px;background: white;}
.highslide-controls { width: 195px; height: 40px; background: url(../../../engine/classes/highslide/graphics/controlbar-black-border.gif) 0 -90px no-repeat;   margin-right: 15px;margin-bottom: 10px;  margin-top: 10px;}
.highslide-controls ul {position: relative;left: 15px; height: 40px; list-style: none; margin: 0; padding: 0; background: url(../../../engine/classes/highslide/graphics/controlbar-black-border.gif) right -90px no-repeat;}
.highslide-controls li {float: left; padding: 5px 0;}
.highslide-controls a { background: url(../../../engine/classes/highslide/graphics/controlbar-black-border.gif); display: block; float: left; height: 30px; width: 30px;outline: none;}
.highslide-controls a.disabled { cursor: default;}
.highslide-controls a span {display: none;}
.highslide-controls .highslide-previous a {background-position: 0 0;}
.highslide-controls .highslide-previous a:hover {background-position: 0 -30px;}
.highslide-controls .highslide-previous a.disabled { background-position: 0 -60px !important;}
.highslide-controls .highslide-play a { background-position: -30px 0;}
.highslide-controls .highslide-play a:hover {background-position: -30px -30px;}
.highslide-controls .highslide-play a.disabled {background-position: -30px -60px !important;}
.highslide-controls .highslide-pause a { background-position: -60px 0;}
.highslide-controls .highslide-pause a:hover { background-position: -60px -30px;}
.highslide-controls .highslide-next a { background-position: -90px 0;}
.highslide-controls .highslide-next a:hover { background-position: -90px -30px;}
.highslide-controls .highslide-next a.disabled { background-position: -90px -60px !important;}
.highslide-controls .highslide-move a { background-position: -120px 0;}
.highslide-controls .highslide-move a:hover { background-position: -120px -30px;}
.highslide-controls .highslide-full-expand a {background-position: -150px 0;}
.highslide-controls .highslide-full-expand a:hover { background-position: -150px -30px;}
.highslide-controls .highslide-full-expand a.disabled { background-position: -150px -60px !important;}
.highslide-controls .highslide-close a { background-position: -180px 0;}
.highslide-controls .highslide-close a:hover { background-position: -180px -30px;}

/* ==================== Облако тегов */
.clouds_xsmall {font-size: x-small;}
.clouds_small   {font-size: small;}
.clouds_medium {font-size: medium;}
.clouds_large    { font-size: large;}
.clouds_xlarge {font-size: x-large;}

/* ==================== Рейтинг */
.rating {color: #666666; font-size: 0.8em; width: 85px; height: 16px; text-align:center;}
    .unit-rating{list-style:none; margin: 0; padding:0 !important; width: 85px; height: 16px; position: relative;font-size:0; background: url('../dleimages/rating.gif') top left repeat-x; }
    .unit-rating li{text-indent: -90000px;padding:0px; margin:0px;float: left;}
    .unit-rating li a{display:block; width:17px; height: 16px; text-decoration: none; text-indent: -9000px;z-index: 17; position: absolute; padding: 0px; }
    .unit-rating li a:hover{ background: url('../dleimages/rating.gif') left center; z-index: 2; left: 0px; }
    .unit-rating a.r1-unit{left: 0px;} .unit-rating a.r1-unit:hover{width:17px;} .unit-rating a.r2-unit{left:17px;}
    .unit-rating a.r2-unit:hover{width: 34px;} .unit-rating a.r3-unit{left: 34px;} .unit-rating a.r3-unit:hover{width: 51px;}
    .unit-rating a.r4-unit{left: 51px;} .unit-rating a.r4-unit:hover{width: 68px;} .unit-rating a.r5-unit{left: 68px;}
    .unit-rating a.r5-unit:hover{width: 85px;}
    .unit-rating li.current-rating{ background: url('../dleimages/rating.gif') left bottom; margin: 0; padding:0;position: absolute; height: 16px; display: block; text-indent: -9000px; z-index: 1;}
    
    
    
