/* General Styling */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url(SLXGc1nY6HkvalIkTpu0xg.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC;
}

/* latin-ext */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url(SLXGc1nY6HkvalIvTpu0xg.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url(SLXGc1nY6HkvalIhTps.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html,
body {
  margin: 0;
  padding: 0;
  height: -webkit-fill-available;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth !important;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: stretch;
}

td#PostContentsColumn p {
  color: black;
}

td#PostContentsColumn.withtext {
  padding: 10px;
  width: 275px
}

td#ImageTagColumn.withtext img {
  width: 100px !important;
  max-width: 100px !important;
  min-width: 50px !important;
  height: 100px !important;
}

/* General Styles */



/* Navigation */
nav {
  direction: rtl;
  position: relative;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

 

nav ul li a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: #333;
  transition: background 0.3s;
}

nav ul li a:hover {
  background-color: #d4e1d9 !important;
  position: relative !important;
}

.submenu {
  display: none;
 
}



.submenu li a:hover {
  background-color: #ddd;
}

.hamburger {
  display: none;
  font-size: 28px;
  padding: 10px 20px;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    display: none;
  }

  nav ul.hidemenu {
    display: block;
  }

  .hamburger {
    display: block;
  }

  nav ul li {
    width: 100%;
  }

  .submenu {
    position: relative;
    padding-right: 0;
  }

  #header nav ul.submenu,
  #header nav ul.submenu1 {
    background: transparent;
    padding: 0;
    list-style: none;
    display: none;
    position: absolute;
    right: 180px;
  }
}

/* Slider */
.slider-container {
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.slider-wrapper li {
  list-style: none;
}

.fit-image {
  width: 100%;
  display: block;
}

.capa {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 10px;
  border-radius: 5px;
}

/* News Section */
.AD-item {
  cursor: pointer;
  padding: 10px;
  border: 1px solid #ccc;
  margin: 5px 0;
  background: #182931;
  width: 150px;
}

.AD-item:hover {
  background: #647a76;
}

/* Hidden Menu Example */
.menu-hidden {
  display: none;
}

.menu-visible {
  display: block;
}

.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  /* Semi-transparent background */
}


.close {
  color: #aaa;
  float: left;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #000;
}

td#ImageTagColumn.withtext {
  width: max-content;
  padding: 10px;
}

div#startingpage {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  width: -webkit-fill-available;
}

* {
  font-family: 'Cairo' !important;
}

.hamburger {
  display: none;
}

body {
  direction: rtl !important;
  grid-template-columns: repeat(1, 1fr);
  width: -webkit-fill-available;
  display: ruby;
  justify-content: start;
  align-items: baseline;
  justify-items: center;
}

div#headerContainer {
  width: -webkit-fill-available;
  position: sticky;
  top: 0;
  z-index: 99999;
 
}

div#startingpage1 {
  max-width: 100% !important;
}

.image-grid .cell * {
  font-size-adjust: revert-layer;
  font-size: 1.0rem;
  font-weight: 400;
  text-align: justify;
  hyphens: auto;
  word-break: break-word;
  line-height: 1.3;
}

.image-grid .cell {
  margin-top: 20px;
  padding: 20px !important;
  width: 450px;
  max-width: 450px !important;
  gap: 92px !important;
  min-width: 450px !important;
  display: flex;
  min-height: 587px !important;
  max-height: 800px !important;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
  align-content: space-evenly;
  justify-items: center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 5px;
  justify-content: flex-end;
  box-shadow: 0px 0px 8px 1px #450f02;
}

section#contact * {
  color: #181717 !important;
}

section * {
  color: #181717 !important;
}

h2 {
  color: #0c0c0c !important;
}

h1 {
  color: 0c0c0c !important;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  h1 {
    color: #f3f1f1 !important;
    margin-bottom: 20px;
  }
}

#services .AD-item {
  background-color: #b7b3b3;
  padding: 20px;
  margin: 10px;
  display: inline-block;
  width: 200px;
  cursor: pointer;
  color: black;
  font-weight: 700;
}

#services .service-item {
  background-color: #b7b3b3;
  padding: 20px;
  margin: 10px;
  display: inline-block;
  width: 200px;
  cursor: pointer;
}

.clouded-text {
  font-size: 36px;
  color: #fcfcfc;
  display: inline-block;
}

.clouded-text {
  font-size: 36px;
  color: #100707;
  display: inline-block;
}

section {
  margin-bottom: 80px;
}

#header h2 {
  position: relative;
  z-index: 1;
}

header#loginheader {
  background-color: #4CAF50;
  color: white;
  text-align: center;
  padding: 50px 0;
  width: 100%;
}

 

/* Top-level menu only */
#header nav>ul>li {
    display: inline-grid;
    position: relative;
    top: -13px;
}

/* Top-level container */
#header nav>ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: right;
  padding-bottom: 29px;
  background: #081b2e;
  height: 28px;
  position: relative;
  border: 1px solid #f08404;
}

/* All submenu levels */
#header nav ul.submenu {
  display: none;
 
}

/* Submenu links */


/* Hover effect to show submenu */
#header nav>ul>li:hover>ul.submenu,
#header nav ul.submenu li:hover>ul.submenu {
  display: block;
}

/* Style only the first-level menu */
#header nav>ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: right;
  padding-bottom: 29px;
  background: #d5ac47;
  height: 28px;
  position: relative;

}

/* Optional: style submenu separately */

.header-content h1 {
  font-size: 36px;
  margin: 0;
}

.header-content p {
  font-size: 20px;
}

ul.submenu1>li {
  left: -302px;
  top: 1px;
  height: auto;
  display: inline;
}

ul.submenu1>li>a {
  font-size: 14px !important;
}

section {
  padding: 40px !important;
  width: -webkit-fill-available;
  text-align: center;
  box-shadow: 1px 1px 7px 3px #06060638;
}

#booking form {
  max-width: 400px;
  margin: 0 auto;
}

#booking form label,
#booking form input,
#booking form select {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  font-size: 16px;
}

button[type="submit"] {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 18px;
}

button[type="submit"]:hover {
  background-color: #45a049;
}

#albumContainer img::before,
#albumContainer img::after {
  content: '';
  position: absolute;
  border-style: solid;
  border-color: #ab8937;
  pointer-events: none;
}

#albumContainer img::before {
  top: 0;
  left: 0;
  width: 25%;
  height: 25%;
  border-width: 10px 0 0 10px;
  z-index: 1;
}

#albumContainer img::after {
  bottom: 0;
  right: 0;
  width: 25%;
  height: 25%;
  border-width: 0 10px 10px 0;
  z-index: 1;
}

#contact p {
  font-size: 12px;
}

html {
  scroll-behavior: smooth;
}

h1 {
  color: black;
  margin-bottom: 20px;
}

.login-button {
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 18px;
  text-decoration: none;
}

.login-button:hover {
  background-color: #0056b3;
}

.content {
  margin-top: 60px;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-direction: row;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.gallery img {
  width: 150px;
  height: auto;
  cursor: pointer;
  transition: transform 0.2s;
}

.gallery img:hover {
  transform: scale(1.05);
}

*,
::after,
::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
}

.bg-image {
  background-position: 0 50%;
  background-size: cover;
  position: sticky;
  top: 0;
  z-index: 999;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

img,
svg {
  vertical-align: middle;
}

img {
  overflow-clip-margin: content-box;
  overflow: clip;
}

#albumContainer img::before,
#albumContainer img::after {
  content: '';
  position: absolute;
  border-style: solid;
  border-color: #ab8937;
  pointer-events: none;
}

#albumContainer img::before {
  top: 0;
  left: 0;
  width: 25%;
  height: 25%;
  border-width: 5px 0 0 5px;
  z-index: 1;
}

#albumContainer img::after {
  bottom: 0;
  right: 0;
  width: 25%;
  height: 25%;
  border-width: 0 5px 5px 0;
  z-index: 1;
}

#albumContainer img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  position: relative;
  margin: 10px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
}

#albumContainer img::before,
#albumContainer img::after {
  content: '';
  position: absolute;
  pointer-events: none;
  border-color: #937e0e;
  border-style: solid;
}

#albumContainer img::before {
  top: 0;
  left: 0;
  width: 25%;
  height: 25%;
  border-width: 5px 0 0 5px;
}

#albumContainer img::after {
  bottom: 0;
  right: 0;
  width: 25%;
  height: 25%;
  border-width: 0 5px 5px 0;
}

#header nav>ul>li:last-child {
  float: left;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #555;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: black;
}

#q input[type="text"],
#q input[type="password"] {
  width: auto;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: black;
}

button:hover {
  background-color: #218838;
}

section#login {
  display: flex;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.header-content {
  height: -webkit-fill-available;
  position: relative;
  top: -26px;
  text-align: right;
}

