/*==========SET PREVIOUS CSS CLASSES - START */
.hide {
  display: none !important;
}

.viewsyllabus_parents {
  margin-top: 1rem;
}

.myModalCss > h4 {
  margin-top: 0 !important;
}

.myModalCss > .row {
  margin-bottom: 0 !important;
}

div:where(.swal2-container)
  button:where(.swal2-styled).swal2-default-outline:focus {
  box-shadow: none !important;
}

.page-wrapper
  .sidebar-wrapper
  .sidebar-menu
  .sidebar-dropdown
  .sidebar-submenu
  ul
  li
  a {
  margin-top: 1px;
}

.breadcrumb .breadcrumb-item.active {
  color: #333;
}

.breadcrumb .breadcrumb-item a {
  color: #f23e7f;
}

/*==========SET PREVIOUS CSS CLASSES - END */

.mb-0 {
  margin-bottom: 0 !important;
}

.pb-0 {
  padding-bottom: 0 !important;
}

.page-wrapper .sidebar-wrapper {
  z-index: 999999;
}

.card .card-body.zerotoppad {
  padding-top: 0 !important;
  /* height: 0px; */
}

.breadcrumb {
  padding: 1rem 0;
}

.table td,
.table th {
  padding: 0.4rem 0.5rem;
}

/* .page-wrapper .sidebar-wrapper .sidebar-menu ul li.active a.current-page {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 9px 10px 9px 42px;
} */

.page-wrapper
  .sidebar-wrapper
  .sidebar-menu
  .sidebar-dropdown
  .sidebar-submenu
  ul
  li
  a {
  padding: 9px 35px 9px 25px;
}

.page-wrapper .sidebar-wrapper .sidebar-menu ul li.active a.current-page {
  background: #f6f6f6;
}

.sidebar-dropdown.active .sidebar-submenu li {
  background: #f6f6f6;
  border-bottom: 0;
}

.sidebar-dropdown.active .sidebar-submenu h4 {
  margin: 0.05rem 0.3rem;
}

/* .sidebar-dropdown.active .sidebar-submenu li:last-child{
  border-bottom: solid 1px #f6f6f6;
} */

.sidebar-dropdown.active .sidebar-submenu li {
  border-bottom: solid 1px #dadada;
  /* border-top: solid 1px #dadada; */
}

/* .col-with-topbot-margin {
  margin-top: 0.75rem !important;
  margin-bottom: 0.25rem !important;
} */

/* .col-with-topbot-margin > .form-group {
  margin: 0;
} */

.m-01em {
  margin: 0.1em;
}

h4 + hr {
  display: none;
}

.form-check-input {
  border-color: #b0b0b0;
}

#attendance_sheet .radio label {
  padding-left: 0 !important;
}

/* #attendance_sheet .radio label input {
    margin-right: 5px;
} */

/* .modal-content h4, .card-body h4{
    margin-top: 1rem !important;
    background: rgb(243,243,243);
    background: linear-gradient(90deg, rgba(243,243,243,1) 0%, rgba(255,255,255,1) 85%);
    padding: 0.2rem 0.3rem;
    margin-bottom: 0.7rem;
    margin-left: -5px;
} */

/* .col-with-topbot-margin {
  margin-bottom: 0.75rem !important;
} */

h4.section_title {
  /* margin-bottom: 0 !important; */
  background: rgb(243, 243, 243);
  background: linear-gradient(
    90deg,
    rgba(243, 243, 243, 1) 0%,
    rgba(255, 255, 255, 1) 85%
  );
  padding: 0.2rem 0.3rem;
  margin-left: -5px;
  /* margin-top: 1.75rem !important; */
}

h4.section_title .form-check-input {
  margin-top: 0.1em;
}

/* .modal-content h4:not(:first-child),.card-body  h4:not(:first-child){
  margin-bottom: 0 !important;
}

.modal-content h4:first-child, .card-body h4:first-child{
    margin-top: 0 !important;
} */

.modal {
  z-index: 9999999 !important;
}

.modal-backdrop.show {
  z-index: 999999 !important ;
}

.modal-content h4 + hr {
  margin: 0.4rem 0 0.7rem 0;
  width: 35% !important;
  color: #f23e7f;
  display: none;
}

.custom-control-label {
  font-weight: 500;
  margin-left: 0.3rem;
}

