/*============================================================
	* Educare dev by FixBD
	* Source: https://github.com/FixBD/Educare/blob/FixBD/assets/css/educare.css
	* License: GPL 2.0
============================================================*/

/* Normalize wp */
#wpcontent {
  padding-left: 0 !important;
  position: relative;
}

@media (max-width: 600px) {
  #wpcontent {
    padding-top: 46px;
  }
}

@media (max-width: 600px) {
  #wpbody {
    padding-top: 0;
  }
}
.update-nag {
	display: none;
}

/* educare */
body .educare-container  {
	font-size: 14px;
  font-family: "roboto", sans-serif;
}

.educare-container table td {
  padding: 6px;
  border: 1px solid rgba(13,83,86,0.1);
}

.educare-container ol, ul {
  list-style-position: inside;
}
.educare_data_field {
  display: none !important;
}

.educare-container .about {
  margin: 0 auto;
}
.educare-container .about ol, .educare-container .about ul {
  margin-left: 0px;
  margin-left: 0px;
  font-size: medium;
}

.educare_post {
  /* max-width: 768px; */
	/* max-width: 724px; */
	padding: 0 2%;
	margin: 42px auto;
}
.educare_post_content {
	padding: 0 28px;
}

.educare-container .logo {
	text-align: center;
  margin-top: 12%;
}
.educare-container .logo img {
	max-width: 200px;
}
.educare_post .social_link i {
	color: rgb(3,62,68);
	background-color: rgba(3,62,68,0.12);
	font-size: 20px;
	text-align: center;
	line-height: 35px;
	width: 35px;
	height: 35px;
	margin: 0 2px;
	text-decoration: none;
	border-radius: 6px;
}
.educare_post .social_link i:hover {
	color: #fff;
	background-color: rgb(3,62,68);
}

.social_link {
	display: flex;
  justify-content: center; /* Horizontal align */
}

.notice h2 {
	display: inline;
}

/* Font Style */
.educare-container b {
	font-weight: bold;
}
.educare-container .success {
	color: green;
}
.educare-container .error,
.educare-container .failed {
	color: red;
}
.educare-container .contact {
	margin-bottom: 6px;
}

.add-result {
	margin: 28px auto;
}
.add-result input {
	display: block;
	max-width: 200px;
	margin: 0 auto ;
}

.educare-container input {
  border: 1px dotted rgba(13,83,86,0.2);
}

.educare-container blockquote {
	text-align: justify;
}

.add_results {
	margin: 16px auto;
	padding: 16px;
	background-color: #fff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.educare-container table,
.add_results,
.educare-notice,
.notice.is-dismissible {
  border-radius: 12px;
  overflow: hidden;
}

.add_results .content {
	/* max-width: 600px; */
  max-width: 90%;
	margin: 18px auto;
}
.educare_post .notice {
	margin: 8px 0;
}
.add_results input,
.add_results select,
.educare-container select {
	width: 100%;
	margin: 4px 0;
	padding: 6px 12px;
  display: inline-block;
}
.add_results select,
.educare-container select {
	min-width: 100%;
}
#educare_files_uploader .button {
	margin: 6px 0;
}
.add_results select#results_per_page {
	width: 64px;
}

.educare-container input[type="submit"] {
	width: auto;
	font-family: dashicons;
}

@media (max-width: 782px) {
  .educare-container input[type=checkbox]:checked:before {
    width: 1.5rem;
  }
}
.educare-container .select {
	display: flex;
  gap: 16px;
  align-items: center;
  flex-flow: wrap;
}
.educare-container .select * {
  flex: 2 100px;
}
.add-subject * {
  flex: 1;
  width: 100%;
}

.select.normal {
  align-items: flex-start;
}

/* Responsive layout - makes a one column layout instead of a two-column layout */
@media (max-width: 600px) {
  .add-subject {
    flex-direction: column;
    align-items: initial;
    gap: 0;
  }
  .add-subject * {
    flex: 1;
    width: 100%;
  }
}

#edit_add_subject {
  display: inline-block;
  margin-top: 6px;
  padding: 6px 8px;
  font-size: small;
}


.educare-container input[type="radio"],
.educare-container input[type="checkbox"] {
  width: 22px;
  height: 22px;
  padding: 2px !important;
}

/* .add_results label {
	color: red;
} */


.educare_button {
	color: #fff;
	background: -moz-linear-gradient(45deg, rgb(13,83,86) 0%,rgb(69,203,149) 100%);
  background: -webkit-linear-gradient(45deg, rgb(13,83,86) 0%,rgb(69,203,149) 100%);
  background: linear-gradient(45deg, rgb(13,83,86) 0%,rgb(69,203,149) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='rgb(13,83,86)', endColorstr='rgb(69,203,149)',GradientType=1 );
	text-align: center;
	text-decoration: none;
  text-transform: uppercase;
  line-height: 1.5;
	padding: 10.5px;
	margin-top: 22px;
	border: 0px;
	border-radius: 4px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
	transition: 0.3s;
}
.full {
  width: 100%;
}

