#calculate_form {
  /*max-width: 100%;*/
  width: 100%;
  text-align: center;
}

#calculate_form .form-group,
#send_request_form .form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
  margin: 1.5rem 0;
  font-size: 1.5rem;
}
#calculate_form .form-group input,
#send_request_form .form-group input {
  width: 100%;
  margin: 0;
  font-size: 1.5rem;
}
#calculate_form .form-group label,
#send_request_form .form-group label {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
#send_request_form .karte {
  border-top: solid 1px;
  border-bottom: solid 1px;
}

#myBtn {
  padding: 1rem 1rem;
  margin-bottom: 3rem;
  background: #0ea4a2;
}

#myBtn:hover {
  background: #037d7b;
}

#calcError {
  position: fixed;
  top: 3rem;
  text-align: center;
  background: red;
  margin: 1rem;
  left: calc(50% - 10rem);
  width: 20rem;
}
#send_request_header {
  display: flex;
  flex-direction: row;
  text-align: center;
  padding: 0 15%;
}
#calcModal {
  padding: 0 6rem;
}
#calcModal p {
  font-size: 1.5rem;
}

@media only screen and (max-width: 1200px) {
  #send_request_header {
    padding: 0;
  }
  #calcModal {
    padding: 0 3rem;
  }
}

@media only screen and (max-width: 600px) {
  #send_request_header {
    padding: 0;
    flex-direction: column;
  }
  #calcModal {
    padding: 0;
  }
}


#loader_wrapper {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 5; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.lds-dual-ring {
  width: 2.5rem;
  height: 2.5rem;
  margin: calc(50vh - 1.25rem) calc(50vw - 1.25rem);
}
.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 46px;
  height: 46px;
  margin: 1px;
  border-radius: 50%;
  border: 5px solid #fff;
  border-color: #fff transparent #fff transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


#calcSuccess {
  position: fixed;
  top: 3rem;
  text-align: center;
  background: dodgerblue;
  margin: 1rem;
  left: calc(50% - 10rem);
  width: 20rem;
}

#send_request_form {
  padding:0 15%;
}
#send_request_form input[type=number]::-webkit-inner-spin-button,
#send_request_form input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0;
}

#send_request_form select {
  margin: 0;
  background: #fff;
  border: solid 1px #ccc;
  box-sizing: border-box;
  outline: none;
  padding: 0.56rem 0.66rem;
  outline-offset: 0;
  border-radius: 0;
}

@media only screen and (max-width: 1200px) {
  #send_request_form {
    padding: 0;
  }
}

#myModal h2:before,
#myModalForm h2:before {
  display: none;
}

#myModal .title,
#myModalForm .title {
  text-align: center;
  padding: 1rem;
  font-size: 1.5rem;
  margin: 2rem 0;
}

/* The Modal (background) */
#myModal.modal,
#myModalForm.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding: 5rem 0; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
#myModal .modal-content,
#myModalForm .modal-content {
  background-color: #f3f3f3;
  margin: 0 auto 10rem;
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
}
@media only screen and (max-width: 1500px) {
  #myModal .modal-content,
  #myModalForm .modal-content {
    width: 80%;
  }
}

@media only screen and (max-width: 600px) {
  #myModal .modal-content,
  #myModalForm .modal-content {
    width: 90%;
  }
}

.custom_show {
  opacity: 1;
  transition: opacity 1000ms;
}

.custom_hide {
  opacity: 0;
  transition: opacity 1000ms;
}

#myModal .modal-content .steps,
#myModalForm .modal-content .steps {
  width: 18%;
  margin: 0 1%;
  /*border: solid 1px lightgrey;*/
  /*border-radius: 1rem;*/
  font-size: 1rem;
}
@media only screen and (max-width: 600px) {
  #myModal .modal-content .steps,
  #myModalForm .modal-content .steps {
    width: 98%;
  }
  #myModal .modal-content .steps p,
  #myModalForm .modal-content .steps p {
    font-size: 1rem;
    margin: 0;
  }
}

#myModalForm .modal-content .steps span {
  font-size: 2rem;
  /*line-height: 3rem;*/
  line-height: 2rem;
  color: #0ea4a2;
  display: block;
  width: 3rem;
  height: 3rem;
  text-align: center;
  margin: 0 auto;
  border: solid 1px;
  border-radius: 50%;
}

/* The Close Button */
#myModal .close,
#myModalForm .close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  line-height: 1rem;
}

#myModal .close:hover,
#myModal .close:focus,
#myModalForm .close:hover,
#myModalForm .close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

#calcButton {
  position: fixed;
  right: 0;
  bottom: 0;
  background: #043935;
  color: white;
  border-radius: 50%;
  margin: 0 1rem 1rem 0;
  /*width: 5rem;*/
  /*height: 5rem;*/
  width: 4rem;
  height: 2rem;
  line-height: 1rem;
  text-align: center;
  word-break: break-word;
  font-size: .75rem;
  padding: 1.5rem 0.5rem;
}

@media only screen and (max-width: 600px) {
  #calcButton {
    margin: 0 .25rem .25rem 0;
    width: 4rem;
    height: 2rem;
    line-height: .75rem;
    font-size: .5rem;
    padding: .75rem 0;
    position: fixed;
  }
}


#calcButton:hover {
  cursor: pointer;
  background: #037d7b;
}






/* Style the tab */
#myModal .tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

/* Style the buttons inside the tab */
#myModal .tab button {
  float: left;
  border: solid 1px #f3f3f3;
  outline: none;
  cursor: pointer;
  /*padding: 14px 16px;*/
  /*padding: 0;*/
  transition: 0.3s;
  /*font-size: 17px;*/
  width: 25%;
  background: white;
  color: black;
  margin: 0;


  display: flex;
  flex-direction: column;
}
#myModal .tablinks img {
  height: 5rem;
  display: flex;
  margin: 0 calc(50% - 0.5rem);
}
#myModal .tablinks span {
  width: 100%;
  margin: 0 calc(50% - 0.5rem);
}

@media only screen and (max-width: 600px) {
  #myModal .tablinks img {
    width: 100%;
    margin: 0;
  }
  #myModal .tablinks span {
    margin: 0;
  }
}

/* Change background color of buttons on hover */
#myModal  .tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
#myModal  .tab button.active {
  /*background-color: #ccc;*/
  background: #0ea4a2;
}

/* Style the tab content */
#myModal .tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
}