
body {
	/* display: none; */
}

.logo{
    height: 30px;
}

.login-logo{
    height: 50px;
}

.dashboard-logo{
    max-height: 80px;
    margin:auto;
}



.side-bar{
    background-color: white;
    /* border-top-right-radius:10px;
    border-bottom-right-radius:10px; */
}

.side-bar ul{
    z-index: 9999;
}

h1#study-page-title{
    font-weight: bold;
    font-size: 1.4rem;
    margin-bottom: 20px;
    border-bottom: 3px solid #e3e3e3;
    padding-bottom: 0.3em;
    margin-bottom: 0.3em;
    position: relative;
}

h1#study-page-title::after {
  content: '';
  background-color: #4b9b37;
  width: 162px;
  height: 3px;
  position: absolute;
  bottom: -3px;
  left: 0;
  z-index: 1;
}

h3{
    background-color: #85c1e2;
    color:white;
    font-weight: bold;
    border-radius: 5px;
    padding: 10px;
    font-size:1.2rem !important;
    text-align: center;   
}

h3.scratch-challenge{
    margin-top: -2.5rem;
}

.nav-border-active{
    border-color:#faa;
}


.side-bar ul li{
    width: 100%;
    height: 100%;
    transition: .5s;
    color:#aaa;
}

.side-bar ul li a{
    color:#333;
}

.side-bar ul li a:hover{
    background-color: #e1ecf2;
}

.side-bar ul li a.active{
    background-color: #e1ecf2;
    color: #0059a0;
    font-weight: bold;
}

.menu-box{
    background-color: #f5f5f5;
    border:1px solid #eee;
    padding: 15px 20px;
}

#menu-box{
    width: 100%;
    margin-bottom: 20px;
    border-radius: 5px;
    border:1px solid #eee;
    padding: 10px;
    /* background-color: #e1ecf2; */
}

.custom-select-wrapper {
  position: relative;
  user-select: none;
  width: 100%;
}

.btn.bg-yellow-100{

    border:1px solid #ebe20e;
    
}

.custom-select-wrapper select {
    display: none;
}

.custom-select {
    position: relative;
    display: inline-block;
}

    .custom-select-trigger {
        font-weight: bold;
      position: relative;
      width: 100%;
      display: block;
      padding: 0 84px 0 22px;
      /* font-size: clamp(12px,2vw,1.2rem); */
      font-size:1.2rem;
      font-weight: 300;
      color: #fff;
      line-height: 60px;
      background: #85c1e2;
      border-radius: 4px;
      cursor: pointer;
    }
      .custom-select-trigger:after {
        position: absolute;
        display: block;
        content: '';
        width: 10px; height: 10px;
        top: 50%; right: 25px;
        margin-top: -3px;
        border-bottom: 1px solid #fff;
        border-right: 1px solid #fff;
        transform: rotate(45deg) translateY(-50%);
        transition: all .4s ease-in-out;
        transform-origin: 50% 0;
      }
      .custom-select.opened .custom-select-trigger:after {
        margin-top: 3px;
        transform: rotate(-135deg) translateY(-50%);
      }
      
  .custom-options {
    position: absolute;
    display: block;
    top: 100%; left: 0; right: 0;
    min-width: 100%;
    margin: 15px 0;
    border: 1px solid #b5b5b5;
    border-radius: 4px;
    box-sizing: border-box;
    box-shadow: 0 2px 1px rgba(0,0,0,.07);
    background: #fff;
    transition: all .4s ease-in-out;
    
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-15px);
  }
  .custom-select.opened .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
  }
    .custom-options:before {
      position: absolute;
      display: block;
      content: '';
      bottom: 100%; right: 25px;
      width: 7px; height: 7px;
      margin-bottom: -4px;
      border-top: 1px solid #b5b5b5;
      border-left: 1px solid #b5b5b5;
      background: #fff;
      transform: rotate(45deg);
      transition: all .4s ease-in-out;
    }
    .option-hover:before {
      background: #f9f9f9;
    }
    .custom-option {
      position: relative;
      display: block;
      padding: 0 22px;
      border-bottom: 1px solid #b5b5b5;
      font-size: 18px;
      font-weight: 600;
      color: #b5b5b5;
      line-height: 47px;
      cursor: pointer;
      transition: all .4s ease-in-out;
    }

    .custom-option.active{
        color:#555;
    }

    .custom-option:first-of-type {
      border-radius: 4px 4px 0 0;
    }
    .custom-option:last-of-type {
      border-bottom: 0;
      border-radius: 0 0 4px 4px;
    }
    .custom-option:hover,
    .custom-option.selection {
      background: #f9f9f9;
    }

