*:first-child+body{
    /*disable ClearType on IE7 */
    filter:progid:DXImageTransform.Microsoft.Gradient
        (GradientType=0,
        StartColorStr='#00FFFFFF',
        EndColorStr='#00FFFFFF');
}
* html {
    /* fix flickering ie6 bug on background images */
    filter: expression(document.execCommand("BackgroundImageCache", false, true));
}

/* ========================================================================================*/
/* ===== general setup ====================================================================*/
body, div, table, form, label, input, button, ul, ul li, p, h1, h2, h3{
    padding: 0;
    margin: 0;
}
body,table{
    line-height:16px;
}
h1{
    font-family: Georgia, Georgia, serif;
    font-size: 14px;
    line-height: 16px;
    font-weight: bold;
}
h1 a{
    font-family: Georgia, Georgia, serif;
    font-size: 14px;
    line-height: 16px;
    font-weight: bold;
}

ul li {
    list-style-type: none;
}

a{
    color: #0072BC;
    text-decoration:none;
}

a:hover{
    text-decoration:underline;
}
a:active{
    outline: none;
}
a:focus{
    -moz-outline-style: none;
}

p a{
    color: #979797;
    text-decoration:underline;
}

a img {
    border: 0px;
}
button{
    border:none;
}

.fl{float:left;}
.fr{float:right;}

div.clear {
    clear: both !important;
    display: block !important;
    visibility: hidden !important;
    height: 0px;
    margin: 0px;
    padding: 0px;
    width: 0px;
    font-size: 0px;
    line-height: 0px;
}

body, table{
    font-family: arial, "lucida console", sans-serif;
    color: #252525;
    font-size: 12px;
}

#header{
    font-size: 8pt;
}
#headtop,
#headtop-err,
#headtop-banner{
    background-color: #004A80;
    width:1000px;
    color: white;
    line-height:0;
}
#headtop-banner .ox-spacer{
    height:0;
}
#headtop-banner div{
    z-index: 11;
    margin:0px auto;
}
#headtop_streacher{
    height:0px;
    width:1000px
}
#headtop-err strong{
    padding-left: 3px;
}
#headtop{
    height: 30px;
}

#headtop-err{
    padding:3px 0px 2px;
}

#header .top-spacer{
    width: 170px;
    float:right;
}
#header .top-search .top-search-field{
    float:left;
}
#header .top-search .top-search-field input{
    border:1px solid #666666;
    color:gray;
    font-size:11px;
    height:16px;
    _height:18px;
    width:210px;
}
#header .top-search .top-search-button{
    float:left;
    background:#666666 none repeat scroll 0 0;
    display:table-cell;
    height:18px;
    padding:0 7px;
    overflow:hidden;
    *margin-top:1px;
}
#header .top-search .top-search-button input{
    position:relative;
    color:white;
    cursor:pointer;
    font-size:11px;
    font-weight:normal;
    height:14px;
    margin:0;
    border:0;
    background:0;
    padding:0;
    line-height:13px;
    *line-height:14px;
    _line-height:16px;
}
#header .top-search{
    float: left;
}
#header .search-form-holder{
    margin-top:5px;
}
#header .top-login{
    float: right;
    display:inline-block;
    margin-right:5px;
}
#header .top-register{
    float: right;
    display:inline-block;
    padding-left: 1px;
    padding-right: 3px;
    margin-right:10px;
    _padding-left: 3px;
}
#header .top-authorized{
    float: left;
    width: 170px;
    text-align: right;
    line-height: 25px;
    margin-top:2px;
}
#header .top-authorized a{
    margin-right: 20px;
    color: white;
}
#headtop{
    position:relative;
    padding:0;
    margin:0;
}
#headtop a.to-home{
    display: block;
    position:absolute;
    left: 80px;
    top: 8px;
    color:white;
}
#headtop a.bookmark-home{
    display: block;
    color:white;
    line-height:29px;
}
#headtop .back-to-home{
    float:left;
    margin-left:18px;
    margin-right:20px;
}
#headtop .link-to-lifenews{
    background-color:#F26522;
    float:left;
    padding:0 12px;
}
#headtop .link-to-lifenews a, #headtop .link-to-kriminal a{
    color:white;
    font-family:arial;
    font-size:13px;
    font-weight:bold;
    line-height:30px;
}
#headtop .link-to-kriminal{
    background-color:black;
    float:left;
    padding:0 12px;
}
#headtop .media-block-menu{
    float:left;
    margin-left:30px;
    margin-top:10px;
}
#headtop .media-block-menu .media-item{
    float:left;
    margin:0 7px;
}
#headtop .media-block-menu .media-item .media-block-menu-link{

}
#headtop .media-block-menu .media-item .media-block-menu-link a{
    color:white;
    line-height:9px;
}
#headtop .media-block-menu .media-item .media-block-menu-link a.audio_icon{
    background:transparent url(http://www.telegraf.lv/images/audio_icon_white.png) no-repeat scroll left center;
}
#headtop .media-block-menu .media-item .media-block-menu-link a.photo_icon{
    background:transparent url(http://www.telegraf.lv/images/photo_icon_white.png) no-repeat scroll left center;
}
#headtop .media-block-menu .media-item .media-block-menu-link a.annonc_icon{
    background:transparent url(/images/annonc_icon_white.png) no-repeat scroll left center;
}
#headtop .media-block-menu .media-item .media-block-menu-link a.video_icon{
    background:transparent url(http://www.telegraf.lv/images/video_icon_white.png) no-repeat scroll left center;
}
#headtop .media-block-menu .media-item .media-block-menu-link a.blog_icon{
    background:transparent url(http://www.telegraf.lv/images/blog_icon_white.png) no-repeat scroll left center;
}
#headtop .media-block-menu .media-item .media-block-menu-link a {
    _behavior: url(http://www.telegraf.lv/iepngfix.htc);
    padding-left:17px;
}
#headtop #rss_top{
    background:transparent url(http://www.telegraf.lv/images/rss.png) no-repeat scroll left center;
    cursor:pointer;
    float:right;
    font-size:14px;
    font-weight:bold;
    height:30px;
    margin-right:20px;
    padding:0 0 0 23px;
}
#headtop #rss_top a{
    color:white;
    font-size:12px;
    line-height:28px;
}
#headtop form{
    padding-top: 5px;
    *padding-top: 4px;
}

