html {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	overscroll-behavior: none;
}

body {
	width: 100%;
	height: 100%;
	overflow: hidden;
	overscroll-behavior: none;
}

[v-cloak] {
	display: none;
}

#app {
	position: static;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	overflow: hidden;
	color: #f5f5f5;
}

/* layouts */
#layoutOptions input+label {
	display: inline-block;
	width: 18px;
	height: 14px;
	background-repeat: none;
	background-size: 100%;
	margin-left: 10px;
	opacity: 0.6;

}

#layoutOptions input:checked+label {
	opacity: 1;
}

#layoutOptions input+label::after {
	display: none;
}

#layoutOptions input#layout_default+label {
	background-image: url('/assets/img/icons/layout_default_white@2x.png');
}

#layoutOptions input#layout_split+label {
	background-image: url('/assets/img/icons/layout_split_white@2x.png');
}

#layoutOptions input#layout_overlay+label {
	background-image: url('/assets/img/icons/layout_overlay_white@2x.png');
}


#app.layout_overlay #codePanel {
	display: block;
	background: transparent;
}

#app.layout_overlay .CodeMirror {
	background: transparent !important;
}

#app.layout_overlay .CodeMirror-line>* {
	background: #f5f5f5;
}

#app.layout_overlay #sketch {
	display: block;
	z-index: 1;
	background: transparent !important;
	pointer-events: all;
}

#app.layout_overlay #sketch.inactive {
	pointer-events: none;
	filter: none;
}

#app.layout_overlay .CodeMirror-cursor {
	width: 3px !important;
	border-width: 3px !important;
	background-color: #73C2E9 !important;
}


#app.layout_split #codePanel {
	position: relative;
	width: 50%;
	background: transparent;
	overflow: visible;
	margin-left: 0;
}

#app.layout_split.playMode #codePanel {
	display: flex;
}


#app.layout_split #sketch {
	display: block;
	width: 50%;
	height: calc(100% - 85px);
	top: 85px;
	right: 0;
	left: unset;
	filter: none;
	z-index: 1;
}

#app.layout_split.fullscreen #sketch {
	height: calc(100% - 34px);
	top: 34px;
}


#app.fullscreen #codePanel #codeTabs {
	top: 0;
}

#embedPageLink {
	display: none;
}

a.disabled {
	pointer-events: none;
}


.navbar .iconsRow {
	/* transition: opacity 200ms; */
	background: #333;
	/* border-bottom: 1px solid #444; */
}

.navbar #navPath {
	display: none;
}

.navbar .iconsRow .OPlogo {
	z-index: 1;
}

.navbar .sketchInfo {
	display: inline-block;
	position: absolute;
	width: 100%;
	height: 100%;
	padding-left: 50px;
	/* margin-top: 6px; */
}

.navbar.expanded .sketchInfo,
html.newSketch .sketchInfo {
	display: none;
}

#websiteControls .userThumbContainer {
	position: absolute;
	width: 30px;
	height: 30px;
	/* background-color: transparent !important; */
}

#websiteControls .plus {
	width: 6px;
	height: 6px;
	background-image: url('/assets/img/icons/icon_plus_double_xs_white.png');
}

.navbar .userThumb {
	margin-top: 0px;
}

.navbar .thumbContainer {
	/* remove anti-aliasing */
	/* background: #333; */
}

.navbar #navbar-profile-thumb {
	/* top: 1px; */
}

.navbar #navigationProfile {
	display: flex;
	position: relative;
	padding: 1px 13px 0 13px;
	align-content: center;
}

.navbar #websiteControls {
	height: 30px;
	overflow: visible;
	align-self: center;
	justify-self: center;
}

.navbar .sketchTitle {
	display: block;
	width: 100%;
	margin-top: -3px;
	margin-bottom: -4px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding-left: 38px;
}

.navbar .sketchAuthor {
	top: 17px;
	font-size: 15px;
	padding-left: 38px;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	color: #ccc;
}

.navbar .sketchAuthor a {
	color: #ED7B7B;
}


.navbar .btn {
	width: 100px;
}

.navbar .btn.btn-primary {
	margin-right: 0;
	margin-top: 0;
}

.navbar.fade2Sketch {
	transition: opacity 1000ms 4000ms;
	opacity: 0;
}

.navbar.fade2Sketch:hover {
	transition: opacity 200ms;
	opacity: 1;
}

.navbar #mainControls {
	width: 170px;
	align-self: center;
	justify-self: center;
	text-align: center;
}

.navbar #shareButtons {
	width: 190px;
	height: 50px;
	/* position: absolute; */
	padding: 14px 0;
	background: #444;
	/* top: 0px; */
	/* right: 0px; */
	font-size: 14px;
	transition: all 200ms 200ms;
	opacity: 1;
}

.navbar #shareButtons.flip {
	transform: rotateX(90deg);
	transition: all 0ms 0ms;
	opacity: 0;
	pointer-events: none;
}

.navbar #shareButtons p {
	margin-bottom: 3px;
}

.navbar #shareButtons a {
	margin-right: 22px;
}

.navbar #shareButtons a:last-of-type {
	margin-right: 0px;
}

.navbar #shareButtons .icon {
	vertical-align: middle;
}

.navbar #shareButtons .icon_twitter_white {
	margin-right: -1px;
}


.navbar #followLink::after {
	opacity: 0;
	transition: opacity 400ms;
	content: '';
}

.navbar #followLink:hover::after {
	content: 'Follow';
	opacity: 1;
}

.navbar #followLink.following:hover::after {
	content: 'Following';
	color: #999;
}

.navbar .followIcon {
	width: 15px;
	height: 15px;
	top: 0px;
	background: url('/assets/img/icons/plus_circle_small_red@2x.png') no-repeat;
	background-size: cover;
	margin-left: 4px;
	margin-right: 4px;
}

.navbar #followLink.following .followIcon {
	top: -1px;
	background-image: url('/assets/img/icons/checkmark_circle_small_white@2x.png');
}

#forkSketchLink,
#forkSketchButton {
	width: auto;
}

#forkSketchLink::before {
	/* position: relative; */
	position: absolute;
	width: 1px;
	height: 24px;
	top: 9px;
	left: 0px;
	content: '';
	background: #555;
}

#recordContainer,
#screenshotContainer {
	position: fixed;
	width: 100%;
	padding: 15px 15px 0 15px;
	z-index: 2;
	background: #f5f5f5;
	color: #333;
	min-height: 50px;
	border-bottom: 1px solid #ddd;
	cursor: pointer;
}

#app.recordMode .sidePanel,
#app.recordMode .console,
#app.recordMode #introPanel,
#app.screenshotMode .sidePanel,
#app.screenshotMode .console,
#app.screenshotMode #introPanel {
	display: none !important;
}

#recordButton.recording {
	animation: pulsate 0.5s infinite;
	/* background-image: url('assets/img/icons/recording@2x.png'); */
}

.icon_loader {
	width: 18px;
	height: 18px;
}

#app>.panel {
	position: absolute;
	width: 100%;
	height: calc(100% - 50px);
	top: 50px;
	left: 0;
	background: #222;
	color: #fff;
}

.panel.active,
.sidePanel.active {
	visibility: visible;
	/* -webkit-animation-duration: 200ms; */
	/* -webkit-animation-name: fadeInFromNone; */
	/* animation-duration: 200ms; */
	/* animation-name: fadeInFromNone; */
}

.panel.inactive,
.sidePanel.inactive {
	display: none;
	/*
    -webkit-animation-duration: 400ms;
    -webkit-animation-name: fadeOutToNone;
    animation-duration: 400ms;
    animation-name: fadeOutToNone;
*/
}

#sketch {
	position: fixed;
	width: 100%;
	height: 100%;
	/* transition: background 200ms; */
	/* filter: blur(4px); */
	top: 0;
	z-index: 0;

	/*    set initial bg, otherwise intropanel doesn't transition for some reason*/
	text-align: center;
	overflow: hidden;
	-webkit-overflow-scrolling: touch;
	box-sizing: border-box;
}

#OPC {
	position: absolute;
	width: 280px;
	top: 0;
	right: 11px;
	z-index: 4;
	text-align: left;
	overflow: hidden;
}

#OPCControls {
	height: auto;
	padding: 20px 15px 0px 15px;
	background: #444;
	border-radius: 0;
	overflow: auto;
	max-height: calc(100% - 170px);
	border: 1px solid #333;
}

#OPC .icon_cogs_small_white {
	position: absolute;
	top: 8px;
	right: 8px;
}

#OPC.minimized .icon_x_small_white {
	position: absolute;
	top: 19px;
	right: 28px;
}

#OPC.minimized .icon_cogs_small_white {
	display: block;
}

#OPC.minimized .icon_x_small_white,
#OPC .icon_cogs_small_white {
	display: none;
}

#OPC.minimized {
	width: 32px;
	height: 32px;
	padding: 0;
	overflow: hidden;
	background: #444;
	border-radius: 0 0 10px 10px;
	border: 1px solid #333;
}

#OPC.minimized #OPCControls {
	display: none;
	/* position: fixed; */
}

#OPC .formItem {
	margin-bottom: 15px;
}

#OPC .OPtoggle {
	background: #333;
}

#OPC #OPCcollapseIcon {
	position: relative;
	width: 100%;
	height: 12px;
	right: 0;
	text-align: center;
	border-radius: 0px 0px 5px 5px;
	line-height: 0.8;
	background: url('/assets/img/icons/caret_up_white@2x.png') center center no-repeat #333;
	background-size: 12px;
}

#OPC.minimized #OPCcollapseIcon {
	display: none;
}

body.articleMode #sketch {
	z-index: -1;
}


#sketch .icon_minimize {
	position: fixed;
	width: 36px;
	height: 36px;
	top: 0;
	right: 0;
	cursor: pointer;
	z-index: 1;
	background-size: 20px;
	opacity: 0.4;
	transition: opacity 200ms,
		background-color 200ms;
}

#sketch .icon_minimize:hover {
	opacity: 1;
	background-color: #ffffff99;
}

#sketch #sketchForm {
	display: none;
}

#sketch #fullscreenWarning {
	position: fixed;
	height: auto;
	top: 15px;
	left: 50%;
	padding: 5px 15px;
	background: #333;
	transform: translateX(-50%);
	border-radius: 50px;
	z-index: 2;
	animation: fadeOutToHidden 200ms 2s forwards;
}

html.touch #fullscreenWarning {
	display: none;
}

html.no-touch #sketch .icon_minimize {
	display: none;
}

#sketch iframe {
	position: relative;
	/*will be override with size()*/
	width: 100%;
	height: 100%;
	margin-left: auto;
	margin-right: auto;
	max-width: 100%;
	max-height: 100%;
	border: none;
	transition: opacity 400ms;
	opacity: 1;
	background: transparent;
	overflow: scroll;
}

#sketch iframe.inactive {
	transition: opacity 0ms;
	opacity: 0;
}

#controls.fadeIn {
	opacity: 1;
}