.lesson-li{

}

li hr{
    border:1px dashed #b9b9b9
}

.challenge-box{
    background-color: #4b9b37;
    font-weight: bold;
    color: white;
    display: inline-block;
    padding: 5px 10px;
}

.rule-box{
    /* background:rgb(233 237 241); */
    background-color: #f5faff;
}

.step-box{
    /* background-color: #aaa; */
    background-color: #4c9b37;
    font-weight: bold;
    color: white;
    display: inline-block;
    padding: 5px 10px;
}

.sprite-input, .url-input{
    border-radius: 5px;
    padding: 10px;
    width: 100%;
}

.sprite-input{
    margin-top: 10px;
}

.event-input{
    border-radius: 5px;
    padding: 10px;
    width: 100%;
    height: 25%;
    margin-bottom: 5px;
}

.move-input{
    border-radius: 5px;
    padding: 10px;
    width: 100%;
    height:70%;
}

.url-input{
    border:2px solid #c4e6ff
}

.todo-box{
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
    align-items: stretch;
    background-color: #f1f8fd;
    border-radius: 10px;
    padding: 10px 10px;
    /* padding-top: 10px; */
    cursor: grab;
}

.todo-box textarea,
.todo-box .sprite-input,
.todo-box .event-input
{
    border:2px solid #c4e6ff;
}

.todo-box:active {
    cursor: grabbing;
}

.add-btn{
    border-radius: 50%;
    height: 45px;
    width: 45px;
    font-size: 1.2rem;
    color:#aaaaaa;
    background: (224 242 254 / var(--tw-bg-opacity, 1));
    margin:auto;
    display: block;
}

.btn{
    padding: 10px 20px;
   
}

.lesson-icon{
    height: 30px;
    /* margin-bottom: 10px; */
    margin-right: 10px;
}

.lesson-block{
    height: 15px;
    margin-top: 5px;
}

.hint-memo{
    display: none;
}

.hint-memo.active{
    display: block;
    position: absolute;
    display: inline-block;
    top: 15px;
    left: 15px;
    border-radius: 5px;
    padding: 15px;
    z-index:999;
    background-color: white;
    font-size: 1rem;
    width: 500px;
    box-shadow:0 0 2px 2px #aaa;
}

.btn.memo-ai-btn{
    background-color: #ffffff;
    border:1px solid #8cbfef;
    border-radius: 15px;
    box-shadow: 0 0 4px 1px #9dd0ff;
    transition: .5s;
}

.btn.memo-ai-btn:hover{
    transform: scale(1.05);
}

.btn.memo-answer-btn{
    background-color: #4caf50;
    border:#2c712e;
    color: white;
}

.check-label{
    padding: 10px;
    background-color: #c4e6fe;
    display: flex;
    align-items: center;
    border-radius: 10px;
    /* margin-top: -7px; */
    color: #0080e5;
    height: 100%;
    
}

.check-label input{
    border-radius: 5px;
    width: 20px;
    height: 20px;
    border:2px solid #0080e5;

}

.footer-btns{
    position: fixed;
    bottom: 10px;
    height: 50px;
    right: 80px;
}

.chat-btn,
.ai-btn,
.lesson-page-top,
.scratch-block-btn{
    /* position: fixed; */
    bottom: 10px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #e6f8f7;
}

.chat-btn{
    right: 240px;
    color:white;
    background-color: orange;
}

.ai-btn{
    background-color: #329dd6;
    fill:white;
    color:white;
    right: 160px;
}

.scratch-block-btn{
    right: 80px;
    background-color: #5cb050;
    color:white;
}

