@media screen and (max-width: 320px) {
  ul.h-nav.to-mob {
    height: 250px !important;
  }
  .side-item + .side-item {
    justify-content: flex-start !important;
  }
}

@media screen and (max-width: 466px) and (min-width: 320px) {
  ul.h-nav.to-mob {
    height: 125px !important;
  }
}

@media screen and (max-width: 590px) and (min-width: 320px) {
  .form-buts {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
  }
}

@media screen and (max-width: 619px) and (min-width: 467px) {
  ul.h-nav.to-mob {
    height: 95px !important;
  }
}

@media screen and (max-width: 620px) {
  .h-inf {
    height: 200px !important;
    background-size: cover;
    display: flex;
    flex-direction: column-reverse;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 3px;
  }

  .logo-wrapper {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
  }

  .banner-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    flex-wrap: nowrap;
  }

}

/* @media screen and (max-width: 800px) */
@media screen and (max-width: 800px) {
  .login-box.side-item form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 3px;
  }

  input[type="text"],
  input[type="password"] {
    height: 27px;
    margin: 3px 0;
    border-radius: 7px;
  }

  .button,
  .pagi-load a,
  .up-second li a,
  .usp-edit a,
  .qq-upload-button,
  button:not(.color-btn):not([class*="fr"]),
  html input[type="button"],
  input[type="reset"],
  input[type="submit"],
  .meta-fav a,
  .usp-btn a {
    height: 24px;
    line-height: 25px;
  }

  .login-box.side-item form a {
    font-size: 12px;
  }

  .lb-soc {
  }

  .lb-soc img {
    height: 27px;
    border-radius: 12px;
  }

  .h-inf {
    height: 110px;
    padding: 7px;
  }

  ul.h-nav.to-mob {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    height: 65px;
  }

  .main {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: flex;
    padding: 3px;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
  }

  .xfieldsnote {
    font-size: 0.85em;
  }

  form#entryform:not(textarea) {
    font-size: 14px;
  }

  .speedbar,
  .speedbar a {
    font-size: 12px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    line-height: 1.4rem;
  }

  .side {
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 7px;
    align-content: flex-start;
  }

  div#navmenu-div > div > div {
    width: 100%;
  }

  .cols {
    display: flex;
    flex-direction: column-reverse;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
  }

  .side-bx {
    flex-grow: 1;
    width: 150px;
    margin: 0;
    border-top: 1px solid #c6c9dd1a;
  }

  .side-bt {
    padding: 3px 0 5px 27px;
    font-size: 12px;
    font-weight: 700;
  }

  .side-item + .side-item {
    margin-top: 1px;
    padding-top: 1px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
  }

  .login-box {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    /* width: 160px; */
  }

  .login-box ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    align-content: flex-start;
  }

  .login-box li a {
    font-size: 0;
  }

  .login-box .lb-user {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
  }

  .login-box .lb-user .lb-name {
    font-size: 11px;
    font-weight: 800;
    flex-grow: 1;
    text-shadow: 2px 0px 2px white;
    background: radial-gradient(#ffffffc2, transparent);
    border-radius: 25px;
  }

  .login-box .lb-user .img-box {
    padding: 0;
    flex-grow: 1;
    width: 50%;
    margin: 0 auto;
  }

  .login-box .lb-user img {
    width: 40px;
  }

  .search-box {
    width: inherit;
    margin: inherit;
    order: 1;
  }

  .tripoloski {
    width: 100%;
    text-shadow: -2px 0px 6px #00d449;
    font-size: 27px;
    color: #9c27b0;
    display: flex;
    background: linear-gradient(180deg, transparent, #27b08829, transparent);
    flex-direction: row;
    justify-content: center;
    align-items: center;
    order: 2;
    cursor: pointer;
    transition: 0.5s;
  }

  .search-field {
    width: inherit;
  }

  .moon {
    order: 3;
    width: 100%;
  }

  .littlemoon {
    display: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .bigmoon {
    display: none;
  }

  .help-as {
    order: 4;
    width: 49%;
  }

  .vote {
    order: 8;
  }

  .personals {
    order: 5;
    width: 49%;
  }

  div#navmenu-div .sub-menu-title .next-menu-title {
    /* opacity: inherit !important;
    height: inherit !important; */
  }

  .right-menu {
    width: 100%;
    margin-bottom: 7px;
    order: 6;
  }

  .right-menu #navmenu-div {
    line-height: 17px;
    font-weight: bold;
    padding: 3px 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: stretch;
  }

  .sub-menu-title {
    padding: 0px 7px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
  }

  div#navmenu-div div {
    margin: 0;
  }

  div#navmenu-div div a {
    font-size: 12px;
    width: min-content;
    padding: 1px 7px;
    white-space: nowrap;
  }

  .popular-art {
    width: 100%;
    display: flex;
    flex-direction: column;
    order: 7;
  }

  .popular-art .side-item {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 12px;
    gap: 7px;
    padding: 0 12px;
    margin: 0;
  }

  .side-item-date {
    font-size: 12px;
  }

  .advert-box {
    display: none;
  }
  .news-item-title {
    font-size: 15px;
  }
}
/* end @media screen and (max-width: 800px) */

