@charset "utf-8";

body {
  font-family: "Times New Roman", serif;
  color: #000000;
  background-color: #44aa77;
  font-size: 16px;
  padding: 20px 0;
}

a, a:visited,
.error a, .error a:visited,
.success a, .success a:visited {
  color: #269909;
}

a:hover, a:active,
.error a:hover, .error a:active,
.success a:hover, .success a:active {
  color: #264409;
}

.error {
  font-weight: bold; 
  padding: 5px;

  -moz-box-shadow: 0 3px 3px #999;
  -webkit-box-shadow: 0 3px 3px #999;
  box-shadow: 0 3px 3px #999;
}

.success {
  font-weight: bold;
  padding: 5px;

  -moz-box-shadow: 0 3px 3px #999;
  -webkit-box-shadow: 0 3px 3px #999;
  box-shadow: 0 3px 3px #999;
}

#back-links {
  text-align: center;
  vertical-align: middle;
}

#back-links .explained a,
#back-links .explained a:visited,
#back-links .explained a:hover,
#back-links .explained a:active {
  color: #ffffff;
}


#content {
  background-color: #FFFFC3;
  padding: 15px;
  
  -moz-box-shadow: 0 5px 5px #333;
  -webkit-box-shadow: 0 5px 5px #333;
  box-shadow: 0 5px 5px #333;
}

h2 {
  text-align: center;
  margin-bottom: 0;
}

h3 {
  text-align: center;
}

.thanks {
  text-align: center;
}

/* Form elements */

.form-item {
  padding: 5px 10px 5px 0;
}

label {
  display: block;
}

label .required {
  color: #ff0000;
}

div.checkbox label {
  font-size: 1em;
  font-weight: normal;
  display: inline;
  padding: 0 0 0 5px;
}

input[type="text"], input[type="email"], input[type="number"], select, textarea {
  padding-left: 7px;
  padding-bottom: 4px;
  padding-right: 7px;
  padding-top: 4px;
  min-height: 26px;
  width: 100%;
  font-size: 1.3em;
  margin: 0;
  border-radius: 4px;
}

select {
  height: 36px;
  font-size: 1.2em;
}

input[disabled] {
  color: #999;
}


fieldset {
  padding-top: 0;
  margin-bottom: 10px;
}

fieldset legend {
  font-size: 1.1em;
  padding: 2px 5px;
}

input[type="submit"], input[type="button"], a.button {
  font-family: "Times New Roman", serif;
  font-size: 1.2em;
  color: #006e3d;
  font-weight: 400;
  text-decoration: none;
  padding: 5px 20px;
  border: 1px solid #666;
  background: #eee;
  border-radius: 5px;
  cursor: pointer;
  
  /* Safari 4-5, Chrome 1-9 */
  background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#008e3d), to(#006e3d));
  
  /* Safari 5.1, Chrome 10+ */
  background: -webkit-linear-gradient(top, #fff, #eee);
  
  /* Firefox 3.6+ */
  background: -moz-linear-gradient(top, #fff, #eee);
  
  /* IE 10 */
  background: -ms-linear-gradient(top, #fff, #eee);
  
  /* Opera 11.10+ */
  background: -o-linear-gradient(top, #fff, #eee);
}

input[type="submit"]:hover, input[type="button"]:hover, a.button:hover {
  color: #fff;
  background: #008e3d;

  /* Safari 4-5, Chrome 1-9 */
  background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#008e3d), to(#006e3d));
  
  /* Safari 5.1, Chrome 10+ */
  background: -webkit-linear-gradient(top, #008e3d, #006e3d);
  
  /* Firefox 3.6+ */
  background: -moz-linear-gradient(top, #008e3d, #006e3d);
  
  /* IE 10 */
  background: -ms-linear-gradient(top, #008e3d, #006e3d);
  
  /* Opera 11.10+ */
  background: -o-linear-gradient(top, #008e3d, #006e3d);
}


/* Styles for specific fields */
fieldset.interests textarea {
  height: 8em;
}

div.comments textarea {
  height: 10em;
}


.form-item.weedwarrior input[value="supervisor"] {
  margin-left: 20px;
}

.actions {
  margin-top: 20px;
}

.donation-ask {
  font-size: 1.1em;
}

.join {
  margin-bottom: 1em;
}

.description {
  font-style: italic;
}

.donation .radio,
.donation .other {
  display: inline;
}

.donation .radio input,
.donation .radio label {
  display: inline;
}

.donation .radio input {
  margin: 0 0.5em 0 0;
}

.donation .radio label {
  margin: 0 2em 0 0;
}

.donation .radio.last label {
  margin: 0 0.5em 0 0;
}

.donation .other input {
  width: 50px;
}


/** Change the layout responsively for small screens */
@media screen and (max-width: 949px) {
  body {
    padding: 20px;
  }

  #back-links {
    float: none;
    width: 100%;
  }
  
  #back-links a.homepage {
    vertical-align: middle;
  }
  #back-links a.explained {
    margin-left: 20px;
    vertical-align: middle;
  }
}

@media screen and (max-width: 849px) {
  body {
    padding: 20px;
  }

  .container {
    width: 100%;
  }
  
  #content {
    width: 95%;
  }
  
  .span-6, .span-7, .span-8, .span-9, .span-10, .span-11,
  .span-12, .span-13, .span-14, .span-15, .span-16, .span-17, .span-18, .span-19, .span-20, .span-21,
  .span-22, .span-23, .span-24 {
    float: none;
    width: 100%;
  }
  
  fieldset, fieldset.span-18 {
    width: 96%;
    padding: 0 2% 10px 2%;
  }


}