#data_from_students * {
  margin: 0;
}

.educare_button.disabled,
.educare-container button:disabled {
  color: rgba(44,51,56,.5);
	background: rgba(255,255,255,.5);
  border-color: rgba(220,220,222,.75);
  box-shadow: inset 0 1px 2px rgb(0 0 0 / 4%);
}

.educare-container input.educare_button {
	font-weight: normal;
  padding: 10.5px;
}

.educare_button:hover {
	color: #fff;
	background: -moz-linear-gradient(45deg, rgb(69,203,149) 0%,rgb(13,83,86) 100%);
  background: -webkit-linear-gradient(45deg, rgb(69,203,149) 0%,rgb(13,83,86) 100%);
  background: linear-gradient(45deg, rgb(69,203,149) 0%,rgb(13,83,86) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='rgb(13,83,86)', endColorstr='#8200f4',GradientType=1 );
	-webkit-transition: color 0.3s, -webkit-transform 0.3s; 
	transition: color 0.3s, transform 0.3s;
	box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
	transition: 0.3s;
}

.text_button {
	display: inline;
}



.educare-container .educare_post.update td input {
	text-align: center;
}

.educare-container .grade_sheet td {
  border: none;
  border-bottom: 1px solid rgba(13,83,86,0.1);
  text-align: center;
}
.educare-container .grade_sheet th {
  padding: 8px;
}

.educare-container .serial-no {
  width: 42px;
}

.educare-container .grade_sheet input:not([type="checkbox"]) {
  text-align: center;
  padding: 4px;
  margin: 1px;
  width: 100%;
}

.educare-container table td {
  padding: 6px;
}

.educare-container .management td {
	padding: 0 4px;
}

.educare-container td.empty {
	background: #FFD4DB;
}

.educare-container table.list tr td:first-child,
.educare-container table.list tr th:first-child,
.rattings-status {
  text-align: center;
  padding: 8px;
  width: 32px;
}
.rattings-status {
  width: 200px;
}

.educare-container table.list tr td:nth-child(2),
.educare-container table.list tr th:nth-child(2) {
	text-align: left;
	padding: 8px;
}

.educare-container table tr td:nth-child(2) img {
	width: 100%;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
}

.educare-container form.educare-modify {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1;
}
.educare-container form.educare-modify input[type="submit"] {
	margin: 4px;
	padding: 10px;
	font-size: 20px;
	line-height: .8;
}
.educare-container form.educare-modify input.error {
	color: red;
}
.educare-container form.educare-modify input.success {
	color: rgb(16,137,87);
}


/*
input
*/

.educare-container .wrap-input {
  width: 100%;
  position: relative;
  border-bottom: 2px solid #d9d9d9;
  padding-bottom: 12px;
  margin-bottom: 26px;
}

.educare-container .wrap-input .input-for {
  font-family: Poppins-Regular;
  font-size: 12px;
  color: #666666;
  line-height: 1.5;
  padding-left: 5px;
}

.educare-container .wrap-input input {
  outline: none;
  border: none;
  box-shadow: none !important; /* WordPress */
  display: block;
  width: 100%;
  height: 16px;
  background: transparent;
  font-family: Poppins-Medium;
  color: #333333;
  line-height: 1.2;
  padding: 0 5px;
}

