/*Backgrounds*/
.bg-midnight-bloom {
    background: linear-gradient(-20deg,#2b5876 0%,#4e4376 100%)!important;
}
.bg-arielle-smile {
    background: radial-gradient(circle 248px at center,#16d9e3 0%,#30c7ec 47%,#46aef7 100%)!important;
}
.bg-grow-early {
    background: linear-gradient(to top,#0ba360 0%,#3cba92 100%)!important;
}
.bg-sunny-morning {
    background: linear-gradient(120deg,#f6d365 0%,#fda085 100%)!important;
}
.bg-happy-green {
    background: linear-gradient(to bottom,#00b09b,#96c93d)!important;
}
.bg-happy-fisher {
    background: linear-gradient(120deg,#89f7fe 0%,#66a6ff 100%)!important;
}

/*Hover*/
.bg-midnight-bloom:hover{
    background: linear-gradient(-20deg,#326283 0%,#5c4f8a 100%)!important;
}
.bg-arielle-smile:hover {
    background: radial-gradient(circle 248px at center,#36dbe3 0%,#4dcded 47%,#65b3eb 100%)!important;
}
.bg-happy-green:hover {
    background: linear-gradient(to bottom,#09c5af,#a2d746)!important;
}
.bg-sunny-morning:hover {
    background: linear-gradient(120deg,#efd378 0%,#fbae99 100%)!important;
}
.bg-happy-fisher:hover {
    background: linear-gradient(120deg,#8deef5 0%,#70a7f5 100%)!important;
}

/*border*/
.border-happy-fisher{
    border:1px solid #89f7fe !important;
}

/* Style the button links */
.btn-user-acct {
    border: 1px solid #ccc;
    padding: 1rem;
    text-align: center;
    text-decoration: none;
    color: #333;
    background-color: #fff;
    transition: all 0.2s ease;
}

.btn-user-acct:hover {
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
}

/* Style the icons */
.btn-user-acct i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Style the button titles */
.btn-user-acct h6 {
    font-size: 1rem;
    margin-bottom: 0;
    font-weight: bold;
    text-transform: uppercase;
}

.btn-user-acct {
    transition: background-color 0.3s ease-in-out;
  }
  
.btn-user-acct:hover {
background-color: #1f2d3d !important;
}

.btn-user-acct h1 {
    transition: transform 0.2s ease-in-out;
}

.btn-user-acct:hover h1 {
    transform: scale(1.2);
}

.photo_id_2x2{
    /* width: 4in !important;
    height: 4in !important; */
    height: 450px;
    /* width: 90% !important; */
    width: auto !important;
    box-shadow: 0px 1px 3px rgba(1,1,1,0.3);
    border: 5px solid #FFF;
}

.file_image_req{
    height: 500px;
    /* width: 90% !important; */
    width: 100% !important;
    box-shadow: 0px 1px 3px rgba(1,1,1,0.3);
    border: 5px solid #FFF;
}
.alert-light-info {
    background-color: #cce5ff !important;
    border-color: #b8daff !important;
    color: #004085 !important;
  }

  /*nav bar user account dropdown*/
  .banner-sm-main{
    height: 150px;
    border-radius: 0.25rem 0.25rem 0px 0px;
  }
  .banner-sm{
    width: auto;
    height: 70px;
    text-align: center;
    background: #536dfe;
    border-radius: 0.25rem 0.25rem 0px 0px;
  }
  .profile-avatar-sm{
    width: 90px;
    height: 90px;
    text-align: center;
    margin: 0px auto;
  }
  .profile-avatar-img-sm{
    width:90px;
    height: 90px;
    border-radius: 45px;
    border: 4px solid rgba(255,255,255,0.8);
    box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
    margin-top: 5px;
    margin-bottom: 3px;
    background-color: #536dfe;
  }
  .profile-avatar-title{
    font-size: 14px;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 0px;
    padding-bottom: 0px;
  }
  .profile-avatar-sub{
    font-size: 12px;
    font-weight: 500;
    padding-bottom: 5px;
    color: #676666 !important;
  }

  .hide_side_menu{
    display: none;
  }
  .cursor_pointer{
    cursor: pointer;
    border-radius: 5px;
    font-size: 17px !important;
  }
  .cursor_pointer:hover{
    cursor: pointer;
    background: rgba(255,255,255,0.1);
  }
  .cursor_pointer:active{
    background: rgba(255,255,255,0.1);
  }

  .cursor-pointer{
    cursor: pointer !important;
  }

  .cursor-pointer:hover{
    box-shadow: 0px 0px 5px rgba(1,1,1,0.4);
  }
.annountment_link{
  text-decoration: none !important;
  color: #212529;
}

.annountment_link:hover{
  color: #212529;
}

#loading-spinner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: none;
}

.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.assign-module-avatar{
  height: 160px !important;
  width: 160px !important;
  margin-right: 20px !important;
  margin-bottom: 20px !important;

  padding: 0.25rem;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
  box-shadow: 0 1px 2px rgba(0,0,0,.075) !important;
}


@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Subject Class Background */
.nursery {
  background: #d71e78;
  color: #fff;
}
.kinder1 {
  background: #e84393;
  color: #fff;
}
.kinder2 {
  background: #fd79a8;
  color: #fff;
}
.grade1 {
  background: #0984e3;
  color: #fff;
}
.grade2 {
  background: #6c5ce7;
  color: #fff;
}
.grade3 {
  background: #00b894;
  color: #fff;
}
.grade4 {
  background: #d63031;
  color: #fff;
}
.grade5 {
  background: #3c40c6;
  color: #fff;
}
.grade6 {
  background: #ffa801;
  color: #fff;
}
.grade7 {
  background: #ff3f34;
  color: #fff;
}
.grade8 {
  background: #8e44ad;
  color: #fff;
}
.grade9 {
  background: #d35400;
  color: #fff;
}
.grade10 {
  background: #1abc9c;
  color: #fff;
}
.grade11 {
  background: #EA2027;
  color: #fff;
}
.grade12 {
  background: #1B1464;
  color: #fff;
}

/* Custom Box */
.bg-1 {
  background: #1488CC;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to top, #2B32B2, #1488CC);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to top, #2B32B2, #1488CC); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
.bg-2 {
  background: #11998e;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to bottom, #38ef7d, #11998e);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to bottom, #38ef7d, #11998e); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
.bg-3 {
  background: #ec008c;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to bottom, #fc6767, #ec008c);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to bottom, #fc6767, #ec008c); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
.bg-4 {
  background: #e65c00;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to bottom, #F9D423, #e65c00);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to bottom, #F9D423, #e65c00); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
.icon-bg-1 {
  background: rgba(42, 87, 228, 0.8);
}
.icon-bg-2 {
  background: rgba(9, 184, 68, 0.8);
}
.icon-bg-3 {
  background: rgba(228, 42, 149, 0.8);
}
.icon-bg-4 {
  background: rgba(245, 118, 39, 0.8);
}

.box-wrapper {
  border-radius: 5px;
}
.box-wrapper-new {
  border-radius: 5px;
}
.body-wrapper {
  padding: 20px 5px 0px 20px;
  color: #fff;
}
.body-wrapper span {
  font-size: 14px;
  font-weight: 500;
  margin-right: 5px;
}
.body-wrapper h5 {
  font-size: 25px;
  font-weight: 700;
  margin-right: 5px;
  margin-bottom: 10px;
}
.icon-wrapper {
  padding: 15px 18px 15px 18px;
  margin-top: -65px;
  border-radius: 3px;
}
.img-wrapper {
  margin-top: -40px;
}

/* width */
::-webkit-scrollbar {
  width: 7px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #dfe6e9;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #b2bec3;
  /* border-radius: 10px; */
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #bdc3c7;
}

.border-left-dark{
  height:auto;
  border-left: 7px solid #353539;
  height: auto !important;
  clear: both;
  background: #FFF;
}

.border-left-dark-mini{
  border-left: 3px solid #353539;
  border-top: 0px;
}

.clear-space{
  clear: both !important;
}

.link-nohover{
  color: #000;
}
.link-nohover:hover{
  color: #000;
}

/* used in monthly filter */
.main-wrap{
  width: 100% !important;
}
.monthly-filter-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  height: auto;
  padding: 0px;
  margin: 0px;
  background: transparent;
  padding-bottom: 0px;
  min-height: 50px;
  max-height: auto;
  border-radius: 5px;
  margin-bottom: 10px;
  width: auto !important;
}

.pagination-icon {
  background: #555;
  color: #fff;
  font-size: clamp(12px, 1.6vw, 15px) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 0px;
  padding-left: clamp(2px, 1.0vw, 10px);
  padding-right: clamp(2px, 1.0vw, 10px);
  width: 25px;
  height: 60px;
}

.pagination-icon:hover {
  color: #dfe9f4;
}

.monthly-filter {
  display: flex;
  align-items: center;
  font-size: clamp(11px, 1.6vw, 18px) !important;
  padding: 0px;
  margin: 0px;
  background: #555;
}

.onwards {
  margin: 0 10px;
}

.current-month {
  font-weight: bold;
}

.monthly-list {
  list-style: none;
  padding: 0px !important;
  margin: 0px !important;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

.monthly-list li {
  background-color: transparent;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-transform: uppercase;
  display:block !important;
  font-size: clamp(11px, 1.6vw, 18px) !important;
  padding-left: clamp(3px, 1.0vw, 15px);
  padding-right: clamp(3px, 1.0vw, 15px);
  padding-top: 10px;
  padding-bottom: 10px;
  border-left: 0.5px solid #FFF;
  border-right: 0.5px solid #FFF;
  line-height: 20px;
  margin-bottom: 0px !important;
}

.monthly-list li:first-child {
  border-left: 2px solid #FFF !important;
}

.monthly-list li:last-child {
  border-right: 2px solid #FFF !important;
}

.monthly-list li:hover {
  background-color: #0056b3;
}

.monthly-list li.current-month {
  background-color: #0056b3;
}

.font-16{
  font-size: clamp(10px, 1.0vw, 15px) !important;
}

.padding-mini{
  padding-left: 15px;
}

.action-buttons{
  width: 10%;
}

@media only screen and (max-width: 700px) {

	.assign-module-avatar{
    height: 140px !important;
    width: 140px !important;
    margin-right: 20px !important;
    margin-bottom: 20px !important;
  }
  .border-left-dark-mini{
    border-left: none;
    border-top: 3px solid #353539;
  }
  .padding-mini{
    padding-left: 0px;
    margin-top: 15px;
  }
}

.container-timeline {
  padding: 10px 0;
  position: relative;
  overflow: hidden;
}

.container-timeline:before {
  content: '';
  position: absolute;
  top: 0;
  left: 5%;
  margin-left: -1px;
  width: 2px;
  height: 100%;
  background: #CCD1D9;
  z-index: 1
}

.timeline-block {
  width: -webkit-calc(95% + 8px);
  width: -moz-calc(95% + 8px);
  width: calc(95% + 8px);
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -moz-box-pack: justify;
  justify-content: space-between;
  clear: both;
}

.timeline-block-right {
  float: right;
}

.timeline-block-left {
  float: left;
  direction: rtl
}

.marker {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #74b9ff;
  margin-top: 9px;
  z-index: 9999;
  border: 4px solid #0984e3;
}

.timeline-content {
  width: 95%;
  padding: 0px 0px 0px 5px;
  color: #666
}

.timeline-content h3 {
  margin-top: 5px;
  margin-bottom: 0px;
  font-size: 17px;
  font-weight: 500;
}

.timeline-content span {
  font-size: 11px;
  color: #a4a4a4;
  font-style: italic;
}

.timeline-content p {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5em;
  word-spacing: 1px;
  color: #888;
}

.modal.left .modal-dialog {
	position:fixed;
	right: 0;
	margin: auto;
	width: 380px;
	height: 100%;
	-webkit-transform: translate3d(0%, 0, 0);
	-ms-transform: translate3d(0%, 0, 0);
	-o-transform: translate3d(0%, 0, 0);
	transform: translate3d(0%, 0, 0);
}

.modal.left .modal-content {
	height: 100%;
	overflow-y: auto;
}

.modal.right .modal-body {
	padding: 15px 15px 80px;
}

.modal.right.fade .modal-dialog {
	left: -320px;
	-webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
	-moz-transition: opacity 0.3s linear, left 0.3s ease-out;
	-o-transition: opacity 0.3s linear, left 0.3s ease-out;
	transition: opacity 0.3s linear, left 0.3s ease-out;
}
.modal.left.fade .modal-dialog {
  -webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
  -moz-transition: opacity 0.3s linear, left 0.3s ease-out;
  -o-transition: opacity 0.3s linear, left 0.3s ease-out;
  transition: opacity 0.3s linear, left 0.3s ease-out;
}

.modal.right.fade.show .modal-dialog {
	right: 0;
}

/* ----- MODAL STYLE ----- */
.modal-content {
	border-radius: 0;
	border: none;
}

.modal-header {
	border-bottom-color: #eeeeee;
	background-color: #fafafa;
}

.payables_details b,
.payables_details span {
  font-size: 12px;
  color: #636e72;
}

/*--------------------------------------------------------------
  # Checkbox slider
--------------------------------------------------------------*/
.switch {
  position: relative;
  display: inline-block;
  width: 43px;
  height: 18px;
  margin-top: 5px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 10px;
  width: 10px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked+.slider {
  background-color: #2196F3;
}

input:focus+.slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 2px;
}

.slider.round:before {
  border-radius: 10%;
}

.comment {
  font-size: 9px;
  font-weight: bold;
  color: #d63031;
}

/* dashboard style */
.bg-green-gradient{
  background: linear-gradient(45deg,#2ed8b6,#59e0c5) !important;
}
.bg-blue-gradient{
  background: linear-gradient(45deg,#4099ff,#73b4ff) !important;
}
.bg-yellow-gradient {
  background: linear-gradient(45deg,#FFB64D,#ffcb80);
}
.bg-pink-gradient {
  background: linear-gradient(45deg,#FF5370,#ff869a);
}
.font-color-white{
  color: #FFF !important;
}
.font-size-20{
  font-size: 20px !important;
}
.font-size-12{
  font-size: 12px !important;
}
.no-padding-x {
  padding-left: 3px !important;
  padding-right: 3px !important;
}

.translate-y {
  transform: translateY(-4px);
}

.custom-rounded {
  border-radius: 4px !important;
}
.custom-rounded-lg {
  border-radius: 8px !important;
}
.custom-rounded-xl {
  border-radius: 12px !important;
}
.custom-border {
border-bottom: 1px solid #ECECEC; 
}
.custom-flex{
  display: flex;
  flex-direction: row;
  align-items: center;

}

.text-xsmall{
  font-size: 10px !important;
  text-align: center;
}

.text-xsmall-td{
  font-size: 12px !important;
  text-align: center;
}

@media only screen and (max-width: 527px) {

	.monthly-filter-wrapper{
    background: #555;
  }
}





@media (max-width: 425px) {

}
/* Small devices (landscape phones, 576px and up)*/
@media (max-width: 576px) { 

 }

/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {
  .action-buttons{
    width: 20%;
  }
}

/* Large devices (desktops, 992px and up) */
@media (max-width: 992px) { 
  .action-buttons{
    width: 25%;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (max-width: 1200px) { 
  .action-buttons{
    width: 17%;
  }
}

@media (max-width: 1329px) { 
  .action-buttons{
    width: 15%;
  }
}

@media (max-width: 1490px) { 
  .action-buttons{
    width: 15%;
  }
}
.img-upload-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.img-preview-upload-wrapper {
  display: flex;
  width: 200px; 
  max-width: 300px; 
  min-height: 100px; 
  max-height: 300px;
  min-width: fit-content;
  flex-direction: column;
  align-items: center;
  background-color: #f1f1f1;
  padding: 10px;
  border-radius: 10px;
}

.img-wrapper-preview img {
  width: 170px !important;
  height: 170px;
  border: 3px dashed #ced4da !important;
  position: relative;
}
.cropper_editing_area {
  max-width: 100%;
  /* border-radius: 20px; */
  height: 20rem;
  border: 3px dashed #ced4da !important;
  position: relative;
  
}
.drag_drop_content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ced4da ;
}
.drag_drop_content p {
  font-size: 60px;
}
.drag-drop-file-upload {
    display: inline-block;
    padding: 10px 20px;
    cursor: pointer;
    color: #fff;
    background-color: #007bff;
    border: 2px solid #fff;
    border-radius: 10px;
    transition: background-color 0.3s ease;

}

.drag-drop-file-upload:hover {
  background-color: #035ec0;
}


.hidden {
  display: none;
}

.ellipsis {
  white-space: nowrap;
  width: 45px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 10px;
}

.written_type {
  font-size: 8px;
  color: red;
}

/*START - Custom styles for Server Announcements*/
:root {
  /* Primary Colors */
  --sa-primary: #007bff;
  --sa-primary-10: #007bff10;
  --sa-primary-30: #007bff30;
  --sa-primary-font: #08509c;

  --sa-secondary: #6c757d;
  --sa-secondary-10: #6c757d10;
  --sa-secondary-30: #6c757d30;

  /* Success Color */
  --sa-success: #28a745;
  --sa-success-5: #28a74505;
  --sa-success-10: #28a74510;
  --sa-success-30: #28a74530;
  --sa-success-80: #28a74580;
  --sa-success-font: #00360c;

  --sa-warning: #ffc107;
  --sa-warning-10: #ffc10718;
  --sa-warning-30: #ffc10730;
  --sa-warning-font: #7c6100;

  --sa-danger: #dc3545;
  --sa-danger-5: #dc354505;
  --sa-danger-10: #dc354510;
  --sa-danger-30: #dc354530;
  --sa-danger-50: #dc354550;

  /* Neutral Colors */
  --sa-border: #b3b3b3;
  --sa-gray: #f4f4f4;
  --sa-background: #fff;
  --sa-font: #fff;
}

#serverGeneralModal {
  --pill-color-default: var(--sa-primary-30);
  --pill-color-active: var(--sa-primary);
  --sa-card-text: var(--sa-primary-font);
}

#serverSurveyModal {
  --pill-color-default: var(--sa-success-30);
  --pill-color-active: var(--sa-success);
  --sa-card-text: var(--sa-success-font);
}

#serverMaintenanceModal {
  --pill-color-default: var(--sa-warning-30);
  --pill-color-active: var(--sa-warning);
  --sa-card-text: var(--sa-warning-font);
}

.sa-text-white {
  color: var(--sa-font);
}
/* Primary Color */
.sa-bg-primary {
  background-color: var(--sa-primary);
}
.sa-bg-primary-10 {
  background-color: var(--sa-primary-10);
}
.sa-bg-primary-30 {
  background-color: var(--sa-primary-30);
}

.sa-text-primary {
  color: var(--sa-primary);
}
.sa-text-primary-10 {
  color: var(--sa-primary-10);
}
.sa-text-primary-30 {
  color: var(--sa-primary-30);
}

/* Success Color */
.sa-bg-success {
  background-color: var(--sa-success);
}
.sa-bg-success-10 {
  background-color: var(--sa-success-10);
}
.sa-bg-success-30 {
  background-color: var(--sa-success-30);
}
.sa-text-success {
  color: var(--sa-success);
}
.sa-text-success-10 {
  color: var(--sa-success-10);
}
.sa-text-success-30 {
  color: var(--sa-success-30);
}

/* Warning Color */
.sa-bg-warning {
  background-color: var(--sa-warning);
}
.sa-bg-warning-10 {
  background-color: var(--sa-warning-10);
}
.sa-bg-warning-30 {
  background-color: var(--sa-warning-30);
}
.sa-text-warning {
  color: var(--sa-warning);
}
.sa-text-warning-10 {
  color: var(--sa-warning-10);
}
.sa-text-warning-30 {
  color: var(--sa-warning-30);
}

#serverAnnoText,
#serverAnnoTitle {
  color: var(--sa-card-text);
}
.sa-line {
  height: 0.2rem;
  width: 7rem;
}
.sa-optional {
  background-color: var(--sa-success-30);
  border-radius: 10px;
  color: var(--sa-success);
  width: max-content;
  height: max-content;
  font-size: 0.7rem;
  font-weight: 500;
}

.server-anno-content .btn {
  border-radius: 12px !important;
}

.server-anno-header {
  padding-top: 0.8rem;
  background-color: transparent;
  border-bottom: none !important;
}

.server-anno-body {
  /* Add styles if needed */
}
.transition-height {
  transition: height 0.5s ease;
}

.server-anno-body .sa-image,
.server-anno-body .sa-sm-image,
.server-anno-body .sa-main-image {
  height: auto;
  width: 100%;
}

.server-anno-body .sa-image {
  height: 8rem;
  width: 8rem;
}

.server-anno-body .sa-sm-image {
  height: 3rem;
  width: 3rem;
}

.server-anno-body .sa-main-image {
  height: auto;
  width: 100%;
}

.sa-card {
}

.sa-card p {
  font-weight: 500;
  /* text-indent: 2rem; */
}
.sa-text {
  font-weight: 500 !important;
  background-color: var(--sa-gray)!important;
  /* border: 0px solid transparent; */
  width: 100% !important;
  border-radius: 12px !important;
  height: 3rem !important;
}
.sa-text:focus {
  background-color: var(--sa-font) !important;
  border-color: var(--sa-success-30) !important;
  outline: 0 !important;
}

.sa-radio {
  display: none;
}

/* Survey */
.sa_question_pill {
  background-color: var(--sa-success);
  border-radius: 13px;
  font-weight: 700;
  width: max-content;
  color: var(--sa-font);
}

.sa_question_text {
  font-weight: 700;
  color: var(--sa-success);
}
.sa-radio + label {
  display: inline-flex;
  align-items: center;
  position: relative;
  padding-left: 35px;
  font-size: 18px;
  cursor: pointer;
  color: var(--sa-success);
  font-weight: 500 !important;
}

.sa-radio + label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 3px solid var(--sa-border);
  background-color: var(--sa-background);
  box-sizing: border-box;
  transition: border-color 0.4s ease;
}

.sa-radio:checked + label::before {
  border-color: var(--sa-success);
}

.sa-radio:checked + label::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--sa-success);
  transition: background-color 0.4s ease;
}

.sa-radio:disabled + label::before {
  border-color: var(--sa-success-80);
}

.sa-radio:disabled + label::after {
  background-color: var(--sa-success-80);
}

/* Hide the original checkbox input */
.sa_checkbox_group .custom-control-label {
  padding-left: 0.5rem;
  color: var(--sa-success);
  font-weight: 500 !important;
}
.sa_checkbox_group
  .custom-control-input:checked
  ~ .custom-control-label::before {
  background-color: var(--sa-success);
  border: unset;
}
.sa_checkbox_group
  .custom-checkbox
  .custom-control-input:disabled:checked
  ~ .custom-control-label::before {
  background-color: var(--sa-success-80);
}
.sa_checkbox_group .custom-control-input:disabled ~ .custom-control-label,
.custom-control-input[disabled] ~ .custom-control-label {
  color: var(--sa-success-80);
}
.sa_checkbox_group .custom-control-label::before {
  border: unset;
  box-shadow: unset;
  top: 0;
  width: 1.5rem;
  height: 1.5rem;
}
.sa_checkbox_group .custom-control-label::after {
  width: 1.5rem;
  height: 1.5rem;
  left: -1.45rem;
  top: 0rem;
}

.sa_question_answer_container .invalid-feedback {
  background-color: var(--sa-danger-10);
  border-radius: 12px;
  height: 2.5rem;
  text-align: center;
  line-height: 2.5rem;
}
.sa_question_answer_container .valid-feedback {
  background-color: var(--sa-success-10);
  border-radius: 12px;
  height: 2.5rem;
  text-align: center;
  line-height: 2.5rem;
}

.form-card.invalid {
  border-radius: 12px !important;
  border: 1px solid var(--sa-danger-50);
  background-color: var(--sa-danger-5);
}

.form-card.valid {
  border-radius: 12px !important;

  border-color: var(--sa-success-30);
  background-color: var(--sa-success-10);
}
.sa-maintenance-container {
  background-color: var(--sa-background);
  border-radius: 30px;
  color: var(--sa-secondary);
}
.sa-maintenance-container .maintenance-arrow {
  font-size: 3rem;
}
.maintenance-time h1 {
  font-weight: 700 !important;
}
.maintenance-date h5 {
  font-weight: 500 !important;
}
.maintenance-end-date {
  color: var(--sa-warning);
}
.server-anno-footer {
  border-top: none !important;
  justify-content: space-between !important;
}

.page-indicator-container {
  /* Add styles if needed */
}

.pill-indicator {
  border-radius: 40px;
  width: 1.5rem;
  height: 0.6rem;
  background-color: var(--pill-color-default);
  display: inline-block;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.pill-indicator-active {
  width: 3.5rem;
  background-color: var(--pill-color-active);
}

.server-anno-footer .btn-secondary {
  /* Add styles if needed */
}

.server-anno-footer .btn-secondary:hover {
  /* Add styles if needed */
}

.sa-loading-screen {
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #00000080;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease; /* Smooth fade transition */
}

/* Class to hide the loading screen with a fade-out effect */
.sa-loading-screen.hidden {
  opacity: 0;
  pointer-events: none; /* Prevent interaction when hidden */
}
.sa-modal-corner {
  position: fixed;
  max-width: 30rem; 
  z-index: 1050; 
}
.sa-modal-corner-top {
  top: 0;
  right: 0;
}
.sa-modal-corner-bottom {
  bottom: 0;
  right: 0;
}

.sa-modal-corner .sa-corner {
  background-color: var(--sa-background);

  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.sa-modal-corner .btn-close {
  margin-left: 1rem;
}
.sa-corner-body {
  position: relative;
}
.sa-corner-body p{
  font-size: 0.9rem;
  font-weight: 500;
}
.sa-corner-body button{
  all: unset;
  height: 1rem !important;
}
.sa-corner-footer {
  border-radius: 20px;
  background-color: var(--sa-primary-30);
}
.sa-corner-footer h5 {
  font-weight: 700 !important;

}
.sa-corner-btn {
  border-radius: 15px !important;
  font-weight: 700 !important;
  width: max-content !important;
  

}
.sa-corner-logo {
  width: 2.3rem;
  height: 2.3rem;
}
.sa-corner-left {
 
}

.sa-corner-right {
 
}

/*END - Custom styles for Server Announcements*/

/* Custom xxl for bs4 */
.container-xxl {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 1400px) {
  .container-xxl {
    max-width: 1320px; /* Adjust this width as needed */
  }
}

/* Demo School Modal */

.custom-demo-modal .modal-content {
  border-radius: 30px;
}

.custom-demo-modal .modal-header {
  background: rgb(14, 186, 218);
  background: linear-gradient(-10deg, rgba(14, 186, 218, 1) 40%, rgba(10, 139, 218, 1) 100%);
  color: white;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}

.custom-demo-modal .custom-modal-logo {
  width: 6rem;
  height: auto;
}

.custom-demo-modal .custom-modal-img {
  width: 20rem;
  height: 20rem;
  margin-bottom: -7rem;
}

.custom-demo-modal .demo-desc {
  color: #1A78AE;
}

.custom-demo-modal .btn {
  background: rgb(14, 186, 218);
  background: linear-gradient(120deg, rgba(14, 186, 218, 1) 40%, rgba(10, 139, 218, 1) 100%);
  color: white;
  width: 100%;
  height: 3.5rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: bold;
}

.custom-demo-modal .btn:hover {
  background-color: #085D8E !important;
  color: #def4ff !important;
}

.custom-demo-modal .modal-footer .demo-continue {
  color: #1A78AE;
  text-decoration: underline;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.custom-demo-modal .modal-footer {
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.loading-screen {
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.932);
  /* background-color: #fff; */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  /* Make sure it appears on top of other elements */
}