.form-group > label:not(.error, .semicolor) {
  font-size: 0.7rem !important;
  text-transform: uppercase;
  color: #1d49a8;
  margin-bottom: 0.15em;
  font-weight: 600;
  background: #fff;
}

.form-group > label:not(.error) {
  z-index: 999 !important;
  position: relative;
}

.select2-container {
  margin-top: -10px;
}

.select2-dropdown {
  z-index: 9999999999;
}

.dropdown.bootstrap-select {
  margin-top: -10px;
}

.dropdown.bootstrap-select button.btn.btn-light {
  background-color: #fff;
  border-color: #e1e1e1;
  border-radius: 2px;
}

.dropdown.bootstrap-select
  button.btn.btn-light:not(:disabled):not(.disabled):active {
  background-color: #fff;
  border-color: #e1e1e1;
  border-radius: 2px;
}

.dropdown.bootstrap-select .dropdown-menu.show {
  z-index: 9999999;
}

.page-wrapper .sidebar-wrapper .sidebar-menu ul li a i {
  height: 30px;
}

#loading-wrapper {
  z-index: 999999999;
}
/* .form-group {
  position: relative;
  margin: 0 0 1.5rem 0;
} */

.form-group > label:after {
  content: "";
  position: absolute;
  left: 0;
  height: 1px;
  width: 30%;
  border-bottom: 1px dotted #d85c68;
  top: 19px;
}

.modal-content .semicolor {
  text-transform: uppercase;
  display: block !important;
}

label:not(.error) {
  font-size: 0.78rem !important;
  /* margin-bottom: 0; */
}

label.semicolor {
  /* position: relative;
  margin-bottom: 0.2em;
  display: block;
  margin-right: 0.5rem; */

  position: relative !important;
  margin-bottom: 0.2em !important;
  display: block;
  margin-right: 0.5rem;
  text-transform: uppercase;
}

.modal-content label:after {
  content: "";
  position: absolute;
  left: 0;
  height: 1px;
  width: 30%;
  border-bottom: 1px dotted #d85c68;
  top: 17px;
}

.modal .modal-header {
  background: #cddbe6;
  padding: 0.5em 1em;
  color: #333;
}

label.error {
  /* text-transform: capitalize; */
  font-weight: normal;
}

/* .form-control.error,
.form-control.error:focus {
  border: 1px solid #ff3535;
} */

td .btn-group .btn {
  padding: 0.25rem 0.5rem;
}

td .btn-group {
  width: 100%;
  max-width: 6rem;
}

.btn-group .dropdown-menu.dropdown-menu-end {
  background: rgb(239, 241, 245);
  border: 1px solid rgb(63, 63, 63);
}

.btn-group .dropdown-menu.dropdown-menu-end .dropdown-menu .dropdown-item {
  color: #333333;
}

.btn-outline-secondary:focus,
.btn-outline-secondary.focus {
  box-shadow: none;
}

.btn-primary:focus {
  box-shadow: none;
}

#loading-wrapper {
  background: rgba(0, 0, 0, 0.7);
}

.table-responsive {
  overflow-x: visible;
}

.align-btn-with-ctrl {
  padding-top: 0.5rem;
}

div.dataTables_wrapper div.dataTables_filter {
  padding-top: 0px;
}

div.dataTables_wrapper div.dt-buttons {
  padding: 0px;
}

div.dataTables_wrapper div.dt-buttons button.dt-button {
  padding: 0.5em 1em;
}

ul.user-messages li .delivery-details.removeLeftMargin {
  margin-left: 0px;
}

.col-with-topbot-mar-dash {
  margin-top: 0.4rem !important;
  margin-bottom: 0.25rem !important;
}

.failedpay ul.user-messages li {
  margin-bottom: 0.5rem;
}

.dashtimetable .cal_timeperiod {
  margin-bottom: 0.75rem;
}

.h-310 {
  height: 200px !important;
}

