@import url('https://fonts.googleapis.com/css2?family=Onest&display=swap');

* {
  font-family: 'Onest', sans-serif;
}

body {
  min-height: 100vh;
  min-height: -webkit-fill-available;
  background-color: #f5f5f5;
  font-family: 'Onest', sans-serif;
}

.datepicker{
  background-color: #fff !important;
}

.transparent{
  background-color: #f5f5f5 !important;
}

label {
  font-weight: 500;
}

.custom-tooltip {
  --bs-tooltip-bg: var(--bs-primary);
}

.my-content {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--read-more-line-clamp, 3);
}

input.form-control, 
  textarea.form-control, 
  trix-editor.form-control, .select2-container .select2-selection{
  width: 100%;
  padding: 6px 12px;
  font-weight: 400;
  line-height: 1.428571429;
  color: #475467;
  background-color: #fefefe;
  background-image: none;
  border: 1px solid #c1c8d2;
  border-radius: 6px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
}

html {
  height: -webkit-fill-available;
}

main {
  display: flex;
  flex-wrap: nowrap;
}

a {
  text-align: center;
  text-decoration: none !important;
}
a.link{
  color: #000 !important;
}

.tox-statusbar__branding{
  display: none;
}

input[readonly] {
  background-color: white;
}

input[readonly] {
  background-color: white;
}
select {
  background-color: white;
}
/* 404 & 500 */
#notfound {
  position: relative;
  min-height: 400px;
}

#notfound .notfound {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.notfound {
  max-width: 560px;
  width: 100%;
  padding-left: 160px;
  line-height: 1.1;
}

.notfound .notfound-404 {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-block;
  width: 140px;
  height: 140px;
  background-image: image-url(/emoji.png);
  background-size: cover;
}

.notfound .notfound-404:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-transform: scale(2.4);
      -ms-transform: scale(2.4);
          transform: scale(2.4);
  border-radius: 50%;
  background-color: #f2f5f8;
  z-index: -1;
}

.notfound h1 {
  font-family: 'Onest', sans-serif;
  font-size: 65px;
  font-weight: 700;
  margin-top: 0px;
  margin-bottom: 10px;
  color: #151723;
  text-transform: uppercase;
}

.notfound h2 {
  font-family: 'Onest', sans-serif;
  font-size: 21px;
  font-weight: 400;
  margin: 0;
  text-transform: uppercase;
  color: #151723;
}

.notfound p {
  font-family: 'Onest', sans-serif;
  color: #999fa5;
  font-weight: 400;
}

.notfound a {
  font-family: 'Onest', sans-serif;
  display: inline-block;
  font-weight: 700;
  border-radius: 40px;
  text-decoration: none;
  color: #388dbc;
}

#card.card{
  width: 550px;
}

@media only screen and (max-width: 767px) {
  .notfound .notfound-404 {
    width: 110px;
    height: 110px;
  }
  .notfound {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 110px;
  }
}

.navbar-custom {
  /* background-color: #003c7e; */
  background-color: #395a8b;
}
/* Modify brand and text color */
.navbar-custom .navbar-brand,
.navbar-custom .navbar-text {
  color: #fff;
}

/* Sign in with Google styles */
.flex-container {
  height: 100%;
  flex-direction: column;
  padding: 0;
  margin: 0;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ebebec;
}
.flex-item {
  padding: 5px;
  margin: 10px;
  text-align: center;
}
.googleSignIn {
  border: none;
  background: #3367D6;
	border-radius: 2px;
	box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.24), 0 0 1px 0 rgba(0, 0, 0, 0.12);
  border: none;
  display: flex;
  padding: 1px;
	color: #FFF;
  &:hover {box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.24), 0 0 2px 0 rgba(0, 0, 0, 0.12);}
  &:active {background: #3367D6;}
}

