html,
body {
  margin: 0;
  padding: 0;
}

body {
  background-color: #eee;
  font-family: "Roboto", helvetica, arial, sans-serif;
}

.close.closeBtn {
  font-size: 3rem;
  position: absolute;
  right: .5em;
  top: .5em;
}

/* box */
.box {
  background-color: #fff;
  display: block;
  max-width: 750px;
  margin: 10vh auto 0 auto;
  padding: 3em;
  position: relative;
}

h1 {
  font-size: 1.75em;
}

h3 {
  font-size: 1em;
}

p {
  color: #8b0000;
  margin-top: 1em;
}

/* form */
form {
  margin-top: 2em;
  padding: 0;
}

.form-header{
  display: flex;
  flex-direction: column;
}

input {
  padding: 0.75em;
}

.input {
  display: flex;
  flex-direction: column;
}

.label {
  display: flex;
  margin-bottom:.5rem;
  max-height: 1.75em;
  position: relative;
}

div.box form textarea {
  border: #777 1px solid;
  border-radius: 0px;
}

div.box form input {
  border: #777 1px solid;
  height: 3em;
  border-radius: 0px;
}

div.box form input:focus {
  border-bottom: #8b0000 3px solid;
  outline: none;
  border-radius: 0px;
}

div.box form .invalid-input {
  border: #8b0000 2px solid;
}

button.btn {
  background-color: #f7c8ae;
  color: #000;
  text-transform: uppercase;

  font-size: 1em;
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0.75em 2.5em;
  min-width: 10em;
  border-radius: 3px;
}


button.btn img {
  display: none;
  margin-left: 1.5em;
  width: 1.5em;
}

a {
  color: #ac194a;
  text-decoration: none;
}

a.line3 {
  line-height: 3em;
}

a.line4 {
  float: right;
}

a:hover {
  color: #ac194a;
  text-decoration: underline;
}

/*Show password toggle*/
.password-container {
  position: relative;
}

.password-container input {
  width: 100%;
}

.password-container img {
  cursor: pointer;
  position: absolute;
  width: auto;
  height: 65%;
  margin: 0;
  top: 50%;
  transform: translateY(-50%);
  right: 0.75em;
}

label {
  display: inline-block;
  margin-bottom: 0
}

.help-box-icon {
  display: inline-block;
  margin-left: 0.5em;
  max-width: 1em;
}

.help-box-icon:focus {
  outline: 1px dotted black !important;
}
/*
.help-box-icon:focus+.help-box  {
  display: block;
}
*/

@media (max-width: 767px) {
  button.btn {
    width: 100%;
  }
}

.help-box {
  display: none;
  position: absolute;
  top: 5em;
  z-index: 10;
  background-color: #fff;
  padding: 1em;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.help-box ul {
  list-style-image: url("../icons/circle_tick_border.svg");
  margin: 0;
  padding: 0;
  list-style-position: inside;
}
.help-box li {
  margin-bottom: .25em;
}
.close-help {
	background-color: transparent;
	border: none;
	padding: 0;
	width: 1.25em;
	height: 1.25em;
}

.close-help img {
	width: 100%;
	height: 100%;
}

a.external2 {
    background: url("/auth/pub/www/icons/arrow_link.svg") 100% no-repeat;
    background-size: 8px;
    padding-right: 16px;
}

.submit {
  margin-top: 1.5em;
}

.submit .hasClose {
  display: flex;
  flex-direction: column;
}

.submit .hasClose .buttons {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-top: 1em;
}

@media (max-width: 576px){
	.submit .hasClose .buttons{
		flex-direction: column-reverse;
	}
}

.submit .hasClose .buttons button,
.submit .hasClose .buttons a {
  width: 45%;
  text-decoration: none;
  color: #000;
}

@media (max-width: 576px){
	.submit .hasClose .buttons button{
		width: 100%;
	}
	
	.submit .hasClose .buttons button:first-child{
		margin-top: 1.5em;
	}
}

.submit .hasClose .buttons .primary {
  background-color: #f7c8ae;
}

.submit .hasClose .buttons .secondary {
  background-color: #fff;
  border-width: 1px;
  border-color: #f7c8ae;
  border-style: solid;
}

.primary, button[type=submit] {
  transition: border-color 60ms  !important;
  will-change: border-color !important;
}
.primary:hover:enabled, button[type=submit]:hover:enabled {
  background-color: #dca382 !important;
  border-color: #dca382 !important;
}

.secondary {
  transition: border-color 60ms !important;
  will-change: border-color !important;
}

.secondary:hover:enabled {
  box-shadow: inset 0px 0px 0px 2px #dca382 !important;
}

form {
  padding-left: 0;
  padding-right: 0;
}