#headtop input{
    display: block;
    float: left;
    border: 0px solid #0072bc;
    background-color: #004A80;
    margin-right: 8px;
    color:#80A5C0;
    height:18px;
    _height:20px;
    font-size: 9pt;
    vertical-align:text-top;
}
#headtop .top-search input{width: 160px;}
#headtop .top-login input{width: 100px;}
#headtop .top-login label{float:left;padding-top:2px;}
#headtop .top-login .remember-me, .line .remember-me{
    width:20px;
    height:20px;
}
.top-login .line label{
    float:left;
}
#headtop button{
    display: block;
    float: left;
    margin: 0;
    padding: 0;
    background: transparent;
    color:white;
    font-weight: normal;
    font-size: 8pt;
    padding-bottom: 3px;
    _padding-bottom: 0px;
    line-height: 20px;
    height: 20px;
    _line-height: 19px;
}

#headtop button.light, #headtop a.light{
    font-weight: bold;
    background: #0072bc;
    padding-left: 3px;
    padding-right: 3px;
    @padding-left: 5px;
    @padding-right: 5px;
}
#headtop a.light{
    color:white;
    line-height:20px;
    margin-left:3px;
    padding-bottom:3px;
    padding-top:3px;
}
#headtop a.light:hover{
    text-decoration:none;
}
#headmain{
    position: relative;
    height: 105px;
    width:980px;
    color: black;
}
#logo{
    position: absolute;
    left: 25px;
    top: 38px;
}
#weather-icon{
    position: absolute;
    left: 625px;
    top: -30px;
    *top:-34px;
    z-index: 5;
}
#header .date{
    position: absolute;
    left:25px;
    top: 10px;
}
#widgets{
    left:540px;
    top: 0px;
    position:absolute;
    z-index: 10;
    text-align:left;
}
#widgets div.widget{
    float:left;
    margin-left:20px;
    width: 160px;
    font-size: 10px;

}
#widgets div.first{
    margin-left:0px !important;
}
#widgets div.narrow{
    width: 100px !important;
}
#widgets div.narrow p{
    margin-top:-2px;
    text-align:left;
}
#widgets div.narrow p span{
    line-height:16px;
}
#widgets div.widget .title{
    padding: 10px 0px 12px;
}
#widgets div.first .title{
    padding-left: 30px !important;
}
#widgets .widget ul li label{
    display: inline-block;
    width: 70px;
}
#widgets .widget ul li sup{
    line-height:8px;
}
#widgets .widget ul.short-label li label{
    width: 35px;
}
#widgets .widget ul.short-label li span{
    width: 40px;
}
#widgets .widget ul li span{
    display: inline-block;
    width: 85px;
}
#widgets .widget li{
    height: 16px;
}
#widgets .widget li.up{
    list-style-image: url(http://www.telegraf.lv/images/li-up.png);
    list-style-position: outside;
}
#widgets .widget li.down{
    list-style-image: url(http://www.telegraf.lv/images/li-down.png);
    list-style-position: outside;
}
#headbottom{
    position: relative;
}
#menus{
    width: 1000px;
    /*@width: 900px;
    /*_width: 925px;
    /*border-bottom: 4px solid #252525;*/
    height:20px;
}
#menus .first-level{
    background-color:#f0f3f6;
}
#menus .second-level{
    display:block;
    height:28px;
    padding-left:25px;
    width:975px;
    _width:1000px;
    position:relative;
}
.blog-second-level a.curr{
    text-decoration:underline !important;
}
#menus .menus-column{
    width:700px;
    float:left;
}
#menus .menus-column-search{
    float:right;
    margin-right:20px;
}
#menus ul{
    float:left;
    padding: 5px 0px 6px;
    font-size:15px;
    font-weight:bold;
}
#menus ul li{
    display: inline;
    line-height: 11pt;
}
#menus ul li.cur{
    /*font-size: 18px !important;*/
    color: #a1a1a1 !important;
}
#menus ul li.cur a{
    /*font-size: 18px !important;*/
    /*color: #a1a1a1 !important;*/
    text-decoration:underline !important;
}

