/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/

/* Start - Properties for logo slider */

.slide_container {
  overflow: hidden;
}
.slide_container .logo_group {
  animation: slidein 10s linear infinite alternate;
  white-space: nowrap;
}
.slide_container .logo_group .logo_slider {
  width: 100%;
  display: inline-block;
  margin: 10px;
}
.slide_container .logo_group .logo_slider .fab {
  width: calc(100% / 5);
  display: inline-block;
  animation: fade-in 1.5s cubic-bezier(0.455, 1.03, 0.515, 0.955) forwards;
}

@keyframes slidein {
  from {
    transform: translate3d(100, 0, 0);
  }
  to {
    transform: translate3d(-300%, 0, 0);
  }
}
@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media (max-width: 1060px) {
  .fab {
    width: calc(100% / 4) !important;
  }
}

@media (max-width: 768px) {
  .fab {
    width: calc(100% / 3) !important;
  }
}

@media (max-width: 470px) {
  .fab {
    width: calc(100% / 2) !important;
  }
}
/* End - Properties for logo slider */

/* Start - Properties for Testimonials */

.slide_container_t {
  overflow: hidden;
}
.slide_container_t .text_group {
  animation: slidein_t 30s linear infinite alternate;
  white-space: nowrap;
}
.slide_container_t .text_group .text_slider {
  width: 100%;
  display: inline-block;
  margin: 10px;
}
.slide_container_t .text_group .text_slider {
  width: calc(100% / 5);
  display: inline-block;
  animation: fade-in 1.5s cubic-bezier(0.455, 0.03, 0.515, 0.955) forwards;
}

.fab_t {
  width: calc(100% / 0.95);
  display: inline-block;
  text-align: justify;
  margin: 10px;
}

.text_slider {
  /*white-space: normal !important;*/
}

.client_comment {
  /*width:300px;*/
  height: auto !important;
  white-space: pre-wrap;
  text-align: justify;
}

.client_comment_hp {
  width: 250px;
  height: auto !important;
  white-space: pre-wrap;
  text-align: justify;
}

@media (max-width: 400px) {
  .client_comment_hp {
    width: auto;
  }
}

.com_block {
  /*overflow-wrap: anywhere;*/
  justify-items: left;
  display: grid;
  padding: 15px;
  display: grid;
  align-items: stretch;
  align-content: center;
}

@keyframes slidein_t {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-150%, 0, 0);
  }
}

@media (max-width: 1460px) {
  .fab_t {
    width: calc(100% / 0.7) !important;
  }
}

@media (max-width: 1200px) {
  .fab_t {
    width: calc(100% / 0.6) !important;
  }
}

@media (max-width: 1000px) {
  .fab_t {
    width: calc(100% / 0.45) !important;
  }
}

@media (max-width: 768px) {
  .fab_t {
    width: calc(100% / 0.35) !important;
  }
}

@media (max-width: 520px) {
  .fab_t {
    width: calc(100% / 0.25) !important;
  }
}

@media (max-width: 380px) {
  .fab_t {
    width: calc(100% / 0.2) !important;
  }
}
/* End - Properties for Testimonials */

/* start carousel properties*/

.carouselblocks {
  /*overflow: hidden;*/ /* activate this line for script to function properly*/
  width: auto;
  margin: 50px auto;
}
.carouselanimation {
  width: auto;
  /*height: 100px;*/ /* activate this line for script to function properly*/
  height: auto; /* remove this line for script to function properly */
  font-size: 0px;
}
.carouselanimation div {
  display: inline-block;
  width: auto;
  float: none;
  padding: 0 10px;
}

.carouselblocks_comp {
  overflow: hidden;
  width: auto;
  margin: 50px auto;
}
.carouselanimation_comp {
  width: auto;
  height: 100px;
  font-size: 0px;
}
.carouselanimation_comp div {
  display: inline-block;
  width: auto;
  float: none;
  padding: 0 10px;
}

.pb_tstm {
  padding-bottom: 10px;
}