.educare-container .wrap-input .focus-input {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.educare-container .wrap-input .focus-input::before {
  content: "";
  display: block;
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #006E92;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.educare-container .wrap-input textarea {
  min-height: 110px;
  padding-top: 9px;
  padding-bottom: 12px;
}

.educare-container .wrap-input input:focus + .focus-input::before {
  width: 100%;
}


/*
switch-radio button
*/

.educare-container .status-button {
  display: flex;
  align-items: center;
  margin-left: 18px;
}

.educare-container .switch-radio {
  height: 26px;
  width: 70px;
  margin-bottom: 20px;
  padding: 3px 2px;
  position: relative;
  box-sizing: border-box;
  display: flex;
}

.educare-container .switch-radio input {
  display: none;
}
.educare-container .switch-radio label {
  float: left;
  flex: 1;
  color: rgba(0,0,0,0.8);
  line-height: 0px;
  text-align: center;
  font-size: small;
  padding: 12px 0;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
}

.educare-container .switch-radio label:after{
  position:absolute;
  content:"";
  width:100%;
  height:100%;
  background-color: #FFE7E6;
  background: -moz-linear-gradient(45deg, red 0%,#FFE7E6 100%);
    background: -webkit-linear-gradient(45deg, rgb(13,83,86) 0%,rgb(69,203,149) 100%);
    background: linear-gradient(45deg, red 0%,#FFE7E6 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='red', endColorstr='#FFE7E6',GradientType=1 );
  border: 2px solid red;
  left:-2px;
  top:0;
  z-index:-1;
  border-radius: 25px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2), inset 0 1px 3px rgba(0, 0, 0, 0.3); 
  }
  .educare-container .switch-radio input:checked + label:after{
	color: green;
  background-color: #E5FFE7;
  background: -moz-linear-gradient(45deg, rgb(69,203,149) 0%,rgb(13,83,86) 100%);
    background: -webkit-linear-gradient(45deg, rgb(69,203,149) 0%,rgb(13,83,86) 100%);
    background: linear-gradient(45deg, rgb(69,203,149) 0%,rgb(13,83,86) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='rgb(13,83,86)', endColorstr='#8200f4',GradientType=1 );
  border: 2px solid rgb(13,83,86);
  
  }
  .educare-container .switch-radio input:checked + label {
  font-weight: normal;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
  border-radius: 25px;
}

.educare-container .switch-radio input:checked + label:first-of-type {
	color: #fff;
	background: rgb(248,0,0)
}
.educare-container .switch-radio input:checked + label:last-of-type {
	color: white;
	background: rgb(13,83,86);
}

/*
educare settings
*/

.educare-container h1,
.educare-container h2,
.educare-container h3 {
	color: rgb(13,83,86);
	font-weight: bold;
  text-align: center;
	margin: 48px 0;
}

.educare-container h3 {
  text-align: left;
}

.educare-container h1 {
  color: rgb(13,83,86);
  font-size: 3vh;
  font-weight: 600;
  position: relative;
  padding-bottom: 20px;
  margin-top: 70px;
  text-transform: capitalize;
}

.educare-container h1:after {
  content: "";
  width: 150px;
  height: 4px;
  background-image: linear-gradient(to right, rgba(69,203,149,0.1), rgb(13,83,86), rgba(69,203,149,0.1));
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0 auto;
  border-radius: 6px;
}

.media-frame-title h1 {
  text-align: center;
}

.educare-container h3 {
	text-align: left;
}

.title .comments {
	font-weight: 500;
}

.educare-container th {
	color: rgb(13,83,86);
	background: rgba(13,83,86,0.2);
  white-space: nowrap;
}
.educare-container td {
	font-size: 14px;
}

.educare-container th.unchecked,
.educare-container h2.unchecked {
	background: rgba(13, 84, 86, 0.1);
  color: rgba(13, 84, 86, 0.5);
}

.educare-container .auto-fields {
  border: 1px dotted gray;
  padding: 8px;
  text-align: center;
  font-size: small;
  border-radius: 4px;
  color: gray
}

.educare-container th small,
.educare-container h2 small {
  display: block;
  font-weight: normal;
}

.view_results th {
  background: #00ac4e;
  color: white;
  padding: 0 6px;
}

.educare-update-settings,
.educare_tab_content {
	margin: 42px 4%;
}

.all-results tr td:nth-child(2) {
	padding: 0;
}
.educare-container h2.left {
	color: rgb(13,83,86);
  background: rgba(13, 84, 86, 0.12);
	text-align: left;
	margin: 0;
	padding: 1rem;
}

.educare-settings {
	display: flex;
	margin: 0;
  padding: 0 18px;
  padding-top: 9px;
  border-bottom: 1px dotted rgba(13,83,86,0.2);
}
.educare-settings .title {
	flex: 1;
}
.educare-settings .title h3 {
  font-size: 16px;
	margin: 0;
	padding: 0;
}
.educare-settings .title .comments {
	color: rgba(13,83,86,0.7);
}
.educare-settings .title input {
	margin-bottom: 14px;
	width: 100%;
	font-weight: normal;
  border: 1px dotted rgba(13,83,86,0.2);
}


.cover,
.center,
.educare-container h2.center {
	text-align: center !important;
}

.educare-container .cover img {
	max-width: 40%;
	min-width: 220px;
	margin: 0 auto;
	transition: all 0.4s ease-in-out;
}

.educare-container input.educare_clean {
	font-family: dashicons;
}
.educare-container input.educare_clean:before {
	content: "X";
}
.educare_upload {
	max-width: 500px;
	margin: 0 auto;
	margin-bottom: 68px;
}
.educare_upload.add {
	margin: 28px auto;
}
.educare_add_content {
	border-collapse: collapse;
}

.educare_files_selector_disabled {
	color: #939393;
}

.educare-container span.type {
	width: 32px;
	height: 32px;
	display: block;
	text-align: center;
	color: rgb(13,83,86);
	background: rgba(13,83,86,0.1);
	margin: auto;
	border-radius: 100%;
	font-family: dashicons;
	padding: 2px;
	line-height: 32px;
	box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
}
span.type:before {
	content: "\534";
}
span.text:before {
	content: "\f491";
}
span.number:before {
	content: "\f525";
}
span.date:before {
	content: "\f145";
}
span.email:before {
	content: "\f466";
}
span.file:before {
	content: "\f161";
}
.educare_files_selector {
	text-align: center;
}
.educare_files_selector img {
	width: 150px;
	height: 150px;
  display: block;
	margin: auto;
	border-radius: 100%;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}


/* Tab Style */
.educare-container {
	margin: 18px;
}
.tab {
  display: flex;
  background-color: #fff;
  text-align: center;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  position: -webkit-sticky;
  position: sticky;
  top: 5px;
  z-index: 999;
}

.sticky_msg {
  position: sticky;
  top: 115px;
  z-index: 9;
}

/* Style the buttons that are used to open the tab content */
.educare-container .tab button {
  flex: 1;
  color: rgb(3,62,68);
  background-color: inherit;
  font-weight: bold;
  font-size: 20px;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 12px;
  transition: 0.3s;
  /* line-height: 1.6; */
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.educare-container .tab button:hover {
  text-shadow: rgba(69,203,149,0.6) 1px 0 10px;
}

/* Create an active/current tablink class */
.educare-container .tab button.active {
  color: #fff;
  background: -moz-linear-gradient(45deg, rgb(13,83,86) 0%,rgb(69,203,149) 100%);
  background: -webkit-linear-gradient(45deg, rgb(13,83,86) 0%,rgb(69,203,149) 100%);
  background: linear-gradient(45deg, rgb(13,83,86) 0%,rgb(69,203,149) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='rgb(13,83,86)', endColorstr='rgb(69,203,149)',GradientType=1 );
  animation: fadeIn 1s; /* Fading effect takes 1 second */
}

.educare-container .tab button span {
  display: block;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  font-size: small;
}

/* .educare-container .tablinks i {
	margin: 0 12px;
} */

/* Style the tab content */
.educare-container .tab_content {
  display: none;
  position: relative;
  padding: 30px 1%;
}

.educare-container #tab-loading {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translate(-50%, 0);
  display: none;
}

/* Go from zero to full opacity */
/* Go from zero to full opacity */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}
@media screen and (max-width: 400px) {
	.educare-container .tab button span {
		display: none;
	}
}
@media (max-width: 601px) {
	.educare-container .sticky_msg {
    top: 64px;
  }
}
@media (min-width: 601px) {
	.educare-container .tab {
		top: 52px;
	}
}
@media (min-width: 782px) {
	.educare-container .educare_post {
    margin: 64px;
  }
  .educare-container .sticky_msg {
    top: 48px;
  }
  .educare-container .tab {
  	position: fixed;
    top: 48px;
    flex-direction:column;
    width: 44px;
  }
  .educare-container .tab button {
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .educare-container .tab button span {
		display: none;
	}
}


/* Pagination */
.educare-container .paginate{
  padding: 5px 0px;
  margin: 28px auto;
  text-align: center;
}
.educare-container .paginate input[type='button']:hover{
  cursor: pointer;
}
.educare-container .paginate input[type='button']{
  margin: 0px 2px;
  border: none;
  color: #fff;
  background-color: #108957;
  border-radius: 6px;
  min-width: 1.5rem;
  min-height: 1.5rem;
  outline: none;
}

.educare-container .paginate input[type='button'].active{
  background-color: #0d5356;
  color: #fff;
  font-weight: bold;
}
.educare-container .paginate input[type='button']:disabled{
  background-color: rgba(13,83,86,0.20);
  color: rgba(0,0,0,0.60)!important;
  cursor: not-allowed;
}
.educare-container .paginate input[type='number']#paginate_page_to_go{
  max-width: 3rem;
  text-align: center;
  border-radius: 6px;
  border: 1px solid rgba(128, 128, 128, 0.65);
  padding: 3px;
  line-height: initial;
  min-height: initial;
}

/* Subject Collapse */

.educare-container .collapse {
  display: block !important;
}

.collapses input.head {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

/* Accordion styles */
.educare-container .collapses {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.educare-container .collapse {
  width: 100%;
  color: white;
  overflow: hidden;
}
.educare-container .collapse-label {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: justify;
  justify-content: space-between;
  padding: 1em;
  position: relative;
  background: linear-gradient(45deg, rgb(13,83,86) 0%,rgb(69,203,149) 100%);
  font-weight: bold;
  cursor: pointer;
  /* Icon */
}
.educare-container .collapse-label span {
  position: absolute;
  right: 40px;
  top: 14px;
  opacity: .5;
  transition: all 0.45s;
}
.educare-container .collapse-label span:hover {
  opacity: 1;
}

.educare-container .collapse-label div i {
  margin-right: 6px;
}

.educare-container .collapse-label span input {
  padding: 4px 5px;
  border-radius: 100%;
  color: white;
  background: #02393e80;
  border: 1px solid #02393e;
  margin: 0 2px;
}
.educare-container .collapse-label span input:hover {
  background: red;
}

.educare-container .collapse-label:hover {
  background: linear-gradient(45deg, rgb(69,203,149) 0%,rgb(13,83,86) 100%);
}
.educare-container .collapse-label::after {
  content: "\276F";
  width: 1em;
  height: 1em;
  text-align: center;
  -webkit-transition: all 0.45s;
  transition: all 0.45s;
  opacity: .6;
}
.educare-container .collapse-content {
  max-height: 0;
  padding: 0 1em;
  color: #2c3e50;
  /* background: white; */
  -webkit-transition: all 0.45s;
  transition: all 0.45s;
  box-shadow: inset 0 5px 12px rgba(255, 255, 255, 0.6);
}
.educare-container .collapse-content.bg-white {
  background: white;
}
.educare-container .collapse-close {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: end;
  justify-content: flex-end;
  padding: 1em;
  font-size: 0.75em;
  background: #2c3e50;
  cursor: pointer;
}
.educare-container .collapse-close:hover {
  background: linear-gradient(45deg, rgb(69,203,149) 0%,rgb(13,83,86) 100%);
}

.educare-container .collapses input:checked + .collapse-label {
  /* background: linear-gradient(45deg, rgb(69,203,149) 0%,rgb(13,83,86) 100%); */
}
.educare-container .collapses input:checked + .collapse-label::after {
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}

.educare-container .collapses input:checked + .collapse-label span {
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
}

.educare-container .collapses input:checked ~ .collapse-content {
  max-height: 100vh;
  padding: 1em;
  overflow-y: scroll;
}

/* width and height for the scrollbar track */
.educare-container .collapses ::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

/* background color of the scrollbar track */
.educare-container .collapses ::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* color of the scrollbar handle */
.educare-container .collapses ::-webkit-scrollbar-thumb {
  background: #888;
}

/* color on hover for the scrollbar handle */
.educare-container .collapses ::-webkit-scrollbar-thumb:hover {
  background: #555;
}


/* 
V1.2.0
*/

.educare-container .tab_head {
  background: #fff;
  margin-top: 18px;
  padding: 0px;
  margin-bottom: -28px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.educare-container .tab_head button {
  font-size: small;
  cursor: pointer;
  border: none;
  padding: 4px 12px;
  margin: 0px;
  margin-right: 0px;
  margin-left: 0px;
  border-radius: 0 0 8px 8px;
}

.educare-container .tablink {
  color: #00000060;
}

.educare-container .tablink.educare_button {
  color: #fff;
}

.educare-container pre {
  display: flex;
  align-items: center;
}

.educare-container .mainField input {
  text-align: center;
}

.educare-container input.bold {
  font-weight: bold;
}

.educare-container table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}



.educare-container th {
  border: 1px solid rgba(13,83,86,0.1);
}

.educare-container .button-container {
  display: flex;
  margin: 12px 0;
  gap: 12px;
}

.view_results th {
  font-size: small;
}
.view_results td {
  font-size: small;
  padding: 0 8px;
  text-align: center;
}
.view_results img {
  width: 100%;
  min-height: 64px;
  font-size: small;
  margin: 0px;
  padding: 0px;
}
.view_results tr td:nth-child(2) {
  padding: 0;
  width: 64px;
}
.view_results tr td:last-child,
.view_results tr th:last-child {
  width: 42px;
  padding: 6px 12px;
}
.view_results.marks tr td:last-child {
  padding: 12px;
}

.view_results tr td:nth-child(3),
.view_results tr th:nth-child(3) {
  padding-left: 12px;
  text-align: left;
}

.view_results.marks tr td:nth-child(3),
.view_results.marks tr th:nth-child(3) {
  padding-left: initial;
  text-align: center;
}

.view_results td:first-child {
  max-width: 30px;
  text-align: center;
}

#addForm input,
.grading-system td,
#show_help td {
  text-align: center;
}

p #help {
  color: #787c82;
}
p #help:hover {
  color: #d63638;
}
#show_help {
  font-size: medium;
}

