* {
  box-sizing: border-box;
  
}

body {
  font-weight: 400;
  background-color: #EEEFF4;
  font-size:0.8rem;
}

body,
html,
.App,
.vertical-center {
  width: 100%;
  height: 100%;
}

.navbar {
    background: var(--var-pinkcream);
    width: 100%;
}

.vertical-center {
  display: flex;
  text-align: left;
  justify-content: center;
  flex-direction: column;
}

.inner-block {
  width: auto;
  margin: auto;
  background: #ffffff;
  box-shadow: 0px 14px 80px rgba(34, 35, 58, 0.2);
  padding: 20px 27px 23px 27px;
  transition: all .3s;
  border-radius: 20px;
}

.vertical-center .form-control:focus {
  border-color: #2554FF;
  box-shadow: none;
}

.vertical-center h3 {
  text-align: center;
  margin: 0;
  line-height: 1;
  padding-bottom: 20px;
}

label {
  font-weight: 500;
}

/*sidebar , menu , nav*/
body {
    --header-height: 50px;

    margin: 0 0 0 0;
    font-family: 'Muli', sans-serif;
}
.App input{
    background-color: var(--var-spanishgreen);
    color:white;
}
.App .btn{.color:white;}
.preload * {
    transition: none !important;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: #333333;
    display: flex;
}

.header__button {
    width: var(--header-height);
    flex-shrink: 0;
    background: none;
    outline: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
}

.nav__links {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    height: 100vh;
    width: 250px;
    background: #ffffff;
    transform: translateX(-250px);
    transition: transform 0.3s;
}

.nav--open .nav__links {
    transform: translateX(0);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.nav__link {
    display: flex;
    align-items: center;
    color: #666666;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    padding: 12px 15px;
    background: transform 0.2s;
}

.nav__link > i {
    margin-right: 15px;
}

.nav__link--active {
    color: #009578;
}

.nav__link--active,
.nav__link:hover {
    background: var(--var-darktrans-overlay2);
}

.nav__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s;
}

.nav--open .nav__overlay {
    visibility: visible;
    opacity: 1;
}
 /*interpage nav sidebar*/
  aside * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: var(--color-text);
  font-family: sans-serif;
}


:root,
::before,
::after {
  --color-container: #e7e9eb;
  --color-blue: #1f5eea;
  --color-red: #e3494a;
  --color-green: #57b083;
  --color-yellow: #e9b64b;
  
  --font-size-x-small: .675rem;
  --font-size-small: .75rem;
  --font-size-normal: .875rem;
  
  --transition-speed-normal: .25s;
  
  --nav-icon-size: 1rem;
  --nav-circle-size: .5rem;
  
  
}


.sidebar {
  --sidebar-width: 240px;

  width: var(--sidebar-width);
  background-color: var(--color-bg);
  border-radius:0 .5rem .5rem 0 ;
  padding: 0;
  height: 100vh;
  overflow: visible;
  position: sticky;
  top: 0;
  transition: 0.3s all;
  z-index:9999;
}

/* Hide the scrollbar for Chrome, Safari and Opera */
.sidebar::-webkit-scrollbar {
  display: none;
}

/* Hide the scrollbar for Internet Explorer, Edge and Firefox */
.sidebar {
  -ms-overflow-style: none;  /* Internet Explorer and Edge */
  scrollbar-width: none;  /* Firefox */
}

/*for input : #BEB6B0 ; tabl header : #E8D2B9 ; buttons : #D9AB9B ; form input: #465761 ; dark background : #31241E*/
/*/// moved to style.css ///*/
/*.sidebar[theme="dark"] {*/
/*  --color-bg:#31241E ;*/
  /* #1c2536; */
/*  --color-text: #fefefe;*/
/*  --color-surface: #E8D2B9 ;*/
  /* rgb(70, 87, 97) ;  rgb(0 0 0 / 20%); */
/*  --color-surface-alternative: rgb(255 255 255 / 8%);*/
/*}*/

/*.sidebar[theme="light"] {*/
/*  --color-bg: #ffffff;*/
/*  --color-text: #323842;*/
/*  --color-surface: rgb(100 100 100 / 8%);*/
/*  --color-surface-alternative: rgb(100 100 100 / 8%);*/
/*}*/

.sibebar__menulist {
    height: calc(100vh - 175px);;   /* calc(100vh - 215px);*/
    overflow-y: auto;
    display:flex;
    flex-direction:column;
}

/* Hide the scrollbar for Chrome, Safari and Opera */
.sibebar__menulist::-webkit-scrollbar {
  display: none;
}

/* Hide the scrollbar for Internet Explorer, Edge and Firefox */
.sibebar__menulist {
  -ms-overflow-style: none;  /* Internet Explorer and Edge */
  scrollbar-width: none;  /* Firefox */
}