#controls {
	display: block;
	position: absolute;
	width: 100%;
	height: 60px;
	bottom: 0px;
	margin: 0;
	opacity: 0;
	text-align: center;
	background-color: transparent;
	background-image: linear-gradient(-180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
	border: none;
	transition: opacity 600ms 200ms;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

#app.fullscreen #controls,
#app.fullscreen .navbar,
#app.fullscreen .sidePanel {
	opacity: 0;
	pointer-events: none;
}


#app.fullscreen .navbar {
	opacity: 0;
	pointer-events: none;
}

#app.fullscreen #codePanel {
	padding-top: 0;
}

.hideOnPlay {
	opacity: 1;
	/* disabled for now*/
	transition: opacity 200ms;
}

#controls>.row {
	height: 100%;
	text-align: center;
	float: none;
}

#controls #frameRate {
	display: none;
	position: absolute;
	left: 10px;
	color: #fff;
}

#controls #mainControls {
	height: 100%;
	margin-top: 3px;
}

#controls #mainControls:hover .icon {
	border: 1px solid #f5f5f5;
}

#controls #sideControls {
	position: absolute;
	height: 100%;
	top: 0px;
	right: 0;
	margin: 0;
	float: none;
}

#controls #sideControls .icon {
	display: inline-block;
	width: 25px;
	height: 25px;
	top: 6px;
	margin-right: 5px;
	/* background-position: 0px center; */
	border-radius: 0;
}

#mainControls .icon {
	width: 30px;
	height: 30px;
	margin: 0 11px;
	border: 1px solid rgba(255, 255, 255, 0);
	border-radius: 50%;
}

#sideControls .metricGroup {
	display: inline-block;
	position: relative;
	padding: 0px 0 10px 0;
	margin-top: 2px;
	margin-left: 15px;
}

#sideControls .metricGroup.selected {
	border-bottom: 3px solid #fff;
	padding-bottom: 13px;
}


#sideControls .metric {
	display: inline-block;
	position: relative;
	top: 0px;
	left: 1px;
	color: #fff;
	font-size: 14px;
	cursor: pointer;
}

.metric#forkCount {
	left: 0px;
}

#codeSnippetModal .modal-body {
	white-space: pre;
}

#editSketchPanel {
	display: none;
	position: relative;
	overflow: auto;
	z-index: 2;
	padding-top: 100px;
	padding-bottom: 100px;
}


html.newSketch #deleteSketchLink {
	display: none;
}


#editSketchPanel .sketchTitle {
	font-size: 70px !important;
	line-height: 1.1 !important;
}

#editSketchPanel .license select {
	padding-bottom: 5px;
	padding-top: 4px;
	padding-right: 15px;
	background: url('/assets/img/icons/caret_small_bottom@2x.png') right center no-repeat;
	background-size: 12px 5px;
	text-align: right;
	border-color: #555;
}

#editSketchPanel .license option {
	text-align: right;
	text-overflow: ellipsis;
	overflow: hidden;
	/* Windows support coloring */
	background: #333;
	color: #f5f5f5;
}

#editSketchPanel #screenshotContainer {
	display: inline-block;
	position: relative;
	width: 100%;
	margin-bottom: 30px;
	overflow: hidden;
}

#editSketchPanel #screenshot {
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: #f5f5f5;
	border: 1px solid #f5f5f5;
	opacity: 1;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

#editSketchPanel .icon_camera_white {
	position: absolute;
	width: 34px;
	height: 22px;
	bottom: -35px;
	left: 50%;
	background: url('/assets/img/icons/camera_white@2x.png') no-repeat;
	background-size: 34px 22px;
	transform: translateX(-50%);
	transition: bottom 200ms;
	z-index: 1;
}

#editSketchPanel #screenshotContainer:hover .icon_camera_white {
	bottom: 10px;
}

#editSketchPanel #screenshotContainer:hover::after {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	content: '';
	background: linear-gradient(to bottom, rgba(0, 153, 133, 0) 0%, rgba(0, 153, 133, 0.92) 100%);
}

#takeScreenshotWarning {
	display: flex;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;

	color: #333;
	text-align: center;

	z-index: 1;
	align-content: center;
	justify-content: center;
	align-items: center;
}

#editSketchPanel>.container>.row {
	margin-bottom: 10px;
}

#editSketchPanel .dropdown-toggle {
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	-o-user-select: none;
	user-select: none;
}

#editSketchPanel .dropdown-menu {
	right: 0;
	bottom: 100%;
	margin: 15px;
	padding: 5px;
	opacity: 0;
	transition: opacity 200ms;
	float: none;
	background: #333;
	border: 1px solid #f5f5f5;
	color: #f5f5f5;
	border-radius: 0;
}

#editSketchPanel .dropdown-menu>li {
	background: #333;
	color: #f5f5f5;
}

#editSketchPanel .dropdown-menu>li:hover {
	background: #666;
}

#editSketchPanel .dropdown-menu>li>a {
	background: none;
	color: #f5f5f5;
}

#editSketchPanel .showClassOptions label {
	width: 100%;
}

.toggleable+.description,
input[name='tags']+.description {
	opacity: 0;
	transition: opacity 200ms;
}

.toggleable.selected+.description,
input[name='tags']:focus+.description {
	opacity: 0.8;
}

#iosKeyboardPin {
	/*    hiding until QA*/
	display: none;
	position: fixed;
	width: 31px;
	height: 14px;
	bottom: 10px;
	left: 15px;
	cursor: pointer;
	background: url('/assets/img/icons/icon_keyboard@2x.png') center center no-repeat #333;
	background-size: 31px 14px;
	z-index: 1000;
}

html.newSketch #quickSaveButton {
	display: none !important;
}

html.existingSketch #saveSketchButton {
	display: none !important;
}

#app.playMode #iosKeyboardPin {
	display: none;
}

#app.playMode #submitSketchButton {
	display: none !important;
}

#app.editMode #forkSketchButton,
#app.editMode #forkSketchLink,
#app.editMode #quickSaveButton,
#app.editMode #saveSketchButton,
#app.editMode #sideControls,
#app.editMode .sidePanel.active,
#app.editMode #iosKeyboardPin,
#app.editMode #shareButtons,
#app.editMode #navigationProfile {
	display: none !important;
}

#app.editMode #editSketchPanel {
	display: block;
}

#app.infoMode #sideControls,
#app.infoMode .sidePanel.active,
#app.infoMode #iosKeyboardPin,
#app.infoMode #sideButtons,
#app.infoMode #navigationProfile,
#app.infoMode #shareButtons {
	display: none !important;
}

#app.codeMode #submitSketchButton,
body.articleMode #submitSketchButton {
	display: none !important;
}

html.no-touch #iosKeyboardPin {
	display: none;
}

#intercom-frame {
	/* some wierd intercom bug causing intercom to take over full screen when sketch is restarted */
	/* so, hiding intercom-frame, which doesn't seem to effect messaging  */
	z-index: -1;
}

#console {
	position: fixed;
	width: 100%;
	height: 150px;
	bottom: 0;
	left: 0;
	padding: 0px 10px 0 0;
	background: #333;
	color: #f5f5f5;
	z-index: 4;
	transition: transform 200ms 100ms;
	/*    by default minimized*/
	transform: translateY(100%);
	min-height: 50px;
}

#app.showCodeOptions .consolePin {
	right: 310px !important;
}

#console.auto .consolePin,
#console:not(.hasMessage) .consolePin {
	display: none;
	opacity: 0;
}

#console.auto.hasMessage {
	transform: translateY(0);
}

#console .icon_console {
	display: block;
	position: absolute;
	width: 18px;
	height: 14px;
	top: -25px;
	right: 10px;
	background: url('/assets/img/icons/icon_console.png') center center no-repeat;
	border-radius: 0;
	mix-blend-mode: exclusion;
}

#console .consolePin {
	display: block;
	position: absolute;
	width: 23px;
	height: 18px;
	top: -27px;
	right: 15px;
	padding: 0px 2px;
	font-size: 12px;
	font-weight: bold;
	border: 1px solid #444;
	overflow: hidden;
	border-radius: 3px;
	transition: opacity 200ms, right 400ms;
	cursor: pointer;
	background: #333;
	/*    background: url('/assets/img/icons/icon_console_pin_dark.png') center center no-repeat;*/
	/*    mix-blend-mode: exclusion;*/
}

#console .consolePin>div {
	display: block;
	position: absolute;
	width: 9px;
	height: 10px;
	top: 0;
	left: 9px;
	border-top: 1px solid #f5f5f5;
	border-bottom: 1px solid #f5f5f5;
	margin-top: -1px;
}

#console .consolePin::before {
	content: "⟩";
}

#console .icon_close {
	display: block;
	position: absolute;
	top: 15px;
	right: 15px;
	z-index: 3;
	border: none;
	border-radius: 0;
}
#console .gptPrompt a {
	color: var(--red);
	opacity: 0.7;
}
#console .gptPrompt a:hover {
	color: var(--red);
	opacity: 1;
}
#consoleContent {
	position: relative;
	height: 100%;
	overflow: auto;
	margin-right: -45px;
	padding-right: 80px;
	padding-bottom: 20px;
}

#consoleContent.limitReached::before {
	padding: 20px 0 0 20px;
	content: '... Past logs are removed from console for performance. Please use native browser console to view those.';
	font-size: 14px;
	color: #999;
}

#console pre {
	width: auto;
	margin: 0;
	padding: 0;
	padding: 0;
	background: transparent;
	border: none;
	color: #f5f5f5;
	white-space: normal;
	overflow: hidden;
}

#console pre a {
	text-decoration: underline;
}

#console pre:first-of-type {
	margin-top: 15px;
}

#console pre.noLineBreak {
	display: inline;
	word-wrap: break-word;
	word-break: break-all;
	white-space: normal;
}

#console pre {
	padding-left: 15px;
	border-left: 5px solid transparent;
	border-radius: 0;
}

#console pre::before {
	display: inline;
	content: attr(data-repeat);
	color: #999;
}


#console .error {
	color: #F54949;
	overflow: visible;
	border-left-color: #F54949;
}

#console .warning {
	border-left-color: #F8E71C;
	color: #f5f5f5;
}

#console .info {
	border-left-color: #73C1E8;
	color: #f5f5f5;
}

#console ul {
	display: inline-block;
	vertical-align: top;
}

#console ul.stackDetails {
	display: block;
	color: #f5f5f5;
}

#console ul::after {
	content: attr(data-object);
	text-decoration: none;
	color: #999;
	white-space: nowrap;
}

#console ul.expand::after {
	content: '';
}

#console ul li {
	display: none;
	border-left: 2px #222 solid;
	padding-left: 10px;
}

#console ul.expand>li {
	display: list-item;
}

#console .tabLink {
	margin-right: 5px;
}

#console .stackLink {
	margin-left: 5px;
}

#console .gptContainer {
	padding-top: 5px;
	color: #ccc;
}
#console .gptResponse {
	padding-bottom: 15px;
	white-space: pre-wrap;
	word-break: normal;
}
#console .gptResponse.loading::before {
	content: '';
	background: url('/assets/img/icons/icon_loader.svg') no-repeat;
	background-size: 16px;
	width: 16px;
	height: 16px;
	display: inline-block;
}



