section { margin-top: 50px }

section {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto
}

section input { margin-top: 15px }

section div + div { margin-top: 50px }

section:last-of-type { margin-bottom: 800px }

.modal-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  background-color: rgba(0,0,0,0.8);
  visibility: hidden;
  z-index: 5000
}

.modal-container.animate { transition: visibility .3s }

.modal-container.modal-open { visibility: visible }

.modal {
  background-color: #FFF;
  border-radius: 4px;
  max-width: 600px;
  min-width: 250px;
  overflow: hidden
}

.modal.animate {
  transform: scale(0.7);
  opacity: 0;
  transition: transform 0.3s, opacity .3s
}

.modal-open .modal.animate {
  opacity: 1;
  transform: scale(1)
}

.modal-container input {
  margin-top: 10px;
  margin-bottom: 10px
}



.modal-close {
  background-color: transparent;
  border: none;
  cursor: pointer;
  height: 30px;
  padding: 0;
  position: absolute;
  right: 0px;
  top: 15px;
  transform: translateY(-50%);
  width: 30px;
  z-index: 5001;
  color:#d9230f;
  font-weight: bold;
  font-size: 18px;
  -webkit-transition-duration: 0.5s;
transition-duration: 0.5s;
-webkit-transition-property: color;
transition-property: color;
}
.modal-close:hover {
  background-color: #d9230f;
  color:white;
}



.modal-content { padding: 15px 35px }

.modal-content p { font-size: 16px }

.modal-content > div { padding: 5px 10px }

p.scrollable {
  height: 70px;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  background-color: rgba(20,20,0,0.05);
  padding: 5px 10px
}

.modal-content a {
  display: inline-block;
  margin-top: 10px
}

span { line-height: 1.5 }

.attribute { color: #a6e22e }

.value { color: #e6db74 }

.btn-container {
  position: relative;
  display: -ms-inline-flex;
  display: -moz-inline-flex;
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-flex-direction: row;
  -moz-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: justify;
  -moz-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
  -webkit-align-items: flex-start;
  align-items: flex-start;
  -webkit-align-content: center;
  -moz-align-content: center;
  align-content: center;
  margin-bottom: 10px;
  overflow: hidden;
  padding-bottom: 3px;
  border-radius: 4px;
  left: 50%;
  transform: translateX(-50%)
}

.btn {
  max-height: 47px;
  font-size: 16px;
  line-height: 1.45;
  padding: 10px 30px;
  border: 0;
  outline: none;
  background-color: #007889;
  color: #FFF;
  border-radius: 4px;
  box-shadow: 0 3px 0 0 #004b56;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 700
}

.btn:hover, .btn:focus {
  background-color: #005460;
  box-shadow: 0 3px 0 0 #00282d
}

.btn:active {
  -moz-transform: translateY(3px);
  -ms-transform: translateY(3px);
  -webkit-transform: translateY(3px);
  transform: translateY(3px)
}