/**
 * @file
 * View UI admin theme.
 *
 * Replaces the styles provided by the views_ui module.
 */

@import "../base/variables.pcss.css";

.views-admin .links {
  margin: 0;
  list-style: none outside none;
}
.views-admin a:hover {
  text-decoration: none;
}
.box-padding {
  padding-right: 12px;
  padding-left: 12px;
}
.box-margin {
  margin: 12px 12px 0 12px;
}
.views-admin .icon {
  width: 16px;
  height: 16px;
}
.views-admin .icon,
.views-admin .icon-text {
  background-image: url(../../../../modules/views_ui/images/sprites.png);
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: left top; /* LTR */
}
[dir="rtl"] .views-admin .icon,
[dir="rtl"] .views-admin .icon-text {
  background-position: right top;
}
.views-admin a.icon {
  border: 1px solid #ddd;
  border-radius: 4px;
  background: linear-gradient(-90deg, #fff 0, #e8e8e8 100%) no-repeat, repeat-y;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.3333) inset;
}
.views-admin a.icon:hover {
  border-color: #d0d0d0;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.3333) inset;
}
.views-admin a.icon:active {
  border-color: #c0c0c0;
}
.views-admin span.icon {
  position: relative;
  float: left; /* LTR */
}
[dir="rtl"] .views-admin span.icon {
  float: right;
}
.views-admin .icon.compact {
  display: block;
  overflow: hidden;
  text-indent: -9999px;
  direction: ltr;
}

/* Targets any element with an icon -> text combo */
.views-admin .icon-text {
  padding-left: 19px; /* LTR */
}
[dir="rtl"] .views-admin .icon-text {
  padding-right: 19px;
  padding-left: 0;
}
.views-admin .icon.linked {
  background-position: center -153px;
}
.views-admin .icon.unlinked {
  background-position: center -195px;
}
.views-admin .icon.add {
  background-position: center 3px;
}
.views-admin a.icon.add {
  background-position: center 3px, left top; /* LTR */
}
[dir="rtl"] .views-admin a.icon.add {
  background-position: center 3px, right top;
}
.views-admin .icon.delete {
  background-position: center -52px;
}
.views-admin a.icon.delete {
  background-position: center -52px, left top; /* LTR */
}
[dir="rtl"] .views-admin a.icon.delete {
  background-position: center -52px, right top;
}
.views-admin .icon.rearrange {
  background-position: center -111px;
}
.views-admin a.icon.rearrange {
  background-position: center -111px, left top; /* LTR */
}
[dir="rtl"] .views-admin a.icon.rearrange {
  background-position: center -111px, right top;
}
.views-displays .tabs a:hover > .icon.add {
  background-position: center -25px;
}
.views-displays .tabs .open a:hover > .icon.add {
  background-position: center 3px;
}
details.box-padding {
  border: none;
}
.views-admin details details {
  margin-bottom: 0;
}
.form-item {
  margin-top: 9px;
  padding-top: 0;
  padding-bottom: 0;
}
.form-type-checkbox {
  margin-top: 6px;
}
.form-checkbox,
.form-radio {
  vertical-align: baseline;
}

.container-inline {
  padding-top: 15px;
  padding-bottom: 15px;
}
.container-inline > * + *,
.container-inline .details-wrapper > * + * {
  padding-left: 4px; /* LTR */
}
[dir="rtl"] .container-inline > * + *,
[dir="rtl"] .container-inline .details-wrapper > * + * {
  padding-right: 4px;
  padding-left: 0;
}
.views-admin details details.container-inline {
  margin-top: 1em;
  margin-bottom: 1em;
  padding-top: 0;
}
.views-admin details details.container-inline > .details-wrapper {
  padding-bottom: 0;
}
/* Indent form elements so they're directly underneath the label of the checkbox that reveals them */
.views-admin .form-type-checkbox + .form-wrapper {
  margin-left: 16px; /* LTR */
}
[dir="rtl"] .views-admin .form-type-checkbox + .form-wrapper {
  margin-right: 16px;
  margin-left: 0;
}

/* Hide 'remove' checkboxes. */
.views-remove-checkbox {
  display: none;
}

/* sizes the labels of checkboxes and radio button to the height of the text */
.views-admin .form-type-checkbox label,
.views-admin .form-type-radio label {
  line-height: 2;
}
.views-admin-dependent .form-item {
  margin-top: 6px;
  margin-bottom: 6px;
}
.views-ui-view-name h3 {
  margin: 0.25em 0;
  font-weight: bold;
}
.view-changed {
  margin-bottom: 21px;
}
.views-admin .unit-title {
  margin-top: 18px;
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.6154;
}
.views-ui-view-displays ul {
  margin-left: 0; /* LTR */
  padding-left: 0; /* LTR */
  list-style: none;
}
[dir="rtl"] .views-ui-view-displays ul {
  margin-right: 0;
  margin-left: inherit;
  padding-right: 0;
  padding-left: inherit;
}

/* These header classes are ambiguous and should be scoped to th elements */
.views-ui-name {
  width: 20%;
}
.views-ui-description {
  width: 30%;
}
.views-ui-machine-name {
  width: 15%;
}
.views-ui-displays {
  width: 25%;
}
.views-ui-operations {
  width: 10%;
}

/**
 * I wish this didn't have to be so specific
 */
.form-item-description-enable + .form-item-description {
  margin-top: 0;
}
.form-item-description-enable label {
  font-weight: bold;
}
.form-item-page-create,
.form-item-block-create {
  margin-top: 13px;
}
.form-item-page-create label,
.form-item-block-create label,
.form-item-rest-export-create label {
  font-weight: bold;
}

/* This makes the form elements after the "Display Format" label flow underneath the label */
.form-item-page-style-style-plugin > label,
.form-item-block-style-style-plugin > label {
  display: block;
}
.views-attachment .options-set label {
  font-weight: normal;
}

/* Styling for the form that allows views filters to be rearranged. */
.group-populated {
  display: none;
}
td.group-title {
  font-weight: bold;
}
.views-ui-dialog td.group-title {
  margin: 0;
  padding: 0;
}
.views-ui-dialog td.group-title span {
  display: block;
  overflow: hidden;
  height: 1px;
}
.group-message .form-submit,
.views-remove-group-link,
.views-add-group {
  float: right; /* LTR */
  clear: both;
}
[dir="rtl"] .group-message .form-submit,
[dir="rtl"] .views-remove-group-link,
[dir="rtl"] .views-add-group {
  float: left;
}
.views-operator-label {
  padding-left: 0.5em; /* LTR */
  text-transform: uppercase;
  font-weight: bold;
  font-style: italic;
}
[dir="rtl"] .views-operator-label {
  padding-right: 0.5em;
  padding-left: 0;
}
.grouped-description,
.exposed-description {
  float: left; /* LTR */
  padding-top: 3px;
  padding-right: 10px; /* LTR */
}
[dir="rtl"] .grouped-description,
[dir="rtl"] .exposed-description {
  float: right;
  padding-right: 0;
  padding-left: 10px;
}
.views-displays {
  padding-bottom: 36px;
  border: 1px solid #ccc;
}
.views-display-top {
  position: relative;
  padding: 8px 8px 3px;
  border-bottom: 1px solid #ccc;
  background-color: #e1e2dc;
}
.views-display-top .tabs {
  margin-right: 18em; /* LTR */
}
[dir="rtl"] .views-display-top .tabs {
  margin-right: 0;
  margin-left: 18em;
}
.views-display-top .tabs > li {
  margin-right: 6px; /* LTR */
  padding-left: 0; /* LTR */
}
[dir="rtl"] .views-display-top .tabs > li {
  margin-right: 0.3em;
  margin-left: 6px;
  padding-right: 0;
}
.views-display-top .tabs > li:last-child {
  margin-right: 0; /* LTR */
}
[dir="rtl"] .views-display-top .tabs > li:last-child {
  margin-right: 0.3em;
  margin-left: 0;
}
.form-edit .form-actions {
  margin-top: 0;
  padding: 8px 12px;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  border-left: 1px solid #ccc;
  background-color: #e1e2dc;
}
.views-displays .tabs.secondary {
  margin-right: 200px; /* LTR */
  border: 0;
}
[dir="rtl"] .views-displays .tabs.secondary {
  margin-right: 0;
  margin-left: 200px;
}
.views-displays .tabs.secondary li,
.views-displays .tabs.secondary li.is-active {
  width: auto;
  padding: 0;
  border: 0;
  background: transparent;
}
.views-displays .tabs li.add ul.action-list li {
  margin: 0;
}
.views-displays .tabs.secondary li {
  margin: 0 5px 5px 6px; /* LTR */
}
[dir="rtl"] .views-displays .tabs.secondary li {
  margin-right: 6px;
  margin-left: 5px;
}
.views-displays .tabs.secondary .tabs__tab + .tabs__tab {
  border-top: 0;
}
.views-displays .tabs li.tabs__tab:hover {
  padding-left: 0; /* LTR */
  border: 0;
}
[dir="rtl"] .views-displays .tabs li.tabs__tab:hover {
  padding-right: 0;
}
.views-displays .tabs.secondary a {
  display: inline-block;
  padding: 3px 7px;
  border: 1px solid #cbcbcb;
  border-radius: 7px;
  font-size: small;
  line-height: 1.3333;
}

/* Display a red border if the display doesn't validate. */
.views-displays .tabs li.is-active a.is-active.error,
.views-displays .tabs .error {
  padding: 1px 6px;
  border: 2px solid #ed541d;
}
.views-displays .tabs a:focus {
  outline: none;
}
.views-displays .tabs.secondary li a {
  background-color: #fff;
}
.views-displays .tabs li a:hover,
.views-displays .tabs li.is-active a,
.views-displays .tabs li.is-active a.is-active {
  color: #fff;
  background-color: #555;
}
.views-displays .tabs .open > a {
  position: relative;
  border-bottom: 1px solid transparent;
  background-color: #f1f1f1;
}
.views-displays .tabs .open > a:hover {
  color: #0074bd;
  background-color: #f1f1f1;
}
.views-displays .tabs .action-list li {
  padding: 2px 9px;
  border-width: 0 1px;
  border-style: solid;
  border-color: #cbcbcb;
  background-color: #f1f1f1;
}
.views-displays .tabs .action-list li:first-child {
  border-width: 1px 1px 0;
}
.views-displays .action-list li:last-child {
  border-width: 0 1px 1px;
}
.views-displays .tabs .action-list li:last-child {
  border-width: 0 1px 1px;
}
.views-displays .tabs .action-list input.form-submit {
  margin: 0;
  padding: 0;
  border: medium none;
  background: none repeat scroll 0 0 transparent;
}
.views-displays .tabs .action-list input.form-submit:hover {
  box-shadow: none;
}
.views-displays .tabs .action-list li:hover {
  background-color: #ddd;
}
.edit-display-settings {
  margin: 12px 12px 0 12px;
}
.edit-display-settings-top.views-ui-display-tab-bucket {
  position: relative;
  margin: 0 0 15px 0;
  padding-top: 4px;
  padding-bottom: 4px;
  border: 1px solid #f3f3f3;
  line-height: 20px;
}
.views-display-column {
  border: 1px solid #f3f3f3;
}
.views-display-column + .views-display-column {
  margin-top: 0;
}
.view-preview-form .form-item-view-args,
.view-preview-form .form-actions {
  margin-top: 5px;
}
.view-preview-form .arguments-preview {
  font-size: 1em;
}
.view-preview-form .arguments-preview,
.view-preview-form .form-item-view-args {
  margin-left: 10px; /* LTR */
}
[dir="rtl"] .view-preview-form .arguments-preview,
[dir="rtl"] .view-preview-form .form-item-view-args {
  margin-right: 10px;
  margin-left: 0;
}
.view-preview-form .form-item-view-args label {
  float: left; /* LTR */
  height: 6ex;
  margin-right: 0.75em; /* LTR */
  font-weight: normal;
}
[dir="rtl"] .view-preview-form .form-item-view-args label {
  float: right;
  margin-right: 0.2em;
  margin-left: 0.75em;
}
.form-item-live-preview,
.form-item-view-args,
.preview-submit-wrapper {
  display: inline-block;
}
.form-item-live-preview,
.view-preview-form .form-actions {
  vertical-align: top;
}

@media screen and (min-width: 45em) { /* 720px */
  .view-preview-form .form-type-textfield .description {
    white-space: nowrap;
  }
}

/* These are the individual "buckets," or boxes, inside the display settings area */
.views-ui-display-tab-bucket {
  position: relative;
  margin: 0;
  padding-top: 4px;
  border-bottom: 1px solid #f3f3f3;
  line-height: 20px;
}
.views-ui-display-tab-bucket:last-of-type {
  border-bottom: none;
}
.views-ui-display-tab-bucket + .views-ui-display-tab-bucket {
  border-top: medium none;
}
.views-ui-display-tab-bucket__title,
.views-ui-display-tab-bucket > .views-display-setting {
  padding: 3px 6px 4px;
}
.views-ui-display-tab-bucket__title {
  margin: 0;
  font-size: small;
}
.views-ui-display-tab-bucket.access {
  padding-top: 0;
}
.views-ui-display-tab-bucket.page-settings {
  border-bottom: medium none;
}
.views-display-setting .views-ajax-link {
  margin-right: 0.2083em;
  margin-left: 0.2083em;
  text-decoration: none;
}

.views-ui-display-tab-setting > span {
  margin-left: 0.5em; /* LTR */
}
[dir="rtl"] .views-ui-display-tab-setting > span {
  margin-right: 0.5em;
  margin-left: 0;
}

/** Applies an overridden(italics) font style to overridden buckets.
 * The better way to implement this would be to add the overridden class
 * to the bucket header when the bucket is overridden and style it as a
 * generic icon classed element. For the moment, we'll style the bucket
 * header specifically with the overridden font style.
 */
.views-ui-display-tab-setting.overridden,
.views-ui-display-tab-bucket.overridden .views-ui-display-tab-bucket__title {
  font-style: italic;
}

/* This is each row within one of the "boxes." */
.views-ui-display-tab-bucket .views-display-setting {
  padding-bottom: 2px;
  color: #666;
  font-size: 12px;
}
.views-ui-display-tab-bucket .views-display-setting:nth-of-type(even) {
  background-color: #f3f5ee;
}
.views-ui-display-tab-actions.views-ui-display-tab-bucket .views-display-setting {
  background-color: transparent;
}
.views-ui-display-tab-bucket .views-group-text {
  margin-top: 6px;
  margin-bottom: 6px;
}
.views-display-setting .label {
  margin-right: 3px; /* LTR */
}
[dir="rtl"] .views-display-setting .label {
  margin-right: 0;
  margin-left: 3px;
}
.views-edit-view {
  margin-bottom: 15px;
}

/* The contents of the popup dialog on the views edit form. */
.views-filterable-options .form-type-checkbox {
  padding: 5px 8px;
  border-top: none;
}
.views-filterable-options {
  border-top: 1px solid #ccc;
}
.filterable-option .form-item {
  margin-top: 0;
  margin-bottom: 0;
}
.views-filterable-options .filterable-option .title {
  cursor: pointer;
  font-weight: bold;
}
.views-filterable-options .form-type-checkbox .description {
  margin-top: 0;
  margin-bottom: 0;
}
.views-filterable-options-controls .form-item {
  width: 30%;
  margin: 0 0 0 2%; /* LTR */
}
[dir="rtl"] .views-filterable-options-controls .form-item {
  margin: 0 2% 0 0;
}
.views-filterable-options-controls input,
.views-filterable-options-controls select {
  width: 100%;
}
.views-ui-dialog .ui-dialog-content {
  padding: 0;
}
.views-ui-dialog .views-filterable-options {
  margin-bottom: 10px;
}
.views-ui-dialog .views-add-form-selected.container-inline {
  padding: 0;
}
.views-ui-dialog .views-add-form-selected.container-inline > div {
  display: block;
}
.views-ui-dialog .form-item-selected {
  margin: 0;
  padding: 6px 16px;
}
.views-ui-dialog .views-override:not(:empty) {
  padding: 8px 13px;
  background-color: #f3f4ee;
}
.views-ui-dialog.views-ui-dialog-scroll .ui-dialog-titlebar {
  border: none;
}
.views-ui-dialog .views-offset-top {
  border-bottom: 1px solid #ccc;
}
.views-ui-dialog .views-offset-bottom {
  border-top: 1px solid #ccc;
}
.views-ui-dialog .views-override > * {
  margin: 0;
}

.views-ui-dialog .views-progress-indicator {
  position: absolute;
  z-index: 1;
  top: 0;
  right: var(--jui-dialog-close-button-reserved-space); /* LTR */
  color: var(--jui-dialog-title-color);
  font-size: var(--font-size-xxs);
  line-height: var(--jui-dialog-close-button-reserved-space);
}
[dir="rtl"] .views-ui-dialog .views-progress-indicator {
  right: auto;
  left: var(--jui-dialog-close-button-reserved-space);
}

.views-ui-dialog .views-progress-indicator:before {
  content: "\003C\00A0";
}
.views-ui-dialog .views-progress-indicator:after {
  content: "\00A0\003E";
}
.views-ui-dialog details .item-list {
  padding-left: 2em; /* LTR */
}
[dir="rtl"] .views-ui-dialog details .item-list {
  padding-right: 2em;
  padding-left: 0;
}
.views-ui-rearrange-filter-form table {
  border-collapse: collapse;
}
.views-ui-rearrange-filter-form tr td[rowspan] {
  border-width: 0 1px 1px 1px;
  border-style: solid;
  border-color: #cdcdcd;
}
.views-ui-rearrange-filter-form tr[id^="views-row"] {
  border-right: 1px solid #cdcdcd; /* LTR */
}
[dir="rtl"] .views-ui-rearrange-filter-form tr[id^="views-row"] {
  border-right: 0;
  border-left: 1px solid #cdcdcd;
}
.views-ui-rearrange-filter-form .even td {
  background-color: #f3f4ed;
}
.views-ui-rearrange-filter-form .views-group-title {
  border-top: 1px solid #cdcdcd;
}
.views-ui-rearrange-filter-form .group-empty {
  border-bottom: 1px solid #cdcdcd;
}
.form-item-options-expose-required,
.form-item-options-expose-label,
.form-item-options-expose-description {
  margin-top: 6px;
  margin-bottom: 6px;
  margin-left: 18px; /* LTR */
}
[dir="rtl"] .form-item-options-expose-required,
[dir="rtl"] .form-item-options-expose-label,
[dir="rtl"] .form-item-options-expose-description {
  margin-right: 18px;
  margin-left: 0;
}
.views-preview-wrapper {
  border: 1px solid #ccc;
}
.view-preview-form {
  position: relative;
}
.view-preview-form__title {
  margin-top: 0;
  padding: 8px 12px;
  border-bottom: 1px solid #ccc;
  background-color: #e1e2dc;
}
.view-preview-form .form-item-live-preview {
  position: absolute;
  top: 3px;
  right: 12px;
  margin-top: 2px;
  margin-left: 2px; /* LTR */
}
[dir="rtl"] .view-preview-form .form-item-live-preview {
  right: auto;
  left: 12px;
  margin-right: 2px;
  margin-left: 0;
}
.views-live-preview {
  padding: 12px;
}
.views-live-preview .views-query-info {
  overflow: auto;
}
.views-live-preview .section-title {
  display: inline-block;
  margin-top: 0;
  margin-bottom: 0;
  color: #818181;
  font-size: 13px;
  font-weight: normal;
  line-height: 1.6154;
}
.views-live-preview .view > * {
  margin-top: 18px;
}
.views-live-preview .preview-section {
  margin: 0 -5px;
  padding: 3px 5px;
  border: 1px dashed #dedede;
}
.views-live-preview li.views-row + li.views-row {
  margin-top: 18px;
}

/* The div.views-row is intentional and excludes li.views-row, for example */
.views-live-preview div.views-row + div.views-row {
  margin-top: 36px;
}
.views-query-info table {
  margin: 10px 0;
  border-spacing: 0;
  border-collapse: separate;
  border-color: #ddd;
}
.views-query-info table tr {
  background-color: #f9f9f9;
}
.views-query-info table th,
.views-query-info table td {
  padding: 4px 10px;
  color: #666;
}
.messages {
  margin-bottom: 18px;
  line-height: 1.4555;
}

.js .dropbutton-wrapper .dropbutton .dropbutton-action > .ajax-progress-throbber {
  position: absolute;
  z-index: 2;
  top: -1px;
  right: -5px; /* LTR */
}
[dir="rtl"].js .dropbutton-wrapper .dropbutton .dropbutton-action > .ajax-progress-throbber {
  right: auto;
  left: -5px;
}

.views-display-top .dropbutton-wrapper {
  position: absolute;
  top: 5px;
  right: 4px; /* LTR */
}
[dir="rtl"] .views-display-top .dropbutton-wrapper {
  right: auto;
  left: 4px;
}

.views-ui-display-tab-bucket .dropbutton-wrapper {
  position: absolute;
  top: 3px;
  right: 3px; /* LTR */
}
[dir="rtl"] .views-ui-display-tab-bucket .dropbutton-wrapper {
  right: auto;
  left: 3px;
}

.views-list-section {
  margin-bottom: 2em;
}
.form-textarea-wrapper,
.form-item-options-content {
  width: 100%;
}
