/*!
 * This file is part of the Semantic MediaWiki Extension
 * @see https://www.semantic-mediawiki.org/
 *
 * @section LICENSE
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
 *
 * @since 1.8
 *
 * @file
 * @ingroup SMW
 *
 * @licence GNU GPL v2+
 * @author Jeroen De Dauw <jeroendedauw at gmail dot com>
 * @author mwjames
 */

.float-right {
	float: right;
	margin-left: 10px;
	clear: right;
}

.float-left {
	float: left;
	margin-right: 10px;
	clear: left;
}

.clear-both {
	clear: both;
}

.clientnojs {
  display: none;
}

.client-nojs .clientnojs {
  display: block;
}

.client-nojs .smw-schema-placeholder-message {
  display: none;
}

.smw-json-data {
    display: none;
}

.client-nojs .smw-json-data {
    display: block;
}

.client-nojs .smw-overlay-spinner {
	 display: none;
}

.smw-footer {
	margin-left: 5px;
}

.smw-placeholder {
	list-style: none;
	background-color: #f5f5f5;
	border-radius: 4px;
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
	font-size: 14px;
	line-height: 1.42857143;
}

/**
 * Use to hide server-rendered message boxes
 * For example, an error box is rendered in DuplicateLookupTaskHandler.php server-side,
 * then being enabled in ext.smw.special.admin.js client-side.
 */
 .smw-message--hidden {
	display: none !important;
}

.client-nojs .smw-placeholder::after {
	content: "JavaScript is disabled or could not be detected!";
	top: 80%;
	text-align: center;
	color:red;
}

.smw-personal-jobqueue-watchlist:hover, .smw-personal-jobqueue-watchlist:focus, .smw-personal-jobqueue-watchlist:active {
	text-decoration: none;
	color: #0645ad;
}

.smw-personal-table {
	width: 100%;
	font-size: 90%;
}

/* highlighting for builtin elements */
.smwttcontent {
	display:none;
}

span.smwbuiltin {
	font-style: italic;
}

.item-count {
	display: inline-block;
    padding: 2px 5px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    background-color: rgba(27,31,35,0.04);
    border-radius: 4px;
    color: #bbb;
    margin-left: 10px;
}

.item-count.active {
    background-color: rgba(27,31,35,0.08);
    color: #444d56;
}

/* make divs look like <pre> */
.smwpre {
	font-family: monospace;
	padding: 1em;
	border: 1px dashed #2f6fab;
	color: black;
	background-color: #f9f9f9;
	line-height: 1.1em;
	margin-bottom: 0.5em;
	margin-top: 0.5em;
	white-space: pre-wrap;
	white-space: -moz-pre-wrap;
	white-space: -pre-wrap;
	white-space: -o-pre-wrap;
	word-wrap: break-word;
	word-break: break-word;
	margin-right: 5px;
}

.smwpre-no-margin {
	margin: 0px;
	margin-bottom: 0.5em;
	margin-top: 0.5em;
}

.smw-debug-box {
	border: 5px dotted #ffcc00;
	background: #FFF0BD;
	padding: 15px;
	margin-bottom: 10px;
}

.smw-debug-box-header {
	font-family: sans-serif;
	padding-bottom: 15px;
	padding-top: 10px;
	font-weight: bolder;
	font-size: 16px;
	border-bottom: 1px dotted #ffcc00;
	margin-bottom: 15px;
}

/* terminate page contents when inserting stuff below a page, typically used in <br> */
#smwfootbr {
	clear: both;
}

/* hide keys for sorting table entries */
span.smwsortkey {
	display: none;
}

/* buttons for sort-arrows */
a.sortheader:hover {
	text-decoration: none;
}

/* "semantic" span classes for Timeline */
div.smwtimeline {
	border: 1px solid #aaa;
	background-color: #f9f9f9;
	/*text-align: center;*/
	/* After hours of debugging and frustration I now can safely say: IE sucks. (mak)
	   You can support Semantic MediaWiki development by not using Internet Explorer. Thanks.
	   (IE centers the Timeline *elements*, which messes up the whole layout) */
}

span.smwtlevent,
span.smwtlband,
span.smwtlsize,
span.smwtlposition {
	display: none;
	speak: none;
}

span.smwtlcomment {
	font-style: italic;
	padding: 5px;
}

span.smw-chain-marker {
    margin-left: 0.2em;
}

.smwtable-striped tbody > tr:nth-child(even) {
	background-color: #f5f5f5;
}

.smwtable-striped tbody > tr:nth-child(odd) {
	background-color: #fff;
}

.smwtable-striped tbody > tr:hover {
	background-color: #eee;
}

.smwtable-clean {
	width: auto;
	max-width: 100%;
	margin-bottom: 20px;
	background-color: transparent;
	border-spacing: 0px;
}

.smwtable-clean tr {
	border-top: 1px solid #dddddd;
}

.smwtable-clean th {
	text-align: left;
}

.smwtable-clean td, .smwtable-clean th {
	padding: 0;
}

.smwtable-clean tr > th {
	padding: 8px !important;
	line-height: 1.42857143;
	vertical-align: top;
	border-top: 1px solid #dddddd;
	border-collapse: collapse;
	border-spacing: 0;
	text-align: center;
	vertical-align: middle;
}

.smwtable-clean tr > td {
	padding: 8px !important;
	line-height: 1.42857143;
	vertical-align: top;
	border-top: 1px solid #dddddd;
	border-collapse: collapse;
	border-spacing: 0;
}

.smwtable-clean tbody > tr:nth-child(even) {
	background-color: #f5f5f5;
}

.smwtable-clean tr > th.headerSort {
	padding-right: 21px !important;
}

/* Make it work for inline broadtable */
.smwtable-clean.broadtable {
	width: 100%;
}

div.smwhr hr {
	background-color: #ddd;
	color: #ddd;
}

/* warning messages */
span.smwwarning {
	color: #888;
	font-style: italic;
	font-size: 90%;
}

