html,
body {
	background: #fafafa;
	overflow-x: hidden;
}

@media (min-width: 1400px) {
	.container {
		width: 1370px;
	}
}


#content h2 {
	font-size: 54px;
}

#brand {
	margin-bottom: 70px;
}

#topPanel h2 {
	display: inline;
	font-size: 24px;
}

iframe {
	border: 0;
	pointer-events: none;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	z-index: -1;
	background: #fff;
	overflow: hidden;
}

.navbar {
	/* border-bottom: none; */
}

#topPanelContainer {
	position: relative;
}

#topPanel {
	padding: 10px 0;
	pointer-events: none;
	height: auto;
	overflow: visible;
	background: #ffffffd4;
	margin-bottom: 20vh;
	border: 26px solid #f5f5f5;
	margin-top: 15vh;
	width: 420px;
	padding-top: 60px;
	min-height: 13vw;
	min-width: 13vw;
	box-shadow: 0 0 50px #888;
	backdrop-filter: blur(3px);
	max-width: 100%;
}

#topPanel h1,
#topPanel h2,
#topPanel h3 {
	-webkit-user-select: none;
	user-select: none;
	pointer-events: none;
	font-family: 'Playfair Display',
		serif;
	letter-spacing: -0.03em;
}

#topPanel h1.pageTitle {
	margin-bottom: 0;
}

#topPanel h1.specialType {
	font-size: 6vw;
	padding-left: 15%;
	text-shadow: 0 0 6px #f5f5f5;
}

#topPanel .description {
	margin-top: 30px;
}


#searchForm input {
	border-color: #aaa;
	background: url("/assets/img/icons/icon_search_dark.png") left top 9px no-repeat;
	background-size: 22px 22px !important;
	padding: 11px 0 9px 30px;
	color: #333 !important;
}

#searchForm input:focus {
	background-color: #f5f5f5cc !important;
}

h1 a,
h2 a,
h3 a,
.btn {
	pointer-events: all;
}

#sketch {
	position: absolute;
	height: 100%;
	width: 100%;
	z-index: 0;
	overflow: hidden;
	top: 0;
	left: 0;
	opacity: 1;
	background: #fff;
	transition: opacity 200ms 400ms;
}

#sketch.changing {
	opacity: 0;
}

#sketch,
#featured {
	transition: opacity 800ms;
}

#sketch iframe {
	height: 100%;
	width: 100%;
	border: none;
}

#featured {
	position: absolute;
	white-space: nowrap;
	overflow: hidden;
	top: 15.5vh;
	right: 0;
	height: auto;
	width: auto;
	text-shadow: 0 0 3px #aaa;
}


#featured .credit {
	position: relative;
	right: 0;
	max-width: 250px;
	overflow: hidden;
	text-overflow: ellipsis;

}

#featured .icon_arrow_circle_left_dark {
	position: absolute;
	left: 0px;
	top: 10px;
}

#featured .icon_arrow_circle_right_dark {
	position: absolute;
	right: 0px;
	top: 10px;
}

#featured .progressBar {
	width: 0%;
	height: 100%;
	position: absolute;
	display: block;
	background-color: #fafafa;
	opacity: 0;
	transition: width 0, opacity 0;
	left: 0px;
	top: 0;
	z-index: -1;
}

#featured .progressBar.loading {
	transition: width 3s ease-out, opacity 200ms;
	opacity: 1;
	width: 95%;
}

#featured .progressBar.loaded {
	transition: width 200ms ease-in, opacity 200ms 800ms;
	width: 100%;
	opacity: 0;
}

.buttons {
	padding-top: 10px;
	text-align: center;
}

.buttons>a {
	/* width: auto; */
	margin-right: 15px;
	margin-bottom: 5px;
	background-color: rgba(255, 255, 255, 0.8);
}

.buttons>a.btn.btn-default {
	/* background-color: transparent; */
	width: 50%;
}

.buttons>a.btn.btn-link {
	/* position: absolute; */
	right: 0;
	background: transparent;
	clear: both;
	display: block;
}

#content>.container-fluid,
#content>.container {
	z-index: 1;
	position: relative;
}

/*===content=====*/