.page-top.lesson-page-top{
    position: fixed;
    right: 10px;
    bottom: 10px;
    width: 50px;
    height: 50px;
    border:4px solid #85c1e2;
}


.message{
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
}

.sender{
    font-size: 0.8rem;
    border-radius: 5px;
    background-color: #eee;
    margin-bottom: 5px;
    padding: 5px;
    display: inline-block;
}

.chat-box,
.scratch-block-box{
    position: fixed;
    bottom: -100vh;
    /* bottom: -750px; */
    right: 10px;
    width: 40%;
    height: 70vh;
    overflow-y: scroll;
    background-color: #e6f8f7;
    border:10px solid #e6f8f7;
    box-shadow: 0 0 1px 2px rgba(8, 113, 97, 0.2);
    border-radius: 10px;
    transition: .5s;
    z-index: 20000;
}

.chat-box.active{
    bottom: 160px;
}

.scratch-block-box.active{
    bottom: 120px;
}

.scratch-block-box{
    border-color:#f7fafa;
    background-color: #f7fafa;
}

.message-send-box{
    position: fixed;
    bottom: -550px;
    right: 10px;
    width: 40%;
    background-color: #e6f8f7;
    border:10px solid #e6f8f7;
    box-shadow: 0 0 1px 2px rgba(8, 113, 97, 0.2);
    border-radius: 10px;
    transition: .5s;
}

.message-send-box.active{
    bottom: 70px;
}

.message-send-box textarea{
    border-radius: 5px;
    padding: 5px;
    border-color:#85c1e2;
}

.message-send-box svg{
    transform: rotate(-90deg);
}


#in-editor{
    border:1px solid #ddd;
    padding: 15px;
    border-radius: 10px;
    background-color: white;
    margin-bottom: 10px;
}

#choose-lang{
    padding: 5px 10px;
    width: 100%;
    border-radius: 10px;
    border:1px solid #eee
}

.CodeMirror{
    width: 100% !important;
}

.send-btn{
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background-color: #329dd6;
    /* box-shadow: 0 0 2px 1px #85c1e2;     */
    transition: .5s;
}

.send-btn:hover{
    opacity: 0.5;
}

