/* max width: 500px ***********************************************************

@media screen and (max-width: 500px) {
  body {
    font-size: 60%;
  }
}

/* max width: 500px ***********************************************************/





/* topline ********************************************************************/

@media screen and (max-width: 900px) {

  #topline {
    height: 51px;
  }

  #site-title{
      font-size: 30px !important;
      margin-top: 6px;
  }

  #site-title {
    float: none !important;
    padding: 0 0 0 12px !important;
    font-size: 26px !important;
  }

  h1#site-title{
    margin-top: 10px;
  }


  a#site-title{
    margin-top: 0;
  }

  #category-title {
    float: none !important;
    padding: 0 0 0 12px !important;
    position: static !important;
    font-size: 16px !important;
  }


/* topline mobile widgets *************/

  .mobile-widget {
    float: none;
    position: absolute;
    z-index: 1001;

    margin: 0 0 0 0;
    padding: 2% 1%;
    width: 94%;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255 , 0.95);
    box-shadow: 0 4px 20px #000000;

    border-radius: 14px;

    z-index: 1000;
    top: 12px;
    left: 3%;
  }

  #topline .widget-menu {
    padding: 10px;
  }

  .widgettitle {
    font-size: 20px;
    font-weight: normal;
    margin: 1%;
  }

  .tw-close-button {
    background: url(/wp-content/themes/wpst-theme/assets/images/icons/close-24x24.png);
    width: 24px;
    height: 24px;
    position: fixed;
    top: 22px;
    right: 26px;
    cursor: pointer;
  }

/* topline mobile widgets *************/


/* topline - share ********************/

  #topline  .share {
    margin-right: 35px;
  }

  #topline .share>div {
    margin: 4px;
  }

/* topline - share ********************/


/* topline - searchform ***************/

  #searchform {
    height: 34px;
    margin: 40px 0.5% 0px 0.5%;
    width: 99%;
  }

  #searchinput {
    font-size: 18px;
  }

  #searchsubmit {
    width:  32px;
    height: 34px;
    margin-right: -1px;
  }

  #searchimage {
    background: url(/wp-content/themes/wpst-theme/assets/images/icons/search-22x24.png);
    width: 22px;
    height: 24px;
  }

/* topline - searchform ***************/


/* topline - menu *********************/

  .menu-topline {
    font-size: 15px;
  }

  .menu-topline a {
    display: block;
  }

  .menu-topline .menu-title {
    font-weight: bold;
    padding: 2px;
  }

  .menu-wrapper {
    margin: 6px 0 6px 0;
  }

  .menu-topline .menu-item a {
    padding: 4px;
    padding-left: 12px;
  }

  .menu-topline .submenu a {
    padding-left: 20px;
  }

  .menu-topline .submenu .submenu a {
    padding-left: 12px;
  }

  .menu-topline .submenu .submenu .submenu a {
    padding-left: 20px;
  }

/* topline - menu *********************/


/* mobile icons ***********************/

  #mobile-icons {
    position: absolute;
    top: 0;
    right: 0;
    padding-right: 1px;
    z-index: 2;
  }

  .mobile-icon {
    width: 48px;
    height: 48px;
    margin: 0 6px 0 6px;
    float: left;
    cursor: pointer;

    position: relative;
    top: 0;
    right: 0;
  }

  .mi-menu {
    background: url(/wp-content/themes/wpst-theme/assets/images/icons/menu-48x48.png);
    top: 1px;
  }

  .mi-share {
    width: 46px;
    height: 46px;
    background: url(/wp-content/themes/wpst-theme/assets/images/icons/share-46x46.png);
    top: 2px;
  }

  .mi-search {
    width: 46px;
    height: 46px;
    background: url(/wp-content/themes/wpst-theme/assets/images/icons/search-46x46.png);
    top: 2px;
  }

/* mobile icons ***********************/
}



@media screen and (max-width: 479px) {
  #topline {
    font-size: 12px;
  }

  #site-title{
    font-size: 23px !important;
  }

  #topline h1#site-title{
    margin: 10px 0 0 0 !important;
  }

  #topline a#site-title{
    margin: 4px 0 0 0;
  }
}


@media screen and (max-width:260px) {
  #category-title {
    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);
  }
}



