/* FAQ */

.custom-faqs {
}
.custom-faqs .panel {
  background: #ffffffad;
  margin-bottom: 30px;
  box-shadow: -4px 17px 14px -17px rgb(181 203 230 / 45%);
}
.custom-faqs .panel a.question {
  display: flex;
  padding: 30px 20px 30px 0px;
  text-decoration: none;
  align-items: center;
  border-bottom: none;
  font-size: 24px;
  position: relative;
}
.custom-faqs .panel:first-child a.question {
  border-top: none;
}
.custom-faqs .panel a .number {
  color: #5985c5;
  margin-right: 10px;
  font-size: 19px;
}
.custom-faqs .panel a .text {
  position: relative;
  transition: all 0.3s;
  color: #2f5995;
}

.custom-faqs .panel a.question:hover .text,
.custom-faqs .panel.expanded a.question .text {
  color: #e3a83d;
}
.custom-faqs .panel a.question:before {
  content: "";
  border: solid #435777;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 5px;
  position: absolute;
  right: 40px;
  transform: rotate(45deg);
  transition: all 0.3s;
  z-index: 1;
}

.custom-faqs .panel a.question:after {
  content: "";
  height: 40px;
  width: 40px;
  position: absolute;
  right: 0;
  background: #e6eefb;
  display: none;
}

.custom-faqs .panel.expanded a.question:before {
  transform: rotate(225deg);
}
.custom-faqs .panel .panel-collapse {
  display: none;
  padding: 10px 20px 30px 20px;
}
.custom-faqs .panel.expanded .panel-collapse {
  display: block;
}

ul.featured-items {
  padding: 0;
  margin: 10px 0;
}
ul.featured-items > li {
  list-style: none;
  margin: 0 0 15px;
  font-size: 17px;
}
ul.featured-items > li img {
  min-width: 40px;
  margin-right: 11px;
  min-width: 41px;
  width: 40px;
}
ul.featured-items > li .title {
  font-size: 22px;
  margin: 4px 0 7px;
}
ul.featured-items > li p {
}
ul.featured-items.expanded-images > li {
  text-align: center;
  margin: 0 auto 30px;
}
ul.featured-items.expanded-images > li img {
  width: 200px;
  margin: 0 auto 20px;
  display: block;
}

/* grid */

.grid-gallery .item.col-auto {
  width: 20%;
}

/* TIMELINE BLOCK */

.timeline-block {
  position: relative;
  min-height: 300px;
  margin: 30px auto;
  max-width: 660px;
  padding-bottom: 50px;
}
.timeline-block:before {
  content: "";
  position: absolute;
  left: calc(50% - 2px);
  top: 0;
  height: 100%;
  border-left: 4px dashed #ededed;
}
.timeline-block:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 22px;
  height: 22px;
  background-color: #df9929;
  border: 5px solid #5d89c6;
  border-radius: 50%;
  transform: translateX(-50%);
}

.timeline-block > div {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  margin: 0 0 36px;
}
.timeline-block > div:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 22px;
  height: 22px;
  border: 5px solid #df9929;
  background: #f2f2f2;
  border-radius: 50%;
  transform: translateX(-50%);
}
.timeline-block > div > * {
  width: calc(50% - 31px);
}
.timeline-block > div .thumb-container {
  height: 100px;
  border-radius: 8px;
}
.timeline-block > div .caption {
  display: block;
  font-size: 13px;
}
.timeline-block > div:nth-child(2n + 1) .caption {
  order: -1;
}
.timeline-block > div .caption .datetime {
  margin: 0 0 1px;
  font-weight: bold;
  font-size: 14px;
}
.timeline-block > div .caption .content {
}
.timeline-block > div .caption .content .title {
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 4px;
}

/* TABLE BLOCK */

.table-block {
  border-radius: 10px;
  /* overflow: hidden; */
}
.table-block table {
  border-collapse: collapse;
  width: 100%;
  border-radius: 0;
  font-size: 14px;
}
.table-block table tr {
}
.table-block table tr th,
.table-block table tr td {
  /* border-collapse: collapse; */
  border: 1px solid #5985c5;
  padding: 14px 8px;
  /* background-color: rgb(89 133 197 / 70%); */
  /* color: #ffffff; */
  background-color: #ffffff;
}
.table-block table tr td:nth-child(2n + 1) {
  /* background-color: #5985c5; */
}

