
textarea {
  overflow: auto;
}

input,
textarea,
input:active,
textarea:active {
  outline: none transparent !important;
  box-shadow: none;
  -moz-outline: none !important;
  box-sizing: border-box;
}

/* input[type=submit],
button[type=submit],
input[type=reset],
button[type=reset] {
  -webkit-border-radius: 0;
  -webkit-appearance: none;
} */

:focus {
  outline: none;
}

::-ms-clear {
  display: none;
}


/*---------------
   PopUp
---------------*/
.popup_wrap {
  position: fixed;
  z-index: 999999999;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow-x: hidden;
  overflow-y: auto;
  height: 100vh;
  outline: 0 none;
  display: flex;
  justify-content: center;
  align-items: center;
}

#popup {
  background: #fff;
  position: relative;
  max-width: 450px;
  padding: 45px 45px 40px 45px;
  height: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

#popup .popup-close {
  position: absolute;
  z-index: 222;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  cursor: pointer;
  transition: opacity .3s linear;
  background: url("close.svg") 50% 50% no-repeat;
}

#popup .bt_close:hover {
  opacity: .7;
}

#fade {
  position: fixed;
  z-index: 1040;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  opacity: .5;
  background: #000;
}

@media screen and (max-width: 460px) {

  #popup {
    width: 100%;
    padding: 45px 25px 20px 25px;
  }
}

@media screen and (max-height: 600px) {

  .popup_wrap {
    align-items: flex-start;
  }
}