.googleSignIn--white {
  background: #FFF;
  color: rgba(0,0,0,0.54);
  &:active {background: #EEEEEE;}
}

.googleSignIn__text {
  padding: 11px;
  font-family: 'Onest', sans-serif;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0.2px;
	text-align: left;
  white-space: nowrap;
}
.more-important{
  font-weight: bold;
  font-size: 14px;
}
.truncate-ellipsis {
  display: table;
  table-layout: fixed;
  white-space: nowrap;
  color: #000;
}
.less-important {
  font-size: 14px;
  color: #666;
}

.flex-inline {
  display: flex;
}

.flex-items {
  flex-wrap: wrap;
  display: flex;
}

.card-img-top {
  
  object-fit: contain;
}

/*staff */

.image-list-small {
  font-family: 'Onest', sans-serif;
  margin: 0 auto;
  text-align: center;
  padding: 0;
}

.image-list-small li {
  display: inline-block;
  width: 180px;
  margin: 0 12px 20px;
}


/* Photo */

.image-list-small li > a {
  display: block;
  text-decoration: none;
  background-size: cover;
  background-repeat: no-repeat;
  height: 200px;
  margin: 0;
  padding: 0;
  border: 4px solid #ffffff;
  outline: 1px solid #d0d0d0;
  box-shadow: 0 2px 1px #DDD;
}

.image-list-small .details {
  margin-top: 13px;
}


/* Title */

.image-list-small .details h3 {
  display: block;
  font-size: 12px;
  margin: 0 0 3px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.image-list-small .details h3 a {
  color: #303030;
  text-decoration: none;
}

.image-list-small .details .image-author {
  display: block;
  color: #717171;
  font-size: 11px;
  font-weight: normal;
  margin: 0;
}

h6.image-author {
  display: block;
  color: #3f3c3c;
  font-size: 12px;
  font-weight: normal;
  margin: 0;
}

p.image-author {
  display: block;
  color: #717171;
  font-size: 11px;
  font-weight: normal;
  margin: 0;
  padding-top: 5px;
}

p.fullname{
  font-weight: 500;
  font-size: 16px;
} 

p.position{
  font-weight: 200;
  font-size: 14px;
  margin-top: -15px;
} 

/* Tree Vertical */
/* ul {
  margin-left: 20px;
}
.wtree li {
  list-style-type: none;
  margin: 10px 0 10px 10px;
  position: relative;
}
.wtree li:before {
  content: "";
  position: absolute;
  top: -10px;
  left: -20px;
  border-left: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  width: 20px;
  height: 15px;
}
.wtree li:after {
  position: absolute;
  content: "";
  top: 5px;
  left: -20px;
  border-left: 1px solid #ddd;
  border-top: 1px solid #ddd;
  width: 20px;
  height: 100%;
}
.wtree li:last-child:after {
  display: none;
}
.wtree li span {
  display: block;
  border: 1px solid #ddd;
  padding: 10px;
  color: #888;
  text-decoration: none;
}
.wtree li span:hover, .wtree li span:focus {
  background: #eee;
  color: #000;
  border: 1px solid #aaa;
}
.wtree li span:hover + ul li span, .wtree li span:focus + ul li span {
  background: #eee;
  color: #000;
  border: 1px solid #aaa;
}
.wtree li span:hover + ul li:after, .wtree li span:focus + ul li:after, .wtree li span:hover + ul li:before, .wtree li span:focus + ul li:before {
  border-color: #aaa;
}

*/

.remove.accordion-button::after {
  background-image: initial;
  width: 0;
}

.remove.accordion-button:not(.collapsed)::after {
  background-image: initial;
  width: 0;
}


/*Tree Horizontal*/
.tree,
.tree ul {
  position: relative;        
  display: table;
  margin: 5px 0 0 0 !important;
  padding: 6px 0 0 0 !important;
  line-height: normal;
  text-align: center;
  word-wrap: break-word;
  word-break: break-all;
}
.tree li {
  position: relative;
  display: table-cell;
}
/* Indent between paragraphs */
.tree li:not(:only-child) {
  padding: 0 .5em;
}
.tree li:last-child {
  padding-right: 0;
}
.tree li:first-child {
  padding-left: 0;
}
/* lines */
.tree ul:before,
.tree ul li:before,
.tree ul li:after {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 50%;
  height: 5px;
  border-right: 1px solid #999;
}
.tree ul:before {
  top: -4px;
}
.tree ul li:not(:only-child):before {
  border-top: 1px solid #999;
}
.tree ul li:not(:only-child):first-child:before {
  right: 0;
  left: auto;
  border-left: 1px solid #999;
  border-right: none;
}
.tree ul li:not(:only-child):first-child:before,
.tree ul li:not(:only-child):last-child:before { /* optional, 0.5 is taken from the padding property in the selector .tree li:not(:only-child) */
  width: calc(50% + .5em/2);
}
.tree ul li:after {
  border: none;
}
.tree ul li:not(:last-child):not(:first-child):after {
  width: 100%;
  border-top: 1px solid #999;
}

.login-with-google-btn {
  transition: background-color 0.3s, box-shadow 0.3s;
  padding: 10px 16px 12px 42px;
  border: 1px solid #dadcde;
  border-radius: 5px;
  box-shadow: 0 -1px 0 rgba(226, 216, 216, 0.04), 0 1px 1px rgba(0, 0, 0, .25);
  color: #757575;
  font-size: 16px;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont,  "Onest", "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Droid Sans", "Helvetica Neue", sans-serif;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTcuNiA5LjJsLS4xLTEuOEg5djMuNGg0LjhDMTMuNiAxMiAxMyAxMyAxMiAxMy42djIuMmgzYTguOCA4LjggMCAwIDAgMi42LTYuNnoiIGZpbGw9IiM0Mjg1RjQiIGZpbGwtcnVsZT0ibm9uemVybyIvPjxwYXRoIGQ9Ik05IDE4YzIuNCAwIDQuNS0uOCA2LTIuMmwtMy0yLjJhNS40IDUuNCAwIDAgMS04LTIuOUgxVjEzYTkgOSAwIDAgMCA4IDV6IiBmaWxsPSIjMzRBODUzIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNNCAxMC43YTUuNCA1LjQgMCAwIDEgMC0zLjRWNUgxYTkgOSAwIDAgMCAwIDhsMy0yLjN6IiBmaWxsPSIjRkJCQzA1IiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNOSAzLjZjMS4zIDAgMi41LjQgMy40IDEuM0wxNSAyLjNBOSA5IDAgMCAwIDEgNWwzIDIuNGE1LjQgNS40IDAgMCAxIDUtMy43eiIgZmlsbD0iI0VBNDMzNSIgZmlsbC1ydWxlPSJub256ZXJvIi8+PHBhdGggZD0iTTAgMGgxOHYxOEgweiIvPjwvZz48L3N2Zz4=);
  background-color: white;
  background-repeat: no-repeat;
  background-position: 16px 14px;
}
.login-with-google-btn:hover {
  box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 2px 4px rgba(0, 0, 0, .25);
}
.login-with-google-btn:active {
  background-color: #eee;
}
.login-with-google-btn:focus {
  outline: none;
  box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 2px 4px rgba(0, 0, 0, .25), 0 0 0 3px #c8dafc;
}
.login-with-google-btn:disabled {
  filter: grayscale(100%);
  background-color: #ebebeb;
  box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 1px 1px rgba(0, 0, 0, .25);
  cursor: not-allowed;
}


/*----------------genealogy-scroll----------*/

.genealogy-scroll::-webkit-scrollbar {
  width: 5px;
  height: 8px;
}
.genealogy-scroll::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: #e4e4e4;
}
.genealogy-scroll::-webkit-scrollbar-thumb {
  background: #212121;
  border-radius: 10px;
  transition: 0.5s;
}
.genealogy-scroll::-webkit-scrollbar-thumb:hover {
  background: #d5b14c;
  transition: 0.5s;
}

