

.body{
  overflow-x: hidden;
  margin: 0;
  padding-top: 60px;
  line-height: 4.5;
  
  font-family: Arial, sans-serif;

}
.background-image{
  /* background-image: url('/media/images/background12.png');  */
  /* background-image: url('/media-root/backgrounds/21474467_Abstract_Gaming_Light_Background.jpg');  */
    /* background-image: url('/media/images/background12.png'); */

    /* background-image: url('/static/images/background.jpg'); */
    background-image: url('/media/site_images/background.jpg');

    /* background-image: url("{% static 'images/background.jpg' %}");   */

    /* background-image: url("{{ settings.background_image.url }}"); */
    /* background-image: url("{% static 'background/21474467_Abstract_Gaming_Light_Background.jpg' %}"); */
    
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
		background-attachment: fixed;
		position: relative;
		overflow: hidden;
		min-width: 100%;
		margin: 0;
    min-height: 142vh;
		height: auto;
		border-radius: 0;
    /*
   background: transparent url(/media/images/background12.png) ;
   background-blend-mode: multiply;
    background-color: rgba(255, 255, 255, 0.1);
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom:10%;
    
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    min-height: 165vh;

    */
   
}
.background-image:after {
    
    display: block;
    height: 80px; /* the height of the footer */
  }
  
  #fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #f8f8f8;
    padding:  0;
    
    z-index: 1000; /* قيمة عالية لضمان ظهور الهيدر فوق جميع العناصر الأخرى */
  }
  .pb-3 {
    padding-bottom: .5rem !important;
    background-color:#2E4281 !important;
}
   
.pt-5 {
    padding-top: 0rem !important;


}

.fontkazmoztitle{
    font-size: 38px;
    font-weight: 700;
    color: #2f4280;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    margin-top: 73px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 3px;
    line-height: 1.2;
    text-transform: uppercase;
    padding-top: 0px;
    
  background-color: #f0f0f0;
}
.fontkazmoztitle2{
  font-size: 38px;
  font-weight: 700;
  color: #2f4280;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 3px;
  line-height: 1.2;
  text-transform: uppercase;
  padding-top: 0px;
  
background-color: #f0f0f0;
}

 /*  
.logomain { 
    margin-top: -1%;
    max-width: 135px;
    margin-right: 10px;
    
    height: auto;
    object-fit: contain;
  }
  */


   .containercard {
    display: flex;
    height: 450px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 12px;
    margin: 30px 10px;
    margin-top: 1px;
    margin-bottom: 0px;

    background-image: linear-gradient(45deg, #2f4280, #2f4280);
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    opacity: 85%;
    
  }

  .containercard:after {
    
    display: block;
    height: 500px; /* the height of the footer */
    display: flex;
    opacity: 60%;
  }
  .containercard:before {
    
    display: block;
    height: 500px; /* the height of the footer */
    display: flex;
    opacity: 60%;
  }
  
  
  
  .containercard .card1 {
    width: 308px;
    display: flex;
    height: 100%;
    background: #f0f0f0;
   /* margin: 30px 10px;*/
    margin-left:10px;
    margin-right:10px;
    padding: 20px 15px;
    flex-direction: column;
    box-shadow: 0.5px 10px  #2f4280;        /*#0223b4;*/
    transition: 0.3s ease-in-out;
    margin-top: 4%;
    border-radius: 10px;
    /*overflow: hidden;*/
    position: relative;
    opacity: 100%;
  }
  
  .containercard .card1::before {
    
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #2f4280, #4169E1);
    opacity: 0.1;
    z-index: -1;
    
  }
  
  .containercard .card1::after {
    
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 1000px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    transform: rotate(45deg);
    z-index: 1;
    transition: all 0.5s ease-in-out;
  }
  
  .containercard .card1:hover::after {
    top: 100%;
    left: 100%;
  }
  
  .containercard .card1 .imgcard {

    position: relative;
    width: 80%;
    height: auto;
    top: -60px; /* زيادة المسافة إلى 60 بكسل */
    left: 29px;
    border: 10px solid #2f4280;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    padding: 20px;
    background-color: #f2f2f2;
    margin-bottom: -40px; /* إضافة هامش سفلي سالب لتحريك الصورة إلى أعلى */
  }
/*حركة الوصف*/

  .news-ticker span {
    
    padding-left: 100%;
    /*animation: newsTicker 20s linear infinite;*/
    color: #000;
  }
  
  @keyframes newsTicker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
  }





.dropdown-toggle::after {
    display: none;
}
.dropdown-menu{
    top:58px;
    left:0px;
    padding:10px;
}

.alert-primary{
    background-color: #E4F1FF;
}


/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

