::selection {
    background-color: #9c0909;
    color: #FFF;
}

/*--- Рейтинг - Звездами ---*/
.rating-view, .unit-rating-view { width: 115px; height: 23px; }
.rating-view {
    border-radius: 3px;
    overflow: hidden;
    float: right;
    margin-top: 5px;
}
#ratingv .rating-view {
    margin: 0 auto;
    float: none;
}
.unit-rating-view, .unit-rating-view li.current-rating-view, .unit-rating, .unit-rating li a:hover, .unit-rating li.current-rating {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAACKCAMAAADi6oj9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJNQTFRFgoKC0dHRxcXFo6OjskZGaWlp593dbW1twnV13sLCRUVFvWdnkpKStbW1OTk52dnZ6ePjuLi4dXV1nZ2dnhAQenp6ohoa1dXV5NXV3t7erq6u6urqqjIy5OTkiIiIvb291KamsrKymZmZU1NT4ODgcXFx6Ojofn5+zZWVy8vLyMjIqKioYWFhZ2dnMTExnAkJ7Ozsg+D58QAAAzBJREFUeNrs2OmOqjAUAGBWEUEQEBVlE1RALfj+T3cLglq6TEkmuZnE82My6EdpTw8FKzwmhfDljjOFH/L8MIHLdS3z82hR14uIm5s1DJOX21bLLZuT+3UXPh+v6j6uXPw+8DsPX9avWLJ5JMnF3Xpz617IUkTipyRz85oYuZslJ5QX9Q9RIDy6s/U9QjsT5Sydn8ZDDRg+D/DM2AuaXtikRG4pfrEl510k+oVIm6bKwrVV0YsgwXnCqJkK5xWDL3G+ZHAP5x6DCzgXGFzDucrghELIGXzIe367DWdadH7qq9WBK97B6Wv6ROXX9mtNGg4lbbweoPxYW76IVJFv1Ucql2Ns5bJj+fso+/I/x9N00htHGE554yibpuTnq03TbFbcfN7AmPPy3brl6x0nN5ouDD6uN33oXFwZuMLD0+YVKZuv9NJQ1m++VoxSX5H4LC2N8EN+nBMaZTpDudH8EAbCVwpbK6tRZ0KWDmfjobL8oD8zs6P6cEdK5G5D1psdOe9kv9Fp06Rv2HpcBCnOU0bN6DjXH7/WeonzksENWrGQOaFyFAYnTGzI4EPew7IcztzQ+ay/fpeNtO/ZjMq7tCuvTOvdjUif1bRZG8i06MYaSTzKyzm2cu3m5fdR9uV/jl+vk944imLKG4cDgDNhj8MFwOXf47gBGDdeHmgt1wJOngHgCwBkfFxUAZCuAKgiF48BiB8Ps/v7M5ee7drtNdj8IjqeoPW99uBoBc8RLyQeVcesUAF45+SkPY/UIjtWEco98I7zvv9p7H586CH8EncN+eZe+kh3IO1Nv7tkfBl1BiYaJKRZSKAXovFQowK2TijbCg6hiPDMBD4cZIXNGdR+QEpkAIemjWZye4a1GZDzbsPvzlvkE9jC2aZNU9fWR51f3NH5400LONyPu+4Ak8LatNjC1pHtOgC2DC6NytAcldmIH4eb4nAZauPI4PLzFo32rrtvh7wHQGZws10wgtvzXpWDRwKAydpBgdxThypUM7jeMHdQeigkidD/qzF2DJ8ilto9Dil+HkVULrY9MF9lI5ptv0Qql4DqIdsWNhyIROWOjK1cgex8H2X/nf8TYABoJWymiXLa9wAAAABJRU5ErkJggg==);
    -webkit-background-size: 23px auto; background-size:  23px auto;
}
.night .unit-rating-view, .night .unit-rating-view li.current-rating-view, .night .unit-rating, .night .unit-rating li a:hover, .night .unit-rating li.current-rating {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAACKCAMAAADi6oj9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAL1QTFRFGxsbMTExnAkJMDAwHBwcHx8fLy8vLS0tHR0dISEhJCQkKCgoHh4eLCwsIiIiKioqICAgKSkpJycnKysrJSUlLi4uIyMjmgkJkQsLThQUJiYmhQwMZhAQKRkZIRoaHRsbahAQMhgYJRoaNhcXUxMTIxoalwoKQhYWPxYWLhgYcw8POxcXjgsLeg4OJxkZYRERgQ0NhAwMMxgYSRUVXBISigwMHxoabBAQlAoKmAkJRBUVfA0Nfw0NNBgYhgwMT4y+jAAAAn5JREFUeNrsmFtzqjAUhU0C4SYCClbUtt6r1Wrt1d7O//9ZVQQVkuyElzNzzrDecL4g2XvtzGTVapXKybJK4YZRhrYRstVpjSJENWW8i/bqqtImOeDEVMQDlChQo3WUSlfCWxneUuoQOknSK023HZecceI6ts4tqGaFgYG4MoLQKqxxkERO/uUuTLuF18O8y2zANMS0wWmwGYnoiGuHOuXTtM4vO58X0Xu3EJYmgHN8FvdVzHgWZMsGizfgkS4KGvEmizcB3GNxDzqNOAYA8KzuRrudrSTANKUzmgydlc6sBpfdOzXG9+DCNxBxcg6pOwQovN1krGo27VqlSv+a5vMy9G2vd1sCjzGO1embFcadG2X8Be/1okpfzw747FoRH+BEAzX6Cad6UsIfMvxBhb7DJ93B5Ns47n/Pzvjsux+P33jkdDl5711hjq7+vE+W0zzdxxL18338gumvQo+njxD9OC1+/KgnpnsjdrPrVxH9uuZaZcWnVwLzLDo8urMQtWm4Y+ndUNzWJYsvARcMWXyoZi8Vm01YfALgG5lZ8rpn8XsA37L4FsCzum+fn7OVOzE9St2aHJDzdGZHQvwn+dhx9jhOtvIjxD/xxyDnkMXgA3+KT9INY771Jq5VqlRlHP9LxhEZpTKOhlUm42gl9znljEM//odixhGkwYRaxkHq5/rIMw4apq2lsowj8rrWRblNK/QiccbRFt2/+RkH4ZTCJ+KMg/g8WpxxFDMHncIZB9WZX8CM49LnWiTPOLT8VV2ScdDL50iacbgFc0oyjuNQaFrmDUnGcRhRLaQ0PCwIpRlHe395P87q/lrfkGYctnNKjEjQrjKOSn9XvwIMAFBAJtzqwLqDAAAAAElFTkSuQmCC);
    -webkit-background-size: 23px auto; background-size:  23px auto;
}
.unit-rating-view {
    list-style: none;
    margin: 0; padding: 0;
    position: relative;
    background-position: 0 -46px;
}
.unit-rating-view li {
    text-indent: -90000px;
    padding: 0; margin: 0;
    float: left;
}
.unit-rating-view li.current-rating-view {
    background-position: 0 0;
    position: absolute;
    height: 23px;
    display: block;
    text-indent: -9000px;
    z-index: 1;
    padding: 0px;
}


