.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.cf:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.cf {
    *zoom: 1;
}

ul.AYN_products_grid{
    list-style:none;
    color:#666;
}
.ayn_product_grid_container{
    padding-bottom:75px;
}
ul.AYN_products_grid li{
    float:left;
    text-align:left;
    margin-top:38px;
}
ul.AYN_products_grid li.last{
    clear:none;
}
.ayn_product_grid_container ul.AYN_products_grid:first-child li{
    margin-top:0;
}
.AYN_products_grid .div_half{
    float:left;
    min-width:46%;
    padding:2%;
    text-align:center;
}
.AYN_products_grid .text_align_left{
    text-align:left;
}
.AYN_products_grid .permalink{
    margin-top:10px;
}
.AYN_products_grid .thumbnails{
    text-align:center;
}
.AYN_products_grid .thumbnails .thumb_image_wrap{
    border-bottom:1px solid #ccc;
    padding-bottom:10px;
    margin-bottom:10px;
}
.AYN_products_grid .title h3{
    text-align:left;
    
}
.AYN_products_grid .ayn_product_inner_wrap{
    position:relative;
}
.AYN_products_grid .ayn_product_inner_wrap a{
    color:#666;
    font-size:12px;
    text-decoration:none;
    -webkit-transform: all;  
     -moz-transition: all 0.3s ease-out;
      -ms-transition: all 0.3s ease-out; 
       -o-transition: all 0.3s ease-out;
          transition: all 0.3s ease-out;
}
.AYN_products_grid .ayn_product_inner_wrap a img{
    max-width:100%;
    height:auto;
}
.AYN_products_grid .ayn_product_inner_wrap a:hover{
    color:#000;
}
.AYN_products_grid .ayn_product_inner_wrap .ayn_product_inner_wrap_content{
    position:relative;
    padding:6% 3% 3% 3%;
    margin:10% 3% 0 3%;
    border-left:1px solid transparent;
    border-right:1px solid transparent;
    border-top:1px solid transparent;
    line-height:normal;

}
body .product h3{
    margin:0 !important;
}
.AYN_products_grid .ayn_product_wrap:hover .hover_content,
.AYN_products_grid .ayn_product_wrap .ayn_product_inner_wrap_content{
    width:88%;
    background:#fff;
}
.AYN_products_grid .ayn_product_wrap .price label{
    float:left;
}
.AYN_products_grid .ayn_product_wrap:hover .ayn_product_inner_wrap_content{
    border-top:1px solid #ccc;
    border-right:1px solid #ccc;
    border-left:1px solid #ccc;
    background:#fff;
}
.AYN_products_grid .ayn_product_wrap .hover_content{
    position:absolute;
    display:none;
    padding:3%;
    margin:0 3%;
    border-bottom:1px solid transparent;
    border-right:1px solid transparent;
    border-left:1px solid transparent;
    -webkit-transform: all;  
     -moz-transition: all 0.3s ease-out;
      -ms-transition: all 0.3s ease-out; 
       -o-transition: all 0.3s ease-out;
          transition: all 0.3s ease-out;
}

.AYN_products_grid .ayn_product_wrap:hover .hover_content{
    display:block;
    border-bottom:1px solid #ccc;
    border-right:1px solid #ccc;
    border-left:1px solid #ccc;
}
.AYN_products_grid .ayn_product_wrap:hover .thumbnails .thumb_image_wrap{
    opacity:0.85;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)";
    -ms-filter: "alpha(opacity=85)";
}
.AYN_products_grid .ayn_product_wrap{
    position:relative;
}

body input.ayn_paypal_payment{
    cursor:pointer;
    position:relative;
    padding: 10px;
    margin:0;
    bordeR:0;
    color:#000;
     -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
    background: #EEEEEE;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7abcff', endColorstr='#4096ee',GradientType=0 ); /* IE6-9 */
    -webkit-transform: all;  
     -moz-transition: all 0.3s ease-out;
      -ms-transition: all 0.3s ease-out; 
       -o-transition: all 0.3s ease-out;
          transition: all 0.3s ease-out;
}
 
input.ayn_paypal_payment:hover{
    background: #000;
    color:#fff !important;
}
.AYN_products_grid .single_link{
    line-height:normal;
}
.AYN_products_grid .thumb_image_wrap .badge{
    width: 40%;
    height:45%;
    position:absolute;
    top:20px;
    right:10px;
    max-width:70px;
}
.AYN_products_grid .thumb_image_wrap .badge a{
    display:block;
    width:100%;
    height:100%;
}
.AYN_products_grid .thumb_image_wrap .badge .new{
    background:url("../img/bg-new.png") no-repeat;
    width:100%;
    height:100%;
    background-size:100% auto;
}
.AYN_products_grid .thumb_image_wrap .badge .onsale{
    width:100%;
    height:100%;
    background:url("../img/bg-sale.png") no-repeat;
    background-size:100% auto;
}
.AYN_products_grid .buy_now_button{
    float:left;
    overflow:hidden;
    min-width:50%;
}
.ayn_product_grid_container .ayn_tabs li{
    float: left;
    margin: 0;
    cursor: pointer;
    padding: 8px 16px;
    margin-right: 5px;
    line-height: 22px;
    font-weight: normal;
    list-style: none;
    background: #EEEEEE;
    overflow: hidden;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
    position: relative;
    font-family: 'robotoslablight';
    -webkit-transform: all;  
     -moz-transition: all 0.3s ease-out;
      -ms-transition: all 0.3s ease-out; 
       -o-transition: all 0.3s ease-out;
          transition: all 0.3s ease-out;
}

.ayn_product_grid_container .ayn_tabs li.active,
.ayn_product_grid_container .ayn_tabs li:hover{
    background:#000;
    color:#fff;
}
.ayn_product_grid_container .tab{
    display: none;
}
.single_product_template .ayn_product_thumbnail{
    float:left;
    width:40%;
    padding:0 4%;
}
.single_product_template .ayn_product_thumbnail .thumb_image_wrap{
    padding:10px;
    border:1px solid #ccc;
    display:inline-block;
}
.single_product_template .ayn_product_thumbnail .thumb_image_wrap img{
    max-width:100%;
    height:auto;
}
.single_product_template .ayn_product_details{
    float:right;
    width:52%;
}
.single_product_template .ayn_product_details h3 a{
    color:#666;
    text-decoration:none;
    font-size:22px;
}
.single_product_template .ayn_product_details h3{
    margin-bottom:20px;
}
.single_product_template .ayn_product_wrap{
    margin-bottom:20px;
    margin-top:20px;
}
.single_product_template .facebook_share{
    margin-top:10px;
}
.single_product_template .price{
    margin-bottom:10px;
}