#console .consoleSizer {
	position: absolute;
	/* background: #111; */
	width: 100%;
	height: 10px;
	left: 0;
	border-top: 1px solid #f5f5f5;
	cursor: row-resize;
	z-index: 1;
}

#quotaContainer {
	position: relative;
	width: calc(100% + 30px);
	height: 30px;
	bottom: 0px;
	left: 0;
	padding: 5px 15px;
	background: #5D5D5D;
	z-index: 3;
	margin-left: -15px;
	margin-right: -15px;
}

#getQuotaLink {
	padding-right: 0;
}

#quotaAvailable {
	padding: 0;
}

#quotaBar {
	display: block;
	position: absolute;
	width: 0%;
	height: 100%;
	top: 0;
	left: 0;
	background: #333;
	transition: width 800ms;
}

.fx-bounce {
	-webkit-animation: bounce 800ms ease-out;
	-moz-animation: bounce 800ms ease-out;
	-o-animation: bounce 800ms ease-out;
	animation: bounce 800ms ease-out;
}

.fx-stream>div {
	-webkit-animation: stream 200ms linear;
	-moz-animation: stream 200ms linear;
	-o-animation: stream 200ms linear;
	animation: stream 200ms linear;
}

/* Webkit, Chrome and Safari */

@keyframes stream {
	0% {
		transform: translateY(9px);
	}

	100% {
		transform: translateY(0px);
	}
}


@keyframes bounce {
	0% {
		transform: translateY(100%);
		opacity: 0;
	}

	5% {
		transform: translateY(100%);
		opacity: 0;
	}

	15% {
		transform: translateY(0);
		padding-bottom: 5px;
	}

	30% {
		transform: translateY(50%);
	}

	40% {
		transform: translateY(0%);
		padding-bottom: 6px;
	}

	50% {
		transform: translateY(30%);
	}

	70% {
		transform: translateY(0%);
		padding-bottom: 7px;
	}

	80% {
		transform: translateY(15%);
	}

	90% {
		transform: translateY(0%);
		padding-bottom: 8px;
	}

	95% {
		transform: translateY(7%);
	}

	97% {
		transform: translateY(0%);
		padding-bottom: 9px;
	}

	99% {
		transform: translateY(3%);
	}

	100% {
		transform: translateY(0);
		padding-bottom: 9px;
		opacity: 1;
	}
}

@keyframes icon_highlight {
	from {
		background-color: rgba(255, 255, 255, 1);
	}

	to {
		background-color: rgba(255, 255, 255, 0);
	}
}

.icon_info {
	background: url('/assets/img/icons/info@2x.png') center center no-repeat;
	background-size: 5px;
}

#mainControls>.icon {
	display: inline-block;
}

#mainControls .icon_article {
	width: 0;
	background: url('/assets/img/icons/article_white@2x.png') 8px center no-repeat;
	margin-right: 15px;
	background-size: 12px;
	transform: scale(0);
	transition: transform 200ms 200ms, width 200ms, margin-right 200ms;
	margin-right: -2px;
}

html.article .icon_article {
	width: 30px !important;
	transform: scale(1) !important;
	margin-right: 15px !important;
}

#app.playMode #mainControls .icon_play,
#app.codeMode #mainControls .icon_code,
#app.infoMode #mainControls .icon_info,
body.articleMode #mainControls .icon_article {
	border-color: rgba(255, 255, 255, 1);
}

.icon_play {
	background: url('/assets/img/icons/play_white@2x.png') 9px center no-repeat;
	background-size: 12px;
}

.icon_play.icon_pause {
	background: url('/assets/img/sketch/icon_pause.png') 10px center no-repeat;
}

#app.playMode .icon_play.icon_restart {
	background: url('/assets/img/icons/icon_restart@2x.png') 3px 3px no-repeat;
	background-size: 22px 22px;
	transform: rotate(0deg);
	transition: transform 0ms;
}

#app.playMode .icon_play.icon_restart.rotate360 {
	transition: transform 400ms;
	transform: rotate(360deg);
}

.icon_code {
	background: url('/assets/img/icons/code_thin_white@2x.png') center center no-repeat;
	background-size: 16px;
}



#OP_speaker {
	width: 27px !important;
	height: 22px;
	background: url('/assets/img/icons/speaker_on_white@2x.png') no-repeat;
	background-size: 26px 22px;
	background-position: left;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: opacity 200ms;
}

#OP_speaker.muted {
	background-image: url('/assets/img/icons/speaker_off_white@2x.png');
	background-size: 27px 22px;

}

#OP_speaker.fadeIn {
	opacity: 1;
	visibility: visible;
}

.icon_heart {
	background: url('/assets/img/icons/heart_white@2x.png') center left no-repeat;
	background-size: 22px;
}

.icon_arrowToHeart {
	display: none;
	position: absolute;
	top: 9px !important;
	left: 0px;
	pointer-events: none;
	background: url('/assets/img/icons/heart_arrow_white@2x.png') 0px 0px no-repeat;
	background-size: 22px;
}

.icon_arrowToHeart.shoot {
	display: block;
	-webkit-animation-duration: 200ms;
	-webkit-animation-name: arrowToHeart;
	animation-duration: 200ms;
	animation-name: arrowToHeart;
}

@keyframes arrowToHeart {
	0% {
		-webkit-clip-path: inset(25px 25px 0px 0px);
		clip-path: inset(25px 25px 0px 0px);
	}

	100% {
		-webkit-clip-path: inset(0px 0px 0px 0px);
		clip-path: inset(0px 0px 0px 0px);
	}
}

.navbar #sideWrapper {
	display: flex;
	height: 50px;
	flex: 2;
	/* background: #555; */
	align-self: center;
	flex-direction: row-reverse;
	flex-wrap: wrap-reverse;
}

#sideControls,
#sideButtons {
	/* margin-bottom: 40px; */
	position: relative;
	width: auto;
	padding-left: 0px;
}

.navbar #sideControls::after {
	/* position: relative; */
	position: absolute;
	width: 1px;
	height: 24px;
	top: 4px;
	right: 0px;
	content: '';
	background: #555;
}

#sideButtons {
	width: auto;
	margin-left: 0px;
	padding-left: 0;
	/* margin-top: 0; */
	margin-right: -15px;
	/* background: #333; */
	overflow: hidden;
	/* transition: all 400ms 200ms; */
	white-space: nowrap;
	opacity: 0;
	flex: 0 0 auto;
	text-align: right;
	max-width: 0;
	transition: all 200ms 2s;
	/* margin-bottom: -10px; */
}

#sideButtons.show {
	max-width: 280px;
	opacity: 1;
	transition: all 200ms;
}

#sideButtons.offline::before {
	display: inline-block;
	width: 120px;
	padding: 7px;
	content: 'You are offline. Reconnecting...';
	white-space: normal;
	text-align: left;
	color: #999;
	font-size: 14px;
}

#sideButtons.offline button {
	display: none !important;
}

#sideButtons.forkOnly {
	width: 110px;
}

#sideButtons.flip {
	transform: rotateX(-90deg);
}

#sideControls .icon {
	width: 23px;
	top: 10px;
	border-radius: 0;
	margin-top: -7px;
	vertical-align: top;
}

#shortcuts shortcut {
	float: right;
}

.icon_comment {
	background: url('/assets/img/icons/comment_white@2x.png') center left no-repeat;
	background-size: 22px;
}

.icon_fork {
	width: 15px !important;
	background: url('/assets/img/icons/fork_white@2x.png') center left no-repeat;
	background-size: 14px 20px;
}

.icon_question {
	top: -2px;
	left: 5px;
}

#introPanel .icon_fork {
	height: 15px;
	top: -1px;
	background-size: 10px;
}

#infoPanel .icon_fork {
	top: -5px;
}

.formItem .icon_refresh_small_red,
#privateURL .icon_refresh_small_red {
	top: -1px;
	margin-left: 7px;
}

#privateURL .OPclipboard .justCopied::before {
	right: 27px;
}


.icon_share {
	width: 20px !important;
	right: 0px;
	background: url('/assets/img/icons/icon_share.png') center left no-repeat;
	background-size: 20px 22px;
}

#share_embed .icon_share_small {
	position: absolute;
	top: 15px;
	right: 22px;
}

.icon_fullscreen {
	display: block;
	position: fixed;
	right: 0;
	margin: 0;
	padding: 25px;
	z-index: 1040;
	background: url('/assets/img/sketch/icon_fullscreen.svg') center center no-repeat;
	transition: opacity 600ms 2000ms;
}

.icon_fullscreen.selected {
	background: url('/assets/img/sketch/icon_fullscreen.svg') center center no-repeat;
	opacity: 0;
}

.icon_fullscreen.selected:hover {
	transition: opacity 0ms;
	opacity: 1;
}

.sidePanel {
	position: absolute;
	width: 350px;
	height: 100%;
	top: 0;
	right: 0px;
	visibility: hidden;
	color: #fff;
	background: #333;
	padding-top: 0;
	z-index: 7;
	border-top: 51px solid #f5f5f5;
	overflow: hidden;
	box-shadow: 0px 0 6px #666;
}


.sidePanel .bg {
	position: absolute;
	height: 100%;
	right: 0px;
	/*    background: rgba(0, 0, 0, 0.7);*/
	background: #333;
	border-left: 1px solid rgba(240, 240, 240, 0.3);
}

.sidePanel .userImage {
	position: absolute;
	width: 40px;
	height: 40px;
	top: 40px;
	left: -55px;
	margin: 10px;
	margin-right: 0;
}

#heartsList {
	display: flex;
	padding: 15px 10px;
	margin-bottom: 0;
	flex-direction: row;
	align-content: flex-start;
}

#heartSidePanel {
	display: flex;
	padding: 0px;
}

#heartSidePanel .userImage {
	top: 0px;
}



#forkSidePanel {
	overflow: auto;
	padding-bottom: 100px;
}

#forkSidePanel #forkListHeader {
	padding-top: 15px;
	margin-bottom: 15px;
}

#forkSidePanel #forkListHeader .headerText {
	padding-left: 0;
}

#forkListContainer {
	overflow: auto;
	margin-top: -15px;
}

#forkSidePanel ul {
	position: relative;
	padding-left: 0;
}

#forkSidePanel ul::before {
	display: block;
	position: absolute;
	width: 15px;
	height: 45px;
	top: -35px;
	content: '';
	border-left: 1px solid #fff;
}

#forkSidePanel .sketchThumb {
	border: 1px solid #fff;
	background: url(/assets/img/icons/icon_x_large_dark.svg) center center no-repeat #222;
}

#forkSidePanel .textContent {
	display: block;
	width: 100%;
	height: 45px;
	overflow: hidden;
	text-overflow: ellipsis;
	padding-left: 15px;
}

#forkListContainer>ul {
	padding-left: 57px;
	overflow: hidden;
}

#forkSidePanel li {
	position: relative;
	list-style: none;
	border-left: 1px solid #fff;
	padding-left: 20px;
	text-overflow: ellipsis;
	padding-top: 15px;
}

