:root {
  --clr-blue: #0f78be;
  --clr-blue-opa: rgba(15, 146, 190, 0.205);
  --clr-red: #d21921;
  --clr-org: #dd5c2c;
  --clr-green: #659f39;
  --clr-bk: #202020;
  --clr-gray: #6e6e6e;
  --clr-main: #edf2f5;
  --clr-main2: #fafafb;
  --clr-body: #f4f5f5;
  --clr-m: #fff;
  --clr-blur: #edf2f5;
  --clr-border: #adadad;
}

@font-face {
  font-family: "somar";
  src: url(./font/alfont_com_SomarGX.ttf) format("truetype");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "somar";
  scroll-behavior: smooth;

}

body {
  background-color: var(--clr-body);

}

header {
  position: fixed;
  width: 100%;
}

nav {
  background-color: var(--clr-m);
}

nav img {
  width: 4rem;
  height: 4rem;
}

.navbar .navbar-nav .nav-link.active,
.navbar .navbar-nav .nav-link:focus,
.navbar .navbar-nav .nav-link:hover {
  color: var(--clr-blue);
}

/* sidebar
.cont1 {
  margin: 0;
  padding-top: 20px;
  background-color: var(--clr-m);
  box-shadow: 1px 2px 5px var(--clr-gray);
  font-weight: 400;
  font-size: 1rem;
  width: 170px;
  position: fixed;
  top: 94px;
  height: 100%;
  z-index: -1;
  display: flex;
  justify-content: center;
  padding: 0;
}
@media only screen and (max-width: 1200px) {
  .cont1 {
    width: 95%;
    margin: auto;
    font-size: 1.5rem;
    height: auto;
  }
}
.sidebar a {
  width: 100%;
  padding: 0;
  display: block;
}
.sidebar a i {
  padding-left: 20px;
  margin-right: 10px;
}
.sidebar a:hover {
  background-color: var(--clr-blur);
  width: 100%;
  border-radius: 5px;
}
.burger {
  position: relative;
  top: 100px;
  right: -50px;
} */

/* main page */
.mainpage {
  direction: rtl;
}

.cards {
  width: 98%;
  margin: auto;
}

.cards .row .card {
  width: 223px;
  height: 170px;
  margin: 5px;
  margin-top: 40px;
  display: flex;
}

.idd {
  background-color: var(--clr-m);
  width: 9cm;
  height: 5.5CM;
  background-image: url('../pic/bg.png');
  background-size: cover;
  display: flex;
  align-content: center;
  padding: 1%;
  justify-content: space-between;
  margin: 10vh auto;
  border-radius: 10px;
  position: relative;
  text-align: center;
  direction: rtl;
}

.idd .pic {
  width: 40%;
  display: flex;


}

.idd .pic img {
    width: 100%;
    height: 100%;
    margin-TOP: 30px;
    margin-right: 20px;
  justify-content: center;
  align-self: center;
  border: 3px solid var(--clr-gray);
  border-radius: 50%;
}

.idd h2 {
  font-size: 0.6rem;
  margin-left: 3px;
  font-weight: 400;
  color: var(--clr-gray);
  margin-top: 5px;
  margin-right: 3px;
}

.idd .info {
  margin-top: 15%;
  width: 30%;
  height: 100%;
  padding: 1%;
}

.idd .info .name {
  display: flex;
  margin: 3PX;

}

.idd .info .name P {
  margin: 0PX;
  font-size: 0.6REM;
  margin-top: 5px;
}

.idd .ship1 {
  position: absolute;
  top: 0px;
  right: 2cm;
  width: 5cm;
  height: 10%;
  border-radius: 0px 0px 5px 5px;
  background-color: var(--clr-blue);
  color: var(--clr-m);
  font-size: 10PX;
  padding: 5PX;
  text-align: center;
}

.idd .ship2 {
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 30%;
  height: 8%;
  border-radius: 0px 70px 0px 10px;
  background-color: var(--clr-blue);
}

.idd .logo {
  position: absolute;
  top: 14px;
  left: 5%;
  width: 50px;
}