/* tooltip */
.educare-container .action_menu {
  position: relative;
  display: inline-block;
}

.educare-container .action_menu .action_link {
  visibility: hidden;
  /* display: none; */
  width: 150px;
  max-width: 220px;
  background-color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 2px;
  position: absolute;
  z-index: 900;
  top: -24px;
  right: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

[dir="rtl"] .educare-container .action_menu {
  direction: ltr;
}

[dir="rtl"] .educare-container .action_menu .action_link {
  left: 100% !important;
  direction: ltr !important;
}

.educare-container .action_menu .action_link form {
  margin: 0px;
}
.educare-container .action_menu .action_link.info {
  background-color: #fff;
  font-size: small;
  font-weight: normal;
  text-align: justify;
  padding: 6px 10px;
  top: -25px;
  left: 120%;
}

.educare-container .action_link.msg {
  font-size: small;
  font-weight: normal;
  text-align: justify;
  padding: 6px 10px;
}

.educare-container .action_menu i {
  color: rgba(13,83,86,0.2);
  vertical-align: middle;
}

.educare-container .action_menu .action_link::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent #fff;
}
.educare-container .action_menu .action_link.info::after { 
  content: none;
}

.educare-container .action_menu .action_link.info::before {
  content: "";
  position: absolute;
  top: 22px;
  right: 100%;
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent #fff transparent transparent;
}