.header-content h1 {
  font-size: 36px;
  margin: 0;
  position: relative;
  top: 26px;
  right: 29px;
}

#header>nav>ul>li:last-child {
  position: relative;
  left:  20px;
}


div#navigation h1.clouded-text_title {
  font-size: 18px;
  text-align: right;
  width: -webkit-fill-available;
  margin-right: 22px;
  color: #E91E63;
  text-shadow: 0px 0 3px #00000073;
}

 
section#services div {
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
}

form {
  background-color: #e1e1e1;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 300px;
  margin-bottom: 50px;
}

#album {
  padding: 40px;
  text-align: center;
  background-color: #e1e1e1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

div#navigation {
  position: relative;
  height: 50px;
  z-index: 999999;
  background: #fefefe;
}

#userMenu {
  position: relative;
  display: inline-block;
  padding: 10px 15px;
  color: #060606;
  border-radius: 5px;
  font-size: 16px;
  float: inline-end;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

div#imageAlbum {
  height: 313px;
  overflow: auto;
  padding-top: 20px;
}

#userMenu:hover {
  background-color: #444;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 150px;
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  z-index: 1000;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  color: #333;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.dropdown-menu a:hover {
  background-color: #f0f0f0;
}

#userMenu.show .dropdown-menu {
  display: block;
}

#userMenu .dropdown-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 20px;
  border-width: 0 10px 10px;
  border-style: solid;
  border-color: transparent transparent #fff transparent;
}

#userMenu:hover {
  background-color: #06163c;
  color: white;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #fff;
  border: 1px solid #ccc;
  min-width: 150px;
  z-index: 1000;
  box-shadow: 9px 8px 8px rgba(0, 0, 0, 0.1);
}

#userMenu .dropdown-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 20px;
  border-width: 0 10px 10px;
  border-style: solid;
  border-color: transparent transparent #f9f7f7 transparent;
}

.header-content h1 {
  color: #f08404;
  text-align: center;
  padding: 0 0;
}

#navigation {
  display: grid;
  grid-template-columns: 95% repeat(1, 5%);
  gap: 10px;
  padding: 0;
  list-style-type: none;
  color: black;
  width: 100% !important;
}

#navigation ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: left;
  align-content: end !important;
  flex-direction: column;
}

div#navigation {
  position: relative;
  height: 50px;
  z-index: 999999;
  top: 174px;
  background: #fefefe;
}

#navigation {
  background-color: #333;
  color: #fff;
  padding: 10px 0;
}

#navigation li {
  display: inline-block;
}

#navigation li a:hover {
  background-color: #555;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #fff;
  border: 1px solid #ccc;
  min-width: 150px;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dropdown-menu li {
  list-style: none;
  padding: 0;
}

.dropdown-menu li a {
  display: block;
  text-decoration: none;
  color: black;
}

#navigation li a:hover {
  background-color: #09193f;
  color: white;
}

.dropdown-menu li a:hover {
  background-color: #f0f0f0;
}

.clouded-text_title {
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

section {
  margin: 20px;
  padding: 20px;
  background: #ffffff1f !important;
}

#services .service-item {
  margin: 10px 0;
}

#album {
  margin-top: 20px;
}

#imageAlbum img {
  max-width: 600px;
  margin: 5px;
  border-radius: 5px;
}

#albumContainer img {
  width: 400px;
  height: 300px;
  object-fit: cover;
  position: relative;
  margin: 10px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
}

form {
  display: flex;
  flex-direction: column;
}

label {
  margin-top: 10px;
}

input,
select,
button {
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button:hover {
  background-color: #555;
}

#navigation {
  display: grid;
  grid-template-columns: 56% repeat(1, 43%);
  gap: 10px;
  padding: 0;
  list-style-type: none;
  color: black;
}

#navigation li a {
  text-decoration: none;
  color: #080808;
  text-align: center;
  display: block;
  border-radius: 5px;
}

*,
::after,
::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none;
  color: white;
  outline: none;
}

.moreButton {
  cursor: pointer;
  font-family: Arial, sans-serif;
  margin-top: 20px;
  padding-bottom: 5px;
  padding-top: 5px;
  padding-left: 10px;
  padding-right: 10px;
  background-color: #ceba70;
  color: black;
  font-weight: 700;
}

td#PostTitleColumn {
  background: #b7b3b3 !important;
  color: #080808 !important;
  box-shadow: 0px 0px 5px rgb(0 0 0 / 91%);
}

img {
  box-shadow: 0 2px 4px rgb(0 0 0);
}

p#PostTitle {
  font-size: 17px !important;
  text-align: center !important;
  border: none !important;
  font-weight: 700;
  color: #020202;
  /* box-shadow: 0px 0px 5px rgb(0 0 0 / 91%); */
  height: 50px;
  align-content: center;
  padding-right: 5px;
  display: grid;
  padding: 10px;
}

p#PostContentsText img {
  width: 200px !important;
  height: 200px !important;
}

p#PostDetailstext {
  display: none;
}

.clearout {
  height: 20px;
  clear: both;
}

.nbs-nineslider-container {
  position: relative;
  max-width: 960px;
  text-align: center;
}

.nbs-nineslider-ul {
  position: relative;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.nbs-nineslider-ul>li {
  position: relative;
  z-index: 0;
  top: 0px;
  left: 0px;
  display: none;
  width: 100%;
}

.nbs-nineslider-ul>li .caption {
  position: absolute;
  bottom: 0;
  padding: 5px;
  box-sizing: border-box;
  z-index: 3;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  width: 100%;
  text-align: left;
}

.nbs-nineslider-ul>li img {
  max-width: 100%;
  width: 100%;
  vertical-align: middle;
}

.nbs-nineslider-nav-left,
.nbs-nineslider-nav-right {
  padding: 5px 10px;
  border-radius: 15px;
  -moz-border-radius: 15px;
  -webkit-border-radius: 15px;
  position: absolute;
  cursor: pointer;
  top: 50%;
  transform: translateY(-100%);
  z-index: 4;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
}

.nbs-nineslider-nav-left {
  left: 10px;
}

.nbs-nineslider-nav-left:before {
  content: "<"
}

.nbs-nineslider-nav-left.disabled {
  opacity: 0.4;
}

.nbs-nineslider-nav-right {
  right: 5px;
}

.nbs-nineslider-nav-right:before {
  content: ">"
}

.nbs-nineslider-paging {
  position: relative;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  z-index: 3;
}

.nbs-nineslider-paging li {
  margin: 0 5px;
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #000;
  border: 1px solid #ccc;
  cursor: pointer;
}

.nbs-nineslider-paging li.active {
  background: #fff;
}

.nbs-nineslider-container img {
  display: block !important;
}

#demo .nineslider-navigation {
  display: none;
}

.nbs-nineslider-nav-right {
  right: 5px;
  display: none;
}

.nbs-nineslider-nav-left {
  right: 5px;
  display: none;
}

.nbs-nineslider-paging {
  display: none
}

li.nbs-nineslider-item img {
  width: 100% !important;
  height: 230px !important;
}

img#ImageTag {
  width: auto !important;
  height: 500px !important;
  max-height: 500px;
}

p#PostContentsText img {
  width: 50px !important;
  height: 50px !important;
}

td#ImageTagColumn img {
  min-width: 325px !important;
  min-height: auto !important;

  min-height: auto !important;
  position: relative;
  top: 0;
  min-width: 300px !important;
  left: 0;
  border: 10px solid #1c1a1a;
  border-image: linear-gradient(25deg, #080a25fc 30%, #0b0d28 30%, #a1b0aa 70%, #9eb0ac 70%) 1;
}

td#PostContentsColumn img {
  width: 50px;
  height: 50px;
}

.moreButton {
  cursor: pointer;
  font-family: Arial, sans-serif;
  margin-top: 20px;
  padding-bottom: 5px;
  padding-top: 5px;
  padding-left: 10px;
  padding-right: 10px;
  background-color: #ceba70;
  color: black;
  font-weight: 700;
  text-align: right;
}

.logo {
  text-align-last: left;
}

td#ImageTagColumn.textonly {
  display: none;
}

td#PostContentsColumn.textonly {
  background: #d6d7db;
  font-weight: inherit;
  font-size: 12px;
  text-align: justify;
  display: flex;
}

.logo {
  display: none;
}

div#Post {
  width: 100% !important;
  background: white !important;
  max-width: 400px !important;
}

table#TablePost {
  border: 0px !important;
  width: 100% !important;
}

img {
  box-shadow: 0 2px 0px 0px rgb(0 0 0);
}