.idd .logo1 {
  position: absolute;
  top: 20px;
  right: 5%;
  width: 50px;
}

.idd h1 {
  position: absolute;
  font-size: 20px;
  right: 33%;
  top: 15%;
  font-weight: 700;
}

.idd .back {
  position: absolute;
  bottom: 0px;
  left: 20%;
  width: 200px !important;
  height: 200px !important;
  opacity: 0.2;
}

.idd .turkinfo {
  margin-top: 15%;
  width: 30%;
  height: 100%;
  padding: 1%;
}

.idd .turkinfo .name {
  display: flex;
  margin: 3PX;
  direction: ltr;
  text-align: left;
}

.idd .turkinfo .name P {
  margin: 0PX;
  font-size: 0.6REM;
  margin-top: 4px;
}

.iddd {
  background-color: var(--clr-m);
  width: 9cm;
  height: 5.5CM;
  background-image: url('../pic/bg.png');
  background-size: cover;
  display: flex;
  align-content: center;
  padding: 1%;
  justify-content: space-between;
  margin: 20vh auto;
  border-radius: 10px;
  position: relative;
  text-align: center;
  direction: rtl;
}

.iddd .ship1 {
  position: absolute;
  top: 0px;
  right: 2cm;
  width: 5cm;
  height: 10%;
  border-radius: 0px 0px 5px 5px;
  background-color: var(--clr-blue);
  color: var(--clr-m);
  font-size: 10PX;
  padding: 5PX;
  text-align: center;
}

.iddd .logo {
  position: absolute;
  top: 15%;
  left: 45%;
  width: 50px;
}

.iddd .ship2 {
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 30%;
  height: 8%;
  border-radius: 0px 70px 0px 10px;
  background-color: var(--clr-blue);
}

.iddd .info {
  margin-top: 8%;
  width: 50%;
  height: 100%;
  padding: 1%;
}

.iddd .info .name {
  display: flex;
  margin: 3PX;

}

.iddd .info .name P {
  margin: 0PX;
  font-size: 0.6REM;
  margin-right: 3px;
}

.iddd .back {
  position: absolute;
  bottom: 0px;
  left: 20%;
  width: 200px;
  opacity: 0.2;
}

.iddd h2 {
  font-size: 0.6rem;
  margin-left: 3px;
  font-weight: 400;
  color: var(--clr-gray);
  margin-top: 3px
}

.iddd .turkinfo {
  margin-top: 8%;
  width: 50%;
  height: 100%;
  padding: 1%;
}

.iddd .turkinfo .name {
  display: flex;
  margin: 3PX;
  direction: ltr;
  text-align: left;
}

.iddd .turkinfo .name P {
  margin: 0PX;
  font-size: 0.6REM;
  margin-top: 3px;
  margin-left: 3px;
}

@media only screen and (max-width: 740px) {
  .cards .row .card {
    width: 90%;
    height: 161px;
    margin: auto;
    display: flex;
    margin-top: 10px;
  }
}

@media only screen and (max-width: 1024px) {
  .cards .row .card {
    width: auto;
    height: 161px;
    margin: auto;
    display: flex;
    margin-top: 10px;
  }
}

.cards .row .card .img1 {
  width: 43px;
  height: 43px;
  align-self: center;
}

.cards .row .card .div2 {
  background-color: var(--clr-main2);
  border-radius: 4px;
  padding: 5px;
  margin: 0px 2px 2px 2px;
}

.cards .card:hover {
  translate: 5px;
  background-color: var(--clr-main);
}

hr {
  margin: 1px;
}

.notification {
  width: 100%;
  border: 1px solid var(--clr-border);
  border-radius: 5px;
  margin: auto;
  margin-top: 12px;
}

.notification table thead div {
  height: 50px;
  font-size: 50px;
  font-weight: 900;
}

.notification table td {
  background-color: var(--clr-m);
  padding: 10px;
  border-bottom: 1px solid var(--clr-blur);
}

.notification table td .number {
  margin-right: 10px;
  font-weight: 400;
  color: var(--clr-red);
}

