/*
 * Copyright (C) 2017-2019 Dremio Corporation
 *
 * 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.
 */
@import "~#oss/uiTheme/less/variables.less";

.section-with-icon {
  display: flex;
  align-items: center;
}

.elements-with-icon {
  flex-grow: 1;
  max-width: 530px;
}

.link-container {
  margin-bottom: 10px;
}

.section-help {
  color: var(--text--faded);
  width: 100%;
}

.group-layout-row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -@half-input-spacing;
  margin-left: -@half-input-spacing;
}

.element-layout-row {
  flex: 1 1 auto;
  padding-right: @half-input-spacing;
  padding-left: @half-input-spacing;
}
.element-layout-row-fixed {
  composes: element-layout-row;
  flex: 0 0 auto;
}

.element-layout-full {
  width: 100%;
  flex: 1 0 100%;
}

.element-layout-half {
  flex: -1;
  width: 50%;
  padding-right: @half-input-spacing;
}

.title-element-with-icon {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 24px;

  span {
    font-size: 14px;
    font-weight: 400;
  }
}