.smw-protection-indicator .smw-edit-protection {
	background: url(/w/extensions/SemanticMediaWiki/res/smw/assets/smw-icon-edit-protection.svg?78a2c);
    background-size: 25px 20px;
    background-repeat: no-repeat;
    display: inline-block;
    padding: 20px 0 0px 26px;
    top: 5px;
    position: relative;
}

/**
 * Search, browse, RDF icons/ FIXME: this was only used for Factbox docu, should be removed from code
 * TODO: Change icons to #000 and toggle them by opacity and scale instead of using multiple version
 * TODO: Perhaps we can use Codex/OOUI icons
 */

span.smwsearch a,
span.smwbrowse a {
	background-position: right center;
	background-repeat: no-repeat;
	padding-right: 18px;
	color: #ccc;
	text-decoration: none;
	margin-right: 4px;
}

span.smwsearch a:hover,
span.smwbrowse a:hover {
	padding-right: 20px;
	color: #888;
	text-decoration: none;
	margin-right: 2px;
}

span.smwsearch a {
	background-image: url(/w/extensions/SemanticMediaWiki/res/smw/assets/smw-icon-search-subtle.svg?dbdd3);
}

span.smwsearch a:hover {
	background-image: url(/w/extensions/SemanticMediaWiki/res/smw/assets/smw-icon-search.svg?c9999);
}

span.smwbrowse a {
	background-image: url(/w/extensions/SemanticMediaWiki/res/smw/assets/smw-icon-browse-subtle.svg?903af);
}

span.smwbrowse a:hover {
	background-image: url(/w/extensions/SemanticMediaWiki/res/smw/assets/smw-icon-browse.svg?be8b7);
}

.concept-documenation {
	border-top: 1px dotted #aaa;
}

/* @since 1.9; Spinner */
.smw-spinner .text {
	padding-left: 2.1em;
	font-size: 12px;
	vertical-align: middle;
}

/* @since 1.9; Spinner for left side in-text */
.smw-spinner.left.mw-small-spinner {
	background-position: left;
	vertical-align: middle;
	display: inline-block;
	padding: 0px !important;
}

/* @since 1.9; Sppinner for image center */
.smw-spinner.center.mw-small-spinner {
	vertical-align: middle;
	display: inline-block;
	padding: 0px !important;
}

/* @since 1.9.1 */
table.smw-ask-query .smw-ask-query-condition {
	width: 100%;
}

table.smw-ask-query .smw-ask-query-printout {
	width: 100%;
}

hr.smw-form-horizontalrule {
	margin-bottom: 10px;
 	background-color: #ddd;
 }

.smw-horizontalrule {
	margin-bottom: 10px;
	border-bottom: 1px solid #ddd;
 }

.smw-form-select,
.smw-form-input {
	padding: 1px 1px;
}

.smw-form-checkbox {
	vertical-align: middle;
	cursor: pointer;
}

label.smw-form-checkbox {
	vertical-align: middle;
	cursor: pointer;
}

.smw-editpage-help {
	background-color: #f0f0f0;
	border: 1px solid silver;
	/* border-top: none; */
	padding: 0.5em 1em 0.5em 1em;
	margin-bottom: 1em;
}

.smw-column-header {
	font-weight: bold;
	font-size: 1.17em;
	line-height: 1.6;
	margin-top: 0.5em;
	margin-bottom: 0;
	padding-bottom: 0;
	color: black;
	overflow: hidden;
}

.smw-column-header:first-of-type {
	margin-top: 0em;
}

.smw-column {
	float: left;
	word-wrap: break-word;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}

.smw-column-responsive {
	-webkit-columns: 3 20em;
	-moz-columns: 3 20em;
	columns: 3 20em;
	-webkit-column-gap: 1em;
	-moz-column-gap: 1em;
	column-gap: 1em;
}

.smw-column-twofold-responsive {
	-webkit-columns: 2 20em;
	-moz-columns: 2 20em;
	columns: 2 20em;
	-webkit-column-gap: 1em;
	-moz-column-gap: 1em;
	column-gap: 1em;
}

.smw-column-twofold-responsive li:first-child {
	margin-top: -3px;
}

.smw-column[dir="rtl"] {
	float: right;
}

.smw-column-responsive[dir="rtl"], .smw-column-twofold-responsive[dir="rtl"] {
	float: right;
}

.smw-columnlist-container .smw-column-responsive {
	margin-bottom: -1em;
}

.smw-note {
	padding: 8px 15px;
	list-style: none;
	background-color: #f5f5f5;
	border-radius: 4px;
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
	font-size: 14px;
	line-height: 1.42857143;
}

.smw-svg-icon {
	display: inline-flex;
	align-self: center;
	position: relative;
	height: 1em;
	width: 1em;
}

.smw-svg-icon svg {
	height: 1em;
	width: 1em;
}

.smw-svg-icon.svg-baseline svg {
	bottom: -0.125em;
	position: absolute;
}

.smw-icon-info {
	background: url(/w/extensions/SemanticMediaWiki/res/smw/assets/smw-icon-info.svg?e4fc8) no-repeat left center;
	padding: 0 0 5px 25px;
}

.smw-icon-pen {
	background-image: url(/w/extensions/SemanticMediaWiki/res/smw/assets/smw-icon-pen.svg?72b2b);
	background-repeat: no-repeat;
	padding: 0 0 0 25px;
	background-position: center;
}

.smw-icon-bookmark {
	background-image: url(/w/extensions/SemanticMediaWiki/res/smw/assets/smw-icon-bookmark.svg?ab2c8);
	background-repeat: no-repeat;
	padding: 0 0 0 20px;
	background-position: center;
}

.smw-icon-compact {
	background-image: url(/w/extensions/SemanticMediaWiki/res/smw/assets/smw-icon-compact.svg?9b653);
	background-repeat: no-repeat;
	padding: 0 0 0 15px;
	background-position: center;
}

