/* http://meyerweb.com/eric/tools/css/reset/
  v2.0 | 20110126
  License: none (public domain)
*/
@import url('https://fonts.googleapis.com/earlyaccess/opensanshebrew.css');
@import 'success.css';

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

* {
  box-sizing: border-box;
}

.he,
.ar {
  direction: rtl;
}

.main-wrapper {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
}

.moto {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.moto__title {
  margin-bottom: 10px;
  font-size: 26px;
  font-weight: bold;
  color: #f15e5f;
  line-height: 1;
  font-family: 'Open Sans Hebrew';
  text-transform: uppercase;
  text-align: center;
}
@media only screen and (min-width: 568px) {
  .moto__title {
    font-size: 36px;
  }
}
@media only screen and (min-width: 992px) {
  .moto__title {
    text-align: initial;
  }
}
.moto__subtitle {
  font-size: 18px;
  font-weight: bold;
  color: #51be98;
  line-height: 1;
  font-family: 'Open Sans Hebrew';
  text-transform: uppercase;
  text-align: center;
}
@media only screen and (min-width: 568px) {
  .moto__subtitle {
    font-size: 26px;
  }
}
@media only screen and (min-width: 992px) {
  .moto__subtitle {
    text-align: initial;
  }
}
.moto img {
  display: block;
  width: 90%;
  height: auto;
  align-self: flex-end;
  margin-bottom: 20px;
}

.logo {
  display: inline-block;
}
.logo img {
  display: block;
  height: 50px;
  width: auto;
}
.logo svg {
  display: block;
  height: 40px;
  width: auto;
}

.form-box-wrapper {
  width: 100%;
  max-width: 992px;
  margin: auto;
  padding: 20px;
  background-color: #0093bc;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.form-box {
  min-height: 200px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 4px;
  box-shadow: 2px 0px 14px rgba(0, 0, 0, 0.25);
  position: relative;
}
.form-box__header {
  margin-bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
}
.form-box__body {
  min-height: 200px;
}
@media only screen and (min-width: 992px) {
  .form-box__body {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: 1fr 1fr;
  }
}

.tl-corner {
  display: none;
  height: 104px;
  width: auto;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}
@media only screen and (min-width: 568px) {
  .tl-corner {
    display: block;
  }
}

.br-corner {
  display: none;
  height: 188px;
  width: auto;
  position: absolute;
  bottom: 0;
  right: -1px;
  z-index: 10;
}
@media only screen and (min-width: 568px) {
  .br-corner {
    display: block;
  }
}

.form {
  margin: 0 auto;
  padding-top: 20px;
}
@media only screen and (min-width: 992px) {
  .form {
    max-width: 345px;
  }
}

.form__content {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #6d6f80;
  text-align: center;
  color: #6d6f80;
  font-family: 'Open Sans Hebrew';
}
.form__title {
  margin-bottom: 10px;
  text-align: center;
  color: #f15e5f;
  font-family: 'Open Sans Hebrew';
  text-transform: uppercase;
}

.form-unit {
  display: flex;
  flex-flow: column-reverse;
  margin-bottom: 10px;
}
.form-unit input,
.form-unit label {
  display: block;
  transition: all 0.2s;
  touch-action: manipulation;
}
.form-unit__label {
  font-size: 14px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Open Sans Hebrew';
  color: #6d6f80;
}
.form-unit__control {
  height: 36px;
  padding: 0 15px;
  border: 1px solid #6d6f80;
  border-radius: 999px;
}
.form-unit__control:focus {
  outline: 0;
}
.form-unit__control:placeholder-shown + .form-unit__label {
  transform-origin: left bottom;
  transform: translate(15px, 28px) scale(1.2);
}
.form-unit__control:not(:placeholder-shown) + .form-unit__label {
  transform: translate(15px, 0) scale(1);
}
.form-unit__control:focus + .form-unit__label {
  transform: translate(15px, 0) scale(1);
}

.action {
  padding-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.action button {
  height: 36px;
  width: 180px;
  display: flex;
  padding: 0;
  justify-content: center;
  align-items: center;
  border: none;
  border-radius: 999px;
  background-color: #f15e5f;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  color: #ffffff;
  cursor: pointer;
}
.action button:hover {
  background-color: #ef4748;
}

.he .form-unit__control:placeholder-shown + .form-unit__label,
.ar .form-unit__control:placeholder-shown + .form-unit__label {
  transform-origin: right bottom;
  transform: translate(-15px, 28px) scale(1.2);
}
.he .form-unit__control:not(:placeholder-shown) + .form-unit__label,
.ar .form-unit__control:not(:placeholder-shown) + .form-unit__label {
  transform: translate(-15px, 0) scale(1);
}
.he .form-unit__control:focus + .form-unit__label,
.ar .form-unit__control:focus + .form-unit__label {
  transform: translate(-15px, 0) scale(1);
}

/*# sourceMappingURL=form.css.map */
