html {

}

body {
  background-color: white;
  background-image: linear-gradient(to bottom, white, white, white, white, #FFBA66);
  background-attachment: fixed;
  height: 100%;
}

.body-bg, .body-fg {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  z-index: -1000;
}

.body-fg {
  z-index: 1000;
  display: none;
  background-color: rgba( 0, 0, 0, 0.5 );
}

#info_area {
  display: block;
  position: absolute;
  width: 100%;
  height: 75vh;
  text-align: center;
}

.profile_image_big {
  height: 50vh;
  margin-top: 25vh;
}

#info_button_area {
  display: block;
  position: relative;
  top: 78vh;
  height: auto;
  text-align: center;
}

a {
  color: #008F0E;
}

div#screen_bg {
  width: 100%;
  height: 100%;
  background: transparent;
}

div#header {
  /* float: left; */
  display: block;
  width: 100%;
  height: auto;
  position: relative;
}

p.login_error {
  color: red;
}

div#loading {
  display: block;
  width: 50vw;
  max-width: 250px;
  height: auto;
  margin: 10vh auto;
  text-align: center;  
}

img#img_loading {
  width: 100%;
  height: auto;
}

div#login, div#login_select_systems {
  display: block;
  background-color: white;
  width: 60vw;
  min-width: 300px;
  height: 50vh;
  min-height: 200px;
  margin: auto;
  margin-top: 20vh;
  border: 3px solid #FF9700;
  border-radius: 10px;
  padding: 5vh;
  text-align: center;
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
  font-size: calc(6px + 3vh);
  color: #FF9700;
}

div#login_select_systems {
  height: auto;
  min-height: none;
}

img#header_logo {
  width: auto;
  height: auto;
  min-width: 300px;
  max-width: 400px;
  margin: 5px auto;
  padding: 0 10px;
}

div#login_text {
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
  font-size: calc(6px + 3vh);
  color: #FF9700;
}

button {
  background-color: #FF9700;
  border: none;
  border-radius: 4px;
  color: white;
  padding: 12px 24px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
  font-size: calc(6px + 3vh);
  /*margin: 2vh 2vw;*/
  cursor: pointer;
}

.tiny {
  padding: .25rem .5rem;
  font-size: 0.75rem;
}

button.tiny {
  --bs-btn-padding-y: .25rem;
  --bs-btn-padding-x: .5rem;
  --bs-btn-font-size: .75rem;  
}

.btn:disabled, .btn.disabled, fieldset:disabled .btn {
  pointer-events: auto;
}

.btn-selection {
  font-size: 12px;
}

.card-body.btn-outline-secondary:hover {
  background-color: unset;
  color: var(--bs-btn-color);
  cursor: default;
}

.card-body.btn-outline-secondary p.card-text:hover {
  background-color: unset;
  color: var(--bs-btn-hover-color);
}

.card-body.btn-outline-secondary p.card-text.btn:hover {
  background-color: var(--bs-btn-hover-bg);
  color: var(--bs-btn-hover-color) !important;
}

.card-body .btn {
  text-align: left;
}

.others_answer:hover {
  background-color: var(--bs-btn-hover-bg) !important;
  color: var(--bs-btn-hover-color) !important;
  cursor: pointer !important;
}

.answer_area p.card-text:hover {
  color: var(--bs-btn-color) !important;
}

.q_card:hover {
  background-color: var(--bs-btn-hover-bg) !important;
  color: var(--bs-btn-hover-color) !important;
  cursor: pointer !important;
}

.q_card p.card-text:hover {
  color: var(--bs-btn-hover-color) !important;
}

div.question_box, div.subject_title, div.theme_title, div.num_questions {
  display: block;
  background-color: white;
  width: 60vw;
  min-width: 300px;
  height: auto;
  min-height: 5vh;
  margin: 1vh auto 0 auto;
  border: 2px solid #FF9700;
  border-radius: 10px;
  padding: 1vh 2vh;
  text-align: center;
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
  font-size: calc(6px + 2vh);
  color: #404040;
  transition: all 0.5s;
}

div.question_text:hover {
  background-color: #FFBA66;
}

div.subject_title {
  border: none;
  margin: 3vh auto 0 auto;
  font-size: calc(8px + 3vh);
  color: #006AFF;
  cursor: pointer;
}

div.theme_title {
  border: none;
  margin: 2vh auto 0 auto;
  font-size: calc(7px + 2.5vh);
  color: #4BB500;
  cursor: pointer;
}

