

.c1_title {
  font-size: xx-large;
  font-weight: bold;
  margin-bottom: 2vh;
}


.c1_spinner {
  width: 40vh;
  height: 40vh;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #8b192a7f;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.c1_spinner_container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: fit-content;
  margin-top: 10vh;
}

.c1_loading_text {
  font-size:xx-large;
  font-weight: bold;
  position: absolute;
  line-height: 150%;
  
}

.c1_phone_content_splitter {
  display: none;
}
.c1_interchange_lookup {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.c1_history {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: flex-start;
}
.c1_history_header {
  font-size: large;
  font-weight: bold;
}

#c1_history_search {
  width: 50vw;
}

.c1_header_and_dropdown {
  display: flex;
  flex-direction: column;
  align-items: center;
}


.c1_dropdowns {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap; 
  align-items: flex-start;
  width: 80vw;
  margin-right: 0;
  margin-left: 0;
  padding-left: 0;
  padding-right: 0;
}


.c1_dropdown_container {
  padding-right: 3vw;
  align-content: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  width: fit-content;
  font-size: xx-large;  
}

.c1_history_container {
  flex-direction: column;
  align-items: center;
  position: relative;
  gap: 10px;
}

.c1_dropdown_header {
  word-break: keep-all;
  white-space: nowrap;
  text-align: start;
  margin-bottom: 0.5vh;
}


  
  

.c1_search_input {
  /* Base styles */
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: white;
  width: 400px !important;
  height: 3em;
  caret-color: #8b192a7f;

  /* 3D effect */
  box-shadow: 
      inset 0 1px 2px rgba(0,0,0,0.1),
      0 1px 0 rgba(255,255,255,0.9);
  
  /* Dropdown arrow */
  background-image: linear-gradient(45deg, transparent 50%, #666 50%),
                    linear-gradient(135deg, #666 50%, transparent 50%);
  background-position: 
      calc(100% - 20px) calc(1em + 2px),
      calc(100% - 15px) calc(1em + 2px);
  background-size: 
      5px 5px,
      5px 5px;
  background-repeat: no-repeat;
  
  /* Prevent text input cursor */
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.c1_search_input:hover {
  border-color: #999;
}

.c1_search_input:focus {
  outline: none;
  border-color: #4d90fe;
  box-shadow: 
      inset 0 1px 2px rgba(0,0,0,0.1),
      0 0 5px rgba(77,144,254,0.3);
}


.c1_search_input:focus {outline: 3px solid #ddd;}

.c1_dropdown_list {
  max-height: 70vh;
  overflow-y: auto;
  overflow-x:hidden;
  display: block;
  background-color: #f6f6f6;
  border: 1px solid #ddd;
  border-radius: 0px 0px 8px 8px;
  z-index: 1;
  min-width: 7rem;
  align-self: flex-start;
}
  
.c1_dropdown_list button {
  color: black;
  padding: 12px;
  text-decoration: none;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  border: none;
}


.c1_dropdown_list a {
  color: black;
  padding: 12px;
  text-decoration: none;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  border: none;
}

.highlighted_dropdown_item {
  font-weight: bold;
  background-color: #8b192a7f;
  border: 1px solid #000000;
  color: #ddd;
}
.non_highlighted_dropdown_item {
  background-color: #f6f6f6;
  border: none;
  color: #ddd;
}


.c1_dropdown_list button:hover {
  background-color: #fbfbfb
}

.c1_dropdown_list a:hover {
  background-color: #fbfbfb
}

.c1_all_vehicles_list {
  display: flex;
  flex-direction: column;
}

.c1_all_vehicles_entry {
  font-size: large;
}

.c1_btn_container {
  display: flex;
  flex-direction: row;
  margin: 0;
  justify-content: flex-start;
}

.c1_btn {
  margin-right: 4vh;
  font-size: large;
  color: rgb(0, 0, 0);
  border-radius: 8px;
  border: none;
  background: #ffffff;
  cursor: pointer;
  border: solid;
  border-color: #000000;
  border-width: 2px;
  width: fit-content;
}

.c1_btn_active {
  background: #8b192b;
  color: rgb(255, 255, 255);
}

.c1_btn:active {
  background-color: #8b192b;
  color: rgb(255, 255, 255);
  transform: translateY(4px);
}

.c1_instructions {
  font-size: large;
  font-weight: bolder;
  padding-top: 2vh;
  padding-bottom: 1vh;
}
#c1_set_date {
  display: flex;
  flex-direction: column;
}

#c1_set_date_inputs {
  display: flex;
  flex-direction: row;
}

#c1_custom_set_date {
  font-size: large;
  min-width: 400px;
}


.c1_questions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}

.c1_part_choices_container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  max-width: 90vw;
  padding: 0;
  margin: 0;
}

.c1_question_seperator {
  margin-right: 1vw;
  margin-left: 1vw;
  font-size: xx-large;
}

.c1_choice_container {

  border: 0.5px solid #000000;
  display: flex;
  flex-direction: row;  
  text-align: left;
}