.main-container {
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.dashtimetable td {
  vertical-align: top;
}

.dashtimetable td hr {
  margin: 0.5rem 0;
}

.header-profile-actions a i {
  font-weight: 600;
  font-size: 0.85rem;
}

/****SWEET ALERT**********************/
div:where(.swal2-container) button:where(.swal2-styled) {
  padding: 0.5em 1.5em;
}

div:where(.swal2-container).swal2-backdrop-show,
div:where(.swal2-container).swal2-noanimation {
  z-index: 99999999 !important;
}

/***CHILD TAB******************/
.child_tab {
  float: left;
  border: 0px solid #ccc;
  width: 100%;
  /* height: 300px; */
}

.child_tab button {
  display: block;
  background-color: inherit;
  color: black;
  padding: 10px 12px;
  width: 100%;
  border: none;
  outline: none;
  text-align: left;
  cursor: pointer;
  transition: 0.3s;
  font-size: 0.825rem;
  font-weight: 600;

  border-radius: 0.25rem;
  background: #f7f7f7;
  color: #285192;
  margin: 5px;
}

.child_tab button:hover {
  background-color: #ddd;
}

.child_tab button.active {
  background-color: #0078d4;
  color: #fff;
}

.child_tab_content {
  float: left;
  padding: 0px 12px;
  border: 1px solid #ccc;
  width: 100%;
  border-left: none;
  /* height: 300px; */
  border: 0;
}

.child_tab_links {
  text-align: center;
}

/* .child_tab button {
  border-radius: 0.25rem;
  width: 100%;
  font-size: 12px;
  padding-top: 17px;
  padding-bottom: 16px;
  background: #f7f7f7;
  color: #285192;
  margin: 15px;
} */

.fontWeight {
  display: block;
}

.main-container.dashboard {
  margin-top: 75px;
}

/**UUUUUUU***/
label + input[type="text"],
label + input[type="password"],
label + select,
label + textarea {
  margin-top: -10px;
}

/* UUUUUU .form-group > label:not(.error) {
  font-size: 0.7rem !important;
  text-transform: uppercase;
  color: #d85865;
  margin-bottom: 0.25em;
  font-weight: 600;
  margin-left: 10px;
  top: -10px;
  position: absolute;
  background: #fff;
  padding-right: 5px;
  z-index: 999;
  margin-right: 0;
  padding-left: 5px;
} */

/* .col-with-topbot-margin {
  margin-top: 1.25rem !important;
  margin-bottom: 0.25rem !important;
} */

.form-group > label::after {
  display: none;
}

.form-control:focus {
  border-color: #bbb;
}

.dropdown-menu.lrg.settingslinks {
  width: 11rem;
}

.settingslinks.dropdown-menu.dropdown-menu-end a::before {
  font-family: "icomoon";
  font-weight: 700;
  content: "\e91b";
  margin: 0 10px 0 0;
  font-size: 0.5rem;
}

.settingslinks.dropdown-menu.dropdown-menu-end .header-profile-actions {
  padding: 0 0 0.8rem 0;
}

.userprofileinfo.dropdown-menu.dropdown-menu-end .header-profile-actions {
  padding: 0 0 0.8rem 0;
}

.dropdown-menu.dropdown-menu-end.userprofileinfo {
  width: 14rem;
}

.custom-search.schoolname {
  border-right: solid 1px #aeaeae;
  padding-right: 2rem;
}

.page-header h5 {
  font-size: 1.35rem;
  margin-left: 0.5rem;
  margin-bottom: 0;
}

.breadcrumb {
  margin-right: 0.5rem;
}

.page-wrapper.pinned .logo img {
  display: none;
}

.att_pres {
  background: #d4fb8e !important;
  color: #000 !important;
}

.att_late {
  background: #fff995 !important;
  color: #000 !important;
}

.att_abse {
  background: #fcc !important;
  color: #000 !important;
}

.att_day {
  padding: 20px;
  text-align: center;
  font-size: 16px;
  margin-bottom: 15px;
  border-radius: 3px;
  cursor: pointer;
}

.page-wrapper .sidebar-wrapper .sidebar-brand {
  margin: 0 0 0.5rem 0;
  border-bottom: solid 1px #b1b1b1;
}

.page-wrapper .sidebar-wrapper .sidebar-brand .logo {
  padding: 10px 13px 10px 22px;
}

.header {
  z-index: 999999;
  border-bottom: 0;
}

.dropdown-menu .dropdown-menu-header {
  margin-bottom: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

/* .form-group > label:not(.error) {
  color: #ff3e7b;
} */

.modal-content label::after {
  width: 40px;
  border-bottom: 0;
}

/* label.semicolor {
  color: #ff3e7b;
} */

/* label:not(.error) {
  font-size: 0.73rem !important;
} */

/* UUUUU .modal-body .col-with-topbot-margin {
  margin-top: 0.75rem !important;
} */

/* .modal-body h4.section_title:not(:first-child) {
  margin-top: 1.25rem !important;
} */

h4.section_title:not(:first-child) {
  margin-top: 0.5rem !important;
}

.breadcrumb .breadcrumb-item.active {
  margin-top: 0px !important;
  line-height: 1;
}

.customScrollDashboard.upcomingevents {
  margin-top: 7px;
}

/* .myCardHeight_parents_childtable {
  max-height: 250px;
} */

.child_tab_links.single_child {
  background: #f7f7f7 !important;
  color: #285192 !important;
}

.agenda .agenda-list li:last-child {
  padding: 5px 0;
}

.agenda .agenda-list li {
  padding: 0 0 1.1rem 0;
}

.page-wrapper .sidebar-wrapper .sidebar-brand .logo img {
  margin: 0 auto;
}

label.error {
  /* font-size: 0.7rem !important; */
  color: #f00;
}

.checkbox-inline,
.radio-inline {
  padding-left: 15px;
}

.addNewButton {
  font-weight: 500;
  padding: 0.1rem 0.5rem;
}

ul.header-notifications li a > .user-img::after {
  display: none;
}

/****************** FOOTER *********/
footer {
  background-color: #eff1f5;
  padding-left: 230px;
  overflow: hidden;
  border-top: solid 1px #cecece;
  border-bottom: solid 1px #cecece;
  color: #333;
}

footer a,
footer a:visited,
footer a:hover {
  color: #fd6494;
}

/* .footerb {
  padding: 2px;
}

.footerb p {
  margin-bottom: 0;
} */

/* .ftcontent {
  color: #ececec;
} */

.copyright-area {
  padding: 10px 0;
  z-index: 999;
}

.ftdiv {
  /* position: absolute;
  width: 100%; */
  bottom: 0;
  display: block;
}

/* footer .col-with-topbot-margin {
  margin-top: 0.1rem !important;
  margin-bottom: 0.1rem !important;
} */

/**DATATABLE DDL, MULTIPLE SELECT ISSUE*********************/
.dataTables_length {
  padding: 0;
}

div.dataTables_wrapper div.dataTables_length select {
  display: inline-block !important;
}

label.predec_radiocheck {
  top: -20px !important;
  padding-left: 0px !important;
  margin-left: 0px !important;
}

/* label.semicolor {
  color: #ff3e7b;
  margin-left: 0 !important;
  padding-left: 0 !important;
  top: 0 !important;
  position: relative !important;
} */

#notification_summary img {
  margin-top: -16px !important;
}

/*****LOGIN & GUEST PAGES**********************************/
.headerText {
  margin-top: 2rem;
}

.page-wrapper.guest .page-content {
  padding-left: 0;
}

.loginbtnrow {
  margin-top: 2.5rem !important;
}

.mycontainer {
  width: 35%;
}
.mycard {
  margin-top: 2rem;
}

.page-wrapper.guest {
  background: #272c63;
}

.login-logo #bayyan-logo {
  max-height: 55px;
}