.carouselblocks_tstm {
  overflow: hidden;
  max-width: 1200px;
  margin: auto;
  margin-top: -50px;
}
.carouselanimation_tstm {
  width: auto;
  height: 400px;
  font-size: 0px;
}
.carouselanimation_tstm div {
  display: inline-block;
  width: auto;
  /*float: none;*/
  padding: 0 10px;
  height: 400px;
}

.carouselblocks_tstm_hp {
  max-width: calc(100% / 1.2);
  overflow: hidden;
  height: auto;
  margin: 50px auto;
}
.carouselanimation_tstm_hp {
  width: auto;
  height: auto; /* remove this line for script to function properly */
  font-size: 0px;
}
.carouselanimation_tstm_hp div {
  display: inline-block;
  width: inherit;
  height: inherit;
  /*float: none;*/
  padding: 0 50px 0 50px;
  /*text-align: left;*/
}
@media (max-width: 600px) {
  .carouselanimation_tstm_hp div {
    padding: 0;
  }
}
/* end carousel properties*/

/* Table Style Home Page */
@media (max-width: 700px) {
  .table_hp {
    overflow: scroll;
  }
}

/* Table gradient*/
.table_gradient {
  -webkit-mask-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(black),
    to(transparent)
  );
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  mask-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(black),
    to(transparent)
  );
  mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

/******** START OF HOME SLIDER CSS STYLES ********/
/*************************************************/
.cb-slideshow,
.cb-slideshow:after {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  z-index: 0;
}
/* Place pattern on top of all images */
.cb-slideshow:after {
  content: "";
  background: transparent url(../img/home/pattern-blue.png) repeat top left;
}

.cb-slideshow li span {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  color: transparent;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: none;
  opacity: 0;
  z-index: 0;
  -webkit-backface-visibility: hidden;
  -webkit-animation: imageAnimation 60s linear infinite 0s;
  -moz-animation: imageAnimation 60s linear infinite 0s;
  -o-animation: imageAnimation 60s linear infinite 0s;
  -ms-animation: imageAnimation 60s linear infinite 0s;
  animation: imageAnimation 60s linear infinite 0s;
}

.cb-slideshow li:nth-child(1) span {
  background-image: url(../img/home/hs01.jpg);
}

.cb-slideshow li:nth-child(2) span {
  background-image: url(../img/home/hs02.jpg);
  -webkit-animation-delay: 5s;
  -moz-animation-delay: 5s;
  -o-animation-delay: 5s;
  -ms-animation-delay: 5s;
  animation-delay: 5s;
}
.cb-slideshow li:nth-child(3) span {
  background-image: url(../img/home/hs03.jpg);
  -webkit-animation-delay: 10s;
  -moz-animation-delay: 10s;
  -o-animation-delay: 10s;
  -ms-animation-delay: 10s;
  animation-delay: 10s;
}
.cb-slideshow li:nth-child(4) span {
  background-image: url(../img/home/hs04.jpg);
  -webkit-animation-delay: 15s;
  -moz-animation-delay: 15s;
  -o-animation-delay: 15s;
  -ms-animation-delay: 15s;
  animation-delay: 15s;
}
.cb-slideshow li:nth-child(5) span {
  background-image: url(../img/home/hs05.jpg);
  -webkit-animation-delay: 20s;
  -moz-animation-delay: 20s;
  -o-animation-delay: 20s;
  -ms-animation-delay: 20s;
  animation-delay: 20s;
}
.cb-slideshow li:nth-child(6) span {
  background-image: url(../img/home/hs06.jpg);
  -webkit-animation-delay: 25s;
  -moz-animation-delay: 25s;
  -o-animation-delay: 25s;
  -ms-animation-delay: 25s;
  animation-delay: 25s;
}
.cb-slideshow li:nth-child(7) span {
  background-image: url(../img/home/hs07.jpg);
  -webkit-animation-delay: 30s;
  -moz-animation-delay: 30s;
  -o-animation-delay: 30s;
  -ms-animation-delay: 30s;
  animation-delay: 30s;
}
.cb-slideshow li:nth-child(8) span {
  background-image: url(../img/home/hs08.jpg);
  -webkit-animation-delay: 35s;
  -moz-animation-delay: 35s;
  -o-animation-delay: 35s;
  -ms-animation-delay: 35s;
  animation-delay: 35s;
}
.cb-slideshow li:nth-child(9) span {
  background-image: url(../img/home/hs09.jpg);
  -webkit-animation-delay: 40s;
  -moz-animation-delay: 40s;
  -o-animation-delay: 40s;
  -ms-animation-delay: 40s;
  animation-delay: 40s;
}
.cb-slideshow li:nth-child(10) span {
  background-image: url(../img/home/hs10.jpg);
  -webkit-animation-delay: 45s;
  -moz-animation-delay: 45s;
  -o-animation-delay: 45s;
  -ms-animation-delay: 45s;
  animation-delay: 45s;
}
.cb-slideshow li:nth-child(11) span {
  background-image: url(../img/home/hs11.jpg);
  -webkit-animation-delay: 50s;
  -moz-animation-delay: 50s;
  -o-animation-delay: 50s;
  -ms-animation-delay: 50s;
  animation-delay: 50s;
}
.cb-slideshow li:nth-child(12) span {
  background-image: url(../img/home/hs12.jpg);
  -webkit-animation-delay: 55s;
  -moz-animation-delay: 55s;
  -o-animation-delay: 55s;
  -ms-animation-delay: 55s;
  animation-delay: 55s;
}

