.clear_btn {
  margin-left: -40px !important;
  background: #dcdcdc !important;
  border-radius: 12.5px;
  border: solid 1px #c9c9c9 !important;
  width: 25px !important;
  height: 25px !important;
  margin-top: 4px;
  font-size: 15px !important;
}
.clear_btn:after {
  content: "x";
  color: rgba(255, 255, 255, 0.6);
  color: white !important;
}

#displayresults h6 {
  background: #89ceeb !important;
  padding: 5px 10px;
  margin-bottom: 0px;
  display: block;
  color: #fff;
}
#displayresults .words {
  padding: 10px 10px 5px 10px;
  display: block;
  background: #f5f5f5;
}
.result em {
  color: #f50 !important;
  font-style: normal;
} /* Change this to change blank letter color and style */
.collapser {
  cursor: pointer;
  display: block;
}
.collapser + input {
  display: none;
}
.collapser + input + div {
  display: none;
}
.collapser + input:checked + div {
  display: block;
}

input[type="text"]#search {
  width: 100% !important;
  border-right: 1px solid #c9c9c9 !important;
}
input[type="text"] {
  font-size: 14px !important;
  color: #000 !important;
}

#options_block {
  padding: 15px;
  display: none;
  margin-bottom: 10px;
  background: #f9f9f9;
  border: 1px solid #e5e5e5;
  color: #000;
}
#options_block span {
  color: #666;
}

h6 a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9em;
  text-decoration: none !important;
}
h6 a:hover {
  color: rgba(255, 255, 255, 1) !important;
  text-decoration: none !important;
  font-size: 0.9em;
}
h6.result a.alpha-link {
  color: #fff;
  font-weight: bold;
}

.result-score a.alpha-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: bold;
}
.result-score a.score-link {
  color: rgba(255, 255, 255, 1) !important;
  font-weight: bold;
}
.result-alpha a.score-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: bold;
}
.result-alpha a.alpha-link {
  color: rgba(255, 255, 255, 1) !important;
  font-weight: bold;
}

#options_block select,
#options_block input {
  background: #fff;
}

#showOptions {
  -webkit-border-radius: 6px !important;
  -moz-border-radius: 6px !important;
  border-radius: 6px !important;
  padding: 5px 15px;
  display: inline-block;
  background: #666;
  color: #fff;
}
#showOptions:hover {
  cursor: pointer;
  background: #000;
  color: #fff;
}

@media screen and (max-width: 768px) {
  h6 {
    font-size: 14px !important;
  }
  .mobile-margin {
    margin-bottom: 10px;
    display: block;
  }
}
@media screen and (max-width: 560px) {
  .col-xs-6 {
    width: 50% !important;
  }
  #content {
    padding: 0 10px;
    #showOptions {
      margin: 0 auto;
    }
  }

  .ad-responsive {
    width: 320px;
    height: 100px;
  }
  @media screen and (max-width: 1200px) {
    #options_block input[type="text"] {
      font-size: 14px !important;
    }
  }
  @media (min-width: 500px) {
    .ad-responsive {
      width: 468px;
      height: 60px;
    }
  }
  @media (min-width: 800px) {
    .ad-responsive {
      width: 728px;
      height: 90px;
    }
  }

  button[type="submit"] {
    display: block;
    -webkit-border-radius: 6px !important;
    -moz-border-radius: 6px !important;
    border-radius: 6px !important;
    height: 48px !important;
    font-size: 1.3em !important;
    margin-top: 0 !important;
  }
  select {
    font-size: 14px !important;
    display: block;
  }
  h1 {
    font-size: 24px;
    font-weight: 700;
  }
  input:focus {
    outline: none;
    background: #fff !important;
    border: 1px solid #ccc !important;
    border-right: 1px solid #ccc !important;
    box-shadow: 0 0 6px #ccc !important;
  }

  input[type="text"] {
    padding: 0px 18px;
    height: 48px !important;
    font-size: 23px !important;
  }
  #options_block select {
    font-size: 14px !important;
    display: block;
  }
  #options_block input[type="text"] {
    height: 36px;
    padding: 0px 18px !important;
    font-size: 18px !important;
  }
  .clear_btn {
    top: 9px;
  }
  @media screen and (max-width: 1200px) {
    #options_block input[type="text"] {
      height: 28px;
      line-height: 28px;
      padding: 0 12px !important;
      font-size: 14px !important;
    }
  }
}
@media screen and (max-width: 960px) {
  #options_block input[type="text"] {
    height: 24px;
    line-height: 24px;
    padding: 0 10px !important;
    font-size: 14px !important;
  }
  input[type="text"] {
    padding: 0px 18px;
    height: 48px !important;
    font-size: 16px !important;
  }  
}
@media screen and (max-width: 560px) {
  h1 {
    margin-bottom: 5px !important;
  }
  button[type="submit"] {
    height: 40px !important;
    line-height: 40px !important;
    padding: 0 !important;
    font-size: 1.2em !important;
  }
}

#displayresults h6 {
  background-color: #89ceeb !important;
  color: #fff;
} /* Word Count / Point Count Header Colors */
#displayresults h6 a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9em;
  text-decoration: none !important;
} /* Heading Filter Color */
#displayresults h6 a:hover {
  color: rgba(255, 255, 255, 1) !important;
  text-decoration: none !important;
  font-size: 0.9em;
} /* Heading Filter Hover Color */
#displayresults h6.result a.alpha-link {
  color: #fff;
  font-weight: bold;
} /* Default color for when the user first runs a search */
#displayresults .words {
  background: #f5f5f5;
} /* Results table background */
.result-score a.alpha-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: bold;
} /* Non selected text color for filter */
.result-score a.score-link {
  color: rgba(255, 255, 255, 1) !important;
  font-weight: bold;
} /* Selected text color for filter */
.result-alpha a.score-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: bold;
} /* Non selected text color for filter */
.result-alpha a.alpha-link {
  color: rgba(255, 255, 255, 1) !important;
  font-weight: bold;
} /* Selected text color for filter */
p.result a {
  color: #0000cd !important;
} /* Word Color */
p.result a em {
  color: #f50 !important;
} /* Blank Color */
sub.normal-score {
  color: #000 !important;
} /* Normal Score Color */
sub.blank-score {
  color: #f50 !important;
} /* Blank Score Color */
#clear_button {
  display: inline-block;
  width: 8%;
  height: 34px;
  position: relative;
  left: 0;
  font-size: 18px !important;
  cursor: pointer;
  color: #555;
  float: left;
  background-color: #ebebeb;
  border: 1px solid #c9c9c9;
  border-left: none !important;
  text-align: center;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-sizing: border-box;
}

.input-error {
  border: 2px solid red;
  background-color: #ffe6e6;
}

.error-msg{
  color: red;
}

.d-none {
  display: none;
}

.results-container {
  margin-top: 20px;
}

.group-block {
  margin-bottom: 20px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fafafa;
}

.word-list {
  margin-top: 8px;
}

.word {
  display: inline-block;
  margin: 4px;
  padding: 4px 8px;
  background-color: #eef;
  border-radius: 4px;
  font-weight: bold;
}

.word small {
  display: block;
  font-weight: normal;
  font-size: 0.75em;
  color: #555;
}
