* {
  box-sizing: border-box;
}

.forms, .buttons {
  width: 100%;
  padding-left: 30px;
  padding-right: 30px;
}


.modal {


  display: none;
 
    background: #f3f4f5;
    -webkit-box-shadow: inset 0px 0px 18px rgba(100, 100, 100, 0.2), rgba(0,0,0,.8) 1px 1px 4px;
    -moz-box-shadow: inset 0px 0px 18px rgba(100, 100, 100, 0.2), rgba(0,0,0,.8) 1px 1px 4px;
    box-shadow: inset 0px 0px 18px rgba(100, 100, 100, 0.2), rgba(0,0,0,.8) 1px 1px 4px;
    border: 1px solid #d6d6d6;
    left: 50%;
    margin-left: -190px;
    position: fixed;
    top: 50px;
    width: 380px;
    z-index: 110;
    color: #323d53;
    display: none;
    height: auto;
    border-radius: 30px;

}

.modal_active {
  display: block;
}

.modal__container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__wrapper {
  padding: 20px;

}

.modal__title {
  text-align: center;
  text-transform: uppercase;
  color: #000000;
  font-size: 14px;
  font-weight: 600;
  padding: 10px;
  margin-top: 20px;
}

.form__title {
  text-align: center;
  text-transform: uppercase;
  color: #3a3a3a;
  font-size: 12px;

  padding: 10px;
  margin-top: 5x;
}

.modal__close {
  position: absolute;
  display: block;
  top: 17px;
  right: 23px;
  width: 24px;
  height: 24px;
  cursor: pointer;
  text-indent: -500px;
  overflow: hidden;
}

.modal__close:after {
  display: block;
  content: '×';
  position: absolute;
  line-height: 24px;
  font-size: 24px;
  text-indent: 0;
  top: 0;
  right: 0;
  color: #000000;
}


.modal__content input[type=text], .modal__content input[type=email] {
  margin-top: 0px;
  margin-right: 10px;
  margin-bottom: 0px;
  margin-left: 0px;
  border: 1px solid #CCCCCC;
  padding: 15px;
  background-color: #fff;
  width: 100%;
  box-sizing: border-box;
}

.modal__content .form__button {
  width: 100%;
  cursor: pointer;
  background-color: #ffcc66;
  border: none;
  color: #000000;
  padding: 15px;
  font-size: 16px;
  -webkit-transition: .7s;
  -moz-transition: .7s;
  -o-transition: .7s;
  transition: .7s;
}

.form__fields {
  margin-top:10px;
}

.contacts .form__title {
  font-size: 1.5em;
  text-align: center;
  margin-bottom: 15px;
  margin-top: 5px;
}

.contacts input[type=text], .contacts input[type=email] {
  margin: 15px 0;
  padding: 15px;
  border-radius: 15px;
  border: 1px solid #A6A6A6;
  outline: none;
  box-sizing: border-box;
  width: 100%;
}

.contacts .form__button {
  padding: 1em 2em;
  background: #ffcc66;
  border-radius: 25px;
  text-align: center;
  cursor: pointer;
  border: 0;
  margin-top: 30px;
  width: 100%;
}