div.num_questions {
  border: none;
  margin: 1.5vh auto 0 auto;
  padding-bottom: 0;
  font-size: calc(5px + 1.5vh);
  color: #404040;
  cursor: pointer;
}

table.question_table td.middle {
  width: 56vw;
}

div.question_text {
  display: block;
  width: 52vw;
  margin: 0 1.5vw;
  transition: all 0.5s;
  cursor: pointer;
  border-radius: 5px;
}

button.previous_question, button.next_question {
  display: block;
  position: relative;
  font-size: calc(4px + 2vh);
  padding: 4px 10px 7px;
  margin: 0 -0.5vw;
  border: 2px solid #FF9700;
  transition: all 0.5s;
}

button.previous_question:hover, button.next_question:hover {
  background-color: white;
  color: #FF9700;
}

.tasklist {
  --bs-gutter-x: none;
}

.user_info {
  display: none;
  margin-top: 10px;
  margin-left: 12px;
}

#empty_iframe {
  width:0px;
  height:0px;
  border:0px solid #fff;
}

/* ------------------------ Bootstrap ------------------------ */

.top-5 {
  top: 5% !important;
}

.top-10 {
  top: 10% !important;
}

.top-15 {
  top: 15% !important;
}

.top-90 {
  top: 90% !important;
}

.top-95 {
  top: 95% !important;
}

.start-95 {
  left: 95% !important;
}

.start-90 {
  left: 90% !important;
}

.point-position {
  top: 17px !important;
  left: calc(100% - 25px) !important;
}

.point-position-button {
  top: -9px;
  left: -18px;
  margin-right: -32px;
}

.card {
  opacity: 0.9;
}

.bi {
  fill: currentColor;
}

.nav-link:hover {
  color: #FF9700 !important;
}

.text-hover-success:hover {
  color: #3ABC7F !important;
}

/* ------- End Bootstrap ------- */

.show_block {
  display: block;
}

.show_inline {
  display: inline;
}

.show_inline_block {
  display: inline-block;
}

.selection, .pointer {
  cursor: pointer;
}

.selection:hover {
  background-color: rgba(0,0,0,.125);
}

.subject {
  color: red;
  text-decoration: none;
  font-weight: bold;
}

.kc-card-image {
  width: 100%;
  border-radius: 5px;
  margin-bottom: 10px;
}

.theme {
  color: green;
  text-decoration: none;
  font-weight: bold;
}

a.q_amount_a {
  color: #FF9700;
  font-size: 1rem;
}

a.q_amount_a.selected {
  color: green;
}

a.q_menu, a.mail_menu, a.statistics_menu, a.friends_menu {
  color: #999;
  font-size: 1rem;
  float: right;
  margin-left: 2vw;
}

a.menu_selected {
  color: #FF9700 !important;
}

a.name {
  text-decoration: none;
  color: white;
  margin-left: 14px;
}

a.name:hover {
  text-decoration: underline;
  color: white;
}

.q_menu.selected, .mail_menu.selected, .statistics_menu.selected, a.friends_menu.selected {
  color: #FF9700;
  font-weight: bold;
}

a {
  cursor: pointer;
}

.q_amount {
  float: right;
  margin-left: 2vw;
}

div.progress_bar {
  display: inline-block;
  margin-left: 1vw;
}

span.progress_finished {
  color: green;
}

span.progress_todo {
  color: blue;
}

span.progress_waiting {
  color: #555;
}

.mg-0 {
  margin: 0;
}

.min-max {
  min-width: 370px;
  max-width: 800px;
}

.min-max-card {
  min-width: 140px;
  max-width: 450px;
}

table.statistics td {
  padding: 0.3vh 0.7vw;
}

div.friend_list {
  border-bottom: 1px solid #CCC;
  --bs-gutter-x: 0;
}

button.answer_file_delete {
  padding: 0.1rem 0.5rem;
  font-size: 0.75rem;
}

div#list_related_questions {

}

/* ------------------------ img ------------------------ */

img.subject_link {
  float: right;
  margin: 0 0.5rem;
  width: 1.5rem;
  height: auto;
}

svg.userlist_icon {
  width: 24px;
  height: 24px;
  margin-right: 14px;
}

.userlist_photo {
  width: 32px;
  height: 32px;
  margin-left: 8px;
  border-radius: 16px;
  transition: all 0.5s;
  cursor: pointer;
}

svg.reply_icon {
  width: 32px;
  height: 32px;
  padding: 4px;
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.7);
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}

svg.reply_icon:hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.25);
}

.button {
  cursor: pointer;
}

