table.prices {
  border-collapse: separate;  
  margin: 20px auto;
  width: 80%;
  position: relative;
} 
.prices th {
  text-align: left;
  font-weight: normal;
  background: #f9f9f9;
}
.prices th, 
.prices td {
  border: 1px #ddd solid;
  width: 50%;
  background: #fff;
  padding: 5px;
  height: 45px;
  border-bottom: 0;
}
.prices td {
  text-align: center;
  overflow:hidden; 
  white-space:nowrap;
}
.prices tr:last-child th,
.prices tr:last-child td {
  border-bottom: 1px solid #ddd;
}
tr.subhead th,
tr.subhead td {
  background: #f9f9f9;
  font-weight: bold;
}
.prices tr:first-child th {
  border: 0;
  background: transparent;
  text-align: center;
  vertical-align: bottom;
  padding: 0;
}
.prices .inside {
  border-left: 0;
  width: 200%;
  margin-left: -100%;
}
.prices .dark {
  background: #1f1f1f;
  color: #fff;
  padding: 35px 15px;
  font-size: 0.9em;
  position: relative;
  background-repeat: no-repeat;
  background-position: top right;
}
#demo.prices .dark {
  background-image: url("/css/img/pricing-start.png");
}
#start.prices .dark {
  background-image: url("/css/img/pricing-demo.png");
}
#standard.prices .dark {
  background-image: url("/css/img/pricing-popular.png");
}
#premium.prices .dark {
  background-image: url("/css/img/pricing-eshop.png");
}
.prices .sale .dark {
  background-image: url("/images/akce/akce-inpage-50-corner.png") !important;
}
.prices .sale30 .dark {
  background-image: url("/images/akce/akce-inpage-30-corner.png") !important;
}
.dark small {
  color: #bcbcbc;
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
}
.dark h3 {
  font-size: 2.5em;
  margin: 0;
  padding: 20px 0;
}
.dark span {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
}
.dark span.action {
  font-size: 1.5em;
}
.prices .black {
  background: #000;
  color: #fff;
  vertical-align: baseline;
  padding: 12px;
}
.black .action {
  text-decoration: line-through;
  line-height: 30px;
}
.black .price {
  font-size: 1.9em;
  display: block;
  line-height: 20px;
}
.black small {
  font-size: 0.5em;
  margin-left: 5px;
  font-weight: normal;
}
.prices tr:nth-of-type(2) td,
.prices tr:last-child td {
  position: absolute;
  width: calc(100% - 1px);
  margin-left: calc(-50% - 1px);
  padding: 0;
  height: 55px;
  line-height: 33px;
}
.prices tr:nth-of-type(2) td a:last-child,
.prices tr:last-child td a:last-child {
  display: inline-block;
  margin: 0 10px;
  padding-top: 7px;
}
.prices a.btn {
  overflow:hidden; 
  white-space:nowrap;
}
.prices td small {
  display: block;
  font-size: 75%;
}
.prices span.tax {
  color: #ccc;
  font-size: 0.9em;
}
tr.subhead td {
  display: none;
}
#eshop.prices {
  width: 98%;
}
/* dokud nebude ikonka infinite */
.icon-infinite span {
  display: block;
  font-style: normal;
  margin-left: -30px;
}
/* parameters in /programy */
.parameters .subhead {
  display: none;
}
.parameters th {
  vertical-align: middle;
}
.parameters td {
  text-align: center;
}
.parameters small {
  display: block;
}