/* Animation for the slideshow images */
@-webkit-keyframes imageAnimation {
  0% {
    opacity: 0;
    -webkit-animation-timing-function: ease-in;
  }
  8% {
    opacity: 1;
    -webkit-transform: scale(1.05);
    -webkit-animation-timing-function: ease-out;
  }
  17% {
    opacity: 1;
    -webkit-transform: scale(1.1);
  }
  25% {
    opacity: 0;
    -webkit-transform: scale(1.1);
  }
  100% {
    opacity: 0;
  }
}
@-moz-keyframes imageAnimation {
  0% {
    opacity: 0;
    -moz-animation-timing-function: ease-in;
  }
  8% {
    opacity: 1;
    -moz-transform: scale(1.05);
    -moz-animation-timing-function: ease-out;
  }
  17% {
    opacity: 1;
    -moz-transform: scale(1.1);
  }
  25% {
    opacity: 0;
    -moz-transform: scale(1.1);
  }
  100% {
    opacity: 0;
  }
}
@-o-keyframes imageAnimation {
  0% {
    opacity: 0;
    -o-animation-timing-function: ease-in;
  }
  8% {
    opacity: 1;
    -o-transform: scale(1.05);
    -o-animation-timing-function: ease-out;
  }
  17% {
    opacity: 1;
    -o-transform: scale(1.1);
  }
  25% {
    opacity: 0;
    -o-transform: scale(1.1);
  }
  100% {
    opacity: 0;
  }
}
@-ms-keyframes imageAnimation {
  0% {
    opacity: 0;
    -ms-animation-timing-function: ease-in;
  }
  8% {
    opacity: 1;
    -ms-transform: scale(1.05);
    -ms-animation-timing-function: ease-out;
  }
  17% {
    opacity: 1;
    -ms-transform: scale(1.1);
  }
  25% {
    opacity: 0;
    -ms-transform: scale(1.1);
  }
  100% {
    opacity: 0;
  }
}
@keyframes imageAnimation {
  0% {
    opacity: 0;
    animation-timing-function: ease-in;
  }
  8% {
    opacity: 1;
    transform: scale(1.05);
    animation-timing-function: ease-out;
  }
  17% {
    opacity: 1;
    transform: scale(1.1);
  }
  25% {
    opacity: 0;
    transform: scale(1.1);
  }
  100% {
    opacity: 0;
  }
}

/* Show at least something when animations not supported */
.no-cssanimations .cb-slideshow li span {
  opacity: 1;
}
/******* END OF HOME SLIDER CSS STYLES *******/
/*********************************************/

/********* START OF Euro button Exchange *********/
/*************************************************/

#exrate {
  display: none;
  /*transition: ease-out;*/
}
#exrateA {
  display: none;
  /*transition: ease-out;*/
}
#exrateB {
  display: none;
  /*transition: ease-out;*/
}
#exrateC {
  display: none;
  /*transition: ease-out;*/
}
#exrateD {
  display: none;
  /*transition: ease-out;*/
}
#exrateE {
  display: none;
  /*transition: ease-out;*/
}
#exrateF {
  display: none;
  /*transition: ease-out;*/
}