span.flag{
    display: inline-block;
    background-image: url(https://play.techkidz-academy.com/images/scratch/flag.svg);
    height: 1rem;
    width: 1rem;
    background-repeat: no-repeat;
}

.levelup-section{
    border-radius: 5px;
    background-color: rgb(254 249 195);
    /* #fafec4; */
    padding: 10px;
    color:#c19a00;
    font-weight: bold;
}

.level-select,.section-select{
    width: 170px;
    margin-bottom: 5px;
    border:1px solid #22a20f;
}


.message_me{
    margin-left: 25px;
    background-color: #efc;
}

.message_sender{
    margin-right: 25px;
}

.reload-btn{
    display: inline-block;
    padding: 5px 10px;
    margin:auto;
    border-radius: 10px;
    text-align: center;
    background-color:#85c1e2;
    color: white;
    fill:white;
    transition: .5s;
}

.reload-btn:hover{
    opacity: 0.5;
}

.stars{
    color:#f90;
}

.label-difficulty{
    border-radius: 5px;
    padding: 5px 10px;
    color:white;
    font-weight: bold;
    background-color: orange;
}

.page{
    height: 100vh;
}

.page-scroll-box{
    position: fixed;
    /* top: calc(50% - 15px); */
    bottom: 5px;
    background: #eee;
    padding: 10px;
    left: 50%;
    margin-left: -67.5px;
    /* right: 0;     */
}

.scratch-dashboard-contents img,
.dashboard-material-box img{
    transition: .5s;
}

.scratch-dashboard-contents img:hover,
.dashboard-material-box img:hover{
    transform:scale(1.1);
}


.scratch-dashboard-tab{
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    border:2px solid #ddd;
    padding: 20px 0;
    font-size: 1.1rem;
    font-weight: bold;
    color:#aaa;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    position: relative;
    height: 70px;
    margin-top: 10px;
    transition: .5s;
    background-color: white;
}

.scratch-dashboard-tab.active{
    border-bottom:0px;
    color:#519b38;
    height: 80px;
    opacity: 1;
    margin-top: 0;
}




.scratch-dashboard-contents{
    padding: 60px 30px; 
    border:2px solid #ddd;
    background-color: white;
    border-top:0px;
    display: none;
}

.scratch-dashboard-contents.active{
    display: flex;
    flex-wrap: wrap;
}

.scratch-dashboard-contents div{
    opacity: 0;
    transition: .5s;
}

.scratch-dashboard-contents.active div{
    opacity: 1;
}


.scratch-status-contents{
    display: none;
}

.scratch-status-contents.active{
    display: block;
}

.border-nav-active{
    border-color: #4b9b37;
}

.dashboard-label{
    padding: 5px;
    border-radius: 5px;
    background-color: #329dd6;
    color:white;
}

.movie-btn{
    border-radius: 10px;
    background-color: #fff;
    border:3px solid #4a9b39;
    color:#4a9b39;
    margin-left: auto;
    font-size: 1rem;
    padding: 10px 20px;
}

.movie-box{
    position: absolute;
    top: 20px;
    left: 50%;
    margin-left: -329px;
    padding: 15px;
    background-color: #fff;
    border-radius: 5px;
    z-index:1000;
    width: 658px;
    height: 384px;
    cursor:move;
    border:1px solid #eee;
}

.movie-box.active{
    position: fixed;
    /* top: 50px;
    left: 50%; */
    opacity: 1;
    z-index:999;
    box-shadow: 0px 2px 5px 2px #bbb;
}

.movie-outer-box{
    height:450px;
    position: relative;
}

.movie-box iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

.movie-close-btn{
    position: absolute;
    top: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    color:#555;
}

.jump-out{
    position: absolute;
    top: -30px;
    left: 50%;
    margin-left: -20px;
    width: 40px;
    height: 40px;
    line-height: 30px;
    text-align: center;
    color:#555;
    background-color: white;
    border-radius: 10px;
    border:1px solid #aaa;
    text-align: center;
}

.movie-close-btn svg,
.jump-out svg{
    fill:white;
    margin:auto;
    margin-top: 7px;
}

.ytp-impression-link-content{
    display: none;
}

.youtube-play-btn1{
    
}

.youtube-play-btn2{
    background: #22a20f;
    /* line-height: 52px; */
    color:white;
    font-weight: bold;
    /* text-align: center; */
    width: 155px;
    height: 52px;
    position: absolute;
    bottom: 15px;
    left: 15px;
    gap:5px;
    border-top-right-radius: 20px;
}


.nav-level-cara{
    height: 50px;
}

.nav-level{
    color:white;
    font-weight: bold;
    border-radius: 5px;
    background: #dad824;
    padding: 5px 10px;
}

.download-btn{
    display: inline-block;
    gap: 4px;
    align-items: center;
    margin: 15px auto;
    border-radius: 5px;
    background-color: #4a9b39;
    color:white;
}

.h3-hint{
    background-color: #7dd3de
}

.btn{
    border-radius: 10px;
    padding: 10px 20px;
    border:1px solid #85c1e2;
    background-color: aliceblue;
    color:#338ec0;
    font-weight: bold;
}

.btn.bg-yellow-100{
    color:#817802;
}

.btn2{
    border-radius: 10px;
    padding: 10px 20px;
    border:1px solid #85c1e2;
    background-color: aliceblue;
}


table.table{
    max-width: 800px;
    width: 100%;
    margin: auto;
}

table.table td{
    padding: 10px 10px;
    /* border-bottom:1px solid #ddd; */
}

table.table tr:nth-child(even) td{
    background-color: #f5f5f5;
}

table.table td input,
table.table td select{
    padding: 10px;
    border-radius: 5px;
    width: 100%;
}

.alert{
    color:#a00;
}

div.dt-container select.dt-input{
    padding: 5px 20px !important;
}

#dataTable td a,
#dataTable2 td a{
    color:#329dd6;
    text-decoration: underline;
}

thead td{
    background-color: #f4f9fc;
}

.error{¥padding: 5px;
    color:#a00;
    font-weight: bold;
}