@media all and (max-width: 1200px ) {
  #section-pricing .span12 {
    width: 100%;
  }
}
@media all and (min-width: 768px) {
  table:nth-of-type(-n + 1).prices {
    width: 50%;
  }
  .prices th:first-of-type {
    max-width: 150px!important;
    width: 150px!important;
  }
  #eshop.prices th {
    width: 20%;
  }
  table.prices  {
    float: left;
    width: 21.5%;
    margin: 20px 0;
  }
  #demo.prices {
    width: 32%;
  }
  #packages #basic.prices {
    width: 45%;
  }
  table.prices ~ table.prices td, 
  table.prices ~ table.prices th  { border-left: 0;  }
  table.prices ~ table.prices tr:first-child  th:first-child  { display: none; }
  table.prices ~ table.prices tr:not(:first-child) th  { display: none; }
  .prices td {
    text-align: center;
    -webkit-box-shadow: inset -13px 0 15px -10px #ccc;
    -moz-box-shadow: inset -13px 0 15px -10px #ccc;
    box-shadow: inset -13px 0 15px -10px #ccc;
  }
  .prices th, 
  .prices td {
    max-width: 130px;
    width: 130px;
    font-size: .9em;
  }
  #packages .prices td {
    width: 40%;
  }
  .prices tr:first-child th { 
    height: 320px;
  }
  #eshop.prices tr:first-child th {
    height: 240px;
  }
  .prices .inside {
    border-left: 1px solid #ddd;
    width: 100%;
    margin-left: 0;
  }
  tr.subhead th {
    -webkit-box-shadow: inset -13px 0 15px -10px #ccc;
    -moz-box-shadow: inset -13px 0 15px -10px #ccc;
    box-shadow: inset -13px 0 15px -10px #ccc;
    border-bottom: 0;
  }
  /*table:first-of-type.prices tr.subhead th {
    box-shadow: none!important 
  }*/
  tr.subhead td {
    display: table-cell;
  }
  .prices .dark {
    -webkit-box-shadow: inset -13px 0 15px -10px #000;
    -moz-box-shadow: inset -13px 0 15px -10px #000;
    box-shadow: inset -13px 0 15px -10px #000;
  }
  .dark h3 {
    margin: 10px 0;
  }
  #demo.prices tr th:first-child {
    width: 100px;
    line-height: 20px;
  }
  #premium.prices .dark, 
  #premium.prices td,
  #design.prices .dark, 
  #design.prices td,
  #eshop.prices .dark, 
  #eshop.prices td, 
  #eshop.prices tr.subhead th {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
  }
  .prices tr:nth-of-type(2) td,
  .prices tr:last-child td {
    position: relative;
    width: auto;
    margin-left: 0;
    padding: 5px;
    height: 55px;
  }
  .prices tr:nth-of-type(2) td a:last-child,
  .prices tr:last-child td a:last-child {
    display: block;
    margin: 0;
    padding: 0;
  }
  #standard.prices .dark,
  #komplet.prices .dark {
    padding: 45px 5px;
  }
  #premium.prices .dark,
  #design.prices .dark {
    padding: 55px 5px;
  }
  #start.prices .dark {
    padding: 47px 5px;
  }
  #demo.prices .dark {
    padding: 22px 5px;
  }    
}
@media all and (min-width: 1200px) {
  table:nth-of-type(-n + 1).prices {
    width: 56%;
  }
  table#premium {
    width: 20%
  }
  table#standard {
    width: 20%
  }
  table#start {
    width: 20%;
  }
  .prices th:first-of-type {
    max-width: 250px!important;
    /*width: 250px!important;*/
  }
  #demo.prices {
    /*width: 32%;*/
    width: 40%;
  }
  .prices .dark {
    font-size: 1em;
  }
  .dark small {
    top: 35px;
  }
  .prices th,
  .prices td {
    font-size: 1em;
    max-width: 150px;
    width: 150px;
  }
  #packages #basic.prices {
    width: 55%;
  }
}
@media all and (max-width: 500px) {
  table.prices {
    width: 90vw;
  }
  .prices .inside {
    border-left: 0;
    width: 90vw;
    margin-left: -43vw;
    left: 1px;
    position: relative;
  }
  .prices tr:nth-of-type(2) td, 
  .prices tr:last-child td {
    width: calc(90vw - 1px);
    margin-left: calc(-43vw + 1px);
    border-left: 0;
  }
  #start.prices tr:nth-of-type(2) td {
    border-left: 1px solid #ddd;
  }
}