#exrate.visible {
  display: inline-block;
}
#exrateA.visible {
  display: inline-block;
}
#exrateB.visible {
  display: inline-block;
}
#exrateC.visible {
  display: inline-block;
}
#exrateD.visible {
  display: inline-block;
}
#exrateE.visible {
  display: inline-block;
}
#exrateF.visible {
  display: inline-block;
}

#eurobtn {
  padding: 5px 15px;
  position: relative;
  top: -3px;
  background-color: #afafaf;
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.5s;
}
#eurobtnA {
  padding: 5px 15px;
  position: relative;
  top: -3px;
  background-color: #afafaf;
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.5s;
}
#eurobtnB {
  padding: 5px 15px;
  position: relative;
  top: -3px;
  background-color: #afafaf;
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.5s;
}
#eurobtnC {
  padding: 5px 15px;
  position: relative;
  top: -3px;
  background-color: #afafaf;
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.5s;
}
#eurobtnD {
  padding: 5px 15px;
  position: relative;
  top: -3px;
  background-color: #afafaf;
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.5s;
}
#eurobtnE {
  padding: 5px 15px;
  position: relative;
  top: -3px;
  background-color: #afafaf;
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.5s;
}
#eurobtnF {
  padding: 5px 15px;
  position: relative;
  top: -3px;
  background-color: #afafaf;
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.5s;
}

#eurobtn.active {
  background-color: #00558a;
  animation: pulse 0.5s ease-out;
}
#eurobtnA.active {
  background-color: #00558a;
  animation: pulse 0.5s ease-out;
}
#eurobtnB.active {
  background-color: #00558a;
  animation: pulse 0.5s ease-out;
}
#eurobtnC.active {
  background-color: #00558a;
  animation: pulse 0.5s ease-out;
}
#eurobtnD.active {
  background-color: #00558a;
  animation: pulse 0.5s ease-out;
}
#eurobtnE.active {
  background-color: #00558a;
  animation: pulse 0.5s ease-out;
}
#eurobtnF.active {
  background-color: #00558a;
  animation: pulse 0.5s ease-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/********** End OF Euro button Exchange **********/
/*************************************************/

/******* Start Custom CSS for Testimonials *******/
/*************************************************/
.snip1533 {
  box-shadow: 0 0 15px rgba(92, 137, 165, 0.35);
  color: #898989;
  display: inline-block;
  vertical-align: top;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  margin: 35px 10px 10px;
  /*width: 300px;*/
  max-width: 310px;
  min-width: 250px;
  position: relative;
  text-align: center;
  width: 100%;
  background-color: #ffffff;
  border-radius: 5px;
  border-top: 5px solid #00558a;
}

.snip1533 *,
.snip1533 *:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.1s ease-out;
  transition: all 0.1s ease-out;
}

.snip1533 figcaption {
  padding: 13% 10% 12%;
}

.snip1533 figcaption:before {
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  color: #00558a;
  content: url(../img/quote-right.svg);
  font-size: 75px;
  font-style: normal;
  left: 50%;
  line-height: 60px;
  position: absolute;
  top: -30px;
  width: 60px;
  height: 60px;
}

.snip1533 h3 {
  color: #3c3c3c;
  font-size: 20px;
  font-weight: 300;
  line-height: 24px;
  margin: 10px 0 5px;
}

.snip1533 h4 {
  font-weight: 400;
  margin: 0;
  opacity: 0.5;
  font-size: 19px;
}

.snip1533 blockquote {
  font-style: italic;
  font-weight: 300;
  margin: 0 0 20px;
}

/******* End Custom CSS for Testimonials *******/
/***********************************************/

/******* Start CSS for payment selection method *******/
/******************************************************/

.hidden-payment-radio {
  display: none;
}

.PayCategory {
  margin-top: 10px;
  padding-top: 20px;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 15px;
}

.PayCategory label {
  /* width: 100%; */
  /* height: 65px; */
  height: 150px;
  padding: 20px;
  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.5);
  display: flex;
  /* justify-content: space-between; */
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border-radius: 5px;
  position: relative;
}

