/*
 * #%L
 * wcm.io
 * %%
 * Copyright (C) 2016 wcm.io
 * %%
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * #L%
 */
 .caconfig-header-home {
  display: flex;
  max-width: 100%;
  margin-right: 0;
}

.caconfig-home-anchor {
  flex: none;
  padding-right: 0;
}

.caconfig-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin: 0;
  font-size: 0.875rem;
  font-weight: normal;
  line-height: 2.375rem;
  color: rgba(255, 255, 255, 0.8);
}

.caconfig-page {
  padding: 1rem;
}

.caconfig-overview tbody .coral-Table-row {
  cursor: pointer;
}

form.ng-dirty textarea.ng-dirty.ng-invalid,
form.ng-dirty input.ng-dirty.ng-invalid {
  border: 1px solid #f00;
}

form.ng-dirty .caconfig-if-form-pristine,
form.ng-pristine .caconfig-if-form-dirty,
form.ng-valid .caconfig-if-form-invalid,
form.ng-invalid .caconfig-if-form-valid {
  display: none;
}

form.ng-valid.ng-dirty .caconfig-if-form-invalid-or-pristine,
form.ng-invalid .caconfig-if-form-valid-and-dirty,
form.ng-pristine .caconfig-if-form-valid-and-dirty {
  display: none;
}

span.caconfig-pathbrowser {
  width: 100% !important;
}

[ng\:cloak],
[ng-cloak],
[data-ng-cloak],
[x-ng-cloak],
.ng-cloak,
.x-ng-cloak {
  display: none !important;
}

.caconfig-multifield {
  display: flex;
  align-items: center;
}

.caconfig-multifield + .caconfig-multifield {
  margin-top: 0.125rem;
}

.caconfig-multifield .coral-ButtonGroup,
.caconfig-multifield .coral3-ButtonGroup {
  display: flex;
  margin-left: 0.875rem;
}

.granite-coral-spectrum .caconfig-multifield .coral-ButtonGroup-item {
  margin-left: 0;
}

.caconfig-pathbrowser .coral-PathBrowser {
  width: 100%;
}

#caconfig-addConfigModal .coral-Select,
#caconfig-addConfigModal .coral3-Select {
  width: 100%;
}

.caconfig-configTable .caconfig-delete-item {
  float: right;
}

.caconfig-configEdit {
  font-style: italic;
}

.caconfig-disableable-button,
.caconfig-disableable-button:disabled,
.caconfig-disableable-button.is-disabled {
  display: inline-block;
}

.caconfig-breadcrumb .caconfig-breadcrumb-link,
.caconfig-link {
  cursor: pointer;
}

.caconfig-is-preview .caconfig-if-not-preview,
.caconfig-not-preview .caconfig-if-is-preview {
  display: none;
}

.caconfig-is-collection .caconfig-if-not-collection,
.caconfig-not-collection .caconfig-if-is-collection {
  display: none;
}

.caconfig-is-new-item .caconfig-if-not-new-item,
.caconfig-not-new-item .caconfig-if-new-item,
.caconfig-config-overridden .caconfig-if-config-not-overridden,
.caconfig-config-not-overridden .caconfig-if-config-overridden,
.caconfig-config-inherited .caconfig-if-config-not-inherited,
.caconfig-config-not-inherited .caconfig-if-config-inherited {
  display: none;
}

.caconfig-config-not-inherited.caconfig-not-new-item .caconfig-if-config-inherited-or-new-item {
  display: none;
}

.caconfig-config-inherited .caconfig-if-config-not-inherited-and-not-new-item,
.caconfig-is-new-item .caconfig-if-config-not-inherited-and-not-new-item {
  display: none;
}

.caconfig-property-not-overridden.caconfig-property-not-inherited .caconfig-if-property-overridden-or-inherited {
  display: none;
}

.caconfig-property-overridden .caconfig-if-property-not-overridden-and-not-inherited,
.caconfig-property-inherited .caconfig-if-property-not-overridden-and-not-inherited {
  display: none;
}

.caconfig-dummy-taglist .coral-TagList-tag,
.caconfig-dummy-taglist .coral3-Tag,
.caconfig-dummy-taglist .coral-TagList-tag-removeButton,
.caconfig-dummy-taglist .coral3-Tag-removeButton {
  color: #bebebe;
  border-color: #e6e6e6;
  background: #f0f0f0;
  text-shadow: none;
  cursor: default;
  pointer-events: none;
}

/**
 * Use a negative margin-left because of .caconfig-page padding.
 */
.coral-Well.caconfig-largeCollection {
  position: fixed;
  bottom: 0;
  width: calc(100% - 2rem);
  margin: 0 0 0 -1rem;
  background: #f0f0f0;
  z-index: 1;
}

.caconfig-loading {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
}

/*
 * #%L
 * wcm.io
 * %%
 * Copyright (C) 2017 wcm.io
 * %%
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * #L%
 */

/* Table style */

.coral-Table {
  display: table;
  margin-bottom: 0.9375rem;
  border-collapse: collapse;
  background: transparent;
  border: 1px solid #e9e9e9;
}

.coral-Table thead {
  border: 1px solid #d2d2d2;
}

.coral-Table-row {
  display: table-row;
  background: #fafafa;
}

.coral-Table tbody .coral-Table-row {
  border-bottom: 1px solid #f0f0f0;
}

.coral-Table tbody .coral-Table-row:last-child {
  border-bottom-color: #e9e9e9;
}

.coral-Table-headerCell,
.coral-Table-cell {
  display: table-cell;
}

.coral-Table-headerCell > h3,
.coral-Table-headerCell > label,
.coral-Table-headerCell > p {
  text-transform: none;
}

.coral-Table-headerCell,
.coral--light .coral-Table-headerCell {
  background: #f0f0f0;
}

.coral-Table--hover tbody .coral-Table-row:hover,
.coral-Table--hover tbody .coral-Table-row:hover .coral-Table-headerCell {
  border: 1px solid #ced7e3;
  background: rgba(50, 110, 200, 0.15);
}

.coral-Table--hover tbody .coral-Table-row:hover .coral-Table-cell {
  border-top: 1px solid #ced7e3;
}

.coral-Table .coral-Textfield,
.coral-Table .coral3-Textfield,
.coral-Table [is="coral-textarea"],
.coral-Table [is="coral-textfield"] {
  width: 100%;
}

.coral-Table .coral-Select,
.coral-Table .coral3-Select,
.coral-Table coral-select {
  width: 100%;
}

.coral-Table-cell .coral-MinimalButton .coral-Icon {
  line-height: normal;
}

/**
 * AEMaaCS adjustments
 */
.granite-coral-spectrum .coral-PathBrowser [is="coral-button"] {
  height: 100%;
}