.rating, .unit-rating { 
    width: 230px; 
    height: 46px; 
}
.rating {    
    border-radius: 5px;
    overflow: hidden;
    margin: 20px auto;
}
.unit-rating, .unit-rating li a:hover, .unit-rating li.current-rating, .night .unit-rating, .night .unit-rating li a:hover, .night .unit-rating li.current-rating {
    -webkit-background-size: 46px auto; background-size:  46px auto;
}
.unit-rating {
    list-style: none;
    margin: 0; padding: 0;
    position: relative;
    background-position: 0 -92px;
}
.unit-rating li {
    text-indent: -90000px;
    padding: 0; margin: 0;
    float: left;
}
.unit-rating li a {
    display: block;
    width: 46px; height: 46px;
    text-decoration: none;
    border: 0 none !important;
    text-indent: -9000px;
    z-index: 17;
    position: absolute;
    padding: 0;
}
.unit-rating li a:hover {
    background-position: 0 -46px;
    z-index: 2;
    left: 0;
}
.unit-rating a.r1-unit { left: 0; }
.unit-rating a.r1-unit:hover { width: 46px; }
.unit-rating a.r2-unit { left: 46px; }
.unit-rating a.r2-unit:hover { width: 92px; }
.unit-rating a.r3-unit { left: 92px; }
.unit-rating a.r3-unit:hover { width: 138px; }
.unit-rating a.r4-unit { left: 138px; }
.unit-rating a.r4-unit:hover { width: 184px; }
.unit-rating a.r5-unit { left: 184px; }
.unit-rating a.r5-unit:hover { width: 230px; }
.unit-rating li.current-rating {
    background-position: 0 0;
    position: absolute;
    height: 46px;
    display: block;
    text-indent: -9000px;
    z-index: 1;
    padding: 0px;
}

