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

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


h2 {
	font-size: 54px;
}

#brand {
	margin-bottom: 70px;
}

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

iframe {
	border: 0;
	pointer-events: none;
}

.navbar {
	/* border-bottom: none; */
	backdrop-filter: none;
	background: #ffffffdd;

}
#topPanelContainer {
	position: relative;
}
#topPanel {
	padding: 10px 0;
	pointer-events: none;
	height: auto;
	overflow: visible;
	background: #ffffffdd;
	margin-bottom: 20vh;
	border: 26px solid #f5f5f5;
	margin-top: 15vh;
	/* width: 370px; */
	padding-top: 60px;
	min-height: 13vw;
	min-width: 13vw;
}
#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 {
	font-size: 4vw;
	margin-bottom: 0;
}
#topPanel h1.specialType {
	font-size: 6vw;
	padding-left: 20%;
}
#topPanel .description {
	margin-top: 40px;
}


#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;
}

#sketch.changing {
	transition: opacity 200ms;
	opacity: 0;
}

#sketch,
#featured {
	transition: opacity 1s 400ms;
}

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

#featured {
	opacity: 1;
	display: block;
	/* padding: 11px 30px 9px 30px; */
	text-align: center;
	position: absolute;
	/* padding-left: 0; */
	/* padding-right: 0; */
	white-space: nowrap;
	text-overflow: ellipsis;
	top: 15vh;
	right: 15px;
	width: fit-content;
}

#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 {
	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;
}

#promos {
    margin-bottom: 130px;
}

.promo {
	padding-top: 15px;
}
.promo .screenshotContainer {
	position: absolute;
	width: calc(100% - 30px);
	top: -114px;
	height: 114px;
	overflow: hidden;
	transition: height 400ms, top 400ms;
	box-shadow: 0 -1px 4px 0 rgba(146, 146, 146, 0.50);
	background: #f5f5f5;
}
.promo .screenshotContainer:hover {
	top: -140px;
	height: 140px;
}
.promo .screenshotContainer img {
	position: absolute;
	width: 100%;
}
#promos hr {
	margin-top: 0;
}

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

#hearts {
	margin-bottom: 0px;
}

html.allowScroll #searchContainer {
	position: relative;
}

#hearts h2 {
	font-size: 44px;
}

#hearts ul {
	padding: 0;
	margin: 0;
	/* list-style-type: none; */
	display: block;
	/* vertical-align: top; */
	white-space: nowrap;
}

#hearts li {}

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

#hearts .icon_heart {
	margin-top: -10px;
	width: 50px;
	margin-right: 6px;
}
#particles {
	padding-top: 220px;
	margin-bottom: 240px;
}
#particles .iframeContainer {
	position: absolute;
	top: 0;
	left: 0;
	max-width: 700px;
}
 {
	width: 100% !important;
	height: 500px !important;
	border: none;
}
#particles iframe {
	width: 100% !important;
	height: 600px !important;
	border: none;
}

#particles h2 {
	font-size: 65px;
}

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

#particleResults .sketchLi:last-of-type {
	width: 36.7%;
	margin-right: -20%;
}
#games {
	margin-bottom: 270px;
}
#games h2 {
	font-size: 86px;
}

#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;
	padding: 5px 0;
	border-bottom: 1px solid #ccc;
}

/*=====*/

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

@media (min-width:768px) {
	html,
	body {}
	#searchContainer {}
	#featured {
		/* border-bottom: 1px solid #aaa; */
		overflow: hidden;
	}
}

@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;
	}
	#topPanel h1.pageTitle {
		font-size: 14vw;
		margin-bottom: 0;
	}

	#topPanel h1.specialType {
		font-size: 19vw;
		padding-left: 3vw;
	}
	#featured {
		/* padding-left: 45px; */
		/* padding-right: 45px; */
		/* background: #ffffff99; */
		top: unset;
		bottom: -10px;
		/* right: unset; */
		/* margin-right: auto; */
		/* margin-left: auto; */
		/* width: 100%; */
		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: 100px;
	}
	#heartResults {
		overflow: hidden;
	}
	#particleResults .sketchLi {
		width: 25%;
	}
	#particleResults .sketchLi:last-of-type {
		width: 25%;
		margin-right: 0;
	}
	#content>.container {
		padding-bottom: 50px;
	}
	#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;
	}
}