#forkSidePanel li::before {
	display: block;
	position: absolute;
	width: 25px;
	height: 25px;
	top: 0px;
	left: -1px;
	content: '';
	border-bottom: 1px solid #fff;
	border-left: 1px solid #fff;
}

#forkSidePanel li::after {
	display: block;
	position: absolute;
	width: 7px;
	height: 7px;
	top: 21px;
	left: 17px;
	content: '';
	border: 1px solid #fff;
	border-radius: 5px;
	background: #333;
}

#forkSidePanel li .sketchTitle {
	display: block;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}

#forkSidePanel .userName {
	margin-left: 5px;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}

#forkSidePanel li>li {
	margin-left: 15px;
}

#forkSidePanel li:last-of-type {
	border-left: 1px solid transparent;
}

#forkButtonContainer {
	position: fixed;
	width: 349px;
	height: auto;
	right: 0;
	bottom: 0px;
	margin: 0;
	padding: 15px;
	background: #333;
	border-top: 1px solid #f5f5f5;
}


#shareSidePanel {
	padding-left: 15px;
	padding-right: 15px;
	overflow-y: auto;
}

#shareSidePanel hr {
	margin: 15px 0 15px 0;
	border-color: #f5f5f5;
}

#shareSidePanel>div.row {
	margin-bottom: 30px;
}

#shareSidePanel .description {
	font-size: 14px;
}

#shareSidePanel .description>* {
	vertical-align: middle;
}


#shareSidePanel #shareLinks a {
	color: #f5f5f5;
}

#recordingVideo,
#recordingGIF {
	width: 100%;
	margin-bottom: 10px;
}

#recordingRenderProgress {
	display: block;
	width: 0;
	height: 1px;
	background: #f5f5f5;
	transition: width 200ms;
}

#recordContainer .formItem {
	/* margin-right: 30px; */
	display: block;
	margin-bottom: 20px;
}

#recordContainer label {
	display: block;
	margin-top: 0px;
}

#recordContainer .labelContainer {
	display: block;
	margin-top: 0px;
	flex: none;
	margin-bottom: 10px;
}

#recordContainer #recordingRecordProgress {
	position: absolute;
	width: 0%;
	height: 2px;
	top: 0px;
	left: 0;
	background-color: #333;
	transition: width 1000ms linear;
}

#recordingPreview .icon_question_white {
	position: absolute;
	top: 10px;
	right: 15px;
}

#shareSidePanel #shareLinks>div {
	padding-right: 0;
	padding-left: 0;
}



#shareSidePanel pre {
	/* transition: background 400ms ease-out; */
	/* background: #444; */
	/* color: #f5f5f5; */
	/* border-radius: 0; */
	margin-top: 5px;
	/* border: none; */
	/* overflow: hidden; */
}

#shareSidePanel pre.flash {
	transition: background 0ms !important;
	background: #f5f5f5;
}

#shareSidePanel #shareLinks {
	display: flex;
	justify-content: space-between;
	border-bottom: 1px solid #ccc;
	padding-bottom: 10px;
	margin-bottom: 20px;
	margin-top: 15px;
}

#infoPanel {
	position: absolute;
	margin: 0;
	/* background-color: rgba(0, 0, 0, 0.7); */
	/*    background-image: linear-gradient(-180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);*/
	border: none;
	overflow: auto;
	z-index: 10;
	padding-bottom: 100px;
}

#infoPanelButtons {
	display: none;
}

#app.infoMode #infoPanelButtons {
	display: block;
	position: relative;
	right: -15px;
}

#app.fullscreen>.panel {
	height: 100%;
	top: 0;
}

html:not(.layout_split) #app.fullscreen #codeOptions {
	height: 100%;
	top: 0;
}


#infoPanel .separator {
	position: absolute;
	width: 40%;
	top: -44%;
	left: -20%;
}

#infoPanel .bg {
	position: absolute;
	width: 100%;
	height: 100%;
	background: none;
}

#infoPanel h1 {
	margin-top: 13vh;
}

#infoPanel button.btn-primary {
	position: fixed;
	height: 30px;
	top: 10px;
	right: 15px;
	/* margin-bottom: 40px; */
	z-index: 1410000;
	padding-top: 3px;
}

#infoPanel .description {
	margin-top: 50px;
}

#infoPanel .by {
	margin-top: 30px;
	margin-bottom: 30px;
}

#infoPanel .userThumbContainer {
	overflow: hidden;
}

#infoPanel .description,
#infoPanel .instructions {
	margin-bottom: 40px;
}

#infoPanel .description.edit,
#infoPanel .instructions.edit {
	min-height: 100px;
}

#infoPanel .instructions::before {
	content: 'Instructions: ';
	font-weight: bold;
}


#infoPanel .instructions.empty::before {
	content: '';
}

#infoPanel tag {
	display: inline-block;
	margin-right: 6px;
}

#infoPanel tag::after {
	content: ',';
}

#infoPanel tag:last-of-type::after {
	content: '';
}

#introPanel {
	display: block;
	position: absolute;
	width: 400px;
	height: auto;
	top: 0px;
	left: 50%;
	padding: 0px 15px 5px 15px;
	transform: translate(-50%, -100%);
	transition: all 600ms 250ms ease-in;
	background: #303030;
	text-align: left;
	color: #f5f5f5;
	z-index: 1;
	/* opacity: 0; */
}


#instructionCounter {
	display: block;
	position: absolute;
	width: 0%;
	height: 1px;
	bottom: 1px;
	left: 0;
	transition: width 250ms linear;
	background: #f5f5f5;
}

#introPanel.active {
	transform: translate(-50%, 0);
	transition: transform 0s;
	/* opacity: 1; */
}

#introPanel h1.sketchTitle {
	text-align: left;
	font-size: 65px;
	line-height: 65px;
	text-align: center;
}

#introPanel .forkData,
#introPanel .instructions {
	padding-top: 15px;
}

/*#introPanel .instructions > div::before
{
    content: "How to interact: ";
    font-weight: 700;
}*/



#introPanel hr {
	margin-top: 0;
	margin-bottom: 15px;
}

#introPanel .byRow .fullname {
	font-weight: 600;
	pointer-events: auto;
}

#introPanel a {
	pointer-events: auto;
}

h1.sketchTitle {
	font-size: 84px;
	color: #F5F5F5;
	line-height: 76px;
	word-wrap: break-word;
}

h1.sketchTitle>span {
	margin-bottom: -15px;
	padding-bottom: 15px;
}

#codePanel {
	background: #f5f5f5 !important;
	padding-bottom: 0;

	/* prevent scrollbars to show in win */
	z-index: 1;
}

#codePanel.active {
	display: flex;
}

#app.layout_default #codePanel,
#app.layout_default #sketch {
	width: 100% !important;
}


#codePanel.preview .codeContainer {
	opacity: 0.8;
}

#app.tutorial #tutorial {
	display: block;
}

#codeResizeHandle {
	display: none;
}

#app.layout_split #codeResizeHandle {
	display: block;
	position: absolute;
	width: 10px;
	height: 100%;
	top: 35px;
	right: 0px;
	border-right: 1px solid #aaa;
	cursor: col-resize;
	z-index: 5;
}

#tutorial {
	display: none;
	position: relative;
	height: 100%;
	background: #fff;
	width: 430px;
	color: #333;
	z-index: 5;
}

#tutorialPages {
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	white-space: nowrap;
	overflow: hidden;
}

#codePanel .tutorialEditor {
	height: 100%;
	overflow: auto;
	padding-bottom: 53px;
}

#tutorialPages>li {
	display: block;
	width: 100%;
	height: 100%;
	top: 0px;
	padding: 0;
	overflow: hidden;
	margin-left: 0;
	transition: margin-left 400ms ease-out, opacity 400ms;
	opacity: 0;
	overflow-x: hidden;
}

#tutorialPages .tutorialPage.active {
	margin-left: 0;
	opacity: 1;
}

#tutorialPages .tutorialPage:not(.active) {
	height: 0;
}

#tutorial .ql-toolbar {
	position: absolute;
	width: 100%;
	height: 35px;
	top: 0;
	left: 0;
	padding: 4px 4px;
	border: none;
	background: #fff;
	z-index: 5;
	text-align: center;
	opacity: 0;
	transition: opacity 100ms;
}

#tutorialPages li.active:focus-within .ql-toolbar {
	opacity: 1;
}

#tutorialPages li.beforeActive {
	margin-left: -50px;
}

#tutorialPages li.afterActive {
	margin-left: 50px;
}

#tutorialButtons {
	position: absolute;
	width: 100%;
	bottom: 0;
	padding: 15px;
	-webkit-user-select: none;
	user-select: none;
	background: #fff;
	z-index: 6;
	/* backdrop-filter: blur(2px); */
	border-top: 1px solid #ddd;
}

html:not(.owner) .tutorialPage .ql-toolbar,
html:not(.owner) #deleteTutorial,
html:not(.owner) #addTutorial {
	display: none;
}

.tutorialPage .codeblot .CodeMirror {
	/* margin: 0 -5px 0 5px; */
	display: inline-block;
	height: auto;
	/* box-shadow: 0 0 5px inset #ccc; */
	padding: 0 0;
	background: #fbfbfb;
}

.tutorialPage.loading .ql-image {
	background: url('/assets/img/icons/icon_loader_dark.svg') center center no-repeat;
	background-size: 12px;
	pointer-events: none;
}

.tutorialPage.loading .ql-image>svg {
	display: none;
}

.tutorialPage .codeblot {
	display: block;
	position: relative;
	width: 100%;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
	font-size: 14px;
	color: transparent;
	letter-spacing: -10px;
	caret-color: #333;
}

.tutorialPage .codeblot:focus {
	background: #333;
}

.tutorialPage .codeBlockContainer {
	display: inline-block;
	position: relative;
	width: 93%;
	margin: 20px 0;
	/* background: #f5f5f5; */
	letter-spacing: normal;
	margin-left: 1px;
	line-height: -8px;
}

.tutorialPage .textGuard::before {
	content: "&#65279";
}

.tutorialPage blockquote+blockquote {
	margin-top: -5px !important;
}

#tutorialIndex {
	margin: 0 10px;
	border-bottom: 1px dotted;
	cursor: pointer;
}

#tutorialPageSelector {
	margin: -6px -13px;
	text-align: left;
	counter-reset: my-awesome-counter;
	overflow-x: hidden;
	-webkit-user-select: none;
	user-select: none;
	max-height: 80vh;
	overflow-y: scroll;
}

#tutorialPageSelector li {
	position: relative;
	padding: 5px 10px 5px 60px;
	counter-increment: my-awesome-counter;
	font-weight: 600;
	cursor: pointer;
	/* white-space: nowrap; */
	overflow: hidden;
	text-overflow: ellipsis;
	min-height: 35px;
}

/* tutorialTOCTippy hider */
#tutorialNavigation>div {
	display: none;
}

#tutorialPageSelector li:hover {
	background-color: #666;
}

#tutorialPageSelector li::before {
	display: block;
	position: absolute;
	top: 9px;
	left: 10px;
	content: 'Page ' counter(my-awesome-counter);
	opacity: 0.6;
	font-size: 0.8em;
	text-transform: uppercase;
	font-weight: 400;
}