td#ImageTagColumn img {

  min-width: 325px !important;
  min-height: auto !important;

  min-height: auto !important;
  position: relative;
  top: 0;
  left: 0;
  border: 10px solid #1c1a1a;
  border-image: linear-gradient(25deg, #080a25fc 30%, #0b0d28 30%, #a1b0aa 70%, #9eb0ac 70%) 1;
}

td#PostContentsColumn {
  max-height: 250px !important;
  overflow: auto !important;
  height: 233px;
  display: table-caption;
  align-content: center;
  border: 0px !important;
}

td#PostContentsColumn::-webkit-scrollbar {
  display: none;
}

table#TablePost {
  border: 0px !important;
}

td#ImageTagColumn {
  width: 400px !important;
}

td {
  border: 1px solid windowtext;
  padding: 10px;
  border-color: #9393934f !important;

}

.header-content h1 {
  color: #d5ac47;
  text-align: center;
  padding: 0 0;
  position: relative;
  top: 57px !important;
  font-size: x-large !important;
}

ul.submenu1 {
  position: relative;
  left: 75px;
  width: 100% !important;
  min-width: 50px !important;
  /* background: red !important; */
}

#header nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: right;
  padding-bottom: 29px;
  background: #cedbd7;
  height: 28px;
  border: none;
  position: relative;
  left: 0;
}

#header nav ul li a {
  text-decoration: none;
  font-size: 12px;
  position: relative;
  color: black;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

nav {
  position: relative;
  top: 0px;
  z-index: 999999;
}

button {
  width: 230px;
  padding: 10px;

  color: white !important;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

input,
select,
button {
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

td {
  border: 1px solid windowtext;
  padding: 10px;
  border-color: #9393934f !important;

}

td#PostFooterColumn {
  height: -webkit-fill-available;
  border: none !important;
  display: flex;
  padding-right: 10px;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  align-items: center;
}

td#ImageTagColumn {
  border: none !important;
}

.image-grid .cell {
  display: grid;
  align-items: start;
  justify-content: center;
  justify-content: flex-start;
  height: 800px;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: space-between;
  background: white;
}

button#toggleMenuButton {
  padding: 10px;
  background-color: #071c2e;
  color: white;
  border: none;
  width: auto;
  border-radius: 4px;
  cursor: pointer;
  text-align: left;
  display: flex;
  font-size: 16px;
}

.menu-toggle {
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 5px;
  position: relative;
}

#menu {
  background-color: white;
  border: 1px solid #ccc;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 200px;
  border-radius: 5px;
  z-index: 1000;
  display: none;
  position: absolute !important;
}

#menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#menu ul li {
  border-bottom: 1px solid #ddd;
}

#menu ul li a {
  text-decoration: none;
  color: #333;
  display: block;
  padding: 10px;
}

#menu ul li a:hover {
  background-color: #f0f0f0;
}

@media (max-width: 400px) {
  form {
    width: 90%;
  }

  ul#navMenu.hidemenu {
    display: none;
  }

  ul#navMenu.show {
    display: block;
  }
}

.image-grid {
  display: flex;
  gap: 20px;
  margin: 0 auto;
  width: 100%;
  flex-wrap: wrap;
  flex-direction: row-reverse;
  align-content: center;
  justify-content: center;
  align-items: center;
}

/* Mobile View */
/* --------------------------------------------------------------------- */
/* --------------------------------------------------------------------- */
/* --------------------------------------------------------------------- */
/* --------------------------------------------------------------------- */

@media (max-width: 768px) {
  ul#navMenu.hidemenu {
    display: none;
  }

  #header nav>ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: right;
    padding-bottom: 29px;
    background: transparent !important;
    height: 28px;
    position: relative;

  }

  nav ul li a:hover {
    background-color: #e0e0e0;
    color: black !important;
    /* height: 60px; */
    /* position: relative !important; */
  }

  ul#navMenu.show {
    display: block;
  }

  section#News {
    width: 100% !important;
    zoom: .90 !important;
    ;
  }

  .image-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    margin: 0 auto;
    width: 100%;
    display: flow !important;
    gap: 20px;
    margin: 0 auto;
    width: 100%;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    align-content: center;
    justify-content: center;
    align-items: center;
  }

  h1 {
    color: #f3f1f1;
    margin-bottom: 20px;
  }

  .hidemenu {
    display: none;
  }

  td#PostContentsColumn {
    max-height: 200px !important;
    overflow: auto !important;
    height: 200px;
    display: table-caption;
    align-content: center;
    border: 0px !important;
  }

  .header-content h1 {
    font-size: 21px;
    margin: 0;
    position: relative;
    top: 26px;
    right: 29px;
  }

  #header {
    width: -webkit-fill-available !important;
    height: 135px !important;
    z-index: 999;
    box-shadow: inset 0px 0px 0px 10px #d5ac47;
  }

  .logo {
    text-align-last: left !important;
    display: block !important;
    position: absolute;
    left: 15px;
    top: 15px;
  }

  .logo img {
    width: 104px !important;
    height: 100px !important;
    left: 7%;
    position: relative;
    top: 4px;
  }

  div#startingpage {
    padding-left: 10px;
  }

  section.slide .slider-container .slider-wrapper li .capa {
    top: 300px;
    left: 0;
    width: 100%;
    z-index: 92;
    height: 100%;
    display: block;
    position: absolute;
    background: rgb(0 0 0 / 60%);
    color: white;
    font-size: 14px;
  }

  img#ImageTag::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 4px solid #007BFF;
    border-radius: 30%;
    clip-path: inset(30% round 30%);
    z-index: 2;
    pointer-events: none;
  }

  #header nav ul li a {
    color: #e6e8e9;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    top: -3px;
  }

  #header nav ul li a {
    color: #edf0f3;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    position: relative;
    top: -3px;
  }

  .header-content h1 {
    color: #d5ac47 !important;
    text-align: center !important;
    padding: 0 0 !important;
    position: relative !important;
    font-size: large !important;
  }

  image-grid .cell {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    align-content: center;
  }

  td#PostContentsColumn {
    max-height: 250px !important;
    overflow: auto !important;
    height: 233px;
    display: table-caption;
    align-content: center;
    border: 0px !important;
  }

  td#PostContentsColumn::-webkit-scrollbar {
    display: none;
  }

  @media (max-width: 768px) {
    .hamburger {
      display: block;
      background: #080a25;
      color: white;
      width: unset;
      cursor: pointer;
    }
  }

  .header-content {
    height: -webkit-fill-available;
    position: relative;
    top: -26px;
    text-align: right;
  }

  #header nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: right;
    padding-bottom: 29px;
    background: #081b2e;
    height: 28px;
    position: relative;

  }

  #header nav ul li a {
    padding: 0;
    font-size: 18px;
  }

  div#mainmenuitems {
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    background: #333333;
    display: flex;
  }

  #header ul li:nth-last-child(2) {
    position: relative;
    left: 0px;
    float: right;
  }

  #header nav ul li:last-child {
    position: relative;
    left: 0px;
    float: right;
  }

  #header {
    background: #16262d;  
    background-size: 100% 90% !important;
    color: white !important;
    top: -0 !important;
    left: 0 !important;
    text-align: center !important;
    position: relative !important;
    display: inline-block;
  }

  .hidemenu {
    display: none;
  }

  .header-content h1 {
    font-size: 21px;
    margin: 0;
    position: relative;
    top: 55px;
    right: 22px;
    color: #fff;
    text-align: center;
    padding: 0 0;
  }

  .logo {
    text-align-last: left;
  }
}

section {
  animation: fadeIn 1.2s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.clouded-text {
  animation: floatText 4s ease-in-out infinite alternate;
}

@keyframes floatText {
  from {
    transform: translateY(0px);
  }

  to {
    transform: translateY(-10px);
  }
}

#header nav ul li a:hover {
  background-color: #e0e0e0;
  color: #000;
  box-shadow: 0 0 10px #d5ac47;
  transition: all 0.3s ease-in-out;
}

.capa {
  animation: slideUp 1s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}



@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(213, 172, 71, 0.4);
  }

  70% {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(213, 172, 71, 0.6);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(213, 172, 71, 0.4);
  }
}

#services .AD-item {
  animation: fadeInUp 1s ease-in-out forwards;
  opacity: 0;
}

#services .AD-item:nth-child(1) {
  animation-delay: 0.2s;
}

#services .AD-item:nth-child(2) {
  animation-delay: 0.4s;
}

#services .AD-item:nth-child(3) {
  animation-delay: 0.6s;
}

#services .AD-item:nth-child(4) {
  animation-delay: 0.8s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#services .AD-item:hover {
  transform: translateY(-8px) scale(1.05);
  background: linear-gradient(145deg, #83938b, #182931);
  color: #bfaeae !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease-in-out;
}

#services .AD-item {
  position: relative;
  overflow: hidden;
}

