+h3:last-child,
+h2:last-child,
+h4:last-child { margin-bottom: 0;}
+
+h3 {
+ font-size: 16px;
+ line-height: 1.25;
+ font-weight: bold;
+ margin-bottom: 10px;
+}
+h4, h5 {
+ font-size: 12px;
+ font-weight: bold;
+ padding-bottom: 10px;
+}
+
+:focus {
+ outline-color: transparent;
+ outline-style: none;
+}
+
+::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
+ color: #aaa;
+ opacity: 1; /* Firefox */
+}
+:-ms-input-placeholder { /* Internet Explorer 10-11 */
+ color: #aaa;
+}
+::-ms-input-placeholder { /* Microsoft Edge */
+ color: #aaa;
+}
+
+p {
+ font-size: 12px;
+ margin: 0;
+ padding: 0;
+}
+p:last-child {
+ padding-bottom: 0;
+}
+em {
+ font-style: italic;
+}
+strong {
+ font-weight: bold;
+}
+a:visited, a {
+ color: #7092ff;
+}
+a:hover {
+ color: #597be7;
+}
+
+/* Forms
+------------------------------------------------------- */
+textarea {
+ resize: vertical;
+ font:normal 12px/20px "-apple-system", BlinkMacSystemFont,
+ "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
+ "Fira Sans", "Droid Sans", "Helvetica Neue", "Arial",
+ sans-serif;
+}
+
+textarea,
+input[type=text],
+input[type=search],
+input[type=number],
+input[type=url],
+input[type=tel],
+input[type=email] {
+ background-color: #fff;
+ color: #333;
+ border: 1px solid #ccc;
+ padding: 5px 20px 5px 10px;
+ height: 30px;
+ border-radius: 4px;
+ text-overflow: ellipsis;
+}
+[dir='rtl'] textarea,
+[dir='rtl'] input[type=text],
+[dir='rtl'] input[type=search],
+[dir='rtl'] input[type=number],
+[dir='rtl'] input[type=url],
+[dir='rtl'] input[type=tel],
+[dir='rtl'] input[type=email] {
+ padding: 5px 10px 5px 20px;
+}
+
+textarea:focus,
+input:focus {
+ background-color: #f1f1f1;
+}
+
+textarea.disabled,
+input.disabled {
+ color: #777;
+ background-color: #eee;
+ cursor: not-allowed;
+}
+
+input[type="checkbox"],
+input[type="radio"] {
+ float: left;
+ width: 14px;
+ height: 14px;
+ margin-right: 5px;
+ margin-top: 3px;
+ cursor: pointer;
+}
+[dir='rtl'] input[type="checkbox"],
+[dir='rtl'] input[type="radio"] {
+ float: right;
+ margin-left: 5px;
+ margin-right: 0;
+}
+
+/* tables */
+table {
+ background-color: #fff;
+ border-collapse: collapse;
+ width: 100%;
+ border-spacing: 0;
+}
+table th {
+ text-align: left;
+}
+table.tags, table.tags td, table.tags th {
+ border: 1px solid #ccc;
+ padding: 4px;
+}
+
+::-ms-clear {
+ display: none;
+}
+
+/* Grid
+------------------------------------------------------- */
+.col6 { float: left; width: 50.0000%; max-width: 600px; }
+.col8 { float: left; width: 66.6666%; }
+.col12 { float: left; width: 100.0000%; }
+
+
+/* Utility Classes
+------------------------------------------------------- */
+.fillL {
+ background: #fff;
+ color: #333;
+}
+.fillL2 {
+ background: #f6f6f6;
+ color: #333;
+}
+.fillL3 {
+ background: #ececec;
+ color: #333;
+}
+.fillD {
+ background: rgba(0,0,0,.5);
+ color: #fff;
+}
+.fillD2 {
+ background: rgba(0,0,0,.75);
+ color: #fff;
+}
+
+.fl { float: left;}
+.fr { float: right;}
+.al { left: 0; }
+.ar { right: 0; }
+
+input.hide,
+div.hide,
+form.hide,
+button.hide,
+a.hide,
+li.hide {
+ display: none;
+}
+
+.deemphasize {
+ color: #a9a9a9;
+}
+.content {
+ box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.25);
+}
+.loading {
+ background: url(<%= asset_path("iD/img/loader_bg.gif") %>);
+ background-size: 5px 5px;
+}
+
+
+/* Buttons
+------------------------------------------------------- */
+button {
+ text-align: center;
+ line-height: 20px;
+ border: 0;
+ background: #fff;
+ font-weight: bold;
+ color: #333;
+ font-size: 12px;
+ display: inline-block;
+ height: 40px;
+ border-radius: 4px;
+}
+
+button:focus,
+button:hover {
+ background-color: #ececec;
+}
+button.active {
+ background: #7092ff;
+}
+button.disabled {
+ background-color: rgba(255,255,255,.25);
+ color: rgba(0,0,0,.4);
+ cursor: not-allowed;
+}
+
+.joined button {
+ border-radius: 0;
+ border-right: 1px solid rgba(0,0,0,.5);
+}
+[dir='rtl'] .joined button {
+ border-left: 1px solid rgba(0,0,0,.5);
+ border-right: none;
+}
+
+.fillL .joined button {
+ border-right: 1px solid #fff;
+}
+.joined button:first-child {
+ border-radius: 4px 0 0 4px;
+}
+[dir='rtl'] .joined button:first-child {
+ border-radius: 0 4px 4px 0;
+}
+.joined button:last-child {
+ border-right-width: 0;
+ border-radius: 0 4px 4px 0;
+}
+[dir='rtl'] .joined button:last-child {
+ border-radius: 4px 0 0 4px;
+}
+
+
+/* Action buttons */
+button.action {
+ background: #7092ff;
+ color: #fff;
+}
+button.action:focus,
+button.action:hover {
+ background: #597be7;
+}
+button.secondary-action {
+ background: #ececec;
+}
+button.secondary-action:focus,
+button.secondary-action:hover {
+ background: #cccccc;
+}
+
+button.action.disabled,
+button.action.disabled:hover,
+button[disabled].action,
+button[disabled].action:hover {
+ background: #cccccc;
+ color: #888;
+ cursor: not-allowed;
+}
+
+
+/* Icons
+------------------------------------------------------- */
+.icon {
+ vertical-align: top;
+ width: 20px;
+ height: 20px;
+}
+
+.icon.inline {
+ vertical-align: text-top;
+ width: 14px;
+ height: 14px;
+ margin: 0px 3px;
+}
+
+.icon.pre-text {
+ margin-right: 5px;
+}
+[dir='rtl'] .icon.pre-text {
+ margin-left: 5px;
+ margin-right: 0;
+}
+
+.icon.pre-text.user-icon {
+ margin-left: 5px;
+ margin-right: 5px;
+}
+
+.icon.light {
+ color: #fff;
+}
+.icon.created {
+ color: #00ca07;
+}
+.icon.modified {
+ color: #666;
+}
+.icon.deleted {
+ color: #ea0000;
+}
+
+.user-icon {
+ max-height: 20px;
+ max-width: 20px;
+ height: auto;
+ width: auto;
+ border-radius: 3px;
+}
+
+.icon-annotation {
+ color: #333;
+}
+
+.icon-badge {
+ display: block;
+ position: absolute;
+ width: 10px;
+ height: 10px;
+ right: 7px;
+ top: 9px;
+}
+
+.icon-badge.hide {
+ display: none;
+}
+
+
+/* Toolbar / Persistent UI Elements
+------------------------------------------------------- */
+#bar {
+ display: flex;
+ flex-flow: row nowrap;
+ justify-content: space-between;
+ position: absolute;
+ padding: 10px;
+ left: 0;
+ top: 0;
+ right: 0;
+ height: 60px;
+ z-index: 9;
+}
+
+.tool-group {
+ display: flex;
+ flex: 0 1 auto;
+ flex-flow: row nowrap;
+ width: 100%;
+}
+.tool-group.leading-area {
+ flex-shrink: 2;
+ justify-content: flex-start;
+}
+.tool-group.center-area {
+ justify-content: center;
+}
+.tool-group.trailing-area {
+ justify-content: flex-start;
+}
+
+.tool-group > div {
+ display: flex;
+ margin: 0 5px;
+}
+.tool-group button {
+ flex: 1 1 auto;
+ flex-flow: row nowrap;
+ align-items: center;
+ padding: 0 10px;
+ min-width: 30px;
+ white-space: nowrap;
+}
+.tool-group button .icon {
+ flex: 0 0 20px;
+}
+.tool-group button .label {
+ flex: 0 1 auto;
+ padding: 0 5px;
+}
+
+button.save .count {
+ display: inline-block;
+ border: 0px solid #ccc;
+ border-left-width: 1px;
+ padding: 0px 0px 0px 8px;
+ min-width: 32px;
+ text-align: center;
+}
+[dir='rtl'] button.save .count {
+ border-left-width: 0px;
+ border-right-width: 1px;
+ padding: 0px 8px 0px 0px;
+}
+button.save.disabled .count {
+ border: 0px solid rgba(0,0,0,0.25);
+ border-left-width: 1px;
+}
+[dir='rtl'] button.save.disabled .count {
+ border-left-width: 0px;
+ border-right-width: 1px;
+ padding: 0px 8px 0px 0px;
+}
+#bar.narrow button.save .count {
+ padding: 0px;
+}
+
+button.save .label {
+ margin-right: 3px;
+ margin-left: 0;
+}
+[dir='rtl'] button.save .label {
+ margin-left: 3px;
+ margin-right: 0;
+}
+
+.help-wrap svg.icon.pre-text.add-note,
+button.add-note svg.icon {
+ height: 15px;
+ width: 15px;
+ color: rgba(0,0,0,0.25);
+ stroke: #333;
+ stroke-width: 60px;
+ margin-top: 3px;
+}
+button.add-note svg.icon {
+ margin-left: unset;
+ margin-right: 4px;
+}
+[dir='rtl'] button.add-note svg.icon {
+ margin-left: 4px;
+ margin-right: unset;
+}
+.help-wrap svg.icon.pre-text.add-note {
+ margin-left: 3px;
+ margin-right: 3px;
+}
+
+.spinner {
+ opacity: .5;
+ display: flex;
+ flex-shrink: 2;
+ justify-content: flex-end;
+}
+.spinner img {
+ height: 40px;
+ width: 40px;
+ border-radius: 4px;
+ background: black;
+}
+[dir='rtl'] .spinner img {
+ -moz-transform: scaleX(-1);
+ -o-transform: scaleX(-1);
+ -webkit-transform: scaleX(-1);
+ transform: scaleX(-1);
+ filter: FlipH;
+ -ms-filter: "FlipH";
+}
+
+
+#bar.narrow .tool-group {
+ width: unset;
+}
+#bar.narrow .spinner,
+#bar.narrow button .label {
+ display: none;
+}
+#bar.narrow button .count {
+ border-left-width: 0;
+ border-right-width: 0;
+}
+
+
+/* Header for modals / panes
+------------------------------------------------------- */
+.header {
+ border-bottom: 1px solid #ccc;
+ height: 60px;
+ position: relative;
+}
+
+.header h3 {
+ text-align: center;
+ margin-bottom: 0;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ padding: 20px;
+}
+
+.header button,
+.modal > button {
+ border-radius: 0;
+ width: 40px;
+ text-align: center;
+ overflow: hidden;
+}
+
+.header button {
+ position: relative;
+ height: 100%;
+}
+
+.field-help-title button.close,
+.sidebar-component .header button.data-editor-close,
+.sidebar-component .header button.note-editor-close,
+.sidebar-component .header button.error-editor-close,
+.entity-editor-pane .header button.preset-close,
+.preset-list-pane .header button.preset-choose {
+ position: absolute;
+ right: 0;
+ top: 0;
+}
+[dir='rtl'] .field-help-title button.close,
+[dir='rtl'] .sidebar-component .header button.data-editor-close,
+[dir='rtl'] .sidebar-component .header button.note-editor-close,
+[dir='rtl'] .sidebar-component .header button.error-editor-close,
+[dir='rtl'] .entity-editor-pane .header button.preset-close,
+[dir='rtl'] .preset-list-pane .header button.preset-choose {
+ left: 0;
+ right: auto;
+}
+
+.entity-editor-pane .header button.preset-choose {
+ position: absolute;
+ left: 0;
+ top: 0;
+}
+[dir='rtl'] .entity-editor-pane .header button.preset-choose {
+ left: auto;
+ right: 0;
+}
+
+.preset-choose {
+ font-size: 16px;
+ line-height: 1.25;
+ font-weight: bold;
+}
+
+.modal > button {
+ position: absolute;
+ right: 0;
+ top: 0;
+ height: 59px;
+ z-index: 50;
+}
+[dir='rtl'] .modal > button {
+ left: 0;
+ right: unset;
+}
+
+.footer {
+ position: absolute;
+ bottom: 0;
+ margin: 0;
+ padding: 5px 20px 5px 20px;
+ border-top: 1px solid #ccc;
+ background-color: #f6f6f6;
+ width: 100%;
+ z-index: 1;
+ flex-wrap: wrap;
+ justify-content: space-between;
+ list-style: none;
+ display: flex;
+}
+
+.footer > a {
+ justify-content: center;
+}
+
+.header-container {
+ display: flex;
+ justify-content: space-between;
+}
+
+.header-block-outer {
+ width: 20%;
+}
+
+.header-block-close {
+ display: flex;
+ justify-content: flex-end;
+}
+
+/* Hide/Toggle collapsable sections (aka Disclosure)
+------------------------------------------------------- */
+.hide-toggle .icon.pre-text {
+ vertical-align: text-top;
+ width: 16px;
+ height: 16px;
+ margin-left: -3px;
+}
+[dir='rtl'] .hide-toggle .icon.pre-text {
+ margin-left: 0;
+ margin-right: -3px;
+}
+
+a:visited.hide-toggle,
+a.hide-toggle {
+ display: inline-block;
+ font-size: 14px;
+ font-weight: bold;
+ padding-bottom: 5px;
+}
+
+
+/* Sidebar / Inspector
+------------------------------------------------------- */
+#sidebar {
+ position: relative;
+ float: left;
+ height: 100%;
+ z-index: 10;
+ background: #f6f6f6;
+ -ms-user-select: element;
+ border: 0px solid #ccc;
+ border-right-width: 1px;
+}
+[dir='rtl'] #sidebar {
+ float: right;
+ border-right-width: 0px;
+ border-left-width: 1px;
+}
+
+#sidebar-resizer {
+ position: absolute;
+ top: 0;
+ right: -6px;
+ height: 100%;
+ width: 6px;
+ cursor: col-resize;
+}
+[dir='rtl'] #sidebar-resizer {
+ right: auto;
+ left: -6px;
+}
+
+#sidebar.collapsed #sidebar-resizer {
+ /* make target wider to avoid the user accidentally resizing window */
+ width: 10px;
+ right: -10px;
+}
+[dir='rtl'] #sidebar.collapsed #sidebar-resizer {
+ left: -10px;
+}
+
+.sidebar-component {
+ position: absolute;
+ top: 0;
+ left: 0;
+ bottom: 0;
+ right: 0;
+}
+
+.sidebar-component .body {
+ width: 100%;
+ overflow: auto;
+ top: 60px;
+ bottom: 0;
+ position: absolute;
+}
+
+.panewrap {
+ position: absolute;
+ width: 200%;
+ height: 100%;
+ right: -100%;
+}
+
+.pane {
+ position: absolute;
+ width: 50%;
+ top: 0;
+ bottom: 30px;
+}
+
+.pane:first-child {
+ left: 0;
+}
+
+.pane:last-child {
+ right: 0;
+}
+
+.inspector-wrap {
+ width: 100%;
+ height: 100%;
+ overflow: hidden;
+ position: relative;
+}
+
+.inspector-hidden {
+ display: none;
+}
+
+.inspector-body {
+ overflow-y: scroll;
+ overflow-x: hidden;
+ position: absolute;
+ right: 0;
+ left: 0;
+ bottom: 0;
+}
+
+.feature-list-pane .inspector-body,
+.preset-list-pane .inspector-body {
+ top: 120px;
+}
+.entity-editor-pane .inspector-body,
+.selection-list-pane .inspector-body {
+ top: 60px;
+}
+
+.inspector-inner {
+ padding: 20px 20px 5px 20px;
+ position: relative;
+}
+
+#sidebar .search-header .icon {
+ display: block;
+ position: absolute;
+ left: 10px;
+ top: 80px;
+ pointer-events: none;
+}
+[dir='rtl'] #sidebar .search-header .icon {
+ left: auto;
+ right: 10px;
+}
+
+#sidebar .search-header input {
+ position: absolute;
+ top: 60px;
+ height: 60px;
+ width: 100%;
+ padding: 5px 10px;
+ border-radius: 0;
+ border-width: 0;
+ border-bottom-width: 1px;
+ text-indent: 30px;
+ font-size: 18px;
+ font-weight: bold;
+}
+
+
+/* Feature List / Search Results
+------------------------------------------------------- */
+.feature-list {
+ width: 100%;
+}
+.no-results-item,
+.geocode-item,
+.feature-list-item {
+ width: 100%;
+ position: relative;
+ border-bottom: 1px solid #ccc;
+ border-radius: 0;
+}
+
+.geocode-item {
+ width: 50%;
+ background-color: #ccc;
+ left: 25%;
+ margin-top: 30px;
+ border-radius: 2px;
+}
+
+[dir='rtl'] .geocode-item {
+ left: -25%;
+}
+
+.geocode-item:hover {
+ background-color: #aaa;
+}
+
+.feature-list-item {
+ background-color: #fff;
+ font-weight: bold;
+ height: 40px;
+ line-height: 20px;
+}
+.feature-list-item:hover {
+ background-color: #ececec;
+}
+.feature-list-item button {
+ background: transparent;
+}
+.feature-list-item .label {
+ text-align: left;
+ padding: 10px 10px;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ border-left: 1px solid rgba(0, 0, 0, .1);
+}
+[dir='rtl'] .feature-list-item .label {
+ text-align: right;
+}
+
+.feature-list-item .label .icon {
+ opacity: .5;
+}
+.feature-list-item .close {
+ float: right;
+ padding: 10px;
+}
+.feature-list-item .close .icon {
+ opacity: 1;
+}
+.feature-list-item .entity-type {
+ color: #7092ff;
+}
+.feature-list-item:hover .entity-type {
+ color: #597be7;
+}
+.feature-list-item .entity-name {
+ font-weight: normal;
+ color: #666;
+ padding-left: 10px;
+}
+[dir='rtl'] .feature-list-item .entity-name {
+ padding-left: 0;
+ padding-right: 10px;
+}
+
+
+/* Preset List and Icons
+------------------------------------------------------- */
+.preset-list {
+ width: 100%;
+ padding: 20px 20px 10px 20px;
+ border-bottom: 1px solid #ccc;
+}
+
+.preset-list-item {
+ margin-bottom: 10px;
+}
+
+.preset-list-button-wrap {
+ position: relative;
+ height: 60px;
+ display: flex;
+}
+
+.preset-list-button {
+ width: 100%;
+ height: 100%;
+ position: relative;
+ border: 1px solid #ccc;
+}
+[dir='ltr'] .preset-list-button-wrap:not(.category) .preset-list-button {
+ border-top-right-radius: 0;
+ border-bottom-right-radius: 0;
+}
+[dir='rtl'] .preset-list-button-wrap:not(.category) .preset-list-button {
+ border-top-left-radius: 0;
+ border-bottom-left-radius: 0;
+}
+
+.preset-list.filtered .preset-list-item:first-child .preset-list-button {
+ background: #ececec;
+}
+
+.preset-icon-line {
+ margin: auto;
+ position: absolute;
+ top: 0;
+}
+[dir='ltr'] .preset-icon-line {
+ left: 0;
+}
+[dir='rtl'] .preset-icon-line {
+ right: 0;
+}
+.preset-icon-line path.line {
+ cursor: inherit;
+}
+.preset-icon-line circle.vertex {
+ fill: #fff;
+ stroke: rgba(0, 0, 0, 0.25);
+}
+/* use a consistent stroke width */
+.preset-icon-line path.line.stroke {
+ stroke-width: 2 !important;
+}
+.preset-icon-line path.line.casing {
+ stroke-width: 4 !important;
+}
+
+.preset-icon-fill-area {
+ cursor: inherit;
+ height: 40px;
+ width: 40px;
+ margin: auto;
+ position: absolute;
+ left: 10px;
+ top: 10px;
+}
+
+.preset-icon-fill-vertex {
+ height: 40px;
+ width: 40px;
+ margin: auto;
+ position: absolute;
+ left: 10px;
+ top: 10px;
+ border: 1.5px solid #333;
+ border-radius: 20px;
+ background-color: #efefef;
+ backface-visibility: hidden;
+}
+
+[dir='rtl'] .preset-icon-fill-vertex,
+[dir='rtl'] .preset-icon-fill-area {
+ left: auto;
+ right: 10px;
+}
+
+.preset-icon-frame {
+ position: absolute;
+ top: 7px;
+ left: 7px;
+ margin: auto;
+}
+[dir='rtl'] .preset-icon-frame {
+ left: auto;
+ right: 7px;
+}
+
+.preset-icon-frame .icon {
+ width: 46px;
+ height: 46px;
+}
+
+.preset-icon-60 {
+ position: absolute;
+ top: 0px;
+ left: 0px;
+ margin: auto;
+}
+
+.preset-icon-60 .icon {
+ width: 60px;
+ height: 60px;
+}
+
+.preset-icon-44 {
+ position: absolute;
+ top: 9px;
+ left: 8px;
+ margin: auto;
+}
+.preset-icon-44.line-geom {
+ top: 2px;
+}
+
+.preset-icon-44 .icon {
+ width: 44px;
+ height: 44px;
+}
+
+.preset-icon-28 {
+ position: absolute;
+ top: 16px;
+ left: 16px;
+ margin: auto;
+}
+
+.preset-icon-28 .icon {
+ width: 28px;
+ height: 28px;
+}
+
+.preset-icon-24 {
+ position: absolute;
+ top: 18px;
+ left: 18px;
+ margin: auto;
+}
+.preset-icon-24.line-geom {
+ top: 12px;
+}
+
+.preset-icon-24 .icon {
+ width: 24px;
+ height: 24px;
+}
+
+[dir='rtl'] .preset-list-button-wrap .preset-icon {
+ left: auto;
+ right: auto;
+}
+
+[dir='rtl'] .preset-list-button-wrap .preset-icon-44 {
+ right: 8px;
+}
+
+[dir='rtl'] .preset-list-button-wrap .preset-icon-28 {
+ right: 16px;
+}
+
+[dir='rtl'] .preset-list-button-wrap .preset-icon-24 {
+ right: 18px;
+}
+
+.preset-list-button .label {
+ display: flex;
+ flex-flow: row wrap;
+ align-items: center;
+ background-color: #f6f6f6;
+ text-align: left;
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ right: 0;
+ padding: 5px 10px;
+ left: 60px;
+ border-left: 1px solid rgba(0, 0, 0, .1);
+}
+[dir='rtl'] .preset-list-button .label {
+ text-align: right;
+ left: 0;
+ right: 60px;
+ border-left: none;
+ border-right: 1px solid rgba(0, 0, 0, .1);
+}
+[dir='ltr'] .category .preset-list-button .label {
+ border-radius: 0px 4px 4px 0px;
+}
+[dir='rtl'] .category .preset-list-button .label {
+ border-radius: 4px 0px 0px 4px;
+}
+
+.preset-list-button .label-inner {
+ width: 100%;
+}
+.preset-list-button .label-inner .namepart {
+ height: 17px;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ overflow: hidden;
+}
+
+.preset-list-button:hover .label,
+.preset-list-button:focus .label,
+.preset-list-button.disabled,
+.preset-list-button.disabled .label {
+ background-color: #ececec;
+}
+
+.preset-list-item button.tag-reference-button {
+ height: 100%;
+ border: 1px solid #ccc;
+ flex: 32px;
+ background: #f6f6f6;
+}
+[dir='ltr'] .preset-list-item button.tag-reference-button {
+ border-left: none;
+ border-radius: 0 4px 4px 0;
+}
+[dir='rtl'] .preset-list-item button.tag-reference-button {
+ border-right: none;
+ border-radius: 4px 0 0 4px;
+}
+
+.preset-list-item button.tag-reference-button:hover {
+ background: #f1f1f1;
+}
+.preset-list-item button.tag-reference-button .icon {
+ opacity: .5;
+}
+
+img.tag-reference-wiki-image {
+ float: right;
+ width: 33.3333%;
+ border-radius: 4px;
+ margin: 10px 5px 15px 10px;
+}
+[dir='rtl'] img.tag-reference-wiki-image {
+ float: left;
+ margin: 10px 10px 15px 5px;
+}
+
+
+.current .preset-list-button,
+.current .preset-list-button .label {
+ background-color: #e8ebff;
+}
+
+.category .preset-list-button:after,
+.category .preset-list-button:before {
+ content: "";
+ position: absolute;
+ top: -5px;
+ left: -1px; right: -1px;
+ border: 1px solid #ccc;
+ border-bottom: none;
+ border-radius: 6px 6px 0 0;
+ height: 6px;
+}
+
+.category .preset-list-button:before {
+ top: -3px;
+}
+
+.subgrid .preset-list {
+ padding: 10px;
+ margin-top: 0;
+ border: 0;
+ border-radius: 8px;
+ width: -webkit-calc(100% + 20px);
+ margin-left: -10px;
+}
+.subgrid .preset-list > *:last-child {
+ margin-bottom: 0;
+}
+
+.subgrid .arrow {
+ border: solid rgba(0, 0, 0, 0);
+ border-width: 10px;
+ border-bottom-color: #ececec;
+ width: 0;
+ height: 0;
+ margin-left: 50%;
+ margin-left: -webkit-calc(50% - 10px);
+}
+
+
+/* Quick links
+------------------------------------------------------- */
+.quick-links {
+ display: flex;
+ flex-flow: row wrap;
+ justify-content: flex-end;
+ padding: 0 20px;
+}
+.quick-link {
+ margin: 0 5px;
+}
+
+.data-editor .quick-links,
+.error-editor .quick-links,
+.note-editor .quick-links {
+ padding: 5px 0 0 0;
+}
+
+
+/* Entity/Preset Editor
+------------------------------------------------------- */
+.entity-issues,
+.preset-editor {
+ overflow: hidden;
+ padding: 10px 0px 5px 0px;
+}
+.entity-issues a.hide-toggle,
+.preset-editor a.hide-toggle {
+ margin: 0 20px 5px 20px;
+}
+.entity-issues .disclosure-wrap-entity_issues,
+.preset-editor .form-fields-container {
+ padding: 10px;
+ margin: 0 10px 10px 10px;
+ border-radius: 8px;
+ background: #ececec;
+}
+.entity-issues .disclosure-wrap-entity_issues:empty,
+.preset-editor .form-fields-container:empty {
+ display: none;
+}
+.entity-editor-pane .preset-list-item {
+ margin-bottom: 0;
+}
+
+/*
+ The parts of a field:
+ - `.form-field` is a `div` wraps the entire thing
+ - `.form-field-label` is a `label` that wraps the top part, it contains;
+ - `span` classed `label-text`
+ - 0..n buttons for "remove", "modified", "tag reference"
+ - `.form-field-input-wrap` is a `label` or `div` that wraps the bottom part, it contains;
+ - usually an `input`
+ - sometimes some buttons (translate, increment, decrement)
+ - or could just be a `div` with anything really
+ - `.tag-reference-body` at the bottom (usually hidden)
+
+ .------------------. -
+ | Name | i | <- .form-field-label |
+ +------------------+ |
+ | Starbucks | + | <- .form-field-input-wrap > .form-field
+ '------------------' |
+ tag reference <- .tag-reference-body |
+ -
+*/
+
+.form-field {
+ display: flex;
+ flex-flow: row wrap;
+ margin-bottom: 10px;
+ width: 100%;
+ -webkit-transition: margin-bottom 200ms;
+ -moz-transition: margin-bottom 200ms;
+ -o-transition: margin-bottom 200ms;
+ transition: margin-bottom 200ms;
+}