.sidebar__section {
  padding: .5rem 1rem;
}

.sidebar__subtitle {
  font-size: var(--font-size-small);
  font-weight: 500;
  opacity: .75;
  margin-bottom: 1rem;
}


.divider {
  width: calc(100% - 2rem);
  height: 1px;
  background-color: var(--color-surface-alternative);
  border: none;
  margin: .5rem 1rem .75rem;
}

.divider--transparent {
  /*background-color: transparent;*/
}

.logo__text {
  fill: var(--color-text);
}

.logo__icon {
  fill: var(--color-blue);
}

.search {
  width: 100%;
  position: relative;
}

.search__input {
  width: 100%;
  padding: .5rem .5rem .5rem 2rem;
  border-radius: .25rem;
  background-color: var(--color-surface);
  display: block;
  color: var(--color-text);
  position: relative;
  border: 1px solid transparent;
  border-radius:50px;
}

.search__input:focus {
  outline: none;
  border: 1px solid var(--var-lightgray-text);
}

.search__button {
  width: auto;
  height: 100%;
  aspect-ratio: 1;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  border: none;
  color: var(--color-text);
  /*mask-position: center;*/
  /*-webkit-mask-position: center;*/
  /*mask-size: 50%;*/
  /*-webkit-mask-size: 50%;*/
  /*mask-repeat: no-repeat;*/
  /*-webkit-mask-repeat: no-repeat;*/
  /*mask-image: var(--icon-search);*/
  /*-webkit-mask-image: var(--icon-search);*/
}

.nav__list {
  list-style: none;
}
.sidebar .nav__list {
    padding-left: 2px;
}

.nav__link {
  text-decoration: none;
  font-size: var(--font-size-normal);
  background-color: var(--color-bg);
  padding: .75rem .5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  width: 100%;
  border-radius: .25rem;
  border:0px;
}
 .nav__link.active{
     background-color:var(--var-darktrans-overlay2);
     /*plc:"nsb2";*/
 }
.nav__icon {
  height: var(--nav-icon-size);
  width: var(--nav-icon-size);
  display: block;
  color: var(--color-text);
  opacity: .75;
}

/*.nav__icon--home {*/
/*  mask-image: var(--icon-home);*/
/*  -webkit-mask-image: var(--icon-home);*/
/*}*/

/*.nav__icon--activity {*/
/*  mask-image: var(--icon-activity);*/
/*  -webkit-mask-image: var(--icon-activity);*/
/*}*/

/*.nav__icon--task {*/
/*  mask-image: var(--icon-task);*/
/*  -webkit-mask-image: var(--icon-task);*/
/*}*/

/*.nav__icon--users {*/
/*  mask-image: var(--icon-users);*/
/*  -webkit-mask-image: var(--icon-users);*/
/*}*/

/*.nav__icon--notifications {*/
/*  mask-image: var(--icon-notifications);*/
/*  -webkit-mask-image: var(--icon-notifications);*/
/*}*/

/*.nav__icon--settings {*/
/*  mask-image: var(--icon-settings);*/
/*  -webkit-mask-image: var(--icon-settings);*/
/*}*/

/*.nav__icon--report {*/
/*  mask-image: var(--icon-report);*/
/*  -webkit-mask-image: var(--icon-report);*/
/*}*/

/*.nav__icon--support {*/
/*  mask-image: var(--icon-support);*/
/*  -webkit-mask-image: var(--icon-support);*/
/*}*/
 button.nav__link.active{
     background-color:var(--var-darktrans-overlay2);
     /*plc:"nsb2";*/
 }
.nav__circle {
  height: var(--nav-circle-size);
  width: var(--nav-circle-size);
  border-radius: 50%;
  margin: 0 .25rem;
  flex-shrink: 0;
}

.nav__circle--green {
  background-color: var(--color-green);
}

.nav__circle--blue {
  background-color: var(--color-blue);
}

.nav__circle--yellow {
  background-color: var(--color-yellow);
}

.nav__text {
  flex-grow: 1;
}

.nav__count {
  padding: .125rem .4rem;
  border-radius: .5rem;
  background-color: var(--color-red);
  font-size: var(--font-size-x-small);
  color: white;
}

.nav__chevron {
  height: var(--nav-icon-size);
  width: var(--nav-icon-size);
  color: var(--color-text);
  /*mask-position: center;*/
  /*-webkit-mask-position: center;*/
  /*mask-size: contain;*/
  /*-webkit-mask-size: contain;*/
  /*mask-repeat: no-repeat;*/
  /*-webkit-mask-repeat: no-repeat;*/
  /*mask-image: var(--icon-chevron);*/
  /*-webkit-mask-image: var(--icon-chevron);*/
}

.toggle {
  width: 100%;
  background-color: var(--var-darktrans-overlay2);
  border-radius: .25rem;
  padding: .25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: .25rem;
}

