/**
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you 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.
 */
@import "../../../slider";
@import "../../../variables";
@import "../../../styles";

@include keyframes("keyframe-dialog-rtl", $dialog-4x-width, "0px")

.load-right-to-left {
  @include animation("keyframe-dialog-rtl", "0.3s", "ease");
}

.custom-metron-button-bar-2x {
  @extend .metron-button-bar-2x;
  width: 100%;
}

.container-fluid {
  padding-top: 15px;
}

.form-title {
  font-size: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-dialog2x {
  width: 75%;

  .table-config {

    flex-grow: 1;
    flex-wrap: wrap;

    table {
      flex: 1;
      margin: 0 1rem 0 0;
    }

    .main-column {
      text-transform: uppercase;
      font-size: 1.1rem;
    }
  }
}

.table th, .table td {
  padding: 0.6rem 0.25rem;
  text-overflow: ellipsis;
}

.up {
  background: transparent;

  &:before {
    font-family: "FontAwesome";
    font-style: normal;
    font-size: 14px;
    content: '\f077';
    color: $gothic;
    cursor: pointer;
  }
}

.down {
  background: transparent;

  &:before {
    font-family: "FontAwesome";
    font-style: normal;
    font-size: 14px;
    content: '\f078';
    color: $gothic;
    cursor: pointer;
  }
}

.disabled:before {
  opacity: 0.3;
  cursor: default;
}

.input {
  padding-left: .5rem;
}

.btn-search-clear {
  background: #2D2D2D;
  border-bottom: 1px solid #4D4D4D;
  border-left: none;
  border-right: 1px solid #4D4D4D;
  border-top: 1px solid #4D4D4D;
  cursor: pointer;
  padding: 0px 5px 0px 0px;
  width: 30px;

  &::before {
    font-family: "FontAwesome";
    content: '\f057';
    color: #909090;
    padding-left: 5px;
  }
}

.btn-sm {
  padding: 0.1rem 0.25rem;
  font-size: 0.75rem;
  line-height: 1.1rem;
}

.configure-table tbody tr td {
  cursor: move;
}

.gu-mirror {
  opacity: 1;
  cursor: move;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, .7);
}

.gu-mirror td {
  display: none;
}

.gu-mirror td:nth-child(2) {
  display: table-cell;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 14px;
  font-weight: bold;
  line-height: 44px;
  vertical-align: middle;
}