#services .AD-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
}

#services .AD-item:hover::after {
  animation: shine 1.2s forwards;
}

@keyframes shine {
  100% {
    left: 125%;
  }
}

#services {
  animation: zoomIn 1s ease-in-out;
}

@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

button {
  transition: all 0.3s ease;
}

button:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

button {
  position: relative;
  overflow: hidden;
}

button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease, opacity 0.8s;
  opacity: 0;
}

button:active::after {
  width: 200%;
  height: 200%;
  opacity: 1;
  transition: 0s;
}

button {
 
  color: rgb(20, 19, 19);
  border: none;
  cursor: pointer;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 6px;
  position: relative;
  transition: all 0.3s ease;
}

#q button {
  
  color: rgb(22, 22, 22);
  border: none;
  cursor: pointer;

  font-size: 14px;
  border-radius: 6px;
  position: relative;
  transition: all 0.3s ease;
}

button:hover {
  background-position: right center;
  transform: translateY(-3px);
}

button.attention {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(213, 172, 71, 0.6);
  }

  70% {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(213, 172, 71, 0.6);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(213, 172, 71, 0.6);
  }
}

.modal-content {
  background: #1c4457;
  padding: 20px;
  border-radius: 10px;
  width: 100% !important;
  display: flex;
  /* max-width: 600px; */
  text-align: right;
  border: 1px solid #a58c5f;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  transform: scale(0.8);
  opacity: 0;
  animation: modalFadeIn 0.5s ease-out forwards;
  flex-direction: column;
  align-content: space-around;
  justify-content: space-around;
  align-items: center;
  flex-wrap: nowrap;
}

/* تعريف حركة الظهور */
@keyframes modalFadeIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* تأثير عند المرور بالماوس */
.modal-content:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease-in-out;
}

.news-image {
  max-width: 100%;
  /* يمنع تجاوز حدود الصندوق */
  height: auto;
  /* يحافظ على تناسب الأبعاد */
  display: block;
  /* يحذف أي فراغ إضافي أسفل الصورة */
  border-radius: 5px;
  margin-bottom: 15px;
}

.news-text {
  font-size: 14px;
  /* حجم أصغر */
  line-height: 2;
  /* تباعد أسطر مناسب */
  color: #f0e6d2;
  /* لون فاتح للوضوح */
  margin: 0;
  /* إزالة المسافات الخارجية */
  padding: 0;
  /* إزالة المسافات الداخلية */
  text-align: justify;
  /* محاذاة النص بشكل متساوي */
  word-wrap: break-word;
  /* كسر الكلمات الطويلة لو خرجت عن الصندوق */
}

.news-title {
  font-size: 16px;
  /* حجم الخط */
  font-weight: bold;
  /* يحافظ على البروز */
  margin-bottom: 10px;
  color: #fff;
  /* يظل واضح على الخلفية الداكنة */
}

tr#PostDetails {
  overflow: auto;
  max-height: 419px;
  display: flex;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex-direction: row-reverse;
  flex-wrap: nowrap;
  align-content: stretch;
  justify-content: space-evenly;
  max-width: 400px;
}


tr#PostDetails::-webkit-scrollbar {
  display: none;
  /* للكروم والسفاري */
}

p>img {
  border: 10px solid transparent;
  border-image: linear-gradient(25deg, #d5ac47 30%, #d5ac47 30%, #690720 70%, #690720 70%) 1;
}

td#PostDetailsColumn>span>p>img {
  text-align: center;
}

.three-columns * {
  color: white !important;
}

section#demoboxes {
  box-shadow: none;
  background: transparent !important;
  width: -webkit-fill-available;
}

button#PostDetailsButton {
  text-align: center;
}

tr#PostFooterRow * {
  color: white !important;
}

.close-btn {
  position: fixed;
  top: 262px;
  width: 50px;
  left: 9px;
  background: #182931;
  color: #807979 !important;
  border: none;
  padding: 10px 15px;
  font-size: 14px;
  border-radius: 5px;
  cursor: pointer;
  z-index: 9999;
}

.close-btn:hover {
  background: #090909;
  color: white;
}

#PostTitleColumn {
  width: fit-content;
  max-width: 100%;
  word-wrap: break-word;
  text-align: center;
  padding: 10px;
}

#PostTitle span {
  display: inline-block;
  font-family: Arial, sans-serif;
  font-size: clamp(12pt, 2vw, 22pt);
  /* يتغير حسب عرض الشاشة */

}

/* === Table General Style === */
#TablePost {
  border-collapse: collapse;
  width: 100%;
  background: linear-gradient(135deg, #1f2a38, #2a3b50);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  animation: fadeIn 1s ease;
  color: #f1f1f1;
}

/* === Title Cell === */
#PostTitleColumn {
  padding: 12px;
  border: 1px solid #444;
}

#PostTitle {
  font-size: clamp(16pt, 2vw, 22pt);
  font-family: "Cairo", Arial, sans-serif;
  font-weight: bold;
  color: #00c3ff;
  text-align: center;
  margin: 0;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
  animation: slideDown 1s ease;
}

/* === Image Cell === */
#ImageTagColumn {
  padding: 20px;
  border: 1px solid #444;
  text-align: center;
}

#ImageTagColumn img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: zoomIn 1s ease;
}

#ImageTagColumn img:hover {
  transform: scale(1.05) rotate(-1deg);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

/* === Footer Cell === */
#PostFooterColumn {
  padding: 12px;
  border: 1px solid #444;
  text-align: right;
  font-size: 14px;
  color: #ddd;
  animation: fadeInUp 1s ease;
}

#PostFooterDate {
  margin-left: 15px;
  font-style: italic;
  color: #ccc;
}