.c1_part_choice_label {
  font-size: large;
  padding-top: 1.5vh;
  padding-bottom: 1.5vh;
  padding-right: 2.5vw;
  padding-left: 2.5vw;
}


#c1_search_by_part_hint {
  font-size: x-large;
  margin-left: 2vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.c1_vehicle_results_slider {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  margin-top: 2vh;
}

.c1_vehicle_result_title {
  font-size: large;
  font-weight: bold;
  margin-top: 1vh;
  margin-bottom: 1vh;
}

#c1_vehicle_loading {
  margin-right: 50%;
  margin-left: 50%;
  margin-top: 2vh;  
}

.c1_vehicle_results {
  display: flex;
  flex-direction: column;
}

#c1_footer_btns {
  display: flex;
  flex-direction: row;
  margin-top: 2vh;
}



@media screen and (min-width: 1201px) {
  
  .c1_btn {
    padding-top: 1vh;
    padding-bottom: 1vh;
    padding-left: 2vw;
    padding-right: 2vw;
    height: fit-content;
  }


  .c1_history_header {
    margin-right: 1vw;
  }

  .c1_dropdown_container {
    font-size: large;
  }



#c1_history_list {
  width: 50vw !important;
}

#c1_history_list a {
  width: 50vw !important;
}

  .c1_dropdown_list {
    margin-top: 2em ;
    position:absolute;
    width: 400px !important;
  }


  .c1_year_search_input {
    width: 15rem !important;
  }
  .c1_year_dropdown {
    width: 15rem !important;
}


  #c1_history_search {
    width:50vw !important;
  }


  #c1_set_date_dropdown {
    margin-left: 2vw;
    font-size: large;
  }

  #c1_search_by_part_hint hr {
    width: 75%;
    color: #8b192b;
    border: 1.5px solid #8b192b;
    display: block;
    opacity: 1;
    align-self: center;
  }

  .c1_qrcode {
    margin-left: 5vw;
    align-self: flex-start;
  }

  #c1_footer_btns {
    flex-direction: row;
  }
}


@media screen and  (max-width: 1200px) {

  .c1_title {
    font-size: large;
  }
  .c1_spinner {
    width: 50vw;
    height: 50vw;
  }
  
  .c1_history {
    align-self: center;
  }

  .c1_history_container {
    width: 95vw;
  }
  
  .c1_history_search {
    width: 95vw;
  }

  #c1_history_list a {
    width: 75vw;
    white-space: normal;
  }

  .c1_interchange_lookup {
    width: 100%;
    min-height: 190vh;
}

  .c1_dropdown_container {
    padding-right: 0;
    width: 75vw;
    align-items: center;
    font-size: large;
  }

  .c1_search_input {
    font-size: large;
    width: 75vw !important;
  }
  
  .c1_dropdown_list {
    max-height: 32.5vh;
    width: 75vw;
    position: absolute;
    margin-top: 2em;
    padding-bottom: 10vh;
}

  .c1_questions {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  #c1_search_by_part_hint hr {
    display: none;
  }


  .c1_dropdown_header {
    text-align: start;
  }

  .c1_history_container {
    display: flex;    
    flex-direction: column;
    gap: 0px;
    align-self: flex-start;
  }

  .c1_question_seperator {
    transform: rotate(90deg);
  }

  #c1_set_date_inputs {
    flex-direction: column;
  }

  #c1_vehicle_loading {
    margin-right: auto;
    margin-left: auto;
    margin-top: 2vh;  
  }

  .c1_qrcode {
    margin-left: auto;
    margin-right: auto;
  }
  

  #c1_footer_btns {
    flex-direction: column;
  }
}

@media screen and  (max-width: 1000px) {
  .c1_interchange_lookup {
    width: 100%;
    min-height: 190vh;
}
  .c1_history {
    flex-direction: column;
  }

  .c1_vehicle_results_slider {
    flex-direction: column;
  }

  .c1_instructions {
    align-self: center;
  }

  .c1_phone_content_splitter {
    color: #8b192b;
    border: 1.5px solid #8b192b;
    width: 90vw;
    display: block;
    opacity: 1;
    align-self: center;
}
  .c1_phone_content_group {
    display: flex;
    flex-direction: column;
    border: 2px solid #8b192b;
    border-right: 0px;
    border-left: 0px;
    border-top: 0px;
    margin-top: 2vh;
    padding-bottom: 1vh;
    padding-top: 1vh;
    margin-left: 0;
    margin-right: 0;
  }
  .c1_btn_container {
    display: flex;
    flex-direction: column;
    margin: 0;
    justify-content: flex-start;
  }

  .c1_btn {
    width: 90%;
    align-self: center;
    margin-bottom: 2vh;
    padding-top: .5vh;
    padding-bottom: .5vh;
    margin-right: 0;
  }
  .c1_questions {
    flex-direction: column;
  }

  .c1_dropdowns {    
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}
.c1_dropdown_container {
  align-items: center;
  align-self: center;
}

#c1_search_by_part_hint {
  font-size: medium;
}

#c1_custom_set_date {
  font-size: medium;
  width: 100%;
}

.c1_history_header {
  align-self: center;
}
}





