/* FAQ */

.faq-search form {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.faq-search label {
    position: relative;
    display: inline-flex;
    text-align: center;
    align-items: center;
    justify-content: center;
}
.faq-search img {
    position: absolute;
    margin: 0!important;
}
.faq-search label > img:nth-child(1) {
    left: -120px;
    width: 160px;
    top: -50px;
}
.faq-search label > img:nth-child(2) {
    left: 12px;
    width: 24px;
    z-index: 3;
}
.faq-search input {
    border-radius: 500px;
    border: 2px solid #42b4e8;
    width: 85%;
    max-width: 400px;
    font-family: Questrial, sans-serif;
    font-weight: 500;
    padding: 3px 0px 2px 50px;
    font-size: 1.1rem;
    width: 400px;
    z-index: 2;
    outline: none;
}

.faq-container ul.nav-pills {
    display: flex;
    flex-direction: row!important;
}
.faq-container .faq-nav {
  -webkit-box-shadow: 0px 6px 10px 0px rgba(0,0,0,0.15);
  -moz-box-shadow: 0px 6px 10px 0px rgba(0,0,0,0.15);
  box-shadow: 0px 6px 10px 0px rgba(0,0,0,0.15);
  margin-top: 20px;
}
.faq-container ul.nav-pills > li {
    width: 20%;
}
.faq-container ul.nav-pills > li {
    width: 25%;
}
#video-page.faq-container ul.nav-pills > li {
    width: 25%;
}
.faq-container ul.nav-pills > li a {
    height: 150px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px 0;
}
.faq-container ul.nav-pills > li:nth-child(1) > a,
.faq-container ul.nav-pills > li:nth-child(2) > a,
.faq-container ul.nav-pills > li:nth-child(3) > a,
.faq-container ul.nav-pills > li:nth-child(4) > a {
    padding-top: 40px;
}
.faq-container ul.nav-pills > li img {
    margin: 0;
    max-width: 150px;
    max-height: 60px;
}
.faq-container ul.nav-pills > li a p {
    font-weight: 600;
    font-size: 0.8rem!important;
}
.nav-pills>li.active>a,
.nav-pills>li.active>a:focus,
.nav-pills>li.active>a:hover {
    background-color: #f58036!important;
}
.nav-pills>li.active>a img,
.nav-pills>li.active>a:focus img,
.nav-pills>li.active>a:hover img {
  filter: saturate(0) brightness(0) invert(1);
}
.nav-pills>li.active>a p,
.nav-pills>li.active>a:focus p,
.nav-pills>li.active>a:hover p {
  color: white!important;
}
.nav-pills>li>a {
  border-top-left-radius: 5px!important;
  border-top-right-radius: 5px!important;
  border-bottom-left-radius: 0!important;
  border-bottom-right-radius: 0!important;
}


.faq-qa {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    padding: 80px 0;
}
.faq-container .tab-content {
    width: calc(95% - 300px);
}
.faq-side {
    width: 300px;
}
.faq-side .starter-tuts .block {
    width: 100%!important;
    margin-bottom: 30px;
}
.faq-side h2 {
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px!important;
}
.faq-side .starter-tuts .block p {
    text-align: center;
    font-size: 1rem!important;
    font-weight: 500;
}

.faq-side .contact-block {
    border-radius: 0;
    padding: 20px;
    margin-bottom: 0;
    margin-top: 20px;
}
.faq-side .contact-block h2 {
    font-weight: 500;
    margin-bottom: 30px!important;
}
.faq-side .contact-block > p:nth-of-type(1) {
    font-size: 1.1rem!important;
    text-align: center;
    line-height: 1.4rem!important;
    padding: 0 40px!important;
    margin-bottom: 40px!important;
}

.qa-block {
    border-bottom: 1px solid #bebebe;
    margin-bottom: 30px;
}
.qa-block h2,
.qa-block h2 a {
    font-weight: 600;
    margin-bottom: 40px!important;
    color: #f47f34!important;
}
.qa-block h5 {
    font-weight: 500;
    margin-bottom: 20px!important;
    font-size: 1.3rem!important;
}
.qa-block > p {
    font-size: 1rem!important;
    line-height: 1.4rem!important;
    margin-bottom: 30px!important;
}
.qa-buttons {
    display: flex;
    margin-bottom: 30px;
}
.qa-buttons a {
    display: flex;
    margin-right: 40px!important;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}
.qa-buttons a p {
    font-weight: 500;
    margin-right: 10px!important;
    font-size: 1.2rem!important;
}
.qa-buttons a img {
    margin: 0;
    width: 36px;
    transition: all 0.3s ease;
}
.qa-buttons a:hover img {
  -webkit-transform: translateX(10px);
  -moz-transform: translateX(10px);
  -ms-transform: translateX(10px);
  transform: translateX(10px);
}


@media (max-width: 1000px) {
  .faq-qa {
    flex-direction: column;
  }
  .faq-container .faq-qa .tab-content {
      width: 100%;
      margin-bottom: 50px;
  }
  .faq-side {
      width: 100%;
  }
  #video-page.faq-container ul.nav-pills > li {
      width: 50%;
  }
}

@media (max-width: 900px) {
  .faq-container ul.nav-pills > li {
      width: 100%;
  }
  .faq-container ul.nav-pills {
    flex-direction: column!important;
  }
  .faq-container ul.nav-pills > li a {
    height: 60px;
    padding: 10px 0!important;
  }
  .faq-container ul.nav-pills > li img {
    max-height: 20px;
  }
  .faq-container ul.nav-pills > li a p {
    font-weight: 500;
    font-size: 0.7rem!important;
  }
}

@media (max-width: 700px) {
  .faq-container .faq-search label > img:nth-child(1),
  .results-container .faq-search label > img:nth-child(1) {
      width: 120px;
      left: calc(50% - 70px);
      top: -70px;
  }
  .faq-container .faq-search form,
  .results-container .faq-search form {
    height: 150px;
    align-items: flex-end;
  }
}

@media (max-width: 500px) {
  .qa-buttons {
      flex-direction: column;
  }
}
