/*
================================================================================
FORMS
================================================================================
*/

form {
  margin: 0;
}

fieldset {
  margin: 18px 0 0 0;
  border: none;
}

legend {
  padding: 4px;
}

.form-group {
  position: relative;
}

/* Label / Caption
-------------------------------------------------------------------------------- */
label {
  cursor: pointer;
}

.form-caption-1 {
  padding-right: 5px;
  padding-bottom: 5px;
  vertical-align: baseline;
}

.form-caption-2 {
  padding-right: 5px;
  padding-bottom: 5px;
  font-weight: bold;
  vertical-align: baseline;
}

/* Inputs
-------------------------------------------------------------------------------- */
.form-element-1 {
  padding-right: 5px;
  padding-bottom: 15px;
  vertical-align: baseline;
}

.form-element-2 {
  padding-right: 5px;
  padding-bottom: 15px;
  vertical-align: baseline;
}

[type="text"],
[type="email"],
[type="password"],
[type="number"],
select,
textarea {
  width: 100%;
  height: auto;
  min-height: 40px;
  padding: 11px 15px;
  font-size: 16px;
  line-height: inherit;
  color: #333;
  vertical-align: middle;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 3px;
}

/*
-------------------
Input Error State
-------------------
*/
.has-error {
  padding-bottom: 0;
}

.form-element-1+.form-error-1 {
  margin-top: -15px;
}

.has-error input,
.has-error select,
.has-error textarea {
  border-color: #f00;
}

/* error message */
.form-error-1,
.has-error .help-block {
  display: block;
  margin-bottom: 15px;
  font-size: 80%;
  color: #f00;
}


/* TextArea
-------------------------------------------------------------------------------- */
textarea {
  width: 100%;
}


/* Select/Dropdowns
-------------------------------------------------------------------------------- */
select {
  position: relative;
}


/* Checkbox & Radio
-------------------------------------------------------------------------------- */
[type="checkbox"],
[type="radio"] {
  margin-top: 7px;
  margin-right: 7px;
}

.collection::before,
.collection-caption::before {
  display: none !important;
}

.collection,
.collection-caption {
  display: table-cell !important;
  vertical-align: baseline;
}

.collection {
  padding-right: 7px;
}

.collection-caption {
  padding-right: 30px;
}

.collection-caption label {
  font-weight: normal;
}


/* Buttons
-------------------------------------------------------------------------------- */
:root {
  /* default */
  --py: 10px;
  --px: 30px;

  /* lg */
  --py-lg: calc(var(--py) * 1.25);
  --px-lg: calc(var(--px) * 2);

  /* sm */
  --py-sm: calc(var(--py) * 0.5);
  --px-sm: calc(var(--px) * 0.75);

  /* xs */
  --py-xs: calc(var(--py) * 0.25);
  --px-xs: calc(var(--px) * 0.5);
}

.btn,
button,
[type="button"],
[type="submit"],
[type="reset"] {
  margin-top: 3px;
  margin-right: 5px;
  margin-bottom: 3px;
  padding: var(--py) var(--px);
  font-size: 16px;
  font-weight: 600;
  line-height: inherit;
  text-decoration: none !important;
  text-shadow: none;
  text-transform: uppercase;
  vertical-align: middle;
  background-image: none;
  border: 2px solid transparent;
  border-radius: 0;
  box-shadow: none;
  transition: all .5s;
  -webkit-appearance: none;
}

/*
-------------------
Button Sizes
-------------------
*/

.btn-xs {
  padding: var(--py-xs) var(--px-xs);
  font-size: 50%;
}

.btn-sm {
  padding: var(--py-sm) var(--px-sm);
  font-size: 75%;
}

.btn-lg {
  padding: var(--py-lg) var(--px-lg);
  font-size: 100%;
}

/*
-------------------
Hover (all buttons)
-------------------
*/
.btn:hover,
button:not(.navbar-toggle):hover,
[type="button"]:not(.navbar-toggle):hover,
[type="submit"]:hover,
[type="reset"]:hover {
  text-decoration: none !important;
  background-image: none;
}

.btn:active,
button:not(.navbar-toggle):active,
[type="button"]:not(.navbar-toggle):active,
[type="submit"]:active,
[type="reset"]:active {
  outline: none !important;
  box-shadow: none;
}

.btn:focus,
button:not(.navbar-toggle):focus,
[type="button"]:not(.navbar-toggle):focus,
[type="submit"]:focus,
[type="reset"]:focus {
  outline: none !important;
}

/*
-------------------
Default Button
-------------------
*/
.btn.btn-default,
[type="button"],
[type="reset"] {
  background-color: var(--default-color-darker);
  border-color: var(--default-color-darker);
}

.btn.btn-default:hover,
[type="button"]:hover,
[type="reset"]:hover {
  background-color: var(--default-color-darkest);
  border-color: var(--default-color-darkest);
}