.educare-container .action_menu:hover .action_link {
  visibility: visible;
}

.educare-container input[type=number].full {
  width: 100%;
  padding: 5px;
  text-align: center;
}



/* Students ID Card */
.educare-container .educare-card {
  max-width: 540px;
  min-width: 400px;
  background-color: white;
  margin: 4% auto;
  font-size: smaller;
  box-sizing: border-box;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.educare-container .card-head {
  color: white;
  background-color: rgb(13,83,86);
  text-align: center;
  padding: 18px;
}
.educare-container .card-head h2 {
  color: white;
  padding: 0;
  margin: 0;
}
.educare-container .card-head span {
  padding: 0;
  margin: 0;
}

.educare-container .card-head h2 img {
  width: 42px;
  height: 42px;
  max-width: 42px;
  margin-right: 12px;
  background: #eee;
  vertical-align: middle;
  border: 1px solid gray;
  border-radius: 100%;
}

.educare-container .card-body {
  padding: 12px;
  position: relative;
  background-image: url('../img/cardbox.svg');
  background-position: bottom right;
  background-repeat: no-repeat;
}

.educare-container .card-body .photos {
  width: 120px;
  height: 150px;
  margin: 12px;
  padding: 2px;
  background: #eee;
  vertical-align: top;
  border: 1px solid gray;
  border-radius: 6px;
  overflow: hidden;
  display: inline-block;
}

.educare-container .card-body .photos img {
  width: 100%;
  height: 100%;
  vertical-align: middle;
}

.educare-container .card-body .deatails {
  vertical-align: text-top;
  display: inline-block;
}

.educare-container .card-body .id {
  vertical-align: text-top;
  float: right;
}
.educare-container .card-body .sign {
  position: absolute;
  bottom: 18px;
  right: 18px;
}

.educare-container .deatails li,
.educare-container .id li {
  display: block;
  margin: 2px 4px;
  color: #484848;
}

.educare-container .deatails li span {
  width: 100%;
}

.educare-container .analytics h3,
.educare-container #educare_img_type,
.educare-container .center {
  text-align: center;
}

/* Educare Progress Bar */

.educare-container progress {
  width: 100%;
  height: 20px;
  background: crimson;
}

.educare-container progress {
  color: lightblue;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: inset 2px 2px 8px rgba(84, 30, 8, 0.2);
}

.educare-container progress::-moz-progress-bar {
  background: lightcolor;
  box-shadow: inset 2px 2px 8px rgba(84, 30, 8, 0.2);
}

.educare-container progress::-webkit-progress-value {
  background: rgb(13,83,86);
  box-shadow: inset 2px 2px 8px rgba(84, 30, 8, 0.2);
}

.educare-container progress::-webkit-progress-bar {
  background: rgb(69,203,149);
  box-shadow: inset 2px 2px 8px rgba(84, 30, 8, 0.2);
}

.educare-container progress.position::-webkit-progress-value {
  float: right;
}

.educare-container progress.position::-webkit-progress-value {
  background: rgb(255, 96, 96);
  box-shadow: inset 2px 2px 8px rgba(84, 30, 8, 0.2);
}

.educare-container progress.position::-webkit-progress-bar {
  background: rgb(13,83,86);
  box-shadow: inset 2px 2px 8px rgba(84, 30, 8, 0.2);
}

#educare-loading {
	display: none;
  z-index: 999;
  position: absolute;
}
.educare-spinner {
	position: fixed;
	height: 70px;
	width: 70px;
	top: 50%;
	left: 50%;
	margin-left: -50px;
	margin-top: -50px;
	background-image: url(../img/loader.svg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100%;
	background-color: #11b571b6;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
}

/* banner */
.fixbd-flex {
  display: flex;
  align-items: center;
}

.fixbd-flex > * {
  display: flex;
  flex: 2;
  align-items: center;
  justify-content: center;
}

.educare-container .banner {
  background-color: rgb(13,83,86);
  background: linear-gradient(90deg, rgb(13,83,86) 0%, rgb(69,203,149) 50%, rgb(13,83,86) 100%);
  color: white;
  text-align: center;
  transition: 0.3s;
  padding: 12px;
  overflow-x: auto;
}
.educare-container .banner:hover {
  background-color: #0b7bcd;
}
.educare-container .banner:hover .title p {
  color: white;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.2);
}
.educare-container .banner .title {
  flex: 6;
}

