.menu-toggle { display: none; cursor: pointer; font-size: 24px; padding: 12px 15px; text-align: right; color: #292929; user-select: none; }

@media (max-width: 767px) {
  .header { width: 100%; max-width: 1200px; display: flex; align-items: center; flex-wrap: wrap; }
  .header_resize { width: 100%; }
  .logo { float: none; margin: 0; text-align: left; width: auto; clear: none; order: 2; padding: 5px 0; }
  .logo img { max-width: 140px; height: auto; }
  .adv { display: none; }
  .menu-toggle { display: block; float: left; padding: 12px 8px 12px 12px; order: 1; text-align: center; }
  .counter { float: none; text-align: right; padding: 12px 12px; margin: 0; order: 3; margin-left: auto; }
  .counter p { margin: 0; font-size: 11px; }
  .menu { order: 4; flex-basis: 100%; }

  .body { width: 100%; padding: 10px 0 0 0; }
  .body_resize { width: 100%; max-width: 1198px; margin: 0; }
  .left_blog { width: 100%; float: none; box-sizing: border-box; margin: 0; }
  .left { width: 100%; float: none; }
  .right { width: 100%; float: none; }
  .left_blog #left,
  .left_blog #right { width: 100%; float: none; }
  .java_blog { width: 100%; float: none; box-sizing: border-box; }

  .main { width: 100%; margin: 0; padding: 0; }
  .FBG { width: 100%; }
  .footer_resize { width: 100%; box-sizing: border-box; }
  .footer { width: 100%; }

  .body p { font-size: 15px; }
  .body h2 { font-size: 17px; }
  img { max-width: 100%; height: auto; }
  .header-divider { width: 100% !important; max-width: 1200px !important; }

  .left_blog .post { text-align: center; }
  .left_blog .entry { display: inline-block; text-align: left; max-width: none; width: auto; margin: 10px 0; float: none; }

  #strContent { width: 100% !important; }
  .commentWrapper textarea, #strContent { width: 100% !important; display: block; }
  #commentform input[type="text"] { width: 100% !important; box-sizing: border-box; }
  table.mceLayout { max-width: 100% !important; width: 100% !important; min-width: 0 !important; }
  table.mceLayout iframe { width: 100% !important; }
  .mceIframeContainer { max-width: 100% !important; }
  .mceEditor, .defaultSkin { max-width: 100% !important; }
  #strContent_parent { max-width: 100% !important; width: 100% !important; }

  .menu { display: none; position: absolute; top: 100%; left: 0; width: 100%; z-index: 999; background: #f5f5f5; border-top: 1px solid #ccc; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
  .menu.open { display: block; }
  .header { position: relative; }
  .menu ul { float: none; width: 100%; text-align: center; }
  .menu ul li { float: none; display: block; border-bottom: 1px solid #ddd; }
  .menu ul li:last-child { border-bottom: none; }
  .menu ul li a { float: none; display: block; text-align: center; padding: 12px 0; font-size: 14px; }
  .menu ul li a span { padding: 0; }
  .menu ul li a:hover { background: none; }
  .menu ul li a:hover span { background: none; }

  .left_blog #left ul li span,
  .left_blog #right ul li span { float: right; color: #999; }
  .left_blog #articlelist li span { float: right; color: #666; }
  .left_blog .commentind h3 span { float: right; color: #999; display: inline; }
  .body h2 span { float: right; font-size: 11px; }
  .body h2 span img { margin: 0; }

  .work .divv { width: 100%; float: none; margin: 0; }

  .header_blog_reize { width: 100%; }
  .header_blog h2 { font-size: 24px; padding: 15px; }

  .resize { width: 100%; height: auto; }
  #submit_insertcomment { width: 100%; }

  .left_blog #left,
  .left_blog #right { margin-bottom: 10px; }
  .left_blog #left h2,
  .left_blog #right h2 { font-size: 15px; padding: 10px 10px 10px 30px; }
  .left_blog #left ul li,
  .left_blog #right ul li { font-size: 13px; padding: 8px 0; overflow: hidden; }
  .left_blog #left ul li span,
  .left_blog #right ul li span { font-size: 11px; }

  .java_blog { margin-top: 10px; }
  .java_blog h2 { font-size: 15px; padding: 8px; }
  .java_blog ul li { font-size: 12px; }

  #slider { width: 100%; overflow: hidden; }
  #slideshow { height: 27.5vw !important; }
  .slider-item { width: 100% !important; height: 27.5vw !important; }
  .slider-item img { width: 100% !important; height: 27.5vw !important; max-width: none !important; }
  #slider_controls { display: none; }
  .controls-center { display: none; }

  .left_blog { background: transparent; border: none; padding: 0; }
  .poem-sticky {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #e9edeb;
    padding: 0 5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  }
  .left_blog .poem-sticky + #contentinner { padding: 0 5px; }
  .left_blog #left h2,
  .left_blog #right h2 { background: #e9edeb; border-radius: 4px; margin: 5px 0; }
  .left_blog #left ul,
  .left_blog #right ul { background: #fff; border-radius: 4px; padding: 5px 10px; }

  .java_blog { background: #fff; border-radius: 4px; padding: 8px; }
  .java_blog h2 { background: #e9edeb; border-radius: 4px; margin: 5px 0; }
}

.poem-tabs { display: none; }

@media (max-width: 767px) {
  .poem-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-bottom: 2px solid #ccc;
    margin: 0 0 10px 0;
  }
  .poem-tab {
    flex: 0 0 auto;
    padding: 8px 14px;
    font-size: 14px;
    cursor: pointer;
    color: #666;
    border: 1px solid #ddd;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    background: #f5f5f5;
    margin-right: 3px;
    white-space: nowrap;
    user-select: none;
  }
  .poem-tab.active {
    background: #fff;
    color: #c52100;
    font-weight: bold;
    border-color: #ccc;
    border-bottom-color: #fff;
  }
  .left_blog table { width: 100% !important; }
  .left_blog table tr:first-child { display: none; }
  .left_blog table td.poem-panel {
    display: none;
    width: 100% !important;
    padding: 5px 0;
  }
  .left_blog table td.poem-panel.active { display: block; }
  .left_blog table td.poem-panel ol { margin: 0; padding-left: 25px; }
  .left_blog table td.poem-panel ol li {
    padding: 0;
    border-bottom: 1px solid #e8e8e8;
  }
  .left_blog table td.poem-panel ol li:last-child { border-bottom: none; }
  .left_blog table td.poem-panel ol li a {
    display: block;
    padding: 14px 5px;
    font-size: 16px;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .header { width: 100%; max-width: 1200px; }
  .body_resize { width: 100%; max-width: 1198px; }
  .left_blog { width: 68%; }
  .java_blog { width: 28%; }
  #slider { width: 100%; overflow: hidden; }
  .controls-center { width: 100%; }
  .FBG { width: 100%; }
  .footer_resize { width: 100%; box-sizing: border-box; }
  .header_blog_reize { width: 100%; }
}