.notification table td button {
  width: 100%;
  background-color: var(--clr-blue);
  color: var(--clr-m);
}

/* notification  page*/
.noti {
  background-color: var(--clr-main2);
  width: 98%;
  margin: auto;
  padding-top: 20px;
}

.noti .r1 {
  margin: 10px;
}

.noti .r1 .div1 button {
  width: 342px;
  height: 77px;
  background-color: var(--clr-main);
  color: var(--clr-bk);
  font-size: 1.5em;
  font-weight: 700;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.noti .r1 .div2 {
  direction: ltr;
  text-align: left;
}

.noti .r1 .div2 button {
  background-color: var(--clr-blue);
  color: var(--clr-m);
  font-weight: 200;
}

.noti .r1 form {
  margin-top: 20px;
}

.noti .r1 form input {
  border: none;
  background-color: inherit;
  border-bottom: 1px solid var(--clr-border);
}

.noti .r2 {
  width: 100%;
  margin: auto;
  border: 1px solid var(--clr-border);
  border-radius: 5px;
  text-align: center;
}

.pagination li a {
  color: var(--clr-blue);
}

.pagination li a:active {
  background-color: var(--clr-blue);
}

/* add */
.add .upload {
  width: 96%;
  margin: auto;
  margin-top: 20px;
  background-color: var(--clr-m);
  height: 130px;
  border: 2px dashed var(--clr-border);
  border-radius: 5px;
  text-align: center;
  align-items: center;
}

.add .upload img {
  width: 40px;
  align-self: center;
}

.add .upload input,
.add,
.upload label {
  width: 100%;
  height: 100%;
  text-align: center;
  cursor: pointer;
}

/* Input container */
.input-container {
  position: relative;
  margin: 20px;
  margin-right: 20px;
}

/* Input field */
.input-field {
  display: block;
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 2px solid var(--clr-border);
  border-radius: 5px;
  outline: none;
  background-color: var(--clr-m);
}

/* Input label */
.input-label {
  position: absolute;
  top: 0;
  left: 10px;
  font-size: 16px;
  color: var(--clr-bk);
  pointer-events: none;
  transition: all 0.3s ease;
  display: none;
}

.date {
  display: block;
}

/* Input highlight */
.input-highlight {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background-color: var(--clr-blue);
  transition: all 0.3s ease;
}

/* Input field:focus styles */
.input-field:focus+.input-label {
  top: -20px;
  font-size: 12px;
  color: var(--clr-blue);
  display: inline;
}

.input-field:focus+.input-label+.input-highlight {
  width: 100%;
}

.add .gender {
  padding: 20px;
  text-align: center;
  font-size: 1.5em;
}

.add .gender input {
  margin: 30px;
}

.add .radio {
  width: 20px;
  height: 20px;
}

.add .subbtn {
  width: 96%;
  height: 50px;
  color: var(--clr-m);
  background-color: var(--clr-blue);
  border: 1px solid var(--clr-border);
  margin: auto;
  font-size: 1.5em;
}

.noti .addsport {
  justify-content: center;
  display: flex-box;
  margin-top: 20px;
}

.noti .addsport .btn1 {
  font-size: 1.5em;
  background-color: var(--clr-blur);
  border: none;
  width: 75%;
  justify-content: center;
  border-radius: 10px;
  font-weight: 700;
}

.card-body .btn2 {
  font-size: 1.5em;
  background-color: var(--clr-blur);
  border: none;
  width: 75%;
  justify-content: center;
  border-radius: 10px;
  font-weight: 700;
}

.input_width .btn {
  background-color: var(--clr-blue) !important;
  font-size: 1.2em;
  color: var(--clr-main2);
  margin: auto;
  margin: 20px calc(25% / 2);
}

.noti .addsport .btn2 {
  background-color: var(--clr-blue);
  font-size: 1.2em;
  color: var(--clr-main2);
  margin: auto;
  margin: 20px calc(25% / 2);
}

/* sing in */
.c1 {
  width: 80%;
  height: 80vh;
  background-color: var(--clr-main2);
  display: flex;
  align-content: center;
  padding: 5%;
  justify-content: space-between;
  margin: 10vh auto;
  border-radius: 40px;
  box-shadow: 0px 0px 20px var(--clr-gray);
  position: relative;
}

.c1 .pic {
  width: 40%;
  height: 80%;
  display: flex;
  align-items: center;
  justify-content: end;
}

.c1 .pic img {
  width: 100%;
}

.c1 .info {
  width: 50%;
  height: 100%;
}

.c1 .info form .d1 {
  display: flex;
  width: 100%;
  height: 60px;
  background-color: var(--clr-m);
  padding: 10px;
  border-radius: 5px;
  align-items: center;
  box-shadow: 0 0 3px var(--clr-blur);
}

.c1 .info form .d1 img {
  margin: 5px;
  margin-left: 20px;
}

.c1 .info form .d1 .d11 {
  width: 100%;
}

.c1 .info form .d1 input {
  width: 100%;
  border: none;
  background-color: var(--clr-m);
}

.c1 .info form .d1 input:focus {
  border: none;
  outline: none;
}

.c1 .info form button {
  width: 100%;
  background-color: var(--clr-blue);
  /* border: 1px solid var(--clr-border); */
  border: none;
  box-shadow: 0 0 3px var(--clr-blur);
  border-radius: 5px;
  height: 60px;
  color: var(--clr-m);
  font-weight: 400;
}

.c1 .info .d2 {
  display: flex;
  margin: 20px;
}

.c1 .info .d2 a {
  text-decoration: none;
  color: var(--clr-blue);
  margin-right: 10px;
}

@media only screen and (max-width: 600px) {
  .c1 {
    display: block;
    width: 95%;
    height: 100%;
  }

  .c1 .pic {
    width: 100%;
    height: auto;
    display: flex;
    align-items: start;
    justify-content: center;
    margin: auto;
  }

  .c1 .info {
    width: 100%;
    row-gap: 10px;
    align-content: start;
    margin: auto;
  }
}

.c1 .p1 {
  position: absolute;
  bottom: 5%;
  left: 5%;
}

.c1 .p2 {
  width: 30%;
  position: absolute;
  bottom: -5%;
  right: -5%;
}

.c1 .p3 {
  width: 25%;
  position: absolute;
  top: -4%;
  left: -3%;
}



/* -----------------------------------*/
/* -----------------------------------*/
/* -----------------------------------*/
/* -----------------------------------*/
/* -----------------------------------*/
/* -----------------------------------*/
/* -----------------------------------*/
/* -----------------------------------*/
/* -----------------------------------*/
/* -----------------------------------*/
.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  color: var(--color-header);
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}