.educare-container .banner .title h1  {
  color: white;
  font-size: 22px;
  padding: 0;
  margin: 0 0 1vw;
  font-weight: normal;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.2);
}
.educare-container .title h1 input {
  font-size: 22px;
}

.educare-container .banner .title p  {
  color: #0A1D2B;
  font-size: 14px;
  margin:0;
  padding: 0;
}

.educare-container .banner img  {
  width: 15vw;
  max-width: 110px;
}


/* select result template section */
.educare-container .radio-container {
	display: flex;
	justify-content: center;
	flex-wrap: wrap; /* Add flex-wrap property to wrap items to new line */
}

.educare-container .radio-container img {
	margin: 10px; /* Add margin between images */
  margin-top: 0px;
	padding: 2px;
	border-radius: 8px;
	background-color: #f5f5f5;
}

/* Hide default radio button */
.educare-container input[type="radio"] {
	display: none;
}

/* Style for the custom radio button */
.educare-container .radio-container label {
	cursor: pointer;
	position: relative;
}

.educare-container .radio-container label img {
	width: 240px; /* Set image width */
	height: 180px; /* Set image height */
  min-width: 150px; /* Set image width */
	min-height: 150px; /* Set image height */
	border: 2px solid #ddd; /* Add border for styling */
}

/* Style for selected radio button */
.educare-container input[type="radio"]:checked + label img {
	border: 2px solid rgb(13,83,86); /* Change border color when selected */
}

