@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@100;200;300;400;500;600;700&display=swap');

@font-face {
    font-family: '29LT Zarid Sans';
    src: url('29LTZaridSans-Bold.woff2') format('woff2'),
        url('29LTZaridSans-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

body {
  direction: rtl;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  display: flex;
  flex-direction: column;
  background: #f4f7ff;
}

header {
  background: #9E9E9E;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-block-end: 30px;
}

.generic-page {
  min-height: calc(100vh - 235px);
  display: flex;
  align-items: center;
}

.btn-primary {
  background: #9E9E9E;
  border-color: #9E9E9E;
}

.navbar-brand img {
  height: 80px;
}

.header_logo_light img {
  max-height: 100px;
}

footer {
  margin-top: auto;
  width: 100%;
  height: 60px;
  line-height: 25px;
  font-size: 12px;
  padding-top: 5px;
}

img {
  max-width: 100%;
}

#preview {
  width: 250px !important;
}

h1 {
  font-size: 18px;
  line-height: 40px;
}
.photo-preview-text{
  font-weight: 400 !important;
  font-size: 16px !important;
}

#container {
  padding: 10px;
  width: 100%;
  max-width: 350px;
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  font-family: "IBM Plex Sans Arabic", sans-serif;
}

#loader {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 99991;

}

#loader #spinner {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% {
      -webkit-transform: rotate(0deg);
  }
  100% {
      -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
}

/* Add animation to "page content" */
.animate-bottom {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 1s;
  animation-name: animatebottom;
  animation-duration: 1s
}

@-webkit-keyframes animatebottom {
  from {
      bottom: -100px;
      opacity: 0
  }
  to {
      bottom: 0px;
      opacity: 1
  }
}

@keyframes animatebottom {
  from {
      bottom: -100px;
      opacity: 0
  }
  to {
      bottom: 0;
      opacity: 1
  }
}

@media (max-width: 640px) {
  body {
      padding: 0
  }

  .item {
      margin-bottom: 15px;
  }

  footer {
      position: relative;
  }
}
.page-wrapper {
  display: flex;
  align-items: center;
  align-content: center;
  width: 100%;
  max-width: 100% !important;
  justify-content: center;
}

.photo-preview {
  position: relative;
}

.photo-preview img {
  height: 100% !important;
  width: 100%;
}

.photo-preview .photo-preview-text {
  position: absolute;
  top: 385px !important;
  left: 48px !important;
  color: #fff;
  padding: 2px;
  width: 100px;
  word-wrap: break-word;
  font-size: 15px;
}

.photo-preview .photo-preview-text span {
  color: #3498db;
}

@media (max-width: 640px) {
	.photo-preview {
    position: relative;
    justify-content: center;
    display: flex;
}
	
	.photo-preview img {
    height: 100% !important;
    width: 320px;
    max-width: 320px;
    margin: auto;
}
	
.photo-preview .photo-preview-text {
    top: 328px !important;
    left: 50% !important;
    transform: translate(-50%);
}
}