/*
Theme Name: Bedayat Theme
Theme URI: https://bedayat.ly
Author: Rida Labbar
Version: 1.0
Author URI: https://www.rida.ly
Description: The main theme for Bedayat website
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bedayat
Tags: 
*/

body {
  padding: 0;
  margin: 0;
}

.rtl {
  direction: rtl !important;
}

.ltr {
  direction: ltr !important;
}

.hfe-breadcrumbs {
  font-family: 'IBM Plex Sans Arabic';
}

/* Navbar */

body.admin-bar .navbar {
  top: 32px !important;
  height: 104px !important;
}

/* mobile screen */
@media (max-width: 768px) {
  body.admin-bar .navbar {
    top: 46px !important;
  }

  body.admin-bar .navbar.navbar-scrolled {
    top: 0 !important;
  }
}

.navbar .hfe-pointer__underline.hfe-animation__grow .menu-item.parent.current-menu-item a.hfe-menu-item:not(:hover):not(:focus):not(.current-menu-item):not(.highlighted):after {
  opacity: 0;
}

.glass-navbar {
  background: #ffffffd7 !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  /* background: rgba(255, 255, 255, 0.1) !important; */
  border-bottom: 1px solid #FFFFFF !important;
}

.navbar .menu-is-active {
  position: absolute !important;
  top: 74px !important;
  left: 0 !important;
  width: 90vw !important;
}

#page {
  /* margin-top: 149.2px !important; */
  /* margin-top: 103px !important; */
}


/* Animated News Ticker */
.news-ticker {
  width: 100vw !important;
  overflow: hidden !important;
  position: relative !important;
}

.ticker-content {
  width: max-content !important;
  min-width: max-content !important;
  max-width: max-content !important;
  white-space: nowrap !important;
  padding-right: 100% !important;
  animation: ticker 40s linear infinite !important;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(100%);
  }
}

.card-image-hover {
  overflow: hidden;
  border-radius: 24px;
  position: relative;
  /* cursor: pointer; */
}

.card-image-hover .arrow {
  position: absolute;
  left: -30%;
  bottom: 35px;
  transform: scale(1.5);
  transition: 0.5s all;
}

.card-image-hover .arrow img {
  height: 25px;
  width: auto;
}

.card-image-hover:hover .arrow {
  left: 35px;
}

.card-image-hover::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: linear-gradient(180.01deg, rgba(0, 0, 0, 0) 60%, #000000 98.65%);
  background-blend-mode: multiply;
  z-index: 1;
}

.card-image-hover .scale-image {
  transition: 0.6s all;
  min-height: 100%;
  min-width: 100%;
}

.card-image-hover:hover .scale-image {
  transform: scale(1.3);
}

/* Contact Form */
.contact-form,
.contact-form .elementor-shortcode {
  width: 100%;
}

.contact-form .elementor-widget-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-form .nf-form-fields-required,
.contact-form label {
  display: none;
}

.contact-form .nf-error-msg {
  font-family: 'IBM Plex Sans Arabic';
}

.contact-form input,
.contact-form textarea {
  font-family: 'IBM Plex Sans Arabic';
  text-align: right;
  background: #1919230D;
  border: 1px solid #1919231A;
  border-radius: 12px;
  padding: 12px 16px;
}

.contact-form input[type=submit] {
  color: white;
  cursor: pointer;
  background: #19231E;
}

.contact-form .nf-error-field-errors {
  text-align: center;
  background: #fdfdd5;
  padding: 10px 5px;
  border: 1px solid #dbdbb1;
  border-radius: 8px;
  font-family: 'IBM Plex Sans Arabic';
}

.contact-form .nf-response-msg p {
  font-family: 'IBM Plex Sans Arabic';
  padding: 20px;
  background: #ebebeba6;
  border: 1px solid #e7e7e8;
  border-radius: 15px;
  margin-top: 0;
  text-align: center;
}

.g-recaptcha {
  overflow: auto;
  padding: 5px;
}

/* Single.php */

#primary.site-main {
  margin-top: 200px !important;
  margin-bottom: 200px !important;
  font-family: 'IBM Plex Sans Arabic';
  width: 33vw;
  margin-right: auto;
  margin-left: auto;
}

#primary.site-main img {
  border-radius: 24px;
  max-width: 100% !important;
  height: auto;
}

#primary.site-main .post-meta {
  color: #19231e96;
  font-family: IBM Plex Sans Arabic;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  line-height: 120%;
  letter-spacing: -2%;
  text-align: right;
}

#primary.site-main .post-title {
  font-family: IBM Plex Sans Arabic;
  font-weight: 500;
  font-style: Regular;
  font-size: 40px;
  line-height: 140%;
  letter-spacing: -2%;
  text-align: right;
}

#primary.site-main .post-content {
  font-size: 24px;
}

/* Mobile styles */
@media (max-width: 768px) {
  #primary.site-main {
    width: 85vw;
  }
}

/* Card slider */

.posts-slider-container {
  /* padding: 20px 0; */
  overflow: hidden;
}

.posts-slider-container .swiper-slide {
  height: 100%;
}

.posts-slider-container .card {
  font-family: IBM Plex Sans Arabic;
  /* background: #f9f9f9; */
  border-radius: 10px;
  padding: 16px;
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); */
  height: 100%;
  border: 1px solid #0000000d;
}

.posts-slider-container .card:hover img {
  scale: 1.3;
}

.posts-slider-container .readmore-button {
  font-size: 14px;
  color: white;
  background-color: #000000;
  padding: 8px 24px;
  border-radius: 12px;
  transition: 0.3s all;
  margin-top: 12px;
  display: inline-block;
}

.posts-slider-container .card .post-meta {
  color: #19231e96;
}

.posts-slider-container .card .post-title {
  margin-top: 0;
  font-size: 15px;
}

.posts-slider-container .card .post-excerpt {
  color: #19231e96;
  font-size: 15px;
  line-height: 120%;
}

.posts-slider-container .readmore-button:hover {
  background-color: #29b190;
}

.posts-slider-container .post-thumbnail {
  overflow: hidden;
  border-radius: 17px;
}

.posts-slider-container .post-thumbnail img {
  transition: all 0.7s;
  width: 100%;
  object-fit: cover;
  height: 160px;
  border-radius: 17px;
}

/* Email reveal */
.email-reveal-wrapper a {
  font-family: "IBM Plex Sans Arabic", Sans-serif;
  font-size: 15px;
  /* font-weight: 500; */
  color: #585f5c;
  text-decoration: none;
}

.email-reveal-wrapper a:hover {
  color: #000000;
}

/* Footer */
footer .email-reveal-wrapper a {
  color: #FFFFFFB3;
}

footer .email-reveal-wrapper a:hover {
  color: #ffffff;
}