.template_list h3 {
  margin-top: 20px;
}

.template-info-container {
  position: relative;
}

.template-details {
  /*positioned relative to parent div (container) */
  position: absolute;
  /* bottom margin is 0 so that it coincides with container's bottom margin*/
  bottom: 7px;
  color: white;
  width: 100%;
  text-align: center;
  /*invisible because opacity is 0*/
  opacity: 0;
  transition: 0.3s;
  border-radius: 6px;
  text-transform: capitalize;
}

.template-info-container:hover .template-details {
/*becomes visible on hover*/
  opacity: 1;       
}

.template-details .template-info {
  background-color: rgba(13,83,86,0.8);
  margin: 10px 10px 4px;
  padding: 12px 6px;
  border-radius: 0 0 8px 8px;
}

.educare-title {
  color: white;
  background: rgb(13,83,86);
  margin: 0;
  padding: 16px;
}

.demo-table {
  border-radius: 0px 0px 8px 8px;
  margin-bottom: 12px;
}

.educare-container th.optional_sub {
  width: 38px;
  padding: 0px;
  white-space: normal;
}

.table_container {
  overflow-x: auto;
}

.educare-marks {
  border-radius: 12px;
  overflow: hidden;
  margin: 22px 0;
}

.educare-marks table {
  border-radius: 0;
}

.student-no {
  background: yellow;
  font-weight: bold;
}



/* template fields modify submenu */
.educare-container .submenu {
  display: none;
  padding: 0 12px 12px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  margin-bottom: 12px;
}

.educare-settings {
  display: flex;
  flex-wrap: wrap;
}


.educare-settings > :nth-child(n+3) {
  width: 100%; /* set the width to 100% for the third and subsequent children to break flex */
}

.educare-container .title h3 {
  position: relative;
}

.educare-container .title h3.educare-menu-container::after {
  content: "\276F";
  width: 1em;
  height: 1em;
  -webkit-transition: all 0.45s;
  transition: all 0.45s;
  opacity: 0.6;
  position: absolute;
  right: 0;
}

.educare-container .title.current h3.educare-menu-container::after {
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}

.educare-container .title.active ~ .submenu {
  display: block;
}
.educare-container .submenu input {
  width: 100%;
}





/* Pagination */
.educare-container .pagination,
.educare-container .page_status {
  display: block;
  text-align: center;
  margin: 6px;
}

.educare-container .pagination li {
  display: inline-block;
  margin: 10px 0;
}

.educare-container .pagination .current,
.educare-container .pagination a {
  padding: 8px 16px;
  text-decoration: none;
  transition: background-color .3s;
  border: 1px solid #ddd;
  margin: 0 2px;
}

.educare-container .pagination a {
  text-decoration: none;
}

.educare-container .pagination a.active {
  background-color: #4CAF50;
  color: white;
  border: 1px solid #4CAF50;
}

.educare-container .pagination a:hover:not(.active) {
  background-color: #ddd;
}