@media screen and (max-width:200px) {
  #site-title{
    display: block;
    float: none;
    font-size: 17px;
    margin: 6px 0;
    text-align: center;
  }

  #category-title {
    display: none;
  }
}



@media screen and (min-width: 901px) {

/* topline mobile widgets *************/

  #mobile-icons {
    display: none;
  }

  .mobile-widget.hidden {
    display: block;
  }

  .tw-close-button {
    display: none;
  }

/* topline mobile widgets *************/



/* topline widgets ********************/

  #sidebar-desktop-topline {
    float: left;
    margin-left: 8px;
  }

  #topline .widget {
    float: left;
    margin-right: 8px;
  }


  #topline .share {
    float: left;
    margin: 5px 0px 0px 0px;
  }

  #topline .share.s18 {
    margin-top: 5px;
  }

  #topline .widget_search {
    width: 30%;
    position: relative;
    margin: 0;
    float: right;
  }

  body.catintop #topline .widget_search {
    float: left;
    margin-left: 10px;
  }

  .widgettitle {
    display: none;
  }

/* topline widgets ********************/



/* topline - menu *********************/

  .menu-topline {
  	margin: 0;
  	min-height: 40px;
  }

  .menu-topline,
  .menu-topline>.menu-wrapper>.menu-title,
  .menu-topline .menu-item {
/*    float: none;*/
    height: 40px;
    line-height: 39px;
    margin: 0px;
    position: relative;
    cursor: pointer;
  }

  .menu-topline .menu-item {
    height: 32px;
    line-height: 31px;
  }


  .menu-topline>.menu-wrapper>.menu-title,
  .menu-topline .menu-item {
    font-size: 16px;
  }
  .menu-topline .menu-item .menu-item {
    font-size: 14px;
  }

  .menu-wrapper { float: left; }

  .menu-topline>.menu-wrapper>.menu-title,
  .menu-topline a,
  .menu-topline span {
    display: block;
    white-space: nowrap;
    padding: 0px 8px;
    text-decoration: none;
  }

  .menu-topline .submenu,
  .menu-topline .menu {
    margin: 0px;
    padding: 0px;
    position: absolute;
    z-index: 3;
    min-height: 0px;
    margin-left: -1px;
    margin-top: -1px;
    margin-left: -5000px;
  }

  .menu-topline>.menu-wrapper:hover>.menu,
  .menu-topline .menu-item:hover .submenu:first-child {
    margin-left: 0;
    opacity: 1;
  }

  .menu-topline .menu-item:hover>.submenu {
    margin-top:  -32px;
    margin-left: 100%;
  }

  .menu-topline table.menu {
    border-collapse: collapse;
    empty-cells: show;
  }

  .menu-topline .submenu {
    border-collapse: separate; /* for box-shadow in IE */
  }

  .menu-topline .menu,
  .menu-topline .submenu {
    display: table;
  }

  .menu-item {
    display: table-cell;
  }

  .menu>.sep:nth-of-type(3n+3) {
    display: table-row;
  }

  .submenu>.sep {
    display: table-row;
  }

/* topline - menu *********************/

}

/* topline ********************************************************************/





/* category list **************************************************************/

@media screen and (max-width: 1240px) {
  #category-list ul {
    -moz-column-count: 4;
    -webkit-column-count: 4;
    -o-column-count: 4;
    column-count: 4;
  }
}


@media screen and (max-width: 1100px) {
  #category-list ul {
    -moz-column-count: 3;
    -webkit-column-count: 3;
    -o-column-count: 3;
    column-count: 3;
  }
}



@media screen and (max-width: 760px) {
  #category-list ul {
    -moz-column-count: 2;
    -webkit-column-count: 2;
    -o-column-count: 2;
    column-count: 2;
  }
}



@media screen and (max-width: 580px) {
  #category-list ul {
    display: table;
    -moz-column-count: 1;
    -webkit-column-count: 1;
    -o-column-count: 1;
    column-count: 1;
  }

  footer {
    padding: 12px 3px !important;
  }

  #category-list {
    padding: 10px 0 60px !important;
  }

  #category-list li {
    position: relative;
    text-align: left !important;
    margin: 0;
    padding: 6px 0;
    width: 200%;
  }

  #category-list a {
    position: relative;
    float: none !important;
    display: block !important;
    z-index: 1;
  }

  #category-list .category-count {
    position: absolute;
    right: 0;
    top: 6px;
  }
}

