
/* 
 FIELDSET AND BASICS
-------------------------------------------------------------------------------
*/

#form {
  font-family: Helvetica, Arial, sans-serif;
  background-color: #fff;
  color: #666;
  font-size: 14px;
  line-height: 22px; 
}

#form fieldset {
  border: 1px solid #ccc;
  padding: 13px 15px;
  /*color: #ccc;*/
  background-color: #fff;
  margin-bottom: 5px; 
  margin-top: 20px; 
}

#form legend {
  padding: 0.2em 0.5em;
  border:1px solid green;
  color:green;
  font-size:90%;
  text-align:right;
}

#form .prop {
  width: 100%;
}

#form .propname {
  clear: left;
  float: left;
  font-weight: bold;
  margin-top: 3px;
  padding: 5px;
  width: 150px;
}

#form .propvalue {
  float: left;
  padding: 5px;
}

#form .properror {
  color: rgb(255, 0, 0);
  /*float: left;*/
  margin-top: 3px;
  padding: 5px;
}

/* 
 ELEMENTS
-------------------------------------------------------------------------------
*/

#form .dropdown {
  border: 1px solid #ccc;
  padding: 13px 15px;
  background-color: #fff;
  background-image: url(images/form_arrow.jpg);
  background-position: right center;
  background-repeat: no-repeat;
  cursor: pointer;
  position: relative;
}

#form h2 {
  border: none;
  margin-bottom: 15px;
}

#form .input {
  border: 1px solid #ccc;
  padding: 13px 15px;
  color: #ccc;
  background-color: #fff;
  position: relative;
  width: 320px;
}

#form .textarea {
  border: 1px solid #ccc;
  padding: 13px 15px;
  color: #ccc;
  background-color: #fff;
  position: relative;
  width: 320px;
  height: 100px;
}

#form .dropdown ul { 
  list-style: none; padding: 0; margin: 0; 
  position: absolute;
  top: 48px; left: -1px; /* -1 for the border */
  z-index: 5;
  border: 1px solid #ccc;
  width: 100%;
  color: #ccc;
  background-color: #fff;
  display: none;
}

#form .dropdown li { 
  list-style: none; padding: 0; margin: 0; 
  padding: 15px;
}

#form .dropdown li.selected { display: none; }
#form .dropdown li:hover { background-color: #333; color: #fff; }
#form .dropdown.open { border: 1px solid #666; color: #333; }
#form .dropdown.open ul { border: 1px solid #666; color: #333; }

.myform .subject {
  width: 250px;
  margin: 0 0 20px;
}

/* 
 LINK
-------------------------------------------------------------------------------
*/

#form .link {
  cursor: pointer;
  text-decoration:underline; color: #11457E;
}

#form .link:hover {  
  text-decoration: underline; color:#D7141A;
}

/* 
 HACKS
-------------------------------------------------------------------------------
*/

/* Removes arrow from selects IE */
#form select::-ms-expand {
  display: none;
}

/* Removes arrow from selects webkit */
#form select {
  -webkit-appearance: none;
  -moz-appearance: none;
  -o-appearance: none;
  appearance: none;
  text-indent: 1px;
  text-overflow: '';  
  /*padding: 2px 30px 2px 2px;*/
  width: 352px;
}
