/**
 * forms-global.css
 * 
 * Index
 * 
 * - General Styling for input fields (text and search)
 * - Placeholder styling
 * - Error response styling
 * - Labels
 * 
 */

/*-----------------------------------------------------------------------
# General Styling for input fields (text and search)
------------------------------------------------------------------------*/

input[type="text"],
input[type="search"] {
  color: #999999;
  background: #FFFFFF;
  border: 1px solid #979797;
  border-radius: 5px;
  display: block;
  font-size: 1em;
  line-height: 36px;
  padding: 0 6px;
  width: 100%;
}

input[type="text"]:disabled,
input[type="text"][disabled="disabled"],
input[type="search"]:disabled,
input[type="search"][disabled="disabled"] {
  background: #DDDDDD;
}

input[type="text"]:focus,
input[type="text"].error:focus,
input[type="text"].focus,
input[type="search"]:focus,
input[type="search"].error:focus,
input[type="search"].focus {
  -webkit-box-shadow: 0 0 8px #2375BB;
  -moz-box-shadow: 0 0 8px #2375BB;
       box-shadow: 0 0 8px #2375BB;
  outline: none;
}

/*-----------------------------------------------------------------------
# Placeholder styling
------------------------------------------------------------------------*/

::-webkit-input-placeholder {
  color: #999999;
}

:-ms-input-placeholder {
  color: #999999;
}

::-ms-input-placeholder {
  color: #999999;
}

::placeholder {
  color: #999999;
}

/*-----------------------------------------------------------------------
# Error response styling
------------------------------------------------------------------------*/

input[type="text"].error,
input[type="search"].error {
  background: #FFFFFF url(../../../../img/icons/error-exclamation.png) right 20px center no-repeat;
  border: 1px solid #C33D39;
  -webkit-box-shadow: 0 0 8px #C33D39;
  -moz-box-shadow: 0 0 8px #C33D39;
       box-shadow: 0 0 8px #C33D39;
  padding-right: 40px;
}

.error-description {
    color: #C33D39;
    font-size: 0.875rem;
    margin: 7px 0 0;
}

/*-----------------------------------------------------------------------
# Labels
------------------------------------------------------------------------*/

.input-element label,
.select-element label {
  color: #333333;
  display: block;
  font: 0.875rem "HelveticaNeue-Bold", "Helvetica Neue Bold", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  margin-bottom: 7px;
}