div {
    padding: 0;
    margin: 0;
}
body {
    color: #212121;
    font-size: 18px;
    font-family: Verdana, "Open Sans", Helvetica;
    line-height: 32px;
    padding: 0;
    margin: 0 auto;
    max-width: 880px;
    box-shadow: 0 0 10px #000000;
    border-radius: 0 0 7px 7px;
    background: url("/templates/pornotales/images/bg-dark.png") #5f5f5f;
    background-attachment: fixed;
}
body.night {
    background: #000;    
    border: 1px solid #1b1b1b;
}
a:link, .tags_more a:link, .tags_more a:visited {
	text-decoration: none;
    color: #9c0909;
    border-bottom: 1px dashed #9c0909;
}
a:visited {
	text-decoration: none;
    color: #676767;
    border-bottom: 1px dashed #676767;
}
a:hover, a:active, .tags_more a:hover {
	color: #313131;
    border-bottom: 1px solid #313131;
}
.night a:hover, .night a:active {
    color: #ccc;
    border-bottom: 1px solid #ccc;
}
.border {
    border: 1px solid #d6d6d6;
    border-radius: 5px;
    box-shadow: 1px 1px 0 #fff, inset 1px 1px 0 #fff;
    padding: 10px;
    background: #f3f3f3;
}
.night .border {
    background: none;
    border: 1px solid #1b1b1b;
    box-shadow: none;
}
.noback {
    background: none;
}
.center {
	text-align: center;
}
.right {
	text-align: right;
}
.margin {
	margin: 10px 0;
}
.length {
    display: none;
}
.right .length {
	float: left;
    color: #676767;
}
#head {
	background: #313131;
    padding: 5px 10px;
    font-size: 19px;
}
.night #head {
	background: #1b1b1b;
}
#head a {
    text-transform: uppercase;
    color: #acacac;
    text-decoration: none;
    border-bottom: 1px dashed #9f9f9f;
    padding-left: 23px;
    background: url(/templates/pornotales/images/pornologo.png) 0px 4px no-repeat;
}
#head a:hover {
	border-bottom: 1px dashed #b70404;
    color: #b70404;
}
#head a span {
	color: #b70404;
}
#search-butt {
    float: right;
    width: 30px;
    height: 30px;
    cursor: pointer;
    opacity: .8;
    background: url("/templates/pornotales/images/search.png") 5px 5px no-repeat;
}
#search-butt:hover {
	opacity: 1;
}
.search-form {
	display: none;
}
.visible {
	display: block;
}
.search-block {
    background: #ffffff;
    border-radius: 5px;
    text-align: center;
    height: 36px;
    border: 1px solid #c3c3c3;
    display: none;
    margin: 10px;
    display: flex;
}
.night .search-block {
	background: #676767;
    border: 1px solid #949191;
}
.search-input {
	height: 36px;
    font-size: 18px;
    font-family: Verdana, "Open Sans", Helvetica;
    border: none;
    flex: 1 1 auto;
    width: 1%;
    border-radius: 5px;
    padding: 0 10px;
    outline: none;
}
.night .search-input {
    background: #676767;
}
.night .search-input::placeholder {
	color: #313131;
}
.search-form .butt, .search-form2 .butt {
	color: #fff;
    width: 35px;
    height: 36px;
    font-family: Verdana;
    margin: 0;
    padding: 0;
    cursor: pointer;
    border: none;
    background: url("/templates/pornotales/images/search.png") 5px 7px no-repeat;
}
.search-form .butt:hover, .search-form2 .butt:hover {
	opacity: 0.8;
}
.highlight {
	background: #ffff00a3;
    padding: 0 5px;
    margin: 0 -5px;
    font-weight: bold;
}
#head-links {
	text-align: center;
    width: 80%;
    background: #242424;
    border-radius: 0 0 3px 3px;
    margin: 0 auto;
    box-shadow: inset 0px 1px 3px #191919;
}
#head-links a {
	color: #ccc;
    font-size: 16px;
    border: none;
    padding-left: 20px;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABiElEQVQ4jV3SP2tUURAF8F+WLUIQsQgi/lkNiCgWWlxIINgpBAs7uxRWIvgBJIjVIhLtBCGdFn6BKAhBBSHtg9iIIAaiYhBZUoRFRJZg8c4ub/fAhblnzgxn5t4pE6iqahZ3cAqD0G38wFoppdfUtyaKr2MVu5jGQs50uNVoRphqFF/FNRzFrUlnwQv8xttSyrtRg6qqDuEZ/sQ+fMSrxDdwOfEaZnC3lNIfjrCMTdzO/SkW8TlnMZxoNlMz2sElzOW+g3sNJ0/wPtxONHOpGTUY4HziDyjhnuOkepElOdEOmg1a+Jd4Bnvoqrc/xF5yom01GxxgK/ESelnWQc7jcEvRbIXXDrGBM+jjMNZxM/OLk/Xk+urX2mg6eIN5rOS+gG28ztkOJ5r51Ix9pA4eqZ+oi1nj6OEBrmCllPJ9rEGaHMdDfMJfnEjqZ8a4iPullN1hTds49tV/fh+nMzP1wr41ciM0R1iOxXOhfuFr4rM4lvgLuqWUl5MOLqAT63BE/XmGGPKdaMF/5t5tg1KkneYAAAAASUVORK5CYII=) 0 2px no-repeat;
	margin-left: 26px;
}
#head-links a:after {
	content: "" url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAMAAACecocUAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAZQTFRFzMzM////040VdgAAAAJ0Uk5T/wDltzBKAAAAL0lEQVR42mJghAAGEGBkROZBBBgY4RIMjHA2A0QVnMkIVQtVxIikARcbYQdAgAEAFk0AVOTHFmcAAAAASUVORK5CYII=);
    padding-left: 5px;
}
#head-links a:hover {
	color: #fff;
    border-bottom: 1px solid #fff;
}
#head-links #close {
	float: right;
    color: #ccc;
    background: #000;
    border-radius: 20px;
    height: 20px;
    width: 20px;
    margin: 6px 6px 0 0;
    line-height: 18px;
    cursor: pointer;
    opacity: .6;
    font-size: 14px;
}
#head-links #close:hover {
	opacity: 1;
}
#categories {
	margin-bottom: 10px;
    padding: 8px;
    display: grid;
    grid-gap: 8px;
    grid-template-columns: 1fr 1fr 1fr;
}
#categories > span {
	background: #e6e6e6;
    color: #a7a7a7;
    border-radius: 5px;
    border: 1px solid #d2d2d2;
}
.night #categories > span {
	background: #171717;
    border: 1px solid #1b1b1b;
}
#categories > div {
	text-align: center;
    grid-column: 1 / -1;
}
#categories span:hover {
    background: #f9f9f9;
}
.night #categories span:hover {
    background: #ccc;
}
#categories span a {
    display: block;
    border: none;
    color: #9c0909;
    padding: 3px 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    white-space: nowrap;
}
#categories span a span {
    color: #989898;
    float: right;
}
#search-history {
	margin: 0;
    display: grid;
    grid-gap: 8px;
    grid-template-columns: 1fr 1fr;
    padding: 0;
    list-style-type: none;
}
#search-history li {
	border-top: 1px dashed #dedede;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-left: 10px;
}
.night #search-history li {
	border-top: 1px dashed #313131;
}
#search-history li:nth-child(-n+2) {
    border-top: none;
}
main {
    padding: 0 10px;
    overflow: hidden;
    background: #ececec;
}
.night main {
    background: #0c0c0c;
    color: #ccc;
}
.search-result a:visited {
	color: #828282;
}
.search-result a:hover, .search-result a:active {
	color: #313131;
}
H1, H2, H3 {
    margin: 0;
    padding: 10px 0;            
    font-weight: normal;
}
H1 {
    text-align: center;
    font-size: 26px;
}
.title {
	text-transform: uppercase;
    text-align: center;
}
.title-link {
	margin-bottom: 10px;
    display: inline-block;
    line-height: 22px;
}
.audiostory {
	background: url(/templates/pornotales/images/speaker-big.png) 0px 4px no-repeat;
    padding-left: 22px !important;
}
.gaystory {
	color: #04a2de !important;
    border-color: #04a2de !important;
}
.lesbistory {
	color: #d80798 !important;
    border-color: #d80798 !important;
}
.yumorstory {
	color: #1aa21a !important;
    border-color: #1aa21a !important;
}
H2 {
    font-size: 22px;
}
.tags {
    text-align: center;
    margin: 5px;
}
#audio {
	width: 100%;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    height: 55px;
}
article p, #story p {
	text-indent: 30px;
}
#ins, #insert, #vstav, #vstavka, #in, #inv, #vnu {
	text-indent: -9999999999px;
    display: inline-block;
}
#allParts, #nextPart, #beforePart {
    margin: 10px auto;
    color: #676767;
}
#allParts:hover li {
	display: block;
}
#allParts p {
	text-indent: 0;
    text-align: center;
    margin: 0;
}
#allParts ul {
	margin: 0;
    padding: 0;
}
#allParts li, #nextPart a, #beforePart a {
	padding: 3px;
    border-radius: 3px;
    text-align: center;
    margin: 5px 0 0;
    background: rgb(230 230 230);
}
#allParts li {
	display: none;
}
#allParts li a, #nextPart a, #beforePart a {
	display: block;
    border: 0;
    color: #b70404;
}
#allParts li a:hover, #nextPart a:hover, #beforePart a:hover {
	text-decoration: none;
    color: #fff;
}
#nextPart a, #beforePart a {
    margin: 0;
}
#allParts li.act {    
    display: block;
    background: #313131;
    color: #f3f3f3;
}
#allParts li.act:hover {
	background: #313131;
}
#allParts li:hover, #nextPart a:hover, #beforePart a:hover, #nextPart a:active, #beforePart a:active {
	background: #9c0909;
    color: #fff;
}
#allParts li:active a, #nextPart a:active, #beforePart a:active {
    background: #313131;
	color: #F2F2F2;
}
#allParts li:active {
    background: #313131;
}
.author {
    text-align: right;
}
.author a:hover {
	color: #313131;
}
.storynavi {
	margin: 10px 0;
}
.storynavi button, .button {
	border: 1px solid #313131;
    text-decoration: none;
    padding: 8px 20px;
    font-size: 18px;
    font-family: Verdana, "Open Sans", Helvetica;
    background: #313131;
    color: #ccc;
    border-radius: 5px;
}
.storynavi .see-full-text button {
	text-transform: uppercase;
}
.storynavi button:hover, .button:hover {
	color: #505050;
    background: white;
    cursor: pointer;    
}
.save-full-check {
	display: none;
}
.see-full-text:hover .save-full-check {
	display: block;
}
.pages {
    margin: 10px 0;
}
.pages span, .pages a {
    margin: 5px;
    margin: 5px;
    padding: 1px 5px;
}
.pages span {
    color: #ababab;
    text-shadow: 1px 1px 0 #fff;
}
.night .pages span {
    text-shadow: none;
    color: #676767;
}
.pages a:link, .pages a:visited {
	color: #9c0909;
    border-color: #9c0909;
}
.pages a:hover, .pages a:active {
	color: #313131;
    border-bottom: 1px solid #313131;
}
.night .pages a:hover, .night .pages a:active {
	color: #ccc;
    border-bottom: 1px solid #ccc;
}
.download a {
	color: #9c0909;
    font-size: 18px;
    font-family: Verdana, "Open Sans", Helvetica;
    white-space: nowrap;
    background: none;
    border: none;
    padding: 0;
    border-bottom: 1px dashed #9c0909;
    margin: 12px;
    padding-left: 16px;
}
.download a:hover {
	cursor: pointer;
    border-bottom: 1px solid #9c0909;
}
.download a:nth-child(1) {
    background: url(/templates/pornotales/images/text.png) 0px 6px no-repeat;
}
.download a:nth-child(2) {
    background: url(/templates/pornotales/images/speaker.png) 0px 6px no-repeat;
}
#addcomm a {
	text-decoration: none;
    border: 0;
}
#addcomm input {
	box-sizing: border-box;
    border: 1px solid #e2e2e2;
    resize: none;
    box-shadow: inset 0 0 3px #e0e0e0;
    border-radius: 3px;
    padding: 5px;
    outline: none;
    font-size: 18px;
    margin: 5px;
    font-family: Verdana, "Open Sans", Helvetica;
}
#addcomm input:focus {
    border: 1px solid #9c090973;
    box-shadow: 0 0 3px #9c09097d;
}
#addcomm #sec_code {
    width: 160px;
    text-align: center;
}
#comments {
    width: 100%;
    height: 36px;
    margin: 10px auto;
    box-sizing: border-box;
    border: 1px solid #e2e2e2;
    resize: none;
    box-shadow: inset 0 0 3px #e0e0e0;
    border-radius: 3px;
    padding: 5px;
    outline: none;
    font-size: 18px;
    display: block;
    font-family: Verdana, "Open Sans", Helvetica;
    transition: 0.5s;
}
#comments:focus {
    border: 1px solid #9c090973;
    box-shadow: 0 0 3px #9c09097d;
    height: 120px;
}
main hr {
	border-top: 1px solid #d8d1d1;
    border-bottom: 1px solid #ffffff;
    border-left: 0;
    border-right: 0;
    width: 90%;
}
.night main hr {
	border-top: 1px solid #000000;
    border-bottom: 1px solid #1f1f1f;
}
.list {
    margin: 5px 0 10px;
    padding: 0;
    list-style: none;
}
.list li {
	border: 1px solid #e2e2e2;
    padding: 0;
    border-left: 5px solid #9c0909;
    margin: 5px 0;
    border-radius: 3px;
}
.night .list li {
	border: 1px solid #1b1b1b;
    border-left: 5px solid #9c0909;
}
.list li:nth-child(odd) {
    background: #f3f3f3;
}
.night .list li:nth-child(odd) {
    background: #1b1b1b;
}
.list li:hover, .night .list li:hover, .list li:nth-child(odd):hover {
	background: #313131;
    border: 1px solid #313131;
    border-left: 5px solid #9c0909;
}
li .length {
	float: right;
    padding: 2px 10px;
    color: #676767;
}
.list li a {
    text-decoration: none;
    display: block;
    padding: 2px 10px;
    border: none;
}
.list li a:hover {
    border: none;
}
.list li a:visited {
	color: #4c4c4c;
}
.list li:hover a {
    color: #ccc;
}
#alltags {
	text-align: center;
    margin: 10px 0;
}
#alltags span {
    display: inline-block;
    margin: 2px 10px;
}
#alltags .clouds_small, #alltags .clouds_medium, #alltags .clouds_large, #alltags .clouds_xlarge {
    font-weight: bold;
}
footer {
    background: #313131;
    margin: 0;
    padding: 10px;
    color: #ccc;
    text-align: center;
    font-size: 16px;
    border-radius: 0 0 5px 5px;
}
.night footer {
    background: #1b1b1b;
}
footer a:link, footer a:visited {
    color: #cccccc;
    border-bottom: 1px dashed #cccccc;
    padding: 2px 0px;
    margin: 0 5px;
}
footer a:hover, footer a:active, footer .tags_more a:hover, .night footer a:hover {
    color: #fff;
    border-bottom: 1px solid #fff;
}
footer hr {
	border-top: 1px solid #232323;
    border-bottom: 1px solid #3a3a3a;
    border-left: 0;
    border-right: 0;
}
#settBlock {
    position: fixed;
    bottom: 5%;
    left: 0;
    background: #000;
    display: block;
    opacity: .3;
    color: #fff;
    padding: 5px;
    width: 32px;
    height: 32px;
    border-radius: 0 3px 3px 0;
    transition: all .2s;
    overflow: hidden;
}
#settBlock:hover {
    width: 160px;
    opacity: 1;
}
#sbSett, #settBlock #settings span {
    cursor: pointer;
}
#sbSett, #sbSettSmall, #sbSettBig, #svet {
	background: url("/templates/pornotales/images/settings.png");
    width: 32px;
    height: 32px;    
    display: inline-block;
}
#sbSettSmall {
	background-position: -32px 0;
}
#sbSettBig {
	background-position: -64px 0;
}
#svet {
	background-position: -96px 0;
}
#settBlock #settings span {
    margin-left: 10px;
}

