.regform {
  align-items: center;
  display: none;
  position: fixed;
  z-index: 1;
  /* padding-top: 100px; */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
}

.regform__content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 80%;
  max-width: 440px;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: regtop;
  -webkit-animation-duration: 0.4s;
  animation-name: regtop;
  animation-duration: 0.4s
}

.regform__close {
  color: #000;
  font-size: 28px;
  font-weight: bold;

}

.regform__close:hover,
.regform__close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.regform__header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 2px 16px;
  background-color: #fff;
  color: #6cb33f;
  padding: 16px 16px 0 16px;
}

@media screen and (max-width: 600px) {
  .regform__header {
    padding: 4px 10px 0 4px;
  }
}

.regform__title {
    font-size: 32px;
    font-family: 'Montserrat', sans-serif;
    color: #6cb33f;
}

.regform__body {
  padding: 2px 16px;
}

.regform__footer {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: end;
  justify-content: flex-end;
  padding: 16px;
  border-bottom-right-radius: .3rem;
  border-bottom-left-radius: .3rem;
  /* padding: 2px 16px; */
  background-color: #fff;
  color: #6cb33f;
}

@media screen and (max-width: 600px) {
  .regform__footer {
    padding: 4px 16px 8px;
  }
}

.regform__ok {
  display: flex;
  padding: 16px;
  background-color: #fff;
  color: #6cb33f;
  justify-content: flex-end;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
}

.regform__error {
  /* display: flex; */
  padding: 16px;
  background-color: #fff;
  color: red;
  justify-content: flex-end;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
}

@-webkit-keyframes regtop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes regtop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

.regform input[type=text], .regform input[type=email], .regform textarea {
  border: none;
  background-image: none;
  background-color: transparent;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  float: none;
  width: auto;
  /* margin-top: 20px; */
  margin: 8px 0 0 0;
  border: 1px solid;
  border-radius: 4px;
  border: 1px solid #6cb23f;
  padding-top: 8px;
  padding-bottom: 8px;
  width: 100%;
  padding-left: 12px;
  padding-right: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  box-sizing: border-box;
}

@media  screen and (max-width: 600px) {
  .regform input[type=text], .regform input[type=email], .regform textarea {
    margin-top: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
  }
}

.regform textarea {
  resize: vertical;
}

.regform label {
  font-family: 'Montserrat', sans-serif;
}

.regform__btn {
  font-family: 'Montserrat', sans-serif;
  border: none;
  color: #6cb23f;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
  /* margin-right: 15px; */
  margin-left: 15px;
  border-radius: 4px;
  border: 1px solid #6cb23f;
  padding-top: 8px;
  padding-bottom: 8px;
  min-width: 100px;
  background-color: transparent;
  outline: none;
  -webkit-appearance:none;
}

.regform__btn_ok:hover {
  background-color: #6cb23f;
  color: white;
}

.regform__btn_cancel {
  border: 1px solid #ccc;
  color: #000;
  background-color: #ccc;
  -webkit-appearance:none;
}

.regform__btn_cancel:hover {
  background-color: #aaa;
}

.reg__group {
  margin-bottom: 16px;
}

@media  screen and (max-width: 375px) {
  .reg__group {
    margin-bottom: 12px;
  }
}