.button-pointer {
  cursor: pointer;
  background-color: transparent;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}

.button-pointer:hover {
  background-color: rgba( 200, 200, 200, 0.5 );
}

.user_image {
  display: block;
  float: left;
  width: 40px;
  height: 40px;
  border-radius: 20px;
}

div#profile_image, div#bgr_image {

}

#settings_profile_image_orig {

}

.profile_image_orig {
  width: 100%;
  height: auto;
  min-width: 48px;
  border: 1px solid black;
  border-radius: 4px;  
}

#settings_profile_image {

}

.profile_image {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border: 2px solid black;
  border-radius: 24px;
}

img#settings_bgr_image {
  width: 100%;
  height: auto;
}

.bigger_profile {
  width: 48px;
  height: 48px;
  border-radius: 24px;
  margin-left: 0px;
  margin-right: -8px;
  margin-top: -8px;
  margin-bottom: -8px;
}

.box_profile {
  display: block;
  margin: 10px auto;
  width: 80px;
  height: 80px;
  border-radius: 40px;
}

.box_image {
  display: block;
  margin: 10px auto;
  height: 140px;
  width: auto;
  border-radius: 7px;
}

.chapter_image {
  display: block;
  margin: 10px 0;
  height: 180px;
  width: auto;
  border-radius: 10px;
}

.chapter_files li {
  list-style: none;
  display: inline-block;
  border: 1px solid #AAA;
  border-radius: 10px;
  padding: 10px 20px;
  margin: 10px 10px 0 0;
  background-color: #DDD;
  transition: all 0.5s;
}

.chapter_files li:hover {
  background-color: #EEE;
}

.chapter_files img.file_area_img {
  width: 20vw;
  min-width: 200px;
}

audio {
  border-radius: 7px;
  height: 32px;
}

.story_ai_label {
  line-height: 0;
  vertical-align: bottom;
  margin-bottom: 0;
}

.menu_profile {
  border: 3px solid transparent;
  transition: all 0.5s;
  margin: 0 -5px;
}

.menu_profile:hover {
  border-color: #FF9700 !important;
}

/* ------------------------ general ------------------------ */

.float_right {
  float: right;
}

.float_left {
  float: left;
}

.red  {
  color: red;
}

.green {
  color: green;
}

.blue {
  color: blue;
}

.gray {
  color: #AAA;
}

.white {
  color: white;
}

.black {
  color: black;
}

.text-center {
  text-align: center;
}

.bold {
  font-weight: bold;
}

ul.blank {
  list-style-type: none;
  text-indent: -22px;
  margin-left: 0;
}

ul.blank label {
  text-indent: 0;
}

p.form_label {
  color: green;
  font-weight: bold;
  margin-bottom: 5px;
}

.grid {
  display: grid;
}

/* ------------------------ stars ------------------------ */

div.selfeval, div.rating {
  color: #CCC;
}

.wrapper {
  position: relative;
  display: inline-block;
  border: none;
  font-size: 14px;
  margin: 50px auto;
  left: 50%;
  transform: translateX(-50%);
}

.wrapper input {
  border: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  opacity: 0;
}

.wrapper label {
  position: relative;
  float: right;
  color: #C8C8C8;
}

.wrapper label:before {
  margin: 5px;
  content: "\f005";
  font-family: FontAwesome;
  display: inline-block;
  font-size: 1.5em;
  color: #ccc;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.selfeval svg, .rating svg, .upcoming_rating svg {
  cursor: pointer;
}

.selfeval svg.checked, .upcoming_rating svg.checked {
  color: #FFC107;
}

.selfeval svg:hover, .upcoming_rating svg:hover {
  color: #FFC107;
}

.star_set {
  color: #FFC107;
}

.star_select {
  color: #ffdb70;
}

.heart_set {
  color: #DC3545;
}

.heart_select {
  color: #DBA4A9;
}

.upcoming_rating {
  float: right;
  margin-top: -4px;
}

/* ---- stars end ---- */

/* ---- Effects ---- */

/* Ripple Loading */

.lds-ripple {
  display: inline-block;
  position: relative;
  width: 120px;
  height: 120px;
}

.lds-ripple div {
  position: absolute;
  border: 4px solid #fff;
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}

.album {
  border-radius: var(--bs-border-radius);
  opacity: 0.9;
}

.card-selection {
  cursor: pointer;
}

.card-selection:hover {
  background: ;
}

.friend_present {
  display: block;
  width: 0;
  float: right;
}