@media screen and (max-width: 879px) {
    #categories {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 529px) {
    #categories, #search-history {
        grid-template-columns: 1fr;
    }
    .rating-view {
        margin: 0 auto;
        float: none;
    }
}


.s-block * {
    background:transparent none repeat scroll 0 0 !important;
    border:medium none !important;
    clear:none !important;
    clip:rect(auto, auto, auto, auto) !important;
    font-size:100% !important;
    font-style:normal !important;
    font-variant:normal !important;
    font-weight:normal !important;
    height:auto !important;
    letter-spacing:normal !important;
    line-height:normal !important;
    margin:0 !important;
    overflow:visible !important;
    padding:0 !important;
    position:static !important;
    text-align:left !important;
    text-decoration:none !important;
    text-indent:0 !important;
    text-transform:none !important;
    vertical-align:baseline !important;
    visibility:visible !important;
    white-space:normal !important;
    width:auto;
    word-spacing:normal !important;
    z-index:auto !important;
    cursor: pointer!important;
    word-wrap: break-word!important;
}
.s-block li {
    display:list-item !important;
    list-style-image:none !important;
    list-style-position:outside !important;
    list-style-type:none !important;
    display: inline;
}
.s-block li DIV {
    padding:0.5em !important;
}

.s-block DIV, .s-block TABLE {
    padding: 5px !important;
}