.table-block table tr:first-child td {
  background-color: #5985c5;
  text-transform: uppercase;
  font-weight: bold;
  color: #ffffff;
  border-color: #ffffff;
}
.table-block table tr:first-child td:first-child {
  /* border-radius: 0; */
}
.table-block table tr:first-child td:last-child {
  /* border-radius: 0 10px 0 0; */
}
.table-block table tr:last-child td:first-child {
  border-radius: 0 0 0 10px;
}
.table-block table tr:last-child td:last-child {
  /* border-radius: 0 0 10px 0; */
}

/* grid */

.grid-gallery {
  overflow: hidden;
  justify-content: center;
  margin: 0px -5px 30px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: -ms-autohiding-scrollbar;
}
.grid-gallery .item {
  margin: 0 0 10px;
  padding: 0 5px;
}
.grid-gallery .item .thumb-container {
  height: auto;
  padding-bottom: 66%;
  border-radius: 10px;
  background-size: contain;
}

.carousel-gallery {
  margin: 0 0 30px;
}
.carousel-gallery .item {
  padding: 0;
}
.carousel-gallery .item .thumb-container {
  padding-bottom: 66%;
  border-radius: 10px;
}
@media (min-width: 992px) {
  /* section builder */

  .section-title {
  }
  .section-subtitle {
  }
  .section-title + .section-subtitle {
    margin-top: -11px;
    margin-bottom: 30px;
  }

  /* ITEM FILTERS */

  ul.item-filters {
    /* justify-content: center; */
    margin: 0;
  }
  ul.item-filters::-webkit-scrollbar {
    display: none;
  }
  ul.item-filters > li {
  }
  ul.item-filters > li a {
    font-size: 15px;
  }

  /* faq */

  .custom-faqs .panel a.question {
    padding: 25px 30px;
    font-size: 22px;
  }
  .custom-faqs .panel a .number {
    margin-right: 16px;
    font-size: 27px;
  }
  .custom-faqs .panel a.question:before {
  }
  .custom-faqs .panel .panel-collapse {
    padding: 10px 20px 10px 30px;
    max-width: 80ch;
  }

  /* featured elements */

  ul.featured-items {
    padding: 0;
  }
  ul.featured-items.expanded-images > li {
    padding: 20px 30px;
    flex-basis: 100%;
    text-align: center;
  }

  ul.featured-items.expanded-images > li img {
    min-width: 100px;
    margin: 0px auto 15px;
    width: auto;
    /* max-height: 100px; */
  }
  ul.featured-items.expanded-images > li img.rounded {
    padding: 0 25px;
  }
  ul.featured-items > li .title {
    font-size: 26px;
    margin: 4px 0px 10px;
  }
  ul.featured-items > li p {
    font-size: 17px;
  }

  ul.featured-items.icon-images > li {
    width: 33.3333%;
    padding: 0px 40px 40px;
    margin: 20px 0 20px;
    align-items: center;
    text-align: center;
  }

  ul.featured-items.icon-images.size1 > li {
    width: 33.3333%;
  }
  /* timeline block */

  .timeline-block {
  }
  .timeline-block:before {
    left: calc(50% - 2px);
    border-left: 4px dashed #5d89c6;
  }
  .timeline-block:after {
    width: 32px;
    height: 32px;
  }
  .timeline-block > div {
    margin: 0 0 96px;
  }
  .timeline-block > div:before {
    width: 32px;
    height: 32px;
  }
  .timeline-block > div > * {
    width: calc(50% - 51px);
  }
  .timeline-block > div .thumb-container {
    height: 140px;
  }
  .timeline-block > div .caption {
    font-size: 16px;
    display: flex;
  }
  .timeline-block > div .caption .datetime {
    margin: 0 10px 1px;
    font-size: 20px;
  }
  .timeline-block > div:nth-child(2n + 1) .caption .content {
    order: -1;
    text-align: right;
  }
  .timeline-block > div .caption .content {
  }
  .timeline-block > div .caption .content .title {
    font-size: 21px;
    margin: 0 0 4px;
  }
}