#codePanel .tutorialPage.showTabSelector .tutorialEditor {
	/* padding-bottom:100px; */
	/* margin-bottom: -270px; */
	top: 0;
}

#codePanel .tutorialPage .tutorialTabSelector {
	display: none;
	width: 100%;
	padding: 20px 15px;
	border-top: 1px solid #ccc;
	background: #fff;
}


#codePanel .tutorialTabSelector::before {
	content: 'Tab to Show ';

}

#codePanel #tutorialButtons .disabled {
	pointer-events: none;
	opacity: 0.5;
}

#codePanel .ql-toolbar .ql-addcode {
	width: 27px;
	height: 27px;
	background: url('/assets/img/icons/code_small@2x.png') left 5px top 8px no-repeat;
	background-size: 18px 10px;
	border: none;
	color: #333;
	border-radius: 0;
}

/* HIDE SOURCE CODE */
#articlePanel .ql-toolbar .ql-addcode::after {
	content: "Add Code";
}

#app.sourceHidden .hiddenCodeContainer {
	display: block !important;
	position: relative;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	padding: 20px;
	text-align: center;
	color: #333;
}

#share_download .sourceHiddenDescription {
	color: #999;
}

#codePanel .hiddenCodeContainer {
	display: none;
	background: url("/assets/img/sketch/codeBlurred.png") left top no-repeat #f5f5f5;
}

#codePanel>.row {
	position: relative;
	height: 100%;
}

#codePanel #libraryIDDropdown {
	display: inline;
	/* position: relative; */
	display: inline-block;
	position: absolute;
	top: 9px;
	left: 0;
	left: 45px;
	margin: 0;
	opacity: 0;
	/* visibility: hidden; */
	transition: opacity 200ms 2s;
	vertical-align: middle;
	max-height: 17px;
	max-width: 50px;
	overflow: visible;
	background: transparent;
	/* height: 0; */
	/* text-decoration: underline; */
}

#codePanel #sketchModeOptions:hover #libraryIDDropdown {
	opacity: 1;
	visibility: visible;
	transition-delay: 0s;
}

#codePanel #libraryIDDropdown.active {
	max-width: 70px;
}


#codePanel #sketchModeContainer {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#codePanel #sketchModeOptions>* {
	flex: 1;
}

#codePanel .settingOptions {
	position: relative;
}

#app.layout_default.showCodeOptions .codeContainer {
	padding-right: 300px;
}

#codePanel #codeTabs {
	display: flex;
	position: fixed;
	width: 100%;
	height: 35px;
	top: 50px;
	border-bottom: 1px solid #333;
	text-align: left;
	z-index: 5;
	transition: padding-right 400ms, height 200ms, opacity 200ms;
	overflow: hidden;
	white-space: nowrap;
	background: #f5f5f5;
	color: #333;
}

#app.tutorial #codePanel #codeTabs {
	padding-right: 430px;
}

#app.tutorial.showCodeOptions #codePanel #codeTabs {
	padding-right: 730px;
}

#codePanel #codeTabs ul {
	flex: 1;
	position: relative;
	height: 55px;
	bottom: 0px;
	padding: 0;
	overflow-y: hidden;
	overflow-x: scroll;
}

#codePanel #tabControls {
	display: flex;
	background: transparent;
	align-items: center;
	z-index: 1;
	padding-right: 5px;
	pointer-events: none;
	margin-left: -50px;
}

#codePanel #tabControls::before {
	display: block;
	content: '';
	width: 50px;
	background: linear-gradient(to right, rgba(245, 245, 245, 0) 0%, rgba(245, 245, 245, 1) 100%);
	height: 100%;
}

#codePanel #tabControls>* {
	pointer-events: all;
}

#codePanel #tabControls>.icon {
	margin: 6px 10px;
}

#app.showCodeOptions #codeTabs {
	padding-right: 300px;
}

#codePanel #codeTabsdraggable {
	display: inline-block;
	padding-left: 74px;
}

#app.fullscreen #codePanel #codeTabs ul {
	max-width: calc(100% - 75px);
}


#codePanel #codeTabs li {
	display: inline-block;
	position: relative;
	height: 34px;
	margin: 0;
	padding: 7px 0 0px 0px;
	list-style: none;
	border-bottom-width: 3px;
	cursor: pointer;
	max-width: 120px;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-user-select: none;
	user-select: none;
	white-space: nowrap;
	text-align: left;
	min-width: 30px;
	border-bottom-style: solid;
	border-bottom-color: transparent;
	margin-right: 25px;
}


#codeTabs li input {
	border: none;
	outline: none;
	box-shadow: none;
}

#codeTabs ul.sorting li {
	padding-right: 25px !important;
	margin-right: 0 !important;
	border-bottom: none !important;
}

#codeTabs ul.sorting li.selected {
	padding-right: 50px !important;
	margin-right: 0 !important;
	border-bottom: none !important;
}

#codeTabs ul.sorting li.selected .icon {
	display: none;
}

#codePanel #codeTabs li.sortable-ghost {
	opacity: 0;
}

#codePanel #codeTabs li.sortable-ghost .icon {
	display: none;
}

#codePanel #codeTabs li.selected {
	list-style: none;
	border-bottom-color: #333;
}

#codePanel #codeTabs li.selected.canDelete {
	/* room for X button */
	padding-right: 25px;
}

#backupWarning {
	/* leave room for code settings */
	position: fixed;
	height: 60px;
	top: -10px;
	z-index: 10000;
	width: 100%;
	padding: 0 15px;
	align-items: center;
	border-top: 10px solid #fff;
}

#backupWarning.slide-enter-active {
	transition-delay: 1s;
}

#backupWarning .btn {
	margin-left: 15px;
}

#app.showCodeOptions #codePanel #backupWarning {
	/* leave room for code settings */
	padding-right: 320px;
}

@media (hover) {
	#codePanel #codeTabs li:hover {
		border-bottom-color: #ccc;
	}
}

/* #codePanel #codeTabs li:first-of-type {
	padding-right: 0px;
} */
/* 
#codePanel #codeTabs li:last-of-type {
	margin-right: 15px;
} */


#codeTabs li.edit .tabCloseButton {
	display: none;
}

#codeTabs li .tabCloseButton {
	position: absolute;
	top: 12px;
	right: 0px;
	visibility: hidden;
	opacity: 0;
}

#codeTabs li.selected .tabCloseButton {
	transition: visibility 200ms, opacity 200ms;
	visibility: visible;
	opacity: 0.4;
}

#codeTabs li.selected .tabCloseButton:hover {
	opacity: 1;
}

#codeTabs li.edit {
	background: #fff;
	text-overflow: clip !important;
	padding-right: 0px !important;
}

#codeTabs li.edit input {
	background: transparent;
}

#app.layout_split #codePanel .codeContainer {
	transition: none;
}

#codePanel .codeContainer {
	height: 100%;
	top: 0px;
	padding: 35px 0 0 0;
	transition: padding-right 400ms;
	overflow: hidden;
	flex: 2;
	color: #333;
	will-change: padding-right;
}


#codePanel .codePane {
	display: none;
	position: relative;
	width: 100%;
	height: 100%;
}

#codePanel .codePane.selected {
	display: block;
}

#codePanel #addCodeButton {
	display: inline-block;
	width: 17px;
	height: 28px;
	bottom: 10px;
	opacity: 0;
	transition: opacity 200ms 200ms;
	border-bottom: 3px solid #555;
	background-size: 13px 13px;
	margin-right: 50px;
}

html.touch #codePanel #addCodeButton {
	opacity: 0.4;
}

#codePanel #codeTabs:hover #addCodeButton {
	opacity: 0.4;
}

#codePanel #codeTabs #addCodeButton:hover {
	transition: opacity 200ms 0ms;
	opacity: 1;

}



.CodeMirror .CodeMirror-scroll {
	width: 100%;
	height: calc(100% - 35px);
	margin-right: 0px;
	padding-top: 5px;
	/* overflow-x: hidden !important; */
}

#tutorial .CodeMirror-lines {
	padding: 10px 10px 17px 10px;
}

.CodeMirror .CodeMirror-vscrollbar,
.CodeMirror .CodeMirror-hscrollbar {
	display: none !important;
}

#codePanel .CodeMirror {
	position: relative;
	width: 100%;
	height: 100%;
	border: none;
	color: #333;
	font-family: "Fira Code", monospace;
	font-weight: 400;
	background-color: #f5f5f5;
	line-height: 1.5em;
}

.CodeMirror pre {
	padding-left: 30px;
	padding-right: 50px;
	font-variant-ligatures: no-contextual !important;
}


.CodeMirror-gutters {
	border: none;
	/* background-color: #fff !important; */
	z-index: 2;
	border-right: 7px solid transparent !important;
}

.CodeMirror-widget .other-client {
	position: relative;
}

.CodeMirror-widget .other-client[data-name]::before {
	display: block;
	position: absolute;
	bottom: -10px;
	left: -2px;
	content: attr(data-name);
	background-color: inherit;
	font-size: 12px;
	border-left: inherit;
	border-left-width: 100%;
	opacity: 0.6;
	line-height: 1.1;
	white-space: nowrap;
	max-width: 80px;
	text-overflow: ellipsis;
	overflow: hidden;
}

.CodeMirror-lint-marker-error {
	background-color: #F54949;
}

.CodeMirror .CodeMirror-matchingbracket {
	color: #000 !important;
	/* font-weight: 800; */
	background-color: #e2e2e2;
}

.CodeMirror-lint-marker-warning {
	background-color: #F8E71C;
}

.CodeMirror-lint-marker-multiple {
	display: none;
}

.CodeMirror-lint-marker-error,
.CodeMirror-lint-marker-warning {
	display: inline-block;
	position: relative;
	width: 5px !important;
	height: 16px;
	background-image: none !important;
	cursor: pointer;
	vertical-align: middle;
}

.CodeMirror-lint-tooltip {
	padding: 10px !important;
	border-radius: 0px !important;
	border-color: #ccc !important;
	background: #F8E71C !important;
	transform: translate(0px, -15px) !important;
}

.CodeMirror-lint-markers {
	width: 5px !important;
}

.CodeMirror-line.highlight,
.CodeMirror-line.selected {
	background: #fafafa;
}
.codemirror-colorview {
width: 12px !important;height: 12px !important;margin-left: 0 !important;vertical-align: baseline !important;}

.cm-s-neo .CodeMirror-cursor {
	width: 1px !important;
	border-color: #333;
	background-color: #333;
	border-width: 1px !important;
}

/* syntax highlighting overrides */
.CodeMirror.cm-s-neo .cm-node,
.CodeMirror.cm-s-neo .cm-tag {
	color: #1d75b3;
}

.CodeMirror.cm-s-neo .cm-property {
	color: #047d65;
}

.CodeMirror-gutter.CodeMirror-comments {
	width: 16px;
}

.CodeMirror-gutter.CodeMirror-linenumbers {
	margin-right: -5px;
}

