/*
 * Copyright (c) 2018 Eclipse Foundation, Inc.
 * 
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v. 2.0 which is available at
 * http://www.eclipse.org/legal/epl-2.0.
 * 
 * Contributors:
 *   Christopher Guindon <chris.guindon@eclipse-foundation.org>
 * 
 * SPDX-License-Identifier: EPL-2.0
*/

// Drupal fields styles

.image-widget-data{
  width:100%;
  .form-control.form-file{
    padding:0;
    width:80%;
    float:left;
  }
  button{
    float:left;
    margin-left:10px;
  }
}

.node-form{
  .form-checkboxes,
  .form-radios{
    .form-item{
       label{
         font-weight: normal;
      }
    }
  }
}

// Add spaces between fields
form>div>div.form-item {
  margin-bottom: 15px;
}

//Fix layout of date_select
.container-inline-date{
  label{
    margin-bottom:0;
    span.form-required{
      display:none;
    }
  }
  .date-padding{
    padding-left:0;
  }
  .form-type-select{
    padding-right:5px;
  }
  label,.help-block{
    clear:both;
    display:block;
  }
}

// Nodes
.page-node{
  .field{
    margin-bottom:10px;
    .field-label{
      font-size:17px;
    }
  }
}

.form-type-password-confirm{
  padding-bottom:0;
}

.description,
.help-block{
  font-size:0.8em;
}

.hide-description{
  .description,
  .help-block{
    .sr-only;
  }
}

.hide-label{
  label{
    .sr-only;
  }
}

.mailing-lists-form {
  .form-group {
    padding-right:2px;
  }
}
.field-widget-og-vocab-complex.form-group{
  margin-bottom:0;
}

.reset-fieldset-panel{
  .panel-body {
    padding: 0;
  }
  .panel{
    border:none;
    margin-bottom:0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -o-box-shadow: none;
    box-shadow: none;
  }
  .panel-heading{
    display:none;
  }
}