/*when hovering an item:*/
.autocomplete-items div:hover {
  background-color: #e9e9e9;
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
  background-color: DodgerBlue !important;
  color: var(--color-header);
}

.icons .delete_icon {
  color: #e23e57;
  width: 25px;
  height: 25px;
  cursor: pointer;
  transition: all 0.3s ease-in;
  margin-left: 10%;

}

.icons .delete_icon:hover {
  transform: scale(1.3);
  color: #e54e67;
}

.icons .list-icon {
  color: var(--color-Primary);
  width: 30px;
  height: 30px;
  cursor: pointer;
  transition: all 0.3s ease-in;
  font-size: 1.5rem;
}

.icons .list-icon:hover {
  transform: scale(1.3);
}

.icons .edit_icon {
  color: #5aa469;
  width: 25px;
  height: 25px;
  cursor: pointer;
  transition: all 0.3s ease-in;
  margin-right: 10%;
}

.icons .edit_icon:hover {
  transform: scale(1.3);
  color: #5ac469;
}


.icons .print_icon {
  color: var(--clr-blue);
  width: 25px;
  height: 25px;
  cursor: pointer;
  transition: all 0.3s ease-in;
  margin-right: 10%;
}

.icons .print_icon:hover {
  transform: scale(1.3);
  color: var(--clr-blue);
}


