main p.fw-bold {
  color: #000;
  font-size: 1.2rem;
}

.masthead {
  padding: 3rem 0 7rem;
  position: relative;
  background-color: #1772bd;
  background-size: cover;
  z-index: 0;
}

.masthead svg.wave {
  position: absolute;
  bottom: -1px;
  left: 0;
}

.masthead h1 {
  color: #fff;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.1;
  z-index: 1;
}

.masthead h2 {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  z-index: 1;
  font-size: 1.2rem;
}

.masthead a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  z-index: 1;
}

.masthead a:hover {
  color: #fff;
}

.masthead a:active {
  text-decoration: none;
}

@media (min-width: 992px) {
  .masthead h1 {
    font-size: 3rem;
  }

  .masthead h2 {
    font-size: 1.5rem;
  }
}

.masthead .masthead-cards {
  position: relative;
  z-index: 1;
}

.masthead .masthead-cards .shape {
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.3);
  top: 0;
  left: 0;
  z-index: -1;
  border-radius: 30% 70% 70% 30%/30% 30% 70% 70%;
}

.masthead .masthead-cards .card {
  opacity: 1;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05rem;
  color: #212529;
  transition: 0.15s all;
}

.masthead .masthead-cards .card:hover {
  margin-top: -0.25rem;
  margin-bottom: 0.25rem;
}

.masthead .masthead-cards .card:active {
  margin-top: inherit;
  margin-bottom: inherit;
}

.masthead .masthead-cards .card.border-bottom-blue:hover {
  color: #2092ed;
}

.masthead .masthead-cards .card.border-bottom-green:hover {
  color: #28a745;
}

.masthead .masthead-cards .card.border-bottom-red:hover {
  color: #dd3d31;
}

.masthead .masthead-cards .card.border-bottom-yellow:hover {
  color: #ffc107;
}

.masthead-page {
  padding: 1rem 0 4rem;
}

@media (min-width: 992px) {
  .masthead-page h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 500px) {
  .masthead {
    padding: 0 0 1rem;
  }

  main p.fw-bold {
    font-size: 1.1rem;
  }

  .p-xs-0 {
    padding: 0 !important;
  }
}

.border-bottom-yellow {
  border-color: #ffc107 !important;
}

.border-bottom-red {
  border-color: #dd3d31 !important;
}

.border-bottom-blue {
  border-color: #2092ed !important;
}

.border-bottom-green {
  border-color: #28a745 !important;
}

.border-bottom-blue,
.border-bottom-green,
.border-bottom-red,
.border-bottom-yellow {
  border-bottom: 0.4rem solid !important;
}

.shadow-lg {
  box-shadow: 0 2rem 1.5rem -1.5rem rgba(33, 37, 41, 0.15),
    0 0 1.5rem 0.5rem rgba(33, 37, 41, 0.05) !important;
}

.border-0 {
  border: 0 !important;
}

.nav-link {
  margin-bottom: 8px;
}

label.box {
  display: flex;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 5px;
  cursor: pointer;
  border: 1px solid #eee;
  background: #fff;
}

label.box:hover {
  border: 1px solid #1772bd50;
}

label.box.selected .circle {
  border: 6px solid #1772bd;
  background-color: #fff;
}

label.box .course {
  display: flex;
  align-items: center;
  width: 100%;
}

label.box .circle {
  height: 22px;
  width: 22px;
  border-radius: 50%;
  margin-right: 15px;
  border: 2px solid #ddd;
  display: inline-block;
  flex: 0 0 22px;
}

input[type="radio"] {
  display: none;
}

.bg-f7f7f7 {
  background-color: #f7f7f7 !important;
}

.item-chat {
  padding: 15px;
}
.item-chat img {
  width: auto;
  height: 62px;
  display: block;
  margin-left: 0;
  margin-right: auto;
}

@media (max-width: 450px) {
  .subject {
    font-size: 12px;
  }
}

@media (min-width: 576px) {
  .row {
    display: flex;
    align-items: stretch;
  }
  .col-sm-8,
  .col-sm-4 {
    display: flex;
    flex-direction: column;
  }
}

@media (min-width: 768px) {
  .row.g-2 {
    display: flex;
    flex-wrap: wrap;
  }
  .row.g-2 > [class^="col-"] {
    display: flex;
  }
  .item-chat {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
}

/** Readmore **/

.faq-section .accordion {
  width: 100%;
}

.accordion-button:not(.collapsed) {
  /* background-color: #c5e5d8;*/
  background-color: var(--secondary-text);
}

.accordion-button:not(.collapsed)::after {
  background-image: none;
  transform: none;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button:before {
  content: "";
  position: absolute;
  /*   right: 0.75rem; */
  right: 0.75rem;
  top: 1.25rem;
  height: 2px;
  width: 1rem;
  background-color: var(--primary-text);
}
.accordion-button.collapsed:after {
  content: "";
  position: absolute;
  /*   right: 1.1875rem; */
  right: 1.1875rem;
  top: 0.8125rem;
  height: 1.0625rem;
  width: 0.125rem;
  border-style: none;
  background-color: var(--primary-text);
}

.faq-section .accordion-button h5 {
  /*   color: #7dbc9e; */
  color: var(--primary-text);
  margin-right: 13px;
}
.accordion-body {
  background-color: var(--secondary-text);
}

.accordion-body ol {
  counter-reset: step-counter;
  list-style-type: none;
  padding-left: 0;
}

:root {
  --primary-text: #2466c9;
  --secondary-text: #f1f7ff;
  --white-text-white: #ffffff;
  --black-text-black: #000000;
}

@media screen and (min-width: 768px) {
  .accordion-button:before {
    right: 0.75rem;
  }

  .accordion-button.collapsed:after {
    right: 1.1875rem;
  }

  .faq-section .accordion-button h5 {
    margin-right: 0px;
  }
}

/** End Readmore **/

.nav.nav-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #ccc #f5f5f5;
}

.nav.nav-pills .nav-item {
    flex: 0 0 auto;
}

.nav.nav-pills .nav-link {
    white-space: nowrap;
}

@media (max-width: 767.98px) {
  .page-quiz-cv2 .bg-f5f5f5 {
    background-color: #fff !important;
  }
}