/*
-------------------
Primary Button
-------------------
*/
.btn.btn-primary,
[type="submit"] {
  color: #fff;
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn.btn-primary:hover,
[type="submit"]:hover {
  background-color: var(--primary-color-darker);
  border-color: var(--primary-color-darker);
}


/*
-------------------
Secondary Button
-------------------
*/
.btn.btn-secondary,
[type="submit"] {
  color: #fff;
  background-color: #05a6e5;
  border-color: #05a6e5;
}

.btn.btn-secondary:hover,
[type="submit"]:hover {
  background-color: #0084b8;
  border-color: #0084b8;
}


/*
-------------------
Blue 'Donate' Button
-------------------
*/
.btn.btn-blue,
[type="submit"] {
  color: #fff;
  background-color: #337eff;
  border-color: #fff;
}

.btn.btn-blue:hover,
[type="submit"]:hover {
  background-color: #333;
  border-color: #333;
}


/*
-------------------
Green 'Donate' Button
-------------------
*/
.btn.btn-green,
[type="submit"] {
  color: #fff;
  background-color: #a6c247;
  border-color: #fff;
}

.btn.btn-green:hover,
[type="submit"]:hover {
  background-color: #333;
  border-color: #333;
}


/*
-------------------
Outline Button
-------------------
*/
.btn.btn-outline {
  color: inherit;
  background-color: transparent;
  border-color: inherit;
}

.btn.btn-outline:hover {
  background-color: rgba(0, 0, 0, 0.1);
  border-color: inherit;
}

/*
-------------------
Link Button
-------------------
*/
.btn.btn-link {
  padding-right: 0;
  padding-left: 0;
  color: var(--primary-color);
  background-color: transparent;
  border-color: transparent;
}

.btn.btn-link:hover {
  color: var(--primary-color-darker);
}


/*
-------------------
Text Link
-------------------
*/
.btn.text-link {
  padding: 0;
  color: #333;
  background-color: transparent;
  border-color: transparent;
  text-transform: uppercase;
  font-weight: 700;
  text-shadow: none;
  letter-spacing: 1px;
}

.btn.text-link:after {
  font-family: fontawesome;
  content: '\f105';
  padding-left: 8px;
  position: relative;
  font-size: 120%;
  font-weight: 400;
  transition: all .5s;
}

.btn.text-link:hover:after {
  padding-left: 13px;
}

.btn.text-link.light {
  color: #fff;
}

.btn.text-link.light:hover {
  color: #000;
}


/* Captcha
-------------------------------------------------------------------------------- */
.captcha-normal {
  margin-bottom: 30px;
  padding-left: 0 !important;
}

.captcha-image {
  padding-bottom: 20px;
}

.captcha-normal+.form-error-1 {
  display: block;
  margin-top: -30px;
}

/*
------------------------
Captcha Popup
------------------------
*/
.captcha-popup {
  color: #fff;
  background-color: #000;
}

.captcha-popup input[type=button] {
  margin-top: 4px;
  padding: 5px 10px;
  font-weight: bold;
  color: #333;
  text-transform: uppercase;
  background-color: #e4e4e4;
  border: 0;
}

.captcha-input input[type="text"] {
  width: 192px !important;
}


/* Site Search
-------------------------------------------------------------------------------- */
.site_search_elements {
  margin-bottom: 15px;
}

.site_search_elements {
  display: flex;
}

.site_search_elements [type="text"] {
  flex: 1;
}

.site_search_elements [type="submit"] {
  margin: 0 0 0 -1px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.site_search a {
  font-size: inherit !important;
}

.site_search_optionset {
  margin-bottom: 15px;
  padding: 10px 15px;
  background-color: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 3px;
}

/*
-------------------
Site Search Module
-------------------
*/
.module-search-001 table {
  width: 100%;
}

.module-search-001 [type="text"] {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.module-search-001 td:last-child {
  width: 10%;
}

.module-search-001 [type="submit"] {
  width: 100%;
  margin: 0 0 0 -1px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}


/* News Filter Search
-------------------------------------------------------------------------------- */
#filter_list_news_articles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

#filter_list_news_articles [type="text"] {
  flex: 1;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

#filter_list_news_articles [type="submit"] {
  margin-top: -1px;
  margin-left: -1px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}



/* Basic Form
-------------------------------------------------------------------------------- */
.basic-form table {
  width: 100%;
}

.basic-form input[type="text"],
.basic-form select {
  width: 100% !important;
  padding: 2px 10px;
  height: 40px;
}

.basic-form textarea {
  width: 100% !important;
  padding: 2px 10px;
  height: 200px;
}

.basic-form .form-caption-1,
.basic-form .form-element-1 {
  width: 100%;
  display: block;
}

.basic-form p {
  margin-bottom: 0;
}