.mainoskuva {
  width: 13rem;
  height: auto;
  margin: 1rem;
  border-radius: 7px;
  border: 2px solid transparent;
  transition: all 0.5s;
  float: right;
}

.mainoskuva:hover {
  border: 2px solid #0d6efd;
}

form.payment_form {
  display: inline-block;
}

button.payment_button {
  cursor: pointer;
  display: inline-block;
  margin: 5px 10px;
}

img.payment_button_img {
  width: 120px;
  height: auto;
}

.home-btn {
  cursor: pointer;
}

.home-btn:hover {
  background-color: #BBB;
  color: white;
}

.home-btn-border {
  border-left: 30px solid #AAA;
}

#random_suggestion {
  /*display: none;*/
}

.list_question {
  font-weight: bold;
}

.project_author {
  font-size: 0.7rem;
}

.gpt_chat_area, .chat_area {
  display: block;
  width: 100%;
  border: 1px solid var(--bs-border-color);
  border-radius: 5px;
  overflow: auto;
  max-height: 500px;
}

.chat_area {
  max-height: calc(100vh - 300px);
}

.chat_textbox_area {
  display: block;
}

.chat_textbox_area.user {
  text-align: right;
}

.gpt_chat_textbox, .chat_textbox {
  display: block;
  position: relative;
  border-radius: 15px;
  padding: 4px 12px;
  /*color: black;*/
  width: fit-content;
  max-width: calc(100% - 120px);
  text-align: left;
  margin: 10px 15px 5px 15px;
  border: 1px solid var(--bs-border-color);
  clear: both;
}

.chat_textbox {
  display: inline-block;
  min-width: 274px;
}

.chat_other::before {
  content: '';
  position: relative;
  display: block;
  left: -30px;
  width: 20px;
  height: 20px;
  border-style: solid;
  border-width: 10px;
  border-color: transparent #DDD transparent transparent; /* Triangle pointing down-right */
  background-color: transparent; /* Matches the parent background */
  z-index: 1; /* To make it appear above the parent */
  margin-bottom: -20px;
}

/*
.chat_user::before {
  content: '';
  position: relative;
  display: block;
  right: 30px;
  width: 20px;
  height: 20px;
  border-style: solid;
  border-width: 10px;
  border-color: transparent transparent transparent #DDD; 
  background-color: transparent; 
  z-index: 1;
  margin-bottom: -20px;
}
*/

.gpt_chat_ai, .chat_other {
  /* float: left; */
  /*background-color: white;*/
}

.gpt_chat_user_light, .chat_user_light {
  background-color: #DCF8C6;
  color: darkgreen;
}

.gpt_chat_user_dark, .chat_user_dark {
  background-color: darkgreen;
  color: #DCF8C6;
}

.gpt_chat_user_light, .gpt_chat_user_dark {
  float: right;
}

.chat_name {
  display: inline-block;
  margin-bottom: 4px;
}

.chat_name a {
  font-weight: bold;
  color: #70C42B !important;
}

.chat_name a:hover {
  text-decoration: underline !important;
}

.chat_p {
  display: block;
  font-weight: normal;
  margin-bottom: 0;
  overflow: hidden;
}

.chat_image {
  display: inline-block;
  margin-top: 18px;
  vertical-align: top;
}

.chat_time {
  display: block;
  width: 100%;
  text-align: right;
  font-size: 10px;
  color: #777;
}

.chat_show_more {
  display: block;
  margin-left: 20px;
  margin-top: 20px;
}

.chat_date_area {
  display: block;
  width: 100%;
  text-align: center;
  margin: 10px 0;
}

.chat_date {
  display: inline-block;
  width: fit-content;
  background-color: #AAA;
  color: #555;
  font-size: 14px;
  padding: 5px 15px;
  border-radius: 10px;
}

.chat_delete, .chat_report, .chat_like {
  display: inline-block;
  opacity: 0;
  vertical-align: top;
  transition: all 0.5s;
  cursor: pointer;
}

.chat_textbox_area:hover .chat_delete {
  opacity: 1;
}

.chat_textbox_area:hover .chat_report {
  opacity: 1;
}

.chat_textbox_area:hover .chat_like {
  opacity: 1;
}

.chat_react_area {
  display: block;
  position: absolute;
  right: 40px;
  bottom: -13px;
  background: var(--bs-body-bg);
  border-radius: 8px;
  padding: 3px 6px;
  width: 48px;
  height: 33px;
  overflow: hidden;
  border: 1px solid var(--bs-border-color);
  transition: all 0.5s;
  opacity: 0;
  z-index: 10;
}

