/* hide responsive menu */
#topnav_hamburger_icon,
#topnav_responsive_menu {
	display: none;
}

/******************************************************************************/
/* MEDIA QUERIES
/******************************************************************************/
@media only screen and (max-width: 768px)
{
	header .site-title .mobile {
		display: block;
	}
	header .site-subtitle {
		display: none;
	}

}

@media screen and (min-width: 650px)
{
	#mobilenav,
	header .site-title {
		display: block;
	}
	header .site-title .mobile {
		display: none;
	}
	nav.topnav {
		display: none;
	}
	
	.search-container {
		width: 250px;
	}
	.search-container .search-input {
		opacity: 1;
	}
	#audio div.player {
		display: block;
	}
	#audio div.player.mobile {
		display: none;
	}
}

@media screen and (max-width : 650px)
{
	#admin_user table {
		font-size: 0.8rem;
	}
	#admin_user th:not(.mobile),
	#admin_user td:not(.mobile) {
		display: none;
	}
	
	nav {
		justify-content: center !important;
	}
	form.product {
		width: 600px;
	}
	/*.box {
		position: absolute;
		top: 50px;
	}*/
	#indicators {
		display: none;
	}
	#carousel-control {
		margin-top: 80px;
	}
	#cat_parent,
	#aud_language {
		font-size: .8em;
	}
	#admin_product form.product select.cat_id {
		width: 100%;
	}
	
	/* disable horizontal and vertical scrolling */
	.container {
		position: relative;
		border-radius: 0;
		overflow-x: hidden;
		overflow-y: hidden;
		border-radius: 0;
	}
	
    .logo img,
	.subtitle,
	.horiznav {
		display: none;
	}
	header .site-title a {
		display: none;
	}
	header .site-title a.mobile {
		display: block;
	}
	header .title {
		font-size: 24px;
	}
	/* hide classic menu */
	nav.horiznav {
		display: none;
	}
	/* shows mobile nav */
	#mobilenav {
		display: block;
	}
	/* #mobilenav .open_menu { */
		/* display: none; */
	/* } */
	
	#mobilenav .menu {
		position: absolute;
		top: 0;
		left: 0;
		max-width: 450px;
		width: calc(100vw - 40px);
		height: 100%;
		-moz-transform: translate3d(-450px, 0, 0);
		-o-transform: translate3d(-450px, 0, 0);
		-ms-transform: translate3d(-450px, 0, 0);
		-webkit-transform: translate3d(-450px, 0, 0);
		transform: translate3d(-450px, 0, 0);
		-moz-transition: transform 0.35s;
		-o-transition: transform 0.35s;
		-webkit-transition: transform 0.35s;
		transition: transform 0.35s;
		overflow: hidden;
		background-color: #fff;
		z-index: 50;
	}
	#mobilenav .header {
		padding: 0 50px;
		height: 50px;
		display: -ms-flexbox;
		display: -webkit-box;
		display: -webkit-flex;
		display: flex;
		-webkit-justify-content: space-around;
		justify-content: space-around;
		-ms-flex-pack: space-around;
		-webkit-align-items: center;
		align-items: center;
		border-bottom: 1px solid #e8e8e8;
	}
	#mobilenav .header i {
		font-size: 2rem;
		color: #333;
	}
	#mobilenav .header span {
		font-size: 1.2rem;
		font-weight: bold;
		text-align: center;
		width: 100%;
		cursor: pointer;
	}
	#mobilenav .menu .menu {
		-moz-transform: translate3d(480px, 0, 0);
		-o-transform: translate3d(480px, 0, 0);
		-ms-transform: translate3d(480px, 0, 0);
		-webkit-transform: translate3d(480px, 0, 0);
		transform: translate3d(480px, 0, 0);
	}
	#mobilenav .menu ul {
		height: 100%;
		list-style: none;
		padding-left: 0;
		overflow-y: auto;
	}
	#mobilenav .menu ul li a, nav .menu ul li label {
		display: block;
		text-align: left;
		padding: 0 15px;
		line-height: 47px;
		text-decoration: none;
		color: #333;
		cursor: pointer;
		font-size: 1rem;
		border-bottom: 1px solid #e8e8e8;
		position: relative;
	}
	#mobilenav .menu ul li a.chevron::after {
		content: "";
		position: absolute;
		display: inline-block;
		height: 10px;
		width: 10px;
		border-color: #333;
		border-style: solid;
		border-width: 1px 1px 0 0;
		-moz-transform: rotate(45deg);
		-o-transform: rotate(45deg);
		-ms-transform: rotate(45deg);
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
		top: 50%;
		margin-top: -5px;
		right: 16px;
	}
	#mobilenav .menu ul li .invisible {
		border-bottom: 0;
	}

	#mobilenav .open_menu.active ~ .menu {
		-moz-transform: translate3d(0, 0, 0);
		-o-transform: translate3d(0, 0, 0);
		-ms-transform: translate3d(0, 0, 0);
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
	
	/* ******************** HAMBURGER ICON ******************** */
	/* define size and position of the hamburger link */
	#nav-hamburger-icon {
		display: block;
		position: absolute;
		top: 10px;
        left: 10px;
		width: 33px;
		height: 28px;
		z-index: 100;
		-webkit-user-select: none;
		user-select: none;
		cursor: pointer;
	}

	#nav-hamburger-icon.open {
		po/sition: fixed;
		top: 10px;
		left: 10px;
	}
  
	/* define the style (size, color, position, animation, ...) of the 3 spans */
	#nav-hamburger-icon span {
		display: block;
		position: absolute;
		height: 4px;
		width: 100%;
		margin-bottom: 5px;

		background: black;
		border-radius: 3px;

		z-index: 100;

		opacity: 1;
		left: 0;

		-webkit-transform: rotate(0deg);
		-moz-transform: rotate(0deg);
		-o-transform: rotate(0deg);
		transform: rotate(0deg);
		-webkit-transition: 0.25s ease-in-out;
		-moz-transition: 0.25s ease-in-out;
		-o-transition: 0.25s ease-in-out;
		transition: 0.25s ease-in-out;
	}
  
	/* set the 3 spans position to look like a hamburger */
	#nav-hamburger-icon span:nth-child(1) {
		top: 0px;
		-webkit-transform-origin: left top;
		-moz-transform-origin: left top;
		-o-transform-origin: left top;
		transform-origin: left top;
	}
	#nav-hamburger-icon span:nth-child(2) {
		top: 12px;
		-webkit-transform-origin: left center;
		-moz-transform-origin: left center;
		-o-transform-origin: left center;
		transform-origin: left center;
	}
	#nav-hamburger-icon span:nth-child(3) {
		top: 24px;
		-webkit-transform-origin: left bottom;
		-moz-transform-origin: left bottom;
		-o-transform-origin: left bottom;
		transform-origin: left bottom;
	}
  
	/* change color when opening the menu */
	#nav-hamburger-icon.open span {
		background: #333;
	}
  
	/* the first span rotates 45° \ */
	#nav-hamburger-icon.open span:nth-child(1) {
		width: 110%;
		-webkit-transform: rotate(45deg);
		-moz-transform: rotate(45deg);
		-o-transform: rotate(45deg);
		transform: rotate(45deg);
	}
  
	/* the second span disappears */
	#nav-hamburger-icon.open span:nth-child(2) {
		width: 0%;
		opacity: 0;
	}
  
	/* the last span rotates -45° / */
	#nav-hamburger-icon.open span:nth-child(3) {
		width: 110%;
		-webkit-transform: rotate(-45deg);
		-moz-transform: rotate(-45deg);
		-o-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}
	#audio .player {
		display: none;
	}
	#audio .player.mobile {
		display: block;
	}
	#audio .play-button {
		ma/rgin-left: 0;
	}
	
	/* CART */
	#cart .table {
		font-size: 10px;
	}
	#cart .table th, #cart .table td {
		padding: 5px;
	}
	
	header .top .menu {
		display: none;
	}

@media screen and (min-width: 320px) and (max-width : 640px)
{
	header .site-title .mobile {
		display: block;
	}
	header .profile-menu > li > a {
		font-size: 1.2rem;
	}
	.jq-toast-wrap.bottom-right {
		right: 20px
	}
	#admin_product form.product select.cat_id {
		width: 100%;
	}
}

@media screen and (max-width: 1250px)
{
	.container {
		margin: 0;
	}
	#audio div.player {
		display: block;
	}
	#audio div.player.mobile {
		display: none;
	}
}