.fs12{
    font-size: 12px;
}
.fs15{
    font-size: 0.9375rem;
}

.fw300{
    font-weight: 300;
}
.fw500{
    font-weight: 500;
}


/* Navigation-Main*/

/* xs */
.logo {
    width: 49px;
    height: auto;
}






/**************************************************/

.header-height {
  flex-grow: 0;
}


/*****************************navbar*************************************/



    /* Styles généraux */
    .navbar {
      background-color: #f8f9fa;
      border-bottom: 1px solid #e9ecef;
      height: 70px;
      padding-bottom: 10px;
      
    }
    
    .navbar-container {
      max-width: 1200px;
      margin-left:30px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .navbar-nav{
      margin-top:15px;
    }
    
   
    
    .navbar-toggler {
      border: none;
      background-color: transparent;
      cursor: pointer;
      padding: 0.5rem;
      position: absolute;
      left: 1rem;
      top: 1rem;
      display: contents;
    }
    
    .navbar-toggler-icon {
      display: block;
     background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
      width: 30px;
      height: 30;
    }
    
    .navbar-list {
      list-style-type: none;
      margin: 0;
      padding: 0;
      display: flex;
    }
    
 
    
    .navbar-list .nav-link:hover {
      color: #007bff;
    }
    
    .navbar-right {
      display: flex;
      align-items: center;
      float: right;
      position: absolute;
      right: 10px;
      margin-right: 10px;
    }
    
    .navbar-social a {
      color: #495057;
      margin-right: 1rem;
      transition: color 0.3s ease;
    }
    
    .navbar-social a:hover {
      color: #007bff;
    }
    
    
    .navbar-login {
      color: #495057;
      font-size: 0.875rem;
    }
    
    .navbar-login a {
      color: #2f4280;
      text-decoration: none;
      transition: color 0.3s ease;
    }
    
    .navbar-login a:hover {
      color: #007bff;
    }






    
  .navbar-login {
    font-size: 0.9rem;
  }
  ul li a {
    text-decoration: none;
}


   ul li a:hover {
    text-decoration: none;
}
.btn { text-decoration: none; }
.btn:hover { text-decoration: none; }


  
  .login-link,
  .register-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .login-link:hover,
  .register-link:hover {
    color: #e6e6e6;
  }
  
  .fas.fa-sign-in-alt,
  .fas.fa-user-plus {
    font-size: 2.1rem;
  }

 .sidebar-sign{
  display: flex;
 }



.btn-primary {
  color: #f0f0f0;
  background-color: #2E4281;
  border-color: #c6d0f0;
}
.btn-primary:hover{
  color: #f0f0f0;
  background-color: #007bff;
  border-color: #c6d0f0;
}
.btn-outline-primary {
  color: #2E4281;
  border-color: #2E4281;
}
.btn-outline-primary:hover{
  
  color: #f0f0f0;
  background-color: #007bff;
  border-color: #c6d0f0;
}
.header {
  background-color: #f8f9fa;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand img {
  max-height: 50px;
}
.min-logo-img{
  display:none;
}
.nav-link {
  color: #495057;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
  color: #007bff;
}




    /********************end navbar****************************************/
    /**************************start sidebar*********************/
    
    .sidebar {
      background-color: #fff;
      border-right: 1px solid #e5e5e5;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      width: -260px;
      height: 100%;
      position: fixed;
      top: 0;
      left: 0;
      z-index: 1000;
      overflow-y: auto;
      transition: transform 0.3s ease-in-out;
      display: none;
    }
  
    .sidebar-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px;
      border-bottom: 1px solid #e5e5e5;
    }
  
    .sidebar-logo img {
      max-height: 40px;
    }
  
    .sidebar-close {
      font-size: 24px;
      color: #495057;
      text-decoration: none;
    }
  
    .sidebar-user {
      display: flex;
      align-items: center;
      padding: 20px;
      border-bottom: 1px solid #e5e5e5;
    }
  
    .sidebar-user-avatar img {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      object-fit: cover;
    }
  
    .sidebar-user-info {
      margin-left: 15px;
      flex-grow: 1;
    }
  
    .sidebar-user-name {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 5px;
    }
  
    .sidebar-user-email {
      font-size: 14px;
      color: #6c757d;
      margin-bottom: 10px;
    }
  
    .sidebar-user-actions {
      display: flex;
      justify-content: flex-end;
    }
  
    .sidebar-user-action {
      display: block;
      color: #495057;
      text-decoration: none;
      font-size: 16px;
      margin-left: 10px;
    }
  
    .sidebar-nav {
      list-style-type: none;
      padding: 0;
      margin: 0;
    }
  
    .sidebar-nav ul {
      list-style-type: none;
      padding: 0;
      margin: 0;
    }
  
    .sidebar-nav li {
      border-bottom: 1px solid #e5e5e5;
      text-decoration: none;
    }
  
    .sidebar-nav-link {
      display: flex;
      align-items: center;
      padding: 15px 20px;
      color: #2f4280;
      text-decoration: none;
      font-size: 15px;
      transition: background-color 0.3s ease-in-out;
    }
  
    .sidebar-nav-link.active,
    .sidebar-nav-link:hover {
      background-color: #f8f9fa;
    }
  
    .sidebar-nav-link i {
      font-size: 18px;
      margin-right: 15px;
    }
  
    .sidebar-submenu {
      display: flex;
      flex-direction: column;
      margin-left: 40px;
    }
  
    .sidebar-submenu a {
      color: #495057;
      text-decoration: none;
      padding: 10px 0;
      font-size: 14px;
      transition: color 0.3s ease-in-out;
    }
  
    .sidebar-submenu a:hover {
      color: #007bff;
    }
  
    .sidebar-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: 999;
      display: none;
    }



    /*************social********/
    .social-icons {
      position: absolute;
      bottom: 20px;
      left: 0;
      right: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      padding: 10px;
    }
    
    .social-icon {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 40px;
      height: 40px;
      margin: 5px;
      border-radius: 50%;
      background-color: #2f4281;
      color: #fff;
      text-decoration: none;
      transition: all 0.3s ease;
    }
    
    .social-icon:hover {
      background-color: #c6d0f0;
      transform: scale(1.1);
      color:#2f4281;
    }
    
    .social-icon i {
      font-size: 20px;
    }
  
    /***********************end sidebar*********************************/