/* Handling Long Words and URLs (Forcing Breaks, Hyphenation, Ellipsis */
.smwprops,
.smwpropname,
.smwtype_uri {
	word-break: break-word;
	word-wrap: break-word;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}

/* Distinguish subobjects from other titles */

.smw-subobject-entity {
	font-style: italic;
}

/* jquery-autocomplete
.autocomplete-suggestions {
	border: 1px solid #999;
	background: #fff;
	overflow: auto;
}

.autocomplete-suggestion {
	padding: 2px 5px;
	white-space: nowrap;
	overflow: hidden;
	font-size: 0.8em;
}

.autocomplete-selected {
	background: #f0f0f0;
}

.autocomplete-suggestions strong {
	font-weight: normal;
	color: #39f;
}

.autocomplete-group {
	padding: 2px 5px;
}

.autocomplete-group strong {
	display: block;
	border-bottom: 1px solid #000;
}
*/

.autocomplete-suggestions {
	background: white;
	border: 1px solid rgb( 221, 221, 221 );
	border-radius: 3px;
	box-shadow: rgba( 0, 0, 0, 0.1 ) 0px 0px 5px;
	min-width: 120px;
	color: rgb( 111, 128, 146 );
	float: right;
	padding-top: 2px;
	margin-right: -15px;
	font-size: 16px;
	font-weight: normal;
	z-index: 11110 !important;
	overflow-y: auto;
	overflow-x: hidden;
}

.autocomplete-arrow.mw-ui-input {
	background-position-y: 4px;
}

[dir='rtl'] .autocomplete-suggestions {
	margin-right: 0px;
}

.autocomplete-suggestion {
	display: block;
	padding: 5px 10px;
	border-bottom: 1px solid #ddd;
	cursor: pointer;
}

.autocomplete-selected {
	background: #f0f0f0;
}

.autocomplete-suggestions strong {
	font-weight: normal;
	color: #3399ff;
}

.autocomplete-group {
	padding: 2px 5px;
}

.autocomplete-group strong {
	display: block;
	border-bottom: 1px solid #000;
}

.autocomplete-loading {
	background: url(/w/extensions/SemanticMediaWiki/res/smw/assets/smw-icon-autocomplete-loading.gif?87ebb) no-repeat left center;
	padding-right: 30px;
	vertical-align: middle;
	background-position: right 10px center;
}

/* https://codepen.io/vkjgr/pen/VYMeXp */
.autocomplete-arrow-light {
	background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%), linear-gradient(to right, #ffffff, #ffff);
    background-position: calc(100% - 17px) calc(1em + 2px), calc(100% - 12px) calc(1em + 2px), calc(100% - 2.5em) 0.5em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
}

.autocomplete-arrow {
	background-image: url(/w/extensions/SemanticMediaWiki/res/smw/assets/smw-icon-arrow-down.svg?82344);
	background-repeat: no-repeat;
	background-position-x: calc(100% - 6px);
	background-position-y: 5px;
}

.autocomplete-arrow.mw-ui-input {
	background-position-y: 4px;
}

[dir='rtl'] .autocomplete-arrow {
	background-position-x:6px;
}

.skin-vector input#smw-property-input.autocomplete-suggestions {
	height: 1.15em;
	padding: 2px 2px;
}

.skin-chameleon input#smw-property-input.autocomplete-suggestions {
	height: 30px;
	padding: 2px 2px;
}

.skin-foreground input#smw-property-input.autocomplete-suggestions {
	height: 32px;
	padding: 2px 0px 0px 8px;
}

.skin-chameleon .autocomplete-suggestion,
.skin-foreground .autocomplete-suggestion {
	padding: 2px 5px;
	white-space: nowrap;
	overflow: hidden;
	font-size: 0.9em;
}

.smw-breadcrumb-link {
	color: #7d7d7d;
	font-size: 84%;
	line-height: 1.2em;
	margin: 0.4em 0 0.6em 0;
	width: auto;
}

.smw-breadcrumb-arrow-right {
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 5px solid #aaa;
	display: inline-block;
	position: relative;
	margin-left: 0px;
	margin-right: 4px;
}

.smw-ask-action-btn,
.smw-action-btn {
	display: inline-block;
	padding: 3px 6px;
	margin-bottom: 0;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.42857143;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	-ms-touch-action: manipulation;
	touch-action: manipulation;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	background-image: none;
	border: 1px solid transparent;
	border-radius: 4px;
}

.smw-action-btn-min200 {
	min-width: 200px;
}

.smw-ask-action-btn-lgrey,
a.smw-ask-action-btn-lgrey:visited,
.smw-action-btn-lgrey,
.smw-action-btn-lgrey:visited {
	color: #222;
	background-color: #eee;
	border-color: #ddd;
	text-decoration:none;
}

a.smw-ask-action-btn-lgrey:hover,
.smw-action-btn-lgrey:hover {
	color: #222;
	background-color: #ddd;
	border-color: #ddd;
	text-decoration:none;
}

.smw-ask-action-btn-lblue,
a.smw-ask-action-btn-lblue:visited {
	color: #fff;
	background-color: #5bc0de;
	border-color: #46b8da;
	text-decoration: none;
}

a.smw-ask-action-btn-lblue:hover {
	color: #fff;
	background-color: #31b0d5;
	border-color: #269abc;
	text-decoration: none;
}

.smw-ask-action-btn-dblue,
a.smw-ask-action-btn-dblue:visited {
	color: #fff;
	background-color: #337ab7;
	border-color: #2e6da4;
	text-decoration: none;
}

.smw-ask-action-btn-dblue:hover,
.smw-ask-action-btn-dblue:focus,
a.smw-ask-action-btn-dblue:hover,
a.smw-ask-action-btn-dblue:focus {
	color: #fff;
	background-image:none;
	background-color: #286090;
	border-color: #204d74;
	text-decoration: none;
}

