/*!
Copyright (c) REBUILD <https://getrebuild.com/> and/or its owners. All rights reserved.

rebuild is dual-licensed under commercial and open source licenses (GPLv3).
See LICENSE and COMMERCIAL in the project root for license information.
*/

.entities-mapping > li.nav-item a.nav-link,
.entities-mapping > li.nav-item a.nav-link > span {
  position: relative;
}

.entities-mapping > li.nav-item a.nav-link {
  padding: 8px 15px;
  max-width: 240px;
}

.fields-mapping .row > div {
  margin-top: 6px;
  margin-bottom: 6px;
}

.fields-mapping span.badge {
  font-size: 1rem;
  padding: 3px 10px;
  font-weight: normal;
  margin-top: 5px;
}

.fields-mapping span.badge.req {
  border-left: 3px solid #ea4335;
}

.fields-mapping span.badge.readonly {
  border-left: 3px solid #bbb;
}

.fields-mapping span.badge.rep {
  border-left: 3px solid #fbbc05;
}

.fields-mapping span.badge::before,
.entities-mapping > li.nav-item a > span::before {
  content: '\f2fd';
  font-family: 'Material-Design-Iconic-Font', serif;
  position: absolute;
  right: 0;
  color: #aaa;
  transform: rotate(180deg);
  font-size: 1rem;
  font-weight: bold;
}

.entities-mapping > li.nav-item a.nav-link > span {
  margin-left: 20px;
  margin-right: 5px;
  line-height: 1;
}

.entities-mapping > li.nav-item a.nav-link > span::before {
  right: auto;
  left: -15px;
  margin-top: 2px;
  color: inherit;
  font-size: 1rem;
}

.entities-mapping > li.nav-item a.nav-link > em {
  position: absolute;
  right: 0;
  font-size: 17px !important;
  margin: 0 !important;
  margin-top: 1px !important;
  display: none;
}

.entities-mapping > li.nav-item a.nav-link > em:hover {
  opacity: 0.8;
}

.entities-mapping > li.nav-item a.nav-link:hover > em {
  display: inline-block;
}

.fields-mapping .row.active span.badge::before {
  color: #fbbc05;
}

.fields-mapping .row {
  margin-left: 0;
  margin-right: 0;
}

.fields-mapping .row > div:first-child {
  padding-left: 0;
}

.fields-mapping .row > div:last-child {
  padding-right: 0;
}

.fields-mapping .row:not(.title2):hover {
  background-color: #f0f0f0;
}

.fields-mapping .row::after {
  content: ' ';
  height: 1px;
  width: 100%;
  border-bottom: 1px dotted #dee2e6;
}

.fields-mapping .row.title2::after {
  border-bottom: 1px solid #dee2e6;
}

.fields-map-show {
  background-color: #f7f7f7;
  border-radius: 3px;
  padding: 20px 25px;
  padding-top: 10px;
  max-width: 1000px;
}

.fields-map-show .badge {
  border-radius: 0;
  padding: 3px 10px;
  position: relative;
  font-size: 1rem;
}

.fields-map-show .badge::after {
  position: absolute;
  width: 0;
  height: 0;
  content: '';
  transform: rotate(45deg);
  border: 4px solid #fff;
  top: -4px;
  right: -4px;
}

.fields-map-show .mdi {
  position: absolute;
  right: -2px;
  font-size: 1.25rem;
  color: #aaa;
  top: 10px;
}

.row.title2 a.filter {
  color: #999;
  margin-left: 10px;
  margin-top: -1px;
  position: absolute;
  font-size: 15px;
}

.row.title2 a.filter:hover,
.row.title2 a.filter.active {
  color: #4285f4;
}