/* form */
#educareResults * {
  box-sizing: border-box;
}

#educareResults input[type=text],
#educareResults input[type=number],
.educare-container select,
.educare-container textarea {
  display: block;
  width: 100%;
  height: calc(2em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  line-height: 1.5;
  color: #495057;
  background-color: rgba(255, 255, 255, 0.5) !important;
  background-clip: padding-box;
  border: 1px solid rgba(0,0,0,.18) !important;;
  border-radius: 0.25rem;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

#educareResults .box {
  background: rgba(255, 255, 255, 0.5);
  padding: 40px;
  margin: 12px 0;
  border-radius: 0.50rem;
}

#educareResults label {
  padding: 12px 12px 12px 0;
  display: inline-block;
}

#educareResults button,
#educareResults input[type=submit] {
  background-color: #04AA6D;
  color: white;
  padding: 6px 12px;
  margin-top: 6px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.button {
  text-align: center;
}

#educareResults input[type=submit]:hover {
  background-color: #45a049;
}

#educareResults .col-25 {
  float: left;
  width: 20%;
  margin-top: 6px;
}

#educareResults .col-75 {
  float: left;
  width: 80%;
  margin-top: 6px;
}

/* Clear floats after the columns */
#educareResults .row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  #educareResults .col-25, #educareResults .col-75, #educareResults input[type=submit] {
    width: 100%;
    margin-top: 0;
  }
}

.getAttachment {
  margin: 6px 0px 24px;
}

.attachmentPreview {
  position: relative; /* Add position: relative for absolute positioning inside */
  width: 220px;
  height: 64px;
  background-color: #fff;
  margin: 12px 0px;
  border-radius: 4px;
  -webkit-box-shadow: 0 8px 20px rgba(146,155,177,.3);
  box-shadow: 0 8px 20px rgba(146,155,177,.3);
  cursor: pointer;
  overflow: hidden;
}
/* Styles for the attachment preview container */
.educare-settings .attachmentPreview {
  width: 240px;
  height: 180px;
  min-width: 150px;
  min-height: 150px;
  border: 2px solid #ddd;
  border-radius: 8px;
}

/* Styles for the child img element inside the attachment preview */
.attachmentPreview img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Maintain aspect ratio and fill the container */
  position: absolute; /* Position the image inside the container */
  top: 0;
  left: 0;
}


.banner-logo .getAttachment,
.banner-logo .educare-settings .attachmentPreview,
.banner-logo .attachmentPreview img {
  all: unset;
  width: 100%;
  height: 100%;
}

.banner-logo .attachmentPreview {
  width: 110px !important;
  height: 110px !important;
  min-height: 110px !important;
  position: unset;
  margin: 12px auto;
  -webkit-box-shadow: unset;
  box-shadow: unset;
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px dotted rgba(255, 255, 255, 0.2);
}

.banner-logo .attachmentPreview:has(> .attachmentImg img) {
  border: none !important;
  background-color: unset;
}

/* Hide the default radio buttons */
.attendance input[type="radio"] {
  display: none;
}

/* Create custom checkbox style */
.attendance input[type="radio"] + label {
  display: inline-block;
  padding-left: 25px;
  position: relative;
  cursor: pointer;
}

/* Style the checkbox appearance */
.attendance input[type="radio"] + label:before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 1px solid #999999;
  border-radius: 4px;
  position: absolute;
  left: 0;
  margin-top: -50%;
  background-color: transparent;
}

.attendance input[type="radio"] + label.present:before {
  border-color: green;
}
.attendance input[type="radio"] + label.late:before {
  border-color: rgb(196, 196, 0);
}
.attendance input[type="radio"] + label.absent:before {
  border-color: red;
}

.attendance input[type="radio"]:checked + label.present:before {
  background-color: rgba(0, 128, 0, 0.8);
}
.attendance input[type="radio"]:checked + label.late:before {
  background-color: rgba(255, 255, 0, 0.8);
}
.attendance input[type="radio"]:checked + label.absent:before {
  background-color: rgba(255, 0, 0, 0.8);
}

/* Style the checkbox when checked */
.attendance input[type="radio"]:checked + label:before {
  background-color: gray;
}

/* Hide the default radio button indicator */
.attendance input[type="radio"] + label::after {
  content: "";
  display: none;
}

.educare-container .flex {
  display: flex;
  gap: 18px;
}

.educare-container .flex-content {
  flex: 1;
}

.educare-container .box {
  background-color: white;
  padding: 4%;
  border-radius: 4px;
}

/* Media query for screens with a maximum width of 600px (adjust as needed) */
@media (max-width: 600px) {
  .educare-container .flex {
    flex-direction: column;
  }
}

.educare-container .flex-end {
  align-self: flex-end;
  margin: 4px 0;
}