/*----------------genealogy-tree----------*/
.genealogy-body{
  white-space: nowrap;
  overflow-y: hidden;
  padding: 50px;
  min-height: 500px;
  padding-top: 10px;
  text-align: center;
}
.genealogy-tree{
display: inline-block;
}
.genealogy-tree ul {
  padding-top: 20px; 
  position: relative;
  padding-left: 0px;
  display: flex;
  justify-content: center;
}
.genealogy-tree li {
  float: left; text-align: center;
  list-style-type: none;
  position: relative;
  padding: 20px 5px 0 5px;
}
.genealogy-tree li::before, .genealogy-tree li::after{
  content: '';
  position: absolute; 
top: 0; 
right: 50%;
  border-top: 2px solid #ccc;
  width: 50%; 
height: 18px;
}
.genealogy-tree li::after{
  right: auto; left: 50%;
  border-left: 2px solid #ccc;
}
.genealogy-tree li:only-child::after, .genealogy-tree li:only-child::before {
  display: none;
}
.genealogy-tree li:only-child{ 
  padding-top: 0;
}
.genealogy-tree li:first-child::before, .genealogy-tree li:last-child::after{
  border: 0 none;
}
.genealogy-tree li:last-child::before{
  border-right: 2px solid #ccc;
  border-radius: 0 5px 0 0;
  -webkit-border-radius: 0 5px 0 0;
  -moz-border-radius: 0 5px 0 0;
}
.genealogy-tree li:first-child::after{
  border-radius: 5px 0 0 0;
  -webkit-border-radius: 5px 0 0 0;
  -moz-border-radius: 5px 0 0 0;
}
.genealogy-tree ul ul::before{
  content: '';
  position: absolute; top: 0; left: 50%;
  border-left: 2px solid #ccc;
  width: 0; height: 20px;
}
.genealogy-tree li a{
  text-decoration: none;
  color: #666;
  font-family: 'Onest', sans-serif;
  font-size: 11px;
  display: inline-block;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
}

.genealogy-tree li a:hover+ul li::after, 
.genealogy-tree li a:hover+ul li::before, 
.genealogy-tree li a:hover+ul::before, 
.genealogy-tree li a:hover+ul ul::before{
  border-color:  #fbba00;
}

