/*  Artfully masterminded by ZURB
  Make sure to include app.js / foundation.js if you are going to use inline label inputs
*/

/**************** Standard Forms ****************/

form {
  margin: 0;
}

form label {
  display: block;
  margin-bottom: 9px;
  font-size: 13px;
  line-height: 18px;
  cursor: pointer;
}

form.searchBar {
  position: relative;
  width: 100%;
  height: 49px;
}

.searchBar input[type="submit"]:hover {
  background: url(/images/btns/searchSubmitBtnHover.png) no-repeat 12% 20% #a9231d;
}

input.input-text {
  width: 77.2% !important;
  height: 49px;
  padding: 4px 3px 2px 35px  !important;
  margin: 0 5px 0 0 !important;
  font-size: 18px;
  line-height: 40px;
  color: #B32317;
  text-indent: 4px;
  background: url(/images/bg/searchInputBg.jpg) no-repeat left center #ffffff;
}

input.input-text::-webkit-input-placeholder {
  color: #B32317;
}

input[type="submit"].submit-btn {
  float: left;
  height: 49px;
  padding: 0;
  margin-left: 0 !important;
  text-align: center;
  cursor: pointer;
  background: url(/images/btns/searchSubmitBtn.jpg) no-repeat 12% 20% #b32317;
  border: none;
  -webkit-box-align: center;
}

input {
  float: left;
  padding: 4px 6px 2px 6px;
  margin: 0 !important;
  font-size: 17px;
  line-height: 33px;
  color: #808080;
  background-color: #FFFFFF;
  border: 1px solid #E6E6E6;
  -webkit-appearance: none;
}

input[type="submit"] {
  float: left;
  padding: 3px 0 0 0;
  margin-left: 0 !important;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 36px;
  color: #FFFFFF;
  text-align: center;
  text-indent: 0;
  text-transform: uppercase;
  cursor: pointer;
  background: url(/images/btns/searchSubmitBtn.jpg) no-repeat left center #b32317;
  border: 1px solid #B3B3B3;
  -webkit-border-radius: 0;
          border-radius: 0;
  -webkit-box-align: center;
  -webkit-appearance: none;
}

.select {
  margin: 5px 0 0 0;
  background: url(/images/bg/selectBg.jpg) no-repeat right center #ffffff;
  background: none\9;
  border: 1px solid #CCCCCC;
}

.select select {
  display: inline-block;
  width: 100%;
  margin: 2px 0 4px 0;
  font-family: 'Open Sans', sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 25px;
  color: #A02A1D;
  text-indent: 10px;
  background: none;
  -webkit-appearance: none;
     -moz-appearance: window;
}

.select select::-ms-expand {
  display: none;
}

input.input-text,
textarea,
select {
  display: block;
  margin-bottom: 9px;
  cursor: pointer;
  border: 0;
}

@media only screen and (min-width: 0) and (max-width: 767px) {
  input {
    line-height: 36px;
  }
  input.input-text {
    width: 77.2% !important;
    height: 49px;
    padding: 4px 3px 2px 5px  !important;
    margin: 0 5px 0 0 !important;
    line-height: 40px;
    color: #B32317;
    text-indent: 4px;
    background: #FFFFFF;
  }
  input[type="submit"] {
    background: #B32317;
  }
  input[type="submit"].submit-btn {
    font-size: 10px;
    font-size: 1.0rem;
    background: #B32317;
  }
  input.input-text {
    font-size: 12px;
    line-height: 20px;
  }
  .searchBar input[type="submit"]:hover {
    background: #A9231D;
  }
  .select {
    margin: 5px 0 20px 0;
  }
}

label + input.input-text,
label + textarea,
label + select,
label + div.dropdown,
select + div.dropdown {
  margin-top: -9px;
}

textarea {
  max-width: 100%;
}

/* Text input and textarea font and padding */

textarea {
  padding: 4px 3px 2px;
  font-size: 13px;
  line-height: 30px;
  background-color: #fff;
}

/* Text input and textarea sizes */

