/*
Theme Name: Thabet Flatsome Child
Description: Maintainable Flatsome child theme for the local Thabet rebuild.
Author: Local
Template: flatsome
Version: 1.0.0
Text Domain: thabet-flatsome
*/

:root {
  --thabet-blue: #1e73be;
  --thabet-blue-dark: #0c6bbf;
  --thabet-topbar: #1a7cad;
  --thabet-orange: #f99b1c;
}

body {
  color: #111;
  font-family: Roboto, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6,
.heading-font,
.section-title-main {
  color: var(--thabet-blue-dark);
  font-family: Roboto, Arial, sans-serif;
  font-weight: 700;
}

.header-top {
  background: var(--thabet-topbar) !important;
}

.header-main .nav > li > a,
.header-top .nav > li > a {
  font-weight: 700;
}

.header-main .nav > li > a {
  color: #111;
}

.header-main .nav-line-bottom > li > a::before {
  background-color: var(--thabet-blue);
}

.header-button .button {
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 0;
  text-transform: none;
}

.thabet-hero .img-inner {
  margin-top: 0;
}

.thabet-hero img {
  display: block;
  width: 100%;
}

.thabet-brand-strip {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}

.thabet-brand-slider .img {
  margin: 0 auto;
  padding: 0;
}

.thabet-brand-slider .img-inner {
  border-radius: 8px;
  overflow: hidden;
}

.thabet-brand-slider .flickity-slider > * {
  align-items: center;
  display: flex;
  justify-content: center;
}

.thabet-brand-slide,
.thabet-brand-slide .banner-bg,
.thabet-brand-slide .bg {
  background-color: transparent !important;
}

.thabet-brand-slide .banner-inner {
  background: #1e1e1e;
  border-radius: 12px;
  bottom: auto;
  box-shadow: none;
  height: 120px;
  left: 50%;
  overflow: hidden;
  padding: 10px;
  right: auto;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: transform .3s ease, box-shadow .3s ease;
  width: 120px;
}

.thabet-brand-slide .bg {
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: 100px 100px !important;
  transition: transform .3s ease;
}

.thabet-brand-slide:hover .banner-inner {
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
  transform: translate(-50%, -50%) scale(1.05);
}

.thabet-brand-slide:hover .bg {
  transform: scale(1.08);
}

.thabet-brand-slider {
  overflow: hidden;
}

.thabet-brand-slider .flickity-prev-next-button,
.thabet-brand-slider .flickity-prev-next-button:hover {
  background-color: rgba(0, 0, 0, .5) !important;
  border: 0 !important;
  border-radius: 50%;
  bottom: auto;
  box-shadow: none !important;
  color: #fff !important;
  display: block !important;
  height: 36px;
  margin: 0 !important;
  opacity: 1 !important;
  top: 50%;
  transform: translateY(-50%) !important;
  transition: background-color .3s ease !important;
  width: 36px;
  z-index: 5;
}

.thabet-brand-slider .slider:hover .flickity-prev-next-button,
.thabet-brand-slider .slider-show-nav .flickity-prev-next-button,
.thabet-brand-slider .flickity-prev-next-button:focus,
.thabet-brand-slider .flickity-prev-next-button:hover {
  transform: translateY(-50%) !important;
}

.thabet-brand-slider .flickity-prev-next-button:hover {
  background-color: rgba(0, 0, 0, .8) !important;
}

.thabet-brand-slider .flickity-prev-next-button.previous {
  left: -25px;
}

.thabet-brand-slider .flickity-prev-next-button.next {
  right: -25px;
}

.thabet-brand-slider .flickity-prev-next-button svg,
.thabet-brand-slider .flickity-prev-next-button:hover svg {
  background: transparent !important;
  border: 0 !important;
  fill: #fff !important;
  padding: 8px;
}

@media (max-width: 991px) {
  .thabet-brand-slide {
    height: auto;
    padding-top: 90px !important;
  }

  .thabet-brand-slide .banner-inner {
    height: 90px;
  }

  .thabet-brand-slide .banner-inner {
    width: 90px;
  }

  .thabet-brand-slide .bg {
    background-size: 70px 70px !important;
  }
}

@media (max-width: 767px) {
  .thabet-brand-slide {
    height: auto;
    padding-top: 60px !important;
  }

  .thabet-brand-slide .banner-inner {
    height: 60px;
  }

  .thabet-brand-slide .banner-inner {
    padding: 5px;
    width: 60px;
  }

  .thabet-brand-slide .bg {
    background-size: 50px 50px !important;
  }

  .thabet-brand-slider .flickity-prev-next-button,
  .thabet-brand-slider .flickity-prev-next-button:hover {
    height: 24px;
    width: 24px;
  }
}

.thabet-main-content {
  border: 2px solid var(--thabet-blue);
  border-radius: 12px;
  height: 1000px;
  line-height: 1.7;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 8px 0 0;
  scrollbar-color: #bbb transparent;
  scrollbar-width: thin;
}

.thabet-main-content::-webkit-scrollbar {
  width: 10px;
}

.thabet-main-content::-webkit-scrollbar-thumb {
  background: #bbb;
  border: 2px solid #fff;
  border-radius: 999px;
}

.thabet-main-content::-webkit-scrollbar-track {
  background: transparent;
}

.thabet-main-content > .col {
  padding: 0 15px 30px;
}

.thabet-main-content > .col > .col-inner {
  text-align: left;
}

.thabet-main-content h2 {
  font-size: 26px;
  margin: 4px 0 12px;
}

.thabet-main-content h3 {
  font-size: 1.3rem;
  margin-top: 1.35em;
}

.thabet-main-content figure,
.thabet-main-content .img {
  margin: 14px auto 28px;
  max-width: 800px;
}

.thabet-main-content .caption,
.thabet-main-content .wp-caption-text {
  background: #f3f3f3;
  bottom: auto;
  color: #111;
  font-size: 14px;
  font-style: italic;
  opacity: 1;
  padding: 8px 10px;
  position: static;
  text-align: center;
}

.thabet-main-content .thabet-lead {
  color: #c51414;
}

.thabet-main-content p {
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 20px;
}

.thabet-intro {
  border-left: 4px solid var(--thabet-blue);
  margin: 0 0 28px;
  padding: 12px 20px;
}

.thabet-post-grid .box-image {
  border-radius: 4px;
  overflow: hidden;
}

.thabet-post-grid .post-title {
  color: #0870c9;
  font-size: 1.05rem;
  line-height: 1.35;
  text-align: center;
}

.thabet-post-grid .post-title a {
  color: #0870c9;
}

.thabet-post-grid .box-text {
  padding: 12px 10px 0;
  text-align: center;
}

.thabet-post-grid .is-divider {
  display: none;
}

.thabet-post-grid .post-item {
  padding-bottom: 42px;
}

.thabet-footer {
  color: #fff;
  min-height: 560px;
  padding: 28px 0 34px !important;
}

.thabet-footer h2,
.thabet-footer .section-title-main {
  color: #0870c9;
}

.thabet-footer .section-title b {
  background-color: #0870c9;
  opacity: .25;
}

.thabet-footer-logo {
  margin: 0 auto 12px;
  max-width: 500px;
}

.thabet-footer-intro {
  font-size: 16px;
  line-height: 1.65;
  margin: 24px auto 0;
  max-width: 510px;
  text-align: center;
}

.thabet-footer a {
  color: var(--thabet-orange);
}

.thabet-footer ul {
  font-size: 16px;
  line-height: 1.65;
  margin: 20px 0 0 1.25em;
}

.thabet-footer li {
  margin-bottom: 8px;
}

.thabet-footer-keywords {
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 16px;
  line-height: 1.7;
  margin: 10px 0 0;
  padding-top: 18px;
}

.absolute-footer {
  background: #000;
  color: #fff;
}

@media (max-width: 849px) {
  .header-bottom {
    min-height: 55px;
  }

  .header-bottom .header-button .button {
    font-size: .82rem;
    min-width: 132px;
    padding: 0 14px;
  }

  .thabet-hero .img-inner {
    margin-top: 0;
  }
}

@media (max-width: 549px) {
  .thabet-main-content h2 {
    font-size: 1.35rem;
  }

  .thabet-main-content {
    height: 72vh;
  }

  .section-title-main {
    font-size: 1.25rem;
  }

  .thabet-footer {
    min-height: 0;
  }

  .thabet-footer-logo {
    max-width: 330px;
  }
}