#menus ul.by-category{
    padding-left:25px;
}
#menus .category-cur-arrow{
    bottom:-5px;
    _bottom:0px;
    font-size:4px;
    display:block;
    height:4px;
    position:absolute;
    width:14px;
    background:transparent url(http://www.telegraf.lv/images/cat_arrow.png) no-repeat scroll left top;
    left: 40%;
    _left: 20px;
    padding:0;
    margin:0;
}
#menus .category-cur-arrow{
    _behavior: url(http://www.telegraf.lv/iepngfix.htc);
}
#menus ul.by-category,
#menus ul.by-type{
    padding-right: 30px;
    padding-right: 20px;
}
#menus ul.and-by-tag{
    font-size: 12px;
    padding-top: 5px;
}
#menus ul.by-category li{
    position:relative;
}
#menus ul.by-category li,
#menus ul.and-by-tag li{
    margin-right:10px;
    color: #004a80;
}
#menus ul.by-category li a{
    text-decoration:none;
    color: #004a80;
}
#menus ul.and-by-tag li a{
    text-decoration:none;
    color: white;
}
#menus ul.by-type li{
    margin-right:8px;
    color: #790000;
}
#menus ul.by-type li a{
    text-decoration: none;
    color: #790000;
}

#menus ul.by-addition{
    @width:140px;
}
#menus ul.by-addition li{
    margin-right:8px;
    color: #0072bc;
}
#menus ul.by-addition li a{
    text-decoration: none;
    color: #0072bc;
}
#bottom-menus .menus-column{
    float:left;
}
#bottom-menus{
    padding-left: 20px;
}
#bottom-menus ul{
    float:left;
    padding: 15px 45px 0 0;
    font-size: 14px;
}
#bottom-menus ul li{
    display: inline;
    line-height: 16px;
    padding-right: 6px;
}
#bottom-menus ul li a{
    color: white;
    text-decoration: none;
}

#rss{
    position: absolute;
    left: 894px;
    top: 4px;
    padding:1px 0 1px 23px;
    background:transparent url(http://www.telegraf.lv/images/rss.png) no-repeat scroll left center;
    color: #0072bc;
    cursor: pointer;
    font-weight:bold;
    font-size: 14px;
}
#fresh{
    padding-left:18px;
    width:982px; /*849*/
    _width:1000px;
    overflow:hidden;
    height:40px;
    line-height: 40px;
    background: #ececec;
}
#ajax-login{
    _position:absolute;
    _left:40%;
    _top:45%;
    border: solid 2px #004A80;
    padding: 15px;
    background-color: #f4f4f4;
}
#ajax-login .line{
    padding-bottom: 5px;
}
#ajax_login_password,
#ajax_login_name{
    width: 150px;
}
button{background: url(http://www.telegraf.lv/images/btn-l.gif) top left no-repeat;}
button span {
    position: relative;
    display: inline-block;
    white-space: nowrap;
    padding: 0 12px 0 0px;
    height: 23px;
    font-size: 11px !important;
    line-height: 23px;
    color: white;
}
button {
    line-height: 23px;
    height: 23px;
    border: 0;
    margin: 0px;
    cursor: pointer;
    font-size: 11px;
    font-weight: bold;
    padding: 0px 0px 0px 9px;
    vertical-align: bottom;
    @margin-right: 4px;
    @padding-left: 12px;
    _margin-bottom:-1;
    @width: auto;
    @overflow: visible;
}
button span{background: url(http://www.telegraf.lv/images/btn-r.gif) top right no-repeat;}
.gecko button span {
    margin-top:-2px;
}