/* label:nth-child(2), label:nth-child(3){
    margin: 15px 0;
} */

#edahabia:checked ~ .PayCategory .edahabiaMethod,
#cib:checked ~ .PayCategory .cibMethod {
  box-shadow: 0px 0px 0px 3px #6064b6;
}

#edahabia:checked ~ .PayCategory .edahabiaMethod .payment-checked,
#cib:checked ~ .PayCategory .cibMethod .payment-checked {
  display: block;
}

.PayCategory label .imgName {
  display: flex;
  /* justify-content: space-between;
     */
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 10px;
}

.imgName span {
  /* margin-left: 20px; */
  font-family: Arial, Helvetica, sans-serif;

  position: absolute;
  top: 72%;
  transform: translateY(50%);
}

.imgName .imgContainer {
  max-width: 250px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;

  position: absolute;
  top: 35%;
  transform: translateY(-35%);
}

img {
  /*width: 50px;*/
  height: auto;
}

.edahabia img {
  /*width: 150px;*/
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  max-height: 100px;
  /* margin-left: 5px; */
}

.cib img {
  /*width: 150px;*/
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  max-height: 100px;
}

.payment-checked {
  display: none;
  position: absolute;
  top: -9px;
  right: -9px;
}

.payment-checked i {
  font-size: 35px;
}

/******** End CSS for payment selection method ********/
/******************************************************/

/************* Start CSS for visa selection ************/
/******************************************************/

.font-change {
  color: #222 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
}

.radio-change[type="radio"] {
  width: 1.75em !important; /* Set width of circle */
  height: 1.75em !important; /* Set height of circle */
}

.check-change[type="checkbox"] {
  width: 1.15em; /* Adjust this value as per your requirement */
  height: 1.15em; /* Adjust this value as per your requirement */
}

/************** End CSS for visa selection ************/
/******************************************************/

/************* Start CSS for Radio Container ************/
/********************************************************/

.custom-radio {
  display: flex;
  align-items: center;
}

.custom-radio input[type="radio"] {
  margin-top: -5px;
}

.custom-radio:hover {
  border-radius: 5px; /* Rounded corners */
  background-color: #def3e5; /* Background color on hover */
  transition: background-color 0.3s; /* Smooth transition */
}

.custom-radio input[type="radio"]:checked ~ .form-check-label {
  border-radius: 5px; /* Rounded corners */
  border-left: 5px solid #008f48;
  background-color: #def3e5; /* Background color when radio is checked */
  transition: background-color 0.3s, border-left 0.3s; /* Smooth transition */
  padding-left: 11px;
  margin-left: 13px;
  font-weight: 500;
}

/* FOR ARABIC VERSION : */
.custom-radio-ar {
  display: flex;
  align-items: center;
}

.custom-radio-ar input[type="radio"] {
  margin-top: -5px;
}

.custom-radio-ar:hover {
  border-radius: 5px; /* Rounded corners */
  background-color: #def3e5; /* Background color on hover */
  transition: background-color 0.3s; /* Smooth transition */
}

.custom-radio-ar input[type="radio"]:checked ~ .form-check-label {
  border-radius: 5px; /* Rounded corners */
  border-right: 5px solid #008f48;
  background-color: #def3e5; /* Background color when radio is checked */
  transition: background-color 0.3s, border-right 0.3s; /* Smooth transition */
  padding-right: 11px;
  margin-right: 13px;
  font-weight: 500;
}

/************** End CSS for Radio Container ************/
/*******************************************************/

/**** Start CSS for dynamicText transition effect *******/
/********************************************************/

#dynamicText {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 1s, max-height 2s;
}

#dynamicText.show {
  opacity: 1;
  max-height: 200px; /* Adjust this value based on your content */
}

/***** End CSS for dynamicText transition effect *******/
/*******************************************************/

/************* Start CSS for border radios **************/
/********************************************************/

.radius-box {
  border-radius: 15px;
}

.radius-figure {
  border-radius: 15px 15px 0px 0px;
}

/************* END CSS for border radios ***************/
/*******************************************************/