.s-block {
    font-family: Verdana!important;
    font-size: 11px!important;
    border: 1px solid #d6d6d6;
    box-shadow: 1px 1px 0 #fff, inset 1px 1px 0 #fff;
    background-color: #f3f3f3!important;
    padding: 3px 5px 5px 5px!important;
    position: relative!important;
    display:block!important;
    clear: both;
    margin-top: 10px;
    -webkit-border-radius:5px !important;
    -khtml-border-radius:5px !important;
    -moz-border-radius:5px !important;
    border-radius:5px !important;
    margin-bottom: 10px;
}
.s-block_icnt, .s-block_icnt * {
    text-align: left!important;
}

.s-block_icnt:hover .s-block_header {
    text-decoration: underline !important;
}

.s-block_text {
	padding: 3px 0 !important;
}

.s-block_text, .s-block_text A, .s-block_text A:hover {
    color: #000000!important;
    font-size: 11px!important;
    text-decoration: none!important;
}
.s-block_url {
    color: #676767!important;
    font-size: 11px!important;
    text-decoration: none!important;
}
.s-block_header, .s-block_header A {
    color: #9c0909!important;
    font-size: 13px!important;
    font-weight: bold!important;
    text-decoration: none!important;
}
.s-block_sign {
    color: #999999!important;
    font-size: 10px!important;
    text-align: left!important;
    text-decoration: none!important;
}

.s-block_clear {
    clear:both!important;
}

.s-block TABLE {
    width: 100%!important;
    border: 0px!important;
}