/*
* demo.css
* File include item demo only specific css only
******************************************************************************/
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap');
@import url('../vendor/css/pages/page-auth.css');

#template-customizer{
  display: none !important;
}
[dir="rtl"] body{
  font-family: "Cairo", sans-serif !important;
}

.light-style .menu .app-brand.demo {
  height: 64px;
}

.dark-style .menu .app-brand.demo {
  height: 64px;
}

.app-brand-logo.demo {
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  display: -ms-flexbox;
  display: flex;
  width: 34px;
  height: 24px;
}

.app-brand-logo.demo svg {
  width: 35px;
  height: 24px;
}

.app-brand-text.demo {
  font-size: 1.375rem;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 72px !important;
}
/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
  #dropdown-variation-demo .btn-group .text-truncate {
    width: 254px;
    position: relative;
  }
  #dropdown-variation-demo .btn-group .text-truncate::after {
    position: absolute;
    top: 45%;
    right: 0.65rem;
  }
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}

.app-brand-logo img{
  width: auto;
height: 30px;
}
.layout-navbar .navbar-dropdown.dropdown-notifications .dropdown-notifications-list .dropdown-notifications-item .text-body{
  display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
#template-customizer .template-customizer-open-btn{
  display: none !important;
}
.table th{
  text-align: center;
}
.table > :not(caption) > * > *{
  text-align: center;
}
.card-header{
  padding: 1rem;
}
.table-light{
  --bs-table-bg: #ecf7ff ;
}
.table thead tr th{
  border: none;
}
.card-title {
  font-size: 22px;
  font-weight: 600;
}
/* start upload image */
.avatar-upload {
  position: relative;
  width: fit-content;
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.avatar-upload .avatar-edit {
  position: absolute;
  z-index: 1;
  bottom: -22px;
  transform: translateY(-50%);
}
.avatar-upload .avatar-edit input {
display: none;
}
.avatar-upload .avatar-edit input + label {
  display: inline-block;
  width: 34px;
  height: 34px;
  margin-bottom: 0;
  border-radius: 100%;
  background: #0167b1;
  border: 2px solid #fff;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  font-weight: normal;
  transition: all 0.2s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.avatar-upload .avatar-edit input + label:hover {
background: #023e77;
border-color: #d6d6d6;
}
.avatar-upload .avatar-edit input + label:after {
  content: "\ea98";
  font-family: "tabler-icons" !important;
color: #fff;
}
.avatar-upload .avatar-preview {
width: 200px;
padding: 20px;
height: 200px;
position: relative;
border-radius: var(--bs-border-radius);
border:1px solid #d1d0d4;
}
.avatar-upload .avatar-preview > div {
width: 100%;
height: 100%;
border-radius: 10px;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
}
/* end upload image */
.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{
  left: 0;
  right: inherit;
}
.ql-editor{
  text-align: right;
}
.message-item{
  padding: 20px;
  position: relative;
  border-radius: 10px;
  margin-bottom: 10px;
}
.message-item .icon-close{
  position: absolute;
  left: 14px;
  top: 12px;
  padding: 0;
  outline: none;
  border: none;
  background: transparent;
}
.message-item .icon-close i{
  font-size: 29px;
}
.table td .btn-icon .ti-edit{
  color: #28c76f;
}
.table td .btn-icon .ti-trash{
  color: #ff4c51;
}
.table td .btn-icon .ti-eye{
  color: #1e88e5;
} 
.table tbody tr:last-child td{
  border-bottom: none;
}
.text-right{
  text-align: right !important;
}
[dir="rtl"] .text-right{
  text-align: left !important;
}
.text-female{
  color: #e648a2 !important;
}
.text-male{
  color: #039ef7 !important;
}


.login-wrap{
  position: relative;
  overflow: hidden;
}
.login-mask{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #000;
  opacity: 0.5;
  z-index: 1;
}
.login-bg{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 0;
  background-attachment: fixed;
  background-position: bottom;
  background-repeat: repeat-x;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  animation: zoomInOut 20s ease-in-out infinite;
  background-image: url(../img/bg.jpg);
}

@keyframes zoomInOut {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
#otp-form {
  direction: ltr;
}
.otp-inputs {
  display: flex;
  margin-bottom: 10px;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
.otp-inputs input {
  padding: 1rem;
  background-color: #f4f4f4;
  width: 100%;
  height: 46px;
  text-align: center;
  font-size: 14px;
  border-radius: 8px;
  outline: none;
  border: none;
}
.dropdown-style-switcher .dropdown-item:not(.disabled).active,.dropdown-style-switcher .dropdown-item:not(.disabled):active {
  color: #000 !important;
}
.fs-18{
  font-size: 18px;
}
.card-subtitle{
  font-size: 14px;
}

[dir=rtl] .nav-tabs:not(.nav-fill):not(.nav-justified) .nav-link, [dir=rtl] .nav-pills:not(.nav-fill):not(.nav-justified) .nav-link{
  margin-right: 0.25rem !important;
}