#modal-addPIO {
  visibility: hidden;
  height: 100vh;
  width: 100vw;
  overflow:hidden;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #ffffff33;
  
  z-index: 3003;
}
/* The Close Button (x) */
.closeModal {
    position: absolute;
    right: 35px;
    top: 15px;
    font-size: 40px;
    font-weight: bold;
    color: #f1f1f1;
}

.closeModal:hover,
.closeModal:focus {
    color: #f44336;
    cursor: pointer;
}


#center-form-add-hut {  
  visibility: hidden;
  
  width: 90vw;
  max-width: 300px;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  padding: 30px;
  
  border: 1px solid gray;
  background-color: #e1e1e1;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-radius: 10px;
  
  z-index: 3004;
}

.run-animation{
  animation-delay: .1s;
  animation: modalComeIn .25s ease;
  animation-fill-mode: forwards;
}

.run-animation-reverse{
  animation-delay: .1s;
  animation: modalComeIn .25s ease;
  animation-direction: reverse;
  animation-fill-mode: forwards;
}

.run-animation-BGmodal{
  animation-delay: .1s;
  animation: modalBGComeIn .25s ease;
  animation-fill-mode: forwards;
}

.run-animation-BGmodal-reverse{
  animation-delay: .1s;
  animation: modalBGComeIn .25s ease;
  animation-fill-mode: forwards;
  animation-direction: reverse;
}

@keyframes modalComeIn {
    0% {
        visibility: hidden;
        opacity: 0;
        transform: scale(.8, .8) translate(-60%, -60%);
    }
    65.5% {
        transform: scale(1.02, 1.02) translate(-49%, -49%);
    }
    100% {
        visibility: visible;
        opacity: 1;
        transform: scale(1, 1) translate(-50%, -50%);
    }
}


@keyframes modalBGComeIn {
    0% {
        visibility: hidden;
        display: none;
        opacity: 0;
    }
    20% {
        visibility: hidden;
        display: none;
        opacity: 0.6;
    }
    100% {
        visibility: visible;
        display: block;
        opacity: 1;
    }
}

#center-form-add-hut h2{
  margin: 0 0 0.8em 0;
  text-align: center;
}

#center-form-add-hut input[type=text]{
  width: calc(100% - 35px);
  margin: 5px 10px 5px 10px;
  height: 1.5em;
  padding: 2px 5px 2px 5px;
}
#center-form-add-hut input[type=submit]{
  width: 100%;
  height: 2em;
}

.selectinput{
  width: calc(100% - 35px);
  margin: 5px 10px 5px 10px;
  height: 2em;
  padding: 2px 5px 2px 5px;
}