.search-block {
  width: 50%;
  display: flex;
  justify-content: center;
  margin: 2rem auto 1rem auto;
  position: relative;
  height: 40px;
}

.faq-main-container {
  padding: 2rem;
}

.faq-pagination button img {
  width: 30px;
}
.pagination__dropdown--width {
  cursor: pointer;
  border-radius: 4px;
  padding-top: 0px;
  padding-bottom: 0px;
  margin-top: 0;
  margin-left: 5px;
  border: 1px solid #e9ecef !important;
}
.query-form-content {
  width: 80%;
  margin: auto;
}

.query-form-block input,
textarea {
  max-width: 100%;
  border-radius: 4px;
}
.query-form-block input + div,
textarea + div {
  position: absolute;
}

.faq-pagination button {
  border-radius: 4px;
  border: 1px solid #e9ecef;
  padding: 3px;
  background-color: #fff;
}

.no-results button {
  border: 0 solid #005ea2;
  color: #005ea2;
  margin-top: 0;
  width: auto;
}

.faq-pagination button:not(:disabled) {
  cursor: pointer;
}
.faq-pagination button:disabled {
  opacity: 0.6;
  background-color: unset !important;
  border-color: unset !important;
}
.faq-pagination button,
.faq-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
}
.faq-pagination {
  padding: 0.5rem 0 2rem 0;
}

.faq-pagination p {
  font-size: 1.06rem;
  font-weight: 600;
  margin-inline: 1.5rem;
}

