/*
Theme Name: Geir-model
Theme URI:
Description: A theme for Wordpress.
Version:
Author:
Author URI:
License: GNU General Public License
License URI:
Tags:
*/

*{margin: 0; padding: 0;}
html{height: 100%;}
body{
    width: 100%;
    height: 100%;
    background: url(img/bg.jpg) repeat left top;
    font-family: Arial, "Helvetica CY", "Nimbus Sans L", sans-serif;
    font-size: 12px;
    color: #fff;
}
input{vertical-align: top;}
input:focus{outline: 0 none;}
textarea:focus{outline: 0 none;}
.clear{clear: both;}
ul{
    list-style: none;
}
img{
    border: 0;
}
.clear{
    clear: both;
}
a{
    color: #1782ab;
    text-decoration: underline;
    outline: 0;
}
a:hover{
    text-decoration: none;
}

#top{
    width: 100%;
    height: 482px;
    background: url(img/top.jpg) repeat-x left top;
    position: absolute;
    left: 0;
    top: 0;
}
#wrapper{
    width: 980px;
    min-height: 100%;
    height: auto !important;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}


/* Header
-----------------------------------------------------------------------------*/
#header{
    background: url(img/header.png) no-repeat top center;
    padding-top: 10px;
    text-align: center;
    margin-bottom: -13px;
}
.head{
    padding: 0 191px 0 139px !important;
    text-align: left !important;
}
.head-l{
    width: 323px;
    float: left;
    padding-top: 7px;
    position: relative;
}
.head-l h1{
    font-size: 20px;
    color: #fff;
    text-align: center;
    font-weight: normal;
}
.head-r{
    width: 305px;
    float: right;
}
.head-r .img{
    width: 287px;
    margin: 0 auto;
    background: #007bb8;
    padding: 0 3px;
}
.head-r .img img{
    width: 283px !important;
    height: 130px !important;
    border-left: 2px solid #fff;
    border-right: 2px solid #fff;
    display: block;
}
.search-block{
    width: 305px;
    height: 35px;
    background: url(img/search-block.png);
    overflow: hidden;
    margin: 0 auto;
}
.search{
    width: 289px;
    height: 25px;
    margin: 5px auto 0;
    background: url(img/search.png);
    overflow: hidden;
}
.search input{
    width: 250px;
    height: 25px;
    border: 0;
    background: transparent;
    padding: 0 5px;
    color: #8c8c8c;
    font-size: 12px;
    line-height: 25px;
    font-family: Arial, "Helvetica CY", "Nimbus Sans L", sans-serif;
}
input.search-bttn{
    width: 20px;
    height: 25px;
    padding: 0;
    cursor: pointer;
    margin: 0;
}
#header a{
    color: #fff;
    position: relative;
    z-index: 100;
}
.top-panel{
    width: 774px;
    height: 36px;
    margin: 0 auto;
    background: url(img/top-panel.png);
    line-height: 36px;
    padding: 0 4px;
    position: relative;
    z-index: 50;
}
.descr{
    width: 575px;
    height: 36px;
    overflow: hidden;
    float: left;
    font-size: 14px;
    margin-left: 16px;
}
.add-this{
    width: 173px;
    height: 27px;
    background: url(img/add-this.png);
    margin: 5px auto 0;
    overflow: hidden;
    line-height: 24px;
    text-align: center;
}
.addthis_toolbox{
    vertical-align: middle;
    display: inline-block;
    *padding-top: 4px;
    *display: inline;
    *zoom: 1;
}
#header .add-this a{
    color: #000;
}
.top-panel .add-this{
    float: right;
    margin: 5px 0 0;
}
.rss{
    width: 48px;
    height: 48px;
    background: url(img/rss.png);
    position: absolute;
    top: 65px;
    left: 110px;
    display: block;
    z-index: 1;
}
.menu{
    width: 100%;
    height: 35px;
    overflow: hidden;
    position: absolute;
    top: 130px;
    left: 0;
}
.menu li{
    width: 106px;
    height: 35px;
    background: url(img/menu.png);
    overflow: hidden;
    float: left;
    margin-left: 2px;
    line-height: 35px;
    text-align: center;
    font-size: 12px;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
}
.menu li:first-child{
    margin-left: 0;
}
.menu li a{
    display: block;
    padding-left: 15px;
    color: #fff;
    text-decoration: none;
    background-repeat: no-repeat;
    background-position: 8px 50%;
}
#pic a{
    background-image: url(img/pic.png);
}
#video a{
    background-image: url(img/video.png);
}
#tube a{
    background-image: url(img/tube.png);
}
.menu li a:hover{
    text-decoration: underline;
}


/* Middle
-----------------------------------------------------------------------------*/
#middle{
    margin: 30px 0 230px;
}
#middle:after{
    content: '.';
    display: block;
    clear: both;
    visibility: hidden;
    height: 0;
}