/* === Button Styling === */
.details-button {
  background: linear-gradient(135deg, #FFC107, #080a25);
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  margin-right: 10px;
  font-size: 15px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.details-button:hover {
  background: linear-gradient(135deg, #9cada9, #080a25);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* === Animations === */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.forms-wrapper form h3,
.forms-wrapper form input,
.forms-wrapper form select {
  color: black;
}

textarea#fileNote {
  color: black;
}

.container form h3 {
  color: black;
}

div#imageupload {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

div#imageupload img {
  padding-top: 5px;
  padding-bottom: 5px;
  margin: 10px;
}

.message {
  color: black;
}

/* Container with 2 columns layout */
.container-flex {
  display: flex;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
  align-content: center;
  justify-content: center;
  flex-wrap: wrap;
}

/* Posts column (2/3 width) */
.posts-column {
  flex: 2;
}

/* Sidebar column (1/3 width, sticky) */
.sidebar-column {
  flex: 1;
  position: sticky;
  top: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Cards */
.card {
    margin-right: auto;
    margin-left: auto;
    background: rgb(211 211 211);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s 
ease, box-shadow 0.3s 
ease;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

h2.card-title {
  color: white !important;
}

.card img {
  width: 500px !important;
  height: auto;
  object-fit: cover;
  display: block;
  margin: 20px auto 15px;
  padding: 10px;
  border-radius: 12px;
  /* rounded corners */
  border: 3px solid #ddd;
  /* light border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  /* soft shadow */
  transition: all 0.4s ease;
  /* smooth animation */
  background-color: #fff;
  /* subtle frame */
}

/* On hover */
.card img:hover {
  transform: scale(1.05) rotate(1deg);
  /* zoom and slight tilt */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  /* deeper shadow */
  border-color: #0e353f;
  /* border turns blue on hover */
}

 

.card-body h2 {
 
  color: #1a4c7a;
}
 
.badge {
  display: inline-block;
  background: #1a4c7a;
  color: #fff !important;
  padding: 3px 8px;
  border-radius: 4px;
  margin-right: 5px;
  text-decoration: none;
  font-size: 10px;
  display:none;
  
}

/* Buttons */
.btn-readmore,
.btn.btn-primary {
    display: inline-block;
    background: #FFC107;
    padding: 0px 12px;
    border-radius: 5px;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-readmore:hover,
.btn.btn-primary:hover {
  background: #FFC107;
}

/* Card footer */
.card-footer {
     font-size: 12px;
    padding: 0px 15px
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 5px;
  list-style: none;
  padding: 0;
}

.pagination li a {
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
}

.pagination li a:hover {
  background: #1a4c7a;
  color: #fff;
}

.pagination .disabled a {
  pointer-events: none;
  opacity: 0.5;
}

/* Widgets inside sidebar */
.widget {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.widget-header {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #1a4c7a;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}

.widget-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget-body ul li {
  margin-bottom: 8px;
}

.widget-body ul li a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
  font-size: smaller;
}

.widget-body ul li a:hover {
  color: #1a4c7a;
}

/* Form elements */
.input-group {
  display: flex;
  gap: 5px;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.card-body p {
  text-align: justify;
}

.card-body p span {
  text-align: justify;
  color: black;
}

.form-control {
  flex: 1;
  padding: 6px 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.btn-go {
  padding: 6px 12px;
  background: #1a4c7a;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.btn-go:hover {
  background: #173b5c;
}

input.form-control {
  width: auto;
}

.widget-body {
  display: flex;
  justify-content: center;
  align-content: center;
}

.card-body p {
    position: relative;
    color: #182931 !important;
    padding: 0px !important;
    margin: 0px !important;
    line-height: 19px;
    font-size: 12px !important;
}

a.btn-readmore {
    margin-top:10px;
  color: #0c0b0b  !important;
  direction: ltr;
}
.about-container p,.animated-text {
    font-size: 14px !important;
}
div#posts-container .card-body {
background: #aca29c00;
    color: black;
    min-width: 100%;
    padding-bottom: 2px;
    box-shadow: 0 2px 0px 0px rgb(173 40 40);
}



.clouded-text {
  animation: floatText 4s ease-in-out infinite alternate;
}

@keyframes floatText {
  from {
    transform: translateY(0px);
  }

  to {
    transform: translateY(-10px);
  }
}

.clouded-text_title {
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.clouded-text {
  font-size: 36px;
  color: #fcfcfc;
  display: inline-block;
}

.clouded-text {
  font-size: 36px;
  color: #100707;
  display: inline-block;
}

.header-content {
  text-align: center;
  overflow: hidden;
}

.clouded-text {
  font-size: 3em;
  font-weight: bold;
  color: white;
  display: inline-block;
  /* البداية عند وسط الصفحة */
  transform: translateY(200);
}

.header-content {
  text-align: right;
  /* لمحاذاة النص إلى اليمين */
  overflow: hidden;
}

.clouded-text {
  font-size: 3em;
  font-weight: bold;
  color: white;
  display: inline-block;
  transform: translateY(0);
}

/* 🔺 المثلث الأحمر في الزاوية العليا اليسرى */
#construction-corner {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-top: 80px solid #c62828;
  /* لون المثلث */
  border-right: 80px solid transparent;
  z-index: 99 ;

  transition: all 0.4s ease;
}

/* 🩶 النص داخل المثلث */
#construction-corner::after {
  content: "تحت الإنشاء";
  position: absolute;
  top: -65px;
  left: -6px;
  transform: rotate(-45deg);
  color: white;
  font-size: 15px;
  text-align: center;
  font-weight: bold;
  font-family: 'Cairo', sans-serif !important;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}

.ribbon-corner {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-top: 80px solid #d00;
  /* لون الركن */
  border-right: 80px solid transparent;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  /* ✅ ظل المثلث فقط */
  z-index: 1000;
}

.ribbon-corner::after {
  content: "تحت الإنشاء";
  position: absolute;
  top: -55px;
  left: -5px;
  transform: rotate(-45deg);
  color: white;
  font-size: 12px;
  font-weight: bold;
  font-family: 'Cairo', sans-serif;
  white-space: nowrap;
}

/* ✨ تأثير تظليل ووميض خفيف */
@keyframes corner-glow {

  0%,
  100% {
    filter: brightness(1);

  }

  50% {
    filter: brightness(1.3);

  }
}

#construction-corner {
  animation: corner-glow 3s infinite ease-in-out;
}

.demo {
  display: none;
}

.menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .hamburger {
    display: none;
  }

  #navMenu {
    display: none !important;
  }

  .demo {
    display: block !important;
  }

  .menu-toggle {
    display: block !important;
  }
}

@media (max-width: 768px) {
  #header nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: right;
    padding-bottom: 29px;
    background: #303030 !important;
    height: fit-content;
    position: relative;
    line-height: 39px;
  }
}

/* Hide submenus initially */
#navMenu .submenu,
#navMenu .submenu1,
#respMenu .submenu,
#respMenu .submenu1 {
  display: none;
}

 

@media (max-width: 768px) {
  .submenu {
    background: #333333 !important;
    color: white;
  }

  #header nav ul li a:hover {

    display: block;
    padding: 8px 20px !important;
    color: white !important;
    text-decoration: none;
    width: 100%;
    font-size: 16px;
    margin: -3px;
    top: 0px;
    background: #303030;
  }

  #header nav ul li a {

    display: block;
    padding: 8px 20px !important;
    color: #f0eaea !important;
    text-decoration: none;
    width: 100%;
    font-size: 16px;
    margin: -3px;
    top: 0px;
    background: #303030;
  }


  section.slide {
    position: relative;
    float: right;
    display: block;
    width: 100%;
    height: var(--height-slider);
    overflow-y: auto;
    overflow-x: hidden !important;
    background: #90a29e !important;
  }

  .sidebar-column {
    flex: 1;
    position: sticky;
    top: 20px;
    display: none;
    flex-direction: column;
    gap: 20px;
  }

 
  section#News {
    width: 94% !important;
    zoom: .90 !important;
  }
}

/* Slider Container */
.slider-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Slides */
.slider-wrapper {
  display: flex;
  transition: transform 0.8s ease-in-out;
  width: 100%;
}

.slider-item {
  min-width: 100%;
  position: relative;
}

.slider-item img {
  width: 100%;
  display: block;
  border-radius: 10px;
}

/* Caption */
.slider-item .capa {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 16px;
}

/* Navigation Buttons */
.slider-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.slider-nav button {
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 18px;
}

*,
::after,
::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none;
  color: #040404;
  outline: none;
}


@-moz-document url-prefix() {
  body {
    direction: rtl;
    font-family: "Cairo", sans-serif;
    background: #f9f9f9;
    width: 100% !important;
  }

  body {
    width: 500px !important;
    height: auto;
    object-fit: cover;
    display: block;
    margin: 20px auto 15px;
    padding: 10px;
    border-radius: 12px;
    border: 3px solid #ddd;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    background-color: #fff;
  }

  .bodycontent {
    position: relative;
    z-index: 2;
    color: white;
    padding: 0;
    align-content: flex-start;
    width: -webkit-fill-available;
    background: #fffafa8c;
    width: 100% !important;
  }

  div#headerContainer {
    width: -webkit-fill-available;
    position: sticky;
    top: 0;
    z-index: 99999;
 
    display: ruby;
  }

  #header {
    background-position: center;
    width: -webkit-fill-available !important;
    height: 135px !important;
    background: url(../images/backimageheader.png) no-repeat center center;
    background-size: auto;
    background-size: 100% 90% !important;
    color: white !important;
    top: -0 !important;
    left: 0 !important;
    text-align: center !important;
    position: relative !important;
    display: inline-block;
    z-index: 999;
    box-shadow: inset 0px 0px 0px 10px #cedbd7;
    display: flex;
    width: 100% !important;
  }

  div#startingpage {
    display: ruby;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    width: -webkit-fill-available !important;
    width: 100% !important;
  }

  .container {
    max-width: 1100px;
    margin: 40px auto;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 0 10px #ccc;
    display: flex;
    width: 100% !important;
  }
}

.tabs-header {
  list-style: none;
  display: flex;
  gap: 10px;
  padding: 0;
  margin-bottom: 5px;
  overflow-x: auto;
  font-size: 12px;
}

 

.tabs-container {
    width: 100%;
    max-height: 100%;
    min-height: 90%;
    overflow: auto;
    overflow-y: auto;
    height: 100% !important;
}

#pageOverlay {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#pageOverlay::-webkit-scrollbar {
  display: none;
}

.tabs-container {
  overflow-y: auto;
  /* allow vertical scroll */
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* Internet Explorer/Edge */
}

.tabs-container::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

/* Optional for smooth scrolling */
.tabs-container {
  scroll-behavior: smooth;
}

.materials-container * {

  border-color: black !important;
}

