* { margin: 0;  padding: 0;}
body, ul, li {list-style: none;}
body {background-color: #ffffff;background: url(/templates/for-foto/images/bg.gif);text-align: center;font: 11px Verdana, Arial, Tahoma, sans-serif;color: #000000;}
.main{      margin: 0 auto;     text-align: left;       width: 940px;   }
.head{  background: url(/templates/for-foto/images/bg-head.png) 0 0 repeat-x;}
h1, h2, h3, h4 {    padding: 0; margin: 0;  font-size: 12px;}
a { text-decoration: none;}
img {   border: none;}
.left{  float: left;}
.right{ float: right;}
.img_related {width: 100px; height: 100px; overflow: hidden;}
.txt_related {width: 93px; height: 100px; overflow: hidden;}

#share42{position:fixed;top:20% !important;left:0;margin-top:-130px;opacity:0.55;background:#F3F8FC;padding:6px 6px 0;border:1px solid #CFDEEF;border-left:none;border-radius:0 5px 5px 0;box-shadow:inset -1px 1px 0 #FFF, inset 0 -1px 0 #FFF}
#share42:hover{opacity:0.8}

a {
    color: #641e0c;

    text-decoration: none;
    font-weight: normal;
}
a:active, a:visited, a:link {

    color: #641e0c;
    text-decoration: none;
}
a:hover {
    color: #FF0000;
    text-decoration: none;
}
a b{
    color: #641e0c;
    font-size: 11px;
    text-decoration: none;
    text-align: left;
}
a b:hover {
    color: #FF0000;
    text-decoration: none;
}
a strong{
    color: #00000;
    font-size: 11px;
    text-decoration: none;
    text-align: left;
}
a strong:hover {
    color: #FF0000;
    text-decoration: none;
}


table td {font-size: 11px;}

img {border: 0px;}

.imagestyle, .imagestyle:active, .imagestyle:visited, .imagestyle:link {
padding: 2px;
margin: 5px;
border: 1px solid #ffffff; ///это до наведения
}
.imagestyle:hover {
padding: 2px;
margin: 5px;
border: 1px solid #FF8000; ///это после наведения
}

strong{
font-size:11px;
color:#000000;
text-decoration:none;
margin:0;
}
strong a:link,
strong a:visited,
strong a:hover,
strong a:active {
font-size:11px;
color:#FF8000;
text-decoration:none;
margin:0;
}
strong a:hover {
font-size:11px;
color:#800000;
text-decoration:none;
margin:0;
}

hr {border: 1px dotted #D1D1D1;}

.non {display:none;}



/* ==================== подсказки ==================== */


#tooltip{
background: #ffffff;
line-height:11px;
color:#000000;
font-size:10px;
border:1px solid #d7bc84;
margin:0px;
padding:8px;
position:absolute;
visibility:hidden;
}
/*
=============================================================
Общие таблицы
=============================================================
*/

.td_shortstory{
  background: url(/templates/for-foto/images/story_bg.png) ;
    margin: 5px 0px 5px 0px;
    height: 290px;
    border: 0px;
}
.td_height {
    height: 100%;
    border: 0px;
}
.td_line {
  background: url(/templates/for-foto/images/top_3.jpg) ;
    width: 100%;
    border: 0px;
}
.td_all {
  background: url(/templates/for-foto/images/bg_top.gif) ;
    width: 987px;
    border: 0px;
}
.top_line {
  background: url(/templates/for-foto/images/top_line.gif) repeat-x bottom;
    width: 100%;
    height: 211px;
    border: 0px;
}
.top_line_2 {
  background: #f7c101 url(/templates/for-foto/images/top_line_2.gif) repeat-x top;
    width: 100%;
    height: 211px;
    border: 0px;
}
.nav_bg_1 {
  background: url(/templates/for-foto/images/nav_bg_1.gif) repeat-x;
    width: 100%;
    height: 32px;
    border: 0px;
}
.nav_bg_2 {
  background: url(/templates/for-foto/images/nav_bg_2.gif);
    width: 100%;
    border: 0px;
}
.nav_bg_3 {
  background: url(/templates/for-foto/images/nav_bg_3.gif) repeat-y;
    border: 0px;
}
.nav_bg_4 {
  background: url(/templates/for-foto/images/nav_bg_4.gif) repeat-y;
    border: 0px;
}
.nav_bg_5 {
  background: url(/templates/for-foto/images/nav_bg_5.gif) repeat-y left;
    border: 0px;
}
.nav_bg_6 {
  background: url(/templates/for-foto/images/nav_bg_6.gif) repeat-x;
    width: 100%;
    height: 32px;
    border: 0px;
}

/*
=============================================================
Меню таблицы
=============================================================
*/


.nav_bg_5 ul{
    border: 0px;
    margin: 5px 0 0 10px;
}
.nav_bg_5 ul #select{
    font-weight: bold;;
}
.nav_bg_5 ul strong, .nav_bg_5 ul h2 {
    margin: 15px 0 5px 0;
    padding:0px;
    display: block;
    color: #000;
    text-align: left;
    font-weight: bold;
    font-size:12px;
}

.nav_bg_5 ul li {
    margin: 0 0 0 5px;
    line-height: 15px;
}

.nav_bg_5 ul li a{
    display: block;
    margin:0 0 0 5px;
    padding:0 0 0 10px;
}

.menu_title_h2 a{
    position: relative;
    left:-15px;
    color: #000;
    font-weight: bold;
}


.nav_bg_5 .menu_title{
    border-bottom: 1px dotted #9a580a;
    margin: 5px 0 5px 0;
    display: block;
    height: 22px;
}



.menu_body .menu_top {
    width: 200px;
    height: 22px;
    text-align: left;
    border-bottom: 1px dotted #8080C0;
    margin: 5px 0px 5px 0px;
}
.menu_01 {
    width: 180px;
    height: 22px;
    color: #00923f;
    text-align: left;
    border-bottom: 1px dotted #00923f;
    margin: 5px 0px 2px 0px;
}
.menu_02 {
    width: 180px;
    height: 22px;
    color: #974578;
    text-align: left;
    border-bottom: 1px dotted #974578;
    margin: 5px 0px 2px 0px;
}
.menu_03 {
    width: 180px;
    height: 22px;
    color: #e77817;
    text-align: left;
    border-bottom: 1px dotted #e77817;
    margin: 5px 0px 2px 0px;
}
.menu_body {
    width: 180px;
    height: 28px;
    text-align: left;
    padding: 2px 5px 5px 10px;
    border: 0px;
    margin: 0px 0px 5px 0px;
}
/*
=============================================================
Стори таблицы
=============================================================
*/
.story_top {
    width: 100%;
    height: 25px;
    text-align: left;
    border: 0px;
}
.story_top_bg {
    width: 100%;
    height: 25px;
    text-align: left;
    border: 0px;
}
.story_body {
    width: 100%;
    text-align: left;
    padding: 5px 5px 10px 5px;
    border-left: 1px dotted #b97644;
}
/*
* =============================================================
* =============================================================
* =============================================================
* =============================================================
* Линки и тексты
* =============================================================
* =============================================================
* =============================================================
* =============================================================
*/
/* ============= коменты ======= */
.comments {
  font-size: 11px;
    color: #959595;
    border: 1px dotted #000000;
    text-align: left;
    padding: 10px;
  line-height:15px;
}
.comments_2 {
  font-size: 9px;
    color: #808080;
    text-align: left;
    padding: 5px;
}
.comments_2 a:active, .comments_2 a:visited, .comments_2 a:link {
  font-size: 9px;
    color: #808080;
    text-decoration: none;
}
.comments_2 a:hover {
    color: #000000;
    text-decoration: none;
}
/*
=============================================================
Навигация
=============================================================
*/
.nav {
    color: #8080C0;
    font-size: 11px;
    text-decoration: none;
    padding: 2px 5px 2px 5px;
    text-align: left;
}
.nav a:active, .nav a:visited, .nav a:link {
    color: #8080C0;
    font-size: 11px;
    font-weight: normal;
    text-decoration: none;
}
.nav a:hover {
    color: #ffffff;
    text-decoration: none;
}
.nav b{
    color: #00FF00;
    font-size: 11px;
    text-decoration: none;
    text-align: left;
}
.nav b:hover {
    color: #ffffff;
    text-decoration: none;
}
/*
=============================================================
Стили заголовков
=============================================================
*/
h1{
padding:0px;
font-size:12px;
color: #62130d;
margin:0;
font-weight: normal;
text-align: center;
}
h1 a:link,
h1 a:visited,
h1 a:hover,
h1 a:active {
font-size:14px;
color: #974578;
text-decoration:none;
margin:0;
font-weight: bold;
}
h1 a:hover {
font-size:14px;
color:#8080FF;
text-decoration:none;
margin:0;
}
/* ==================== */
h2{
padding:0px;
padding-bottom:8px;
font-size:10px;
color: #62130d;
margin:0;
font-weight: normal;
text-align: center;
}
/* ==================== */
h3{
padding-top:0px;
padding-left: 5px;
padding-right: 5px;
padding-bottom:1px;
font-size:13px;
color:#000000;
margin:0;
}
/* ==================== */
h4{
padding-top:0px;
padding-left: 5px;
padding-right: 5px;
padding-bottom:10px;
font-size:16px;
line-height:1px;
margin:0;
}
.mlsystem{
display:none;
}
/*
=============================================================
Ссылки
=============================================================
*/
/* ==================== */
.slink {
    color: #8080C0;
    font-size: 11px;
    text-decoration: none;
}
.slink a:active, .slink a:visited, .slink a:link {
  font-size: 11px;
    color: #8080C0;
    text-decoration: none;
}
.slink a:hover {
    color: #FF8000;
    text-decoration: underline;
}
/* ==================== */story
.story {
    color: #000000;
    font-size: 11px;
    text-decoration: none;
}
.story a:active, .story a:visited, .story a:link {
  font-size: 11px;
    color: #8080C0;
    text-decoration: none;
}
.story a:hover {
    color: #FF8000;
    text-decoration: underline;
}
/* ==================== */story
.story_1 {
    color: #000000;
    font-size: 11px;
    text-decoration: none;
}
.story_1 a:active, .story_1 a:visited, .story_1 a:link {
  font-size: 12px;
    color: #FF0000;
    text-decoration: none;
    font-weight: bold;
}
.story_1 a:hover {
    color: #FF8000;
    text-decoration: underline;
}
/*
=============================================================
speedbar
=============================================================
*/
            .speedbar{
                border-top: 1px dotted #d7bc84;
                border-bottom: 1px dotted #d7bc84;
                height: 35px;
                overflow: hidden;
                font: normal 11px;
                color: #666666;
                line-height: 35px;
                padding: 0 25px 0 5px;
            }



