/*
Theme Name: WPST Theme
Theme URI: http://bozmanshop.com/
Description:
Author: unicoder
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags:
Text Domain: wpst-theme
*/


/* basic **********************************************************************/

body, html {
  height:      100%;
  min-height:  100%;
}


* {
  font-size: 1em;
  margin: 0;
  padding: 0;
  vertical-align: top;
  border: none;
  font-weight: normal;
  box-sizing: border-box;
}

textarea {
  white-space: pre-wrap;
}

body {
  font-size: 14px;
}


#content-single .service-message {
  margin-top: 30px;
}

.service-message {
  font-size: 17px;
}

table {
	border-spacing: 0;
  z-index: expression(
    runtimeStyle.zIndex = 1,
    cellSpacing = 0
  );
}

ol, ul, dl {
	list-style: none;
	margin:     0;
	padding:    0;
}

button {
  cursor: pointer;
}

ul.cyrcle {
  list-style: circle inside;
}

.block {
  display: block;
}

.break, .break-small {
  padding:   0 0 10px 0;
  margin:    0;
  font-size: 0;
}

.break-small {
  padding-bottom: 6px;
}

.sep {
  height: 0;
  display: none;
}

.hr {
  display:    block;
  height:     1px;
  margin:     0;
}

.service-message {
  text-align: center;
}

.hidden {
  display: none;
}

.invisible {
  left: -999em;
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
}

.clear {
  height: 0;
  line-height: 0;
  clear:  both;
}

.wpstout {
  cursor: pointer;
}

/* basic **********************************************************************/





/* page layout ****************************************************************/

#wrapper {
  margin: auto;
  display: table;
  height: 100%;
  width: 100%;
  padding: 0px;
  box-sizing: border-box;
  table-layout: fixed;
  overflow: hidden;
}


#content-wrapper {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
}
/*
#site-description {
  -webkit-box-ordinal-group: 100;
  -moz-box-ordinal-group: 100;
  -ms-flex-order: 100;
  -webkit-order: 100;
  order: 100;
  margin-top: 0px;
}
*/


#columns-wrapper {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;

  -webkit-justify-content: space-between;
  justify-content: space-between;
}


#left {
  -webkit-box-ordinal-group: 1;
  -moz-box-ordinal-group: 1;
  -ms-flex-order: 1;
  -webkit-order: 1;
  order: 1;
}


#right {
  -webkit-box-ordinal-group: 3;
  -moz-box-ordinal-group: 3;
  -ms-flex-order: 3;
  -webkit-order: 3;
  order: 3;
}


#center {
  width: 100%;

  -webkit-box-ordinal-group: 2;
  -moz-box-ordinal-group: 2;
  -ms-flex-order: 2;
  -webkit-order: 2;
  order: 2;

  -webkit-flex-shrink: 100;
  flex-shrink: 100;
}

#left, #right {
  /*min-width: 300px;*/
  width: auto;
  float: none;
}



#top-row, #bottom-row {
  display: table-row;

/*  word-break: break-all;*/
  /*overflow-wrap: break-word;*/
}


#top-row{
  height: 100%;
}

#bottom-row {
  padding:    0px;
}



#content-wrapper {
  width: 100%;
}

#content-list, .content-single {
  margin-left: 6px;
  margin: 0px 0px 0px 0px;
}

#content-list {
  padding: 0px 3px;
}


.section {
  margin: 6px;
	padding: 6px;
  overflow: hidden;
  box-sizing: border-box;
}

.section-title {
  font-size: 23px;
  font-weight: normal;
}

.page_categroies h2,
.comments-heading {
  font-size: 25px;
  line-height: 1;
  margin: 30px 0 10px 0;
  padding: 6px;
  text-align: center;
  font-weight: normal;
}

/* page layout ****************************************************************/





/* site info ******************************************************************/
header {
  position: relative;
}

#site-title {
  display: inline-block;
  font-size: 31px;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

#site-logo {
  display: inline-block;
  float: left;
  margin: 0 10px;
  position: relative;
}

#site-logo + #site-title {
  position: absolute;
  left: -999em;
}

#topline #site-title {
  float: left;
  padding: 1px 12px 0 12px;
  line-height: 1;
  overflow: hidden;
  white-space: nowrap;
}


#site-title strong{
  font-weight: normal;
}



#site-description {
  font-size: 14px !important;
  line-height: 1.5;
  padding: 0 10px;
  margin: 0 0 60px 0;
  text-align: justify;
}

#mobile #site-description {
  text-indent: 0;
}