.materials-container {
    /* margin: 60px auto; */
    padding: 30px;
    background: linear-gradient(135deg, #cedbd7, #cedbd7);
    border-radius: 18px;
    box-shadow: 4px 4px 28px 3px rgba(0, 0, 0, 0.5);
    direction: rtl;
    text-align: right;
    font-family: "Cairo", Tahoma, sans-serif;
    overflow: scroll;
    max-height: 90% !important;
    height: 900px;
}

.materials-container * {
  font-size: 14px !important;
  margin: 0px !important;
  padding: 0px !important;
  text-decoration: none;
}

.materials-container h1 {
  font-size: 18px !important;
}

.materials-container h1::after {
  content: "";
  display: block;
  height: 4px;
  background: transparent !important;
  width: 50px;
  margin: 10px auto 0;
  border-radius: 2px;
  animation: growLine 1s ease forwards;
}

.materials-container th {
  font-size: 16px;
  color: rgb(12, 12, 12);

}

.materials-container tbody td * {
  font-size: 16px;
  color: rgb(15, 15, 15);
  background: white !important;
}
.pageContent:before {
    content: ""; /* required for pseudo-elements */
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;   /* fill the container */
    height: 100%;  /* fill the container */
    z-index: -1;   /* behind the content */
    margin: 0;
    padding: 0;
    background: url(../images/lib.jpg) no-repeat center center fixed;
    background-size: cover;
    opacity: 0.2;
    border: 1px solid black;
    border-radius: 10px;
}
 


/* Hide scrollbar in Chrome, Edge, Safari */
.tabs-body .tab-content.active::-webkit-scrollbar {
    width: 0px;
    background: transparent; /* optional: hide track */
}

.toc-container {
  font-family: "Cairo", Tahoma, sans-serif;
  direction: rtl;
  text-align: right;
  padding: 20px;
  background: #fdfdfd;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  max-height: 420px;
 
}
.card h3 {
    color: #00d084;
    font-size: 22px;
    margin-bottom: 10px;
    text-align: right;
    position: relative;
    margin-left: auto;
}
 

.tabs-header {
  list-style: none;
  display: flex;
  gap: 10px;
  padding: 0;
  margin-bottom: 10px;
  overflow-x: auto;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  align-content: center;
  justify-content: flex-end;
  align-items: center;
}

/* ---------- Window (Windows-like) ---------- */
.win-window {
  position: absolute;
  width: 820px;
  height: 520px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  direction: rtl;
  /* because your page is RTL */
  user-select: none;
  resize: none;
  /* we implement custom resize */
}

/* title bar */
.win-titlebar {
  height: 40px;
  background: linear-gradient(#f3f3f3, #e9e9e9);
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 8px;
  border-bottom: 1px solid #ddd;
  cursor: grab;
}

.win-title {
  flex: 1;
  font-weight: 600;
  font-size: 14px;
  padding: 0 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.win-controls {
  display: flex;
  gap: 6px;
  align-items: center;
}

/* control buttons: minimize, maximize, close */
.win-btn {
  width: 34px;
  height: 28px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: transparent;
}

.win-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}

.win-btn-close {
  color: #fff;
  background: #ff4d4d;
}

.win-btn-max {
  color: #333;
}

.win-btn-min {
  color: #333;
}

/* content area */
.win-content {
  flex: 1;
  overflow: auto;
  padding: 12px;
  background: #fff;
}

/* resize handle bottom-right */
.win-resize {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 16px;
  height: 16px;
  cursor: se-resize;
  opacity: 0.6;
  z-index: 10;
}

/* taskbar inside overlay */
.win-taskbar {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  gap: 8px;
  z-index: 20000;
}

.win-taskbar .task-btn {
  background: #f3f3f3;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 13px;
  cursor: pointer;
  border: 1px solid #ddd;
}

.win-focused {
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}

.logo {
  position: absolute;
  z-index: 999999999;
  left: 0;
  top: -3px;
  width: 120px;
  height: 120px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.toc-container {
  font-family: "Cairo", Tahoma, sans-serif;
  direction: rtl;
  text-align: right;
  padding: 20px;
  background: #fdfdfd;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
 
}

.toc-container h2 {
  font-size: 22px;
  color: #182931;
  margin-bottom: 15px;
  text-align: center;
}

.toc-list {
  list-style: decimal;
  padding-right: 20px;
}

.toc-list li {
  font-size: 16px;
  margin-bottom: 10px;
  line-height: 1.5;
  color: #22354a;
}

.headerContainer {
  display: flex;
  align-items: center;
  position: relative;
  top: 12px;
  left: 0;
  gap: 20px;
  /* spacing between logo and name */
}

.logo {
  width: 100px;
  height: 100px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.headerContainer {
  display: flex;
  /* Arrange children in a row */
  align-items: center;
  /* Vertically center logo and text */
  gap: 20px;
  /* Space between logo and name */
  position: relative;
  z-index: 99999;
  background: #ffffff !important;
  border: 1px solid #5f716f;
  padding: 10px 20px;
}

.logo img {
  height: 80px;
  /* Adjust to your needs */
  width: auto;
  display: block;
}

.headerName h3.cloudedHeader-text {
  font-size: 22px !important;
  margin: 0;
  color: black;
}
ul.submenu.level2 li {
    right: 202px;
    top: -40px;
}
.headerContainerlogo {
  position: absolute;
  top: 0;
  left: 0;
}

.headerName {
  position: absolute;
  top: 31px;
  left: 182px;
  width: max-content;
}
nav ul li:not(.submenu) {
    position: relative;
    display: inline-grid
;
    top: -7px;
    justify-content: center;
    justify-items: stretch;
    align-content: center;
    align-items: center;
    width: auto;
    font-size: small;
}
#header nav ul.submenu, #header nav ul.submenu1 {
    background: transparent;
    padding: 0;
    position: absolute;
    list-style: none;
    top: 33px;
    right: 0px !important;
}
#header nav ul.submenu li a {
    display: block;
    padding: 8px 20px !important;
    color: #0a0a0a !important;
    text-decoration: none;
    width: 200px !important;
    margin: -3px;
    font-size: 10px !important;
    top: 13px;
    background: #9eaba6;
    border-radius: 0px !important;
}
/* Reset & basic styling */
#header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#header nav li {
    position: relative;
    margin: 4px 0;
}

#header nav .menu-link {
    text-decoration: none;
    padding: 5px 10px;
    display: inline-block;
    color: #333;
    border-radius: 4px;
}

#header nav .menu-link:hover {
    background: #eee;
}

/* Submenu styling */
#header nav .submenu {
    display: none; /* hidden by default */
    padding-left: 15px; /* indent each level */
    margin-top: 3px;
}

#header nav li.has-submenu > .menu-link::after {
    content: '⮜'; /* arrow for submenu */
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.2s;
        float: inline-start;
}

/* Rotate arrow when submenu is open */
#mainNav li.has-submenu.open > .menu-link::after {
    transform: rotate(90deg);
}
.container {
    width: auto;
    direction: rtl;
}
.material-link {
    position: relative;
    display: inline-block;
    color: #007bff;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    font-weight: 500;
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.material-link:hover {
    color: #0056b3;
    transform: scale(1.03);
    text-shadow: 0 0 6px rgba(0, 123, 255, 0.4);
}

/* 🌊 تأثير الموجة */
.material-link::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 5px;
    height: 5px;
    background: rgba(0, 123, 255, 0.3);
    border-radius: 50%;
    transform: scale(0);
    opacity: 0;
    transition: transform 0.5s ease-out, opacity 0.8s ease-out;
}

.material-link.ripple::after {
    transform: scale(20);
    opacity: 0;
}
button#createLinkBtn {
    display: flex;
    width: auto;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    left: 74px !important;
    position: absolute;
    top: 5px;
}
button#createimage {
    display: flex;
    width: auto;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    left: 180px !important;
    position: absolute;
    top: 5px;
}
img.specialimage {
    width: 150px;
    height: auto;
    padding: 10px !important;
    margin: 10px !important;
    border-radius: 10px;
    border: 1px solid black;
}
.custom-editor-toolbar button {
    width: 50px;
}
.custom-editor-toolbar {
    margin-bottom: 5px;
    display: flex
;
    flex-wrap: wrap;
    gap: 5px;
    width: 96%;
    position: absolute;
    z-index: 999;
    background: #cedbd7;
    box-shadow: 4px 4px 28px 3px rgba(0, 0, 0, 0.5);
    padding: 10px;
}
.custom-editor-toolbar button {
    width: 45px !important;
    height: 40px;
    font-size: 12px;
    background: #c0ccc9;
    border: 1px solid #c7bbbb;
}
table.editor-table td {
    margin: 10px !important;
    padding-right: 21px !important;
    font-size: 12px;
}
div#cellContextMenu {
    font-size: 12px;
}
div[id^="editor_"] {
    min-height: 516px !important;
    border: 1px solid rgb(204, 204, 204);
    padding: 10px;
    background: white;
    direction: rtl;
    overflow: auto;
    flex: 1;
    padding-top: 160px;
    min-height: 0;
    border: 1px solid #ccc;
    padding: 10px;
 
    direction: rtl;
    overflow: auto;
    border-radius: 4px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    
    padding-top: 160px !important;
}
.tabs-body .tab-content.active {
    display: flex !important;
    flex-direction: column;
    height: 95%;
    display: block !important;
    direction: rtl;
    text-align: right;
    min-width: 90%;
    border-radius: 12px;
    min-height: 520px !important;
    max-height: 520px !important;
    overflow-y: scroll; /* still scrollable */

    /* Hide scrollbar in Firefox */
    scrollbar-width: thin; /* or none */
    scrollbar-color: transparent transparent; /* track and thumb transparent */
   
}
button#filemanager {
    display: flex;
    width: auto;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    left: 315px !important;
    position: absolute;
    top: 5px;
}
div#fileManagerModal {
    display: flex;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 9999999999 !important;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* z-index: 9999; */
    justify-content: center;
    align-items: center;
}
#fileList table.file-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  font-size: 12px;
}

