@import url("https://fonts.googleapis.com/css?family=Open+Sans");

html {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
}

.app-container {
  background-color: #f5f5f5;

  display: flex;
  flex-direction: column;
  font-size: 16px;
}

.vehicles-container {
  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 0px 30px;
  margin: 5px 20px;
}

.vehiclesRow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto;
  width: 100%;
}

.vehiclesColumn {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  height: 330px;
  padding: 20px;
  max-width: 520px;
}

.veh-col {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.veh-row {
  display: flex;
  flex-direction: row;
  text-align: center;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.veh-row-price {
  display: flex;
  flex-direction: row;
}

.vehBox {
  padding: 5px 5px 8px 8px;
  border: 1px solid #5d86a8;
  border-radius: 6px;
  max-width: 560px;
  width: 100%;
  flex: 1 0 auto;
  background-color: #D9F1F4;
  box-sizing: border-box;
}

.veh-text {
  margin: 4px 5px;
}

.formHeader {
  text-align: center;
  letter-spacing: 0.08rem;
}

.formHeader2 {
  letter-spacing: 0.08rem;
  margin-top: 10px;
  margin-bottom: 10px;
}

.text-input {
  width: 220px;
  height: 24px;
  margin: 8px 0px;
  border: 1px solid #c0c8cf;
  border-radius: 4px;
}

.alert-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0px auto;
  width: 420px;
}

.alert-items-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0px auto;
  width: 400px;
  font-size: 0.8rem;
  color: red;
}

.warnImg {
  height: 16px;
  width: 16px;
  margin: -3px 5px 0px 5px;
}

.alert {
  color: red;
  font-size: 0.8rem;
  padding-top: 8px;
  margin: 8px 0px;
}

.auxButton {
  height: 30px;
  width: 125px;
  border: 1px solid black;
  border-radius: 6px;
  color: #0f1111;
  font-family: "Open Sans", sans-serif;
  cursor: pointer;
  padding: 7px 0px 26px 0px;
  margin: 25px auto;
  background-color: #4FABFB;
}

.auxButton2 {
  height: 30px;
  width: 125px;
  border: 1px solid black;
  border-radius: 6px;
  background-color: #4FABFB;
  color: #0f1111;
  font-family: "Open Sans", sans-serif;
  cursor: pointer;
  padding: 7px 0px 26px 0px;
  margin: 15px auto 25px auto;
}

.button {
  margin-top: 8px;
  align-items: center;
  height: 30px;
  width: 125px;
  border: 1px solid black;
  border-radius: 6px;
  background-color: #4FABFB;
  color: #0f1111;
  font-family: "Open Sans", sans-serif;
  cursor: pointer;
  padding: 7px 0px 16px 0px;
}

.deleteButton {
  margin-top: 8px;
  height: 30px;
  width: 125px;
  border: 1px solid black;
  border-radius: 6px;
  background-color: #4FABFB;
  color: #0f1111;
  cursor: pointer;
  line-height: 29px;
  font-family: "Open Sans", sans-serif;
  padding: 2px 0px 31px 0px;
  vertical-align: middle;
  margin-top: 12px;
}

.deleteButtonBox {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 15px auto;
}

.inputContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0px auto;
  width: 240px;
  padding-bottom: 5px;
  box-sizing: border-box;
}

.navBarContainer {
  height: 50px;
  padding: 15px 20px 0px 20px;
  border-bottom: 2px solid #a9a9a9;
  background-color: #D9F1F4;
}

.navRow {
  margin: 0px 15px 2px 15px;
  padding: 5px 5px;
  font-size: 1rem;
  font-family: "Open Sans", sans-serif;
  letter-spacing: 0.05rem;
}

.navSpan {
  margin: 10px 16px;
}

.navSpan:hover {
  cursor: pointer;
  color: blue;
}

.getHeader {
  margin-top: -8px;
}

.fetchBox {
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: auto;
}

@media only screen and (max-width: 460px) {
  .vehicles-container {
    max-width: 400px;
    padding: 0px 10px;
    margin: 2px auto;
  }

  .inputContainer {
    width: 200px;
  }

  .vehiclesColumn {
    height: 100%;
  }

  .navBarContainer {
    display: none;
  }

  .formHeader {
    text-align: center;
  }

  .vehBox {
    max-width: 260px;
    display: flex;
    flex-wrap: wrap;
  }

  .veh-row-price {
    display: flex;
    flex-direction: column;
  }
}