/*
Theme Name: Eltizam-Blog
Theme URI: 
Author: EltizamFE
Author URI: http://blog.eltizam.sa
Description: Wordpress Theme
Version: 2.0
*/
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}
[lang="ar"] p,
[lang="ar"] a,
[lang="ar"] div,
[lang="ar"] span,
[lang="ar"] h1,
[lang="ar"] h2,
[lang="ar"] h3,
[lang="ar"] h4,
[lang="ar"] h5,
[lang="ar"] h6 {
  font-family: Tajawal, sans-serif;
}
[lang="en-US"] p,
[lang="en-US"] a,
[lang="en-US"] div,
[lang="en-US"] span,
[lang="en-US"] h1,
[lang="en-US"] h2,
[lang="en-US"] h3,
[lang="en-US"] h4,
[lang="en-US"] h5,
[lang="en-US"] h6 {
  font-family: Inter, sans-serif;
}
[dir="rtl"] .navbar-nav.me-auto {
  margin-left: auto;
  margin-right: 0 !important;
}
.nav-link {
  font-size: 15px !important;
  color: #969A9E !important;
  font-weight: 500 !important;
}
nav{
  height: 64px
}
nav .container-fluid{
  background-color: #FFF;
}
.card-img-top{
  height: 225px;
  width: 100% !important;
  margin-right: auto;
  margin-left: auto;
  object-fit: cover;
  object-position: center;
  overflow: hidden;
}
.card-title{
  border-top: 2px solid #E7E7FF;
  padding: 15px 16px;
}
.card-title .pull-left{
  float: left;
}
.card-title span{
  font-size: 16px;
  font-weight: 400;
}
.card-title svg{
  margin: 0 3px;
  position: relative;
  top: -2px;
}
.card-title span:nth-child(2){
  float: right;
}
.button-header {
  background: #18b3b3;
  color: white;
}
.button-header:hover {
  background: #18b3b3 !important;
  color: white;
}
.desktopHide {
  display: none !important;
}

[lang="ar"] .highlighted-text-block {
  border-left: none !important;
  border-right: 4px solid #18b3b3;
}
[role="search"].flex-column {
  flex-direction: row !important;
}

.item:hover{
  box-shadow: 0 0 5px #dfdfdf;
}
.item:hover img{
  transform: scale(1.15);
}
.card-img{
  height: 225px;
  overflow: hidden;
}
.container2 .item{
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.2s ease-in-out;
  border-radius: 8px;
  /* height: 511px; */
}
.item img{
  transition: all 0.2s ease-in-out;
}
.readMore{
  font-size: 32px; 
  color: #1d1d1d; 
  font-weight: 600; 
  margin: 0;
}
.postTag{
  background: #18B3B326;
  color: #969A9E; 
  width: fit-content;
  font-weight: 500;
  font-size: 14px;
  padding: 2px 10px;
}
.btn-default {
  border: 1px solid #cfcfcf;
  text-align: center;
  display: inline;
  padding-top: 11px;
}

.saudi-tech {
  margin-right: auto;
}
.saudi-tech img{
  height: 51px;
}

.pagination {
  display: flex;
  justify-content: center;
}
.page-item {
  margin: 0 2px;
}
.page-item.active .page-link {
  background-color: #18b3b3;
  border-color: #18b3b3;
  color: white !important;
}
.page-link {
  color: #18b3b3 !important;
  border-radius: 50% !important;
}
.page-link:hover,
.page-link {
  color: #18b3b3;
}

.button-header:hover {
  background: #18b3b3 !important;
  color: white;
}
.button-header {
  background-color: #18b3b3 !important;
  color: white !important;
}
.error-page h1,
.error-page h2,
.error-page p,
.error-page ul {
  color: #18b3b3;
}
.display-1 {
  font-size: 10rem;
  font-weight: 700 !important;
}
.no-decoration {
  color: #1d1d1d;
  text-decoration: none;
}
nav .btn {
  font-weight: 500;
  font-size: 16px;
}
.saudi-tech img {
  width: 118px;
  filter:grayscale(100%);
  transition: filter 0.2s ease-out;
}

