/**
* Smaller screens
*/
@media only screen and (max-width: 800px) {
  #aiSearchInput {
    font-size: 14px !important;
  }
}

.menuContainer {
    padding: 20px;
    float: right;
}

.menuOptions {
    padding: 10px 20px;
}

.aiAskButton {
    background: rgba(255,69,34, 1);
    /*padding: 5px 8px;
    border-radius: 20px;*/
    padding: 2px 22px 2px 2px;
    position: relative;
    z-index: 2;
}

.aiAskButton:before {
  content: '';
  position: absolute;
  top: 0;
  left: -42px;
  width: 100%;
  height: 100%;
  background: rgba(255,69,34, 1);
  -webkit-transform-origin: 100% 0;
  -ms-transform-origin: 100% 0;
  transform-origin: 100% 0;
  -webkit-transform: skew(53deg);
  -ms-transform: skew(53deg);
  transform: skew(53deg);
  z-index: -1;
}

.askItext {
    color: #fff;
    position: relative;
    left: 17px;
    top: -50px;
}

.askAtext {
  color: #000;
  position: relative;
  left: 15px;
}

.aiInputContainer .button:hover .askItext {
  top: -3px !important;
}

.aiContainer {
    padding: 0 20px 20px 20px;
    text-align: center;
    position: relative;
}

.aiInputContainer {
    display: block;
    margin-top: 20px;
    margin-left: 20px;
}

.aiInputContainer .button {
    position: relative;
    /*right: 55px;*/
    top: 3px;
    display: inline-block;
    /*background-color: #fff;*/
    color: #000;
    font-size: 20px;
    border: 0;
    line-height: inherit;
    text-decoration: none;
    cursor: pointer;
}

.aiInputContainer .input {
    position: relative;
    display: block;
    right: -20px;
    width: 90%;
    margin-bottom: 0px;
    padding: 12px;
    color: #333333;
    vertical-align: middle;
    background-color: #ffffff;
    border: none;
    margin: 0;
    line-height: 1.3;
    transform: skew(20deg);
}

.ai-response-text-only-max-width {
    max-width: 800px;
    padding: 0 1.6rem;
    margin: 0 auto;
}

.ai-response-text-only {
  padding-top: 10px;
  padding-bottom: 10px;
  position: relative;
  padding: 10px 25px;
  background: #333333;
  color: #fff;
  font-size: 16px;
  margin: 10px;
  display: inline-block;
  transform: skew(20deg);
  opacity: 0;
  top: 50px;
}

.ai-response-text-container {
  display: block;
  transform: skew(-20deg);
}

.ai-response-text-only:before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 65px;
  margin: auto;
  height: 10px;
  width: 10px;
  transform: rotate(45deg);
  background-color: #333333;
}

.ai-extra-margin {
  margin: 50px 0;
}

/*.ai-response-text-only:before {
  content: '\2713';
  display: inline-block;
  color: green;
  padding: 0 6px 0 0;
  font-size: 25px;
  font-weight: bold;
}*/

.phoneNumberLink {
  text-decoration: none;
}

.aiInputContainer .input:focus {
  outline: none;
  border: none;
}

.aiSearchInput-border:focus-within {
  border: 1px solid #000000;
}

.aiSearchInput-border {
  background: #ffffff;
  display: inline-block;
  width: 50%;
  margin: 0;
  line-height: 1.43;
  border: 1px solid #cccccc;
  transform: skew(-20deg);
}

#aiSearchButton {
  outline-style: none !important;
}

#aiSearchButton:focus .aiAskButton::before,
#aiSearchButton:focus .aiAskButton {
  text-decoration: underline;
}

.preQuestionVisible {
    opacity: 0;
    top: 20px;
}

.preQuestions span,
.aiSuggestion span,
.aiSuggestionQuestion span {
  transform: skew(-20deg) !important;
  display: block;
}

.aiSuggestionQuestionContainer {
    text-align: center;
    padding: 0 50px;
}

.aiSuggestion, .preQuestions, .aiSuggestionQuestion {   
    padding: 5px 15px;
    background: rgba(83,124,255, 1); /*#888888;*/
    color: #fff;
    font-size: 16px;
    margin: 10px;
    display: inline-block;
    position: relative;
    /*border-radius: 10px;*/
    transform: skew(20deg);
    cursor: pointer;
    /*-webkit-clip-path: polygon(99% 0, 0 0, 0 800%);
    clip-path: polygon(99% 0, 0 0, 0 800%);*/
}