/* ==================== sape ==================== */
.sape {
    color: #000000;
    font-size: 9px;
    text-decoration: none;
    font-weight: normal;
    text-transform: none;
}
.sape a:active, .sape a:visited, .sape a:link {
  font-size: 9px;
    color: #000000;
    text-decoration: none;
}
.sape a:hover {
    color: #800000;
    text-decoration: none;
}
/*
* =============================================================
* =============================================================
* =============================================================
* =============================================================
* Формы
* =============================================================
* =============================================================
* =============================================================
* =============================================================
*/
/* ==================== Поле малой формы поиска */

.s_field {
    color: #ffffff;
    font-size: 12px;
    background: url(/templates/for-foto/images/btn_search_bg.gif);
    height: 23px;
    padding-left: 3px;
    margin: 5px;
    border: 0;
}
/* ==================== Поле формы авторизации */
.a_field {
    color: #997658;
    height: 18px;
    font-size: 11px;
    padding-left: 3px;
    border: 1px solid #997658;
}
/* ==================== */
.f_textarea {
background: url(/templates/for-foto/images/story_bg.png);
    color: #808080;
    font-size: 11px;
    width: 459px;
    height: 156px;
    border: 1px solid #000000;
}
.f_input {
background: url(/templates/for-foto/images/story_bg.png);
    color: #808080;
    font-size: 11px;        /* ! */
    width: 300px;
    height: 19px;
    border: 1px solid #000000;
}
.f_select {
background: url(/templates/for-foto/images/story_bg.png);
    color: #808080;
    font-size: 11px;        /* ! */
    height: 19px;
    border: 1px solid #000000;
}











.navigation {
    color:#666;
    border:0px;
}
.navigation a:link,
.navigation a:visited,
.navigation a:hover,
.navigation a:active {
    text-decoration:none;
    color: #5e686e;
    background:#ffffff;
    border:1px solid #5e686e;
    padding:1px 4px ;
    font-size:11px;
    line-height:18px;

}

.navigation a:hover {
    background:#5e686e;
    color:#FFFFFF;
    border-color:#5e686e;
}

.navigation span {
    text-decoration:none;
    background:#ffffff;
    padding:1px 4px;
    border:1px solid #cfd4da;
    color:#cfd4da;
    font-size:11px;
}


/* ==================== партнерка ==================== */
.partner {
color: blue;
font-size: 11px;
padding-top: 15px;
}
.partner a {
color: red;
text-decoration:none;
}
.partner a:hover {
text-decoration: underline;
}

/***

 @ style for DEL chat
 @ Age-Web Media Group [ Hamer ]

 ***/

   /* @ Линк администратора */
.admin_m  a{color:red;border:0px;border-bottom:0px solid;font-size:11px;}
.admin_m a:hover { color:red; font-size:11px;}

  /* &@ Линк гл. редактора */
.green_m  a{color:green;border:0px;border-bottom:0px solid;font-size:11px;}
.green_m a:hover {color:green; font-size:11px;}

 /* && @ Линк модератора ( журналюги) */
.moder_m  a{color:blue;border:0px;border-bottom:0px solid;font-size:11px;}
.moder_m a:hover {color:blue; font-size:11px;}

 /* &&&@ Для любой остальной группы  ft. users ( включая пользователей! ) */

.usr_ohr_uss a{border:0px;border-bottom:0px solid;font-size:11px;}
.usr_ohr_uss a:hover { font-size:11px;}

.chat_block strong{
     font-size:11px;
}
.chat_block a { font-size:11px;color:#1d94b2; }
.chat_block a:hover { font-size:11px;color:#187a92; }


/*
=============================================================
хинт
=============================================================
*/
#easyTooltip{
    padding:10px;
    border:1px solid #999999;
    background:#f1f1f1;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    color: #666666;
    filter:alpha(opacity=90);
    -moz-opacity: 0.9;
    -khtml-opacity: 0.9;
    opacity: 0.9;
    }



#hintbox {
    text-align : left;
    width : 150px;
    font-size : 10px;
    border : 1px solid #99a1ab;
    background-color : #fff;
    layer-background-color : #a396d9;
    color : #282828;
    margin : 10px 0 0 10px;
    padding : 3px 5px;
    position : absolute;
    visibility : hidden;
    z-index : 998;
    -moz-opacity : 0.9;
    -moz-border-radius : 5px;
    filter : alpha(opacity="90");
}