#fileList th {
  background: #f5f5f5;
  color: #333;
}

#fileList td, #fileList th {
  border-bottom: 1px solid #ddd;
  padding: 6px;
}

#fileList tr:hover {
  background: #f9f9f9;
}

#fileList button {
  margin: 0 2px;
  cursor: pointer;
  border: none;
  background: #eee;
  padding: 3px 5px;
  border-radius: 4px;
  font-size: 12px;
}

#fileList button:hover {
  background: #ddd;
}
#filebuttons {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  align-items: center;
  justify-content: flex-start;
}

#filebuttons button,
#filebuttons .styled-button {
  background: linear-gradient(180deg, #f8f8f8 0%, #e5e5e5 100%);
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 13px;
  font-family: "Segoe UI", sans-serif;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  color: #333;
  display: flex;
  align-items: center;
  gap: 6px;
}

#filebuttons button:hover,
#filebuttons .styled-button:hover {
  background: linear-gradient(180deg, #f0f0f0 0%, #dcdcdc 100%);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

#filebuttons button:active,
#filebuttons .styled-button:active {
  background: #ccc;
  transform: translateY(1px);
}

/* ألوان خاصة لكل زر */
#filebuttons button:first-child {
background: linear-gradient(180deg, #d7e9ff 0%, #d7e9ff 100%);
    color: black !important;
}
#filebuttons .styled-button {
 background: linear-gradient(180deg, #d7e9ff 0%, #d7e9ff 100%);
    color: black !important;
}
#filebuttons button:last-child {
 background: linear-gradient(180deg, #d7e9ff 0%, #d7e9ff 100%);
    color: black !important;
}

div#filebuttons {
    text-align: end;
}
.content.text-center.info-block {
    font-size: small;
}
select.folderSelect {
    font-size: 11px !important;
    height: 40px;
    width: 100%;
    margin: 0;
}
select.folderSelect > option {
    font-size: 11px !important;
    margin: 0;
}
div[id^="editor_"] div {
    padding: 10px;
}

.folder-tree {
  list-style: none;
  padding-right: 20px;
}
.folder {
  cursor: pointer;
  color: #0074d9;
  font-weight: bold;
}
.file-actions button {
  margin-right: 5px;
  cursor: pointer;
}
.loading {
  color: #777;
}
.slide {
        position: relative;
        overflow: hidden;
        width: 100%;
        height: 450px;
    }

    .slider-container {
        position: relative;
        height: 100%;
    }

    .slider-wrapper {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .slider-wrapper li {
        position: absolute;
        width: 100%;
        height: 100%;
        display: none;
        top: 0;
        left: 0;
    }

    .fit-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .capa {
        position: absolute;
        bottom: 20px;
        left: 20px;
        background: rgba(0, 0, 0, 0.5);
        color: #fff;
        padding: 10px 20px;
        border-radius: 10px;
        font-family: "Cairo", sans-serif;
        font-size: 16px;
    }

    .capa a {
        color: #fff;
        text-decoration: none;
    }

    .slider-controls {
        position: absolute;
        bottom: 15px;
        right: 15px;
        display: flex;
        gap: 8px;
    }

    .slider-controls li {
        width: 12px;
        height: 12px;
        background: #fff;
        border-radius: 50%;
        opacity: 0.5;
        cursor: pointer;
        transition: opacity 0.3s;
    }

    .slider-controls li.active {
        opacity: 1;
    }

    .tempo-bar {
        position: absolute;
        bottom: 0;
        left: 0;
        height: 4px;
        width: 0;
        background: #00adee;
        animation: progress 6s linear infinite;
    }

    @keyframes progress {
        from {
            width: 0%;
        }

        to {
            width: 100%;
        }
    }

    /* Create a pseudo-element that shows the alt text */
    section.slide .slider-container .slider-wrapper li .capa {
        top: 346px;
        left: 50%;
        /* padding: 10px; */
        transform: translate(-50%, -50%);
        width: max-content;
        max-width: 581px;
        z-index: 92;
        height: fit-content;
        display: flex;
        position: absolute;
        background: rgba(0, 0, 0, 0.82);
        color: white !important;
        font-size: 20px !important;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
        text-align: center;
        display: flex;
        gap: 8px;
        align-content: center;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        flex-direction: row;
    }

    .slider-controls {
        position: absolute;
        bottom: 15px;
        right: 15px;
        display: flex;
        gap: 8px;
        align-content: center;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        flex-direction: row;
    }

    section {
        animation: fadeIn 1.2s ease-in-out;
    }

    section {
        margin: 20px;
        padding: 20px;
        background: #ffffff1f !important;
    }

    section {
        padding: 40px !important;
        text-align: center;
        box-shadow: 1px 1px 7px 3px #06060659;
    }

    @-moz-document url-prefix() {
        body {
            direction: rtl;
            font-family: "Cairo", sans-serif;
            background: #f9f9f9;
            width: 100% !important;
        }

        body {
            margin: 0;
            padding: 0;
            background: url('../images/lib.jpg') no-repeat center center fixed;
            background-size: cover;
            position: relative;
            width: 100% !important;
            display: ruby;
        }

        .bodycontent {
            position: relative;
            z-index: 2;
            color: white;
            padding: 0;
            align-content: flex-start;
            width: -webkit-fill-available;
            background: #fffafa8c;
            width: 100% !important;
        }

        div#headerContainer {
            width: -webkit-fill-available;
            position: sticky;
            top: 0;
            z-index: 99999;

            display: ruby;
        }

        #header {
            background-position: center;
            width: -webkit-fill-available !important;
            height: 135px !important;
            background: url(../images/backimageheader.png) no-repeat center center;
            background-size: auto;
            background-size: 100% 90% !important;
            color: white !important;
            top: -0 !important;
            left: 0 !important;
            text-align: center !important;
            position: relative !important;
            display: inline-block;
            z-index: 999;
            box-shadow: inset 0px 0px 0px 10px #cedbd7;
            display: flex;
            width: 100% !important;
        }

        div#startingpage {
            display: ruby;
            flex-direction: column;
            flex-wrap: wrap;
            align-content: center;
            justify-content: center;
            align-items: center;
            width: -webkit-fill-available !important;
            width: 100% !important;
        }

        .container {
            max-width: 1100px;
            margin: 40px auto;
            background: #fff;
            padding: 25px;
            border-radius: 12px;
            box-shadow: 0 0 10px #ccc;
            display: flex;
            width: 100% !important;
        }
    }
 .slide {
        position: relative;
        overflow: hidden;
        width: 100%;
        height: 450px;
    }

    .slider-container {
        position: relative;
        height: 100%;
    }

    .slider-wrapper {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .slider-wrapper li {
        position: absolute;
        width: 100%;
        height: 100%;
        display: none;
        top: 0;
        left: 0;
    }

    .fit-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .capa {
        position: absolute;
        bottom: 20px;
        left: 20px;
        background: rgba(0, 0, 0, 0.5);
        color: #fff;
        padding: 10px 20px;
        border-radius: 10px;
        font-family: "Cairo", sans-serif;
        font-size: 16px;
    }

    .capa a {
        color: #fff;
        text-decoration: none;
    }

    .slider-controls {
        position: absolute;
        bottom: 15px;
        right: 15px;
        display: flex;
        gap: 8px;
    }

    .slider-controls li {
        width: 12px;
        height: 12px;
        background: #fff;
        border-radius: 50%;
        opacity: 0.5;
        cursor: pointer;
        transition: opacity 0.3s;
    }

    .slider-controls li.active {
        opacity: 1;
    }

    .tempo-bar {
        position: absolute;
        bottom: 0;
        left: 0;
        height: 4px;
        width: 0;
        background: #00adee;
        animation: progress 6s linear infinite;
    }

    @keyframes progress {
        from {
            width: 0%;
        }

        to {
            width: 100%;
        }
    }

    /* Create a pseudo-element that shows the alt text */
    section.slide .slider-container .slider-wrapper li .capa {
        top: 346px;
        left: 50%;
        /* padding: 10px; */
        transform: translate(-50%, -50%);
        width: max-content;
        max-width: 581px;
        z-index: 92;
        height: fit-content;
        display: flex;
        position: absolute;
        background: rgba(0, 0, 0, 0.82);
        color: white !important;
        font-size: 20px !important;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
        text-align: center;
        display: flex;
        gap: 8px;
        align-content: center;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        flex-direction: row;
    }

    .slider-controls {
        position: absolute;
        bottom: 15px;
        right: 15px;
        display: flex;
        gap: 8px;
        align-content: center;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        flex-direction: row;
    }

    section {
        animation: fadeIn 1.2s ease-in-out;
    }

    section {
        margin: 20px;
        padding: 20px;
        background: #ffffff1f !important;
    }

    section {
        padding: 40px !important;
        text-align: center;
        box-shadow: 1px 1px 7px 3px #06060659;
    }

    @-moz-document url-prefix() {
        body {
            direction: rtl;
            font-family: "Cairo", sans-serif;
            background: #f9f9f9;
            width: 100% !important;
        }

        body {
            margin: 0;
            padding: 0;
            background: url('../images/lib.jpg') no-repeat center center fixed;
            background-size: cover;
            position: relative;
            width: 100% !important;
            display: ruby;
        }

        .bodycontent {
            position: relative;
            z-index: 2;
            color: white;
            padding: 0;
            align-content: flex-start;
            width: -webkit-fill-available;
            background: #fffafa8c;
            width: 100% !important;
        }

        div#headerContainer {
            width: -webkit-fill-available;
            position: sticky;
            top: 0;
            z-index: 99999;
 
            display: ruby;
        }

 

        div#startingpage {
            display: ruby;
            flex-direction: column;
            flex-wrap: wrap;
            align-content: center;
            justify-content: center;
            align-items: center;
            width: -webkit-fill-available !important;
            width: 100% !important;
        }

        .container {
            max-width: 1100px;
            margin: 40px auto;
            background: #fff;
            padding: 25px;
            border-radius: 12px;
            box-shadow: 0 0 10px #ccc;
            display: flex;
            width: 100% !important;
        }
    }

