@media screen and (max-width: 1300px) {
  /* web page 
  ------------------------------ */

  .menu_pane {
    visibility: hidden;
    display: none;
  }
  .aside {
    visibility: hidden;
    display: none;
  }
  .content-pane {
    width: calc(100%);
    margin-right: 0px;
  }

  #webpage {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));

    grid-auto-rows: minmax(200px, auto);
    grid-auto-columns: minmax(200px, auto);

    column-gap: 20px;
    row-gap: 20px;

    margin: 0px 20px 20px 20px;
    padding: 0px;

    column-gap: 50px;
    row-gap: 50px;

    margin: 30px 5% 50px 5%;
  }

  .main-item {
    grid-column-start: 1;
    grid-column-end: 3;
  }

  /* items 
--------------------------------- */

  .item {
    padding: 20px;
    cursor: pointer;
    overflow: auto;
  }

  .main_item {
    grid-column-start: 1;
    grid-column-end: 3;
  }

  /* menu bar 
------------------------------------- */

  .top-bar3 {
    display: inline;
  }
  .menu_option {
    display: inline;
  }

  /* top and bottom bars 
--------------------------------------- */

  .top-bar {
    width: calc(100% - 40px - 50px);
    right: 20px;
    padding-left: 0px;
    left: 20px;
    top: 20px;
  }

  @keyframes bar-elongate {
    0% {
      width: 370px;
    }

    80% {
      width: calc(100% - 40px - 0px -30px);
    }

    100% {
      width: calc(100% - 40px - 50px);
    }
  }

  /* no tool tips 
----------------------------------- */

  .tooltiptext {
    display: none;
  }

  /* message bar 
------------------------------------ */

  .top-bar2 {
    position: absolute;
    top: calc(40px + 37px);
    right: 20px;
  }

  /* search bar 
  ---------------------------- */

  .top-bar2-1 {
    display: inline;
    position: absolute;
    top: calc(1 * 37px + 40px);
    left: 20px;
    float: left;

    width: calc(100% - 40px);
  }

  #dopbeta {
    width: calc(100%);
    margin-left: calc(0px);
    cursor: auto;
  }

  #search_this_query {
    width: calc(100% - 300px);
    margin-left: 0;
  }
}
