body {
	font-family: georgia, calibri, sans-serif;
	line-height: 140%;
	font-size: 100%;
	background-color: #fff;
	margin: 0 auto;
	color: #444444;
	background-color: #f6f6f6;
    -webkit-text-size-adjust:none;
}

h1 {
	float: left;
	/*width:*/
	font-size: 32px;
	background-image: url(/i/logo-bg.png);
	background-repeat: no-repeat;
	background-position: left 50%;
	padding: .5em 0 .5em 50px;
	margin: 0;
}

h1 a {
	color: #666 !important;
	text-decoration: none;
}

#header {
	float: left;
	width: 100%;
	margin-bottom: 1em;
	border-bottom: 1px solid #ccc;
}

#wrapper {
	padding-top: .5em;
    width: 90%;
	max-width: 870px;
	margin: 10px auto;
	padding-left: 20px;
	padding-right: 20px;
	background-color: #fff;
	border-color: #ccc;
	border-width: 1px;
	border-style: solid;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

#footer {
	font-size: smaller;
	line-height: normal;
	color: #666;
	clear: both;
	border-top: 1px solid #ccc;
}

a:link,
a:visited {
	color: navy;
}

#comments {
	clear: both;
}

.entrytext a:link,
.entrytext a:visited,
#comments a:link,
#comments a:visited {
	color: #b00;
}

.entry {
	margin-bottom: 2em;
/*            border-bottom: 1px dashed #ccc;*/
}

.entry h2 {
	/*background-color: #aaa;*/
	margin: 0;
	padding: 0;
	border-bottom: 2px solid #999;
	/*border-top: 2px solid #999;*/
	font-size: 120%;
}

.entry h2 a {
	/*color: #fff;*/
	color: #444;
	display: block;
	margin: 0;
	padding: 5px;
	text-align: left;
	text-decoration: none;
}

.entry h2 a:hover {
	color: #900;
}

.entrytext img {
	padding: 2px;
	border: 1px solid #ccc;
    -webkit-box-shadow: 0 0 8px #999;
}

.entrytext .github-badge img {
    padding: 0;
    border: 0;
    -webkit-box-shadow: none;
}

a:hover {
	color: #b00;
	text-decoration: none;
}

/*        .entry h2 a:hover {
		color: #fff;
	}
		 */
	.entrytext p,
	.entrytext h3,
	.entrytext ul,
	.entrytext ol,
	.entrytext dl {
		padding: .4em .5em;
		margin: 0;
		display: block;
	}

	.entrytext ol li,
	.entrytext ul li {
		padding-left: 1.5em;
		margin-left: 1.5em;
	}

	.entry dl dt {
		font-style: italic;
	}

	.entrytext p a.p-link {
		color: #e0e0e0;
		padding: 0 .5em;
		text-decoration: none;
		vertical-align: top;
	}

	.entrytext p:hover a.p-link {
		color: #c00;
	}

.more-link a {
	padding: .3em 2em .3em .5em;
	margin: 1em 0;
	color: #b00;
	font-weight: bold;
}

.entry .more-link a:hover {
	/* background-color: maroon; */
	background-color: #933;
	color: #f0f0f0;
	-webkit-border-top-left-radius: .3em;
	-webkit-border-bottom-left-radius: .3em;
	-webkit-border-top-right-radius: 1em;
	-webkit-border-bottom-right-radius: 1em;
	-moz-border-radius-topleft: .3em;
	-moz-border-radius-bottomleft: .3em;
	-moz-border-radius-topright: 1em;
	-moz-border-radius-bottomright: 1em;
}

