/* FRIEND FAB CUSTOM CSS */

/* Adjust logo */

.max-w-\[140px\] {
    max-height: fit-content !important;
    max-width: 170px !important;
    margin: -15px 0 -5px 0 !important;
}

.max-h-10 {
    max-height: fit-content !important;
    max-width: 190px;
}

.max-h-8 {
    max-height: fit-content !important;
    max-width: 190px !important;
}

/* FAQ PAGE CSS BEGIN */

.faq-div-wrapper {
  margin: 0;
  padding: 1rem;
}

.faq-tab {
  border-bottom: 1px solid #fff;
  margin: 0 0 0 0;
}

.faq-tab__closed {
  border-bottom: 0;
}

.faq-tab__label:hover, .faq-tab__close:hover {
  background-image: linear-gradient(rgba(0, 0, 0, .1) 0 0);
}

/* Core styles/functionality */
.faq-tab input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}
.faq-tab__content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.35s;
}
.faq-tab input:checked ~ .faq-tab__content {
  max-height: 30rem;
}

/* Visual styles */
.faq-accordion {
  color: #fd0737;
  border: 1px solid;
  border-radius: 0.5rem;
  overflow: hidden;
}
.faq-tab__label,
.faq-tab__close {
  display: flex;
  color: white;
  background: #fd0737;
  cursor: pointer;
}
.faq-tab__label {
  justify-content: space-between;
  padding: 1rem;
  font-weight: 700;
  font-size: inherit;
}
.faq-tab__label::after {
  content: "\276F";
  width: 1em;
  height: 1em;
  text-align: center;
  transform: rotate(90deg);
  transition: all 0.35s;
}
.faq-tab input:checked + .faq-tab__label::after {
  transform: rotate(270deg);
}
html.dark .faq-tab__content p {
  margin: 0;
  padding: 1rem 1rem 2rem 1rem;
  color: #ffffff;
}
html:not(.dark) .faq-tab__content p {
  margin: 0;
  padding: 1rem 1rem 2rem 1rem;
  color: #515151;
}
.faq-tab__close {
  justify-content: flex-end;
  padding: 0.7rem 1rem;
  font-size: 1.2rem;
}

/* Arrow animation */
.faq-tab input:not(:checked) + .faq-tab__label:hover::after {
  animation: bounce .5s infinite;
}
@keyframes bounce {
  25% {
    transform: rotate(90deg) translate(.25rem);
  }
  75% {
    transform: rotate(90deg) translate(-.25rem);
  }
}

/* FAQ PAGE CSS END */




/* HOME SLIDER CSS BEGIN */

.slider-container {
 width: 100%;
 max-height: 450px;
 margin: 0 auto;
 color: #fff;
 text-align: center;
 font-family: "Lato", sans-serif;
 font-weight: 400;
 font-style: normal;
 z-index: 1;
}

.text-container {
 width: 100%;
 max-width: 535px;
 position: relative;
 margin: 0 auto;
 padding: 5px 20px 0 20px;
}

.h1class {
 font-size: 42px;
 width: 100%;
 max-width: 535px;
 margin: 20px 0 15px 0;
 line-height: 1.1;
}

@media only screen and (min-width: 300px) and (max-width: 576px) {
.h1class {
 font-size: 26px;
    }
}

@media only screen and (min-width: 577px) and (max-width: 767px) {
.h1class {
 font-size: 36px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
.h1class {
 font-size: 40px;
    }
}

.h2class {
 font-size: 32px;
 width: 100%;
 max-width: 535px;
 margin: 0 0 15px 0;
 line-height: 1.1;
}

@media only screen and (min-width: 300px) and (max-width: 576px) {
.h2class {
 font-size: 22px;
    }
}

@media only screen and (min-width: 577px) and (max-width: 767px) {
.h2class {
 font-size: 26px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
.h2class {
 font-size: 30px;
    }
}

.pclass {
 font-size: 28px;
 width: 100%;
 max-width: 535px;
 line-height: 1.1;
}

@media only screen and (min-width: 300px) and (max-width: 576px) {
.pclass {
 font-size: 18px;
    }
}

@media only screen and (min-width: 577px) and (max-width: 768px) {
.pclass {
 font-size: 20px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
.pclass {
 font-size: 24px;
    }
}

.slider {
 overflow: hidden;
 width: 100%;
 max-height: 450px;
 height: 100vh;
 position: relative;
 z-index: 1;
}
 
.slider .slide {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background-size: cover;
 background-position: center;
 animation: slider 40s infinite;
 border-radius: 10px;
 filter: grayscale(10%);
 -webkit-filter: grayscale(10%);
}
.slider .slide:nth-child(1) {
   background-image: url('https://www.friendfab.com/public/custom/images/bg2.jpg');
   animation-delay: 0s;
}

.slider .slide:nth-child(2) {
   background-image: url('https://www.friendfab.com/public/custom/images/bg7.jpg');
   animation-delay: -8s;
}

.slider .slide:nth-child(3) {
   background-image: url('https://www.friendfab.com/public/custom/images/bg3.jpg');
   animation-delay: -16s;
}

.slider .slide:nth-child(4) {
   background-image: url('https://www.friendfab.com/public/custom/images/bg11.jpg');
   animation-delay: -24s;
}

.slider .slide:nth-child(5) {
   background-image: url('https://www.friendfab.com/public/custom/images/bg5.jpg');
   animation-delay: -32s;
}

@keyframes slider {
  0%, 12%, 100% {
    opacity: 1;
    animation-timing-function: ease;
    z-index: 0;
  }
  20% {
    opacity: 0;
    animation-timing-function: step-end;
    z-index: 0;
  }
  92% {
    opacity: 1;
    animation-timing-function: step-end;
    z-index: -1;
  }
}

/* HOME SLIDER CSS END */

/* 3 COLUMN RESPONSIVE CSS BEGIN */

.custom_three_column {
  float: left;
  width: 33.33%;
}

/* Clear floats after the columns */
.custom_three_row:after {
  content: "";
  display: table;
  clear: both;
}

@media screen and (max-width: 600px) {
  .custom_three_column {
    width: 100%;
  }
}

/* 3 COLUMN RESPONSIVE CSS END */