#category-title {
  position: relative;
  top: 8px;
  right: 12px;
  z-index: 1;
  margin: 0;
  padding: 0;
  line-height: 1;
  float: right;
  display: block;

  font-weight: normal;
  font-size: 20px;
  text-decoration: none;
}

/* site info ******************************************************************/





/* footer *********************************************************************/

footer {
  padding: 12px 6px;
}

/* footer *********************************************************************/





/* topline ********************************************************************/

#topline {
	margin: 0;
	min-height: 40px;
}


#topline:after {
  content: ".";
  display: block;
  height: 0;
  font-size: 0;
  line-height: 0;
  clear: both;
  visibility: hidden;
}


#topline.float {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}


#topline  .widget-share {
  margin-left: 6px;
}

#topline  .widget-share + .widget_search {
  margin-left: 0 !important;
}

/* topline ********************************************************************/





/* search form ****************************************************************/

#searchform {
  float:  right;
  width:  100%;
  height: 29px;
  margin: 5px 5px 0px 0px;
  position: relative;
}

#searchinput {
  float: left;
  width: 98%;
  box-sizing: padding-box;
  height: 100%;
  padding: 0px 0px 0px 4px;
  border-right: none;
  border-radius: 4px 0px 0px 4px;
}

#searchsubmit {
  width:  30px;
  height: 29px;
  right: 0;
  text-align: center;
  position: absolute;
  border-radius: 0px 3px 3px 0px;
}

#searchimage {
  background: url(/wp-content/themes/wpst-theme/assets/images/icons/search-16x16.png);
  width: 16px;
  height: 16px;
  display: inline-block;
}

/* search form ****************************************************************/





/* post layout ****************************************************************/

.p-row {
  display: table;
  width: 100%;
  box-sizing: border-box;
  table-layout: fixed;
}

.p-cell {
  display: table-cell;

	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;

  white-space: -o-pre-wrap;
  word-wrap: break-word;
  white-space: pre-wrap;
  white-space: -moz-pre-wrap;
  white-space: -pre-wrap;
}

/* post layout ****************************************************************/





/* introduction ***************************************************************/

.intro {
  display: table;
  width: 100%;
  text-align: left;
  font-size:0;

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.intro > * {
  font-size: 12px;
}

.intro * {
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

.p-wrapper {
  display: inline-block;

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 10px;
}

.intro-post_list {
  margin-top: 10px;
}

.intro-post_list .p-wrapper {
  padding: 6px 7px 8px 7px;
}

.intro .post {
  box-sizing: border-box;
  height: 100%;
}


.intro .i-title {
  line-height: 1;
  font-size: 13px;
  padding-bottom: 2px; /* для букв: р, у */
  text-align: center;

  overflow-wrap: break-word;  /* не поддерживает IE, Firefox; является копией word-wrap */
  word-wrap: break-word;
  line-break: auto;  /* нет поддержки для русского языка */
  hyphens: auto;  /* значение auto не поддерживается Chrome */
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  overflow: hidden; /* для корректного переноса длинных слов */
}

.i-title a:link,
.i-title a:visited,
.i-title a:hover {
  font-size: 15px;
}


.intro .i-excerpt {
  font-size: 13px;
  text-align: justify;
  margin-top: 2px;

  overflow-wrap: break-word;  /* не поддерживает IE, Firefox; является копией word-wrap */
  word-wrap: break-word;
  word-break: break-all;  /* не поддерживает Opera12.14, значение keep-all не поддерживается IE, Chrome */
  line-break: auto;  /* нет поддержки для русского языка */
  hyphens: manual;  /* значение auto не поддерживается Chrome */
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

.intro-image,
.intro-imglink {
  display: block;
}

.intro-image {
  width: 100%;
  height: auto;
  line-height: 0;
}

.intro-imglink {
  padding-bottom: 70%;
  height: 0;
  overflow: hidden;
}


.intro .i-rating {
  text-align: center;
  margin-top: 2px;
}

.intro .rating-wrap {
  display: inline-block;
}


/* mobile *****************************/

#mobile .intro .post .p-cell {
  position: relative;
}

#mobile .intro .i-title {
  font-size: 16px !important;
  padding-left: 6px !important;
  text-align: left !important;

  height: 100% !important;
  width: 95% !important;
  position: absolute !important;
}

#mobile .intro .intro-title {
  vertical-align: middle;
  line-height: 1.2;
  height: 100% !important;
  width: 95% !important;
  position: absolute !important;
}

/* mobile *****************************/

/* introduction ***************************************************************/





/*  postlist ******************************************************************/

.intro-posts_on_categories_page .p-items {
  padding: 5px 0 0 0;
}

.intro-posts_on_categories_page .p-items:first-child {
  padding-top: 0;
}
/*  postlist ******************************************************************/