.toggle__input {
  display: none;
}

.toggle__label {
  padding: .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-size: var(--font-size-normal);
  border-radius: .5rem;
  opacity: .5;
  cursor: pointer;
}

.toggle__input:checked + .toggle__label {
  background-color: var(--var-pinkcream);
  opacity: 1;
  pointer-events: none;
}

.sidebar[theme="light"] .toggle__input:checked + .toggle__label {
  background-color: var(--color-bg);
}

.toggle__icon {
  content: "";
  height: 1rem;
  width: 1rem;
  color: var(--var-pinkcream);
  display: block;
}

.account {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}

.account__avatar {
  height: 42px;
  width: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-surface-alternative);
  cursor: pointer;
}

.account__details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .25rem;
  flex: 1 0 auto;
}

.account__name {
  font-size: var(--font-size-small);
  font-weight: 600;
}

.account__email {
  font-size: var(--font-size-small);
  font-weight: 400;
  opacity: .75;
}

.account__exit {
  height: 1.25rem;
  /*width: 100%;*/
  display: block;
  color: var(--color-surface);
  border: none;
  background-color: transparent;
  opacity: .7;
  cursor: pointer;
}
.borderbox__1{
    border: 1px solid var(--var-lighttrans-overlay2);
    padding: 5px;
    border-radius: 30px;
    padding-bottom: 13px;
}
.collapse-toggle {
  position: absolute;
  top: 50px;
  right: 0;
  height:24px;
  width: 24px;
  color: var(--color-blue);
  background-color:white;
  border-radius: 50%;
  border: none;
  transform: translateX(60%) rotate(0deg);
  opacity: 1;
  cursor: pointer;
  transition: transform var(--transition-speed-normal) ease-in-out;
}

 .collapse-toggle i {
    color: var(--var-pinkcream);
    background-color: #f8f9fa;
    font-size: 1.5em;
    padding: 0.15em;
    border-radius: 50%;
}

.sidebar[collapsed] .collapse-toggle {
  transform: translateX(60%) rotate(180deg);
}

.collapse-toggle::after {
  content: "";
  height: 100%;
  width: 100%;
  display: block;
  color: var(--color-surface);
}

/* Collapsed sidebar */
.sidebar[collapsed] {
  --sidebar-width: 72px;
}

.sidebar[collapsed] .logo__text {
  display: none;
}

.sidebar[collapsed] .search__input {
  pointer-events: none;
}

.sidebar[collapsed] .search__button {
  left: .3rem;
}

.sidebar[collapsed] .sidebar__subtitle {
  display: none;
}

.sidebar[collapsed] .nav__link {
  padding: .75rem;
}

.sidebar[collapsed] .nav__text {
  display: none;
}

.sidebar[collapsed] .nav__count {
  display: none;
}

.sidebar[collapsed] .toggle {
  grid-template-columns: 1fr;
}

.sidebar[collapsed] .toggle__text {
  display: none;  
}

.sidebar[collapsed] .account__details {
  display: none;  
}

.sidebar[collapsed] .account__exittext {
  display: none;  
}

.props {
  margin-top: 3rem;
  font-size: .75rem;
  opacity: .75;
}

.props__link {
  color: var(--color-blue);
  text-decoration: none;
}

@media (hover: hover) {
  .nav__link:hover {
    background-color: var(--color-surface-alternative);
  }
  
  .toggle__label:hover {
    opacity: 1;
  }
  
  .account__exit:hover {
    opacity: 1;
  }
  
  .collapse-toggle:hover {
    opacity: .875;  
  }
  
  .account__avatar:hover {
    border-color: var(--color-blue);
  }
  
  .props__link:hover {
    color: var(--color-green);
  }
}

  /*internal page sidebar nav end*/