.preQuestions:before, 
.aiSuggestion:before,
.aiSuggestionQuestion:before {
    content: "";
    position: absolute;
    top: -5px;
    left: 15px;
    margin: auto;
    height: 10px;
    width: 10px;
    transform: rotate(45deg);
    background-color: rgba(83,124,255, 1); /*#888888;*/
}

.aiSuggestion:hover, 
.preQuestions:hover,
.aiSuggestionQuestion:hover,
.aiSuggestion:hover:before,
.preQuestions:hover:before,
.aiSuggestionQuestion:hover:before {
    background: rgba(255,69,34, 1);
}

.aiResponse {
    text-align: initial;
}

.aiResponseIcon {
  width: 45px;
  position: relative;
  top: -20px;
  display: inline-block;
  mask: linear-gradient(-60deg, #000 30%, rgba(254, 254, 254, 0), #000 70%) right/350% 100%;
  animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
  100% {
    mask-position: left
  }
}

.suggested-question-title {
  display: block;
}

.aiHeader {
    padding: 20px;
    font-size: 28px;
    color: #888888;
    font-weight: lighter;
    cursor: pointer;
    width: 100%;
    text-align: center;
}

.aiHeaderInView {
    color: #888888;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.aiContentText {
    /*padding: 0 50px;*/
}

.responseBackground {
    height: auto;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.responseBackground > div {
    color: #fff;
    font-size: 32px;
    padding: 150px 100px;
}

.suggestionContainer {
    text-align: center;
    padding: 20px;
}

.preQuestionContainer {
    padding: 5px 20px;
}

/** Loading **/

.loaderAsk {
  position: absolute;
  top: calc(50% - 38px);
  left: calc(50% - 38px);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  perspective: 800px;
}

.loaderSuggest {
  top: calc(50% - 32px);
  left: calc(50% - 32px);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  perspective: 800px;
  display: inline-block;
}

.inner {
  position: absolute;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  border-radius: 50%;  
}

.inner.one {
  left: 0%;
  top: 0%;
  animation: rotate-one 1s linear infinite;
  border-bottom: 3px solid rgb(255,69,34);
}

.inner.two {
  right: 0%;
  top: 0%;
  animation: rotate-two 1s linear infinite;
  border-right: 3px solid rgb(255,69,34);
}

.inner.three {
  right: 0%;
  bottom: 0%;
  animation: rotate-three 1s linear infinite;
  border-top: 3px solid rgb(255,69,34);
}

.additionalOuterContainer {
  width: 100%;
  color: #000000;
  padding: 50px;
  text-align: center;
}

.additionalOuterContainerSpan {
  position: relative;
  padding: 25px;
  background: #f5f8fa;
  color: #000000;
  font-size: 16px;
  margin: 10px;
  display: inline-block;
  transform: skew(20deg);
  border: solid 1px #d3d3d3;
}

.additionalOuterContainerText {
  display: block;
  transform: skew(-20deg);
}

.tssc-diagonal-line2 {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  border: solid 50px rgba(83,124,255, 1);
  transform: rotate(45deg);
  transform-origin: top left;
  z-index: -1;
}

.tssc-diagonal-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  border: solid 50px rgba(255, 69, 34, 1);
  transform: rotate(45deg);
  transform-origin: top right;
  z-index: -1;
}

.diagonal-line2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: solid 50px rgba(83,124,255, 1);
  transform: rotate(45deg);
  transform-origin: top left;
  z-index: -1;
}

.diagonal-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: solid 50px rgba(255, 69, 34, 1);
  transform: rotate(45deg);
  transform-origin: top right;
  z-index: -1;
}

@keyframes rotate-one {
  0% {
    transform: rotateX(35deg) rotateY(-45deg) rotateZ(0deg);
  }
  100% {
    transform: rotateX(35deg) rotateY(-45deg) rotateZ(360deg);
  }
}

@keyframes rotate-two {
  0% {
    transform: rotateX(50deg) rotateY(10deg) rotateZ(0deg);
  }
  100% {
    transform: rotateX(50deg) rotateY(10deg) rotateZ(360deg);
  }
}

@keyframes rotate-three {
  0% {
    transform: rotateX(35deg) rotateY(55deg) rotateZ(0deg);
  }
  100% {
    transform: rotateX(35deg) rotateY(55deg) rotateZ(360deg);
  }
}