/* search box */
#codePanel .CodeMirror-dialog {
	right: 15px;
	left: unset;
	padding: 5px 0;
	background: url('/assets/img/icons/search_small_white@2x.png') left 10px center no-repeat #333;
	background-size: 16px;
}

#codePanel .CodeMirror-dialog input {
	width: calc(100% - 30px);
	padding-left: 35px;
	color: #f5f5f5;
}

#codePanel .CodeMirror-dialog .icon_x_small_white {
	width: 23px;
	height: 23px;
	top: -0.5px;
	border: 5px solid transparent;
}

.cm-s-neo .CodeMirror-linenumber,
.cm-s-dark .CodeMirror-linenumber {
	padding: 0 10px 0 0;
	color: #c1c1c1;
	-webkit-user-select: none;
	user-select: none;
	font-size: 0.8em;
}

#codePanel .cm-s-neo .CodeMirror-gutters {
	background: #f5f5f5;
}

#codePanel .cm-s-neo .CodeMirror-guttermarker-subtle {
	padding: 0 2px;
	color: #ddd;
}

#app.fullscreen #codeOptions {
	height: 100%;
	top: 0;
}

#codeOptions {
	display: flex;
	position: fixed;
	width: 300px;
	height: calc(100% - 50px);
	top: 50px;
	right: -300px;
	padding: 0;
	background: #222;
	transition: right 400ms;
	z-index: 6;
	/* leave room for tab-pane hidden scrollbar*/
	padding-right: 0;
	font-size: 16px;
	flex-direction: column;
	pointer-events: all;
	border-left: 1px solid #444;
}

#codeOptions.active {
	right: 0;
}

html.touch #codeOptions {
	-webkit-user-select: none !important;
	user-select: none !important;
}

#codeOptions .icon_layout_toggle {
	position: absolute;
	width: 18px;
	height: 16px;
	top: 1px;
	will-change: left;
	left: -86px;
	box-sizing: content-box;
	border: 9px solid transparent;
	transition: left 200ms;
}

#app.layout_split .icon_layout_toggle {
	background-image: url('/assets/img/icons/layout_default@2x.png');
}

#app.layout_default .icon_layout_toggle {
	background-image: url('/assets/img/icons/layout_split@2x.png');
}

#codeOptions.active .icon_layout_toggle {
	left: -70px;
}

#codeOptions .icon_settings_small {
	position: absolute;
	top: 1px;
	left: -46px;
	will-change: left;
	transition: left 200ms;
	box-sizing: content-box;
	border: 9px solid transparent;
}

#codeOptions.active .icon_settings_small {
	left: -35px;
	background-image: url('/assets/img/icons/x_small@2x.png');
	background-size: 13px;
}

#codeOptions .nav-tabs {
	min-height: 35px;
	padding-left: 15px;
	padding-right: 15px;
	/* display: flex; */
	/* justify-content: space-between; */
}

#codeOptions .nav-tabs li a {
	/* height: 35px; */
	font-weight: 600;
	letter-spacing: 0.03em;
}

html[language="ja"] #codeOptions .nav-tabs {
	display: flex;
	height: auto;
	padding-left: 15px;
	padding-right: 15px;
	justify-content: space-between;
	letter-spacing: -4px;
}

html[language="ja"] #codeOptionsTabs>li {
	margin-right: 0px !important;
	margin-left: 0px;
}

#codeOptions .nav-tabs::before,
#codeOptions .nav-tabs::after {
	display: none;
	content: unset;
}

#codeOptions .tab-content {
	position: relative;
	flex: 1;
	overflow: hidden;
}

#codeOptions .tab-content .tab-pane {
	width: 100%;
	height: 100%;
	overflow-x: hidden;
	padding-left: 15px;
	/*    create room for hidden scrollbar*/
	padding-right: 15px;
	padding-top: 20px;
	padding-bottom: 15px;
	overflow-y: auto;
}

#codeOptions .tab-content .tab-pane.active {
	display: flex;
	position: relative;
	flex-direction: column;
}

html.nonPlus #codeOptions .tab-content #sketchSettings {
	padding-bottom: 200px;
}

#libraryIDDropdown.passiveDropdown {
	display: block;
	position: absolute;
	right: 15px;
	margin-top: 5px;
}

.libraryList .passiveDropdown {
	margin-left: 5px;
	opacity: 0;
}

.libraryList .library:hover .passiveDropdown {
	opacity: 1;
}

ul.passiveDropdown {
	display: inline-block;
	cursor: pointer;
	color: #777;
	margin-top: 0px;
	background: #222;
	z-index: 5;
	text-align: left;
	transition: all 200ms;
	/* vertical-align: bottom; */
	-webkit-user-select: none;
	user-select: none;
	font-size: 85%;
}

ul.passiveDropdown:hover {
	color: #f5f5f5;
}

ul.passiveDropdown.active {
	display: inline-block;
	position: absolute;
	/* border: 1px solid #F54949; */
	color: #f5f5f5;
	opacity: 1;
	visibility: visible;
}

ul.passiveDropdown li:not(.selected) {
	display: none;
}

ul.passiveDropdown.active li {
	display: block;
	width: auto;
	padding: 0 5px;
	background: #333;
	border-left: 1px solid #F54949;
	border-right: 1px solid #F54949;
	white-space: nowrap;
	font-size: 16px;
}

ul.passiveDropdown.active li:first-of-type::before {
	display: inline;
}

ul.passiveDropdown.active li:first-of-type {
	border-top: 1px solid #F54949;
}

ul.passiveDropdown.active li:last-of-type {
	border-bottom: 1px solid #F54949;
}

ul.passiveDropdown.active li.selected {
	background: #666;
	font-weight: 700;
}

ul.passiveDropdown.active li:hover {
	background: #999;
}

#app.layout_default.playMode #codeOptions {
	display: none;
}

.libraryList {
	width: 100%;
}

#codeOptions input[type='radio'] {
	display: none;
}

#codePanel input[type='radio']:checked+label {
	font-weight: bold;
}

#codePanel #sketchModeOptions .formItem {
	margin-bottom: 0;

}

#sketchModeOptions {
	position: relative;
	margin-bottom: 25px !important;
}

#sketchModeOptions input[type='radio']+label {
	display: inline-block;
	position: static;
	margin: 0;
	padding: 0;
	font-size: inherit;
	font-weight: 400;
	border: none;
	text-transform: none;
	max-width: none;
}

#sketchModeOptions input[type='radio']+label:after {
	display: inline-block;
	padding: 0 5px;
	content: ' | ';
	font-weight: normal !important;
}

#codePanel input[type='radio']+label:last-of-type:after {
	padding: 0;
	content: '';
}

#codeOptions .tab-pane>.row {
	margin-bottom: 30px;
}

#codeOptions .nav-tabs li.active a::after,
#codeOptions .nav-tabs li.active:hover a::after {
	bottom: 0px;
	background-color: #f5f5f5;
}

#codeOptionsTabs .icon {
	top: -1px;
	/* margin-top: 0px; */
	/* margin-bottom: -3px; */
}

#libraries {
	margin-bottom: 4px !important;
}

#defaultLibraries.summary {
	height: auto;
	padding-bottom: 0px !important;
	overflow: visible !important;
}

html.nonPlus #codePanel .tab-content ul#defaultLibraries {
	padding-bottom: 5px !important;
	max-height: 207px;
}

html.nonPlus #defaultLibraries.summary {
	max-height: none;
}

#sketchSettings input[name="loopProtect"]:checked+.description {
	display: block;
}

#sketchSettings #libraryHeader {
	height: 20px;
	margin-bottom: 10px;
}

#defaultLibraryFade {
	display: block;
	width: 100%;
	height: 15px;
	pointer-events: none;
	margin-top: -14px;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,222222+100&0+0,1+100 */
	background: linear-gradient(to bottom, rgba(34, 34, 34, 0) 0%, rgba(34, 34, 34, 1) 100%);
	/* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	z-index: 2;
}

.library {
	position: relative;
	padding: 0px 15px 5px 15px;
	margin-bottom: 0;
	margin-left: -15px;
	margin-right: -15px;
}

#defaultLibraries.showAllLibraries .library {
	border-left: 5px solid #555;
	padding-left: 10px;
}

#defaultLibraries.showAllLibraries .library:first-child::before {
	border-top: 10px !important;
}

#defaultLibraries.showAllLibraries .library.showCategory::before {
	display: block;
	position: relative;
	left: -20px;
	content: attr(category);
	color: #888;
	margin-bottom: 6px;
	padding-left: 20px;
	border-top: 30px #222 solid;
	font-size: 15px;
}

.library .settingLabel {
	display: inline-block;
	width: 80%;
	white-space: nowrap;
	/* text-overflow: ellipsis; */
	overflow: hidden;
	word-wrap: break-word;
	/* mozilla related */
	box-shadow: none;
	/* border-left: 3px solid #555; */
	/* padding-left: 5px; */
}

.library .settingOptions {
	position: absolute !important;
	top: 0;
	right: 15px !important;
	z-index: 2;
}

.library .description {
	margin-bottom: 20px;
}

#templateOptions {
	display: flex;
	position: relative;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

#templatesContainer {
	position: relative;
	width: 350px;
	min-height: 100px;
	margin: -15px -15px -15px -15px;
	padding: 15px 15px;
	text-align: left;
	max-height: calc(100vh - 180px);
	overflow: auto;
	border-image-width: 0;
}

#templatesContainer #customTemplates {
	padding-bottom: 1px;
}

#templatesContainer .templateLi {
	display: flex;
	padding: 20px 15px;
	margin-left: -15px;
	margin-right: -15px;
	justify-content: flex-start;
}
#templatesContainer .title {
	margin-bottom: 2px;
}

#templatesContainer .templateLi:last-of-type {
	margin-bottom: 0px;
}

#templatesContainer .templateLi:not(.placeholder):hover {
	background-color: #555;
}
#templatesContainer .pill {
	top: -2px;
}
/* #templatesContainer .templateLi.selected {
	border-left: 5px solid var(--blue);
	margin-left: -15px;
	padding-left: 12px;
} */
#templatesContainer .templateLi.selected .templateThumbnail {
	border-left: 5px solid var(--blue);
	margin-left: -15px;
	padding-left: 10px;
	width: 60px;
}

#templatesContainer .templateThumbnail {
	width: 45px;
	height: 45px;
	margin-right: 15px;
	margin-top: 1px;
}

/* Add skeleton animation to any box container */
.skeleton {
	background: #222;
	background: linear-gradient(to right, #2a2a2a 0px, #222 100px, #2a2a2a 200px);
	background-size: 200px 100%;
	animation: skeleton 2.4s linear infinite;
	color: transparent;
	background-color: #333;
	border: none;
}
@keyframes skeleton {
	0% {
		background-position: 0 0;
	}
	100% {
		background-position: 200px 0;
	}
}

.flex-newLine {
	display: flex;
	flex-basis: 100%;
}

.flex-spaceBetween {
	display: flex;
	justify-content: space-between;
}

.flex-rowReverse {
	display: flex;
	flex-direction: row-reverse;
}

#codeOptions .description {
	color: #aaa;
}