.about-container {
    padding: 30px;
    border-radius: 18px;
    direction: rtl;
    text-align: right;
    font-family: "Cairo", Tahoma, sans-serif;
    height: 450px;
}
 
div#pageOverlay {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hide scrollbar for pageContent */
#pagecontent {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
}
#pagecontent::-webkit-scrollbar {
  width: 0px;  /* Chrome, Safari, Opera */
  background: transparent;
}
div#menuTree .buttons {
    float: left;
}
div#menuTree button {
    font-size: 11px;
    width: auto;
    margin-left: auto;
    margin-right: auto;
}
.about-container {
        padding: 30px;
        border-radius: 18px;
        direction: rtl;
        text-align: right;
        font-family: "Cairo", Tahoma, sans-serif;
        height: 450px;
    }

div#pagecontent {
    z-index: 9999;
    padding: 20px;
    max-width: 90%;
    min-width: 90%;
    border-radius: 10px;
    position: relative;
    display: block;
    z-index: 9999;
    background: rgba(206, 219, 215, 0.8);
    padding: 20px;
    max-width: 90%;
    border-radius: 10px;
    box-shadow: inset rgba(0, 0, 0, 0.3) -19px 20px 20px;
    overflow: hidden;
}
#pagecontent::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: none;

}
    div#pageOverlay {
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        z-index: 9998;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    
    /* Hide scrollbar for pageContent */
    #pagecontent {
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE and Edge */
    }

    #pagecontent::-webkit-scrollbar {
        width: 0px;
        /* Chrome, Safari, Opera */
        background: transparent;
    }

    div#menuTree .buttons {
        float: left;
    }
 
    div#menuTree button {
        font-size: 11px;
        width: auto;
        margin-left: auto;
        margin-right: auto;
    }
    
    @media (max-width: 768px) {
        h2.card-title {
            font-size: 22px !important;
        }
        div#posts-container .card-body {
            background: lightgrey;
            color: black;
            min-width: 100%;
            padding-bottom: 2px;
            box-shadow: 0 2px 0px 0px rgb(173 40 40);
        }
.badge {
    display: inline-block;
    background: #1a4c7a;
    color: #fff !important;
    padding: 3px 8px;
    border-radius: 4px;
    margin-right: 5px;
    text-decoration: none;
    font-size: 10px;
    display: none;
}
.card-body p {
    position: relative;
    color: #182931 !important;
    padding: 12px !important;
    margin: 8px !important;
    line-height: 50px;
    font-weight: bold;
    font-size: 16px !important;
}
.full-post-content {
    font-size: 12px;
    background: #ffffff;
    padding-right: 5px;
    padding-left: 5px;
    font-weight: bold;
    font: -webkit-mini-control;
    font-variant-east-asian: full-width;
}
 p.short-preview {
    font-size: 14px !important;
    line-height: 30px;
    font-weight: bold;
    font-size: 12px;
    background: #d3d3d3;
    padding-right: 5px !important;
    color: black !important;
    padding-left: 5px !important;
    /* box-shadow: 0px -1px 20px 20px rgb(131 143 137); */
    border-radius: 10px;
    font: -webkit-mini-control;
    font-variant-east-asian: full-width;
}
}
.card-box .checkbox {
    padding-right: 30px;
}
.card-box {
    display: flex;
    padding: 20px;
    border: 2px solid #f3f3f3;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    background-clip: padding-box;
    margin-bottom: 20px;
    background-color: #ffffff;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-end;
}
 
.card-body h2 {
    color: #000000 !important;
    font-size: 16px !important;
    padding-bottom: 30px;
}
.full-post-content {
    font-size: 12px;
    background: #ffffff;
    padding-right: 5px;
    padding-left: 5px;
    font-weight: bold;
    font: -webkit-mini-control;
    font-variant-east-asian: full-width;
}
 div#posts-container .card-body {
    background: lightgrey;
    color: black;
    min-width: 100%;
    padding-bottom: 2px;
    box-shadow: 0 2px 0px 0px rgb(173 40 40);
}
p.short-preview {
    font-size: 14px !important;
    line-height: 30px;
    font-weight: bold;
    font-size: 12px;
    background: #d3d3d3;
    padding-right: 5px !important;
    color: black !important;
    padding-left: 5px !important;
    /* box-shadow: 0px -1px 20px 20px rgb(131 143 137); */
    border-radius: 10px;
    font: -webkit-mini-control;
    font-variant-east-asian: full-width;
}
#header {
    background-position: center;
    width: -webkit-fill-available !important;
    height: 135px !important;
    background: url(../images/backimageheader.png) no-repeat center center;
    background-size: 100% 90% !important;
    color: white !important;
    top: -0 !important;
    left: 0 !important;
    text-align: center !important;
    position: relative !important;
    display: inline-block;
    z-index: 999;
    box-shadow: inset 0px 0px 0px 10px #8e9d99;
  
}
.tabs-header li.active {
    background: #2e4661;
    color: white !important;
}
 
div#pagecontent * {
    color: black ;
}
.tabs-header li.active {
    background: #FFC107 !important;
}
li[data-title].active {
    color: black !important;
}
li[data-title]:before {
    color: white !important;
}
.tabs-header li {
    background: #101010b3;
    color: aqua !important;
    padding: 6px 15px;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
}
.faculty-container {
    margin: 0px !important;
    padding: 6px !important;
    border-radius: 18px;
    box-shadow: 4px 4px 28px 3px rgba(0, 0, 0, 0.5);
    direction: rtl;
    text-align: right;
    font-family: "Cairo", Tahoma, sans-serif;
    color: #f3f1f1;
    overflow: auto !important;
}
#closeall button {
    background: rgb(255, 77, 77) !important;
    color: #f01414 !important;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
    height: 121%;
    display: contents;
    left: 6px;
    top: 0;
    position: absolute;
}
div#closeall {
    position: absolute;
    top: 0px;
    color: white !important;
    left: 0px;
    bottom: 10px;
    z-index: 10000;
    width: 20px;
    height: 20px;
    padding-top: 5px !important;
}
.tabs-body .tab-content.active p {
    color: black !important;
}
.tabs-body .tab-content.active h1 {
    color: black !important;
}
div[id^="editor_"] div {
    display: flex;
    flex-direction: column;
}
div[id^="editor_"] div tr:first-child td {
    background: #e4f1ed !important;
}
table.MsoNormalTable {
    direction: ltr;
}
table.MsoTableGrid {
    text-align: center;
    width: 513pt !important;
    /* margin-left: -44.1pt; */
    display: table;
    border-collapse: collapse;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    max-width: 90%;
}

div[id^="editor_"] .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
img#img1 {
    text-align: justify;
    float: right;
    margin: 0 10px 5px 10px;
    width: 150px;
    height: 150px;
}
div#column1 {
    display: flow;
    text-align: justify;
}
.tabs-body {
    background: aliceblue;
    border-radius: 15px;
    padding: 10px;
}
.tab-content.active p {
    text-align: justify;
}