#content {
	background: url('/assets/img/patterns/b_pattern_paper.png') #f7f3ed;
	border-top: 1px solid #aaa;
	position: relative;
	padding-left: 0;
	padding-right: 0;
	box-shadow: 0 0 50px #555;
	/* background: #ffffff; */
}

#promos {
	margin-bottom: 130px;
}

.promo {
	padding-top: 15px;
}

.promo .screenshotContainer {
	position: absolute;
	width: calc(80%);
	top: -100px;
	height: 100px;
	overflow: hidden;
	transition: height 400ms, top 400ms;
	box-shadow: 0 -1px 4px 0 rgba(146, 146, 146, 0.50);
	background: #f5f5f5;
	/* left: 50%; */
	/* transform: translateX(-50%); */
}

.promo .screenshotContainer img {
	position: absolute;
	width: 100%;
}

#promos hr {
	margin-top: 0;
}

#promos>* {
	margin-top: -1px;
}

#hearts {
	margin-bottom: 170px;
	z-index: 2 !important;
}

#hearts>div {
	display: flex;
	justify-content: space-between;
	gap: 30px;
	align-items: flex-end;
}

#hearts .header {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	flex: 1 0 30%;
	justify-content: flex-end;
	border-bottom: 1px solid #ccc;
}

#hearts .sketchList {
	display: flex;
	justify-content: flex-end;
	flex-direction: row;
	height: 120px;
	overflow: hidden;
	flex: 0 1 auto;
}

#hearts hr {
	width: 100%;
	margin-bottom: 0;
}

html.allowScroll #searchContainer {
	position: relative;
}

#hearts h2 {
	font-size: 40px;
	line-height: 1.2;
	margin-bottom: 0;
	white-space: nowrap;
	padding-bottom: 15px;
}

#hearts ul {
	/* padding: 0; */
	/* margin: 0; */
	/* display: block; */
	/* white-space: nowrap; */
	/* height: auto; */
	/* height: 100px; */
}

#hearts li {
	min-width: 120px;
	width: 8vw;
	max-width: 120px;
}

.sketchLi {
	width: 16.66%;
	display: inline-block;
}

.sketchLi .attrLabel {
	display: none !important;
}

#hearts .icon_heart {
	margin-top: -10px;
	width: 50px;
	margin-right: 6px;
}

.curation {
	margin-top: 0px;
	margin-bottom: 100px;
	padding: 0 0 100px 0;
}

#games .sectionVideo {
	width: calc(50% + 10px);
	opacity: 0.2;
	position: absolute;
	right: 0;
	z-index: -1;
	top: 0;
	/* mix-blend-mode: multiply; */
	/* background: transparent; */
}

#genart {
	overflow: visible;
}

#genart h2 {
	font-size: 75px;
	margin-left: -3px;
}

#genart iframe {
	width: 110%;
	height: 140%;
	border: none;
	right: -40%;
	top: -30%;
	position: absolute;
}

#particles .credit {
	/* position: absolute; */
	bottom: 0;
	/* right: 0; */
}

#particles iframe {
	width: 100%;
	height: 600px !important;
	border: none;
	right: -7%;
}

#particles h2 {
	font-size: 75px;
	margin-left: -3px;
}

#particles .icon_play {
	width: 22px;
	vertical-align: text-bottom;
}

.results {
	/* to align with text */
	top: 10px;
}

.results .sketchLi:last-of-type {
	/* width: 36.7%;
	margin-right: -20%; */
}

#games {
	/* margin-bottom: 70px; */
}

#games h2 {
	font-size: 76px;
	margin-left: -6px;
}

#games iframe {
	width: 500px !important;
	height: 500px !important;
	border: none;
	margin-left: -250px;
}

#gamesResults .sketchLi {
	/* width: 16.66%; */
}

#brushes {
	margin-bottom: 100px;
}

#brushes iframe {
	width: 100% !important;
	height: 500px !important;
	border: none;
}

#brushes h2 {
	font-size: 66px;
}

#brushesResults .sketchLi {
	width: 17.66%;
}

#pricing {
	margin-bottom: 100px;
}

#pricing>.row {
	display: flex;
	align-items: stretch;
}

#freePlan .planContainer {
	background: transparent;
	box-shadow: none;
	padding: 15px;
	position: relative;
	height: 100%;
	width: 100%;
	padding-bottom: 80px;
}

