body {
  font-family: DINNextLTArabic !important;
  direction: rtl;
  text-align: right;
  position: relative;
}

@font-face {
  font-family: DINNextLTArabic;
  src: url(../css/DINNextLTArabic-Regular-3.ttf);
}
@font-face {
  font-family: Nunito;
  src: url(../css/Nunito-Regular.ttf);
}
.enLang {font-family: Nunito !important;}
body::-webkit-scrollbar {
  width: 9px;
  /* width of the entire scrollbar */
}

body::-webkit-scrollbar-track {
  background: #eee;
  /* color of the tracking area */
}

body::-webkit-scrollbar-thumb {
  background-color: #cccccc6e;
  /* color of the scroll thumb */
  border-radius: 20px;
  /* roundness of the scroll thumb */
  border: 3px solid #cccccc6e;
  /* creates padding around scroll thumb */
}

::selection {
  background-color: var(--main-color);
  color: #fff;
}

/* custom */
:root {
  --main-color: #009645;
  --sub-color: #5ABF1B;
}

select {
  cursor: pointer;
  appearance: none;
  background-image: url(../images/arrow.png) !important;
  background-repeat: no-repeat;
  background-size: 10px 10px;
  background-position: left 14px center;
  color: #777 !important;
}

button:focus {
  outline: none !important;
  box-shadow: none !important;
}

a:hover {
  text-decoration: none;
}

.title {
  margin: 20px 0px 40px 0px;
  position: relative;
  color: var(--main-color);
}

.title img {
  width: 35px;
  margin-right: 3px;
}

.pd {
  padding: 60px 0;
}

/* .custom-content .card {background-color: #fdfdfd;} */
.no-label {
  cursor: pointer;
  margin-left: 12px;
  position: relative;
}

form label:not(.no-label) {
  display: block;
  margin-bottom: 12px;
  /* font-weight: bold; */
  color: #333;
}

.file {
  position: relative;
  display: flex;
  align-items: center;
}

.file>input[type='file'] {
  display: none
}

.file>label {
  font-size: 1rem;
  font-weight: 300;
  cursor: pointer;
  outline: 0;
  user-select: none;
  border-color: var(--main-color);
  border-style: solid;
  border-radius: 4px;
  border-width: 1px;
  background-color: #e0f2f1;
  color: hsl(0, 0%, 29%);
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 9px;
  padding-bottom: 7px;
  /* display: flex;
    justify-content: center;
    align-items: center; */
}

.file--upload>label {
  color: var(--main-color) !important;
  border-color: var(--hover-color);
}

select,
textarea,
input[type="text"],
input[type="number"],
input[type="date"],
input[type="email"],
input[type="password"] {
  display: block;
  background-color: #fbfbfb;
  border: 1px solid #ddd;
  margin-bottom: 15px;
  margin-top: 5px;
  border-radius: 5px;
  width: 100%;
  padding: 0px 10px;
}

input[type="text"],
select,
input[type="number"],
input[type="date"],
input[type="email"],
input[type="password"] {
  height: 40px;
}

textarea {
  height: 150px;
}

input:focus,
textarea:focus,
select {
  outline: none;
  box-shadow: none;
}

form button,
.custom-btn {
  background: var(--main-color);
  color: #fff;
  border-radius: 25px;
  display: inline-block;
  padding: 9px 30px 6px;
  cursor: pointer;
  border: none;
}

button:focus {
  outline: none !important;
  box-shadow: none !important;
}

a:hover {
  text-decoration: none;
}