.saudi-tech:hover img{
  filter: grayscale(0%);
}
.container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 10px;
  width: 100%;
  max-width: 100% !important;
  padding: 0 !important;
}
.w-80 {
  width: 80%;
}
.left {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}
.capsule {
  font-size: 17px;
  font-weight: 600;
  color: #18b3b3;
  background: #fff;
  width: fit-content;
  padding: 4px 25px;
  border-radius: 8px;
  box-shadow: 0 0 10px #dfdfdf;
}
.searchBlog {
  position: relative;
}
.searchIcon {
  position: absolute;
  top: 3px;
  left: 6px;
  z-index: 1;
  right: auto;
}
.post-title{
  font-weight: 600;
  font-size:20px;
  height: 60px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  padding: 5px 16px;
  margin-bottom: 0 !important;
  margin-top: 20px;
}
.post-desc{
  height: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  padding:0 16px;
  margin: 8px 0 16px 0
}
.post-desc p{
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  height: 57px;
  font-weight:500;
  font-size:16px;
}
[lang="en-US"] .searchIcon {
  right: 16px;
  left: auto;
}
.blog-heading{
  font-weight: 600;
  font-size: 40px;
  margin: 10px auto;
  height: 48px;
}
.right-top {
  grid-column: 2 / 3;
}

.right-bottom {
  grid-column: 2 / 3;
}

.bottom {
  grid-column: 1 / 3;
}
.font14 {
  font-size: 14px;
}
.wp-block-eltizam-text-block{
  font-size: 20px !important;
  font-weight: 400;
  color: #1D1D1D;

}
.highlighted-text-block {
  border-left: 4px solid #18b3b3;
  padding: 2px 21px;
  color: #1D1D1D;
  font-weight: 400;
  font-size: 20px !important;
}
.blog-seperator{
  height: 1px;
  background-color: #00000033;
}
.text-block {
  color: #969a9e;
  font-weight: 400;
}
.eltizam-image-block {
  margin: 10px 0;
}
.title-block {
  color: #1d1d1d;
  font-size: 20px;
  font-weight: 600;
  margin: 14px 0;
}


.container2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 10px;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
}


#searchform {
  display: block;
  width: 404px;
  height: 45px;
  background-color: #F7F7F7;
  border-radius: 10px;
}
#searchform input{
  width: 100%;
  height: 100%;
  position: relative;
  outline: none;
  box-shadow: none;
  border: none;
  background-color: #F7F7F7;
}
#searchform input::placeholder{
  color: #535353;
  font-weight: 400;
  font-size: 14px;
}
#searchform input:focus{
  outline: none;
  box-shadow: none;
}
.item1 {
  box-sizing: border-box;
}

.item2 {
  box-sizing: border-box;
}

.item3 {
  box-sizing: border-box;
}

.font14 {
  font-size: 14px;
}

.footer {
  background-color: #f5f5f5;
  padding: 20px 10px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 20px 10px;
}

.footer-content > div {
  flex: 1;
  margin: 10px;
  padding: 10px;
}

.footer-content .first {
  width: 100%;
  flex: 0 0 25%;
}
.footer-content .first img{
  filter:grayscale(100%);
  transition: filter 0.2s ease-out;
}
.footer-content .first img:hover{
  filter:grayscale(0%);
}
.footer-content .payment-methods {
  width: 100%;
  flex: 0 0 40%;
}
.footer-content .pages {
  width: 100%;
  flex: 0 0 11.5%;
}

.footer-content .methods img{
  width: 60px;
  margin: 5px;
}
.footer-content .get-app img,
.footer-content .social img {
  margin-right: 10px;
}
.paymentMethod {
  width: 60px;
  margin: 5px 5px;
}
.paymentMethod:nth-child(4) img,
.paymentMethod:nth-child(4){
 width: 40px  
}
.footer-content .methods {
  flex-wrap: wrap;
}
.logo {
  margin-bottom: 10px;
  width: 119px;
  height: 49px;
}

.mt-5 {
  margin-top: 20px;
}

.contact {
  color: #1d1d1d;
  font-size: 16px;
  font-weight: 400;
}
.paymentMethod img:nth-child(2){
  display: none;
}
.paymentMethod img:nth-child(1){
  display: block;
}
.paymentMethod:hover img:nth-child(1){
  display: none;
}
.paymentMethod:hover img:nth-child(2){
  display: block;
}

.get-app a img:nth-child(2){
  display: none;
}
.get-app a img:nth-child(1){
  display: block;
}
.get-app a:hover img:nth-child(1){
  display: none;
}
.get-app a:hover img:nth-child(2){
  display: block;
}

