.cd-popup.is-visible {
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  -moz-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s
}

.cd-popup {
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, .5);
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
  -moz-transition: opacity .3s 0s, visibility 0s .3s;
  transition: opacity .3s 0s, visibility 0s .3s;
  z-index: 1000
}

.cd-popup .div_info {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -15%;
  margin-top: -15%;
  float: none;
  max-height: 100%;
  overflow: auto
}

.cd-popup .div_info {
  width: 30%;
  padding: 55px;
  background: #fff;
  box-shadow: 2px 3px 10px rgba(0, 0, 0, .1);
  border-radius: 24px
}

.cd-popup .div_info h3 {
  padding-bottom: 20px;
  font-size: 28px;
  color: #333;
  line-height: 24px;
  letter-spacing: 1px;
  font-family: montserrat-bold
}

.cd-popup .div_info input,
.cd-popup .div_info textarea {
  display: block;
  width: 100%;
  height: 52px;
  margin: 0 auto;
  margin-top: 20px;
  padding-left: 30px;
  font-size: 15px;
  border: none;
  background: #fafafa;
  border: 1px solid #eee;
  outline: none;
  border-radius: 8px
}

.cd-popup .div_info button {
  width: 100%;
  height: 56px;
  font-size: 15px;
  color: #000;
  border:1px solid #000;
  background:#fff;
  margin-top: 30px;
  outline: none;
  letter-spacing: 1px;
  font-family: montserrat-bold;
  -webkit-transition: .3s all;
  -moz-transition: .3s all;
  -ms-transition: .3s all;
  transition: .3s all;
  border-radius: 8px
}

.cd-popup .div_info button:hover {
  color:#fff;
  background: var(--color-primary);
  cursor: pointer
}

.cd-popup .div_info textarea {
  height: 166px;
  padding: 20px 30px;
  line-height: 30px
}

.cd-popup .cd-popup-close {
  position: absolute;
  right: 7%;
  top: 41px;
  font-size: 26px;
  line-height: 42px;
  color: #999
}

.cd-popup .cd-popup-close:hover {
  text-decoration: none
}


.cd-popup .input-position {
  position: relative
}

@media screen and (max-width:1580px) {
  .cd-popup .div_info {
    top: 80px;
    margin-left: -18%;
    margin-top: 0;
    max-height: 76%;
    width: 36%;
  }

  .cd-popup .div_info input {
    height: 48px
  }

  .cd-popup .div_info {
    padding: 40px
  }

  .cd-popup .div_info h3 {
    padding-bottom: 15px
  }

  .cd-popup .div_info textarea {
    height: 150px
  }

  .cd-popup-close {
    top: 24px
  }
}

@media screen and (max-width:1280px) {

  .cd-popup .div_info textarea {
    line-height: 26px
  }
}

@media screen and (max-width:960px) {

  .cd-popup .div_info {
    width: 86%;
    margin-left: -43%;
    padding: 30px;
  }

  .cd-popup .cd-popup-close {
    top: 15px
  }

  .cd-popup .div_info button {
    margin-top: 28px
  }
}

@media screen and (max-width:340px) {

  .cd-popup .div_info textarea {
    height: 204px
  }
}