/*-------------------------------------    
CSS INDEX
===================================
#. Slider
#. Section Title
#. Info Box
#. Directory Location Box
#. Elementor Testimonail
#. Elementor Search
#. Call to Action
#. Elementor Counter
#. Elementor More Button
#. Elementor Edit Mode
---------------------------------------*/
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  99% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  99% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

/* BEM Element and Modifier */
/* Heading */
.elementor-heading-title {
  font-family: var(--font-family-body);
}

h1,
h1.elementor-heading-title {
  font-size: 30px;
  line-height: 1.26667;
  font-weight: 600;
  font-family: var(--font-family-h1);
}

h2,
h2.elementor-heading-title {
  font-size: 24px;
  line-height: 1.25;
  font-weight: 600;
  font-family: var(--font-family-h2);
}

h3,
h3.elementor-heading-title {
  font-size: 22px;
  line-height: 1.22727;
  font-weight: 600;
  font-family: var(--font-family-h3);
}

h4,
h4.elementor-heading-title {
  font-size: 20px;
  line-height: 1.25;
  font-weight: 600;
  font-family: var(--font-family-h4);
}

h5,
h5.elementor-heading-title {
  font-size: 18px;
  line-height: 1.27778;
  font-weight: 600;
  font-family: var(--font-family-h5);
}

h6,
h6.elementor-heading-title {
  font-size: 16px;
  line-height: 1.375;
  font-weight: 600;
  font-family: var(--font-family-h6);
}

/* Paragraph */
p {
  line-height: 1.75;
}

p.pera {
  font-size: 18px;
  line-height: 1.94444;
  font-weight: 400;
  color: var(--color-gray);
}

span {
  line-height: 1.85714;
}

/* Button */
.btn {
  font-size: 14px;
  padding: 8.5px 19px;
  border-radius: 0.375rem;
}

/* Display Sizes */
.display-1 {
  font-size: 48px;
  line-height: 1.125;
  font-weight: 600;
}

.display-2 {
  font-size: 42px;
  line-height: 1.09524;
  font-weight: 600;
}

.display-3 {
  font-size: 36px;
  line-height: 1.16667;
  font-weight: 600;
}

/* Color */
.directorist-btn.directorist-btn-primary,
.theme-bg-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.theme-bg-secondary {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.theme-bg-dark {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.outline-secondary {
  border: 1px solid var(--color-secondary);
  background-color: transparent;
  color: var(--color-secondary);
}

.outline-secondary:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}

.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 1320px;
}

.elementor-column-gap-default > .elementor-column > .elementor-element-populated {
  padding: 10px 12px;
}

.elementor-button {
  font-family: var(--font-family-body) !important;
}

/*-------------------------------------
#. Slider
---------------------------------------*/
.tns-outer [data-action="stop"],
.tns-outer [data-action="start"] {
  display: none;
}

.tns-outer {
  position: relative;
}

