select,
input[type="text"],
input[type="password"] {
	border: 1px solid rgba(0, 0, 0, .2);
	border-radius: 10px;
	box-shadow: 0 3px 0 rgba(0, 0, 0, .2);
	font: inherit;
	height: 40px;
	margin: .5em 0 1em;
	outline: none;
	padding: 0;
	text-align: left;
	text-indent: 1em;
}

label.center {
	display: block;
	margin: 1em 0;
}

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

select {
	line-height: 40px;
	padding: .5em 1em;
	text-indent: 0;
  width: 320px;
}

input[type="text"],
input[type="password"],
input[type="submit"].button,
form a.button,
select {
	box-shadow: 0 3px 0 rgba(0, 0, 0, .1);
  display: block;
  width: 318px;
}

select:focus,
input[type="text"]:focus,
input[type="password"]:focus {
	border-color: #2E96D3;
	box-shadow:
    0 3px 0 rgba(0, 0, 0, .2),
    1px 1px 0 #2E96D3 inset,
    -1px 1px 0 #2E96D3 inset,
    1px -1px 0 #2E96D3 inset,
    -1px -1px 0 #2E96D3 inset; /* Hacky, but gets us close to the visual style we're after */
}

label,
fieldset {
	display: block;
	position: relative;
	width: 100%;
}

.has-error select,
.has-error input[type="text"],
.has-error input[type="password"] {
	border-color: #e84a4a;
	box-shadow: 0 3px 0 #e84a4a;
}

.button {
	-webkit-appearance: none;
	background-color: #2d95d3;
	border: 0;
	border-radius: 10px;
	box-shadow: 0 3px 0 rgba(0, 0, 0, .1);
  -moz-box-sizing: content-box;
  box-sizing: content-box;
	color: white;
	cursor: pointer;
	display: block;
	font: inherit;
	font-size: 18px;
	height: 40px;
  letter-spacing: 1px;
	line-height: 40px;
  margin: 1em auto;
  max-width: 282px;
  padding: 0 1em;
  position: relative;
	text-align: center;
	text-decoration: none;
	transition: background-color .5s;
  white-space: nowrap;
}

a.button:hover {
  text-decoration: none;
}

.button:hover:not(.disabled) {
	background-color: #2373a1;
}

.button.white {
	background-color: white;
	border: 1px solid #DDD;
	color: #2E96D3;
}

.button.white:hover {
	background-color: #f2f2f2;
}

.button.black {
	background-color: #333532;
}

.button.black:hover:not(.disabled) {
	background-color: #1a1c1a;
}

.button.facebook {
  background: #3b5998 url('/National_Library/20160521004321oe_/https://www.checkout51.com/shared/assets/img/icon-facebook.png') no-repeat 20px 6px;
	text-indent: 30px;
}

.button.facebook:hover {
  background-color: #283b66;
}

.button.large {
  display: block;
  width: 320px;
}

.button.disabled {
	opacity: 0.5;
}

a.button {
	text-decoration: none;
}

.button.next {
  border-radius: 10px 0 0 10px;
}

.button.prev {
  border-radius: 0 10px 10px 0;
}

.button.next:before,
.button.next:after,
.button.prev:before,
.button.prev:after {
  border-bottom-color: transparent;
  border-style: solid;
  border-top-color: transparent;
  border-width: 20px;
  content: '\00A0';
  display: block;
  height: 0;
  position: absolute;
  width: 0;
}

.button.next:before,
.button.next:after {
  border-right-color: transparent;
  left: 100%;
}

.button.prev:before,
.button.prev:after {
  border-left-color: transparent;
  right: 100%;
}

.button.next:after,
.button.prev:after {
  top: 0;
	transition: border-color .5s;
}

.button.next:before,
.button.prev:before {
  top: 3px;
}

.button.next:after {
  border-left-color: #2d95d3;
}

.button.next:hover:not(.disabled):after {
  border-left-color: #2373a1;
}

.button.prev:after {
  border-right-color: #2d95d3;
}

.button.prev:hover:not(.disabled):after {
  border-right-color: #2373a1;
}

.button.next:before {
  border-left-color: rgba(0, 0, 0, .2);
}

.button.prev:before {
  border-right-color: rgba(0, 0, 0, .2);
}

button.mobile {	display: none }

@media (max-width: 767px) {
	button.desktop {	display: none }
	button.mobile {	display: block }
}

