/******************************************************************************/
/* MEDIA QUERIES
/******************************************************************************/
@media only screen and (max-width : 640px) {
	/*.wrapper {
		margin: 0 20px;
	}*/
	header h1 {
		display: none;
	}
	nav {
		justify-content: center !important;
	}
	form.product {
		width: 600px;
	}
	#search:not(.mobile) {
		display: none;
	}
	#search.mobile input {
		padding-left: 10px;
	}
	/*.box {
		position: absolute;
		top: 50px;
	}*/
	#indicators {
		display: none;
	}
	#carousel-control {
		margin-top: 80px;
	}
	#cat_parent {
		font-size: .8em;
	}
	.vertical-wrapper {
		display: none;
	}
	.horizon-wrapper {
		margin-left: 0;
	}
	.horizone-nav {
		width: auto;
	}
	#admin_product form.product select.cat_id {
		width: 100%;
	}

}
@media (max-width: 950px) {
	nav {
		justify-content: center !important;
	}
	form.product {
		width: 600px;
	}
	nav > ul {
		display: none;
	}
	header nav .mobile {
		display: block !important;
	}
	header nav .mobile ul {
		display: none;
		position: absolute;
		left: -50px;
		padding-left: 0;
		background-color: white;
		z-index: 999;
	}
	header nav .mobile li {
		clear: both;
		float: left;
		width: 100%;
	}
	header nav .mobile li a {
		text-wrap: nowrap;
	}
	#back-top {
		display: none !important;
	}
	#search:not(.mobile) {
		display: none;
	}
	/*.box {
		position: absolute;
		top: 50px;
	}*/
	#shop article.product {
		float: left;
		width: 100%;
		padding: 40px 0 0 10px;
	}
}
@media only screen and (min-width : 320px) and (max-width : 640px) {
	#search:not(.mobile) {
		display: none;
	}
	/*.box {
		position: absolute;
		top: 50px;
	}*/

	#search {
		vertical-align: middle;
		white-space: nowrap;
		position: relative;
	}

	#search input.search {
		width: 30px;
		height: 30px;
		padding: 4px;
		font-size: 14px;
		border-radius: 5px;
		transition: width .55s ease;
	}

	#search .icon {
		position: absolute;
		top: 7px;
		left: 8px;
		color: gray;
		z-index: 1;
	}

	#search input.search:focus,
	#search input.search:active {
		outline: none;
		width: 300px;
	}

	#search:hover input.search {
		width: 300px;
	}

	#search:hover .icon {
		display: none;
	}
	#admin_product form.product select.cat_id {
		width: 100%;
	}
}