input.input-text,
textarea {
  width: 254px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

input.small,
textarea.small {
  width: 134px;
}

input.medium,
textarea.medium {
  width: 254px;
}

input.large,
textarea.large {
  width: 434px;
}

input.expand,
textarea.expand {
  width: 100%;
}

/* Lock textareas so they can't be resized beyond their set width in webkit */

textarea.locked {
  max-width: 254px;
}

textarea.locked.small {
  max-width: 134px;
}

textarea.locked.large {
  max-width: 434px;
}

textarea.locked.expand {
  max-width: 100%;
}

/* Fieldsets */

form fieldset {
  padding: 9px 9px 2px 9px;
  margin: 18px 0;
  border: solid 1px #ddd;
}

/* Inlined Radio & Checkbox */

.form-field input[type=radio],
div.form-field input[type=checkbox] {
  display: inline;
  width: auto;
  margin-bottom: 0;
}

/* Errors */

.form-field.error input,
input.input-text.red {
  background-color: rgba(255, 0, 0, 0.15);
  border-color: #C00000;
}

.form-field.error label,
label.red {
  color: #C00000;
}

.form-field.error small,
small.error {
  display: block;
  width: 254px;
  margin-top: -6px;
  margin-bottom: 9px;
  font-size: 11px;
  color: #C00000;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

.small + small.error {
  width: 134px;
}

.medium + small.error {
  width: 254px;
}

.large + small.error {
  width: 434px;
}

.expand + small.error {
  width: 100%;
}

.small.oversize + small.error {
  width: 144px;
}

.medium.oversize + small.error {
  width: 264px;
}

.large.oversize + small.error {
  width: 444px;
}

.expand.oversize + small.error {
  width: 100%;
}

/* -----------------------------------------
     Nicer Forms
  ----------------------------------------- */

form.nice div.form-field input,
form.nice input.input-text,
form.nice textarea {
  border: solid 1px #bbb;
  -webkit-border-radius: 2px;
     -moz-border-radius: 2px;
          border-radius: 2px;
}

form.nice div.form-field input,
form.nice input.input-text,
form.nice textarea {
  padding: 6px 3px 4px;
  font-size: 13px;
  background: url(/images/misc/input-bg.png) #ffffff;
  outline: none !important;
}

form.nice div.form-field input:focus,
form.nice input.input-text:focus,
form.nice textarea:focus {
  background-color: #f9f9f9;
}

/* Text input and textarea, disabled */

form.nice div.form-field input[disabled],
form.nice input.input-text[disabled],
form.nice textarea[disabled] {
  background-color: #ddd;
}

form.nice fieldset {
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          border-radius: 3px;
}

form.nice div.form-field input[type=radio],
form.nice div.form-field input[type=checkbox] {
  display: inline;
  width: auto;
  margin-bottom: 0;
}

form.nice div.form-field.error small,
form.nice small.error {
  padding: 6px 4px;
  margin-top: -10px;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  background: #C00000;
  border: solid 0 #C00000;
  border-width: 0 1px 1px 1px;
  -webkit-border-bottom-right-radius: 2px;
          border-bottom-right-radius: 2px;
  -webkit-border-bottom-left-radius: 2px;
          border-bottom-left-radius: 2px;
  -moz-border-radius-bottomright: 2px;
  -moz-border-radius-bottomleft: 2px;
}

form.nice div.form-field.error .small + small,
form.nice .small + small.error {
  width: 132px;
}

form.nice div.form-field.error .medium + small,
form.nice .medium + small.error {
  width: 252px;
}

form.nice div.form-field.error .large + small,
form.nice .large + small.error {
  width: 432px;
}

form.nice div.form-field.error .small.oversize + small,
form.nice .small.oversize + small.error {
  width: 136px;
}

form.nice div.form-field.error .medium.oversize + small,
form.nice .medium.oversize + small.error {
  width: 256px;
}

form.nice div.form-field.error .large.oversize + small,
form.nice .large.oversize + small.error {
  width: 436px;
}

/* -----------------------------------------
     Custom Forms
  ----------------------------------------- */

form.custom span.custom {
  position: relative;
  top: 2px;
  display: inline-block;
  width: 14px;
  height: 14px;
  background: url(/images/misc/custom-form-sprites.png) 0 0 no-repeat;
  border: solid 1px #ccc;
}

form.custom span.custom.radio {
  -webkit-border-radius: 7px;
     -moz-border-radius: 7px;
          border-radius: 7px;
}

form.custom span.custom.radio.checked {
  background-position: 0 -14px;
}

form.custom span.custom.checkbox.checked {
  background-position: 0 -28px;
}

form.custom div.custom.dropdown {
  position: relative;
  display: block;
  width: auto;
  height: 28px;
  margin-top: 2px;
  margin-bottom: 9px;
}

form.custom div.custom.dropdown a.current {
  display: block;
  width: auto;
  min-height: 26px;
  padding: 0 38px 0 6px;
  line-height: 26px;
  color: #141414;
  word-wrap: nowrap;
  background-color: #fff;
  border: solid 1px #ddd;
}

form.custom div.custom.dropdown a.selector {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: 26px;
  height: 26px;
  background: url(/images/misc/custom-form-sprites.png) -14px 1px no-repeat;
  border: solid 1px #ddd;
}

form.custom div.custom.dropdown:hover a.selector,
form.custom div.custom.dropdown.open a.selector {
  background-position: -14px -26px;
}

form.custom div.custom.dropdown ul {
  position: absolute;
  top: 27px;
  left: 0;
  display: none;
  width: auto;
  padding: 0;
  margin: 0;
  background: #fff;
  background: rgba(255, 255, 255, 0.95);
  border: solid 1px #ddd;
}

form.custom div.custom.dropdown ul li {
  min-height: 18px;
  padding: 3px 38px 3px 6px;
  margin: 0;
  white-space: nowrap;
  cursor: pointer;
}

form.custom div.custom.dropdown ul li.selected {
  background: url(/images/misc/custom-form-sprites.png) right -52px no-repeat;
}

form.custom div.custom.dropdown ul li:hover {
  color: #fff;
  background-color: #2a85e8;
}

form.custom div.custom.dropdown ul li.selected:hover {
  background: url(/images/misc/custom-form-sprites.png) #2a85e8 right -78px no-repeat;
}

form.custom div.custom.dropdown ul.show {
  display: block;
}

form.custom div.custom.dropdown.open ul {
  z-index: 10;
  display: block;
}

form.custom div.custom.dropdown.small {
  width: 134px !important;
}

form.custom div.custom.dropdown.medium {
  width: 254px !important;
}

form.custom div.custom.dropdown.large {
  width: 434px !important;
}

form.custom div.custom.dropdown.expand {
  width: 100% !important;
}

form.custom div.custom.dropdown.open.small ul {
  width: 132px !important;
}

form.custom div.custom.dropdown.open.medium ul {
  width: 252px !important;
}

form.custom div.custom.dropdown.open.large ul {
  width: 432px !important;
}

form.custom div.custom.dropdown.open.expand ul {
  width: 100% !important;
  box-sizing: border-box;
}

/* Custom input, disabled */

form.custom .custom.disabled {
  background-color: #ddd;
}

/* -----------------------------------------
     Nicer Custom Forms
  ----------------------------------------- */

form.custom.nice span.custom.checkbox {
  -webkit-border-radius: 2px;
     -moz-border-radius: 2px;
          border-radius: 2px;
}

form.custom.nice div.custom.dropdown a.current {
  background-image: url(/images/misc/input-bg-outset.png);
  background-position: bottom right;
  -webkit-border-radius: 2px;
     -moz-border-radius: 2px;
          border-radius: 2px;
}

form.custom.nice div.custom.dropdown a.selector {
  height: 27px;
  border-width: 0 0 0 1px;
}

form.custom.nice div.custom.dropdown ul {
  -webkit-border-bottom-right-radius: 2px;
          border-bottom-right-radius: 2px;
  -webkit-border-bottom-left-radius: 2px;
          border-bottom-left-radius: 2px;
  -moz-border-radius-bottomright: 2px;
  -moz-border-radius-bottomleft: 2px;
}

/* -----------------------------------------
     Login Form Ovverides
  ----------------------------------------- */

.login-form input {
  float: none;
}

.login-form input.check-box {
  -webkit-appearance: checkbox;
}

.login-form input[type="submit"] {
  padding: 3px 12px;
  background: #B32317;
}

.login-form .columns {
  margin-bottom: 15px;
}

.login-form .field-validation-error {
  display: block;
  margin-top: 5px;
  color: #B32317;
}




/* EDITOR PROPERTIES - PLEASE DON'T DELETE THIS LINE TO AVOID DUPLICATE PROPERTIES */