.resend-otp {
  font-size: 12px;
  position: absolute;
  right: 18px;
  cursor: pointer;
  color: #0078d4;
}

.page-wrapper.guest footer {
  padding-left: 0;
}

.page-wrapper.guest .header {
  left: 0px !important;
  height: 60px;
  padding: 0.5rem 1.5rem;
}

.page-wrapper.guest .header img {
  max-width: 45%;
  max-height: 100%;
}

/*****MARQUEE - ANNOUNCEMETS*************************/
.announcement {
  margin-bottom: 1rem;
  width: 100% !important;
  overflow: hidden;
}

.announcement span {
  background: #ed3d3d;
  display: inline-block;
  border-radius: 25px;
  color: #fff;
  height: 1.8rem;
  line-height: 1.85rem;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

.announcement span i {
  color: #ffe661;
  margin-right: 5px;
}

/******PARENTS CURRICULUM****************************/
.accordion .accordion-container .accordion-body.curriculum {
  padding: 1.5rem 1.2rem;
  padding-top: 0.6rem;
}

.accord-main-title {
  margin-left: 0.5rem;
  margin-bottom: 0.6rem;
}

.accordion .accordion-container:last-child .accordion-header {
  border-bottom: 1px solid #e0e3e8;
}

/*****RESPONSIVE************************************************************/

@media (max-width: 768px) {
  div.dataTables_length {
    margin-bottom: 0.5rem;
  }

  .page-wrapper.guest .header {
    height: 60px;
  }

  .header img {
    height: 50px;
    max-width: 40%;
    max-height: 100%;
  }

  .header h3 {
    text-align: right;
    max-width: 53%;
    margin-bottom: 0;
    font-size: 1.25rem;
  }

  footer {
    padding-left: 0;
  }

  .loginbtnrow {
    margin-top: 1.5rem !important;
  }

  .card .card-header {
    padding: 1rem 0.75rem 1.5rem 0.75rem;
  }

  .page-header {
    margin-top: 65px;
  }

  .child_tab button {
    display: inline-block;
    width: 46%;
  }

  .settingslinks .dropdown-menu.dropdown-menu-end {
    display: block;
  }

  h5 {
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 345px;
  }

  /* .form-group {
    position: relative;
  } */

  .form-group > label:after {
    /* content: ""; */
    position: absolute;
    left: 0;
    height: 1px;
    width: 30%;
    border-bottom: 1px dotted #d85c68;
    top: 19px;
  }

  .modal-content .semicolor {
    text-transform: uppercase;
    display: block !important;
  }

  label {
    font-size: 0.78rem !important;
    margin-bottom: 0;
  }

  label.semicolor {
    position: relative;
    margin-bottom: 0.35em;
    font-size: 0.8rem !important;
  }

  .modal-content label:after {
    /* content: ""; */
    position: absolute;
    left: 0;
    height: 1px;
    width: 30%;
    border-bottom: 1px dotted #d85c68;
    top: 17px;
  }

  .modal .modal-header {
    background: #cddbe6;
    padding: 0.5em 1em;
    color: #333;
  }

  label.error {
    text-transform: capitalize;
    font-weight: normal;
  }

  .form-control.error {
    border: 1px solid #ff3535;
  }

  td .btn-group .btn {
    padding: 0.25rem 0.5rem;
  }

  td .btn-group {
    width: 100%;
    max-width: 6rem;
  }

  .btn-group .dropdown-menu.dropdown-menu-end {
    background: rgb(239, 241, 245);
    border: 1px solid rgb(63, 63, 63);
  }

  .btn-group .dropdown-menu.dropdown-menu-end .dropdown-menu .dropdown-item {
    color: #333333;
  }

  #loading-wrapper {
    background: rgba(0, 0, 0, 0.7);
  }

  .table-responsive {
    overflow-x: visible;
  }

  .align-btn-with-ctrl {
    padding-top: 1.5rem;
  }

  .ck-focused {
    border-color: #f23e7f !important;
  }

  .picker__input.picker__input--active {
    border-color: #f23e7f !important;
  }

  .select2-container--default.select2-container--focus {
    border: 1px solid #f23e7f !important;
  }
}

@media only screen and (max-device-width: 828px) and (orientation: portrait) {
  .mycontainer {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .header-actions > li:first-child {
    display: block;
  }
}

@media (max-width: 576px) {
  .header-actions > li:nth-child(2n) {
    display: block;
  }
}

@media (max-width: 768px) {
  h5 {
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 325px;
  }

  .align-btn-with-ctrl {
    padding-top: 0;
  }

  .breadcrumb {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 345px;
    padding: 0.5rem 0;
  }

  div.table-responsive
    > div.dataTables_wrapper
    > div.row
    > div[class^="col-"]:last-child {
    padding-left: 0;
  }

  .myModalCss > .row > .col-xl-4 > .semicolor {
    display: inline-block !important;
  }

  .table-responsive {
    overflow-x: auto;
  }
}

.select2.select2-container{
  width: 100% !important;
}

.is-invalid {
    border-color: #dc3545 !important;
    padding-right: calc(1.5em + 0.75rem) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* Add this at the end of the file */
.error-message {
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 0.25rem;
    display: block;
}

label.error {
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 0.25rem;
    display: block;
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}