/* CSS Document */
/*sabad.php*/

@charset "UTF-8";

*{
  direction: rtl;
}
@media screen and (min-width: 30em) {
  body {
    padding: 20px;
    
  }
}

.content {
  padding: 5px;
  background: #fafafa;
  background: rgba(250, 250, 250, 0.7);
  
  border: 5px solid orangered(197, 89, 1, 0.75);
  zoom: 1;
}
.content:before, .content:after {
  content: "\0020";
  display: block;
  height: 0;
  overflow: hidden;
}
.content:after {
  clear: both;
}
@media screen and (min-width: 30em) {
  .content {
    padding: 20px;
  }
}

h1 {
  color: rgb(44, 185, 157);
  margin-bottom: 0;
}

p {
  line-height: 1.5;
}

a{
  color: rgb(44, 185, 157);
}

a.cta {
  margin: 25px auto;
  width: 90%;
  position: relative;
  outline: 0;
  padding: 8px 0;
  display: block;
  cursor: pointer;
  color: rgb(44, 185, 157);
  background-color: rgb(44, 185, 157);
  border: 0;
  border-radius: 5px;
  font-size: 0.875em;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}
a.cta:hover {
  background-color: rgb(44, 185, 157);
  color: rgb(44, 185, 157);
}
a.cta:active {
  top: 2px;
  background-color: rgb(44, 185, 157);
}

.removeAlert {
  width: 100%;
  display: none;
  padding: 7px 5px;
  color: rgb(44, 185, 157);
  
}

table {
  width: 100%;
  color: #454545;
}
table.items {
  border-collapse: separate;
  border-spacing: 0 10px;
}
@media screen and (min-width: 45em) {
  table.items {
    width: 60%;
  }
}
@media screen and (min-width: 55em) {
  table.items {
    width: 70%;
  }
}
table.items tbody tr {
  margin-bottom: 10px;
  background-color: rgba(150, 160, 150, 0.05);
}
table.items tbody td {
  border-top: 1px solid rgba(204, 204, 204, 0.5);
  border-bottom: 1px solid rgba(204, 204, 204, 0.5);
}
table.items tbody td:first-child {
  border-right: 1px solid rgba(204, 204, 204, 0.5);
}
table.items tbody td:last-child {
  border-left: 1px solid rgba(204, 204, 204, 0.5);
}
table.pricing {
  width: 100%;
}
table.pricing tr {
  border-bottom: 1px solid rgba(204, 204, 204, 0.5);
}
table.pricing tr:last-child {
  border-bottom: 0;
  color: rgb(44, 185, 157);
}
table.pricing td:nth-child(2) {
  display: table-cell;
}

th {
  text-transform: uppercase;
  background: rgb(44, 185, 157);
  color: #eee;
  padding: 10px 0;
  text-align: center;
  font-size: 0.875em;
}
th:nth-child(2) {
  display: none;
}
@media screen and (min-width: 24em) {
  th:nth-child(2) {
    display: table-cell;
  }
}

td {
  padding: 10px;
}
td:first-child {
  width: 50%;
}
td:nth-child(2) {
  display: none;
}
@media screen and (min-width: 24em) {
  td:nth-child(2) {
    display: table-cell;
  }
}
td:nth-child(n+2):nth-child(-n+4) {
  text-align: center;
}
td:last-child {
  font-weight: bold;
}
td a.remove {
  font-size: 0.75em;
  display: block;
  width: 50px;
  margin: 5px auto 0;
  color: rgb(44, 185, 157);
}
td a.remove:hover {
  color: rgb(25, 248, 203)85, 157);
  border-bottom-color: orangered;
}
td p {
  float: right;
  width: 90%;
  margin-top: 0;
}
@media screen and (min-width: 40em) {
  td p {
    width: 55%;
  }
}
@media screen and (min-width: 68em) {
  td p {
    width: 45%;
  }
}
@media screen and (min-width: 80em) {
  td p {
    width: 55%;
  }
}
td p.description {
  display: none;
}
@media screen and (min-width: 57em) {
  td p.description {
    font-size: 0.8em;
    display: inline;
  }
}
td .itemNum {
  font-size: 0.75em;
  font-style: italic;
}
td input.quantity {
  width: 50px;
  margin-top: 22px;
  padding: 4px;
  font-size: 0.825em;
  border: 1px solid #aaa;
}

.item {
  display: none;
  position: relative;
  z-index: 1000;
  width: 75px;
  height: 100px;
  margin-left: 25px;
  float: right;
}
.item img {
  width: 100%;
  height: 100%;
}
.item .item-back {
  display: none;
}
@media screen and (min-width: 57em) {
  .item {
    display: block;
  }
  .item .item-front,
  .item .item-back {
    width: 75px;
    height: 100px;
    border: 1px solid #024b5a;
    border: 1px solid rgba(1, 113, 130, 0.75);
  }
}
@media screen and (min-width: 62em) {
  .item {
    width: 100px;
    height: 150px;
  }
  .item .item-front,
  .item .item-back {
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    -moz-backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-transition: -moz-transform 250ms;
    -o-transition: -o-transform 250ms;
    -webkit-transition: -webkit-transform 250ms;
    transition: transform 250ms;
    border: 2px solid #c55901;
    border: 2px solid rgba(197, 89, 1, 0.75);
    -moz-box-shadow: 0 0 5px rgba(187, 187, 187, 0.5);
    -webkit-box-shadow: 0 0 5px rgba(187, 187, 187, 0.5);
    box-shadow: 0 0 5px rgba(187, 187, 187, 0.5);
  }
  .item .item-front {
    -moz-transform: perspective(300) rotateX(0);
    -webkit-transform: perspective(300) rotateX(0);
    transform: perspective(300) rotateX(0);
    z-index: 900;
    background: #fff;
  }
  .item .item-back {
    -moz-transform: rotateX(-180deg);
    -webkit-transform: rotateX(-180deg);
    transform: rotateX(-180deg);
    z-index: 800;
    background: #fafafa;
  }
  .item:hover .item-front {
    -moz-transform: perspective(300) rotateX(180deg);
    -webkit-transform: perspective(300) rotateX(180deg);
    transform: perspective(300) rotateX(180deg);
  }
  .item:hover .item-back {
    -moz-transform: perspective(300) rotateX(0deg);
    -webkit-transform: perspective(300) rotateX(0deg);
    transform: perspective(300) rotateX(0deg);
  }
}
@media screen and (min-width: 68em) {
  .item {
    width: 150px;
    height: 200px;
  }
}


@media screen and (min-width: 45em) {
  .cost {
    width: 30%;
    position: fixed;
    left: 25px;
    top: 257px;
    border-width: 1px 0 1px 1px;
  }
}
@media screen and (min-width: 55em) {
  .cost {
    width: 20%;
  }
}
@media screen and (min-width: 61.5em) {
  .cost {
    top: 234px;
  }
}
.cost h2 {
  background: rgb(44, 185, 157);
  color: #eee;
  margin: 0;
  padding: 10px 0;
  width: 100%;
  font-size: 1em;
  text-align: center;
  text-transform: uppercase;
}
