@media only screen and (min-width: 991px) {

    #container {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}
#header{
	min-height: 90px;
}
nav{
  display: none;

}
}


@media only screen and (max-width: 991px) {
  #header{
    height: auto;
  }
  nav input{
    display: none;
  }
  #logo img{
      width : 100%;
  }
  li > a:only-child:after { content: ''; }
  #menu{
    background: #fff;
    border: 0;
  }
  .hdmenu{
    display: none;
  }
    #container {
    	    overflow: hidden;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    text-align: left;

}
#header{
	min-height: fit-content;
}
#header #logo {
    position: initial;
    text-align: center;

}
#currency {
    position: initial;
   width: 100%;
   text-align: center;
}
#language {
    position: relative;
    top: 0;
    left: 0;
    color: #999;
    line-height: 17px;
    margin: auto;
}
#header #cart {
    position: initial;
    top: 0px;
    z-index: 9;
    min-width: 300px;
    text-align: center;

}

#header #search {
    position: initial;
    top: 15px;
    right: 0px;
    padding-top:  18px;
    z-index: 15;
    display: table;
    margin: auto;
    width: auto;
}
#header #welcome {
    position: relative;
    top: 0;
    right: 0px;
    z-index: 5;
    width: 100%;
    text-align: center;
    color: #999999;
    padding-top:  18px;
    font-size: 16px;
}
#header .links {
    position: relative;
    right: 0px;
    bottom: 3px;
    font-size: 10px;
    padding-right: 10px;
    margin: auto;
    display: table;
    padding-top:  18px;
}

#header #cart .heading{
	padding-left: 0px;
	float: none;
}
#header #cart .heading{
	margin-right: 0px;
}


#content {

    width: 100%;
    overflow: hidden;
}



#header .button-search{
	position: inherit;
	    float: left;
}
#header #search input{
	float: left;
}


#header .button-search {
    background: url(/css/image/button-search.png) center center no-repeat;
    width: 30px;
    height: 23px;
    border: 1px solid #CCCCCC;
    cursor: pointer;
}
#header #search input {

    width: 110px;

}
.box-product > div{
	width: 100%;
	    text-align: center;
}
.box-product .image img {
    display: block;
    width: 90%;
    height: auto;
}

#footer .column {
    float: left;
    width: 100%;
}
#column-left {
    float: left;
    width: 100%;
}
#column-left + #column-right + #content, #column-left + #content {
    margin-left: 0;
}
#header .links a{
  font-size: 16px;
}


.product-grid > div{
    width: 22%;
    text-align: center;
    float: left;
    height: 301px;
}

.product-filter .display{
  clear: both;
  padding-top: 10px;
  float: left;
}
.product-filter .limit{
  clear: both;
  padding-top: 10px;
  float: left;
  margin: 0;
}
.product-filter .sort{
  clear: both;
  padding-top: 10px;
  float: left;
  margin: 0;
}

.product-info > .left {
    float: none;
    margin-right: 15px;
    display: table;
    margin: auto;
}
.product-info > .left + .right{
      margin-left: 0;
}
.product-info .description{
  margin-left: 0;
}
.product-info .price{
  margin-left: 0;
}
.product-info .cart{
  margin-left: 0;
}
.product-info .review{
    margin-left: 0;
}
.tab-content{
  width: 100%;
}
.cart-info tbody .quantity input[type='image'], .cart-info tbody .quantity img{
  width: 15px;
}
a {
    padding: 4px;
}
#column-right {
    float: left;
    width: 100%;
}
}





.box-product .image img {
    margin-left: auto;
    margin-right: auto;
}

.box-product .image img {
    display: block;
    max-width: 100%;
    height: auto;
}
img {
    vertical-align: middle;
}


@media only screen and (min-width: 659px) and (max-width: 990px){
.box-product > div {
    width: 46%;
    text-align: center;
    float: left;
}
#footer .column {
    float: left;
    width: 25%;
}


}

