@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap");

:root {
  --primary: #c2e2f000;
  --shadow: #C2E2F00066;
  --shadow-100: #ba028391;
  --secondary: #3facff;
  --accent-100: #1a1a1a;
  --accent-200: #3a3a3a;
  --accent-300: #ba0283;
  --accent-400: #ba0283;
  --text-100: #1a1a1a;
  --text-200: #3a3a3a;
  --text-300: #c2e2f000;
  --text-400: #aab5e5;
  --text-500: #f5f5f5;
  --text-600: #ba0283;
  --text-700: #ffffff;
  --text-800: #C2E2F00066;
  --text-900: #eee;
}

* {
  font-family: "Cairo", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Cairo", sans-serif !important;
}

/* navbar  */

input[type="email"],
input[type="password"],
input[type="text"],
input[type="number"],
input[type="tel"] {
  direction: rtl;
}
input[type="file"] {
  height: 100%;
}
input[type="radio"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(-- --accent-300 rgba(129, 216, 253, 0.667));
}

/* input number */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

html::-webkit-scrollbar {
  width: 0.2rem;
  background: var(--text-300)
}
html::-webkit-scrollbar-thumb {
  width: 0.2rem;
  background: var(--primary);
  border-radius: 5rem;
}

.navbar {
  height: 100px;
  background: #e3e6f3;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
}

.navbar-nav li a {
  color: #1a1a1a;
  font-weight: 600;
  transition: 0.2 all linear;
}

.navbar-nav li a:hover,
.navbar-nav li a.active {
  color: var(--primary) !important;
}

.home {
  background: url("../images/home_section.png") no-repeat;
  background-size: cover;
  height: 80vh;
  width: 100%;
}

.menu_bg {
  background: url("../images/home_section.png") no-repeat;
  background-size: cover;
  height: 20vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.map {
  background: url("../images/map.png") no-repeat;
  background-size: cover;
  background-attachment: fixed;
  height: 70vh;
  width: 100%;
}

.social i {
  transition: 0.2s all linear;
  width: 40px;
  height: 40px;
}

.social i:hover {
  background: var(--text-500) !important;
  color: var(--primary) !important;
}

.cursor-pointer {
  cursor: pointer;
}

.text-ellipsed {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

input {
    height: 45px;
    /*border: 1px solid var(--text-900) !important;*/
    border: 1px solid currentColor !important;
}

textarea {
  border: 1px solid var(--text-700) !important;
}

.form-control:focus,
.form-control:active {
  border: 1px solid var(--shadow-100) !important;
  box-shadow: 0 0 0 3px var(--shadow) !important;
  outline: var(--shadow) !important;
}

table thead tr:nth-child(odd) {
  background: var(--accent-300) !important;
  color: #fff !important;
}

.overflow-auto::-webkit-scrollbar {
  width: 0.2rem;
  height: 0.3rem;
  background: var(--text-200);
  border-radius: 5rem;
}

.overflow-auto::-webkit-scrollbar-thumb {
  width: 0.2rem;
  height: 0.3rem;
  background: var(--shadow);
  border-radius: 5rem;
}

.dataTables_filter.text-end {
  margin-top: -25px !important;
}

@media screen and (max-width: 768px) {
  .dataTables_filter.text-end {
    margin-top: 20px !important;
  }
}

.dt-buttons.btn-group.flex-wrap {
  margin-bottom: -10px !important;
}

/* select scrollbar */
.select2-results__options::-webkit-scrollbar {
  width: 0.2rem;
  background: var(--text-900);
}

.select2-results__options::-webkit-scrollbar-thumb {
  width: 0.2rem;
  background: var(--shadow-100);
  border-radius: 5rem;
}

.select2-results__options li:hover {
  background-color: var(--shadow-100) !important;
  color: var(--text-600) !important;
}

.select2-container--default
  .select2-results__option--highlighted[aria-selected] {
  background-color: var(--shadow-100) !important;
  color: var(--text-600) !important;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
  background-color: var(--shadow-100) !important;
  color: var(--text-200) !important;
}
.select2,
.select2.select2-container.select2-container--default.select2-container--below,
.select2 .selection,
.select2 .selection .select2-selection.select2-selection--single {
  height: 45px !important;
}

.select2-selection.select2-selection--single {
  display: flex !important;
  align-items: center !important;
}

.select2-container--default .select2-selection--single {
    /*border: 1px solid var(--text-900) !important;*/
    border: 1px solid currentColor !important;
}

.select2-container--default .select2-selection--single:focus {
  border: 1px solid var(--shadow-100) !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  top: 10px !important;
}

.select2-container {
  z-index: 1 !important;
}

.select2-dropdown {
  z-index: 2000 !important;
}

.select2-search__field {
  height: 40px !important;
}

.select2-dropdown {
    /*border: 1px solid var(--text-900) !important;*/
    border: 1px solid currentColor !important;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
  z-index: 2000 !important;
}
.select2-container--default
  .select2-search--dropdown
  .select2-search__field:hover {
  border: 1px solid var(--shadow-100) !important;
}

.select2-container--open {
  z-index: 2; /* Set higher if modal uses a higher z-index */
}

.about-banner {
  background: url("../images/home_section.png") no-repeat;
  background-size: cover;
}
.marq {
  background: #088178;
  color: #fff;
}
/* start icons  */
.cards-icon:hover {
  transform: translateY(-10px);
  box-shadow: 10px 10px 54px rgba(0, 0, 0, 0.03);
  transition: 0.2s all linear;
  cursor: pointer;
}
#feg .card-title {
  color: #088178 !important;
  background: #fddde4;
  padding: 9px 8px 6px 8px;
}

#feg .card #heading2 {
  background: #cdebbc;
}
#feg .card #heading3 {
  background: #d1e8f2;
}
#feg .card #heading4 {
  background: #cdd4f8;
}
#feg .card #heading5 {
  background: #f8dbf6;
}
#feg .card #heading6 {
  background: #fff2e5;
}
/* end icons  */

/*  Teeth color gradation */
.modal-body img {
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}

.modal-body img:hover {
  transform: scale(1.1);
  border-color: #007bff; /* Change border color on hover */
}

body.modal-open {
  overflow: hidden;
}

.custom-modal-width {
  max-width: 80%; /* Adjust the percentage or use px, e.g., 800px */
}

tr .img {
  width: 20%;
}

.selectable-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid #ccc;
  border-radius: 8px;
}

/* Parent container to control frame size */
.d-flex > img {
  max-width: 150px;
  max-height: 150px;
}

.w-15 {
  width: 18%;
}

.w-8 {
  width: 8%;
}

.input-height {
  height: 35px;
}
