.youl-chat-icon {
  width: 2rem;
  height: 2rem;
  left: 1rem;
  bottom: 1rem;
  z-index: 999;
  cursor: pointer;
  position: fixed;
  background-image: url('czat-dymek-youl.svg');
  background-size: contain;
}
@media (min-width: 40rem) {
  .youl-chat-icon {
    left: 3rem;
    bottom: 3rem;
  }
}
#youl-chat,
#chat-thanks {
  opacity: 0;
  visibility: hidden;
  transition: 0.15s ease;
  position: fixed;
  height: 25rem;
  width: 90vw;
  left: 1rem;
  bottom: 4rem;
  z-index: 9999;
  background-color: #fff;
  border-radius: 1rem;
  box-sizing: border-box;
  border: 1px solid lightgray;
}
#youl-chat.active,
#chat-thanks.active {
  opacity: 1;
  visibility: visible;
  transition: 0.15s ease;
}
@media (min-width: 40rem) {
  #youl-chat,
  #chat-thanks {
    left: 6rem;
    bottom: 2.75rem;
    z-index: 999;
    width: 15rem;
  }
}
#youl-chat p,
#chat-thanks p {
  padding: 0.75rem 1rem;
}
#youl-chat label,
#chat-thanks label {
  line-height: 1.8;
  max-width: 100%;
  position: relative;
  margin: 0;
  display: inline-block;
  font-size: 0.8rem !important;
  margin-bottom: 0.25rem;
}
#youl-chat label:before,
#chat-thanks label:before {
  content: '';
  display: inline-block;
  width: 0.2rem;
}
#youl-chat .wpcf7-form-control-wrap,
#chat-thanks .wpcf7-form-control-wrap {
  border-radius: 0.5rem;
  background-color: #e6e6e6;
  display: inline-block;
  max-width: 100%;
  padding: 0.2rem 0.75rem;
}
#youl-chat .wpcf7-form-control-wrap input,
#chat-thanks .wpcf7-form-control-wrap input,
#youl-chat .wpcf7-form-control-wrap textarea,
#chat-thanks .wpcf7-form-control-wrap textarea {
  font-size: 0.8rem !important;
  margin-bottom: 0 !important;
  background: transparent;
  max-width: 100%;
  color: #000;
  padding: 0.25rem;
  height: auto;
}
#youl-chat .wpcf7-form-control-wrap textarea,
#chat-thanks .wpcf7-form-control-wrap textarea {
  height: 10rem;
  padding: 0.5rem 0.25rem;
}
#youl-chat input[type=submit],
#chat-thanks input[type=submit] {
  background-color: #000;
  width: 100%;
  font-size: 0.8rem !important;
  text-transform: none;
  border-radius: 2rem;
  margin-bottom: 1rem;
  border-width: 1px;
  font-weight: 600;
}
#youl-chat input[type=submit]:hover,
#chat-thanks input[type=submit]:hover {
  background: white;
  color: black;
  border-color: black;
}
#youl-chat .wpcf7-not-valid-tip,
#chat-thanks .wpcf7-not-valid-tip {
  color: red;
  font-weight: 400;
  display: block;
  position: absolute;
  top: -1.25rem;
  right: 0;
  text-transform: uppercase;
  font-size: 0.6rem;
  letter-spacing: 1px;
}
#chat-thanks {
  padding: 5rem 0.75rem 1rem 0.75rem;
  display: flex;
  flex-flow: column wrap;
  justify-content: space-between;
}
#chat-thanks p {
  text-align: center;
  font-size: 0.9rem;
  padding: 0;
  margin-bottom: 0;
}
#chat-thanks p.chat-header {
  font-size: 1.25rem;
  font-weight: 600;
}
#chat-thanks p b {
  font-weight: 600;
  font-size: 1rem;
}
#chat-thanks button {
  background: white;
  color: black;
  border: 1px solid black;
  border-radius: 2rem;
  text-transform: none;
  font-size: 0.8rem !important;
  font-weight: 600;
}
#chat-thanks button:hover {
  background: black;
  color: white;
}
#chat-btns {
  position: fixed;
  left: 4rem;
  bottom: 1rem;
  z-index: 1;
  width: 12.5rem;
  height: 15rem;
  display: flex;
  flex-flow: column wrap;
  justify-content: space-between;
}
@media (min-width: 40rem) {
  #chat-btns {
    left: 6rem;
    bottom: 2.75rem;
  }
}
#chat-btns.active {
  z-index: 999;
}
#chat-btns button,
#chat-btns #chat-actions a {
  display: inline-block;
  margin-top: auto;
  border-radius: 2rem;
  background: transparent;
  border: 1px solid black;
  font-weight: 600;
  color: black;
  text-transform: none;
  width: 100%;
  margin: 0;
  font-size: 0.9rem !important;
  letter-spacing: 0.75px;
  cursor: pointer;
  transition: 0.5s ease;
}
#chat-btns button:hover,
#chat-btns #chat-actions a:hover {
  background-color: black;
  color: white;
  transition: 0.5s ease;
}
#chat-btns #chat-actions {
  position: absolute;
  bottom: 0;
  box-sizing: border-box;
  height: 0;
  transition: 0.5s ease;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  flex-flow: column-reverse wrap;
  width: 100%;
  opacity: 0;
  padding-top: 0;
  z-index: 1;
}
#chat-btns #chat-actions a {
  background-color: white;
  text-align: center;
  padding: 0.33rem 0.1rem;
}
#chat-btns #chat-actions a.chat-close {
  width: 0.75rem;
  height: 0.75rem;
  border: none;
  padding: 0;
  background: url('close.svg') no-repeat center;
  background-size: contain;
  background-color: transparent;
  position: absolute;
  top: 0;
  right: 0;
}
#chat-btns #chat-actions.active {
 /* height: 10rem; */
  height:7rem;
  opacity: 1;
  transition: 0.2s ease height;
  padding-top: 1rem;
  z-index: 9999;
}
#chat-btns .need-help {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s ease;
  width: 12.5rem;
  bottom: -3rem;
}
#chat-btns .need-help.active {
  opacity: 1;
  visibility: visible;
  bottom: 0;
  transition: 0.4s ease;
}
#chat-btns .need-help button:hover {
  background-color: black;
  color: white;
}
a.chat-close {
  width: 0.75rem;
  height: 0.75rem;
  border: none;
  padding: 0;
  cursor: pointer;
  background: url('close.svg') no-repeat center;
  background-size: contain;
  background-color: transparent;
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
}