#comments,
span[id^=more],
#add_comment {
	margin: .5em 0;
	display: block;
	border-top: 1px dashed #ccc;
}

	h3 {
		padding: 1.5em 0;
		margin: 0;
		color: #333;
	}

        .entrydesc {
            padding: .3em 0;
            margin: 0;
            /*background-color: #eee;*/
            border-bottom: 1px solid #ccc;
        }

        .entrydesc li {
            display: inline;
            padding: 0 .5em 0 .5em;
            margin: 0;
            font-size: smaller;
        }

        .entrydesc li.comments {
            float: right;
        }

        .entrydesc li.comments a {
            text-decoration: none;
        }

        .entrydesc li.comments .comments-counter {
            font-size: 200%;
        }


        p.c {
            text-align: center;
            width: 100%;
            clear: both;
        }

        p.c .imgdesc {
            display: block;
            font-size: smaller;
            color: silver;
        }
        p.c a { text-decoration: none !important }

	#skipper {
	    display: none;
	}

    #header ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
        text-align: right;
        font-size: smaller;
    }

    #header ul li {
        display: inline;
        margin: 0;
        padding: 0;
    }

    #header ul li a {
        padding: .3em .5em 3em .5em;
        border-color: #999;
        border-style: solid;
        border-width: 3px 0 0 0;
    }

    #header ul li.featured a {
        border-color: #966;
        text-decoration: none;
    }

    #header ul li a:hover,
    #header ul li a.current {
        background-color: #eaeaea;
        color: navy;
    }

    #header ul li.featured a:hover,
    #header ul li.featured a.current {
        background-color: #faeaea;
    }

    #header ul li a:link,
    #header ul li a:visited,
    #header ul li a:hover,
    #header ul li a:active {
        text-decoration: underline;
    }

    .created {
        color: grey;
    }

    .created .pretty-time {
        color: silver;
    }

    #subheader {
        display: none;
    }

	.gravatar img {
		border: 1px solid #ccc;
		float: left;
		margin-right: .5em;
	}

	#comments-list {
		list-style-type: none;
		margin: 0;
		padding: 0;
	}

	#comments-list li {
		margin-left: 0;
		padding-left: 0;
	}

	#comments-list ul {
		list-style-type: none;
		margin: 0 0 0 .5em;
		padding: 0;
	}

	#comments-list .comment-itself {
		border-width: 1px 1px 1px 3px;
		border-style: solid;
		border-color: #fff #fff #fff #fff;
		padding: 5px;
		font-size: smaller;
		line-height: 1.4;
        margin: 0 50px 15px 50px;
	}

        #comments-list .alt {
            background-color: #f0f0f0;
        }

        #comments-list .comment-posted {
            height: 42px;
        }

	#comments-list .comment-itself .comment-content {
		clear: both;
	}

	#comments-list .comment-itself:hover {
		border-color: #c66;
	}

	form#add_comment input.text,
	form#add_comment textarea {
		width: 100%;
		font-family: georgia, calibri, sans-serif;
		line-height: 140%;
		font-size: 100%;
		padding: .1em .2em;
		color: #009;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: 2px;
        border: 1px solid #bbb;
	}

	form#add_comment input#submit {
		font-size: 100%;
		padding: .5em 2em;
	}

    .entrytext table {
        margin: 1em 0;
        font-size: smaller;
    }

    .entrytext table tr th,
    .entrytext table tr td {
        padding: 5px 15px;
        margin: 2px;
    }

    .entrytext table tr th {
        border-color: #666;
        background: #f0f0f0;
        text-align: left;
    }

    .entrytext table thead tr th {
        background-color: #e0e0e0;
    }

    del {
        color: #999;
    }

    label .help {
        font-size: smaller;
        color: #999;
    }

    .post-info {
        font-size: 80%;
        margin-top: 1em;
        color: #999;
        line-height: 140%;
        background-color: #eeffee;
        border: 1px solid #090;
        padding: 0 1em;
        color: #585;
    }

    .post-info a:link,
    .post-info a:visited {
        color: #c66;
    }

    .entrytext .imgdesc {
        color: #666;
        text-decoration: none;
        font-size: 70%;
        line-height: 1.4;
        border: 0;
    }

    .entrytext .imgdesc a:link,
    .entrytext .imgdesc a:visited,
    .entrytext .imgdesc a:hover,
    .entrytext .imgdesc a:active {
        color: #b66;
    }


    blockquote {
        color: #555;
        border-left: 5px solid #f0f0f0;
        padding-left: 1em;
        margin-left: 1em;
    }

    .entrytext blockquote a:link,
    .entrytext blockquote a:visited{
        color: #b55;
    }

    pre {
        font-family: consolas, 'courier new', monospace;
        font-size: 80%;
        line-height: 120%;
        color: #555;
        border-left: 5px solid #d0d0f0;
        padding-left: 1em;
        margin-left: 1em;
    }

    p>code {
        font-family: consolas, 'courier new', monospace;
        font-size: 80%;
        color: #555;
        border: 1px solid #d0d0f0;
        background-color: #f0f0f0;
        padding: 0 .5em;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: 2px;
    }

    .social-stuff {
        width: 150px;
        float: right;
        border-left: 1px solid #ccc;
        padding: 10px 0 15px 16px;
        margin-left: 9px;
        background-color: #fff;
    }

    #frm_search {
        clear: both;
        margin: 0;
        padding: 0 0 0 50px;
    }

    #frm_search input,
    #frm_search button {
        border: 1px solid #ccc;
        padding: 2px 5px;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: 2px;
    }

    .search-info {
        border-width: 2px 0;
        border-style: solid;
        clear: both;
        padding: 0 1em;
        margin-bottom: 1em;
    }

    .msg-success {
        background: #dfffdf none repeat scroll 0%;
        border-color: #7fdf7f;

    }

    .msg-failure {
        background: #ffdfdf url(/i/li-err-bg.png) repeat;
        border-color: #df7f7f;
    }

    .search-info q {
        font-weight: bold;
    }

    .search-results .entry h2 {
        font-size: 100%;
    }

    .search-results .entry h2 a {
        text-align: left;
    }

    .important {
        width: auto;
        border: 2px solid #060;
        background-color: #9d9;
        border: 2px solid #666;
        background-color: #cfc;
        -moz-border-radius: 4px;
        -webkit-border-radius: 4px;
        border-radius: 4px;
        margin-left: .5em !important;
        padding: 0;
    }

    .download-link {
        border: 2px solid #060;
        background-color: #9d9;
        border: 2px solid #666;
        background-color: #cfc;
        text-align: center;
        -moz-border-radius: 4px;
        -webkit-border-radius: 4px;
        border-radius: 4px;
        /*margin-left: .5em !important;*/
        padding: 0;
        width: 70%;
		margin: 0 14% !important;
    }

    .download-link a:link,
    .download-link a:visited,
    .download-link a:hover,
    .download-link a:active {
        color: navy;
        font-weight: bold;
        display: block;
        height: 100%;
        width: 100%;
        margin: 0;
        padding: .5em 0;
        border-bottom: 1px dashed #060;
    }

    .download-link small {
        font-size: 75%;
        color: #666;
    }

    .entry-nav {
        text-align: center;
        list-style-type: none;
        margin: 0;
        padding: 0;
        clear: both;
        border: 1px solid #fff;
    }

	.entry-nav a {
        margin: 1em 0;
        color: #b00;
        font-weight: bold;
	}

	.entry-nav a:hover {
	    /* background-color: maroon; */
            background-color: #933;
	    color: #f0f0f0;
	}

        .entry-nav-rew {
            text-align: left;
            float: left;
        }

        .entry-nav-ffwd {
            text-align: right;
        }

    .entry-nav-ffwd a {
        padding: .3em 2em .3em .5em;
        -webkit-border-top-left-radius: .3em;
        -webkit-border-bottom-left-radius: .3em;
        -webkit-border-top-right-radius: 1em;
        -webkit-border-bottom-right-radius: 1em;
        -moz-border-radius-topleft: .3em;
        -moz-border-radius-bottomleft: .3em;
        -moz-border-radius-topright: 1em;
        -moz-border-radius-bottomright: 1em;
    }

    .entry-nav-rew a {
        padding: .3em .5em .3em 2em;
        -webkit-border-top-right-radius: .3em;
        -webkit-border-bottom-right-radius: .3em;
        -webkit-border-top-left-radius: 1em;
        -webkit-border-bottom-left-radius: 1em;
        -moz-border-radius-topright: .3em;
        -moz-border-radius-bottomright: .3em;
        -moz-border-radius-topleft: 1em;
        -moz-border-radius-bottomleft: 1em;
    }


    .hl {
        font-weight: bold;
    }

    .hl-1 { background-color: #ff6; }
    .hl-2 { background-color: #aff; }
    .hl-3 { background-color: #9f9; }
    .hl-4 { background-color: #f99; }
    .hl-5 { background-color: #f6f; }
    .hl-6 { background-color: #800; }
    .hl-7 { background-color: #0a0; }
    .hl-8 { background-color: #860; }
    .hl-9 { background-color: #049; }
    .hl-10 { background-color: #909; }

    .archive dl dd {
        color: gray;
    }

    .archive dl dt {
        font-size: 120%;
        padding-top: .5em;

    }

ins.ins {
    background-color: #c66;
    border: 1px solid #933;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    text-decoration: none;
    padding: 0 5px;
    color: #fff;
}

.entryops a {
    color: #669;
    font-size: smaller;
}

.comment-opts a {
    color: #c66 !important;
}

.troll {
    background-color: #966;
    font-weight: bold;
    color: #fff;
    float: right;
    font-size: smaller;
    padding: 9px 12px 9px 36px;
    font-family: sans-serif;
    background-image: url(http://laacz.lv/i/icon_troll.png);
    background-repeat: no-repeat;
    background-position: 4px 50%;
    border: 1px solid #633;
}
.troll a {
    color: #fff !important;
}

    #tla {
        font-size: x-small;
        line-height: 100%;
        color: #ccc;
        padding: 1em 0 2em 0;
        text-align: right;
    }

    #tla a:link,
    #tla a:visited {
        color: #99f;
        margin-left: 1em;
    }

    #tla ul,
    #tla ul li {
        display: inline;
        margin: 0;
        padding: 0;
    }


    #adsense {
        text-align: right;
    }

/*
 snap_nopreview sharing robots-nocontent
*/

div.sharing ul {
	list-style-type: none;
	text-align: right;
}

div.sharing ul li {
	display: inline;
	margin: 0;
	padding: 0;
}

div.sharing ul li>div {
	display: inline;
}

.qr {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	text-align: right;
	z-index: -100;
}

.qr img {
	border: 1px solid #ccc;
	margin: 5px;
}

p.footnote {
	color: #666;
	font-size: smaller;
	border-top: 1px dashed #ccc;
	padding-left: 2em;
	padding-right: 2em;
}

.bbpBox {
/*	width: 800px;*/
}

#comments-list .laacz {
	border-color: #d0d0d0;
}

@media only screen and (max-width: 480px) {
    body {
        font-size: 80%;
    }

    body #wrapper #header h1 {
        display: none !important;
    }

    body #wrapper #header ul {
        float: none;
        text-align: center;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }

    body #wrapper #header ul li.desktop {
        display: none;
    }
}
