/* colorlib-regform-23 - Colorlib
 * Every style this snippet uses, and nothing else. No framework, no build step.
 */

/* Keeps a host page's framework base styles (Bootstrap's reboot) off this
   snippet: every element starts from the browser default, then this sheet
   styles it. On its own page it changes nothing. */
:where(html) :is(html,body,div,span,p,a,h1,h2,h3,h4,h5,h6,label,input,select,option,optgroup,textarea,button,form,fieldset,legend,ul,ol,li,dl,dt,dd,figure,figcaption,section,article,header,footer,nav,main,aside,strong,b,em,i,small,sub,sup,blockquote,pre,code,picture,progress,output,summary,details,address,abbr,mark), :is(html, body) {
  all: revert;
}
:where(html) input::-webkit-datetime-edit,
:where(html) input::-webkit-datetime-edit-fields-wrapper,
:where(html) input::-webkit-datetime-edit-text,
:where(html) input::-webkit-datetime-edit-month-field,
:where(html) input::-webkit-datetime-edit-day-field,
:where(html) input::-webkit-datetime-edit-year-field {
  all: revert;
}
:where(html) :is(img, svg) {
  vertical-align: revert;
}
:where(html) :is(img, table, thead, tbody, tfoot, tr, th, td, caption, hr, iframe, video) {
  box-sizing: revert;
}
:where(html) img {
  border-style: revert;
}
:where(html) table {
  border-collapse: revert;
  caption-side: revert;
}
:where(html) caption {
  padding-top: revert;
  padding-bottom: revert;
  color: revert;
  text-align: revert;
}
:where(html) th {
  text-align: revert;
}
:where(html) :is(thead, tbody, tfoot, tr, td, th) {
  border-color: revert;
  border-style: revert;
  border-width: revert;
}
:where(html) hr {
  margin: revert;
  color: revert;
  background-color: revert;
  border: revert;
  opacity: revert;
  height: revert;
  overflow: revert;
}

:is(*, html) {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.zmdi {
  display: inline-block;
  line-height: 1;
  font-size: inherit;
  font-style: normal;
}

.cl-icon {
  height: 1em;
  width: auto;
  fill: currentColor;
  display: inline-block;
}

@font-face {
  font-family: "Montserrat-Regular";

  src: url('../fonts/Montserrat-Regular.woff2') format('woff2');
}

@font-face {
  font-family: "Montserrat-Bold";

  src: url('../fonts/Montserrat-Bold.woff2') format('woff2');
}

@font-face {
  font-family: "Montserrat-SemiBold";

  src: url('../fonts/Montserrat-SemiBold.woff2') format('woff2');
}

body {
  font-family: "Montserrat-Regular";
  color: #fff;
  font-size: 15px;
  margin: 0;
}

input,
textarea,
button {
  font-family: "Montserrat-Regular";
  color: #fff;
  font-size: 15px;
}

p,
h3 {
  margin: 0;
}

.wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('../images22/bg-registration-form-7.jpg') no-repeat;
  background-size: cover;
}

.inner {
  max-width: 758px;
  margin: auto;
  background: #39459b;
  border: 10px solid #0d99d7;
  padding: 77px 99px 87px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
  -ms-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
  -o-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
}

textarea {
  resize: none;
}

h3 {
  text-transform: uppercase;
  font-size: 45px;
  font-family: "Montserrat-Bold";
  text-align: center;
  margin-bottom: 12px;
}

p {
  text-align: center;
  padding: 0 10px;
  margin-bottom: 55px;
  line-height: 1.8;
}

.cl-form-group {
  position: relative;
  display: block;
  margin-bottom: 48px;
}

.cl-form-group span {
  font-size: 15px;
  color: #00ade6;
  position: absolute;
  top: 11px;
  transition: all .2s ease;
  transform-origin: 0 0;
  cursor: text;
}

.cl-form-group span.cl-border {
  height: 2px;
  display: block;
  position: absolute;
  width: 100%;
  left: 0;
  top: 41px;
  transform: scaleX(0);
  transition: all .15s ease;
  background: #fff;
}

.cl-form-control {
  border: none;
  border-bottom: 2px solid #00ade6;
  display: block;
  width: 100%;
  height: 43px;
  font-size: 15px;
  background: none;
  font-family: "Montserrat-SemiBold";
}

.cl-form-control:focus,
.cl-form-control:valid {
  border-bottom: 2px solid #fff;
}

.cl-form-control:focus + span,
.cl-form-control:valid + span {
  transform: translateY(-22px) scale(0.8);
}

.cl-form-control:focus + span + .cl-border,
.cl-form-control:valid + span + .cl-border {
  transform: scaleX(1);
}

textarea.cl-form-control {
  padding-top: 10px;
  padding-bottom: 10px;
}

button {
  border: none;
  width: 162px;
  height: 51px;
  border: 2px solid #fff;
  margin: auto;
  margin-top: 60px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  color: #fff;
  text-transform: uppercase;
  font-family: "Montserrat-SemiBold";
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  position: relative;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}

button i {
  margin-left: 10px;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-transition-duration: 0.1s;
  transition-duration: 0.1s;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

button:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #2098D1;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: 0 50%;
  transform-origin: 0 50%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

button:hover {
  border-color: transparent;
}

button:hover:before {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

button:hover i {
  -webkit-transform: translateX(4px);
  transform: translateX(4px);
}

@media (max-width: 767px) {
  h3 {
    font-size: 38px;
  }

  p {
    font-size: 14px;
    padding: 0;
  }

  .inner {
    padding: 27px 20px 37px;
    border: none;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -ms-box-shadow: none;
    -o-box-shadow: none;
  }

  .wrapper {
    background: #39459b;
    border: 10px solid #0d99d7;
  }
}
