/*
* DNB Form
*
*/
/**
 * This file is only used to make components independent
 * so that they can get imported individually, without the core styles
 *
 */
/*
 * Utilities
 */
/*
 * Scopes
 *
 */
/*
 * Document Reset
 *
 */
/*
 * Form element
 *
 */
@media screen and (min-width: 50em) {
  .dnb-form {
    padding-bottom: 3rem; } }

.dnb-form legend {
  margin: 0 0 1rem 0; }

.dnb-form__fieldset {
  margin: 2rem 0 0 0; }
  .dnb-form__fieldset:first-child {
    margin-top: 0; }

.dnb-form__cell {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; }
  .dnb-form__cell:first-child {
    margin: 0 0 0.5rem 0; }
  .dnb-form__cell__cell {
    margin-right: 1rem; }
  @media screen and (min-width: 50em) {
    .dnb-form__cell {
      padding: 0 0 0 1rem; }
      .dnb-form__cell:first-child {
        margin-bottom: 0;
        -webkit-box-flex: 0;
            -ms-flex: 0 0 33.33333%;
                flex: 0 0 33.33333%;
        padding: 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: end;
            -ms-flex-pack: end;
                justify-content: flex-end; }
        .dnb-form__item--top-align .dnb-form__cell:first-child {
          padding-top: 0.25rem; }
      .dnb-form__cell__cell {
        margin-right: 1rem; } }

.dev-mode .dnb-form__cell {
  border: 1px solid; }

.dnb-form__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin: 0 0 1.5rem 0; }
  @media screen and (min-width: 50em) {
    .dnb-form__item {
      -webkit-box-orient: horizontal;
      -webkit-box-direction: normal;
          -ms-flex-direction: row;
              flex-direction: row;
      -webkit-box-align: center;
          -ms-flex-align: center;
              align-items: center; }
      .dnb-form__item--top-align {
        -webkit-box-align: start;
            -ms-flex-align: start;
                align-items: flex-start; } }