.onl_table {
    width : 100%;
    font-size : 10px;
}
.onl_table td {
    padding-right : 5px;
    font-size : 10px;
    width : 50%;
}
/* Администратор */
.a_link, .a_link a:link, .a_link a:visited, .a_link_on {    color : #641e0c;    font-size: 10px;}
.a_link_on a:hover, .a_link_on a:active {    color : #ff0000;    font-size: 10px;}
/* vip */
.v_link, .v_link a:link, .v_link a:visited, .v_link_on {    color : #008000;    font-size: 10px;}
.v_link_on a:hover, .v_link_on a:active {    color : #ff0000;    font-size: 10px;}
/* Главный редактор */
.e_link, .e_link a:link, .e_link a:visited, .e_link_on {    color : #00a400;    font-size: 10px;}
.e_link_on a:hover, .e_link_on a:active {    color : #00a400;    font-size: 10px;}
/* Журналист */
.j_link, .j_link a:link, .j_link a:visited, .j_link_on {    color : #0000ff;    font-size: 10px;}
.j_link_on a:hover, .j_link_on a:active {    color : #0000ff;    font-size: 10px;}
/* Посетитель */
.u_link, .u_link a:link, .u_link a:visited, .u_link_on {    color : #666666;    font-size: 10px;}
.u_link_on a:hover, .u_link_on a:active {    color : #641e0c;    font-size: 10px;}



.b_link, .b_link a:link, .b_link a:visited, .b_link_on {
    color : #666666;
    font-size: 100px;
}
.b_link_on a:hover, .b_link_on a:active {
    color : #666666;
    font-size: 100px;
}























/*
Главные стили. Внешний вид шаблона.
*/

/*  превью */
.sbsample_8{
  display:block;
  margin:0 3px 3px;
  padding-left:55px;
  font:bold 12px Arial;
  clear:both;
}
.sbsample_8 img{
  float:left;
  width:50px;
  margin-left:-55px;
}
.popstyle_8 img{
  max-width:350px;
  padding:2px;
  border:1px solid #d1bc91;
  background: #efe1c4;
  -moz-box-shadow: #9f5d17 0 0 17px 0px;
  -webkit-box-shadow: #9f5d17 0 0 17px 0px;
  box-shadow: #9f5d17 0 0 17px 0px;
}


/*  для модального окна */
.window {
    position:absolute;
    left:0;
    top:0;
    width:440px;
    height:200px;
    display:none;
    z-index:9999;
    padding:20px;
    color:#2e536f;
    }

/*  ссылка для скачки */




#btn-wrap {
    position:relative;
    padding:5px;
    margin:0 auto;
    width:220px;
    height:40px;
    display:block;
    text-decoration:none;
    margin-bottom:30px;
    margin-top:5px;
    background: #845433;
    background: -webkit-gradient(linear, 0 bottom, 0 top, from(#f1bc4c ), to(#66220a));
    background: -moz-linear-gradient(-90deg, #66220a, #f1bc4c );
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    -webkit-box-shadow: 0 1px 0 #b1390f;
    -moz-box-shadow: 0 1px 0 #b1390f;
    box-shadow: 0 1px 0 #b1390f;
    display: block;
    cursor: pointer;
}

span.title12{
    color: #864523;
    font:17px "BebasNeueRegular", Helvetica, Arial, sans-serif;
    line-height:40px;
    height:40px;
    width:90px;
    display:block;
    position:relative;
    -webkit-box-shadow: 0 -1px 0 #fff, 0 1px 1px #4e210a;
    -moz-box-shadow:  0 -1px 0 #fff, 0 1px 1px #4e210a;
    box-shadow:  0 -1px 0 #fff, 0 1px 1px #4e210a;
    background: #ca5200;
    background: -webkit-gradient(linear, 0 bottom, 0 top, from(#cd4700 ), to(#f3c250));
    background: -moz-linear-gradient(-90deg, #f3c250, #cd4700 );
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    z-index:5;
    -webkit-transition:width .2s ease-out;
    -moz-transition:width .2s ease-out;
    -o-transition:width .2s ease-out;
    text-align:center;
}

#btn-wrap:hover span.title12 {
    font-size:18px;
    width:220px;
}

#info {
    position:absolute;
    height:40px;
    width:200px;
    top:5px;
    right:4px;
    -webkit-box-shadow: 0 -1px 0 #5f2a0f, 0 1px 1px #4e210a;
    -moz-box-shadow:   0 -1px 0 #5f2a0f, 0 1px 1px #4e210a;
    box-shadow:   0 -1px 0 #5f2a0f, 0 1px 1px #4e210a;
    background: #4e210a;
    background: -webkit-gradient(linear, 0 bottom, 0 top, from(#773818), to(#4e210a));
    background: -moz-linear-gradient(-90deg, #4e210a, #773818);
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    z-index:4;
}

#info p {
    width:110px;
    margin:2px 17px 0 0 ;
    position:absolute;
    right:0;
    color:#dcc597;
    font:10px Helvetica, Arial, sans-serif;
    text-align:left;

}
#info p strong{
    color:#f1bc4c;
    width:115px;
    overflow: hidden;
    display: block;
    white-space:nowrap;
}
#info p span{
    display: block;
    height:10px;
}

/*  --  */
        .wrapper {
            width: 540px;
            height: 140px;
            margin: 0px auto;
            margin-top: 10px;
            text-align:center;
        }

            .wrapper br{
                display: none;
            }

            #carousel {
                width: 502px;
                height: 138px;
                position: relative;
                margin: 0 29px;
            }
            #carousel ul {
                margin: 0;
                padding: 0;
                list-style: none;
                display: block;
            }
                #carousel li {
                    color: #999;
                    text-align: left;
                    width: 125px;
                    height: 138px;
                    padding: 0;
                    display: block;
                    float: left;
                    position:relative;
                }

                .clearfix {
                    float: none;
                    clear: both;
                }

                    #carousel .prev, #carousel .next {
                        width: 29px;
                        height: 37px;
                        display: block;
                        text-indent: -999em;
                        background:
                        transparent url('/templates/for-foto/images/carousel_control.png') no-repeat 0 0;
                        position: absolute;
                        top: 60px;
                    }
                    #carousel .prev {
                        background-position:0 0;
                        left: -30px;
                    }
                        #carousel .prev:hover {
                            background: url(/templates/for-foto/images/carousel_control.png) 0 bottom no-repeat;
                            left: -30px;
                        }
                    #carousel .next {
                        background-position: -29px 0;
                        right: -30px;
                    }
                        #carousel .next:hover {
                            background: url(/templates/for-foto/images/carousel_control.png) right bottom no-repeat;
                            right: -30px;
                        }

                    #caroufredsel_wrapper{
                        width: 942px !important;
                    }

    .slaider-news{
        width: 102px;
        height: 132px;
        float: left;
        text-align: left;

    }

        .slaider-news-image{
            width: 100px;
            height: 130px;
            margin: 3px 0 0 3px;
            background: #303539;
            border: 1px solid #000000;
            -moz-box-shadow: #303539 0 0 7px 0px;
            -webkit-box-shadow: #303539 0 0 7px 0px;
            box-shadow: #303539 0 0 7px 0px;
        }

            .slaider-news-image:hover{
                border: 1px solid #484b4e;
                -moz-box-shadow: #000000 0 0 7px 0px;
                -webkit-box-shadow: #000000 0 0 7px 0px;
                box-shadow: #000000 0 0 7px 0px;
            }

            .slaider-news-img-fon{
                width: 100px;
                height: 130px;
                position: relative;
                overflow: hidden;
                top: 0px;
                left: 0px;
            }
            .slaider-news-title{
                width: 45px;
                height: 12px;
                font-size:9px;
                color: #7c7876;
                position: relative;
                overflow: hidden;
                margin-top: -130px;
                padding: 2px;
                top: 2px;
                left: 2px;
                background-color: #ffffff;
                opacity:0.5;
                filter:alpha(opacity=50);
                -moz-opacity:0.5;
            }

                .slaider-news-img-fon img{
                    height: 130px;
                    position: absolute;
                    top: 0px;
                    left: 0px;
                }

        .slaider-news h2 a{
            display: block;
            width: 90px;
            margin: 20px 0 15px 27px;
            height:  30px;
            overflow: hidden;
            font: bold 12px Arial;
            color: #362f2d;
        }

            .slaider-news h2 a:hover{
                color: #ff0000;
            }

        .slaider-info{
            font: bold 10px Arial;
            color: #7c7876;
            margin: 0 0 0 27px;
            width: 110px;

        }

        .slaider-news-date{
            float: left;
        }

        .slaider-news-com{
            display: block;
            float: left;
            width: 95px;
            color: #7c7876;
        }
        .slaider-news-com a{
            display: block;
            float: left;
            width: 85px;
            color: #7c7876;
        }

            .slaider-news-com a:hover{
                color: #444444;
            }

/*  --  */








    .story-news{
        width: 166px;
        height: 290px;
        float: left;
        margin: 10px;
        margin-right: 20px;
        text-align: center;
        -moz-box-shadow: #af9358 0 0 7px 0px;
            -webkit-box-shadow: #af9358 0 0 7px 0px;
            box-shadow: #af9358 0 0 7px 0px;

    }

        .story-news-image{
            width: 152px;
            height: 152px;
            margin: 7px 0 0 7px;
            background: #fbf4e5;
            border: 1px solid #d1bc91;
        }

            .story-news-image:hover{
                border: 1px solid #c5934c;
            }

            .story-news-img-fon{
                width: 150px;
                height: 150px;
                position: relative;
                overflow: hidden;
                top: 0px;
                left: 0px;
                border: 1px solid #fbf4e5;
            }

            .story-news-img-fon img{
                    max-height: 150px;
                    position: absolute;
                    top: 0px;
                    left: 0px;
                    margin: 0 auto;
                    display: inline;
                }

            .story-news-title{
                width: 35px;
                height: 12px;
                font-size:9px;
                color: #000000;
                position: relative;
                overflow: hidden;
                margin-top: -158px;
                padding: 2px;
                top: 8px;
                left: 110px;
                background-color: #ffffff;
            }



        .story-news h3, .story-news h3 a{
            display: block;
            width: 150px;
            margin: 5px 0 5px 5px;
            height:  30px;
            overflow: hidden;
            font: bold 12px Arial;
            color: #362f2d;
        }

            .story-news h3 a:hover{
                color: #ff0000;
            }

        .story-info{
            font: bold 10px Arial;
            color: #7c7876;
            margin: 0 0 0 5px;
            width: 150px;
            text-align: center;

        }

        .story-info a{
            display: block;
            margin: 10px 0 0 0 ;
            width: 150px;
            color: #7c7876;
            font-size: 11px;
        }
        .story-info span a {
            margin: 5px 0 5px 0;
            color: #c8b793;
            font-size: 10px;
            height:  25px;
            line-height: 11px;
        }
        .story-info span {
            color: #997658;
            font-size: 10px;
            height:  25px;
        }

            .story-info a:hover{
                color: #444444;
            }

/*  --  */






















    .content{
        background: url(/templates/for-foto/images/bg-content.png) -1px 0 repeat-y;
        width: 940px;

    }
        .left-col-in{
            width: 619px;
            float: left;
            background: #fff;
            margin: 0 0 0 1px;
            padding: 10px 0 0 0;
        }



        .left-col{
            float: left;
            width: 310px;
            padding: 10px 0 0px 0;
        }

            .left-col-item{
                width: 295px;
                padding: 30px 0 40px 15px;
                border-bottom: 1px solid #E3E3E3;
            }

                .left-col-item-title{
                    width: 270px;
                    font: bolder 13px Arial;
                    color: #333333;
                    position: relative;
                    border-bottom: 1px dotted #cccccc;
                    padding: 0 0 5px 0;
                    margin: 0 0 10px 5px;
                }
                    .left-col-item-title-link{
                        display: block;
                        color:  #797979;
                        width: 170px;
                    }

                    .left-col-item-title-link span{
                        display: block;
                        font-size: 9px;
                        color: #a9a8a8;
                        line-height: 12px;
                        padding: 0px;
                    }

                    .left-col-item-title-link strong{
                        color:  #ff0000;
                    }

                    .left-col-item-title-more{
                        width: 40px;
                        position: absolute;
                        top: 2px;
                        right: 1px;
                        font: normal 11px Arial;
                        color: #999999;
                    }

                        .left-col-item-title-more:hover{
                            color: #444444;
                        }


                    .left-col-item-title-link strong:hover{
                        color:  #000000;
                    }

                .left-col-item-content{

                }




                    .main-news{
                        border-bottom: 1px dotted #cccccc;
                        width: 275px;
                        margin: 0 0 10px 0;
                        display: block;
                    }

                    .shortstory{
                        padding: 5px;
                        margin: 10px;
                    }
                    .more{
                        float: right;
                        display: block;
                        overflow: hidden;
                        width: 100px;
                        height: 15px;
                        line-height: 15px;
                        border: 1px solid #E3E3E3;
                        padding: 3px 10px 3px 10px;
                        background: #eceff0;
                    }
                    .more a{color: #6b899a;}
                    .more a:hover{color: #ff0000;}
                    .more:hover{background: #f8fafa;}

                        .main-news .main-news-image{
                            width: 116px;
                            height: 118px;
                            background: url(/templates/for-foto/images/sl-img-fon.png) 0 0 no-repeat;
                            display: block;
                            float:left;
                        }


                            .main-news .main-news-image:hover{
                                background: url(/templates/for-foto/images/sl-img-fon-hover.png) 0 0 no-repeat;
                            }

                                .main-news .main-news-fon{
                                    width: 100px;
                                    height: 100px;
                                    position: relative;
                                    overflow: hidden;
                                    top: 8px;
                                    left: 8px;
                                }

                                    .main-news .main-news-fon img{
                                        height: 100px;
                                        position: absolute;
                                        top: 0px;
                                        left: 0px;
                                    }

                            .main-news h2 a{
                                font: bold 12px Arial;
                                color: #333333;
                                display: block;
                                height: 40px;
                                margin: 5px 0 0px 0px;
                                overflow: hidden;
                                border-bottom: 1px dotted #cccccc;
                            }

                                .main-news h2 a:hover{
                                    color: #cc6600;
                                }

                            .main-news .story-info{
                                display: block;
                                margin: 0px;
                                float:right;
                                width: 155px;
                            }

                            .main-news .main-news-content{
                                font:  10px Arial;
                                color: #555555;
                                line-height: 16px;
                                height: 50px;
                                overflow: hidden;
                                margin: 10px 0 0px 5px;
                                display: block;
                            }













        .center-col{
            float: left;
            width: 310px;
            padding: 10px 0 0px 0;
        }

        .right-col{
            float: left;
            width: 300px;
            margin: 10px 0 0 20px;
            padding: 10px 0 0px 0;
        }

            .right-col-item{
                border-bottom: 1px dotted #515151;
                padding: 0 0 20px 0;
                width: 260px;
                margin: 15px 0 25px 0;
            }

                .search-conteiner{
                    position: relative;
                    height: 35px;
                }


            .tt-tabs{
                border: 1px solid #c5c2c1;
                border-radius: 4px;
                -moz-border-radius: 4px;
                -webkit-border-radius: 4px;
            }

            .index-panel{

            }
                .index-tabs{
                    font: bold 10px Arial;
                    color: #555555;
                    height: 40px;
                    line-height: 38px;
                    border-bottom: 1px solid #dcdcdc;
                }

                    .index-tabs span{
                        cursor: pointer;
                        display: block;
                        width: 63px;
                        height: 40px;
                        float: left;
                        text-align: center;
                        border-left: 1px solid #dcdcdc;
                        border-bottom: 1px solid #dcdcdc;
                        background: url(/templates/for-foto/images/ttbas-fon.png);

                    }
                        .index-tabs span:first-child{
                            border-left: none !important;
                            border-bottom: 1px solid #dcdcdc;
                            border-radius: 4px 0 0 0;
                            -moz-border-radius: 4px 0 0 0;
                            -webkit-border-radius: 4px 0 0 0;

                        }

                        .index-tabs span:hover{
                            background: #fff;

                            border-bottom: 1px solid #fff;
                        }

                        .active-ttab{
                            background: #fff !important;
                            border-left: 1px solid #dcdcdc !important;
                            border-bottom: 1px solid #fff !important;
                        }
                .tt-panel {
                    display: none;
                }




                    .top-news-block{
                        display: block;
                        position: relative;
                        border-bottom: 1px solid #E2E2E2;
                        padding: 0 10px 0 75px;
                        margin: 10px 0 0px 0;
                        height: 65px;
                        cursor: default;
                    }

                        .top-news-hidden{
                            display: block;
                            position: absolute;
                            top: 5px;
                            left: 18px;
                            width: 46px;
                            height: 46px;
                            overflow: hidden;

                        }

                            .top-news-hidden img, .top-news-hidden a{
                                width: 46px;
                                min-height: 46px;
                                position: absolute;
                                top: 0px;
                                left: 0px;
                                z-index: 10;
                            }

                        .fon-top-news-image{
                            display: block;
                            width: 57px;
                            height: 57px;
                            background: url(/templates/for-foto/images/fon-top-news-image.png) 0 top no-repeat;
                            position: absolute;
                            top: 0px;
                            left: 13px;
                            cursor: pointer;
                        }

                            .fon-top-news-image:hover{
                                background: url(/templates/for-foto/images/fon-top-news-image.png) 0 bottom no-repeat;
                            }

                        .top-news-title a{
                            display: block;
                            font: bold 11px Arial;
                            color: #444444;
                            padding: 7px 0 0 0;
                            cursor: pointer;
                            height: 41px;
                            overflow: hidden;
                        }

                            .top-news-title a:hover{
                                color: #cc6633;
                            }

                .banner125x125 a{
                    display: block;
                    width: 125px;
                    height: 125px;
                    float: left;
                    margin: 0 2px;
                }

                .right-block-news{

                }

                    .right-block-image{
                        width: 260xp;
                        height: 156px;
                        overflow: hidden;
                        position: relative;
                        top: 0px;
                        left: 0px;
                    }

                        .right-block-image img{
                            width: 260px;
                            min-height: 156px;
                            position: absolute;
                            top: 0px;
                            left: 0px;
                        }

                    .right-block-news h2 a{
                        display: block;
                        height: 30px;
                        font: italic bold 12px Arial;
                        color: #555555;
                        margin: 10px 0 10px 0;
                        overflow: hidden;
                    }

                        .right-block-news h2 a:hover{
                            color: #cc6633;
                        }

        .con-bottom-line{
            clear: both;
            background: url(/templates/for-foto/images/con-bottom-line.png) 0 0 no-repeat;
            height: 10px;
            width: 938px;
        }

        .con-bottom-line-in{
            clear: both;
            background: url(/templates/for-foto/images/con-bottom-line-in.png) 0 0 no-repeat;
            height: 10px;
            width: 938px;
        }
    .footer-top{
        background: url(/templates/for-foto/images/footer-top.png) 0 0 repeat-x;
        height: 70px;
        font: bold 11px Arial;
        color: #7f7f7f;
        line-height: 60px;
        padding: 0 0 0 25px;
        position: relative;

    }

        .footer-top a{
            font: bold 11px Arial;
            color: #7f7f7f;
            padding: 0 5px 0 5px;
        }

            .footer-top a:hover{
                color: #cccccc;
            }

        .up{
            width: 57px;
            height: 17px;
            position: absolute;
            top: 22px;
            right: 25px;
            cursor: pointer;
            z-index: 10;
            font: bold 11px Arial;
            color: #7f7f7f;
            background: url(/templates/for-foto/images/back-top.png) right 3px no-repeat;
        }

            .up:hover{
                background: url(/templates/for-foto/images/back-top.png) right -17px no-repeat;
                color: #636363;
            }

    .footer-center{
        background: url(/templates/for-foto/images/footer-center.png) 0 0 repeat;
    }

        .footer-left-col{
            float: left;
            width: 285px;
            margin: 30px 0 30px 25px;
            background: url(/templates/for-foto/images/footer-line.png) right 10px no-repeat;
        }


            .footer-item{
                width: 262px;
            }

                .footer-item-title{
                    font: bold 13px Arial;
                    color: #dddddd;
                    border-bottom: 1px dotted #515151;
                    padding: 0 0 15px 0;
                }

                .footer-item-content{
                    font: normal 10px Arial;
                    color: #999999;
                    margin: 20px 0 0 0;
                }

        .footer-center-col{
            float: left;
            width: 285px;
            margin: 30px 0 30px 25px;
            background: url(/templates/for-foto/images/footer-line.png) right 10px no-repeat;
        }

            .footer-item-content h2 a{
                display: block;
                font: bold 12px Arial;
                color: #cbcbcb;
                padding: 0 0 11px 0;
                margin: 0 0 11px 0;
                border-bottom: 1px dotted #515151;
            }

                .footer-item-content h2 a:hover{
                    color: #fefefe;
                }

        .footer-right-col{
            float: left;
            width: 285px;
            margin: 30px 0 30px 25px;
        }

    .footer-bottom{
        background: url(/templates/for-foto/images/footer-bottom.png) 0 0 no-repeat;
        height: 12px;
    }

    .footer{

    }

            .copir{
                padding: 20px 420px 20px 15px;
                font: bold 12px Arial;
                color: #999999;
                position: relative;
                z-index: 1;
            }

                .copir a{
                    color: #666666;
                }
                    .copir a:hover{
                        color: #333333;
                    }
            .schet{
                position: absolute;
                bottom: 10px;
                right: 20px;
            }

                .schet img{
                    float: left;
                    margin: 0 10px 0 0;
                }

/* Юзер-панель */

.login-block {
    padding: 15px;
}

    .login-block-title {
        font-size: 12px;
        font-weight: bold;
        color: #000;
        padding: 0 0 10px 0;
    }

    .login-block-content {

    }

    .login-link {
        padding: 10px 0 10px 15px;
    }

        .login-link a {
            color: #6a6a6a;
        }

    .login-input-text {
        border: 0;
        margin: 0 0 5px 0;
        background: #f1f1f1;
        padding: 10px;
        width: 208px;
        font-size: 11px;
        color: #6c6c6c;

    }


    .l-link {

    }

        .l-link a {
            display: block;
            background: #f1f1f1;
            color: #282828;
            padding: 8px;
            margin: 0 0 1px 0;
            font-size: 11px;
        }

            .l-link a:hover {
                background: #a2a2a2;
                color: #fff;
            }


    .enter {
        position: absolute;
        right: 5px;
        bottom: -5px;
    }

    .lost-input-text {
        border: 1px #9e9e9e dotted;
        width: 200px;
        padding: 5px;
        color: #644217;
    }

    .reg-link {
        font-size: 11px;
        padding: 10px 0 0 5px;
        color: #fff;
    }

        .reg-link a {
            color: #ccc;
        }

            .reg-link a:hover {
                text-decoration: underline;
            }

.s-block-content input {
    background: #fff url(/templates/for-foto/images/form-text.gif) left top repeat-x;
    margin: 5px 20px 0 0;
    color: #2e2e2e;
    border: 1px #d0d0d0 solid;
}

.s-block {
    padding: 0 0 0 20px;
}

    .s-block-content{
        padding: 10px;
    }

/* ==================== Календарь */
.calend {

}

.weekday-active-v {
    color: #535353;
}
.day-active-v {
    color: #535353;
    font-weight: bold;
}
.calendar {

text-align: center;
}

    .calendar a {
        text-decoration: underline;
     }
.calendar td, th {
     text-decoration: none;
     padding: 3px;
}
.weekday {

    font-weight: bold !important;

}
.weekday-active {
    color: #000;
    font-weight: bold;

}
.day-active {
    color: #535353;
}
.monthlink {
    color: #535353;
    text-decoration: none;
}
.day-current {
    background:#ffd8b5;
    border:1px dotted #000;
    color: #000;
}

    .day-current a {
        color: #000;
    }

/* ==================== Облако тегов */
.tags-block {
    padding: 5px;
    color: #424242;
}

.clouds_xsmall {
    font-size: 12px;
    color: #424242 !important;
    text-decoration: none;
}
.clouds_small {
    font-size: 15px;
    color: #424242 !important;
    text-decoration: none;
}
.clouds_medium {
    font-size: 20px;
    color: #424242 !important;
    text-decoration: none;
}
.clouds_large {
    font-size: 25px;
    color: #ff8b02 !important;
    text-decoration: none;
}
.clouds_xlarge {
    font-size: 30px;
    color: #ff8b02!important;
    text-decoration: none;
}



/* Опрос */
.vote-buttom {
    width: 87px;
    padding: 5px;
    color: #000;
    border: 0;
    background: url(/templates/for-foto/images/hidden-comment.jpg) left top repeat-x;
    margin: 3px;
    font-size: 11px;
    font-weight: bold;
    border-radius:3px;
    -webkit-border-radius:3px;
    -moz-border-radius:3px;
    cursor: pointer;
}


/* ==================== Рейтинг статьи */

.rating {
    color: #757575;
    font-size: 11px;        /* ! */
    font-family: tahoma;    /* ! */
    width: 85px;
    height: 16px;
}
.unit-rating {
    list-style: none;
    margin: 0px;
    padding: 0px;
    width: 85px;
    height: 16px;
    position: relative;
    background-image: url(/templates/for-foto/dleimages/rating.png);
    background-position: top left;
    background-repeat: 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-image: url(/templates/for-foto/dleimages/rating.png);
    background-position: 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-image: url(/templates/for-foto/dleimages/rating.png);
    background-position: left bottom;
    position: absolute;
    height: 16px;
    display: block;
    text-indent: -9000px;
    z-index: 1;
}


/* ==================== BB коды */

.bbcodes {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    color: #ffffff;
    font-size: 11px;        /* ! */
    font-family: tahoma;    /* ! */
    /*  width: 120px;  */
    height: 20px;
    background-image: url(/templates/for-foto/images/dlet_bttn_bbcodes.gif);
    background-repeat: repeat-x;
    font-weight: bold;
}

/* класс bbcodes_poll используем в poll.tpl, vote.tpl, addnews.tpl */

.bbcodes_poll {

    border: 0;
    color: #ffffff;
    font-size: 11px;        /* ! */
    width: 127px;
    height: 20px;
    background: url(/templates/for-foto/images/buttom.gif) no-repeat;
    font-weight: bold;
    margin: 5px;
    text-align: center;
}

.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 #bbbbbb;
}
.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;
    opacity: 0.92;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=95) progid:DXImageTransform.Microsoft.Shadow(color=#cacaca, direction=135, strength=3)";
    filter: alpha(opacity=95, enabled=1) progid:DXImageTransform.Microsoft.Shadow(color=#cacaca, direction=135, strength=3);
    z-index: 1;
}

#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-color:#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 {
    color: #f37c64;
}

/* ==================== показ оригинальной картинки загруженной на сайт из уменьшенной копии (.jpg) */
.highslide-wrapper, .highslide-outline {
    background: #FFFFFF;
    z-index: 100000;
}
.highslide-image {
    border: 2px solid #FFFFFF;
    z-index: 100000;
}
.highslide-active-anchor {
   visibility: hidden;
   z-index: 100000;
}
.highslide-active-anchor img {
    visibility: hidden;
    z-index: 100000;
}
.highslide-dimming {
    background: black;
    z-index: 100000;
}
.highslide-html {
    background-color: white;
    z-index: 100000;
}
.highslide-html-content {
    display: none;
    z-index: 100000;
}
.highslide-loading {
    display: block;
    color: white;
    font-size: 9px;
    font-weight: bold;
    text-decoration: none;
    padding: 3px;
    border: 1px solid white;
    background-color: black;
    z-index: 100000;
}
a.highslide-full-expand {
    background: url(/templates/for-foto/dleimages/fullexpand.gif) no-repeat;
    display: block;
    margin: 0 10px 10px 0;
    width: 34px;
    height: 34px;
    z-index: 100000;
}
.highslide-footer {
    height: 11px;
    z-index: 100000;
}
.highslide-footer .highslide-resize {
    float: right;
    height: 12px;
    width: 11px;
    background: url(/templates/for-foto/dleimages/resize.gif);
    z-index: 100000;
}
.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 {
    /* hide the text for these graphic buttons */
    display: none;
}

/* The CSS sprites for the controlbar */
.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;
}

.title-block  {
    font-size: 24px;
    color: #000;
    line-height: 20px;
    margin: 0 0 5px 0;
    padding: 10px 0 10px 0px;
}

    .title-block  a {

    }

        .title-block a:hover {

        }

        .shot-text2 img {
            margin: 0 10px 5px 0;
            border: 0;
            max-width: 500px;
        }

        .shot-text input {
            margin: 5px 20px 0 0;
            background: #343434;
            color: #fff;
            font-size: 9px;
        }
        .shot-text2 input {
            margin: 5px 20px 0 0;
            background: #343434;
            color: #fff;
            font-size: 9px;
        }

        .mass_comments_action input {
            margin: 5px 20px 0 0;
            background: #454545;
            color: #fff;
            font-size: 9px;
        }

        .shot-text .editor_button img {
            padding: 0 !important;
            border: 0 !important;
            margin: 0;
        }
        .shot-text2 .editor_button img {
            padding: 0 !important;
            border: 0 !important;
            margin: 0;
        }

        .editor_button img {
            padding: 0 !important;
            border: 0 !important;
            margin: 0 !important;
        }

        .shot-text .editbclose img {
            padding: 0;
            border: 0;
            margin: 0;
        }
        .shot-text2 .editbclose img {
            padding: 0;
            border: 0;
            margin: 0;
        }

        .editor_button_brk img {
            padding: 0 !important;
            margin: 0 !important;
            border: 0 !important;
        }



/* Полная новость */
.full-news {
}

    .full-news h1 {
        font: 21px Arial;
        color: #333333;
        line-height: 24px;
        margin: 30px 0 0px 0;
        padding: 0 25px 5px 25px;
    }

    .full-info{
        padding: 0 25px;
        font: italic 11px Arial;
        color: #999999;
        margin: 0 0 10px 0;
    }

        .full-info a{
            color: #999999;
        }

            .full-info a:hover{
                color: #444444;
            }

        .full-author{
            float: left;
        }

        .full-date{
            float: left;
        }

        .full-cat{
            float: left;
        }

        .full-com{
            float: left;
        }

    .full-news-content {
        margin: 5px;
        color: #444444;
        line-height: 17px;
        padding: 2px;
    }


        .full-news-content-img img{
            max-width: 250px;
        }
        .full-news-content .img_story {
            max-width: 250px;
            margin: 5px;
            border: 2px solid #ffffff;
            padding: 0;
            background: #fff;
            -moz-box-shadow: #af9358 0 0 7px 0px;
            -webkit-box-shadow: #af9358 0 0 7px 0px;
            box-shadow: #af9358 0 0 7px 0px;
        }


        .full-news-content a:active, .full-news-content a:visited, .full-news-content a:link {
            color: #ff0000;
            font-weight: bold;
        }

            .full-news-content a:hover {
                color: #822323;
            }

    .rel-title {
        float: left;
        padding: 5px 10px 5px 10px;
        background: #419abc;
        color: #fff;
        font-weight: bold;
        font-size: 12px;
        margin: 0 0 10px 0;
    }

    .rel-news {
        padding: 30px 0 0 0;
        background: #fdfdfd url(/templates/for-foto/images/line-relat.png) 0 top repeat-x;
    }

        .rel-news-title{
            background: url(/templates/for-foto/images/point-title.png) 0 center repeat-x;
            margin: 0 25px 20px 25px;
        }
            .rel-news-title h4 {
                display: inline;
                font: bold 12px Arial;
                color: #333333;
                background: #fdfdfd;
                padding: 0 10px 0 0;
            }

        .rel-news-content{
            margin: 0 25px 20px 25px;
        }

            .rel-news-news{
                float: left;
                width: 184px;
                margin: 0 2px 0 3px;
            }

                .rel-news-news-image{
                    background: url(/templates/for-foto/images/relate-img-bg.png) 0 0 no-repeat;
                    width: 184px;
                    height: 117px;
                }

                    .rel-news-news-image:hover{
                        background: url(/templates/for-foto/images/relate-img-bg.png) 0 bottom no-repeat;
                    }

                    .rel-news-news-image-hidden{
                        position: relative;
                        top: 7px;
                        left: 7px;
                        width: 170px;
                        height: 103px;
                        overflow: hidden;
                    }

                        .rel-news-news-image-hidden img{
                            position: absolute;
                            top: 0px;
                            left: 0px;
                            width: 170px;
                            min-height: 103px;
                        }


            .rel-news-news h2 a{
                display: block;
                height: 48px;
                font: 12px Arial;
                color: #444444;
                overflow: hidden;
                padding: 2px 7px;
            }

                .rel-news-news h2 a:hover{
                    color: #cc6600;
                }

    .coments-block{
        padding: 50px 25px 0 25px;
        margin: 10px 0 0 0;
        background: url(/templates/for-foto/images/line-relat.png) 0 top repeat-x;
    }

        .coments-block strong{
            display: block;
            font: 17px Arial;
            color: #333333;
            background: url(/templates/for-foto/images/point-title.png) 0 bottom repeat-x;
            padding: 0 0 10px 0;
        }

.registr-please {
    color: #7791af;
    padding: 10px;
    margin: 5px;
}

.title_spoiler {
    position: relative;
    padding: 0;
    margin: 0;
}

    .title_spoiler a {
        background: url(/templates/for-foto/images/title_spoiler.jpg) left top repeat-x;
        display: block;
        line-height: 24px;
        padding: 0 10px 0 30px;
        text-decoration: none;
        color: #3b3b3b;
        font-weight: bold;
        border-radius:5px;
        -webkit-border-radius:5px;
        -moz-border-radius:5px;
        height: 24px
    }

    .title_spoiler img {
        position: absolute;
        left: 5px;
        top: 25px;
    }

.text_spoiler {
    border: 1px #ececec solid;
    padding: 10px;
    border-radius:5px;
    -webkit-border-radius:5px;
    -moz-border-radius:5px;
    margin: -5px 0 0 0;

}

    .text_spoiler a {

    }

        .text_spoiler a:hover {

        }

/* Вид комментария */
.comment-block {
    clear: both;
    margin: 0 0 10px 0;
    position: relative;
    padding: 5px 5px 5px 80px;


}

    .comment-block-left {
        width: 85px;
        height: 85px;
        overflow: hidden;
        position: absolute;
        left: 5px;
        top: 5px;
        background: #fff;
    }
        .fon-ava{
            width: 75px;
            height: 75px;
            overflow: hidden;
            background: url(/templates/for-foto/images/fon-ava.png) 0 0 no-repeat;
        }
        .comment-block-left img {
            max-width: 60px;
            margin: 7px 0 0 7px;
        }


    .comment-block-right {
        position: relative;
        padding: 0px 0 0 0;
    }

        .comment-block-right2 {

        }

            .comment-text {
                padding: 7px;
                color: #000;
                line-height: 12px;
                font-size: 11px;
            }



                .comment-text a {
                    color: #000;
                }

                    .comment-text a:hover {
                        text-decoration: none;
                    }

                .comment-text-title {
                    border-bottom: 1px #ebebeb dotted;
                    padding: 0 0 5px 0;
                    margin: 0 0 5px 0;
                    font-size: 10px;
                    color: #999999;
                }

                    .author {
                        font-size: 10px;
                        color: #333333;
                        padding: 0 10px 0 0;
                    }

                        .author a:hover {
                            color: #cc6633;
                        }

                .comment-text-more {
                    padding: 3px 0 0 0;
                    font-size: 11px;
                    color: #ccc;
                    border-top: 1px #ebebeb dotted;
                }

                    .comment-text-more a {
                        color: #a0a0a0;
                    }

                        .comment-text-more a:hover {
                            color: #000;
                        }

.comment-block .bbcodes, .mass_comments_action .bbcodes, .news-item-content .editor input, .news-item-content input {
    background: #fff;
    border: 1px #ccc solid;
    color: #333;
    border-radius:3px;
    -webkit-border-radius:3px;
    -moz-border-radius:3px;
    margin: 0;
    cursor: pointer;
}

.news-item-content{
    padding: 0 0 0 20px;
}
/* -------- */
.title_quote {
    color: #757575;
    border: 1px solid #d7bc84;
    border-bottom: 0px;
    padding: 3px;
    color: #641e0c;
}
.quote {
    background: #eadbbd;
    color: #000000;
    border: 1px solid #d7bc84;
    padding: 3px;
    font-size: 10px;
}

    .quote a {
        color: #000;
    }

/* ==================== Tэг CODE */

.scriptcode {
    color: #757575;
    background: #eadbbd;
    border: 1px solid #d7bc84;
    text-align: center;
    padding: 5px;
}

/* Добавление комментария */


.hidden-comment {
    padding: 10px 0 0 0;
}

    .hidden-comment h3 {
        float: left;
        height: 40px;
        background: url(/templates/for-foto/images/hidden-comment.jpg) left top repeat-x;
        border-radius:3px;
        -webkit-border-radius:3px;
        -moz-border-radius:3px;
        padding: 0 15px 0 15px;
        margin: 0 0 0 10px;
        font-size: 11px;
        color: #fff;
        line-height: 38px;
    }

        .hidden-comment h3:hover{
            background: url(/templates/for-foto/images/hidden-comment.jpg) left bottom repeat-x;
        }

    .hidden-comment2 {
        background: url(/templates/for-foto/images/hidden-comment.jpg) left bottom repeat-x !important;
    }

    .hidden-comment-form {
        display: none;
        clear: both;
    }

.add-coment-buttom {
    width: 100px;
    height: 30px;
    margin-right: 3px;
    color: #fff;
    border: 1px #2b2b2b solid;
}

.add-comment {
    clear: both;
    padding: 10px 10px 10px 0;
    border-radius: 0 0 3px 3px;
    -webkit-border-radius: 0 0 3px 3px;
    -moz-border-radius: 0 0 3px 3px;

}

    .add-comment a {
        color: #2b80c1;
    }

    .login-close {
        background: url(/templates/for-foto/images/login-close.png);
        width: 36px;
        height: 35px;
        cursor: pointer;
        position: absolute;
        right: 5px;
        top: 5px;
    }

.add-coment-buttom {
    width: 100px;
    height: 30px;
    margin-right: 3px;
    color: #fff;
    border: 1px #2b2b2b solid;
}

.add-comment {
    clear: both;
    padding: 10px;
    border-radius: 0 0 3px 3px;
    -webkit-border-radius: 0 0 3px 3px;
    -moz-border-radius: 0 0 3px 3px;

}

    .add-comment a {
        color: #2b80c1;
    }

        .add-comment a:hover {

        }

    .add-comment-line {
        clear: both;
    }

        .add-comment-line-left {
            float: left;
            width: 90px;
            padding: 0 0 5px 0;
            height: 27px;
            line-height: 27px;
        }

        .add-comment-line-right {
            float: left;
            width: 500px;
            padding: 0 0 5px 0;
        }

            .add-comment-line-right input {
                border-radius:3px;
                -webkit-border-radius:3px;
                -moz-border-radius:3px;
                background: #fff;
                height: auto !important;
                padding: 5px 10px 5px 10px;
                border: 1px #e8e8e8 solid;
            }
.s-block .add-comment-line-left {
    width: 150px !important;
}

.s-block .add-comment-line-right {
    width: 400px !important;
}

.s-block .add-comment-line {
    padding: 0 0 10px 0;
}

.s-block .add-comment-line textarea {
    border-radius:3px;
    -webkit-border-radius:3px;
    -moz-border-radius:3px;
    background: #fff;
    height: auto !important;
    padding: 5px 10px 5px 10px;
    border: 1px #e8e8e8 solid;
    height: 200px !important;
}

/*
*****************************
Юзер инфа */
.user-info-table {
    width: 90%;
    margin: 0 00px 0 20px;

}

    .user-info-table td {
        padding: 5px 5px 20px 5px;
        text-align: left;
    }

        .user-info-table td small {
            font-size: 14px;
            color: #af86522;
            font-weight: bold;
        }

        .user-info-table td a {
            color: #ff863d;
        }

        .user-info-table td i {
            color: #bfbfbf;
        }

        .buttom-add-news {
            margin: 5px 20px 5px 0;
            background: #777777;
            color: #fff;
            border: 1px #2b2b2b solid;
        }

        .user-info-table input {
            background: url(/templates/for-foto/images/form-text.gif);
            color: #2e2e2e;
            border: 1px #d0d0d0 solid;
        }


/* Инфо */
.error {
    padding: 10px;
    padding-bottom: 150px;
    background: url(/templates/for-foto/images/error.png) center bottom no-repeat;
    text-align: center;
}

    .error p {
        font-size: 15px;
        font-weight: bold;
    }

    .error a {
        color: #7cad37;
    }

/* Статистика */
.lost-pass {
    width: 400px;
    background: #fef2e4;
    margin-bottom: 20px;
    border-top: 5px #9d7038 solid;
    margin-top: 10px;
}


    .lost-pass td {
        background: #fef2e4;
        padding: 5px;
        color: #4b2e12;
        text-align: left;
    }

        .lost-pass td a {
            color: #c89539;
        }

.ststs-title {
    padding: 5px 5px 5px 20px;
    color: #60360c;
    text-align: left;
    font-weight: bold;
}

/* Статические страницы */
.ststststs {
    text-align: left;
    margin: 0 30px 0 30px;
}

    .ststststs-t {
        height: 40px;
        line-height: 35px;
        color: #fffdcc;
        margin: 0 30px 0 10px;
    }

        .ststststs-t h1 {
            margin: 0;
            padding: 0 0 0 50px;
            font-size: 14px;
        }

    .ststststs-c {
        padding: 20px;
    }

        .ststststs-c img {
            padding: 0 10px 10px 0;
            background: url(/templates/for-foto/images/shadow.gif) right bottom;
            border: 0;
            margin: 10px 10px 10px 0;
        }

        .ststststs-c input {
            margin: 5px 20px 0 0;
            background: url(/templates/for-foto/images/form-text.gif);
            color: #2e2e2e;
            border: 1px #d0d0d0 solid;
        }

    .ststststs-s {
        padding: 5px;
    }
        .ststststs-s a {
            color: #60360c;
        }

.s-block-content {
    padding: 10px;

}

#dle-content {
    min-height: 1440px;
}

    .s-block-content a {
        color: #871012;
    }

/* добавление новости */
.add-news-title {
    padding: 5px 5px 0 50px;
    font-weight: bold;
    text-align: left;
    color: #2d7cff;
}

/* ПМ */
.imp {
    text-align: left;
    margin: 0 30px 0 30px;
}

    .imp input {
        margin: 5px 20px 0 0;
        background: url(/templates/for-foto/images/form-text.gif);
        color: #2e2e2e;
        border: 1px #d0d0d0 solid;
    }

.pm-tititittile {
    padding: 10px 10px 10px 5px;
    font-weight: bold;
}

.new-PM {
    padding: 3px;
}

    .new-PM input {
        width: 250px;
        background: url(/templates/for-foto/images/form-text.gif);
        color: #2e2e2e;
        border: 1px #d0d0d0 solid;
    }

    .new-PM span {
        width: 150px;
        margin-right: 20px;
        display: block;
    }

.pm-block {
    height: 30px;
    padding-left: 60px;
    line-height: 30px;
    font-weight: bold;
}

.pm-content {
    padding: 10px 5px 5px 5px;
}

    .pm-content a {
        color: #666666;
        font-weight: bold;
    }

.pm-block-menu {
    height: 50px;
    margin-bottom: 20px;
    line-height: 50px;
    padding-left: 0px;
    font-size: 12px;
}

    .pm-block-menu a {
        color: #ff863d;
        font-weight: bold;
    }

.a-mess {
    border-top: 5px #fff solid;
    padding: 5px;
    color: #777777;
}

    .a-mess a {
        color: #4a4a4a;
        font-weight: bold;
    }

.theme-mess {
    background: #c6c6c6;
    padding: 5px;
    border-top: 5px #fff solid;
    color: #666666;
    font-weight: bold;
}

/* Результаты поиска и форма поика на главной */
.search-block {
    position: absolute;
    width: 261px;
    height: 35px;
    left: 0px;
    top: 0px;
    padding: 0 0 10px 0;
    background: url(/templates/for-foto/images/search-block.png) left top no-repeat;
}

    #tt_social a {
        width: 24px;
        height: 24px;
        margin: 0 2px 2px 0;
        display: block;
        float: left;
    }

    .ttfav {
        float: left;
        padding: 10px 0 0 25px;
    }

    .ttfav-title {
        padding: 5px 0 5px 3px;
        font-weight: bold;
        color: #bbbbbb;
    }

        .form-text {
            color: #999999;
            font-size: 12px;
            border: 0;
            margin: 0;
            padding: 0;
            background: none;
            position: absolute;
            left: 10px;
            top: 10px;
            width: 217px;
        }

        .form-search {
            position: absolute;
            right: 0px;
            top: 6px;
            border: 0px;
        }

.search-rez {
    text-align: left;
    margin: 0 30px 0 30px;

}

.search-title {
    padding: 10px;
    color: #fdffcd;
    font-weight: bold;
    border-left: 2px #ffddb5 solid;
    border-right: 2px #ffddb5 solid;
    margin: 10px;
    background: #262626;
}

.search-rez input {

        background: url(/templates/for-foto/images/form-text.gif);
        color: #2e2e2e;
        border: 1px #d0d0d0 solid;
}

/* Навигация по страницам */
.navigation {
    padding: 10px;
    clear: both;
}

    .navigation a {
        border-radius: 5px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        background: rgba(255, 255, 255, 0.8) !important;
        height: 20px;
        line-height: 20px;
        float: left;
        font-weight: bold;
        text-decoration: none;
        color: #828282;
        margin: 0 5px 0 0;
        font-size: 11px;
    }

        .navigation a:hover {
            background: #111 !important;
            color: #fff;
        }

    .navigation span {
        border-radius: 5px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        background: rgba(0, 0, 0, 0.2);
        height: 20px;
        line-height: 20px;
        float: left;
        font-weight: bold;
        text-decoration: none;
        color: #fff;
        margin: 0 5px 0 0;
        font-size: 11px;
    }

.vote-pool {
    margin: 20px 0 0 100px;
    background: #dbf6ff;
    width: 400px;
    padding: 10px;
}

    .vote-pool img {
        border: 0;
        padding: 0;
    }

    .vote-pool h5 {
        color: red;
        font-size: 13px;
        margin: 0;
    }

    .vote-pool h6 {
        margin: 0;
        font-size: 12px;
    }

    .vote-pool input {
        margin: 5px 20px 0 0;
        background: url(/templates/for-foto/images/form-text.gif);
        color: #2e2e2e;
        border: 1px #d0d0d0 solid;
    }

.statss {
    width: 100%;
}

    .statss  td {
        padding: 5px;
        font-size: 12px;
        color: #757575;
    }

    .statss a {
        color: #ff873e;
    }

.statss-title {
    font-size: 13px;
    font-weight: bold;
    color: #239aff;
    border-bottom: 1px #8e8e8e dotted;
    margin-bottom: 10px;
}



.form-input-stand {
    background: url(/templates/for-foto/images/form-text.gif);
    color: #2e2e2e;
    border-radius:3px;
                -webkit-border-radius:3px;
                -moz-border-radius:3px;
                background: #fff;
                height: auto !important;
                padding: 5px 10px 5px 10px;
                border: 1px #e8e8e8 solid;
                width: 130px;
}

.shot-title {
    color: #61a0ff;
    padding: 5px;
}

    .shot-title h1 {
        font-size: 18px;
        padding-left: 10px;
    }

        .shot-title h1 i {

        }

.img-top-link {
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
}

.fix-bb {
    margin-right: 2%;
    background: url(/templates/for-foto/bbcodes/bg.gif);
    height: 75px;
    margin-left: -10px;
    border: 1px solid #bbb;
    border-bottom: 0;
}

    .fix-bb div {
        border: 0 !important;
    }

@-moz-document url-prefix()
{

}


/* DLE 8.5 */

/* Вид изображения: с прямыми краями и тенью */
.wide-border {
    background: white;
}
.wide-border .highslide-image {
    border-width: 10px;
}
.wide-border .highslide-caption {
    padding: 0 10px 10px 10px;
}

/* Вид изображения: только тень */
.borderless .highslide-image {
    border: none;
}
.borderless .highslide-caption {
    border-bottom: 1px solid white;
    border-top: 1px solid white;
    background: white;
}

/* Вид изображения: только рамка без тени */
.less .highslide-image {
    border: 1px solid #000000;
}
.less .highslide-caption {
    border: 1px solid #000000;
    background: white;
}


/* DLE 9.0 */

/* ==================== Информационное оконо загрузки AJAX */
#loading-layer {
    display:none;
    font-family: Verdana;font-size: 11px;
    background:#000;padding:10px;
    text-align:center;
    border:1px solid #000;
    color: #FFF;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}

/* ==================== Быстрый поиск на сайте */
#searchsuggestions { border-width:1px; border-color:#919191; border-style:solid; width:300px; background-color:#ba8c60; font-size:10px; line-height:14px; }
#searchsuggestions a { padding:5px;display:block; background-color:#ecddbe; clear:left; height:70px; text-decoration:none; }
#searchsuggestions a:hover { background-color:#fdd08b; color:#ffffff; }
#searchsuggestions a span.searchheading { background: #ba8c60; display:block; font-weight:bold; padding:5px; color:#ffffff; }
#searchsuggestions a:hover span.searchheading { color:#ffffff; }
#searchsuggestions a span {color:#555555; }
#searchsuggestions a:hover span { color:#0000; }
#searchsuggestions span.seperator { float:right; padding-right:15px; margin-right:5px;}
#searchsuggestions span.seperator a { background-color:transparent; display:block; height:auto; color:#ffffff; }
#searchsuggestions span.notfound {  padding:5px;background-color:#ffffff; display:block; height:auto; color:#00000; }
/* ==================== Диалоговые и всплывающие окна jQuery UI */
.ui-helper-clearfix:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}
.ui-helper-clearfix {
    display: inline-block;
}
* html .ui-helper-clearfix {
    height: 1%;
}
.ui-helper-clearfix {
    display: block;
}
.ui-icon {
    background-repeat: no-repeat;
    display: block;
    overflow: hidden;
    text-indent: -99999px;
}
.ui-widget {
    font-family: Tahoma, Lucida Sans, Arial, sans-serif;
    font-size: 11px;
}
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
    font-family: tahoma, Arial, sans-serif;
    font-size: 11px;
}
.ui-widget-content {
    background: #fcfdfd 50% bottom repeat-x;
    border: 1px solid #a6c9e2;
    color: #222222;
    text-align: left;
}
.ui-widget-content a {
    color: #222222;
}
.ui-widget-header {
    background: #5c9ccc url(/templates/for-foto/images/ui-bg_gloss-wave.png) 50% 50% repeat-x;
    border: 1px solid #4297d7;
    color: #ffffff;
    font-weight: bold;
}
.ui-widget-header a {
    color: #ffffff;
}
.ui-state-default, .ui-widget-content .ui-state-default {
    background: #dfeffc url(/templates/for-foto/images/ui-bg_glass_85.png) 50% 50% repeat-x;
    border: 1px solid #c5dbec;
    color: #2e6e9e;
    font-weight: bold;
}
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited {
    color: #2e6e9e;
    text-decoration: none;
}
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus {
    background: #d0e5f5 url(/templates/for-foto/images/ui-bg_glass_75.png) 50% 50% repeat-x;
    border: 1px solid #79b7e7;
    color: #1d5987;
    font-weight: bold;
}
.ui-state-hover a, .ui-state-hover a:hover {
    color: #1d5987;
    text-decoration: none;
}
.ui-state-active, .ui-widget-content .ui-state-active {
    background: #f5f8f9 50% 50% repeat-x;
    border: 1px solid #79b7e7;
    color: #e17009;
    font-weight: bold;
}
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
    color: #e17009;
    text-decoration: none;
}
.ui-widget :active {
    outline: none;
}
.ui-state-error {
    background: #fef1ec 50% 50% repeat-x;
    border: 1px solid #cd0a0a;
    color: #cd0a0a;
}
.ui-widget-header .ui-icon {
    background-image: url(/templates/for-foto/images/ui-icons.png);
}
.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {
    background-image: url(/templates/for-foto/images/ui-icons_h.png);
}
.ui-icon-close {
    background-position: -80px -128px;
}
.ui-icon-closethick {
    background-position: -96px -128px;
}
.ui-button .ui-button-text {
    display: block;
    line-height: 1.4;
}
.ui-button-text-only .ui-button-text {
    padding: .4em .8em;
}
input.ui-button {
    padding: .4em 1em;
}
.ui-button-set {
    margin-right: 7px;
}
.ui-button-set .ui-button {
    margin-left: 0;
    margin-right: -.3em;
}
button.ui-button::-moz-focus-inner {
    border: 0;
    padding: 0;
}
.ui-dialog {
    overflow: hidden;
    padding: .2em;
    position: absolute;
    width: 300px;
    text-align: left;
}
.ui-dialog .ui-dialog-titlebar {
    padding: .5em 1em .3em;
    position: relative;
}
.ui-dialog .ui-dialog-title {
    float: left;
    margin: .1em 16px .2em 0;
}
.ui-dialog .ui-dialog-titlebar-close {
    height: 18px;
    margin: -10px 0 0 0;
    padding: 1px;
    position: absolute;
    right: .3em;
    top: 50%;
    width: 19px;
}
.ui-dialog .ui-dialog-titlebar-close span {
    display: block;
    margin: 1px;
}
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus {
    padding: 0;
}
.ui-dialog .ui-dialog-content {
    background: none;
    border: 0;
    overflow: hidden;
    padding: .5em 1em;
    position: relative;
    zoom: 1;
    text-align: left;
}
.ui-dialog .ui-dialog-buttonpane {
    background-image: none;
    border-width: 1px 0 0 0;
    margin: .5em 0 0 0;
    padding: .3em 1em .5em .4em;
    text-align: left;
}
.ui-dialog .ui-dialog-buttonpane button {
    cursor: pointer;
    float: right;
    line-height: 1.4em;
    margin: .5em .4em .5em 0;
    overflow: visible;
    padding: .2em .6em .3em .6em;
    width: auto;
}
.ui-dialog .ui-resizable-se {
    bottom: 3px;
    height: 14px;
    right: 3px;
    width: 14px;
}
.ui-draggable .ui-dialog-titlebar {
    cursor: move;
}