.progress-table{
    border-left:1px solid #ccc;
    border-top:1px solid #ccc;

}

.progress-table td{
    font-size:0.9rem;
    padding: 5px;
    border-right:1px solid #ccc;
    border-bottom:1px solid #ccc;
    text-align: center;
    color:#042c4d;
}

.progress-table td svg{
    display: inline-block;
    margin:auto;
}

.status-level-title{
    font-size: 1.2rem;
    border-radius: 5px;
    color: #e9e9e9;
    background-color:#4c9b37;
    padding: 10px 20px;
    margin-bottom: 15px;
    font-weight: bold;
}

.progress-table thead td{
    background-color: #e1ecf2;
    font-size:0.8rem;
    text-align: center;
}

.progress-table thead.lesson2 td{
    /* background-color: #c8e2f0; */
}

.progress-table thead.lesson3 td{
    /* background-color: #9fd2ed; */
}

h1.user-name{
    font-size: 1.4rem;
    color: #4CAF50;
    font-weight: bold;
    margin-bottom: 5px;
}

.log-box{
    padding: 5px 20px;
    background-color: #ecf7fc;
    margin-bottom: 2px;
    border-radius: 5px;
}

.value-td.status_active,
.movie-td.status_active,
td.status_active{
    text-align: center;
    background-color:#e7f7ff;
    color:#329dd6;
    /* color:#727476; */
    font-size: 0.7rem;
}

.movie-td.status_active .status-movie-icon,
td.status_active svg{
    /* stroke:#727476; */
    stroke:#329dd6;
    fill:rgba(200,200,200,0);
    opacity: 1;

}

.comment-input{
    border:2px solid #c4e6ff;
    padding: 10px;
    border-radius: 10px;
}

.comment-title{
    color:#066cc6;
    font-weight: bold;
}

h2.levelup-challenge-title{
    padding: 10px 10px;
    font-weight: bold;
    background-color: #e9e9e9;
    color:#4c9b37;


    border-radius: 5px;
}

.levelup-challenge-box .progress-table thead td{
    background-color: #e1f2e5;
}

/* .levelup-challenge-title.kiso-title{
    background:#2981ca
}

.kiso-box .progress-table thead td{
    background:#2981ca

} */

.status-movie-icon{
    /* color:#ddd; */
    opacity: 0.2;
    fill:white;
}

.footer-control{
    position: fixed;
    width: 500px;
    bottom: 10px;
    right: 500px;
}

.footer-bar{
    background-color: rgba(210,230,240,0.9);
    width: 100%;
    padding: 10px;
    position: fixed;
    bottom: 0;
    text-align: center;
    /* border-top:1px solid #eee; */
    left: 0;
}

.footer-bar button.btn{
    background-color: white;
    color:#0080e5;
    font-weight: bold;
    border:0px;
}

.status-star{
    width: 100%;
    height: 100%;
}

.status-star svg{
    fill:#e0e0e0;
}


.lock-icon{
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e0e0e0'><path fill-rule='evenodd' d='M12 1.5a5.25 5.25 0 0 0-5.25 5.25v3a3 3 0 0 0-3 3v6.75a3 3 0 0 0 3 3h10.5a3 3 0 0 0 3-3v-6.75a3 3 0 0 0-3-3v-3c0-2.9-2.35-5.25-5.25-5.25Zm3.75 8.25v-3a3.75 3.75 0 1 0-7.5 0v3h7.5Z' clip-rule='evenodd'/></svg>");
    width: 20px;
    height: 20px;
    margin:auto;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
}