.imports {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.giftsCount h4 {
  text-align: end;
  position: relative;
  bottom: 25px;
  right: 17px;
  color: #757575;
}

.imports button {
  /* width: 10%; */
  min-width: 100px;
}

/* .imports button span, */
.demo-video-text button span {
  position: relative;
  bottom: 5px;
  padding-left: 7px;
}

.demo-video-text button span {
  color: #fff;
}

/* .imports button img {
      width: 19px;
  } */

.modelTitle h3 {
  margin-bottom: 0.5rem;
}

.search-block .clear {
  position: absolute;
  top: 10.5px;
  right: 70px;
  cursor: pointer;
}
.usa-accordion__button[aria-expanded="false"] {
  background-image: url("../icons/chevron-down.svg");
}
.usa-accordion__button[aria-expanded="true"] {
  background-image: url("../icons/chevron-up.svg");
}
.usa-accordion__button {
  background-color: #fff;
  padding: 20px;
  padding-right: 40px;
  border-bottom: 2px solid #e5e7eb;
  background-image: url("../images/arrow-up-blue.svg");
}
.usa-accordion__button:hover {
  background-color: #fff;
}
.search-block .usa-button {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  margin: 0 !important;
  padding: 0.5rem 1rem !important;
  width: auto !important;
  height: 40px !important;
  margin-left: -5px !important;
  z-index: 1;
}

.search-block .usa-button img {
  width: 25px;
}

.search-block .usa-input {
  margin: 0;
  height: auto;
  border-radius: 0.25rem;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  max-width: 100%;
  padding: 0.6rem 2.7rem 0.6rem 1rem;
  position: relative;
  font-size: 1.3rem;
  border-right: unset !important;
}

.faqConfirmBtns button {
  width: 13%;
  margin-top: 10px;
}

.faqConfirmBtns button:last-child {
  margin-left: 1rem;
}
.text-center {
  text-align: center;
}
.text-search-block {
  text-align: center;
}
.section_margin {
  margin: 30px 0px;
}

.text-search-block {
  width: 100%;
  border-radius: 12px;
  background: rgba(115, 179, 231, 0.11);
  padding: 3rem 1rem;
}

.text-search-block h1 {
  margin-top: 1rem;
  font-size: 40px;
  color: #1356b4;
}

.text-search-block p {
  color: #71767a;
  font-weight: 500;
  font-size: 1.4rem;
}

.text-search-block p {
  width: 60%;
  margin: auto;
}

.accordionButton {
  background-image: url("../../../assets/images/angle-up.svg"),
    linear-gradient(transparent, transparent);
  padding: 1rem 0;
  background-position-y: 50%;
  background-color: transparent;
}

.accordionButton[aria-expanded="false"] {
  background-image: url("../../../assets/images/angle-down.svg"),
    linear-gradient(transparent, transparent);
  background-position-y: 50%;
  background-color: transparent;
}

.faq-accordion {
  padding: 0 !important;
  background-color: transparent;
}

.faq,
.faq div {
  display: flex;
  justify-content: space-between;
}

.demo-video-faq-block {
  margin-top: 3rem;
}

.usaAlert:not(:last-child) {
  padding-bottom: 1rem;
}

.faq {
  font-size: 1.1rem;
  width: 95%;
  display: flex;
  align-items: center;
}

.delete-icon {
  margin-left: 2rem;
  margin-right: 1.5rem;
}

.faq p {
  width: 80%;
  white-space: pre-wrap;
}

.faq div img,
.demo-video-text span img,
.general-faq-text span img {
  width: 20px;
  cursor: pointer;
}

.demo-video-text span img,
.general-faq-text span img {
  position: relative;
  top: 3px;
}

.usaAlert p {
  font-size: 1rem;
  padding: 0 0 1rem 0;
}
::ng-deep .usaAlert ul,
::ng-deep .usaAlert ol {
  margin-left: 2rem;
}

.faq div {
  display: flex;
  align-items: center;
}

.FAQs-block {
  margin-top: 2rem;
  padding: 2rem 3rem;
}

.general-faq-text p,
.demo-video-text p {
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.demo-video-text span,
.general-faq-text span {
  color: #1356b4;
  font-weight: 600;
  font-size: 1.2rem;
  cursor: pointer;
}

.faqToolTipModel {
  display: none;
  position: fixed;
  z-index: 450;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.toolTipModelContent {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 1px 1px 7px 1px #5555;
  position: relative;
  width: 40%;
  /* bottom: 25px; */
}

.cross-icon {
  position: absolute;
  cursor: pointer;
  top: 8px;
  right: 10px;
}

.faqBtn button {
  width: 100%;
}

.faqForm .usa-input {
  max-width: 100%;
  border-radius: 4px;
}

.faqForm .usa-input + div {
  position: fixed;
}

.video-container {
  position: relative;
  border-radius: 10px;
}

.video-container video:hover {
  background: rgba(26, 68, 128, 0.2);
}

.msg-box {
  border: 1px solid #8f9295;
  border-radius: 4px;
  margin-top: 0.5rem;
  background-color: #ffffff;
}

::ng-deep .ql-container.ql-snow {
  border: unset !important;
}

::ng-deep .ql-editor.ql-blank::before,
::ng-deep .ql-editor {
  font-size: 17px;
  font-weight: 500;
  font-style: unset !important;
}

quill-editor {
  display: block !important;
  width: 100%;
}

::ng-deep .ql-toolbar.ql-snow + .ql-container.ql-snow {
  font-size: 1.06rem;
}

.msg-box:focus-within {
  border-color: #1356b4 !important;
}

.msg-box:focus-within + div,
.upload {
  display: none;
}

::ng-deep .ql-toolbar.ql-snow .ql-formats {
  margin-right: 10px !important;
}

::ng-deep .ql-editor {
  padding: 10px !important;
  height: 45vh;
}

::ng-deep .ql-editor ul,
::ng-deep .ql-editor ol {
  padding-left: 0;
}

quill-editor ::ng-deep .ql-toolbar {
  background: white;
}

quill-editor ::ng-deep .ql-toolbar .ql-undo::after {
  background-image: url("../../../assets/images/undo.svg");
}

quill-editor ::ng-deep .ql-toolbar .ql-redo::after {
  background-image: url("../../../assets/images/redo.svg");
}

quill-editor ::ng-deep .ql-toolbar .ql-redo::after,
quill-editor ::ng-deep .ql-toolbar .ql-undo::after {
  content: "";
  background-size: contain;
  width: 18px;
  height: 18px;
  position: relative;
  bottom: 2px;
  opacity: 0.9;
  background-repeat: no-repeat;
}

::ng-deep .ql-snow.ql-toolbar button {
  display: flex !important;
  align-items: center;
}

::ng-deep #emoji-palette {
  max-width: 95% !important;
  left: 10px !important;
}

::ng-deep .ap {
  margin: 3px !important;
}

::ng-deep #tab-toolbar ul {
  display: flex !important;
  justify-content: space-evenly !important;
}

::ng-deep .ql-editor.ql-blank::before {
  left: 10px !important;
}

.faq-pagination button:not(:disabled):hover {
  background: #f1f1f2;
}

.faq-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-right: 1rem;
}

.faq-actions i {
  cursor: pointer;
}
.pagination {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-content: center;
  gap: 1rem;
  margin-top: 20px;
}

.pagination .pagination__summary {
  color: #71767a;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.pagination .pagination__navigator {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.pagination .pagination__navigator button {
  background-color: transparent !important;
  border: 1px solid #d1d5d6 !important;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2em;
  width: 2rem;
}