.smw-concept-page-indicator a.external.text,
.smw-page-indicator a.external.text {
	background-image: none;
	padding-right: 0;
}

.smw-page-indicator {
	display: inline-block;
	font-weight: normal;
	line-height: 1.25;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	border: 1px solid transparent;
	padding: 0.5rem 1rem;
	/* font-size: 1rem; */
	border-radius: 0.25rem;
	-webkit-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	padding: 0.25rem 0.5rem;
	/* font-size: 0.875rem; */
	border-radius: 0.2rem;
	color: #292b2c;
	/* background-color: #e6e6e6; */
	border-color: #ddd;
}

.smw-protection-indicator {
	display: inline-block;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	/* font-size: 1rem; */
	border-radius: 0.25rem;
	-webkit-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	/* font-size: 0.875rem; */
	border-radius: 0.2rem;
	color: #292b2c;
	border-color: transparent;
}

.smw-protection-indicator.with-border {
	border-color: #ddd;
}

.smw-page-indicator.usage-count.moderate {
	background-color: #f2d29b;
	border: 1px solid #f2d29b;
	color: #aa4c2c;
}

.smw-page-indicator.usage-count.high {
	background-color: #ff887f;
	border: 1px solid #ffB79e;
	color: #800000;
}

.smw-page-indicator-rdflink {
	line-height: 24px;
	margin-right: 10px;
}

.smw-page-indicator-rdflink a {
	background: url(/w/extensions/SemanticMediaWiki/res/smw/assets/smw-icon-rdf.svg?ab3ba) center left no-repeat;
	padding-left: 28px;
	display: inline-block;
	height: 24px;
	line-height: 24px;
}

.smw-reference-indicator {
	vertical-align: super;
	margin-left: 2px;
	font-size: 10px;
}

.smw-reference-indicator::before {
	content: '';
}

.smw-reference-indicator::after {
	content: '≡';
}

.smw-admin-circle-orange {
	width: 14px;
	height: 14px;
	background: orange;
	position: absolute;
	display: block;
	border-radius: 50%;
	display: inline-block;
	margin-right: 20px;
	margin-top: 3px;
}

.is-disabled {
	opacity: .5;
	position: relative;
	pointer-events: none;
}

.is-disabled::after {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	content: ' ';
}