.chat_reactions {
  display: block;
  position: absolute;
  left: 15px;
  bottom: -16px;
  color: #AAA;
  background: rgba(var(--bs-body-bg-rgb), 0.5);
  border-radius: 8px;
  padding: 3px 6px;
  width: auto;
  height: 33px;
  z-index: 5;
}

.emoji_enlarge {
  font-size: 24px;
  line-height: 16px;
}

.chat_react_area:hover {
  width: 190px;
}

.chat_textbox_area:hover .chat_react_area {
  opacity: 1;
}

.chat_react_area:hover .emoji {
  display: none;
}

#add_question_area, .add_question_area {
  background-color: rgba(25, 135, 84, 0.2);
}

#add_comment_area, .add_comment_area {
  background-color: rgba(13, 110, 253, 0.2);
}

#add_link_area, .add_link_area {
  background-color: rgba(108, 117, 125, 0.2);
}

#add_source_area, .add_source_area {
  background-color: rgba(255, 193, 7, 0.2);
}

#add_file_area, .add_file_area {
  background-color: rgba(13, 202, 240, 0.2);
}

.file_area_img {
  display: block;
  width: 30vw;
  min-width: 300px;
  height: auto;
  border-radius: 7px;
  margin-top: 7px;
}

#diary_list_area, .diary_list_area {
  background-color: rgba(255, 193, 7, 0.2);
}

input[type='date'] {
  max-width: 200px;
}

#learned_new_area, .learned_new_area {
  background-color: rgba(220, 53, 69, 0.2);
}

#flashcards_area, .flashcards_area {
  background-color: rgba(63, 181, 137, 0.2);
}

#sources_area, .sources_area {
  background-color: rgba(255, 193, 7, 0.2);
}

#uploaded_files, .uploaded_files {
  background-color: rgba(13, 202, 240, 0.2);
}

#learned_new_area, #flashcards_area, #sources_area, #uploaded_files, .learned_new_area, .flashcards_area, .sources_area, .uploaded_files {
  padding: 10px 20px;
  border-radius: 6px;
  margin-bottom: 20px;
}

#div_answer_copied, #div_answer_time_used, #div_answered_with_friends, #div_help_others, #div_want_comments, #selfeval_description, #div_rating_assignment, #answer_gpt_chat_area, #div_ask_for_help {
  border-bottom: 1px solid #DDD;
  padding-bottom: 20px;
}

#diary_saved {
  transition: all 0.5s;
}

#task_list {
  height: auto;
}

#subject_description p, #theme_description p {
  margin-top: 20px;
}

.emoji {
  display: inline-block;
  background-color: transparent;
}

.emoji_selector {
  display: inline-block;
  cursor: pointer;
  transition: all 1s;
  background-color: transparent;
  border-radius: 5px;
}

.emoji_selector:hover {
  background-color: #AAA;
}

.emoji_list_title {
  display: block;
  margin-top: 10px;
}

#emojilist_area {
  float: right;
}

#emojilist {
  max-width: 300px;
  max-height: 200px;
  overflow: auto;
  margin-top: -190px;
  background: white;
  z-index: 10;
  display: none;
  position: relative;
}

#emojilist .card-text {
  margin-top: -50px;
}

.password_check_area {
  width: 300px;
  min-width: 200px;
  text-align: left;
  padding: 10px 20px;
  border-radius: 7px;
  border: 1px solid #AAA;
  margin: auto;
}

p.password_requirements {
  margin-bottom: 0;
  font-size: 14px;
}

