/* Buttons */
.button,a.button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
	border:1px solid $primary;
	border-radius:.6rem;
	padding:1.2rem 1.6rem;
	display:inline-block;
	color:$primary;
	margin:.6rem .2rem;
	text-align:center;
	background:transparent;
	font-size:1.3rem;
	line-height:1.3rem;
	letter-spacing:.07rem;
	cursor:pointer;
	font-weight:bold;
}
.button:hover,a.button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:focus,button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
  color: $grey;;
  border-color: $primary;
  outline: 0;
}
.button--fill,
a.button--fill,
button.button--fill,
input[type="submit"].button--fill,
input[type="reset"].button--fill,
input[type="button"].button--fill {
	background:$primary;
	color:$white;
}
.button--fill:hover,a.button--fill:hover,button.button--fill:hover,
input[type="submit"].button--fill:hover,
input[type="reset"].button--fill:hover,
input[type="button"].button--fill:hover,
.button--fill:focus,button:focus,
input[type="submit"].button--fill:focus,
input[type="reset"].button--fill:focus,
input[type="button"].button--fill:focus {
  color: $white;
  background: lighten($primary, 10);
  outline: 0;
}
.button--alt,
a.button--alt,
button.button--alt,
input[type="submit"].button--alt,
input[type="reset"].button--alt,
input[type="button"].button--alt {
	background:$alt;
	border-color:$alt;
	color:$white;
}
.button--alt:hover,a.button--alt:hover,button.button--alt:hover,
input[type="submit"].button--alt:hover,
input[type="reset"].button--alt:hover,
input[type="button"].button--alt:hover,
.button--alt:focus,button:focus,
input[type="submit"].button--alt:focus,
input[type="reset"].button--alt:focus,
input[type="button"].button--alt:focus {
  color: $grey;
  border-color: $buttonHoverColour; 
  outline: 0;
}

.button-close{
  box-sizing: content-box;
  width: 1em;
  height: 1em;
  padding: .25em .25em;
  color: $black;
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
  border: 0;
  border-radius: .375rem;
  opacity: .5;
  vertical-align:middle;
  cursor:pointer;
}