/*  introduction for page categories ******************************************/

.intro-page_categories {
  text-align: center;
  margin-top: 10px;
}


.intro-page_categories > .p-wrapper {
  padding: 15px;
}

/* fixed IE bug *
.intro-page_categories>.p-wrapper>.post>.p-row,
.intro-page_categories>.p-wrapper>.post>.p-row>.p-cell {
  display: block;
}
/* fixed IE bug */

.intro-page_categories>.p-wrapper>.post {
  border-radius: 2px;
/*width: 100%;  fixed IE bug */

/* more link */
  position: relative;
/* more link */
}

.intro-page_categories>.p-wrapper>.post>.r1 {
  padding: 0;
  box-sizing: content-box;
  width: 100%;
  border-radius: 4px 4px 0 0;
}

.intro-page_categories>.p-wrapper>.post>.r1>.p-cell .i-title:first-child {
  font-size: 20px;
}

.intro-page_categories>.p-wrapper>.post>.r1 .i-title a {
  display: block;
  position: relative;
  top: -3px;
  padding: 4px 12px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* read more link */
.intro-page_categories .i-read_more {
  height: 50px;
}

.read-more {
  display: block;
  text-align: center;
  margin: 0;
  font-size: 20px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  position: absolute;
  bottom: 20px;
}
/* read more link */

/*  introduction for page categories ******************************************/





/* single *********************************************************************/

.single .p-wrapper {
  padding: 0;
}

.single .post {
  margin: 0;
}

.single .p-row {
  padding: 0 6px;
  margin: 6px 0;
}

.single .i-title {
  font-size: 22px;
}


.i-categories {
  font-size: 15px;
}
.i-categories .pi-prefix {
  float: left;
}
.single .i-categories .k {
  display: inline-block;
}
.single .i-categories .i-sep {
  display: inline-block;
  padding-right: 6px;
}
.single .i-categories .k:first-letter {
  text-transform: uppercase;
}

.i-custom_1,
.i-custom_2 {
  padding: 2%;
}

.i-games, .i-video {
  display: table;
  margin: 0 auto;
  width: 90%;
  padding: 6px 0 0 0 !important;
  box-sizing: border-box;
}

#video-player {
  padding-bottom: 42% !important;
}

.media-box {
  display: inline-block;
  line-height: 0;
}


.single-intro-image {
  width: 40px;
  height: auto;
  float: left;
  margin-right: 6px;
}

.i-content, .i-game_instructions {
  font-size: 13px;
  padding: 0 0 0 6px;
}

/* mobile *****************************/

#mobile .i-categories {
  padding: 3px 0 6px 0;
}

/* mobile *****************************/

/* single *********************************************************************/





/* related posts **************************************************************/

/* блок слева от media box
.i-related {
  width: 40%;
  float: left;
  padding: 10px 0;
  box-sizing: border-box;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
}
#related-posts {
  height: 100%;
  border: 1px solid #555;
  box-shadow: 5px 5px 5px #666;
}
*/

.i-related {
  padding: 10px 0;
  box-sizing: border-box;
}
#related-posts {
  height: 100%;
}
#related-posts-title {
  text-align: center;
  margin: 3px 0 12px 0;
}


.intro-related_posts .i-title {
  font-size: 14px;
}

.intro-related_posts  .i-title a:link,
.intro-related_posts  .i-title a:visited,
.intro-related_posts  .i-title a:focus,
.intro-related_posts  .i-title a:hover {
  line-height: 1.1;
}


.intro-related_posts .p-wrapper {
  padding: 5px 10px;
  display: inline-block !important;
}

.intro-related_posts .p-row {
  padding: 0;
  margin: 0;
}


/* mobile *****************************/

#mobile #related-posts {
  padding: 0 !important;
}

#mobile #related-posts-title {
  text-align: left;
  margin: 6px 0 12px 6px;
  font-size: 20px;
}
/*
#mobile .intro-related_posts .p-wrapper {
  padding: 0 !important;
  margin-bottom: 12px;
}
*/

#mobile .intro-related_posts .p-wrapper {
  padding-bottom: 12px;
}

#mobile .intro-related_posts .intro-title {
  font-size: 15px !important;
}

#mobile .i-related {
  position: static;
  width: 100%;
}

/* mobile *****************************/

/* related posts **************************************************************/





/* pagination *****************************************************************/

.pagination {
	margin:  6px 0px 0px 0px;
	padding: 0px;
	display: block;
}

.pagination:after {
  content: ".";
  display: block;
  height: 0;
  font-size: 0;
  line-height: 0;
  clear: both;
  visibility: hidden;
}