/* Content
-----------------------------------------------------------------------------*/
#content{
    width: 650px;
    float: left;
    color: #000;
    overflow: hidden;
    margin-left: 9px;
    background: #fff;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    padding: 2px 0;
}
.post{
    margin-bottom: 10px;
}
.post ul{
    margin-left: 20px;
}
.post ul li{
    list-style: disc;
}
.pad{
    padding: 10px;
}
.title{
    height: 40px;
    color: #007ebe;
    line-height: 40px;
    position: relative;
    overflow: hidden;
    font-size: 18px;
    padding: 12px 7px 0;
    background: url(img/title.png) repeat-x left bottom;
}
.post .title img{
    display: block;
    float: left;
    margin-top: -12px;
    margin-right: 10px;
    border: 0;
}
.title h2{
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    font-size: 18px;
    float: left;
    width: 450px;
    font-weight: normal;
}
.title a{
    color: #007ebe;
    text-decoration: none;
}
.title a:hover{text-decoration: underline;}
.date{
    width: 80px;
    height: 24px;
    line-height: 24px;
    float: right;
    font-size: 11px;
    color: #007ebe;
    text-align: center;
    background: url(img/date.png) no-repeat;
    padding: 0 5px 0 30px;
    margin-top: 8px;
}
.post img{
    border: 1px solid #206e8d;
}
.cat-line{
    width: 582px;
    height: 24px;
    line-height: 24px;
    background: url(img/cat-line.png) no-repeat center center;
    font-size: 11px;
    color: #1782ab;
    margin: 3px auto 0;
    padding: 0 15px;
    font-weight: bold;
}
.categories{
    width: 450px;
    float: left;
}
.categories span{
    color: #6a6a6a;
    font-weight: normal;
}
.cat-line a{
    color: #1782ab;
}
.comm{
    float: right;
    background: url(img/comm-link.png) no-repeat 0 70%;
    padding-left: 20px;
    font-weight: bold;
}


/* Comments
-----------------------------------------------------------------------------*/
.cont form{color: #000;}
.comment{
    padding: 3px 0;
}
.comment_title{
    font-weight: bold;
    color: #252525;
    padding: 2px 0;
}
.comment_title span{
    color: #007ebe;
}
.post form{
    font: bold 12px Georgia;
    color: #393939;
}
.reg_comm{
    width: 45%;
    height: 31px;
    background: url(img/reg.png) no-repeat right;
    margin-top: 5px;
    line-height: 30px;
}
.reg_comm input{
    width: 180px;
    height: 31px;
    background: transparent;
    float: right;
    line-height: 31px;
    padding: 0 5px;
    border: 0;
}
.reg_comm label{
    float: right;
    margin-right: 5px;
}
.wr_comm{
    width: 595px;
    margin: 0 auto;
}
textarea{
    width: 98%;
    height: 115px;
    resize: none;
    background: #f6f6f6;
    overflow: auto;
    border: 1px solid #d4d4d4;
    padding: 3px;
}
.bttn{
    width: 180px;
    display: block;
    margin: 5px auto 0;
    padding: 4px 0 ;
    text-align: center;
    cursor: pointer;
}

/* Sidebars
-----------------------------------------------------------------------------*/
#sidebar-left{
    width: 130px;
    float: left;
}
#sidebar-right{
    width: 180px;
    float: right;
}
.sidebar{
    padding: 2px 0;
    background: #1782ab;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}
.widget{
    padding: 0 5px;
    margin-bottom: 15px;
}
.side-title{
    height: 23px;
    line-height: 23px;
    color: #fff;
    overflow: hidden;
    position: relative;
    font-size: 12px;
    font-weight: bold;
    margin: 0 -3px 10px;
    background: url(img/side-title.png) repeat-x left center;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    padding: 0 5px;
}
.side-title-l{
    background: url(img/side-title-l.png) no-repeat left center;
    padding-left: 30px;
}
.sidebar a{
    color: #fff;
}
.widget ul{
    padding: 0;
}
.widget ul li{
    background: url(img/side-bullet.png) no-repeat 0 2px;
    padding-left: 13px;
    margin: 5px 0;
    font-size: 12px;
    line-height: 14px;
}
.widget ul li a{
    text-decoration: none;
}
.widget ul li a:hover{
    text-decoration: underline;
}
.widget img{
    display: block;
    margin: 2px auto;
}

/* Footer
-----------------------------------------------------------------------------*/
#footer{
    width: 100%;
    height: 210px;
    background: url(img/footer.jpg) repeat-x bottom left;
    margin-top: -210px;
    text-align: center;
    font-size: 11px;
    line-height: 15px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
#footer .top-link{
    color: #1782ab;
    font-weight: bold;
    text-shadow: 1px 1px 0 #fff;
    text-transform: uppercase;
}
#footer .top-link img{
    margin: 3px 0;
}
.foot{
    width: 980px;
    margin: 0 auto;
}


/* Default
-----------------------------------------------------------------------------*/
img.alignright
{
	display:inline;
	margin: 0 0 3px 5px;
}

img.alignleft
{
	display:inline;
	margin: 0 5px 3px 0;
}
img.centered,.aligncenter
{
	display: inline;
	margin: 5px;
}
.alignright{float:right;}
.alignleft{float:left;}
.nav{
    color: #fff;
    text-align: center;
    font-weight: bold;
    font-size: 11px;
}
.wp-pagenavi{
    display: inline-block;
    *display: inline;
    *zoom: 1;
}
.nav a, .wp-pagenavi span, .wp-pagenavi a{
    display: inline-block;
    height: 25px;
    line-height: 25px;
    padding: 0 10px !important;
    margin: 1px !important;
    background: url(img/nav.png) repeat-x left center;
    border: 0 !important;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    color: #fff;
    text-decoration: none;
    *display: inline;
    *zoom: 1;
}
.nav a:hover, .nav .current{
    text-decoration: underline;
}
.nav a:hover{
    text-decoration: underline;
}
.results
{
    font: bold 18px Tahoma;
    text-align: center;
    color: #cf1808;
    margin-bottom: 5px;
}
.results_not{
    font-size: 24px;
    color: #000;
    text-align: center;
    font-weight: bold;
}
.no_comm{
    height: 20px;
    color: #000;
    font: 700 18px Arial;
    text-align: center;
}
.error404{
    height: 50px;
    font-size: 30px;
    font-weight: bold;
    color: #000;
    line-height: 50px;
    text-align: center;
}