.pagination .pagination__navigator p {
  font-weight: bold;
  font-size: 14px;
  color: #1b1b1b;
}

.pagination .usa-select {
  border: 1px solid #d1d5d6 !important;
  cursor: pointer;
  border-radius: 4px;
  padding-top: 0px;
  padding-bottom: 0px;
  height: 2rem;
  margin-top: 0;
}
.pagination__text--highlight {
  font-weight: 500;
}
.pagination__button {
  cursor: pointer;
}

@media (max-width: 767px) {
  .pagination .usa-select {
    width: auto;
  }
  .pagination {
    flex-direction: column;
  }
  .pagination .pagination__summary {
    justify-content: center;
  }
  .pagination__range {
    display: flex;
    justify-content: center;
  }
}

@media (min-width: 160px) and (max-width: 1050px) {
  .faqToolTipModel {
    display: none;
  }
}

@media (min-width: 550px) and (max-width: 1050px) {
  .toolTipModelContent {
    width: 50%;
  }
}

@media (min-width: 120px) and (max-width: 550px) {
  .faq-accordion {
    padding: 0 !important;
    overflow: unset;
  }

  .demoVideo video {
    width: 100%;
    border-radius: 7px;
    height: 200px;
  }

  .accordion-panal {
    padding: 0;
  }

  .toolTipModelContent {
    width: 93% !important;
    padding: 15px 20px 20px 20px !important;
  }

  .modelTitle {
    background-color: #fff;
    padding-bottom: 7px;
  }
}

@media (min-width: 640px) and (max-width: 940px) {
  .query-form-content {
    width: 100%;
  }
}

@media only screen and (max-width: 770px) {
  .general-faq-text h1,
  .demo-video-text h1 {
    font-size: 1.5rem !important;
  }

  .faqConfirmBtns button {
    width: 22%;
  }

  .text-search-block h1 {
    font-size: 2rem;
    margin-top: 0;
  }

  .text-search-block p {
    width: 65%;
  }

  .search-block {
    width: 65%;
    margin: 2rem auto 0 auto;
  }

  .faq {
    width: 90%;
  }

  .delete-icon {
    margin-left: 1rem;
    margin-right: 0.75rem;
  }

  .search-block .clear {
    right: 66px;
  }

  .imports {
    margin-top: 0;
  }

  .imports button {
    width: 20%;
  }

  .query-form-content {
    width: 100%;
  }
}

@media only screen and (max-width: 480px) {
  .text-search-block {
    display: block;
    text-align: left;
    margin: 1.2rem auto;
    padding: 1.1rem;
  }

  .faqConfirmBtns button {
    width: 25%;
  }

  .giftsCount h4 {
    text-align: end;
    position: relative;
    bottom: 10px;
    right: 0;
  }

  .faq-main-container {
    padding: 0.5rem;
  }

  .imports button {
    width: 48%;
  }

  .imports {
    justify-content: space-between;
    margin-top: 0;
    margin-bottom: 1.3rem;
  }

  .search-block .clear {
    right: 62px;
  }

  .text-search-block h1 {
    margin-top: 0;
    font-size: 1.8rem;
    color: #1356b4;
  }

  .search-block {
    margin: 0.5rem auto;
  }

  .text-search-block p {
    font-size: 1.3rem;
  }
  .query-form-block,
  .query-form-content .general-faq-text,
  .text-search-block p,
  .demo-video-text,
  .FAQs-block,
  .search-block,
  .general-faqs {
    width: 100%;
  }

  .general-faqs {
    margin: 1.7rem 0;
  }

  .demo-video-faq-block {
    margin-top: 2rem;
    padding-bottom: 1rem;
  }

  .FAQs-block {
    margin: 2rem auto;
  }
  .search-block .usa-input {
    padding: 0.6rem 2.2rem 0.6rem 0.8rem;
  }

  .accordionButton[aria-expanded="false"],
  .accordionButton {
    background-position: right center;
  }
}

/* general-faq accordion primeng */
::ng-deep .general-faqs .p-accordion-header-link {
  flex-direction: row-reverse;
  align-items: start;
  justify-content: space-between;
  border: none;
  border-top: 2px solid #e5e7eb;
  border-radius: 0px;
}

::ng-deep .general-faqs .p-accordion .p-accordion-content {
  border: none;
  border-radius: 0px;
}

.general-faqs .faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #1b1b1b;
}

.general-faqs .faq-question span {
  width: 80%;
}