.icons .save_icon {
  color: #5aa469;
  width: 25px;
  height: 25px;
  cursor: pointer;
  transition: all 0.3s ease-in;
}

.icons .save_icon:hover {
  transform: scale(1.3);
  color: #5ac469;
}

/* Float cancel and delete buttons and add an equal width */
.modal-delete,
.modal-edit {
  z-index: 99999;
}

.modal-delete .cancelbtn,
.modal-delete .deletebtn {
  float: left;
  width: 50%;
  padding: 0.5rem;
  cursor: pointer;
}

/* Add a color to the cancel button */
.modal-delete .cancelbtn {
  background-color: #ccc;
  color: black;

}

/* Add a color to the delete button */
.modal-delete .deletebtn {
  background-color: var(--clr-blue);
  color: #f1f1f1;
  transition: all .3s ease;
}

.modal-delete .deletebtn:hover {
  color: #fff;
}

/* Add padding and center-align text to the container */
.modal-delete .container {
  padding: 16px;
  text-align: center;
  font-family: 'Cairo', sans-serif;
  background-color: var(--clr-m);
}

.modal-delete .container h1 {
  color: var(--clr-bk);
}

.modal-delete .container p {
  font-family: 'Cairo', sans-serif;
  color: var(--clr-gray);
}

/* The Modal (background) */
.modal-delete {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 9999;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
  padding-top: 50px;
}

/* Modal Content/Box */
.modal-delete .modal-content {
  margin: 5% auto 15% auto;
  /* 5% from the top, 15% from the bottom and centered */
  border: 1px solid #888;
  width: 60%;
  /* Could be more or less, depending on screen size */
}

/* Style the horizontal ruler */
hr {
  border: 1px solid #f1f1f1;
  margin-bottom: 25px;
}

/* The Modal Close Button (x) */
.modal-delete .close {
  position: absolute;
  right: 35px;
  top: 15px;
  font-size: 40px;
  font-weight: bold;
  color: #000;
}

.modal-delete .close:hover,
.modal-delete .close:focus {
  color: #f44336;
  cursor: pointer;
}

/* Clear floats */
.modal-delete .clearfix::after {
  content: "";
  clear: both;
  display: table;
}


/* Extra styles for the cancel button */
.modal-edit .cancelbtn {
  width: auto;
  padding: 10px 18px;
  background-color: #f44336;
}

/* Center the image and position the close button */
.imgcontainer {
  text-align: center;
  margin: 24px 0 12px 0;
  position: relative;
}

img.avatar {
  width: 40%;
  border-radius: 50%;
}

.modal-edit .container {
  padding: 16px;
}


/* The Modal (background) */
.modal-edit {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 9999;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100% !important;
  /* Full width */
  height: 100% !important;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
  padding-top: 60px;
}

/* Modal Content/Box */
.modal-edit .modal-content {
  margin: 5% auto 15% auto;
  /* 5% from the top, 15% from the bottom and centered */
  border: 1px solid #888;
  width: 80%;
  /* Could be more or less, depending on screen size */
}

/* The Close Button (x) */
.modal-edit .close {
  position: absolute;
  right: 25px;
  top: 0;
  color: #000;
  font-size: 35px;
  font-weight: bold;
}

.modal-edit .close:hover,
.modal-edit .close:focus {
  color: red;
  cursor: pointer;
}

/* Add Zoom Animation */
.animate {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
  from {
    -webkit-transform: scale(0)
  }

  to {
    -webkit-transform: scale(1)
  }
}

@keyframes animatezoom {
  from {
    transform: scale(0)
  }

  to {
    transform: scale(1)
  }
}


@media screen and (max-width: 300px) {

  .modal-edit .cancelbtn {
    width: 100%;
  }

  .cancelbtn,
  .deletebtn {
    width: 100%;
  }

  .movepages .icons li a {
    margin: 0px 0.5rem;
    font-size: 20px;
  }

}

.nav-link {
  width: 100%;
  text-align: right;
}

.dropdown-menu {
  width: 100%;
  text-align: right;
}