@media (min-width: 1024px) {
#wrap {
  left: 0;
        margin-left: 120px;
  width: calc(100% - 240px);
  background: none;
  }
#header {
  margin-left: 120px;
  width: calc(100% - 240px);
  left: 0;
  }
#menu-top {
  width: 100%;
}
#menu-top-footer {
  width: 100%;
  background-position: bottom right;
  background-size: 100% 10px;
}
#content {
  width: calc(100% - 392px);
  /*background-color: #262322;*/
}
#menu-right {
  /*background-color: #262322;*/
}
#wrap {
  background: url('../pic/bg-left.gif') repeat-y top left, url('../pic/bg-right.gif') repeat-y top right #171413;
}
#footer {
  background-size: 100% auto;
  width: 100%;
  left: 0;
  margin-top: 0.5ex;
}
  /* zboží */
  .txt.list .item-wrap .item {
    margin-left: 5%;
    width: calc(90% - 120px);
    background-color: #999900;
  }
  .txt.list .item-wrap .item .item-top {
    width: auto;
  }
  .txt.list .item-wrap .item .item-bottom>table {
    width: 100%;
  }
  .txt.list .item-wrap .item .item-bottom tr>td:first-child {
    width: 70%;
  }
#searchform {
  margin: 3ex auto;
  max-width: 55em;
}
  .txt.list .item-wrap .item .item-top .item-price {
    margin-left: 2em;
    font-size: 170%;
    text-transform: none;
  }
  .buytable {
    /*display: block;*/
    min-width: 50%;
    width: auto;
    border: 1px solid #7b6939;
    margin: 0 auto 5px;
    background-color: black;
  }
  .table-row {
    width: 100%;
    background-color:#252525;
    margin: 0px;
    padding: 0;
  }
  .table-cell {
    padding: 0.5ex 0.5em;
  }
  .table-cell.name {
    width: 45%;
    min-width: 15em;
  }
  .table-cell.edition {
    width: 20%;
    min-width: 10em;
  }
  .table-cell.rarity {
    width: 10%;
    min-width: 5em;
  }
  .table-cell.count {
    width: 10%;
    min-width: 5em;
    text-align: right;
  }
  .table-cell.sumprice {
    width: 10%;
    min-width: 5em;
    text-align: right;
    font-weight: bold;
  }
  .table-row.big {
    font-size: 180%;
    font-weight: bold;
  }
  .buytable .theader {
    padding: 1ex 1em;
  }
  .buytable .tbody {
    padding: 0.5ex 1em;
  }
  .buytable tbody {
    margin: 1px auto;
  }
  .clickable-row, .clickable-row td {
    cursor: pointer;
  }
  .clickable-row:hover {
    background-color: #333333;
  }
  .pricebox {
    font-size: 200%;
    color: #6EC7E1;
  }
  .form-options.centered {
    width: 100%!important;
    text-align: center!important;
    /* tak trošku hack... */
  }
}


@media (min-width: 1500px) {
  .buytable .extracolumns {
    display: table-cell;
  }
}

@media (max-width: 1000px) {
  .buytable .tbody.manacost, .buytable .theader.manacost {
    display: none;
    }
}

.important-box {
  border: 2px solid #e0d574;
  font-weight: bold;
  padding: 20px;
  text-align: center;
}

.large-font {
  font-size: 140%;
}
