<div class="site-outer">
	<div class="site-inner">
		<section class="container-fluid">
			<!-- ACCORDION ROW -->
			<div class="row">
					<ul class="accordion-group" id="accordion">
						<li style="background-image: url('https://images.unsplash.com/photo-1556912172-45b7abe8b7e1?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1950&q=80');">
							<div class="accordion-overlay"></div>
							<h3>Rustic</h3>
							<section class="hidden-xs">
								<article>
									<p>Rual and rustic</p>
								</article>
							</section>
						</li>
						<li class="out" style="background-image: url('https://images.unsplash.com/photo-1484154218962-a197022b5858?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1953&q=80');">
							<div class="accordion-overlay"></div>
							<h3>Clean</h3>
							<section class="hidden-xs">
								<article>
									<p>For the single or couple
									</p>
								</article>
							</section>
						</li>
						<li style="background-image: url('https://images.unsplash.com/photo-1507089947368-19c1da9775ae?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1955&q=80');">
							<div class="accordion-overlay"></div>
							<h3>Stylish</h3>
							<section class="hidden-xs">
								<article>
									<p>When people want it cosy but stylish</p>
								</article>
							</section>
						</li>
						<li style="background-image: url('https://images.unsplash.com/photo-1495433324511-bf8e92934d90?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1950&q=80');">
							<div class="accordion-overlay"></div>
							<h3>Family</h3>
							<section class="hidden-xs">
								<article>
									<p>For the family dinner</p>
								</article>
							</section>
						</li>
					</ul>
			</div>
			<!-- BEGIN NEW ROW AFTER ACCORDION -->
			<div class="row mg">
				<!-- FIRST ROW -->
				<div class="container">
					<h1 class="text-center head red">Quality</h1>
					<div class="row">
						<div class="col-md-4 col-sm-6 col-xs-12">
							<div class="product-box">
								<h3 class="text-center">High quality</h3>
								<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
							</div>
						</div>
						<div class="col-md-4 col-sm-6 col-xs-12">
							<div class="product-box">
								<h3 class="text-center">Smart design</h3>
								<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
							</div>
						</div>
						<div class="col-md-4 col-sm-6 col-xs-12">
							<div class="product-box">
								<h3 class="text-center">Modern or retro</h3>
								<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
							</div>
						</div>
					</div>
				</div>
			</div>
		</section>
	</div>
	<div class="footer">
		<footer class="footer-inner">
			<div class="container">
				<div class="row">
					<div class="col-md-3">
						<h3 class="h3">About us</h3>
						<ul class="footer-list">
							<li><a href="#">Our story</a></li>
							<li><a href="#">Venue</a></li>
							<li><a href="#">Other</a></li>
						</ul>
					</div>
					<div class="col-md-3">
						<h3 class="h3">Partners</h3>
						<ul class="footer-list">
							<li><a href="#">IKEA</a></li>
							<li><a href="#">MIO</a></li>
							<li><a href="#">BAUHAUS</a></li>
						</ul>
					</div>
					<div class="col-md-3">
						<h3 class="h3">Customer support</h3>
						<ul class="footer-list">
							<li><a href="#">Chat with us</a></li>
							<li><a href="#">+46(0)2453 352</a></li>
							<li><a href="#">E-mail us</a></li>
						</ul>
					</div>
					<div class="col-md-3">
						<h3 class="h3">Socials</h3>
						<ul class="footer-list footer-list-inline">
							<li><a href="#"><i class="fa fa-facebook"></i></a></li>
							<li><a href="#"><i class="fa fa-instagram"></i></a></li>
							<li><a href="#"><i class="fa fa-twitter"></i></a></li>
						</ul>
					</div>
				</div>
			</div>
		</footer>
	</div>
	<!-- NAVIGATION -->
	<div class="navigation">
		<button class="navigation-login">
						<i class="fa fa-shopping-cart"></i> To Checkout <span class="badge badge-white">0</span>
				</button>
		<div class="navigation-search">
			<div id="search">
				<input type="text" name="input" class="input" placeholder="Search" />
				<button type="reset" class="search" id="search-button"></button>
			</div>
		</div>
		<div class="navigation-content">
			<h3>Menu</h3>
			<ul class="navigation-menu">
				<li><a href="#" class="active">Home</a></li>
				<li><a href="#"><i class="red fa fa-circle"></i> White goods</a></li>
				<li><a href="#"><i class="beige fa fa-circle"></i> Kitchen cabinets</a></li>
				<li><a href="#"><i class="orange fa fa-circle"></i> Counters</a></li>
				<li><a href="#"><i class="blue fa fa-circle"></i> Other</a></li>
			</ul>
			<h3>More</h3>
			<ul class="navigation-menu">
				<li><a href="#">About Us</a></li>
				<li><a href="#">Contact</a></li>
				<li><a href="#">Info</a></li>
				<li><a href="#">Collaboration</a></li>
				<li><a href="#">Customer Service</a></li>
			</ul>
		</div>
	</div>
	<!-- CHECKOUT -->
	<aside class="to-checkout">
		<div class="to-checkout-inner">
			<h3>Product list</h3>
			<ul class="to-checkout-list">
				<li><i class="fa fa-check"></i> Kitchens <a href="#" class="remove">Remove</a></li>
			</ul>
		</div>
	</aside>
	<!-- MODAL -->
	<aside id="modal" class="modal fade">
		<div class="modal-dialog" role="document">
			<div class="modal-content">
				<div class="modal-header">
					<div class="modal-header-gradient"></div>
					<div class="row">
						<h2 class="white text-center">Choose size and color</h2>
						<p data-modal-id class="text-center white"></p>
					</div>
				</div>
				<div class="modal-body">
					<div class="row">
						<div class="col-md-8 col-md-offset-2 col-sm-12">
							<form id="modal-form">
								<div class="form-group">
									<div class="input-group">
										<span class="input-group-addon"><i class="fa fa-plus"></i></span>
										<select>
																						<option value="">Choose size</option>
																						<option value="1">XS</option>
																						<option value="2">S</option>
																						<option value="3">M</option>
																						<option value="4">L</option>
																						<option value="5">XL</option>
																						<option value="6">XXL</option>
																				</select>
										<div class="input-group-addon-holder">
											<select class="select-sibling">
																								<option value="">Choose color</option>
																								<option value="1">Blue</option>
																								<option value="2">Orange</option>
																								<option value="3">Yellow</option>
																						</select>
										</div>
									</div>
								</div>
								<div class="form-group">
									<p>
										<button class="button button-red" id="add-item" data-dismiss="modal">Add to basket</button>
									</p>

									<p>
										<button type="reset" class="button button-transparent" data-dismiss="modal" id="cancel">Cancel</button>
									</p>
								</div>
							</form>
						</div>
					</div>
				</div>
			</div>
		</div>
	</aside>