#pricing .planFeatures li {
	padding-left: 10px;
	padding-bottom: 5px;
}

#pricing .planFeatures li::before {
	content: '- ';
	position: absolute;
	left: 15px;
	display: block;
}

#pricing .plan {
	width: 33.3%;
	padding: 0px 15px;
	position: relative;
}

#pricing .actions {
	width: 100%;
	bottom: 0px;
	position: absolute;
	padding: 0 30px 0 0;
	height: 130px;
	text-align: center;
}

#pricing .actions .btn {
	width: 60%;
	bottom: 0px;
	margin-bottom: 15px;
}

#pricing .actions img {
	width: 100%;
}

#pricing .userLi {
	width: 16.66%;
	display: inline-block;
	padding: 0 7px;
	opacity: 0.7;
}

#pricing .userLi:hover {
	opacity: 1;
}

#pricing .userLi:last-child {}

#pricing .monthlyPrice {
	padding-bottom: 10px;
}

.planContainer {
	background: #FFFFFF;
	box-shadow: 0 0 9px 0 rgba(208, 208, 208, 0.50);
	padding: 25px 15px 150px 15px;
	position: relative;
	height: 100%;
}

.tooltip-inner {
	max-width: 350px;
	/* If max-width does not work, try using width instead */
	width: 350px;
	font-family: 'Dosis', Helvetica, sans-serif;
	font-size: 14px;
}

#bottomPromos {
	margin-bottom: 100px;
}

.credit {
	display: inline-block;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	position: absolute;
	bottom: 0;
	right: 15px;
}

/*=====*/

@media (min-width:700px) {
	#topPanel h1.specialType {
		font-size: 95px;
		white-space: nowrap;
		margin-bottom: -8px;
	}
}

@media (min-width:768px) {

	.promo .screenshotContainer:hover {
		top: -140px;
		height: 140px;
	}

	#featured {
		/* border-bottom: 1px solid #aaa; */
	}

	#hearts .sketchLiContainer {
		justify-content: flex-end;
	}
}

@media (max-width:768px) {
	#topPanel {
		margin-bottom: 0;
		max-width: none;
		border: none;
		/* border-bottom: 1px solid #aaa; */
		margin-top: 0;
		margin-bottom: 0;
		padding: 150px 0 70px 0;
		width: 100%;
	}

	#topPanel h1.pageTitle {
		font-size: 11vw;
		margin-bottom: 0;
	}

	#topPanel h1.specialType {
		font-size: 19vw;
		padding-left: 15px;
		text-align: left;
	}

	#featured {
		top: unset;
		bottom: -10px;
		font-size: 0.8em;
		border: none;
	}

	#featured .icon_arrow_circle_left_dark {
		left: 15px;
	}

	#featured .icon_arrow_circle_right_dark {
		right: 15px;
	}

	.promo .screenshotContainer {
		/* display: none; */
		position: relative;
		top: 0;
		border-bottom: 1px solid #333;
		width: 100%;
		margin-left: 0;
		height: 170px;
		margin-top: 30px;
		margin-bottom: 15px;
	}

	#hearts>div {
		flex-direction: column;
		align-items: normal;
	}

	#hearts .sketchList {
		overflow: visible;
		height: auto;
		margin-bottom: 15px;
	}


	.curation {
		padding-top: 0px !important;
		margin-top: 0px !important;
		padding-bottom: 0px !important;
		margin-bottom: 100px !important;
	}

	#particleResults .sketchLi {
		width: 25%;
	}

	#particleResults .sketchLi:last-of-type {
		width: 25%;
		margin-right: 0;
	}

	#content>.container {
		padding-bottom: 0px;
	}

	#content iframe,
	#content .credit {
		display: none;
	}

	#brushesResults .sketchLi {
		width: 20%;
	}

	#pricing>.row {
		display: block;
	}

	#pricing .plan {
		width: 100%;
		padding: 0px 15px;
	}

	#pricing .actions {
		position: static;
		height: auto;
	}

	#pricing .planContainer {
		padding-bottom: 15px;
		margin-bottom: 15px;
	}

	#pricing .planFeatures {
		margin-bottom: 10px;
	}
}