/*
    Document   : default
    Created on : Nov 21, 2011, 2:50:44 AM
    Author     : online
    Description:
        Purpose of the stylesheet follows.
*/

/*
   TODO customize this sample style
   Syntax recommendation http://www.w3.org/TR/REC-CSS2/
*/
div.block-related{
    margin: 25px 0px 25px 0px !important;
    position: static;
    border: 1px solid #DDDDDD;
    clear: both;
}
.block-related .block-title {
    background-color: #F0F0F0;
    border: medium none;
    border-bottom: 1px solid #DDDDDD;
}
.block-related .block-content{
    width: 100%;
}
ol#block-related {
    width: 100%;
    display: block;
    z-index: 10;
    padding-left: 0px;
    padding-top: 5px;
    font-size: 0;
}
div.block-related-controls {
    position: absolute;
    width: 696px;
    left: -30px;
    top: 60px;
    z-index: 0;
}
a#related-prev:hover, a#related-next:hover {
    filter:alpha(opacity=80); /* IE 5.5+*/
    -moz-opacity: 0.8; /* Mozilla 1.6 и ниже */
    -khtml-opacity: 0.8; /* Konqueror 3.1, Safari 1.1 */
    opacity: 0.8; /* CSS3 - Mozilla 1.7b +, Firefox 0.9 +, Safari 1.2+, Opera 9 */
}
a#related-prev {
    background: url("images/arrow-left.png") no-repeat scroll 0 0 transparent;
    height: 42px;
    display: block;
    position: static;
    width: 42px;
    float: left;
    z-index: 20;
}
a#related-next {
    background: url("images/arrow-right.png") no-repeat scroll 0 0 transparent;
    height: 42px;
    display: block;
    position: static;
    width: 42px;
    float:right;
    z-index: 20;
}
ol#block-related li {
    list-style: none;
    display: inline-block;
    margin: 0;
    width: 33.3%;
}
.mini-products-list .product-image {
    float: left;
    padding: 5px;
    width: 76px;
}
ol#block-related li div.product-details.left, ol#bestseller-sidebar li div.product-details.left {
    margin-left: 5px;
}
ol#block-related li div.product-details {
    background: none repeat scroll 0 0 #FFFFFF;
    color: #333333;
    height: auto;
    margin: 5px 0 5px;
    padding: 0;
    z-index: 100;
}
ol#block-related li .product-details .details-inner {
    padding: 16px 16px 24px;
    color: #333333;
}
.product-name {
    font-size: 1em;
    font-weight: normal;
    min-height: 30px;
}
ol#block-related li .product-details .details-inner p.author {
    color: #037B00;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 11px;
    font-weight: normal;
}
ol#block-related li .product-details .details-inner p.short-description {
    color: #424242;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 11px;
    font-weight: normal;
    margin-top: 3px;
}
.details-inner button.btn-cart {
    margin: 0 0 0 auto;
    text-align: center;
    background: none repeat scroll 0 0 transparent;
    border: 0 none;
    cursor: pointer;
    margin: 0;
    overflow: visible;
    padding: 0;
    width: auto;
}
.price-box .price {
    font-weight: bold;
    white-space: nowrap !important;
}
ol#block-related li .product-details .details-inner .price-box {
    color: #011F9E;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 12px;
    font-weight: bold;
}
ol#block-related li .product-details .details-inner .price-box span span {
    color: #011F9E;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 12px;
    font-weight: bold;
    width: 60px;
}
ol#block-related li .product-details .details-inner p.product-name a {
    color: #037B00;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
}
.details-inner button.btn-cart span {
    display: inline-block;
  background: #fff;
  background: -moz-linear-gradient(top, #eee, #fff 40%, #fff 60%, #eee) no-repeat;
  background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#eee), color-stop(0.5, #fff), to(#eee)) no-repeat;
  /*filter: progid:DXImageTransform.Microsoft.Gradient(startColorstr=#fff, endColorstr=#eee);*/
  padding: 2px 8px;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: normal;
  color: #037b00;
  border: solid 1px #ccc;
  /* css3 */
  -moz-border-radius: 12px;
  -webkit-border-radius: 12px;
  -o-border-radius: 12px;
  -khtml-border-radius: 12px;
  border-radius: 12px;
  -moz-box-shadow: 0 0 3px 0 rgba(0,0,0,.15);
  -webkit-box-shadow: 0 0 3px 0 rgba(0,0,0,.15);
  box-shadow: 0 0 3px 0 rgba(0,0,0,.15);
  float: left;
  font: bold 12px/21px Arial,Helvetica,sans-serif;
  height: 21px;
  white-space: nowrap;
}
.old-price .price-label {
    white-space: nowrap;
}
.old-price .price {
    font-weight: normal;
    text-decoration: line-through;
}
.price {
    white-space: nowrap !important;
}
.special-price .price-label {
    color: #CC0000;
    font-weight: bold;
    white-space: nowrap;
}
.special-price .price {
    color: #CC0000;
    font-weight: bold;
}
.old-price, .special-price{
    margin: 0;
    padding: 0;
    line-height: 16px;
}

ol#block-related .product {
    text-align: center;
}

ol#block-related li .product-details .details-inner, ol#block-related li .product-details .details-inner p {
	padding: 4px;
}

ol#block-related .product .addToCartB {
    text-align: center;
    margin: 0 auto;
    margin-top: 8px;
}

.entry .block-title h4 {
	text-align: center;
	margin: 0;
	padding: 5px;
}

body.single .post {
	overflow-y: hidden;
}

.mini-products-list .product a img {
	width: 75px;
}

@media only screen and (max-width: 950px)  {

	ol#block-related li {
		margin: 0 auto;
		text-align: center;
		width: 100%;
	}

  #block-related .author,
  #block-related .short-description {
      display: none;
  }

  ol#block-related li {
      display:none;
  }

  ol#block-related li:first-of-type {
      display: inline-block;
  }

}
