.form-back {
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  
  display: -webkit-box;
  -webkit-box-pack: center;
  -webkit-box-align: center;

  display: flex;
  justify-content: center;
  align-items: center;

  background-color: rgba(0,0,0,.7);

  transition: opacity linear .2s;
}

.form-back.visible {
  opacity: 1;
  pointer-events: all;
}

.form-back > * {
  position: relative;
  background-color: white;
  padding: 20px 20px 50px 20px;
  box-sizing: border-box;
  margin: auto;
  display: none;
  width: 300px;
}

.form-back > .visible {
  max-height: 100vh;
  box-sizing: border-box;
  display: block;
}

.form-back .title {
  font-size: 1.15em;
  text-align: center;
  width: 90%;
  margin: auto;
  margin-bottom: 50px;
}

.form-back .question {
  margin-bottom: 10px;
  font-size: 0.7em;
}

.form-back .custom-select {
  background-color: white;
  width: 260px;
  position: absolute;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2), 0px 2px 2px rgba(0, 0, 0, 0.12), 0px 0px 2px rgba(0, 0, 0, 0.14);
  box-sizing: border-box;
  height: 38px;
  transition: height linear .2s;
  overflow: hidden;
  font-size: 0.7em;
}

.form-back .custom-select .options {
  overflow: auto;
  max-height: 215px;
}

.form-back .custom-select.open {
  height: 228px;
}

.form-back .custom-select > .selected {
  display: -webkit-box;
  -webkit-box-orient: horizontal;
  -webkit-box-pack: justify;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  border-bottom: 1px solid white;
}

.form-back .custom-select.open > .selected {
  border-bottom-color: #aaa;
}

.form-back .custom-select .drop-down {
  transform: translateY(2px);
}

.form-back .custom-select .drop-down  > .arrow{
  transition: transform linear .1s;
  -webkit-transform: rotate(45deg);
  -webkit-transform-origin: 75% 75%;

  transform: rotate(45deg);
  transform-origin: 75% 75%;
}
.form-back .custom-select.open .drop-down > .arrow {
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

.form-back .custom-select .options > div {
  border-bottom: 1px solid #efefef;
}

.form-back .custom-select .options > div:last-child {
  border-bottom: none;
}

.form-back .drop-down {
  width: 10px;
  height: 10px;
}
.form-back .drop-down > .arrow {
  border-bottom-color: #000;
  border-right-color: #000;
} 
.form-back .button-container {
  width: 100%;
}
.form-back .form .button-container {
  margin-top: 200px;
}


.form-back .custom-select > .selected,
.form-back .options > div {
  padding: 10px 20px;
  cursor: pointer;
}

.form-back .options > div:hover {
  background-color: #efefef;
}

.form-back .description {
  margin-bottom: 25px;
}

.form-back .close {
  width: 15px;
  height: 15px;
  margin: auto;
  margin-right: 0;
  background-image: url(../img/close.png);
  background-size: cover;
}

@media (min-width: 720px) {
  .form-back > * {
    width: 400px;
  }
  .form-back .custom-select {
    width: 360px;
  }
  .form-back .custom-select.open {
    height: 258px;
  }
}

@media (max-height: 500px) {
  .form-back .title {
    margin-bottom: 20px;
  }
  .form-back .form .button-container {
    margin-top: 100px;
  }
  .form-back .custom-select.open {
    height: 138px;
  }
  .form-back .custom-select .options {
    max-height: 100px;
  }
}