/*// main code interpages dashboard//*/
:root{
    --var-darkbrown-bg: #31241E;
    --var-offwhite-text: #fefefe;
    --var-darkcream: rgb(250,242,227);
    --var-pinkcream: #cfa99a ;
    --var-spanishgreen: #748c9c;
    --var-darktrans-overlay2: rgb(255 255 255 / 8%);
    --var-light-bg: #ffffff;
    --var-lightgray-text: #323842;
    --var-lighttrans-overlay: rgb(100 100 100 / 8%);
    --var-lighttrans-overlay2: rgb(100 100 100 / 8%);
}
@media (prefers-color-scheme: dark) {
     --var-darkbrown-bg: #31241E;
    --var-offwhite-text: #fefefe;
    --var-darkcream: #E8D2B9;
    --var-darktrans-overlay2: rgb(255 255 255 / 8%);
}
/*body[theme="dark"] {*/
/*   --var-darkbrown-bg:var(--var-darkbrown-bg);*/
/*    --var-offwhite-text: var(--var-offwhite-text);*/
/*    --var-darkcream: var(--var-darkcream);*/
/*    --var-darktrans-overlay2: var(--var-darktrans-overlay2);*/
/*}*/
body[theme="light"] {
   --var-darkbrown-bg: var(--var-light-bg);
    --var-offwhite-text: var(--var-lightgray-text);
    --var-darkcream:var(--var-lighttrans-overlay);
    --var-darktrans-overlay2: var(--var-lighttrans-overlay2);
    --var-pinkcream: var(--var-spanishgreen);
}
body{
    background-color : var(--var-darkcream) ;
}
.page-container{
    
}
h2 ,h5{
    background: linear-gradient(45deg, var(--var-pinkcream) , transparent);
    border-radius: 50px 50px 50px 0px;
    color: white;
    padding: 0.5rem;
    text-transform:capitalize;
}
.c-pc{
    color: var(--var-pinkcream);
}
.c-sg{
    color:  var(--var-spanishgreen);
}
.btn , .btn:hover{
    background-color:var(--var-pinkcream);
    border:0px transparent;
    color:white;
}
.btn:hover{
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}
a , .nav-link {
    color:var(--var-pinkcream) ;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active{
        color: var(--var-lightgray-text);
    background-color: var(--var-darkcream);
    border-color: var(--var-pinkcream);
    border-bottom-color: var(--var-darkcream);
}
[id$='-pagination'] button {
    background-color: var(--var-pinkcream);
    border: 0px transparent;
    margin-left: 5px;
    color: white;
    border: 0;
    padding: 5px;
    border-radius: 5px;
}
[id$='-pagination'] button.active{
    padding:6px;
}
.sidebar[theme="dark"] {
    --color-bg: var(--var-darkbrown-bg);
    --color-text: var(--var-offwhite-text);
    --color-surface: var(--var-darkcream);
    --color-surface-alternative: var(--var-darktrans-overlay2);
}
.sidebar[theme="light"] {
    --color-bg: var(--var-light-bg);
    --color-text: var(--var-lightgray-text);
    --color-surface: var(--var-lighttrans-overlay);
    --color-surface-alternative: var(--var-lighttrans-overlay2);
}
.bg-dark{background-color: var(--var-darkbrown-bg) ;}
main i.fa-edit{
    color: var(--var-pinkcream);
    cursor: pointer;
}

form label{
    opacity:0.8;
    margin-top:0.4em;
    font-size:0.85rem;
    /*text-transform:capitalize;*/
    text-transform:lowercase;

}
#newmasjidform label {padding-left:0.5rem; margin-top:0.5rem;}
.form-control ,.form-select{
    color: var(--var-lightgray-text);
    background-color: var(--var-lighttrans-overlay);
    border-radius:50px;
    font-size: 0.9rem;
}
input[type="text"]::placeholder,
select::placeholder , textarea::placeholder{
  opacity: 0.25; /* Firefox */
}

input[type="text"]:-ms-input-placeholder, /* Internet Explorer 10-11 */
select:-ms-input-placeholder, textarea:-ms-input-placeholder {
  opacity: 0.25;
}

input[type="text"]::-ms-input-placeholder, /* Microsoft Edge */
select::-ms-input-placeholder, textarea::-ms-input-placeholder {
  opacity: 0.25;
}
.form-control[readonly]{
    background-color:transparent;
}
.form-control:read-only:not(select:read-only) {
  background-color:transparent;
}

.form-control:focus , input:focus {
     color: unset; 
     /*background-color: unset; */
     border-color: transparent; 
    outline: 0;
     box-shadow: 0 0 0 0 rgb(13 110 253 / 0%); 
}
p,
span,
input[type='text']:not([name$='name']):not([name$='password']):not([type='password']):not(.text-trans-none) {
  text-transform: lowercase;
}

.text-trans-none{
    text-transform: none; 
}
/*drag and drop section design st*/
.file-drop-area {
  filter:invert(0.5);
-webkit-filter: invert(50%);
-moz-filter: invert(50%);
-ms-filter: invert(50%);
-o-filter: invert(50%);
  position: relative;
  display: flex;
  align-items: center;
  width: 450px;
  max-width: 100%;
  padding: 25px;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  border-radius: 3px;
  transition: 0.2s;
}
.file-drop-area.is-active {
  background-color: rgba(255, 255, 255, 0.05);
}

.fake-btn {
  flex-shrink: 0;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  padding: 8px 15px;
  margin-right: 10px;
  font-size: 12px;
  text-transform: uppercase;
}

.file-msg {
  font-size: small;
  font-weight: 300;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-input {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  cursor: pointer;
  opacity: 0;
}
.file-input:focus {
  outline: none;
}
/*drag and drop section design ed */
.bg-tlight{
    background-color: var(--var-lighttrans-overlay2);
}
}