.loader {
  margin: auto;
  border: 16px solid #f3f3f3;
  border-top: 16px solid var(--sub-color);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: none;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
.text-color {color: var(--main-color);}
.text-gray {color: #777;}
.text-lg {font-size: large;}
.text-md {font-size: medium;}
.text-sm {font-size: small;}
.text-xs {font-size: x-small;}
.line-height {line-height: 1.7em;}
.b25 {border-radius: 25px;}
.bg-green {background-color: var(--main-color);}
/* end custom */
/* navbar */
.navbar {
  padding: 0;
  background-color: #fff;
  transition: all .3s ease-in-out;
}
.navbar .dropdown-menu {text-align: right;}
.navbar .navbar-brand img {width: 75px;}
.navbar .navbar-nav .nav-link {
  font-size: 18px;
  margin: 0px 6px;
  font-size: 18px;
  color: #222 !important;
  cursor: pointer;
  font-weight: bold;
  transition: all .3s ease-in-out;
}
.navbar .navbar-nav .nav-item.active {color: var(--sub-color);}
.navbar .navbar-nav .nav-link:hover {
  color: var(--sub-color) !important;
}

.navbar .icons {margin: 0 10px;}
.navbar .icons a {
  background-color: #222;
  cursor: pointer;
  color: #fff;
  height: 30px;
  width: 30px;
  display: inline-block;
  border-radius: 8px;
  text-align: center;
  line-height: 2em;
  font-size: 14px;
  transition: all .3s ease-in-out;
  }
  .navbar .icons a:hover {background-color: var(--sub-color);}
  .call {margin: 0px 5px;}
  .call a {
    display: block;
    color: #777;
    font-size: 14px;
  }
  .navbar .navbar-nav {
    margin-left: auto;
    margin-right: 0 !important;
  }
  .icons-div {
    display: flex;
  }
/* products */
.products {
  background-image: url(../images/bg.jpg);
}
.products h5 {color: #777;}
.sub-card {
  position: relative;
  background-color: var(--main-color);
  padding: 20px;
  margin: 20px 0;
  height: 325px;
  transition: all .3s ease-in-out;
}
.sub-card::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  opacity: .1;
  content: url(../images/dotted-bg.png);
}
.sub-card h4 {color: #fff;}
.img-card {
  width: 190px;
  position: absolute;
  top: 80px;
  right: 0;
  transition: all .4s ease-in-out;
}
.img-card a {
  display: block;
  background-color: #fff;
  padding: 20px;
  color: var(--main-color) !important;
}
.main-card {position: relative;transition: all .4s ease-in-out;}
.main-card:hover .img-card {top: 0px;}
/* .main-card:hover .sub-card {margin-top: 70px;height: 300px;} */
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  background: var(--main-color);
  border: transparent;
}
.owl-theme .owl-dots .owl-dot span,
.owl-theme .owl-dots .owl-dot span {
border: 1px solid var(--main-color);
background: #fff;
height: 10px;
width: 10px;
}
/* calc */
.calc {
  background-image: url(../images/calc-bg.jpg);
  background-position: center;
  position: relative;
}
.calc h3 {
  font-weight: bold;
  text-align: right;
}
.calc img {
  position: absolute;
  left: 10%;
  top: 20%;
  opacity: .6;
}
.calc p {
  font-size: 20px;
  position: relative;
}
/* intro */
.intro .text a {padding: 8px 30px 10px;}
.intro .text {position: relative;}
.intro .text p {font-size: 17px;}
.intro .text::before {
  position: absolute;
  height: 40%;
  width: 15px;
  background-color: var(--main-color);
  content: '';
  right: 0;
  top: 0;
}
.vid {position: relative;}
.vid .sm-div {
  position: absolute;
  left: -40px;
  bottom: -166px;
  padding: 20px;
  width: 250px;
}
.intro img {
  width: auto;
  max-height: 108px;
  padding-right: 42px;
   
  display: block;
  margin: auto;
}
.intro .vid > img {padding: 0 !important;}
/* whyus */
.whyus {
  background-image: url(../images/whyus.jpg);
  background-position: center;
  position: relative;
}
.whyus img {
  position: absolute;
  left: 10%;
  top: 20%;
  opacity: .6;
}
.why-card {
  position: relative;
  background-color: var(--sub-color);
  opacity: .8;
  transition: all .3s ease-in-out;
}
.why-card:hover {background-color: var(--main-color);}
.why-card p {font-size: 15px;}

/* parallax */
.parallax {
  background-image: url(../images/parallax.jpg);
  background-position: center;
  background-attachment: fixed;
}
/* info */
.info {
  background-image: url(../images/quality-bg-2.jpg);
  background-position: center;
  position: relative;
}
.info .img {
  position: absolute;
  left: 10%;
  top: 20%;
  opacity: .6;
}
.info a {padding: 8px 30px 10px;}
.slider-div {position: relative;overflow: hidden;border-radius: 50px 25px 50px 25px;}
.slider-div .side {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: #F3F3F3;
  z-index: 4;
  width: 184px;
  padding: 0px 20px;
  border-radius: 50px 25px 50px 25px;
}
.side h5 {font-weight: bold;}
.side img {width: 100px;display: block;margin: 20px auto;}
/* products */
.product_banner {
  background-image: url(../images/whyus.jpg);
  background-position: center;
}
.contact_banner {
  background-image: url(../images/whyus.jpg);
  background-position: center;
}
.contact_us {background-color: var(--main-color);}
#contact input {height: 50px;background-color:#f8f9fa ;padding: 9px 10px 12px;margin-top: 0;}
#contact textarea {height: 230px;background-color: #f8f9fa;}
#relatedProducts .item img {width: auto;max-height: 190px;transition: all .3s ease-in-out;margin:auto;}
.pr-img {
background-color: #66C035;
border-radius: 0px 0px 0px 0px;
padding: 40px 20px;
transition: all .3s ease-in-out;
}
.pr-info {background-color: #019645;padding: 7px 32px 34px 0px;border-radius: 0px 0px 50% 0px;}
.pr-info h5 {font-size: 23px;}
.branch {border: 1px solid var(--main-color);}
.table1 tbody tr td,.table1 tbody tr th {vertical-align: middle;}
.table p {margin-bottom: 0;}
/* footer */
footer {background-color: #08723a;}
footer img {
  display: block;
  margin: auto;
  width: 100px;
}
footer h5 {color: #fff;font-weight: bold;}
footer ul {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
}
footer ul li {width: 50%;color: #E0E0E0;margin: 3px 0;}
footer ul li a {transition: all .3s ease-in-out;cursor: pointer;}
footer ul li a:hover {color: var(--sub-color) !important;}
footer .icons {margin: 0 10px;}
footer .icons a {
  height: 30px;
  width: 30px;
  display: inline-block;
  font-size: 17px;
  transition: all .3s ease-in-out;
  }
  footer a:hover {color: var(--sub-color) !important;}
 footer p, footer a {
    color: #E0E0E0;
    transition: all .3s ease-in-out;
  }
  /* scrollUp */
.scrollUp {
  position: fixed;
  bottom: 40px;
  right: 45px;
  z-index: 777;
  display: none;
}
.scrollUp i,.w i {
  background-color: var(--main-color);
  color: #fff;
  cursor: pointer;
  font-size: 25px;
  border-radius: 50px;
  width: 50px;
  height: 50px;
  line-height: 2em;
} 
.w {
  position: fixed;
  bottom: 40px;
  left: 45px;
  z-index: 777;
}
@media(width <= 820px) {
  .navbar {padding-right:10px !important;padding-left: 10px !important;}
  .side img {
    width: 54px;
}
.pr-data {margin-top: 45px;}
.icons-div {
  flex-direction: column;
}
.navbar .icons {
  margin: 10px 10px;
}
.icons-div .dropdown-menu {
  position: static;
  width: 100%;
}

}
@media(width <= 567px) {
  .navbar {padding-top:0 !important;padding-bottom: 0 !important;}
    .img-card {
      width: 237px;
      position: absolute;
      right: 50px;
    }
    .vid .sm-div {
      position: unset;
      margin: 20px 0;
      width: 100%;
    }
    .intro img {
      width: auto;
      max-height: 62px;
      padding-right: 27px;
      margin: 28px auto 0 auto;
  }
  .side img {
    width: 62px;
}
.side h5 {font-size: 15px;}
.info h1,.parallax h1,.intro h2 {font-size: 25px;}
.product_info .table p {font-size: small;}
}

.product-box {
  width: 500px !important;
  height: 385px !important;
}

.product-image {
  width: 420px !important;
  height: 385px !important;
}

.products-slider-image {
  margin-right: 10% !important;
}

.img-card {
  margin-right: 13% !important;
}