/*
Theme Name: U-Design Child
Theme URI: http://themeforest.net/item/udesign-wordpress-theme/253220?ref=internq7
Description: Child Theme for U-Design
Author: Andon
Author URI: http://themeforest.net/user/internq7/portfolio?ref=internq7
Template: u-design
Version: 1.0.0
*/
@import url("../u-design/style.css");

/**** BEGIN ADDING YOUR CUSTOM CSS CODE BELOW: ****/


.home-category-wrapper { margin:20px 0 -48px; float:left; }

.home-category { 

    margin: 0 20px 3% 0;

    float: left;

}

.home-category.fourth { margin-right: 0; }

/* Mobile Screen ( smaller than 480px )*/

@media screen and ( max-width: 480px ) {

    .u-design-responsive-on .home-category { width: 46.6%; }

    .u-design-responsive-on .home-category.second, 

    .u-design-responsive-on .home-category.fourth { margin-right: 0; }

    .u-design-responsive-on .home-category-wrapper { margin-bottom: -20px;}

    .u-design-responsive-on #logo { padding-left: 20px;}

    .u-design-responsive-on #navigation-menu { left: 20px;}

}

/* Medium Screen ( 480px to 719px ) */

@media screen and ( min-width: 480px ) and ( max-width: 719px ) {

    .u-design-responsive-on .home-category { width: 47.7%; }

    .u-design-responsive-on .home-category.second, 

    .u-design-responsive-on .home-category.fourth { margin-right: 0; }

    .u-design-responsive-on .home-category-wrapper { margin-bottom: -27px;}

    .u-design-responsive-on #logo { padding-left: 20px;}

    .u-design-responsive-on #navigation-menu { left: 20px;}

}

/* 720px to 959px Screen */

@media screen and ( min-width: 720px ) and ( max-width: 959px ) {

    .u-design-responsive-on .home-category { width: 22.7%; }

    .u-design-responsive-on .home-category-wrapper { margin-bottom: -35px;}

    .u-design-responsive-on #top-elements .social-icons li.social_icon { margin-left: 4px; }

    .u-design-responsive-on #navigation-menu { left: 16px;}

}

global $product;

if ( get_option( 'woocommerce_enable_review_rating' ) === 'no' 
     || $product->post->comment_status === 'closed' )
    return;