.link {
  cursor: pointer;
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

.tutoring_category {
  display: block;
  padding: 7px 15px;
  border-bottom: 1px solid rgba(155, 155, 155, 0.8);
  min-height: 87px;
}

/*
.tutoring_category_selection {
  background-color: rgba(155, 155, 155, 0.2);
}

.tutoring_category_selection:hover {
  background-color: rgba(155, 155, 155, 0.3);
}
*/

.tutoring_subject_category_selection {
  background-color: rgba(0, 143, 14, 1);
  font-size: 24px;
}

.tutoring_subject_category_selection:hover {
  background-color: rgba(0, 143, 14, 0.9);
}

.tutoring_subject_selection {
  background-color: rgba(0, 143, 14, 0.8);
}

.tutoring_subject_selection:hover {
  background-color: rgba(0, 143, 14, 0.7);
}

.tutoring_theme_selection {
  background-color: rgba(0, 143, 14, 0.5);
}

.tutoring_theme_selection:hover {
  background-color: rgba(0, 143, 14, 0.6);
}

.tutoring_answer_selection {
  background-color: rgba(0, 143, 14, 0.2);
}

.tutoring_answer_selection:hover {
  background-color: rgba(0, 143, 14, 0.3);
}

.tutoring_answer_selection.passive:hover {
  background-color: rgba(0, 143, 14, 0.2);
}

.tutoring_diary_category_selection {
  background-color: rgba(13, 110, 253, 0.8);
  font-size: 24px;
}

.tutoring_diary_category_selection:hover {
  background-color: rgba(13, 110, 253, 0.7);
}

.tutoring_diary_selection {
  background-color: rgba(13, 110, 253, 0.5);
}

.tutoring_diary_selection:hover {
  background-color: rgba(13, 110, 253, 0.6);
}

.tutoring_project_category_selection {
  background-color: rgba(220, 53, 69, 1);
  font-size: 24px;
}

.tutoring_project_category_selection:hover {
  background-color: rgba(220, 53, 69, 0.9);
}

.tutoring_project_selection {
  background-color: rgba(220, 53, 69, 0.8);
}

.tutoring_project_selection:hover {
  background-color: rgba(220, 53, 69, 0.7);
}

.tutoring_project_report_selection {
  background-color: rgba(220, 53, 69, 0.5);
}

.tutoring_project_report_selection:hover {
  background-color: rgba(220, 53, 69, 0.6);
}

.tutoring_subject_info, .tutoring_theme_info, .tutoring_answer_info, .tutoring_main_info, .tutoring_diary_info, .tutoring_project_info, .tutoring_project_report_info {
  display: block;
  padding: 0 0 10px 20px;
  font-size: 13px;
}

.tutoring_theme_info, .tutoring_main_info, .tutoring_diary_info, .tutoring_project_info, .tutoring_project_report_info {
  color: black;
}

.tutoring_project_info, .tutoring_project_report_info {
  padding: 0;
}

.tutoring_answer_info {
  color: black;
  padding: 0 0 0 34px;
}

.tutoring_subject_number, .tutoring_subject_date {
  color: #ffc107;
}

.tutoring_theme_number, .tutoring_theme_date, .tutoring_diary_number, .tutoring_diary_date, .tutoring_project_number, .tutoring_project_date {
  color: rgb(10, 70, 250);
}

.dark .tutoring_theme_number, .dark .tutoring_theme_date, .dark .tutoring_diary_number, .dark .tutoring_diary_date, .tutoring_project_number, .dark .tutoring_project_date {
  color: #98B0F9;
}

.tutoring_answer_number, .tutoring_answer_date {
  color: #dc3545;
}

.dark .tutoring_answer_number, .dark .tutoring_answer_date {
  color: #DB8790;
}

.tutoring_answer_content, .tutoring_diary_content, .tutoring_project_content, .tutoring_project_report_content {
  margin: 10px 20px;
  font-size: 14px;
}

.tutoring_answer_title {
  font-weight: bold;
  margin-top: 10px;
}

.tutoring_answer_answer {
  margin-top: 10px;
  padding-left: 20px;
}

.tutoring_answer_description {
  margin-top: 10px;
  color: #777;
}

.tutoring_answer_list {
  padding-left: 0;
}

.tutoring_answer_points {
  font-size: 12px;
  color: #AAA;
}

.tutoring_image_area, .tutoring_svg_area {
  display: block;
  float: left;
  width: 110px;
  height: 72px;
  padding: 0 auto;
  text-align: center;
  margin-right: 15px;
  overflow: hidden;
}

.tutoring_svg_area {
  display: inline-block;
  float: none;
  vertical-align: top;
}

.tutoring_text_area {
  display: inline-block;
}

.tutoring_subject_image, .tutoring_theme_image, .tutoring_project_image {
  display: inline-block;
  margin: 0;
  height: 100%;
  width: auto;
  border-radius: 4px;
}

.tutoring_subject, .tutoring_theme, .tutoring_project, .tutoring_project_report {
  min-height: 90px;
}

.tutoring_category_title {
  font-size: 20px;
  min-height: 0;
}

.tutoring_no_answer {
  min-height: 45px;
}


.global_link {
  font-weight: bold;
}

.global_link_img {
  width: auto;
  height: 150px;
  margin-bottom: 8px;
  border-radius: 3px;
  border: 1px solid #777;
}

.bg-success {
  color: rgb(248, 249, 250);
}

.topic_selector:hover {
  color: #FF9700;
}

.topic_selector.selected {
  color: #FF9700;
}

.top_menu_image_num {
  margin-top: -24px;
}

/* --- Calendar --- */

.calendar td {
  position: relative; /* Required for absolute positioning inside */
}

/* Style the plus button */
.plus-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 24px;
  height: 24px;
  /* background-color: #007bff; */
  /* color: white; */
  border: none;
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s;
  padding: 0;
  padding-bottom: 4px;
  z-index: 100;
}