/*--------------memeber-card-design----------*/
.member-view-box{
  padding:0px 20px;
  text-align: center;
  border-radius: 4px;
  position: relative;
}
.member-image{
  width: 60px;
  position: relative;
}
.member-image img{
  width: 60px;
  height: 60px;
  border-radius: 6px;
background-color :#000;
z-index: 1;
}

#tooltip {
  background: #333;
  color: white;
  font-weight: bold;
  padding: 4px 8px;
  font-size: 13px;
  border-radius: 8px;
  display: none;
}
#tooltip ul {
  margin: 0;
  padding: 5px;
}
#tooltip ul li{
  list-style: none;
}
#arrow,
#arrow::before {
  position: absolute;
  width: 8px;
  height: 8px;
  background: inherit;
}

#arrow {
  visibility: hidden;
}

#arrow::before {
  visibility: visible;
  content: "";
  transform: rotate(45deg);
}
#tooltip[data-popper-placement^="top"] > #arrow {
  bottom: -4px;
}

#tooltip[data-popper-placement^="bottom"] > #arrow {
  top: -4px;
}

#tooltip[data-popper-placement^="left"] > #arrow {
  right: -4px;
}

#tooltip[data-popper-placement^="right"] > #arrow {
  left: -4px;
}

#tooltip[data-show] {
  display: block;
}

div.hr-or {
  margin-top: 20px;
  margin-bottom: 20px;
  border: 0;
  border-top: 1px solid #eee;
  text-align: center;
  height: 0px;
  line-height: 0px;
}

div.hr-or:before {
  content: 'OR';
  background-color: #fff;
}

div.hr {
  margin-top: 20px;
  margin-bottom: 20px;
  border: 0;
  border-top: 1px solid #eee;
  text-align: center;
  height: 0px;
  line-height: 0px;
}

.hr-title {
  background-color: #fff;
}

.action-btn {
  position: absolute;
  bottom: 0;
  right: 0;
}

@media print {
  @page {
    size: 25cm 35.7cm;
    margin: 5mm 5mm 5mm 5mm;
  }
  /* * {
    margin: 0 !important;
    padding: 0 !important;
  } */

  nav, footer, #search-form, #action-btn, #breadcrumb {
    display: none !important; /* Removes these elements from print layout */
    margin: 0 !important;
    padding: 0 !important;
  }
  
  #filter {
    display: none;
  } 
  #head{
    visibility: hidden;
  }
}

.header-h4 {
  text-transform: uppercase;
  font-weight: 400;
  font-size: 1.2rem;
  color: rgb(102, 102, 102);
  white-space: nowrap;
  overflow: hidden;
}

.header-h6 {
  text-transform: uppercase;
  font-weight: 400;
  font-size: 1rem;
  color: rgb(102, 102, 102);
  white-space: nowrap;
  overflow: hidden;
}

.dotted-underline {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 5px; /* Adds space between text and underline */
  cursor: pointer; /* Indicates the element is clickable */
  text-transform: uppercase;
  font-weight: 400;
  font-size: 0.8rem;
  color: rgb(102, 102, 102);
  white-space: nowrap;
  overflow: hidden;
}

.dotted-s-underline {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 5px; /* Adds space between text and underline */
  cursor: pointer; /* Indicates the element is clickable */
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.6rem;
  color: rgb(102, 102, 102);
  white-space: nowrap;
  overflow: hidden;
}

.label-uppercase {
  text-transform: uppercase;
  font-weight: 400;
  font-size: 0.8rem;
  color: rgb(102, 102, 102);
  /* white-space: nowrap; */
  overflow: hidden;
}

.label-b-uppercase {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.9rem;
  color: rgb(102, 102, 102);
  /* white-space: nowrap; */
  overflow: hidden;
}

.label-uppercase.required {
  color: #000000 !important;
  font-weight: 800 !important;
}

.dotted-underline.is-required {
  color: #000000 !important;
  font-weight: 800 !important;
}

.dotted-underline.required {
  color: #000000 !important;
  font-weight: 800 !important;
}

.dotted-underline.required {
  color: #000000 !important;
  font-weight: 800 !important;
}

.is-required::after {
  content: '*';
  margin-left: 2px;
}

.barcode-container {
  text-align: center;
  margin: 10px;
}
.barcode-value {
  position: absolute;
  margin-top: 305px;
  margin-left: 12px;
  font-size: 12px;
  font-family: 'Onest';
}

.barcode-student-container {
  text-align: center;
  margin: 10px;
}
.barcode-student-value {
  position: absolute;
  margin-top: 235px;
  margin-left: 150px;
  font-size: 12px;
  font-family: 'Onest';
}

.barcode-parent-container {
  text-align: center;
  margin: 10px;
}
.barcode-parent-value {
  position: absolute;
  margin-top: 110px;
  margin-left: 858px;
  font-size: 12px;
  font-family: 'Onest';
  color: #000;
}