@media (max-width:991.98px) {
  * {
    max-width: 100%;
  }
  

  .background-image{
    
    /*background: transparent url(/media/images/background13.png) ;*/
    background-blend-mode: multiply;
    /*background-color: #7481aa;*/
   
     background-repeat: inherit;
     background-size: unset;
     margin-bottom:10%;
     
     border-radius: 10px;
     box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
     
     min-height: 100%;
     margin-bottom: 0; /* the height of the footer */
     
    
  }
  


.navbar{
 /* display: none;*/
}
  .navbar-brand {
    display: none;
    
}

.min-logo-img {
  
  display: block;
  max-height: 50px;
  max-width: 100px;
  margin-top: 10px;
  /* float: right; */
  position: absolute;
  right: 10px;
  top: 0px;
  /* bottom: -12px; */
  /* padding-top: .3125rem; */
  /* padding-bottom: 47.3125rem; */
  margin-right: .5rem;
}



}

@media (max-width:768px) {




  .background-image{
    
  /* background: transparent url(/media/images/background13.png) ; */
  
  background-blend-mode: multiply;
  /*background-color: #7481aa;*/
 
   background-repeat: inherit;
   background-size: unset;
   margin-bottom:10%;
   
   border-radius: 10px;
   box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
   
   min-height: 100%;
   margin-bottom: 0; /* the height of the footer */
   
  
}

  
}








/*********************بداية التزييل*****************************/

/* Footer Styles */
.footer {
  background-color: #f5f5f5;
  padding: 60px 0;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #333;
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  padding-left: 7px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer__section {
  flex: 1;
  margin-right: 40px;
}

.footer__section:last-child {
  margin-right: 0;
}

.footer__logo {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.footer__logo-image {
  max-width: 200px;
}

.footer__section-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__list-item {
  margin-bottom: 12px;
}

.footer__link {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: #666;
}

.footer__social-links {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  list-style-type: none;
  width: 455px;
  padding: 0;
  margin: 0;
}

.footer__social-link {
  margin-right: 20px;
  font-size: 24px;
  color: #333;
  transition: color 0.3s ease;
}

.footer__social-link:hover {
  color: #666;
}

.footer__social-link a{
  color:#2e4281
}
.footer__social-link a:hover{
  color:rgb(92, 144, 240);
}


.footer__bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  text-align: center;
  font-size: 14px;
  color: #666;
}

.header__social-link {
  margin-right: 11px;
  font-size: 22px;
  color: #333;
  transition: color 0.3s ease;
}

.header__social-link:hover {
  color: #666;
}
.header__social-link a {
  color: #2e4281;
}

.header__social-link a :hover {
  color: rgb(92, 144, 240);
}

.header__bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  text-align: center;
  font-size: 14px;
  color: #666;
}

.footer__bottom-link {
  color: #666;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.footer__bottom-link:hover {
  color: #333;
}
.header__social-links {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  list-style-type: none;
  width: auto;
  padding: 0;
  margin: 0;
}
 /****************نهاية التزييل *********************/