.plus-btn-primary {
  background-color: #007bff;
}

.plus-btn-primary:hover {
  background-color: #49A1FF;
}

.plus-btn-large {
  width: 48px;
  height: 48px;
  padding-top: 5px;
  top: 15px;
  right: 15px;
}

.plus-btn-hover {
  display: block;
  float: right;
  margin-left: 12px;
  position: unset;
}

/* Show button on cell hover */
td:hover .plus-btn, .calendar_event_info .plus-btn {
  opacity: 1;
}

.calendar_event {
  cursor: pointer;
  border-radius: 4px;
  padding: 4px 8px;
  color: white;
}

.calendar_event_title {
  display: block;
  font-size: 14px;
  font-weight: bold;
}

.calendar_event_organizer {
  display: block;
  font-size: 11px;
  font-weight: normal;
}

.calendar_week {
  width: max-content;
  font-size: 12px;  
}

.calendar_header {
  background: #777 !important;
  color: white !important;
}

.calendar_event_time {
  display: block;
  font-size: 12px;
}

.calendar_event_info {
  display: block;
  position: relative;
  height: 60vh;
  width: 50vw;
  min-width: 300px;
  max-width: 600px;
  padding: 20px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 15vh;
  overflow: auto;
  background-color: rgba( 0, 0, 0, 0.6 );
  text-align: left;
  border-radius: 10px;
  border: 2px solid #AAA;
}

.calendar_event_info_title {
  display: block;
  font-size: 16px;
  font-weight: bold;
  color: white;
}

.calendar_event_info_content {
  display: block;
  font-size: 14px;
  color: white;
  padding-left: 20px;
}

.calendar_month {
  font-size: 16px;
  font-weight: bold;
}

#feature_explanation {
  
}

#life_goals_other_consider {
  height: 100px;
}

.list_image_area {
  display: inline-block;
  width: 20%;
  padding: 5px 15px 5px 0;
}

.list_text_area {
  display: inline-block;
  width: 78%;
}

.kc-list-image {
  width: 100%;
  border-radius: 3px;
  margin: 0;
}

.list_item_name {
  display: block;
  font-size: 18px;
  font-weight: bold;  
}

/* --- Home Grid --- */

#game_canvas {
  border: 1px solid #888;
  image-rendering: pixelated;
  display: inline-block;
  margin-bottom: 10px;
}

.block-selector {
  display: inline-block;
  margin: 0;
  padding: 0;
  border: 1px solid #ccc;
  cursor: pointer;
  line-height: 0;
}

.block-selector img {
  width: 32px;
  height: 32px;
}

.block-selector.selected {
  border-color: blue;
}

#block_palette_area {
  display: inline-block;
  width: 442px;
  vertical-align: top;
  margin-left: 20px;
  border: 2px solid brown;
  padding: 10px 15px;
  background: #DDD;
  overflow: auto;
}

#block_palette {
  width: 1088px;
  background: white;
}

.myhome_canvas {
  width: 20px;
  height: auto;
  display: inline-block;
}

.inline {
  display: inline-block;
}

.question_list_box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.profile_image_card {
  height: 80px;
  border-radius: 40px;
}

#agreeterms {
  border-color: #555;
}

.study_plan {
  height: 500px;
  border: 5px solid #555;
  border-radius: 15px;
}

.study_plan_add_text {
  display: inline-block;
  width: calc(100% - 40px);
  margin: 10px 5px;
  padding: 10px 5px;
  border: 1px solid #888;
  border-radius: 7px;
  min-height: 30px;
}

.study_plan_edit_text {
  display: inline-block;
  vertical-align: top;
  margin-top: 10px;
}

.range_span {
  display: block;
  width: 100%;
}

.tasks_range {
  display: inline-block;
  width: calc(100% - 40px);
}

.tasks_range_check {
  display: inline-block;
  vertical-align: top;
}

.study_plan_text_editor {
  height: 30vh !important;
  margin: auto;
  margin-top: 37vh;
}

#study_plan_table th {
  min-width: 200px;
}

#study_plan_table th.wide_cell {
  min-width: 270px;
}

