/* Aikatauluhaku css */
:root {
--focus-border: 4px;
--border-radius: 8px;
}
.mhaku__form {
  display: flex;
  flex-direction: column ;
  font-family: "PT Sans", sans-serif;
  font-weight: 500;
  line-height: 0;
  width: 100%;
  gap: var(--space-s);
}

.mhaku__form ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: var(--base-trans-70);
  opacity: 1; /* Firefox */
}

.mhaku__form ::-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: var(--base-trans-70);
}

.mhaku__form ::-ms-input-placeholder { /* Microsoft Edge */
  color: var(--base-trans-70);
}

.mhaku__form .input, input:not([type=submit]), select, textarea {
    outline-color: transparent !important;
    border-style: none;
 
}


.mhaku__wrapper {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-grow: 1;
}

.mhaku__wrapper:first-of-type {
  background-color: var(--white);
  border-radius: var(--border-radius);
}

.mhaku__wrapper:not(:first-of-type) {
  gap: var(--space-s);
}

.mhaku__wrapper input[type="date"] {
  font-family: inherit;
  color: var(--base-dark);
  border: none;
  width: 100%;
  border-bottom: solid 0 transparent;
}

.mhaku__wrapper input[type="date"]:focus,
input[type="date"]:hover {
  border-bottom: solid var(--focus-border) var(--primary);
}

.mhaku__wrapper input:focus,
textarea:focus,
select:focus,
input:selected {
  border: none;
  outline: none;
  border-bottom: solid var(--focus-border) var(--primary);
}

.mhaku__wrapper input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition: background-color 5000s ease-in-out 0s;
}

.mhaku__input--style {
  background: rgba(255, 255, 255, 1);
  border: solid 4px rgba(255, 255, 255, 0.1);
  width: 100%;
   border-radius: var(--border-radius);
  backdrop-filter: blur(4px);
  color: #363636;
  padding: 0.4rem;
  flex-grow: 1;
  
}

 .mhaku__input, .mhaku__input input[type="date"] {
 height: 5rem;
}

.mhaku__input {
  border: none;
  padding: 1.2rem 0.8rem 0.6rem 0.8rem;
  
  border-radius: 6px 6px 0 0;
  background: none;
  color: #363636;
  width: 100%;
  border-bottom: solid var(--focus-border) transparent;
  border-bottom-right-radius: var(--focus-border);
  border-bottom-left-radius: var(--focus-border);
  transition-duration: 0.5s;
  transition-timing-function: ease-in-out;
  font-size: calc(var(--text-m) * 1.2) !important;
  line-height: 0.8;
}
.mhaku__input--text-right {
  text-align: right;
}

.mhaku__input:hover,
.mhaku__input:focus {
  background-color: #fff;
  border: none;
  outline: none;
  border-bottom: solid var(--focus-border) var(--primary);
}

.mhaku__nuoli {
  margin: 0 6px 0 6px;
  font-size: 3rem;
  color: #1963cb;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.05);
  z-index: 99;
}

.mhaku__submit-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  border: solid 2px var(--action);
  padding: 1.8rem 1.3rem 1.8rem 1.3rem;
  background: var(--action);
  color: white;
  font-size: var(--text-m);
  text-align: center;
  font-family: 'Roboto Condensed';
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
   border-radius: var(--border-radius);
  -moz-box-shadow: 0 6px 22px 0 rgba(31, 38, 135, 0.27);
  -webkit-box-shadow: 0 6px 22px 0 rgba(31, 38, 135, 0.27);
  box-shadow: 0 6px 22px 0 rgba(31, 38, 135, 0.27);
  width: 100%;
  gap: var(--space-xs);
}

.mhaku__submit-btn:hover {
  background: var(--action-hover);
  border: solid 2px var(--action-hover);
  transition: all 0.3s ease-out;
  box-shadow: 0px 10px 20px -15px #4353ff;
  cursor: pointer;
}

  .mhaku__input--shadow {
       box-shadow:  0px 10px 15px -3px var(--action-ultra-dark-trans-10);
    -moz-box-shadow:  0px 10px 15px -3px var(--action-ultra-dark-trans-10);
    -webkit-box-shadow: 0px 10px 15px -3px var(--action-ultra-dark-trans-10);
    
  }


@media screen and (max-width: 478px) {

  .mhaku__wrapper:first-of-type {
  border-radius: var(--border-radius);
}

  .mhaku__wrapper {
    margin: 0;
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    justify-content: center;
    padding: 0;
    background-color: none;
    box-shadow: none;
  }

.mhaku__nuoli  {
  margin: 0;
  width: 100%;
  text-align: center;
  border-top: solid 2px;
  border-bottom: solid 2px;
  border-color: var(--base-ultra-light);
  background-color: var(--primary-ultra-light);
    
  }

  .mhaku__nuoli svg {
    transform: rotate(90deg);
    width: 30px;
    height: 30px;
  }

  .mhaku__submit-btn {
    padding: 1.5rem 0.4rem 1.5rem 0.4rem;
  }

  .mhaku__input {
    text-align: center;
 
  }

  .mh-mobile-margin-bottom {
    margin-bottom: 15px;
  }

  .mhaku__input--style {
    background: var(--white);
    border: none;
    border-radius: var(--border-radius);
    backdrop-filter: none;
    margin: 0;
  }
  
  .mhaku__input {
    background: rgba(255, 255, 255, 1);
    font-size: 1.8rem;
  }

}