*{margin:0;padding:0}
html{min-width:1002px;height:100%}
body{font-family:Arial,Helvetica,sans-serif;background:#AED7E0 url(../images/main-bg.jpg) repeat-x left top;min-width:1002px;height:100%;position:relative}
body.mainpage{background:#AED7E0 url(../images/main-bg2.jpg) repeat-x left top}
body.secure{background:#AED7E0 url(../images/secure-main-bg.jpg) repeat-x left top}
table{border-collapse:collapse}
q{quotes:none}
a{color:#347B7A}
a:hover{text-decoration:none}
a img{border:none}

#wrap{min-width:1000px}

#header{height:347px;position:relative;background:url(../images/header-bg.jpg) no-repeat left top}
.mainpage #header{height:463px;background:url(../images/header-bg2.jpg) no-repeat center top}
.secure #header{background:url(../images/secure-header-bg.jpg) no-repeat left top}
    #header h1{background:url(../images/maintitle.png) no-repeat left top;width:230px;height:18px;position:absolute;left:180px;top:300px;text-indent:-9999px}
    #header #logo{position:absolute;left:90px;top:60px; display:block; width:104px;height:139px}
    #header .description{background:url(../images/sitedescription.png) no-repeat left top;width:267px;height:60px;position:absolute;left:50%;top:25px;text-indent:-9999px;margin:0 0 0 -133px}
    .secure #header .description{background:url(../images/sitedescription2.png) no-repeat left top;width:356px;height:25px;position:absolute;left:50%;top:25px;text-indent:-9999px;margin:0 0 0 -179px}
    #header address{background:url(../images/address-bg.png) no-repeat left top;width:184px;height:197px;position:absolute;right:65px;top:35px;font-size:0.75em;color:#fff;font-style:normal;padding:0 25px}
    .mainpage #header address{background:url(../images/address-bg2.png) no-repeat left top;width:184px;right:20px;top:45px;padding:0 90px 0 90px}
        #header address big{font-size:1.3em;display:block;padding:20px 0 0 0}
        #header address a{color:#fff}
    #header #partners{background:url(../images/partners-bg.jpg) no-repeat left top;width:269px;height:69px;position:absolute;right:0;bottom:0;padding:5px 0 0 30px}
    .secure #header #partners{background:url(../images/partners-bg2.jpg) no-repeat left top}
        #header #partners img{vertical-align:bottom}
        #header #partners h2{margin-bottom:8px}
        .secure #header #partners h2{margin-bottom:4px}
        #header #partners ul{list-style-type:none}
            #header #partners ul li{float:left;margin:0 30px 0 0}
            .secure #header #partners ul li{margin:0 5px 0 0}
    #header .intro{position:absolute;color:#fff;width:46%}
        #header .intro h2{font:italic 1.3em Georgia,serif;padding:0 0 0 150px;margin-bottom:20px}
            #header .intro h2 a{color:#fff}
        #header .intro p{font-size:0.75em;padding:0 0 0 150px}
    #header .photo-equipment{left:20px;top:10px;background:url(../images/photo-equipment-bg.png) no-repeat left top;height:185px;padding:30px 0 0 0}
    #header .cctv{left:20px;top:230px;background:url(../images/cctv-bg.png) no-repeat left top;height:170px;padding:45px 0 0 0}
    #header .fire-systems{right:20px;top:230px;background:url(../images/fire-systems-bg.png) no-repeat left 10px;width:49.5%;height:170px;padding:45px 0 0 0}

#content-section{background:#CEEBF1 url(../images/content-section-bg.jpg) repeat-x left top;position:relative}
.mainpage #content-section{background:#CEEBF1 url(../images/content-section-bg2.jpg) repeat-x left top}
.secure #content-section{background:#E0E0E1 url(../images/secure-content-section-bg.jpg) repeat-x left top}
#content-wrap{overflow:hidden;height:1%;background:url(../images/content-wrap-bg.png) no-repeat 447px top}
.mainpage #content-wrap{background:url(../images/content-wrap-bg2.jpg) no-repeat center top;padding:180px 0 40px 0}
.secure #content-wrap{background:url(../images/secure-content-wrap-bg.png) no-repeat 447px top}

#aside{width:244px;float:left;padding:43px 0 40px 46px;color:#3B3A3A; }
.mainpage #aside{float:right;padding:20px 100px 40px 20px;width:240px;background:url(../images/aside-bg.png) no-repeat left top}
    #aside h2{font-size:1em;font-weight:normal;margin-bottom:10px}
    #aside h3{font-size:0.9em;font-weight:normal;margin-bottom:7px}
    .mainpage #aside h2{font:italic 1.1em Georgia,serif}

    #aside p{font-size:0.75em;margin-bottom:10px;line-height:150%}
    #aside ul{font-size:0.75em;margin-bottom:10px;list-style-type:none;height:1%}
    #aside .aside-block-top{font-size:0;height:10px;background:url(../images/aside-block-tbg.png) no-repeat left top}
    .secure #aside .aside-block-top{background:url(../images/aside-block-tbg2.png) no-repeat left top}
    #aside .aside-block-bottom{font-size:0;height:10px;background:url(../images/aside-block-bbg.png) no-repeat left top;margin-bottom:15px}
    .secure #aside .aside-block-bottom{background:url(../images/aside-block-bbg2.png) no-repeat left top}
    #aside .aside-block{background:#CDDEE4;padding:5px 20px 2px 25px;height:1%}
    .secure #aside .aside-block{background:#D8D8D8}
    #aside #search .input-text{width:120px;border:1px solid #9C9C9C;padding:2px 4px;background:#fff;font:0.9em Arial,Helvetica,sans-serif}
    #aside #search .input-button{width:60px; font:1em Arial,Helvetica,sans-serif; padding:1px 0 1px 0;}
    #aside .nav{font-size:0.9em; margin:0; padding:0;}
        #aside .nav li{margin-bottom:10px; color:#255F5F;}
            #aside .nav li a{color:#255F5F}
            #aside .nav li a.current{font-weight:bold}
            
            #aside .nav .current{font-weight:bold;}
            #aside .nav .curr span{background:#FFF; display:block;}
            #aside .nav .current span a{font-weight:bold;}
            #aside .nav .current ul li{font-weight:normal;}
            
            #aside .nav li ul{margin:0; padding:10px 0 0 10px;font-size:0.9em}
    #aside .news div{margin-bottom:20px}
    #aside .news .date{margin-bottom:5px;font-size:0.7em}
        #aside .news .date span{background:#921A37;color:#fff;padding:0 2px}

#content{overflow:hidden;height:1%;padding:43px 50px 40px 20px;color:#3B3A3A}
.mainpage #content{padding:0 20px 40px 80px}
    #content h2{font-size:1em;font-weight:normal;margin-bottom:15px}
    .mainpage #content h2{font:1.6em Georgia,serif;color:#921A37}
    #content h3{font-size:0.9em;font-weight:normal;margin-bottom:10px}
    #content h4{font-size:0.75em;margin-bottom:15px;font-style:italic}
    #content p{font-size:0.75em;margin-bottom:15px;line-height:150%}
    #content ul{font-size:0.75em;margin-bottom:15px;height:1%;padding:0 0 0 15px;list-style-type:none}
    #content address{font-size:0.75em;font-style:normal}
    #content .content-block-top{font-size:0;height:8px;background:url(../images/content-block-top-lbg.png) no-repeat left top}
    .secure #content .content-block-top{background:url(../images/content-block-top-lbg2.png) no-repeat left top}
        #content .content-block-top div{background:url(../images/content-block-top-rbg.png) no-repeat right top;padding:0 7px}
        .secure #content .content-block-top div{background:url(../images/content-block-top-rbg2.png) no-repeat right top}
            #content .content-block-top div div{background:#E3EEF1;padding:0;height:8px}
            .secure #content .content-block-top div div{background:#EAEAEA}
    #content .content-block-bottom{font-size:0;height:8px;background:url(../images/content-block-bottom-lbg.png) no-repeat left top;margin-bottom:40px}
    .secure #content .content-block-bottom{background:url(../images/content-block-bottom-lbg2.png) no-repeat left top}
        #content .content-block-bottom div{background:url(../images/content-block-bottom-rbg.png) no-repeat right top;padding:0 7px}
        .secure #content .content-block-bottom div{background:url(../images/content-block-bottom-rbg2.png) no-repeat right top}
            #content .content-block-bottom div div{background:#E3EEF1;padding:0;height:8px}
            .secure #content .content-block-bottom div div{background:#EAEAEA}
    #content .content-block{background:#E3EEF1;padding:10px 20px 6px 25px;overflow:hidden;height:1%; }
    #content .content-block .post-content{font-size:0.9em;}
    
    
    .secure #content .content-block{background:#EAEAEA}
    #content .column{float:left;width:49%}
    #content .last-column{float:right}
    #content .column-block-top{font-size:0;height:18px;background:#D0E0E0 url(../images/column-block-top-lbg.gif) no-repeat left top}
        #content .column-block-top div{height:18px;background:url(../images/column-block-top-rbg.gif) no-repeat right top}
    #content .column-block-bottom{font-size:0;height:18px;background:#D0E0E0 url(../images/column-block-bottom-lbg.gif) no-repeat left top;margin-bottom:20px}
        #content .column-block-bottom div{height:18px;background:url(../images/column-block-bottom-rbg.gif) no-repeat right top}
    #content .column-block{background:#D0E0E0;padding:0 20px 2px 20px}
    #content .products{overflow:hidden;height:1%}
        #content .products h2{padding:0 0 0 25px}
        #content .products div{width:197px;margin:0 15px 0 0;background:url(../images/catalog-object-bg.png) no-repeat left top;padding:8px 0 0 0;text-align:center;display:inline-block;vertical-align:top}
            #content .products div h3{background:#fff;padding:10px 0 20px 0;margin:0}
            #content .products div p{background:#fff;padding:5px 0;margin:0}
            #content .products div p .bestsbody{display:block; clear:both; text-align:center !important; float:none !important;}
            #content .products div p img{text-align:center !important; float:none !important; padding:0; margin:0; clear:both; background:#FFF;}
            #content .products div p.description{background:url(../images/catalog-object-description-bg.png) no-repeat left bottom;text-align:left;padding:12px 20px}
            #content .products div p.description a{color:#3b3a3a;}
    
    
    #content .catalog .content-block-bottom{margin-bottom:20px}
    #content .catalog .category{font-size:0.7em;margin:0}
    #content .catalog .photo{float:right;margin:0 20px}
                            
    #content .content-block img{margin:0 15px 10px 15px;}
    #content .content-block .editor_button img{border:0; margin:0; padding:0;}
    #content .content-block .editor_button_brk img{border:0; margin:0; padding:0;}
    #content .content-block .editbclose img{border:0;}
                            
                            
    #content .catalog p{margin-bottom:20px}
    
    #content .catalog ul{list-style-type:none;padding:0;margin:0}
        #content .catalog ul li{margin-bottom:5px}
    #content .contacts .toggle{margin:0;border-bottom:1px dashed #255F5F;color:#255F5F;display:inline;cursor:pointer}
    #content .news .content-block-bottom{margin-bottom:20px}
    #content .news h3{margin-bottom:5px}
        #content .news h3 a{text-decoration:none;border-bottom:1px dashed #255F5F}
        #content .news h3 a:hover{border:none}
    #content .news .date{margin-bottom:10px;font-size:0.7em}

#footer{border-top:1px solid #fff;background:url(../images/footer-bg.gif) repeat-x left top;overflow:hidden;height:1%;padding:20px 0;position:relative}
.secure #footer{border-top:1px solid #E6F9F6;background:url(../images/footer-bg2.gif) repeat-x left top}
    #footer p{font-size:0.75em;float:right;width:280px;padding:110px 40px 0 0}
    #footer a{color:#353E65}
    #footer .tags{font-size:0.9em;text-align:center;line-height:150%;padding:0 60px;overflow:hidden;height:1%}
        #footer .tags li{display:inline;padding:0 10px}
    #footer .banners{width:320px;position:absolute;right:0;top:20px;list-style-type:none}
        #footer .banners li{float:left;margin:0 5px 0 0}
        
        
/* 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;}


ol {list-style-type:decimal;}
dl {margin:0 0 1.5em 0;}
dl dt {}
dd {margin-left:1.5em;}


#ajax{position: absolute; width:100%; top:0;left:0;}

.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;}


.input-text, .xprofile input, .xfields input , .textin{width:300px; text-align:left;border:1px solid #9C9C9C;padding:2px 4px;background:#fff;font:0.9em Arial,Helvetica,sans-serif}
.input-textarea {width:458px;  height:170px; border:1px solid #9C9C9C;padding:2px 4px;background:#fff;font:0.9em Arial,Helvetica,sans-serif}
.poll,.input-textarea{ width:458px;}
.xfields textarea , .xprofile textarea{ width:458px; height:170px; border:1px solid #9C9C9C;padding:2px 4px;background:#fff;font:0.9em Arial,Helvetica,sans-serif}

.error-title{font:italic 1.3em Georgia,serif; line-height:0.8;margin-bottom:15px; color:#990000;}
.error-body{font:italic 1.1em Georgia,serif; margin-bottom:20px;}

/* ==================== Цитата и скрытый текст */

.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:0.8em Arial,Helvetica,sans-serif;}


/* класс 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;}





