/* FAQ Section
--------------------------------*/
#faq .faq-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  -webkit-transition: all ease-in-out 0.4s;
  transition: all ease-in-out 0.4s;
}

#faq .faq-item {
  overflow: hidden;
  position: relative;
  padding: 0;
  vertical-align: middle;
  text-align: center;
}

#faq .faq-item h2 {
  color: #ffffff;
  font-size: 24px;
  margin: 0;
  text-transform: capitalize;
  font-weight: 700;
}

#faq .faq-item img {
  -webkit-transition: all ease-in-out 0.4s;
  transition: all ease-in-out 0.4s;
  width: 100%;
}

#faq .faq-item:hover img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

#faq .faq-item:hover .faq-overlay {
  opacity: 1;
  background: rgba(0, 0, 0, 0.7);
}

#faq .faq-info {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

#faq h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 22px;
  color: #ffffff
}

#faq .accordion-menu {
	display: inline-block;
  position: relative;
	left: 50%;
	margin-top: 30px;
	transform: translate(-50%, 0);
  width: 65vw;
  padding: 10px 20px 20px;
	border-radius: 5px;
}

@media (max-width: 768px) {
  #faq .accordion-menu {
    width: 95vw;
  } 
}

#faq ul {
	list-style: none;
	perspective: 900;
	padding: 0 20px 10px;
    margin: 0;
    background-color: #1e2124;
	border-radius: 5px;
}
#faq ul li {
	position: relative;
	padding: 0;
	margin: 0;
	padding-bottom: 4px;
	padding-top: 18px;
    border-top: 1px dotted #dce7eb;
}

#faq ul li:nth-child(1){ border:none; }
#faq ul li:nth-of-type(1) { animation-delay: 0.5s; }
#faq ul li:nth-of-type(2) { animation-delay: 0.75s; }
#faq ul li:nth-of-type(3) { animation-delay: 1.0s; }
#faq ul li:last-of-type { padding-bottom: 0; }

#faq ul li .arrow {
	position: absolute;
	transform: translate(-6px, 0);
	margin-top: 16px;
	right: 0;
}
#faq ul li .fas{
	color:#f24646;
	font-size: 15px;
	margin-right: 10px;
}
#faq ul li .arrow:before, ul li .arrow:after {
	content: "";
	position: absolute;
	background-color: #f24646;
	width: 3px;
	height: 9px;
}
#faq ul li .arrow:before {
	transform: translate(-2px, 0) rotate(45deg);
}
#faq ul li .arrow:after {
	transform: translate(2px, 0) rotate(-45deg);
}
#faq ul li input[type=checkbox] {
	position: absolute;
	cursor: pointer;
	width: 100%;
	height: 100%;
    z-index: 1;    
    opacity: 0;
}
#faq ul li input[type=checkbox]:checked ~ p {
	margin-top: 0;
	max-height: 0;
	opacity: 0;
	transform: translate(0, 50%);
}
#faq ul li input[type=checkbox]:checked ~ .arrow:before {
	transform: translate(2px, 0) rotate(45deg);
}
#faq ul li input[type=checkbox]:checked ~ .arrow:after {
	transform: translate(-2px, 0) rotate(-45deg);
}
#faq .transition, p, ul li .arrow:before, ul li .arrow:after {
	transition: all 0.25s ease-in-out;
}

#faq .flipIn, h1, ul li {
	animation: flipdown 0.5s ease both;
}
#faq .no-select, h2 {
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
	user-select: none;
}
@keyframes flipdown {
	0% {
		opacity: 0;
		transform-origin: top center;
		transform: rotateX(-90deg);
	}

	5% { opacity: 1; }

	80% { transform: rotateX(8deg); }

	83% { transform: rotateX(6deg); }

	92% { transform: rotateX(-3deg); }

	100% {
		transform-origin: top center;
		transform: rotateX(0deg);
	}
}