/*******************Global reset******************************/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
    outline: 0;
}
body {
    line-height: 1;
}
/* tables still need 'cellspacing="0"' in the markup */
caption, th, td {
    text-align: left;
    font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: "";
}
blockquote, q {
    quotes: "" "";
}
/****************************common*************************************/
body {color: #fff; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; letter-spacing: 0.2px; line-height: 1.2; vertical-align: middle; background: #FFDC00;}
a {color: #222;}
.highlight {color: #fff;}

#header-wrapper {position: relative; height: 70px;}

#logo-img {position: absolute; top: 0; left: 0;}
#search {position: absolute; width: 415px; left: 310px; top: 40px; vertical-align: top;}
#search input[type="text"] {border: 1px solid #222; width: 310px; float: left; height: 20px; vertical-align: middle; line-height: 20px; font-size: 12px;}
#search input[type="submit"], #search input[type="button"] {background: #2D2D2D; color: #fff; border: none; height: 23px; float: right; width: 100px; font-weight: bold;}

#top-menu {position: absolute; left: 310px; top: 5px; list-style: none;}
#top-menu li {float: left; margin-right: 1px;}
#top-menu li a {background: #2D2D2D; color: #fff; display: block; font-size: 14px; height: 20px; line-height: 20px;  padding: 4px 10px; text-decoration: none; vertical-align: middle;
                 border-radius: 8px; -moz-border-radius: 8px; -webkit-border-radius: 8px; border: 1px solid #aaa; border-style: outset; text-shadow: 1px 1px 1px #555;}
#top-menu li a:hover {border-style: inset;}
#top-menu li a.current {background: #FFF374;}

#addthis-header {position: absolute; width: 400px; left: 300px; top: 138px;}

.title {background: #2D2D2D; color: #fff; font-size: 21px; font-weight: bold; height: 40px; line-height: 36px; margin: 3px 0; text-indent: 40px; width: 100%;}
/***********/
.index-pics {text-align: center;}
.index-pics>p {display: inline-block; width: 311px; text-shadow: #222 2px 1px 1px; margin: 2px 0px; vertical-align: top;}
.index-pics img {border: 1px solid #222; margin-bottom: -3px;}
.index-pics a:hover img {border: 1px solid #FFF374;}
.index-pics a {color: #FFF374;}
.index-pics p>a {height: 253px; display: inline-block; width: 311px; text-decoration: none; font-weight: bold;}
.index-pics p span {display: block; background: #2D2D2D; vertical-align: middle; height: 20px; line-height: 20px; color: #fff; text-align: center; overflow: hidden;}
.index-pics p a span a {display: inline;}
.index-pics p>span {font-size: 10px; margin-top: -3px;}
.index-pics .longest-link {float: left; padding-left: 5px;}
.index-pics .newest-link {float: right; padding-right: 5px;}
/**************/
.index-pics-top {text-align: center;}
.index-thumbs-top {text-align: center;}
.index-traders-thumb {position: relative; display: inline-block; color: #FFF374; height: 234px; width: 311px;}
.index-traders-thumb img {height: 232px; width: 309px; border: 1px solid #222;}
.index-traders-thumb:hover img {border: 1px solid #FFF374;}
.index-traders-thumb span {width: 309px; position: absolute; left: 1px; bottom: 0; display: block; background: url("../images/op.png"); line-height: 18px; vertical-align: middle; 
                           font-size: 14px; display: block; text-align: center;}
/***********/
#all-cats {margin: 20px auto; overflow: hidden; position: relative; width: 1000px;}
.text-cats {float: left; font-size: 13px; font-weight: bold; list-style-position: inside; margin: 0 10px 0 0; width: 320px;}
.text-cats li {}
/*pag top test*/
#top-pagination {width: 1000px; margin: 10px auto 10px;}
#top-pagination .orderby {width: 280px; margin: 0; float: left;}
#top-pagination .pagination  {margin: 0 0 0 330px; text-align: left;}
.pagination {margin: 10px 0; text-align: center; width: 100%;}
.pagination li {display: inline; font-weight: bold; margin-right: 2px;}
.pagination li a, .pagination span {background: #2D2D2D; padding: 5px; text-decoration: none; color: #FFF374;}
.cat-realates {background: #2D2D2D; margin: -3px 0 3px; text-indent: 40px; width: 100%; padding: 5px 0;}
.cat-realates a {color: #fff; text-decoration: none;}
/*************/
.niche-pics {text-align: center;}
.niche-pics>p {display: inline-block; width: 311px; text-shadow: #222 2px 1px 1px; margin: 2px 0px; vertical-align: top; text-align: left; background: #2D2D2D; padding-bottom: 4px; color: #FFF374;height: 274px; overflow: hidden; position: relative;}
.niche-pics p>a {display: inline-block; width: 311px; text-decoration: none; font-weight: bold; color: #fff;}
.niche-pics p>a>span {padding-bottom: 6px;}
.niche-pics p span {display: block; vertical-align: middle; line-height: 1; padding: 0 2px 4px 2px;}
.niche-pics p span span {display: inline;}
.niche-pics p span a {display: inline; color: #fff;}
.niche-pics p span .thumb-download-link {color: #fff;}
.niche-pics p>span {font-size: 10px;background: #2D2D2D;}
.niche-pics p span.thumb-info.colored a {color: #fff;}
.niche-pics img {margin: 1px;}
.thumb-desc {color: #fff}
.thumb-info {font-size: 10px; font-weight: normal; line-height: 1;}
.gal-views {float:right}
#gal-seo-related-thumbs {overflow: hidden; width: 100%; padding: 0 4px; height: 274px; margin-bottom: 5px;}
#gal-seo-related-thumbs>p {float: left; margin-left: 2px; margin-bottom: 12px;}
#gal-notseo-related-thumbs {overflow: hidden; width: 100%; padding: 0 4px; height: 184px; margin-bottom: 5px;}
/***************/
.gallery {text-align: center; padding-bottom: 10px; color: #222; text-align: center; overflow: hidden;}
#player-wrapper {width: 588px; margin: 0 5px 5px 5px; float: left;}
#video-container {width: 588px; height: 476px; position: relative;}
#video-pu-overlay {width: 588px; height: 476px; background: none; position: absolute; top: 0px; left: 0px; z-index: 9000;}
#breadcrumbs {background: #2D2D2D; color: #FFF374; padding: 3px; text-align: left; text-shadow: 1px 1px 2px #222; font-size: 10px;}
#breadcrumbs a {color: #FFF374;}
#video-desc {background: #2D2D2D; color: #fff; padding: 3px; text-align: left; text-shadow: 1px 1px 2px #222; font-size: 16px;}
.gallery-promo-thumb {color: #3F3F3F; display: inline-block; margin: 0 -2px 1px 0; padding: 0;}
.gallery-promo-thumb img {border: 1px solid #3F3F3F; display: block; margin: 0; padding: 0;}
#video-info {background: #2D2D2D; color: #fff; padding: 3px; text-align: left;  margin: 5px 0; text-shadow: 1px 1px 2px #222;}
#video-info a {text-shadow: none; font-weight: bold; color: #fff;}
#video-info a.white {color: #fff; text-shadow: 1px 1px 2px #222;}
#first-line {overflow: hidden; padding: 0 3px 0 0;}
#first-line span {float: right; color: #fff;}
.h2-rel-cats {display: inline;}
.votes {}
.stars {padding: 0 10px 0 0;}

#related-site-title {width: 100%; margin: 0px auto 5px auto; background: #2D2D2D; font-size: 14px; text-shadow: #222 2px 1px 1px; color: #fff; padding: 3px 0;}
#related-cats.thumbs a {display: inline-block; position: relative; vertical-align: top; margin: 3px; width: 190px; color: #fff; background: #2D2D2D; 
                        text-shadow: #222 2px 1px 1px; text-decoration: none; font-size: 14px; line-height: 15px; margin: 2px 0px; font-weight: bold; height: 167px;}
#related-cats.thumbs a img {height: 142px; width: 190px; border: none;}

#gal-text {background: #2D2D2D; color: #fff;} 

.gallery-traders-thumb {position: relative; display: inline-block; color: #FFF374;}
.gallery-traders-thumb img {height: 216px; width: 288px;}
.gallery-traders-thumb p {width: 288px; position: absolute; bottom: 0; display: block; background: url("../images/op.png"); line-height: 16px; vertical-align: middle; font-size: 14px;}
.gallery-traders-thumb span {width: 288px; position: absolute; bottom: 0; display: block; background: url("../images/op.png"); line-height: 16px; vertical-align: middle; font-size: 14px; display: block;}
.gallery-ctr-thumb img {height: 216px; width: 288px;}
/*************/
#top-wrapper {width: 940px; margin: 0 auto; overflow: hidden;}
#top-wrapper ul {list-style: none; width: 312px; float: left;}
#top-wrapper li a {text-decoration: none;}
/*search log*/
#search-logs {margin: 20px auto; overflow: hidden; position: relative; width: 1000px; text-align: left;}
.search-log {float: left; font-size: 13px; font-weight: bold; list-style-position: inside; margin: 0 10px 0 0; width: 490px;}
.search-log li {line-height: 1.4;}
.search-log .pornstar-first-letter {font-size: 14px; color: #222; list-style: none;}
/*************/
#block404 {width: 500px; margin: 20px auto 150px;}
#block404 p {font-weight: bold;}
/************/
#footer {width: 600px; margin: 25px auto 5px auto; text-align: center; font-size: 12px;}

@media only screen and (max-width: 640px) {
    #header {}

    #logo-img {margin: 0 auto 5px; height: 150px; width: 150px; display: block;}

    #search {width: 100%; margin-bottom: 5px; position: static;}
    #search input[type="text"] {width: 60%; height: 20px; line-height: 20px; font-size: 15px;}
    #search input[type="submit"], #search input[type="button"] {height: 24px; width: 35%;}

    #header-text {width: 100%; margin-bottom: 5px; position: static;}

    #top-menu {width: 100%; margin-bottom: 5px; position: static;}
    
    #addthis-header {width: 100%; position: static;}
    /******/
    .title {font-size: 15px; font-weight: bold; height: 20px; line-height: 20px; text-indent: 20px; width: 100%;}
	/******/
    /*#player-wrapper {width: 100%; margin: 0;}*/
	/*#video-container {width: 100%; height: auto;}*/
	#video-pu-overlay {width: 100%; height: auto;}
    #related-site-title {width: 100%;}
    /******/
    #all-cats {overflow: hidden; position: relative; width: 100%;}
    .text-cats {float: left; font-size: 10px; font-weight: bold; list-style-position: inside; margin: 0 3px 0 0; width: 32%;}
    /******/
    #top-wrapper {width: 100%; overflow: hidden;}
    #top-wrapper ul {list-style: none; width: 32%; float: left; font-size: 9px;}
    /******/
    #footer {width: 100%; margin: 25px 0 5px 0; text-align: center; font-size: 10px;}
}
/************/
#tubes-menu-list {display: none; position: absolute; right: 1px; width: 400px; }
#tubes-menu-list li a {color: #000;}
#tubes-menu-list ul {float: left; width: 200px; list-style: none; }
#tubes-menu-list ul li {float: none;}
#tubes-menu-list ul li a {height: 15px; line-height: 15px; font-size: 11px;}

#tubes-menu ul li a {background: #FFF374;}
#tubes-menu a:hover {background: #FFF374;}
#tubes-menu:hover #tubes-menu-list {display: block;}
/**********/
#lang-selector-wrap {width: 140px; position: absolute; top: 5px; left: 720px;}
#lang-selector-wrap p {height: 25px; line-height: 25px; vertical-align: middle; font-size: 18px; background: url("../images/left.png") 217px 1px no-repeat #FFF374;
                       color: #000; text-indent: 3px; cursor: pointer; -moz-user-select: -moz-none; -o-user-select: none; -khtml-user-select: none; -webkit-user-select: none;
                       user-select: none; border: 1px solid #000000;}
#lang-selector {display: none; height: 200px; background: #FFF374; z-index: 1000; position: relative; position: absolute; width: 140px;}
#lang-selector ul { overflow-y: scroll; overflow-x: hidden; z-index: 1000; position: relative; height: 200px; width: 140px;}
#lang-selector ul li {text-indent: 3px; line-height: 18px;}
#lang-selector a {color: #000; font-size: 14px; text-decoration: none;}
#lang-selector-wrap p.lan-sel-down {height: 25px; line-height: 25px; vertical-align: middle; font-size: 18px; background: url("../images/down.png") 217px 1px no-repeat #FFF374;
                                    color: #000; text-indent: 3px; cursor: pointer; -moz-user-select: -moz-none; -o-user-select: none; -khtml-user-select: none;
                                    -webkit-user-select: none; user-select: none;}