
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
  --primaryColor: linear-gradient(to bottom, #B58700, #FFDF58, #CAA21E) !important;
  --SecondaryColor: #FFF6CC;
  --ThirdColor: rgba(232, 247, 252, 1);
  --linear-gradient: linear-gradient(to bottom, #9CBF1B, #36ABD9);
  --mainColor1: #9CBF1B;
  --mainColor2: rgb(0, 0, 0);
  --mainColor3: #31ba44;
  --mainColor4: #ffffff;
  --mainColor5: #f2e7d8;


}

/* .nav-top .offcanvas{
background-color: var(--primaryColor);
} */



@media only screen and (max-width: 1254px) {
  .icon-menu:hover{
    color: var(--mainColor4);
  }


body{
  overflow-x: hidden;
}
}

@media only screen and (max-width: 1200px) {
  .container{
    max-width: 97% ;
  }
  .offcanvas {
    overflow-y: auto;
  }
}
@media (max-width: 1024px) {
  .album .img {
    margin: 0 0 18px 0;
  }
    /* .gallary-container .slick-slide{
      width: auto !important;
      max-width: 600px !important;
    } */

    .sider-margin .slick-slide{
      width: 450px !important; 
        }
       .sider-margin .slick-slide.slick-active{
          margin-inline-start: 125px !important;
      
        }
    
}

@media only screen and (max-width: 1087px) {
.navContainer .btn-close{
  background-image: none;
}
}


@media only screen and (max-width: 1064px) {
  .navbar-expand-lg .navbar-collapse {
display: none !important;
  }
  .form-res{
    display: flex;
  }
  .icon-menu{
    display: flex !important;
  }


  .nav-pills-profile-sm .nav-link.active {
    background-color: var(--mainColor1);
    border-radius: 0.5125rem;
    color: var(--mainColor4) !important;
}

  .navbar .container-fluid{
    padding-inline: 4rem;
    }
    .nav-slider{
      display: none;
    }


.flag-list {
  bottom: 10%;
}




}
@media only screen and (max-width: 1110px) {
  .item-height {
    height: 60vh;
  }

  .sidenav {padding-top: 15px;}
  .side-menu .text-search{
    font-weight: 400;
    font-size: 20px;
    padding-block: 80px;

  }
  .overflow-row {
    overflow-x: scroll;
  }
  .btn-close:focus {
    box-shadow: 0 0 0 0rem rgba(13,110,253,.25);
}



}

@media only screen and (min-width: 991px) and (max-width: 1047px) {

  .nav-link span {
    font-size: 14px !important;
}
.btn-login{
  font-size: 14px !important;
}
.LanguageMenu .lan {
  font-size: 14px !important;
}
}

@media only screen and (max-width: 991px) {
  .navbar-nav .whoare .dropdown-menu {
    position: static !important;
    transform: inherit !important;
    background-color: transparent;
    border: none !important;
    box-shadow: none !important;
}
.navbar-nav .whoare .dropdown-menu li{
padding-inline: 0px !important;
font-size: 14px !important;
}
  .order-tracking p {
    font-size: 14px !important;
  }
  div   .slick-slide{
      padding-inline: 20px ;
    }
    .filters div.overflow-hidden:has(img) {
      height: 60px;
      width: 60px;
  }

  .offcanvas {
    max-width: 85% ;
    z-index: 111111111;

  }



  .icon-top::after {
    top: -50px;
    height: 517px;
    width: 542px;
    left: 0px;
}
  .img-container {
    height: 354px !important;
}

.about-card{
  height:350px
}
.about-card .img-card{
  height:100%
}
.card:has(.img-card-service) {
  height: 350px;
}
.h5-home {
  font-size: 30px !important;
  line-height: 28px;
}

  .myAnim::after {
    width: 27px;
    height: 27px;
    top: 125px;
    left: 30px;
  background-size: contain;
  }
  
  .img-container.doctor-img{
    height:340px;
  }
  .doctor-img::after {
    background-size: 207px 207px;
}
  .after::after {
    height: 95px;
  }
  .bg-numbers {
    height: 100px !important;
}
  .item-height {
    height: 50vh;
    overflow: hidden;
  }
  .position-relative:has(.item-height) .card-body h4.h4-home {
    font-size: 28px;
    line-height: 30px;
}



 h2.badge  {
    font-size: 12px !important;
}
.emcan{
  text-align: center;
}
 .h4-home {
    font-size: 28px;
    font-weight: 700;
    line-height: 32px;
    font-weight: 600;
}
h5.h5-home {
  font-size: 32px !important;
  line-height: 45px;
  font-weight: 600 !important;
  padding-inline: 2px;
}

.card h4, .card .h4 {
  font-size: 25px;
  line-height: 42px;

}
  .emcan .text-end{
    text-align: center !important;
  }
  .border:has(.second-navbar){
    border: none !important;
      }


  .arrow-sm{
    display: block;
  }
.border-form{
  border: none !important;
}
  h2.home {
    font-size: 33px !important;
}
  .image-grid{
    display: flex;
    max-height: none !important;
    flex-direction: column;
    flex-wrap: wrap;
  }
.w-25{
  width: 50% !important;
}
  .image-grid .gallary {
    height: 200px;
  }
  .nav.bg-gray{
    background-color: transparent;
  }
  .vision-mission {
    margin-bottom: 150px;
}
  .img-container-home{
 width: 80%;

  }
  .container-service ul li {
    width: 100%;
}
  footer img{
    width: 150px;
  }
   .squre-after-service::after {
    right: 0px;
  }
  .info-container .row:nth-child(odd) .vision-mission .row .vision-mission-description {
    -webkit-margin-start: 0px;
            margin-inline-start: 0px;
    -webkit-margin-end: 0px;
            margin-inline-end: 0px;
  }
  .vision-mission-description.squre-after::after {
    top: 50px;
}
  .section-top-service .row::after {


    top: 80% !important;
}

.img-absloute {
  max-height: 250px;
  overflow: hidden;
  width: 100%;
}
 h3, .h3 {
  font-size: 32px !important;
  line-height: 31px !important;

}



h1 {

  font-size: 25px !important;
  line-height: 20px;

}
p {
  font-size: 15px !important;
}
  .h3-absloute{

    color: var(--SecondaryColor);
    text-align: start;
  }
  .about-img-css {
    height: 250px;

}
  footer h4 {
    font-size: 16px;
}
.social{
  padding-inline: 0px;
}
.social li a {

  width: 35px;
  height: 35px;
}
/* .list-data-footer li{
  text-align: center;
} */

/* .navContainer .nav-link span {
  color: var(--mainColor2);
} */

  .carousel-caption {
    right: 7%;
    top: 17%;
    left: 7%;
}
  .bg-img {
    background-size: 100% 41%;
    background-position: top;
    height: 250px;
}

.bg-img.rating{
background-position: center center;
background-size: cover;
height: auto;
}


.h3-absloute {
  position: static;

}

.map::after {
  top: -21px;
}

.bg-img h3{

  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  }
  .zoom{
    max-height: 350px;
    overflow: hidden;}
  .gray-bage h3 {
    font-size: 30px;

}
.flex-shrink-0 img {
  max-width: 100%;
}
.table-row-data  h6{
  font-size: 13px;
  font-weight: 300;
  text-wrap:nowrap
}

  .table-row-data   h6.semibold{
    font-size: 10px;

  }

  .w-75,.w-50{
    width: 100% !important;
  }
  img.w-75,img.w-50{
    width: 85% !important;
  }
  form.w-50{
    width: 100% !important;
  }
  .nav-pills-profile{
    display: none;
  }
  .nav-pills {
    flex-wrap: wrap;
width: 100%;
  } 

  .nav-pills h6{
    flex-wrap: nowrap;
    font-size: 0.8rem;
    margin-top: 10px;
  } 
  .profile .nav-pills h6 {
    text-align: center;
}
  .icon-menu-profile{
    display: flex !important;
    padding-inline: 2rem;

  }



h2 {
  font-size: 24px;
  line-height: 37px;
}
h4 {
  font-size: 18px;
  line-height: 37px;
  text-wrap: balance;
}


p {
  font-size: 16px !important;

}
.service-img::after {
  left: 2%;
  width: 300px;
  height: 300px;
}

h6, .h6 {
  font-size: 19px;
  line-height: 20px;
}

.card h2 {
  font-size: 18px;

}
.emcan{
  font-size: 12px !important;
}
.emcan a {

  font-size: 13px !important;
}
.w-img-popup {
  width: 30%;
}
}

@media only screen and (max-width: 900px) {
  .section1 {
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 108% 48%;
    background-image: url(../imgs/bg/section1.png);
}

  .parent {
    display: flex;

}
.parent {
  max-height: fit-content;
}

.parent div{
  height: 250px;
}
.projects .parent {
  display: flex;

}
.projects .parent {
max-height: fit-content;
}

.projects .parent div{
height: 250px;
}
.item-height {
  height: 40vh;
  overflow: hidden;
}
.item-height img ,.item-height video{

  max-width: 182%;
}

  .item-container{
    height: 250px;

  }
  .img-card.img-flip img{

    width: 100% !important;
  }
  .slider2 .img-card {
    max-height: 200px;
  }
  .flex-grow-1 {
    font-size: 10px;
  }
  .text-price{
    font-size: 14px;
  }
  .overlay2{

    font-size: 1.5rem;}
.container{
    width: 99%;
}

    .section {
        padding: 2.3rem 0rem 2.3rem 0rem;
    }

}
@media only screen and (max-width: 770px)
{

  footer    .navbar-brand{
      max-height: 50px;
    }
  
    .order{
      order: 1;
    }
  .text-md-start.text-center {
    text-align: center !important;
}
.img-container {
  height: 550px;
}
  .footer-style{
    order: 2;
  }
   .header-div {
    height: 230px;
  }
  .container-divs div:nth-child(3n+2) {
    padding-inline-start: 4px;
}
.container-divs div:nth-child(3n+1) {
  padding-inline-end: 4px;
}
.container-divs div:nth-child(3n) {
  margin-block: 16px;
}
  .position-relative:has(.item-height) .card-body  h4.h4-home {
    font-size: 20px;
    line-height: 30px;
}

.img-container.doctor-img {
  height: 350px;
}

.img-container.doctor-img img{
  max-width: 75% !important;
}
  .prev-button, .next-button {
      width: 30px !important;
      height: 30px !important;
  }


  .rate h4 {
    font-size: 24px;
  }
  .rate h5 {
    font-size: 15px;
}
    .header-div.bg-img {
    height: 200px;
}
  .about h5 {
    font-size: 23px;
    line-height: 35px;
}
  .carousel-caption h5 {
    font-size: 25px;
    line-height: 30px;
  }
  .carousel-item {
    height: 55vh;
}
  .carousel-caption {
    right: 3%;
    top: 10%;
    left: 3%;
}
.carousel-control-next, .carousel-control-prev {
  top: 198px;}
.carousel-caption h5 {
  font-size: 25px;
  line-height: 30px;
}

.carousel-caption p {
  font-size: 16px;
  line-height: 25px;
}
  .row-res{
    display: flex;
  }
  .row-res-img{
    display: none;
  }
  .row-small{
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  }
  .row-small .zoom {
    max-width: 20%;
  }

.img-big{
  width: 100% !important;
}

}




@media (max-width: 770px) {
  .w-25{
  width: 75% !important;
}
.profile {
  height: 335px;
}
  .album .responsive-container-block.bg {
    flex-direction: column;
  }

  .album .responsive-container-block.img-cont {
    max-width: 100%;
    flex-direction: row;
    justify-content: space-between;
  }

  .album .img.img-big {
    max-width: 49%;
    margin: 0 0 0 0;
  }
}
@media (max-width: 668px) {

  table, thead, tbody, th, td, tr { 
    display: block; 
  }
  thead tr { 
    position: absolute;
    top: -9999px;
    /* left: -9999px; */
  }
  
  tr { border: 1px solid #ccc;
  
}
  
  td { 
    /* Behave  like a "row" */
    border: none;
    border-bottom: 1px solid #eee; 
    position: relative;
    padding-left: 50%; 
  }
  tbody tr{
    margin-block: 15px;
  }
  td:before { 
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 10px;
    left: 0px;
    width: 100%; 
    padding-inline: .5rem; 
    white-space: nowrap;
    font-weight: 700;
  }
  
  td:nth-of-type(1):before { content: "المنتج"; }
  td:nth-of-type(2):before { content: "الكمية"; }
  td:nth-of-type(3):before { content: "السعر"; }
  td:nth-of-type(4):before { content: ""; }
  .album .img {
    max-width: 32.5%;
    margin: 0 0 0 0;
  }

}
@media only screen and (max-width: 580px){


  h1 {
    font-size: 18px !important;
}
  h3, .h3 {
    font-size: 20px !important;
    line-height: 100%;
}
h5.h5-home{
font-size: 18px !important;
  }
  .about-card p{
    font-size: 14px !important;

  }

  .about-card h1 {
        font-size: 16px !important;
    }
  .img-container {
    height: 440px !important;
}
  .album .img {
    max-width: 94%;
    margin: 0 0 25px 0;
  }

  .album .responsive-container-block.img-cont {
    flex-direction: column;
    align-items: center;
    padding: 10px 10px 10px 10px;
  }

  .album .img.img-big {
    max-width: 94%;
    margin: 0 0 25px 0;
  }

  .album .img.img-last {
    margin: 0 0 5px 0;
  }

  h3.small-title{
    line-height: 42px !important;
  }
}

@media only screen and (max-width: 550px) {
  .w-25{
  width: 85% !important;
}

   .order-tracking::before {
    left: calc(-50% + 13px);
}

  .arabicVersion .order-tracking::before {
    right: calc(-50% + 13px);
    left: auto;
}

.order-tracking::before {
    width: calc(100% - 25px);
  }
  .img-circle1{
    height: 100px;
  }
  .img-circle2{
    width: 100px;
    height: 100px;

  }
  /* h1,h2,h3,h4,h5 {
    font-size:24px !important;
  } */
  footer a {

    font-size: 14px;
}
.expert li {
font-size: 13px;
}
}


@media only screen and (max-width: 450px) { 
  

  .small-res{

    text-align: center;
    }
    
  h4 {
    font-size: 18px !important;
  }
  .myAnim::after {
    top: 125px;
    left: 15px;
    width: 25px;
    height: 25px;
}
.btn {
  font-size:14px;
}
.icon-top::after {
  top: -40px;
  height: 353px;
  width: 542px;
  left: -94px;
}

  .img-circle1{
    height: 80px;
  }
  .img-circle2{
    width: 80px;
    height: 80px;

  }
  .img-container {
    height: 260px !important;
}

  .img-container.doctor-img img {
    max-width: 100% !important;
}

  .item-height {
    height: 37vh;
}
.item-height img ,.item-height video{

  max-width: 250%;
}
  
h4.h4-home {
  font-size: 18px;
  line-height: 31px;
}
h5.h5-home {
  font-size: 20px !important;
  line-height: 28px;

}
.pills-Description .nav-link{
 
  max-width: 50%;
    }

    .breadcrumb-item, .breadcrumb-item a {
      font-size: 14px;
  }
  /* .img-card:not(.contact-us){
    height: 120px !important;
    max-height: 250px !important;
  } */

  .img-card.contact-us{
  height: 562px !important; }
  .img-card.img-flip{
    max-height: 250px !important;
    height: auto !important;
  }
  .img-card.img-flip img{

    width: auto !important;
  }
  .card h4, .card .h4 {
    font-size: 19px;
    line-height: 27px;
    font-weight: 600;
}
p {
  font-size: 14px !important;
  text-wrap: wrap;
  line-height: 18px;
}

.about-card h1 {
        font-size: 14px !important;
    }

    .about-card p.opacity-75{
      font-size: 12px !important;

    }
  }









@media only screen and (min-width: 768px) and (max-width: 991px) {



  .img-login{
    height: 45%;
  }
  .overflow{
    overflow-y: auto;
  }

}

@media only screen and (max-width: 991px) {

  .floatwhatsapp, .back-to-top{
    width: 35px;
    height: 35px;
    font-size: 18px;
  }
  .nav-link span{
font-size: 14px !important;
  }
.nav-pills .nav-link h2 {
  font-size: 13px !important;
}



}

@media only screen and (min-width: 991px)  {
td{
  vertical-align: middle;
}

  .badge-rotate div:nth-child(odd){
    transform: rotate(10deg);

  }
  .badge-rotate div:nth-child(even){
    transform: rotate(-10deg);

  }
  .badge-rotate div:nth-child(3n){
    transform: rotate(15deg);

  }
  .badge-rotate div:nth-child(4n){
    transform: rotate(-15deg);

  }
  .badge-rotate div:nth-child(6n){
    transform: rotate(3deg);

  }
  .badge-rotate{
    row-gap: 50px !important;
  }
  
  .img-card-grid{
    height: 1500px;
  }
  .img-card-grid .grid{
    height: 100%;
  }

  .grid img{
height: 100%;
width: 100%;
object-fit: cover;
  }
  .img-card-grid .grid div {  
    height:100%;
  }
    .img-card-grid .grid:nth-child(2) div:nth-child(1)  {
    
    height: 570px;
  }

.img-card-grid .grid:nth-child(2) div:nth-child(2)  {

height: 500px;
}
.img-card-grid .grid:nth-child(2) div:nth-child(3)  {

  height: 602px;
  }
  .img-card-grid .grid:nth-child(1) div:nth-child(1)  {
    
    height: 600px;
  }
.img-margin div:nth-child(even){
  padding-top: 50px;

}
.img-margin div:nth-child(odd){
  padding-bottom: 50px;

  }

  .card:has(.top-card) .top-card {
    bottom: -50%;
    transition: all 0.3s linear;
  }
  .card:has(.top-card):hover .top-card {
    bottom: 0px;
  }

  .second-section{
    border-color: var(--mainColor2) !important;
    border-radius: 50rem !important;
    background-color: rgb(230, 230, 230);

  }
}

