#panels {
	margin-bottom: 16px;
}

.left-panels {
	display: inline-block;
	width: 565px;
}

.whats-new {
	display: inline-block;
	box-sizing: border-box;
	width: 260px;
	height: 315px;
	border: 2px solid #fceaf3;
	margin-right: 20px;
}

.whats-new > h1 {
	font-size: 25px;
	background-color: #fceaf3;
	padding: 10px;
	margin: 0;
}

.whats-new img {
	width: 240px;
	height: 240px;
	text-align: center;
	margin: 10px;
}

.be-inspired {
	box-sizing: border-box;
	display: inline-block;
	vertical-align: top;
	width: 260px;
	height: 315px;
	border: 2px solid #fceaf3;
	margin-right: 20px;
}

.be-inspired > h1 {
	font-size: 25px;
	background-color: #fceaf3;
	padding: 10px;
	margin: 0;
}

.be-inspired a {
	display: block;
	width: 240px;
	height: 240px;
	background-size: contain;
	background-repeat: no-repeat;
	margin: 10px;
}

.popular-themes {
	display: inline-block;
	vertical-align: top;
	width: 425px;
	height: 666px; /* match old FB panel height */
	border: 2px solid #fceaf3;
	overflow: auto;
}

.popular-themes > h1 {
	font-size: 25px;
	background-color: #fceaf3;
	padding: 10px;
	margin: 0;
}

.popular-themes .theme-list {
	display: none;
}

.popular-themes .themes-groups {
	padding: 10px;
}

.popular-themes .theme-block {
	margin-bottom: 24px;
}

.popular-themes .theme-title {
	margin: 0 0 8px;
	padding: 0 4px;
	font-family: "thirsty_script_regular", "thirsty_scriptlight", cursive;
	font-size: 26px;
	position: relative;
	z-index: 3; /* keep title above rotated photos */
}
.popular-themes .theme-title a {
	color: rgb(185, 137, 97);
	text-decoration: none;
}
.popular-themes .theme-title a:hover {
	text-decoration: underline;
}

/* tape-style background for theme title */
.popular-themes .theme-title .tape {
	position: relative;
	display: inline-block;
	padding: 4px 10px;
	background: rgba(238, 229, 222, 0.9); /* site beige from palette */
	color: rgb(185, 137, 97);
}
.popular-themes .theme-title .tape:before,
.popular-themes .theme-title .tape:after {
	content: "";
	position: absolute;
	left: 6px;
	right: 6px;
	height: 2px;
	background: rgba(0, 0, 0, 0.05);
	top: 2px;
}
.popular-themes .theme-title .tape:after {
	top: auto;
	bottom: 2px;
}

.popular-themes .masonry-grid {
	column-count: 4;
	column-gap: 10px;
}
.popular-themes .masonry-item {
	display: inline-block;
	width: 100%;
	margin: 0 0 10px;
	background: #fff;
	border: none;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}
.popular-themes .masonry-item img {
	display: block;
	width: 100%;
	height: auto;
}

#get-the-look {
	position: relative;
	display: inline-block;
	vertical-align: top;
	box-sizing: border-box;
	width: 530px;
	padding: 10px;
	margin-top: 10px;
	margin-right: 10px;
	background-repeat: no-repeat;
}

#get-the-look h1 {
	font-size: 25px;
}

#get-the-look-project {
	width: 330px;
	height: 330px;
	margin-right: 10px;
	float: left;
}

#get-the-look-prev,
#get-the-look-next {
	position: absolute;
	height: 38px;
	width: 48px;
	cursor: pointer;
	z-index: 10;
	opacity: 0.2;
}

#get-the-look-prev {
	left: 0;
	top: 168px;
	background: url("/filestore/layout/fleche1.png") no-repeat center left;
}

#get-the-look-next {
	right: 0;
	top: 168px;
	background: url("/filestore/layout/fleche2.png") no-repeat center right;
}

#get-the-look-next:hover,
#get-the-look-prev:hover {
	opacity: 0.8;
}

#get-the-look-project .idea-thumb {
	display: block;
	width: 330px;
	height: 330px;
	object-fit: contain;
}

#get-the-look-products {
	text-align: center;
}

#get-the-look-products .plus {
	display: block;
	font-size: 36px;
	line-height: 1;
	color: #b98961;
	margin: 4px 0;
	font-weight: normal;
}

div.carousel {
	margin-top: 30px;
	margin-bottom: 30px;
	width: 1000px;
	height: 354px;
	overflow: hidden;
	position: relative;
}

div.carousel > a:hover {
	background: white;
}

div.carousel > a {
	display: none;
	transition: 0.6s ease-in-out left;
}

div.carousel > a.prev {
	display: block;
	position: absolute;
	top: 0;
	left: -100%;
	z-index: 3;
}

div.carousel > a.active {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
}

div.carousel > a.next {
	display: block;
	position: absolute;
	top: 0;
	left: 100%;
	z-index: 1;
}

#side-bar {
	display: none;
}

#footer {
	left: 0px;
	width: 1000px;
}

@media (max-width: 768px) {
	#panels {
		display: block;
	}
	.left-panels {
		display: flex;
		width: 100%;
		gap: 8px;
		align-items: stretch;
		flex-wrap: wrap;
	}

	.whats-new {
		width: 150px;
		height: 210px;
	}
	.whats-new img {
		width: 130px;
		height: 130px;
	}

	.be-inspired {
		width: 150px;
		height: 210px;
	}
	.be-inspired img {
		width: 130px;
		height: 130px;
	}

	div.carousel {
		width: 100%;
		height: auto;
	}
	div.carousel img {
		width: 100%;
		height: auto;
		display: block;
	}

	div.carousel > a {
		position: static;
		left: auto;
		right: auto;
		top: auto;
		display: none;
	}
	div.carousel > a.active {
		position: static;
		display: block;
	}
	div.carousel > a.prev,
	div.carousel > a.next {
		display: none;
	}

	#get-the-look-project {
		width: 200px;
	}
	#get-the-look-project .idea-thumb {
		width: 180px;
	}

	.popular-themes {
		width: 100%;
		height: auto;
	}
	.popular-themes .masonry-grid {
		column-count: 4;
		column-gap: 6px;
	}
	.popular-themes .masonry-item {
		margin: 0 0 6px;
	}

	#side-bar {
		display: block;
	}

	#footer {
		left: auto;
		width: 100%;
	}
}