#codeOptions .icon_minimize {
	position: absolute;
	top: 8px;
	left: -45px;
}



.library code {
	display: block;
	position: relative;
	width: 265px;
	cursor: pointer;
	overflow: hidden;
	border-radius: 0;
	margin-top: 9px;
	margin-bottom: 5px;
}

.library label {
	position: relative;
}


.library input[type="checkbox"]:checked+label .toggle-checkmark {
	stroke: #f5f5f5;
	opacity: 1;
}

/*custom libraries*/

#addCustomLibraryLink {
	/* margin-bottom: 10px; */
	display: inline-block;
}

.library.custom .description {
	margin-bottom: 15px;
}

.library.custom .settingLabel:hover {
	background: #111;
	cursor: pointer;
}

.library.custom .settingLabel:focus {
	background: #000;
	cursor: text;
}

.library.custom input[type="url"] {
	display: inline-block;
	width: 80%;
	margin: -3px 0 1px -3px;
	padding: 3px;
	background: #000;
	border: none;
}

.library.custom input.loading[type="url"] {
	background: url(/assets/img/icons/icon_loader.svg) right center no-repeat #222;
	background-size: 12px;
	padding-right: 24px;
	text-overflow: ellipsis;
}


#sketchSettings>.row.extraTooltips {
	/* width: 100%; */
	position: relative;
	margin-bottom: 0;
}

.adContainer {
	width: 100%;
	padding: 15px;
	background: #111;
	font-size: 0.9rem;
	z-index: 2;
	align-self: flex-end;
	border-top: 1px solid #666;
}

#codeOptions hr {
	margin-top: 0px;
	margin-bottom: 10px;
}

.tippy-tooltip.codeOptionTooltip-theme {
	text-align: left;
}

.tippy-tooltip.codeOptionTooltip-theme td {
	padding-right: 5px;
}


.adContainer hr {
	margin-top: 10px;
	margin-bottom: 13px;
}

.adContainer>hr:first-of-type {
	margin-top: 17px;
	margin-bottom: 12px;
}

.adContainer .carbon-poweredby {
	color: #777 !important;
}

#codeOptions a:hover,
#codeOptions a:visited,
#codeOptions a:active,
#codeOptions a:link {
	color: #f54949;
}

#codeOptions .OPtoggle,
#editSketchPanel .OPtoggle {
	top: 0px;
	background: #333;
	margin-right: 0px !important;
	box-shadow: 0 0 0 1px transparent;
}

#editSketchPanel .formItem .description {
	text-align: left;
}

#shareSidePanel .OPtoggle {
	top: 0px;
	background: #444;
	margin-right: 0px !important;
	box-shadow: 0 0 0 1px transparent;
}

#app label {
	color: #f5f5f5;
}

#codeOptions label {
	cursor: pointer;
	font-size: 14px;
	/* margin-bottom: 0; */
}


#infoPanel .metadata {
	/*    prevent white space show up*/
	font-size: 0;
	/* padding-left: 30px; */
	/* padding-right: 30px; */
}

#infoPanel .metadata li {
	/* float: none; */
	/* width: 33.3%; */
	display: table-cell;
	padding: 0px 0px 0px 25px;
	box-sizing: border-box;
	list-style: none;
	/* margin-bottom: 18px; */
	font-size: 15px;
	cursor: pointer;
}

#infoPanel .metadata .description,
#infoPanel .metadata label {
	display: none;
}


#infoPanel .metadata li.date {
	background: url('/assets/img/icons/icon_clock@2x.png') 0px 3px no-repeat;
	background-size: 14px;
}

#infoPanel .metadata li.draft {
	background: url('/assets/img/icons/icon_draft.png') -1px 4px no-repeat;
	background-size: 17px 14px;
}

#infoPanel .metadata li.private {
	background: url('/assets/img/icons/locked_small_white@2x.png') 3px 2px no-repeat;
	background-size: 11px;
}

#infoPanel .metadata li.hiddenSourceCode {
	background: url('/assets/img/icons/icon_hidden@2x.png') 3px 3px no-repeat;
	background-size: 11px 14px;
}

#infoPanel .metadata li.commentMode {
	background: url('/assets/img/icons/comment_small_white@2x.png') 0px 3px no-repeat;
	background-size: 14px;
}

#infoPanel .metadata li.tags {
	flex-basis: 100%;
	background: url('/assets/img/icons/icon_tags@2x.png') 0px 5px no-repeat;
	background-size: 14px;
}

#infoPanel .metadata li.classrooms {
	flex-basis: 100%;
	background: url('/assets/img/icons/classroom_small_white@2x.png') 0px 3px no-repeat;
	background-size: 14px;
}

#infoPanel .metadata li.collections {
	flex-basis: 100%;
	background: url('/assets/img/icons/classroom_white_small.png') 0px 2px no-repeat;
}

#infoPanel .metadata li.license {
	flex-basis: 100%;
	background: url('/assets/img/icons/license_white@2x.png') 1px 3px no-repeat;
	background-size: 11px;
}

#infoPanel .metadata license {
	display: none;
	margin-bottom: 10px;
}

#infoPanel .metadata license.selected {
	display: block;
}

#infoPanel .metadata .classroom,
#infoPanel .metadata .collection {
	display: block;
	margin-bottom: 10px;
}

#infoPanel .metadata .classroom:last-child,
#infoPanel .metadata .collection:last-child {
	margin-bottom: 0px;
}

#shareSidePanel .dropdown-menu {
	width: 210px;
	right: 0;
	left: unset;
	padding: 0;
	border-radius: 0;
	color: #333;
	max-height: 270px;
	overflow-y: auto;
	overflow-x: hidden;
	white-space: nowrap;
	text-align: left;
	position: absolute;
	padding-top: 5px;
	padding-bottom: 5px;
}

#shareSidePanel .dropdown-menu li {
	width: 100%;
	padding: 5px 10px;
	cursor: pointer;
	overflow: hidden;
	text-overflow: ellipsis;
}

#shareSidePanel .dropdown-menu li:hover {
	background: #ddd;
}

#shareSidePanel #plusEmbedOptions .formItem {
	margin-bottom: 10px;
}

#getPlusModal {
	margin: auto;
	backdrop-filter: none;
	background: transparent;
	padding-left: 15px;
	padding-right: 15px;
	align-items: center;
	align-content: center;
	font-size: 20px;
	visibility: hidden;
}

#getPlusModal.in {
	display: flex !important;
	visibility: visible;
}

#getPlusModal .modal-dialog {
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #ddd;
	margin-top: 15px;
	margin-bottom: 15px;
}

#getPlusModal .modal-content>* {
	padding-left: 30px;
	padding-right: 30px;
}

#getPlusModal .modal-body>* {
	padding-top: 20px;
}

#getPlusModal .userThumbContainer {
	display: inline-block;
}

#getPlusModal .userThumbPlus {
	transform: translateY(-100%);
	transition: transform 200ms;
	animation: shake 2s cubic-bezier(.36, .07, .19, .97) infinite;
}

#getPlusModal .userThumbPlus.show {
	transform: translateY(-20%);
}

#getPlusModal .btn-primary {
	width: 100%;
}

@keyframes shake {

	10%,
	30%,
	50% {
		transform: rotate3d(0, 0, 1, 10deg);
	}

	20%,
	40% {
		transform: rotate3d(0, 0, 1, -10deg);
	}

	0%,
	60%,
	100% {
		transform: rotate3d(0, 0, 1, 0deg);
	}
}

#addToClassModal .description {
	display: block;
	max-height: 36px;
	margin-bottom: 5px;
	text-overflow: ellipsis;
	overflow: hidden;
	color: #999;
	font-size: 0.9em;
}

#addToClassModal:not(.loading) .icon_loader_dark {
	display: none;
}

#addToClassModal li.collectionSummary {
	cursor: pointer;
	margin-bottom: 30px;
}

#addToClassModal li.collectionSummary.alreadySubmitted {
	opacity: 0.5;
	pointer-events: none;
	cursor: none;
}

#addToClassModal li.collectionSummary.alreadySubmitted::after {
	content: 'This sketch is already submitted.';
	font-size: 0.9em;
	color: #999;
}

#addToClassModal li.collectionSummary:hover {
	margin: -11px -11px 19px -11px;
	padding: 10px;
	background: #fff;
	border: 1px solid #ff0000;
	overflow: hidden;
}

#addToClassModal .sketchList li {
	display: inline-block;
	float: none;
	pointer-events: none;
}

#addToClassModal .sketchList li.loaded::after {
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	content: '';
	text-align: center;
	background: url('/assets/img/icons/icon_checkmark.png') center center no-repeat rgba(33,
			33,
			33,
			0.8);
	z-index: 3;

}

.fadeInFromNone {
	visibility: visible !important;
	-webkit-animation-duration: 200ms;
	-webkit-animation-name: fadeInFromNone;
	animation-duration: 200ms;
	animation-name: fadeInFromNone;
}

.fadeOutToNone {
	-webkit-animation-duration: 400ms;
	-webkit-animation-name: fadeOutToNone;
	animation-duration: 400ms;
	animation-name: fadeOutToNone;
}

#heartsList::-webkit-scrollbar,
.comments::-webkit-scrollbar {
	display: none;
	width: 0;
}

#heartsList::-webkit-scrollbar-track,
.comments::-webkit-scrollbar-track {
	box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
	border-radius: 10px;
}

#heartsList::-webkit-scrollbar-thumb,
.comments::-webkit-scrollbar-thumb {
	border-radius: 10px;
	box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

#archiveInfo {
	display: none;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: #444;
	color: #f5f5f5;
}

#archiveInfo img {
	width: 100px;
	margin-bottom: 15px;
}

#archiveInfo .bg {
	position: absolute;
	width: 100%;
	height: 100%;
	background-size: cover;
	opacity: 0.2;
	-webkit-filter: blur(15px);
	/* Chrome, Safari, Opera */
	filter: blur(15px);
}

/*==dropzone===*/

.dz-preview {
	display: none;
}

#sketchFiles {
	border: #f5f5f5 0px solid;
	transition: border-width 200ms, background 200ms;
	padding-bottom: 0px !important;
	/* padding-left: 0 !important; */
	/* padding-right: 0 !important; */
	/* display: flex; */
}

#sketchFiles:not(.loading) .icon_loader {
	display: none;
}

#sketchFiles.dz-drag-hover {
	/* border-width:5px; */
	background: #555;
}

#sketchFiles.fileOver * {
	pointer-events: none;
}

#sketchFiles #fileTypes {
	vertical-align: sub;
}

#sketchFiles ul {
	padding: 0 15px 15px 15px !important;
	margin-left: -15px;
	margin-right: -15px;
	flex: 1;
	overflow: auto;
}

#sketchFiles li {
	position: relative;
	padding-right: 20px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#sketchFiles li:hover {
	/*    font-weight: normal; */
	padding-right: 90px;
}