.shadow-inset-container {
  position: relative;
}

/*
.shadow-inset-container::before {
  content: "";
  position: absolute;
  top: 0; 
  left: 0; 
  right: 0; 
  bottom: 0;
  box-shadow: inset 0 10px 10px rgba( 0, 0, 0, 0.3 );
  pointer-events: none;
}
*/

.shadow-inset {
  position: sticky;   /* stays at the top of the scrollable container */
  top: 0;
  left: 0;
  width: 100%;
  height: 500px;
  margin-bottom: -500px;
  pointer-events: none; /* let clicks through */
  z-index: 2; /* sits above table rows */
}

.shadow-top {
  box-shadow: inset 0 20px 20px rgba( 0, 0, 0, 0.5 );
}

.shadow-left {
  box-shadow: inset 20px 0 20px rgba( 0, 0, 0, 0.5 );
}

.shadow-right {
  box-shadow: inset -20px 0 20px rgba( 0, 0, 0, 0.5 );
}

.shadow-bottom {
  box-shadow: inset 0 -20px 20px rgba( 0, 0, 0, 0.5 );
  height: 590px;
  margin-bottom: -590px;
}


.tox-tinymce {
  margin-top: 10px;
}

.edit_question_pencil {
  display: block;
  float: right;
  margin-left: 7px;
  cursor: pointer;
  transition: 0.5s all;
}

.edit_question_pencil:hover {
  color: #dc3545;
}

.input_question_title {
  display: inline-block;
  width: calc( 100% - 80px );
}

@media (min-width: 576px) {
  .min-max {
    min-width: 450px;
  }
}

@media (min-width: 768px) {
  .min-max {
    min-width: 500px;
  }
}

@media (min-width: 992px) {
  .min-max {
    min-width: 600px;
  }
}

@media (min-width: 1600px) {
  .container-xxl, .container-xl, .container-lg {
    max-width: 1520px;
  }
}

@media (min-width: 1800px) {
  .container-xxl, .container-xl {
    max-width: 1720px;
  }
}

@media (min-width: 2200px) {
  .container-xxl {
    max-width: 2120px;
  }
}

@media (max-width: 577px) {
  .col-sm-1 {
    display: grid;
    flex: 0 0 auto;
    width: 8%;
  }

  .col-sm-2 {
    display: grid;
    flex: 0 0 auto;
    width: 16%;
  }

  .col-sm-3 {
    display: grid;
    flex: 0 0 auto;
    width: 24%;
  }

  .col-sm-4 {
    display: grid;
    flex: 0 0 auto;
    width: 32%;
  }

  .col-sm-5 {
    display: grid;
    flex: 0 0 auto;
    width: 40%;
  }

  .col-sm-6 {
    display: grid;
    flex: 0 0 auto;
    width: 48%;
  }

  .col-sm-7 {
    display: grid;
    flex: 0 0 auto;
    width: 56%;
  }

  .col-sm-8 {
    display: grid;
    flex: 0 0 auto;
    width: 64%;
  }

  .col-sm-9 {
    display: grid;
    flex: 0 0 auto;
    width: 72%;
  }

  .col-sm-10 {
    display: grid;
    flex: 0 0 auto;
    width: 80%;
  }

  .col-sm-11 {
    display: grid;
    flex: 0 0 auto;
    width: 88%;
  }

  .col-sm-12 {
    display: grid;
    flex: 0 0 auto;
    width: 96%;
  }
}

@keyframes lds-ripple {
  0% {
    top: 60px;
    left: 60px;
    width: 0;
    height: 0;
    opacity: 0;
  }
  4.9% {
    top: 60px;
    left: 60px;
    width: 0;
    height: 0;
    opacity: 0;
  }
  5% {
    top: 60px;
    left: 60px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 0px;
    left: 0px;
    width: 120px;
    height: 120px;
    opacity: 0;
  }
}

/* Dual Ring Loading */

.lds-dual-ring {
  display: inline-block;
  width: 120px;
  height: 120px;
}

.lds-dual-ring.small {
  width: 24px;
  height: 24px;
}

.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 100px;
  height: 100px;
  margin: 10px;
  border-radius: 50%;
  border: 10px solid #fff;
  border-color: #fff transparent #fff transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}

.lds-dual-ring.small:after {
  width: 20px;
  height: 20px;
  margin: 2px;
  border: 2px solid #fff;
}

@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ---- Editor ---- */


/* ---- Override ---- */

.hidden {
  display: none;
}

.no-action {
  cursor: default;
}