@media only screen and (max-width: 757px)
{
.product-grid > div{
    width: 29%;
    text-align: center;
    float: left;
}
}
@media only screen and (max-width: 550px)
{
.product-grid > div{
    width: 46%;
    text-align: center;
    float: left;
        margin: 7px;
        height: 301px;
}
}
@media only screen and (max-width: 445px)
{
.product-grid > div{
    width: 100%;
    text-align: center;
    float: left;
        margin: 7px;
}
}
/* menu */
nav:after {
	content:"";
	display:table;
	clear:both;
}

/* Removing padding, margin and "list-style" from the "ul",
 * and adding "position:reltive" */
nav ul {
	float: right;
	padding:0;
	margin:0;
	list-style: none;
	position: relative;
	}

/* Positioning the navigation items inline */
nav ul li {
	margin: 0px;
	display:inline-block;
	float: left;
	background-color: #254441;
	}

/* Styling the links */
nav a {
	display:block;
	padding:14px 20px;
	color:#FFF;
	font-size:17px;
	text-decoration:none;
}


nav ul li ul li:hover { background: #000000; }

/* Background color change on Hover */
nav a:hover {
	background-color: #000000;
}

/* Hide Dropdowns by Default
 * and giving it a position of absolute */
nav ul ul {
	display: none;
	position: absolute;
	/* has to be the same number as the "line-height" of "nav a" */
	top: 60px;
}

/* Display Dropdowns on Hover */
nav ul li:hover > ul {
	display:inherit;
}

/* Fisrt Tier Dropdown */
nav ul ul li {
	width:170px;
	float:none;
	display:list-item;
	position: relative;
}

/* Second, Third and more Tiers
 * We move the 2nd and 3rd etc tier dropdowns to the left
 * by the amount of the width of the first tier.
*/
nav ul ul ul li {
	position: relative;
	top:-60px;
	/* has to be the same number as the "width" of "nav ul ul li" */
	left:170px;
}


/* Change ' +' in order to change the Dropdown symbol */



/* Media Queries
--------------------------------------------- */

@media all and (max-width : 991px) {



	nav {
		margin: 0;
	}

	/* Hide the navigation menu by default */
	/* Also hide the  */
	.toggle + a,
	.menu {
		display: none;
	}

	/* Stylinf the toggle lable */
	.toggle {
		display: block;
		background-color: #254441;
		padding:14px 20px;
		color:#FFF;
		font-size:17px;
		text-decoration:none;
		border:none;
	}

	.toggle:hover {
		background-color: #000000;
	}

	/* Display Dropdown when clicked on Parent Lable */
	[id^=drop]:checked + ul {
		display: block;
	}

	/* Change menu item's width to 100% */
	nav ul li {
		display: block;
		width: 100%;
		}

	nav ul ul .toggle,
	nav ul ul a {
		padding: 0 40px;
	}

	nav ul ul ul a {
		padding: 0 80px;
	}

	nav a:hover,
 	nav ul ul ul a {
		background-color: #000000;
	}

	nav ul li ul li .toggle,
	nav ul ul a,
  nav ul ul ul a{
		padding:14px 20px;
		color:#FFF;
		font-size:17px;
	}


	nav ul li ul li .toggle,
	nav ul ul a {
		background-color: #212121;
	}

	/* Hide Dropdowns by Default */
	nav ul ul {
		float: none;
		position:static;
		color: #ffffff;
		/* has to be the same number as the "line-height" of "nav a" */
	}

	/* Hide menus on hover */
	nav ul ul li:hover > ul,
	nav ul li:hover > ul {
		display: none;
	}

	/* Fisrt Tier Dropdown */
	nav ul ul li {
		display: block;
		width: 100%;
	}

	nav ul ul ul li {
		position: static;
		/* has to be the same number as the "width" of "nav ul ul li" */

	}

}

@media all and (max-width : 330px) {

	nav ul li {
		display:block;
		width: 94%;
	}

}