#sketchFiles .icon_delete {
	position: absolute;
	width: 16px;
	height: 16px;
	top: 2px;
	right: 0;
	background: url('/assets/img/icons/icon_close_white.png') no-repeat;
	background-size: 16px 16px;
	visibility: hidden;
	opacity: 0;
	transition: opacity 200ms;
	cursor: pointer;
}

#sketchFiles li.error .errorMessage {
	display: block;
	white-space: normal;
}

#sketchFiles li.error a {
	pointer-events: none;
	text-decoration: line-through;
	color: #999;
}

#sketchFiles li.inProgress a {
	pointer-events: none;
	color: #999 !important;
}

#sketchFiles li.error .icon_delete,
#sketchFiles li.error .fileSize,
#sketchFiles li.error .progressBar {
	display: none;
}

#sketchFiles li.inProgress .icon_delete {
	display: none;
}

#sketchFiles li:hover .icon_delete {
	visibility: visible;
	opacity: 1;
}

#sketchFiles .progressBar {
	position: absolute;
	width: 0%;
	height: 100%;
	top: 0;
	background: #333;
	opacity: 0;
	transition: width 1000ms, opacity 200ms;
	pointer-events: none;
	z-index: -1;
}

#sketchFiles li.inProgress .progressBar {
	opacity: 1;
}

html.guest #sketchFiles .progressBar,
html.guest #sketchFiles .icon_delete,
html.guest #sketchFiles .fileSize {
	display: none !important;
}

#sketchFiles .fileSize {
	display: block;
	position: absolute;
	top: 0;
	right: 20px;
	/*    color:#666; */
	margin-right: 10px;
	opacity: 0;
	transition: opacity 200ms;
	background: #222;
}

#sketchFiles li:hover .fileSize {
	opacity: 1;
}

#codeReference {
	width: 100%;
	overflow: visible !important;
	/* overflow-x: visible !important; */
	/* margin-right: 0 !important; */
	padding-right: 0 !important;
	margin-left: -15px;
	padding-bottom: 0 !important;
}

#codeReference.loading {
	background: url('/assets/img/icons/icon_loader.svg') left 141px top 80px no-repeat;
	background-size: 18px;
}

#codeReference>div {
	height: 100%;
	padding: 15px 0;
	overflow-y: scroll;
	overflow-x: hidden;
	box-sizing: content-box;
	margin-right: -15px;
	margin-top: 15px;
}

#codeReference ul {
	margin-bottom: 15px !important;
	padding-left: 15px !important;
	overflow: hidden;
}

#referenceFilter {
	position: absolute;
	width: 100%;
	height: 30px;
	padding: 0 40px 0px 15px;
	margin-top: -17px;
	background: url('/assets/img/icons/search_small_white@2x.png') right 15px center no-repeat #333;
	background-size: 16px;
	z-index: 3;
	border: none;
	margin-left: 0;
	box-sizing: border-box;
	overflow: hidden;
}

#codePanel .formItem {
	margin-bottom: 45px;
}

#codePanel #libraries .formItem {
	margin-bottom: 0px;
}

#codePanel .formItem label.anchored {
	border-bottom-color: #f5f5f5;
}

.editable.edit,
.selectable.edit,
.toggleable.edit,
.removable.edit,
.OPtextarea.edit,
formItem input:not([type='checkbox']):not([type='radio']) {
	border-bottom-color: #555;
}

#codeVersions li {
	position: relative;
	padding-top: 0px;
	padding-left: 15px;
	margin-left: 1px;
	padding-bottom: 20px;
	border-radius: 0px 5px 5px 0;
}

#codeVersions li.active {
	background: #444 !important;
}

#codeVersions li .versionDate {
	display: block;
}

#codeVersions li.selected .versionDate {
	display: none;
}

#codeVersions li .versionTimestamp {
	display: none;
}

#codeVersions li.selected .versionTimestamp {
	display: block;
}

#codeVersions li .versionDescription {
	opacity: 0.3;
	color: #ddd;
	font-size: 0.85em;
	transition: opacity 200ms;
}

#codeVersions li.selected .versionDescription {
	opacity: 1;
}

#codeVersions button {
	display: none;
	margin-bottom: -10px;
	margin-top: 10px;
}

#codeVersions li.selected button {
	display: inline;
}

#codeVersions button.btn-primary {
	margin-right: 15px;
}

#codeVersions li::before {
	position: absolute;
	width: 1px;
	height: 100%;
	top: -2px;
	left: 2px;
	content: '';
	background: #f5f5f5;
}

#codeVersions li:nth-child(n+20)::before {
	border-left: 0px dotted #f5f5f5;
	background-image: linear-gradient(#f5f5f5 33%, rgba(255, 255, 255, 0) 0%);
	background-position: left;
	background-size: 1px 3px;
	background-repeat: repeat-y;
	background-color: transparent;
}


#codeVersions li:first-of-type::before,
#codeVersions ul:not(.hasTempVersion) li:nth-child(2)::before {
	margin-top: 10px;
}

#codeVersions li:last-of-type::before {
	height: 10px;
}

#codeVersions li.selected::after {
	position: absolute;
	width: 7px;
	height: 7px;
	top: 7px;
	left: -1px;
	content: '';
	background: #f5f5f5;
	border-radius: 5px;
}

#codeVersions li::after {
	position: absolute;
	width: 7px;
	height: 7px;
	top: 7px;
	left: -1px;
	content: '';
	background: #333;
	border: 1px solid #f5f5f5;
	border-radius: 5px;
}

#app.tutorial #codeVersionsTab {
	display: none;
}

#codeOptionsTabs>li {
	height: 34px;
	margin-right: 15px;
	border-bottom-color: #f5f5f5;
	font-size: 14px;
	text-transform: uppercase;
	font-weight: 600;
}

#codeVersionsTab,
#codeReferenceTab {
	float: right;
	margin-right: 0 !important;
	margin-left: 15px;
}

#codeVersions .description {
	margin-bottom: 15px;
}


#codeVersions ul.hasTempVersion .tempVersion {
	display: list-item;
}

#codeVersions li.flash {
	animation-name: flash;
	animation-duration: 1s;
}

#keyboardTable {
	margin-top: -15px;
}

#keyboardTable .keyboardCategory {
	margin-top: 15px;
}

html.liveCode #sideControls .metricGroup {
	display: none;
}

html.liveCode #liveCodeStatus {
	display: block;
	position: relative;
}

#liveCodeStatus {
	/* margin-bottom: 10px; */
	display: none;
	/* max-width: 220px; */
	width: auto;
	/* height: 35px; */
	/* overflow: hidden; */
	padding: 0px 0;
	white-space: nowrap;
	color: #333;
	/* margin-left: -5px; */
}

#liveCodeStatus .title {
	display: inline-block;
	position: absolute;
	right: 0;
	padding: 3px 10px;
	color: #fff;
	font-weight: 600;
	border: 2px solid #fff;
	box-shadow: 0 0 15px #f66;
	vertical-align: top;
	margin-left: 10px;
	margin-bottom: 10px;
	/* top: 0; */
}

#liveCodeStatus .userList {
	display: flex;
	width: 100%;
	margin: 0;
	overflow: hidden;
	flex-wrap: nowrap;
	padding-top: 0;
}

#liveCodeStatus .userLi {
	margin: 0;
	padding: 0;
	flex: 1;
	margin-right: -6px;
}

#liveCodeStatus li:last-child {
	margin-right: 0;
}

#liveCodeStatus li.seeMore {
	position: relative;
	width: auto;
	height: 30px;
	/* padding: 0 0 0 0; */
	/* flex-basis: 30px; */
	margin-left: 12px;
	flex: none;
	margin-right: 0;
	padding-top: 5px;
}

#liveCodeStatus li.seeMore::before {
	position: static;
	padding: 0;
}

#liveCodeStatus .userLi .userThumbContainer {
	width: 30px;
	height: 30px;
	border: 0px solid #fff;
	background: #333;
	padding-top: 0;
}

#liveCodeStatus .userLi .userThumb {
	/* display: block; */
	position: static;
	z-index: unset;
	border: 2px solid;
	width: 30px;
	height: 30px;
}

#liveCodeStatus .userLi .userLabel {
	font-size: 14px;
	line-height: 1.1;
	text-align: left;
}

.tippy-tooltip.liveCodeTooltip-theme {
	background-color: #73C1E8;
	font-weight: 400;
}

.tippy-tooltip.liveCodeTooltip-theme .tippy-arrow {
	border-bottom-color: #73C1E8 !important;
}

.powered-by-firepad {
	display: none !important;
}

@keyframes flash {
	from {
		background-color: #aaa;
	}

	to {
		background-color: #222;
	}
}

@media (max-width: 1024px) {
	#infoPanel .userThumbCell {
		padding: 0;
	}

}

@media (max-width: 768px) {

	html,
	body {
		overflow-y: auto;
		overflow-x: hidden;
	}

	body {
		position: relative;
		height: auto;
		min-height: 100%;
	}

	.codeContainer {
		display: block;
		position: relative;
		padding-right: 0;
		padding-left: 0;
		font-size: 16px;
		flex: none !important;
		/* height: auto !important; */
	}

	#codePanel #tabControls .icon_layout_split,
	#codePanel #tabControls .icon_layout_default
	{
		display: none;
	}

	.navbar .btn.btn-primary {
		margin-left: 0;
		margin-top: 0;
	}

	#tutorial {
		position: relative;
		width: 100%;
		height: auto;
		flex: none;
		min-width: 100%;
	}

	#tutorialPages {
		position: relative;
		height: auto;
	}

	#tutorial .ql-toolbar {
		position: absolute;
		top: 0;
	}

	#app.tutorial #codePanel #codeTabs {
		position: relative;
		top: 0px;
		z-index: unset;
	}

	#tutorialButtons {
		position: static;
		/* top: 50px; */
		z-index: 10000;
	}

	#codePanel {
		display: block !important;
		overflow: scroll;
		padding-bottom: 2px;
	}

	#codePanel.inactive {
		display: none !important;
	}


	#app.infoMode #infoPanel {
		display: block;
		position: absolute;
	}

	#infoPanel h1.sketchTitle {
		font-size: 54px !important;
		color: #F5F5F5;
		line-height: 54px !important;
		margin-top: 0;
	}

	#introPanel {
		max-width: 90%;
	}

	#infoPanel {
		display: none;
		/* position: static; */
		width: 100%;
		top: 0;
		left: 0;
		padding: 70px 0;
		min-height: 100%;
		background: #333;
		color: #f5f5f5;
	}

	#editSketchPanel .sketchTitle {
		font-size: 36px !important;
		margin-top: 30px;
	}

	.navbar .sketchInfo {
		display: none;
	}

	#sideButtons.show {
		width: auto;
		opacity: 1;
	}

	#websiteControls {
		z-index: 3;
	}

	.CodeMirror pre {
		padding-left: 15px;
	}

	#codePanel.showCodeOptions .codeContainer {
		padding-right: 0;
	}

	#codePanel.withConsole {
		padding-bottom: 0;
	}

	#getPlusModal {
		font-size: 18px;
	}

	#getPlusModal h2 {
		font-size: 26px;
		padding-top: 5px;
	}
}

#appletAjaxContainer {
	display: none;
}