</div>
@import url(https://fonts.googleapis.com/css?family=Roboto:400,100,300,700);

@import: "font-awesome";

@black: #333;
@white: #fff;
@gray: lighten(@black, 40%);
@red: #ca9964;
@beige: #d6ccad;
@orange: #e06014;
@blue: #5aaed6;
@colors: darken(#ca9964, 15%), #ca9964, darken(#ddd, 25%), @black;

.box-sizing(@props) {
	-webkit-box-sizing: @props;
	-moz-box-sizing: @props;
	box-sizing: @props;
}

.transform(@props) {
	-webkit-transform: @props;
	-moz-transform: @props;
	transform: @props;
}

.transform-origin(@props) {
	-webkit-transform-origin: @props;
	-moz-transform-origin: @props;
	transform-origin: @props;
}

.transition(@props) {
	-webkit-transition: @props;
	-moz-transition: @props;
	transition: @props;
}

.animation(@props) {
	-webkit-animation: @props;
	-moz-animation: @props;
	animation: @props;
}

.border-radius(@props) {
	border-radius: @props;
}

.box-shadow(@prop) {
	box-shadow: @prop;
}

.loop(@i) when (@i > 0) {
	.accordion-group li:nth-child(@{i}) {
		& .accordion-overlay {
			background-color: extract(@colors, @i);
			opacity: 0.8;
		}

		&.out {
			.accordion-overlay {
				background-color: extract(@colors, @i);
				opacity: 0;
			}
		}
	}

	.loop(@i - 1);
}

.loop(4);

a {
	color: inherit;

	&.active,
	&:active,
	&:focus,
	&:hover {
		color: inherit;
		text-decoration: none;
	}
}

.red {
	color: @red;
}

.orange {
	color: @orange;
}

.blue {
	color: @blue;
}

.beige {
	color: @beige;
}

body {
	font-family: "Roboto", sans-serif;
	background: @white;
}

.mg {
	margin: 7rem 0 4rem 0;
}

.big {
	color: @black;
	font-size: 4.5rem;
	font-weight: 700;
	margin: 1rem;
}

.small {
	color: @black;
	font-size: 4.5rem;
	font-weight: 700;
	margin: 1rem;
}

.head {
	color: @red;
	font-size: 4.8rem;
	font-weight: 200;
	margin: 1rem;
}

*,
*:before,
*:after {
	.box-sizing(border-box);
}

.site-outer {
	overflow: hidden;

	.navbar {
		background-color: @white;
		.transition(all 250ms ease-in-out);
		&.slide-right {
			.transform(translate3d(250px, 0, 0));
		}
	}

	.site-inner {
		position: relative;
		margin: 0;
		padding: 0;
		.transition(all 250ms ease-in-out);
		.transform(translate3d(0, 0, 0));

		&.slide-right {
			.transform(translate3d(250px, 0, 0));
		}
	}
}

.container-menu {
	padding: 0 1.5rem;
	
	
	.menu {
		padding: 0 1.5rem;
		cursor: pointer;
		position: relative;
		width: 8rem;

		& div {
			width: 5rem;
			height: 0.4rem;
			background-color: @black;
			margin-bottom: 0.4rem;
			.transition(all 500ms ease);
			position: absolute;

			&:nth-child(1) {
				left: 1.5rem;
				top: 2rem;
			}

			&:nth-child(2) {
				left: 1.5rem;
				top: 2.8rem;

				&:after {
					content: "";
					position: absolute;
					left: 0;
					top: 0;
					width: 5rem;
					height: 0.4rem;
					background-color: @black;
					.transition(all 350ms ease);
				}
			}

			&:nth-child(3) {
				right: 1.5rem;
				top: 3.6rem;
			}
		}

		&.active {
			& div:nth-child(1),
			& div:nth-child(3) {
				width: 0;
			}
			& div:nth-child(2) {
				.transform(rotate(-45deg));

				&:after {
					.transform(rotate(90deg));
				}
			}
		}
	}

	.logotype {
		cursor: pointer;
		display: flex;
		flex-items: center;
		flex-direction: row;
		margin-left: 10rem;
		

		& div {
			margin: 0;
		}
	}

	.checkout {
		display: flex;
		align-items: center;
		justify-content: center;
		
	}
}

.accordion-group {
	overflow: hidden;
	margin: 0 auto;
	padding: 0;
	list-style: none;
	width: 100%;
	height: 700px;
	display: flex;
	align-items: center;
	.transition(all 300ms ease);

	& li {
		cursor: pointer;
		position: relative;
		display: flex;
		overflow: hidden;
		margin: 0;
		padding: 1.6em;
		list-style: none;
		width: 16.66666667%;
		height: inherit;
		background-position: center center;
		background-size: cover;
		background-repeat: no-repeat;
		.transition(all 250ms ease-in-out);

		& h3 {
			position: relative;
			color: @white;
			text-transform: uppercase;
			letter-spacing: 0.15rem;
			padding: 0;
			font-weight: 300;
			margin: 6.5rem 0 0;
		}

		& .accordion-overlay {
			position: absolute;
			height: 100%;
			width: 100%;
			left: 0;
			top: 0;
			.transition(all 250ms ease-in-out);
		}

		& section {
			display: flex;
			align-items: center;
			width: 75%;
			height: 100%;

			&.big-section {
				width: 100%;
			}

			& article {
				display: table-cell;
				vertical-align: middle;
				padding: 4rem;
				position: relative;
				right: -200%;
				.transition(all 250ms ease-in-out);

				& p {
					background-color: rgba(255, 255, 255, 0.8);
					padding: 1.6rem;
					color: @black;
					font-size: 1.6rem;
					letter-spacing: 0.15rem;

					&:before,
					&:after {
						content: "";
						display: block;
						height: 1px;
					}
				}
			}
		}

		&.out {
			width: 50%;

			& section {
				& article {
					right: 0;
				}
			}
		}
	}
}

.navigation {
	background-color: @white;
	overflow: auto;
	margin: 0;
	padding: 0;
	position: fixed;
	top: 0;
	left: 0;
	width: 250px;
	height: 100%;
	.transition(all 250ms ease-in-out);
	.transform(translate3d(-250px, 0, 0));

	&:before,
	&:after {
		content: "";
		display: block;
		zoom: 1;
	}

	&:after {
		clear: both;
	}

	&.slide-right {
		.transform(translate3d(0, 0, 0));
	}

	&-login {
		padding: 2rem;
		line-height: 2;
		border: none;
		width: 100%;
		.border-radius(0);
		font-size: 1.8rem;
		background-color: @red;
		font-weight: 100;
		color: @white;
		text-transform: uppercase;
	}

	&-search {
		padding: 2rem 2rem 0;
	}

	&-content {
		padding: 0 2rem;

		h3 {
			color: @red;
			text-transform: uppercase;
			letter-spacing: 0.15rem;
			padding: 0;
			font-weight: 300;
		}

		.navigation-menu {
			list-style: none;
			padding: 0;

			& li {
				display: block;
				padding: 0.8rem 0;
				margin: 1rem 0;

				& a {
					color: @black;
					text-transform: uppercase;
					font-size: 1.3rem;

					&.active,
					&:active,
					&:hover,
					&:focus {
						color: @red;
						text-decoration: none;
					}
				}
			}
		}
	}
}

.to-checkout {
	position: fixed;
	top: 0;
	right: 0;
	width: 450px;
	height: 100%;
	background-color: @red;
	z-index: 10001;
	.transform(translate3d(450px, 0, 0));
	&-inner {
		padding: 2.5rem;
		color: @white;
	}
	&-list {
		padding: 0;
		margin: 0;
		display: block;
		list-style: none;
		& li {
			& a {
				color: @blue;
			}
		}
	}
}

#search {
	height: 35px;
	width: 100%;
	position: relative;

	@media (max-width: 767px) {
		& {
			width: auto;
		}
	}

	input {
		.box-sizing(border-box);
		width: 35px;
		height: 35px;
		border: 1px solid @black;
		.border-radius(100%);
		background: transparent;
		color: @red;
		font-size: 16px;
		font-weight: 400;
		outline: none;
		.transition(width 100ms ease-in-out);

		&::-webkit-input-placeholder {
			color: transparent;
		}

		&:-moz-placeholder {
			color: transparent;
		}

		&::-moz-placeholder {
			color: transparent;
		}

		&:-ms-input-placeholder {
			color: transparent;
		}
	}

	.search {
		background-color: transparent;
		position: absolute;
		top: 0;
		left: 0;
		height: 35px;
		width: 35px;
		padding: 0;
		.border-radius(100%);
		outline: none;
		border: 0;
		color: @black;
		cursor: pointer;
		.transition(all 300ms ease-in-out);

		&:before,
		&:after {
			content: "";
			position: absolute;
			width: 1rem;
			height: 0.1rem;
			background-color: @black;
			.transform(rotate(45deg));
			top: 3.3rem;
			left: 3rem;
			.transition(all 300ms ease-in-out);
		}
	}

	.close {
		.transition(all 400ms ease-in-out);
		right: 0;
		left: inherit;

		&:before {
			content: "";
			position: absolute;
			top: 1.7rem;
			left: 1.5rem;
			width: 27px;
			height: 4px;
			margin-top: -1px;
			margin-left: -13px;
			background-color: @red;
			.transform(rotate(45deg));
			.transition(all 200ms ease-in-out);
		}

		&:after {
			content: "";
			position: absolute;
			top: 1.7rem;
			left: 1.5rem;
			width: 27px;
			height: 4px;
			margin-top: -1px;
			margin-left: -13px;
			background-color: @red;
			.transform(rotate(-45deg));
			.transition(all 200ms ease-in-out);
		}
	}

	.square {
		.box-sizing(border-box);
		padding: 0 4rem 0 (2rem / 2);
		width: 100%;
		height: 35px;
		border: 1px solid @black;
		.border-radius(0);
		color: @black;
		background-color: transparent;
		.transition(all 300ms ease-in-out);

		&::-webkit-input-placeholder {
			color: @red;
		}

		&:-moz-placeholder {
			color: @red;
		}

		&::-moz-placeholder {
			color: @red;
		}

		&:-ms-input-placeholder {
			color: @red;
		}

		&.active &:hover,
		&:focus,
		&:active {
			border-color: @red;
		}
	}
}

.sm-box {
	padding: 1.5rem;
	height: 18rem;
	color: @white;
	background-color: @white;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	width: 100%;
	position: relative;
	overflow: hidden;
	display: table;
	.box-shadow(0 0 5px 2px rgba(0, 0, 0, 0.35));

	&-overlay {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		height: 100%;
		background-color: none;
		z-index: 998;
		.transition(all 250ms cubic-bezier(0.17, 0.67, 0.83, 0.67));
	}

	&-basket {
		display: table-cell;
		position: relative;
		margin: 0 auto;
		vertical-align: middle;
		line-height: 135px;
		z-index: 999;
		.transition(all 250ms ease-in-out);
		.transform(translate3d(0, -100%, 0));
	}

	&-content {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		height: 4rem;
		width: 100%;
		color: @red;
		z-index: 999;
		padding: 1rem 2rem;
		background-color: @white;
		line-height: 1.5;
		.transition(all 250ms cubic-bezier(0.17, 0.67, 0.83, 0.67));
		.transform(translate3d(0, 100%, 0));
	}

	&.active,
	&:hover {
		.box-shadow(0 0 6px 4px rgba(0, 0, 0, 0.35));

		.sm-box-content {
			.transform(translate3d(0, 0, 0));

			& > i {
				.animation(rotate 500ms ease);
			}
		}

		.sm-box-basket {
			.transform(translate3d(0, 0, 0));
		}

		.sm-box-overlay {
			background-color: rgba(0, 0, 0, 0.6);
		}
	}
}

.product-box {
	h2 {
		.transition(all 250ms ease);
	}

	&:hover {
		h2 {
			color: @red;
		}
	}
}

.button {
	outline: none;
	border: 2px solid @white;
	padding: 1.2rem 2rem;
	margin-bottom: 1rem;
	width: 100%;
	white-space: nowrap;
	font-size: 12px;
	text-transform: uppercase;
	font-weight: 400;
	vertical-align: middle;
	line-height: 18px;
	text-align: center;
	.box-sizing(border-box);
	text-decoration: none;
	color: @red;
	background-color: @white;
	.border-radius(2rem);
	.transition(all 250ms ease);
	display: inline-block;

	&.active,
	&:active,
	&:focus,
	&:hover {
		text-decoration: none;
		color: @white;
		outline: none;
	}

	&-red {
		background-color: @red;
		color: @white;
		border-color: @red;

		&.active,
		&:active,
		&:focus,
		&:hover {
			background-color: lighten(@red, 5%);
			border-color: lighten(@red, 5%);
		}
	}

	&-transparent {
		background-color: @white;
		color: @red;
		border-color: @red;

		&.active,
		&:active,
		&:focus,
		&:hover {
			background-color: @white;
			color: @red;
			border-color: @red;
		}
	}
}

.modal {
	&-content {
		.border-radius(0px);
	}

	&-header {
		background-color: @red;
		color: @white;
	}
}

.badge {
	&-red {
		background-color: @red;
		color: @white;
	}

	&-white {
		background-color: @white;
		color: @red;
	}
}

.input-group-addon-holder {
	position: relative;

	.number-icon {
		position: absolute;
		top: 16px;
		right: 15px;

		& > i {
			display: none;
			color: @blue;
			.transition(all 250ms ease);
		}
	}

	.cvv-icon {
		position: absolute;
		top: 66px;
		right: 15px;

		& > i {
			display: none;
			color: @blue;
			.transition(all 250ms ease);
		}
	}
}

.input-group-addon {
	color: @black;
	border-color: @black;
	background-color: @white;
	.border-radius(0);
}

.select-hidden {
	display: none;
	visibility: hidden;
	padding-right: 1rem;
}

.select {
	cursor: pointer;
	display: inline-block;
	position: relative;
	font-size: 16px;
	color: @black;
	width: 100%;
	height: 50px;
}

.form-control {
	.box-sizing(border-box);
	width: 100%;
	height: 50px;
	border: 1px solid @black;
	.border-radius(0);
	background: transparent;
	color: @black;
	font-size: 16px;
	font-weight: 400;
	outline: none;
	.transition(all 300ms ease-in-out);

	&::-webkit-input-placeholder {
		color: @black;
	}

	&:-moz-placeholder {
		color: @black;
	}

	&::-moz-placeholder {
		color: @black;
	}

	&:-ms-input-placeholder {
		color: @black;
	}

	&-sibling {
		border-top: 1px solid transparent;
	}

	&.active &:hover,
	&:focus,
	&:active {
		border-color: @red;
	}
}

.select-styled {
	.box-sizing(border-box);
	width: 100%;
	height: 50px;
	border: 1px solid @black;
	.border-radius(0);
	background: transparent;
	padding: 1.3rem;
	color: @black;
	font-size: 16px;
	font-weight: 400;
	outline: none;
	.transition(all 300ms ease-in-out);

	&:hover,
	&.active {
		border-color: @red;
	}
}

.select-options {
	list-style: none;
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 9999;
	margin: 0;
	padding: 0;
	background-color: @white;
	border-left: 1px solid @red;
	border-right: 1px solid @red;
	border-bottom: 1px solid @red;

	& li {
		margin: 0;
		height: 50px;
		padding: 1.3rem;
		.transition(all 250ms ease);

		&:first-child {
			display: none;
		}

		&:hover {
			background-color: lighten(@red, 10%);
			color: @white;
		}
	}
}

.footer {
	background-color: @black;
	padding: 2rem 0;
	&-inner {
		& h3 {
			color: lighten(@black, 15%);
		}
		& .footer-list {
			padding: 0;
			margin: 0;
			display: block;
			& li {
				display: block;
				color: @white;
				margin-bottom: 0.8rem;
				& a {
					&:hover {
						text-decoration: underline;
					}
				}
			}
			&-inline {
				display: block;
				& li {
					display: inline-block;
					margin-right: 1.8rem;
				}
			}
		}
	}
}

@media (max-width: 767px) {
	.accordion-group {
		height: 360px;
		& li {
			display: flex;
			align-items: center;
			justify-content: center;
			&.out {
				& h3 {
					opacity: 0;
				}
			}
			& h3 {
				opacity: 1;
				.transition(all 300ms ease-in-out);
				.transform(rotate(90deg));
				width: 2.5rem;
				padding: 0;
				margin: 10rem 0;
			}
		}
	}
}

@-webkit-keyframes rotate {
	from {
		.transform(rotate(0deg));
	}
	to {
		.transform(rotate(360deg));
	}
}

@-moz-keyframes rotate {
	from {
		.transform(rotate(0deg));
	}
	to {
		.transform(rotate(360deg));
	}
}

@keyframes rotate {
	from {
		.transform(rotate(0deg));
	}
	to {
		.transform(rotate(360deg));
	}
}
View Compiled
(function () {
    var expand;
    expand = function () {
        var $input, $search;
        $search = $('.search');
        $input = $('.input');
        if ($search.hasClass('close')) {
            $search.removeClass('close');
            $input.removeClass('square');
        } else {
            $search.addClass('close');
            $input.addClass('square');
        }
        if ($search.hasClass('close')) {
            $input.focus();
        } else {
            $input.blur();
        }
    };
    $(function () {
        var $accordion, $wideScreen;
        $accordion = $('#accordion').children('li');
        $wideScreen = $(window).width() > 767;
        if ($wideScreen) {
            $accordion.on('mouseenter click', function (e) {
                var $this;
                e.stopPropagation();
                $this = $(this);
                if ($this.hasClass('out')) {
                    $this.addClass('out');
                } else {
                    $this.addClass('out');
                    $this.siblings().removeClass('out');
                }
            });
        } else {
            $accordion.on('touchstart touchend', function (e) {
                var $this;
                e.stopPropagation();
                $this = $(this);
                if ($this.hasClass('out')) {
                    $this.addClass('out');
                } else {
                    $this.addClass('out');
                    $this.siblings().removeClass('out');
                }
            });
        }
    });
    $(function () {
        var $container, $menu, $menubtn, $navbar;
        $menubtn = $('#hb');
				$navbar = $('.navbar');
        $menu = $('.navigation');
        $container = $('.site-inner');
        $menubtn.on('click', function (e) {
            if ($menubtn.hasClass('active')) {
                $menubtn.removeClass('active');
                $menu.removeClass('slide-right');
                $container.removeClass('slide-right');
								$navbar.removeClass('slide-right');
            } else {
                $menubtn.addClass('active');
                $menu.addClass('slide-right');
                $container.addClass('slide-right');
								$navbar.addClass('slide-right');
            }
        });
    });
    $(function () {
        var $button, clickOrTouch;
        clickOrTouch = 'click touchstart';
        $button = $('#search-button');
        $button.on(clickOrTouch, expand);
    });
    $(function () {
        var $box;
        $box = $('.sm-box');
        $box.on('click', function (e) {
					e.preventDefault();
            var $this;
            $this = $(this);
            if ($this.hasClass('active')) {
                $this.removeClass('active');
            } else {
                $this.addClass('active');
            }
        });
    });
}.call(this));

$("select").each(function() {
		var $this = $(this),
				$options = $(this).children("option").length;

		$this.addClass("select-hidden");
		$this.wrap("<div class='select'></div>");
		$this.after("<div class='select-styled'></div>");

		var $styledSelect = $this.next("div.select-styled");
		$styledSelect.text($this.children("option").eq(0).text());

		var $list = $("<ul />", {
				"class": "select-options"
		}).insertAfter($styledSelect);

		for (var i = 0; i < $options; i++) {
				$("<li />", {
						text: $this.children("option").eq(i).text(),
						rel: $this.children("option").eq(i).val()
				}).appendTo($list);
		}

		var $listItems = $list.children("li");

		$styledSelect.on("click", function(e) {
				e.stopPropagation();
				$("div.select-styled.active").each(function() {
						$(this).removeClass("active").next("ul.select-options").hide();
				});

				$(this).toggleClass("active").next("ul.select-options").toggle();
		});

		$listItems.on("click", function(e) {
				e.stopPropagation();
				$styledSelect.text($(this).text()).removeClass("active");
				$this.val($(this).attr("rel"));
				$list.hide();
		});

		$(document).on("click", function() {
				$styledSelect.removeClass("active");
				$list.hide();
		});
	
		$(".select-sibling").next(".select-styled").css({
			"border-top": "0px"
		});
});

(function () {
	var $addItem = $("#add-item");
	var $badge = $(".badge");
	var $count = 1;
	
	$addItem.on("click", function(e) {
		e.preventDefault();
		$badge.html($count++);
	});
}.call(this));

External CSS

  1. //maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css
  2. https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css

External JavaScript

  1. //cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js
  2. //cdnjs.cloudflare.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js
  3. //cdnjs.cloudflare.com/ajax/libs/handlebars.js/3.0.0/handlebars.min.js
  4. //maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js