.lock-icon.active{
    width: 20px;
    height: 20px;
    margin:auto;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='%234596ea'%3E%3Cpath%20d='M18%201.5c2.9%200%205.25%202.35%205.25%205.25v3.75a.75.75%200%200%201-1.5%200V6.75a3.75%203.75%200%201%200-7.5%200v3a3%203%200%200%201%203%203v6.75a3%203%200%200%201-3%203H3.75a3%203%200%200%201-3-3v-6.75a3%203%200%200%201%203-3h9v-3c0-2.9%202.35-5.25%205.25-5.25Z'/%3E%3C/svg%3E");
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

/* .show-answer svg{
    fill:#e0e0e0;
} */

.status-star.active svg{
    fill:orange;
}

.status-level-icon{
    position: relative;
    width: 90px;
    /* width: 100%; */
    margin-left: -15px;
}

.status-level-icon img{
    position: absolute;
    bottom: -27px;
    width: 90px;
    /* right: 20px; */
}

.status-movie-1 svg{
    stroke:#329dd6;
    opacity: 1;
}

.page-top{
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    background-color: white;
    border-radius: 50%;
    color:#329dd6;
}


.bread-item{
    /* background-color: #4a9b39; */
    border-radius: 10px;
    margin-right: -10px;
    color:white;
    color:#aaa;
    font-size:1rem;
    padding: 10px;
    text-decoration: underline;
}

.study-step-box{
    border:1px solid #ddd;
    /* border:1px solid rgb(223 224 226); */
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
}

.step-box-text{
    color: #497649;
    font-weight: bold;
}

.triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 20px solid transparent;
  border-left: 20px solid transparent;
  border-top: 20px solid #85c1e2;
  border-bottom: 0;
}

.speechBubble {
  position: relative;
  display: inline-block;
  width: 80%;
  margin-bottom: 25px;
  padding: 10px;
  border-radius: 8px;
  background-color: #f2f7f7;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.5;
  color: #000000;
}

.speechBubble::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 15px 10px 0 10px;
  border-color: #f2f7f7 transparent transparent;
  translate: -50% 100%;
}

.upload-input{
    border:2px solid #c4e6ff;
    border-radius: 5px;
}

.footer-button{
    position: fixed;
    display: flex;
    bottom: 0px;
    align-items: center;
    justify-content: center;
    padding: 10px;
    width: 400px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    /* background:#fff; */
    left:50%;
    margin-left: -200px;
    /* box-shadow: 0 0 2px 1px #ccc; */
}

#page_admin .side-bar,
#page_admin .main-contents.bg-white{
    background-color: #ffe;
}



.admin-bar{
    background-color: rgba(50,140,225,0.5);
    top: 0;
    font-weight: bold;
    padding: 28px 20px;
    color:#fff;
    z-index:1000;
}

.kinokos{
    max-width: 500px;
    width: 30%;
    min-width: 250px;
}

.dashboard-btn{
    border-radius: 10px !important;
    overflow: hidden;
    transition: .5s;
    /* width: 32%; */
}

.dashboard-btn:hover{
    transform: scale(1.05);
    opacity: 0.5;
}

.dashboard-btn a{
    display: inline-block;
    width: 100%;
    /* height: 100%; */
}

a.dashboard-link{
    display: flex;
    gap: 2px;
    justify-content: center;
    align-items: center;
    color:#1c5887;
    transition: .5s;
}

a.dashboard-link:hover{
    background-color: #0080e5;
    color: #fff;
}

.dashboard-link:nth-child(even){
    border-left:1px solid #b1d8f6;
}


.dashboard-navi-btn{
    color: #4c9b37;
    font-weight: bold;
}

.pre-open{
    position: absolute;
    width: 100%;
    background-color: #329dd6;
    bottom: 0;
    color:white;
    padding: 2px 0;
}

.menu-btn{
    margin-bottom: 14px;
    border-radius: 5px;
    background: #eee;
    padding: 0 20px;
    margin-right: 5px;
}

.custom-select.opened .custom-options{
    z-index:9999;
}

table.level8-table{
    width: 25%;
}

.comment-box{
    padding: 20px;
    border-radius: 10px;
    background-color: #f5f5f5;
}

.stepup-box{
    border-radius: 10px;
    border:5px solid #f08fa4;
    padding: 20px;
    max-width: 800px;
    margin:auto;
    margin-bottom: 20px;
}

.stepup-box.review{
    border:5px solid #2b7abf;
}

.stepup-label{
    color:white;
    font-weight: bold;
    background-color: #f08fa4;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    display: flex;
    gap: 5px;
    font-size: 1.2rem;
}


.stepup-box.review .stepup-label{
    background-color: #2b7abf;
}


