@media only screen and (min-width: 1008px) {
  #block-list {
    float: left;
    margin-left: 25px;
    width: 792px;
    padding-bottom: 20px;
  }
  #block-list .top {
    padding: 10px 0;
    border-bottom: 1px dashed #dce0eb;
  }
  #block-list .top h1 {
    float: left;
    width: 600px;
  }
  #block-list .top .q {
    float: right;
    text-align: right;
    width: 192px;
    font-size: 14px;
    padding-top: 15px;
    color: #727272;
  }

  .recommended {
    margin-top: 15px;
  }
  .recommended > p {
    font-size: 18px;
    color: black;
    height: 40px;
    line-height: 40px;
    margin-right: 30px;
  }
  .recommended > div {
    background: url(../img/gfx/block-recommended-sw-subcategory.png) no-repeat;
    height: 107px;
    padding-top: 15px;
    /*background-color: red; /* debug */
  }
  .recommended > div table {
    /*background-color: green; /* debug */
  }
  .recommended > div td {
    padding-top: 0;
    padding-bottom: 0;
    /*background-color: blue; /* debug */
  }
  .recommended > div tr.m td {
    /*background-color: yellow; /* debug */
  }

  #block-list .list {
    background: url(../img/gfx/block-list-list.png) no-repeat;
    height: 42px;
    padding: 0 15px;
    margin-top: 20px;
  }
  #block-list .list .q {
    float: left;
    width: 170px;
    padding-top: 15px;
  }
  #block-list .list .w {
    float: left;
    width: 140px;
    padding-top: 9px;
  }
  #block-list .list .w select {
    border: 1px solid #c2c8da;
    padding: 3px 3px 3px 5px;
    margin-left: 5px;
  }
  #block-list .list .e {
    float: right;
  }
  #block-list .list .e a {
    padding-top: 15px;
    font-weight: bold;
    display: block;
    color: #747e9e;
    float: left;
    margin-left: 8px;
  }
  #block-list .list .e a.dots {
    text-decoration: none;
    cursor: default;
  }
  #block-list .list .e a.active {
    display: block;
    float: left;
    color: #333;
    text-decoration: none;
    font-weight: normal;
    padding-top: 10px;
  }
  #block-list .list .e a.active .f {
    width: 4px;
    height: 24px;
    float: left;
    margin-left: 5px;
  }
  #block-list .list .e a.active .f {
    background: url(../img/gfx/paging-left.png) no-repeat;
  }
  #block-list .list .e a.active .t {
    width: 4px;
    height: 24px;
    float: left;
  }
  #block-list .list .e a.active .t {
    background: url(../img/gfx/paging-right.png) no-repeat;
  }
  #block-list .list .e a.active .s {
    background: url(../img/gfx/paging-main.png) repeat-x;
    float: left;
    height: 24px;
    padding: 5px 3px 0 3px;
    color: #000;
  }
  #block-list .list .e a.prev {
    font-weight: normal;
    color: #333;
    padding-left: 10px;
    background: url(../img/gfx/arrow-prev.png) 0 17px no-repeat;
  }
  #block-list .list .e a.next {
    font-weight: normal;
    color: #333;
    padding-right: 10px;
    background: url(../img/gfx/arrow-next.png) 100% 17px no-repeat;
  }

  #block-list .filter {
    margin-top: 15px;
    background: url(../img/gfx/block-list-filter.png) 0 0 no-repeat;
    height: 52px;
    padding: 0 15px;
  }
  #block-list .filter .q {
    float: left;
    width: 100px;
    color: #0c246e;
    font-weight: bold;
    text-transform: uppercase;
    padding-top: 22px;
    /* background-color: green; /* debug */
  }
  #block-list .filter .w {
    float: left;
    width: 600px;
    white-space: nowrap;
    text-align: right;
    padding-top: 15px;
    /* background-color: yellow; /* debug */
  }
  #block-list .filter .w select {
    border: 1px solid #c2c8da;
    padding: 3px 3px 3px 5px;
    margin-left: 5px;
    margin-right: 10px;
    font-size: 12px;
  }
  #block-list .filter .e {
    float: right;
    width: 42px;
    padding-top: 10px;
  }

  #block-list table {
    width: 100%;
    margin-top: 15px;
  }
  #block-list table th.q {
    background: url(../img/gfx/list-table-left.png) no-repeat;
    padding-left: 15px;
    width: 320px;
  }
  #block-list table th {
    background: url(../img/gfx/list-table-main.png) repeat-x;
    height: 42px;
    font-size: 11px;
    color: #0c246e;
    vertical-align: middle;
    font-weight: normal;
    text-transform: uppercase;
  }
  #block-list table th.z {
    background: url(../img/gfx/list-table-right.png) 100% 0 no-repeat;
  }
  #block-list table td {
    vertical-align: middle;
  }
  #block-list table td.z {
    font-size: 11px;
  }
  #block-list table th .f {
    float: left;
    padding-right: 5px;
    padding-top: 3px;
  }
  #block-list table th .s {
    float: left;
  }
  #block-list table th .s .up {
    display: block;
    width: 11px;
    height: 9px;
    background: url(../img/gfx/up.png) no-repeat;
    font-size: 0;
  }
  #block-list table th .s .up.active {
    background: url(../img/gfx/up-active.png) no-repeat;
  }
  #block-list table th .s .down {
    display: block;
    width: 11px;
    height: 9px;
    background: url(../img/gfx/down.png) no-repeat;
    font-size: 0;
  }
  #block-list table th .s .down.active {
    background: url(../img/gfx/down-active.png) no-repeat;
  }
  #block-list table .rank {
    background: url(../img/gfx/star.png) repeat-x;
    width: 68px;
    height: 12px;
    margin: 0 auto;
  }
  #block-list table .rank span {
    background: url(../img/gfx/star-active.png) repeat-x;
    height: 12px;
    display: block;
  }
  #block-list table th.w {
    width: 80px;
  }
  #block-list table th.e {
    padding-left: 13px;
  }
  #block-list table th.r {
    padding-left: 10px;
  }
  #block-list table th.t {
    padding-left: 10px;
  }
  /* záhlaví posledního sloupce - KE STAŽENÍ */
  #block-list table th.z {
    padding-left: 0px;
    min-width: 70px;
    font-size: 12px;
    white-space: nowrap;
  }
  #block-list table th.z .f {
    margin-top: -4px;
  }
  #block-list table td.e {
    width: 100px;
    text-align: center;
  }
  #block-list table td.z {
    text-align: right;
    padding-right: 15px;
    padding-left: 0px;
  }
  /* tlacitko DOWNLOAD v pravem sloupci */
  #block-list table td.z a {
    background-image: url(../img/gfx/button72.png);
    background-repeat: no-repeat;
    text-align: center;
    width: 73px;
    height: 32px;
    line-height: 32px;
    display: inline-block;
    color: white;
  }
  #block-list table td.t,
  #block-list table td.r {
    text-align: center;
    width: 95px;
  }
  #block-list table td.e p {
    color: #747e9e;
    padding-top: 3px;
    font-size: 11px;
  }
  #block-list table td {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f2f8;
  }
  #block-list table tr.last td {
    border-bottom: 0;
  }
  #block-list table tr.n td {
    border-bottom: 0;
    padding-bottom: 0;
    /*background-color: red; /* debug */
  }
  #block-list table tr.m td {
    padding-top: 0;
    /*background-color: yellow; /* debug */
  }
  #block-list table h2 {
    font-size: 14px;
    padding-bottom: 5px;

  }
  #block-list table h2 a {
    white-space: nowrap;
  }
  #block-list table td.q p {
    padding-top: 6px;
    max-width: 270px;
  }
  #block-list table td.q .ww {
    color: #747e9e;
    font-size: 11px;
  }
  /* nazev programu v prvnim sloupci */
  #block-list table td.q h2 {
    float: left
  }
  /* verze programu v prvnim sloupci */
  #block-list table td.q .version {
    color: #7F7F7F;
    font-weight: bold;
    line-height: 16px;
    margin-left: 8px;
  }

  #banner-footerboard
  {
    margin-top: -30px;
    margin-bottom: 20px;
  }

  .filter .arrow
  {
    display: none;
  }
}

