/* Form Styles (for all devices) */


  FIELDSET {
    border:none;
    margin:0px;
    padding:0px;
  }

  LABEL {
    display: block;
    font-size:1em;
    font-weight:bold;
  }

  INPUT[type=text], INPUT[type=password], TEXTAREA, .input {
    font-family: Arial, Helvetica, sans-serif;
    border: 1px solid #6C5987;
    border-radius: 0.25em;
    max-width:100%;
    box-sizing: border-box;
    font-size:1.25em;
    padding:2px;
    color:#444;
    background:#DDD;
    background: -moz-linear-gradient(top, rgba(190,190,190,1) 0%, rgba(245,245,245,1) 0.5em);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(190,190,190,1)), color-stop(0.5em, rgba(245,245,245,1)));
    background: -webkit-linear-gradient(top, rgba(190,190,190,1) 0%, rgba(245,245,245,1) 0.5em);
    background: -o-linear-gradient(top, rgba(190,190,190,1) 0%, rgba(245,245,245,1) 0.5em);
    background: -ms-linear-gradient(top, rgba(190,190,190,1) 0%, rgba(245,245,245,1) 0.5em);
    background: linear-gradient(to bottom, rgba(190,190,190,1) 0%, rgba(245,245,245,) 0.5em);
  }
  INPUT[type=text]:focus, INPUT[type=password]:focus, TEXTAREA:focus, .input:focus {
    background:#FFF;
    padding:1px 1px;
    color:#000;
    border: 2px solid #CB5D84;
    -webkit-box-shadow: 0px 0px 12px rgba(136, 215, 246, 0.8);
    -moz-box-shadow: 0px 0px 12px rgba(136, 215, 246, 0.8);
    box-shadow: 0px 0px 12px rgba(136, 215, 246, 0.8);
    -webkit-transition: box-shadow 0.5s ease-in-out 0s;
    -moz-transition: box-shadow 0.5s ease-in-out 0s;
    -o-transition: box-shadow 0.5s ease-in-out 0s;
    -ms-transition: box-shadow 0.5s ease-in-out 0s;
    transition: box-shadow 0.5s ease-in-out 0s;
  }
  TEXTAREA {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.1em;
    height:8em;
    width:95%;
  }
  INPUT[type=submit] {
    font-family: Arial, Helvetica, sans-serif;
    font-size:1.25em;
    color:#444;
  }
  .button {
    font-family: Arial, Helvetica, sans-serif;
    text-decoration:none !important;
    background:#DDD;
    border: 1px solid #6C5987;
    border-radius: 0.25em;
    max-width:100%;
    box-sizing: border-box;
    font-size:1.25em;
    padding:1px 5px;
    color:#444;
    background-color:#FFF;
    background: -moz-linear-gradient(bottom, rgba(245,245,245,1) 0%, rgba(190,190,190,0.5) 0.5em);
    background: -webkit-gradient(left bottom, left top, color-stop(0%, rgba(245,245,245,0.5)), color-stop(0.5em, rgba(190,190,190,1)));
    background: -webkit-linear-gradient(bottom, rgba(245,245,245,1) 0%, rgba(190,190,190,0.5) 0.5em);
    background: -o-linear-gradient(bottom, rgba(245,245,245,1) 0%, rgba(190,190,190,0.5) 0.5em);
    background: -ms-linear-gradient(bottom, rgba(245,245,245,1) 0%, rgba(190,190,190,0.5) 0.5em);
    background: linear-gradient(to top, rgba(190,190,190,1) 0%, rgba(245,245,245,0.5) 0.5em);
    cursor:pointer;
  }
  .button:hover {
    background-color: #CCFFCC;
  }

  SELECT {
    border: 1px solid #6C5987;
    border-radius: 0.25em;
    box-sizing: border-box;
    font-size:1.25em;
    padding:2px;
    color:#444;
    background-color:rgba(190,190,190,1);
    background: -moz-linear-gradient(top, rgba(190,190,190,1) 0%, rgba(245,245,245,1) 0.5em);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(190,190,190,1)), color-stop(0.5em, rgba(245,245,245,1)));
    background: -webkit-linear-gradient(top, rgba(190,190,190,1) 0%, rgba(245,245,245,1) 0.5em);
    background: -o-linear-gradient(top, rgba(190,190,190,1) 0%, rgba(245,245,245,1) 0.5em);
    background: -ms-linear-gradient(top, rgba(190,190,190,1) 0%, rgba(245,245,245,1) 0.5em);
    background: linear-gradient(to bottom, rgba(190,190,190,1) 0%, rgba(245,245,245,) 0.5em);
  }
  OPTION {
    background-color:#EEE;
    border-right:2px solid rgba(190,190,190,1);
    width:auto;
    max-width:350px;
    text-overflow: ellipsis;
  }
  OPTION:last-child {
    border-bottom:2px solid rgba(190,190,190,1);
  }

  .form {
    border:1px solid #777;
    border-radius:5px;
    margin:auto;
    margin-top:15px !important;
    background-color:#FFF;
  }
  .form > LEGEND {
    font-size:18px;
    font-weight:bold;
    line-height:18px;
    width:100%;
    margin:0px;
    margin-bottom:10px;
    padding:2px 5px;
    border-bottom:1px solid #777;
    border-radius:5px 5px 0px 0px;
    background-color:#DFDFDF;
    float:left;
  }

  .error-notice {
    width:98%;
    margin:30px 1% 5px;
    padding-top:2px;
    background-color:#FFB442;
    border:1px solid #BD0000;
    border-radius:10px;
    color:#990000;
  }

  #form-clear-button {
    float:right;
    margin-right:5px;
    z-index:100;
  }

  .form-group {
    margin:5px;
    padding:0px;
    border:none;
    margin-bottom:15px;
  }
  .form-group > LEGEND {
    font-size:110%;
    font-weight:bold;
  }

  .form-field {
    margin:5px 0px;
  }
  .form-field > LEGEND {
    font-size:100%;
    font-weight:bold;
  }

  .form-text {
    margin-bottom:-5px;
  }
  LABEL.required, LEGEND.required {
    font-size:1em;
    font-weight:bold;
  }
  LABEL.required:after, LEGEND.required:after {
    content:"*";
    color:red;
    font-weight:bold;
  }
  .req {
    color:red;
    font-weight:bold;
  }

  .form-main-login {
    width:250px;
    margin:auto;
  }
  #admin-form-help {
    width:45%;
    margin:15px 2%;
    float:right;
  }
  .admin-form-help-title {
    margin:0px;
  }

  #admin-form-area {
    width:45%;
    max-width:410px;
    margin:15px 2%;
  }

  .form-field-help {
    margin:10px 0px 2px;
    padding:0px;
    text-align:left;
  }

  .form-align-right {
    text-align:right;
  }

  .form-submit {
    margin-bottom:5px;
    text-align:right;
  }

  .form-error {
    margin:5px 1%;
    padding:0px;
    color:#D00;
    font-size:95%;
    font-weight:bold;
    text-align:left;
  }
  .form-error-block {
    margin:0px
    padding:0px;
    width:100%;
    max-height:100px;
    overflow:auto;
  }

  .field-full-width {
    width:100%;
  }

  #admin-form-help #select-record {
    width:100%;
    max-width:350px;
  }
  #admin-form-help #select-record SELECT {
    width:100%;
    max-width:300px;
  }

  .message-area-form-success {
    width:50%;
    max-width:410px;
    margin:15px 2%;
  }
  .form-success { margin: 10px 0px; }
  .form-success-table {
    border:1px solid #CCC;
    width:95%;
    margin:auto;
  }
  .form-success-table-label {
    width:35%;
    vertical-align:top;
  }
  .form-success-table-data {
    width:65%;
  }

  /* For form items which are small enough
     that two can fit in each row. */
  .two-per-row {
    width:50%;
    float:left;
  }

  /* Special formatting for the login page */
  #_user-login .form-item {
    margin:5px 3%;
  }