.pages h3,
.payment-methods h3 {
  color: #000;
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: 500;
}

.pages ul,
.payment-methods ul {
  list-style: none;
  padding: 0;
}

.pages li,
.payment-methods li {
  margin-bottom: 10px;
}

.pages a,
.payment-methods a {
  color: #969a9e;
  text-decoration: none;
}

.methods,
.get-app,
.social {
  display: flex;
  align-items: center;
}


.hero-banner {
  position: relative;
  height: 288px;
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  border-radius: 8px;
}
.post-content h3{
  font-size: 20px;
  font-weight: 600;
}
.hero-banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
}

.hero-banner .banner-content {
  position: relative;
  z-index: 2;
}

.main-content-container {
  max-width: 75%;
  margin: 20px auto;
  color: #1d1d1d;
}

.post-content p {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}
.blog-container{
  max-width: 1039px;
  margin: 0 auto;
}
.main-content-container{
  display: block !important;
}
@media(max-width: 768px){
  .blog-container{
    padding: 0;
    width: 100%;
    max-width: 95%;
  }
}
@media (min-width: 992px) {
  .headerImage {
    display: none !important;
  }
  .mobileHide svg{
    margin: 0 10px;
  }
}
@media (min-width: 767px) {
  .headerImage.d-flex {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .navbar-toggler, .navbar-toggler:active, .navbar-toggler:focus {
    outline: none !important;
    border: none !important;
    background: none !important;
    cursor: pointer !important;
    box-shadow: none !important;
  }
  .navbar-collapse{
    height: 100vh !important;
  }
  .desktopHide {
    display: block;
  }
  .mobile-mt-0.mt-5 {
    margin-top: 0 !important;
  }
  .container .card-text p {
    font-size: 18px !important;
  }

  .navbar-nav {
    padding: 10px 0 0 0;
  }
  .nav-item {
    padding-bottom: 5px;
    margin-bottom: 5px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.175);
  }
  .nav-item .nav-link {
    color: #969a9e !important;
  }
  .navbar-collapse a.btn {
    display: block;
    width: 100%;
    margin-top: 10px;
  }
  .navbar-toggler-icon {
    width: 1em !important;
    height: 1em !important;
  }
  button.navbar-toggler {
    height: 31px;
    width: 40px;
    padding: 0;
    margin-top: 5px;
  }
  .navbar {
    border-bottom: 1px solid #eee;
    padding: 5px;
  }
  .btn-default {
    border: 1px solid #cfcfcf;
    text-align: center;
  }
  [role="search"].flex-column {
    flex-direction: column !important;
  }
  .mobileHide {
    display: none !important;
  }
}
@media (min-width: 1200px) {
  .saudi-tech {
    position: relative;
    top: -10px;
  }
}
@media (min-width: 1100px) {
  .widthCon {
    width: 80% !important;
  }
}

@media (max-width: 900px) {
  .container {
    grid-template-columns: 1fr;
  }

  .left {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .right-top {
    grid-column: 1 / 3;
  }

  .right-bottom {
    grid-column: 1 / 3;
  }

  .flexcolo {
    display: flex;
    flex-direction: column !important;
  }
  .widthCon {
    width: 100% !important;
  }
}
@media(min-width: 1200px){
  .container2 {
    width: 1136px;
    gap: 10px
  }
}
@media (max-width: 899px) {
  .container2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .blog-heading{
    height: auto !important
  }
  .imageHeight {
    height: 240px;
  }
  .container2 {
    grid-template-columns: 1fr; 
    width: 100% !important;
    gap: 10px;
    margin-left: auto;
    margin-right: auto;
  }
  .card-body{
    margin: 0 auto;
  }
  .container {
    width: 100% !important;
  }
  .containerItem {
    width: 100% !important;
  }
  .container2 .item{
    width: 375px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer-content {
    padding: 20px 10px;
  }

  .footer-content .first,
  .footer-content .pages,
  .footer-content .payment-methods {
    width: 100%;
    flex: 0 0 100%;
  }
}
@media (min-width: 1100px) {
  .imageWidth {
    height: 100% !important;
    width: 428px !important;
  }
}
@media (min-width: 899px) and (max-width: 1100px) {
  .imageWidth {
    height: 100% !important;
    width: 328px !important;
  }
}
