
.color-0 {
    background: linear-gradient(#5C6BC0, #3F51B5);
	border-color: #3F51B5;
}
.color-1 {
    background: linear-gradient(#29B6F6, #039BE5);
	border-color: #039BE5;
}
.color-2 {
	background: linear-gradient(#4CAF50, #43A047);
	border-color: #43A047;
}
.color-3 {
	/*background: linear-gradient(#ff862e, #f56b14);
	border-color: #f56b14;*/
	background: linear-gradient(#f88334, #ef6c1f);
	border-color: #ef6c1f;
}
.color-4 {
    background: linear-gradient(#F44336, #D32F2F);
	border-color: #D32F2F;
}
.color-5 {
    background: linear-gradient(#f0619a, #e92272);
	border-color: #e92272;
}
.color-6 {
    background: linear-gradient(#AB47BC, #8E24AA);
	border-color: #8E24AA;
}
.color-7 {
    background: linear-gradient(#966f61, #855948);
	border-color: #855948;
}
.color-8 {
    background: linear-gradient(#6f6f6f, #555555);
	border-color: #555555;
}

/* removed colors */
.color-9 {
    background: #0f0;
}

.colorpicker-menu {
	position: absolute;
	left: 106%;
	top: 0;
	background: #fff;
	padding: 9px 12px 10px 12px;
	width: 165px;
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
	backdrop-filter: blur(15px);
	border-radius: 5px;
}

.colorpicker-sample {
	width: 35px;
	height: 26px;
	display: inline-block;
    border-radius: 4px;
	box-shadow: inset 0px -2px 0px rgba(0,0,0,0.3);
    text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.25);
	margin: 5px 6px;
    vertical-align: top;
    text-align: center;

}
.colorpicker-row .colorpicker-sample {
    width: 33px;
    height: 26px;
    margin: 1px 7px 0px 0px;
    font-size: 16px;
    line-height: 24px;
    transition: transform 0.1s, box-shadow 0.1s;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0);
    opacity: 0.96;
}
.colorpicker-sample.selected {
    transform: translate(0, -3px);
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.16);
    opacity: 1;
}
.colorpicker-sample.selected:before {
    content: "✓";
    color: #fff;
}
.colorpicker-sample:hover {
	outline: 2px solid rgba(255, 255, 255, 0.7);
}

#shortcut-header {
	margin-left: -30px;
	margin-right: -30px;
    padding: 28px 15px 26px 15px;
	background: var(--content-bg);
	z-index: 15;
    overflow: hidden;
    transition: padding-top 0.1s, padding-bottom 0.1s;
    border-bottom: 1px solid #ccc;
}

#shortcut-header .form-group {
	margin-bottom: 0;
}
#sc-search {
	/*position: fixed;
	z-index: 15;*/
}
#sc-search.shadow {
	background: rgba(225, 224, 223, 0.5);
	border: 1px solid #fff;
	box-shadow: 0px 1px 3px rgba(0,0,0,0.3);
	transition: background-color 0.15s;
	/*transition: background 0.15s ease-out;*/
}
#sc-search.shadow::placeholder {
	color: transparent;
	text-shadow: none;
}
#sc-search.shadow:hover::placeholder, #sc-search.shadow:focus::placeholder {
	color: #999;
	text-shadow: none;
}
#sc-search.shadow:hover, #sc-search.shadow:focus, #sc-search.shadow:not(:placeholder-shown) {
	background: #fff;
	border-color: #e77794;
}

.shortcut-group {
	line-height: 0;
	padding-top: 10px;
	user-select: none;
}
.shortcut-group .scrubber {
	position: fixed; 
	left: 50%;
	margin-left: -50%; /* TODO doesn't work */
	max-width: 960px;
}
.shortcut-group.filtered {
	padding-top: 33px;
}

.shortcut-group .form-group {
	padding-left: 10px;
	padding-right: 10px;
}

.shortcut {
	position: relative;
	vertical-align: top;
	border-radius: 7px;
	border: none;
   
	font-size: 15px;
	width: 100%;
	height: 54px;
	line-height: 1.3;
	padding: 5px 8px;
	margin-bottom: 1px;
	
	/*word-break: break-all;*/
	overflow-wrap: break-word;
	word-wrap: break-word;
	overflow: hidden;
	/*transform: translateZ(0px);*/
	
	color: #fff;
	text-shadow: 1px 1px 1.5px RGBA(0,0,0,0.5);
	box-shadow: inset 0px -3px 0px rgba(0,0,0,0.3);

	user-select: none;
	-webkit-user-select: none;
}

.shortcut:active {
	height: 51px;
	margin-top: 3px;
	box-shadow: none;
}

.shortcut-title {
	position: relative;
	
	pointer-events: none;
	-ms-pointer-events: none;
	-moz-pointer-events: none;
}

.shortcut-letter-group {
    clear: both;
	position: relative;
	padding-left: 20px;
	padding-right: 20px;
	margin-left: -15px;
	margin-right: -15px;
}
.shortcut-group:not(.filtered) .shortcut-letter-group {
	contain: paint;
	padding-top: 38px;
	padding-bottom: 6px;
}

.shortcut-group:not(.filtered) .shortcut-letter-group::after {
	display: block;
	content: "";
	clear: both;
}
.shortcut-letter-box {
	position: absolute;
	font-size: 26px;
	left: 30px;
	top: 14px;
	color: #3a3838;
	font-family: "Segoe UI semibold", sans-serif;
	text-align: center;
}

#shortcut-maker {
	overflow: hidden;
}

#favorites {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	z-index: 11;
	display: block; /* preloading */
}

#favorites-bar {
    max-height: 160px;
	margin: 0 auto;
	padding: 13px 12px 15px 12px;
	font-size: 13px;
	text-align: center;
	background: var(--site-bg);
	overflow-y: auto;
}

#favorites-content {
	max-width: 1280px;
	margin: 0 auto;
}

#favorites-bar .shortcut {
	display: inline-block;
    font-size: 14px;
	margin: 3px;
    padding: 2px 12px 3px 12px;
	height: initial;
	width: auto;
    box-shadow: inset 0px -2px 0px rgba(0,0,0,0.2);
	border-radius: 4px;
}

#favorites-bar .shortcut:active {
	transform: translate(0, 1px);
	box-shadow: inset 0px -1px 0px rgba(0,0,0,0.2);
}

#favorites.vertical {
	top: 0;
	height: 100%;
	overflow: auto;
	padding-top: 50px;
	padding-bottom: 30px;
	padding-right: 0 !important; /* to counter the silly hack for modal dialogs in bootstrap.js */
	opacity: 0.9;
	word-break: break-word;
	background: none;
	/*background-image: linear-gradient(to left, rgba(255,255,255,0.10), rgba(16,32,24,0));*/
}
#favorites.vertical #favorites-bar {
	margin-left: 0;
	background: none;
	border-top: none;
	max-height: unset !important;
	text-align: left;
}
#favorites.vertical .shortcut {
	margin: 5px 4px 4px 4px;
}