.stepup-answer{
    width: 150px;
    text-align: center;
    padding: 10px;
    background-color: #eee;
    border-radius: 15px;
    margin-left: auto;
    padding: 10px 20px;
    display: none;
    gap: 5px;
    justify-content: center;
    color:#d23c5e;
    font-weight: bold;
    margin-top: 15px;
    cursor: pointer;
}

.stepup-box.review .stepup-answer{
    color: #2b7abf;
}



.stepup-answer.active{
    display: flex;
}


.prepare-box{
    color: #094e8a;
    background-color: #e0f0ff;
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 15px;
}

.user-control {
    padding: 15px;
    border-radius: 15px;
    background-color: #f4faff;
    color:#4c9b37;
    font-weight: bold;

}

.user-control input[type="radio"]{
    display: inline-block;
    width: 20px;
    height: 20px;
}

.user-control .table{
    border-radius: 15px;
    background-color: white;
}

.user-control .table td{
    padding: 5px 20px;
}

.user-kinoko{
    height: 100px;
}
.toggle-button-1 {
    display: inline-block;
    position: relative;
    width: 40px;
    height: 20px;
    border-radius: 20px;
    background-color: #dddddd;
    cursor: pointer;
    transition: background-color .4s;
}

.toggle-button-1:has(:checked) {
    background-color: #ece077;
}

.toggle-button-1::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    box-shadow: 0 0 5px rgb(0 0 0 / 20%);
    background-color: #fff;
    content: '';
    transition: left .4s;
}

.toggle-button-1:has(:checked)::after {
    left: 20px;
}

.toggle-button-1 input {
    display: none;
    /* margin-top: 50px; */
}

.think-unit-sprite{
    height: 60px;
}

.sprite-modal{
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: rgba(190,220,240,0.7);
    overflow-y: scroll;
    /* display: none; */
    z-index: -1;
    opacity: 0;
    transition: .5s;
}

.sprite-modal.active{
    /* display: block; */
    z-index: 999;
    opacity: 1;
}

.btn.sprite-select-btn{
    border:0px;
    padding: 5px;
    width: 65px;
    height: 65px;
}

.sprite-select-btn img{
    height: 100%;
    /* width: 30px; */
    margin:auto;
}

.think-unit-sprite{
    width: 100px;
    height: 100px;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    cursor: pointer;
    transition: .5s;
}

.think-unit-sprite:hover{
    transform: scale(1.1);
}

.think-unit-sprite img{
    height: 100%;
    margin:auto;
}

.think-unit-sprite small{
    color:#216aa3;
}

.sprite-search{
    padding: 10px;
    max-width: 800px;
    width: 90%;
    margin:20px auto;
    display: block;
    border-radius: 10px;
}

/* .status-toggle-box{
} */

.status-toggle-box{
    color:#4c9b37;
    font-weight: bold;
}

.tu-move-category{
    border-radius: 10px;
    /* border:1px solid #eee; */
    padding: 2px;
    font-size: 0.6rem;
    width: 13%;
    text-align: center;
    background-color: #f3f7f7;
}

.tu-block-btn{
    border-radius: 5px;
    background-color: rgb(46 128 229);
    padding: 2px;
    margin-top: 2px;    
}

.tu-block-btn svg{
    stroke:white;
}

.contact-btn{
    font-size: 0.8rem;
    color:#6b7180;
    display:flex;
    gap:4px;
    align-items: center;
}
.contact-btn svg{
    width: 20px;
}

.status-box{
    background-color: #f5f5f5;
    border-radius: 10px;
    padding: 10px;
}


@media (max-width: 1280px) {

    .main-contents.container{
        max-width: 100% !important;
    }

    .side-menu-list{
        width: 350px;
        left: -350px;    
        transition: .5s;
        /* box-shadow: 0 0 2px 2px #ccc; */
        border:2px solid #e1ecf3;
        
    }

    .side-menu-list.active{
        left: 15px;
    }

}

@media (max-width: 650px) {
    .page{
        height: auto;
    }

    .page-scroll-box{
        display: none !important;
    }
}

@media (max-width: 400px) {

    .scratch-dashboard-contents{
        padding: 30px 10px;
    }
}