/* category list **************************************************************/





/* postlist *******************************************************************/

@media screen and (max-width: 479px) {
  .intro-post_list .p-wrapper {
    padding: 7px 12px;
  }
  .intro .i-title {
    font-size: 12px;
  }
}



@media screen and (max-width:260px) {
  .intro-post_list .i-title a {
    font-size: 14px;
  }

  .intro-post_list .i-excerpt {
    font-size: 12px;
  }

  .intro .i-rating {
    display: none;
  }
}

/* postlist *******************************************************************/





/* page of categories *********************************************************/

@media screen and (max-width: 479px) {
/* introduction - page of categories **/

  .intro-page_categories .p-wrapper {
    padding: 10px 5px;
  }

  .intro-page_categories>.p-wrapper {
    border-bottom: none;
    margin-bottom: 0;
  }

  .intro-page_categories > .p-wrapper > .post {
    margin: 6px 4px;
  }

  .intro-page_categories>.p-wrapper>.post>.r1 .i-title {
    font-size: 20px;
  }


  .intro-page_categories .i-read_more {
    height: 30px;
  }

  .intro-page_categories .read-more {
    padding: 0 10px;
    font-size: 16px;
    bottom: 10px;
  }

/* introduction - page of categories **/


/* introduction - posts in page of categories */

  .intro-posts_on_categories_page .p-items {
    padding-top: 3px;
  }

  .intro-posts_on_categories_page .i-title a {
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    display: block;
  }

  .intro-posts_on_categories_page .p-cell {
    display: block;
  }

/* introduction - posts in page of categories */

}



@media screen and (max-width:300px) {
  .intro-page_categories {
    padding: 0 20px;
  }
}



@media screen and (max-width:200px) {
  #content-wrapper .intro-page_categories .p-wrapper {
    padding: 5px 0;
  }

  .intro-page_categories {
    padding: 0 10px;
  }
}

/* page of categories *********************************************************/





/* single *********************************************************************/

@media screen and (max-width: 900px) {
  .single .r1 {
    margin-top: 6px;
  }

  .section {
    margin: 0 6px 18px 6px;
  }

  .intro-posts_on_categories_page .i-title a {
    text-decoration: underline;
  }
}



@media screen and (max-width: 700px) {
  .single .i-title {
    font-size: 19px;
  }
}



@media screen and (max-width: 479px) {
  .single .i-title {
    font-size: 18px;
  }
}



@media screen and (max-width:360px) {
  .single .i-title {
    font-size: 16px;
  }
}



@media screen and (max-width:349px) {
  .single .i-title {
    font-size: 15px;
  }

  .single .voting-info {
    display: none;
  }
}

/* single *********************************************************************/





/* media box ******************************************************************/

@media screen and (max-width:1050px){
  .i-games, .i-video {
    display: table;
    margin: 0 auto;
    width: 96% !important;
  }
}


@media screen and (max-width: 800px) {
  #video-player {
    padding-bottom: 60% !important;
  }
}


@media screen and (max-width: 500px) {
  #video-player {
    padding-bottom: 75% !important;
  }
}


@media screen and (max-width: 360px) {
  #video-player {
    padding-bottom: 80% !important;
  }
}

/* media box ******************************************************************/





/* related posts **************************************************************/

@media screen and (max-width: 800px) {
  #desktop #related-posts-title {
    margin: 6px 0 12px 6px;
    font-size: 20px;
  }
}

/* related posts **************************************************************/





/* pagination *****************************************************************/

@media screen and (max-width:360px) {
  .pages-box .before {
    display: none;
  }

  .pages-box .before + * {
    border-left: none !important;
  }
}

/* pagination *****************************************************************/





/* page description ***********************************************************/

@media screen and (max-width: 700px) {
  .page-description {
    font-size: 12px !important;
    padding: 0 10px !important;
  }
}

/* page descirption ***********************************************************/





/* comments *******************************************************************/

@media screen and (max-width: 479px) {
  input#comment-author {
    width: 80%;
  }
}

/* comments *******************************************************************/