.tns-outer .tns-controls button {
  position: absolute;
  top: 50%;
  z-index: 2;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.tns-outer .tns-controls button[data-controls="prev"] {
  left: 0;
}

.tns-outer .tns-controls button[data-controls="next"] {
  right: 0;
}

/*-------------------------------------
#. Section Title
---------------------------------------*/
.theme-section-title .theme-section-title__title {
  font-size: calc(1.1625rem + 1.95vw);
  font-weight: 600;
  margin-bottom: 0;
  color: var(--color-dark);
}

@media (min-width: 1200px) {
  .theme-section-title .theme-section-title__title {
    font-size: 2.625rem;
  }
}

@media only screen and (max-width: 991px) {
  .theme-section-title .theme-section-title__title {
    font-size: calc(1.11875rem + 1.425vw);
  }
}

@media only screen and (max-width: 991px) and (min-width: 1200px) {
  .theme-section-title .theme-section-title__title {
    font-size: 2.1875rem;
  }
}

/*-------------------------------------
#. Info Box
---------------------------------------*/
.az-el-info-box .azin-icon i {
  font-size: calc(1.0875rem + 1.05vw);
}

@media (min-width: 1200px) {
  .az-el-info-box .azin-icon i {
    font-size: 1.875rem;
  }
}

.az-el-info-box .azin-icon img,
.az-el-info-box .azin-icon svg {
  width: 30px;
  height: 30px;
}

/*-------------------------------------
#. Directory Location Box
---------------------------------------*/
.az-el-dir-location-box {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.az-el-dir-location-box > a {
  display: block;
}

.az-el-dir-location-box .azin-img {
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
}

.az-el-dir-location-box .azin-img:after {
  background-color: rgba(0, 0, 0, 0.2);
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.az-el-dir-location-box .azin-content {
  color: var(--color-white);
  text-align: center;
  background-color: fade(#000, 60%);
  position: absolute;
  bottom: 25px;
  left: 0;
  width: 100%;
  z-index: 2;
}

.az-el-dir-location-box .azin-content .azin-title {
  font-size: calc(1.025rem + 0.3vw);
  line-height: 1.3;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 5px;
  padding: 0 20px;
}

@media (min-width: 1200px) {
  .az-el-dir-location-box .azin-content .azin-title {
    font-size: 1.25rem;
  }
}

/*-------------------------------------
#. Elementor Testimonial
---------------------------------------*/
.theme-testimonial-slider {
  position: relative;
  max-width: 925px;
  margin: 0 auto;
  text-align: center;
}

.theme-testimonial-slider .tns-controls button {
  position: absolute;
  left: 0px;
  top: 30%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0 none;
  -webkit-box-shadow: 0 5px 8px rgba(143, 142, 159, 0.1);
          box-shadow: 0 5px 8px rgba(143, 142, 159, 0.1);
  z-index: 22;
  background-color: var(--color-white);
  color: var(--color-dark);
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

.theme-testimonial-slider .tns-controls button[data-controls="next"] {
  left: auto;
  right: 0;
}

.theme-testimonial-slider .tns-controls button:hover {
  background-color: var(--color-primary);
  color: white;
}

.theme-testimonial-slider .tns-nav {
  margin: 0 -5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.theme-testimonial-slider .tns-nav > [aria-controls] {
  display: inline-block;
  padding: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0 none;
  margin: 0 5px;
  background-color: rgba(255, 56, 92, 0.3);
  border: 2px solid transparent;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
}

.theme-testimonial-slider .tns-nav > [aria-controls].tns-nav-active {
  width: 8px;
  height: 8px;
  background-color: var(--color-danger);
  border: 2px solid var(--color-danger);
  -webkit-transform: scale(1.5);
          transform: scale(1.5);
}

.theme-testimonial-slider .tns-nav > [aria-controls] i,
.theme-testimonial-slider .tns-nav > [aria-controls] span.la,
.theme-testimonial-slider .tns-nav > [aria-controls] span.las,
.theme-testimonial-slider .tns-nav > [aria-controls] span.las,
.theme-testimonial-slider .tns-nav > [aria-controls] span.lar,
.theme-testimonial-slider .tns-nav > [aria-controls] span.lab,
.theme-testimonial-slider .tns-nav > [aria-controls] span.fa,
.theme-testimonial-slider .tns-nav > [aria-controls] span.fab,
.theme-testimonial-slider .tns-nav > [aria-controls] span.fas {
  font-size: 14px;
}

.theme-testimonial-single {
  padding: 0 95px;
  margin-bottom: 38px;
}

@media only screen and (max-width: 767px) {
  .theme-testimonial-single {
    padding: 0 45px;
    margin-bottom: 20px;
  }
}

.theme-testimonial-single__author-thumb img {
  max-width: 150px;
  margin: 0 auto 20px;
  border-radius: 50%;
}

.theme-testimonial-single__author-comment {
  font-size: calc(1.0125rem + 0.15vw);
  line-height: 1.667;
}

@media (min-width: 1200px) {
  .theme-testimonial-single__author-comment {
    font-size: 1.125rem;
  }
}

.theme-testimonial-single__author-info .theme-testimonial-blockquote {
  margin-bottom: 0;
}

.theme-testimonial-single__author-info .theme-testimonial-blockquote .theme-testimonial-blockquote__footer {
  margin-top: 32px;
}

.theme-testimonial-single__author-info .theme-testimonial-blockquote .theme-testimonial-blockquote__footer:before {
  display: none;
}

.theme-testimonial-single__author-info .theme-testimonial-blockquote .theme-testimonial-blockquote__footer cite {
  font-style: normal;
}

.theme-testimonial-single__author-info .theme-testimonial-blockquote .theme-testimonial-blockquote__footer cite span {
  display: block;
  line-height: 1.5;
}

.theme-testimonial-single__author-info .theme-testimonial-blockquote .theme-testimonial-blockquote__footer cite span.cite-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--color-danger);
}

.theme-testimonial-single__author-info .theme-testimonial-blockquote .theme-testimonial-blockquote__footer cite span.cite-subtitle {
  font-size: 14px;
  color: var(--color-light-gray);
}

/*-------------------------------------
#. Elementor Search
---------------------------------------*/
.az-el-dir-search .az-el-dir-search-loc {
  position: relative;
}

.az-el-dir-search .az-el-dir-search-loc span.atbd_get_loc {
  position: absolute;
  right: 10px;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  cursor: pointer;
}

.az-el-dir-search .az-el-dir-search-loc .address_result {
  position: absolute;
  width: 100%;
  left: 0;
  top: 45px;
  background: var(--color-white);
  -webkit-box-shadow: 0 5px 10px rgba(145, 146, 163, 0.2);
          box-shadow: 0 5px 10px rgba(145, 146, 163, 0.2);
  border-radius: 3px;
  z-index: 1;
  max-height: 300px;
  overflow-y: scroll;
}

/*-------------------------------------
#. Call to Action
---------------------------------------*/
.theme-cta .theme-cta__title {
  font-size: 42px;
  font-weight: 600;
  line-height: 50px;
  margin: 0;
  color: var(--color-dark);
}

.theme-cta .theme-cta__content {
  font-size: 1rem;
  font-weight: 400;
  margin: 20px 0 0;
  color: rgba(var(--color-dark-rgba), 0.8);
}

.theme-cta .theme-cta__content:empty {
  display: none;
}

.theme-cta .theme-cta__button {
  margin-top: 20px;
}

.theme-cta .theme-cta__button a {
  font-size: 15px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 5px;
  padding: 0 25px;
  min-height: 51px;
  color: var(--color-white);
  background-color: var(--color-primary);
}

.theme-cta .theme-cta__button a:hover {
  color: var(--color-white);
}

/*-------------------------------------
#. Elementor Counter
---------------------------------------*/
.theme-counter__number span {
  font-size: calc(1.1625rem + 1.95vw);
  font-weight: 500;
  color: var(--color-dark);
}

@media (min-width: 1200px) {
  .theme-counter__number span {
    font-size: 2.625rem;
  }
}

.theme-counter__title {
  font-size: 16px;
  font-weight: 400;
  margin: 12px 0 0 0;
  color: var(--color-body);
}

/*-------------------------------------
#. Eleentor More Button
---------------------------------------*/
.theme-more-btn {
  text-align: center;
}

.theme-more-btn a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-dark);
  -webkit-transition: .3s;
  transition: .3s;
}

.theme-more-btn a .directorist-icon-mask:after {
  background-color: var(--color-dark);
  width: 14px;
  height: 14px;
  -webkit-transition: .3s;
  transition: .3s;
}

.theme-more-btn a:hover {
  color: var(--color-primary);
}

.theme-more-btn a:hover i,
.theme-more-btn a:hover span {
  color: var(--color-primary);
}

.theme-more-btn a:hover .directorist-icon-mask:after {
  background-color: var(--color-primary);
}

.theme-more-btn__text {
  display: inline-block;
  margin-right: 2px;
  text-decoration: underline;
}

/* Img Hover */
.theme-discover-area .elementor-image-box-wrapper:hover .elementor-image-box-img img {
  -webkit-transform: scale(1.07);
          transform: scale(1.07);
  border-radius: 8px;
}

.theme-discover-area .elementor-image-box-wrapper .elementor-image-box-img {
  overflow: hidden;
  border-radius: 8px;
}

.theme-discover-area .elementor-image-box-wrapper .elementor-image-box-img img {
  -webkit-transition: .3s;
  transition: .3s;
  width: 100%;
  -webkit-transform: scale(1.0001);
          transform: scale(1.0001);
}

/*-------------------------------------
#. Eleentor Edit Mode
---------------------------------------*/
.elementor-element-edit-mode .tns-nav {
  display: none;
}

/*-------------------------------------
#. Categories hover
---------------------------------------*/
.theme-discover-area .elementor-image-box-wrapper:hover a {
  color: var(--color-primary);
}
