/* Modal Window */
.modalDialog {
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    opacity:0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
}
.modalDialog:target {
    opacity:1;
    pointer-events: auto;
}
.modalDialog > div {
    width: 400px;
    position: relative;
    margin: 10% auto;
    padding: 5px 20px 13px 20px;
    border-radius: 10px;
    background: #fff;
    background: -moz-linear-gradient(#fff, #999);
    background: -webkit-linear-gradient(#fff, #999);
    background: -o-linear-gradient(#fff, #999);
}
.close {
    background: #606061;
    color: #FFFFFF;
    line-height: 25px;
    position: absolute;
    right: -12px;
    text-align: center;
    top: -10px;
    width: 24px;
    text-decoration: none;
    font-weight: bold;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    -moz-box-shadow: 1px 1px 3px #000;
    -webkit-box-shadow: 1px 1px 3px #000;
    box-shadow: 1px 1px 3px #000;
}
.close:hover {
    background: #00d9ff;
}


/* Input Styling */

/* form styling */
.request-form {
  margin:auto;
  display: block;
  padding:10px;
}

.form-label, label {
  font-weight: bold;
  width:100%;
}

input[type="submit"], button, .button {
  color: #FFF;
  font-size: 1.2em;
  font-weight: bold;
  width:100%;
  margin: auto;
  background-color:#4d4729; /* For unsupported browsers */
    background: -webkit-linear-gradient(#4d4729, #5F5D33); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#4d4729, #5F5D33); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#4d4729, #5F5D33); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#b5be8e , #a0ab6d ); /* Standard syntax */
  padding-top: 5px;
  padding-bottom: 5px;
  cursor: pointer;
  margin-bottom: 15px;
  margin-top: 5px;
  border: 1px solid transparent;
  border-radius:2px;
    -webkit-border-radius:2px;
    -moz-border-radius:2px; 
}

a .button {
  text-decoration: none;
}

button a {
  color:#FFF!important;
}

.submit {
  background-color: #0066ff;
  font-weight: bold;
  color:#FFF;
  padding: 10px;
  width:100%;
  margin:auto;
  display: block; /*Make items take up 100% of width */
  cursor: pointer;
}

#a-close {
  display:block;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  color:#FFF;
}

#a-new, #a-edit, #a-delete   {
  text-decoration:  none;
  font-weight: bold;
  color:#FFF;
  text-align: center;
  border: solid 1px white;
}

a.disabled, .disabled { 
  color:gray; 
  background-color: gray;
  cursor: not-allowed!important;
  opacity:0.5;
}

input[type="textarea"], textarea  {
  width:700px; /*set to a high width */
  height:150px; /*set to a high height */
  max-width: 100%; /* this will only allow it stretch as wide as the parent div */
  max-height: 100%;
  resize: both;
  overflow: auto;
}

input[type="text"], input[type="email"], input[type="password"] {
  width: 100%;
}

input[type="search"] { 
  text-indent: 32px;
  position: relative;
  background: url(../img/search.png) no-repeat left center; 
  background-color: #FFF;
}

input[type="text"],
input[type="date"],
input[type="datetime"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="time"],
input[type="url"],
input[type="password"],
textarea,
select 
{
    -webkit-transition: all 0.30s ease-in-out;
    -moz-transition: all 0.30s ease-in-out;
    -ms-transition: all 0.30s ease-in-out;
    -o-transition: all 0.30s ease-in-out;
    outline: none;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 100%;
    background: #fff;
    margin-bottom: 4%;
    border: 1px solid #ccc;
    padding: 3px;
    color: #555;
    font: 95% Arial, Helvetica, sans-serif;
}
input[type="text"]:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus
{
    box-shadow: 0 0 5px #43D1AF;
    padding: 3%;
    border: 1px solid #43D1AF;
}

input[type="search"] { 
  text-indent: 32px;
  position: relative;
  background: url(../img/search.png) no-repeat left center; 
  background-color: #FFF;
  height:30px;
  margin-bottom: 1%;
}

span .field-error {
  visibility: hidden;
}

.field-error {
 font-weight: bold;
 background-color: #FFBABA;
 color: #cc0000;
}



.search .fa-search { 
  position: absolute;
  top: 10px;
  left: 10px;
}