@media screen and (max-width: 95%) {
  .center {
    max-width: 95%;
  }
  .block,
  .footer,
  .h-inf {
    padding: 20px 10px;
  }
  .block {
    padding: 10px;
  }
  .error-text {
    display: none;
  }
}

@media screen and (max-width: 90%) {
  .center {
    max-width: 90%;
  }
  .h-inf {
    height: auto;
  }
  .side {
    display: none;
  }
  .main {
    padding: 20px 10px;
    width: 100%;
  }
  .logo {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
  .logo p {
    font-size: 16px;
  }
  .h-nav {
    display: none;
  }
  .search-box {
    width: 200px;
  }

  .btn-menu {
    background-color: #16a1e7;
    color: #fff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 24px;
    display: block;
    cursor: pointer;
  }
}

@media screen and (max-width: 85%) {
  .center2 {
    max-width: 85%;
  }

  .full h1 {
    font-size: 20px;
  }
  .full-text h2,
  .full-text h3,
  .full-text h4,
  .full-text h5 {
    font-size: 18px;
  }
  .full-text .rels-in {
    width: 100%;
    margin-right: 0;
    float: none;
    display: none;
  }

  .comm-three li:not(:first-child) {
    display: none;
  }
  .dcont button {
    font-size: 12px;
    padding: 0 15px !important;
  }
  .ac-protect {
    margin-top: 0px;
  }
  .comments-tree-list .comments-tree-list {
    padding-left: 0px !important;
  }
  .comments-tree-list .comments-tree-list:before {
    display: none;
  }
  .mass_comments_action {
    display: none;
  }
  .sub-title h1 {
    font-size: 18px;
    line-height: 24px;
  }
}

@media screen and (max-width: 590px) {
  .center2 {
    max-width: 480px;
  }
  .news-item-img {
    float: none;
    margin: 0 auto 20px auto;
  }
  .ft-left {
    width: 100%;
    margin-bottom: 10px;
    padding: 0 20px;
  }

  .video-box embed,
  .video-box object,
  .video-box video,
  .video-box iframe,
  .video-box frame {
    height: 300px;
  }

  .ac-soc {
    position: static;
  }
  .ac-inputs input {
    width: 100%;
    margin-top: 10px;
  }
  .ac-protect {
    width: 100%;
    float: none;
    margin: 0;
  }
  .ui-dialog {
    width: 100% !important;
  }
  .upop-left,
  .upop-right {
    float: none !important;
    width: 100% !important;
    margin: 0;
    padding: 0 20px;
  }
  .upop-left {
    margin-bottom: 10px;
    text-align: center;
  }
  .ui-dialog-buttonset button {
    display: block;
    margin: 0 0 5px 0;
    width: 100%;
  }
  #dofullsearch,
  #searchsuggestions span.seperator {
    display: none !important;
  }
  .attach .download-link {
    margin: 0 -15px 0 0;
    float: none;
    display: block;
    padding: 0 10px;
  }
  .attach-info {
    float: none;
  }
}

@media screen and (max-width: 470px) {
  .center2 {
    max-width: 320px;
  }

  .video-box embed,
  .video-box object,
  .video-box video,
  .video-box iframe,
  .video-box frame {
    height: 250px;
  }
}