.smw-break-word {
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.smw-break-word a {
  -ms-word-break: break-all;
  word-break: break-all;
  word-break: break-word;
}

.smw-flex-center {
	display: flex;
	align-items: center;
	justify-content: center;
}

.smw-absolute {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* http://stackoverflow.com/questions/6091253/overlay-with-spinner */

.smw-margin-small {
	margin-top: 10px;
	margin-bottom: 10px;
}

.smw-margin-extra {
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 100px;
}

.smw-loading-image-dots {
	background: url(/w/extensions/SemanticMediaWiki/res/smw/assets/smw-icon-loading-dots.gif?d2a9c) no-repeat left center;
	padding: 5px 0 5px 35px;
	vertical-align: middle;
}

.smw-overlay-spinner.mini {
	height: 15px;
	width: 15px;
	border-left: 3px solid rgba( 0, 174, 239, .15 );
	border-right: 3px solid rgba( 0, 174, 239, .15 );
	border-bottom: 3px solid rgba( 0, 174, 239, .15 );
	border-top: 3px solid rgba( 0, 174, 239, .8 );
}

.smw-overlay-spinner.small {
	height: 20px;
	width: 20px;
}

.smw-overlay-spinner.medium {
	height: 40px;
	width: 40px;
}

.smw-overlay-spinner.large {
	height: 60px;
	width: 60px;
}

.smw-overlay-spinner.flex {
	left: unset;
	top: unset;
}

.smw-overlay-spinner.flex-all {
	left: unset;
	top: unset;
	position: unset;
}

.smw-overlay-spinner {
	position: absolute;
	left: 47%;
	top: 30%;
	height: 60px;
	width: 60px;
	margin: 0px auto;
	-webkit-animation: rotation 1.0s infinite linear;
	-moz-animation: rotation 1.0s infinite linear;
	-o-animation: rotation 1.0s infinite linear;
	animation: rotation 1.0s infinite linear;
	border-left: 6px solid rgba( 0, 174, 239, .15 );
	border-right: 6px solid rgba( 0, 174, 239, .15 );
	border-bottom: 6px solid rgba( 0, 174, 239, .15 );
	border-top: 6px solid rgba( 0, 174, 239, .8 );
	border-radius: 100%;
}

@-webkit-keyframes rotation {
	from {-webkit-transform: rotate(0deg);}
	to {-webkit-transform: rotate(359deg);}
}

@-moz-keyframes rotation {
	from {-moz-transform: rotate(0deg);}
	to {-moz-transform: rotate(359deg);}
}

@-o-keyframes rotation {
	from {-o-transform: rotate(0deg);}
	to {-o-transform: rotate(359deg);}
}

@keyframes rotation {
	from {transform: rotate(0deg);}
	to {transform: rotate(359deg);}
}

/* MobileFrontend overrides some desktop rules */
.content table.broadtable,
.smw-ask-result table.broadtable {
	width: 100% !important;
}

/**
 * Responsive settings (#see smw.table.css)
 */
@media screen and (max-width: 800px) {

}

/**
 * JSON
 */
.mw-json .value, .mw-json-single-value {
    word-break: break-word;
}

.ns-112.action-submit .error {
	color:#721c24;
	padding: 10px;
	margin: 0.5em 0;
	border-radius: 1px;
	background-color: #f2dede;
	border: 0px solid;
	padding: .8em 1em;
	background: #f2dede;
	margin: 0.5rem 0;
	border-left: 5px solid #ce4844;
	margin-bottom: 15px;
}

.ns-112.action-submit .error a.external {
	background: none !important;
	padding: 0 !important;
}

.ns-112.action-submit .error ul {
	margin: 0 0 0 25px;
	font-size: 14px;
}

.ns-112.action-submit .error ul li:first-child {
	margin-top: 30px;
	display: block;
	margin-left: -20px;
	margin-bottom: 5px;
}

.ns-112.action-submit .error ul li:not(:first-child) {
	margin-left: 10px;
}

.ns-112.action-submit .error:before {
	content: "Error";
    font-weight: bold;
    padding: 0px 5px 0px 5px;
    /* display: block; */
    /* margin-bottom: 5px; */
    color: #721c24;
    font-weight: 600;
    float: left;
    border-radius: 3px;
    margin-bottom: 10px;
    width: 100%;
}

/*!
 * This file is part of the Semantic MediaWiki Extension
 * @see https://www.semantic-mediawiki.org/
 *
 * @section LICENSE
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
 *
 * @since 3.0
 *
 * @file
 * @ingroup SMW
 *
 * @licence GNU GPL v2+
 *
 * https://codepen.io/mbdavid/pen/xGLaBJ
 */

.smw-dropdown {
	position: relative;
	display: inline-block;
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 14px;
}

.smw-dropdown > a,
.smw-dropdown > button {
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 14px;
	background-color: white;
	border: 1px solid #ccc;
	padding: 6px 20px 6px 10px;
	border-radius: 4px;
	display: inline-block;
	color: black;
	text-decoration: none;
}

.smw-dropdown > a:before,
.smw-dropdown > button:before {
	position: absolute;
	right: 12px;
	top: 12px;
	content: '';
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid black;
}

.smw-dropdown input[type=checkbox] {
	position: absolute;
	display: block;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	margin: 0px;
	opacity: 0;
}

.smw-dropdown input[type=checkbox]:checked {
	position: fixed;
	z-index: +0;
	top: 0px; left: 0px;
	right: 0px; bottom: 0px;
}

.smw-dropdown .smw-dropdown-menu {
	position: absolute;
	top: 31px;
	border: 1px solid #ccc;
	border-radius: 3px;
	left: 0px;
	list-style: none;
	padding: 4px 0px !important;
	display: none;
	background-color: white;
	box-shadow: 0 3px 6px rgba( 0, 0, 0, .175 );
	margin: 0 0 0 0 !important;
	z-index: 10;
}

.smw-dropdown input[type=checkbox]:checked + .smw-dropdown-menu {
	display: block;
}

.smw-dropdown .smw-dropdown-menu li {
	display: block;
	padding: 4px 20px;
	white-space: nowrap;
	min-width: 100px;
	margin-bottom: 0;
}

.smw-dropdown .smw-dropdown-menu li:hover {
	background-color: #f5f5f5;
	cursor: pointer;
}

.smw-dropdown .smw-dropdown-menu li a {
	text-decoration: none;
	display: block;
	color: black
}

.smw-dropdown .smw-dropdown-menu .divider {
	height: 1px;
	margin: 9px 0;
	overflow: hidden;
	background-color: #e5e5e5;
	font-size: 1px;
	padding: 0;
}

.smw-dropdown-menu::before {
	top: -16px;
	right: 9px;
	left: auto;
	border: 8px solid transparent;
	border-bottom-color: rgba( 27, 31, 35, 0.15 );
}

.smw-dropdown-menu::before {
	top: -16px;
	right: 7px;
	left: auto;
	border: 8px solid transparent;
	border-bottom-color: rgba( 27, 31, 35, 0.15 );
	position: absolute;
	display: inline-block;
	content: '';
}

.smw-dropdown-menu::after {
	position: absolute;
	display: inline-block;
	content: '';
	top: -14px;
	right: 8px;
	left: auto;
	border: 7px solid transparent;
	border-bottom-color: #fff;
}

/*!
 * This file is part of the Semantic MediaWiki Extension
 * @see https://www.semantic-mediawiki.org/
 *
 * @section LICENSE
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
 *
 * @since 3.0
 *
 * @file
 * @ingroup SMW
 *
 * @licence GNU GPL v2+
 * @author mwjames
 */

.smw-table {
	display: table;
	width: 100%;
	box-sizing: border-box;
}

.smw-table-row {
	display: table-row;
}

.smw-table-header {
	background-color: #eee;
	display: table-header-group;
}

.smw-table-cell, .smw-table-head {
	border: 1px solid #999;
	display: table-cell;
	padding: 3px 10px;
}

.smw-table-header {
	background-color: #eee;
	display: table-header-group;
	font-weight: bold;
}

.smw-table-footer {
	background-color: #eee;
	display: table-footer-group;
	font-weight: bold;
}

.smw-table-body {
	display: table-row-group;
}

.smw-table-sort-asc:after {
	content: '▲';
	float: right;
	color: #999;
	font-size: 10px;
	padding-top:3px;
}

.smw-table-sort-desc:after {
	content: '▼';
	float: right;
	color: #999;
	font-size: 10px;
	padding-top:3px;
}

/**
 * Responsive settings
 */
@media screen and (max-width: 800px) {
	.smw-table-cell {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
	}

	.smw-table-header .smw-table-cell {
		text-overflow: ellipsis;
		white-space: nowrap;
		width: 100% !important;
		justify-content: space-between;
		padding: 3px 0px 3px 0px;
		margin-left: 10px;
	}

	.smw-table-row, .smw-table-header {
		flex: 1 1 150px;
	}

	.smw-table-sort-asc:after, .smw-table-sort-desc:after {
		clear: both;
		padding-left: 10px;
		margin-right: 20px;
	}
}

/*!
 * This file is part of the Semantic MediaWiki Extension
 * @see https://semantic-mediawiki.org/
 *
 * @section LICENSE
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
 *
 * @see https://codepen.io/oknoblich/pen/tfjFl
 * @since 3.0
 *
 * @file
 * @ingroup SMW
 *
 * @licence GNU GPL v2+
 * @author mwjames
 */
/**
 * Semantic MediaWiki design tokens
 */
/**
 * Allow skins to override the tokens above
 * @see https://www.mediawiki.org/wiki/Manual:How_to_make_a_MediaWiki_skin#Use_in_core,_skins_and_extensions_Less_files
 */
/**
 * This file is a LESS import match for "mediawiki.skin.variables.less"
 * when legacy Vector (useskin=vector) is the active skin.
 */
/* stylelint-disable stylistic/indentation */
.smw-tabs {
  margin-top: 10px;
  clear: both;
}
@media (max-width: calc(640px - 1px)) {
  .smw-tabs {
    display: flex;
    flex-direction: column;
  }
}
.smw-tabs section,
.smw-tabs .subtab-content {
  display: none;
  padding: 0;
  border-top: 1px solid var(--border-color-base, #a2a9b1);
}
.smw-tabs label.nav-label {
  display: inline-block;
  color: var(--color-base, #202122);
  padding: 4px 12px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5714285;
  white-space: nowrap;
  user-select: none;
  transition-property: background-color, color, border-color, box-shadow;
  transition-duration: 100ms;
}
@media (max-width: calc(640px - 1px)) {
  .smw-tabs label.nav-label {
    box-shadow: inset 0 -1px 0 0 var(--border-color-subtle, #c8ccd1);
  }
}
.smw-tabs label.nav-label .smw-tab-icon {
  display: inline-block;
  min-width: 16px;
  min-height: 16px;
  opacity: 1;
  vertical-align: text-top;
  margin-right: 4px;
}
.smw-tabs label.nav-label::before {
  margin-right: 4px;
  font-weight: normal;
}
.smw-tabs label.nav-label[for*='1']::before,
.smw-tabs label.nav-label[for*='2']::before,
.smw-tabs label.nav-label[for*='3']::before,
.smw-tabs label.nav-label[for*='4']::before {
  content: '';
}
.smw-tabs label.nav-label:hover {
  color: var(--color-progressive--hover, #4b77d6);
  cursor: pointer;
  box-shadow: inset 0 -2px 0 0 var(--box-shadow-color-progressive-selected--hover, #4b77d6);
}
.smw-tabs label.nav-label:hover .smw-tab-icon {
  opacity: 0.8;
}
.smw-tabs label.nav-label:active {
  color: var(--color-progressive--active, #233566);
  box-shadow: inset 0 -2px 0 0 var(--box-shadow-color-progressive-selected--active, #233566);
}
.smw-tabs label.nav-label:active .smw-tab-icon {
  opacity: var(--opacity-icon-base--selected, 1);
}
.smw-tabs input.nav-tab {
  display: none;
}
.smw-tabs input.nav-tab:checked + label.nav-label {
  color: var(--color-progressive, #36c);
  box-shadow: inset 0 -2px 0 0 var(--box-shadow-color-progressive-selected, #36c);
}
.smw-tabs input.nav-tab:checked + label.nav-label.cached {
  box-shadow: inset 0 -2px 0 0 orange;
}
.smw-tabs input.nav-tab:checked + label.nav-label .smw-tab-icon {
  opacity: var(--opacity-icon-base--selected, 1);
}
/**
 * Requires to be adjusted by each set that uses the rules
 * to assign a tab to a content section.
 */
#tab-setup:checked ~ #tab-content-setup,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3,
#tab4:checked ~ #content4 {
  display: block;
}
/**
 * https://codepen.io/markcaron/pen/MvGRYV
 */
.smw-tabset > input[type="radio"] {
  position: absolute;
  left: -200vw;
}
.smw-tabset > input[type="checkbox"] {
  display: none;
}
.smw-tabset .tab-panel {
  display: none;
}
.smw-tabset > input:first-child:checked ~ .tab-panels > .tab-panel:first-child,
.smw-tabset > input:nth-child(3):checked ~ .tab-panels > .tab-panel:nth-child(2),
.smw-tabset > input:nth-child(5):checked ~ .tab-panels > .tab-panel:nth-child(3),
.smw-tabset > input:nth-child(7):checked ~ .tab-panels > .tab-panel:nth-child(4),
.smw-tabset > input:nth-child(9):checked ~ .tab-panels > .tab-panel:nth-child(5),
.smw-tabset > input:nth-child(11):checked ~ .tab-panels > .tab-panel:nth-child(6) {
  display: block;
}
.smw-tabset > label {
  position: relative;
  display: inline-block;
  padding: 15px 15px 25px;
  border: 1px solid transparent;
  border-bottom: 0;
  cursor: pointer;
  font-weight: 300;
  color: #8d8d8d;
  margin-bottom: 0px;
}
.smw-tabset > label::after {
  content: "";
  position: absolute;
  left: 15px;
  bottom: 10px;
  width: 22px;
  height: 4px;
  background: #8d8d8d;
}
.smw-tabset > input:focus + label,
.smw-tabset > input:checked + label {
  color: #06c;
}
.smw-tabset > input:focus + label::after,
.smw-tabset > input:checked + label::after {
  background: #06c;
}
.smw-tabset > input:focus + label.smw-indicator-severity-error::after,
.smw-tabset > input:checked + label.smw-indicator-severity-error::after {
  background: #d33;
}
.smw-tabset > input:focus + label.smw-indicator-severity-warning::after,
.smw-tabset > input:checked + label.smw-indicator-severity-warning::after {
  background: #ffa500;
}
.smw-tabset > label:hover {
  color: #444;
}
.smw-tabset > label:hover::after {
  background: #444;
}
.smw-tabset > input:checked + label {
  border-color: #ccc;
  border-bottom: 1px solid #fff;
  margin-bottom: -1px;
  border-top: 2px solid #06c;
}
.smw-tabset > input:checked + label.smw-indicator-severity-error {
  border-top: 2px solid #d33;
  color: #d33;
}
.smw-tabset > input:checked + label.smw-indicator-severity-warning {
  border-top: 2px solid #ffa500;
  color: #ffa500;
}
.tab-panel {
  padding: 30px 0;
  border-top: 1px solid #ccc;
}
.smw-issue-panel > label {
  padding: 2px 5px 5px;
}
.smw-issue-panel > input + label {
  margin-left: 5px;
}
.smw-issue-panel > label::after {
  left: 5px;
  bottom: 3px;
  width: 12px;
  height: 2px;
  background: #8d8d8d;
}
.smw-issue-panel .tab-panel {
  padding: 0 10px 10px 10px;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 280px;
}
.smw-issue-panel .tab-panel:after2 {
  content: "";
  display: block;
  height: 10px;
  width: 100%;
}

/*!
 * This file is part of the Semantic MediaWiki Extension
 * @see https://www.semantic-mediawiki.org/
 *
 * @section LICENSE
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
 *
 * @since 3.1
 *
 * @file
 * @ingroup SMW
 *
 * @licence GNU GPL v2+
 * @author mwjames
 */
.smw-icon-indicator-placeholder {
    height: 22px;
    width: 22px;
    background-color: #eee;
    border-radius: 50%;
    display: inline-block;
    margin-top:2px;
    margin-right:3px;
    vertical-align: middle;
    line-height: 24px;
}

.smw-indicator-vertical-bar-loader,
.smw-indicator-vertical-bar-loader:before,
.smw-indicator-vertical-bar-loader:after {
  background: #c0c0c0;
  -webkit-animation: load1 1s infinite ease-in-out;
  animation: load1 1s infinite ease-in-out;
  width: 1em;
  height: 4em;
}
.smw-indicator-vertical-bar-loader {
  color: #c0c0c0;
  text-indent: -9999em;
 /* margin: 88px auto; */
  position: relative;
  font-size: 3px;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
  margin-right: 10px;
  margin-top: 10px;
}
.smw-indicator-vertical-bar-loader:before,
.smw-indicator-vertical-bar-loader:after {
  position: absolute;
  top: 0;
  content: '';
}
.smw-indicator-vertical-bar-loader:before {
  left: -2.2em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.smw-indicator-vertical-bar-loader:after {
  left: 2.2em;
}
@-webkit-keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}
@keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}


.smw-icon-indicator-replication-error {
    background: url(/w/extensions/SemanticMediaWiki/res/smw/assets/smw-icon-error-replication.svg?99e4a) center left no-repeat;
    padding-left: 20px;
    display: inline-block;
    height: 20px;
    margin-right: 5px;
    vertical-align: middle;
    line-height: 24px;
    margin-top: 2px;
}

.smw-icon-indicator-constraint-error {
    background: url(/w/extensions/SemanticMediaWiki/res/smw/assets/smw-icon-error-constraint.svg?3c80a) center left no-repeat;
    padding-left: 20px;
    display: inline-block;
    height: 20px;
    margin-right: 5px;
    vertical-align: middle;
    line-height: 24px;
    margin-top: 2px;
}

.smw-icon-constraint-violation {
    background: url(/w/extensions/SemanticMediaWiki/res/smw/assets/smw-icon-constraint-violation.svg?8e401) no-repeat left center;
    padding: 28px 0 0px 28px;
    vertical-align: middle;
    display: inline-block;
}

.smw-icon-es-engine {
    background: url(/w/extensions/SemanticMediaWiki/res/smw/assets/smw-icon-elasticsearch-engine.svg?16171) no-repeat left center;
    padding: 28px 0 0px 28px;
    vertical-align: middle;
    display: inline-block;
}

.smw-icon-entity-examiner-panel-large {
    background: url(/w/extensions/SemanticMediaWiki/res/smw/assets/smw-icon-entity-examiner-panel-large.svg?2d541) no-repeat left center;
    margin-top: 5px;
    padding: 20px 0 0px 30px;
    vertical-align: middle;
    display: inline-block;
}

.smw-icon-entity-examiner-panel {
    background: url(/w/extensions/SemanticMediaWiki/res/smw/assets/smw-icon-entity-examiner-panel.svg?99d33) no-repeat left center;
    padding: 20px 0 0px 25px;
    display: inline-block;
    top: 5px;
    position: relative;
}

.smw-icon-entity-examiner-panel-error {
    background: url(/w/extensions/SemanticMediaWiki/res/smw/assets/smw-icon-entity-examiner-panel-error.svg?cee21)
    no-repeat
    left center;
    padding: 20px 0 0px 25px;
    display: inline-block;
    top: 5px;
    position: relative;
}

.smw-icon-entity-examiner-panel-warning {
    background: url(/w/extensions/SemanticMediaWiki/res/smw/assets/smw-icon-entity-examiner-panel.svg?99d33) no-repeat left center;
    padding: 20px 0 0px 25px;
    display: inline-block;
    top: 5px;
    position: relative;
}

.smw-issue-label {
    border-radius: 2px;
    box-shadow: inset 0 -1px 0 rgba(27,31,35,.12);
    font-size: 12px;
    font-weight: 600;
    height: 20px;
    line-height: 15px;
    padding: .15em 4px;
}

.smw-rule-constraint-violation ul.smw-list-rule {
    margin: 0;
}

.smw-rule-constraint-violation ul.smw-list-rule li {
    margin: 0;
    margin-bottom: 0.2em;
}

.smw-list-rule {
    list-style-image: none;
    list-style-type: none;
    margin: 0.2em 0 0 0.6em;
}

.smw-list-rule-title {
    border-bottom: 0px solid #ddd;
    border-collapse: collapse;
    color: #000;
}

/* Accordion styles, https://codepen.io/raubaca/pen/PZzpVe */
.smw-indicator-accordion {
  overflow: hidden;
}

.smw-indicator-accordion input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.smw-indicator-accordion-tab {
  width: 100%;
  color: white;
  overflow: hidden;
}

.smw-indicator-accordion-tab ul {
    margin-top: 0px !important;
}

.smw-indicator-accordion-tab-label {
  display: flex;
  justify-content: space-between;
  padding: 0.5em 0.5em 0.5em 0.8em;
  background: #eaecf0;
  color: #222222;
 /* font-weight: bold; */
  cursor: pointer;
  /* Icon */
  border-bottom: 1px solid #fff;
  margin-bottom: 0px;
}

.plain .smw-indicator-accordion-tab-label {
    background: transparent;
   /* border-bottom: 1px solid #eee; */
}

.smw-indicator-accordion-tab-label:hover {
  background: #333;
  color: #fff;
}

.smw-indicator-accordion-tab-label::after {
    content: "\276F";
    width: 20px;
    height: 1em;
    text-align: center;
    transition: all 0.35s ease, color 0s ;
}

.smw-indicator-accordion-tab:last-child .smw-indicator-accordion-tab-label {
  border-bottom: 0px solid #fff;
}

.smw-indicator-accordion-tab-content {
  max-height: 0;
  padding: 0 0.8em;
  color: #2c3e50;
  transition: all .35s;
}

.smw-indicator-accordion-tab-close {
  display: flex;
  justify-content: flex-end;
  padding: 1em;
  font-size: 0.75em;
  background: #2c3e50;
  cursor: pointer;
}

.smw-indicator-accordion-tab .smw-indicator-accordion-tab-label {
  border-top: 1px solid #ebebeb;
  border-bottom: 0px solid #fff;
}

.smw-indicator-accordion-tab-close:hover {
  background: #333;
}

input:checked + .smw-indicator-accordion-tab-label {
  background: #333;
  color: #fff;
}

.plain input:checked + .smw-indicator-accordion-tab-label {
  border-bottom: 0px;
}

input:checked + .smw-indicator-accordion-tab-label::after {
    color: #fff;
    width: 20px;
    margin-top: 2px;
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}

input:checked ~ .smw-indicator-accordion-tab-content {
  max-height: 100vh;
  padding: 0.8em;
}

.plain input:checked ~ .smw-indicator-accordion-tab-content {
  /* border-bottom: 1px solid #eee; */
}

.skin-chameleon .mw-indicator-smw-entity-examiner {
  margin-top: 25px;
}

.skin-chameleon .smw-indicator-vertical-bar-loader {
  margin-top: 40px;
}

/*!
 * This file is part of the Semantic MediaWiki Extension
 * @see https://semantic-mediawiki.org/
 *
 * @section LICENSE
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
 *
 * Schema content related CSS
 *
 * @file
 * @ingroup semantic-mediawiki
 *
 * @license GNU GPL v2+
 * @since 3.1
 *
 * @author mwjames
 */

.smw-jsonview-button-group-right {
    float: right;
    margin-left: 10px;
    margin-top: 0px;
    margin-right: 0px;
    clear: right;
    display: inline-flex;
}

.smw-jsonview-button-group-left {
    float: left;
    margin-left: 10px;
    margin-top: 0px;
    margin-right: 0px;
    clear: left;
    display: inline-flex;
    height: 28px;
    text-align: center;
}

.smw-jsonview-button-group-left input {
    margin: 4px;
    padding: 1px;
    padding-left: 3px;
    border: 1px solid #ddd;
    border-radius: 2px;
}

.smw-jsonview-search-label {
    margin: auto;
}

.smw-jsonview-button {
    cursor: pointer;
    width: 40px;
    height: 28px;
    background-color: #337ab7;
    border: none;
    color: white;
    padding: 0 14px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 20px;
    font-family: monospace;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
}

.smw-jsonview-button:first-child {
    border-radius: 2px 0 0 2px;
    border-right: 1px solid #fff;
}

.smw-jsonview-button:last-child {
    border-radius: 0 2px 2px 0;
}

.smw-jsonview-button:hover {
    background-color: #008CBA;
    color: white;
}

.smw-jsonview-button:focus {
    outline:0;
}

.jsonview {
    font-size: 12px;
}

.jsonview ul {
    margin-bottom: 0px !important;
}

.jsonview .collapsible {
    list-style: unset;
}

.jsonview ul {
    list-style-type: none;
    margin: 0 0 0 1px;
    border-left: 1px dotted #ccc;
    padding-left: 2em;
}

.smw-jsonview-clipboard {
    background-image: url(/w/extensions/SemanticMediaWiki/res/smw/assets/smw-icon-clipboard.svg?a06b2);
    background-repeat: no-repeat;
    height: 12px;
    width: 16px;
    display: inline-block;
    padding-top: 1px;
    margin-top: 1px;
}

.smw-json-container ul, .json-document ul {
    list-style-type: none;
    list-style-image: none;
}

.smw-jsonview-menu {
    display: block;
    margin-top: 10px;
    height: 28px;
    background-color: #f6f6f6;
    border-left: 1px solid #eaecf0;
    border-top: 1px solid #eaecf0;
    border-right: 1px solid #eaecf0;
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
    z-index: 2;
}

.smw-jsonview-menu + pre {
    background-color: #fff;
    margin-top:0px;
}

.smw-jsonview-menu .smw-jsonview-button {
    border-radius: 0px;
    color: #72777d;
    background-color: #f6f6f6;
}

.smw-jsonview-menu .smw-jsonview-button:hover {
    background-color: #ddd;
}

.smw-jsonview-menu .smw-jsonview-button:first-child {
    border-right: 1px solid #f6f6f6;
}

/*!
 * This file is part of the Semantic MediaWiki Extension
 * @see https://www.semantic-mediawiki.org/
 *
 * @section LICENSE
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
 *
 * @since 3.0
 *
 * @file
 * @ingroup SMW
 *
 * @licence GNU GPL v2+
 * @author mwjames
 */

.smw-ui-input-filter input {
	padding: .25em .55em !important;
}

input#smw-property-input.autocomplete-suggestions {
	height: 1.15em;
	padding: 2px;
}