.commentS-td2 #b_left, .commentS-td2  #b_center, .commentS-td2  #b_right, .commentS-td2 #b_spoiler {
        display: none;
    }

.nono #b_left, .nono  #b_center, .nono  #b_right, .nono #b_spoiler {
        display: none;
    }

#searchtable input{
    max-width: 150px !important;
}

/* ДЛЕ 9.2 */
.editor input[type="text"] { padding: 2px; background: #fff url("/templates/for-foto/images/fields.png") repeat-x; border: 1px solid #bcc0c2; }

/* ==================== Автозаполнение облака тегов */
.ui-autocomplete { position: absolute; cursor: default; }

* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */

.ui-menu {
    list-style:none;
    padding: 2px;
    margin: 0;
    display:block;
    float: left;
    background: #fff 50% bottom repeat-x; border: 1px solid #dedede; color: #222;
}
.ui-menu .ui-menu {
    margin-top: -3px;
}
.ui-menu .ui-menu-item {
    margin:0;
    padding: 0;
    zoom: 1;
    float: left;
    clear: left;
    width: 100%;
}
.ui-menu .ui-menu-item a {
    text-decoration:none;
    display:block;
    padding:.2em .4em;
    line-height:1.5;
    zoom:1;
}
.ui-menu .ui-menu-item a.ui-state-hover,
.ui-menu .ui-menu-item a.ui-state-active {
    font-weight: normal;
    margin: -1px;
    border: 1px solid #a7a7a7;
    color: #4e4e4e;
    font-weight: bold;
}

.full-news-custom-content p, .r-custom-text p {
    margin: 0;
    padding: 0;
}

/*  */


.sp_search {

    width:486px;
    margin: 0 0 15px 0;
    border: 2px #fff solid;
}

.sp_search_head {
    height:37px;
    padding:5px;
    color:#888;
    font:bold 17px Arial;
    line-height:40px;
    text-transform:uppercase;
    background:#fff;
    border-bottom: 1px #ccc solid;
}

.sp_search_head img {float:left;margin-right:7px;}

.sp_search_table {
    font:11px Tahoma;
    color:#080808;
    width:100%;
    text-align:left;
    background:#d5f3ff ;
}

.sp_search_table .sp_s1 {color:#1e81ba;text-decoration:underline;font-weight:bold;}
.sp_search_table .sp_s2 {color:#1e81ba;text-decoration:underline;font-weight:bold;}
.sp_search_table .sp_s3 {color:#1e81ba;text-decoration:underline;font-weight:bold;}
.sp_search_table .sp_s4 {color:#1e81ba;text-decoration:underline;font-weight:bold;}

.sp_search_table td.sp_name {
    padding:6px 10px 8px 0;
    vertical-align:top;
    font:12px Tahoma;
    color:#080808;
}

.sp_search_table a.sp_lnk {
    font:12px Tahoma;
    color:#080808;
    text-decoration:underline;
}
.sp_search_table a.sp_lnk b {
    font-weight:bold;
}

.sp_search_table a.sp_lnk:hover, .sp_search_table a.sp_lnk:hover span {text-decoration:none;}

.sp_search_table td.sp_count {
    padding:6px 24px 8px 0;
    vertical-align:top;
    text-align:right;
}

.sp_search_table td.sp_count span.sp_count_sp {
    color:#000;
    font-weight:bold;
}

.sp_search_table td.sp_count span.sp_count_sp2 {
    color:#1e81ba;
    font-weight:bold;
}

.sp_search_table td.sp_name .sp_im_bl {
    float:left;
    margin:-4px 0 0 0;
    width:44px;
}
.sp_search_table td.sp_name .sp_im_bl img {
    display:block;
    margin:0 auto;
}

/*---Подсветка кода в теге [code]---*/
pre code {
  display: block; padding: 0.5em;
  background: #f9fafa;
  border: 1px solid #dce7e7;
  overflow:auto;
  white-space: pre;
}

pre .comment,
pre .template_comment,
pre .diff .header,
pre .doctype,
pre .lisp .string,
pre .javadoc {
  color: #93a1a1;
  font-style: italic;
}

pre .keyword,
pre .css .rule .keyword,
pre .winutils,
pre .javascript .title,
pre .method,
pre .addition,
pre .css .tag,
pre .lisp .title {
  color: #859900;
}

pre .number,
pre .command,
pre .string,
pre .tag .value,
pre .phpdoc,
pre .tex .formula,
pre .regexp,
pre .hexcolor {
  color: #2aa198;
}

pre .title,
pre .localvars,
pre .function .title,
pre .chunk,
pre .decorator,
pre .builtin,
pre .built_in,
pre .lisp .title,
pre .identifier,
pre .title .keymethods,
pre .id {
  color: #268bd2;
}

pre .tag .title,
pre .rules .property,
pre .django .tag .keyword {
  font-weight: bold;
}

pre .attribute,
pre .variable,
pre .instancevar,
pre .lisp .body,
pre .smalltalk .number,
pre .constant,
pre .class .title,
pre .parent,
pre .haskell .label {
  color: #b58900;
}

pre .preprocessor,
pre .pi,
pre .shebang,
pre .symbol,
pre .diff .change,
pre .special,
pre .keymethods,
pre .attr_selector,
pre .important,
pre .subst,
pre .cdata {
  color: #cb4b16;
}

pre .deletion {
  color: #dc322f;
}

pre .tex .formula {
  background: #eee8d5;
}

/*---прогресс бар заполненности персональных сообщений---*/
.pm_progress_bar {
    border: 1px solid #d8d8d8;
    padding: 1px;
    margin: 0 5px;
}

.pm_progress_bar span {
    background: #000000;
    font-size: 0em;
    text-indent: -2000em;
    height: 10px;
    display: block;
    overflow: hidden;

}

.pm_status {
    float:left;
    border: 1px solid #d8d8d8;
    padding: 0;
    background-color: #fff;
    width: 100%;
    height: 150px;
    margin-right: 10px;
}
.pm_status_content{
    padding: 0 10px 0 10px;
}

.pm_status_head {
    border-bottom: 1px solid #d8d8d8;
    background: #fff url("/templates/for-foto/images/bbcodes.png") repeat-x 0 100%;
    font: 12px Tahoma;
    padding: 10px;
    margin: 0;
    font-weight: bold;
    text-align: center;
    vertical-align: top;
    color: #4e4e4e;
}

.sidebar {
    background: url("/templates/for-foto/images/nav_bg_sidebar.gif") repeat-y;
}


/* links */

.nav_bg_5 ul li span.prtn {
    display: block;
    margin: 0 0 0 5px;
    padding: 0 0 0 10px;
}
.nav_bg_5 ul li span.prtn a {
    display: inline;
    margin: 0;
    padding: 0;
}