.pagination span.pages {
  border-left: none;
}

.pagination a,
.pagination span {
  display: block;
  padding: 6px 12px;
  margin: 0px;
  float: left;
  border: none;
  text-decoration: none;
  font-size: 16px;
}

.pages-box a:first-child,
.pages-box span:first-child {
  border-left-color: transparent;
}

/* pagination *****************************************************************/





/* comments *******************************************************************/

#comments {
  padding: 0px 0px;
}

#comments-list ol, #comment-form {
  padding: 0 10px;
}

.comment-date {
  font-size: 12px;
}

.comment-author {
  font-size: 13px;
  font-weight: bold;
}

#comment-form .comment-author {
  font-weight: normal;
  display: inline-block;
  margin-left: 6px;
}

.comment-content {
  font-size: 14px;
}

#comments-list > ol li {
  padding: 12px 0 12px 0;
}

#comments-list > ol > li:first-child {
  border-top: none !important;
}

#comments-list p {
  margin-left: 3px;
  text-indent: 0px;
}

#comments .avatar {
  float: left;
}

#comment-form {
  padding-right: 6px;
}

#comment-form .cf-block {
  padding: 6px 6px 0px 6px;
}
#comment-form .cf-head {
  white-space: nowrap;
  font-size: 14px;
  text-align: left;
  line-height: 32px;
}

#comment-form input,
#comment-form textarea {
  width: 100%;
  font-size: 14px;
	padding: 3px;
  border-radius: 4px;
}

#comment-form input[type=text] {
  height: 32px;
  line-height: 32px;
  padding: 0 6px;
}

input#comment-author {
  width: 240px;
  padding: 0px 0px 0px 1px;
}

p#comment-author{
  display: inline-block;
  line-height: 0.9;
}

#comment-area {
  height: 15em;
}

#comment-form .login-admin {
  text-indent: 0px;
  font-size:   16px;
}

#comment-form button {
  margin: 20px 0 0 6px;
	padding: 6px;
  font-size: 16px;
  border-radius: 3px;
}

/* mobile *****************************/
#comments {
  padding-top: 0px;
}
/* mobile *****************************/

/* comments *******************************************************************/





/* category list **************************************************************/

#category-list {
  padding: 20px 5px 10px 5px;
}

#category-list .section-title {
  margin: 0 10px 10px 8px;
}

#category-list ul {
  list-style: none;
  padding: 0 10px;

  -moz-column-count: 5;
  -webkit-column-count: 5;
  -o-column-count: 5;
  column-count: 5;

  -moz-column-gap: 30px;
  -webkit-column-gap: 30px;
  -o-column-gap: 30px;
  column-gap: 30px;
}


#category-list li {
  list-style: none;
  font-size: 15px;
  text-align: right;
  margin-bottom: 3px;
  padding-bottom: 3px;
  display: inline-block;
  width: 100%;
}


#category-list li:after {
  content: ".";
  display: block;
  height: 0;
  font-size: 0;
  line-height: 0;
  clear: both;
  visibility: hidden;
}

#category-list .category-count {
  display: inline-block;
  font-size: 13px;
  font-weight: bold;
  padding: 1px 6px;
  text-align: center;
}

#category-list a,
#category-list a:link,
#category-list a:visited {
  float: left;
}

/* category-list **************************************************************/





/* adverts ********************************************************************/

.wpst-asets {
  white-space: normal !important;
}

.wpst-asets + .intro-post_list {
  margin-top: 0 !important;
}

.porngif-section {
  padding: 0 15px;
  box-sizing: border-box;
  opacity: 0;
}

.porngif-section img {
  margin: 15px 0;
  border-radius: 4px;
  border: 1px solid #000;
  cursor: pointer;
  width: 100%;
}

.porngif-section img:first-child {
  margin-top: 0;
}

.porngif-title {
  font-size: 20px;
  padding-bottom: 6px;
}


/* adverts ********************************************************************/


/* site links *****************************************************************/


.sitelinks-section,
.sitelinks-section li {
  list-style: none;
  margin: 0;
  padding: 0;
}


#left .sitelinks-section,
#right .sitelinks-section {
  padding: 10px 15px;
}

.sitelinks-infooter {
  /* padding: 0 8px 12px 8px; */
  padding: 12px 8px 0 14px;
}

.sitelinks-infooter .sitelinks-title {
  color: #c00;
  text-shadow: 0 0 1px #777;
  font-size: 23px;
}


#left .sitelinks-title,
#right .sitelinks-title {
  font-size: 20px;
}

.sitelinks a {
  display: inline-block;
  padding: 0 0 6px 0;
  font-size: 16px;
}

/* site links *****************************************************************/