@media only screen and (max-width: 1007px) {
  #block-list {
    width: 100%;
    float: left;
    padding-bottom: 20px;
  }
  #block-list .top .q {
    float: left;
    font-size: 14px;
    padding-top: 15px;
    color: #727272;
  }

  .recommended {
    margin-top: 15px;
  }
  .recommended > p {
    font-size: 18px;
    color: black;
    height: 40px;
    line-height: 40px;
    margin-right: 30px;
  }
  .recommended > div {
    /*background-color: red; /* debug */
    width: calc(100vw - 22px) !important;
    overflow: scroll;
    background: #FFF6EE;
    border: #FFE6CE 1px solid;
  }
  .recommended > div table {
    /*background-color: green; /* debug */
  }
  .recommended > div td {
    padding-top: 0;
    padding-bottom: 0;
    /*background-color: blue; /* debug */
  }
  .recommended > div tr.m td {
    /*background-color: yellow; /* debug */
  }

  #block-list .list {
    border: #ff8800 1px solid;
    padding: 0 15px;
    margin-top: 20px;
  }
  #block-list .list .q {
    width: 170px;
    padding-top: 15px;
  }
  #block-list .list .w {
    padding-top: 9px;
  }
  #block-list .list .w select {
    display: inline;
    border: 1px solid #c2c8da;
    padding: 3px 3px 3px 5px;
    margin-left: 5px;
  }
  #block-list .list .e a {
    padding-top: 15px;
    font-weight: bold;
    display: block;
    color: #747e9e;
    float: left;
    margin-left: 8px;
    text-decoration: none;
  }
  #block-list .list .e a.dots {
    text-decoration: none;
    cursor: default;
  }
  #block-list .list .e a.active {
    display: block;
    float: left;
    color: #333;
    text-decoration: none;
    font-weight: normal;
    padding-top: 10px;
  }
  #block-list .list .e a.active .f {
    width: 4px;
    height: 24px;
    float: left;
    margin-left: 5px;
  }
  #block-list .list .e a.active .f {
    background: url(../img/gfx/paging-left.png) no-repeat;
  }
  #block-list .list .e a.active .t {
    width: 4px;
    height: 24px;
    float: left;
  }
  #block-list .list .e a.active .t {
    background: url(../img/gfx/paging-right.png) no-repeat;
  }
  #block-list .list .e a.active .s {
    background: url(../img/gfx/paging-main.png) repeat-x;
    float: left;
    height: 24px;
    padding: 5px 3px 0 3px;
    color: #000;
  }
  #block-list .list .e a.prev {
    font-weight: normal;
    color: #333;
    padding-left: 10px;
    background: url(../img/gfx/arrow-prev.png) 0 20px no-repeat;
    margin-left: 0;
    font-size: 75%;
    padding-top: 18px;
  }
  #block-list .list .e a.next {
    font-weight: normal;
    color: #333;
    padding-right: 10px;
    background: url(../img/gfx/arrow-next.png) 100% 20px no-repeat;
    font-size: 75%;
    padding-top: 18px;
  }

  #block-list .filter {
    margin-top: 15px;
    margin-bottom: 15px;
    border: #0c246e 1px solid;
  }
  #block-list .filter .q {
    width: calc(100% - 30px);
    padding: 15px;
    cursor: pointer;
    color: #0c246e;
    font-weight: bold;
    text-transform: uppercase;
    /* background-color: green; /* debug */
  }
  .filter .arrow
  {
    float: right;
    color: #0c246e;
  }
  #block-list .filter .w {
    display: none;
    margin: 0 15px 15px;
    white-space: nowrap;
    line-height: 30px;
    /* background-color: yellow; /* debug */
  }
  #block-list .filter .w select {
    border: 1px solid #c2c8da;
    padding: 3px 3px 3px 5px;
    margin-left: 5px;
    margin-right: 10px;
    font-size: 12px;
  }
  #block-list .filter .e {
    display: none;
    margin: 15px;
  }

  #block-list table {
    width: 100%;
  }
  #block-list table th.q {
    background: url(../img/gfx/list-table-left.png) no-repeat;
    /*padding-left: 15px;*/
    width: 320px;
  }
  #block-list table th {
    background: url(../img/gfx/list-table-main.png) repeat-x;
    height: 42px;
    font-size: 11px;
    color: #0c246e;
    vertical-align: middle;
    font-weight: normal;
    text-transform: uppercase;
    font-size: 100%;
  }
  #block-list table th.z {
    background: url(../img/gfx/list-table-right.png) 100% 0 no-repeat;
  }
  #block-list table td {
    vertical-align: middle;
  }
  #block-list table td.z {
    font-size: 11px;
  }
  #block-list table th .f {
    padding-right: 5px;
    padding-top: 3px;
  }
  #block-list table th .s {
    display: block;
  }
  #block-list table th .s .up {
    color: #aaaaaa;
    font-size: 140%;
    text-decoration: none;
  }
  #block-list table th .s .up.active {
    color: #666666;
  }
  #block-list table th .s .down {
    color: #aaaaaa;
    font-size: 140%;
    text-decoration: none;
  }
  #block-list table th .s .down.active {
    color: #666666;
  }
  #block-list table .rank {
    background: url(../img/gfx/star.png) repeat-x;
    background-size: 14px 12px;
    width: 68px;
    height: 12px;
    margin: 0 auto;
  }
  #block-list table .rank span {
    background: url(../img/gfx/star-active.png) repeat-x;
    background-size: 14px 12px;
    height: 12px;
    display: block;
  }
  #block-list table th.w {
    width: 80px;
  }
  #block-list table th.e {
    padding-left: 13px;
  }
  #block-list table th.r {
    padding-left: 10px;
  }
  #block-list table th.t {
    padding-left: 10px;
  }
  /* záhlaví posledního sloupce - KE STAŽENÍ */
  #block-list table th.z {
    padding-left: 0px;
    min-width: 70px;
    white-space: nowrap;
  }
  #block-list table th.z .f {
    margin-top: -4px;
  }
  #block-list table td.e {
    width: 100px;
    text-align: center;
  }
  #block-list table td.z {
    text-align: right;
    padding-right: 15px;
    padding-left: 0px;
  }
  /* tlacitko DOWNLOAD v pravem sloupci */
  #block-list table td.z a {
    width: calc(100% - 2px);
    background: #6EB522;
    border: #43681D 1px solid;
    color: #ffffff;
    border-radius: 5px;
    padding: 5px;
    font-size: 120%;
  }
  #block-list table td.t,
  #block-list table td.r {
    text-align: center;
    width: 95px;
  }
  #block-list table td.e p {
    color: #747e9e;
    padding-top: 3px;
    font-size: 11px;
  }
  #block-list table td {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f2f8;
  }
  #block-list table td:first-child {
    padding-left: 0;
  }
  #block-list table tr.last td {
    border-bottom: 0;
  }
  #block-list table tr.n td {
    border-bottom: 0;
    padding-bottom: 0;
    /*background-color: red; /* debug */
  }
  #block-list table tr.m td {
    padding-top: 0;
    /*background-color: yellow; /* debug */
  }
  #block-list table h2 {
    font-size: 14px;
    padding-bottom: 5px;

  }
  #block-list table h2 a {
    white-space: nowrap;
  }
  #block-list table td.q p {
    padding-top: 6px;
  }
  #block-list table td.q .ww {
    color: #747e9e;
    font-size: 11px;
  }
  /* nazev programu v prvnim sloupci */
  #block-list table td.q h2 {
    font-size: 18px;
    float: left
  }
  /* verze programu v prvnim sloupci */
  #block-list table td.q .version {
    float: right;
    color: #7F7F7F;
    font-weight: bold;
    line-height: 16px;
    margin-left: 8px;
  }


  table#tableRecommendedProgram tr.n td.q, table#tableRecommendedProgram tr.m td.q {
    padding-left: 10px;
  }

  #banner-footerboard
  {
    margin-top: -30px;
    margin-bottom: 20px;
  }
}