* {
  /*
  font-family: Inter, -apple-system, system-ui;
  -webkit-font-smoothing: antialiased;
  */

  /*
  font-family: -apple-system, system-ui, BlinkMacSystemFont,
             'Segoe UI', Roboto, 'Helvetica Neue',
             Ubuntu, Arial, sans-serif;
             */
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, p, html, body, section {
  margin: 0;
}

#react-root {
  overflow-x: hidden;
  /* background-color: #f0f2f5; */
  background-color: #fff;
  padding-top: 47px; /* for fixed navbar */
}

.spinner {
}
.spinner > img {
  width: 35px;
}

.success-checkmark {
}
.success-checkmark > img {
  width: 35px;
}

.top-nav {
  background-color: #fff;
  position: fixed;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 0;
  height: 26px;
  border-bottom: 1px solid #eee;
  box-shadow: 0 0 25px -8px #999;
}
.top-nav > a.logo {
  outline: none;
  display: flex;
  text-decoration: none;
}
.top-nav > a.logo > .tools {
  margin-left: 5px;
  position: relative;
  top: 0.7vh;
  font-size: 22px;
  color: #263859;
}
.top-nav > a.logo > img {
  margin-left: min(5vw, 31px);
  margin-top: min(2vw, 6px);
  width: 32px;
}
.top-nav .spacer {
}

.home-footer {
  height: 50px;
}

.login-home {
  margin-top: 36vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.home-state-select {
  position: relative;
  display: flex;
  justify-content: center;
  margin: auto;
  width: 600px;
  margin-top: 15px;
}
@media only screen and (max-width: 768px) {
  .home-state-select {
    width: 100%;
    margin-top: 0px;
  }
}

.state-select {
  position: relative;
  width: 100%;
}
.state-select::after {
  content: "▼";
  color: #fff;
  font-size: 2rem;
  top: 10px;
  right: 15px;
  position: absolute;
}
.state-select > select {
  font-size: 27px;
  font-weight: 600;
  height: 50px;
  width: 100%;
  padding-left: min(5vw, 25px);
  border: 1px solid #f02849;
  border-radius: 6px;
  background-color: #f02849;
  color: #fff;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
}
.state-select > select > option {
  background-color: #fff;
  color: black;
}

.home-state-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 15px auto;
  width: 600px;
}
@media only screen and (max-width: 768px) {
  .home-state-form {
    width: 96%;
  }
}

.state-form {
  width: 100%;
}
.state-form > .input {
  margin-top: 5px;
}
.state-form > .input-num-calls {
  margin-top: 5px;
}
.state-form > .input-num-calls > input {
  width: 45px;
}
.state-form > .input-num-calls > input::-webkit-outer-spin-button,
.state-form > .input-num-calls > input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.state-form > .input > .input-hours {
  display: inline;
}
.state-form > .input > input {
}
.state-form > .input > textarea {
  width: calc(100% - 6px);
  height: 100px;
  resize: none;
}
.state-form > .input > .input-display-names > input
{
  display: flex;
  flex-direction: column;
  width: 50%;
  margin: 5px 0px 5px;
}
.state-form > .input > .input-display-names > textarea {
  width: calc(100% - 6px);
  resize: none;
  height: 100px;
}
.state-form > .input > .input-keyphrases,
.state-form > .input > .input-close-days
{
  display: flex;
  flex-direction: column;
  width: fit-content;
}
.state-form > .state-wait-stats  {
  display: flex;
  flex-direction: column;
}
.state-form > .state-wait-stats > p  {
  margin-top: 5px;
}

.home-send-call {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
  width: 600px;
  margin-top: 15px;
  margin-bottom: 15px;
}
@media only screen and (max-width: 768px) {
  .home-send-call {
    width: 95%;
    margin-top: 5px;
  }
}

.send-call {
  border: 1px solid #000;
  width: 95%;
  padding: 15px;
}
@media only screen and (max-width: 768px) {
  .send-call {
    width: 100%;
  }
}
.send-call > .phone-input {
  display: inline;
}
.send-call > .send-call-button {
  display: block;
  width: 100%;
  height: 50px;
  margin-top: 15px;
  cursor: pointer;
  background-color: #f02849;
  outline: none;
  color: #fff;
  border: 3px solid #f02849;
  border-radius: 8px;
  transition: background-color 0.25s;
}
.send-call > .send-call-button[disabled] {
  background-color: #c4c4c4;
  cursor: default;
  border: none;
}
.send-call > .send-call-button.success {
  background-color: #fff;
}

.home-speech-result-viewer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
  width: 600px;
  margin-top: 15px;
}
@media only screen and (max-width: 768px) {
  .home-speech-result-viewer {
    width: 96%;
  }
}

.speech-result-viewer {
  width: 100%;
}
.speech-result-viewer > .content {
  height: 200px;
  overflow: scroll;
  background-color: #000;
  color: #20C20E;
  border-radius: 8px;
  padding: 5px;
}
.speech-result-viewer > .content > p {
  word-break: break-word;
  font-size: 12px;
}
.speech-result-viewer .reset-count-button {
  margin-top: 3px;
  float: right;
}
.twilio-stats-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
  width: 600px;
}
@media only screen and (max-width: 768px) {
  .twilio-stats-chart {
    width: 96%;
  }
}

.tab-container {
  display: flex;
  margin: auto;
  align-items: center;
  width: 600px;
}

.tab-container > button {
  background-color: inherit;
  margin: 10px auto;
  align-items: center;
  width: 100%;
  height: 50px;
  border: none;
  outline: none;
  border-bottom: 3px solid grey;
}

.tab-container > button:hover {
  background-color: #ddd;
}
@media only screen and (max-width: 768px) {
  .tab-container {
    width: 100%;
  }
}

.all-states {
  display: flex;
  margin: auto;
  align-items: center;
  width: 600px;
}

.all-states > ul {
  width: 100%;
  padding: 0;
  list-style-type: none;
}

.all-states >  ul > li {
  border-radius: 3px;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  position: relative;
}

.all-states >  ul > .table-header {
  background-color: #95A5A6;
  font-size: 12px;
}
.all-states >  ul > .table-row {
  background-color: #ffffff;
  box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.1);
  padding: 15px 30px;
  font-size: 12px;
}
.states-col-1 {
  flex-basis: 85%;
  margin-top: 4px;
}
.states-col-2 {
  flex-basis: 15%;
  display: flex;
  justify-content: center;
}

@media only screen and (max-width: 768px) {
  .all-states {
    width: 96%;
  }
}

.all-states-filter {
  display: flex;
  margin: auto auto 25px 15px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 45px;
  height: 21px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.toggle:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 3px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .toggle {
  background-color: #2196F3;
}

input:focus + .toggle {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .toggle:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

.toggle.round {
  border-radius: 34px;
}

.toggle.round:before {
  border-radius: 50%;
}
.state-name-text {
  font-size: 12px;
  cursor: pointer;
  color: blue;
  text-decoration: underline;
}

